summaryrefslogtreecommitdiff
path: root/m4/options.m4
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2002-01-12 17:38:56 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2002-01-12 17:38:56 +0000
commite375e1f2529d02f5585c55436d236613ef999094 (patch)
tree2a63f7bac3139a3019592e9dc7834f08c88d7e37 /m4/options.m4
parent82eef3cd00922d6fc29b56e287284050309c1f5c (diff)
downloadautomake-e375e1f2529d02f5585c55436d236613ef999094.tar.gz
* test/nodefine.test, test/nodefine2.test: Check that no-define
works, not the contrary... * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset. * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define, not the contrary.
Diffstat (limited to 'm4/options.m4')
-rw-r--r--m4/options.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/options.m4 b/m4/options.m4
index 8c9779a28..2b72148f1 100644
--- a/m4/options.m4
+++ b/m4/options.m4
@@ -40,4 +40,4 @@ AC_DEFUN([_AM_SET_OPTIONS],
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
-[m4_if(_AM_MANGLE_OPTION([$1]), 1, [$2], [$3])])
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])