1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

More Windows and autoconf fixes

This commit is contained in:
Werner Koch 2001-08-07 15:35:13 +00:00
parent dce4566802
commit bffeb8738b
15 changed files with 56 additions and 20 deletions

View file

@ -1,3 +1,7 @@
2001-08-07 Werner Koch <wk@gnupg.org>
* autogen.sh: Adjusted --build-w32 for autoconf 2.52
2001-07-09 Werner Koch <wk@gnupg.org>
* autogen.sh (autoconf_vers): Require autoconf 2.50

View file

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