summaryrefslogtreecommitdiff
path: root/aclocal.m4
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 /aclocal.m4
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 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 4878fdc0..ce88f550 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -68,7 +68,7 @@ AC_DEFUN([GROFF_MAKEINFO],
AC_MSG_CHECKING([for makeinfo version])
# 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'`]
AC_MSG_RESULT([$makeinfo_version])
# Consider only the first two numbers in version number string.
[makeinfo_version_major=`echo $makeinfo_version \
@@ -78,7 +78,7 @@ AC_DEFUN([GROFF_MAKEINFO],
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