fix git-version-gen to work with bsd sed and obsolete regexps
authorAndy Wingo <wingo@pobox.com>
Wed, 21 Jul 2010 10:15:50 +0000 (12:15 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 21 Jul 2010 10:34:15 +0000 (12:34 +0200)
* configure.ac: Avoid + in git-version-gen sed script, as it doesn't
  work on BSD sed with obsolete regexps.

configure.ac

index ed69a9f..f401172 100644 (file)
@@ -30,7 +30,7 @@ AC_PREREQ(2.61)
 AC_INIT([GNU Guile],
         m4_esyscmd([build-aux/git-version-gen                                  \
           .tarball-version                                                     \
-          's/^release_\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)/v\1.\2\.\3/g']),
+          's/^release_\([0-9][0-9]*\)-\([0-9][0-9]*\)-\([0-9][0-9]*\)/v\1.\2\.\3/g']),
         [bug-guile@gnu.org])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])