summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-21 20:19:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-21 20:19:30 (GMT)
commit7a27b93b298eb7258bec95139d48d59553de64c8 (patch)
treebc1964d0274a7cbd80655007e7146feb4641d508
parent15ca608890f0d9e77091e7845d52251b06e33a2a (diff)
downloadtcl-7a27b93b298eb7258bec95139d48d59553de64c8.zip
tcl-7a27b93b298eb7258bec95139d48d59553de64c8.tar.gz
tcl-7a27b93b298eb7258bec95139d48d59553de64c8.tar.bz2
"TCL_TOMMATH" is not used anywhere
-rwxr-xr-xunix/configure5
-rw-r--r--unix/configure.in1
-rw-r--r--unix/tclConfig.h.in3
-rw-r--r--win/Makefile.in4
-rw-r--r--win/makefile.vc2
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