configure: process old arguments more robustly.
This commit is contained in:
parent
48d7f61f8a
commit
94de188684
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue