diff configure @ 379:28e7aaed3292

Merge
author Chris Cannam
date Fri, 05 Sep 2014 16:13:32 +0100
parents cff0f07178d6
children 7d59dd1ba5de
line wrap: on
line diff
--- a/configure	Fri Sep 05 09:31:00 2014 +0100
+++ b/configure	Fri Sep 05 16:13:32 2014 +0100
@@ -3952,9 +3952,14 @@
     *[\ \	]-fPIC\ -Wall[\ \	]*) ;;
     *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;;
   esac
+  case " $CFLAGS " in
+    *[\ \	]-fPIC\ -Wall[\ \	]*) ;;
+    *) CFLAGS="$CFLAGS -fPIC -Wall" ;;
+  esac
 fi
 
 
+
 ac_config_files="$ac_config_files Makefile"
 
 cat >confcache <<\_ACEOF