From e2d29d62e794c1a6a3e349c52a53d76f1b44cf52 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 21 May 2024 20:19:30 +0000 Subject: "TCL_TOMMATH" is not used anywhere --- unix/configure | 5 ----- unix/configure.in | 1 - unix/tclConfig.h.in | 3 --- win/Makefile.in | 4 ++-- win/makefile.vc | 2 +- 5 files changed, 3 insertions(+), 12 deletions(-) diff --git a/unix/configure b/unix/configure index d890135..370195d 100755 --- a/unix/configure +++ b/unix/configure @@ -9195,11 +9195,6 @@ echo "${ECHO_T}enabled $tcl_ok debugging" >&6 cat >>confdefs.h <<\_ACEOF -#define TCL_TOMMATH 1 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF #define MP_PREC 4 _ACEOF diff --git a/unix/configure.in b/unix/configure.in index ca4145a..414693a 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -183,7 +183,6 @@ SC_CONFIG_CFLAGS SC_ENABLE_SYMBOLS(bccdebug) -AC_DEFINE(TCL_TOMMATH, 1, [Build libtommath?]) AC_DEFINE(MP_PREC, 4, [Default libtommath precision.]) #-------------------------------------------------------------------- diff --git a/unix/tclConfig.h.in b/unix/tclConfig.h.in index 5a64236..c21bb54 100644 --- a/unix/tclConfig.h.in +++ b/unix/tclConfig.h.in @@ -426,9 +426,6 @@ /* Are we building with threads enabled? */ #undef TCL_THREADS -/* Build libtommath? */ -#undef TCL_TOMMATH - /* Do we allow unloading of shared libraries? */ #undef TCL_UNLOAD_DLLS diff --git a/win/Makefile.in b/win/Makefile.in index 1a8bd2d..3b89dd7 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -209,7 +209,7 @@ COPY = cp GDB = gdb CC_SWITCHES = -I"${GENERIC_DIR_NATIVE}" -I"${TOMMATH_DIR_NATIVE}" \ --I"${ZLIB_DIR_NATIVE}" -I"${WIN_DIR_NATIVE}" -DTCL_TOMMATH \ +-I"${ZLIB_DIR_NATIVE}" -I"${WIN_DIR_NATIVE}" \ ${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} -DMP_PREC=4 \ ${AC_FLAGS} ${COMPILE_DEBUG_FLAGS} ${NO_DEPRECATED_FLAGS} @@ -217,7 +217,7 @@ CC_OBJNAME = @CC_OBJNAME@ CC_EXENAME = @CC_EXENAME@ STUB_CC_SWITCHES = -I"${GENERIC_DIR_NATIVE}" -I"${TOMMATH_DIR_NATIVE}" \ --I"${ZLIB_DIR_NATIVE}" -I"${WIN_DIR_NATIVE}" -DTCL_TOMMATH \ +-I"${ZLIB_DIR_NATIVE}" -I"${WIN_DIR_NATIVE}" \ ${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} -DMP_PREC=4 \ ${AC_FLAGS} ${COMPILE_DEBUG_FLAGS} diff --git a/win/makefile.vc b/win/makefile.vc index 4d0bf70..5642155 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -424,7 +424,7 @@ PKGSDIR = $(ROOT)\pkgs # Additional include and C macro definitions for the implicit rules # defined in rules.vc PRJ_INCLUDES = -I"$(TOMMATHDIR)" -PRJ_DEFINES = /DTCL_TOMMATH /DMP_PREC=4 /Dinline=__inline /DHAVE_ZLIB=1 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DMP_FIXED_CUTOFFS +PRJ_DEFINES = /DMP_PREC=4 /Dinline=__inline /DHAVE_ZLIB=1 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DMP_FIXED_CUTOFFS # Additional Link libraries needed beyond those in rules.vc PRJ_LIBS = netapi32.lib user32.lib userenv.lib ws2_32.lib -- cgit v0.12