From: Guus Sliepen Date: Wed, 4 Sep 2002 23:04:52 +0000 (+0000) Subject: Run autopoint and libtoolize before creating initial makefiles. X-Git-Tag: import-tinc-1.1~785^2~241 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=b18bd211bec84a804f58da5f2d2908e54de3fe40;p=meshlink Run autopoint and libtoolize before creating initial makefiles. --- diff --git a/autogen.sh b/autogen.sh index 1209bd8e..ecdd7010 100644 --- a/autogen.sh +++ b/autogen.sh @@ -96,18 +96,6 @@ do echo processing $dr macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin` ( cd $dr - aclocalinclude="$ACLOCAL_FLAGS" - for k in $macrodirs; do - if test -d $k; then - if test -f $k/Makefile.am.in; then - make -C $k -f Makefile.am.in Makefile.am - fi - aclocalinclude="$aclocalinclude -I $k" - ##else - ## echo "**Warning**: No such directory \`$k'. Ignored." - fi - done - touch ChangeLog if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then if grep "sed.*POTFILES" configure.in >/dev/null; then : do nothing -- we still have an old unmodified configure.in @@ -132,6 +120,18 @@ do echo "Running libtoolize..." libtoolize --force --copy fi + aclocalinclude="$ACLOCAL_FLAGS" + for k in $macrodirs; do + if test -d $k; then + if test -f $k/Makefile.am.in; then + make -C $k -f Makefile.am.in Makefile.am + fi + aclocalinclude="$aclocalinclude -I $k" + ##else + ## echo "**Warning**: No such directory \`$k'. Ignored." + fi + done + touch ChangeLog echo "Running aclocal $aclocalinclude ..." aclocal $aclocalinclude if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then