X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=ab8ec0c0c3518e1abf911bd8882453ab1c505a17;hb=8a0144a3925311102133d62ac6258ace8d7187eb;hpb=28d9bda2734f323dafccfd07422e36b65b6487f1 diff --git a/buildconf.sh b/buildconf.sh index ab8ec0c..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,43 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.16 2006-03-20 09:41:08 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 <