summaryrefslogtreecommitdiffstats
path: root/win/configure.in
diff options
context:
space:
mode:
authorwart <wart>1999-12-07 01:03:19 (GMT)
committerwart <wart>1999-12-07 01:03:19 (GMT)
commitfc5ee3e128c6725dc4b68210bfa5b5904e558c25 (patch)
tree1c7472aad9a2cfc7fd10a65eb6d0e842f427d371 /win/configure.in
parent60c81a7684be2edbc5f8f8597580cf7ce7a89667 (diff)
downloadtk-fc5ee3e128c6725dc4b68210bfa5b5904e558c25.zip
tk-fc5ee3e128c6725dc4b68210bfa5b5904e558c25.tar.gz
tk-fc5ee3e128c6725dc4b68210bfa5b5904e558c25.tar.bz2
Added support for building Windows winhelp files.
Diffstat (limited to 'win/configure.in')
-rw-r--r--win/configure.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/win/configure.in b/win/configure.in
index af06ec9..dd841a6 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -2,7 +2,7 @@
# generate the file "configure", which is run during Tk installation
# to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.10 1999/10/01 22:45:31 hobbs Exp $
+# RCS: @(#) $Id: configure.in,v 1.11 1999/12/07 01:03:19 wart Exp $
AC_INIT(../generic/tk.h)
@@ -61,6 +61,13 @@ SC_ENABLE_SHARED
SC_CONFIG_CFLAGS
#--------------------------------------------------------------------
+# man2tcl needs this so that it can use errno.h
+#--------------------------------------------------------------------
+
+AC_CHECK_HEADER(errno.h, , MAN2TCLFLAGS="-DNO_ERRNO_H")
+AC_SUBST(MAN2TCLFLAGS)
+
+#--------------------------------------------------------------------
# Set the default compiler switches based on the --enable-symbols
# option. This macro depends on C flags, and should be called
# after SC_CONFIG_CFLAGS macro is called.
@@ -79,6 +86,8 @@ LDFLAGS=${LDFLAGS_DEFAULT}
SC_PATH_TCLCONFIG($TK_PATCH_LEVEL)
SC_LOAD_TCLCONFIG
+SC_PROG_TCLSH
+
#--------------------------------------------------------------------
# Perform final evaluations of variables with possible substitutions.
#--------------------------------------------------------------------
@@ -142,4 +151,4 @@ AC_SUBST(MAKE_DLL)
AC_SUBST(TK_XINCLUDES)
AC_SUBST(XINCLUDES)
-AC_OUTPUT(Makefile tkConfig.sh)
+AC_OUTPUT(Makefile tkConfig.sh tcl.hpj)