X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=buildconf.sh;h=4e7fff07928e4ee03da27476ea55fed5c03b6388;hb=e2e564be7eb9bcd9280950cec385750dd759605e;hp=f2ea8da678cda2b9e6f20309a808c5b35392291f;hpb=0e003c1f98eb27d793ddaa2579f286c2cea6d066;p=yazpp-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index f2ea8da..4e7fff0 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,10 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.16 2006-05-26 19:46:37 adam Exp $ + +test -d config || mkdir config +if test .git; then + git submodule init + git submodule update +fi if automake --version|head -1 |grep '1\.[4-7]'; then echo "automake 1.4-1.7 is active. You should use automake 1.8 or later" @@ -42,7 +47,7 @@ esac if $enable_configure; then if test -n "$sh_flags"; then - CFLAGS="$sh_flags" CXXFLAGS="$sh_flags" ./configure $* + CFLAGS="$sh_flags" CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $* else ./configure $* fi