X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=c6a4e3921223193fa23a58a740a2aea36b5a311c;hp=2788acd17eb4ceee713d802dac225f78dcf6355e;hb=37a894d52dcd595033b719cff476b77b1dfe81d1;hpb=b6d98b185326125463fae2adc017dcde90b9f408 diff --git a/buildconf.sh b/buildconf.sh index 2788acd..c6a4e39 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,42 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.11 2005-05-17 20:34:28 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" CXXFLAGS="$sh_flags" ./configure $* - else - ./configure $* - fi -fi if $enable_help; then cat <