[Ocfs2-commits] manish commits r1703 - trunk

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Dec 14 17:29:11 CST 2004


Author: manish
Date: 2004-12-14 17:29:09 -0600 (Tue, 14 Dec 2004)
New Revision: 1703

Modified:
   trunk/configure.in
Log:
Use -print-file-name=include to get gcc include dir


Modified: trunk/configure.in
===================================================================
--- trunk/configure.in	2004-12-14 05:49:17 UTC (rev 1702)
+++ trunk/configure.in	2004-12-14 23:29:09 UTC (rev 1703)
@@ -320,7 +320,7 @@
 AC_SUBST(MODULEDIR)
 
 AC_MSG_CHECKING(for gcc include path)
-gccdir="`$CC -print-search-dirs | sed -n 's/^install: \(.*\)/\1/p'`include"
+gccdir=`$CC -print-file-name=include`
 if test -z "$gccdir"; then
   AC_MSG_RESULT(not found)
   AC_MSG_ERROR(Could not determine gcc include path)



More information about the Ocfs2-commits mailing list