From 0b74f17f68d3d8f53bea2e83ef1386affd1afaf3 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 8 Apr 2003 16:27:16 +0000 Subject: [w3m-dev 03865] Re: configure --help * acinclude.m4 (AC_W3M_ANSI_COLOR): depends USE_COLOR (AC_W3M_BG_COLOR): depends USE_COLOR (AC_W3M_W3MMAILER): depends external_uri_loader * fm.h: undef USE_BG_COLOR ifndef USE_COLOR From: Fumitoshi UKAI --- acinclude.m4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index f250ec6..7b33492 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -28,8 +28,8 @@ AC_DEFUN([AC_W3M_ANSI_COLOR], [AC_SUBST(USE_ANSI_COLOR) AC_MSG_CHECKING(if ansi color escape sequence support is enabled) AC_ARG_ENABLE(ansi_color, - [ --disable-ansi-color disable ansi color escape sequence],, - [enable_ansi_color="yes"]) + [ --disable-ansi-color disable ansi color escape sequence],, + [enable_ansi_color="$enable_color"]) test x"$enable_ansi_color" = xyes && AC_DEFINE(USE_ANSI_COLOR) AC_MSG_RESULT($enable_ansi_color)]) # @@ -40,8 +40,8 @@ AC_DEFUN([AC_W3M_BG_COLOR], [AC_SUBST(USE_BG_COLOR) AC_MSG_CHECKING(if background color support is enabled) AC_ARG_ENABLE(bgcolor, - [ --disable-bgcolor disable to set background color],, - [enable_bgcolor="yes"]) + [ --disable-bgcolor disable to set background color],, + [enable_bgcolor="$enable_color"]) test x"$enable_bgcolor" = xyes && AC_DEFINE(USE_BG_COLOR) AC_MSG_RESULT($enable_bgcolor)]) # @@ -300,7 +300,7 @@ AC_DEFUN([AC_W3M_W3MMAILER], [AC_SUBST(USE_W3MMAILER) AC_MSG_CHECKING(if w3mmail is used) AC_ARG_ENABLE(w3mmailer, - [ --disable-w3mmailer disable w3mmailer],, + [ --disable-w3mmailer disable w3mmailer],, [enable_w3mmailer="$enable_external_uri_loader"]) test x"$enable_external_uri_loader" = xno && enable_w3mmailer=no test x"$enable_w3mmailer" = xyes && AC_DEFINE(USE_W3MMAILER) -- cgit v1.2.3