aboutsummaryrefslogtreecommitdiff
path: root/jim.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-11-28 23:26:13 +1000
committerSteve Bennett <steveb@workware.net.au>2011-06-09 11:45:39 +1000
commitf25d6276ee487d583e35c48f3125ef388c9f7d3f (patch)
tree03775dc0c0f6112c58266b9bfa83bf4382f58a38 /jim.c
parentc8abfa88a3319425921064d045679614a1b4a550 (diff)
downloadjimtcl-f25d6276ee487d583e35c48f3125ef388c9f7d3f.zip
jimtcl-f25d6276ee487d583e35c48f3125ef388c9f7d3f.tar.gz
jimtcl-f25d6276ee487d583e35c48f3125ef388c9f7d3f.tar.bz2
Use autosetup instead of autoconf
Faster, simpler auto-configuration Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.c')
-rw-r--r--jim.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/jim.c b/jim.c
index 8ddc7a4..526522c 100644
--- a/jim.c
+++ b/jim.c
@@ -69,6 +69,17 @@
/* For INFINITY, even if math functions are not enabled */
#include <math.h>
+/* For the no-autoconf case */
+#ifndef TCL_LIBRARY
+#define TCL_LIBRARY "."
+#endif
+#ifndef TCL_PLATFORM_OS
+#define TCL_PLATFORM_OS "unknown"
+#endif
+#ifndef TCL_PLATFORM_PLATFORM
+#define TCL_PLATFORM_PLATFORM "unknown"
+#endif
+
/*#define DEBUG_SHOW_SCRIPT*/
/*#define DEBUG_SHOW_SCRIPT_TOKENS*/
/*#define DEBUG_SHOW_SUBST*/