X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=2ca57b74af0912a6f036066bc48e674425e425c0;hb=28e36cf42e55d270c8304c79f8845bf5f8e54516;hp=4d52bd981bc14a3cfc5998291835f37ac222712b;hpb=481f3974a34b31728f28d2e4b1cfc392c3a3586b;p=pspp-builds.git diff --git a/configure.ac b/configure.ac index 4d52bd98..2ca57b74 100644 --- a/configure.ac +++ b/configure.ac @@ -32,12 +32,11 @@ PSPP_CC_FOR_BUILD PSPP_PERL dnl Internationalization macros. -AC_ARG_ENABLE(nls, [AS_HELP_STRING([--disable-nls], [do not use Native Language Support])]) -if test x"$enable_nls" != x"no" ; then - AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if translation of program messages to the user's native language is requested.]) +AC_PROVIDE([AM_PO_SUBDIRS]) # PSPP provides its own po/ support. +AM_GNU_GETTEXT([external], [need-ngettext]) +AM_GNU_GETTEXT_VERSION([0.17]) fi - dnl Checks for libraries. AC_SYS_LARGEFILE AC_SEARCH_LIBS([sin], [m]) @@ -278,7 +277,8 @@ RELOCATABLE_STRIP=: PSPP_CHECK_PREREQS -AC_CONFIG_FILES([Makefile gl/Makefile tests/atlocal perl-module/lib/PSPP.pm]) +AC_CONFIG_FILES( + [Makefile gl/Makefile po/Makefile tests/atlocal perl-module/lib/PSPP.pm]) AC_OUTPUT echo "PSPP configured successfully."