* m4/libtool.m4: Since we know that all TPF builds are cross-
builds, do not attempt to run linker tests during config. Use
known constants instead, since we know how dlopen() is
implemented.
---
 m4/libtool.m4 |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index a8ecbc3..0ba7a28 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1883,6 +1883,14 @@ else
     ])
     ;;
 
+  tpf*)
+  #  Don't try to run any link tests for TPF, we know it's impossible,
+  #  and we know how we open DSOs.
+    lt_cv_dlopen="dlopen"
+    lt_cv_dlopen_libs=
+    lt_cv_dlopen_self=no
+    ;;
+
   *)
     AC_CHECK_FUNC([shl_load],
          [lt_cv_dlopen=shl_load],
-- 
1.7.1


Reply via email to