summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-12 08:26:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-12 08:26:15 (GMT)
commit110a14d723db1dd62418ce28dc521849e455f5d0 (patch)
tree8878a1ec011b5982c599e7f9628b555ddf399d7a /unix/tcl.m4
parentaad09f7af75d96cefa448156d29ebb272dba0cce (diff)
downloadtcl-110a14d723db1dd62418ce28dc521849e455f5d0.zip
tcl-110a14d723db1dd62418ce28dc521849e455f5d0.tar.gz
tcl-110a14d723db1dd62418ce28dc521849e455f5d0.tar.bz2
Patch by Andrew Shadura, providing better support for three architectures they have in Debian.
(regeneration of "configure" not done yet)
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m425
1 files changed, 1 insertions, 24 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 889d817..360b3a1 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1393,7 +1393,7 @@ dnl AC_CHECK_TOOL(AR, ar)
fi
fi
;;
- Linux*)
+ Linux*|GNU*|NetBSD-Debian)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
@@ -1450,29 +1450,6 @@ dnl AC_CHECK_TOOL(AR, ar)
[XIM peeking works under XFree86])
;;
- GNU*)
- SHLIB_CFLAGS="-fPIC"
- SHLIB_SUFFIX=".so"
-
- if test "$have_dl" = yes; then
- SHLIB_LD='${CC} -shared'
- DL_OBJS=""
- DL_LIBS="-ldl"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
- CC_SEARCH_FLAGS=""
- LD_SEARCH_FLAGS=""
- else
- AC_CHECK_HEADER(dld.h, [
- SHLIB_LD="ld -shared"
- DL_OBJS=""
- DL_LIBS="-ldld"
- CC_SEARCH_FLAGS=""
- LD_SEARCH_FLAGS=""])
- fi
- if test "`uname -m`" = "alpha" ; then
- CFLAGS="$CFLAGS -mieee"
- fi
- ;;
Lynx*)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"