Skip to content

Commit

Permalink
Fix flex detection
Browse files Browse the repository at this point in the history
Need to include the "src" level in the path to the
keyval.c file when verifying that flex is not required

Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Aug 22, 2022
1 parent e3b925f commit 6fee9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ else
fi
# check for Flex
AC_PROG_LEX(noyywrap)
if test "x$LEX" != xflex && test ! -e $PMIX_TOP_SRCDIR/util/keyval/keyval_lex.c; then
if test "x$LEX" != xflex && test ! -e $PMIX_TOP_SRCDIR/src/util/keyval/keyval_lex.c; then
AC_MSG_WARN([PMIx requires Flex to build from sources that were not])
AC_MSG_WARN([fully pre-processed (e.g., an official release tarball),])
AC_MSG_WARN([but Flex was not found. Please install Flex into])
Expand Down

0 comments on commit 6fee9eb

Please sign in to comment.