summaryrefslogtreecommitdiff
path: root/m4/as-nano.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/as-nano.m4')
-rw-r--r--m4/as-nano.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/as-nano.m4 b/m4/as-nano.m4
index ca09455..119666c 100644
--- a/m4/as-nano.m4
+++ b/m4/as-nano.m4
@@ -5,7 +5,7 @@ dnl autostars m4 macro for versioning (modified)
dnl Thomas Vander Stichele <thomas at apestaart dot org>
dnl David Schleef <ds@schleef.org>
-dnl $Id: as-nano.m4,v 1.1 2005-01-21 07:26:34 ds Exp $
+dnl $Id: as-nano.m4,v 1.2 2007-03-16 23:30:02 ds Exp $
dnl AS_VERSION(ACTION-IF-NO-NANO, [ACTION-IF-NANO])
@@ -13,7 +13,7 @@ AC_DEFUN([AS_NANO],
[
AC_MSG_CHECKING(nano version)
- NANO=$(echo AC_PACKAGE_VERSION | sed ['s/[0-9]\.[0-9]\.[0-9]\.*//'])
+ NANO=$(echo AC_PACKAGE_VERSION | sed ['s/[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.*//'])
AC_SUBST(NANO)
if test x"$NANO" = x || test "x$NANO" = "x0" ; then