X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=d6d56c22d6d7ea62b66f3e1d1dfc728660901b32;hp=40f6114a0f2baeb90ffeff11809d1482f4dc4756;hb=998f61ee781572d924d22fa9669554dc2192be50;hpb=2ae4531dae6f6d52f5284357061202bb680825ce diff --git a/buildconf.sh b/buildconf.sh index 40f6114..d6d56c2 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,42 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.6 2005-05-08 15:23:05 adam Exp $ -set -x -aclocal -I . -libtoolize --automake --force -automake --add-missing -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 $* - else - ./configure $* - fi -fi if $enable_help; then cat <