From: David Lawrence Ramsey Date: Tue, 15 Nov 2005 02:39:20 +0000 (+0000) Subject: per Mike Frysinger's patch, don't install the localized versions of the X-Git-Tag: v1.3.10~71 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=023db6aa774da240de437f3edb1a2d64d019eaa2;p=nano.git per Mike Frysinger's patch, don't install the localized versions of the manpages if nano is built with --disable-nls git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3175 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 4bc4e7e4..c79f9411 100644 --- a/ChangeLog +++ b/ChangeLog @@ -97,6 +97,9 @@ CVS code - completion functions adapted from busybox. Also, invoke LGPL clause 3 to convert all LGPLed functions to GPLed ones, so that we don't have to include a copy of the LGPL. (DLR) + - Don't install the localized versions of the manpages if + nano is built with --disable-nls. Changes to Makefile.am and + doc/man/Makefile.am. (Mike Frysinger) - chars.c: mbwidth() - If wcwidth() returns -1 for the character passed in, treat the diff --git a/configure.ac b/configure.ac index f3673c4f..d34c83b0 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,7 @@ dnl Internationalization macros. AM_GNU_GETTEXT_VERSION(0.11.5) AM_GNU_GETTEXT([external], [need-ngettext]) +AM_CONDITIONAL(USE_NLS, test "x$USE_NLS" = "xyes") dnl Checks for header files. diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index a37ed2ff..f6a2df86 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -1,4 +1,8 @@ +if USE_NLS SUBDIRS = fr +else +SUBDIRS = +endif man_MANS = nano.1 nanorc.5