Temporary fixes for building from source dist in pushbuild

netware/BUILD/compile-netware-END:
  If running as user pushbuild don't run autotools again
netware/BUILD/mwenv:
  Set ARFLAGS to value of AR_FLAGS
This commit is contained in:
unknown 2006-10-24 11:16:53 +02:00
parent 0b381c94cb
commit 375b04b9fe
2 changed files with 13 additions and 2 deletions

View file

@ -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

View file

@ -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