From d5adb0fa82bbba1507eb28f963879b5c667213e0 Mon Sep 17 00:00:00 2001 From: Artem Polyakov Date: Fri, 17 Oct 2014 22:40:32 +0700 Subject: [PATCH] Fix libltdl VPATH configuration. --- 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 58f47de78b..183b5f7d8e 100644 --- a/config/opal_setup_libltdl.m4 +++ b/config/opal_setup_libltdl.m4 @@ -170,7 +170,7 @@ AC_DEFUN([_OPAL_SETUP_LIBLTDL_INTERNAL],[ OPAL_LIBLTDL_INTERNAL=1 CPPFLAGS_save="$CPPFLAGS" - CPPFLAGS="-I. -I./opal/libltdl/" + CPPFLAGS="-I$srcdir/ -I$srcdir/opal/libltdl/" # Must specifically mention $srcdir here for VPATH builds # (this file is in the src tree). AC_EGREP_HEADER([lt_dladvise_init], [$srcdir/opal/libltdl/ltdl.h],