summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-11-04 20:40:34 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-11-04 20:40:34 (GMT)
commit6a75078982a63a73b4186124d88f1a57122fb765 (patch)
treed26d7705fe6a1aed0ba8fb9a5219d61b4a882275
parent136f89669b7be6b59b8142e97d2b3d4d65d74438 (diff)
downloadtcl-6a75078982a63a73b4186124d88f1a57122fb765.zip
tcl-6a75078982a63a73b4186124d88f1a57122fb765.tar.gz
tcl-6a75078982a63a73b4186124d88f1a57122fb765.tar.bz2
Bug 1163896
-rw-r--r--ChangeLog4
-rwxr-xr-xunix/configure12
-rw-r--r--unix/tcl.m412
3 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c7402b..f9846de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,10 @@
* unix/Makefile.in: Trimmed a bunch of fat out of the tommath/
directory in 'make dist'. [RFE 1333318]
+
+ * unix/tcl.m4: Added code to enable [load] on LynxOS. Thanks to
+ heidibr@users.sf.net for the patch. [Bug 1163896].
+ * unix/configure: Regenerated.
2005-11-04 Miguel Sofer <msofer@users.sf.net>
diff --git a/unix/configure b/unix/configure
index 28f268e..a59f4f2 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7311,6 +7311,18 @@ fi
CFLAGS="$CFLAGS -mieee"
fi
;;
+ Lynx*)
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD_LIBS='${LIBS}'
+ SHLIB_SUFFIX=".so"
+ CFLAGS_OPTIMIZE=-02
+ SHLIB_LD="${CC} -shared "
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-mshared -ldl"
+ LD_FLAGS="-Wl,--export-dynamic"
+ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+ ;;
MP-RAS-02*)
SHLIB_CFLAGS="-K PIC"
SHLIB_LD="cc -G"
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index b44556e..1c1f6ae 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1331,6 +1331,18 @@ dnl AC_CHECK_TOOL(AR, ar)
CFLAGS="$CFLAGS -mieee"
fi
;;
+ Lynx*)
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD_LIBS='${LIBS}'
+ SHLIB_SUFFIX=".so"
+ CFLAGS_OPTIMIZE=-02
+ SHLIB_LD="${CC} -shared "
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-mshared -ldl"
+ LD_FLAGS="-Wl,--export-dynamic"
+ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+ ;;
MP-RAS-02*)
SHLIB_CFLAGS="-K PIC"
SHLIB_LD="cc -G"