]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
cpp-avoid-cc-E-20071022
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Mon, 22 Oct 2007 14:21:26 +0000 (14:21 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 22 Oct 2007 14:21:26 +0000 (14:21 +0000)
finding the right cpp is good. having it not be cc -E is better

configure.in

index 8919035338a7b4d71d9ed86bab3d1a4d9402e0a9..53d21ff8efb913807acaaa0d3e5e9389a5b9fc1a 100644 (file)
@@ -6,7 +6,7 @@ MACOS_VERSION=9.9.99
 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