X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=d147a97f9f802673d951f346da29c668a4ff4450;hb=ebbfbe937906e4b4ca577478965cf06d1a812715;hp=c44fdd565187e1b9f800e51b0adb609f0b99bf90;hpb=71cc988f2ad781457fd5d43f284990825fcd9a8d;p=pspp-builds.git diff --git a/configure.ac b/configure.ac index c44fdd56..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 @@ -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."