diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-08-03 15:52:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-08-03 15:52:11 (GMT) |
commit | 3f4f6c332d4a34c9b615581ffdaa33cd69f530e1 (patch) | |
tree | c6097c3ab6af422f989f797379b21179a07fed14 | |
parent | 1c4629dd1c0e7dc81630bde4f91645da48c95e86 (diff) | |
parent | 75105e0891498c01d23b47b79c07b014fa1bc9dc (diff) | |
download | tk-3f4f6c332d4a34c9b615581ffdaa33cd69f530e1.zip tk-3f4f6c332d4a34c9b615581ffdaa33cd69f530e1.tar.gz tk-3f4f6c332d4a34c9b615581ffdaa33cd69f530e1.tar.bz2 |
Merge 8.6
-rwxr-xr-x | unix/configure | 1 | ||||
-rw-r--r-- | unix/tcl.m4 | 1 | ||||
-rw-r--r-- | unix/tkConfig.sh.in | 1 | ||||
-rwxr-xr-x | win/configure | 6 | ||||
-rw-r--r-- | win/configure.ac | 5 | ||||
-rw-r--r-- | win/tkConfig.sh.in | 6 |
6 files changed, 5 insertions, 15 deletions
diff --git a/unix/configure b/unix/configure index 8b6a790..dd73d5c 100755 --- a/unix/configure +++ b/unix/configure @@ -4699,7 +4699,6 @@ fi DL_LIBS="-ldl" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" - TCL_NEEDS_EXP_FILE=1 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Cygwin version of gcc" >&5 printf %s "checking for Cygwin version of gcc... " >&6; } if test ${ac_cv_cygwin+y} diff --git a/unix/tcl.m4 b/unix/tcl.m4 index ca6f677..a46478c 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1087,7 +1087,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ DL_LIBS="-ldl" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" - TCL_NEEDS_EXP_FILE=1 AC_CACHE_CHECK(for Cygwin version of gcc, ac_cv_cygwin, AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ diff --git a/unix/tkConfig.sh.in b/unix/tkConfig.sh.in index e08861b..8c314db 100644 --- a/unix/tkConfig.sh.in +++ b/unix/tkConfig.sh.in @@ -23,7 +23,6 @@ TK_DEFS='@DEFS@' # Flag, 1: we built a shared lib, 0 we didn't TK_SHARED_BUILD=@TK_SHARED_BUILD@ - # TK_DBGX used to be used to distinguish debug vs. non-debug builds. # This was a righteous pain so the core doesn't do that any more. TK_DBGX= diff --git a/win/configure b/win/configure index 3c6b333..ba80bbb 100755 --- a/win/configure +++ b/win/configure @@ -688,7 +688,6 @@ CC_EXENAME CC_OBJNAME DEPARG EXTRA_CFLAGS -CFG_TK_EXPORT_FILE_SUFFIX CFG_TK_UNSHARED_LIB_SUFFIX CFG_TK_SHARED_LIB_SUFFIX TCL_PATCH_LEVEL @@ -5777,7 +5776,6 @@ TK_SHARED_BUILD=${SHARED_BUILD} TK_SHARED_LIB_SUFFIX="\${NODOT_VERSION}${DLLSUFFIX}" TK_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}" -TK_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}" eval "TK_SRC_DIR=\"`cd $srcdir/..; $CYGPATH $(pwd)`\"" @@ -5833,14 +5831,13 @@ eval "EXESUFFIX=${EXESUFFIX}" CFG_TK_SHARED_LIB_SUFFIX=${TK_SHARED_LIB_SUFFIX} CFG_TK_UNSHARED_LIB_SUFFIX=${TK_UNSHARED_LIB_SUFFIX} -CFG_TK_EXPORT_FILE_SUFFIX=${TK_EXPORT_FILE_SUFFIX} #-------------------------------------------------------------------- # Adjust the defines for how the resources are built depending # on symbols and static vs. shared. #-------------------------------------------------------------------- -if test ${SHARED_BUILD} = 0 -o "$TCL_NEEDS_EXP_FILE" = 0; then +if test ${SHARED_BUILD} = 0; then RC_DEFINES="${RC_DEFINE} STATIC_BUILD" TK_RES="" else @@ -5892,7 +5889,6 @@ TK_WIN_VERSION="$TK_VERSION.$TK_RELEASE_LEVEL.`echo $TK_PATCH_LEVEL | tr -d ab.` - # win/tcl.m4 doesn't set (LDFLAGS) diff --git a/win/configure.ac b/win/configure.ac index 62f057e..08e0af7 100644 --- a/win/configure.ac +++ b/win/configure.ac @@ -226,7 +226,6 @@ TK_SHARED_BUILD=${SHARED_BUILD} TK_SHARED_LIB_SUFFIX="\${NODOT_VERSION}${DLLSUFFIX}" TK_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}" -TK_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}" eval "TK_SRC_DIR=\"`cd $srcdir/..; $CYGPATH $(pwd)`\"" @@ -282,14 +281,13 @@ eval "EXESUFFIX=${EXESUFFIX}" CFG_TK_SHARED_LIB_SUFFIX=${TK_SHARED_LIB_SUFFIX} CFG_TK_UNSHARED_LIB_SUFFIX=${TK_UNSHARED_LIB_SUFFIX} -CFG_TK_EXPORT_FILE_SUFFIX=${TK_EXPORT_FILE_SUFFIX} #-------------------------------------------------------------------- # Adjust the defines for how the resources are built depending # on symbols and static vs. shared. #-------------------------------------------------------------------- -if test ${SHARED_BUILD} = 0 -o "$TCL_NEEDS_EXP_FILE" = 0; then +if test ${SHARED_BUILD} = 0; then RC_DEFINES="${RC_DEFINE} STATIC_BUILD" TK_RES="" else @@ -333,7 +331,6 @@ AC_SUBST(TCL_SRC_DIR) AC_SUBST(TCL_BIN_DIR) AC_SUBST(CFG_TK_SHARED_LIB_SUFFIX) AC_SUBST(CFG_TK_UNSHARED_LIB_SUFFIX) -AC_SUBST(CFG_TK_EXPORT_FILE_SUFFIX) AC_SUBST(CFLAGS_DEFAULT) AC_SUBST(EXTRA_CFLAGS) diff --git a/win/tkConfig.sh.in b/win/tkConfig.sh.in index d93e649..d889e16 100644 --- a/win/tkConfig.sh.in +++ b/win/tkConfig.sh.in @@ -35,15 +35,15 @@ TK_LIB_FILE='@TK_LIB_FILE@' # Additional libraries to use when linking Tk. TK_LIBS='@LIBS@ @LIBS_GUI@' -# Top-level directory in which Tcl's platform-independent files are +# Top-level directory in which Tk's platform-independent files are # installed. TK_PREFIX='@prefix@' -# Top-level directory in which Tcl's platform-specific files (e.g. +# Top-level directory in which Tk's platform-specific files (e.g. # executables) are installed. TK_EXEC_PREFIX='@exec_prefix@' -# -l flag to pass to the linker to pick up the Tcl library +# -l flag to pass to the linker to pick up the Tk library TK_LIB_FLAG='@TK_LIB_FLAG@' # String to pass to linker to pick up the Tk library from its |