Tk-Components

Check-in [5dd4f0d884]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Revisions to Mac version
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5dd4f0d884a2e594cb89560c15be36a1c8457014
User & Date: kevin 2015-09-12 02:52:06
Context
2015-09-12
14:19
Cleanup of package name in makefile comments check-in: f88271efe8 user: kevin tags: trunk
02:52
Revisions to Mac version check-in: 5dd4f0d884 user: kevin tags: trunk
02:33
Add support for Windows check-in: aa75f150a4 user: kevin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to customfont/Makefile.

48
49
50
51
52
53
54
55
56


57
58
59
60
61
62
63
48
49
50
51
52
53
54


55
56
57
58
59
60
61
62
63







-
-
+
+







PKG_HEADERS	= 

#========================================================================
# "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

srcdir		= .
83
84
85
86
87
88
89
90
91
92



93
94
95

96
97
98
99
100
101
102
103
104
105


106
107

108
109

110
111

112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131

132
133
134
135

136
137
138
139
140
141

142
143

144
145
146
147
148
149
150
151


152
153
154
155

156
157
158
159
160

161
162
163
164
165
166
167
83
84
85
86
87
88
89



90
91
92
93
94

95
96
97
98
99
100
101
102
103


104
105
106

107
108

109
110

111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130

131
132
133
134

135
136
137
138
139
140

141
142

143
144
145
146
147
148
149


150
151
152
153
154

155
156
157
158
159

160
161
162
163
164
165
166
167







-
-
-
+
+
+


-
+








-
-
+
+

-
+

-
+

-
+



















-
+



-
+





-
+

-
+






-
-
+
+



-
+




-
+







INSTALL		= /usr/bin/install -c
INSTALL_PROGRAM	= ${INSTALL}
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}

#========================================================================
# TCLLIBPATH seeds the auto_path in Tcl's init.tcl so we can test our
# package without installing.  The other environment variables allow us
# to test against an uninstalled Tcl.  Add special env vars that you
# require for testing here (like TCLX_LIBRARY).
#========================================================================

#EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR)
EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR)
TCLLIBPATH	= $(top_builddir)
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
#========================================================================

#========================================================================

Changes to customfont/config.log.

1
2
3
4

5
6
7
8
9
10
11
12
13

14
15

16
17

18
19
20
21
22
23
24
25
26
27


28
29
30
31
32
33
34






35
36
37
38
39
40
41

42

43
44
45
46


47
48


49
50


51
52


53




54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78




















79
80
81



82
83
84
85



86
87
88


89
90

91
92


93
94
95


96
97

98
99
100
101
102
103
104
105



106
107
108
109
110
111
112









113
114



115
116
117




118
119
120
121
122
123
124
125
126








127
128
129
130
131
132
133






134
135
136
137
138

139
140
141
142
143
144


145
146
147
148
149
150
151
152
153




154
155
156
157
158

159
160
161
162
163
164


165
166
167
168
169
170
171
172
173
174
175
176
177
178
179










180
181
182

183
184
185
186
187
188
189








190
191
192
193
194
195
196
197
198
199
















200
201
202
203
204




205
206
207
208
209




210
211
212
213
214
215
216
217
218
219

















220
221
222



223
224

225
226
227
228






229
230
231
232
233
234
235
236
237
238
239
240
241
242
243


















244
245
246





247
248
249
250












251
252
253

254
255
256
257
258




259
260
261

262
263
264
265
266
267


268
269
270
271
272
273
274
275
276
277
278
279
280
























281











282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297

298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330


331
332

333
334
335
336

337
338
339
340
341
342


343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
1
2
3

4
5
6
7
8
9
10
11
12

13
14

15
16

17
18
19
20
21
22
23
24
25


26
27
28






29
30
31
32
33
34
35
36
37
38



39
40
41
42
43
44
45
46
47


48
49
50

51
52
53

54
55
56
57
58
59
60
61
62
63
64
65
66



















67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87


88
89
90




91
92
93
94


95
96
97
98
99


100
101
102


103
104


105








106
107
108







