diff options
| author | Werner Koch <[email protected]> | 2001-01-18 10:47:48 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2001-01-18 10:47:48 +0000 | 
| commit | f408930cc067ae3150a679bc890d0559c0bc8df5 (patch) | |
| tree | 6cd64dd288ab91329948c72f52862186625549f0 | |
| parent | Does now compile under MingW32/CPD 0.3 (diff) | |
| download | gpgme-f408930cc067ae3150a679bc890d0559c0bc8df5.tar.gz gpgme-f408930cc067ae3150a679bc890d0559c0bc8df5.zip | |
Nicer W32 installation support
Diffstat (limited to '')
| -rwxr-xr-x | autogen.sh | 13 | ||||
| -rw-r--r-- | configure.in | 2 | 
2 files changed, 10 insertions, 5 deletions
| @@ -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/configure.in b/configure.in index 79239a7a..9eb81d16 100644 --- a/configure.in +++ b/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 | 
