diff configure.ac @ 405:85466530456a

* Update config per recent changes to svcore
author Chris Cannam
date Tue, 08 Mar 2011 11:31:39 +0000
parents 101f05420cba
children 8f0c1b0f17fa
line wrap: on
line diff
--- a/configure.ac	Tue Feb 15 13:04:01 2011 +0000
+++ b/configure.ac	Tue Mar 08 11:31:39 2011 +0000
@@ -11,6 +11,13 @@
 # piddling about.
 USER_CXXFLAGS="$CXXFLAGS"
 
+# If the user supplied CFLAGS but not CXXFLAGS, use CFLAGS instead
+if test x"$USER_CXXFLAGS" = x; then
+   if test x"$CFLAGS" != x; then
+      USER_CXXFLAGS="$CFLAGS"
+   fi
+fi
+
 AC_LANG_CPLUSPLUS
 
 AC_PROG_CC