[w3m-dev 03801] fix autoconf

* acinclude.m4 (AC_W3M_BG_COLOR): fix typo
	(AC_W3M_KANJI_SYMBOLS): check enable_japanese != 'no'
	(AC_W3M_KEYMAP): needs {}
	(AC_W3M_EXTLIBS): don't modify libdir, use extlibdir
	(AC_W3M_SSL): missing x
	(AC_W3M_IMAGE): add AC_DEFINE(USE_IMAGE)
* config.h.in: s/USE_KANJI_SYMBOLS/KANJI_SYMBOLS/
	add SIZEOF_LONG_LONG
	don't use //, use /* */
* configure.in: add AC_CHECK_SIZEOF(long long, 0)
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2003-03-10 16:04:09 +00:00
parent 1dff73dfd6
commit bd561d769b
6 changed files with 170 additions and 104 deletions

View File

@@ -37,7 +37,7 @@
#define SYSTEM_CODE '@SYSTEM_CODE@'
#define W3M_LANG @W3M_LANG@
#define LANG W3M_LANG
#undef USE_KANJI_SYMBOLS
#undef KANJI_SYMBOLS
#undef USE_COLOR
#undef USE_ANSI_COLOR
#undef USE_BG_COLOR
@@ -103,7 +103,12 @@
#undef HAVE_TERMIO_H
#undef HAVE_SGTTY_H
#undef HAVE_DIRENT_H
#define SIZEOF_LONG_LONG 8
#if SIZEOF_LONG_LONG > 0
typedef long long clen_t;
#else
typedef long clen_t;
#endif
#undef HAVE_STRTOLL
#undef HAVE_STROQ
#undef HAVE_ATOLL
@@ -144,8 +149,8 @@ typedef long long clen_t;
#define RETSIGTYPE @RETSIGTYPE@
typedef RETSIGTYPE MySignalHandler;
#define SIGNAL_ARG int _dummy // XXX
#define SIGNAL_ARGLIST 0 // XXX
#define SIGNAL_ARG int _dummy /* XXX */
#define SIGNAL_ARGLIST 0 /* XXX */
#define SIGNAL_RETURN @SIGNAL_RETURN@
#ifdef HAVE_SIGSETJMP