From: Simon Wilkinson Date: Tue, 8 Jan 2008 19:02:02 +0000 (+0000) Subject: STABLE14-cpp-avoid-cc-E-20071022 X-Git-Tag: openafs-stable-1_4_7pre1~81 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1092cac0e6f74f94fd13304397e8de7dcb0d68d7;p=packages%2Fo%2Fopenafs.git STABLE14-cpp-avoid-cc-E-20071022 finding the right cpp is good. having it not be cc -E is better (cherry picked from commit e25e21e909c5684025a1c6066dedaffa2666c3c7) --- diff --git a/configure.in b/configure.in index b1d21ff41..61b373cf0 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,7 @@ MACOS_VERSION=1.4.5 AC_SUBST(MACOS_VERSION) AC_PROG_CC -AC_PROG_CPP +AC_CHECK_PROGS(CPP,[/lib/cpp /usr/bin/cpp /usr/ccs/lib/cpp cpp]) OPENAFS_CONFIGURE_COMMON if test -d 'doc/man-pages' ; then