summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-12-29 16:06:10 +0200
committermonty@donna.mysql.com <>2000-12-29 16:06:10 +0200
commit07b1f0dccdf7f58dd79448e293eff85383f450e1 (patch)
tree53ef6da34dcfaf79e0e133177cccfb9bb63a9637 /BUILD
parent38cd62e82a8a2fe50cd74c15ef040bb5dc1e1f8b (diff)
downloadmariadb-git-07b1f0dccdf7f58dd79448e293eff85383f450e1.tar.gz
Fixed --no-defaults in mysqltest
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/compile-pentium6
-rwxr-xr-xBUILD/compile-pentium-debug6
-rwxr-xr-xBUILD/compile-pentium-symbols15
3 files changed, 27 insertions, 0 deletions
diff --git a/BUILD/compile-pentium b/BUILD/compile-pentium
index cdbc7e773eb..5d197b48882 100755
--- a/BUILD/compile-pentium
+++ b/BUILD/compile-pentium
@@ -7,4 +7,10 @@ extra_flags="$pentium_cflags $fast_cflags"
extra_configs="$pentium_configs"
strip=yes
+# Use the optimized version if it exists
+if test -d /usr/local/BerkeleyDB-opt/
+then
+ extra_configs="$extra_configs --with-berkeley-db=/usr/local/BerkeleyDB-opt/"
+fi
+
. "$path/FINISH.sh"
diff --git a/BUILD/compile-pentium-debug b/BUILD/compile-pentium-debug
index 094c4e9ca86..45305661806 100755
--- a/BUILD/compile-pentium-debug
+++ b/BUILD/compile-pentium-debug
@@ -8,4 +8,10 @@ c_warnings="$c_warnings $debug_extra_warnings"
cxx_warnings="$cxx_warnings $debug_extra_warnings"
extra_configs="$pentium_configs $debug_configs"
+# Use the debug version if it exists
+if test -d /usr/local/BerkeleyDB-dbug/
+then
+ extra_configs="$extra_configs --with-berkeley-db=/usr/local/BerkeleyDB-dbug/"
+fi
+
. "$path/FINISH.sh"
diff --git a/BUILD/compile-pentium-symbols b/BUILD/compile-pentium-symbols
new file mode 100755
index 00000000000..4f63763606f
--- /dev/null
+++ b/BUILD/compile-pentium-symbols
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+path=`dirname $0`
+. "$path/SETUP.sh"
+
+extra_flags="$pentium_cflags $fast_cflags -g"
+extra_configs="$pentium_configs"
+
+# Use the optimized version if it exists
+if test -d /usr/local/BerkeleyDB-opt/
+then
+ extra_configs="$extra_configs --with-berkeley-db=/usr/local/BerkeleyDB-opt/"
+fi
+
+. "$path/FINISH.sh"