automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: fix computation of APIVERSION in bootstrap


From: Alexandre Duret-Lutz
Subject: FYI: fix computation of APIVERSION in bootstrap
Date: 25 Sep 2002 22:56:29 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

The APIVERSION computed for 1.7.0a by bootstrap was wrong, because
of the extra quote needed in configure.in.

--- bootstrap   25 Sep 2002 19:20:40 -0000      1.2
+++ bootstrap   25 Sep 2002 20:53:34 -0000
@@ -39,7 +39,7 @@
 datadir=.
 
 # Read the rule for calculating APIVERSION and execute it
-apiver_cmd=`sed -ne '/^APIVERSION=/p' configure.in`
+apiver_cmd=`sed -ne 's/\[\[/[/g;s/\]\]/]/g;/^APIVERSION=/p' configure.in`
 eval $apiver_cmd
 
 # Sanity checks

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]