AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
<sys/types.h>.
* tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
Likewise.
+2002-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
+ AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
+ <sys/types.h>.
+ * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
+ Likewise.
+
2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
cat > Makefile.am << 'END'
bin_PROGRAMS = false true
true_SOURCES = false.c
-true_CFLAGS = -DTRUE
+true_CFLAGS = -DAM_TRUE
true_SHORTNAME = t
# No false_SOURCES definition. Use the default source.
-false_CFLAGS = -DFALSE
+false_CFLAGS = -DAM_FALSE
false_SHORTNAME = f
END
int
main (int argc, char *argv[])
{
-#ifdef TRUE
+#ifdef AM_TRUE
puts ("true");
#else
puts ("false");
FALSESOURCE = false.c
bin_PROGRAMS = false true
true_SOURCES = $(FALSESOURCE)
-true_CPPFLAGS = -DTRUE
+true_CPPFLAGS = -DAM_TRUE
false_SOURCES = $(FALSESOURCE)
-false_CPPFLAGS = -DFALSE
+false_CPPFLAGS = -DAM_FALSE
END
cat > false.c << 'END'
int
main (int argc, char *argv[])
{
-#ifdef TRUE
+#ifdef AM_TRUE
puts ("true");
#else
puts ("false");