Indentation and wording fixes for configure --help

This commit is contained in:
Tatsuya Kinoshita
2021-02-16 20:00:34 +09:00
parent 9da3ab732b
commit 5a594f7ff3
2 changed files with 98 additions and 101 deletions

View File

@@ -17,7 +17,7 @@ AC_DEFUN([AC_W3M_COLOR],
[AC_SUBST(USE_COLOR) [AC_SUBST(USE_COLOR)
AC_MSG_CHECKING(if color escape sequence for kterm/pxvt is enabled) AC_MSG_CHECKING(if color escape sequence for kterm/pxvt is enabled)
AC_ARG_ENABLE(color, AC_ARG_ENABLE(color,
[ --disable-color disable color for vt100 terminal],, [ --disable-color disable color for VT100 terminal],,
[enable_color="yes"]) [enable_color="yes"])
test x"$enable_color" = xyes && AC_DEFINE(USE_COLOR) test x"$enable_color" = xyes && AC_DEFINE(USE_COLOR)
AC_MSG_RESULT($enable_color)]) AC_MSG_RESULT($enable_color)])
@@ -27,9 +27,9 @@ AC_MSG_RESULT($enable_color)])
# ---------------------------------------------------------------- # ----------------------------------------------------------------
AC_DEFUN([AC_W3M_ANSI_COLOR], AC_DEFUN([AC_W3M_ANSI_COLOR],
[AC_SUBST(USE_ANSI_COLOR) [AC_SUBST(USE_ANSI_COLOR)
AC_MSG_CHECKING(if ansi color escape sequence support is enabled) AC_MSG_CHECKING(if ANSI color escape sequence support is enabled)
AC_ARG_ENABLE(ansi_color, AC_ARG_ENABLE(ansi_color,
[ --disable-ansi-color disable ansi color escape sequence],, [ --disable-ansi-color disable ANSI color escape sequence],,
[enable_ansi_color="$enable_color"]) [enable_ansi_color="$enable_color"])
test x"$enable_ansi_color" = xyes && AC_DEFINE(USE_ANSI_COLOR) test x"$enable_ansi_color" = xyes && AC_DEFINE(USE_ANSI_COLOR)
AC_MSG_RESULT($enable_ansi_color)]) AC_MSG_RESULT($enable_ansi_color)])
@@ -41,7 +41,7 @@ AC_DEFUN([AC_W3M_BG_COLOR],
[AC_SUBST(USE_BG_COLOR) [AC_SUBST(USE_BG_COLOR)
AC_MSG_CHECKING(if background color support is enabled) AC_MSG_CHECKING(if background color support is enabled)
AC_ARG_ENABLE(bgcolor, AC_ARG_ENABLE(bgcolor,
[ --disable-bgcolor disable to set background color],, [ --disable-bgcolor disable to set background color],,
[enable_bgcolor="$enable_color"]) [enable_bgcolor="$enable_color"])
test x"$enable_bgcolor" = xyes && AC_DEFINE(USE_BG_COLOR) test x"$enable_bgcolor" = xyes && AC_DEFINE(USE_BG_COLOR)
AC_MSG_RESULT($enable_bgcolor)]) AC_MSG_RESULT($enable_bgcolor)])
@@ -53,7 +53,7 @@ AC_DEFUN([AC_W3M_MENU],
[AC_SUBST(USE_MENU) [AC_SUBST(USE_MENU)
AC_MSG_CHECKING(if popup menu is enabled) AC_MSG_CHECKING(if popup menu is enabled)
AC_ARG_ENABLE(menu, AC_ARG_ENABLE(menu,
[ --disable-menu disable popup menu],, [ --disable-menu disable popup menu],,
[enable_menu="yes"]) [enable_menu="yes"])
test x"$enable_menu" = xyes && AC_DEFINE(USE_MENU) test x"$enable_menu" = xyes && AC_DEFINE(USE_MENU)
AC_MSG_RESULT($enable_menu)]) AC_MSG_RESULT($enable_menu)])
@@ -65,7 +65,7 @@ AC_DEFUN([AC_W3M_MOUSE],
[AC_SUBST(USE_MOUSE) [AC_SUBST(USE_MOUSE)
AC_MSG_CHECKING(if mouse operation enabled) AC_MSG_CHECKING(if mouse operation enabled)
AC_ARG_ENABLE(mouse, AC_ARG_ENABLE(mouse,
[ --disable-mouse disable mouse operation],, [ --disable-mouse disable mouse operation],,
[enable_mouse="yes"]) [enable_mouse="yes"])
test x"$enable_mouse" = xyes && AC_DEFINE(USE_MOUSE) test x"$enable_mouse" = xyes && AC_DEFINE(USE_MOUSE)
AC_MSG_RESULT($enable_mouse)]) AC_MSG_RESULT($enable_mouse)])
@@ -77,7 +77,7 @@ AC_DEFUN([AC_W3M_COOKIE],
[AC_SUBST(USE_COOKIE) [AC_SUBST(USE_COOKIE)
AC_MSG_CHECKING(if cookie is enabled) AC_MSG_CHECKING(if cookie is enabled)
AC_ARG_ENABLE(cookie, AC_ARG_ENABLE(cookie,
[ --disable-cookie disable cookie],, [ --disable-cookie disable cookie],,
[enable_cookie="yes"]) [enable_cookie="yes"])
test x"$enable_cookie" = xyes && AC_DEFINE(USE_COOKIE) test x"$enable_cookie" = xyes && AC_DEFINE(USE_COOKIE)
AC_MSG_RESULT($enable_cookie)]) AC_MSG_RESULT($enable_cookie)])
@@ -89,7 +89,7 @@ AC_DEFUN([AC_W3M_DICT],
[AC_SUBST(USE_DICT) [AC_SUBST(USE_DICT)
AC_MSG_CHECKING(if dictionary lookup is enabled) AC_MSG_CHECKING(if dictionary lookup is enabled)
AC_ARG_ENABLE(dict, AC_ARG_ENABLE(dict,
[ --disable-dict disable dictionary lookup (see README.dict)],, [ --disable-dict disable dictionary lookup],,
[enable_dict="yes"]) [enable_dict="yes"])
test x"$enable_dict" = xyes && AC_DEFINE(USE_DICT) test x"$enable_dict" = xyes && AC_DEFINE(USE_DICT)
AC_MSG_RESULT($enable_dict)]) AC_MSG_RESULT($enable_dict)])
@@ -101,7 +101,7 @@ AC_DEFUN([AC_W3M_HISTORY],
[AC_SUBST(USE_HISTORY) [AC_SUBST(USE_HISTORY)
AC_MSG_CHECKING(if URL history is enabled) AC_MSG_CHECKING(if URL history is enabled)
AC_ARG_ENABLE(history, AC_ARG_ENABLE(history,
[ --disable-history disable URL history],, [ --disable-history disable URL history],,
[enable_history="yes"]) [enable_history="yes"])
test x"$enable_history" = xyes && AC_DEFINE(USE_HISTORY) test x"$enable_history" = xyes && AC_DEFINE(USE_HISTORY)
AC_MSG_RESULT($enable_history)]) AC_MSG_RESULT($enable_history)])
@@ -113,7 +113,7 @@ AC_DEFUN([AC_W3M_NNTP],
[AC_SUBST(USE_NNTP) [AC_SUBST(USE_NNTP)
AC_MSG_CHECKING(if nntp is enabled) AC_MSG_CHECKING(if nntp is enabled)
AC_ARG_ENABLE(nntp, AC_ARG_ENABLE(nntp,
[ --disable-nntp disable NNTP],, [ --disable-nntp disable NNTP],,
[enable_nntp="yes"]) [enable_nntp="yes"])
test x"$enable_nntp" = xyes && AC_DEFINE(USE_NNTP) test x"$enable_nntp" = xyes && AC_DEFINE(USE_NNTP)
AC_MSG_RESULT($enable_nntp)]) AC_MSG_RESULT($enable_nntp)])
@@ -123,9 +123,9 @@ AC_DEFUN([AC_W3M_NNTP],
# ---------------------------------------------------------------- # ----------------------------------------------------------------
AC_DEFUN([AC_W3M_GOPHER], AC_DEFUN([AC_W3M_GOPHER],
[AC_SUBST(USE_GOPHER) [AC_SUBST(USE_GOPHER)
AC_MSG_CHECKING(if gopher is enabled) AC_MSG_CHECKING(if Gopher is enabled)
AC_ARG_ENABLE(gopher, AC_ARG_ENABLE(gopher,
[ --disable-gopher disable GOPHER],, [ --disable-gopher disable Gopher],,
[enable_gopher="yes"]) [enable_gopher="yes"])
test x"$enable_gopher" = xyes && AC_DEFINE(USE_GOPHER) test x"$enable_gopher" = xyes && AC_DEFINE(USE_GOPHER)
AC_MSG_RESULT($enable_gopher)]) AC_MSG_RESULT($enable_gopher)])
@@ -147,7 +147,7 @@ AC_SUBST(POLANG)
WCTARGET=""; WCCFLAGS=""; wcinclude=""; wclib="" WCTARGET=""; WCCFLAGS=""; wcinclude=""; wclib=""
AC_MSG_CHECKING(if m17n support is enabled) AC_MSG_CHECKING(if m17n support is enabled)
AC_ARG_ENABLE(m17n, AC_ARG_ENABLE(m17n,
[ --disable-m17n do not use m17n],, [ --disable-m17n do not use m17n],,
[enable_m17n="yes"]) [enable_m17n="yes"])
AC_MSG_RESULT($enable_m17n) AC_MSG_RESULT($enable_m17n)
if test x"$enable_m17n" = xno; then if test x"$enable_m17n" = xno; then
@@ -165,9 +165,9 @@ else
WCCFLAGS='-I$(srcdir) -I$(srcdir)/..' WCCFLAGS='-I$(srcdir) -I$(srcdir)/..'
wcinclude='-I$(srcdir)/libwc' wcinclude='-I$(srcdir)/libwc'
wclib="-L./libwc -lwc" wclib="-L./libwc -lwc"
AC_MSG_CHECKING(if unicode support is enabled) AC_MSG_CHECKING(if Unicode support is enabled)
AC_ARG_ENABLE(unicode, AC_ARG_ENABLE(unicode,
[ --disable-unicode do not use unicode],, [ --disable-unicode do not use Unicode],,
[enable_unicode="yes"]) [enable_unicode="yes"])
AC_MSG_RESULT($enable_unicode) AC_MSG_RESULT($enable_unicode)
if test x"$enable_m17n" = xyes; then if test x"$enable_m17n" = xyes; then
@@ -184,7 +184,7 @@ else
fi fi
AC_MSG_CHECKING(if message l10n) AC_MSG_CHECKING(if message l10n)
AC_ARG_ENABLE(messagel10n, AC_ARG_ENABLE(messagel10n,
[ --enable-messagel10n=LL message l10n instead of NLS],, [ --enable-messagel10n=LL message l10n instead of Native Language Support],,
[enable_messagel10n="no"]) [enable_messagel10n="no"])
if test x$enable_messagel10n = xyes; then if test x$enable_messagel10n = xyes; then
enable_messagel10n="ja"; enable_messagel10n="ja";
@@ -198,7 +198,7 @@ else
fi fi
AC_MSG_CHECKING(if japanese support is enabled) AC_MSG_CHECKING(if japanese support is enabled)
AC_ARG_ENABLE(japanese, AC_ARG_ENABLE(japanese,
[ --enable-japanese=CODE support Japanese CODE=(S|E|J|U)],, [ --enable-japanese=CODE support Japanese CODE=(S|E|J|U)],,
[enable_japanese="no"]) [enable_japanese="no"])
AC_MSG_RESULT($enable_japanese) AC_MSG_RESULT($enable_japanese)
if test x"$enable_japanese" = xno; then if test x"$enable_japanese" = xno; then
@@ -215,7 +215,7 @@ else
display_charset=$charset display_charset=$charset
AC_MSG_CHECKING(which charset is used for display) AC_MSG_CHECKING(which charset is used for display)
AC_ARG_WITH(charset, AC_ARG_WITH(charset,
[ --with-charset=CHARSET], [ --with-charset=CHARSET charset for display [[UTF-8]]],
[test x"with_charset" = xyes || display_charset="$with_charset"]) [test x"with_charset" = xyes || display_charset="$with_charset"])
AC_MSG_RESULT($display_charset) AC_MSG_RESULT($display_charset)
display_charset=`awk '$[1] == "'$display_charset'" {print $[2]}' $srcdir/charset-list` display_charset=`awk '$[1] == "'$display_charset'" {print $[2]}' $srcdir/charset-list`
@@ -266,7 +266,7 @@ AC_DEFUN([AC_W3M_KEYMAP],
[AC_SUBST(KEYMAP_FILE) [AC_SUBST(KEYMAP_FILE)
AC_MSG_CHECKING(default keymap) AC_MSG_CHECKING(default keymap)
AC_ARG_ENABLE(keymap, AC_ARG_ENABLE(keymap,
[ --enable-keymap=w3m|lynx default keybind style (w3m or lynx)],, [ --enable-keymap=STYLE default keybind style (w3m or lynx) [[w3m]]],,
[enable_keymap="w3m"]) [enable_keymap="w3m"])
AC_MSG_RESULT($enable_keymap) AC_MSG_RESULT($enable_keymap)
case x"$enable_keymap" in case x"$enable_keymap" in
@@ -292,7 +292,8 @@ AC_DEFUN([AC_W3M_MIGEMO],
migemo_command="migemo -t egrep /usr/local/share/migemo/migemo-dict" migemo_command="migemo -t egrep /usr/local/share/migemo/migemo-dict"
AC_MSG_CHECKING(if migemo is supported with) AC_MSG_CHECKING(if migemo is supported with)
AC_ARG_WITH(migemo, AC_ARG_WITH(migemo,
[ --with-migemo[[=COMMAND]] migemo command], [ --with-migemo[[=COMMAND]] migemo command and options
[[migemo -t egrep /usr/local/share/migemo/migemo-dict]]],
[test x"$with_migemo" = xyes || migemo_command="$with_migemo"]) [test x"$with_migemo" = xyes || migemo_command="$with_migemo"])
if test "${with_migemo+set}" = set -a "$with_migemo" != "no"; then if test "${with_migemo+set}" = set -a "$with_migemo" != "no"; then
AC_DEFINE(USE_MIGEMO) AC_DEFINE(USE_MIGEMO)
@@ -308,7 +309,7 @@ AC_DEFUN([AC_W3M_EDITOR],
w3m_editor="/usr/bin/vi" w3m_editor="/usr/bin/vi"
AC_MSG_CHECKING(which editor is used by default) AC_MSG_CHECKING(which editor is used by default)
AC_ARG_WITH(editor, AC_ARG_WITH(editor,
[ --with-editor=EDITOR default editor (/usr/bin/vi)], [ --with-editor=EDITOR default editor [[/usr/bin/vi]]],
[w3m_editor="$with_editor"]) [w3m_editor="$with_editor"])
AC_MSG_RESULT($w3m_editor) AC_MSG_RESULT($w3m_editor)
AC_DEFINE_UNQUOTED(DEF_EDITOR, "$w3m_editor")]) AC_DEFINE_UNQUOTED(DEF_EDITOR, "$w3m_editor")])
@@ -321,7 +322,7 @@ AC_DEFUN([AC_W3M_MAILER],
w3m_mailer="/usr/bin/mail" w3m_mailer="/usr/bin/mail"
AC_MSG_CHECKING(which mailer is used by default) AC_MSG_CHECKING(which mailer is used by default)
AC_ARG_WITH(mailer, AC_ARG_WITH(mailer,
[ --with-mailer=MAILER default mailer (/usr/bin/mail)], [ --with-mailer=MAILER default mailer [[/usr/bin/mail]]],
[w3m_mailer="$with_mailer"]) [w3m_mailer="$with_mailer"])
AC_MSG_RESULT($w3m_mailer) AC_MSG_RESULT($w3m_mailer)
AC_DEFINE_UNQUOTED(DEF_MAILER, "$w3m_mailer")]) AC_DEFINE_UNQUOTED(DEF_MAILER, "$w3m_mailer")])
@@ -334,7 +335,7 @@ AC_DEFUN([AC_W3M_EXT_BROWSER],
w3m_browser="/usr/bin/firefox" w3m_browser="/usr/bin/firefox"
AC_MSG_CHECKING(which external browser is used by default) AC_MSG_CHECKING(which external browser is used by default)
AC_ARG_WITH(browser, AC_ARG_WITH(browser,
[ --with-browser=BROWSER default browser (/usr/bin/firefox)], [ --with-browser=BROWSER default browser [[/usr/bin/firefox]]],
[w3m_browser="$with_browser"]) [w3m_browser="$with_browser"])
AC_MSG_RESULT($w3m_browser) AC_MSG_RESULT($w3m_browser)
AC_DEFINE_UNQUOTED(DEF_EXT_BROWSER, "$w3m_browser")]) AC_DEFINE_UNQUOTED(DEF_EXT_BROWSER, "$w3m_browser")])
@@ -346,7 +347,7 @@ AC_DEFUN([AC_W3M_HELP_CGI],
[AC_SUBST(USE_HELP_CGI) [AC_SUBST(USE_HELP_CGI)
AC_MSG_CHECKING(if help cgi is enabled) AC_MSG_CHECKING(if help cgi is enabled)
AC_ARG_ENABLE(help_cgi, AC_ARG_ENABLE(help_cgi,
[ --disable-help-cgi disable help cgi],, [ --disable-help-cgi disable help cgi],,
[enable_help_cgi="yes"]) [enable_help_cgi="yes"])
test x"$enable_help_cgi" = xyes && AC_DEFINE(USE_HELP_CGI) test x"$enable_help_cgi" = xyes && AC_DEFINE(USE_HELP_CGI)
AC_MSG_RESULT($enable_help_cgi)]) AC_MSG_RESULT($enable_help_cgi)])
@@ -358,7 +359,7 @@ AC_DEFUN([AC_W3M_EXTERNAL_URI_LOADER],
[AC_SUBST(USE_EXTERNAL_URI_LOADER) [AC_SUBST(USE_EXTERNAL_URI_LOADER)
AC_MSG_CHECKING(if external URI loader is enabled) AC_MSG_CHECKING(if external URI loader is enabled)
AC_ARG_ENABLE(external_uri_loader, AC_ARG_ENABLE(external_uri_loader,
[ --disable-external-uri-loader disable external URI loader],, [ --disable-external-uri-loader disable external URI loader],,
[enable_external_uri_loader="yes"]) [enable_external_uri_loader="yes"])
test x"$enable_external_uri_loader" = xyes && AC_DEFINE(USE_EXTERNAL_URI_LOADER) test x"$enable_external_uri_loader" = xyes && AC_DEFINE(USE_EXTERNAL_URI_LOADER)
AC_MSG_RESULT($enable_external_uri_loader)]) AC_MSG_RESULT($enable_external_uri_loader)])
@@ -370,7 +371,7 @@ AC_DEFUN([AC_W3M_W3MMAILER],
[AC_SUBST(USE_W3MMAILER) [AC_SUBST(USE_W3MMAILER)
AC_MSG_CHECKING(if w3mmail is used) AC_MSG_CHECKING(if w3mmail is used)
AC_ARG_ENABLE(w3mmailer, AC_ARG_ENABLE(w3mmailer,
[ --disable-w3mmailer disable w3mmailer],, [ --disable-w3mmailer disable w3mmailer],,
[enable_w3mmailer="$enable_external_uri_loader"]) [enable_w3mmailer="$enable_external_uri_loader"])
test x"$enable_external_uri_loader" = xno && enable_w3mmailer=no test x"$enable_external_uri_loader" = xno && enable_w3mmailer=no
test x"$enable_w3mmailer" = xyes && AC_DEFINE(USE_W3MMAILER) test x"$enable_w3mmailer" = xyes && AC_DEFINE(USE_W3MMAILER)
@@ -399,9 +400,9 @@ AC_DEFUN([AC_W3M_EXTLIBS],
AC_DEFUN([AC_W3M_TERMLIB], AC_DEFUN([AC_W3M_TERMLIB],
[AC_MSG_CHECKING(terminal library) [AC_MSG_CHECKING(terminal library)
AC_ARG_WITH(termlib, AC_ARG_WITH(termlib,
[ --with-termlib[[=LIBS]] terminal library [ --with-termlib[[=LIBS]] terminal library [[guessed]]
LIBS is space separated list of: LIBS may be space separated:
terminfo mytinfo termcap tinfo ncurses curses],, terminfo mytinfo termcap tinfo ncurses curses],,
[with_termlib="yes"]) [with_termlib="yes"])
AC_MSG_RESULT($with_termlib) AC_MSG_RESULT($with_termlib)
test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap tinfo ncurses curses" test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap tinfo ncurses curses"
@@ -417,8 +418,8 @@ AC_DEFUN([AC_W3M_GC],
[AC_MSG_CHECKING(GC library exists) [AC_MSG_CHECKING(GC library exists)
AC_SUBST(LIBGC) AC_SUBST(LIBGC)
AC_ARG_WITH(gc, AC_ARG_WITH(gc,
[ --with-gc[[=PREFIX]] libgc PREFIX], [ --with-gc[[=PREFIX]] GC library/header location [[guessed]]],
[test x"$with_gc" = xno && AC_MSG_ERROR([You can not build w3m without gc])], [test x"$with_gc" = xno && AC_MSG_ERROR([You can not build w3m without GC])],
[with_gc="yes"]) [with_gc="yes"])
AC_MSG_RESULT($with_gc) AC_MSG_RESULT($with_gc)
test x"$with_gc" = xyes && with_gc="/usr /usr/local ${HOME}" test x"$with_gc" = xyes && with_gc="/usr /usr/local ${HOME}"
@@ -470,9 +471,9 @@ AC_ARG_WITH(gc,
AC_DEFUN([AC_W3M_SSL_DIGEST_AUTH], AC_DEFUN([AC_W3M_SSL_DIGEST_AUTH],
[AC_SUBST(USE_SSL) [AC_SUBST(USE_SSL)
AC_SUBST(USE_SSL_VERIFY) AC_SUBST(USE_SSL_VERIFY)
AC_MSG_CHECKING(if SSL is suported) AC_MSG_CHECKING(if SSL is supported)
AC_ARG_WITH(ssl, AC_ARG_WITH(ssl,
[ --with-ssl support https protocol],, [ --with-ssl[[=PREFIX]] SSL library/header location [[guessed]]],,
[with_ssl="yes"]) [with_ssl="yes"])
AC_MSG_RESULT($with_ssl) AC_MSG_RESULT($with_ssl)
if test x"$with_ssl" != xno; then if test x"$with_ssl" != xno; then
@@ -504,7 +505,7 @@ if test x"$with_ssl" != xno; then
AC_DEFINE(USE_SSL) AC_DEFINE(USE_SSL)
AC_MSG_CHECKING(if SSL certificate verification is enabled) AC_MSG_CHECKING(if SSL certificate verification is enabled)
AC_ARG_ENABLE(sslverify, AC_ARG_ENABLE(sslverify,
[ --disable-sslverify disable SSL certificate verification],, [ --disable-sslverify disable SSL certificate verification],,
[enable_sslverify="yes"]) [enable_sslverify="yes"])
test x"$enable_sslverify" = xyes && AC_DEFINE(USE_SSL_VERIFY) test x"$enable_sslverify" = xyes && AC_DEFINE(USE_SSL_VERIFY)
AC_MSG_RESULT($enable_sslverify) AC_MSG_RESULT($enable_sslverify)
@@ -515,8 +516,8 @@ w3m_cafile=""
if test x"$enable_sslverify" = xyes; then if test x"$enable_sslverify" = xyes; then
AC_MSG_CHECKING(for CA file location) AC_MSG_CHECKING(for CA file location)
AC_ARG_WITH(cafile, AC_ARG_WITH(cafile,
[ --with-cafile[[=CAFILE]] CA file to verify SSL certificate [ --with-cafile[[=CAFILE]] CA file to verify SSL certificate [[guessed]]],,
default: autodetected],,[with_cafile=yes]) [with_cafile=yes])
if test x"$with_cafile" = xyes; then if test x"$with_cafile" = xyes; then
for f in /etc/ssl/certs/ca-certificates.crt \ for f in /etc/ssl/certs/ca-certificates.crt \
/etc/pki/tls/certs/ca-bundle.crt \ /etc/pki/tls/certs/ca-bundle.crt \
@@ -536,7 +537,7 @@ AC_DEFINE_UNQUOTED(DEF_CAFILE, "$w3m_cafile")
AC_SUBST(USE_DIGEST_AUTH) AC_SUBST(USE_DIGEST_AUTH)
AC_MSG_CHECKING(if digest auth is enabled) AC_MSG_CHECKING(if digest auth is enabled)
AC_ARG_ENABLE(digest_auth, AC_ARG_ENABLE(digest_auth,
[ --disable-digest-auth disable digest auth],, [ --disable-digest-auth disable digest auth],,
[enable_digest_auth="yes"]) [enable_digest_auth="yes"])
if test x"$enable_digest_auth" = xyes -a x"$w3m_ssl" = xfound; then if test x"$enable_digest_auth" = xyes -a x"$w3m_ssl" = xfound; then
AC_DEFINE(USE_DIGEST_AUTH) AC_DEFINE(USE_DIGEST_AUTH)
@@ -553,7 +554,7 @@ AC_DEFUN([AC_W3M_ALARM],
[AC_SUBST(USE_ALARM) [AC_SUBST(USE_ALARM)
AC_MSG_CHECKING(if alarm is enabled) AC_MSG_CHECKING(if alarm is enabled)
AC_ARG_ENABLE(alarm, AC_ARG_ENABLE(alarm,
[ --disable-alarm disable alarm],, [ --disable-alarm disable alarm],,
[enable_alarm="yes"]) [enable_alarm="yes"])
AC_MSG_RESULT($enable_alarm) AC_MSG_RESULT($enable_alarm)
if test x"$enable_alarm" = xyes; then if test x"$enable_alarm" = xyes; then
@@ -613,10 +614,8 @@ AC_DEFUN([AC_W3M_IMAGE],
AC_SUBST(IMGWINLDFLAGS) AC_SUBST(IMGWINLDFLAGS)
AC_MSG_CHECKING(if image is enabled) AC_MSG_CHECKING(if image is enabled)
AC_ARG_ENABLE(image, AC_ARG_ENABLE(image,
[ --enable-image[[=DEVS]] enable inline image handler for DEVS [ --enable-image[[=DEVS]] inline image handler [[guessed]]
DEVS may be comma separeted: x11,fb,fb+s,win DEVS may be comma separated: x11,fb,fb+s,win],,
default: autodetected
'no' means disable inline image],,
[enable_image="yes"]) [enable_image="yes"])
AC_MSG_RESULT($enable_image) AC_MSG_RESULT($enable_image)
if test x"$enable_image" != xno; then if test x"$enable_image" != xno; then
@@ -650,9 +649,9 @@ AC_DEFUN([AC_W3M_IMAGE],
AC_DEFINE(USE_IMAGE) AC_DEFINE(USE_IMAGE)
AC_MSG_CHECKING(image library) AC_MSG_CHECKING(image library)
AC_ARG_WITH(imagelib, AC_ARG_WITH(imagelib,
[ --with-imagelib[[=IMAGELIBS]] image library [ --with-imagelib[[=LIBS]] image library [[guessed]]
IMAGELIBS may be space separeted list of: LIBS may be space separated:
gtk2 gdk-pixbuf imlib imlib2],, gtk2 gdk-pixbuf imlib imlib2],,
[with_imagelib="yes"]) [with_imagelib="yes"])
if test x"$with_imagelib" = xyes; then if test x"$with_imagelib" = xyes; then
with_imagelib="gtk2 gdk-pixbuf imlib imlib2" with_imagelib="gtk2 gdk-pixbuf imlib imlib2"
@@ -808,9 +807,9 @@ AC_DEFUN([AC_W3M_IMAGE],
# ---------------------------------------------------------------- # ----------------------------------------------------------------
AC_DEFUN([AC_W3M_XFACE], AC_DEFUN([AC_W3M_XFACE],
[AC_SUBST(USE_XFACE) [AC_SUBST(USE_XFACE)
AC_MSG_CHECKING(if xface is enabled) AC_MSG_CHECKING(if X-Face is enabled)
AC_ARG_ENABLE(xface, AC_ARG_ENABLE(xface,
[ --disable-xface disable xface support],, [ --disable-xface disable X-Face support],,
[enable_xface="$enable_image"]) [enable_xface="$enable_image"])
test x"$enable_xface" = xyes && AC_DEFINE(USE_XFACE) test x"$enable_xface" = xyes && AC_DEFINE(USE_XFACE)
AC_MSG_RESULT($enable_xface) AC_MSG_RESULT($enable_xface)
@@ -824,7 +823,7 @@ AC_DEFUN([AC_W3M_XFACE],
AC_DEFUN([AC_W3M_IPv6], AC_DEFUN([AC_W3M_IPv6],
[AC_MSG_CHECKING(if IPv6 support is enabled) [AC_MSG_CHECKING(if IPv6 support is enabled)
AC_ARG_ENABLE(ipv6, AC_ARG_ENABLE(ipv6,
[ --disable-ipv6 disable IPv6],, [ --disable-ipv6 disable IPv6],,
[enable_ipv6="yes"]) [enable_ipv6="yes"])
AC_MSG_RESULT($enable_ipv6) AC_MSG_RESULT($enable_ipv6)

104
configure vendored
View File

@@ -1488,60 +1488,58 @@ Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options --disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-m17n do not use m17n --disable-m17n do not use m17n
--disable-unicode do not use unicode --disable-unicode do not use Unicode
--enable-messagel10n=LL message l10n instead of NLS --enable-messagel10n=LL message l10n instead of Native Language Support
--enable-japanese=CODE support Japanese CODE=(S|E|J|U) --enable-japanese=CODE support Japanese CODE=(S|E|J|U)
--disable-nls do not use Native Language Support --disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths --disable-rpath do not hardcode runtime library paths
--disable-color disable color for vt100 terminal --disable-color disable color for VT100 terminal
--disable-ansi-color disable ansi color escape sequence --disable-ansi-color disable ANSI color escape sequence
--disable-bgcolor disable to set background color --disable-bgcolor disable to set background color
--enable-image[=DEVS] enable inline image handler for DEVS --enable-image[=DEVS] inline image handler [guessed]
DEVS may be comma separeted: x11,fb,fb+s,win DEVS may be comma separated: x11,fb,fb+s,win
default: autodetected --disable-xface disable X-Face support
'no' means disable inline image --enable-keymap=STYLE default keybind style (w3m or lynx) [w3m]
--disable-xface disable xface support --disable-menu disable popup menu
--enable-keymap=w3m|lynx default keybind style (w3m or lynx) --disable-mouse disable mouse operation
--disable-menu disable popup menu --disable-history disable URL history
--disable-mouse disable mouse operation --disable-alarm disable alarm
--disable-history disable URL history --disable-cookie disable cookie
--disable-alarm disable alarm --disable-nntp disable NNTP
--disable-cookie disable cookie --disable-gopher disable Gopher
--disable-nntp disable NNTP --disable-dict disable dictionary lookup
--disable-gopher disable GOPHER --disable-help-cgi disable help cgi
--disable-dict disable dictionary lookup (see README.dict) --disable-external-uri-loader disable external URI loader
--disable-help-cgi disable help cgi --disable-w3mmailer disable w3mmailer
--disable-external-uri-loader disable external URI loader --disable-ipv6 disable IPv6
--disable-w3mmailer disable w3mmailer --disable-sslverify disable SSL certificate verification
--disable-ipv6 disable IPv6 --disable-digest-auth disable digest auth
--disable-sslverify disable SSL certificate verification
--disable-digest-auth disable digest auth
Optional Packages: Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-x use the X Window System --with-x use the X Window System
--with-charset=CHARSET --with-charset=CHARSET charset for display [UTF-8]
--with-gnu-ld assume the C compiler uses GNU ld default=no --with-gnu-ld assume the C compiler uses GNU ld default=no
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libdir --without-libiconv-prefix don't search for libiconv in includedir and libdir
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir --without-libintl-prefix don't search for libintl in includedir and libdir
--with-imagelib[=IMAGELIBS] image library --with-imagelib[=LIBS] image library [guessed]
IMAGELIBS may be space separeted list of: LIBS may be space separated:
gtk2 gdk-pixbuf imlib imlib2 gtk2 gdk-pixbuf imlib imlib2
--with-migemo[=COMMAND] migemo command --with-migemo[=COMMAND] migemo command and options
--with-editor=EDITOR default editor (/usr/bin/vi) [migemo -t egrep /usr/local/share/migemo/migemo-dict]
--with-mailer=MAILER default mailer (/usr/bin/mail) --with-editor=EDITOR default editor [/usr/bin/vi]
--with-browser=BROWSER default browser (/usr/bin/firefox) --with-mailer=MAILER default mailer [/usr/bin/mail]
--with-ssl support https protocol --with-browser=BROWSER default browser [/usr/bin/firefox]
--with-cafile[=CAFILE] CA file to verify SSL certificate --with-ssl[=PREFIX] SSL library/header location [guessed]
default: autodetected --with-cafile[=CAFILE] CA file to verify SSL certificate [guessed]
--with-termlib[=LIBS] terminal library --with-termlib[=LIBS] terminal library [guessed]
LIBS is space separated list of: LIBS may be space separated:
terminfo mytinfo termcap tinfo ncurses curses terminfo mytinfo termcap tinfo ncurses curses
--with-gc[=PREFIX] libgc PREFIX --with-gc[=PREFIX] GC library/header location [guessed]
Some influential environment variables: Some influential environment variables:
CXX C++ compiler command CXX C++ compiler command
@@ -5066,8 +5064,8 @@ else
WCCFLAGS='-I$(srcdir) -I$(srcdir)/..' WCCFLAGS='-I$(srcdir) -I$(srcdir)/..'
wcinclude='-I$(srcdir)/libwc' wcinclude='-I$(srcdir)/libwc'
wclib="-L./libwc -lwc" wclib="-L./libwc -lwc"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if unicode support is enabled" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Unicode support is enabled" >&5
$as_echo_n "checking if unicode support is enabled... " >&6; } $as_echo_n "checking if Unicode support is enabled... " >&6; }
# Check whether --enable-unicode was given. # Check whether --enable-unicode was given.
if test "${enable_unicode+set}" = set; then : if test "${enable_unicode+set}" = set; then :
enableval=$enable_unicode; enableval=$enable_unicode;
@@ -7423,8 +7421,8 @@ test x"$enable_color" = xyes && $as_echo "#define USE_COLOR 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_color" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_color" >&5
$as_echo "$enable_color" >&6; } $as_echo "$enable_color" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ansi color escape sequence support is enabled" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ANSI color escape sequence support is enabled" >&5
$as_echo_n "checking if ansi color escape sequence support is enabled... " >&6; } $as_echo_n "checking if ANSI color escape sequence support is enabled... " >&6; }
# Check whether --enable-ansi_color was given. # Check whether --enable-ansi_color was given.
if test "${enable_ansi_color+set}" = set; then : if test "${enable_ansi_color+set}" = set; then :
enableval=$enable_ansi_color; enableval=$enable_ansi_color;
@@ -7763,8 +7761,8 @@ $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with FB support" >&2;}
if test x"$enable_image" != xno; then if test x"$enable_image" != xno; then
AUXBIN_TARGETS="$AUXBIN_TARGETS w3mimgdisplay\$(EXT)" AUXBIN_TARGETS="$AUXBIN_TARGETS w3mimgdisplay\$(EXT)"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if xface is enabled" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if X-Face is enabled" >&5
$as_echo_n "checking if xface is enabled... " >&6; } $as_echo_n "checking if X-Face is enabled... " >&6; }
# Check whether --enable-xface was given. # Check whether --enable-xface was given.
if test "${enable_xface+set}" = set; then : if test "${enable_xface+set}" = set; then :
enableval=$enable_xface; enableval=$enable_xface;
@@ -7954,8 +7952,8 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_nntp" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_nntp" >&5
$as_echo "$enable_nntp" >&6; } $as_echo "$enable_nntp" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if gopher is enabled" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Gopher is enabled" >&5
$as_echo_n "checking if gopher is enabled... " >&6; } $as_echo_n "checking if Gopher is enabled... " >&6; }
# Check whether --enable-gopher was given. # Check whether --enable-gopher was given.
if test "${enable_gopher+set}" = set; then : if test "${enable_gopher+set}" = set; then :
enableval=$enable_gopher; enableval=$enable_gopher;
@@ -8378,8 +8376,8 @@ $as_echo "no" >&6; }
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SSL is suported" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SSL is supported" >&5
$as_echo_n "checking if SSL is suported... " >&6; } $as_echo_n "checking if SSL is supported... " >&6; }
# Check whether --with-ssl was given. # Check whether --with-ssl was given.
if test "${with_ssl+set}" = set; then : if test "${with_ssl+set}" = set; then :
@@ -8926,7 +8924,7 @@ $as_echo_n "checking GC library exists... " >&6; }
# Check whether --with-gc was given. # Check whether --with-gc was given.
if test "${with_gc+set}" = set; then : if test "${with_gc+set}" = set; then :
withval=$with_gc; test x"$with_gc" = xno && as_fn_error $? "You can not build w3m without gc" "$LINENO" 5 withval=$with_gc; test x"$with_gc" = xno && as_fn_error $? "You can not build w3m without GC" "$LINENO" 5
else else
with_gc="yes" with_gc="yes"
fi fi