diff options
author | hobbs <hobbs> | 2001-08-23 19:11:37 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-08-23 19:11:37 (GMT) |
commit | bb05ef2872f4c4ef6a6adf6340abd014641123cd (patch) | |
tree | 205625aebbcba5a6ad3c8cd22ae7b843af291728 /unix/tcl.m4 | |
parent | 0eb6aa7a54c3e99c8e70347ae17f5707b921ff81 (diff) | |
download | tk-bb05ef2872f4c4ef6a6adf6340abd014641123cd.zip tk-bb05ef2872f4c4ef6a6adf6340abd014641123cd.tar.gz tk-bb05ef2872f4c4ef6a6adf6340abd014641123cd.tar.bz2 |
added QNX-6 build support. [Bug #219410] (loverso)
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 76f905f..04fbaf6 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -955,6 +955,19 @@ dnl AC_CHECK_TOOL(AR, ar, :) fi ;; + QNX-6*) + # QNX RTP + # This may work for all QNX, but it was only reported for v6. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="ld -Bshareable -x" + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + # dlopen is in -lc on QNX + DL_LIBS="" + LDFLAGS="" + LD_SEARCH_FLAGS="" + ;; RISCos-*) SHLIB_CFLAGS="-G 0" SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0" |