From eb92601846c8b2540ebb5021e2e897578279204b Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 10 Mar 2003 16:10:55 +0000 Subject: [w3m-dev 03803] fix autoconf * acinclude.m4 (AC_W3M_MIGEMO): add missing test needs quote (AC_W3M_SSL): delete x From: Yuji Abe --- ChangeLog | 9 ++++++++- acinclude.m4 | 4 ++-- aclocal.m4 | 4 ++-- configure | 4 ++-- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 48b3c75..9a46aa2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-03-11 Yuji Abe + + * [w3m-dev 03803] fix autoconf + * acinclude.m4 (AC_W3M_MIGEMO): add missing test + needs quote + (AC_W3M_SSL): delete x + 2003-03-11 Hironori SAKAMOTO * [w3m-dev 03802] fix autoconf @@ -7374,4 +7381,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.777 2003/03/10 16:07:33 ukai Exp $ +$Id: ChangeLog,v 1.778 2003/03/10 16:10:55 ukai Exp $ diff --git a/acinclude.m4 b/acinclude.m4 index c88fcc8..70c2c15 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -384,7 +384,7 @@ AC_DEFUN([AC_W3M_MIGEMO], AC_MSG_CHECKING(if migemo is supported with) AC_ARG_WITH(migemo, [ --with-migemo=MIGEMO_COMMAND migemo command], - [x$with_migemo = xyes || migemo_command=$with_migemo]) + [test x$with_migemo = xyes || migemo_command="$with_migemo"]) if test "${with_migemo+set}" = set; then AC_DEFINE(USE_MIGEMO) fi @@ -544,7 +544,7 @@ AC_ARG_WITH(ssl, [ --with-ssl=PATH support https protocol],, [with_ssl="no"]) AC_MSG_RESULT($with_ssl) -if test x"${with_ssl+set}" = xset; then +if test "${with_ssl+set}" = set; then AC_DEFINE(USE_SSL) AC_MSG_CHECKING(for SSL library/header) test -d $with_ssl || $with_ssl="/usr/openssl /usr/ssl /usr /usr/local/openssl /usr/local/ssl /usr/local" diff --git a/aclocal.m4 b/aclocal.m4 index b1330c5..f498add 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -396,7 +396,7 @@ AC_DEFUN([AC_W3M_MIGEMO], AC_MSG_CHECKING(if migemo is supported with) AC_ARG_WITH(migemo, [ --with-migemo=MIGEMO_COMMAND migemo command], - [x$with_migemo = xyes || migemo_command=$with_migemo]) + [test x$with_migemo = xyes || migemo_command="$with_migemo"]) if test "${with_migemo+set}" = set; then AC_DEFINE(USE_MIGEMO) fi @@ -556,7 +556,7 @@ AC_ARG_WITH(ssl, [ --with-ssl=PATH support https protocol],, [with_ssl="no"]) AC_MSG_RESULT($with_ssl) -if test x"${with_ssl+set}" = xset; then +if test "${with_ssl+set}" = set; then AC_DEFINE(USE_SSL) AC_MSG_CHECKING(for SSL library/header) test -d $with_ssl || $with_ssl="/usr/openssl /usr/ssl /usr /usr/local/openssl /usr/local/ssl /usr/local" diff --git a/configure b/configure index 7c77a6c..44896ac 100755 --- a/configure +++ b/configure @@ -1428,7 +1428,7 @@ echo "configure:1428: checking if migemo is supported with" >&5 # Check whether --with-migemo or --without-migemo was given. if test "${with_migemo+set}" = set; then withval="$with_migemo" - x$with_migemo = xyes || migemo_command=$with_migemo + test x$with_migemo = xyes || migemo_command="$with_migemo" fi if test "${with_migemo+set}" = set; then @@ -2856,7 +2856,7 @@ else fi echo "$ac_t""$with_ssl" 1>&6 -if test x"${with_ssl+set}" = xset; then +if test "${with_ssl+set}" = set; then cat >> confdefs.h <<\EOF #define USE_SSL 1 EOF -- cgit v1.2.3