Fix the `chknew-E' and `chknew-SIG' rules.
[bpt/guile.git] / libguile / Makefile.am
index 9ebb521..de69a40 100644 (file)
@@ -739,12 +739,12 @@ MKDEP = gcc -M -MG $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)
 
 # Write $(srcdir)/cpp-{E,SIG}.syms.NEW if there are any not-yet-seen
 # ("new" to us) E* or SIG* symbols in <errno.h> or <signal.h>, respectively.
-chknew-E chknew-SIG:
+chknew-E chknew-SIG:                                           \
        @bit=`echo $@ | sed s/^chknew-//` ;                     \
        old="$(srcdir)/cpp-$$bit.syms" ;                        \
        echo "#include <$${bit}.h>"                             \
         | sed 's/E/errno/;s/SIG/signal/'                       \
-        | gcc -undef -dM -E -                                  \
+        | gcc -dM -E -                                         \
         | sed 's/^#define //;/^'$$bit'[A-Z][A-Z]*/!d;s/ .*//'  \
         | sort | diff -u $$old - | sed '1,2d;/^+/!d;s/^.//'    \
         > TMP ;                                                \