]> sourceware.org Git - automake.git/commitdiff
* tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
authorAlexandre Duret-Lutz <adl@gnu.org>
Tue, 24 Sep 2002 22:50:34 +0000 (22:50 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Tue, 24 Sep 2002 22:50:34 +0000 (22:50 +0000)
AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
<sys/types.h>.
* tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
Likewise.

ChangeLog
tests/specflags7.test
tests/specflags8.test

index a1a2b2b92b82051e1fd26f87f6fc4dae0a071bca..8e15c1126892c2efbfc7b8ba0836e7c3486e4f07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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%.
index 558d65ce2c64061830ca60956f80f633d33bb769..34a8067129e37a40bd82b7bd9203e2d75cf07de3 100755 (executable)
@@ -33,10 +33,10 @@ END
 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
 
@@ -45,7 +45,7 @@ cat > false.c << 'END'
 int
 main (int argc, char *argv[])
 {
-#ifdef TRUE
+#ifdef AM_TRUE
    puts ("true");
 #else
    puts ("false");
index 1d90fff313f42ea885a16508763af4a0abd96f41..00fdd599dd673dc0771d145b64b916f6c523ec54 100755 (executable)
@@ -40,9 +40,9 @@ cat > Makefile.am << 'END'
 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'
@@ -50,7 +50,7 @@ cat > false.c << 'END'
 int
 main (int argc, char *argv[])
 {
-#ifdef TRUE
+#ifdef AM_TRUE
    puts ("true");
 #else
    puts ("false");
This page took 0.035461 seconds and 5 git commands to generate.