changeset 29099:3e1105ae9cb1

Fix passing CFLAGS and LDFLAGS with = in them as configure parameters.
author diego
date Sat, 04 Apr 2009 14:17:53 +0000
parents efed5bc41ca6
children 1bdda4f68f5f
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Apr 04 04:27:09 2009 +0000
+++ b/configure	Sat Apr 04 14:17:53 2009 +0000
@@ -797,10 +797,10 @@
     ;;
 
   --extra-cflags=*)
-    extra_cflags=`echo $ac_option | cut -d '=' -f 2`
+    extra_cflags=`echo $ac_option | cut -d '=' -f 2-`
     ;;
   --extra-ldflags=*)
-    extra_ldflags=`echo $ac_option | cut -d '=' -f 2`
+    extra_ldflags=`echo $ac_option | cut -d '=' -f 2-`
     ;;
   --extra-libs=*)
     extra_libs=`echo $ac_option | cut -d '=' -f 2`