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

Fixes for W32

This commit is contained in:
Werner Koch 2001-04-19 11:40:45 +00:00
parent 64ddc393e1
commit 397a73b685
36 changed files with 296 additions and 165 deletions

View file

@ -1,3 +1,7 @@
2001-04-19 Werner Koch <wk@gnupg.org>
* autogen.sh: Add VPATH build support for option --build-w32.
2001-03-12 Werner Koch <wk@gnupg.org>
* config.guess, config.sub: Replaced with the current GNU CVS ones.

View file

@ -10,20 +10,21 @@ aclocal_vers=1.4
DIE=no
if test "$1" = "--build-w32"; then
tsdir=$(cd `dirname $0`; cd ..; pwd)
shift
target=i386--mingw32
if [ ! -f scripts/config.guess ]; then
echo "scripts/config.guess not found" >&2
if [ ! -f $tsdir/scripts/config.guess ]; then
echo "$tsdir/scripts/config.guess not found" >&2
exit 1
fi
host=`scripts/config.guess`
host=`$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 config.h ]; then
if [ -f "$tsdir/config.h" ]; then
if grep HAVE_DOSISH_SYSTEM config.h | grep undef >/dev/null; then
echo "Pease run a 'make distclean' first" >&2
exit 1
@ -53,7 +54,7 @@ if test "$1" = "--build-w32"; then
fi
[ $DIE = yes ] && exit 1
./configure --host=${host} --target=${target} \
$tsdir/configure --host=${host} --target=${target} \
${disable_foo_tests} $*
exit $?
fi