[geos-commits] r2379 - trunk

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Apr 17 03:50:43 EDT 2009


Author: strk
Date: 2009-04-17 03:50:43 -0400 (Fri, 17 Apr 2009)
New Revision: 2379

Modified:
   trunk/configure.in
Log:
Differentiate variable used in AC_LIBTOOL_COMPILE_OPTION for proper use of configuration cache

Modified: trunk/configure.in
===================================================================
--- trunk/configure.in	2009-04-16 18:05:18 UTC (rev 2378)
+++ trunk/configure.in	2009-04-17 07:50:43 UTC (rev 2379)
@@ -112,14 +112,14 @@
 # -pedantic: ISO does not support long long
 # we add -Wno-long-long to avoid those messages
 WARNFLAGS=""
-AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -pedantic], [dummy], [-pedantic], [], [WARNFLAGS="$WARNFLAGS -pedantic"], [])
-AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -Wall], [dummy], [-Wall], [], [WARNFLAGS="$WARNFLAGS -Wall"], [])
-AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -ansi], [dummy], [-ansi], [], [WARNFLAGS="$WARNFLAGS -ansi"], [])
-AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -Wno-long-long], [dummy], [-Wno-long-long], [], [WARNFLAGS="$WARNFLAGS -Wno-long-long"], [])
+AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -pedantic], [dummy_pedantic], [-pedantic], [], [WARNFLAGS="$WARNFLAGS -pedantic"], [])
+AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -Wall], [dummy_wall], [-Wall], [], [WARNFLAGS="$WARNFLAGS -Wall"], [])
+AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -ansi], [dummy_ansi], [-ansi], [], [WARNFLAGS="$WARNFLAGS -ansi"], [])
+AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -Wno-long-long], [dummy_no_long_long], [-Wno-long-long], [], [WARNFLAGS="$WARNFLAGS -Wno-long-long"], [])
 
 # To make numerical computation more stable, we use --ffloat-store
 NUMERICFLAGS=""
-AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -ffloat-store], [dummy], [-ffloat-store], [], [NUMERICFLAGS="$NUMERICFLAGS -ffloat-store"], [])
+AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -ffloat-store], [dummy_ffloat_store], [-ffloat-store], [], [NUMERICFLAGS="$NUMERICFLAGS -ffloat-store"], [])
 
 DEFAULTFLAGS="${WARNFLAGS} ${NUMERICFLAGS}"
 



More information about the geos-commits mailing list