AC_PROG_CXX # lucene plugin needs this
AC_CHECK_TOOL([FLEX],[flex],[:])
AC_CHECK_TOOL([BISON],[bison],[:])
-AS_IF([test "$BISON" = ":" && test ! -e "$srcdir/lib/event-filter-parser.h"],
+AS_IF([test "$BISON" = ":" && test ! -e "$srcdir/src/lib/event-filter-parser.h"],
AC_MSG_ERROR([Bison is required when building from git])
])
-AS_IF([test "$FLEX" = ":" && test ! -e "$srcdir/lib/event-filter-lexer.c"],
+AS_IF([test "$FLEX" = ":" && test ! -e "$srcdir/src/lib/event-filter-lexer.c"],
AC_MSG_ERROR([flex is required when building from git])
])
AC_HEADER_STDC