diff options
Diffstat (limited to 'win/configure.in')
-rw-r--r-- | win/configure.in | 13 |
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) |