andrei@versabanq.com: wvdbusd: handle *all* messages addressed to o.f.D.
[wvapps.git] / configure-mingw32
blob8d7f009a1f6925b1380a447fc902c0776a02f6ca
1 #!/bin/sh
3 rm -f config.mk
4 cat >config.mk <<-EOF
5 CONFIGHOST=--host=i586-mingw32msvc
6 CC=i586-mingw32msvc-gcc
7 AR=i586-mingw32msvc-ar
8 ARRC=\$(AR) rc
9 RANLIB=i586-mingw32msvc-ranlib
10 WV_BUILD_MINGW=1
11 export CC AR RANLIB
12 EOF
14 make wvports/zlib wvports/xplc wvports/openssl wvports/dbus wvports/boost
16 echo "--> Configuring WvStreams..."
17 (cd wvstreams && make -f Makefile-win32 runconfigure)
18 (set -x; cd wvstreams && \
19 XCPPFLAGS="-I../wvports/boost/build/boost" \
20 ./configure-mingw32 \
21 --disable-debug \
22 --disable-optimization \
23 --with-xplc=../wvports/xplc/build/xplc \
24 --with-openssl=../wvports/openssl/build/openssl \
25 --with-zlib=../wvports/zlib/build/zlib \
26 --with-dbus=../wvports/dbus/build/dbus \
27 "$@") || exit $?