[geos-commits] r2398 - trunk

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Apr 21 05:06:49 EDT 2009


Author: strk
Date: 2009-04-21 05:06:48 -0400 (Tue, 21 Apr 2009)
New Revision: 2398

Modified:
   trunk/configure.in
Log:
Add an AC_LIBTOOL_LANG_C_CONFIG call right before the AC_LIBTOOL_COMPILER_OPTION calls. Seems to fix compiler selection on telascience (whereas AC_LANG and AC_LANG_PUSH didn't work)

Modified: trunk/configure.in
===================================================================
--- trunk/configure.in	2009-04-20 20:32:54 UTC (rev 2397)
+++ trunk/configure.in	2009-04-21 09:06:48 UTC (rev 2398)
@@ -108,6 +108,14 @@
 dnl - Append default C++ and C flags 
 dnl --------------------------------------------------------------------
 
+dnl In order for AC_LIBTOOL_COMPILER_OPTION to use
+dnl the C compiler we need the hack below.
+dnl It is likely a bug in the libtool macro file to
+dnl require AC_LIBTOOL_LANG_C_CONFIG in *addition*
+dnl to AC_LANG(C) or AC_LANG_PUSH(C)/AC_LANG_POP()
+dnl 
+AC_LIBTOOL_LANG_C_CONFIG
+
 echo "NOTE ---- CXX=${CXX}"
 echo "NOTE ---- compiler=${compiler}"
 echo "NOTE ---- ac_compile=${ac_compiler}"



More information about the geos-commits mailing list