mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* tests/headers.at (AT_TEST_CPP_GUARD_H): Use #include <...> rather
than #include "...", and compile with -I'.'.
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,13 @@
|
|||||||
|
2006-02-06 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
More portability fixes for problems summarized by Nelson H. F. Beebe.
|
||||||
|
|
||||||
|
* tests/headers.at (AT_TEST_CPP_GUARD_H): Use #include <...> rather
|
||||||
|
than #include "...", and compile with -I'.'. The old method was
|
||||||
|
not portable, according to Posix and the C standard, and it does
|
||||||
|
not work with Sun C 5.7, where previous #line directives affect
|
||||||
|
the working directory used in later #include "..." directives.
|
||||||
|
|
||||||
2006-02-06 Juan Manuel Guerrero <juan.guerrero@gmx.de>
|
2006-02-06 Juan Manuel Guerrero <juan.guerrero@gmx.de>
|
||||||
|
|
||||||
Various DJGGP specific issues in /djgpp
|
Various DJGGP specific issues in /djgpp
|
||||||
|
|||||||
@@ -57,17 +57,17 @@ AS_MKDIR_P([$dirname])
|
|||||||
|
|
||||||
AT_DATA_GRAMMAR([$1.y],
|
AT_DATA_GRAMMAR([$1.y],
|
||||||
[%{
|
[%{
|
||||||
#include "$1.h"
|
#include <$1.h>
|
||||||
%}
|
%}
|
||||||
%%
|
%%
|
||||||
dummy:;
|
dummy:;
|
||||||
%%
|
%%
|
||||||
#include "$1.h"
|
#include <$1.h>
|
||||||
])
|
])
|
||||||
|
|
||||||
AT_CHECK([bison --defines=$1.h --output=y.tab.c $1.y])
|
AT_CHECK([bison --defines=$1.h --output=y.tab.c $1.y])
|
||||||
|
|
||||||
AT_COMPILE([y.tab.o], [-c y.tab.c])
|
AT_COMPILE([y.tab.o], [-I. -c y.tab.c])
|
||||||
|
|
||||||
AT_CLEANUP
|
AT_CLEANUP
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user