instead of INCLUDES.
* tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
+2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
+ instead of INCLUDES.
+ * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
+
2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (usage, version): Honor $exit_code.
if ! $var_is_am{$var};
}
+ # Catch some obsolete variables.
+ msg_var ('obsolete', 'INCLUDES',
+ "`INCLUDES' is the old name for `AM_CPPFLAGS'")
+ if variable_defined ('INCLUDES');
+
# At the toplevel directory, we might need config.guess, config.sub
# or libtool scripts (ltconfig and ltmain.sh).
if ($relative_dir eq '.')
# Is there only one missing condition?
test `grep ': ' stderr | wc -l` = 1 || exit 1
-:
+# By the way, Automake should suggest using AM_CPPFLAGS,
+# because INCLUDES is an obsolete name.
+grep AM_CPPFLAGS stderr || exit 1