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
|
CXXFLAGS := -pipe -O3 -fno-rtti -fno-exceptions -DNDEBUG
|
||||||
endif
|
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
|
include scripts/colors
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ using ()
|
||||||
|
|
||||||
extract_options ()
|
extract_options ()
|
||||||
{
|
{
|
||||||
local line;
|
local line name value
|
||||||
|
|
||||||
if [ -f make.conf ]
|
if [ -f make.conf ]
|
||||||
then
|
then
|
||||||
|
@ -75,7 +75,9 @@ extract_options ()
|
||||||
then
|
then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
eval "$line"
|
name=${line%=*}
|
||||||
|
value=${line#*=}
|
||||||
|
eval "$name='$value'"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
} < make.conf
|
} < make.conf
|
||||||
|
|
Loading…
Reference in New Issue