summaryrefslogtreecommitdiffstats
path: root/generic/tclPkgConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclPkgConfig.c')
-rw-r--r--generic/tclPkgConfig.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/generic/tclPkgConfig.c b/generic/tclPkgConfig.c
index a0dae51..840ebed 100644
--- a/generic/tclPkgConfig.c
+++ b/generic/tclPkgConfig.c
@@ -2,9 +2,9 @@
* tclPkgConfig.c --
*
* This file contains the configuration information to embed into the tcl
- * library.
+ * binary library.
*
- * Copyright © 2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+ * Copyright (c) 2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
@@ -35,16 +35,12 @@
#include "tclInt.h"
-#ifndef TCL_CFGVAL_ENCODING
-# define TCL_CFGVAL_ENCODING "utf-8"
-#endif
-
/*
* Use C preprocessor statements to define the various values for the embedded
* configuration information.
*/
-#if TCL_THREADS
+#ifdef TCL_THREADS
# define CFG_THREADED "1"
#else
# define CFG_THREADED "0"
@@ -92,8 +88,7 @@
# define CFG_PROFILED "0"
#endif
-static Tcl_Config const cfg[] = {
-#if !defined(TCL_NO_DEPRECATED) && TCL_MAJOR_VERSION < 9
+static Tcl_Config cfg[] = {
{"debug", CFG_DEBUG},
{"threaded", CFG_THREADED},
{"profiled", CFG_PROFILED},
@@ -102,7 +97,6 @@ static Tcl_Config const cfg[] = {
{"mem_debug", CFG_MEMDEBUG},
{"compile_debug", CFG_COMPILE_DEBUG},
{"compile_stats", CFG_COMPILE_STATS},
-#endif
/* Runtime paths to various stuff */
@@ -111,9 +105,6 @@ static Tcl_Config const cfg[] = {
{"scriptdir,runtime", CFG_RUNTIME_SCRDIR},
{"includedir,runtime", CFG_RUNTIME_INCDIR},
{"docdir,runtime", CFG_RUNTIME_DOCDIR},
-#if !defined(STATIC_BUILD)
- {"dllfile,runtime", CFG_RUNTIME_DLLFILE},
-#endif
/* Installation paths to various stuff */
@@ -129,7 +120,7 @@ static Tcl_Config const cfg[] = {
void
TclInitEmbeddedConfigurationInformation(
- Tcl_Interp *interp) /* Interpreter the configuration command is
+ Tcl_Interp* interp) /* Interpreter the configuration command is
* registered in. */
{
Tcl_RegisterConfig(interp, "tcl", cfg, TCL_CFGVAL_ENCODING);