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 | 1e789a9a6ef92901cafbbb6800f3039cdfea9663 (patch) | |
tree | cd4715b675fba78ad225859b4e8907045eb364cd | |
parent | c2fa999cce2563c0e41d8d91b53277ee0618adde (diff) | |
parent | c727e57f651e0a8bdb365b5632cf6a5668c0eccb (diff) | |
download | tcl-1e789a9a6ef92901cafbbb6800f3039cdfea9663.zip tcl-1e789a9a6ef92901cafbbb6800f3039cdfea9663.tar.gz tcl-1e789a9a6ef92901cafbbb6800f3039cdfea9663.tar.bz2 |
Patch by Andrew Shadura, providing better support for three architectures they have in Debian.
-rw-r--r-- | .fossil-settings/ignore-glob | 6 | ||||
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | unix/configure | 17 | ||||
-rw-r--r-- | unix/tcl.m4 | 14 |
4 files changed, 13 insertions, 29 deletions
diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob index a101893..16930f5 100644 --- a/.fossil-settings/ignore-glob +++ b/.fossil-settings/ignore-glob @@ -1,8 +1,13 @@ *.a *.dll +*.dylib *.exe +*.exp +*.lib *.o *.obj +*.res +*.sl *.so */Makefile */config.cache @@ -11,5 +16,6 @@ */tclConfig.sh */tclsh* */tcltest* +*/versions.vc unix/dltest.marker win/tcl.hpj @@ -1,3 +1,8 @@ +2013-03-12 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-06 Don Porter <dgp@users.sourceforge.net> * generic/regc_nfa.c: [Bugs 3604074,3606683] Rewrite of the 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" |