From: Werner Koch Date: Tue, 30 Jan 2001 11:24:14 +0000 (+0000) Subject: W32 fix X-Git-Tag: gpgme-1.2.0@1385~1347 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b48ca513b7319776e30f9cc39ec1bb5876816e1;p=gpgme.git W32 fix --- diff --git a/trunk/autogen.sh b/trunk/autogen.sh index 378fe59..cf24171 100755 --- a/trunk/autogen.sh +++ b/trunk/autogen.sh @@ -34,6 +34,8 @@ if test "$1" = "--build-w32"; then crossinstalldir=`mingw32 --install-dir` crossbindir=`mingw32 --get-bindir 2>/dev/null` \ || crossbindir="$crossinstalldir/bin" + crossdatadir=`mingw32 --get-datadir 2>/dev/null` \ + || crossdatadir="$crossinstalldir/share" crosslibdir=`mingw32 --get-libdir 2>/dev/null` \ || crosslibdir="$crossinstalldir/i386--mingw32/lib" crossincdir=`mingw32 --get-includedir 2>/dev/null` \ @@ -62,7 +64,8 @@ if test "$1" = "--build-w32"; then ./configure --host=${host} --target=${target} ${disable_foo_tests} \ --bindir=${crossbindir} --libdir=${crosslibdir} \ - --includedir=${crossincdir} --enable-maintainer-mode $* + --datadir=${crossdatadir} --includedir=${crossincdir} \ + --enable-maintainer-mode $* exit $? fi