logo       

FYI: APIVERSION definition: msg#00014

sysutils.automake.patches

Subject: FYI: APIVERSION definition

GNU sed understand '?' as a bare '?' character.
Thus the regex in the APIVERSION definition never matches.

% echo 1.6.1 | sed -e 's/^\([0-9]*\.[0-9]*[a-z]?\).*$/\1/'
1.6.1

I'm checking in the following.

2002-04-10 Alexandre Duret-Lutz <duret_g@xxxxxxxx>

* configure.in (APIVERSION): Fix definition.

--- configure.in 6 Mar 2002 06:47:46 -0000 1.105
+++ configure.in 10 Apr 2002 20:31:48 -0000
@@ -33,7 +33,7 @@
# are compatible. So 1.5.1c is compatible with 1.5.
# * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
# aren't the same.
-APIVERSION=`echo "$VERSION" | sed -e
's/^\([[0-9]]*\.[[0-9]]*[[a-z]]?\).*$/\1/'`
+APIVERSION=`echo "$VERSION" | sed -e
's/^\([[0-9]]*\.[[0-9]]*[[a-z]]*\).*$/\1/'`
AC_SUBST(APIVERSION)

# A versioned directory, defined here for convenience.
--
Alexandre Duret-Lutz





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise