X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=buildconf.sh;h=2eea595e0a3c3668d56804452ca67ff719cd65e1;hb=a1e5630de9f16cf2a01b10b75cd791a7ad195f98;hp=434e2f8550b233f32363858daea7bee8f7fe3270;hpb=c64f3428802f61a7f087e410d9d0972f5a805f65;p=metaproxy-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 434e2f8..2eea595 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,41 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.1 2005-10-06 09:37:25 marc 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 <