summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2005-11-04 21:40:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2005-11-04 21:40:21 (GMT)
commitee791e433719e8e012bc9eaee159cf37384203cb (patch)
treeec1b5cda6cbf94f35d0dfbe48d1a3f8153b6eafc /unix/tcl.m4
parent4c89643d5733ab937ba7d73e67c9e1d8a5d9a13e (diff)
downloadtcl-ee791e433719e8e012bc9eaee159cf37384203cb.zip
tcl-ee791e433719e8e012bc9eaee159cf37384203cb.tar.gz
tcl-ee791e433719e8e012bc9eaee159cf37384203cb.tar.bz2
* unix/tcl.m4: Added code to enable [load] on LynxOS. Thanks to
heidibr@users.sf.net for the patch. [Bug 1163896]. * unix/configure: autoconf-2.13.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 63dc0e6..fc87dcb 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1267,6 +1267,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"