Fix gnulib problems.
[pspp-builds.git] / Smake
diff --git a/Smake b/Smake
index 404eb8a2f3968d9075872e51954fb37e8deaed36..aaeb8c0ba3b992b1336a3d27dda8f4f6c170fdff 100644 (file)
--- a/Smake
+++ b/Smake
@@ -3,10 +3,17 @@
 GNULIB = ../gnulib
 GNULIB_TOOL = $(GNULIB)/gnulib-tool
 
+GNULIB_MODULES = alloca alloca-opt assert full-read full-write         \
+gethostname getline getlogin_r getopt gettext memchr memcmp memmem     \
+memmove memset progname readlink restrict snprintf stat-macros stdbool \
+stpcpy strcase strcspn strerror strftime strstr strtod strtok_r strtol \
+strtoul vsnprintf xalloc xalloc-die xreadlink
+
 all: po/POTFILES.in
        test -d m4 || mkdir m4
        touch m4/Makefile.am
-       $(GNULIB_TOOL) --import
+       $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
+               --source-base=gl --lib=libgl --import $(GNULIB_MODULES)
        autoreconf --install
 
 gettextize: