]> git.saurik.com Git - bison.git/commitdiff
(AT_TEST_CPP_GUARD_H): Compile with -I., as Forte 7 C requires it,
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Nov 2002 01:57:23 +0000 (01:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Nov 2002 01:57:23 +0000 (01:57 +0000)
and it shouldn't hurt on other compilers.

tests/headers.at

index 1aded31562c0b0310742d5dafae4e3208469b84c..7865341c7725f0e2fa453db812d0cc9864171b9f 100644 (file)
@@ -68,7 +68,7 @@ dummy:;
 AT_CHECK([bison --defines=$1.h --output=y.tab.c $1.y])
 
 # CPP should be happy with it.
 AT_CHECK([bison --defines=$1.h --output=y.tab.c $1.y])
 
 # CPP should be happy with it.
-AT_CHECK([$CC -E y.tab.c], 0, [ignore])
+AT_CHECK([$CC -E -I. y.tab.c], 0, [ignore])
 
 AT_CLEANUP
 ])
 
 AT_CLEANUP
 ])