Pth tweaks and improved estream.c
[gnupg.git] / build-w32.sh
index c9ea984..0983012 100644 (file)
@@ -1,10 +1,15 @@
- ./configure --enable-maintainer-mode --prefix=/home/wk/w32root  \
+#!/bin/sh
+
+[ -z "$w32root" ] && w32root="$HOME/w32root"
+
+ ./configure --enable-maintainer-mode --prefix=${w32root}  \
              --host=i586-mingw32msvc --build=`scripts/config.guess` \
-             --with-gpg-error-prefix=/home/wk/w32root \
-            --with-ksba-prefix=/home/wk/w32root \
-            --with-libgcrypt-prefix=/home/wk/w32root \
-            --with-libassuan-prefix=/home/wk/w32root \
-            --with-zlib=/home/wk/w32root
-            
+             --with-gpg-error-prefix=${w32root} \
+            --with-ksba-prefix=${w32root} \
+            --with-libgcrypt-prefix=${w32root} \
+            --with-libassuan-prefix=${w32root} \
+            --with-zlib=${w32root} \
+             --with-pth-prefix=${w32root}