X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=6e6e322e9f513815d6f139fd8f8d07e30ed6d614;hp=a6feedb91600cbdd4b6338a541020a69c4e892e3;hb=5d2037ccd6b74ec67f662a83477820792b7172b3;hpb=c9d151d16586a20585bfb92607a6d578ceb07770 diff --git a/buildconf.sh b/buildconf.sh index a6feedb..6e6e322 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,42 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.20 2005-03-04 12:00:00 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 - CFLAGS="$sh_flags" ./configure $* - else - ./configure $* - fi -fi if $enable_help; then cat <