summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorwl <wl>2005-12-12 07:14:59 +0000
committerwl <wl>2005-12-12 07:14:59 +0000
commit9e6a60bf918ba3640ec0ab0ad6d5d038539264e3 (patch)
tree9cd16b8f0593a4e8652dd679c1affd40b3cc1098 /configure
parent6d3ccc9eb36f1a1beb99286cde0cab9503e5b1e0 (diff)
downloadgroff-9e6a60bf918ba3640ec0ab0ad6d5d038539264e3.tar.gz
* aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
In particular, don't use `\+' since it is a GNU sed extension. * configure: Regenerated.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 2549e86e..9def0a7a 100755
--- a/configure
+++ b/configure
@@ -5507,7 +5507,7 @@ fi
echo $ECHO_N "checking for makeinfo version... $ECHO_C" >&6
# We need an additional level of quoting to make sed's regexps work.
makeinfo_version=`$MAKEINFO --version 2>&1 \
- | sed 's/^.* \([^ ]\+\)$/\1/;1q'`
+ | sed -e 's/^.* \([^ ][^ ]*\)$/\1/' -e '1q'`
echo "$as_me:$LINENO: result: $makeinfo_version" >&5
echo "${ECHO_T}$makeinfo_version" >&6
# Consider only the first two numbers in version number string.
@@ -5518,7 +5518,7 @@ echo "${ECHO_T}$makeinfo_version" >&6
makeinfo_version_minor=0
else
makeinfo_version_minor=`echo $makeinfo_version \
- | sed 's/^[^.]\+\(.*\)$/\1/'`
+ | sed 's/^[^.][^.]*\(.*\)$/\1/'`
# No minor version number at all?
if test -z "$makeinfo_version_minor"; then
makeinfo_version_minor=0