From: Adam Dickmeiss Date: Thu, 25 Dec 2008 12:30:54 +0000 (+0100) Subject: Call autoheader when needed X-Git-Tag: v3.0.40~14 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=edc84a7af5e2b8e3f937fae5fd894f1a0054a96c;ds=sidebyside Call autoheader when needed --- diff --git a/buildconf.sh b/buildconf.sh index a889bdb..1850bae 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -4,6 +4,7 @@ automake=automake aclocal=aclocal autoconf=autoconf libtoolize=libtoolize +autoheader=autoheader test -d config || mkdir config if [ -d .git ]; then @@ -17,6 +18,7 @@ if [ "`uname -s`" = FreeBSD ]; then aclocal="aclocal19 -I /usr/local/share/aclocal" autoconf=autoconf259 libtoolize=libtoolize15 + autoheader=autoheader259 fi if [ "`uname -s`" = Darwin ]; then @@ -35,6 +37,9 @@ fi set -x $aclocal -I m4 +if grep AC_CONFIG_HEADERS configure.ac >/dev/null; then + $autoheader +fi $libtoolize --automake --force $automake --add-missing $autoconf