summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-18 23:55:47 +0200
committerunknown <tim@cane.mysql.fi>2000-12-18 23:55:47 +0200
commit27336dfe8fbd4e12b06e99778de5d8c1c7e837f0 (patch)
tree841c4965249415833302f0623314c30408562bee /BUILD
parent05cc1ba21704219601c3f0d4327b538da408896d (diff)
downloadmariadb-git-27336dfe8fbd4e12b06e99778de5d8c1c7e837f0.tar.gz
Pass arguements to the build script on to configure.
BUILD/FINISH.sh: - pass arguments to the build script on to configure
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD/FINISH.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILD/FINISH.sh b/BUILD/FINISH.sh
index 39a3dc3f7ef..625802f78cb 100644
--- a/BUILD/FINISH.sh
+++ b/BUILD/FINISH.sh
@@ -1,6 +1,10 @@
cflags="$c_warnings $extra_flags"
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
configure="./configure $base_configs $extra_configs"
+for arg in "$@"; do
+ configure="$configure "`echo "$arg" | sed -e 's,\([^a-zA-Z0-9_.-]\),\\\\\1,g'`
+done
+
CFLAGS="$cflags" CXX=gcc CXXFLAGS="$cxxflags" eval "$configure"