From: Simon Wilkinson Date: Mon, 22 Oct 2007 14:22:57 +0000 (+0000) Subject: DEVEL15-cpp-avoid-cc-E-20071022 X-Git-Tag: openafs-devel-1_5_26~7 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c518dcf9e884d04858f1a6156056565f118b2539;p=packages%2Fo%2Fopenafs.git DEVEL15-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 4f2a22f41..e6f559161 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,7 @@ MACOS_VERSION=1.5.25 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