summaryrefslogtreecommitdiff
path: root/m4/substnot.m4
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2006-04-09 07:46:56 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2006-04-09 07:46:56 +0000
commitd2e347928cea947cfcf19eefea2bc975ecb6e092 (patch)
tree2c70a2a22fdf7ad6120d97995068eda5a2e4962d /m4/substnot.m4
parentf207e1361964855562080cb4db70afe14776a629 (diff)
downloadautomake-d2e347928cea947cfcf19eefea2bc975ecb6e092.tar.gz
* automake.in (%ignored_configure_vars): New variable.
(scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill %ignored_configure_vars. (define_configure_variable): Declare ignored configure variables as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR w.r.t. VAR_SILENT. * m4/substign.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add substign.m4. * m4/cond.m4: _AM_SUBST_IGNORE $1_TRUE and $1_FALSE (PR automake/477). * m4/depend.m4: _AM_SUBST_IGNORE AMDEPBACKSLASH. * m4/protos.m4: _AM_SUBST_IGNORE ANSI2KNR. * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined. * tests/amsubst.test: New file. * tests/Makefile.am (TESTS): Add it.
Diffstat (limited to 'm4/substnot.m4')
-rw-r--r--m4/substnot.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/m4/substnot.m4 b/m4/substnot.m4
new file mode 100644
index 000000000..27d3f1fbe
--- /dev/null
+++ b/m4/substnot.m4
@@ -0,0 +1,12 @@
+## -*- Autoconf -*-
+# Copyright (C) 2006 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])