From baa012b1d9578e20da2a85b3e336489c435c4ce1 Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 29 May 2013 15:03:27 -0700 Subject: [PATCH] change = to space for user options defines with = value --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c6bcddb4e..8bf41a590 100644 --- a/configure.ac +++ b/configure.ac @@ -1351,8 +1351,9 @@ for option in $OPTION_FLAGS; do defonly=`echo $option | sed 's/-D//'` if test "$defonly" != "$option" then - echo "#undef $defonly" >> $OPTION_FILE - echo "#define $defonly" >> $OPTION_FILE + noequalsign=`echo $defonly | sed 's/=/ /'` + echo "#undef $noequalsign" >> $OPTION_FILE + echo "#define $noequalsign" >> $OPTION_FILE echo "" >> $OPTION_FILE else echo "option w/o begin -D is $option, not saving to $OPTION_FILE"