109
110
111
112
113
114
115
116
117

118
119
120
121



122
123
124
125









126
127
128
129
130
131
132
133







134
135
136
137
138
139
140
141
142
143

144
145
146
147
148


149
150
151
152
153
154
155




156
157
158
159
160
161
162
163

164
165
166
167
168


169
170
171
172
173
174
175










176
177
178
179
180
181
182
183
184
185



186







187
188
189
190
191
192
193
194










195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210





211
212
213
214





215
216
217
218










219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235



236
237
238


239




240
241
242
243
244
245















246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263



264
265
266
267
268




269
270
271
272
273
274
275
276
277
278
279
280
281
282

283
284




285
286
287
288
289
290

291
292
293
294
295


296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334

335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355






356

































357
358


359
360
361
362

363
364
365
366
367


368
369
370
371
372
373
374
375
376
377
378
379
380
381
382

383
384
385
386
387
388
389



-
+








-
+

-
+

-
+








-
-
+
+

-
-
-
-
-
-
+
+
+
+
+
+




-
-
-
+

+




+
+
-
-
+
+

-
+
+

-
+
+

+
+
+
+






-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

-
-
+
+
+
-
-
-
-
+
+
+

-
-
+
+


+
-
-
+
+

-
-
+
+
-
-
+
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-

+
+
+
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+




-
+




-
-
+
+





-
-
-
-
+
+
+
+




-
+




-
-
+
+





-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
+
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+


-
+

-
-
-
-
+
+
+
+


-
+




-
-
+
+













+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+










-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+



-
+




-
-
+
+













-







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: /opt/X11/bin
PATH: /opt/Ghostscript/bin
PATH: /usr/local/bin
PATH: /opt/X11/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
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=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
configure:3263: $? = 0
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
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
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:3263: $? = 0
configure:3252: gcc  -V >&5
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:3263: $? = 1
configure:3252: gcc  -qversion >&5
configure:3298: gcc -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:3263: $? = 1
configure:3283: checking whether the C compiler works
configure:3309: $? = 1
configure:3329: 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:3351: gcc    conftest.c  >&5
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:3355: $? = 0
configure:3403: result: yes
configure:3406: checking for C compiler default output file name
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
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
clang: warning: -framework Cocoa: 'linker' input unused
configure:3492: $? = 0
configure:3507: result: no
configure:3512: checking for suffix of object files
configure:3534: gcc -c   conftest.c >&5
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
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
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
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
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
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 <ac_nonexistent.h>
         ^
1 error generated.
configure:3778: $? = 1
configure:3824: $? = 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
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3803: result: gcc  -E
configure:3823: gcc  -E  conftest.c
configure:3823: $? = 0
configure:3837: gcc  -E  conftest.c
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 <ac_nonexistent.h>
         ^
1 error generated.
configure:3837: $? = 1
configure:3883: $? = 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
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
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: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: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:4206: gcc -c   conftest.c >&5
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
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
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
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
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
configure:4303: $? = 0
configure:4303: result: yes
configure:4303: checking for strings.h
configure:4303: gcc -c   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
configure:4303: $? = 0
configure:4303: result: yes
configure:4303: checking for inttypes.h
configure:4303: gcc -c   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
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
clang: warning: -framework Cocoa: 'linker' input unused
configure:4257: $? = 0
configure:4257: result: yes
configure:4422: gcc -c  -pipe  conftest.c >&5
configure:4422: $? = 0
configure:4440: gcc -c  -pipe  conftest.c >&5
configure:4257: checking for stdint.h
configure:4257: gcc  -c -arch i386  -arch x86_64 -fobjc-gc -framework Cocoa  conftest.c >&5
conftest.c:27:4: error: use of undeclared identifier 'not'
clang: warning: -framework Cocoa: 'linker' input unused
configure:4257: $? = 0
configure:4257: result: yes
configure:4257: checking for unistd.h
                 not big endian
                 ^
