diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-22 22:53:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-22 22:53:52 +0000 |
commit | 149ff2aa6f6d2eb7da5fda28f245a56bab685630 (patch) | |
tree | d3403bc2c0f22fe72793738137101b3e4c180486 /configure.in | |
parent | m17n patch merge done (diff) | |
download | w3m-149ff2aa6f6d2eb7da5fda28f245a56bab685630.tar.gz w3m-149ff2aa6f6d2eb7da5fda28f245a56bab685630.zip |
more autoconfiscate
Diffstat (limited to '')
-rw-r--r-- | configure.in | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/configure.in b/configure.in index eae329b..9ce3943 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +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_SUBST(W3M) +W3M=w3m +AC_DEFINE(W3M, w3m) + W3M_LANG=${LC_ALL:-$LANG} dnl AM_INIT_AUTOMAKE(w3m, 0.4) AC_CONFIG_HEADER(config.h) @@ -14,6 +21,8 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB AC_PATH_PROGS(PERL, perl, /usr/local/bin/perl) +AC_PATH_PROGS(NKF, nkf, /usr/local/bin/nkf) +AC_PATH_PROGS(MAN, man, /usr/bin/man) AC_CANONICAL_SYSTEM AC_CYGWIN @@ -124,6 +133,23 @@ AC_W3M_SYS_ERRLIST AC_W3M_SIGSETJMP AC_W3M_SIGNAL +AC_SUBST(RC_DIR) +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 w3mhelp-w3m_en.html w3mhelp-w3m_ja.html w3mhelp-lynx_en.html w3mhelp-lynx_ja.html) +AC_OUTPUT(Makefile \ +scripts/Makefile scripts/dirlist.cgi \ +scripts/w3mhelp.cgi \ +scripts/w3mmail.cgi scripts/xface2xpm \ +scripts/multipart/Makefile scripts/multipart/multipart.cgi \ +scripts/w3mman/Makefile scripts/w3mman/w3mman scripts/w3mman/w3mman.1 \ +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) |