From a385f256b6a01e4f692515e46e5e3bf69bdd4189 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 2 Jul 2008 05:11:23 +0300 Subject: [PATCH] Use '$(CPP)' instead of '$(CC) -E' in Makefile.am target --- ChangeLog | 4 ++++ dselect/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; \ -- 2.39.5