]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-find-cpp-from-slash-20071210
authorMike Meffie <mmeffie@sinenomine.net>
Tue, 8 Jan 2008 19:03:40 +0000 (19:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 8 Jan 2008 19:03:40 +0000 (19:03 +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 61b373cf029b6ffe22ab8a97046324939d3cfb7e..715840d6eaddca59e614e7a1e115d833e06b1aaa 100644 (file)
@@ -6,7 +6,7 @@ MACOS_VERSION=1.4.5
 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