aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-23 18:42:24 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-23 18:42:24 +0000
commit2b74f5b7671e2cb7d4d71d8e5167c5965a1784e9 (patch)
tree88417f5fec14aa97d75dba5f712078ad5d5e66bf /configure.in
parentcd in subdir (diff)
downloadw3m-2b74f5b7671e2cb7d4d71d8e5167c5965a1784e9.tar.gz
w3m-2b74f5b7671e2cb7d4d71d8e5167c5965a1784e9.zip
gettextize initial modifications
Diffstat (limited to '')
-rw-r--r--configure.in19
1 files changed, 12 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 9ce3943..f2d0fbd 100644
--- a/configure.in
+++ b/configure.in
@@ -1,9 +1,13 @@
dnl w3m autoconf
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(fm.h)
-AC_SUBST(package)
-package=w3m
-AC_DEFINE(package,w3m)
+AC_INIT(w3m, 0.4.2, ukai@debian.or.jp)
+PACKAGE=w3m
+VERSION=0.4.2
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
+AC_SUBST(PACKAGE)
+AC_SUBST(VERSION)
+
AC_SUBST(W3M)
W3M=w3m
AC_DEFINE(W3M, w3m)
@@ -37,6 +41,7 @@ W3M_TARGET=$target
AC_DEFINE_UNQUOTED(W3M_TARGET, $W3M_TARGET)
AC_W3M_M17N
+AM_GNU_GETTEXT
AC_W3M_COLOR
AC_W3M_ANSI_COLOR
@@ -134,14 +139,14 @@ AC_W3M_SIGSETJMP
AC_W3M_SIGNAL
AC_SUBST(RC_DIR)
-RC_DIR="~/.$package"
+RC_DIR="~/.$PACKAGE"
AC_DEFINE_UNQUOTED(RC_DIR, "$RC_DIR")
AC_SUBST(DOCDIRS)
DOCDIRS="doc:en_English doc-jp:ja_Japanese"
AC_DEFINE_UNQUOTED(DOCDIRS, "$DOCDIRS")
AC_W3M_VERSION
-AC_OUTPUT(Makefile \
+AC_OUTPUT([Makefile intl/Makefile po/Makefile.in \
scripts/Makefile scripts/dirlist.cgi \
scripts/w3mhelp.cgi \
scripts/w3mmail.cgi scripts/xface2xpm \
@@ -151,5 +156,5 @@ scripts/w3mman/w3mman2html.cgi \
libwc/Makefile \
w3mimg/Makefile w3mimg/fb/Makefile w3mimg/x11/Makefile \
w3mhelp-w3m_en.html w3mhelp-w3m_ja.html \
-w3mhelp-lynx_en.html w3mhelp-lynx_ja.html)
+w3mhelp-lynx_en.html w3mhelp-lynx_ja.html])