Unverified Commit 6efad144 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

More robust way of finding the absolute path to FlexLexer.h

Ref. #575
parent a9daec1c
......@@ -55,8 +55,7 @@ AM_PROG_AR
# Hack to get lex include dir, ticket #575
AC_SUBST([LEXINC], [$(eval "echo $LEXPATH | sed 's|\(.*\)$LEX$|\1../include|'")])
AC_SUBST([LEXINC], [$(echo "$(dirname "$(which $LEX)")"/../include)])
AC_CHECK_PROG([YACC], [bison], [bison])
if test -z "$YACC"; then
Supports Markdown
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