Fixing build bustage under VC++

Mo DeJong supermo@bayarea.net
Wed Feb 20 20:17:00 GMT 2002


Hi all.

I took a quick look at why sourcenav fails to build under VC++ these days.
The first problem I found showed up when Itcl tried to load tclConfig.sh and
pulled it out of the tcl/unix subdirectory instead of tcl/win. After poking
around for a bit, I found that the following change was to blame for this:

2001-09-12  Ian Roxborough  <irox@redhat.com>

	* win/configure.in: Set DL_LIBS and MATH_LIBS.  Create
	unix/tclConfig.sh.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/tcl/win/configure.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- configure.in	2001/09/09 23:56:10	1.4
+++ configure.in	2001/09/13 00:38:49	1.5
@@ -230,5 +235,5 @@
 AC_SUBST(MAKE_DLL)
 AC_SUBST(MAKE_EXE)
 
-AC_OUTPUT(Makefile tclConfig.sh tcl.hpj)
+AC_OUTPUT(Makefile tclConfig.sh tcl.hpj ../unix/tclConfig.sh)

My question is, why would the tcl/win configure script need to generate
a tclConfig.sh in the ../unix directory? The ChangeLog message seems to
indicate that it has something to do with getting the build working with
the Cygwin compiler. We can't really have two tclConfig.sh scripts like
this because it breaks the m4 macro that searches for either unix/tclConfig.sh
or win/tclConfig.sh.

cheers
Mo



More information about the Sourcenav mailing list