X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=6e6e322e9f513815d6f139fd8f8d07e30ed6d614;hp=c9645affc0001eee9cc410d4a8a31c65b0b1aaa7;hb=ab61788b20fce5faedceb7599f6b5f43be72ba9a;hpb=2cb1374ad9b888dcb3462ec15b977fbb3a97c7cf diff --git a/buildconf.sh b/buildconf.sh index c9645af..6e6e322 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,42 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.22 2006-01-20 10:34:50 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 -ansi" - 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 - CFLAGS="$sh_flags" ./configure $* - else - ./configure $* - fi -fi if $enable_help; then cat <