X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=buildconf.sh;h=d7fd646de17154f884c62f328fcbf3e544a0ba43;hb=9e31047b0cc47c3f27e628698d43817a6fb9582e;hp=1850bae2af30208d88f3e39be4e35580b6d60847;hpb=12b916d81e5d3ba6b9cfb601ecd65224825445e1;p=yazproxy-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 1850bae..d7fd646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -6,6 +6,7 @@ autoconf=autoconf libtoolize=libtoolize autoheader=autoheader +test -d autom4te.cache && rm -r autom4te.cache test -d config || mkdir config if [ -d .git ]; then git submodule init @@ -71,7 +72,8 @@ esac if $enable_configure; then if [ -n "$sh_cflags" ]; then - CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure --disable-shared --enable-static $* + CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure \ + --disable-shared --enable-static --with-pic $* else ./configure $* fi