|
|
ddae51 |
diff -up openmpi-1.6.3/ompi/debuggers/dlopen_test.c.ltdl openmpi-1.6.3/ompi/debuggers/dlopen_test.c
|
|
|
ddae51 |
--- openmpi-1.6.3/ompi/debuggers/dlopen_test.c.ltdl 2012-04-03 08:30:25.000000000 -0600
|
|
|
ddae51 |
+++ openmpi-1.6.3/ompi/debuggers/dlopen_test.c 2012-11-05 10:28:06.365041243 -0700
|
|
|
ddae51 |
@@ -13,7 +13,17 @@
|
|
|
ddae51 |
#include <string.h>
|
|
|
ddae51 |
#include <stdlib.h>
|
|
|
ddae51 |
|
|
|
ddae51 |
-#include "opal/libltdl/ltdl.h"
|
|
|
ddae51 |
+#if OPAL_WANT_LIBLTDL
|
|
|
ddae51 |
+ #ifndef __WINDOWS__
|
|
|
ddae51 |
+ #if OPAL_LIBLTDL_INTERNAL
|
|
|
ddae51 |
+ #include "opal/libltdl/ltdl.h"
|
|
|
ddae51 |
+ #else
|
|
|
ddae51 |
+ #include "ltdl.h"
|
|
|
ddae51 |
+ #endif
|
|
|
ddae51 |
+ #else
|
|
|
ddae51 |
+ #include "ltdl.h"
|
|
|
ddae51 |
+ #endif
|
|
|
ddae51 |
+#endif
|
|
|
ddae51 |
|
|
|
ddae51 |
static int do_test(void);
|
|
|
ddae51 |
|
|
|
ddae51 |
diff -up openmpi-1.6.3/ompi/debuggers/Makefile.in.ltdl openmpi-1.6.3/ompi/debuggers/Makefile.in
|
|
|
ddae51 |
--- openmpi-1.6.3/ompi/debuggers/Makefile.in.ltdl 2012-10-24 09:40:15.000000000 -0600
|
|
|
ddae51 |
+++ openmpi-1.6.3/ompi/debuggers/Makefile.in 2012-11-05 10:59:10.288662790 -0700
|
|
|
ddae51 |
@@ -346,7 +346,7 @@ libompi_debugger_canary_la_OBJECTS = \
|
|
|
ddae51 |
@OPAL_HAVE_DLOPEN_TRUE@am__EXEEXT_1 = dlopen_test$(EXEEXT)
|
|
|
ddae51 |
am_dlopen_test_OBJECTS = dlopen_test-dlopen_test.$(OBJEXT)
|
|
|
ddae51 |
dlopen_test_OBJECTS = $(am_dlopen_test_OBJECTS)
|
|
|
ddae51 |
-dlopen_test_DEPENDENCIES = $(top_builddir)/opal/libltdl/libltdlc.la
|
|
|
ddae51 |
+dlopen_test_DEPENDENCIES =
|
|
|
ddae51 |
am_predefined_gap_test_OBJECTS = predefined_gap_test.$(OBJEXT)
|
|
|
ddae51 |
predefined_gap_test_OBJECTS = $(am_predefined_gap_test_OBJECTS)
|
|
|
ddae51 |
predefined_gap_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
|
|
|
ddae51 |
@@ -1216,8 +1216,8 @@ headers = \
|
|
|
ddae51 |
|
|
|
ddae51 |
# Simple checks to ensure that the DSOs are functional
|
|
|
ddae51 |
dlopen_test_SOURCES = dlopen_test.c
|
|
|
ddae51 |
-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
|
|
|
ddae51 |
-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
|
|
|
ddae51 |
+dlopen_test_CPPFLAGS = $(LTDLINCL)
|
|
|
ddae51 |
+dlopen_test_LDADD = $(LIBLTDL)
|
|
|
ddae51 |
predefined_gap_test_SOURCES = predefined_gap_test.c
|
|
|
ddae51 |
predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
|
|
|
ddae51 |
predefined_gap_test_LDADD = $(top_builddir)/ompi/libmpi.la
|
|
|
ddae51 |
diff -up openmpi-1.6.3/test/support/components.c.ltdl openmpi-1.6.3/test/support/components.c
|
|
|
ddae51 |
--- openmpi-1.6.3/test/support/components.c.ltdl 2012-04-03 08:29:44.000000000 -0600
|
|
|
ddae51 |
+++ openmpi-1.6.3/test/support/components.c 2012-11-05 10:28:06.366041244 -0700
|
|
|
ddae51 |
@@ -24,7 +24,17 @@
|
|
|
ddae51 |
|
|
|
ddae51 |
#include "opal/constants.h"
|
|
|
ddae51 |
#include "opal/mca/mca.h"
|
|
|
ddae51 |
-#include "opal/libltdl/ltdl.h"
|
|
|
ddae51 |
+#if OPAL_WANT_LIBLTDL
|
|
|
ddae51 |
+ #ifndef __WINDOWS__
|
|
|
ddae51 |
+ #if OPAL_LIBLTDL_INTERNAL
|
|
|
ddae51 |
+ #include "opal/libltdl/ltdl.h"
|
|
|
ddae51 |
+ #else
|
|
|
ddae51 |
+ #include "ltdl.h"
|
|
|
ddae51 |
+ #endif
|
|
|
ddae51 |
+ #else
|
|
|
ddae51 |
+ #include "ltdl.h"
|
|
|
ddae51 |
+ #endif
|
|
|
ddae51 |
+#endif
|
|
|
ddae51 |
|
|
|
ddae51 |
#include "components.h"
|
|
|
ddae51 |
|
|
|
ddae51 |
diff -up openmpi-1.6.3/test/support/components.h.ltdl openmpi-1.6.3/test/support/components.h
|
|
|
ddae51 |
--- openmpi-1.6.3/test/support/components.h.ltdl 2012-04-03 08:29:44.000000000 -0600
|
|
|
ddae51 |
+++ openmpi-1.6.3/test/support/components.h 2012-11-05 10:28:06.366041244 -0700
|
|
|
ddae51 |
@@ -20,7 +20,17 @@
|
|
|
ddae51 |
#ifndef OMPI_SUPPORT_COMPONENTS_H
|
|
|
ddae51 |
#define OMPI_SUPPORT_COMPONENTS_H
|
|
|
ddae51 |
|
|
|
ddae51 |
-#include "opal/libltdl/ltdl.h"
|
|
|
ddae51 |
+#if OPAL_WANT_LIBLTDL
|
|
|
ddae51 |
+ #ifndef __WINDOWS__
|
|
|
ddae51 |
+ #if OPAL_LIBLTDL_INTERNAL
|
|
|
ddae51 |
+ #include "opal/libltdl/ltdl.h"
|
|
|
ddae51 |
+ #else
|
|
|
ddae51 |
+ #include "ltdl.h"
|
|
|
ddae51 |
+ #endif
|
|
|
ddae51 |
+ #else
|
|
|
ddae51 |
+ #include "ltdl.h"
|
|
|
ddae51 |
+ #endif
|
|
|
ddae51 |
+#endif
|
|
|
ddae51 |
#include "opal/mca/mca.h"
|
|
|
ddae51 |
|
|
|
ddae51 |
BEGIN_C_DECLS
|