summaryrefslogtreecommitdiff
path: root/BUILD/SETUP.sh
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-01-27 12:18:02 +0100
committerunknown <ingo@mysql.com>2005-01-27 12:18:02 +0100
commit87fba51805a912042688a6c64810943c90faecc4 (patch)
tree444de60ab20a2de41ab01f6f904a717941f2f3ce /BUILD/SETUP.sh
parent1ea2bc38cff826454d2988df622f1b719201d5f3 (diff)
parenta271a6c878ffe8245bd631888bfeee3cb5055005 (diff)
downloadmariadb-git-87fba51805a912042688a6c64810943c90faecc4.tar.gz
Merge mysql.com:/home/mydev/mysql-4.1-4100
into mysql.com:/home/mydev/mysql-5.0-5000 BUILD/SETUP.sh: Auto merged include/my_global.h: Auto merged mysql-test/r/lowercase_table2.result: Auto merged mysql-test/r/order_by.result: Auto merged mysql-test/t/order_by.test: Auto merged sql/item_timefunc.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged
Diffstat (limited to 'BUILD/SETUP.sh')
-rwxr-xr-xBUILD/SETUP.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 215d7ba24b9..b899b9a7d9b 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -6,12 +6,15 @@ then
exit 1
fi
+prefix_configs="--prefix=/usr/local/mysql"
just_print=
just_configure=
full_debug=
while test $# -gt 0
do
case "$1" in
+ --prefix=* ) prefix_configs="$1"; shift ;;
+ --with-debug=full ) full_debug="=full"; shift ;;
-c | --just-configure ) just_configure=1; shift ;;
-n | --just-print | --print ) just_print=1; shift ;;
-h | --help ) cat <<EOF; exit 0 ;;
@@ -19,12 +22,11 @@ Usage: $0 [-h|-n] [configure-options]
-h, --help Show this help message.
-n, --just-print Don't actually run any commands; just print them.
-c, --just-configure Stop after running configure.
-
-Any other options will be passed directly to configure.
+ --with-debug=full Build with full debug.
+ --prefix=path Build with prefix 'path'.
Note: this script is intended for internal use by MySQL developers.
EOF
- --with-debug=full ) full_debug="=full"; shift ;;
* )
echo "Unknown option '$1'"
exit 1
@@ -70,7 +72,7 @@ debug_extra_cflags="-O1 -Wuninitialized"
base_cxxflags="-felide-constructors -fno-exceptions -fno-rtti"
amd64_cxxflags="-DBIG_TABLES"
-base_configs="--prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-readline"
+base_configs="$prefix_configs --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-readline"
static_link="--with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static"
amd64_configs=""
alpha_configs="" # Not used yet