diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-03-13 15:46:32 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-03-13 15:46:32 (GMT) |
commit | 3f3c5ab2f81fc5a887037f6a10e47111000d4430 (patch) | |
tree | a1e05e64b1041bd6a172690d3d22874625a63557 /unix | |
parent | e8f42ef4f2c2d542c1a2a2ec471b2f697f489a08 (diff) | |
parent | 96e8b67ff72d1c229d652d212925a504ddbf3fd0 (diff) | |
download | tk-3f3c5ab2f81fc5a887037f6a10e47111000d4430.zip tk-3f3c5ab2f81fc5a887037f6a10e47111000d4430.tar.gz tk-3f3c5ab2f81fc5a887037f6a10e47111000d4430.tar.bz2 |
Patch by Andrew Shadura, providing better support for three architectures they have in Debian.
FossilOrigin-Name: 61ea6e1140df3778d991ddcbe32fdfc84f3f6a3b
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 c99f25e..535b5f5 100755 --- a/unix/configure +++ b/unix/configure @@ -5623,7 +5623,7 @@ fi fi ;; - Linux*) + Linux*|GNU*|NetBSD-Debian) SHLIB_CFLAGS="-fPIC" SHLIB_SUFFIX=".so" @@ -5729,21 +5729,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" |