Mercurial > hg > vamp-plugin-sdk
diff configure @ 375:cff0f07178d6
Add CFLAGS (like CXXFLAGS) to configure
author | Chris Cannam |
---|---|
date | Thu, 07 Aug 2014 19:34:35 +0100 |
parents | 60ede78a20db |
children | 7d59dd1ba5de |
line wrap: on
line diff
--- a/configure Wed Aug 06 16:31:46 2014 +0100 +++ b/configure Thu Aug 07 19:34:35 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