From 687ed642ad2fc716e2c49fee681471a654cbb8bf Mon Sep 17 00:00:00 2001 From: wl Date: Sat, 19 Aug 2006 11:28:24 +0000 Subject: * configure: Regenerated. --- configure | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 655a8003..723eae44 100755 --- a/configure +++ b/configure @@ -5725,35 +5725,20 @@ echo $ECHO_N "checking for makeinfo version... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $makeinfo_version" >&5 echo "${ECHO_T}$makeinfo_version" >&6 # Consider only the first two numbers in version number string. - makeinfo_version_major=`echo $makeinfo_version \ - | sed 's/^\([0-9]*\).*$/\1/'` - if test -z "$makeinfo_version_major"; then - makeinfo_version_major=0 - makeinfo_version_minor=0 - else - makeinfo_version_minor=`echo $makeinfo_version \ - | sed 's/^[^.][^.]*\(.*\)$/\1/'` - # No minor version number at all? - if test -z "$makeinfo_version_minor"; then - makeinfo_version_minor=0 - else - makeinfo_version_minor=`echo $makeinfo_version_minor \ - | sed 's/\.\([0-9]*\).*$/\1/'` - if test -z "$makeinfo_version_minor"; then - makeinfo_version_minor=0 - fi - fi + makeinfo_version_major=`IFS=.; set x $makeinfo_version; echo 0${2}` + makeinfo_version_minor=`IFS=.; set x $makeinfo_version; echo 0${3}` + makeinfo_version_numeric=` + expr ${makeinfo_version_major}000 \+ ${makeinfo_version_minor}` + if test $makeinfo_version_numeric -lt 4008; then + missing="\`makeinfo' is too old." fi fi - makeinfo_version_numeric=`expr $makeinfo_version_major '*' 1000 \ - '+' $makeinfo_version_minor` - if test $makeinfo_version_numeric -lt 4008; then - missing="\`makeinfo' is too old." - fi if test -n "$missing"; then - if test ! -f doc/groff.info \ - || test ${srcdir}/doc/groff.texinfo -nt doc/groff.info; then + infofile=doc/groff.info + test -f ${infofile} || infofile=${srcdir}/${infofile} + if test ! -f ${infofile} \ + || test ${srcdir}/doc/groff.texinfo -nt ${infofile}; then { { echo "$as_me:$LINENO: error: $missing Get the \`texinfo' package version 4.8 or newer." >&5 echo "$as_me: error: $missing -- cgit v1.2.1