From f26074cbde320fbc89da291e0aa243c2301bb599 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 17 Mar 2009 15:44:15 +0000 Subject: [PATCH] configure-cpp-fallback-to-cc-E-20090317 LICENSE IPL10 if we don't find any cpp whatsoever, fall back to $CC -E, or cc -E --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index db1806f710..0445e798ee 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,7 @@ AC_SUBST(LINUX_PKGVER) AC_SUBST(LINUX_PKGREL) AC_PROG_CC -AC_PATH_PROGS([PATH_CPP], [cpp], , [$PATH:/lib:/usr/ccs/lib]) +AC_PATH_PROGS([PATH_CPP], [cpp], [${CC-cc} -E], [$PATH:/lib:/usr/ccs/lib]) AC_SUBST([PATH_CPP]) OPENAFS_CONFIGURE_COMMON