From: Werner Koch Date: Thu, 18 Jan 2001 10:47:48 +0000 (+0000) Subject: Nicer W32 installation support X-Git-Tag: gpgme-1.2.0@1385~1351 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e50f1b67430ade93cecf2bacb22369482f95506f;p=gpgme.git Nicer W32 installation support --- diff --git a/trunk/autogen.sh b/trunk/autogen.sh index a386bb0..10b498c 100755 --- a/trunk/autogen.sh +++ b/trunk/autogen.sh @@ -31,7 +31,13 @@ if test "$1" = "--build-w32"; then fi fi - crossbindir=`mingw32 --install-dir`/bin + crossinstalldir=`mingw32 --install-dir` + crossbindir=`mingw32 --get-bindir 2>/dev/null` \ + || crossbindir="$crossinstalldir/bin" + crosslibdir=`mingw32 --get-libdir 2>/dev/null` \ + || crosslibdir="$crossinstalldir/i386--mingw32/lib" + crossincdir=`mingw32 --get-includedir 2>/dev/null` \ + || crossincdir="$crossinstalldir/i386--mingw32/include" CC=`mingw32 --get-path gcc` CPP=`mingw32 --get-path cpp` AR=`mingw32 --get-path ar` @@ -54,8 +60,9 @@ if test "$1" = "--build-w32"; then fi [ $DIE = yes ] && exit 1 - ./configure --host=${host} --target=${target} \ - ${disable_foo_tests} $* + ./configure --host=${host} --target=${target} ${disable_foo_tests} \ + --bindir=${crossbindir} --libdir=${crosslibdir} \ + --includedir=${crossincdir} $* exit $? fi diff --git a/trunk/configure.in b/trunk/configure.in index 79239a7..9eb81d1 100644 --- a/trunk/configure.in +++ b/trunk/configure.in @@ -24,8 +24,6 @@ AC_SUBST(LIBGPGME_LT_AGE) AC_SUBST(LIBGPGME_LT_REVISION) -AM_MAINTAINER_MODE - dnl dnl Checks for programs dnl