]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
configure.ac: Use correct path in flex and bison checks
authorMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Thu, 19 May 2022 05:32:47 +0000 (08:32 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Thu, 19 May 2022 05:54:54 +0000 (05:54 +0000)
configure.ac

index e9c128c315e4c3a167ebe1817155dc085568f4df..e0a7e992d36cddac63b20758f33a9d347cd56f09 100644 (file)
@@ -266,10 +266,10 @@ AC_PROG_CPP
 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