diff options
-rwxr-xr-x | buildconf | 38 |
1 files changed, 0 insertions, 38 deletions
@@ -68,44 +68,6 @@ fi echo "buildconf: automake version $am_version (ok)" -#-------------------------------------------------------------------------- -# libtool 1.4 or newer -# -LIBTOOL_WANTED_MAJOR=1 -LIBTOOL_WANTED_MINOR=4 -LIBTOOL_WANTED_PATCH= -LIBTOOL_WANTED_VERSION=1.4 - -libtool=`which glibtool 2>/dev/null` -if test ! -x "$libtool"; then - libtool=`which libtool` -fi -lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'` -if test -z "$lt_pversion"; then - echo "buildconf: libtool not found." - echo " You need libtool version $LIBTOOL_WANTED_VERSION or newer installed" - exit 1 -fi -lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'` -IFS=.; set $lt_version; IFS=' ' -lt_status="good" -if test "$1" = "$LIBTOOL_WANTED_MAJOR"; then - if test "$2" -lt "$LIBTOOL_WANTED_MINOR"; then - lt_status="bad" - elif test ! -z "$LIBTOOL_WANTED_PATCH"; then - if test "$3" -lt "$LIBTOOL_WANTED_PATCH"; then - lt_status="bad" - fi - fi -fi -if test $lt_status != "good"; then - echo "buildconf: libtool version $lt_pversion found." - echo " You need libtool version $LIBTOOL_WANTED_VERSION or newer installed" - exit 1 -fi - -echo "buildconf: libtool version $lt_pversion (ok)" - echo "buildconf: running aclocal" ${ACLOCAL:-aclocal} || die "The command '${AUTOHEADER:-aclocal}' failed" echo "buildconf: running autoheader" |