summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-13 15:48:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-13 15:48:02 (GMT)
commitd4bfb660491bae537d77b5bef6e029e6680bdc47 (patch)
treef6cd47c3bbdd77058de5bcd6e4075ee7d014b6f4
parente26359c3f1ac6a3e9bd2c0eb0abb3cccb7a86774 (diff)
parent1e43f52d3f5a853bf95be27798ace31ea8ee2884 (diff)
downloadtk-d4bfb660491bae537d77b5bef6e029e6680bdc47.zip
tk-d4bfb660491bae537d77b5bef6e029e6680bdc47.tar.gz
tk-d4bfb660491bae537d77b5bef6e029e6680bdc47.tar.bz2
Patch by Andrew Shadura, providing better support for three architectures they have in Debian.
-rw-r--r--ChangeLog5
-rwxr-xr-xunix/configure17
-rw-r--r--unix/tcl.m414
3 files changed, 7 insertions, 29 deletions
diff --git a/ChangeLog b/ChangeLog
index 12598c9..2bf1258 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-13 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * unix/tcl.m4: Patch by Andrew Shadura, providing better support for
+ three architectures they have in Debian.
+
2013-03-11 Don Porter <dgp@users.sourceforge.net>
* generic/tkListbox.c: [Bug 3607326] Stop segfault from
diff --git a/unix/configure b/unix/configure
index d433b0a..b896382 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5423,7 +5423,7 @@ fi
fi
;;
- Linux*)
+ Linux*|GNU*|NetBSD-Debian)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
@@ -5529,21 +5529,6 @@ fi
fi
;;
- 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=""
- if test "`uname -m`" = "alpha"; then
- CFLAGS="$CFLAGS -mieee"
-fi
-
- ;;
Lynx*)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index b13fddd..0ce6c40 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"