Apply UNUSED and include additional headers to avoid complaints from
[pspp] / Smake
diff --git a/Smake b/Smake
index 35dd3285f17fea957427c41381d44fb43c9d4bd8..00d64d2ff1dae4c48b551e43517efed8698cfd78 100644 (file)
--- a/Smake
+++ b/Smake
@@ -9,6 +9,7 @@ GNULIB_MODULES = \
        alloca-opt \
        assert \
        byteswap \
+       canonicalize \
        c-ctype \
        c-strtod \
        exit \
@@ -30,10 +31,9 @@ GNULIB_MODULES = \
        memmove \
        mempcpy \
        memset \
+       mkstemp \
        progname \
-       readlink \
        snprintf \
-       stat-macros \
        stdarg \
        stdbool \
        stdint \
@@ -43,17 +43,16 @@ GNULIB_MODULES = \
        strerror \
        strftime \
        strsep \
-       strstr \
        strtod \
        strtok_r \
        strtol \
        strtoul \
+       sys_stat \
        unistd \
        unlocked-io \
        vsnprintf \
        xalloc \
        xalloc-die \
-       xreadlink \
        xsize \
        xstrndup \
        xvasprintf
@@ -101,6 +100,10 @@ _build: all
        test -d _build || mkdir _build
        cd _build && ../configure $(CONFIGUREFLAGS)
 
+_debug: all
+       test -d _debug || mkdir _debug
+       cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
+
 PO_FILES = po/ChangeLog po/Makefile po/Makefile.in po/Makefile.in.in   \
 po/POTFILES po/POTFILES.in po/Rules-quot po/boldquot.sed               \
 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header                        \