commit a3380df380bde3e5f14e9c8ad2dbb2a30cb8cbb2
parent b1be4f4b678477d5571c9cea57bd5ced63e7d126
Author: ukai <ukai>
Date: Sat, 22 Dec 2001 10:02:04 +0000
[w3m-dev 02696]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-22 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
+
+ * [w3m-dev 02696]
+ * configure: fix bashism of w3mhelp-{lynx,w3m}_{en,ja} expansion
+
2001-12-22 Dai Sato <satodai@dog.intcul.tohoku.ac.jp>
* [w3m-dev 02687] version number in w3mhelp-*.html (+[w3m-dev 02689])
diff --git a/configure b/configure
@@ -1897,9 +1897,10 @@ cvsver=`awk '\$1 ~ /[$]Id:/ { print \$3}' ChangeLog`
sed -e 's/^#define CURRENT_VERSION "\(.*\)+cvs.*"/#define CURRENT_VERSION "\1+cvs-'$cvsver'"/' version.c.in > version.c
cur_ver=`sed -n 's/^#define CURRENT_VERSION *"w3m\/\([^"]*\)".*$/\1/p' version.c`
-for h in w3mhelp-{lynx,w3m}_{en,ja}.html
+for h_in in w3mhelp-*_*.html.in
do
- sed -e 's/@CURRENT_VERSION@/'$cur_ver'/' $h.in > $h
+ h=`expr "$h_in" : '\(.*\)\.in'`
+ sed -e 's/@CURRENT_VERSION@/'$cur_ver'/' $h_in > $h
done
cat > extrvers.c << EOF