summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/Project.tmpl16
-rw-r--r--src/config/site.def3
2 files changed, 19 insertions, 0 deletions
diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl
index 0023b5888..edbc8935b 100644
--- a/src/config/Project.tmpl
+++ b/src/config/Project.tmpl
@@ -172,6 +172,18 @@
#define HasHashLibrary NO
#endif
+#ifndef HasTcl
+#define HasTcl NO
+#define TclDefines /**/
+#else
+#define TclDefines -DTCL
+#endif
+#ifndef TclLibs
+#define TclLibs /**/
+#endif
+#ifndef TclIncludes
+#define TclIncludes /**/
+#endif
/* Hack around sun cpp bug */
PEPSY_WARNING_STRING = \
@@ -651,3 +663,7 @@ P_KRB4_COMPAT=-UKrb4Compat
Concat(Krb5Incdir,/krb5/asn.1) \
Concat(Krb5Incdir,/kerberosIV)
KRB5_OTHERMKDIRS = Krb5Othermkdirs
+
+ TCLINCLUDES = TclIncludes
+ TCLLIBS = TclLibs
+ TCLDEFINES = TclDefines
diff --git a/src/config/site.def b/src/config/site.def
index 100b152aa..0ae8cdfb0 100644
--- a/src/config/site.def
+++ b/src/config/site.def
@@ -276,3 +276,6 @@
#define OptimizedCDebugFlags -O3
#define DefaultCDebugFlags OptimizedCDebugFlags -g
#endif
+#define HasTcl YES
+#define TclIncludes -I/u1/tcl/include
+#define TclLibs -L/u1/tcl/lib -ltcl -lm