commit e70cea7362dd19d110b05c7addc04ff248402447
parent dfafdb2a494fe9e5ad42687b83fd36bb5e6aae59
Author: ukai <ukai>
Date: Tue, 18 Mar 2003 15:25:47 +0000
[w3m-dev-en 00908] Re: autoconf: --without-migemo is a nop
* acinclude.m4 (AC_W3M_MIGEMO): dont define USE_MIGEMO
when with_migemo=no
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
4 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2003-03-19 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev-en 00908] Re: autoconf: --without-migemo is a nop
+ * acinclude.m4 (AC_W3M_MIGEMO): dont define USE_MIGEMO
+ when with_migemo=no
+
2003-03-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03823] Re: etc.c: treatment for "%7E" is added to expandName()
diff --git a/acinclude.m4 b/acinclude.m4
@@ -224,7 +224,7 @@ AC_DEFUN([AC_W3M_MIGEMO],
AC_ARG_WITH(migemo,
[ --with-migemo=MIGEMO_COMMAND migemo command],
[test x"$with_migemo" = xyes || migemo_command="$with_migemo"])
- if test "${with_migemo+set}" = set; then
+ if test "${with_migemo+set}" = set -a "$with_migemo" != "no"; then
AC_DEFINE(USE_MIGEMO)
fi
AC_MSG_RESULT($migemo_command)
diff --git a/aclocal.m4 b/aclocal.m4
@@ -236,7 +236,7 @@ AC_DEFUN([AC_W3M_MIGEMO],
AC_ARG_WITH(migemo,
[ --with-migemo=MIGEMO_COMMAND migemo command],
[test x"$with_migemo" = xyes || migemo_command="$with_migemo"])
- if test "${with_migemo+set}" = set; then
+ if test "${with_migemo+set}" = set -a "$with_migemo" != "no"; then
AC_DEFINE(USE_MIGEMO)
fi
AC_MSG_RESULT($migemo_command)
diff --git a/configure b/configure
@@ -1455,7 +1455,7 @@ if test "${with_migemo+set}" = set; then
test x"$with_migemo" = xyes || migemo_command="$with_migemo"
fi
- if test "${with_migemo+set}" = set; then
+ if test "${with_migemo+set}" = set -a "$with_migemo" != "no"; then
cat >> confdefs.h <<\EOF
#define USE_MIGEMO 1
EOF