configure: process old arguments more robustly.

This commit is contained in:
Jonathan Moore Liles 2008-05-20 14:34:02 -05:00
parent 48d7f61f8a
commit 94de188684
2 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,7 @@ else
CXXFLAGS := -pipe -O3 -fno-rtti -fno-exceptions -DNDEBUG
endif
CXXFLAGS += $(libsndfile_CFLAGS) $(LASH_CFLAGS) $(FLTK_CFLAGS) -DINSTALL_PREFIX=\"$(prefix)\" -DVERSION=\"$(VERSION)\"
CXXFLAGS += $(libsndfile_CFLAGS) $(LASH_CFLAGS) $(FLTK_CFLAGS) -DINSTALL_PREFIX="\"$(prefix)\"" -DVERSION=\"$(VERSION)\"
include scripts/colors

View File

@ -59,7 +59,7 @@ using ()
extract_options ()
{
local line;
local line name value
if [ -f make.conf ]
then
@ -75,7 +75,9 @@ extract_options ()
then
break
else
eval "$line"
name=${line%=*}
value=${line#*=}
eval "$name='$value'"
fi
done
} < make.conf