Skip to content
Snippets Groups Projects
Commit 637bfa02 authored by Yang Tse's avatar Yang Tse
Browse files

Show autom4te and aclocal versions.

Set SED for Solaris to gsed if available.
parent 1c8f689e
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,14 @@ fi
echo "buildconf: autoconf version $ac_version (ok)"
am4te_version=`${AUTOM4TE:-autom4te} --version 2>/dev/null|head -n 1| sed -e 's/autom4te\(.*\)/\1/' -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
if test -z "$am4te_version"; then
echo "buildconf: autom4te not found. Weird autoconf installation!"
exit 1
else
echo "buildconf: autom4te version $am4te_version"
fi
#--------------------------------------------------------------------------
# autoheader 2.50 or newer
#
......@@ -124,12 +132,12 @@ fi
echo "buildconf: automake version $am_version (ok)"
ac=`findtool ${ACLOCAL:-aclocal}`
if test -z "$ac"; then
acloc_version=`${ACLOCAL:-aclocal} --version 2>/dev/null|head -n 1| sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//' -e 's/\(.*\)\(-p.*\)/\1/'`
if test -z "$acloc_version"; then
echo "buildconf: aclocal not found. Weird automake installation!"
exit 1
else
echo "buildconf: aclocal found"
echo "buildconf: aclocal version $acloc_version"
fi
#--------------------------------------------------------------------------
......@@ -308,6 +316,13 @@ if test "x$tmp_host_type" = "xSunOS"; then
if test -f "$path/sed"; then
echo "buildconf: sed: $path/sed"
fi
if test -f "$path/gsed"; then
echo "buildconf: sed: $path/gsed"
if test -z "$SED"; then
SED="$path/gsed"
export SED
fi
fi
done
IFS=$old_IFS
echo "buildconf: SED: $SED"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment