Browse Source

configure: process old arguments more robustly.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
94de188684
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      Makefile
  2. +4
    -2
      scripts/config-funcs

+ 1
- 1
Makefile 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



+ 4
- 2
scripts/config-funcs 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


Loading…
Cancel
Save