aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/autogen.sh')
-rwxr-xr-xscripts/autogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/autogen.sh b/scripts/autogen.sh
index 232de1456..0bb23372e 100755
--- a/scripts/autogen.sh
+++ b/scripts/autogen.sh
@@ -51,6 +51,9 @@ if test "$1" = "--build-w32"; then
fi
build=`$tsdir/scripts/config.guess`
+ [ -z "$w32root" ] && w32root="$HOME/w32root"
+ echo "Using $w32root as standard install directory" >&2
+
# Locate the cross compiler
crossbindir=
for host in i586-mingw32msvc i386-mingw32msvc; do
@@ -92,6 +95,7 @@ if test "$1" = "--build-w32"; then
[ $DIE = yes ] && exit 1
$tsdir/configure ${conf_CC} --build=${build} --host=${host} \
+ --with-bzip2=${w32root} \
${disable_foo_tests} $*
exit $?
fi