From: Guillem Jover Date: Wed, 2 Jul 2008 02:11:23 +0000 (+0300) Subject: Use '$(CPP)' instead of '$(CC) -E' in Makefile.am target X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a385f256b6a01e4f692515e46e5e3bf69bdd4189;p=dpkg Use '$(CPP)' instead of '$(CC) -E' in Makefile.am target --- diff --git a/ChangeLog b/ChangeLog index 1098a094..e85f92c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-02 Guillem Jover + + * dselect/Makefile.am (curkeys.h): Use '$(CPP)' instead of '$(CC) -E'. + 2008-07-01 Guillem Jover * src/depcon.c (findbreakcyclerecursive): Use the debug function diff --git a/dselect/Makefile.am b/dselect/Makefile.am index c0bb6bc7..87e9b375 100644 --- a/dselect/Makefile.am +++ b/dselect/Makefile.am @@ -47,7 +47,7 @@ CLEANFILES = curkeys.h curkeys.$(OBJEXT): curkeys.h curkeys.h: $(srcdir)/keyoverride $(srcdir)/mkcurkeys.pl cursesfile=`echo '#include ' | \ - $(CC) -E - | grep 'curses.h' | head -n 1 | \ + $(CPP) - | grep 'curses.h' | head -n 1 | \ sed -e 's/^[^"]*"//; s/".*$$//'`; \ if [ "$$cursesfile" = "" ]; then \ echo "can't find curses file"; exit 1; \