From 859b9f951fba93641b5492a8513d92a997205a93 Mon Sep 17 00:00:00 2001 From: Artem Polyakov Date: Wed, 3 Dec 2014 07:39:33 +0600 Subject: [PATCH] Add "-I$srcdir/opal/libltdl/" so conftest will allways set lt_dladvise. --- config/opal_setup_libltdl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/opal_setup_libltdl.m4 b/config/opal_setup_libltdl.m4 index 712f126cfb..f89de1a19b 100644 --- a/config/opal_setup_libltdl.m4 +++ b/config/opal_setup_libltdl.m4 @@ -174,7 +174,7 @@ AC_DEFUN([_OPAL_SETUP_LIBLTDL_INTERNAL],[ OPAL_LIBLTDL_INTERNAL=1 CPPFLAGS_save=$CPPFLAGS - CPPFLAGS="-I$srcdir" + CPPFLAGS="-I$srcdir -I$srcdir/opal/libltdl" AC_EGREP_HEADER([lt_dladvise_init], [opal/libltdl/ltdl.h], [OPAL_HAVE_LTDL_ADVISE=1]) CPPFLAGS=$CPPFLAGS_save