diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-03-12 17:20:39 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-03-12 17:20:39 +0000 |
commit | 7bef0d328c070c57601ee4635c7f2bbac63529b7 (patch) | |
tree | 9f6e57b705efe360c276493a1118d10e07e1417a /configure.in | |
parent | [w3m-dev 03816] --enable-lynx => --enable-keymap=lynx (diff) | |
download | w3m-7bef0d328c070c57601ee4635c7f2bbac63529b7.tar.gz w3m-7bef0d328c070c57601ee4635c7f2bbac63529b7.zip |
[w3m-dev 03818] fix autoconf
* Makefile.in (CGIBIN_DIR): added
(AUXBIN_DIR): added
(HELP_DIR): added
(RC_DIR): added
(MAKE_ARGS): added
(TARGET): use $(package)
(MAN1_TARGET): ditto
(install): use $(*_DIR)
* acinclude.m4 (AC_W3M_TERMLIB): added
(AC_W3M_GC): default search prefix /usr /usr/local $HOME
fix searches
(AC_W3M_SSL): fix bugs
* config.h (RC_DIR): remove tailing /
(SYS_MAILCAP): use ETC_DIR
(SYS_MIMETYPES): ditto
(USER_MIMETYPES): homedir
* configure.in: quote
(AC_W3M_TERMLIB): use
* Bonus/oldconfigure.sh: rewrite
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | configure.in | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/configure.in b/configure.in index 3bbec91..2d5ecb8 100644 --- a/configure.in +++ b/configure.in @@ -61,13 +61,7 @@ done dnl Checks for libraries. AC_CHECK_FUNC(sqrt,,[AC_CHECK_LIB(m, sqrt)]) -AC_CHECK_LIB(termcap, tgetent) -AC_CHECK_LIB(termlib, tgetent) -AC_CHECK_LIB(terminfo, tgetent) -AC_CHECK_LIB(mytinfo, tgetent) -AC_CHECK_LIB(curses, tgetent) -AC_CHECK_LIB(ncurses, tgetent) -if test x$enable_mouse = xyes; then +if test x"$enable_mouse" = xyes; then AC_SUBST(USE_W3M) AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM) LIBS="$LIBS -lgpm"]) @@ -75,15 +69,16 @@ if test x$enable_mouse = xyes; then AC_TRY_CPP([#include <machine/console.h> MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)]) fi -AC_W3M_GC AC_W3M_ALARM AC_SUBST(AUXBIN_TARGETS) AUXBIN_TARGETS= AC_W3M_IMAGE -if test x$enable_image != xno; then +if test x"$enable_image" != xno; then AUXBIN_TARGETS="$AUXBIN_TARGETS w3mimgdisplay\$(EXT)" AC_W3M_XFACE fi +AC_W3M_TERMLIB +AC_W3M_GC AC_W3M_SSL AC_W3M_IPv6 AC_CHECK_LIB(z, zError, [AUXBIN_TARGETS="$AUXBIN_TARGETS inflate\$(EXT)"]) |