diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-12 08:45:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-12 08:45:04 (GMT) |
commit | 57769fb109c41eb40a3c4883fa851b14c91c027b (patch) | |
tree | cd4715b675fba78ad225859b4e8907045eb364cd /unix | |
parent | 1ef6ae9359b00dfc15d0d704c357acad6bd61ada (diff) | |
parent | 3b61982dbe47d03fcc41121ed42df7af0652bb4d (diff) | |
download | tcl-57769fb109c41eb40a3c4883fa851b14c91c027b.zip tcl-57769fb109c41eb40a3c4883fa851b14c91c027b.tar.gz tcl-57769fb109c41eb40a3c4883fa851b14c91c027b.tar.bz2 |
Patch by Andrew Shadura, providing better support for three architectures they have in Debian.
Diffstat (limited to 'unix')
-rwxr-xr-x | unix/configure | 17 | ||||
-rw-r--r-- | unix/tcl.m4 | 14 |
2 files changed, 2 insertions, 29 deletions
diff --git a/unix/configure b/unix/configure index 163b210..5399eeb 100755 --- a/unix/configure +++ b/unix/configure @@ -7417,7 +7417,7 @@ fi fi ;; - Linux*) + Linux*|GNU*|NetBSD-Debian) SHLIB_CFLAGS="-fPIC" SHLIB_SUFFIX=".so" @@ -7523,21 +7523,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 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" |