summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-10-24 12:53:47 +0200
committerunknown <msvensson@neptunus.(none)>2006-10-24 12:53:47 +0200
commit8247821b387bdff641e2060381bd2b8dfd26362f (patch)
treef49940b1731e72b01cbe18792f3d50b5e749da6b /netware
parentdd7dbb39aa723b438cdb11558b703876e369fd82 (diff)
parent375b04b9fe8826bd666b49421b5176a9316039e8 (diff)
downloadmariadb-git-8247821b387bdff641e2060381bd2b8dfd26362f.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint include/mysql.h: Auto merged libmysqld/lib_sql.cc: Auto merged mysql-test/mysql-test-run.pl: Auto merged netware/BUILD/compile-netware-END: Auto merged scripts/make_binary_distribution.sh: Auto merged vio/viossl.c: Auto merged vio/viosslfactories.c: Auto merged netware/BUILD/mwenv: Merge
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/BUILD/compile-netware-END9
-rwxr-xr-xnetware/BUILD/mwenv10
2 files changed, 15 insertions, 4 deletions
diff --git a/netware/BUILD/compile-netware-END b/netware/BUILD/compile-netware-END
index a8d829499bd..6c531ab5c7c 100755
--- a/netware/BUILD/compile-netware-END
+++ b/netware/BUILD/compile-netware-END
@@ -18,8 +18,13 @@ rm -rf Makefile.in.bk
# Setup Metrowerks environment
. $path/mwenv
-# Run autotools(use BUILD/autorun.sh)
-. BUILD/autorun.sh
+# Temporary hack to allow building from source dist
+if [ ! "$USER"=pushbuild ]
+then
+ # Run autotools(use BUILD/autorun.sh)
+ echo "Running autotools again(BUILD/autorun.sh)"
+ . BUILD/autorun.sh
+fi
# configure
./configure $base_configs $extra_configs
diff --git a/netware/BUILD/mwenv b/netware/BUILD/mwenv
index c3869d2ec90..25144b58921 100755
--- a/netware/BUILD/mwenv
+++ b/netware/BUILD/mwenv
@@ -27,8 +27,8 @@ WINE_BUILD_DIR="$base/$WINE_BUILD_DIR"
echo "WINE_BUILD_DIR: $WINE_BUILD_DIR"
# Look for libc, MySQL 5.1.x uses libc-2006 by default
-libcdir="$MYDEV/libc-2006"
-if test ! -d $libcdir
+libc_dir="$MYDEV/libc-2006"
+if [ ! -d `winepath $libc_dir` ]
then
# The libcdir didn't exist, set default
libc_dir="$MYDEV/libc"
@@ -65,5 +65,11 @@ then
export TERM=linux
fi
+# Temporary hack to allow building from source dist
+if [ "$USER"=pushbuild ]
+then
+ export ARFLAGS=$AR_FLAGS
+fi
+
# Print all env. variables
export