configure.ac: Define DEPENDS_ON_LIBINTL if LIBINTL is nonempty.
[pspp-builds.git] / configure.ac
index 2ca57b74af0912a6f036066bc48e674425e425c0..5ad33fee463609f1f00003b069f9afdb47a4bd65 100644 (file)
@@ -35,6 +35,9 @@ dnl Internationalization macros.
 AC_PROVIDE([AM_PO_SUBDIRS])    # PSPP provides its own po/ support.
 AM_GNU_GETTEXT([external], [need-ngettext])
 AM_GNU_GETTEXT_VERSION([0.17])
+if test -n "$LIBINTL"; then
+  AC_DEFINE([DEPENDS_ON_LIBINTL], [1], 
+    [Define to 1 if libintl is a separate library, not integrated into libc])
 fi
 
 dnl Checks for libraries.