Skip to content

Commit 6fee9eb

Browse files
committed
Fix flex detection
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]>
1 parent e3b925f commit 6fee9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ else
221221
fi
222222
# check for Flex
223223
AC_PROG_LEX(noyywrap)
224-
if test "x$LEX" != xflex && test ! -e $PMIX_TOP_SRCDIR/util/keyval/keyval_lex.c; then
224+
if test "x$LEX" != xflex && test ! -e $PMIX_TOP_SRCDIR/src/util/keyval/keyval_lex.c; then
225225
AC_MSG_WARN([PMIx requires Flex to build from sources that were not])
226226
AC_MSG_WARN([fully pre-processed (e.g., an official release tarball),])
227227
AC_MSG_WARN([but Flex was not found. Please install Flex into])

0 commit comments

Comments
 (0)