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
This commit is contained in:
Derrick Brashear 2009-03-17 15:44:15 +00:00
parent 57326151f5
commit f26074cbde

View File

@ -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