summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorwl <wl>2006-08-19 11:28:24 +0000
committerwl <wl>2006-08-19 11:28:24 +0000
commit687ed642ad2fc716e2c49fee681471a654cbb8bf (patch)
tree466ce370c39b7f93a5126965794baeaefb5a1b23 /configure
parent94c60e8730715b63c6d66c02412514c7e6758a24 (diff)
downloadgroff-687ed642ad2fc716e2c49fee681471a654cbb8bf.tar.gz
* configure: Regenerated.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure35
1 files changed, 10 insertions, 25 deletions
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