summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-03-13 15:46:32 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-03-13 15:46:32 (GMT)
commit23d15f35f5a99217958c1758fe606936384e36ce (patch)
treea1e05e64b1041bd6a172690d3d22874625a63557 /unix/tcl.m4
parent6e65475e7031b83c85ae60ac1e664d838c83f4d9 (diff)
parent90c8ddc498559b7965ddafe47b1c8aa9f30e8089 (diff)
downloadtk-23d15f35f5a99217958c1758fe606936384e36ce.zip
tk-23d15f35f5a99217958c1758fe606936384e36ce.tar.gz
tk-23d15f35f5a99217958c1758fe606936384e36ce.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 3974753..668fa2f 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1410,7 +1410,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
])
])
;;
- Linux*)
+ Linux*|GNU*|NetBSD-Debian)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
@@ -1448,18 +1448,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"