X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=e69ea5f926f3b9dfefe1d6e7eb240ab50ba5e1f3;hb=e4c6861efeeea654bfb00c5f0239ee258629d77f;hpb=1159610ba48547a9af5275cbfb7df457b58a5b0c diff --git a/buildconf.sh b/buildconf.sh index e69ea5f..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,43 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.15 2006-03-20 09:30:13 mike Exp $ -set -x -dir=`aclocal --print-ac-dir` -aclocal -I . -libtoolize --automake --force -automake -a -automake -a -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 -O0" - 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 <