1 error generated.
configure:4440: $? = 1
configure: failed program was:
| /* confdefs.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
| #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.  */
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 ();
| #include <sys/types.h>
| 		#include <sys/param.h>
| 
| int
| main ()
     ^
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]
| {
| #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:44:6: note: 'sin' is a builtin with type 'double (double)'
conftest.c:43: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
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:4575: $? = 1
configure:4621: $? = 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
| #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 AC_APPLE_UNIVERSAL_BUILD 1
| #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: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:4670: result: no
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
configure:4676: checking net/errno.h usability
configure:4676: gcc -c  -pipe  conftest.c >&5
clang: warning: -framework Cocoa: 'linker' input unused
conftest.c:54:10: fatal error: 'net/errno.h' file not found
conftest.c:53:10: fatal error: 'net/errno.h' file not found
#include <net/errno.h>
         ^
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
| #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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
385
386
387
388
389
390
391
392
393
394
395




396
397
398
399

400
401
402
403
404
405


406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438

















439
440
441
442
443
444
445
446
447
448
449










450
451
452
453
454
455
456
457
458
459
460










461
462

463
464
465
466

467
468
469
470
471
472


473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
411
412
413
414
415
416
417




418
419
420
421
422
423
424

425
426
427
428
429


430
431
432
433
434
435
436
437
438
439
440
441
442
443
444

445
446

















447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463











464
465
466
467
468
469
470
471
472
473











474
475
476
477
478
479
480
481
482
483


484
485
486
487

488
489
490
491
492


493
494
495
496
497
498
499
500
501
502
503
504
505
506
507

508
509
510
511
512
513
514







-
-
-
-
+
+
+
+



-
+




-
-
+
+













-


-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+



-
+




-
-
+
+













-







| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/errno.h>
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
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 <net/errno.h>
         ^
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
| #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 <net/errno.h>
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
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
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
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
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
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
clang: warning: -framework Cocoa: 'linker' input unused
conftest.c:54:10: fatal error: 'values.h' file not found
conftest.c:53:10: fatal error: 'values.h' file not found
#include <values.h>
         ^
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
| #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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
515
516
517
518
519
520
521
522
523
524
525




526
527
528
529

530
531
532
533
534
535


536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556





557
558
559
560
561
562
563
564
565
566
567
568
569
570
571














572
573
574
575
576
577
578
579
580
581
582










583
584
585
586
587
588
589
590
591
592
593










594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651



































































652
653

654
655
656
657
658
659


660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751

752
753

754
755
756
757

758
759
760
761
762
763


764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798



799
800

801
802
803
804

805
806
807
808
809
810


811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845



846
847
848
849
850
851
852


853
854


855
856

857
858
859
860
861
862


863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974


975

976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069

1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117







1118
1119
1120
1121
1122
1123

1124
1125
1126
1127
1128
1129
1130
1131
1132

1133
1134
1135


1136
1137
1138
1139
1140
1141

1142
1143
1144
1145
1146

1147
1148
1149
1150





1151
1152
1153
1154




1155
1156


1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
536
537
538
539
540
541
542




543
544
545
546
547
548
549

550
551
552
553
554


555
556
557
558
559
560
561
562
563
564
565
566
567
568
569

570
571





572
573
574
575
576















577
578
579
580
581
582
583
584
585
586
587
588
589
590











591
592
593
594
595
596
597
598
599
600











601
602
603
604
605
606
607
608
609
610


























































611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678

679
680
681
682
683


684
685
686
687
688
689
690
691
692
693
694
695
696
697
698





























































699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715

716


717
718
719
720

721
722
723
724
725


726
727
728
729
730
731
732
733
734
735
736
737
738
739
740

741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758



759
760
761


762
763
764
765

766
767
768
769
770


771
772
773
774
775
776
777
778
779
780
781
782
783
784
785

786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802




803
804
805







806
807


808
809
810

811
812
813
814
815


816
817
818
819
820
821
822
823
824
825
826
827
828
829
830

831
832
833
834
835
836
837
838

839

























































840



























841
842
843
844
845

846
847
848














































































849













850
















































851
852
853
854
855
856
857
858
859
860
861
862

863
864
865
866
867
868
869
870
871

872
873


874
875
876
877
878
879
880

881
882
883
884
885
886
887




888
889
890
891
892
893
894
895
896
897
898
899
900


901
902
903
904
905
906
907
908
909
910
911
912
913
914


915
916
917
918
919
920
921







-
-
-
-
+
+
+
+



-
+




-
-
+
+













-


-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

-
+




-
-
+
+













-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

















-
+
-
-
+



-
+




-
-
+
+













-


















-
-
-
+
+
+
-
-
+



-
+




-
-
+
+













-

















-
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
-
-
+
+

-
+




-
-
+
+













-








-

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-



+
+
-
+


-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+





-
+








-
+

-
-
+
+





-
+





+
-
-
-
-
+
+
+
+
+




+
+
+
+
-
-
+
+












-
-







| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <values.h>
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 <values.h>
         ^
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
| #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 <values.h>
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
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
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
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
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
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
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
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
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 <X11/Xlib.h>
                ^
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
| #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")))
| /* end confdefs.h.  */
| #include <tk.h>
| 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
| #define _THREAD_SAFE 1
| #define TCL_THREADS 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| /* end confdefs.h.  */
| #include <sys/stat.h>
| int
| main ()
| {
| char *p = (char *)open64;
|   ;
|   return 0;
| }
configure:8310: gcc  -c -arch i386  -fobjc-gc -framework Cocoa -pipe      conftest.c >&5
configure:8693: gcc -c -pipe    conftest.c >&5
clang: warning: -framework Cocoa: 'linker' input unused
conftest.c:34:19: error: use of undeclared identifier 'open64'
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
| #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")))
| /* end confdefs.h.  */
| #define _LARGEFILE_SOURCE64 1
| #include <sys/stat.h>
| int
| main ()
| {
| 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
configure:8711: result: none
configure:8719: checking for 64-bit integer type
configure:8738: gcc -c -pipe    conftest.c >&5
clang: warning: -framework Cocoa: 'linker' input unused
conftest.c:33:1: error: use of undeclared identifier '__int64'
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
| #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")))
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| __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:8760: gcc -c -pipe    conftest.c >&5
conftest.c:33:26: error: duplicate case value '1'
            case 1: case (sizeof(long long)==sizeof(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'
                         ^
conftest.c:33:18: note: previous case defined here
struct dirent64 p;
       ^
            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
| #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
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <sys/dirent.h>
| 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 <limits.h> declares open64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define open64 innocuous_open64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char open64 (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #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 ()
| {
| switch (0) {
|             case 1: case (sizeof(long long)==sizeof(long)): ;
| 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 <limits.h> declares lseek64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define lseek64 innocuous_lseek64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char lseek64 (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #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:8770: result: using long
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 <sys/types.h>
| 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
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_CCC_set=
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_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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -arch i386 -arch x86_64 -fobjc-gc -framework Cocoa'
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=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
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
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
1192
1193
1194
1195
1196
1197
1198
1199
1200


1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217


1218
1219
1220
1221
1222
1223
1224
1225

1226
1227

1228
1229
1230
1231
1232
1233


1234


1235
1236

1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248


1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261

1262
1263
1264

1265
1266

1267
1268
1269
1270

1271
1272
1273

1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284


1285
1286

1287
1288
1289
1290


1291
1292

1293
1294
1295
1296
1297
1298
1299
1300
1301




1302
1303

1304
1305
1306


1307
1308
1309
1310
1311
1312
1313
1314
1315






1316
1317
1318


1319
1320


1321
1322
1323
1324
1325
1326
1327
936
937
938
939
940
941
942


943
944
945
946
947
948
949
950
951
952
953
954
955
956





957
958

959
960
961
962
963
964

965
966

967
968
969
970
971


972
973
974
975
976
977

978
979
980
981
982
983
984
985
986
987
988


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002

1003
1004
1005

1006
1007

1008
1009
1010
1011

1012
1013
1014

1015
1016
1017
1018
1019
1020
1021
1022
1023
1024


1025
1026
1027

1028
1029
1030


1031
1032
1033

1034
1035
1036
1037
1038
1039




1040
1041
1042
1043
1044

1045
1046


1047
1048
1049
1050
1051






1052
1053
1054
1055
1056
1057
1058


1059
1060
1061

1062
1063
1064
1065
1066
1067
1068
1069
1070







-
-
+
+












-
-
-
-
-
+
+
-






-
+

-
+




-
-
+
+

+
+

-
+










-
-
+
+












-
+


-
+

-
+



-
+


-
+









-
-
+
+

-
+


-
-
+
+

-
+





-
-
-
-
+
+
+
+

-
+

-
-
+
+



-
-
-
-
-
-
+
+
+
+
+
+

-
-
+
+

-
+
+







ac_cv_lib_inet_main=no
ac_cv_lib_pthread_pthread_mutex_init=yes
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
tcl_cv_cc_visibility_hidden=yes
tcl_cv_dirent_h=yes
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_sys_version=Darwin-14.4.0
tcl_cv_type_64bit=none
tcl_cv_type_off64_t=no

## ----------------- ##
## 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'
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} '
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)'
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}'
dvidir='${docdir}'
exec_prefix='/usr/local'
1347
1348
1349
1350
1351
1352
1353
1354
1355


1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378

1379
1380
1381
1382
1383
1090
1091
1092
1093
1094
1095
1096


1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111

1112
1113
1114
1115
1116
1117
1118
1119

1120

1121
1122
1123
1124







-
-
+
+













-








-
+
-




## ----------- ##
## confdefs.h. ##
## ----------- ##

/* 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
#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 TCL_WIDE_INT_IS_LONG 1
#define HAVE_STRUCT_STAT64 1
#define USE_TCL_STUBS 1
#define USE_TK_STUBS 1

configure: exit 0

Changes to customfont/config.status.

376
377
378
379
380
381
382
383

384
385
386
387
388
389
390
376
377
378
379
380
381
382

383
384
385
386
387
388
389
390







-
+







## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
# 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
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@
413
414
415
416
417
418
419
420

421
422

423
424
425
426
427
428
429
430

431
432
433
434
435
436
437
413
414
415
416
417
418
419

420
421

422
423
424
425
426
427
428
429

430
431
432
433
434
435
436
437







-
+

-
+







-
+







                   instantiate the configuration file FILE

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=:
while test $# != 0
do
492
493
494
495
496
497
498
499

500
501
502
503
504
505
506
492
493
494
495
496
497
498

499
500
501
502
503
504
505
506







-
+








if $ac_cs_silent; then
  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 "$@"
fi

580
581
582
583
584
585
586
587
588


589
590
591
592
593
594
595

596
597
598
599
600


601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616





617
618

619
620



621
622
623
624
625
626
627
628
629

630
631

632
633
634
635



636
637
638
639
640




641
642
643
644

645
646

647
648
649
650



651
652
653
654
655
656
657
658
659
660
661
662













663
664
665
666



667
668
669
670

671
672
673


674
675
676
677
678
679
680
681


682
683
684
685
686
687
688
689
690
691

692
693
694
695



696
697
698
699
700
701
702
580
581
582
583
584
585
586


587
588
589
590
591
592
593
594

595
596
597
598


599
600
601
602
603
604
605
606
607
608
609
610
611





612
613
614
615
616
617

618
619
620
621
622
623
624
625
626
627
628
629
630
631

632
633

634
635



636
637
638
639




640
641
642
643
644
645
646

647
648

649
650



651
652
653
654











655
656
657
658
659
660
661
662
663
664
665
666
667
668



669
670
671
672
673
674

675
676


677
678
679
680
681
682
683
684


685
686
687
688
689
690
691
692
693
694
695

696
697



698
699
700
701
702
703
704
705
706
707







-
-
+
+






-
+



-
-
+
+











-
-
-
-
-
+
+
+
+
+

-
+


+
+
+








-
+

-
+

-
-
-
+
+
+

-
-
-
-
+
+
+
+



-
+

-
+

-
-
-
+
+
+

-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+

-
-
-
+
+
+



-
+

-
-
+
+






-
-
+
+









-
+

-
-
-
+
+
+







else
  ac_cs_awk_cr=$ac_cr
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"]=""
S["LIBOBJS"]=""
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}"
S["dvidir"]="${docdir}"
S["htmldir"]="${docdir}"
713
714
715
716
717
718
719
720
721


722
723
724
725
726
727
728
718
719
720
721
722
723
724


725
726
727
728
729
730
731
732
733







-
-
+
+







S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin"
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
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  for (key in S) S_is_set[key] = 1

Changes to customfont/configure.

5386
5387
5388
5389
5390
5391
5392
5393

5394
5395
5396
5397
5398
5399
5400
5386
5387
5388
5389
5390
5391
5392

5393
5394
5395
5396
5397
5398
5399
5400







-
+








    CC=$CXX

    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"
		PKG_OBJECTS="$PKG_OBJECTS $i"
		;;
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5461
5462
5463
5464
5465
5466
5467



5468
5469
5470
5471
5472
5473
5474







-
-
-







fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        CFLAGS=$hold_cflags
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_staticlib" >&5
$as_echo "$tcl_cv_cc_staticlib" >&6; }


$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"
    #TEA_ADD_SOURCES([unix/unixFile.c])
    #TEA_ADD_LIBS([-lsuperfly])
5521
5522
5523
5524
5525
5526
5527
5528

5529
5530
5531
5532
5533
5534
5535
5518
5519
5520
5521
5522
5523
5524

5525
5526
5527
5528
5529
5530
5531
5532







-
+







	    i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'`
	fi
	PKG_LIBS="$PKG_LIBS $i"
    done



    PKG_CFLAGS="$PKG_CFLAGS -std=gnu99 -fobjc-gc"
    PKG_CFLAGS="$PKG_CFLAGS -std=gnu99 "


fi



#--------------------------------------------------------------------

Changes to customfont/configure.in.

90
91
92
93
94
95
96
97

98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

122
123
124
125
126
127
128
90
91
92
93
94
95
96

97
98
99
100
101
102
103
104
105
106

107
108
109
110
111
112
113
114
115
116
117
118
119

120
121
122
123
124
125
126
127







-
+









-













-
+







#
# TEA_ADD_* any platform specific compiler/build info here.
#--------------------------------------------------------------------
if test "${TEA_PLATFORM}" = "windows" ; then
    AC_PROG_CXX
    CC=$CXX
    TEA_ADD_CFLAGS([-DUNICODE -D_UNICODE])
    TEA_ADD_SOURCES([win/customfont.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"
    #TEA_ADD_SOURCES([unix/unixFile.c])
    #TEA_ADD_LIBS([-lsuperfly])
fi


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)

#--------------------------------------------------------------------
# __CHANGE__
# Choose which headers you need.  Extension authors should try very

Changes to customfont/macosx/customfont.c.

1
2
3
4
5
6
7
8
9
10
11
12

13
14
15
16


17
18
19
20
21
22
23
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26












+




+
+







/*
 * customfont.c --
 * Loads custom font file from OS X on app bundle on 10.7 and later. 
 * Copyright (c) 2013 Kevin Walzer/WordTech Communications LLC.
 *
 * See the file "license.terms" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 */

#include <tcl.h>
#include <tk.h>
#undef panic
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#include <Carbon/Carbon.h>
#include <ApplicationServices/ApplicationServices.h>
#define panic Tcl_Panic



/*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");
56
57
58
59
60
61
62
63

64
65
66
67
68
69
70
59
60
61
62
63
64
65

66
67
68
69
70
71
72
73







-
+







    return TCL_ERROR;
  }


  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;
	
}

Changes to customfont/pkgIndex.tcl.

1
2
3
4

5
6
7

1
2
3

4
5


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" 

Changes to customfont/pkgIndex.tcl.in.

1
2
3
4
5
6


1
2
3
4


5
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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71







































































-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
/*
 * 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 <tcl.h>
#include <tk.h>
#include <windows.h>

/*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);
}