X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=d147a97f9f802673d951f346da29c668a4ff4450;hb=ebbfbe937906e4b4ca577478965cf06d1a812715;hp=7e7a4c6077c23585c036847fc7535dd728a807db;hpb=7fbfc32fc3c636959b0a25b3e76609f86519e84a;p=pspp-builds.git diff --git a/configure.ac b/configure.ac index 7e7a4c60..d147a97f 100644 --- a/configure.ac +++ b/configure.ac @@ -30,8 +30,12 @@ PSPP_CC_FOR_BUILD PSPP_PERL dnl Internationalization macros. -AM_GNU_GETTEXT([external], [need-ngettext]) -AM_GNU_GETTEXT_VERSION([0.17]) +AC_ARG_ENABLE(nls, [AS_HELP_STRING([--disable-nls], [do not use Native Language Support])]) +if test x"$enable_nls" != x"no" ; then + AM_GNU_GETTEXT_VERSION([0.17]) + AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if translation of program messages to the user's native language is requested.]) +fi + dnl Checks for libraries. AC_SYS_LARGEFILE @@ -106,7 +110,7 @@ if test x"$with_libpq" != x"no" ; then fi AM_CONDITIONAL(PSQL_SUPPORT, test -n "$PG_CONFIG") -dnl Checks needed for gnumeric reader +dnl Checks needed for Gnumeric reader gnm_support=yes; PKG_CHECK_MODULES(LIBXML2, libxml-2.0,, [PSPP_OPTIONAL_PREREQ([libxml2]); gnm_support=no;]); @@ -204,7 +208,7 @@ fi PSPP_CHECK_PREREQS -AC_CONFIG_FILES([Makefile gl/Makefile po/Makefile.in]) +AC_CONFIG_FILES([Makefile gl/Makefile]) AC_OUTPUT echo "PSPP configured successfully."