X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fautogen.sh;h=1b5ca0287aa5d02e3bb88ebc80e7e721f63504a1;hb=5f5119ee2af2c9d1b066288c91489019db06fc24;hp=00006c1a144ffab5bf397b0c1931ea2d70740c08;hpb=aab6c90a9ef966a4f5b9661d9b236628655face8;p=lttv.git diff --git a/ltt/branches/poly/autogen.sh b/ltt/branches/poly/autogen.sh index 00006c1a..1b5ca028 100755 --- a/ltt/branches/poly/autogen.sh +++ b/ltt/branches/poly/autogen.sh @@ -67,7 +67,7 @@ fi } } -(automake --version) < /dev/null > /dev/null 2>&1 || { +(automake-1.7 --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`automake' installed." echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" @@ -77,7 +77,7 @@ fi # if no automake, don't bother testing for aclocal -test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { +test -n "$NO_AUTOMAKE" || (aclocal-1.7 --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: Missing \`aclocal'. The version of \`automake'" echo "installed doesn't appear recent enough." @@ -128,20 +128,20 @@ do echo "Running xml-i18n-toolize..." xml-i18n-toolize --copy --force --automake fi - echo "Running aclocal-1.7 $aclocalinclude ..." - aclocal-1.7 $aclocalinclude - if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then - echo "Running autoheader..." - autoheader - fi if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy fi fi - echo "Running automake --gnu $am_opt ..." - automake --add-missing --gnu $am_opt + echo "Running aclocal-1.7 $aclocalinclude ..." + aclocal-1.7 $aclocalinclude + if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then + echo "Running autoheader..." + autoheader + fi + echo "Running automake-1.7 --gnu $am_opt ..." + automake-1.7 --add-missing --gnu $am_opt echo "Running autoconf ..." autoconf )