X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=buildconf.sh;h=2eea595e0a3c3668d56804452ca67ff719cd65e1;hb=abe840d8d4a289b0cf6221a3e1bc11e640e6c708;hp=82c872b3916b47b998723841106f0448028c17e6;hpb=f33d2c2293d082f63288d8dd430924174837902b;p=metaproxy-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 82c872b..2eea595 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,42 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.2 2005-10-07 09:21:41 marc Exp $ -set -x -aclocal -I m4 -autoheader -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 <