X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=d6d56c22d6d7ea62b66f3e1d1dfc728660901b32;hp=d28f54e9818001e8debccacc5f10b6a6dccc306a;hb=84a66ec6eb9b25953cbdcf61c97ecc57c45066c4;hpb=e7f41bcf7b9b13a3a744ade63f5c00ba9097c990 diff --git a/buildconf.sh b/buildconf.sh index d28f54e..d6d56c2 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,41 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.7 2005-06-21 18:46:04 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 $* - else - ./configure $* - fi -fi if $enable_help; then cat <