Commit 357024be authored by jehan's avatar jehan
Browse files

test antlr>3.1

parent 97b27aba
......@@ -69,10 +69,11 @@ dnl check antlr headers
CPPFLAGS_save=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $ANTLR_CFLAGS"
AC_CHECK_HEADERS([antlr3.h], [found_antlr3=yes])
AC_CHECK_DECL([antlr3StringStreamNew], [found_antlr3=yes], [found_antlr3=no],[])
CPPFLAGS=$CPPFLAGS_save
if test "$found_antlr3" != "yes" ; then
AC_MSG_ERROR([Could not find antlr3 development files. Please install antlr3 (libantlr3c-dev on debian/ubuntu systems)])
AC_MSG_ERROR([Could not find antlr3 development files. Please install antlr3 version > 3.1 (libantlr3c-dev on debian/ubuntu systems)])
ANTLR_CFLAGS=
ANTLR_LIBS=
fi
......
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