Ticket #44039: config.log

File config.log, 106.5 KB (added by jruschme@…, 10 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4configure:799: checking host system type
5configure:820: checking target system type
6configure:838: checking build system type
7configure:873: checking for a BSD compatible install
8configure:926: checking whether build environment is sane
9configure:983: checking whether make sets ${MAKE}
10configure:1029: checking for working aclocal
11configure:1042: checking for working autoconf
12configure:1055: checking for working automake
13configure:1068: checking for working autoheader
14configure:1081: checking for working makeinfo
15configure:1113: checking for strerror in -lcposix
16configure:1132: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lcposix   1>&5
17configure:1125:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
18char strerror();
19     ^
20configure:1125:6: note: 'strerror' is a builtin with type 'char *(int)'
211 warning generated.
22ld: library not found for -lcposix
23clang: error: linker command failed with exit code 1 (use -v to see invocation)
24configure: failed program was:
25#line 1121 "configure"
26#include "confdefs.h"
27/* Override any gcc2 internal prototype to avoid an error.  */
28/* We use char because int might match the return type of a gcc2
29    builtin and then its argument prototype would still apply.  */
30char strerror();
31
32int main() {
33strerror()
34; return 0; }
35configure:1157: checking for gcc
36configure:1270: checking whether the C compiler (/usr/bin/clang -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64) works
37configure:1286: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
38configure:1283:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
39main(){return(0);}
40^~~~
411 warning generated.
42configure:1312: checking whether the C compiler (/usr/bin/clang -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64) is a cross-compiler
43configure:1317: checking whether we are using GNU C
44configure:1326: /usr/bin/clang -E conftest.c
45configure:1345: checking whether /usr/bin/clang accepts -g
46configure:1377: checking how to run the C preprocessor
47configure:1398: /usr/bin/clang -E -I/opt/local/include -L/opt/local/lib conftest.c >/dev/null 2>conftest.out
48clang: warning: argument unused during compilation: '-L/opt/local/lib'
49configure: failed program was:
50#line 1392 "configure"
51#include "confdefs.h"
52#include <assert.h>
53Syntax Error
54configure:1415: /usr/bin/clang -E -traditional-cpp -I/opt/local/include -L/opt/local/lib conftest.c >/dev/null 2>conftest.out
55clang: warning: argument unused during compilation: '-L/opt/local/lib'
56configure: failed program was:
57#line 1409 "configure"
58#include "confdefs.h"
59#include <assert.h>
60Syntax Error
61configure:1432: /usr/bin/clang -nologo -E -I/opt/local/include -L/opt/local/lib conftest.c >/dev/null 2>conftest.out
62clang: error: unknown argument: '-nologo' [-Wunused-command-line-argument-hard-error-in-future]
63clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
64configure: failed program was:
65#line 1426 "configure"
66#include "confdefs.h"
67#include <assert.h>
68Syntax Error
69configure:1457: checking for ANSI C header files
70configure:1470: /lib/cpp -I/opt/local/include -L/opt/local/lib conftest.c >/dev/null 2>conftest.out
71./configure[1469]: eval: line 1: /lib/cpp: not found
72configure: failed program was:
73#line 1462 "configure"
74#include "confdefs.h"
75#include <stdlib.h>
76#include <stdarg.h>
77#include <string.h>
78#include <float.h>
79configure:1581: checking for Cygwin environment
80configure:1597: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
81clang: warning: argument unused during compilation: '-L/opt/local/lib'
82configure:1593:8: error: use of undeclared identifier '__CYGWIN32__'
83return __CYGWIN__;
84       ^
85configure:1591:20: note: expanded from macro '__CYGWIN__'
86#define __CYGWIN__ __CYGWIN32__
87                   ^
881 error generated.
89configure: failed program was:
90#line 1586 "configure"
91#include "confdefs.h"
92
93int main() {
94
95#ifndef __CYGWIN__
96#define __CYGWIN__ __CYGWIN32__
97#endif
98return __CYGWIN__;
99; return 0; }
100configure:1614: checking for mingw32 environment
101configure:1626: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
102clang: warning: argument unused during compilation: '-L/opt/local/lib'
103configure:1622:8: error: use of undeclared identifier '__MINGW32__'
104return __MINGW32__;
105       ^
1061 error generated.
107configure: failed program was:
108#line 1619 "configure"
109#include "confdefs.h"
110
111int main() {
112return __MINGW32__;
113; return 0; }
114configure:1723: checking for ld used by GCC
115configure:1791: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
116configure:1808: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
117configure:1820: checking for BSD-compatible nm
118configure:1858: checking whether ln -s works
119configure:1879: checking how to recognise dependant libraries
120configure:2052: checking for object suffix
121configure:2058: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
122clang: warning: argument unused during compilation: '-L/opt/local/lib'
123configure:2078: checking for executable suffix
124configure:2088: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
125configure:2119: checking command to parse /usr/bin/nm output
126configure:2195: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
127clang: warning: argument unused during compilation: '-L/opt/local/lib'
128configure:2198: /usr/bin/nm conftest.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
129cannot find nm_test_var in conftest.nm
130configure:2195: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
131clang: warning: argument unused during compilation: '-L/opt/local/lib'
132configure:2198: /usr/bin/nm conftest.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
133configure:2249: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c conftstm.o 1>&5
134configure:2295: checking for dlfcn.h
135configure:2305: /lib/cpp -I/opt/local/include -L/opt/local/lib conftest.c >/dev/null 2>conftest.out
136./configure[2304]: eval: line 1: /lib/cpp: not found
137configure: failed program was:
138#line 2300 "configure"
139#include "confdefs.h"
140#include <dlfcn.h>
141configure:2473: checking for ranlib
142configure:2540: checking for strip
143configure:2776: checking for objdir
144configure:2803: checking for /usr/bin/clang option to produce PIC
145configure:2955: checking if /usr/bin/clang PIC flag -fno-common works
146configure:2969: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -fno-common -DPIC -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
147clang: warning: argument unused during compilation: '-L/opt/local/lib'
148configure:3021: checking if /usr/bin/clang static flag -static works
149configure:3036: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -static conftest.c  1>&5
150ld: library not found for -lcrt0.o
151clang: error: linker command failed with exit code 1 (use -v to see invocation)
152configure: failed program was:
153#line 3029 "configure"
154#include "confdefs.h"
155
156int main() {
157
158; return 0; }
159configure:3063: checking if /usr/bin/clang supports -c -o file.o
160configure:3082: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -o out/conftest2.o -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
161configure:3157: checking if we can lock with hard links
162configure:3176: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions
163configure:3189: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -fno-rtti -fno-exceptions -c conftest.c -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
164clang: warning: argument unused during compilation: '-L/opt/local/lib'
165configure:3216: checking whether the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
166configure:3832: checking how to hardcode library paths into programs
167configure:3860: checking whether stripping libraries is possible
168configure:3874: checking dynamic linker characteristics
169configure:4260: checking if libtool supports shared libraries
170configure:4753: checking whether -lc should be explicitly linked in
171configure:4760: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c 1>&5
172clang: warning: argument unused during compilation: '-L/opt/local/lib'
173configure:4773: /usr/bin/clang -dynamiclib  -o conftest conftest.o  -install_name /conftest  2>&1 | grep  -lc  >/dev/null 2>&1
174configure:5352: checking whether to enable maintainer-specific portions of Makefiles
175configure:5388: checking what warning flags to pass to the C compiler
176configure:5420: checking what language compliance flags to pass to the C compiler
177configure:5446: checking for pthread_create in -lpthread
178configure:5465: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lpthread   1>&5
179configure:5670: checking for gtk-config
180configure:5705: checking for GTK - version >= 1.2.0
181configure:5806: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -L/opt/local/lib -L/opt/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm  1>&5
182configure:5909: checking for SmcSaveYourselfDone in -lSM
183configure:5928: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm conftest.c -lSM  -lICE  1>&5
184configure:5957: checking for X11/SM/SMlib.h
185configure:5967: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
186./configure[5966]: eval: line 1: /lib/cpp: not found
187configure: failed program was:
188#line 5962 "configure"
189#include "confdefs.h"
190#include <X11/SM/SMlib.h>
191configure:6005: checking for XpmFreeXpmImage in -lXpm
192configure:6024: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -L/opt/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm conftest.c -lXpm   1>&5
193ld: library not found for -lXpm
194clang: error: linker command failed with exit code 1 (use -v to see invocation)
195configure: failed program was:
196#line 6013 "configure"
197#include "confdefs.h"
198/* Override any gcc2 internal prototype to avoid an error.  */
199/* We use char because int might match the return type of a gcc2
200    builtin and then its argument prototype would still apply.  */
201char XpmFreeXpmImage();
202
203int main() {
204XpmFreeXpmImage()
205; return 0; }
206configure:6057: checking for gawk
207configure:6099: checking for getopt_long
208configure:6127: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
209configure:6159: checking for dirent.h that defines DIR
210configure:6172: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
211clang: warning: argument unused during compilation: '-L/opt/local/lib'
212configure:6168:6: warning: unused variable 'dirp' [-Wunused-variable]
213DIR *dirp = 0;
214     ^
2151 warning generated.
216configure:6197: checking for opendir in -ldir
217configure:6216: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -ldir   1>&5
218ld: library not found for -ldir
219clang: error: linker command failed with exit code 1 (use -v to see invocation)
220configure: failed program was:
221#line 6205 "configure"
222#include "confdefs.h"
223/* Override any gcc2 internal prototype to avoid an error.  */
224/* We use char because int might match the return type of a gcc2
225    builtin and then its argument prototype would still apply.  */
226char opendir();
227
228int main() {
229opendir()
230; return 0; }
231configure:6284: checking for program_invocation_short_name
232configure:6296: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
233Undefined symbols for architecture x86_64:
234  "_program_invocation_short_name", referenced from:
235      _main in conftest-c1aefd.o
236ld: symbol(s) not found for architecture x86_64
237clang: error: linker command failed with exit code 1 (use -v to see invocation)
238configure: failed program was:
239#line 6289 "configure"
240#include "confdefs.h"
241int *p;
242int main() {
243extern int program_invocation_short_name; p = &program_invocation_short_name;
244; return 0; }
245configure:6284: checking for program_invocation_name
246configure:6296: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
247Undefined symbols for architecture x86_64:
248  "_program_invocation_name", referenced from:
249      _main in conftest-f45ab3.o
250ld: symbol(s) not found for architecture x86_64
251clang: error: linker command failed with exit code 1 (use -v to see invocation)
252configure: failed program was:
253#line 6289 "configure"
254#include "confdefs.h"
255int *p;
256int main() {
257extern int program_invocation_name; p = &program_invocation_name;
258; return 0; }
259configure:6284: checking for sys_errlist
260configure:6296: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
261configure:6323: checking for memmove
262configure:6351: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
263configure:6335:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]
264char memmove();
265     ^
266configure:6335:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
2671 warning generated.
268configure:6323: checking for mkstemp
269configure:6351: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
270configure:6323: checking for scandir
271configure:6351: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
272configure:6323: checking for strcasecmp
273configure:6351: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
274configure:6335:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
275char strcasecmp();
276     ^
277configure:6335:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
2781 warning generated.
279configure:6323: checking for strerror
280configure:6351: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
281configure:6335:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
282char strerror();
283     ^
284configure:6335:6: note: 'strerror' is a builtin with type 'char *(int)'
2851 warning generated.
286configure:6323: checking for strndup
287configure:6351: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
288configure:6335:6: warning: incompatible redeclaration of library function 'strndup' [-Wincompatible-library-redeclaration]
289char strndup();
290     ^
291configure:6335:6: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)'
2921 warning generated.
293configure:6323: checking for strnlen
294configure:6351: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
295configure:6380: checking for strtok_r
296configure:6408: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
297configure:6380: checking for strtod
298configure:6408: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
299configure:6380: checking for strtol
300configure:6408: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
301configure:6380: checking for strtoul
302configure:6408: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
303configure:6380: checking for vasprintf
304configure:6408: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
305configure:6402:11: warning: format string missing [-Wformat]
306vasprintf();
307~~~~~~~~~ ^
3081 warning generated.
309configure:6380: checking for vsnprintf
310configure:6408: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
311configure:6392:6: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration]
312char vsnprintf();
313     ^
314configure:6392:6: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, __va_list_tag *)'
3151 warning generated.
316configure:6438: checking for realpath
317configure:6466: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
318configure:6496: checking for vprintf
319configure:6524: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
320configure:6508:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
321char vprintf();
322     ^
323configure:6508:6: note: 'vprintf' is a builtin with type 'int (const char *, __va_list_tag *)'
3241 warning generated.
325configure:6496: checking for doprnt
326configure:6524: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
327Undefined symbols for architecture x86_64:
328  "_doprnt", referenced from:
329      _main in conftest-f1d5ee.o
330ld: symbol(s) not found for architecture x86_64
331clang: error: linker command failed with exit code 1 (use -v to see invocation)
332configure: failed program was:
333#line 6501 "configure"
334#include "confdefs.h"
335/* System header to define __stub macros and hopefully few prototypes,
336    which can conflict with char doprnt(); below.  */
337#include <assert.h>
338/* Override any gcc2 internal prototype to avoid an error.  */
339/* We use char because int might match the return type of a gcc2
340    builtin and then its argument prototype would still apply.  */
341char doprnt();
342
343int main() {
344
345/* The GNU C library defines this for functions which it implements
346    to always fail with ENOSYS.  Some functions are actually named
347    something starting with __ and the normal name is an alias.  */
348#if defined (__stub_doprnt) || defined (__stub___doprnt)
349choke me
350#else
351doprnt();
352#endif
353
354; return 0; }
355configure:6496: checking for strerror_r
356configure:6524: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
357configure:6549: checking for error_at_line
358configure:6561: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
359configure:6557:1: warning: implicit declaration of function 'error_at_line' is invalid in C99 [-Wimplicit-function-declaration]
360error_at_line(0, 0, "", 0, "");
361^
3621 warning generated.
363Undefined symbols for architecture x86_64:
364  "_error_at_line", referenced from:
365      _main in conftest-0b2d3b.o
366ld: symbol(s) not found for architecture x86_64
367clang: error: linker command failed with exit code 1 (use -v to see invocation)
368configure: failed program was:
369#line 6554 "configure"
370#include "confdefs.h"
371
372int main() {
373error_at_line(0, 0, "", 0, "");
374; return 0; }
375configure:6581: checking for uid_t in sys/types.h
376./configure[6589]: eval: line 1: /lib/cpp: not found
377configure:6621: checking for string.h
378configure:6631: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
379./configure[6630]: eval: line 1: /lib/cpp: not found
380configure: failed program was:
381#line 6626 "configure"
382#include "confdefs.h"
383#include <string.h>
384configure:6621: checking for strings.h
385configure:6631: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
386./configure[6630]: eval: line 1: /lib/cpp: not found
387configure: failed program was:
388#line 6626 "configure"
389#include "confdefs.h"
390#include <strings.h>
391configure:6621: checking for stdlib.h
392configure:6631: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
393./configure[6630]: eval: line 1: /lib/cpp: not found
394configure: failed program was:
395#line 6626 "configure"
396#include "confdefs.h"
397#include <stdlib.h>
398configure:6621: checking for unistd.h
399configure:6631: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
400./configure[6630]: eval: line 1: /lib/cpp: not found
401configure: failed program was:
402#line 6626 "configure"
403#include "confdefs.h"
404#include <unistd.h>
405configure:6621: checking for dirent.h
406configure:6631: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
407./configure[6630]: eval: line 1: /lib/cpp: not found
408configure: failed program was:
409#line 6626 "configure"
410#include "confdefs.h"
411#include <dirent.h>
412configure:6660: checking whether gethostname must be declared
413configure:6687: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
414clang: warning: argument unused during compilation: '-L/opt/local/lib'
415configure:6683:28: error: use of undeclared identifier 'gethostname'
416char *(*pfn) = (char *(*)) gethostname
417                           ^
4181 error generated.
419configure: failed program was:
420#line 6665 "configure"
421#include "confdefs.h"
422
423#include <stdio.h>
424#ifdef HAVE_STRING_H
425#include <string.h>
426#else
427#ifdef HAVE_STRINGS_H
428#include <strings.h>
429#endif
430#endif
431#ifdef HAVE_STDLIB_H
432#include <stdlib.h>
433#endif
434#ifdef HAVE_UNISTD_H
435#include <unistd.h>
436#endif
437
438int main() {
439char *(*pfn) = (char *(*)) gethostname
440; return 0; }
441configure:6660: checking whether setreuid must be declared
442configure:6687: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
443clang: warning: argument unused during compilation: '-L/opt/local/lib'
444configure:6683:28: error: use of undeclared identifier 'setreuid'
445char *(*pfn) = (char *(*)) setreuid
446                           ^
4471 error generated.
448configure: failed program was:
449#line 6665 "configure"
450#include "confdefs.h"
451
452#include <stdio.h>
453#ifdef HAVE_STRING_H
454#include <string.h>
455#else
456#ifdef HAVE_STRINGS_H
457#include <strings.h>
458#endif
459#endif
460#ifdef HAVE_STDLIB_H
461#include <stdlib.h>
462#endif
463#ifdef HAVE_UNISTD_H
464#include <unistd.h>
465#endif
466
467int main() {
468char *(*pfn) = (char *(*)) setreuid
469; return 0; }
470configure:6660: checking whether setregid must be declared
471configure:6687: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
472clang: warning: argument unused during compilation: '-L/opt/local/lib'
473configure:6683:28: error: use of undeclared identifier 'setregid'
474char *(*pfn) = (char *(*)) setregid
475                           ^
4761 error generated.
477configure: failed program was:
478#line 6665 "configure"
479#include "confdefs.h"
480
481#include <stdio.h>
482#ifdef HAVE_STRING_H
483#include <string.h>
484#else
485#ifdef HAVE_STRINGS_H
486#include <strings.h>
487#endif
488#endif
489#ifdef HAVE_STDLIB_H
490#include <stdlib.h>
491#endif
492#ifdef HAVE_UNISTD_H
493#include <unistd.h>
494#endif
495
496int main() {
497char *(*pfn) = (char *(*)) setregid
498; return 0; }
499configure:6660: checking whether getpagesize must be declared
500configure:6687: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
501clang: warning: argument unused during compilation: '-L/opt/local/lib'
502configure:6683:28: error: use of undeclared identifier 'getpagesize'
503char *(*pfn) = (char *(*)) getpagesize
504                           ^
5051 error generated.
506configure: failed program was:
507#line 6665 "configure"
508#include "confdefs.h"
509
510#include <stdio.h>
511#ifdef HAVE_STRING_H
512#include <string.h>
513#else
514#ifdef HAVE_STRINGS_H
515#include <strings.h>
516#endif
517#endif
518#ifdef HAVE_STDLIB_H
519#include <stdlib.h>
520#endif
521#ifdef HAVE_UNISTD_H
522#include <unistd.h>
523#endif
524
525int main() {
526char *(*pfn) = (char *(*)) getpagesize
527; return 0; }
528configure:6715: checking whether scandir must be declared
529configure:6746: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
530clang: warning: argument unused during compilation: '-L/opt/local/lib'
531configure:6742:9: warning: unused variable 'pfn' [-Wunused-variable]
532char *(*pfn) = (char *(*)) scandir
533        ^
5341 warning generated.
535configure:6809: checking for gawk
536configure:6843: checking for perl5
537configure:6876: checking for gtkdoc-mkdb
538configure:6946: checking for indent
539configure:7023: checking for ranlib
540configure:7051: checking for working const
541configure:7105: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
542clang: warning: argument unused during compilation: '-L/opt/local/lib'
543configure:7079:15: warning: unused variable 's' [-Wunused-variable]
544  char const *s = 0 ? (char *) 0 : (char const *) 0;
545              ^
546configure:7099:13: warning: unused variable 'foo' [-Wunused-variable]
547  const int foo = 10;
548            ^
549configure:7061:39: warning: unused variable 'x' [-Wunused-variable]
550typedef int charset[2]; const charset x;
551                                      ^
552configure:7067:27: warning: unused variable 'zero' [-Wunused-variable]
553static struct point const zero = {0,0};
554                          ^
555configure:7081:4: warning: variable 't' is uninitialized when used here [-Wuninitialized]
556  *t++ = 0;
557   ^
558configure:7078:10: note: initialize the variable 't' to silence this warning
559  char *t;
560         ^
561          = 0
562configure:7096:16: warning: variable 'b' is uninitialized when used here [-Wuninitialized]
563  struct s *b; b->j = 5;
564               ^
565configure:7096:14: note: initialize the variable 'b' to silence this warning
566  struct s *b; b->j = 5;
567             ^
568              = 0
5696 warnings generated.
570configure:7126: checking for inline
571configure:7140: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
572clang: warning: argument unused during compilation: '-L/opt/local/lib'
573configure:7136:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
574} inline foo() {
575  ~~~~~~ ^
5761 warning generated.
577configure:7166: checking for off_t
578./configure[7178]: eval: line 1: /lib/cpp: not found
579configure:7199: checking for size_t
580./configure[7211]: eval: line 1: /lib/cpp: not found
581configure:7234: checking for working alloca.h
582configure:7246: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
583In file included from configure:7240:
584In file included from /usr/include/alloca.h:29:
585/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
586typedef __darwin_size_t        size_t;
587                               ^
588./confdefs.h:30:16: note: expanded from macro 'size_t'
589#define size_t unsigned
590               ^
591configure:7242:7: warning: unused variable 'p' [-Wunused-variable]
592char *p = alloca(2 * sizeof(int));
593      ^
5941 warning and 1 error generated.
595configure: failed program was:
596#line 7239 "configure"
597#include "confdefs.h"
598#include <alloca.h>
599int main() {
600char *p = alloca(2 * sizeof(int));
601; return 0; }
602configure:7267: checking for alloca
603configure:7300: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
604configure:7296:7: warning: unused variable 'p' [-Wunused-variable]
605char *p = (char *) alloca(1);
606      ^
6071 warning generated.
608configure:7469: checking for stdlib.h
609configure:7469: checking for unistd.h
610configure:7469: checking for sys/stat.h
611configure:7479: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
612./configure[7478]: eval: line 1: /lib/cpp: not found
613configure: failed program was:
614#line 7474 "configure"
615#include "confdefs.h"
616#include <sys/stat.h>
617configure:7469: checking for sys/types.h
618configure:7479: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
619./configure[7478]: eval: line 1: /lib/cpp: not found
620configure: failed program was:
621#line 7474 "configure"
622#include "confdefs.h"
623#include <sys/types.h>
624configure:7508: checking for getpagesize
625configure:7536: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
626configure:7561: checking for working mmap
627configure:7722: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
628In file included from configure:7592:
629In file included from /usr/include/sys/types.h:108:
630/usr/include/sys/_types/_gid_t.h:30:24: error: cannot combine with previous 'type-name' declaration specifier
631typedef __darwin_gid_t  gid_t;
632                        ^
633./confdefs.h:24:15: note: expanded from macro 'gid_t'
634#define gid_t int
635              ^
636In file included from configure:7592:
637In file included from /usr/include/sys/types.h:122:
638/usr/include/sys/_types/_off_t.h:30:25: error: 'long type-name' is invalid
639typedef __darwin_off_t          off_t;
640                                ^
641./confdefs.h:29:15: note: expanded from macro 'off_t'
642#define off_t long
643              ^
644In file included from configure:7592:
645In file included from /usr/include/sys/types.h:127:
646/usr/include/sys/_types/_uid_t.h:30:31: error: cannot combine with previous 'type-name' declaration specifier
647typedef __darwin_uid_t        uid_t;
648                              ^
649./confdefs.h:23:15: note: expanded from macro 'uid_t'
650#define uid_t int
651              ^
652In file included from configure:7592:
653In file included from /usr/include/sys/types.h:162:
654/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
655typedef __darwin_size_t        size_t;
656                               ^
657./confdefs.h:30:16: note: expanded from macro 'size_t'
658#define size_t unsigned
659               ^
660configure:7653:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
661char *malloc();
662      ^
663configure:7653:7: note: 'malloc' is a builtin with type 'void *(unsigned long)'
664configure:7663:13: warning: implicit declaration of function 'getpagesize' is invalid in C99 [-Wimplicit-function-declaration]
665        pagesize = getpagesize();
666                   ^
667configure:7670:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
668                exit(1);
669                ^
670configure:7670:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
671configure:7672:17: warning: implicit declaration of function 'rand' is invalid in C99 [-Wimplicit-function-declaration]
672                *(data + i) = rand();
673                              ^
674configure:7673:2: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
675        umask(0);
676        ^
677configure:7677:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
678        if (write(fd, data, pagesize) != pagesize)
679            ^
680configure:7679:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
681        close(fd);
682        ^
683configure:7710:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
684        if (read(fd, data3, pagesize) != pagesize)
685            ^
686configure:7716:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
687        unlink("conftestmmap");
688        ^
6899 warnings and 4 errors generated.
690configure: failed program was:
691#line 7569 "configure"
692#include "confdefs.h"
693
694/* Thanks to Mike Haertel and Jim Avera for this test.
695   Here is a matrix of mmap possibilities:
696        mmap private not fixed
697        mmap private fixed at somewhere currently unmapped
698        mmap private fixed at somewhere already mapped
699        mmap shared not fixed
700        mmap shared fixed at somewhere currently unmapped
701        mmap shared fixed at somewhere already mapped
702   For private mappings, we should verify that changes cannot be read()
703   back from the file, nor mmap's back from the file at a different
704   address.  (There have been systems where private was not correctly
705   implemented like the infamous i386 svr4.0, and systems where the
706   VM page cache was not coherent with the filesystem buffer cache
707   like early versions of FreeBSD and possibly contemporary NetBSD.)
708   For shared mappings, we should conversely verify that changes get
709   propogated back to all the places they're supposed to be.
710
711   Grep wants private fixed already mapped.
712   The main things grep needs to know about mmap are:
713   * does it exist and is it safe to write into the mmap'd area
714   * how to use it (BSD variants)  */
715#include <sys/types.h>
716#include <fcntl.h>
717#include <sys/mman.h>
718
719#if HAVE_SYS_TYPES_H
720# include <sys/types.h>
721#endif
722
723#if HAVE_STDLIB_H
724# include <stdlib.h>
725#endif
726
727#if HAVE_SYS_STAT_H
728# include <sys/stat.h>
729#endif
730
731#if HAVE_UNISTD_H
732# include <unistd.h>
733#endif
734
735/* This mess was copied from the GNU getpagesize.h.  */
736#ifndef HAVE_GETPAGESIZE
737
738/* Assume that all systems that can run configure have sys/param.h.  */
739# ifndef HAVE_SYS_PARAM_H
740#  define HAVE_SYS_PARAM_H 1
741# endif
742
743# ifdef _SC_PAGESIZE
744#  define getpagesize() sysconf(_SC_PAGESIZE)
745# else /* no _SC_PAGESIZE */
746#  ifdef HAVE_SYS_PARAM_H
747#   include <sys/param.h>
748#   ifdef EXEC_PAGESIZE
749#    define getpagesize() EXEC_PAGESIZE
750#   else /* no EXEC_PAGESIZE */
751#    ifdef NBPG
752#     define getpagesize() NBPG * CLSIZE
753#     ifndef CLSIZE
754#      define CLSIZE 1
755#     endif /* no CLSIZE */
756#    else /* no NBPG */
757#     ifdef NBPC
758#      define getpagesize() NBPC
759#     else /* no NBPC */
760#      ifdef PAGESIZE
761#       define getpagesize() PAGESIZE
762#      endif /* PAGESIZE */
763#     endif /* no NBPC */
764#    endif /* no NBPG */
765#   endif /* no EXEC_PAGESIZE */
766#  else /* no HAVE_SYS_PARAM_H */
767#   define getpagesize() 8192   /* punt totally */
768#  endif /* no HAVE_SYS_PARAM_H */
769# endif /* no _SC_PAGESIZE */
770
771#endif /* no HAVE_GETPAGESIZE */
772
773#ifdef __cplusplus
774extern "C" { void *malloc(unsigned); }
775#else
776char *malloc();
777#endif
778
779int
780main()
781{
782        char *data, *data2, *data3;
783        int i, pagesize;
784        int fd;
785
786        pagesize = getpagesize();
787
788        /*
789         * First, make a file with some known garbage in it.
790         */
791        data = malloc(pagesize);
792        if (!data)
793                exit(1);
794        for (i = 0; i < pagesize; ++i)
795                *(data + i) = rand();
796        umask(0);
797        fd = creat("conftestmmap", 0600);
798        if (fd < 0)
799                exit(1);
800        if (write(fd, data, pagesize) != pagesize)
801                exit(1);
802        close(fd);
803
804        /*
805         * Next, try to mmap the file at a fixed address which
806         * already has something else allocated at it.  If we can,
807         * also make sure that we see the same garbage.
808         */
809        fd = open("conftestmmap", O_RDWR);
810        if (fd < 0)
811                exit(1);
812        data2 = malloc(2 * pagesize);
813        if (!data2)
814                exit(1);
815        data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
816        if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
817            MAP_PRIVATE | MAP_FIXED, fd, 0L))
818                exit(1);
819        for (i = 0; i < pagesize; ++i)
820                if (*(data + i) != *(data2 + i))
821                        exit(1);
822
823        /*
824         * Finally, make sure that changes to the mapped area
825         * do not percolate back to the file as seen by read().
826         * (This is a bug on some variants of i386 svr4.0.)
827         */
828        for (i = 0; i < pagesize; ++i)
829                *(data2 + i) = *(data2 + i) + 1;
830        data3 = malloc(pagesize);
831        if (!data3)
832                exit(1);
833        if (read(fd, data3, pagesize) != pagesize)
834                exit(1);
835        for (i = 0; i < pagesize; ++i)
836                if (*(data + i) != *(data3 + i))
837                        exit(1);
838        close(fd);
839        unlink("conftestmmap");
840        exit(0);
841}
842
843configure:7750: checking for argz.h
844configure:7760: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
845./configure[7759]: eval: line 1: /lib/cpp: not found
846configure: failed program was:
847#line 7755 "configure"
848#include "confdefs.h"
849#include <argz.h>
850configure:7750: checking for limits.h
851configure:7760: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
852./configure[7759]: eval: line 1: /lib/cpp: not found
853configure: failed program was:
854#line 7755 "configure"
855#include "confdefs.h"
856#include <limits.h>
857configure:7750: checking for locale.h
858configure:7760: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
859./configure[7759]: eval: line 1: /lib/cpp: not found
860configure: failed program was:
861#line 7755 "configure"
862#include "confdefs.h"
863#include <locale.h>
864configure:7750: checking for nl_types.h
865configure:7760: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
866./configure[7759]: eval: line 1: /lib/cpp: not found
867configure: failed program was:
868#line 7755 "configure"
869#include "confdefs.h"
870#include <nl_types.h>
871configure:7750: checking for malloc.h
872configure:7760: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
873./configure[7759]: eval: line 1: /lib/cpp: not found
874configure: failed program was:
875#line 7755 "configure"
876#include "confdefs.h"
877#include <malloc.h>
878configure:7750: checking for string.h
879configure:7750: checking for unistd.h
880configure:7750: checking for sys/param.h
881configure:7760: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
882./configure[7759]: eval: line 1: /lib/cpp: not found
883configure: failed program was:
884#line 7755 "configure"
885#include "confdefs.h"
886#include <sys/param.h>
887configure:7790: checking for getcwd
888configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
889configure:7790: checking for munmap
890configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
891configure:7790: checking for putenv
892configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
893configure:7790: checking for setenv
894configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
895configure:7790: checking for setlocale
896configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
897configure:7790: checking for strchr
898configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
899configure:7802:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration]
900char strchr();
901     ^
902configure:7802:6: note: 'strchr' is a builtin with type 'char *(const char *, int)'
9031 warning generated.
904configure:7790: checking for strcasecmp
905configure:7790: checking for strdup
906configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
907configure:7802:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
908char strdup();
909     ^
910configure:7802:6: note: 'strdup' is a builtin with type 'char *(const char *)'
9111 warning generated.
912configure:7790: checking for __argz_count
913configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
914Undefined symbols for architecture x86_64:
915  "___argz_count", referenced from:
916      _main in conftest-83b353.o
917ld: symbol(s) not found for architecture x86_64
918clang: error: linker command failed with exit code 1 (use -v to see invocation)
919configure: failed program was:
920#line 7795 "configure"
921#include "confdefs.h"
922/* System header to define __stub macros and hopefully few prototypes,
923    which can conflict with char __argz_count(); below.  */
924#include <assert.h>
925/* Override any gcc2 internal prototype to avoid an error.  */
926/* We use char because int might match the return type of a gcc2
927    builtin and then its argument prototype would still apply.  */
928char __argz_count();
929
930int main() {
931
932/* The GNU C library defines this for functions which it implements
933    to always fail with ENOSYS.  Some functions are actually named
934    something starting with __ and the normal name is an alias.  */
935#if defined (__stub___argz_count) || defined (__stub_____argz_count)
936choke me
937#else
938__argz_count();
939#endif
940
941; return 0; }
942configure:7790: checking for __argz_stringify
943configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
944Undefined symbols for architecture x86_64:
945  "___argz_stringify", referenced from:
946      _main in conftest-e5e037.o
947ld: symbol(s) not found for architecture x86_64
948clang: error: linker command failed with exit code 1 (use -v to see invocation)
949configure: failed program was:
950#line 7795 "configure"
951#include "confdefs.h"
952/* System header to define __stub macros and hopefully few prototypes,
953    which can conflict with char __argz_stringify(); below.  */
954#include <assert.h>
955/* Override any gcc2 internal prototype to avoid an error.  */
956/* We use char because int might match the return type of a gcc2
957    builtin and then its argument prototype would still apply.  */
958char __argz_stringify();
959
960int main() {
961
962/* The GNU C library defines this for functions which it implements
963    to always fail with ENOSYS.  Some functions are actually named
964    something starting with __ and the normal name is an alias.  */
965#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
966choke me
967#else
968__argz_stringify();
969#endif
970
971; return 0; }
972configure:7790: checking for __argz_next
973configure:7818: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
974Undefined symbols for architecture x86_64:
975  "___argz_next", referenced from:
976      _main in conftest-1fc683.o
977ld: symbol(s) not found for architecture x86_64
978clang: error: linker command failed with exit code 1 (use -v to see invocation)
979configure: failed program was:
980#line 7795 "configure"
981#include "confdefs.h"
982/* System header to define __stub macros and hopefully few prototypes,
983    which can conflict with char __argz_next(); below.  */
984#include <assert.h>
985/* Override any gcc2 internal prototype to avoid an error.  */
986/* We use char because int might match the return type of a gcc2
987    builtin and then its argument prototype would still apply.  */
988char __argz_next();
989
990int main() {
991
992/* The GNU C library defines this for functions which it implements
993    to always fail with ENOSYS.  Some functions are actually named
994    something starting with __ and the normal name is an alias.  */
995#if defined (__stub___argz_next) || defined (__stub_____argz_next)
996choke me
997#else
998__argz_next();
999#endif
1000
1001; return 0; }
1002configure:7847: checking for stpcpy
1003configure:7875: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  1>&5
1004configure:7859:6: warning: incompatible redeclaration of library function 'stpcpy' [-Wincompatible-library-redeclaration]
1005char stpcpy();
1006     ^
1007configure:7859:6: note: 'stpcpy' is a builtin with type 'char *(char *, const char *)'
10081 warning generated.
1009configure:7942: checking whether NLS is requested
1010configure:7978: checking for libintl.h
1011configure:7988: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1012./configure[7987]: eval: line 1: /lib/cpp: not found
1013configure: failed program was:
1014#line 7983 "configure"
1015#include "confdefs.h"
1016#include <libintl.h>
1017configure:8326: checking whether catgets can be used
1018configure:8684: checking for floor in -lm
1019configure:8703: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm   1>&5
1020configure:8696:6: warning: incompatible redeclaration of library function 'floor' [-Wincompatible-library-redeclaration]
1021char floor();
1022     ^
1023configure:8696:6: note: 'floor' is a builtin with type 'double (double)'
10241 warning generated.
1025configure:8735: checking for dlfcn.h
1026configure:8735: checking for locale.h
1027configure:8773: checking for gmodule support
1028configure:8794: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -lgmodule -lglib conftest.c -lm  1>&5
1029configure:8818: checking for strerror
1030configure:8818: checking for gethostbyname
1031configure:8846: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1032configure:8818: checking for setfsgid
1033configure:8846: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1034Undefined symbols for architecture x86_64:
1035  "_setfsgid", referenced from:
1036      _main in conftest-65edc6.o
1037ld: symbol(s) not found for architecture x86_64
1038clang: error: linker command failed with exit code 1 (use -v to see invocation)
1039configure: failed program was:
1040#line 8823 "configure"
1041#include "confdefs.h"
1042/* System header to define __stub macros and hopefully few prototypes,
1043    which can conflict with char setfsgid(); below.  */
1044#include <assert.h>
1045/* Override any gcc2 internal prototype to avoid an error.  */
1046/* We use char because int might match the return type of a gcc2
1047    builtin and then its argument prototype would still apply.  */
1048char setfsgid();
1049
1050int main() {
1051
1052/* The GNU C library defines this for functions which it implements
1053    to always fail with ENOSYS.  Some functions are actually named
1054    something starting with __ and the normal name is an alias.  */
1055#if defined (__stub_setfsgid) || defined (__stub___setfsgid)
1056choke me
1057#else
1058setfsgid();
1059#endif
1060
1061; return 0; }
1062configure:8818: checking for setenv
1063configure:8818: checking for putenv
1064configure:8818: checking for strdup
1065configure:8916: checking for inet_aton
1066configure:8944: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1067configure:9016: checking for gtk_signal_handler_pending
1068configure:9044: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lSM -lICE -L/opt/local/lib -L/opt/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm   -lm  1>&5
1069configure:9074: checking for sys/select.h
1070configure:9084: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1071./configure[9083]: eval: line 1: /lib/cpp: not found
1072configure: failed program was:
1073#line 9079 "configure"
1074#include "confdefs.h"
1075#include <sys/select.h>
1076configure:9074: checking for sys/time.h
1077configure:9084: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1078./configure[9083]: eval: line 1: /lib/cpp: not found
1079configure: failed program was:
1080#line 9079 "configure"
1081#include "confdefs.h"
1082#include <sys/time.h>
1083configure:9074: checking for sys/un.h
1084configure:9084: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1085./configure[9083]: eval: line 1: /lib/cpp: not found
1086configure: failed program was:
1087#line 9079 "configure"
1088#include "confdefs.h"
1089#include <sys/un.h>
1090configure:9074: checking for paths.h
1091configure:9084: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1092./configure[9083]: eval: line 1: /lib/cpp: not found
1093configure: failed program was:
1094#line 9079 "configure"
1095#include "confdefs.h"
1096#include <paths.h>
1097configure:9074: checking for sys/syslimits.h
1098configure:9084: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1099./configure[9083]: eval: line 1: /lib/cpp: not found
1100configure: failed program was:
1101#line 9079 "configure"
1102#include "confdefs.h"
1103#include <sys/syslimits.h>
1104configure:9074: checking for sys/fsuid.h
1105configure:9084: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1106./configure[9083]: eval: line 1: /lib/cpp: not found
1107configure: failed program was:
1108#line 9079 "configure"
1109#include "confdefs.h"
1110#include <sys/fsuid.h>
1111configure:9112: checking for sa_len in struct sockaddr
1112configure:9121: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1113clang: warning: argument unused during compilation: '-L/opt/local/lib'
1114In file included from configure:9115:
1115In file included from /usr/include/sys/socket.h:75:
1116In file included from /usr/include/sys/types.h:108:
1117/usr/include/sys/_types/_gid_t.h:30:24: error: cannot combine with previous 'type-name' declaration specifier
1118typedef __darwin_gid_t  gid_t;
1119                        ^
1120./confdefs.h:24:15: note: expanded from macro 'gid_t'
1121#define gid_t int
1122              ^
1123In file included from configure:9115:
1124In file included from /usr/include/sys/socket.h:75:
1125In file included from /usr/include/sys/types.h:122:
1126/usr/include/sys/_types/_off_t.h:30:25: error: 'long type-name' is invalid
1127typedef __darwin_off_t          off_t;
1128                                ^
1129./confdefs.h:29:15: note: expanded from macro 'off_t'
1130#define off_t long
1131              ^
1132In file included from configure:9115:
1133In file included from /usr/include/sys/socket.h:75:
1134In file included from /usr/include/sys/types.h:127:
1135/usr/include/sys/_types/_uid_t.h:30:31: error: cannot combine with previous 'type-name' declaration specifier
1136typedef __darwin_uid_t        uid_t;
1137                              ^
1138./confdefs.h:23:15: note: expanded from macro 'uid_t'
1139#define uid_t int
1140              ^
1141In file included from configure:9115:
1142In file included from /usr/include/sys/socket.h:75:
1143In file included from /usr/include/sys/types.h:162:
1144/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1145typedef __darwin_size_t        size_t;
1146                               ^
1147./confdefs.h:30:16: note: expanded from macro 'size_t'
1148#define size_t unsigned
1149               ^
1150configure:9117:22: warning: expression result unused [-Wunused-value]
1151struct sockaddr s; s.sa_len;
1152                   ~ ^~~~~~
11531 warning and 4 errors generated.
1154configure: failed program was:
1155#line 9114 "configure"
1156#include "confdefs.h"
1157#include <sys/socket.h>
1158int main() {
1159struct sockaddr s; s.sa_len;
1160; return 0; }
1161configure:9134: checking for sa_len with -D_SOCKADDR_LEN
1162configure:9145: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -D_SOCKADDR_LEN conftest.c 1>&5
1163clang: warning: argument unused during compilation: '-L/opt/local/lib'
1164In file included from configure:9139:
1165In file included from /usr/include/sys/socket.h:75:
1166In file included from /usr/include/sys/types.h:108:
1167/usr/include/sys/_types/_gid_t.h:30:24: error: cannot combine with previous 'type-name' declaration specifier
1168typedef __darwin_gid_t  gid_t;
1169                        ^
1170./confdefs.h:24:15: note: expanded from macro 'gid_t'
1171#define gid_t int
1172              ^
1173In file included from configure:9139:
1174In file included from /usr/include/sys/socket.h:75:
1175In file included from /usr/include/sys/types.h:122:
1176/usr/include/sys/_types/_off_t.h:30:25: error: 'long type-name' is invalid
1177typedef __darwin_off_t          off_t;
1178                                ^
1179./confdefs.h:29:15: note: expanded from macro 'off_t'
1180#define off_t long
1181              ^
1182In file included from configure:9139:
1183In file included from /usr/include/sys/socket.h:75:
1184In file included from /usr/include/sys/types.h:127:
1185/usr/include/sys/_types/_uid_t.h:30:31: error: cannot combine with previous 'type-name' declaration specifier
1186typedef __darwin_uid_t        uid_t;
1187                              ^
1188./confdefs.h:23:15: note: expanded from macro 'uid_t'
1189#define uid_t int
1190              ^
1191In file included from configure:9139:
1192In file included from /usr/include/sys/socket.h:75:
1193In file included from /usr/include/sys/types.h:162:
1194/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1195typedef __darwin_size_t        size_t;
1196                               ^
1197./confdefs.h:30:16: note: expanded from macro 'size_t'
1198#define size_t unsigned
1199               ^
1200configure:9141:22: warning: expression result unused [-Wunused-value]
1201struct sockaddr s; s.sa_len;
1202                   ~ ^~~~~~
12031 warning and 4 errors generated.
1204configure: failed program was:
1205#line 9138 "configure"
1206#include "confdefs.h"
1207#include <sys/socket.h>
1208int main() {
1209struct sockaddr s; s.sa_len;
1210; return 0; }
1211configure:9165: checking for Unix98 sendmsg
1212configure:9183: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1213In file included from configure:9169:
1214In file included from /usr/include/stdio.h:72:
1215/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1216typedef __darwin_size_t        size_t;
1217                               ^
1218./confdefs.h:30:16: note: expanded from macro 'size_t'
1219#define size_t unsigned
1220               ^
1221In file included from configure:9169:
1222In file included from /usr/include/stdio.h:409:
1223/usr/include/sys/_types/_off_t.h:30:25: error: 'long type-name' is invalid
1224typedef __darwin_off_t          off_t;
1225                                ^
1226./confdefs.h:29:15: note: expanded from macro 'off_t'
1227#define off_t long
1228              ^
1229In file included from configure:9170:
1230In file included from /usr/include/sys/types.h:108:
1231/usr/include/sys/_types/_gid_t.h:30:24: error: cannot combine with previous 'type-name' declaration specifier
1232typedef __darwin_gid_t  gid_t;
1233                        ^
1234./confdefs.h:24:15: note: expanded from macro 'gid_t'
1235#define gid_t int
1236              ^
1237In file included from configure:9170:
1238In file included from /usr/include/sys/types.h:127:
1239/usr/include/sys/_types/_uid_t.h:30:31: error: cannot combine with previous 'type-name' declaration specifier
1240typedef __darwin_uid_t        uid_t;
1241                              ^
1242./confdefs.h:23:15: note: expanded from macro 'uid_t'
1243#define uid_t int
1244              ^
12454 errors generated.
1246configure: failed program was:
1247#line 9167 "configure"
1248#include "confdefs.h"
1249
1250#include <stdio.h>
1251#include <sys/types.h>
1252#include <sys/socket.h>
1253
1254int main() {
1255
1256struct msghdr hdr;
1257hdr.msg_control = NULL;
1258hdr.msg_controllen = 0;
1259sendmsg (0, &hdr, 0);
1260
1261; return 0; }
1262configure:9205: checking for sys/time.h
1263configure:9205: checking for utmp.h
1264configure:9215: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1265./configure[9214]: eval: line 1: /lib/cpp: not found
1266configure: failed program was:
1267#line 9210 "configure"
1268#include "confdefs.h"
1269#include <utmp.h>
1270configure:9205: checking for utmpx.h
1271configure:9215: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1272./configure[9214]: eval: line 1: /lib/cpp: not found
1273configure: failed program was:
1274#line 9210 "configure"
1275#include "confdefs.h"
1276#include <utmpx.h>
1277configure:9242: checking whether time.h and sys/time.h may both be included
1278configure:9256: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1279clang: warning: argument unused during compilation: '-L/opt/local/lib'
1280In file included from configure:9248:
1281In file included from /usr/include/sys/types.h:108:
1282/usr/include/sys/_types/_gid_t.h:30:24: error: cannot combine with previous 'type-name' declaration specifier
1283typedef __darwin_gid_t  gid_t;
1284                        ^
1285./confdefs.h:24:15: note: expanded from macro 'gid_t'
1286#define gid_t int
1287              ^
1288In file included from configure:9248:
1289In file included from /usr/include/sys/types.h:122:
1290/usr/include/sys/_types/_off_t.h:30:25: error: 'long type-name' is invalid
1291typedef __darwin_off_t          off_t;
1292                                ^
1293./confdefs.h:29:15: note: expanded from macro 'off_t'
1294#define off_t long
1295              ^
1296In file included from configure:9248:
1297In file included from /usr/include/sys/types.h:127:
1298/usr/include/sys/_types/_uid_t.h:30:31: error: cannot combine with previous 'type-name' declaration specifier
1299typedef __darwin_uid_t        uid_t;
1300                              ^
1301./confdefs.h:23:15: note: expanded from macro 'uid_t'
1302#define uid_t int
1303              ^
1304In file included from configure:9248:
1305In file included from /usr/include/sys/types.h:162:
1306/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1307typedef __darwin_size_t        size_t;
1308                               ^
1309./confdefs.h:30:16: note: expanded from macro 'size_t'
1310#define size_t unsigned
1311               ^
1312configure:9252:12: warning: unused variable 'tp' [-Wunused-variable]
1313struct tm *tp;
1314           ^
13151 warning and 4 errors generated.
1316configure: failed program was:
1317#line 9247 "configure"
1318#include "confdefs.h"
1319#include <sys/types.h>
1320#include <sys/time.h>
1321#include <time.h>
1322int main() {
1323struct tm *tp;
1324; return 0; }
1325configure:9290: checking for ut_host field in the utmp structure
1326configure:9314: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1327clang: warning: argument unused during compilation: '-L/opt/local/lib'
1328In file included from configure:9300:
1329In file included from /usr/include/time.h:72:
1330/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1331typedef __darwin_size_t        size_t;
1332                               ^
1333./confdefs.h:30:16: note: expanded from macro 'size_t'
1334#define size_t unsigned
1335               ^
1336configure:9310:6: error: variable has incomplete type 'struct utmp'
1337UTMP ut; char *p; p=ut.ut_host;
1338     ^
1339configure:9310:1: note: forward declaration of 'struct utmp'
1340UTMP ut; char *p; p=ut.ut_host;
1341^
1342./confdefs.h:51:21: note: expanded from macro 'UTMP'
1343#define UTMP struct utmp
1344                    ^
13452 errors generated.
1346configure: failed program was:
1347#line 9292 "configure"
1348#include "confdefs.h"
1349#ifdef TIME_WITH_SYS_TIME
1350#include <sys/time.h>
1351#include <time.h>
1352#else
1353#ifdef HAVE_SYS_TIME_H
1354#include <sys/time.h>
1355#else
1356#include <time.h>
1357#endif
1358#endif
1359#ifdef HAVE_UTMP_H
1360#include <utmp.h>
1361#endif
1362#ifdef HAVE_UTMPX_H
1363#include <utmpx.h>
1364#endif
1365int main() {
1366UTMP ut; char *p; p=ut.ut_host;
1367; return 0; }
1368configure:9333: checking for ut_pid field in the utmp structure
1369configure:9357: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1370clang: warning: argument unused during compilation: '-L/opt/local/lib'
1371In file included from configure:9343:
1372In file included from /usr/include/time.h:72:
1373/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1374typedef __darwin_size_t        size_t;
1375                               ^
1376./confdefs.h:30:16: note: expanded from macro 'size_t'
1377#define size_t unsigned
1378               ^
1379configure:9353:6: error: variable has incomplete type 'struct utmp'
1380UTMP ut; int i; i=ut.ut_pid;
1381     ^
1382configure:9353:1: note: forward declaration of 'struct utmp'
1383UTMP ut; int i; i=ut.ut_pid;
1384^
1385./confdefs.h:51:21: note: expanded from macro 'UTMP'
1386#define UTMP struct utmp
1387                    ^
13882 errors generated.
1389configure: failed program was:
1390#line 9335 "configure"
1391#include "confdefs.h"
1392#ifdef TIME_WITH_SYS_TIME
1393#include <sys/time.h>
1394#include <time.h>
1395#else
1396#ifdef HAVE_SYS_TIME_H
1397#include <sys/time.h>
1398#else
1399#include <time.h>
1400#endif
1401#endif
1402#ifdef HAVE_UTMP_H
1403#include <utmp.h>
1404#endif
1405#ifdef HAVE_UTMPX_H
1406#include <utmpx.h>
1407#endif
1408int main() {
1409UTMP ut; int i; i=ut.ut_pid;
1410; return 0; }
1411configure:9376: checking for ut_id field in the utmp structure
1412configure:9400: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1413clang: warning: argument unused during compilation: '-L/opt/local/lib'
1414In file included from configure:9386:
1415In file included from /usr/include/time.h:72:
1416/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1417typedef __darwin_size_t        size_t;
1418                               ^
1419./confdefs.h:30:16: note: expanded from macro 'size_t'
1420#define size_t unsigned
1421               ^
1422configure:9396:6: error: variable has incomplete type 'struct utmp'
1423UTMP ut; char *p; p=ut.ut_id;
1424     ^
1425configure:9396:1: note: forward declaration of 'struct utmp'
1426UTMP ut; char *p; p=ut.ut_id;
1427^
1428./confdefs.h:51:21: note: expanded from macro 'UTMP'
1429#define UTMP struct utmp
1430                    ^
14312 errors generated.
1432configure: failed program was:
1433#line 9378 "configure"
1434#include "confdefs.h"
1435#ifdef TIME_WITH_SYS_TIME
1436#include <sys/time.h>
1437#include <time.h>
1438#else
1439#ifdef HAVE_SYS_TIME_H
1440#include <sys/time.h>
1441#else
1442#include <time.h>
1443#endif
1444#endif
1445#ifdef HAVE_UTMP_H
1446#include <utmp.h>
1447#endif
1448#ifdef HAVE_UTMPX_H
1449#include <utmpx.h>
1450#endif
1451int main() {
1452UTMP ut; char *p; p=ut.ut_id;
1453; return 0; }
1454configure:9419: checking for ut_name field in the utmp structure
1455configure:9443: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1456clang: warning: argument unused during compilation: '-L/opt/local/lib'
1457In file included from configure:9429:
1458In file included from /usr/include/time.h:72:
1459/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1460typedef __darwin_size_t        size_t;
1461                               ^
1462./confdefs.h:30:16: note: expanded from macro 'size_t'
1463#define size_t unsigned
1464               ^
1465configure:9439:6: error: variable has incomplete type 'struct utmp'
1466UTMP ut; char *p; p=ut.ut_name;
1467     ^
1468configure:9439:1: note: forward declaration of 'struct utmp'
1469UTMP ut; char *p; p=ut.ut_name;
1470^
1471./confdefs.h:51:21: note: expanded from macro 'UTMP'
1472#define UTMP struct utmp
1473                    ^
14742 errors generated.
1475configure: failed program was:
1476#line 9421 "configure"
1477#include "confdefs.h"
1478#ifdef TIME_WITH_SYS_TIME
1479#include <sys/time.h>
1480#include <time.h>
1481#else
1482#ifdef HAVE_SYS_TIME_H
1483#include <sys/time.h>
1484#else
1485#include <time.h>
1486#endif
1487#endif
1488#ifdef HAVE_UTMP_H
1489#include <utmp.h>
1490#endif
1491#ifdef HAVE_UTMPX_H
1492#include <utmpx.h>
1493#endif
1494int main() {
1495UTMP ut; char *p; p=ut.ut_name;
1496; return 0; }
1497configure:9462: checking for ut_type field in the utmp structure
1498configure:9486: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1499clang: warning: argument unused during compilation: '-L/opt/local/lib'
1500In file included from configure:9472:
1501In file included from /usr/include/time.h:72:
1502/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1503typedef __darwin_size_t        size_t;
1504                               ^
1505./confdefs.h:30:16: note: expanded from macro 'size_t'
1506#define size_t unsigned
1507               ^
1508configure:9482:6: error: variable has incomplete type 'struct utmp'
1509UTMP ut; int i; i=(int) ut.ut_type;
1510     ^
1511configure:9482:1: note: forward declaration of 'struct utmp'
1512UTMP ut; int i; i=(int) ut.ut_type;
1513^
1514./confdefs.h:51:21: note: expanded from macro 'UTMP'
1515#define UTMP struct utmp
1516                    ^
15172 errors generated.
1518configure: failed program was:
1519#line 9464 "configure"
1520#include "confdefs.h"
1521#ifdef TIME_WITH_SYS_TIME
1522#include <sys/time.h>
1523#include <time.h>
1524#else
1525#ifdef HAVE_SYS_TIME_H
1526#include <sys/time.h>
1527#else
1528#include <time.h>
1529#endif
1530#endif
1531#ifdef HAVE_UTMP_H
1532#include <utmp.h>
1533#endif
1534#ifdef HAVE_UTMPX_H
1535#include <utmpx.h>
1536#endif
1537int main() {
1538UTMP ut; int i; i=(int) ut.ut_type;
1539; return 0; }
1540configure:9505: checking for ut_exit.e_termination field in the utmp structure
1541configure:9529: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1542clang: warning: argument unused during compilation: '-L/opt/local/lib'
1543In file included from configure:9515:
1544In file included from /usr/include/time.h:72:
1545/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1546typedef __darwin_size_t        size_t;
1547                               ^
1548./confdefs.h:30:16: note: expanded from macro 'size_t'
1549#define size_t unsigned
1550               ^
1551configure:9525:6: error: variable has incomplete type 'struct utmp'
1552UTMP ut; ut.ut_exit.e_termination=0;
1553     ^
1554configure:9525:1: note: forward declaration of 'struct utmp'
1555UTMP ut; ut.ut_exit.e_termination=0;
1556^
1557./confdefs.h:51:21: note: expanded from macro 'UTMP'
1558#define UTMP struct utmp
1559                    ^
15602 errors generated.
1561configure: failed program was:
1562#line 9507 "configure"
1563#include "confdefs.h"
1564#ifdef TIME_WITH_SYS_TIME
1565#include <sys/time.h>
1566#include <time.h>
1567#else
1568#ifdef HAVE_SYS_TIME_H
1569#include <sys/time.h>
1570#else
1571#include <time.h>
1572#endif
1573#endif
1574#ifdef HAVE_UTMP_H
1575#include <utmp.h>
1576#endif
1577#ifdef HAVE_UTMPX_H
1578#include <utmpx.h>
1579#endif
1580int main() {
1581UTMP ut; ut.ut_exit.e_termination=0;
1582; return 0; }
1583configure:9548: checking for ut_user field in the utmp structure
1584configure:9572: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1585clang: warning: argument unused during compilation: '-L/opt/local/lib'
1586In file included from configure:9558:
1587In file included from /usr/include/time.h:72:
1588/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1589typedef __darwin_size_t        size_t;
1590                               ^
1591./confdefs.h:30:16: note: expanded from macro 'size_t'
1592#define size_t unsigned
1593               ^
1594configure:9568:6: error: variable has incomplete type 'struct utmp'
1595UTMP ut; char *p; p=ut.ut_user;
1596     ^
1597configure:9568:1: note: forward declaration of 'struct utmp'
1598UTMP ut; char *p; p=ut.ut_user;
1599^
1600./confdefs.h:51:21: note: expanded from macro 'UTMP'
1601#define UTMP struct utmp
1602                    ^
16032 errors generated.
1604configure: failed program was:
1605#line 9550 "configure"
1606#include "confdefs.h"
1607#ifdef TIME_WITH_SYS_TIME
1608#include <sys/time.h>
1609#include <time.h>
1610#else
1611#ifdef HAVE_SYS_TIME_H
1612#include <sys/time.h>
1613#else
1614#include <time.h>
1615#endif
1616#endif
1617#ifdef HAVE_UTMP_H
1618#include <utmp.h>
1619#endif
1620#ifdef HAVE_UTMPX_H
1621#include <utmpx.h>
1622#endif
1623int main() {
1624UTMP ut; char *p; p=ut.ut_user;
1625; return 0; }
1626configure:9591: checking for ut_time field in the utmp structure
1627configure:9615: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1628clang: warning: argument unused during compilation: '-L/opt/local/lib'
1629In file included from configure:9601:
1630In file included from /usr/include/time.h:72:
1631/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1632typedef __darwin_size_t        size_t;
1633                               ^
1634./confdefs.h:30:16: note: expanded from macro 'size_t'
1635#define size_t unsigned
1636               ^
1637configure:9611:6: error: variable has incomplete type 'struct utmp'
1638UTMP ut; ut.ut_time=0;
1639     ^
1640configure:9611:1: note: forward declaration of 'struct utmp'
1641UTMP ut; ut.ut_time=0;
1642^
1643./confdefs.h:51:21: note: expanded from macro 'UTMP'
1644#define UTMP struct utmp
1645                    ^
16462 errors generated.
1647configure: failed program was:
1648#line 9593 "configure"
1649#include "confdefs.h"
1650#ifdef TIME_WITH_SYS_TIME
1651#include <sys/time.h>
1652#include <time.h>
1653#else
1654#ifdef HAVE_SYS_TIME_H
1655#include <sys/time.h>
1656#else
1657#include <time.h>
1658#endif
1659#endif
1660#ifdef HAVE_UTMP_H
1661#include <utmp.h>
1662#endif
1663#ifdef HAVE_UTMPX_H
1664#include <utmpx.h>
1665#endif
1666int main() {
1667UTMP ut; ut.ut_time=0;
1668; return 0; }
1669configure:9634: checking for ut_tv field in the utmp structure
1670configure:9658: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1671clang: warning: argument unused during compilation: '-L/opt/local/lib'
1672In file included from configure:9644:
1673In file included from /usr/include/time.h:72:
1674/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1675typedef __darwin_size_t        size_t;
1676                               ^
1677./confdefs.h:30:16: note: expanded from macro 'size_t'
1678#define size_t unsigned
1679               ^
1680configure:9654:6: error: variable has incomplete type 'struct utmp'
1681UTMP ut; ut.ut_tv.tv_sec=0;
1682     ^
1683configure:9654:1: note: forward declaration of 'struct utmp'
1684UTMP ut; ut.ut_tv.tv_sec=0;
1685^
1686./confdefs.h:51:21: note: expanded from macro 'UTMP'
1687#define UTMP struct utmp
1688                    ^
16892 errors generated.
1690configure: failed program was:
1691#line 9636 "configure"
1692#include "confdefs.h"
1693#ifdef TIME_WITH_SYS_TIME
1694#include <sys/time.h>
1695#include <time.h>
1696#else
1697#ifdef HAVE_SYS_TIME_H
1698#include <sys/time.h>
1699#else
1700#include <time.h>
1701#endif
1702#endif
1703#ifdef HAVE_UTMP_H
1704#include <utmp.h>
1705#endif
1706#ifdef HAVE_UTMPX_H
1707#include <utmpx.h>
1708#endif
1709int main() {
1710UTMP ut; ut.ut_tv.tv_sec=0;
1711; return 0; }
1712configure:9677: checking for ut_syslen field in the utmp structure
1713configure:9701: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1714clang: warning: argument unused during compilation: '-L/opt/local/lib'
1715In file included from configure:9687:
1716In file included from /usr/include/time.h:72:
1717/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1718typedef __darwin_size_t        size_t;
1719                               ^
1720./confdefs.h:30:16: note: expanded from macro 'size_t'
1721#define size_t unsigned
1722               ^
1723configure:9697:6: error: variable has incomplete type 'struct utmp'
1724UTMP ut; ut.ut_syslen=0;
1725     ^
1726configure:9697:1: note: forward declaration of 'struct utmp'
1727UTMP ut; ut.ut_syslen=0;
1728^
1729./confdefs.h:51:21: note: expanded from macro 'UTMP'
1730#define UTMP struct utmp
1731                    ^
17322 errors generated.
1733configure: failed program was:
1734#line 9679 "configure"
1735#include "confdefs.h"
1736#ifdef TIME_WITH_SYS_TIME
1737#include <sys/time.h>
1738#include <time.h>
1739#else
1740#ifdef HAVE_SYS_TIME_H
1741#include <sys/time.h>
1742#else
1743#include <time.h>
1744#endif
1745#endif
1746#ifdef HAVE_UTMP_H
1747#include <utmp.h>
1748#endif
1749#ifdef HAVE_UTMPX_H
1750#include <utmpx.h>
1751#endif
1752int main() {
1753UTMP ut; ut.ut_syslen=0;
1754; return 0; }
1755configure:9726: checking for sys/time.h
1756configure:9726: checking for utmp.h
1757configure:9726: checking for lastlog.h
1758configure:9736: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1759./configure[9735]: eval: line 1: /lib/cpp: not found
1760configure: failed program was:
1761#line 9731 "configure"
1762#include "confdefs.h"
1763#include <lastlog.h>
1764configure:9763: checking whether time.h and sys/time.h may both be included
1765configure:9799: checking for existance of lastlog structure
1766configure:9823: /usr/bin/clang -c -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c 1>&5
1767clang: warning: argument unused during compilation: '-L/opt/local/lib'
1768In file included from configure:9809:
1769In file included from /usr/include/time.h:72:
1770/usr/include/sys/_types/_size_t.h:30:32: error: 'type-name' cannot be signed or unsigned
1771typedef __darwin_size_t        size_t;
1772                               ^
1773./confdefs.h:30:16: note: expanded from macro 'size_t'
1774#define size_t unsigned
1775               ^
1776configure:9819:16: error: variable has incomplete type 'struct lastlog'
1777struct lastlog ll; char *p; p=ll.ll_host;
1778               ^
1779configure:9819:8: note: forward declaration of 'struct lastlog'
1780struct lastlog ll; char *p; p=ll.ll_host;
1781       ^
17822 errors generated.
1783configure: failed program was:
1784#line 9801 "configure"
1785#include "confdefs.h"
1786#ifdef TIME_WITH_SYS_TIME
1787#include <sys/time.h>
1788#include <time.h>
1789#else
1790#ifdef HAVE_SYS_TIME_H
1791#include <sys/time.h>
1792#else
1793#include <time.h>
1794#endif
1795#endif
1796#ifdef HAVE_UTMP_H
1797#include <utmp.h>
1798#endif
1799#ifdef HAVE_LASTLOG_H
1800#include <lastlog.h>
1801#endif
1802int main() {
1803struct lastlog ll; char *p; p=ll.ll_host;
1804; return 0; }
1805configure:9847: checking for pty.h
1806configure:9857: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1807./configure[9856]: eval: line 1: /lib/cpp: not found
1808configure: failed program was:
1809#line 9852 "configure"
1810#include "confdefs.h"
1811#include <pty.h>
1812configure:9847: checking for util.h
1813configure:9857: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1814./configure[9856]: eval: line 1: /lib/cpp: not found
1815configure: failed program was:
1816#line 9852 "configure"
1817#include "confdefs.h"
1818#include <util.h>
1819configure:9847: checking for libutil.h
1820configure:9857: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1821./configure[9856]: eval: line 1: /lib/cpp: not found
1822configure: failed program was:
1823#line 9852 "configure"
1824#include "confdefs.h"
1825#include <libutil.h>
1826configure:9847: checking for ttyent.h
1827configure:9857: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1828./configure[9856]: eval: line 1: /lib/cpp: not found
1829configure: failed program was:
1830#line 9852 "configure"
1831#include "confdefs.h"
1832#include <ttyent.h>
1833configure:9885: checking for openpty in -lutil
1834configure:9904: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lutil  -lm  1>&5
1835configure:9921: checking for login_tty in -lutil
1836configure:9940: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lutil  -lm  1>&5
1837configure:9982: checking for grantpt
1838configure:10010: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1839configure:9982: checking for utmpxname
1840configure:10010: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1841configure:9982: checking for utmpname
1842configure:10010: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1843Undefined symbols for architecture x86_64:
1844  "_utmpname", referenced from:
1845      _main in conftest-ded703.o
1846ld: symbol(s) not found for architecture x86_64
1847clang: error: linker command failed with exit code 1 (use -v to see invocation)
1848configure: failed program was:
1849#line 9987 "configure"
1850#include "confdefs.h"
1851/* System header to define __stub macros and hopefully few prototypes,
1852    which can conflict with char utmpname(); below.  */
1853#include <assert.h>
1854/* Override any gcc2 internal prototype to avoid an error.  */
1855/* We use char because int might match the return type of a gcc2
1856    builtin and then its argument prototype would still apply.  */
1857char utmpname();
1858
1859int main() {
1860
1861/* The GNU C library defines this for functions which it implements
1862    to always fail with ENOSYS.  Some functions are actually named
1863    something starting with __ and the normal name is an alias.  */
1864#if defined (__stub_utmpname) || defined (__stub___utmpname)
1865choke me
1866#else
1867utmpname();
1868#endif
1869
1870; return 0; }
1871configure:9982: checking for getutmpx
1872configure:10010: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1873configure:9982: checking for getutent
1874configure:10010: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1875Undefined symbols for architecture x86_64:
1876  "_getutent", referenced from:
1877      _main in conftest-9eb6ce.o
1878ld: symbol(s) not found for architecture x86_64
1879clang: error: linker command failed with exit code 1 (use -v to see invocation)
1880configure: failed program was:
1881#line 9987 "configure"
1882#include "confdefs.h"
1883/* System header to define __stub macros and hopefully few prototypes,
1884    which can conflict with char getutent(); below.  */
1885#include <assert.h>
1886/* Override any gcc2 internal prototype to avoid an error.  */
1887/* We use char because int might match the return type of a gcc2
1888    builtin and then its argument prototype would still apply.  */
1889char getutent();
1890
1891int main() {
1892
1893/* The GNU C library defines this for functions which it implements
1894    to always fail with ENOSYS.  Some functions are actually named
1895    something starting with __ and the normal name is an alias.  */
1896#if defined (__stub_getutent) || defined (__stub___getutent)
1897choke me
1898#else
1899getutent();
1900#endif
1901
1902; return 0; }
1903configure:9982: checking for getttyent
1904configure:10010: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1905configure:10037: checking for updwtmpx
1906configure:10065: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1907Undefined symbols for architecture x86_64:
1908  "_updwtmpx", referenced from:
1909      _main in conftest-e5883a.o
1910ld: symbol(s) not found for architecture x86_64
1911clang: error: linker command failed with exit code 1 (use -v to see invocation)
1912configure: failed program was:
1913#line 10042 "configure"
1914#include "confdefs.h"
1915/* System header to define __stub macros and hopefully few prototypes,
1916    which can conflict with char updwtmpx(); below.  */
1917#include <assert.h>
1918/* Override any gcc2 internal prototype to avoid an error.  */
1919/* We use char because int might match the return type of a gcc2
1920    builtin and then its argument prototype would still apply.  */
1921char updwtmpx();
1922
1923int main() {
1924
1925/* The GNU C library defines this for functions which it implements
1926    to always fail with ENOSYS.  Some functions are actually named
1927    something starting with __ and the normal name is an alias.  */
1928#if defined (__stub_updwtmpx) || defined (__stub___updwtmpx)
1929choke me
1930#else
1931updwtmpx();
1932#endif
1933
1934; return 0; }
1935configure:10037: checking for updwtmp
1936configure:10065: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1937Undefined symbols for architecture x86_64:
1938  "_updwtmp", referenced from:
1939      _main in conftest-67d8ad.o
1940ld: symbol(s) not found for architecture x86_64
1941clang: error: linker command failed with exit code 1 (use -v to see invocation)
1942configure: failed program was:
1943#line 10042 "configure"
1944#include "confdefs.h"
1945/* System header to define __stub macros and hopefully few prototypes,
1946    which can conflict with char updwtmp(); below.  */
1947#include <assert.h>
1948/* Override any gcc2 internal prototype to avoid an error.  */
1949/* We use char because int might match the return type of a gcc2
1950    builtin and then its argument prototype would still apply.  */
1951char updwtmp();
1952
1953int main() {
1954
1955/* The GNU C library defines this for functions which it implements
1956    to always fail with ENOSYS.  Some functions are actually named
1957    something starting with __ and the normal name is an alias.  */
1958#if defined (__stub_updwtmp) || defined (__stub___updwtmp)
1959choke me
1960#else
1961updwtmp();
1962#endif
1963
1964; return 0; }
1965configure:10037: checking for fcntl
1966configure:10065: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1967configure:10037: checking for flock
1968configure:10065: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1969configure:10037: checking for strrchr
1970configure:10065: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1971configure:10049:6: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration]
1972char strrchr();
1973     ^
1974configure:10049:6: note: 'strrchr' is a builtin with type 'char *(const char *, int)'
19751 warning generated.
1976configure:10037: checking for seteuid
1977configure:10065: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1978configure:10037: checking for setreuid
1979configure:10065: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lm  1>&5
1980configure:10094: checking for stropts.h
1981configure:10104: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1982./configure[10103]: eval: line 1: /lib/cpp: not found
1983configure: failed program was:
1984#line 10099 "configure"
1985#include "confdefs.h"
1986#include <stropts.h>
1987configure:10186: checking for inflate in -lz
1988configure:10205: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lz  -lm  1>&5
1989configure:10222: checking for zlib.h
1990configure:10232: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
1991./configure[10231]: eval: line 1: /lib/cpp: not found
1992configure: failed program was:
1993#line 10227 "configure"
1994#include "confdefs.h"
1995#include <zlib.h>
1996configure:10261: checking for compress in -lz
1997configure:10280: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lz  -lm  1>&5
1998configure:10314: checking for jpeg_destroy_decompress in -ljpeg
1999configure:10333: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -ljpeg  -lz -lm  1>&5
2000configure:10356: checking for jpeglib.h
2001configure:10369: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2002./configure[10368]: eval: line 1: /lib/cpp: not found
2003configure: failed program was:
2004#line 10358 "configure"
2005#include "confdefs.h"
2006#include <stdio.h>
2007#undef PACKAGE
2008#undef VERSION
2009/* AAARGH!!! jpeglib.h defines HAVE_STDLIB_H.  */
2010#undef HAVE_STDDEF_H
2011#undef HAVE_STDLIB_H
2012#include <jpeglib.h>
2013configure:10392: checking for TIFFReadScanline in -ltiff
2014configure:10411: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -ltiff -lm -lz -lm  1>&5
2015configure:10428: checking for tiffio.h
2016configure:10438: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2017./configure[10437]: eval: line 1: /lib/cpp: not found
2018configure: failed program was:
2019#line 10433 "configure"
2020#include "confdefs.h"
2021#include <tiffio.h>
2022configure:10618: checking for DGifOpenFileName in -lgif
2023configure:10637: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lgif -lSM -lICE -L/opt/local/lib -L/opt/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm -lz -lm  1>&5
2024configure:10654: checking for gif_lib.h
2025configure:10664: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2026./configure[10663]: eval: line 1: /lib/cpp: not found
2027configure: failed program was:
2028#line 10659 "configure"
2029#include "confdefs.h"
2030#include <gif_lib.h>
2031configure:10694: checking for DGifOpenFileName in -lungif
2032configure:10713: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lungif -lSM -lICE -L/opt/local/lib -L/opt/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm -lz -lm  1>&5
2033ld: library not found for -lungif
2034clang: error: linker command failed with exit code 1 (use -v to see invocation)
2035configure: failed program was:
2036#line 10702 "configure"
2037#include "confdefs.h"
2038/* Override any gcc2 internal prototype to avoid an error.  */
2039/* We use char because int might match the return type of a gcc2
2040    builtin and then its argument prototype would still apply.  */
2041char DGifOpenFileName();
2042
2043int main() {
2044DGifOpenFileName()
2045; return 0; }
2046configure:10770: checking for png_read_info in -lpng
2047configure:10789: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lpng  -lm -lz -lm  1>&5
2048configure:10806: checking for png.h
2049configure:10816: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2050./configure[10815]: eval: line 1: /lib/cpp: not found
2051configure: failed program was:
2052#line 10811 "configure"
2053#include "confdefs.h"
2054#include <png.h>
2055configure:10917: checking for strdup
2056configure:10973: checking for utime.h
2057configure:10983: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2058./configure[10982]: eval: line 1: /lib/cpp: not found
2059configure: failed program was:
2060#line 10978 "configure"
2061#include "confdefs.h"
2062#include <utime.h>
2063configure:11013: checking for stdlib.h
2064configure:11013: checking for unistd.h
2065configure:11013: checking for sys/stat.h
2066configure:11013: checking for sys/types.h
2067configure:11052: checking for getpagesize
2068configure:11105: checking for working mmap
2069configure:11289: checking for umode_t
2070./configure[11301]: eval: line 1: /lib/cpp: not found
2071configure:11332: checking for dbopen
2072configure:11360: /usr/bin/clang -o conftest -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64 -Wall -Wunused  -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lz -lm  1>&5
2073configure:11767: checking for db.h
2074configure:11777: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2075./configure[11776]: eval: line 1: /lib/cpp: not found
2076configure: failed program was:
2077#line 11772 "configure"
2078#include "confdefs.h"
2079#include <db.h>
2080configure:11767: checking for db_185.h
2081configure:11777: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2082./configure[11776]: eval: line 1: /lib/cpp: not found
2083configure: failed program was:
2084#line 11772 "configure"
2085#include "confdefs.h"
2086#include <db_185.h>
2087configure:11767: checking for db1/db.h
2088configure:11777: /lib/cpp -I/opt/local/include -L/opt/local/lib -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include conftest.c >/dev/null 2>conftest.out
2089./configure[11776]: eval: line 1: /lib/cpp: not found
2090configure: failed program was:
2091#line 11772 "configure"
2092#include "confdefs.h"
2093#include <db1/db.h>