Fixed intl/ and some tests, so that the project can be built and tested
[pspp-builds.git] / configure.ac
index 0035b9e4fb6356dd66a9977c3b9020dca0a3ed44..25631a4d87cac9d2a27fd473d7a5dcb8239bf23a 100644 (file)
@@ -99,7 +99,10 @@ AC_SUBST(CFLAGS)
 
 AH_BOTTOM([#include <pref.h>])
 
-AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile intl/Makefile
+dnl This is needed otherwise --with-included-gettext fails
+AH_BOTTOM([#include <locale.h>])
+
+AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile intl/Makefile 
                 lib/Makefile lib/julcal/Makefile lib/misc/Makefile 
                 lib/dcdflib/Makefile doc/Makefile src/Makefile 
                 config/Makefile tests/Makefile])