summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-12 08:47:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-12 08:47:52 (GMT)
commit84d3dc55fca1e1991eb1360a9891ebd5f0a99c3f (patch)
treeb0295aadfc958e398dfbfc8094bc31ed462963e1 /unix/tcl.m4
parenta3d5ba530a2cb77cf5da56035f51a3d8584aa967 (diff)
parent57769fb109c41eb40a3c4883fa851b14c91c027b (diff)
downloadtcl-84d3dc55fca1e1991eb1360a9891ebd5f0a99c3f.zip
tcl-84d3dc55fca1e1991eb1360a9891ebd5f0a99c3f.tar.gz
tcl-84d3dc55fca1e1991eb1360a9891ebd5f0a99c3f.tar.bz2
Patch by Andrew Shadura, providing better support for three architectures they have in Debian.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m414
1 files changed, 1 insertions, 13 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index c4b311b..3fa6abe 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1398,7 +1398,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
])
])
;;
- Linux*)
+ Linux*|GNU*|NetBSD-Debian)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
@@ -1436,18 +1436,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AS_IF([test x"${USE_COMPAT}" != x],[CFLAGS="$CFLAGS -fno-inline"])
;;
- GNU*)
- SHLIB_CFLAGS="-fPIC"
- SHLIB_SUFFIX=".so"
-
- SHLIB_LD='${CC} -shared'
- DL_OBJS=""
- DL_LIBS="-ldl"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
- CC_SEARCH_FLAGS=""
- LD_SEARCH_FLAGS=""
- AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
- ;;
Lynx*)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"