aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-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])