X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=d6d56c22d6d7ea62b66f3e1d1dfc728660901b32;hp=63c014f6ad21dc27fb97d3584f317709e80194dd;hb=f5aa3da6fa8c40d6f8295514edf08477e3f3a054;hpb=d509e52b1490db1aa97ac6b8187e66d2da40aac1 diff --git a/buildconf.sh b/buildconf.sh index 63c014f..d6d56c2 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,41 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.8 2006-03-09 14:14:06 adam Exp $ -set -x -aclocal -I . -libtoolize --automake --force -automake --add-missing -autoconf -set - -if [ -f config.cache ]; then - rm config.cache + +if [ -d .git ]; then + git submodule init + git submodule update fi -enable_configure=false -enable_help=true -sh_flags="" -conf_flags="" -case $1 in - -d) - sh_flags="-g -Wall" - enable_configure=true - enable_help=false - shift - ;; - -c) - sh_flags="" - enable_configure=true - enable_help=false - shift - ;; -esac +. m4/id-config.sh -if $enable_configure; then - if test -n "$sh_flags"; then - CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $* - else - ./configure $* - fi -fi if $enable_help; then cat <