aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-03-12 18:27:03 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-03-12 18:27:03 +0000
commit33ddf9cdfc7ffa2ce662d85133c84f02db6b23c4 (patch)
tree67c85afac026064c37d3a214bab9a76a3293d7ae /aclocal.m4
parent* Makefile.in (distclean): added (diff)
downloadw3m-33ddf9cdfc7ffa2ce662d85133c84f02db6b23c4.tar.gz
w3m-33ddf9cdfc7ffa2ce662d85133c84f02db6b23c4.zip
[w3m-dev 03819] support cd build && ../configure
* Makefile.in: add VPATH add MV use $(top_srcdir), $<, $@ * acinclude.m4 (AC_W3M_VERSION): use $srcdir * configure.in (AC_W3M_VERSION): move * mktable.c (main): basename From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index e3dcd71..de3b501 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -17,8 +17,8 @@ dnl w3m autoconf macros
# ----------------------------------------------------------------
AC_DEFUN([AC_W3M_VERSION],
[AC_SUBST(CURRENT_VERSION)
- 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
+ cvsver=`$AWK '\$[1] ~ /Id:/ { print \$[3]}' $srcdir/ChangeLog`
+ sed -e 's/define CURRENT_VERSION "\(.*\)+cvs/define CURRENT_VERSION "\1+cvs-'$cvsver'/' $srcdir/version.c.in > version.c
CURRENT_VERSION=`sed -n 's/.*define CURRENT_VERSION *"w3m\/\(.*\)".*$/\1/p' version.c`])
#
# ----------------------------------------------------------------