Skip to content
Snippets Groups Projects
Verified Commit 36bcc50d 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

(cherry picked from commit 6efad144)
parent 5365cc3b
No related branches found
No related tags found
No related merge requests found
...@@ -55,8 +55,7 @@ AM_PROG_AR ...@@ -55,8 +55,7 @@ AM_PROG_AR
AM_PROG_LEX AM_PROG_LEX
# Hack to get lex include dir, ticket #575 # Hack to get lex include dir, ticket #575
AC_PATH_PROG([LEXPATH], [$LEX]) AC_SUBST([LEXINC], [$(echo "$(dirname "$(which $LEX)")"/../include)])
AC_SUBST([LEXINC], [$(eval "echo $LEXPATH | sed 's|\(.*\)$LEX$|\1../include|'")])
AC_CHECK_PROG([YACC], [bison], [bison]) AC_CHECK_PROG([YACC], [bison], [bison])
if test -z "$YACC"; then if test -z "$YACC"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment