diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-13 15:46:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-13 15:46:32 (GMT) |
commit | 1e43f52d3f5a853bf95be27798ace31ea8ee2884 (patch) | |
tree | a1e05e64b1041bd6a172690d3d22874625a63557 /unix/tcl.m4 | |
parent | 80d43beb6caae9ce728cd5054194124706038073 (diff) | |
parent | e4a806f57cf76fe3fc789dafd98b46ac11d7e68d (diff) | |
download | tk-1e43f52d3f5a853bf95be27798ace31ea8ee2884.zip tk-1e43f52d3f5a853bf95be27798ace31ea8ee2884.tar.gz tk-1e43f52d3f5a853bf95be27798ace31ea8ee2884.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.m4 | 14 |
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" |