diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ChangeLog | 4 | ||||
-rwxr-xr-x | scripts/autogen.sh | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/scripts/ChangeLog b/scripts/ChangeLog index 2e1687b48..4e97acaf7 100644 --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2001-08-07 Werner Koch <[email protected]> + + * autogen.sh: Adjusted --build-w32 for autoconf 2.52 + 2001-07-09 Werner Koch <[email protected]> * autogen.sh (autoconf_vers): Require autoconf 2.50 diff --git a/scripts/autogen.sh b/scripts/autogen.sh index 7ae41b8ab..5ac403718 100755 --- a/scripts/autogen.sh +++ b/scripts/autogen.sh @@ -13,7 +13,7 @@ PGM=GnuPG lib_config_files="" -autoconf_vers=2.50 +autoconf_vers=2.52 automake_vers=1.4 aclocal_vers=1.4 @@ -22,20 +22,20 @@ DIE=no if test "$1" = "--build-w32"; then tsdir=$(cd `dirname $0`; cd ..; pwd) shift - target=i386--mingw32 + host=i386--mingw32 if [ ! -f $tsdir/scripts/config.guess ]; then echo "$tsdir/scripts/config.guess not found" >&2 exit 1 fi - host=`$tsdir/scripts/config.guess` + build=`$tsdir/scripts/config.guess` if ! mingw32 --version >/dev/null; then echo "We need at least version 0.3 of MingW32/CPD" >&2 exit 1 fi - if [ -f "$tsdir/config.h" ]; then - if grep HAVE_DOSISH_SYSTEM config.h | grep undef >/dev/null; then + if [ -f "$tsdir/config.log" ]; then + if ! head $tsdir/config.log | grep i386--mingw32 >/dev/null; then echo "Pease run a 'make distclean' first" >&2 exit 1 fi @@ -64,7 +64,7 @@ if test "$1" = "--build-w32"; then fi [ $DIE = yes ] && exit 1 - $tsdir/configure --host=${host} --target=${target} \ + $tsdir/configure --build=${build} --host=${host} \ ${disable_foo_tests} $* exit $? fi |