From cd03754ac30781608b26dd1feef25cde1162588b Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Wed, 14 Nov 2018 11:41:39 -0600 Subject: [PATCH] configury: fix include path in Lustre detection use -I$ompi_check_lustre_dir/include in order to correctly support configure --with-lustre Signed-off-by: Gilles Gouaillardet (cherry picked from commit 7783e5ad09084caf684cfd9b2acf7bd79354074f) --- config/ompi_check_lustre.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ompi_check_lustre.m4 b/config/ompi_check_lustre.m4 index bd0acec15e..0e78db9f64 100644 --- a/config/ompi_check_lustre.m4 +++ b/config/ompi_check_lustre.m4 @@ -79,7 +79,7 @@ EOF # Try the compile OPAL_LOG_COMMAND( - [$CC $CFLAGS -I$with_lustre/include -c conftest.c], + [$CC $CFLAGS -I$ompi_check_lustre_dir/include -c conftest.c], [ompi_check_lustre_struct_happy="yes"], [ompi_check_lustre_struct_happy="no" ompi_check_lustre_happy="no"]