Index: customfont/Makefile ================================================================== --- customfont/Makefile +++ customfont/Makefile @@ -1,8 +1,8 @@ # Makefile.in -- # -# This file is a Makefile for TkWebView TEA Extension. If it has the name +# This file is a Makefile for customfont TEA Extension. If it has the name # "Makefile.in" then it is a template for a Makefile; to generate the # actual Makefile, run "./configure", which is a configuration script # generated by the "autoconf" program (constructs like "@foo@" will get # replaced in the actual Makefile. # @@ -136,11 +136,11 @@ WISH = $(PKG_ENV) $(TCLSH_ENV) $(WISH_ENV) $(WISH_PROG) SHARED_BUILD = 1 #INCLUDES = -I"/Library/Frameworks/Tcl.framework/Headers" -INCLUDES = -I"/Library/Frameworks/Tcl.framework/Headers" -I"/Library/Frameworks/Tk.framework/Headers" -I"/Library/Frameworks/Tk.framework/PrivateHeaders" -I"/Users/kevin/tcl-tk-fossil/tk/generic" -I"/Users/kevin/tcl-tk-fossil/tk/unix" -I"/Users/kevin/tcl-tk-fossil/tk/generic/ttk" -I""/Users/kevin/tcl-tk-fossil/tk/xlib"" -I"/Users/kevin/tcl-tk-fossil/tk/macosx" +INCLUDES = -I"/Library/Frameworks/Tcl.framework/Headers" -I"/Library/Frameworks/Tk.framework/Headers" PKG_CFLAGS = -std=gnu99 # TCL_DEFS is not strictly need here, but if you remove it, then you # must make sure that configure.in checks for the necessary components @@ -192,12 +192,12 @@ #======================================================================== doc: @echo "If you have documentation to create, place the commands to" @echo "build the docs in the 'doc:' target. For example:" - @echo " xml2nroff tkWebView.xml > tkWebView.n" - @echo " xml2html tkWebView.xml > tkWebView.html" + @echo " xml2nroff customfont.xml > customfont.n" + @echo " xml2html customfont.xml > customfont.html" install: all install-binaries install-libraries install-binaries: binaries install-lib-binaries install-bin-binaries @@ -263,12 +263,12 @@ # # In the following lines, $(srcdir) refers to the toplevel directory # containing your extension. If your sources are in a subdirectory, # you will have to modify the paths to reflect this: # -# tkWebView.$(OBJEXT): $(srcdir)/generic/tkWebView.c -# $(COMPILE) -c `echo $(srcdir)/generic/tkWebView.c` -o $@ +# customfont.$(OBJEXT): $(srcdir)/generic/customfont.c +# $(COMPILE) -c `echo $(srcdir)/generic/customfont.c` -o $@ # # Setting the VPATH variable to a list of paths will cause the makefile # to look into these paths when resolving .c to .obj dependencies. # As necessary, add $(srcdir):$(srcdir)/compat:.... #======================================================================== Index: customfont/Makefile.in ================================================================== --- customfont/Makefile.in +++ customfont/Makefile.in @@ -1,8 +1,8 @@ # Makefile.in -- # -# This file is a Makefile for TkWebView TEA Extension. If it has the name +# This file is a Makefile for customfont TEA Extension. If it has the name # "Makefile.in" then it is a template for a Makefile; to generate the # actual Makefile, run "./configure", which is a configuration script # generated by the "autoconf" program (constructs like "@foo@" will get # replaced in the actual Makefile. # @@ -192,12 +192,12 @@ #======================================================================== doc: @echo "If you have documentation to create, place the commands to" @echo "build the docs in the 'doc:' target. For example:" - @echo " xml2nroff tkWebView.xml > tkWebView.n" - @echo " xml2html tkWebView.xml > tkWebView.html" + @echo " xml2nroff customfont.xml > customfont.n" + @echo " xml2html customfont.xml > customfont.html" install: all install-binaries install-libraries install-binaries: binaries install-lib-binaries install-bin-binaries @@ -263,12 +263,12 @@ # # In the following lines, $(srcdir) refers to the toplevel directory # containing your extension. If your sources are in a subdirectory, # you will have to modify the paths to reflect this: # -# tkWebView.$(OBJEXT): $(srcdir)/generic/tkWebView.c -# $(COMPILE) -c `@CYGPATH@ $(srcdir)/generic/tkWebView.c` -o $@ +# customfont.$(OBJEXT): $(srcdir)/generic/customfont.c +# $(COMPILE) -c `@CYGPATH@ $(srcdir)/generic/customfont.c` -o $@ # # Setting the VPATH variable to a list of paths will cause the makefile # to look into these paths when resolving .c to .obj dependencies. # As necessary, add $(srcdir):$(srcdir)/compat:.... #======================================================================== Index: customfont/config.log ================================================================== --- customfont/config.log +++ customfont/config.log @@ -28,12 +28,12 @@ 2 processors are physically available. 4 processors are logically available. Processor type: x86_64h (Intel x86-64h Haswell) Processors active: 0 1 2 3 Primary memory available: 8.00 gigabytes -Default processor set: 210 tasks, 1195 threads, 4 processors -Load average: 3.40, Mach factor: 1.48 +Default processor set: 177 tasks, 1030 threads, 4 processors +Load average: 1.43, Mach factor: 2.56 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Library/Frameworks/Python.framework/Versions/Current/bin @@ -62,88 +62,88 @@ ## ----------- ## ## Core tests. ## ## ----------- ## -configure:2258: checking for correct TEA configuration -configure:2271: result: ok (TEA 3.7) -configure:2403: checking for Tcl configuration -configure:2525: result: found /Library/Frameworks/Tcl.framework/tclConfig.sh -configure:2531: checking for existence of /Library/Frameworks/Tcl.framework/tclConfig.sh -configure:2535: result: loading -configure:2626: checking for Tk configuration -configure:2748: result: found /Library/Frameworks/Tk.framework/tkConfig.sh -configure:2754: checking for existence of /Library/Frameworks/Tk.framework/tkConfig.sh -configure:2758: result: loading -configure:2864: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/local -configure:2896: checking for a BSD-compatible install -configure:2964: result: /usr/bin/install -c -configure:3033: checking for gcc -configure:3049: found /usr/bin/gcc -configure:3060: result: gcc -configure:3289: checking for C compiler version -configure:3298: gcc --version >&5 -Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) -Target: x86_64-apple-darwin14.4.0 -Thread model: posix -Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -configure:3309: $? = 0 -configure:3298: gcc -v >&5 -Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) -Target: x86_64-apple-darwin14.4.0 -Thread model: posix -configure:3309: $? = 0 -configure:3298: gcc -V >&5 -clang: error: argument to '-V' is missing (expected 1 value) -clang: error: no input files -configure:3309: $? = 1 -configure:3298: gcc -qversion >&5 -clang: error: unknown argument: '-qversion' -clang: error: no input files -configure:3309: $? = 1 -configure:3329: checking whether the C compiler works -configure:3351: gcc conftest.c >&5 -configure:3355: $? = 0 -configure:3403: result: yes -configure:3406: checking for C compiler default output file name -configure:3408: result: a.out -configure:3414: checking for suffix of executables -configure:3421: gcc -o conftest conftest.c >&5 -configure:3425: $? = 0 -configure:3447: result: -configure:3469: checking whether we are cross compiling -configure:3477: gcc -o conftest conftest.c >&5 -configure:3481: $? = 0 -configure:3488: ./conftest -configure:3492: $? = 0 -configure:3507: result: no -configure:3512: checking for suffix of object files -configure:3534: gcc -c conftest.c >&5 -configure:3538: $? = 0 -configure:3559: result: o -configure:3563: checking whether we are using the GNU C compiler -configure:3582: gcc -c conftest.c >&5 -configure:3582: $? = 0 -configure:3591: result: yes -configure:3600: checking whether gcc accepts -g -configure:3620: gcc -c -g conftest.c >&5 -configure:3620: $? = 0 -configure:3661: result: yes -configure:3678: checking for gcc option to accept ISO C89 -configure:3741: gcc -c conftest.c >&5 -configure:3741: $? = 0 -configure:3754: result: none needed -configure:3779: checking how to run the C preprocessor -configure:3810: gcc -E conftest.c -configure:3810: $? = 0 -configure:3824: gcc -E conftest.c -conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found -#include - ^ -1 error generated. -configure:3824: $? = 1 +configure:2251: checking for correct TEA configuration +configure:2264: result: ok (TEA 3.7) +configure:2396: checking for Tcl configuration +configure:2518: result: found /Library/Frameworks/Tcl.framework/tclConfig.sh +configure:2524: checking for existence of /Library/Frameworks/Tcl.framework/tclConfig.sh +configure:2528: result: loading +configure:2619: checking for Tk configuration +configure:2741: result: found /Library/Frameworks/Tk.framework/tkConfig.sh +configure:2747: checking for existence of /Library/Frameworks/Tk.framework/tkConfig.sh +configure:2751: result: loading +configure:2857: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/local +configure:2889: checking for a BSD-compatible install +configure:2957: result: /usr/bin/install -c +configure:3026: checking for gcc +configure:3042: found /usr/bin/gcc +configure:3053: result: gcc +configure:3282: checking for C compiler version +configure:3291: gcc --version >&5 +Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) +Target: x86_64-apple-darwin14.4.0 +Thread model: posix +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +configure:3302: $? = 0 +configure:3291: gcc -v >&5 +Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 +Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) +Target: x86_64-apple-darwin14.4.0 +Thread model: posix +configure:3302: $? = 0 +configure:3291: gcc -V >&5 +clang: error: argument to '-V' is missing (expected 1 value) +clang: error: no input files +configure:3302: $? = 1 +configure:3291: gcc -qversion >&5 +clang: error: unknown argument: '-qversion' +clang: error: no input files +configure:3302: $? = 1 +configure:3322: checking whether the C compiler works +configure:3344: gcc conftest.c >&5 +configure:3348: $? = 0 +configure:3396: result: yes +configure:3399: checking for C compiler default output file name +configure:3401: result: a.out +configure:3407: checking for suffix of executables +configure:3414: gcc -o conftest conftest.c >&5 +configure:3418: $? = 0 +configure:3440: result: +configure:3462: checking whether we are cross compiling +configure:3470: gcc -o conftest conftest.c >&5 +configure:3474: $? = 0 +configure:3481: ./conftest +configure:3485: $? = 0 +configure:3500: result: no +configure:3505: checking for suffix of object files +configure:3527: gcc -c conftest.c >&5 +configure:3531: $? = 0 +configure:3552: result: o +configure:3556: checking whether we are using the GNU C compiler +configure:3575: gcc -c conftest.c >&5 +configure:3575: $? = 0 +configure:3584: result: yes +configure:3593: checking whether gcc accepts -g +configure:3613: gcc -c -g conftest.c >&5 +configure:3613: $? = 0 +configure:3654: result: yes +configure:3671: checking for gcc option to accept ISO C89 +configure:3734: gcc -c conftest.c >&5 +configure:3734: $? = 0 +configure:3747: result: none needed +configure:3772: checking how to run the C preprocessor +configure:3803: gcc -E conftest.c +configure:3803: $? = 0 +configure:3817: gcc -E conftest.c +conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found +#include + ^ +1 error generated. +configure:3817: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -151,19 +151,19 @@ | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | /* end confdefs.h. */ | #include -configure:3849: result: gcc -E -configure:3869: gcc -E conftest.c -configure:3869: $? = 0 -configure:3883: gcc -E conftest.c +configure:3842: result: gcc -E +configure:3862: gcc -E conftest.c +configure:3862: $? = 0 +configure:3876: gcc -E conftest.c conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found #include ^ 1 error generated. -configure:3883: $? = 1 +configure:3876: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -171,78 +171,78 @@ | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | /* end confdefs.h. */ | #include -configure:3918: checking whether make sets $(MAKE) -configure:3940: result: yes -configure:3997: checking for ranlib -configure:4013: found /usr/bin/ranlib -configure:4024: result: ranlib -configure:4056: checking for grep that handles long lines and -e -configure:4114: result: /usr/bin/grep -configure:4119: checking for egrep -configure:4181: result: /usr/bin/grep -E -configure:4186: checking for ANSI C header files -configure:4206: gcc -c conftest.c >&5 -configure:4206: $? = 0 -configure:4279: gcc -o conftest conftest.c >&5 -configure:4279: $? = 0 -configure:4279: ./conftest -configure:4279: $? = 0 -configure:4290: result: yes -configure:4303: checking for sys/types.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for sys/stat.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for stdlib.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for string.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for memory.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for strings.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for inttypes.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for stdint.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4303: checking for unistd.h -configure:4303: gcc -c conftest.c >&5 -configure:4303: $? = 0 -configure:4303: result: yes -configure:4325: checking if the compiler understands -pipe -configure:4343: gcc -c -pipe conftest.c >&5 -configure:4343: $? = 0 -configure:4351: result: yes -configure:4362: checking whether byte ordering is bigendian -configure:4377: gcc -c -pipe conftest.c >&5 -configure:4377: $? = 0 -configure:4422: gcc -c -pipe conftest.c >&5 -configure:4422: $? = 0 -configure:4440: gcc -c -pipe conftest.c >&5 +configure:3911: checking whether make sets $(MAKE) +configure:3933: result: yes +configure:3990: checking for ranlib +configure:4006: found /usr/bin/ranlib +configure:4017: result: ranlib +configure:4049: checking for grep that handles long lines and -e +configure:4107: result: /usr/bin/grep +configure:4112: checking for egrep +configure:4174: result: /usr/bin/grep -E +configure:4179: checking for ANSI C header files +configure:4199: gcc -c conftest.c >&5 +configure:4199: $? = 0 +configure:4272: gcc -o conftest conftest.c >&5 +configure:4272: $? = 0 +configure:4272: ./conftest +configure:4272: $? = 0 +configure:4283: result: yes +configure:4296: checking for sys/types.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for sys/stat.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for stdlib.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for string.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for memory.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for strings.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for inttypes.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for stdint.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4296: checking for unistd.h +configure:4296: gcc -c conftest.c >&5 +configure:4296: $? = 0 +configure:4296: result: yes +configure:4318: checking if the compiler understands -pipe +configure:4336: gcc -c -pipe conftest.c >&5 +configure:4336: $? = 0 +configure:4344: result: yes +configure:4355: checking whether byte ordering is bigendian +configure:4370: gcc -c -pipe conftest.c >&5 +configure:4370: $? = 0 +configure:4415: gcc -c -pipe conftest.c >&5 +configure:4415: $? = 0 +configure:4433: gcc -c -pipe conftest.c >&5 conftest.c:27:4: error: use of undeclared identifier 'not' not big endian ^ 1 error generated. -configure:4440: $? = 1 +configure:4433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -272,25 +272,25 @@ | #endif | | ; | return 0; | } -configure:4568: result: no -configure:4595: checking for sin -configure:4595: gcc -o conftest -pipe conftest.c >&5 +configure:4561: result: no +configure:4588: checking for sin +configure:4588: gcc -o conftest -pipe conftest.c >&5 conftest.c:43:6: warning: incompatible redeclaration of library function 'sin' [-Wincompatible-library-redeclaration] char sin (); ^ conftest.c:43:6: note: 'sin' is a builtin with type 'double (double)' 1 warning generated. -configure:4595: $? = 0 -configure:4595: result: yes -configure:4602: checking for main in -lieee -configure:4621: gcc -o conftest -pipe conftest.c -lieee >&5 +configure:4588: $? = 0 +configure:4588: result: yes +configure:4595: checking for main in -lieee +configure:4614: gcc -o conftest -pipe conftest.c -lieee >&5 ld: library not found for -lieee clang: error: linker command failed with exit code 1 (use -v to see invocation) -configure:4621: $? = 1 +configure:4614: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -316,16 +316,16 @@ | { | return main (); | ; | return 0; | } -configure:4630: result: no -configure:4642: checking for main in -linet -configure:4661: gcc -o conftest -pipe conftest.c -linet >&5 +configure:4623: result: no +configure:4635: checking for main in -linet +configure:4654: gcc -o conftest -pipe conftest.c -linet >&5 ld: library not found for -linet clang: error: linker command failed with exit code 1 (use -v to see invocation) -configure:4661: $? = 1 +configure:4654: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -351,18 +351,18 @@ | { | return main (); | ; | return 0; | } -configure:4670: result: no -configure:4676: checking net/errno.h usability -configure:4676: gcc -c -pipe conftest.c >&5 +configure:4663: result: no +configure:4669: checking net/errno.h usability +configure:4669: gcc -c -pipe conftest.c >&5 conftest.c:53:10: fatal error: 'net/errno.h' file not found #include ^ 1 error generated. -configure:4676: $? = 1 +configure:4669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -413,18 +413,18 @@ | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include -configure:4676: result: no -configure:4676: checking net/errno.h presence -configure:4676: gcc -E conftest.c +configure:4669: result: no +configure:4669: checking net/errno.h presence +configure:4669: gcc -E conftest.c conftest.c:20:10: fatal error: 'net/errno.h' file not found #include ^ 1 error generated. -configure:4676: $? = 1 +configure:4669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -442,52 +442,52 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include -configure:4676: result: no -configure:4676: checking for net/errno.h -configure:4676: result: no -configure:4705: checking for connect -configure:4705: gcc -o conftest -pipe conftest.c >&5 -configure:4705: $? = 0 -configure:4705: result: yes -configure:4773: checking for gethostbyname -configure:4773: gcc -o conftest -pipe conftest.c >&5 -configure:4773: $? = 0 -configure:4773: result: yes -configure:4828: checking dirent.h -configure:4864: gcc -o conftest -pipe conftest.c >&5 -configure:4864: $? = 0 -configure:4872: result: yes -configure:4882: checking errno.h usability -configure:4882: gcc -c -pipe conftest.c >&5 -configure:4882: $? = 0 -configure:4882: result: yes -configure:4882: checking errno.h presence -configure:4882: gcc -E conftest.c -configure:4882: $? = 0 -configure:4882: result: yes -configure:4882: checking for errno.h -configure:4882: result: yes -configure:4892: checking float.h usability -configure:4892: gcc -c -pipe conftest.c >&5 -configure:4892: $? = 0 -configure:4892: result: yes -configure:4892: checking float.h presence -configure:4892: gcc -E conftest.c -configure:4892: $? = 0 -configure:4892: result: yes -configure:4892: checking for float.h -configure:4892: result: yes -configure:4902: checking values.h usability -configure:4902: gcc -c -pipe conftest.c >&5 +configure:4669: result: no +configure:4669: checking for net/errno.h +configure:4669: result: no +configure:4698: checking for connect +configure:4698: gcc -o conftest -pipe conftest.c >&5 +configure:4698: $? = 0 +configure:4698: result: yes +configure:4766: checking for gethostbyname +configure:4766: gcc -o conftest -pipe conftest.c >&5 +configure:4766: $? = 0 +configure:4766: result: yes +configure:4821: checking dirent.h +configure:4857: gcc -o conftest -pipe conftest.c >&5 +configure:4857: $? = 0 +configure:4865: result: yes +configure:4875: checking errno.h usability +configure:4875: gcc -c -pipe conftest.c >&5 +configure:4875: $? = 0 +configure:4875: result: yes +configure:4875: checking errno.h presence +configure:4875: gcc -E conftest.c +configure:4875: $? = 0 +configure:4875: result: yes +configure:4875: checking for errno.h +configure:4875: result: yes +configure:4885: checking float.h usability +configure:4885: gcc -c -pipe conftest.c >&5 +configure:4885: $? = 0 +configure:4885: result: yes +configure:4885: checking float.h presence +configure:4885: gcc -E conftest.c +configure:4885: $? = 0 +configure:4885: result: yes +configure:4885: checking for float.h +configure:4885: result: yes +configure:4895: checking values.h usability +configure:4895: gcc -c -pipe conftest.c >&5 conftest.c:53:10: fatal error: 'values.h' file not found #include ^ 1 error generated. -configure:4902: $? = 1 +configure:4895: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -538,18 +538,18 @@ | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include -configure:4902: result: no -configure:4902: checking values.h presence -configure:4902: gcc -E conftest.c +configure:4895: result: no +configure:4895: checking values.h presence +configure:4895: gcc -E conftest.c conftest.c:20:10: fatal error: 'values.h' file not found #include ^ 1 error generated. -configure:4902: $? = 1 +configure:4895: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -567,118 +567,116 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include -configure:4902: result: no -configure:4902: checking for values.h -configure:4902: result: no -configure:4912: checking limits.h usability -configure:4912: gcc -c -pipe conftest.c >&5 -configure:4912: $? = 0 -configure:4912: result: yes -configure:4912: checking limits.h presence -configure:4912: gcc -E conftest.c -configure:4912: $? = 0 -configure:4912: result: yes -configure:4912: checking for limits.h -configure:4912: result: yes -configure:4924: checking for stdlib.h -configure:4924: result: yes -configure:4976: checking for string.h -configure:4976: result: yes -configure:5020: checking sys/wait.h usability -configure:5020: gcc -c -pipe conftest.c >&5 -configure:5020: $? = 0 -configure:5020: result: yes -configure:5020: checking sys/wait.h presence -configure:5020: gcc -E conftest.c -configure:5020: $? = 0 -configure:5020: result: yes -configure:5020: checking for sys/wait.h -configure:5020: result: yes -configure:5030: checking dlfcn.h usability -configure:5030: gcc -c -pipe conftest.c >&5 -configure:5030: $? = 0 -configure:5030: result: yes -configure:5030: checking dlfcn.h presence -configure:5030: gcc -E conftest.c -configure:5030: $? = 0 -configure:5030: result: yes -configure:5030: checking for dlfcn.h -configure:5030: result: yes -configure:5044: checking sys/param.h usability -configure:5044: gcc -c -pipe conftest.c >&5 -configure:5044: $? = 0 -configure:5044: result: yes -configure:5044: checking sys/param.h presence -configure:5044: gcc -E conftest.c -configure:5044: $? = 0 -configure:5044: result: yes -configure:5044: checking for sys/param.h -configure:5044: result: yes -configure:5542: checking for Tcl public headers -configure:5613: result: /Library/Frameworks/Tcl.framework/Headers -configure:5628: checking for Tk public headers -configure:5702: result: /Library/Frameworks/Tk.framework/Headers -configure:5716: checking for X11 header files -configure:5723: result: /Library/Frameworks/Tk.framework/Headers -configure:5730: checking for Tk private include files -configure:5794: result: Using -I"/Library/Frameworks/Tk.framework/Headers" -I"/Library/Frameworks/Tk.framework/PrivateHeaders" -I"/Users/kevin/tcl-tk-fossil/tk/generic" -I"/Users/kevin/tcl-tk-fossil/tk/unix" -I"/Users/kevin/tcl-tk-fossil/tk/generic/ttk" -I""/Users/kevin/tcl-tk-fossil/tk/xlib"" -I"/Users/kevin/tcl-tk-fossil/tk/macosx" -configure:6168: checking for pthread_mutex_init in -lpthread -configure:6193: gcc -o conftest -pipe conftest.c -lpthread >&5 -configure:6193: $? = 0 -configure:6202: result: yes -configure:6411: checking for building with threads -configure:6417: result: yes (default) -configure:6458: checking how to build libraries -configure:6476: result: shared -configure:6501: checking if 64bit support is requested -configure:6510: result: no -configure:6515: checking if 64bit Sparc VIS support is requested -configure:6524: result: no -configure:6534: checking if compiler supports visibility "hidden" -configure:6554: gcc -o conftest -pipe -Werror conftest.c >&5 -configure:6554: $? = 0 -configure:6563: result: yes -configure:6575: checking if rpath support is requested -configure:6584: result: yes -configure:6609: checking system version -configure:6640: result: Darwin-14.4.0 -configure:6648: checking for dlopen in -ldl -configure:6673: gcc -o conftest -pipe conftest.c -ldl >&5 -configure:6673: $? = 0 -configure:6682: result: yes -configure:6727: checking for ar -configure:6743: found /usr/bin/ar -configure:6754: result: ar -configure:7906: checking if ld accepts -single_module flag -configure:7925: gcc -o conftest -pipe -dynamiclib -Wl,-single_module conftest.c >&5 -configure:7925: $? = 0 -configure:7934: result: yes -configure:7955: checking if ld accepts -search_paths_first flag -configure:7974: gcc -o conftest -pipe -prebind -headerpad_max_install_names -Wl,-search_paths_first conftest.c >&5 -configure:7974: $? = 0 -configure:7983: result: yes -configure:8566: checking for required early compiler flags -configure:8584: gcc -c -pipe conftest.c >&5 -configure:8584: $? = 0 -configure:8631: gcc -c -pipe conftest.c >&5 +configure:4895: result: no +configure:4895: checking for values.h +configure:4895: result: no +configure:4905: checking limits.h usability +configure:4905: gcc -c -pipe conftest.c >&5 +configure:4905: $? = 0 +configure:4905: result: yes +configure:4905: checking limits.h presence +configure:4905: gcc -E conftest.c +configure:4905: $? = 0 +configure:4905: result: yes +configure:4905: checking for limits.h +configure:4905: result: yes +configure:4917: checking for stdlib.h +configure:4917: result: yes +configure:4969: checking for string.h +configure:4969: result: yes +configure:5013: checking sys/wait.h usability +configure:5013: gcc -c -pipe conftest.c >&5 +configure:5013: $? = 0 +configure:5013: result: yes +configure:5013: checking sys/wait.h presence +configure:5013: gcc -E conftest.c +configure:5013: $? = 0 +configure:5013: result: yes +configure:5013: checking for sys/wait.h +configure:5013: result: yes +configure:5023: checking dlfcn.h usability +configure:5023: gcc -c -pipe conftest.c >&5 +configure:5023: $? = 0 +configure:5023: result: yes +configure:5023: checking dlfcn.h presence +configure:5023: gcc -E conftest.c +configure:5023: $? = 0 +configure:5023: result: yes +configure:5023: checking for dlfcn.h +configure:5023: result: yes +configure:5037: checking sys/param.h usability +configure:5037: gcc -c -pipe conftest.c >&5 +configure:5037: $? = 0 +configure:5037: result: yes +configure:5037: checking sys/param.h presence +configure:5037: gcc -E conftest.c +configure:5037: $? = 0 +configure:5037: result: yes +configure:5037: checking for sys/param.h +configure:5037: result: yes +configure:5505: checking for Tcl public headers +configure:5576: result: /Library/Frameworks/Tcl.framework/Headers +configure:5591: checking for Tk public headers +configure:5665: result: /Library/Frameworks/Tk.framework/Headers +configure:5679: checking for X11 header files +configure:5686: result: /Library/Frameworks/Tk.framework/Headers +configure:6062: checking for pthread_mutex_init in -lpthread +configure:6087: gcc -o conftest -pipe conftest.c -lpthread >&5 +configure:6087: $? = 0 +configure:6096: result: yes +configure:6305: checking for building with threads +configure:6311: result: yes (default) +configure:6352: checking how to build libraries +configure:6370: result: shared +configure:6395: checking if 64bit support is requested +configure:6404: result: no +configure:6409: checking if 64bit Sparc VIS support is requested +configure:6418: result: no +configure:6428: checking if compiler supports visibility "hidden" +configure:6448: gcc -o conftest -pipe -Werror conftest.c >&5 +configure:6448: $? = 0 +configure:6457: result: yes +configure:6469: checking if rpath support is requested +configure:6478: result: yes +configure:6503: checking system version +configure:6534: result: Darwin-14.4.0 +configure:6542: checking for dlopen in -ldl +configure:6567: gcc -o conftest -pipe conftest.c -ldl >&5 +configure:6567: $? = 0 +configure:6576: result: yes +configure:6621: checking for ar +configure:6637: found /usr/bin/ar +configure:6648: result: ar +configure:7800: checking if ld accepts -single_module flag +configure:7819: gcc -o conftest -pipe -dynamiclib -Wl,-single_module conftest.c >&5 +configure:7819: $? = 0 +configure:7828: result: yes +configure:7849: checking if ld accepts -search_paths_first flag +configure:7868: gcc -o conftest -pipe -prebind -headerpad_max_install_names -Wl,-search_paths_first conftest.c >&5 +configure:7868: $? = 0 +configure:7877: result: yes +configure:8460: checking for required early compiler flags +configure:8478: gcc -c -pipe conftest.c >&5 +configure:8478: $? = 0 +configure:8525: gcc -c -pipe conftest.c >&5 conftest.c:32:28: warning: 'stat64' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] struct stat64 buf; int i = stat64("/", &buf); ^ /usr/include/sys/stat.h:391:5: note: 'stat64' has been explicitly marked deprecated here int stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_6,__IPHONE_NA,__IPHONE_NA); ^ 1 warning generated. -configure:8631: $? = 0 -configure:8678: gcc -c -pipe conftest.c >&5 +configure:8525: $? = 0 +configure:8572: gcc -c -pipe conftest.c >&5 conftest.c:32:19: error: use of undeclared identifier 'open64' char *p = (char *)open64; ^ 1 error generated. -configure:8678: $? = 1 +configure:8572: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -711,16 +709,16 @@ | { | char *p = (char *)open64; | ; | return 0; | } -configure:8693: gcc -c -pipe conftest.c >&5 +configure:8587: gcc -c -pipe conftest.c >&5 conftest.c:33:19: error: use of undeclared identifier 'open64' char *p = (char *)open64; ^ 1 error generated. -configure:8693: $? = 1 +configure:8587: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -754,18 +752,18 @@ | { | char *p = (char *)open64; | ; | return 0; | } -configure:8711: result: none -configure:8719: checking for 64-bit integer type -configure:8738: gcc -c -pipe conftest.c >&5 +configure:8605: result: none +configure:8613: checking for 64-bit integer type +configure:8632: gcc -c -pipe conftest.c >&5 conftest.c:32:1: error: use of undeclared identifier '__int64' __int64 value = (__int64) 0; ^ 1 error generated. -configure:8738: $? = 1 +configure:8632: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -798,19 +796,19 @@ | { | __int64 value = (__int64) 0; | ; | return 0; | } -configure:8760: gcc -c -pipe conftest.c >&5 +configure:8654: gcc -c -pipe conftest.c >&5 conftest.c:33:26: error: duplicate case value '1' case 1: case (sizeof(long long)==sizeof(long)): ; ^ conftest.c:33:18: note: previous case defined here case 1: case (sizeof(long long)==sizeof(long)): ; ^ 1 error generated. -configure:8760: $? = 1 +configure:8654: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" | #define PACKAGE_VERSION "1.1" @@ -845,18 +843,18 @@ | case 1: case (sizeof(long long)==sizeof(long)): ; | } | ; | return 0; | } -configure:8770: result: using long -configure:8914: checking for build with symbols -configure:8927: result: no -configure:9064: checking for tclsh -configure:9091: result: /usr/local/bin/tclsh8.6 -configure:9096: checking for wish -configure:9123: result: /usr/local/bin/wish8.6 -configure:9288: creating ./config.status +configure:8664: result: using long +configure:8808: checking for build with symbols +configure:8821: result: no +configure:8958: checking for tclsh +configure:8985: result: /usr/local/bin/tclsh8.6 +configure:8990: checking for wish +configure:9017: result: /usr/local/bin/wish8.6 +configure:9182: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## @@ -869,12 +867,12 @@ CONFIG_COMMANDS = $ ./config.status on wordtechweb.com -config.status:818: creating Makefile -config.status:818: creating pkgIndex.tcl +config.status:814: creating Makefile +config.status:814: creating pkgIndex.tcl ## ---------------- ## ## Cache variables. ## ## ---------------- ## @@ -1042,23 +1040,21 @@ TCL_STUB_LIB_FLAG='-ltclstub8.6' TCL_STUB_LIB_SPEC='-L/Library/Frameworks/Tcl.framework -ltclstub8.6' TCL_THREADS='1' TCL_VERSION='8.6' TK_BIN_DIR='/Library/Frameworks/Tk.framework' -TK_INCLUDES='-I"/Library/Frameworks/Tk.framework/Headers" -I"/Library/Frameworks/Tk.framework/PrivateHeaders" -I"/Users/kevin/tcl-tk-fossil/tk/generic" -I"/Users/kevin/tcl-tk-fossil/tk/unix" -I"/Users/kevin/tcl-tk-fossil/tk/generic/ttk" -I""/Users/kevin/tcl-tk-fossil/tk/xlib"" -I"/Users/kevin/tcl-tk-fossil/tk/macosx"' +TK_INCLUDES='-I"/Library/Frameworks/Tk.framework/Headers"' TK_LIBS=' -lpthread -framework CoreFoundation -framework Cocoa -framework Carbon -framework IOKit -lz -lpthread -framework CoreFoundation ' TK_LIB_FILE='Tk' TK_LIB_FLAG='-framework Tk' TK_LIB_SPEC='-F/Library/Frameworks -framework Tk' TK_SRC_DIR='/Users/kevin/tcl-tk-fossil/tk' TK_STUB_LIB_FILE='libtkstub8.6.a' TK_STUB_LIB_FLAG='-ltkstub8.6' TK_STUB_LIB_SPEC='-L/Library/Frameworks/Tk.framework -ltkstub8.6' -TK_TOP_DIR_NATIVE='"/Users/kevin/tcl-tk-fossil/tk"' TK_VERSION='8.6' TK_XINCLUDES='' -TK_XLIB_DIR_NATIVE='"/Users/kevin/tcl-tk-fossil/tk/xlib"' WISH_PROG='/usr/local/bin/wish8.6' XMKMF='' ac_ct_CC='gcc' ac_ct_CXX='' bindir='${exec_prefix}/bin' Index: customfont/config.status ================================================================== --- customfont/config.status +++ customfont/config.status @@ -607,15 +607,11 @@ S["CELIB_DIR"]="" S["AR"]="ar" S["SHARED_BUILD"]="1" S["TCL_THREADS"]="1" S["XMKMF"]="" -S["TK_XLIB_DIR_NATIVE"]="\"/Users/kevin/tcl-tk-fossil/tk/xlib\"" -S["TK_TOP_DIR_NATIVE"]="\"/Users/kevin/tcl-tk-fossil/tk\"" -S["TK_INCLUDES"]="-I\"/Library/Frameworks/Tk.framework/Headers\" -I\"/Library/Frameworks/Tk.framework/PrivateHeaders\" -I\"/Users/kevin/tcl-tk-fossil/tk/generic\" -I\"/Users"\ -"/kevin/tcl-tk-fossil/tk/unix\" -I\"/Users/kevin/tcl-tk-fossil/tk/generic/ttk\" -I\"\"/Users/kevin/tcl-tk-fossil/tk/xlib\"\" -I\"/Users/kevin/tcl-tk-fossil/t"\ -"k/macosx\"" +S["TK_INCLUDES"]="-I\"/Library/Frameworks/Tk.framework/Headers\"" S["TCL_INCLUDES"]="-I\"/Library/Frameworks/Tcl.framework/Headers\"" S["CLEANFILES"]="pkgIndex.tcl" S["PKG_OBJECTS"]=" customfont.o" S["PKG_SOURCES"]=" macosx/customfont.c" S["ac_ct_CXX"]="" Index: customfont/configure ================================================================== --- customfont/configure +++ customfont/configure @@ -642,12 +642,10 @@ CELIB_DIR AR SHARED_BUILD TCL_THREADS XMKMF -TK_XLIB_DIR_NATIVE -TK_TOP_DIR_NATIVE TK_INCLUDES TCL_INCLUDES CLEANFILES PKG_OBJECTS PKG_SOURCES @@ -2237,15 +2235,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test "`uname -s`" != "Darwin" -o \ - "`uname -r | awk -F. '{print $1}'`" -lt 9; then - as_fn_error $? "Mac OS X 10.5 or later required!" "$LINENO" 5 -fi - #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. # This will define a ${TEA_PLATFORM} variable == "unix" or "windows" # as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE. #-------------------------------------------------------------------- @@ -5433,40 +5426,10 @@ PKG_LIBS="$PKG_LIBS $i" done - ## Check if the compiler accepts -static-libstdc++... - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler understands -static-libstdc++" >&5 -$as_echo_n "checking if the compiler understands -static-libstdc++... " >&6; } -if ${tcl_cv_cc_staticlib+:} false; then : - $as_echo_n "(cached) " >&6 -else - - hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -static-libstdc++" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_cc_staticlib=yes -else - tcl_cv_cc_staticlib=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$hold_cflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_staticlib" >&5 -$as_echo "$tcl_cv_cc_staticlib" >&6; } - CLEANFILES="pkgIndex.tcl *.lib *.dll *.exp *.ilk *.pdb vc*.pch" #TEA_ADD_SOURCES([win/winFile.c]) #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"]) else CLEANFILES="pkgIndex.tcl" @@ -5722,80 +5685,11 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${INCLUDE_DIR_NATIVE}" >&5 $as_echo "${INCLUDE_DIR_NATIVE}" >&6; } fi - - # Allow for --with-tkinclude to take effect and define ${ac_cv_c_tkh} - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tk private include files" >&5 -$as_echo_n "checking for Tk private include files... " >&6; } - - TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_SRC_DIR}` - TK_TOP_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}\" - - # Check to see if tkPort.h isn't already with the public headers - # Don't look for tkInt.h because that resides with tk.h in the core - # sources, but the Port headers are in a different directory - if test "${TEA_PLATFORM}" = "windows" -a \ - -f "${ac_cv_c_tkh}/tkWinPort.h"; then - result="private headers found with public headers" - elif test "${TEA_PLATFORM}" = "unix" -a \ - -f "${ac_cv_c_tkh}/tkUnixPort.h"; then - result="private headers found with public headers" - else - TK_GENERIC_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/generic\" - TK_XLIB_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/xlib\" - if test "${TEA_PLATFORM}" = "windows"; then - TK_PLATFORM_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/win\" - else - TK_PLATFORM_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/unix\" - fi - # Overwrite the previous TK_INCLUDES as this should capture both - # public and private headers in the same set. - # We want to ensure these are substituted so as not to require - # any *_NATIVE vars be defined in the Makefile - TK_INCLUDES="-I${TK_GENERIC_DIR_NATIVE} -I${TK_PLATFORM_DIR_NATIVE}" - # Detect and add ttk subdir - if test -d "${TK_SRC_DIR}/generic/ttk"; then - TK_INCLUDES="${TK_INCLUDES} -I\"${TK_SRC_DIR_NATIVE}/generic/ttk\"" - fi - if test "${TEA_WINDOWINGSYSTEM}" != "x11"; then - TK_INCLUDES="${TK_INCLUDES} -I\"${TK_XLIB_DIR_NATIVE}\"" - fi - if test "${TEA_WINDOWINGSYSTEM}" = "aqua"; then - TK_INCLUDES="${TK_INCLUDES} -I\"${TK_SRC_DIR_NATIVE}/macosx\"" - fi - if test "`uname -s`" = "Darwin"; then - # If Tk was built as a framework, attempt to use - # the framework's Headers and PrivateHeaders directories - case ${TK_DEFS} in - *TK_FRAMEWORK*) - if test -d "${TK_BIN_DIR}/Headers" -a \ - -d "${TK_BIN_DIR}/PrivateHeaders"; then - TK_INCLUDES="-I\"${TK_BIN_DIR}/Headers\" -I\"${TK_BIN_DIR}/PrivateHeaders\" ${TK_INCLUDES}" - else - TK_INCLUDES="${TK_INCLUDES} ${TK_INCLUDE_SPEC} `echo "${TK_INCLUDE_SPEC}" | sed -e 's/Headers/PrivateHeaders/'`" - fi - ;; - esac - result="Using ${TK_INCLUDES}" - else - if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then - as_fn_error $? "Cannot find private header tkInt.h in ${TK_SRC_DIR}" "$LINENO" 5 - fi - result="Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}" - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${result}" >&5 -$as_echo "${result}" >&6; } - +#TEA_PRIVATE_TK_HEADERS if test "${TEA_WINDOWINGSYSTEM}" = "x11" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 $as_echo_n "checking for X... " >&6; } Index: customfont/configure.in ================================================================== --- customfont/configure.in +++ customfont/configure.in @@ -14,15 +14,10 @@ # so you can encode the package version directly into the source files. #----------------------------------------------------------------------- AC_INIT([customfont], [1.1]) -if test "`uname -s`" != "Darwin" -o \ - "`uname -r | awk -F. '{print [$]1}'`" -lt 9; then - AC_MSG_ERROR([Mac OS X 10.5 or later required!]) -fi - #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. # This will define a ${TEA_PLATFORM} variable == "unix" or "windows" # as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE. #-------------------------------------------------------------------- @@ -89,23 +84,15 @@ # files. # # TEA_ADD_* any platform specific compiler/build info here. #-------------------------------------------------------------------- if test "${TEA_PLATFORM}" = "windows" ; then - AC_PROG_CXX - CC=$CXX + TEA_ADD_CFLAGS([-DUNICODE -D_UNICODE]) TEA_ADD_SOURCES([win/customfont_win.c]) TEA_ADD_LIBS(kernel32.lib user32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib gdi32.lib) - ## Check if the compiler accepts -static-libstdc++... - AC_CACHE_CHECK([if the compiler understands -static-libstdc++], - tcl_cv_cc_staticlib, [ - hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -static-libstdc++" - AC_TRY_COMPILE(,, tcl_cv_cc_staticlib=yes, tcl_cv_cc_staticlib=no) - CFLAGS=$hold_cflags]) - CLEANFILES="pkgIndex.tcl *.lib *.dll *.exp *.ilk *.pdb vc*.pch" #TEA_ADD_SOURCES([win/winFile.c]) #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"]) else CLEANFILES="pkgIndex.tcl" @@ -133,11 +120,11 @@ TEA_PUBLIC_TCL_HEADERS #TEA_PRIVATE_TCL_HEADERS TEA_PUBLIC_TK_HEADERS -TEA_PRIVATE_TK_HEADERS +#TEA_PRIVATE_TK_HEADERS TEA_PATH_X #-------------------------------------------------------------------- # Check whether --enable-threads or --disable-threads was given. # This auto-enables if Tcl was compiled threaded.