]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-cpp-avoid-cc-E-20071022
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Tue, 8 Jan 2008 19:02:02 +0000 (19:02 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 8 Jan 2008 19:02:02 +0000 (19:02 +0000)
finding the right cpp is good. having it not be cc -E is better

(cherry picked from commit e25e21e909c5684025a1c6066dedaffa2666c3c7)

configure.in

index b1d21ff41910b071990676f290bc573824fd3681..61b373cf029b6ffe22ab8a97046324939d3cfb7e 100644 (file)
@@ -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