Fix option handling of ./BUILD/compile-* to not try and pass options to

configure. It was already changed not to support additional options, but now
it was trying to pass all of the options to ./configure. (Bug #8648)
This commit is contained in:
jimw@mysql.com 2005-05-05 04:56:30 -07:00
parent 8e87db9318
commit bff994f86b

View File

@ -2,12 +2,6 @@ cflags="$c_warnings $extra_flags"
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
extra_configs="$extra_configs $local_infile_configs"
configure="./configure $base_configs $extra_configs"
for arg
do
# Escape special characters so they don't confuse eval
configure="$configure "`echo "$arg" | \
sed -e 's,\([^a-zA-Z0-9_.=-]\),\\\\\1,g'`
done
commands="\
$make -k clean || true