Curent HEAD does not compile with --disable-corefoundation.
It barks like this:
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:81: error: syntax error before 'bundleRef'
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:98: error: syntax error before 'bundleRef'
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c: In function 'OpenResourceMap':
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c💯 error: 'FALSE' undeclared (first use in this function)
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c💯 error: (Each undeclared identifier is reported only once
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c💯 error: for each function it appears in.)
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:101: warning: parameter names (without types) in function declaration
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:134: error: 'TRUE' undeclared (first use in this function)
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:138: error: 'bundleRef' undeclared (first use in this function)
make: *** [tclMacOSXBundle.o] Error 1
Chers
Zoran
this looks like code that should be ifdef'd out with when CF is disabled is being built (but without necessary headers). This used to work, at a first guess, it was dkf's recent ifdef changes in this area that broke it:
2010-03-25 Donal K. Fellows <dkf@users.sf.net>
* macosx/tclMacOSXBundle.c, macosx/tclMacOSXFCmd.c:
* macosx/tclMacOSXNotify.c: Reduce the level of ifdeffery in the
functions of these files to improve readability. They need to be
audited for whether complexity can be removed based on the minimum
supported version of OSX, but that requires a real expert.
Made OpenResourceMap only defined for HAVE_COREFOUNDATION builds. (Oops!)