]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-find-cpp-from-slash-20071210
authorMike Meffie <mmeffie@sinenomine.net>
Mon, 10 Dec 2007 22:26:24 +0000 (22:26 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 10 Dec 2007 22:26:24 +0000 (22:26 +0000)
LICENSE IPL10

find cpp using a full path, not the user's path, at least for now

(cherry picked from commit e26be7b8e3c8ca73e6ef6640c7d2b8d8200a0c65)

configure.in

index 196cc652ccebadab58677f1e822f96569441df9a..1c7f2f6ba734c6343c521e67a5bd86f4df107126 100644 (file)
@@ -6,7 +6,7 @@ MACOS_VERSION=1.5.28
 AC_SUBST(MACOS_VERSION)
 
 AC_PROG_CC
-AC_CHECK_PROGS(CPP,[/lib/cpp /usr/bin/cpp /usr/ccs/lib/cpp cpp])
+AC_CHECK_PROGS(CPP,[/lib/cpp /usr/bin/cpp /usr/ccs/lib/cpp cpp],,[$PATH:/])
 OPENAFS_CONFIGURE_COMMON
 
 if test -d 'doc/man-pages' ; then