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