Commit 1bff66e4 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

ANTLR_CFLAGS must have higher priority so that defined include paths with the...

ANTLR_CFLAGS must have higher priority so that defined include paths with the --with-antlr option have the priority over the system include paths.
parent 8ca9a0c3
...@@ -85,7 +85,7 @@ ANTLR_LIBS="$ANTLR_LIBS -lantlr3c" ...@@ -85,7 +85,7 @@ ANTLR_LIBS="$ANTLR_LIBS -lantlr3c"
dnl check antlr headers dnl check antlr headers
CPPFLAGS_save=$CPPFLAGS CPPFLAGS_save=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $ANTLR_CFLAGS" CPPFLAGS="$ANTLR_CFLAGS $CPPFLAGS"
AC_CHECK_HEADERS([antlr3.h], [found_antlr3=yes]) AC_CHECK_HEADERS([antlr3.h], [found_antlr3=yes])
AC_CHECK_DECL( [antlr3StringStreamNew] AC_CHECK_DECL( [antlr3StringStreamNew]
,[AC_DEFINE(HAVE_ANTLR_STRING_STREAM_NEW,1,[Defined when antlr 3.4 api is detected])] ,[AC_DEFINE(HAVE_ANTLR_STRING_STREAM_NEW,1,[Defined when antlr 3.4 api is detected])]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment