Index: customfont/Makefile ================================================================== --- customfont/Makefile +++ customfont/Makefile @@ -50,12 +50,12 @@ #======================================================================== # "PKG_LIB_FILE" refers to the library (dynamic or static as per # configuration options) composed of the named objects. #======================================================================== -PKG_LIB_FILE = libcustomfont1.0.dylib -PKG_STUB_LIB_FILE = libcustomfontstub1.0.a +PKG_LIB_FILE = libcustomfont1.1.dylib +PKG_STUB_LIB_FILE = libcustomfontstub1.1.a lib_BINARIES = $(PKG_LIB_FILE) BINARIES = $(lib_BINARIES) SHELL = /bin/sh @@ -85,32 +85,32 @@ INSTALL_LIBRARY = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL} PACKAGE_NAME = customfont -PACKAGE_VERSION = 1.0 -CC = gcc -CFLAGS_DEFAULT = -Os -arch i386 -arch x86_64 +PACKAGE_VERSION = 1.1 +CC = gcc +CFLAGS_DEFAULT = -Os CFLAGS_WARNING = -Wall EXEEXT = -LDFLAGS_DEFAULT = -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first +LDFLAGS_DEFAULT = -prebind -headerpad_max_install_names -Wl,-search_paths_first MAKE_LIB = ${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} MAKE_SHARED_LIB = ${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} MAKE_STATIC_LIB = ${STLIB_LD} $@ $(PKG_OBJECTS) MAKE_STUB_LIB = ${STLIB_LD} $@ $(PKG_STUB_OBJECTS) OBJEXT = o RANLIB = : RANLIB_STUB = ranlib SHLIB_CFLAGS = -fno-common -SHLIB_LD = ${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 1.0 -compatibility_version 1.0 -SHLIB_LD_LIBS = ${LIBS} -L/Library/Frameworks/Tcl.framework -ltclstub8.5 -L/Library/Frameworks/Tk.framework -ltkstub8.5 +SHLIB_LD = ${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 1.1 -compatibility_version 1.1 +SHLIB_LD_LIBS = ${LIBS} -L/Library/Frameworks/Tcl.framework -ltclstub8.6 -L/Library/Frameworks/Tk.framework -ltkstub8.6 STLIB_LD = ${AR} cr -#TCL_DEFS = -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -DHAVE_CPUID=1 -DTCL_FRAMEWORK=1 +#TCL_DEFS = -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_USLEEP=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -DHAVE_CPUID=1 -DTCL_FRAMEWORK=1 TCL_BIN_DIR = /Library/Frameworks/Tcl.framework -TCL_SRC_DIR = /Users/kevin/tcl-tk-85-main-merge/tcl +TCL_SRC_DIR = /Users/kevin/tcl-tk-fossil/tcl TK_BIN_DIR = /Library/Frameworks/Tk.framework -TK_SRC_DIR = /Users/kevin/tcl-tk-85-main-merge/tk +TK_SRC_DIR = /Users/kevin/tcl-tk-fossil/tk # Not used, but retained for reference of what libs Tcl required #TCL_LIBS = ${DL_LIBS} ${LIBS} ${MATH_LIBS} #======================================================================== @@ -126,40 +126,40 @@ TCLSH_ENV = TCL_LIBRARY=`echo $(TCL_SRC_DIR)/library` PKG_ENV = DYLD_LIBRARY_PATH="$(EXTRA_PATH):$(DYLD_LIBRARY_PATH)" \ PATH="$(EXTRA_PATH):$(PATH)" \ TCLLIBPATH="$(TCLLIBPATH)" -TCLSH_PROG = /usr/local/bin/tclsh8.5 +TCLSH_PROG = /usr/local/bin/tclsh8.6 TCLSH = $(PKG_ENV) $(TCLSH_ENV) $(TCLSH_PROG) WISH_ENV = TK_LIBRARY=`echo $(TK_SRC_DIR)/library` -WISH_PROG = /usr/local/bin/wish8.5 +WISH_PROG = /usr/local/bin/wish8.6 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-85-main-merge/tk/generic" -I"/Users/kevin/tcl-tk-85-main-merge/tk/unix" -I"/Users/kevin/tcl-tk-85-main-merge/tk/generic/ttk" -I""/Users/kevin/tcl-tk-85-main-merge/tk/xlib"" -I"/Users/kevin/tcl-tk-85-main-merge/tk/macosx" +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" -PKG_CFLAGS = -std=gnu99 -fobjc-gc +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 # that your library may use. TCL_DEFS can actually be a problem if # you do not compile with a similar machine setup as the Tcl core was # compiled with. -#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"customfont\" -DPACKAGE_TARNAME=\"customfont\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"customfont\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAC_OSX_TK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DAC_APPLE_UNIVERSAL_BUILD=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 $(PKG_CFLAGS) -DEFS = -DPACKAGE_NAME=\"customfont\" -DPACKAGE_TARNAME=\"customfont\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"customfont\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAC_OSX_TK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DAC_APPLE_UNIVERSAL_BUILD=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 $(PKG_CFLAGS) +#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"customfont\" -DPACKAGE_TARNAME=\"customfont\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"customfont\ 1.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAC_OSX_TK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 $(PKG_CFLAGS) +DEFS = -DPACKAGE_NAME=\"customfont\" -DPACKAGE_TARNAME=\"customfont\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"customfont\ 1.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAC_OSX_TK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 $(PKG_CFLAGS) # Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl -CLEANFILES = +CLEANFILES = pkgIndex.tcl CPPFLAGS = LIBS = -framework Cocoa -framework CoreFoundation -framework CoreServices AR = ar -CFLAGS = -arch i386 -fobjc-gc -framework Cocoa -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} +CFLAGS = -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) #======================================================================== # Start of user-definable TARGETS section #======================================================================== Index: customfont/config.log ================================================================== --- customfont/config.log +++ customfont/config.log @@ -1,286 +1,350 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by customfont configure 1.0, which was +It was created by customfont configure 1.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr/local --libdir=/Library/Tcl --with-tcl=/Library/Frameworks/Tcl.framework --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers --with-tk=/Library/Frameworks/Tk.framework --with-tkinclude=/Library/Frameworks/Tk.framework/Headers --enable-threads ## --------- ## ## Platform. ## ## --------- ## -hostname = Kevin-Walzers-MacBook-7.local +hostname = wordtechweb.com uname -m = x86_64 -uname -r = 13.0.0 +uname -r = 14.4.0 uname -s = Darwin -uname -v = Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 +uname -v = Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: - Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 -Kernel configured for up to 2 processors. + Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 +Kernel configured for up to 4 processors. 2 processors are physically available. -2 processors are logically available. -Processor type: i486 (Intel 80486) -Processors active: 0 1 -Primary memory available: 4.00 gigabytes -Default processor set: 189 tasks, 819 threads, 2 processors -Load average: 1.71, Mach factor: 0.49 +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 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown -PATH: /opt/local/bin -PATH: /opt/local/sbin -PATH: /Library/Frameworks/Python.framework/Versions/2.7/bin +PATH: /Library/Frameworks/Python.framework/Versions/Current/bin PATH: /Library/Frameworks/Python.framework/Versions/Current/bin +PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin -PATH: /usr/local/bin PATH: /opt/X11/bin +PATH: /opt/Ghostscript/bin +PATH: /usr/local/git/bin +PATH: /opt/ImageMagick/bin PATH: /usr/local/bin -PATH: /usr/local/ImageMagick/bin +PATH: /opt/ImageMagick/bin +PATH: /opt/GhostScript/bin PATH: /opt/local/bin -PATH: /sw/bin +PATH: /opt/local/sbin +PATH: sw/bin PATH: /usr/local/phonegap +PATH: /Users/kevin/android/adt-bundle/sdk/tools +PATH: /Users/kevin/android/adt-bundle/sdk/platform-tools +PATH: /usr/local/apache-ant/bin +PATH: //Users/kevin/Downloads/jruby-1.7.16/bin ## ----------- ## ## Core tests. ## ## ----------- ## -configure:2212: checking for correct TEA configuration -configure:2225: result: ok (TEA 3.7) -configure:2357: checking for Tcl configuration -configure:2479: result: found /Library/Frameworks/Tcl.framework/tclConfig.sh -configure:2485: checking for existence of /Library/Frameworks/Tcl.framework/tclConfig.sh -configure:2489: result: loading -configure:2580: checking for Tk configuration -configure:2702: result: found /Library/Frameworks/Tk.framework/tkConfig.sh -configure:2708: checking for existence of /Library/Frameworks/Tk.framework/tkConfig.sh -configure:2712: result: loading -configure:2818: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/local -configure:2850: checking for a BSD-compatible install -configure:2918: result: /usr/bin/install -c -configure:2987: checking for gcc -configure:3014: result: gcc -configure:3243: checking for C compiler version -configure:3252: gcc --version >&5 -Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) -Target: x86_64-apple-darwin13.0.0 -Thread model: posix -Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 -configure:3263: $? = 0 -configure:3252: gcc -v >&5 -Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 -Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) -Target: x86_64-apple-darwin13.0.0 -Thread model: posix -configure:3263: $? = 0 -configure:3252: gcc -V >&5 -clang: error: argument to '-V' is missing (expected 1 value) -clang: error: no input files -configure:3263: $? = 1 -configure:3252: gcc -qversion >&5 -clang: error: no input files -configure:3263: $? = 1 -configure:3283: checking whether the C compiler works -configure:3305: gcc -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:3309: $? = 0 -configure:3357: result: yes -configure:3360: checking for C compiler default output file name -configure:3362: result: a.out -configure:3368: checking for suffix of executables -configure:3375: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:3379: $? = 0 -configure:3401: result: -configure:3423: checking whether we are cross compiling -configure:3431: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:3435: $? = 0 -configure:3442: ./conftest -configure:3446: $? = 0 -configure:3461: result: no -configure:3466: checking for suffix of object files -configure:3488: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:3492: $? = 0 -configure:3513: result: o -configure:3517: checking whether we are using the GNU C compiler -configure:3536: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:3536: $? = 0 -configure:3545: result: yes -configure:3554: checking whether gcc accepts -g -configure:3574: gcc -c -g conftest.c >&5 -configure:3574: $? = 0 -configure:3615: result: yes -configure:3632: checking for gcc option to accept ISO C89 -configure:3695: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:3695: $? = 0 -configure:3708: result: none needed -configure:3733: checking how to run the C preprocessor -configure:3764: gcc -E conftest.c -configure:3764: $? = 0 -configure:3778: gcc -E conftest.c -conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found -#include - ^ -1 error generated. -configure:3778: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| /* end confdefs.h. */ -| #include -configure:3803: result: gcc -E -configure:3823: gcc -E conftest.c -configure:3823: $? = 0 -configure:3837: gcc -E conftest.c -conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found -#include - ^ -1 error generated. -configure:3837: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| /* end confdefs.h. */ -| #include -configure:3872: checking whether make sets $(MAKE) -configure:3894: result: yes -configure:3951: checking for ranlib -configure:3967: found /usr/bin/ranlib -configure:3978: result: ranlib -configure:4010: checking for grep that handles long lines and -e -configure:4068: result: /usr/bin/grep -configure:4073: checking for egrep -configure:4135: result: /usr/bin/grep -E -configure:4140: checking for ANSI C header files -configure:4160: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4160: $? = 0 -configure:4233: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:4233: $? = 0 -configure:4233: ./conftest -configure:4233: $? = 0 -configure:4244: result: yes -configure:4257: checking for sys/types.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for sys/stat.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for stdlib.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for string.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for memory.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for strings.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for inttypes.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for stdint.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4257: checking for unistd.h -configure:4257: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4257: $? = 0 -configure:4257: result: yes -configure:4279: checking if the compiler understands -pipe -configure:4297: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4297: $? = 0 -configure:4305: result: yes -configure:4316: checking whether byte ordering is bigendian -configure:4331: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4331: $? = 0 -configure:4522: result: universal -configure:4549: checking for sin -configure:4549: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -conftest.c:44:6: warning: incompatible redeclaration of library function 'sin' [-Wincompatible-library-redeclaration] -char sin (); - ^ -conftest.c:44:6: note: 'sin' is a builtin with type 'double (double)' -1 warning generated. -conftest.c:44:6: warning: incompatible redeclaration of library function 'sin' [-Wincompatible-library-redeclaration] -char sin (); - ^ -conftest.c:44:6: note: 'sin' is a builtin with type 'double (double)' -1 warning generated. -configure:4549: $? = 0 -configure:4549: result: yes -configure:4556: checking for main in -lieee -configure:4575: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa 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:4575: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 +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: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "customfont" +| #define PACKAGE_TARNAME "customfont" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" +| #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 +conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found +#include + ^ +1 error generated. +configure:3883: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "customfont" +| #define PACKAGE_TARNAME "customfont" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" +| #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 +conftest.c:27:4: error: use of undeclared identifier 'not' + not big endian + ^ +1 error generated. +configure:4440: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "customfont" +| #define PACKAGE_TARNAME "customfont" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define MAC_OSX_TK 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #include +| +| int +| main () +| { +| #if BYTE_ORDER != BIG_ENDIAN +| not big endian +| #endif +| +| ; +| return 0; +| } +configure:4568: result: no +configure:4595: checking for sin +configure:4595: 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 +ld: library not found for -lieee +clang: error: linker command failed with exit code 1 (use -v to see invocation) +configure:4621: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "customfont" +| #define PACKAGE_TARNAME "customfont" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define MAC_OSX_TK 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| +| +| int +| main () +| { +| 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 +ld: library not found for -linet +clang: error: linker command failed with exit code 1 (use -v to see invocation) +configure:4661: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "customfont" +| #define PACKAGE_TARNAME "customfont" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define MAC_OSX_TK 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | | | int | main () @@ -287,61 +351,24 @@ | { | return main (); | ; | return 0; | } -configure:4584: result: no -configure:4596: checking for main in -linet -configure:4615: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa 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:4615: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 -| /* end confdefs.h. */ -| -| -| int -| main () -| { -| return main (); -| ; -| return 0; -| } -configure:4624: result: no -configure:4630: checking net/errno.h usability -configure:4630: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:54:10: fatal error: 'net/errno.h' file not found +configure:4670: result: no +configure:4676: checking net/errno.h usability +configure:4676: gcc -c -pipe conftest.c >&5 +conftest.c:53:10: fatal error: 'net/errno.h' file not found #include ^ 1 error generated. -configure:4630: $? = 1 +configure:4676: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 @@ -351,11 +378,10 @@ | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif @@ -387,91 +413,87 @@ | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include -configure:4630: result: no -configure:4630: checking net/errno.h presence -configure:4630: gcc -E conftest.c -conftest.c:21:10: fatal error: 'net/errno.h' file not found -#include - ^ -1 error generated. -configure:4630: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 -| /* end confdefs.h. */ -| #include -configure:4630: result: no -configure:4630: checking for net/errno.h -configure:4630: result: no -configure:4659: checking for connect -configure:4659: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:4659: $? = 0 -configure:4659: result: yes -configure:4727: checking for gethostbyname -configure:4727: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:4727: $? = 0 -configure:4727: result: yes -configure:4782: checking dirent.h -configure:4818: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:4818: $? = 0 -configure:4826: result: yes -configure:4836: checking errno.h usability -configure:4836: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4836: $? = 0 -configure:4836: result: yes -configure:4836: checking errno.h presence -configure:4836: gcc -E conftest.c -configure:4836: $? = 0 -configure:4836: result: yes -configure:4836: checking for errno.h -configure:4836: result: yes -configure:4846: checking float.h usability -configure:4846: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4846: $? = 0 -configure:4846: result: yes -configure:4846: checking float.h presence -configure:4846: gcc -E conftest.c -configure:4846: $? = 0 -configure:4846: result: yes -configure:4846: checking for float.h -configure:4846: result: yes -configure:4856: checking values.h usability -configure:4856: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:54:10: fatal error: 'values.h' file not found -#include - ^ -1 error generated. -configure:4856: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" +configure:4676: result: no +configure:4676: checking net/errno.h presence +configure:4676: gcc -E conftest.c +conftest.c:20:10: fatal error: 'net/errno.h' file not found +#include + ^ +1 error generated. +configure:4676: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "customfont" +| #define PACKAGE_TARNAME "customfont" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define MAC_OSX_TK 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #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 +conftest.c:53:10: fatal error: 'values.h' file not found +#include + ^ +1 error generated. +configure:4902: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "customfont" +| #define PACKAGE_TARNAME "customfont" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 @@ -481,11 +503,10 @@ | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif @@ -517,24 +538,24 @@ | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include -configure:4856: result: no -configure:4856: checking values.h presence -configure:4856: gcc -E conftest.c -conftest.c:21:10: fatal error: 'values.h' file not found +configure:4902: result: no +configure:4902: checking values.h presence +configure:4902: gcc -E conftest.c +conftest.c:20:10: fatal error: 'values.h' file not found #include ^ 1 error generated. -configure:4856: $? = 1 +configure:4902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 @@ -544,121 +565,126 @@ | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 | /* end confdefs.h. */ | #include -configure:4856: result: no -configure:4856: checking for values.h -configure:4856: result: no -configure:4866: checking limits.h usability -configure:4866: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4866: $? = 0 -configure:4866: result: yes -configure:4866: checking limits.h presence -configure:4866: gcc -E conftest.c -configure:4866: $? = 0 -configure:4866: result: yes -configure:4866: checking for limits.h -configure:4866: result: yes -configure:4878: checking for stdlib.h -configure:4878: result: yes -configure:4930: checking for string.h -configure:4930: result: yes -configure:4974: checking sys/wait.h usability -configure:4974: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4974: $? = 0 -configure:4974: result: yes -configure:4974: checking sys/wait.h presence -configure:4974: gcc -E conftest.c -configure:4974: $? = 0 -configure:4974: result: yes -configure:4974: checking for sys/wait.h -configure:4974: result: yes -configure:4984: checking dlfcn.h usability -configure:4984: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4984: $? = 0 -configure:4984: result: yes -configure:4984: checking dlfcn.h presence -configure:4984: gcc -E conftest.c -configure:4984: $? = 0 -configure:4984: result: yes -configure:4984: checking for dlfcn.h -configure:4984: result: yes -configure:4998: checking sys/param.h usability -configure:4998: gcc -c -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:4998: $? = 0 -configure:4998: result: yes -configure:4998: checking sys/param.h presence -configure:4998: gcc -E conftest.c -configure:4998: $? = 0 -configure:4998: result: yes -configure:4998: checking for sys/param.h -configure:4998: result: yes -configure:5159: checking for Tcl public headers -configure:5230: result: /Library/Frameworks/Tcl.framework/Headers -configure:5245: checking for Tk public headers -configure:5319: result: /Library/Frameworks/Tk.framework/Headers -configure:5333: checking for X11 header files -configure:5340: result: /Library/Frameworks/Tk.framework/Headers -configure:5347: checking for Tk private include files -configure:5411: result: Using -I"/Library/Frameworks/Tk.framework/Headers" -I"/Library/Frameworks/Tk.framework/PrivateHeaders" -I"/Users/kevin/tcl-tk-85-main-merge/tk/generic" -I"/Users/kevin/tcl-tk-85-main-merge/tk/unix" -I"/Users/kevin/tcl-tk-85-main-merge/tk/generic/ttk" -I""/Users/kevin/tcl-tk-85-main-merge/tk/xlib"" -I"/Users/kevin/tcl-tk-85-main-merge/tk/macosx" -configure:5785: checking for pthread_mutex_init in -lpthread -configure:5810: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c -lpthread >&5 -configure:5810: $? = 0 -configure:5819: result: yes -configure:6028: checking for building with threads -configure:6034: result: yes (default) -configure:6075: checking how to build libraries -configure:6093: result: shared -configure:6118: checking if 64bit support is requested -configure:6127: result: no -configure:6132: checking if 64bit Sparc VIS support is requested -configure:6141: result: no -configure:6151: checking if compiler supports visibility "hidden" -configure:6171: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -Werror -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c >&5 -configure:6171: $? = 0 -configure:6180: result: yes -configure:6192: checking if rpath support is requested -configure:6201: result: yes -configure:6226: checking system version -configure:6257: result: Darwin-13.0.0 -configure:6265: checking for dlopen in -ldl -configure:6290: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa conftest.c -ldl >&5 -configure:6290: $? = 0 -configure:6299: result: yes -configure:6344: checking for ar -configure:6360: found /usr/bin/ar -configure:6371: result: ar -configure:7523: checking if ld accepts -single_module flag -configure:7542: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -dynamiclib -Wl,-single_module conftest.c >&5 -configure:7542: $? = 0 -configure:7551: result: yes -configure:7572: checking if ld accepts -search_paths_first flag -configure:7591: gcc -o conftest -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first conftest.c >&5 -configure:7591: $? = 0 -configure:7600: result: yes -configure:7662: checking for 64-bit Tk -configure:7684: gcc -o conftest -arch x86_64 -fobjc-gc -framework Cocoa -pipe -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -I"/Library/Frameworks/Tcl.framework/Headers" -I"/Library/Frameworks/Tk.framework/Headers" -I"/Library/Frameworks/Tk.framework/PrivateHeaders" -I"/Users/kevin/tcl-tk-85-main-merge/tk/generic" -I"/Users/kevin/tcl-tk-85-main-merge/tk/unix" -I"/Users/kevin/tcl-tk-85-main-merge/tk/generic/ttk" -I""/Users/kevin/tcl-tk-85-main-merge/tk/xlib"" -I"/Users/kevin/tcl-tk-85-main-merge/tk/macosx" -arch x86_64 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first -L/Library/Frameworks/Tcl.framework -ltclstub8.5 -L/Library/Frameworks/Tk.framework -ltkstub8.5 conftest.c >&5 -In file included from conftest.c:29: -/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/tk.h:75:11: fatal error: 'X11/Xlib.h' file not found -# 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 +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 +conftest.c:32:19: error: use of undeclared identifier 'open64' +char *p = (char *)open64; + ^ 1 error generated. -configure:7684: $? = 1 +configure:8678: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 @@ -668,71 +694,10 @@ | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 -| #define NO_VALUES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_SYS_PARAM_H 1 -| #define USE_THREAD_ALLOC 1 -| #define _REENTRANT 1 -| #define _THREAD_SAFE 1 -| #define TCL_THREADS 1 -| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| Tk_InitStubs(NULL, "", 0); -| ; -| return 0; -| } -configure:7695: result: no -configure:7703: Removing 64-bit architectures from compiler & linker flags -configure:8183: checking for required early compiler flags -configure:8201: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:8201: $? = 0 -configure:8248: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:33:28: warning: 'stat64' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] -struct stat64 buf; int i = stat64("/", &buf); - ^ -/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/sys/stat.h:380:5: note: 'stat64' declared 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:8248: $? = 0 -configure:8295: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:33:19: error: use of undeclared identifier 'open64' -char *p = (char *)open64; - ^ -1 error generated. -configure:8295: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 | #define NO_VALUES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_PARAM_H 1 | #define USE_THREAD_ALLOC 1 | #define _REENTRANT 1 @@ -746,23 +711,22 @@ | { | char *p = (char *)open64; | ; | return 0; | } -configure:8310: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:34:19: error: use of undeclared identifier 'open64' +configure:8693: gcc -c -pipe conftest.c >&5 +conftest.c:33:19: error: use of undeclared identifier 'open64' char *p = (char *)open64; ^ 1 error generated. -configure:8310: $? = 1 +configure:8693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 @@ -772,11 +736,10 @@ | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 | #define NO_VALUES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_PARAM_H 1 | #define USE_THREAD_ALLOC 1 | #define _REENTRANT 1 @@ -791,25 +754,24 @@ | { | char *p = (char *)open64; | ; | return 0; | } -configure:8328: result: none -configure:8336: checking for 64-bit integer type -configure:8355: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:33:1: error: use of undeclared identifier '__int64' +configure:8711: result: none +configure:8719: checking for 64-bit integer type +configure:8738: gcc -c -pipe conftest.c >&5 +conftest.c:32:1: error: use of undeclared identifier '__int64' __int64 value = (__int64) 0; ^ 1 error generated. -configure:8355: $? = 1 +configure:8738: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 @@ -819,11 +781,10 @@ | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 | #define NO_VALUES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_PARAM_H 1 | #define USE_THREAD_ALLOC 1 | #define _REENTRANT 1 @@ -837,31 +798,25 @@ | { | __int64 value = (__int64) 0; | ; | return 0; | } -configure:8377: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:8377: $? = 0 -configure:8401: result: long long -configure:8405: checking for struct dirent64 -configure:8423: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:35:17: error: variable has incomplete type 'struct dirent64' -struct dirent64 p; - ^ -conftest.c:35:8: note: forward declaration of 'struct dirent64' -struct dirent64 p; - ^ +configure:8760: 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:8423: $? = 1 +configure:8760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "customfont" | #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" +| #define PACKAGE_VERSION "1.1" +| #define PACKAGE_STRING "customfont 1.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MAC_OSX_TK 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 @@ -871,291 +826,82 @@ | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 | #define NO_VALUES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_SYS_PARAM_H 1 | #define USE_THREAD_ALLOC 1 | #define _REENTRANT 1 | #define _THREAD_SAFE 1 | #define TCL_THREADS 1 | #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) -| #define TCL_WIDE_INT_TYPE long long -| /* end confdefs.h. */ -| #include -| #include -| int -| main () -| { -| struct dirent64 p; -| ; -| return 0; -| } -configure:8430: result: no -configure:8438: checking for struct stat64 -configure:8456: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -configure:8456: $? = 0 -configure:8463: result: yes -configure:8474: checking for open64 -configure:8474: gcc -o conftest -arch i386 -fobjc-gc -framework Cocoa -pipe -arch i386 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first conftest.c >&5 -Undefined symbols for architecture i386: - "_open64", referenced from: - _main in conftest-tqxHcw.o -ld: symbol(s) not found for architecture i386 -clang: error: linker command failed with exit code 1 (use -v to see invocation) -configure:8474: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 -| #define NO_VALUES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_SYS_PARAM_H 1 -| #define USE_THREAD_ALLOC 1 -| #define _REENTRANT 1 -| #define _THREAD_SAFE 1 -| #define TCL_THREADS 1 -| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| /* end confdefs.h. */ -| /* Define open64 to an innocuous variant, in case declares open64. -| For example, HP-UX 11i declares gettimeofday. */ -| #define open64 innocuous_open64 -| -| /* System header to define __stub macros and hopefully few prototypes, -| which can conflict with char open64 (); below. -| Prefer to if __STDC__ is defined, since -| exists even on freestanding compilers. */ -| -| #ifdef __STDC__ -| # include -| #else -| # include -| #endif -| -| #undef open64 -| -| /* Override any GCC internal prototype to avoid an error. -| Use char because int might match the return type of a GCC -| builtin and then its argument prototype would still apply. */ -| #ifdef __cplusplus -| extern "C" -| #endif -| char open64 (); -| /* The GNU C library defines this for functions which it implements -| to always fail with ENOSYS. Some functions are actually named -| something starting with __ and the normal name is an alias. */ -| #if defined __stub_open64 || defined __stub___open64 -| choke me -| #endif -| -| int -| main () -| { -| return open64 (); -| ; -| return 0; -| } -configure:8474: result: no -configure:8474: checking for lseek64 -configure:8474: gcc -o conftest -arch i386 -fobjc-gc -framework Cocoa -pipe -arch i386 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first conftest.c >&5 -Undefined symbols for architecture i386: - "_lseek64", referenced from: - _main in conftest-0Wvebt.o -ld: symbol(s) not found for architecture i386 -clang: error: linker command failed with exit code 1 (use -v to see invocation) -configure:8474: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 -| #define NO_VALUES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_SYS_PARAM_H 1 -| #define USE_THREAD_ALLOC 1 -| #define _REENTRANT 1 -| #define _THREAD_SAFE 1 -| #define TCL_THREADS 1 -| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| /* end confdefs.h. */ -| /* Define lseek64 to an innocuous variant, in case declares lseek64. -| For example, HP-UX 11i declares gettimeofday. */ -| #define lseek64 innocuous_lseek64 -| -| /* System header to define __stub macros and hopefully few prototypes, -| which can conflict with char lseek64 (); below. -| Prefer to if __STDC__ is defined, since -| exists even on freestanding compilers. */ -| -| #ifdef __STDC__ -| # include -| #else -| # include -| #endif -| -| #undef lseek64 -| -| /* Override any GCC internal prototype to avoid an error. -| Use char because int might match the return type of a GCC -| builtin and then its argument prototype would still apply. */ -| #ifdef __cplusplus -| extern "C" -| #endif -| char lseek64 (); -| /* The GNU C library defines this for functions which it implements -| to always fail with ENOSYS. Some functions are actually named -| something starting with __ and the normal name is an alias. */ -| #if defined __stub_lseek64 || defined __stub___lseek64 -| choke me -| #endif -| -| int -| main () -| { -| return lseek64 (); -| ; -| return 0; -| } -configure:8474: result: no -configure:8483: checking for off64_t -configure:8501: gcc -c -arch i386 -fobjc-gc -framework Cocoa -pipe conftest.c >&5 -clang: warning: -framework Cocoa: 'linker' input unused -conftest.c:35:1: error: unknown type name 'off64_t'; did you mean 'off_t'? -off64_t offset; -^~~~~~~ -off_t -/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/sys/_types/_off_t.h:30:25: note: 'off_t' declared here -typedef __darwin_off_t off_t; - ^ -1 error generated. -configure:8501: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "customfont" -| #define PACKAGE_TARNAME "customfont" -| #define PACKAGE_VERSION "1.0" -| #define PACKAGE_STRING "customfont 1.0" -| #define PACKAGE_BUGREPORT "" -| #define PACKAGE_URL "" -| #define MAC_OSX_TK 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define AC_APPLE_UNIVERSAL_BUILD 1 -| #define NO_VALUES_H 1 -| #define HAVE_LIMITS_H 1 -| #define HAVE_SYS_PARAM_H 1 -| #define USE_THREAD_ALLOC 1 -| #define _REENTRANT 1 -| #define _THREAD_SAFE 1 -| #define TCL_THREADS 1 -| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| off64_t offset; -| -| ; -| return 0; -| } -configure:8518: result: no -configure:8531: checking for build with symbols -configure:8544: result: no -configure:8681: checking for tclsh -configure:8708: result: /usr/local/bin/tclsh8.5 -configure:8713: checking for wish -configure:8740: result: /usr/local/bin/wish8.5 -configure:8905: creating ./config.status +| /* end confdefs.h. */ +| +| int +| main () +| { +| switch (0) { +| 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 ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## -This file was extended by customfont config.status 1.0, which was +This file was extended by customfont config.status 1.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status -on Kevin-Walzers-MacBook-7.local +on wordtechweb.com -config.status:813: creating Makefile -config.status:813: creating pkgIndex.tcl +config.status:818: creating Makefile +config.status:818: creating pkgIndex.tcl ## ---------------- ## ## Cache variables. ## ## ---------------- ## -ac_cv_c_bigendian=universal +ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_tclconfig=/Library/Frameworks/Tcl.framework ac_cv_c_tclh=/Library/Frameworks/Tcl.framework/Headers ac_cv_c_tkconfig=/Library/Frameworks/Tk.framework ac_cv_c_tkh=/Library/Frameworks/Tk.framework/Headers -ac_cv_env_CC_set=set -ac_cv_env_CC_value='gcc ' -ac_cv_env_CFLAGS_set=set -ac_cv_env_CFLAGS_value='-arch i386 -arch x86_64 -fobjc-gc -framework Cocoa' +ac_cv_env_CCC_set= +ac_cv_env_CCC_value= +ac_cv_env_CC_set= +ac_cv_env_CC_value= +ac_cv_env_CFLAGS_set= +ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= -ac_cv_env_LDFLAGS_set=set -ac_cv_env_LDFLAGS_value=' -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa' +ac_cv_env_CXXFLAGS_set= +ac_cv_env_CXXFLAGS_value= +ac_cv_env_CXX_set= +ac_cv_env_CXX_value= +ac_cv_env_LDFLAGS_set= +ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_build_alias_set= @@ -1164,12 +910,10 @@ ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_connect=yes ac_cv_func_gethostbyname=yes -ac_cv_func_lseek64=no -ac_cv_func_open64=no ac_cv_func_sin=yes ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_float_h=yes ac_cv_header_inttypes_h=yes @@ -1194,12 +938,12 @@ ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AR=ar -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_ac_ct_CC='gcc ' +ac_cv_prog_CPP='gcc -E' +ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes tcl_cv_cc_pipe=yes @@ -1208,34 +952,32 @@ tcl_cv_flag__isoc99_source=no tcl_cv_flag__largefile64_source=no tcl_cv_flag__largefile_source64=no tcl_cv_ld_search_paths_first=yes tcl_cv_ld_single_module=yes -tcl_cv_lib_tk_64=no -tcl_cv_struct_dirent64=no -tcl_cv_struct_stat64=yes -tcl_cv_sys_version=Darwin-13.0.0 -tcl_cv_type_64bit='long long' -tcl_cv_type_off64_t=no +tcl_cv_sys_version=Darwin-14.4.0 +tcl_cv_type_64bit=none ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' -CC='gcc ' +CC='gcc' CELIB_DIR='' -CFLAGS='-arch i386 -fobjc-gc -framework Cocoa -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} ' +CFLAGS='-pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} ' CFLAGS_DEBUG='-g' CFLAGS_DEFAULT='-Os' CFLAGS_OPTIMIZE='-Os' CFLAGS_WARNING='-Wall' -CLEANFILES='' -CPP='gcc -E' +CLEANFILES='pkgIndex.tcl' +CPP='gcc -E' CPPFLAGS='' +CXX='' +CXXFLAGS='' CYGPATH='echo' -DEFS='-DPACKAGE_NAME=\"customfont\" -DPACKAGE_TARNAME=\"customfont\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"customfont\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAC_OSX_TK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DAC_APPLE_UNIVERSAL_BUILD=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1' +DEFS='-DPACKAGE_NAME=\"customfont\" -DPACKAGE_TARNAME=\"customfont\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"customfont\ 1.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAC_OSX_TK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1' DL_LIBS='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='/usr/bin/grep -E' @@ -1242,12 +984,12 @@ EXEEXT='' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' -LDFLAGS=' -arch i386 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first ' -LDFLAGS_DEFAULT=' -arch i386 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first ' +LDFLAGS=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' +LDFLAGS_DEFAULT=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' LD_LIBRARY_PATH_VAR='DYLD_LIBRARY_PATH' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKE_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} ' @@ -1256,70 +998,71 @@ MAKE_STUB_LIB='${STLIB_LD} $@ $(PKG_STUB_OBJECTS)' MATH_LIBS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='customfont' -PACKAGE_STRING='customfont 1.0' +PACKAGE_STRING='customfont 1.1' PACKAGE_TARNAME='customfont' PACKAGE_URL='' -PACKAGE_VERSION='1.0' +PACKAGE_VERSION='1.1' PATH_SEPARATOR=':' -PKG_CFLAGS=' -std=gnu99 -fobjc-gc' +PKG_CFLAGS=' -std=gnu99 ' PKG_HEADERS='' PKG_INCLUDES='' PKG_LIBS=' -framework Cocoa -framework CoreFoundation -framework CoreServices' -PKG_LIB_FILE='libcustomfont1.0.dylib' +PKG_LIB_FILE='libcustomfont1.1.dylib' PKG_OBJECTS=' customfont.o' PKG_SOURCES=' macosx/customfont.c' -PKG_STUB_LIB_FILE='libcustomfontstub1.0.a' +PKG_STUB_LIB_FILE='libcustomfontstub1.1.a' PKG_STUB_OBJECTS='' PKG_STUB_SOURCES='' PKG_TCL_SOURCES='' RANLIB=':' RANLIB_STUB='ranlib' SET_MAKE='' SHARED_BUILD='1' SHELL='/bin/sh' SHLIB_CFLAGS='-fno-common' -SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 1.0 -compatibility_version 1.0' -SHLIB_LD_LIBS='${LIBS} -L/Library/Frameworks/Tcl.framework -ltclstub8.5 -L/Library/Frameworks/Tk.framework -ltkstub8.5' +SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 1.1 -compatibility_version 1.1' +SHLIB_LD_LIBS='${LIBS} -L/Library/Frameworks/Tcl.framework -ltclstub8.6 -L/Library/Frameworks/Tk.framework -ltkstub8.6' STLIB_LD='${AR} cr' -TCLSH_PROG='/usr/local/bin/tclsh8.5' +TCLSH_PROG='/usr/local/bin/tclsh8.6' TCL_BIN_DIR='/Library/Frameworks/Tcl.framework' TCL_DBGX='' -TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -DHAVE_CPUID=1 -DTCL_FRAMEWORK=1 ' -TCL_EXTRA_CFLAGS='-arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe ' +TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_USLEEP=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -DHAVE_CPUID=1 -DTCL_FRAMEWORK=1 ' +TCL_EXTRA_CFLAGS='-pipe ' TCL_INCLUDES='-I"/Library/Frameworks/Tcl.framework/Headers"' -TCL_LD_FLAGS=' -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first ' +TCL_LD_FLAGS=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}' TCL_LIB_FILE='Tcl' TCL_LIB_FLAG='-framework Tcl' TCL_LIB_SPEC='-F/Library/Frameworks -framework Tcl' TCL_SHLIB_LD_LIBS='${LIBS}' -TCL_SRC_DIR='/Users/kevin/tcl-tk-85-main-merge/tcl' -TCL_STUB_LIB_FILE='libtclstub8.5.a' -TCL_STUB_LIB_FLAG='-ltclstub8.5' -TCL_STUB_LIB_SPEC='-L/Library/Frameworks/Tcl.framework -ltclstub8.5' +TCL_SRC_DIR='/Users/kevin/tcl-tk-fossil/tcl' +TCL_STUB_LIB_FILE='libtclstub8.6.a' +TCL_STUB_LIB_FLAG='-ltclstub8.6' +TCL_STUB_LIB_SPEC='-L/Library/Frameworks/Tcl.framework -ltclstub8.6' TCL_THREADS='1' -TCL_VERSION='8.5' +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-85-main-merge/tk/generic" -I"/Users/kevin/tcl-tk-85-main-merge/tk/unix" -I"/Users/kevin/tcl-tk-85-main-merge/tk/generic/ttk" -I""/Users/kevin/tcl-tk-85-main-merge/tk/xlib"" -I"/Users/kevin/tcl-tk-85-main-merge/tk/macosx"' -TK_LIBS=' -lpthread -framework CoreFoundation -framework Cocoa -framework Carbon -framework IOKit -lpthread -framework CoreFoundation ' +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_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-85-main-merge/tk' -TK_STUB_LIB_FILE='libtkstub8.5.a' -TK_STUB_LIB_FLAG='-ltkstub8.5' -TK_STUB_LIB_SPEC='-L/Library/Frameworks/Tk.framework -ltkstub8.5' -TK_TOP_DIR_NATIVE='"/Users/kevin/tcl-tk-85-main-merge/tk"' -TK_VERSION='8.5' +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-85-main-merge/tk/xlib"' -WISH_PROG='/usr/local/bin/wish8.5' +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_CC='gcc' +ac_ct_CXX='' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1349,12 +1092,12 @@ ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "customfont" #define PACKAGE_TARNAME "customfont" -#define PACKAGE_VERSION "1.0" -#define PACKAGE_STRING "customfont 1.0" +#define PACKAGE_VERSION "1.1" +#define PACKAGE_STRING "customfont 1.1" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define MAC_OSX_TK 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 @@ -1364,20 +1107,18 @@ #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 -#define AC_APPLE_UNIVERSAL_BUILD 1 #define NO_VALUES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS_PARAM_H 1 #define USE_THREAD_ALLOC 1 #define _REENTRANT 1 #define _THREAD_SAFE 1 #define TCL_THREADS 1 #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) -#define TCL_WIDE_INT_TYPE long long -#define HAVE_STRUCT_STAT64 1 +#define TCL_WIDE_INT_IS_LONG 1 #define USE_TCL_STUBS 1 #define USE_TK_STUBS 1 configure: exit 0 Index: customfont/config.status ================================================================== --- customfont/config.status +++ customfont/config.status @@ -378,11 +378,11 @@ ## ----------------------------------- ## # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by customfont $as_me 1.0, which was +This file was extended by customfont $as_me 1.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS @@ -415,21 +415,21 @@ Configuration files: $config_files Report bugs to the package provider." -ac_cs_config="'--prefix=/usr/local' '--libdir=/Library/Tcl' '--with-tcl=/Library/Frameworks/Tcl.framework' '--with-tclinclude=/Library/Frameworks/Tcl.framework/Headers' '--with-tk=/Library/Frameworks/Tk.framework' '--with-tkinclude=/Library/Frameworks/Tk.framework/Headers' '--enable-threads' 'CC=gcc ' 'CFLAGS=-arch i386 -arch x86_64 -fobjc-gc -framework Cocoa' 'LDFLAGS= -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa'" +ac_cs_config="'--prefix=/usr/local' '--libdir=/Library/Tcl' '--with-tcl=/Library/Frameworks/Tcl.framework' '--with-tclinclude=/Library/Frameworks/Tcl.framework/Headers' '--with-tk=/Library/Frameworks/Tk.framework' '--with-tkinclude=/Library/Frameworks/Tk.framework/Headers' '--enable-threads'" ac_cs_version="\ -customfont config.status 1.0 +customfont config.status 1.1 configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." -ac_pwd='/Users/kevin/tk-components/customfont' +ac_pwd='/Users/kevin/tk-components-fossil/customfont' srcdir='.' INSTALL='/usr/bin/install -c' test -n "$AWK" || AWK=awk # The default lists apply if the user does not specify any file. ac_need_defaults=: @@ -494,11 +494,11 @@ exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi if $ac_cs_recheck; then - set X /bin/sh './configure' '--prefix=/usr/local' '--libdir=/Library/Tcl' '--with-tcl=/Library/Frameworks/Tcl.framework' '--with-tclinclude=/Library/Frameworks/Tcl.framework/Headers' '--with-tk=/Library/Frameworks/Tk.framework' '--with-tkinclude=/Library/Frameworks/Tk.framework/Headers' '--enable-threads' 'CC=gcc ' 'CFLAGS=-arch i386 -arch x86_64 -fobjc-gc -framework Cocoa' 'LDFLAGS= -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa' $ac_configure_extra_args --no-create --no-recursion + set X /bin/sh './configure' '--prefix=/usr/local' '--libdir=/Library/Tcl' '--with-tcl=/Library/Frameworks/Tcl.framework' '--with-tclinclude=/Library/Frameworks/Tcl.framework/Headers' '--with-tk=/Library/Frameworks/Tk.framework' '--with-tkinclude=/Library/Frameworks/Tk.framework/Headers' '--enable-threads' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 CONFIG_SHELL='/bin/sh' export CONFIG_SHELL exec "$@" @@ -582,24 +582,24 @@ fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && S["LTLIBOBJS"]="" -S["WISH_PROG"]="/usr/local/bin/wish8.5" -S["TCLSH_PROG"]="/usr/local/bin/tclsh8.5" +S["WISH_PROG"]="/usr/local/bin/wish8.6" +S["TCLSH_PROG"]="/usr/local/bin/tclsh8.6" S["RANLIB_STUB"]="ranlib" S["MAKE_STUB_LIB"]="${STLIB_LD} $@ $(PKG_STUB_OBJECTS)" S["MAKE_STATIC_LIB"]="${STLIB_LD} $@ $(PKG_OBJECTS)" S["MAKE_SHARED_LIB"]="${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}" S["MAKE_LIB"]="${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} " S["TCL_DBGX"]="" -S["LDFLAGS_DEFAULT"]=" -arch i386 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first " +S["LDFLAGS_DEFAULT"]=" -prebind -headerpad_max_install_names -Wl,-search_paths_first " S["CFLAGS_DEFAULT"]="-Os" S["LD_LIBRARY_PATH_VAR"]="DYLD_LIBRARY_PATH" S["SHLIB_CFLAGS"]="-fno-common" -S["SHLIB_LD_LIBS"]="${LIBS} -L/Library/Frameworks/Tcl.framework -ltclstub8.5 -L/Library/Frameworks/Tk.framework -ltkstub8.5" -S["SHLIB_LD"]="${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 1.0 -compatibility_version 1.0" +S["SHLIB_LD_LIBS"]="${LIBS} -L/Library/Frameworks/Tcl.framework -ltclstub8.6 -L/Library/Frameworks/Tk.framework -ltkstub8.6" +S["SHLIB_LD"]="${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 1.1 -compatibility_version 1.1" S["STLIB_LD"]="${AR} cr" S["CFLAGS_WARNING"]="-Wall" S["CFLAGS_OPTIMIZE"]="-Os" S["CFLAGS_DEBUG"]="-g" S["DL_LIBS"]="" @@ -607,94 +607,99 @@ 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-85-main-merge/tk/xlib\"" -S["TK_TOP_DIR_NATIVE"]="\"/Users/kevin/tcl-tk-85-main-merge/tk\"" -S["TK_INCLUDES"]="-I\"/Library/Frameworks/Tk.framework/Headers\" -I\"/Library/Frameworks/Tk.framework/PrivateHeaders\" -I\"/Users/kevin/tcl-tk-85-main-merge/tk/generic\" -I"\ -"\"/Users/kevin/tcl-tk-85-main-merge/tk/unix\" -I\"/Users/kevin/tcl-tk-85-main-merge/tk/generic/ttk\" -I\"\"/Users/kevin/tcl-tk-85-main-merge/tk/xlib\"\" -I\""\ -"/Users/kevin/tcl-tk-85-main-merge/tk/macosx\"" +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["TCL_INCLUDES"]="-I\"/Library/Frameworks/Tcl.framework/Headers\"" -S["CLEANFILES"]="" +S["CLEANFILES"]="pkgIndex.tcl" S["PKG_OBJECTS"]=" customfont.o" S["PKG_SOURCES"]=" macosx/customfont.c" +S["ac_ct_CXX"]="" +S["CXXFLAGS"]="" +S["CXX"]="" S["MATH_LIBS"]="" S["EGREP"]="/usr/bin/grep -E" S["GREP"]="/usr/bin/grep" S["RANLIB"]=":" S["SET_MAKE"]="" S["INSTALL_DATA"]="${INSTALL} -m 644" S["INSTALL_SCRIPT"]="${INSTALL}" S["INSTALL_PROGRAM"]="${INSTALL}" -S["CPP"]="gcc -E" +S["CPP"]="gcc -E" S["OBJEXT"]="o" -S["ac_ct_CC"]="gcc " +S["ac_ct_CC"]="gcc" S["CPPFLAGS"]="" -S["LDFLAGS"]=" -arch i386 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first " -S["CFLAGS"]="-arch i386 -fobjc-gc -framework Cocoa -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} " -S["CC"]="gcc " +S["LDFLAGS"]=" -prebind -headerpad_max_install_names -Wl,-search_paths_first " +S["CFLAGS"]="-pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} " +S["CC"]="gcc" S["TK_XINCLUDES"]="" -S["TK_LIBS"]=" -lpthread -framework CoreFoundation -framework Cocoa -framework Carbon -framework IOKit -lpthread -framework CoreFoundation " -S["TK_STUB_LIB_SPEC"]="-L/Library/Frameworks/Tk.framework -ltkstub8.5" -S["TK_STUB_LIB_FLAG"]="-ltkstub8.5" -S["TK_STUB_LIB_FILE"]="libtkstub8.5.a" +S["TK_LIBS"]=" -lpthread -framework CoreFoundation -framework Cocoa -framework Carbon -framework IOKit -lz -lpthread -framework CoreFoundation " +S["TK_STUB_LIB_SPEC"]="-L/Library/Frameworks/Tk.framework -ltkstub8.6" +S["TK_STUB_LIB_FLAG"]="-ltkstub8.6" +S["TK_STUB_LIB_FILE"]="libtkstub8.6.a" S["TK_LIB_SPEC"]="-F/Library/Frameworks -framework Tk" S["TK_LIB_FLAG"]="-framework Tk" S["TK_LIB_FILE"]="Tk" -S["TK_SRC_DIR"]="/Users/kevin/tcl-tk-85-main-merge/tk" +S["TK_SRC_DIR"]="/Users/kevin/tcl-tk-fossil/tk" S["TK_BIN_DIR"]="/Library/Frameworks/Tk.framework" -S["TK_VERSION"]="8.5" +S["TK_VERSION"]="8.6" S["TCL_SHLIB_LD_LIBS"]="${LIBS}" -S["TCL_LD_FLAGS"]=" -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -prebind -headerpad_max_install_names -Wl,-search_paths_first " -S["TCL_EXTRA_CFLAGS"]="-arch i386 -arch x86_64 -fobjc-gc -framework Cocoa -pipe " -S["TCL_DEFS"]="-DPACKAGE_NAME=\\\"tcl\\\" -DPACKAGE_TARNAME=\\\"tcl\\\" -DPACKAGE_VERSION=\\\"8.5\\\" -DPACKAGE_STRING=\\\"tcl\\ 8.5\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DSTDC_HEADERS=1 -"\ +S["TCL_LD_FLAGS"]=" -prebind -headerpad_max_install_names -Wl,-search_paths_first " +S["TCL_EXTRA_CFLAGS"]="-pipe " +S["TCL_DEFS"]="-DPACKAGE_NAME=\\\"tcl\\\" -DPACKAGE_TARNAME=\\\"tcl\\\" -DPACKAGE_VERSION=\\\"8.6\\\" -DPACKAGE_STRING=\\\"tcl\\ 8.6\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DSTDC_HEADERS=1 -"\ "DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H"\ -"=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR"\ -"_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\\\"iso8859-1\\\" -DMODULE_SCOPE=extern\\"\ -" __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\)\\)\\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\\\".dylib\\\" -DNDEBU"\ -"G=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DH"\ -"AVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHA"\ -"VE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SY"\ -"S_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUC"\ -"T_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_GETATTRLIS"\ -"T=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\" -DTCL_L"\ -"OAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTC"\ -"L_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -DHAVE_CPUID=1 -DTCL_FRAMEWORK=1 " +"=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -D"\ +"HAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\\\"iso8859-1\\\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hi"\ +"dden\\\"\\)\\)\\) -DHAVE_HIDDEN=1 -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\\\".dylib\\\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZE"\ +"D=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_G"\ +"ETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKAD"\ +"DR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 "\ +"-DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_TERMIOS_H=1 -DHAVE_"\ +"SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_V"\ +"AR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHA"\ +"VE_USLEEP=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_"\ +"H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H="\ +"1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -DHAVE_CPUID=1"\ +" -DTCL_FRAMEWORK=1 " S["TCL_LIBS"]="${DL_LIBS} ${LIBS} ${MATH_LIBS}" -S["TCL_STUB_LIB_SPEC"]="-L/Library/Frameworks/Tcl.framework -ltclstub8.5" -S["TCL_STUB_LIB_FLAG"]="-ltclstub8.5" -S["TCL_STUB_LIB_FILE"]="libtclstub8.5.a" +S["TCL_STUB_LIB_SPEC"]="-L/Library/Frameworks/Tcl.framework -ltclstub8.6" +S["TCL_STUB_LIB_FLAG"]="-ltclstub8.6" +S["TCL_STUB_LIB_FILE"]="libtclstub8.6.a" S["TCL_LIB_SPEC"]="-F/Library/Frameworks -framework Tcl" S["TCL_LIB_FLAG"]="-framework Tcl" S["TCL_LIB_FILE"]="Tcl" -S["TCL_SRC_DIR"]="/Users/kevin/tcl-tk-85-main-merge/tcl" +S["TCL_SRC_DIR"]="/Users/kevin/tcl-tk-fossil/tcl" S["TCL_BIN_DIR"]="/Library/Frameworks/Tcl.framework" -S["TCL_VERSION"]="8.5" -S["PKG_CFLAGS"]=" -std=gnu99 -fobjc-gc" +S["TCL_VERSION"]="8.6" +S["PKG_CFLAGS"]=" -std=gnu99 " S["PKG_LIBS"]=" -framework Cocoa -framework CoreFoundation -framework CoreServices" S["PKG_INCLUDES"]="" S["PKG_HEADERS"]="" S["PKG_TCL_SOURCES"]="" S["PKG_STUB_OBJECTS"]="" S["PKG_STUB_SOURCES"]="" -S["PKG_STUB_LIB_FILE"]="libcustomfontstub1.0.a" -S["PKG_LIB_FILE"]="libcustomfont1.0.dylib" +S["PKG_STUB_LIB_FILE"]="libcustomfontstub1.1.a" +S["PKG_LIB_FILE"]="libcustomfont1.1.dylib" S["EXEEXT"]="" S["CYGPATH"]="echo" S["target_alias"]="" S["host_alias"]="" S["build_alias"]="" S["LIBS"]="" S["ECHO_T"]="" S["ECHO_N"]="" S["ECHO_C"]="\\c" -S["DEFS"]="-DPACKAGE_NAME=\\\"customfont\\\" -DPACKAGE_TARNAME=\\\"customfont\\\" -DPACKAGE_VERSION=\\\"1.0\\\" -DPACKAGE_STRING=\\\"customfont\\ 1.0\\\" -DPACKAGE_BUGREPORT=\\\""\ +S["DEFS"]="-DPACKAGE_NAME=\\\"customfont\\\" -DPACKAGE_TARNAME=\\\"customfont\\\" -DPACKAGE_VERSION=\\\"1.1\\\" -DPACKAGE_STRING=\\\"customfont\\ 1.1\\\" -DPACKAGE_BUGREPORT=\\\""\ "\\\" -DPACKAGE_URL=\\\"\\\" -DMAC_OSX_TK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1"\ -" -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DAC_APPLE_UNIVERSAL_BUILD=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SY"\ -"S_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\"\ -")\\)\\) -DTCL_WIDE_INT_TYPE=long\\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1" +" -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLO"\ +"C=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\)\\)\\) -DTCL_WIDE_INT_IS_LONG="\ +"1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" S["libdir"]="/Library/Tcl" S["psdir"]="${docdir}" S["pdfdir"]="${docdir}" @@ -715,12 +720,12 @@ S["program_transform_name"]="s,x,x," S["prefix"]="/usr/local" S["exec_prefix"]="/usr/local" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="" -S["PACKAGE_STRING"]="customfont 1.0" -S["PACKAGE_VERSION"]="1.0" +S["PACKAGE_STRING"]="customfont 1.1" +S["PACKAGE_VERSION"]="1.1" S["PACKAGE_TARNAME"]="customfont" S["PACKAGE_NAME"]="customfont" S["PATH_SEPARATOR"]=":" S["SHELL"]="/bin/sh" _ACAWK Index: customfont/configure ================================================================== --- customfont/configure +++ customfont/configure @@ -5388,11 +5388,11 @@ PKG_CFLAGS="$PKG_CFLAGS -DUNICODE -D_UNICODE" - vars="win/customfont.c" + vars="win/customfont_win.c" for i in $vars; do case $i in \$*) # allow $-var names PKG_SOURCES="$PKG_SOURCES $i" @@ -5463,13 +5463,10 @@ CFLAGS=$hold_cflags fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_staticlib" >&5 $as_echo "$tcl_cv_cc_staticlib" >&6; } - -$as_echo "#define BUILD_tkdnd 1" >>confdefs.h - 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" @@ -5523,11 +5520,11 @@ PKG_LIBS="$PKG_LIBS $i" done - PKG_CFLAGS="$PKG_CFLAGS -std=gnu99 -fobjc-gc" + PKG_CFLAGS="$PKG_CFLAGS -std=gnu99 " fi Index: customfont/configure.in ================================================================== --- customfont/configure.in +++ customfont/configure.in @@ -92,21 +92,20 @@ #-------------------------------------------------------------------- if test "${TEA_PLATFORM}" = "windows" ; then AC_PROG_CXX CC=$CXX TEA_ADD_CFLAGS([-DUNICODE -D_UNICODE]) - TEA_ADD_SOURCES([win/customfont.c]) + 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]) - AC_DEFINE(BUILD_tkdnd, 1, [Build windows export dll]) 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" @@ -116,11 +115,11 @@ if test "${TEA_WINDOWINGSYSTEM}" = "aqua"; then TEA_ADD_SOURCES([macosx/customfont.c]) TEA_ADD_LIBS([-framework Cocoa -framework CoreFoundation -framework CoreServices]) - TEA_ADD_CFLAGS([-std=gnu99 -fobjc-gc]) + TEA_ADD_CFLAGS([-std=gnu99 ]) fi AC_SUBST(CLEANFILES) #-------------------------------------------------------------------- Index: customfont/macosx/customfont.c ================================================================== --- customfont/macosx/customfont.c +++ customfont/macosx/customfont.c @@ -8,14 +8,17 @@ * */ #include #include +#undef panic #include #include #include #include +#define panic Tcl_Panic + /*Tcl function to add the font.*/ int AddFontResource(ClientData cd, Tcl_Interp *ip, int objc, Tcl_Obj *CONST objv[]) { @@ -58,11 +61,11 @@ Tcl_CreateObjCommand(interp, "::customfont::addcustomfont", AddFontResource,(ClientData)NULL, (Tcl_CmdDeleteProc *)NULL); - if (Tcl_PkgProvide(interp, "customfont", "1.0") != TCL_OK) { + if (Tcl_PkgProvide(interp, "customfont", "1.1") != TCL_OK) { return TCL_ERROR; } return TCL_OK; Index: customfont/pkgIndex.tcl ================================================================== --- customfont/pkgIndex.tcl +++ customfont/pkgIndex.tcl @@ -1,7 +1,6 @@ # # Tcl package index file # -package ifneeded customfont 1.0 " +package ifneeded customfont 1.1 " package require Tk 8.5- - if {\"AppKit\" ni \[winfo server .\]} {error {TkAqua Cocoa required}} - load [list ][file join $dir libcustomfont1.0.dylib] customfont" + load [list [file join $dir libcustomfont1.1.dylib]] customfont" Index: customfont/pkgIndex.tcl.in ================================================================== --- customfont/pkgIndex.tcl.in +++ customfont/pkgIndex.tcl.in @@ -1,6 +1,6 @@ # # Tcl package index file # package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ " - package require Tk 8.5 - load [list [file join $dir @PKG_LIB_FILE@] @PACKAGE_NAME@]" + package require Tk 8.5- + load [list [file join $dir @PKG_LIB_FILE@]] @PACKAGE_NAME@" DELETED customfont/win/customfont.c Index: customfont/win/customfont.c ================================================================== --- customfont/win/customfont.c +++ customfont/win/customfont.c @@ -1,71 +0,0 @@ -/* - * customfont.c -- - * Loads custom font file. - * Copyright (c) 2013 Kevin Walzer/WordTech Communications LLC. - * Windows code based on example by Pat Thoyts: - * http://code.activestate.com/lists/tcl-core/8158/ - * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - */ - -#include -#include -#include - -/*Tcl function to add the font.*/ -int AddFontResource(ClientData cd, Tcl_Interp *ip, int objc, Tcl_Obj *CONST objv[]) { - - if(objc != 2) { - Tcl_WrongNumArgs(ip, 1, objv, "fontfile"); - return TCL_ERROR; - } - - Tcl_DString ds; - Tcl_Encoding unicode; - int len, r = TCL_OK; - - const char *path = Tcl_GetString(objv[1]); - len = strlen(path); - - Tcl_DStringInit(&ds); - unicode = Tcl_GetEncoding(interp, "unicode"); - Tcl_UtfToExternalDString(unicode, path, len, &ds); - if (AddFontResourceExW(Tcl_DStringValue(&ds), FR_PRIVATE, NULL) - == 0) { - r = TCL_ERROR; - } - Tcl_DStringFree(&ds); - Tcl_FreeEncoding(unicode); - return r; -} - - - -/*Initalize the package in the tcl interpreter, create Tcl commands. */ -int Customfont_Init (Tcl_Interp *interp) { - - - if (Tcl_InitStubs(interp, "8.5", 0) == NULL) { - return TCL_ERROR; - } - if (Tk_InitStubs(interp, "8.5", 0) == NULL) { - return TCL_ERROR; - } - - - Tcl_CreateObjCommand(interp, "::customfont::addcustomfont", AddFontResource,(ClientData)NULL, (Tcl_CmdDeleteProc *)NULL); - - - if (Tcl_PkgProvide(interp, "customfont", "1.1") != TCL_OK) { - return TCL_ERROR; - } - - return TCL_OK; - -} - -int Customfont_SafeInit(Tcl_Interp *interp) { - return Customfont_Init(interp); -}