comparison 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
comparison
equal deleted inserted replaced
374:7284eef3c4ef 375:cff0f07178d6
3950 if test "x$GCC" = "xyes"; then 3950 if test "x$GCC" = "xyes"; then
3951 case " $CXXFLAGS " in 3951 case " $CXXFLAGS " in
3952 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; 3952 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;;
3953 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;; 3953 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;;
3954 esac 3954 esac
3955 fi 3955 case " $CFLAGS " in
3956 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;;
3957 *) CFLAGS="$CFLAGS -fPIC -Wall" ;;
3958 esac
3959 fi
3960
3956 3961
3957 3962
3958 ac_config_files="$ac_config_files Makefile" 3963 ac_config_files="$ac_config_files Makefile"
3959 3964
3960 cat >confcache <<\_ACEOF 3965 cat >confcache <<\_ACEOF