Ticket #62114: config.log

File config.log, 198.3 KB (added by erikdendekker (Erik den Dekker), 3 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by configure, which was
5generated by GNU Autoconf 2.69.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --libdir=/opt/local/lib/postgresql13 --with-pgconfig=/opt/local/lib/postgresql13/bin/pg_config --with-raster --with-topology --with-projdir=/opt/local/lib/proj7
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = QCode-iMac.local
14uname -m = x86_64
15uname -r = 20.3.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
18
19/usr/bin/uname -p = i386
20/bin/uname -X     = unknown
21
22/bin/arch              = unknown
23/usr/bin/arch -k       = unknown
24/usr/convex/getsysinfo = unknown
25/usr/bin/hostinfo      = Mach kernel version:
26         Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
27Kernel configured for up to 8 processors.
284 processors are physically available.
298 processors are logically available.
30Processor type: x86_64h (Intel x86-64h Haswell)
31Processors active: 0 1 2 3 4 5 6 7
32Primary memory available: 32.00 gigabytes
33Default processor set: 705 tasks, 2373 threads, 8 processors
34Load average: 2.08, Mach factor: 5.91
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin
40PATH: /opt/local/sbin
41PATH: /bin
42PATH: /sbin
43PATH: /usr/bin
44PATH: /usr/sbin
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:2627: checking for a BSD-compatible install
52configure:2695: result: /usr/bin/install -c
53configure:2737: checking build system type
54configure:2751: result: x86_64-apple-darwin20.3.0
55configure:2771: checking host system type
56configure:2784: result: x86_64-apple-darwin20.3.0
57configure:2825: checking how to print strings
58configure:2852: result: printf
59configure:2921: checking for gcc
60configure:2948: result: /usr/bin/clang
61configure:3177: checking for C compiler version
62configure:3186: /usr/bin/clang --version >&5
63Apple clang version 12.0.0 (clang-1200.0.32.29)
64Target: x86_64-apple-darwin20.3.0
65Thread model: posix
66InstalledDir: /Library/Developer/CommandLineTools/usr/bin
67configure:3197: $? = 0
68configure:3186: /usr/bin/clang -v >&5
69Apple clang version 12.0.0 (clang-1200.0.32.29)
70Target: x86_64-apple-darwin20.3.0
71Thread model: posix
72InstalledDir: /Library/Developer/CommandLineTools/usr/bin
73configure:3197: $? = 0
74configure:3186: /usr/bin/clang -V >&5
75clang: error: argument to '-V' is missing (expected 1 value)
76clang: error: no input files
77configure:3197: $? = 1
78configure:3186: /usr/bin/clang -qversion >&5
79clang: error: unknown argument '-qversion'; did you mean '--version'?
80clang: error: no input files
81configure:3197: $? = 1
82configure:3217: checking whether the C compiler works
83configure:3239: /usr/bin/clang -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
84configure:3243: $? = 0
85configure:3291: result: yes
86configure:3294: checking for C compiler default output file name
87configure:3296: result: a.out
88configure:3302: checking for suffix of executables
89configure:3309: /usr/bin/clang -o conftest -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
90configure:3313: $? = 0
91configure:3335: result:
92configure:3357: checking whether we are cross compiling
93configure:3365: /usr/bin/clang -o conftest -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
94configure:3369: $? = 0
95configure:3376: ./conftest
96configure:3380: $? = 0
97configure:3395: result: no
98configure:3400: checking for suffix of object files
99configure:3422: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
100configure:3426: $? = 0
101configure:3447: result: o
102configure:3451: checking whether we are using the GNU C compiler
103configure:3470: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
104configure:3470: $? = 0
105configure:3479: result: yes
106configure:3488: checking whether /usr/bin/clang accepts -g
107configure:3508: /usr/bin/clang -c -g -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
108configure:3508: $? = 0
109configure:3549: result: yes
110configure:3566: checking for /usr/bin/clang option to accept ISO C89
111configure:3629: /usr/bin/clang  -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
112configure:3629: $? = 0
113configure:3642: result: none needed
114configure:3662: checking for a sed that does not truncate output
115configure:3726: result: /usr/bin/sed
116configure:3744: checking for grep that handles long lines and -e
117configure:3802: result: /usr/bin/grep
118configure:3807: checking for egrep
119configure:3869: result: /usr/bin/grep -E
120configure:3874: checking for fgrep
121configure:3936: result: /usr/bin/grep -F
122configure:3971: checking for ld used by /usr/bin/clang
123configure:4038: result: /Library/Developer/CommandLineTools/usr/bin/ld
124configure:4045: checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld
125configure:4060: result: no
126configure:4072: checking for BSD- or MS-compatible name lister (nm)
127configure:4126: result: /usr/bin/nm -B
128configure:4256: checking the name lister (/usr/bin/nm -B) interface
129configure:4263: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
130configure:4266: /usr/bin/nm -B "conftest.o"
131configure:4269: output
1320000000000000000 S _some_variable
133configure:4276: result: BSD nm
134configure:4279: checking whether ln -s works
135configure:4283: result: yes
136configure:4291: checking the maximum length of command line arguments
137configure:4422: result: 786432
138configure:4470: checking how to convert x86_64-apple-darwin20.3.0 file names to x86_64-apple-darwin20.3.0 format
139configure:4510: result: func_convert_file_noop
140configure:4517: checking how to convert x86_64-apple-darwin20.3.0 file names to toolchain format
141configure:4537: result: func_convert_file_noop
142configure:4544: checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files
143configure:4551: result: -r
144configure:4625: checking for objdump
145configure:4641: found /usr/bin/objdump
146configure:4652: result: objdump
147configure:4684: checking how to recognize dependent libraries
148configure:4884: result: pass_all
149configure:4969: checking for dlltool
150configure:4999: result: no
151configure:5029: checking how to associate runtime and link libraries
152configure:5056: result: printf %s\n
153configure:5117: checking for ar
154configure:5133: found /usr/bin/ar
155configure:5144: result: ar
156configure:5181: checking for archiver @FILE support
157configure:5198: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
158configure:5198: $? = 0
159configure:5201: ar cr libconftest.a @conftest.lst >&5
160ar: @conftest.lst: No such file or directory
161configure:5204: $? = 1
162configure:5224: result: no
163configure:5282: checking for strip
164configure:5298: found /usr/bin/strip
165configure:5309: result: strip
166configure:5381: checking for ranlib
167configure:5397: found /usr/bin/ranlib
168configure:5408: result: ranlib
169configure:5485: checking for gawk
170configure:5515: result: no
171configure:5485: checking for mawk
172configure:5515: result: no
173configure:5485: checking for nawk
174configure:5515: result: no
175configure:5485: checking for awk
176configure:5501: found /usr/bin/awk
177configure:5512: result: awk
178configure:5552: checking command to parse /usr/bin/nm -B output from /usr/bin/clang object
179configure:5705: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
180configure:5708: $? = 0
181configure:5712: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[    ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
182cannot find nm_test_var in conftest.nm
183configure:5705: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
184configure:5708: $? = 0
185configure:5712: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[    ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
186configure:5778: /usr/bin/clang -o conftest -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c conftstm.o >&5
187configure:5781: $? = 0
188configure:5819: result: ok
189configure:5866: checking for sysroot
190configure:5896: result: no
191configure:5903: checking for a working dd
192configure:5941: result: /bin/dd
193configure:5945: checking how to truncate binary pipes
194configure:5960: result: /bin/dd bs=4096 count=1
195configure:6289: checking for mt
196configure:6319: result: no
197configure:6339: checking if : is a manifest tool
198configure:6345: : '-?'
199configure:6353: result: no
200configure:6409: checking for dsymutil
201configure:6425: found /usr/bin/dsymutil
202configure:6436: result: dsymutil
203configure:6501: checking for nmedit
204configure:6517: found /usr/bin/nmedit
205configure:6528: result: nmedit
206configure:6593: checking for lipo
207configure:6609: found /usr/bin/lipo
208configure:6620: result: lipo
209configure:6685: checking for otool
210configure:6701: found /usr/bin/otool
211configure:6712: result: otool
212configure:6777: checking for otool64
213configure:6807: result: no
214configure:6852: checking for -single_module linker flag
215/usr/bin/clang -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
216configure:6885: result: yes
217configure:6888: checking for -exported_symbols_list linker flag
218configure:6908: /usr/bin/clang -o conftest -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -Wl,-exported_symbols_list,conftest.sym conftest.c  >&5
219configure:6908: $? = 0
220configure:6918: result: yes
221configure:6921: checking for -force_load linker flag
222/usr/bin/clang -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c -o conftest.o conftest.c
223ar cr libconftest.a conftest.o
224ranlib libconftest.a
225/usr/bin/clang -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -o conftest conftest.c -Wl,-force_load,./libconftest.a
226configure:6953: result: yes
227configure:7030: checking how to run the C preprocessor
228configure:7061: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
229configure:7061: $? = 0
230configure:7075: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
231conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
232#include <ac_nonexistent.h>
233         ^~~~~~~~~~~~~~~~~~
2341 error generated.
235configure:7075: $? = 1
236configure: failed program was:
237| /* confdefs.h */
238| #define PACKAGE_NAME ""
239| #define PACKAGE_TARNAME ""
240| #define PACKAGE_VERSION ""
241| #define PACKAGE_STRING ""
242| #define PACKAGE_BUGREPORT ""
243| #define PACKAGE_URL ""
244| /* end confdefs.h.  */
245| #include <ac_nonexistent.h>
246configure:7100: result: /usr/bin/clang -E
247configure:7120: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
248configure:7120: $? = 0
249configure:7134: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
250conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
251#include <ac_nonexistent.h>
252         ^~~~~~~~~~~~~~~~~~
2531 error generated.
254configure:7134: $? = 1
255configure: failed program was:
256| /* confdefs.h */
257| #define PACKAGE_NAME ""
258| #define PACKAGE_TARNAME ""
259| #define PACKAGE_VERSION ""
260| #define PACKAGE_STRING ""
261| #define PACKAGE_BUGREPORT ""
262| #define PACKAGE_URL ""
263| /* end confdefs.h.  */
264| #include <ac_nonexistent.h>
265configure:7163: checking for ANSI C header files
266configure:7183: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
267configure:7183: $? = 0
268configure:7256: /usr/bin/clang -o conftest -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
269configure:7256: $? = 0
270configure:7256: ./conftest
271configure:7256: $? = 0
272configure:7267: result: yes
273configure:7280: checking for sys/types.h
274configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
275configure:7280: $? = 0
276configure:7280: result: yes
277configure:7280: checking for sys/stat.h
278configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
279configure:7280: $? = 0
280configure:7280: result: yes
281configure:7280: checking for stdlib.h
282configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
283configure:7280: $? = 0
284configure:7280: result: yes
285configure:7280: checking for string.h
286configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
287configure:7280: $? = 0
288configure:7280: result: yes
289configure:7280: checking for memory.h
290configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
291configure:7280: $? = 0
292configure:7280: result: yes
293configure:7280: checking for strings.h
294configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
295configure:7280: $? = 0
296configure:7280: result: yes
297configure:7280: checking for inttypes.h
298configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
299configure:7280: $? = 0
300configure:7280: result: yes
301configure:7280: checking for stdint.h
302configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
303configure:7280: $? = 0
304configure:7280: result: yes
305configure:7280: checking for unistd.h
306configure:7280: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
307configure:7280: $? = 0
308configure:7280: result: yes
309configure:7294: checking for dlfcn.h
310configure:7294: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
311configure:7294: $? = 0
312configure:7294: result: yes
313configure:7550: checking for objdir
314configure:7565: result: .libs
315configure:7829: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions
316configure:7847: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-rtti -fno-exceptions conftest.c >&5
317configure:7851: $? = 0
318configure:7864: result: yes
319configure:8228: checking for /usr/bin/clang option to produce PIC
320configure:8235: result: -fno-common -DPIC
321configure:8243: checking if /usr/bin/clang PIC flag -fno-common -DPIC works
322configure:8261: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common -DPIC -DPIC conftest.c >&5
323configure:8265: $? = 0
324configure:8278: result: yes
325configure:8307: checking if /usr/bin/clang static flag -static works
326configure:8335: result: no
327configure:8350: checking if /usr/bin/clang supports -c -o file.o
328configure:8371: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o out/conftest2.o conftest.c >&5
329configure:8375: $? = 0
330configure:8397: result: yes
331configure:8405: checking if /usr/bin/clang supports -c -o file.o
332configure:8452: result: yes
333configure:8485: checking whether the /usr/bin/clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries
334configure:9748: result: yes
335configure:9988: checking dynamic linker characteristics
336configure:10818: result: darwin20.3.0 dyld
337configure:10940: checking how to hardcode library paths into programs
338configure:10965: result: immediate
339configure:11513: checking whether stripping libraries is possible
340configure:11527: result: yes
341configure:11553: checking if libtool supports shared libraries
342configure:11555: result: yes
343configure:11558: checking whether to build shared libraries
344configure:11583: result: yes
345configure:11586: checking whether to build static libraries
346configure:11590: result: yes
347configure:11676: checking for gcc
348configure:11703: result: /usr/bin/clang
349configure:11932: checking for C compiler version
350configure:11941: /usr/bin/clang --version >&5
351Apple clang version 12.0.0 (clang-1200.0.32.29)
352Target: x86_64-apple-darwin20.3.0
353Thread model: posix
354InstalledDir: /Library/Developer/CommandLineTools/usr/bin
355configure:11952: $? = 0
356configure:11941: /usr/bin/clang -v >&5
357Apple clang version 12.0.0 (clang-1200.0.32.29)
358Target: x86_64-apple-darwin20.3.0
359Thread model: posix
360InstalledDir: /Library/Developer/CommandLineTools/usr/bin
361configure:11952: $? = 0
362configure:11941: /usr/bin/clang -V >&5
363clang: error: argument to '-V' is missing (expected 1 value)
364clang: error: no input files
365configure:11952: $? = 1
366configure:11941: /usr/bin/clang -qversion >&5
367clang: error: unknown argument '-qversion'; did you mean '--version'?
368clang: error: no input files
369configure:11952: $? = 1
370configure:11956: checking whether we are using the GNU C compiler
371configure:11984: result: yes
372configure:11993: checking whether /usr/bin/clang accepts -g
373configure:12054: result: yes
374configure:12071: checking for /usr/bin/clang option to accept ISO C89
375configure:12147: result: none needed
376configure:12172: checking how to run the C preprocessor
377configure:12242: result: /usr/bin/clang -E
378configure:12262: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
379configure:12262: $? = 0
380configure:12276: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
381conftest.c:21:10: fatal error: 'ac_nonexistent.h' file not found
382#include <ac_nonexistent.h>
383         ^~~~~~~~~~~~~~~~~~
3841 error generated.
385configure:12276: $? = 1
386configure: failed program was:
387| /* confdefs.h */
388| #define PACKAGE_NAME ""
389| #define PACKAGE_TARNAME ""
390| #define PACKAGE_VERSION ""
391| #define PACKAGE_STRING ""
392| #define PACKAGE_BUGREPORT ""
393| #define PACKAGE_URL ""
394| #define STDC_HEADERS 1
395| #define HAVE_SYS_TYPES_H 1
396| #define HAVE_SYS_STAT_H 1
397| #define HAVE_STDLIB_H 1
398| #define HAVE_STRING_H 1
399| #define HAVE_MEMORY_H 1
400| #define HAVE_STRINGS_H 1
401| #define HAVE_INTTYPES_H 1
402| #define HAVE_STDINT_H 1
403| #define HAVE_UNISTD_H 1
404| #define HAVE_DLFCN_H 1
405| #define LT_OBJDIR ".libs/"
406| /* end confdefs.h.  */
407| #include <ac_nonexistent.h>
408configure:12304: checking for grep that handles long lines and -e
409configure:12362: result: /usr/bin/grep
410configure:12367: checking whether byte ordering is bigendian
411configure:12382: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
412configure:12382: $? = 0
413configure:12427: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
414configure:12427: $? = 0
415configure:12445: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
416conftest.c:28:4: error: use of undeclared identifier 'not'
417                 not big endian
418                 ^
4191 error generated.
420configure:12445: $? = 1
421configure: failed program was:
422| /* confdefs.h */
423| #define PACKAGE_NAME ""
424| #define PACKAGE_TARNAME ""
425| #define PACKAGE_VERSION ""
426| #define PACKAGE_STRING ""
427| #define PACKAGE_BUGREPORT ""
428| #define PACKAGE_URL ""
429| #define STDC_HEADERS 1
430| #define HAVE_SYS_TYPES_H 1
431| #define HAVE_SYS_STAT_H 1
432| #define HAVE_STDLIB_H 1
433| #define HAVE_STRING_H 1
434| #define HAVE_MEMORY_H 1
435| #define HAVE_STRINGS_H 1
436| #define HAVE_INTTYPES_H 1
437| #define HAVE_STDINT_H 1
438| #define HAVE_UNISTD_H 1
439| #define HAVE_DLFCN_H 1
440| #define LT_OBJDIR ".libs/"
441| /* end confdefs.h.  */
442| #include <sys/types.h>
443|               #include <sys/param.h>
444|
445| int
446| main ()
447| {
448| #if BYTE_ORDER != BIG_ENDIAN
449|                not big endian
450|               #endif
451|
452|   ;
453|   return 0;
454| }
455configure:12573: result: no
456configure:12594: checking for cpp
457configure:12624: result: /usr/bin/cpp
458configure:12692: checking if /usr/bin/clang supports -fno-math-errno
459configure:12710: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-math-errno conftest.c >&5
460configure:12714: $? = 0
461configure:12727: result: yes
462configure:12736: checking if /usr/bin/clang supports -fno-signed-zeros
463configure:12754: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-signed-zeros conftest.c >&5
464configure:12758: $? = 0
465configure:12771: result: yes
466configure:12780: checking if /usr/bin/clang supports -std=gnu99
467configure:12798: /usr/bin/clang -c -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -std=gnu99 conftest.c >&5
468configure:12802: $? = 0
469configure:12815: result: yes
470configure:12827: checking if /usr/bin/clang supports -Wall
471configure:12845: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Wall conftest.c >&5
472configure:12849: $? = 0
473configure:12862: result: yes
474configure:12871: checking if /usr/bin/clang supports -Wmissing-prototypes
475configure:12889: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Wmissing-prototypes conftest.c >&5
476configure:12893: $? = 0
477configure:12906: result: yes
478configure:12918: checking if /usr/bin/clang supports -ffloat-store
479configure:12936: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -ffloat-store conftest.c >&5
480clang: warning: optimization flag '-ffloat-store' is not supported [-Wignored-optimization-argument]
481configure:12940: $? = 0
482configure:12953: result: no
483configure:12965: checking if /usr/bin/clang supports --exclude-libs
484configure:12993: result: no
485configure:13066: checking for flex
486configure:13082: found /usr/bin/flex
487configure:13093: result: flex
488configure:13131: flex conftest.l
489configure:13135: $? = 0
490configure:13137: checking lex output file root
491configure:13151: result: lex.yy
492configure:13156: checking lex library
493configure:13170: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c   >&5
494Undefined symbols for architecture x86_64:
495  "_yywrap", referenced from:
496      _yylex in conftest-a64572.o
497      _main in conftest-a64572.o
498ld: symbol(s) not found for architecture x86_64
499clang: error: linker command failed with exit code 1 (use -v to see invocation)
500configure:13170: $? = 1
501configure: failed program was:
502| /* confdefs.h */
503| #define PACKAGE_NAME ""
504| #define PACKAGE_TARNAME ""
505| #define PACKAGE_VERSION ""
506| #define PACKAGE_STRING ""
507| #define PACKAGE_BUGREPORT ""
508| #define PACKAGE_URL ""
509| #define STDC_HEADERS 1
510| #define HAVE_SYS_TYPES_H 1
511| #define HAVE_SYS_STAT_H 1
512| #define HAVE_STDLIB_H 1
513| #define HAVE_STRING_H 1
514| #define HAVE_MEMORY_H 1
515| #define HAVE_STRINGS_H 1
516| #define HAVE_INTTYPES_H 1
517| #define HAVE_STDINT_H 1
518| #define HAVE_UNISTD_H 1
519| #define HAVE_DLFCN_H 1
520| #define LT_OBJDIR ".libs/"
521| #define POSTGIS_MAJOR_VERSION "3"
522| #define POSTGIS_MINOR_VERSION "0"
523| #define POSTGIS_MICRO_VERSION "3"
524| /* end confdefs.h.  */
525|
526| #line 3 "lex.yy.c"
527|
528| #define  YY_INT_ALIGNED short int
529|
530| /* A lexical scanner generated by flex */
531|
532| #define FLEX_SCANNER
533| #define YY_FLEX_MAJOR_VERSION 2
534| #define YY_FLEX_MINOR_VERSION 5
535| #define YY_FLEX_SUBMINOR_VERSION 35
536| #if YY_FLEX_SUBMINOR_VERSION > 0
537| #define FLEX_BETA
538| #endif
539|
540| /* First, we deal with  platform-specific or compiler-specific issues. */
541|
542| /* begin standard C headers. */
543| #include <stdio.h>
544| #include <string.h>
545| #include <errno.h>
546| #include <stdlib.h>
547|
548| /* end standard C headers. */
549|
550| /* flex integer type definitions */
551|
552| #ifndef FLEXINT_H
553| #define FLEXINT_H
554|
555| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
556|
557| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
558|
559| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
560|  * if you want the limit (max/min) macros for int types.
561|  */
562| #ifndef __STDC_LIMIT_MACROS
563| #define __STDC_LIMIT_MACROS 1
564| #endif
565|
566| #include <inttypes.h>
567| typedef int8_t flex_int8_t;
568| typedef uint8_t flex_uint8_t;
569| typedef int16_t flex_int16_t;
570| typedef uint16_t flex_uint16_t;
571| typedef int32_t flex_int32_t;
572| typedef uint32_t flex_uint32_t;
573| typedef uint64_t flex_uint64_t;
574| #else
575| typedef signed char flex_int8_t;
576| typedef short int flex_int16_t;
577| typedef int flex_int32_t;
578| typedef unsigned char flex_uint8_t;
579| typedef unsigned short int flex_uint16_t;
580| typedef unsigned int flex_uint32_t;
581| #endif /* ! C99 */
582|
583| /* Limits of integral types. */
584| #ifndef INT8_MIN
585| #define INT8_MIN               (-128)
586| #endif
587| #ifndef INT16_MIN
588| #define INT16_MIN              (-32767-1)
589| #endif
590| #ifndef INT32_MIN
591| #define INT32_MIN              (-2147483647-1)
592| #endif
593| #ifndef INT8_MAX
594| #define INT8_MAX               (127)
595| #endif
596| #ifndef INT16_MAX
597| #define INT16_MAX              (32767)
598| #endif
599| #ifndef INT32_MAX
600| #define INT32_MAX              (2147483647)
601| #endif
602| #ifndef UINT8_MAX
603| #define UINT8_MAX              (255U)
604| #endif
605| #ifndef UINT16_MAX
606| #define UINT16_MAX             (65535U)
607| #endif
608| #ifndef UINT32_MAX
609| #define UINT32_MAX             (4294967295U)
610| #endif
611|
612| #endif /* ! FLEXINT_H */
613|
614| #ifdef __cplusplus
615|
616| /* The "const" storage-class-modifier is valid. */
617| #define YY_USE_CONST
618|
619| #else /* ! __cplusplus */
620|
621| /* C99 requires __STDC__ to be defined as 1. */
622| #if defined (__STDC__)
623|
624| #define YY_USE_CONST
625|
626| #endif        /* defined (__STDC__) */
627| #endif        /* ! __cplusplus */
628|
629| #ifdef YY_USE_CONST
630| #define yyconst const
631| #else
632| #define yyconst
633| #endif
634|
635| /* Returned upon end-of-file. */
636| #define YY_NULL 0
637|
638| /* Promotes a possibly negative, possibly signed char to an unsigned
639|  * integer for use as an array index.  If the signed char is negative,
640|  * we want to instead treat it as an 8-bit unsigned char, hence the
641|  * double cast.
642|  */
643| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
644|
645| /* Enter a start condition.  This macro really ought to take a parameter,
646|  * but we do it the disgusting crufty way forced on us by the ()-less
647|  * definition of BEGIN.
648|  */
649| #define BEGIN (yy_start) = 1 + 2 *
650|
651| /* Translate the current start state into a value that can be later handed
652|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
653|  * compatibility.
654|  */
655| #define YY_START (((yy_start) - 1) / 2)
656| #define YYSTATE YY_START
657|
658| /* Action number for EOF rule of a given start state. */
659| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
660|
661| /* Special action meaning "start processing a new file". */
662| #define YY_NEW_FILE yyrestart(yyin  )
663|
664| #define YY_END_OF_BUFFER_CHAR 0
665|
666| /* Size of default input buffer. */
667| #ifndef YY_BUF_SIZE
668| #define YY_BUF_SIZE 16384
669| #endif
670|
671| /* The state buf must be large enough to hold one state per character in the main buffer.
672|  */
673| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
674|
675| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
676| #define YY_TYPEDEF_YY_BUFFER_STATE
677| typedef struct yy_buffer_state *YY_BUFFER_STATE;
678| #endif
679|
680| #ifndef YY_TYPEDEF_YY_SIZE_T
681| #define YY_TYPEDEF_YY_SIZE_T
682| typedef size_t yy_size_t;
683| #endif
684|
685| extern yy_size_t yyleng;
686|
687| extern FILE *yyin, *yyout;
688|
689| #define EOB_ACT_CONTINUE_SCAN 0
690| #define EOB_ACT_END_OF_FILE 1
691| #define EOB_ACT_LAST_MATCH 2
692|
693|     #define YY_LESS_LINENO(n)
694|     
695| /* Return all but the first "n" matched characters back to the input stream. */
696| #define yyless(n) \
697|       do \
698|               { \
699|               /* Undo effects of setting up yytext. */ \
700|         int yyless_macro_arg = (n); \
701|         YY_LESS_LINENO(yyless_macro_arg);\
702|               *yy_cp = (yy_hold_char); \
703|               YY_RESTORE_YY_MORE_OFFSET \
704|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
705|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
706|               } \
707|       while ( 0 )
708|
709| #define unput(c) yyunput( c, (yytext_ptr)  )
710|
711| #ifndef YY_STRUCT_YY_BUFFER_STATE
712| #define YY_STRUCT_YY_BUFFER_STATE
713| struct yy_buffer_state
714|       {
715|       FILE *yy_input_file;
716|
717|       char *yy_ch_buf;                /* input buffer */
718|       char *yy_buf_pos;               /* current position in input buffer */
719|
720|       /* Size of input buffer in bytes, not including room for EOB
721|        * characters.
722|        */
723|       yy_size_t yy_buf_size;
724|
725|       /* Number of characters read into yy_ch_buf, not including EOB
726|        * characters.
727|        */
728|       yy_size_t yy_n_chars;
729|
730|       /* Whether we "own" the buffer - i.e., we know we created it,
731|        * and can realloc() it to grow it, and should free() it to
732|        * delete it.
733|        */
734|       int yy_is_our_buffer;
735|
736|       /* Whether this is an "interactive" input source; if so, and
737|        * if we're using stdio for input, then we want to use getc()
738|        * instead of fread(), to make sure we stop fetching input after
739|        * each newline.
740|        */
741|       int yy_is_interactive;
742|
743|       /* Whether we're considered to be at the beginning of a line.
744|        * If so, '^' rules will be active on the next match, otherwise
745|        * not.
746|        */
747|       int yy_at_bol;
748|
749|     int yy_bs_lineno; /**< The line count. */
750|     int yy_bs_column; /**< The column count. */
751|     
752|       /* Whether to try to fill the input buffer when we reach the
753|        * end of it.
754|        */
755|       int yy_fill_buffer;
756|
757|       int yy_buffer_status;
758|
759| #define YY_BUFFER_NEW 0
760| #define YY_BUFFER_NORMAL 1
761|       /* When an EOF's been seen but there's still some text to process
762|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
763|        * shouldn't try reading from the input source any more.  We might
764|        * still have a bunch of tokens to match, though, because of
765|        * possible backing-up.
766|        *
767|        * When we actually see the EOF, we change the status to "new"
768|        * (via yyrestart()), so that the user can continue scanning by
769|        * just pointing yyin at a new input file.
770|        */
771| #define YY_BUFFER_EOF_PENDING 2
772|
773|       };
774| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
775|
776| /* Stack of input buffers. */
777| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
778| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
779| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
780|
781| /* We provide macros for accessing buffer states in case in the
782|  * future we want to put the buffer states in a more general
783|  * "scanner state".
784|  *
785|  * Returns the top of the stack, or NULL.
786|  */
787| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
788|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
789|                           : NULL)
790|
791| /* Same as previous macro, but useful when we know that the buffer stack is not
792|  * NULL or when we need an lvalue. For internal use only.
793|  */
794| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
795|
796| /* yy_hold_char holds the character lost when yytext is formed. */
797| static char yy_hold_char;
798| static yy_size_t yy_n_chars;          /* number of characters read into yy_ch_buf */
799| yy_size_t yyleng;
800|
801| /* Points to current character in buffer. */
802| static char *yy_c_buf_p = (char *) 0;
803| static int yy_init = 0;               /* whether we need to initialize */
804| static int yy_start = 0;      /* start state number */
805|
806| /* Flag which is used to allow yywrap()'s to do buffer switches
807|  * instead of setting up a fresh yyin.  A bit of a hack ...
808|  */
809| static int yy_did_buffer_switch_on_eof;
810|
811| void yyrestart (FILE *input_file  );
812| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
813| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
814| void yy_delete_buffer (YY_BUFFER_STATE b  );
815| void yy_flush_buffer (YY_BUFFER_STATE b  );
816| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
817| void yypop_buffer_state (void );
818|
819| static void yyensure_buffer_stack (void );
820| static void yy_load_buffer_state (void );
821| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
822|
823| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
824|
825| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
826| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
827| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
828|
829| void *yyalloc (yy_size_t  );
830| void *yyrealloc (void *,yy_size_t  );
831| void yyfree (void *  );
832|
833| #define yy_new_buffer yy_create_buffer
834|
835| #define yy_set_interactive(is_interactive) \
836|       { \
837|       if ( ! YY_CURRENT_BUFFER ){ \
838|         yyensure_buffer_stack (); \
839|               YY_CURRENT_BUFFER_LVALUE =    \
840|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
841|       } \
842|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
843|       }
844|
845| #define yy_set_bol(at_bol) \
846|       { \
847|       if ( ! YY_CURRENT_BUFFER ){\
848|         yyensure_buffer_stack (); \
849|               YY_CURRENT_BUFFER_LVALUE =    \
850|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
851|       } \
852|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
853|       }
854|
855| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
856|
857| /* Begin user sect3 */
858|
859| typedef unsigned char YY_CHAR;
860|
861| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
862|
863| typedef int yy_state_type;
864|
865| extern int yylineno;
866|
867| int yylineno = 1;
868|
869| extern char *yytext;
870| #define yytext_ptr yytext
871|
872| static yy_state_type yy_get_previous_state (void );
873| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
874| static int yy_get_next_buffer (void );
875| static void yy_fatal_error (yyconst char msg[]  );
876|
877| /* Done after the current pattern has been matched and before the
878|  * corresponding action - sets up yytext.
879|  */
880| #define YY_DO_BEFORE_ACTION \
881|       (yytext_ptr) = yy_bp; \
882|       (yytext_ptr) -= (yy_more_len); \
883|       yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
884|       (yy_hold_char) = *yy_cp; \
885|       *yy_cp = '\0'; \
886|       (yy_c_buf_p) = yy_cp;
887|
888| #define YY_NUM_RULES 8
889| #define YY_END_OF_BUFFER 9
890| /* This struct is not used in this scanner,
891|    but its presence is necessary. */
892| struct yy_trans_info
893|       {
894|       flex_int32_t yy_verify;
895|       flex_int32_t yy_nxt;
896|       };
897| static yyconst flex_int16_t yy_acclist[23] =
898|     {   0,
899|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
900|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
901|         7,    8
902|     } ;
903|
904| static yyconst flex_int16_t yy_accept[14] =
905|     {   0,
906|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
907|        20,   23,   23
908|     } ;
909|
910| static yyconst flex_int32_t yy_ec[256] =
911|     {   0,
912|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
913|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
914|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
915|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
916|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
917|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
918|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
919|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
920|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
921|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
922|
923|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
924|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
925|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
926|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
927|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
928|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
929|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
930|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
931|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
932|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
933|
934|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
935|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
936|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
937|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
938|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
939|         1,    1,    1,    1,    1
940|     } ;
941|
942| static yyconst flex_int32_t yy_meta[9] =
943|     {   0,
944|         1,    1,    1,    1,    1,    1,    1,    1
945|     } ;
946|
947| static yyconst flex_int16_t yy_base[13] =
948|     {   0,
949|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
950|        10,   10
951|     } ;
952|
953| static yyconst flex_int16_t yy_def[13] =
954|     {   0,
955|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
956|        12,    0
957|     } ;
958|
959| static yyconst flex_int16_t yy_nxt[19] =
960|     {   0,
961|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
962|        12,   12,   12,   12,   12,   12,   12,   12
963|     } ;
964|
965| static yyconst flex_int16_t yy_chk[19] =
966|     {   0,
967|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
968|        12,   12,   12,   12,   12,   12,   12,   12
969|     } ;
970|
971| extern int yy_flex_debug;
972| int yy_flex_debug = 0;
973|
974| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
975| static char *yy_full_match;
976| static int yy_lp;
977| #define REJECT \
978| { \
979| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
980| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
981| ++(yy_lp); \
982| goto find_rule; \
983| }
984|
985| static int yy_more_flag = 0;
986| static int yy_more_len = 0;
987| #define yymore() ((yy_more_flag) = 1)
988| #define YY_MORE_ADJ (yy_more_len)
989| #define YY_RESTORE_YY_MORE_OFFSET
990| char *yytext;
991| #line 1 "conftest.l"
992| #line 469 "lex.yy.c"
993|
994| #define INITIAL 0
995|
996| #ifndef YY_NO_UNISTD_H
997| /* Special case for "unistd.h", since it is non-ANSI. We include it way
998|  * down here because we want the user's section 1 to have been scanned first.
999|  * The user has a chance to override it with an option.
1000|  */
1001| #include <unistd.h>
1002| #endif
1003|
1004| #ifndef YY_EXTRA_TYPE
1005| #define YY_EXTRA_TYPE void *
1006| #endif
1007|
1008| static int yy_init_globals (void );
1009|
1010| /* Accessor methods to globals.
1011|    These are made visible to non-reentrant scanners for convenience. */
1012|
1013| int yylex_destroy (void );
1014|
1015| int yyget_debug (void );
1016|
1017| void yyset_debug (int debug_flag  );
1018|
1019| YY_EXTRA_TYPE yyget_extra (void );
1020|
1021| void yyset_extra (YY_EXTRA_TYPE user_defined  );
1022|
1023| FILE *yyget_in (void );
1024|
1025| void yyset_in  (FILE * in_str  );
1026|
1027| FILE *yyget_out (void );
1028|
1029| void yyset_out  (FILE * out_str  );
1030|
1031| yy_size_t yyget_leng (void );
1032|
1033| char *yyget_text (void );
1034|
1035| int yyget_lineno (void );
1036|
1037| void yyset_lineno (int line_number  );
1038|
1039| /* Macros after this point can all be overridden by user definitions in
1040|  * section 1.
1041|  */
1042|
1043| #ifndef YY_SKIP_YYWRAP
1044| #ifdef __cplusplus
1045| extern "C" int yywrap (void );
1046| #else
1047| extern int yywrap (void );
1048| #endif
1049| #endif
1050|
1051|     static void yyunput (int c,char *buf_ptr  );
1052|     
1053| #ifndef yytext_ptr
1054| static void yy_flex_strncpy (char *,yyconst char *,int );
1055| #endif
1056|
1057| #ifdef YY_NEED_STRLEN
1058| static int yy_flex_strlen (yyconst char * );
1059| #endif
1060|
1061| #ifndef YY_NO_INPUT
1062|
1063| #ifdef __cplusplus
1064| static int yyinput (void );
1065| #else
1066| static int input (void );
1067| #endif
1068|
1069| #endif
1070|
1071| /* Amount of stuff to slurp up with each read. */
1072| #ifndef YY_READ_BUF_SIZE
1073| #define YY_READ_BUF_SIZE 8192
1074| #endif
1075|
1076| /* Copy whatever the last rule matched to the standard output. */
1077| #ifndef ECHO
1078| /* This used to be an fputs(), but since the string might contain NUL's,
1079|  * we now use fwrite().
1080|  */
1081| #define ECHO fwrite( yytext, yyleng, 1, yyout )
1082| #endif
1083|
1084| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
1085|  * is returned in "result".
1086|  */
1087| #ifndef YY_INPUT
1088| #define YY_INPUT(buf,result,max_size) \
1089|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1090|               { \
1091|               int c = '*'; \
1092|               yy_size_t n; \
1093|               for ( n = 0; n < max_size && \
1094|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1095|                       buf[n] = (char) c; \
1096|               if ( c == '\n' ) \
1097|                       buf[n++] = (char) c; \
1098|               if ( c == EOF && ferror( yyin ) ) \
1099|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
1100|               result = n; \
1101|               } \
1102|       else \
1103|               { \
1104|               errno=0; \
1105|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1106|                       { \
1107|                       if( errno != EINTR) \
1108|                               { \
1109|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
1110|                               break; \
1111|                               } \
1112|                       errno=0; \
1113|                       clearerr(yyin); \
1114|                       } \
1115|               }\
1116| \
1117|
1118| #endif
1119|
1120| /* No semi-colon after return; correct usage is to write "yyterminate();" -
1121|  * we don't want an extra ';' after the "return" because that will cause
1122|  * some compilers to complain about unreachable statements.
1123|  */
1124| #ifndef yyterminate
1125| #define yyterminate() return YY_NULL
1126| #endif
1127|
1128| /* Number of entries by which start-condition stack grows. */
1129| #ifndef YY_START_STACK_INCR
1130| #define YY_START_STACK_INCR 25
1131| #endif
1132|
1133| /* Report a fatal error. */
1134| #ifndef YY_FATAL_ERROR
1135| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1136| #endif
1137|
1138| /* end tables serialization structures and prototypes */
1139|
1140| /* Default declaration of generated scanner - a define so the user can
1141|  * easily add parameters.
1142|  */
1143| #ifndef YY_DECL
1144| #define YY_DECL_IS_OURS 1
1145|
1146| extern int yylex (void);
1147|
1148| #define YY_DECL int yylex (void)
1149| #endif /* !YY_DECL */
1150|
1151| /* Code executed at the beginning of each rule, after yytext and yyleng
1152|  * have been set up.
1153|  */
1154| #ifndef YY_USER_ACTION
1155| #define YY_USER_ACTION
1156| #endif
1157|
1158| /* Code executed at the end of each rule. */
1159| #ifndef YY_BREAK
1160| #define YY_BREAK break;
1161| #endif
1162|
1163| #define YY_RULE_SETUP \
1164|       YY_USER_ACTION
1165|
1166| /** The main scanner function which does all the work.
1167|  */
1168| YY_DECL
1169| {
1170|       register yy_state_type yy_current_state;
1171|       register char *yy_cp, *yy_bp;
1172|       register int yy_act;
1173|     
1174| #line 1 "conftest.l"
1175|
1176| #line 653 "lex.yy.c"
1177|
1178|       if ( !(yy_init) )
1179|               {
1180|               (yy_init) = 1;
1181|
1182| #ifdef YY_USER_INIT
1183|               YY_USER_INIT;
1184| #endif
1185|
1186|         /* Create the reject buffer large enough to save one state per allowed character. */
1187|         if ( ! (yy_state_buf) )
1188|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
1189|             if ( ! (yy_state_buf) )
1190|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
1191|
1192|               if ( ! (yy_start) )
1193|                       (yy_start) = 1; /* first start state */
1194|
1195|               if ( ! yyin )
1196|                       yyin = stdin;
1197|
1198|               if ( ! yyout )
1199|                       yyout = stdout;
1200|
1201|               if ( ! YY_CURRENT_BUFFER ) {
1202|                       yyensure_buffer_stack ();
1203|                       YY_CURRENT_BUFFER_LVALUE =
1204|                               yy_create_buffer(yyin,YY_BUF_SIZE );
1205|               }
1206|
1207|               yy_load_buffer_state( );
1208|               }
1209|
1210|       while ( 1 )             /* loops until end-of-file is reached */
1211|               {
1212|               (yy_more_len) = 0;
1213|               if ( (yy_more_flag) )
1214|                       {
1215|                       (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
1216|                       (yy_more_flag) = 0;
1217|                       }
1218|               yy_cp = (yy_c_buf_p);
1219|
1220|               /* Support of yytext. */
1221|               *yy_cp = (yy_hold_char);
1222|
1223|               /* yy_bp points to the position in yy_ch_buf of the start of
1224|                * the current run.
1225|                */
1226|               yy_bp = yy_cp;
1227|
1228|               yy_current_state = (yy_start);
1229|
1230|               (yy_state_ptr) = (yy_state_buf);
1231|               *(yy_state_ptr)++ = yy_current_state;
1232|
1233| yy_match:
1234|               do
1235|                       {
1236|                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1237|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1238|                               {
1239|                               yy_current_state = (int) yy_def[yy_current_state];
1240|                               if ( yy_current_state >= 13 )
1241|                                       yy_c = yy_meta[(unsigned int) yy_c];
1242|                               }
1243|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1244|                       *(yy_state_ptr)++ = yy_current_state;
1245|                       ++yy_cp;
1246|                       }
1247|               while ( yy_base[yy_current_state] != 10 );
1248|
1249| yy_find_action:
1250|               yy_current_state = *--(yy_state_ptr);
1251|               (yy_lp) = yy_accept[yy_current_state];
1252| goto find_rule; /* Shut up GCC warning -Wall */
1253| find_rule: /* we branch to this label when backing up */
1254|               for ( ; ; ) /* until we find what rule we matched */
1255|                       {
1256|                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
1257|                               {
1258|                               yy_act = yy_acclist[(yy_lp)];
1259|                                       {
1260|                                       (yy_full_match) = yy_cp;
1261|                                       break;
1262|                                       }
1263|                               }
1264|                       --yy_cp;
1265|                       yy_current_state = *--(yy_state_ptr);
1266|                       (yy_lp) = yy_accept[yy_current_state];
1267|                       }
1268|
1269|               YY_DO_BEFORE_ACTION;
1270|
1271| do_action:    /* This label is used only to access EOF actions. */
1272|
1273|               switch ( yy_act )
1274|       { /* beginning of action switch */
1275| case 1:
1276| YY_RULE_SETUP
1277| #line 2 "conftest.l"
1278| { ECHO; }
1279|       YY_BREAK
1280| case 2:
1281| YY_RULE_SETUP
1282| #line 3 "conftest.l"
1283| { REJECT; }
1284|       YY_BREAK
1285| case 3:
1286| YY_RULE_SETUP
1287| #line 4 "conftest.l"
1288| { yymore (); }
1289|       YY_BREAK
1290| case 4:
1291| YY_RULE_SETUP
1292| #line 5 "conftest.l"
1293| { yyless (1); }
1294|       YY_BREAK
1295| case 5:
1296| YY_RULE_SETUP
1297| #line 6 "conftest.l"
1298| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
1299|     yyless ((input () != 0)); }
1300|       YY_BREAK
1301| case 6:
1302| YY_RULE_SETUP
1303| #line 8 "conftest.l"
1304| { unput (yytext[0]); }
1305|       YY_BREAK
1306| case 7:
1307| YY_RULE_SETUP
1308| #line 9 "conftest.l"
1309| { BEGIN INITIAL; }
1310|       YY_BREAK
1311| case 8:
1312| YY_RULE_SETUP
1313| #line 10 "conftest.l"
1314| ECHO;
1315|       YY_BREAK
1316| #line 793 "lex.yy.c"
1317|                       case YY_STATE_EOF(INITIAL):
1318|                               yyterminate();
1319|
1320|       case YY_END_OF_BUFFER:
1321|               {
1322|               /* Amount of text matched not including the EOB char. */
1323|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1324|
1325|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
1326|               *yy_cp = (yy_hold_char);
1327|               YY_RESTORE_YY_MORE_OFFSET
1328|
1329|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1330|                       {
1331|                       /* We're scanning a new file or input source.  It's
1332|                        * possible that this happened because the user
1333|                        * just pointed yyin at a new source and called
1334|                        * yylex().  If so, then we have to assure
1335|                        * consistency between YY_CURRENT_BUFFER and our
1336|                        * globals.  Here is the right place to do so, because
1337|                        * this is the first action (other than possibly a
1338|                        * back-up) that will match for the new input source.
1339|                        */
1340|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1341|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1342|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1343|                       }
1344|
1345|               /* Note that here we test for yy_c_buf_p "<=" to the position
1346|                * of the first EOB in the buffer, since yy_c_buf_p will
1347|                * already have been incremented past the NUL character
1348|                * (since all states make transitions on EOB to the
1349|                * end-of-buffer state).  Contrast this with the test
1350|                * in input().
1351|                */
1352|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1353|                       { /* This was really a NUL. */
1354|                       yy_state_type yy_next_state;
1355|
1356|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1357|
1358|                       yy_current_state = yy_get_previous_state(  );
1359|
1360|                       /* Okay, we're now positioned to make the NUL
1361|                        * transition.  We couldn't have
1362|                        * yy_get_previous_state() go ahead and do it
1363|                        * for us because it doesn't know how to deal
1364|                        * with the possibility of jamming (and we don't
1365|                        * want to build jamming into it because then it
1366|                        * will run more slowly).
1367|                        */
1368|
1369|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
1370|
1371|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1372|
1373|                       if ( yy_next_state )
1374|                               {
1375|                               /* Consume the NUL. */
1376|                               yy_cp = ++(yy_c_buf_p);
1377|                               yy_current_state = yy_next_state;
1378|                               goto yy_match;
1379|                               }
1380|
1381|                       else
1382|                               {
1383|                               yy_cp = (yy_c_buf_p);
1384|                               goto yy_find_action;
1385|                               }
1386|                       }
1387|
1388|               else switch ( yy_get_next_buffer(  ) )
1389|                       {
1390|                       case EOB_ACT_END_OF_FILE:
1391|                               {
1392|                               (yy_did_buffer_switch_on_eof) = 0;
1393|
1394|                               if ( yywrap( ) )
1395|                                       {
1396|                                       /* Note: because we've taken care in
1397|                                        * yy_get_next_buffer() to have set up
1398|                                        * yytext, we can now set up
1399|                                        * yy_c_buf_p so that if some total
1400|                                        * hoser (like flex itself) wants to
1401|                                        * call the scanner after we return the
1402|                                        * YY_NULL, it'll still work - another
1403|                                        * YY_NULL will get returned.
1404|                                        */
1405|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1406|
1407|                                       yy_act = YY_STATE_EOF(YY_START);
1408|                                       goto do_action;
1409|                                       }
1410|
1411|                               else
1412|                                       {
1413|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1414|                                               YY_NEW_FILE;
1415|                                       }
1416|                               break;
1417|                               }
1418|
1419|                       case EOB_ACT_CONTINUE_SCAN:
1420|                               (yy_c_buf_p) =
1421|                                       (yytext_ptr) + yy_amount_of_matched_text;
1422|
1423|                               yy_current_state = yy_get_previous_state(  );
1424|
1425|                               yy_cp = (yy_c_buf_p);
1426|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1427|                               goto yy_match;
1428|
1429|                       case EOB_ACT_LAST_MATCH:
1430|                               (yy_c_buf_p) =
1431|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1432|
1433|                               yy_current_state = yy_get_previous_state(  );
1434|
1435|                               yy_cp = (yy_c_buf_p);
1436|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1437|                               goto yy_find_action;
1438|                       }
1439|               break;
1440|               }
1441|
1442|       default:
1443|               YY_FATAL_ERROR(
1444|                       "fatal flex scanner internal error--no action found" );
1445|       } /* end of action switch */
1446|               } /* end of scanning one token */
1447| } /* end of yylex */
1448|
1449| /* yy_get_next_buffer - try to read in a new buffer
1450|  *
1451|  * Returns a code representing an action:
1452|  *    EOB_ACT_LAST_MATCH -
1453|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1454|  *    EOB_ACT_END_OF_FILE - end of file
1455|  */
1456| static int yy_get_next_buffer (void)
1457| {
1458|       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1459|       register char *source = (yytext_ptr);
1460|       register int number_to_move, i;
1461|       int ret_val;
1462|
1463|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1464|               YY_FATAL_ERROR(
1465|               "fatal flex scanner internal error--end of buffer missed" );
1466|
1467|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1468|               { /* Don't try to fill the buffer, so this is an EOF. */
1469|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1470|                       {
1471|                       /* We matched a single character, the EOB, so
1472|                        * treat this as a final EOF.
1473|                        */
1474|                       return EOB_ACT_END_OF_FILE;
1475|                       }
1476|
1477|               else
1478|                       {
1479|                       /* We matched some text prior to the EOB, first
1480|                        * process it.
1481|                        */
1482|                       return EOB_ACT_LAST_MATCH;
1483|                       }
1484|               }
1485|
1486|       /* Try to read more data. */
1487|
1488|       /* First move last chars to start of buffer. */
1489|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
1490|
1491|       for ( i = 0; i < number_to_move; ++i )
1492|               *(dest++) = *(source++);
1493|
1494|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1495|               /* don't do the read, it's not guaranteed to return an EOF,
1496|                * just force an EOF
1497|                */
1498|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1499|
1500|       else
1501|               {
1502|                       yy_size_t num_to_read =
1503|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1504|
1505|               while ( num_to_read <= 0 )
1506|                       { /* Not enough room in the buffer - grow it. */
1507|
1508|                       YY_FATAL_ERROR(
1509| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1510|
1511|                       }
1512|
1513|               if ( num_to_read > YY_READ_BUF_SIZE )
1514|                       num_to_read = YY_READ_BUF_SIZE;
1515|
1516|               /* Read in more data. */
1517|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1518|                       (yy_n_chars), num_to_read );
1519|
1520|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1521|               }
1522|
1523|       if ( (yy_n_chars) == 0 )
1524|               {
1525|               if ( number_to_move == YY_MORE_ADJ )
1526|                       {
1527|                       ret_val = EOB_ACT_END_OF_FILE;
1528|                       yyrestart(yyin  );
1529|                       }
1530|
1531|               else
1532|                       {
1533|                       ret_val = EOB_ACT_LAST_MATCH;
1534|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1535|                               YY_BUFFER_EOF_PENDING;
1536|                       }
1537|               }
1538|
1539|       else
1540|               ret_val = EOB_ACT_CONTINUE_SCAN;
1541|
1542|       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1543|               /* Extend the array by 50%, plus the number we really need. */
1544|               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1545|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
1546|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1547|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1548|       }
1549|
1550|       (yy_n_chars) += number_to_move;
1551|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1552|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1553|
1554|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1555|
1556|       return ret_val;
1557| }
1558|
1559| /* yy_get_previous_state - get the state just before the EOB char was reached */
1560|
1561|     static yy_state_type yy_get_previous_state (void)
1562| {
1563|       register yy_state_type yy_current_state;
1564|       register char *yy_cp;
1565|     
1566|       yy_current_state = (yy_start);
1567|
1568|       (yy_state_ptr) = (yy_state_buf);
1569|       *(yy_state_ptr)++ = yy_current_state;
1570|
1571|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1572|               {
1573|               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1574|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1575|                       {
1576|                       yy_current_state = (int) yy_def[yy_current_state];
1577|                       if ( yy_current_state >= 13 )
1578|                               yy_c = yy_meta[(unsigned int) yy_c];
1579|                       }
1580|               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1581|               *(yy_state_ptr)++ = yy_current_state;
1582|               }
1583|
1584|       return yy_current_state;
1585| }
1586|
1587| /* yy_try_NUL_trans - try to make a transition on the NUL character
1588|  *
1589|  * synopsis
1590|  *    next_state = yy_try_NUL_trans( current_state );
1591|  */
1592|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
1593| {
1594|       register int yy_is_jam;
1595|     
1596|       register YY_CHAR yy_c = 1;
1597|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1598|               {
1599|               yy_current_state = (int) yy_def[yy_current_state];
1600|               if ( yy_current_state >= 13 )
1601|                       yy_c = yy_meta[(unsigned int) yy_c];
1602|               }
1603|       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1604|       yy_is_jam = (yy_current_state == 12);
1605|       if ( ! yy_is_jam )
1606|               *(yy_state_ptr)++ = yy_current_state;
1607|
1608|       return yy_is_jam ? 0 : yy_current_state;
1609| }
1610|
1611|     static void yyunput (int c, register char * yy_bp )
1612| {
1613|       register char *yy_cp;
1614|     
1615|     yy_cp = (yy_c_buf_p);
1616|
1617|       /* undo effects of setting up yytext */
1618|       *yy_cp = (yy_hold_char);
1619|
1620|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1621|               { /* need to shift things up to make room */
1622|               /* +2 for EOB chars. */
1623|               register yy_size_t number_to_move = (yy_n_chars) + 2;
1624|               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
1625|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1626|               register char *source =
1627|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
1628|
1629|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1630|                       *--dest = *--source;
1631|
1632|               yy_cp += (int) (dest - source);
1633|               yy_bp += (int) (dest - source);
1634|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
1635|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1636|
1637|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1638|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
1639|               }
1640|
1641|       *--yy_cp = (char) c;
1642|
1643|       (yytext_ptr) = yy_bp;
1644|       (yy_hold_char) = *yy_cp;
1645|       (yy_c_buf_p) = yy_cp;
1646| }
1647|
1648| #ifndef YY_NO_INPUT
1649| #ifdef __cplusplus
1650|     static int yyinput (void)
1651| #else
1652|     static int input  (void)
1653| #endif
1654|
1655| {
1656|       int c;
1657|     
1658|       *(yy_c_buf_p) = (yy_hold_char);
1659|
1660|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1661|               {
1662|               /* yy_c_buf_p now points to the character we want to return.
1663|                * If this occurs *before* the EOB characters, then it's a
1664|                * valid NUL; if not, then we've hit the end of the buffer.
1665|                */
1666|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1667|                       /* This was really a NUL. */
1668|                       *(yy_c_buf_p) = '\0';
1669|
1670|               else
1671|                       { /* need more input */
1672|                       yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
1673|                       ++(yy_c_buf_p);
1674|
1675|                       switch ( yy_get_next_buffer(  ) )
1676|                               {
1677|                               case EOB_ACT_LAST_MATCH:
1678|                                       /* This happens because yy_g_n_b()
1679|                                        * sees that we've accumulated a
1680|                                        * token and flags that we need to
1681|                                        * try matching the token before
1682|                                        * proceeding.  But for input(),
1683|                                        * there's no matching to consider.
1684|                                        * So convert the EOB_ACT_LAST_MATCH
1685|                                        * to EOB_ACT_END_OF_FILE.
1686|                                        */
1687|
1688|                                       /* Reset buffer status. */
1689|                                       yyrestart(yyin );
1690|
1691|                                       /*FALLTHROUGH*/
1692|
1693|                               case EOB_ACT_END_OF_FILE:
1694|                                       {
1695|                                       if ( yywrap( ) )
1696|                                               return 0;
1697|
1698|                                       if ( ! (yy_did_buffer_switch_on_eof) )
1699|                                               YY_NEW_FILE;
1700| #ifdef __cplusplus
1701|                                       return yyinput();
1702| #else
1703|                                       return input();
1704| #endif
1705|                                       }
1706|
1707|                               case EOB_ACT_CONTINUE_SCAN:
1708|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
1709|                                       break;
1710|                               }
1711|                       }
1712|               }
1713|
1714|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
1715|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
1716|       (yy_hold_char) = *++(yy_c_buf_p);
1717|
1718|       return c;
1719| }
1720| #endif        /* ifndef YY_NO_INPUT */
1721|
1722| /** Immediately switch to a different input stream.
1723|  * @param input_file A readable stream.
1724|  *
1725|  * @note This function does not reset the start condition to @c INITIAL .
1726|  */
1727|     void yyrestart  (FILE * input_file )
1728| {
1729|     
1730|       if ( ! YY_CURRENT_BUFFER ){
1731|         yyensure_buffer_stack ();
1732|               YY_CURRENT_BUFFER_LVALUE =
1733|             yy_create_buffer(yyin,YY_BUF_SIZE );
1734|       }
1735|
1736|       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
1737|       yy_load_buffer_state( );
1738| }
1739|
1740| /** Switch to a different input buffer.
1741|  * @param new_buffer The new input buffer.
1742|  *
1743|  */
1744|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
1745| {
1746|     
1747|       /* TODO. We should be able to replace this entire function body
1748|        * with
1749|        *              yypop_buffer_state();
1750|        *              yypush_buffer_state(new_buffer);
1751|      */
1752|       yyensure_buffer_stack ();
1753|       if ( YY_CURRENT_BUFFER == new_buffer )
1754|               return;
1755|
1756|       if ( YY_CURRENT_BUFFER )
1757|               {
1758|               /* Flush out information for old buffer. */
1759|               *(yy_c_buf_p) = (yy_hold_char);
1760|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1761|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1762|               }
1763|
1764|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1765|       yy_load_buffer_state( );
1766|
1767|       /* We don't actually know whether we did this switch during
1768|        * EOF (yywrap()) processing, but the only time this flag
1769|        * is looked at is after yywrap() is called, so it's safe
1770|        * to go ahead and always set it.
1771|        */
1772|       (yy_did_buffer_switch_on_eof) = 1;
1773| }
1774|
1775| static void yy_load_buffer_state  (void)
1776| {
1777|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1778|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1779|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1780|       (yy_hold_char) = *(yy_c_buf_p);
1781| }
1782|
1783| /** Allocate and initialize an input buffer state.
1784|  * @param file A readable stream.
1785|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1786|  *
1787|  * @return the allocated buffer state.
1788|  */
1789|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
1790| {
1791|       YY_BUFFER_STATE b;
1792|     
1793|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
1794|       if ( ! b )
1795|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1796|
1797|       b->yy_buf_size = size;
1798|
1799|       /* yy_ch_buf has to be 2 characters longer than the size given because
1800|        * we need to put in 2 end-of-buffer characters.
1801|        */
1802|       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
1803|       if ( ! b->yy_ch_buf )
1804|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1805|
1806|       b->yy_is_our_buffer = 1;
1807|
1808|       yy_init_buffer(b,file );
1809|
1810|       return b;
1811| }
1812|
1813| /** Destroy the buffer.
1814|  * @param b a buffer created with yy_create_buffer()
1815|  *
1816|  */
1817|     void yy_delete_buffer (YY_BUFFER_STATE  b )
1818| {
1819|     
1820|       if ( ! b )
1821|               return;
1822|
1823|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1824|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
1825|
1826|       if ( b->yy_is_our_buffer )
1827|               yyfree((void *) b->yy_ch_buf  );
1828|
1829|       yyfree((void *) b  );
1830| }
1831|
1832| #ifndef __cplusplus
1833| extern int isatty (int );
1834| #endif /* __cplusplus */
1835|     
1836| /* Initializes or reinitializes a buffer.
1837|  * This function is sometimes called more than once on the same buffer,
1838|  * such as during a yyrestart() or at EOF.
1839|  */
1840|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
1841|
1842| {
1843|       int oerrno = errno;
1844|     
1845|       yy_flush_buffer(b );
1846|
1847|       b->yy_input_file = file;
1848|       b->yy_fill_buffer = 1;
1849|
1850|     /* If b is the current buffer, then yy_init_buffer was _probably_
1851|      * called from yyrestart() or through yy_get_next_buffer.
1852|      * In that case, we don't want to reset the lineno or column.
1853|      */
1854|     if (b != YY_CURRENT_BUFFER){
1855|         b->yy_bs_lineno = 1;
1856|         b->yy_bs_column = 0;
1857|     }
1858|
1859|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1860|     
1861|       errno = oerrno;
1862| }
1863|
1864| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1865|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1866|  *
1867|  */
1868|     void yy_flush_buffer (YY_BUFFER_STATE  b )
1869| {
1870|       if ( ! b )
1871|               return;
1872|
1873|       b->yy_n_chars = 0;
1874|
1875|       /* We always need two end-of-buffer characters.  The first causes
1876|        * a transition to the end-of-buffer state.  The second causes
1877|        * a jam in that state.
1878|        */
1879|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1880|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1881|
1882|       b->yy_buf_pos = &b->yy_ch_buf[0];
1883|
1884|       b->yy_at_bol = 1;
1885|       b->yy_buffer_status = YY_BUFFER_NEW;
1886|
1887|       if ( b == YY_CURRENT_BUFFER )
1888|               yy_load_buffer_state( );
1889| }
1890|
1891| /** Pushes the new state onto the stack. The new state becomes
1892|  *  the current state. This function will allocate the stack
1893|  *  if necessary.
1894|  *  @param new_buffer The new state.
1895|  * 
1896|  */
1897| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1898| {
1899|       if (new_buffer == NULL)
1900|               return;
1901|
1902|       yyensure_buffer_stack();
1903|
1904|       /* This block is copied from yy_switch_to_buffer. */
1905|       if ( YY_CURRENT_BUFFER )
1906|               {
1907|               /* Flush out information for old buffer. */
1908|               *(yy_c_buf_p) = (yy_hold_char);
1909|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1910|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1911|               }
1912|
1913|       /* Only push if top exists. Otherwise, replace top. */
1914|       if (YY_CURRENT_BUFFER)
1915|               (yy_buffer_stack_top)++;
1916|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
1917|
1918|       /* copied from yy_switch_to_buffer. */
1919|       yy_load_buffer_state( );
1920|       (yy_did_buffer_switch_on_eof) = 1;
1921| }
1922|
1923| /** Removes and deletes the top of the stack, if present.
1924|  *  The next element becomes the new top.
1925|  * 
1926|  */
1927| void yypop_buffer_state (void)
1928| {
1929|       if (!YY_CURRENT_BUFFER)
1930|               return;
1931|
1932|       yy_delete_buffer(YY_CURRENT_BUFFER );
1933|       YY_CURRENT_BUFFER_LVALUE = NULL;
1934|       if ((yy_buffer_stack_top) > 0)
1935|               --(yy_buffer_stack_top);
1936|
1937|       if (YY_CURRENT_BUFFER) {
1938|               yy_load_buffer_state( );
1939|               (yy_did_buffer_switch_on_eof) = 1;
1940|       }
1941| }
1942|
1943| /* Allocates the stack if it does not exist.
1944|  *  Guarantees space for at least one push.
1945|  */
1946| static void yyensure_buffer_stack (void)
1947| {
1948|       yy_size_t num_to_alloc;
1949|     
1950|       if (!(yy_buffer_stack)) {
1951|
1952|               /* First allocation is just for 2 elements, since we don't know if this
1953|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
1954|                * immediate realloc on the next call.
1955|          */
1956|               num_to_alloc = 1;
1957|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1958|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
1959|                                                               );
1960|               if ( ! (yy_buffer_stack) )
1961|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1962|                                                                 
1963|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1964|                               
1965|               (yy_buffer_stack_max) = num_to_alloc;
1966|               (yy_buffer_stack_top) = 0;
1967|               return;
1968|       }
1969|
1970|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1971|
1972|               /* Increase the buffer to prepare for a possible push. */
1973|               int grow_size = 8 /* arbitrary grow size */;
1974|
1975|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
1976|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1977|                                                               ((yy_buffer_stack),
1978|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
1979|                                                               );
1980|               if ( ! (yy_buffer_stack) )
1981|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1982|
1983|               /* zero only the new slots.*/
1984|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1985|               (yy_buffer_stack_max) = num_to_alloc;
1986|       }
1987| }
1988|
1989| /** Setup the input buffer state to scan directly from a user-specified character buffer.
1990|  * @param base the character buffer
1991|  * @param size the size in bytes of the character buffer
1992|  *
1993|  * @return the newly allocated buffer state object.
1994|  */
1995| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
1996| {
1997|       YY_BUFFER_STATE b;
1998|     
1999|       if ( size < 2 ||
2000|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
2001|            base[size-1] != YY_END_OF_BUFFER_CHAR )
2002|               /* They forgot to leave room for the EOB's. */
2003|               return 0;
2004|
2005|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
2006|       if ( ! b )
2007|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2008|
2009|       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
2010|       b->yy_buf_pos = b->yy_ch_buf = base;
2011|       b->yy_is_our_buffer = 0;
2012|       b->yy_input_file = 0;
2013|       b->yy_n_chars = b->yy_buf_size;
2014|       b->yy_is_interactive = 0;
2015|       b->yy_at_bol = 1;
2016|       b->yy_fill_buffer = 0;
2017|       b->yy_buffer_status = YY_BUFFER_NEW;
2018|
2019|       yy_switch_to_buffer(b  );
2020|
2021|       return b;
2022| }
2023|
2024| /** Setup the input buffer state to scan a string. The next call to yylex() will
2025|  * scan from a @e copy of @a str.
2026|  * @param yystr a NUL-terminated string to scan
2027|  *
2028|  * @return the newly allocated buffer state object.
2029|  * @note If you want to scan bytes that may contain NUL values, then use
2030|  *       yy_scan_bytes() instead.
2031|  */
2032| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
2033| {
2034|     
2035|       return yy_scan_bytes(yystr,strlen(yystr) );
2036| }
2037|
2038| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
2039|  * scan from a @e copy of @a bytes.
2040|  * @param bytes the byte buffer to scan
2041|  * @param len the number of bytes in the buffer pointed to by @a bytes.
2042|  *
2043|  * @return the newly allocated buffer state object.
2044|  */
2045| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
2046| {
2047|       YY_BUFFER_STATE b;
2048|       char *buf;
2049|       yy_size_t n, i;
2050|     
2051|       /* Get memory for full buffer, including space for trailing EOB's. */
2052|       n = _yybytes_len + 2;
2053|       buf = (char *) yyalloc(n  );
2054|       if ( ! buf )
2055|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2056|
2057|       for ( i = 0; i < _yybytes_len; ++i )
2058|               buf[i] = yybytes[i];
2059|
2060|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
2061|
2062|       b = yy_scan_buffer(buf,n );
2063|       if ( ! b )
2064|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2065|
2066|       /* It's okay to grow etc. this buffer, and we should throw it
2067|        * away when we're done.
2068|        */
2069|       b->yy_is_our_buffer = 1;
2070|
2071|       return b;
2072| }
2073|
2074| #ifndef YY_EXIT_FAILURE
2075| #define YY_EXIT_FAILURE 2
2076| #endif
2077|
2078| static void yy_fatal_error (yyconst char* msg )
2079| {
2080|       (void) fprintf( stderr, "%s\n", msg );
2081|       exit( YY_EXIT_FAILURE );
2082| }
2083|
2084| /* Redefine yyless() so it works in section 3 code. */
2085|
2086| #undef yyless
2087| #define yyless(n) \
2088|       do \
2089|               { \
2090|               /* Undo effects of setting up yytext. */ \
2091|         int yyless_macro_arg = (n); \
2092|         YY_LESS_LINENO(yyless_macro_arg);\
2093|               yytext[yyleng] = (yy_hold_char); \
2094|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
2095|               (yy_hold_char) = *(yy_c_buf_p); \
2096|               *(yy_c_buf_p) = '\0'; \
2097|               yyleng = yyless_macro_arg; \
2098|               } \
2099|       while ( 0 )
2100|
2101| /* Accessor  methods (get/set functions) to struct members. */
2102|
2103| /** Get the current line number.
2104|  *
2105|  */
2106| int yyget_lineno  (void)
2107| {
2108|         
2109|     return yylineno;
2110| }
2111|
2112| /** Get the input stream.
2113|  *
2114|  */
2115| FILE *yyget_in  (void)
2116| {
2117|         return yyin;
2118| }
2119|
2120| /** Get the output stream.
2121|  *
2122|  */
2123| FILE *yyget_out  (void)
2124| {
2125|         return yyout;
2126| }
2127|
2128| /** Get the length of the current token.
2129|  *
2130|  */
2131| yy_size_t yyget_leng  (void)
2132| {
2133|         return yyleng;
2134| }
2135|
2136| /** Get the current token.
2137|  *
2138|  */
2139|
2140| char *yyget_text  (void)
2141| {
2142|         return yytext;
2143| }
2144|
2145| /** Set the current line number.
2146|  * @param line_number
2147|  *
2148|  */
2149| void yyset_lineno (int  line_number )
2150| {
2151|     
2152|     yylineno = line_number;
2153| }
2154|
2155| /** Set the input stream. This does not discard the current
2156|  * input buffer.
2157|  * @param in_str A readable stream.
2158|  *
2159|  * @see yy_switch_to_buffer
2160|  */
2161| void yyset_in (FILE *  in_str )
2162| {
2163|         yyin = in_str ;
2164| }
2165|
2166| void yyset_out (FILE *  out_str )
2167| {
2168|         yyout = out_str ;
2169| }
2170|
2171| int yyget_debug  (void)
2172| {
2173|         return yy_flex_debug;
2174| }
2175|
2176| void yyset_debug (int  bdebug )
2177| {
2178|         yy_flex_debug = bdebug ;
2179| }
2180|
2181| static int yy_init_globals (void)
2182| {
2183|         /* Initialization is the same as for the non-reentrant scanner.
2184|      * This function is called from yylex_destroy(), so don't allocate here.
2185|      */
2186|
2187|     (yy_buffer_stack) = 0;
2188|     (yy_buffer_stack_top) = 0;
2189|     (yy_buffer_stack_max) = 0;
2190|     (yy_c_buf_p) = (char *) 0;
2191|     (yy_init) = 0;
2192|     (yy_start) = 0;
2193|
2194|     (yy_state_buf) = 0;
2195|     (yy_state_ptr) = 0;
2196|     (yy_full_match) = 0;
2197|     (yy_lp) = 0;
2198|
2199| /* Defined in main.c */
2200| #ifdef YY_STDINIT
2201|     yyin = stdin;
2202|     yyout = stdout;
2203| #else
2204|     yyin = (FILE *) 0;
2205|     yyout = (FILE *) 0;
2206| #endif
2207|
2208|     /* For future reference: Set errno on error, since we are called by
2209|      * yylex_init()
2210|      */
2211|     return 0;
2212| }
2213|
2214| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2215| int yylex_destroy  (void)
2216| {
2217|     
2218|     /* Pop the buffer stack, destroying each element. */
2219|       while(YY_CURRENT_BUFFER){
2220|               yy_delete_buffer(YY_CURRENT_BUFFER  );
2221|               YY_CURRENT_BUFFER_LVALUE = NULL;
2222|               yypop_buffer_state();
2223|       }
2224|
2225|       /* Destroy the stack itself. */
2226|       yyfree((yy_buffer_stack) );
2227|       (yy_buffer_stack) = NULL;
2228|
2229|     yyfree ( (yy_state_buf) );
2230|     (yy_state_buf)  = NULL;
2231|
2232|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
2233|      * yylex() is called, initialization will occur. */
2234|     yy_init_globals( );
2235|
2236|     return 0;
2237| }
2238|
2239| /*
2240|  * Internal utility routines.
2241|  */
2242|
2243| #ifndef yytext_ptr
2244| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
2245| {
2246|       register int i;
2247|       for ( i = 0; i < n; ++i )
2248|               s1[i] = s2[i];
2249| }
2250| #endif
2251|
2252| #ifdef YY_NEED_STRLEN
2253| static int yy_flex_strlen (yyconst char * s )
2254| {
2255|       register int n;
2256|       for ( n = 0; s[n]; ++n )
2257|               ;
2258|
2259|       return n;
2260| }
2261| #endif
2262|
2263| void *yyalloc (yy_size_t  size )
2264| {
2265|       return (void *) malloc( size );
2266| }
2267|
2268| void *yyrealloc  (void * ptr, yy_size_t  size )
2269| {
2270|       /* The cast to (char *) in the following accommodates both
2271|        * implementations that use char* generic pointers, and those
2272|        * that use void* generic pointers.  It works with the latter
2273|        * because both ANSI C and C++ allow castless assignment from
2274|        * any pointer type to void*, and deal with argument conversions
2275|        * as though doing an assignment.
2276|        */
2277|       return (void *) realloc( (char *) ptr, size );
2278| }
2279|
2280| void yyfree (void * ptr )
2281| {
2282|       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
2283| }
2284|
2285| #define YYTABLES_NAME "yytables"
2286|
2287| #line 10 "conftest.l"
2288|
2289|
2290| #ifdef YYTEXT_POINTER
2291| extern char *yytext;
2292| #endif
2293| int
2294| main (void)
2295| {
2296|   return ! yylex () + ! yywrap ();
2297| }
2298configure:13170: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -lfl  >&5
2299ld: library not found for -lfl
2300clang: error: linker command failed with exit code 1 (use -v to see invocation)
2301configure:13170: $? = 1
2302configure: failed program was:
2303| /* confdefs.h */
2304| #define PACKAGE_NAME ""
2305| #define PACKAGE_TARNAME ""
2306| #define PACKAGE_VERSION ""
2307| #define PACKAGE_STRING ""
2308| #define PACKAGE_BUGREPORT ""
2309| #define PACKAGE_URL ""
2310| #define STDC_HEADERS 1
2311| #define HAVE_SYS_TYPES_H 1
2312| #define HAVE_SYS_STAT_H 1
2313| #define HAVE_STDLIB_H 1
2314| #define HAVE_STRING_H 1
2315| #define HAVE_MEMORY_H 1
2316| #define HAVE_STRINGS_H 1
2317| #define HAVE_INTTYPES_H 1
2318| #define HAVE_STDINT_H 1
2319| #define HAVE_UNISTD_H 1
2320| #define HAVE_DLFCN_H 1
2321| #define LT_OBJDIR ".libs/"
2322| #define POSTGIS_MAJOR_VERSION "3"
2323| #define POSTGIS_MINOR_VERSION "0"
2324| #define POSTGIS_MICRO_VERSION "3"
2325| /* end confdefs.h.  */
2326|
2327| #line 3 "lex.yy.c"
2328|
2329| #define  YY_INT_ALIGNED short int
2330|
2331| /* A lexical scanner generated by flex */
2332|
2333| #define FLEX_SCANNER
2334| #define YY_FLEX_MAJOR_VERSION 2
2335| #define YY_FLEX_MINOR_VERSION 5
2336| #define YY_FLEX_SUBMINOR_VERSION 35
2337| #if YY_FLEX_SUBMINOR_VERSION > 0
2338| #define FLEX_BETA
2339| #endif
2340|
2341| /* First, we deal with  platform-specific or compiler-specific issues. */
2342|
2343| /* begin standard C headers. */
2344| #include <stdio.h>
2345| #include <string.h>
2346| #include <errno.h>
2347| #include <stdlib.h>
2348|
2349| /* end standard C headers. */
2350|
2351| /* flex integer type definitions */
2352|
2353| #ifndef FLEXINT_H
2354| #define FLEXINT_H
2355|
2356| /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
2357|
2358| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
2359|
2360| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
2361|  * if you want the limit (max/min) macros for int types.
2362|  */
2363| #ifndef __STDC_LIMIT_MACROS
2364| #define __STDC_LIMIT_MACROS 1
2365| #endif
2366|
2367| #include <inttypes.h>
2368| typedef int8_t flex_int8_t;
2369| typedef uint8_t flex_uint8_t;
2370| typedef int16_t flex_int16_t;
2371| typedef uint16_t flex_uint16_t;
2372| typedef int32_t flex_int32_t;
2373| typedef uint32_t flex_uint32_t;
2374| typedef uint64_t flex_uint64_t;
2375| #else
2376| typedef signed char flex_int8_t;
2377| typedef short int flex_int16_t;
2378| typedef int flex_int32_t;
2379| typedef unsigned char flex_uint8_t;
2380| typedef unsigned short int flex_uint16_t;
2381| typedef unsigned int flex_uint32_t;
2382| #endif /* ! C99 */
2383|
2384| /* Limits of integral types. */
2385| #ifndef INT8_MIN
2386| #define INT8_MIN               (-128)
2387| #endif
2388| #ifndef INT16_MIN
2389| #define INT16_MIN              (-32767-1)
2390| #endif
2391| #ifndef INT32_MIN
2392| #define INT32_MIN              (-2147483647-1)
2393| #endif
2394| #ifndef INT8_MAX
2395| #define INT8_MAX               (127)
2396| #endif
2397| #ifndef INT16_MAX
2398| #define INT16_MAX              (32767)
2399| #endif
2400| #ifndef INT32_MAX
2401| #define INT32_MAX              (2147483647)
2402| #endif
2403| #ifndef UINT8_MAX
2404| #define UINT8_MAX              (255U)
2405| #endif
2406| #ifndef UINT16_MAX
2407| #define UINT16_MAX             (65535U)
2408| #endif
2409| #ifndef UINT32_MAX
2410| #define UINT32_MAX             (4294967295U)
2411| #endif
2412|
2413| #endif /* ! FLEXINT_H */
2414|
2415| #ifdef __cplusplus
2416|
2417| /* The "const" storage-class-modifier is valid. */
2418| #define YY_USE_CONST
2419|
2420| #else /* ! __cplusplus */
2421|
2422| /* C99 requires __STDC__ to be defined as 1. */
2423| #if defined (__STDC__)
2424|
2425| #define YY_USE_CONST
2426|
2427| #endif        /* defined (__STDC__) */
2428| #endif        /* ! __cplusplus */
2429|
2430| #ifdef YY_USE_CONST
2431| #define yyconst const
2432| #else
2433| #define yyconst
2434| #endif
2435|
2436| /* Returned upon end-of-file. */
2437| #define YY_NULL 0
2438|
2439| /* Promotes a possibly negative, possibly signed char to an unsigned
2440|  * integer for use as an array index.  If the signed char is negative,
2441|  * we want to instead treat it as an 8-bit unsigned char, hence the
2442|  * double cast.
2443|  */
2444| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
2445|
2446| /* Enter a start condition.  This macro really ought to take a parameter,
2447|  * but we do it the disgusting crufty way forced on us by the ()-less
2448|  * definition of BEGIN.
2449|  */
2450| #define BEGIN (yy_start) = 1 + 2 *
2451|
2452| /* Translate the current start state into a value that can be later handed
2453|  * to BEGIN to return to the state.  The YYSTATE alias is for lex
2454|  * compatibility.
2455|  */
2456| #define YY_START (((yy_start) - 1) / 2)
2457| #define YYSTATE YY_START
2458|
2459| /* Action number for EOF rule of a given start state. */
2460| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
2461|
2462| /* Special action meaning "start processing a new file". */
2463| #define YY_NEW_FILE yyrestart(yyin  )
2464|
2465| #define YY_END_OF_BUFFER_CHAR 0
2466|
2467| /* Size of default input buffer. */
2468| #ifndef YY_BUF_SIZE
2469| #define YY_BUF_SIZE 16384
2470| #endif
2471|
2472| /* The state buf must be large enough to hold one state per character in the main buffer.
2473|  */
2474| #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
2475|
2476| #ifndef YY_TYPEDEF_YY_BUFFER_STATE
2477| #define YY_TYPEDEF_YY_BUFFER_STATE
2478| typedef struct yy_buffer_state *YY_BUFFER_STATE;
2479| #endif
2480|
2481| #ifndef YY_TYPEDEF_YY_SIZE_T
2482| #define YY_TYPEDEF_YY_SIZE_T
2483| typedef size_t yy_size_t;
2484| #endif
2485|
2486| extern yy_size_t yyleng;
2487|
2488| extern FILE *yyin, *yyout;
2489|
2490| #define EOB_ACT_CONTINUE_SCAN 0
2491| #define EOB_ACT_END_OF_FILE 1
2492| #define EOB_ACT_LAST_MATCH 2
2493|
2494|     #define YY_LESS_LINENO(n)
2495|     
2496| /* Return all but the first "n" matched characters back to the input stream. */
2497| #define yyless(n) \
2498|       do \
2499|               { \
2500|               /* Undo effects of setting up yytext. */ \
2501|         int yyless_macro_arg = (n); \
2502|         YY_LESS_LINENO(yyless_macro_arg);\
2503|               *yy_cp = (yy_hold_char); \
2504|               YY_RESTORE_YY_MORE_OFFSET \
2505|               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
2506|               YY_DO_BEFORE_ACTION; /* set up yytext again */ \
2507|               } \
2508|       while ( 0 )
2509|
2510| #define unput(c) yyunput( c, (yytext_ptr)  )
2511|
2512| #ifndef YY_STRUCT_YY_BUFFER_STATE
2513| #define YY_STRUCT_YY_BUFFER_STATE
2514| struct yy_buffer_state
2515|       {
2516|       FILE *yy_input_file;
2517|
2518|       char *yy_ch_buf;                /* input buffer */
2519|       char *yy_buf_pos;               /* current position in input buffer */
2520|
2521|       /* Size of input buffer in bytes, not including room for EOB
2522|        * characters.
2523|        */
2524|       yy_size_t yy_buf_size;
2525|
2526|       /* Number of characters read into yy_ch_buf, not including EOB
2527|        * characters.
2528|        */
2529|       yy_size_t yy_n_chars;
2530|
2531|       /* Whether we "own" the buffer - i.e., we know we created it,
2532|        * and can realloc() it to grow it, and should free() it to
2533|        * delete it.
2534|        */
2535|       int yy_is_our_buffer;
2536|
2537|       /* Whether this is an "interactive" input source; if so, and
2538|        * if we're using stdio for input, then we want to use getc()
2539|        * instead of fread(), to make sure we stop fetching input after
2540|        * each newline.
2541|        */
2542|       int yy_is_interactive;
2543|
2544|       /* Whether we're considered to be at the beginning of a line.
2545|        * If so, '^' rules will be active on the next match, otherwise
2546|        * not.
2547|        */
2548|       int yy_at_bol;
2549|
2550|     int yy_bs_lineno; /**< The line count. */
2551|     int yy_bs_column; /**< The column count. */
2552|     
2553|       /* Whether to try to fill the input buffer when we reach the
2554|        * end of it.
2555|        */
2556|       int yy_fill_buffer;
2557|
2558|       int yy_buffer_status;
2559|
2560| #define YY_BUFFER_NEW 0
2561| #define YY_BUFFER_NORMAL 1
2562|       /* When an EOF's been seen but there's still some text to process
2563|        * then we mark the buffer as YY_EOF_PENDING, to indicate that we
2564|        * shouldn't try reading from the input source any more.  We might
2565|        * still have a bunch of tokens to match, though, because of
2566|        * possible backing-up.
2567|        *
2568|        * When we actually see the EOF, we change the status to "new"
2569|        * (via yyrestart()), so that the user can continue scanning by
2570|        * just pointing yyin at a new input file.
2571|        */
2572| #define YY_BUFFER_EOF_PENDING 2
2573|
2574|       };
2575| #endif /* !YY_STRUCT_YY_BUFFER_STATE */
2576|
2577| /* Stack of input buffers. */
2578| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
2579| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
2580| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
2581|
2582| /* We provide macros for accessing buffer states in case in the
2583|  * future we want to put the buffer states in a more general
2584|  * "scanner state".
2585|  *
2586|  * Returns the top of the stack, or NULL.
2587|  */
2588| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
2589|                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
2590|                           : NULL)
2591|
2592| /* Same as previous macro, but useful when we know that the buffer stack is not
2593|  * NULL or when we need an lvalue. For internal use only.
2594|  */
2595| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
2596|
2597| /* yy_hold_char holds the character lost when yytext is formed. */
2598| static char yy_hold_char;
2599| static yy_size_t yy_n_chars;          /* number of characters read into yy_ch_buf */
2600| yy_size_t yyleng;
2601|
2602| /* Points to current character in buffer. */
2603| static char *yy_c_buf_p = (char *) 0;
2604| static int yy_init = 0;               /* whether we need to initialize */
2605| static int yy_start = 0;      /* start state number */
2606|
2607| /* Flag which is used to allow yywrap()'s to do buffer switches
2608|  * instead of setting up a fresh yyin.  A bit of a hack ...
2609|  */
2610| static int yy_did_buffer_switch_on_eof;
2611|
2612| void yyrestart (FILE *input_file  );
2613| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
2614| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
2615| void yy_delete_buffer (YY_BUFFER_STATE b  );
2616| void yy_flush_buffer (YY_BUFFER_STATE b  );
2617| void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
2618| void yypop_buffer_state (void );
2619|
2620| static void yyensure_buffer_stack (void );
2621| static void yy_load_buffer_state (void );
2622| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
2623|
2624| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
2625|
2626| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
2627| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
2628| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
2629|
2630| void *yyalloc (yy_size_t  );
2631| void *yyrealloc (void *,yy_size_t  );
2632| void yyfree (void *  );
2633|
2634| #define yy_new_buffer yy_create_buffer
2635|
2636| #define yy_set_interactive(is_interactive) \
2637|       { \
2638|       if ( ! YY_CURRENT_BUFFER ){ \
2639|         yyensure_buffer_stack (); \
2640|               YY_CURRENT_BUFFER_LVALUE =    \
2641|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
2642|       } \
2643|       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
2644|       }
2645|
2646| #define yy_set_bol(at_bol) \
2647|       { \
2648|       if ( ! YY_CURRENT_BUFFER ){\
2649|         yyensure_buffer_stack (); \
2650|               YY_CURRENT_BUFFER_LVALUE =    \
2651|             yy_create_buffer(yyin,YY_BUF_SIZE ); \
2652|       } \
2653|       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
2654|       }
2655|
2656| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
2657|
2658| /* Begin user sect3 */
2659|
2660| typedef unsigned char YY_CHAR;
2661|
2662| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
2663|
2664| typedef int yy_state_type;
2665|
2666| extern int yylineno;
2667|
2668| int yylineno = 1;
2669|
2670| extern char *yytext;
2671| #define yytext_ptr yytext
2672|
2673| static yy_state_type yy_get_previous_state (void );
2674| static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
2675| static int yy_get_next_buffer (void );
2676| static void yy_fatal_error (yyconst char msg[]  );
2677|
2678| /* Done after the current pattern has been matched and before the
2679|  * corresponding action - sets up yytext.
2680|  */
2681| #define YY_DO_BEFORE_ACTION \
2682|       (yytext_ptr) = yy_bp; \
2683|       (yytext_ptr) -= (yy_more_len); \
2684|       yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \
2685|       (yy_hold_char) = *yy_cp; \
2686|       *yy_cp = '\0'; \
2687|       (yy_c_buf_p) = yy_cp;
2688|
2689| #define YY_NUM_RULES 8
2690| #define YY_END_OF_BUFFER 9
2691| /* This struct is not used in this scanner,
2692|    but its presence is necessary. */
2693| struct yy_trans_info
2694|       {
2695|       flex_int32_t yy_verify;
2696|       flex_int32_t yy_nxt;
2697|       };
2698| static yyconst flex_int16_t yy_acclist[23] =
2699|     {   0,
2700|         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
2701|         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
2702|         7,    8
2703|     } ;
2704|
2705| static yyconst flex_int16_t yy_accept[14] =
2706|     {   0,
2707|         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
2708|        20,   23,   23
2709|     } ;
2710|
2711| static yyconst flex_int32_t yy_ec[256] =
2712|     {   0,
2713|         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
2714|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2715|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2716|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2717|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2718|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2719|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2720|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2721|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2722|         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
2723|
2724|         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
2725|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2726|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2727|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2728|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2729|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2730|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2731|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2732|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2733|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2734|
2735|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2736|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2737|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2738|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2739|         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
2740|         1,    1,    1,    1,    1
2741|     } ;
2742|
2743| static yyconst flex_int32_t yy_meta[9] =
2744|     {   0,
2745|         1,    1,    1,    1,    1,    1,    1,    1
2746|     } ;
2747|
2748| static yyconst flex_int16_t yy_base[13] =
2749|     {   0,
2750|         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
2751|        10,   10
2752|     } ;
2753|
2754| static yyconst flex_int16_t yy_def[13] =
2755|     {   0,
2756|        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
2757|        12,    0
2758|     } ;
2759|
2760| static yyconst flex_int16_t yy_nxt[19] =
2761|     {   0,
2762|         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
2763|        12,   12,   12,   12,   12,   12,   12,   12
2764|     } ;
2765|
2766| static yyconst flex_int16_t yy_chk[19] =
2767|     {   0,
2768|         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
2769|        12,   12,   12,   12,   12,   12,   12,   12
2770|     } ;
2771|
2772| extern int yy_flex_debug;
2773| int yy_flex_debug = 0;
2774|
2775| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
2776| static char *yy_full_match;
2777| static int yy_lp;
2778| #define REJECT \
2779| { \
2780| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
2781| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
2782| ++(yy_lp); \
2783| goto find_rule; \
2784| }
2785|
2786| static int yy_more_flag = 0;
2787| static int yy_more_len = 0;
2788| #define yymore() ((yy_more_flag) = 1)
2789| #define YY_MORE_ADJ (yy_more_len)
2790| #define YY_RESTORE_YY_MORE_OFFSET
2791| char *yytext;
2792| #line 1 "conftest.l"
2793| #line 469 "lex.yy.c"
2794|
2795| #define INITIAL 0
2796|
2797| #ifndef YY_NO_UNISTD_H
2798| /* Special case for "unistd.h", since it is non-ANSI. We include it way
2799|  * down here because we want the user's section 1 to have been scanned first.
2800|  * The user has a chance to override it with an option.
2801|  */
2802| #include <unistd.h>
2803| #endif
2804|
2805| #ifndef YY_EXTRA_TYPE
2806| #define YY_EXTRA_TYPE void *
2807| #endif
2808|
2809| static int yy_init_globals (void );
2810|
2811| /* Accessor methods to globals.
2812|    These are made visible to non-reentrant scanners for convenience. */
2813|
2814| int yylex_destroy (void );
2815|
2816| int yyget_debug (void );
2817|
2818| void yyset_debug (int debug_flag  );
2819|
2820| YY_EXTRA_TYPE yyget_extra (void );
2821|
2822| void yyset_extra (YY_EXTRA_TYPE user_defined  );
2823|
2824| FILE *yyget_in (void );
2825|
2826| void yyset_in  (FILE * in_str  );
2827|
2828| FILE *yyget_out (void );
2829|
2830| void yyset_out  (FILE * out_str  );
2831|
2832| yy_size_t yyget_leng (void );
2833|
2834| char *yyget_text (void );
2835|
2836| int yyget_lineno (void );
2837|
2838| void yyset_lineno (int line_number  );
2839|
2840| /* Macros after this point can all be overridden by user definitions in
2841|  * section 1.
2842|  */
2843|
2844| #ifndef YY_SKIP_YYWRAP
2845| #ifdef __cplusplus
2846| extern "C" int yywrap (void );
2847| #else
2848| extern int yywrap (void );
2849| #endif
2850| #endif
2851|
2852|     static void yyunput (int c,char *buf_ptr  );
2853|     
2854| #ifndef yytext_ptr
2855| static void yy_flex_strncpy (char *,yyconst char *,int );
2856| #endif
2857|
2858| #ifdef YY_NEED_STRLEN
2859| static int yy_flex_strlen (yyconst char * );
2860| #endif
2861|
2862| #ifndef YY_NO_INPUT
2863|
2864| #ifdef __cplusplus
2865| static int yyinput (void );
2866| #else
2867| static int input (void );
2868| #endif
2869|
2870| #endif
2871|
2872| /* Amount of stuff to slurp up with each read. */
2873| #ifndef YY_READ_BUF_SIZE
2874| #define YY_READ_BUF_SIZE 8192
2875| #endif
2876|
2877| /* Copy whatever the last rule matched to the standard output. */
2878| #ifndef ECHO
2879| /* This used to be an fputs(), but since the string might contain NUL's,
2880|  * we now use fwrite().
2881|  */
2882| #define ECHO fwrite( yytext, yyleng, 1, yyout )
2883| #endif
2884|
2885| /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
2886|  * is returned in "result".
2887|  */
2888| #ifndef YY_INPUT
2889| #define YY_INPUT(buf,result,max_size) \
2890|       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
2891|               { \
2892|               int c = '*'; \
2893|               yy_size_t n; \
2894|               for ( n = 0; n < max_size && \
2895|                            (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
2896|                       buf[n] = (char) c; \
2897|               if ( c == '\n' ) \
2898|                       buf[n++] = (char) c; \
2899|               if ( c == EOF && ferror( yyin ) ) \
2900|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
2901|               result = n; \
2902|               } \
2903|       else \
2904|               { \
2905|               errno=0; \
2906|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
2907|                       { \
2908|                       if( errno != EINTR) \
2909|                               { \
2910|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
2911|                               break; \
2912|                               } \
2913|                       errno=0; \
2914|                       clearerr(yyin); \
2915|                       } \
2916|               }\
2917| \
2918|
2919| #endif
2920|
2921| /* No semi-colon after return; correct usage is to write "yyterminate();" -
2922|  * we don't want an extra ';' after the "return" because that will cause
2923|  * some compilers to complain about unreachable statements.
2924|  */
2925| #ifndef yyterminate
2926| #define yyterminate() return YY_NULL
2927| #endif
2928|
2929| /* Number of entries by which start-condition stack grows. */
2930| #ifndef YY_START_STACK_INCR
2931| #define YY_START_STACK_INCR 25
2932| #endif
2933|
2934| /* Report a fatal error. */
2935| #ifndef YY_FATAL_ERROR
2936| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
2937| #endif
2938|
2939| /* end tables serialization structures and prototypes */
2940|
2941| /* Default declaration of generated scanner - a define so the user can
2942|  * easily add parameters.
2943|  */
2944| #ifndef YY_DECL
2945| #define YY_DECL_IS_OURS 1
2946|
2947| extern int yylex (void);
2948|
2949| #define YY_DECL int yylex (void)
2950| #endif /* !YY_DECL */
2951|
2952| /* Code executed at the beginning of each rule, after yytext and yyleng
2953|  * have been set up.
2954|  */
2955| #ifndef YY_USER_ACTION
2956| #define YY_USER_ACTION
2957| #endif
2958|
2959| /* Code executed at the end of each rule. */
2960| #ifndef YY_BREAK
2961| #define YY_BREAK break;
2962| #endif
2963|
2964| #define YY_RULE_SETUP \
2965|       YY_USER_ACTION
2966|
2967| /** The main scanner function which does all the work.
2968|  */
2969| YY_DECL
2970| {
2971|       register yy_state_type yy_current_state;
2972|       register char *yy_cp, *yy_bp;
2973|       register int yy_act;
2974|     
2975| #line 1 "conftest.l"
2976|
2977| #line 653 "lex.yy.c"
2978|
2979|       if ( !(yy_init) )
2980|               {
2981|               (yy_init) = 1;
2982|
2983| #ifdef YY_USER_INIT
2984|               YY_USER_INIT;
2985| #endif
2986|
2987|         /* Create the reject buffer large enough to save one state per allowed character. */
2988|         if ( ! (yy_state_buf) )
2989|             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
2990|             if ( ! (yy_state_buf) )
2991|                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
2992|
2993|               if ( ! (yy_start) )
2994|                       (yy_start) = 1; /* first start state */
2995|
2996|               if ( ! yyin )
2997|                       yyin = stdin;
2998|
2999|               if ( ! yyout )
3000|                       yyout = stdout;
3001|
3002|               if ( ! YY_CURRENT_BUFFER ) {
3003|                       yyensure_buffer_stack ();
3004|                       YY_CURRENT_BUFFER_LVALUE =
3005|                               yy_create_buffer(yyin,YY_BUF_SIZE );
3006|               }
3007|
3008|               yy_load_buffer_state( );
3009|               }
3010|
3011|       while ( 1 )             /* loops until end-of-file is reached */
3012|               {
3013|               (yy_more_len) = 0;
3014|               if ( (yy_more_flag) )
3015|                       {
3016|                       (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
3017|                       (yy_more_flag) = 0;
3018|                       }
3019|               yy_cp = (yy_c_buf_p);
3020|
3021|               /* Support of yytext. */
3022|               *yy_cp = (yy_hold_char);
3023|
3024|               /* yy_bp points to the position in yy_ch_buf of the start of
3025|                * the current run.
3026|                */
3027|               yy_bp = yy_cp;
3028|
3029|               yy_current_state = (yy_start);
3030|
3031|               (yy_state_ptr) = (yy_state_buf);
3032|               *(yy_state_ptr)++ = yy_current_state;
3033|
3034| yy_match:
3035|               do
3036|                       {
3037|                       register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
3038|                       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3039|                               {
3040|                               yy_current_state = (int) yy_def[yy_current_state];
3041|                               if ( yy_current_state >= 13 )
3042|                                       yy_c = yy_meta[(unsigned int) yy_c];
3043|                               }
3044|                       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
3045|                       *(yy_state_ptr)++ = yy_current_state;
3046|                       ++yy_cp;
3047|                       }
3048|               while ( yy_base[yy_current_state] != 10 );
3049|
3050| yy_find_action:
3051|               yy_current_state = *--(yy_state_ptr);
3052|               (yy_lp) = yy_accept[yy_current_state];
3053| goto find_rule; /* Shut up GCC warning -Wall */
3054| find_rule: /* we branch to this label when backing up */
3055|               for ( ; ; ) /* until we find what rule we matched */
3056|                       {
3057|                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
3058|                               {
3059|                               yy_act = yy_acclist[(yy_lp)];
3060|                                       {
3061|                                       (yy_full_match) = yy_cp;
3062|                                       break;
3063|                                       }
3064|                               }
3065|                       --yy_cp;
3066|                       yy_current_state = *--(yy_state_ptr);
3067|                       (yy_lp) = yy_accept[yy_current_state];
3068|                       }
3069|
3070|               YY_DO_BEFORE_ACTION;
3071|
3072| do_action:    /* This label is used only to access EOF actions. */
3073|
3074|               switch ( yy_act )
3075|       { /* beginning of action switch */
3076| case 1:
3077| YY_RULE_SETUP
3078| #line 2 "conftest.l"
3079| { ECHO; }
3080|       YY_BREAK
3081| case 2:
3082| YY_RULE_SETUP
3083| #line 3 "conftest.l"
3084| { REJECT; }
3085|       YY_BREAK
3086| case 3:
3087| YY_RULE_SETUP
3088| #line 4 "conftest.l"
3089| { yymore (); }
3090|       YY_BREAK
3091| case 4:
3092| YY_RULE_SETUP
3093| #line 5 "conftest.l"
3094| { yyless (1); }
3095|       YY_BREAK
3096| case 5:
3097| YY_RULE_SETUP
3098| #line 6 "conftest.l"
3099| { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
3100|     yyless ((input () != 0)); }
3101|       YY_BREAK
3102| case 6:
3103| YY_RULE_SETUP
3104| #line 8 "conftest.l"
3105| { unput (yytext[0]); }
3106|       YY_BREAK
3107| case 7:
3108| YY_RULE_SETUP
3109| #line 9 "conftest.l"
3110| { BEGIN INITIAL; }
3111|       YY_BREAK
3112| case 8:
3113| YY_RULE_SETUP
3114| #line 10 "conftest.l"
3115| ECHO;
3116|       YY_BREAK
3117| #line 793 "lex.yy.c"
3118|                       case YY_STATE_EOF(INITIAL):
3119|                               yyterminate();
3120|
3121|       case YY_END_OF_BUFFER:
3122|               {
3123|               /* Amount of text matched not including the EOB char. */
3124|               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
3125|
3126|               /* Undo the effects of YY_DO_BEFORE_ACTION. */
3127|               *yy_cp = (yy_hold_char);
3128|               YY_RESTORE_YY_MORE_OFFSET
3129|
3130|               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
3131|                       {
3132|                       /* We're scanning a new file or input source.  It's
3133|                        * possible that this happened because the user
3134|                        * just pointed yyin at a new source and called
3135|                        * yylex().  If so, then we have to assure
3136|                        * consistency between YY_CURRENT_BUFFER and our
3137|                        * globals.  Here is the right place to do so, because
3138|                        * this is the first action (other than possibly a
3139|                        * back-up) that will match for the new input source.
3140|                        */
3141|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3142|                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
3143|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
3144|                       }
3145|
3146|               /* Note that here we test for yy_c_buf_p "<=" to the position
3147|                * of the first EOB in the buffer, since yy_c_buf_p will
3148|                * already have been incremented past the NUL character
3149|                * (since all states make transitions on EOB to the
3150|                * end-of-buffer state).  Contrast this with the test
3151|                * in input().
3152|                */
3153|               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
3154|                       { /* This was really a NUL. */
3155|                       yy_state_type yy_next_state;
3156|
3157|                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
3158|
3159|                       yy_current_state = yy_get_previous_state(  );
3160|
3161|                       /* Okay, we're now positioned to make the NUL
3162|                        * transition.  We couldn't have
3163|                        * yy_get_previous_state() go ahead and do it
3164|                        * for us because it doesn't know how to deal
3165|                        * with the possibility of jamming (and we don't
3166|                        * want to build jamming into it because then it
3167|                        * will run more slowly).
3168|                        */
3169|
3170|                       yy_next_state = yy_try_NUL_trans( yy_current_state );
3171|
3172|                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3173|
3174|                       if ( yy_next_state )
3175|                               {
3176|                               /* Consume the NUL. */
3177|                               yy_cp = ++(yy_c_buf_p);
3178|                               yy_current_state = yy_next_state;
3179|                               goto yy_match;
3180|                               }
3181|
3182|                       else
3183|                               {
3184|                               yy_cp = (yy_c_buf_p);
3185|                               goto yy_find_action;
3186|                               }
3187|                       }
3188|
3189|               else switch ( yy_get_next_buffer(  ) )
3190|                       {
3191|                       case EOB_ACT_END_OF_FILE:
3192|                               {
3193|                               (yy_did_buffer_switch_on_eof) = 0;
3194|
3195|                               if ( yywrap( ) )
3196|                                       {
3197|                                       /* Note: because we've taken care in
3198|                                        * yy_get_next_buffer() to have set up
3199|                                        * yytext, we can now set up
3200|                                        * yy_c_buf_p so that if some total
3201|                                        * hoser (like flex itself) wants to
3202|                                        * call the scanner after we return the
3203|                                        * YY_NULL, it'll still work - another
3204|                                        * YY_NULL will get returned.
3205|                                        */
3206|                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
3207|
3208|                                       yy_act = YY_STATE_EOF(YY_START);
3209|                                       goto do_action;
3210|                                       }
3211|
3212|                               else
3213|                                       {
3214|                                       if ( ! (yy_did_buffer_switch_on_eof) )
3215|                                               YY_NEW_FILE;
3216|                                       }
3217|                               break;
3218|                               }
3219|
3220|                       case EOB_ACT_CONTINUE_SCAN:
3221|                               (yy_c_buf_p) =
3222|                                       (yytext_ptr) + yy_amount_of_matched_text;
3223|
3224|                               yy_current_state = yy_get_previous_state(  );
3225|
3226|                               yy_cp = (yy_c_buf_p);
3227|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3228|                               goto yy_match;
3229|
3230|                       case EOB_ACT_LAST_MATCH:
3231|                               (yy_c_buf_p) =
3232|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
3233|
3234|                               yy_current_state = yy_get_previous_state(  );
3235|
3236|                               yy_cp = (yy_c_buf_p);
3237|                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
3238|                               goto yy_find_action;
3239|                       }
3240|               break;
3241|               }
3242|
3243|       default:
3244|               YY_FATAL_ERROR(
3245|                       "fatal flex scanner internal error--no action found" );
3246|       } /* end of action switch */
3247|               } /* end of scanning one token */
3248| } /* end of yylex */
3249|
3250| /* yy_get_next_buffer - try to read in a new buffer
3251|  *
3252|  * Returns a code representing an action:
3253|  *    EOB_ACT_LAST_MATCH -
3254|  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
3255|  *    EOB_ACT_END_OF_FILE - end of file
3256|  */
3257| static int yy_get_next_buffer (void)
3258| {
3259|       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
3260|       register char *source = (yytext_ptr);
3261|       register int number_to_move, i;
3262|       int ret_val;
3263|
3264|       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
3265|               YY_FATAL_ERROR(
3266|               "fatal flex scanner internal error--end of buffer missed" );
3267|
3268|       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
3269|               { /* Don't try to fill the buffer, so this is an EOF. */
3270|               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
3271|                       {
3272|                       /* We matched a single character, the EOB, so
3273|                        * treat this as a final EOF.
3274|                        */
3275|                       return EOB_ACT_END_OF_FILE;
3276|                       }
3277|
3278|               else
3279|                       {
3280|                       /* We matched some text prior to the EOB, first
3281|                        * process it.
3282|                        */
3283|                       return EOB_ACT_LAST_MATCH;
3284|                       }
3285|               }
3286|
3287|       /* Try to read more data. */
3288|
3289|       /* First move last chars to start of buffer. */
3290|       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
3291|
3292|       for ( i = 0; i < number_to_move; ++i )
3293|               *(dest++) = *(source++);
3294|
3295|       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
3296|               /* don't do the read, it's not guaranteed to return an EOF,
3297|                * just force an EOF
3298|                */
3299|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
3300|
3301|       else
3302|               {
3303|                       yy_size_t num_to_read =
3304|                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
3305|
3306|               while ( num_to_read <= 0 )
3307|                       { /* Not enough room in the buffer - grow it. */
3308|
3309|                       YY_FATAL_ERROR(
3310| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
3311|
3312|                       }
3313|
3314|               if ( num_to_read > YY_READ_BUF_SIZE )
3315|                       num_to_read = YY_READ_BUF_SIZE;
3316|
3317|               /* Read in more data. */
3318|               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
3319|                       (yy_n_chars), num_to_read );
3320|
3321|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3322|               }
3323|
3324|       if ( (yy_n_chars) == 0 )
3325|               {
3326|               if ( number_to_move == YY_MORE_ADJ )
3327|                       {
3328|                       ret_val = EOB_ACT_END_OF_FILE;
3329|                       yyrestart(yyin  );
3330|                       }
3331|
3332|               else
3333|                       {
3334|                       ret_val = EOB_ACT_LAST_MATCH;
3335|                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
3336|                               YY_BUFFER_EOF_PENDING;
3337|                       }
3338|               }
3339|
3340|       else
3341|               ret_val = EOB_ACT_CONTINUE_SCAN;
3342|
3343|       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
3344|               /* Extend the array by 50%, plus the number we really need. */
3345|               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
3346|               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
3347|               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
3348|                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
3349|       }
3350|
3351|       (yy_n_chars) += number_to_move;
3352|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
3353|       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
3354|
3355|       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
3356|
3357|       return ret_val;
3358| }
3359|
3360| /* yy_get_previous_state - get the state just before the EOB char was reached */
3361|
3362|     static yy_state_type yy_get_previous_state (void)
3363| {
3364|       register yy_state_type yy_current_state;
3365|       register char *yy_cp;
3366|     
3367|       yy_current_state = (yy_start);
3368|
3369|       (yy_state_ptr) = (yy_state_buf);
3370|       *(yy_state_ptr)++ = yy_current_state;
3371|
3372|       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
3373|               {
3374|               register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
3375|               while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3376|                       {
3377|                       yy_current_state = (int) yy_def[yy_current_state];
3378|                       if ( yy_current_state >= 13 )
3379|                               yy_c = yy_meta[(unsigned int) yy_c];
3380|                       }
3381|               yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
3382|               *(yy_state_ptr)++ = yy_current_state;
3383|               }
3384|
3385|       return yy_current_state;
3386| }
3387|
3388| /* yy_try_NUL_trans - try to make a transition on the NUL character
3389|  *
3390|  * synopsis
3391|  *    next_state = yy_try_NUL_trans( current_state );
3392|  */
3393|     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
3394| {
3395|       register int yy_is_jam;
3396|     
3397|       register YY_CHAR yy_c = 1;
3398|       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3399|               {
3400|               yy_current_state = (int) yy_def[yy_current_state];
3401|               if ( yy_current_state >= 13 )
3402|                       yy_c = yy_meta[(unsigned int) yy_c];
3403|               }
3404|       yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
3405|       yy_is_jam = (yy_current_state == 12);
3406|       if ( ! yy_is_jam )
3407|               *(yy_state_ptr)++ = yy_current_state;
3408|
3409|       return yy_is_jam ? 0 : yy_current_state;
3410| }
3411|
3412|     static void yyunput (int c, register char * yy_bp )
3413| {
3414|       register char *yy_cp;
3415|     
3416|     yy_cp = (yy_c_buf_p);
3417|
3418|       /* undo effects of setting up yytext */
3419|       *yy_cp = (yy_hold_char);
3420|
3421|       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3422|               { /* need to shift things up to make room */
3423|               /* +2 for EOB chars. */
3424|               register yy_size_t number_to_move = (yy_n_chars) + 2;
3425|               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
3426|                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
3427|               register char *source =
3428|                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
3429|
3430|               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
3431|                       *--dest = *--source;
3432|
3433|               yy_cp += (int) (dest - source);
3434|               yy_bp += (int) (dest - source);
3435|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
3436|                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
3437|
3438|               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
3439|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
3440|               }
3441|
3442|       *--yy_cp = (char) c;
3443|
3444|       (yytext_ptr) = yy_bp;
3445|       (yy_hold_char) = *yy_cp;
3446|       (yy_c_buf_p) = yy_cp;
3447| }
3448|
3449| #ifndef YY_NO_INPUT
3450| #ifdef __cplusplus
3451|     static int yyinput (void)
3452| #else
3453|     static int input  (void)
3454| #endif
3455|
3456| {
3457|       int c;
3458|     
3459|       *(yy_c_buf_p) = (yy_hold_char);
3460|
3461|       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
3462|               {
3463|               /* yy_c_buf_p now points to the character we want to return.
3464|                * If this occurs *before* the EOB characters, then it's a
3465|                * valid NUL; if not, then we've hit the end of the buffer.
3466|                */
3467|               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
3468|                       /* This was really a NUL. */
3469|                       *(yy_c_buf_p) = '\0';
3470|
3471|               else
3472|                       { /* need more input */
3473|                       yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
3474|                       ++(yy_c_buf_p);
3475|
3476|                       switch ( yy_get_next_buffer(  ) )
3477|                               {
3478|                               case EOB_ACT_LAST_MATCH:
3479|                                       /* This happens because yy_g_n_b()
3480|                                        * sees that we've accumulated a
3481|                                        * token and flags that we need to
3482|                                        * try matching the token before
3483|                                        * proceeding.  But for input(),
3484|                                        * there's no matching to consider.
3485|                                        * So convert the EOB_ACT_LAST_MATCH
3486|                                        * to EOB_ACT_END_OF_FILE.
3487|                                        */
3488|
3489|                                       /* Reset buffer status. */
3490|                                       yyrestart(yyin );
3491|
3492|                                       /*FALLTHROUGH*/
3493|
3494|                               case EOB_ACT_END_OF_FILE:
3495|                                       {
3496|                                       if ( yywrap( ) )
3497|                                               return 0;
3498|
3499|                                       if ( ! (yy_did_buffer_switch_on_eof) )
3500|                                               YY_NEW_FILE;
3501| #ifdef __cplusplus
3502|                                       return yyinput();
3503| #else
3504|                                       return input();
3505| #endif
3506|                                       }
3507|
3508|                               case EOB_ACT_CONTINUE_SCAN:
3509|                                       (yy_c_buf_p) = (yytext_ptr) + offset;
3510|                                       break;
3511|                               }
3512|                       }
3513|               }
3514|
3515|       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
3516|       *(yy_c_buf_p) = '\0';   /* preserve yytext */
3517|       (yy_hold_char) = *++(yy_c_buf_p);
3518|
3519|       return c;
3520| }
3521| #endif        /* ifndef YY_NO_INPUT */
3522|
3523| /** Immediately switch to a different input stream.
3524|  * @param input_file A readable stream.
3525|  *
3526|  * @note This function does not reset the start condition to @c INITIAL .
3527|  */
3528|     void yyrestart  (FILE * input_file )
3529| {
3530|     
3531|       if ( ! YY_CURRENT_BUFFER ){
3532|         yyensure_buffer_stack ();
3533|               YY_CURRENT_BUFFER_LVALUE =
3534|             yy_create_buffer(yyin,YY_BUF_SIZE );
3535|       }
3536|
3537|       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
3538|       yy_load_buffer_state( );
3539| }
3540|
3541| /** Switch to a different input buffer.
3542|  * @param new_buffer The new input buffer.
3543|  *
3544|  */
3545|     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
3546| {
3547|     
3548|       /* TODO. We should be able to replace this entire function body
3549|        * with
3550|        *              yypop_buffer_state();
3551|        *              yypush_buffer_state(new_buffer);
3552|      */
3553|       yyensure_buffer_stack ();
3554|       if ( YY_CURRENT_BUFFER == new_buffer )
3555|               return;
3556|
3557|       if ( YY_CURRENT_BUFFER )
3558|               {
3559|               /* Flush out information for old buffer. */
3560|               *(yy_c_buf_p) = (yy_hold_char);
3561|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3562|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3563|               }
3564|
3565|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
3566|       yy_load_buffer_state( );
3567|
3568|       /* We don't actually know whether we did this switch during
3569|        * EOF (yywrap()) processing, but the only time this flag
3570|        * is looked at is after yywrap() is called, so it's safe
3571|        * to go ahead and always set it.
3572|        */
3573|       (yy_did_buffer_switch_on_eof) = 1;
3574| }
3575|
3576| static void yy_load_buffer_state  (void)
3577| {
3578|       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
3579|       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
3580|       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
3581|       (yy_hold_char) = *(yy_c_buf_p);
3582| }
3583|
3584| /** Allocate and initialize an input buffer state.
3585|  * @param file A readable stream.
3586|  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
3587|  *
3588|  * @return the allocated buffer state.
3589|  */
3590|     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
3591| {
3592|       YY_BUFFER_STATE b;
3593|     
3594|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
3595|       if ( ! b )
3596|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3597|
3598|       b->yy_buf_size = size;
3599|
3600|       /* yy_ch_buf has to be 2 characters longer than the size given because
3601|        * we need to put in 2 end-of-buffer characters.
3602|        */
3603|       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
3604|       if ( ! b->yy_ch_buf )
3605|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
3606|
3607|       b->yy_is_our_buffer = 1;
3608|
3609|       yy_init_buffer(b,file );
3610|
3611|       return b;
3612| }
3613|
3614| /** Destroy the buffer.
3615|  * @param b a buffer created with yy_create_buffer()
3616|  *
3617|  */
3618|     void yy_delete_buffer (YY_BUFFER_STATE  b )
3619| {
3620|     
3621|       if ( ! b )
3622|               return;
3623|
3624|       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
3625|               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
3626|
3627|       if ( b->yy_is_our_buffer )
3628|               yyfree((void *) b->yy_ch_buf  );
3629|
3630|       yyfree((void *) b  );
3631| }
3632|
3633| #ifndef __cplusplus
3634| extern int isatty (int );
3635| #endif /* __cplusplus */
3636|     
3637| /* Initializes or reinitializes a buffer.
3638|  * This function is sometimes called more than once on the same buffer,
3639|  * such as during a yyrestart() or at EOF.
3640|  */
3641|     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
3642|
3643| {
3644|       int oerrno = errno;
3645|     
3646|       yy_flush_buffer(b );
3647|
3648|       b->yy_input_file = file;
3649|       b->yy_fill_buffer = 1;
3650|
3651|     /* If b is the current buffer, then yy_init_buffer was _probably_
3652|      * called from yyrestart() or through yy_get_next_buffer.
3653|      * In that case, we don't want to reset the lineno or column.
3654|      */
3655|     if (b != YY_CURRENT_BUFFER){
3656|         b->yy_bs_lineno = 1;
3657|         b->yy_bs_column = 0;
3658|     }
3659|
3660|         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
3661|     
3662|       errno = oerrno;
3663| }
3664|
3665| /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
3666|  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
3667|  *
3668|  */
3669|     void yy_flush_buffer (YY_BUFFER_STATE  b )
3670| {
3671|       if ( ! b )
3672|               return;
3673|
3674|       b->yy_n_chars = 0;
3675|
3676|       /* We always need two end-of-buffer characters.  The first causes
3677|        * a transition to the end-of-buffer state.  The second causes
3678|        * a jam in that state.
3679|        */
3680|       b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
3681|       b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
3682|
3683|       b->yy_buf_pos = &b->yy_ch_buf[0];
3684|
3685|       b->yy_at_bol = 1;
3686|       b->yy_buffer_status = YY_BUFFER_NEW;
3687|
3688|       if ( b == YY_CURRENT_BUFFER )
3689|               yy_load_buffer_state( );
3690| }
3691|
3692| /** Pushes the new state onto the stack. The new state becomes
3693|  *  the current state. This function will allocate the stack
3694|  *  if necessary.
3695|  *  @param new_buffer The new state.
3696|  * 
3697|  */
3698| void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
3699| {
3700|       if (new_buffer == NULL)
3701|               return;
3702|
3703|       yyensure_buffer_stack();
3704|
3705|       /* This block is copied from yy_switch_to_buffer. */
3706|       if ( YY_CURRENT_BUFFER )
3707|               {
3708|               /* Flush out information for old buffer. */
3709|               *(yy_c_buf_p) = (yy_hold_char);
3710|               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3711|               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3712|               }
3713|
3714|       /* Only push if top exists. Otherwise, replace top. */
3715|       if (YY_CURRENT_BUFFER)
3716|               (yy_buffer_stack_top)++;
3717|       YY_CURRENT_BUFFER_LVALUE = new_buffer;
3718|
3719|       /* copied from yy_switch_to_buffer. */
3720|       yy_load_buffer_state( );
3721|       (yy_did_buffer_switch_on_eof) = 1;
3722| }
3723|
3724| /** Removes and deletes the top of the stack, if present.
3725|  *  The next element becomes the new top.
3726|  * 
3727|  */
3728| void yypop_buffer_state (void)
3729| {
3730|       if (!YY_CURRENT_BUFFER)
3731|               return;
3732|
3733|       yy_delete_buffer(YY_CURRENT_BUFFER );
3734|       YY_CURRENT_BUFFER_LVALUE = NULL;
3735|       if ((yy_buffer_stack_top) > 0)
3736|               --(yy_buffer_stack_top);
3737|
3738|       if (YY_CURRENT_BUFFER) {
3739|               yy_load_buffer_state( );
3740|               (yy_did_buffer_switch_on_eof) = 1;
3741|       }
3742| }
3743|
3744| /* Allocates the stack if it does not exist.
3745|  *  Guarantees space for at least one push.
3746|  */
3747| static void yyensure_buffer_stack (void)
3748| {
3749|       yy_size_t num_to_alloc;
3750|     
3751|       if (!(yy_buffer_stack)) {
3752|
3753|               /* First allocation is just for 2 elements, since we don't know if this
3754|                * scanner will even need a stack. We use 2 instead of 1 to avoid an
3755|                * immediate realloc on the next call.
3756|          */
3757|               num_to_alloc = 1;
3758|               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
3759|                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
3760|                                                               );
3761|               if ( ! (yy_buffer_stack) )
3762|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3763|                                                                 
3764|               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
3765|                               
3766|               (yy_buffer_stack_max) = num_to_alloc;
3767|               (yy_buffer_stack_top) = 0;
3768|               return;
3769|       }
3770|
3771|       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
3772|
3773|               /* Increase the buffer to prepare for a possible push. */
3774|               int grow_size = 8 /* arbitrary grow size */;
3775|
3776|               num_to_alloc = (yy_buffer_stack_max) + grow_size;
3777|               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
3778|                                                               ((yy_buffer_stack),
3779|                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
3780|                                                               );
3781|               if ( ! (yy_buffer_stack) )
3782|                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3783|
3784|               /* zero only the new slots.*/
3785|               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
3786|               (yy_buffer_stack_max) = num_to_alloc;
3787|       }
3788| }
3789|
3790| /** Setup the input buffer state to scan directly from a user-specified character buffer.
3791|  * @param base the character buffer
3792|  * @param size the size in bytes of the character buffer
3793|  *
3794|  * @return the newly allocated buffer state object.
3795|  */
3796| YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
3797| {
3798|       YY_BUFFER_STATE b;
3799|     
3800|       if ( size < 2 ||
3801|            base[size-2] != YY_END_OF_BUFFER_CHAR ||
3802|            base[size-1] != YY_END_OF_BUFFER_CHAR )
3803|               /* They forgot to leave room for the EOB's. */
3804|               return 0;
3805|
3806|       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
3807|       if ( ! b )
3808|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
3809|
3810|       b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
3811|       b->yy_buf_pos = b->yy_ch_buf = base;
3812|       b->yy_is_our_buffer = 0;
3813|       b->yy_input_file = 0;
3814|       b->yy_n_chars = b->yy_buf_size;
3815|       b->yy_is_interactive = 0;
3816|       b->yy_at_bol = 1;
3817|       b->yy_fill_buffer = 0;
3818|       b->yy_buffer_status = YY_BUFFER_NEW;
3819|
3820|       yy_switch_to_buffer(b  );
3821|
3822|       return b;
3823| }
3824|
3825| /** Setup the input buffer state to scan a string. The next call to yylex() will
3826|  * scan from a @e copy of @a str.
3827|  * @param yystr a NUL-terminated string to scan
3828|  *
3829|  * @return the newly allocated buffer state object.
3830|  * @note If you want to scan bytes that may contain NUL values, then use
3831|  *       yy_scan_bytes() instead.
3832|  */
3833| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
3834| {
3835|     
3836|       return yy_scan_bytes(yystr,strlen(yystr) );
3837| }
3838|
3839| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
3840|  * scan from a @e copy of @a bytes.
3841|  * @param bytes the byte buffer to scan
3842|  * @param len the number of bytes in the buffer pointed to by @a bytes.
3843|  *
3844|  * @return the newly allocated buffer state object.
3845|  */
3846| YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
3847| {
3848|       YY_BUFFER_STATE b;
3849|       char *buf;
3850|       yy_size_t n, i;
3851|     
3852|       /* Get memory for full buffer, including space for trailing EOB's. */
3853|       n = _yybytes_len + 2;
3854|       buf = (char *) yyalloc(n  );
3855|       if ( ! buf )
3856|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3857|
3858|       for ( i = 0; i < _yybytes_len; ++i )
3859|               buf[i] = yybytes[i];
3860|
3861|       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
3862|
3863|       b = yy_scan_buffer(buf,n );
3864|       if ( ! b )
3865|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3866|
3867|       /* It's okay to grow etc. this buffer, and we should throw it
3868|        * away when we're done.
3869|        */
3870|       b->yy_is_our_buffer = 1;
3871|
3872|       return b;
3873| }
3874|
3875| #ifndef YY_EXIT_FAILURE
3876| #define YY_EXIT_FAILURE 2
3877| #endif
3878|
3879| static void yy_fatal_error (yyconst char* msg )
3880| {
3881|       (void) fprintf( stderr, "%s\n", msg );
3882|       exit( YY_EXIT_FAILURE );
3883| }
3884|
3885| /* Redefine yyless() so it works in section 3 code. */
3886|
3887| #undef yyless
3888| #define yyless(n) \
3889|       do \
3890|               { \
3891|               /* Undo effects of setting up yytext. */ \
3892|         int yyless_macro_arg = (n); \
3893|         YY_LESS_LINENO(yyless_macro_arg);\
3894|               yytext[yyleng] = (yy_hold_char); \
3895|               (yy_c_buf_p) = yytext + yyless_macro_arg; \
3896|               (yy_hold_char) = *(yy_c_buf_p); \
3897|               *(yy_c_buf_p) = '\0'; \
3898|               yyleng = yyless_macro_arg; \
3899|               } \
3900|       while ( 0 )
3901|
3902| /* Accessor  methods (get/set functions) to struct members. */
3903|
3904| /** Get the current line number.
3905|  *
3906|  */
3907| int yyget_lineno  (void)
3908| {
3909|         
3910|     return yylineno;
3911| }
3912|
3913| /** Get the input stream.
3914|  *
3915|  */
3916| FILE *yyget_in  (void)
3917| {
3918|         return yyin;
3919| }
3920|
3921| /** Get the output stream.
3922|  *
3923|  */
3924| FILE *yyget_out  (void)
3925| {
3926|         return yyout;
3927| }
3928|
3929| /** Get the length of the current token.
3930|  *
3931|  */
3932| yy_size_t yyget_leng  (void)
3933| {
3934|         return yyleng;
3935| }
3936|
3937| /** Get the current token.
3938|  *
3939|  */
3940|
3941| char *yyget_text  (void)
3942| {
3943|         return yytext;
3944| }
3945|
3946| /** Set the current line number.
3947|  * @param line_number
3948|  *
3949|  */
3950| void yyset_lineno (int  line_number )
3951| {
3952|     
3953|     yylineno = line_number;
3954| }
3955|
3956| /** Set the input stream. This does not discard the current
3957|  * input buffer.
3958|  * @param in_str A readable stream.
3959|  *
3960|  * @see yy_switch_to_buffer
3961|  */
3962| void yyset_in (FILE *  in_str )
3963| {
3964|         yyin = in_str ;
3965| }
3966|
3967| void yyset_out (FILE *  out_str )
3968| {
3969|         yyout = out_str ;
3970| }
3971|
3972| int yyget_debug  (void)
3973| {
3974|         return yy_flex_debug;
3975| }
3976|
3977| void yyset_debug (int  bdebug )
3978| {
3979|         yy_flex_debug = bdebug ;
3980| }
3981|
3982| static int yy_init_globals (void)
3983| {
3984|         /* Initialization is the same as for the non-reentrant scanner.
3985|      * This function is called from yylex_destroy(), so don't allocate here.
3986|      */
3987|
3988|     (yy_buffer_stack) = 0;
3989|     (yy_buffer_stack_top) = 0;
3990|     (yy_buffer_stack_max) = 0;
3991|     (yy_c_buf_p) = (char *) 0;
3992|     (yy_init) = 0;
3993|     (yy_start) = 0;
3994|
3995|     (yy_state_buf) = 0;
3996|     (yy_state_ptr) = 0;
3997|     (yy_full_match) = 0;
3998|     (yy_lp) = 0;
3999|
4000| /* Defined in main.c */
4001| #ifdef YY_STDINIT
4002|     yyin = stdin;
4003|     yyout = stdout;
4004| #else
4005|     yyin = (FILE *) 0;
4006|     yyout = (FILE *) 0;
4007| #endif
4008|
4009|     /* For future reference: Set errno on error, since we are called by
4010|      * yylex_init()
4011|      */
4012|     return 0;
4013| }
4014|
4015| /* yylex_destroy is for both reentrant and non-reentrant scanners. */
4016| int yylex_destroy  (void)
4017| {
4018|     
4019|     /* Pop the buffer stack, destroying each element. */
4020|       while(YY_CURRENT_BUFFER){
4021|               yy_delete_buffer(YY_CURRENT_BUFFER  );
4022|               YY_CURRENT_BUFFER_LVALUE = NULL;
4023|               yypop_buffer_state();
4024|       }
4025|
4026|       /* Destroy the stack itself. */
4027|       yyfree((yy_buffer_stack) );
4028|       (yy_buffer_stack) = NULL;
4029|
4030|     yyfree ( (yy_state_buf) );
4031|     (yy_state_buf)  = NULL;
4032|
4033|     /* Reset the globals. This is important in a non-reentrant scanner so the next time
4034|      * yylex() is called, initialization will occur. */
4035|     yy_init_globals( );
4036|
4037|     return 0;
4038| }
4039|
4040| /*
4041|  * Internal utility routines.
4042|  */
4043|
4044| #ifndef yytext_ptr
4045| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
4046| {
4047|       register int i;
4048|       for ( i = 0; i < n; ++i )
4049|               s1[i] = s2[i];
4050| }
4051| #endif
4052|
4053| #ifdef YY_NEED_STRLEN
4054| static int yy_flex_strlen (yyconst char * s )
4055| {
4056|       register int n;
4057|       for ( n = 0; s[n]; ++n )
4058|               ;
4059|
4060|       return n;
4061| }
4062| #endif
4063|
4064| void *yyalloc (yy_size_t  size )
4065| {
4066|       return (void *) malloc( size );
4067| }
4068|
4069| void *yyrealloc  (void * ptr, yy_size_t  size )
4070| {
4071|       /* The cast to (char *) in the following accommodates both
4072|        * implementations that use char* generic pointers, and those
4073|        * that use void* generic pointers.  It works with the latter
4074|        * because both ANSI C and C++ allow castless assignment from
4075|        * any pointer type to void*, and deal with argument conversions
4076|        * as though doing an assignment.
4077|        */
4078|       return (void *) realloc( (char *) ptr, size );
4079| }
4080|
4081| void yyfree (void * ptr )
4082| {
4083|       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
4084| }
4085|
4086| #define YYTABLES_NAME "yytables"
4087|
4088| #line 10 "conftest.l"
4089|
4090|
4091| #ifdef YYTEXT_POINTER
4092| extern char *yytext;
4093| #endif
4094| int
4095| main (void)
4096| {
4097|   return ! yylex () + ! yywrap ();
4098| }
4099configure:13170: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -ll  >&5
4100configure:13170: $? = 0
4101configure:13180: result: -ll
4102configure:13186: checking whether yytext is a pointer
4103configure:13203: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -ll  >&5
4104configure:13203: $? = 0
4105configure:13211: result: yes
4106configure:13225: checking for bison
4107configure:13241: found /opt/local/bin/bison
4108configure:13252: result: bison -y
4109configure:13267: checking ieeefp.h usability
4110configure:13267: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
4111conftest.c:58:10: fatal error: 'ieeefp.h' file not found
4112#include <ieeefp.h>
4113         ^~~~~~~~~~
41141 error generated.
4115configure:13267: $? = 1
4116configure: failed program was:
4117| /* confdefs.h */
4118| #define PACKAGE_NAME ""
4119| #define PACKAGE_TARNAME ""
4120| #define PACKAGE_VERSION ""
4121| #define PACKAGE_STRING ""
4122| #define PACKAGE_BUGREPORT ""
4123| #define PACKAGE_URL ""
4124| #define STDC_HEADERS 1
4125| #define HAVE_SYS_TYPES_H 1
4126| #define HAVE_SYS_STAT_H 1
4127| #define HAVE_STDLIB_H 1
4128| #define HAVE_STRING_H 1
4129| #define HAVE_MEMORY_H 1
4130| #define HAVE_STRINGS_H 1
4131| #define HAVE_INTTYPES_H 1
4132| #define HAVE_STDINT_H 1
4133| #define HAVE_UNISTD_H 1
4134| #define HAVE_DLFCN_H 1
4135| #define LT_OBJDIR ".libs/"
4136| #define POSTGIS_MAJOR_VERSION "3"
4137| #define POSTGIS_MINOR_VERSION "0"
4138| #define POSTGIS_MICRO_VERSION "3"
4139| #define YYTEXT_POINTER 1
4140| /* end confdefs.h.  */
4141| #include <stdio.h>
4142| #ifdef HAVE_SYS_TYPES_H
4143| # include <sys/types.h>
4144| #endif
4145| #ifdef HAVE_SYS_STAT_H
4146| # include <sys/stat.h>
4147| #endif
4148| #ifdef STDC_HEADERS
4149| # include <stdlib.h>
4150| # include <stddef.h>
4151| #else
4152| # ifdef HAVE_STDLIB_H
4153| #  include <stdlib.h>
4154| # endif
4155| #endif
4156| #ifdef HAVE_STRING_H
4157| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4158| #  include <memory.h>
4159| # endif
4160| # include <string.h>
4161| #endif
4162| #ifdef HAVE_STRINGS_H
4163| # include <strings.h>
4164| #endif
4165| #ifdef HAVE_INTTYPES_H
4166| # include <inttypes.h>
4167| #endif
4168| #ifdef HAVE_STDINT_H
4169| # include <stdint.h>
4170| #endif
4171| #ifdef HAVE_UNISTD_H
4172| # include <unistd.h>
4173| #endif
4174| #include <ieeefp.h>
4175configure:13267: result: no
4176configure:13267: checking ieeefp.h presence
4177configure:13267: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
4178conftest.c:25:10: fatal error: 'ieeefp.h' file not found
4179#include <ieeefp.h>
4180         ^~~~~~~~~~
41811 error generated.
4182configure:13267: $? = 1
4183configure: failed program was:
4184| /* confdefs.h */
4185| #define PACKAGE_NAME ""
4186| #define PACKAGE_TARNAME ""
4187| #define PACKAGE_VERSION ""
4188| #define PACKAGE_STRING ""
4189| #define PACKAGE_BUGREPORT ""
4190| #define PACKAGE_URL ""
4191| #define STDC_HEADERS 1
4192| #define HAVE_SYS_TYPES_H 1
4193| #define HAVE_SYS_STAT_H 1
4194| #define HAVE_STDLIB_H 1
4195| #define HAVE_STRING_H 1
4196| #define HAVE_MEMORY_H 1
4197| #define HAVE_STRINGS_H 1
4198| #define HAVE_INTTYPES_H 1
4199| #define HAVE_STDINT_H 1
4200| #define HAVE_UNISTD_H 1
4201| #define HAVE_DLFCN_H 1
4202| #define LT_OBJDIR ".libs/"
4203| #define POSTGIS_MAJOR_VERSION "3"
4204| #define POSTGIS_MINOR_VERSION "0"
4205| #define POSTGIS_MICRO_VERSION "3"
4206| #define YYTEXT_POINTER 1
4207| /* end confdefs.h.  */
4208| #include <ieeefp.h>
4209configure:13267: result: no
4210configure:13267: checking for ieeefp.h
4211configure:13267: result: no
4212configure:13280: checking termios.h usability
4213configure:13280: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
4214configure:13280: $? = 0
4215configure:13280: result: yes
4216configure:13280: checking termios.h presence
4217configure:13280: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
4218configure:13280: $? = 0
4219configure:13280: result: yes
4220configure:13280: checking for termios.h
4221configure:13280: result: yes
4222configure:13295: checking for vasprintf
4223configure:13295: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4224conftest.c:61:19: warning: format string missing [-Wformat]
4225return vasprintf ();
4226       ~~~~~~~~~  ^
42271 warning generated.
4228configure:13295: $? = 0
4229configure:13295: result: yes
4230configure:13301: checking for asprintf
4231configure:13301: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4232conftest.c:62:18: warning: format string missing [-Wformat]
4233return asprintf ();
4234       ~~~~~~~~  ^
42351 warning generated.
4236configure:13301: $? = 0
4237configure:13301: result: yes
4238configure:13307: checking for _LARGEFILE_SOURCE value needed for large files
4239configure:13326: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4240configure:13326: $? = 0
4241configure:13354: result: no
4242configure:13388: checking for perl
4243configure:13406: found /opt/local/bin/perl
4244configure:13418: result: /opt/local/bin/perl
4245configure:13436: checking for xsltproc
4246configure:13454: found /opt/local/bin/xsltproc
4247configure:13466: result: /opt/local/bin/xsltproc
4248configure:13484: checking for convert
4249configure:13517: result: no
4250configure:13523: WARNING: ImageMagick does not seem to be installed. Documentation cannot be built
4251configure:13530: checking for dblatex
4252configure:13563: result: no
4253configure:13569: WARNING: dblatex is not installed so PDF documentation cannot be built
4254configure:13579: checking for xmllint
4255configure:13597: found /opt/local/bin/xmllint
4256configure:13609: result: /opt/local/bin/xmllint
4257configure:13653: WARNING: could not locate Docbook stylesheets required to build the documentation
4258configure:13752: checking for pkg-config
4259configure:13770: found /opt/local/bin/pkg-config
4260configure:13782: result: /opt/local/bin/pkg-config
4261configure:13807: checking pkg-config is at least version 0.9.0
4262configure:13810: result: yes
4263configure:13830: checking for CUNIT
4264configure:13837: $PKG_CONFIG --exists --print-errors "cunit"
4265Package cunit was not found in the pkg-config search path.
4266Perhaps you should add the directory containing `cunit.pc'
4267to the PKG_CONFIG_PATH environment variable
4268No package 'cunit' found
4269configure:13840: $? = 1
4270configure:13854: $PKG_CONFIG --exists --print-errors "cunit"
4271Package cunit was not found in the pkg-config search path.
4272Perhaps you should add the directory containing `cunit.pc'
4273to the PKG_CONFIG_PATH environment variable
4274No package 'cunit' found
4275configure:13857: $? = 1
4276configure:13871: result: no
4277No package 'cunit' found
4278configure:13887: WARNING: could not locate CUnit required for unit tests
4279configure:13991: checking iconv.h usability
4280configure:13991: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
4281configure:13991: $? = 0
4282configure:13991: result: yes
4283configure:13991: checking iconv.h presence
4284configure:13991: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
4285configure:13991: $? = 0
4286configure:13991: result: yes
4287configure:13991: checking for iconv.h
4288configure:13991: result: yes
4289configure:13999: checking for libiconv_open in -liconv
4290configure:14024: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -liconv   >&5
4291configure:14024: $? = 0
4292configure:14033: result: yes
4293configure:14133: checking for iconvctl
4294configure:14133: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4295Undefined symbols for architecture x86_64:
4296  "_iconvctl", referenced from:
4297      _main in conftest-3377a8.o
4298ld: symbol(s) not found for architecture x86_64
4299clang: error: linker command failed with exit code 1 (use -v to see invocation)
4300configure:14133: $? = 1
4301configure: failed program was:
4302| /* confdefs.h */
4303| #define PACKAGE_NAME ""
4304| #define PACKAGE_TARNAME ""
4305| #define PACKAGE_VERSION ""
4306| #define PACKAGE_STRING ""
4307| #define PACKAGE_BUGREPORT ""
4308| #define PACKAGE_URL ""
4309| #define STDC_HEADERS 1
4310| #define HAVE_SYS_TYPES_H 1
4311| #define HAVE_SYS_STAT_H 1
4312| #define HAVE_STDLIB_H 1
4313| #define HAVE_STRING_H 1
4314| #define HAVE_MEMORY_H 1
4315| #define HAVE_STRINGS_H 1
4316| #define HAVE_INTTYPES_H 1
4317| #define HAVE_STDINT_H 1
4318| #define HAVE_UNISTD_H 1
4319| #define HAVE_DLFCN_H 1
4320| #define LT_OBJDIR ".libs/"
4321| #define POSTGIS_MAJOR_VERSION "3"
4322| #define POSTGIS_MINOR_VERSION "0"
4323| #define POSTGIS_MICRO_VERSION "3"
4324| #define YYTEXT_POINTER 1
4325| #define HAVE_IEEEFP_H 0
4326| #define HAVE_TERMIOS_H 1
4327| #define HAVE_VASPRINTF 1
4328| #define HAVE_ASPRINTF 1
4329| #define HAVE_FSEEKO 1
4330| /* end confdefs.h.  */
4331| /* Define iconvctl to an innocuous variant, in case <limits.h> declares iconvctl.
4332|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4333| #define iconvctl innocuous_iconvctl
4334|
4335| /* System header to define __stub macros and hopefully few prototypes,
4336|     which can conflict with char iconvctl (); below.
4337|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338|     <limits.h> exists even on freestanding compilers.  */
4339|
4340| #ifdef __STDC__
4341| # include <limits.h>
4342| #else
4343| # include <assert.h>
4344| #endif
4345|
4346| #undef iconvctl
4347|
4348| /* Override any GCC internal prototype to avoid an error.
4349|    Use char because int might match the return type of a GCC
4350|    builtin and then its argument prototype would still apply.  */
4351| #ifdef __cplusplus
4352| extern "C"
4353| #endif
4354| char iconvctl ();
4355| /* The GNU C library defines this for functions which it implements
4356|     to always fail with ENOSYS.  Some functions are actually named
4357|     something starting with __ and the normal name is an alias.  */
4358| #if defined __stub_iconvctl || defined __stub___iconvctl
4359| choke me
4360| #endif
4361|
4362| int
4363| main ()
4364| {
4365| return iconvctl ();
4366|   ;
4367|   return 0;
4368| }
4369configure:14133: result: no
4370configure:14133: checking for libiconvctl
4371configure:14133: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4372Undefined symbols for architecture x86_64:
4373  "_libiconvctl", referenced from:
4374      _main in conftest-5a4610.o
4375ld: symbol(s) not found for architecture x86_64
4376clang: error: linker command failed with exit code 1 (use -v to see invocation)
4377configure:14133: $? = 1
4378configure: failed program was:
4379| /* confdefs.h */
4380| #define PACKAGE_NAME ""
4381| #define PACKAGE_TARNAME ""
4382| #define PACKAGE_VERSION ""
4383| #define PACKAGE_STRING ""
4384| #define PACKAGE_BUGREPORT ""
4385| #define PACKAGE_URL ""
4386| #define STDC_HEADERS 1
4387| #define HAVE_SYS_TYPES_H 1
4388| #define HAVE_SYS_STAT_H 1
4389| #define HAVE_STDLIB_H 1
4390| #define HAVE_STRING_H 1
4391| #define HAVE_MEMORY_H 1
4392| #define HAVE_STRINGS_H 1
4393| #define HAVE_INTTYPES_H 1
4394| #define HAVE_STDINT_H 1
4395| #define HAVE_UNISTD_H 1
4396| #define HAVE_DLFCN_H 1
4397| #define LT_OBJDIR ".libs/"
4398| #define POSTGIS_MAJOR_VERSION "3"
4399| #define POSTGIS_MINOR_VERSION "0"
4400| #define POSTGIS_MICRO_VERSION "3"
4401| #define YYTEXT_POINTER 1
4402| #define HAVE_IEEEFP_H 0
4403| #define HAVE_TERMIOS_H 1
4404| #define HAVE_VASPRINTF 1
4405| #define HAVE_ASPRINTF 1
4406| #define HAVE_FSEEKO 1
4407| /* end confdefs.h.  */
4408| /* Define libiconvctl to an innocuous variant, in case <limits.h> declares libiconvctl.
4409|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4410| #define libiconvctl innocuous_libiconvctl
4411|
4412| /* System header to define __stub macros and hopefully few prototypes,
4413|     which can conflict with char libiconvctl (); below.
4414|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4415|     <limits.h> exists even on freestanding compilers.  */
4416|
4417| #ifdef __STDC__
4418| # include <limits.h>
4419| #else
4420| # include <assert.h>
4421| #endif
4422|
4423| #undef libiconvctl
4424|
4425| /* Override any GCC internal prototype to avoid an error.
4426|    Use char because int might match the return type of a GCC
4427|    builtin and then its argument prototype would still apply.  */
4428| #ifdef __cplusplus
4429| extern "C"
4430| #endif
4431| char libiconvctl ();
4432| /* The GNU C library defines this for functions which it implements
4433|     to always fail with ENOSYS.  Some functions are actually named
4434|     something starting with __ and the normal name is an alias.  */
4435| #if defined __stub_libiconvctl || defined __stub___libiconvctl
4436| choke me
4437| #endif
4438|
4439| int
4440| main ()
4441| {
4442| return libiconvctl ();
4443|   ;
4444|   return 0;
4445| }
4446configure:14133: result: no
4447configure:14224: result: Using user-specified pg_config file: /opt/local/lib/postgresql13/bin/pg_config
4448configure:14258: result: checking PostgreSQL version... PostgreSQL 13.2
4449configure:14309: checking libpq-fe.h usability
4450configure:14309: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include/postgresql13 conftest.c >&5
4451configure:14309: $? = 0
4452configure:14309: result: yes
4453configure:14309: checking libpq-fe.h presence
4454configure:14309: /usr/bin/clang -E -I/opt/local/include/postgresql13 conftest.c
4455configure:14309: $? = 0
4456configure:14309: result: yes
4457configure:14309: checking for libpq-fe.h
4458configure:14309: result: yes
4459configure:14328: checking for PQserverVersion in -lpq
4460configure:14353: /usr/bin/clang -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -lpq  -L/opt/local/lib/postgresql13 -lpq >&5
4461configure:14353: $? = 0
4462configure:14362: result: yes
4463configure:14397: result: ------------------------------------------------------------------------
4464configure:14399: result:   WARNING: You have set the --prefix to '/opt/local'. But we mostly   
4465configure:14401: result:   ignore the --prefix. For your info, using the values determined from
4466configure:14403: result:   /opt/local/lib/postgresql13/bin/pg_config we will be installing:   
4467configure:14405: result:     * postgis shared library in /opt/local/lib/postgresql13
4468configure:14407: result:     * postgis SQL files in /opt/local/share/postgresql13/contrib/postgis-3.0
4469configure:14409: result:     * postgis executables in /opt/local/lib/postgresql13/bin
4470configure:14411: result: ------------------------------------------------------------------------
4471configure:14431: checking for xml2-config
4472configure:14449: found /opt/local/bin/xml2-config
4473configure:14461: result: /opt/local/bin/xml2-config
4474configure:14599: checking for xcrun
4475configure:14617: found /usr/bin/xcrun
4476configure:14629: result: /usr/bin/xcrun
4477configure:14647: result: using OSX XCode 11.1... yes
4478configure:14659: checking libxml/tree.h usability
4479configure:14659: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include/libxml2 conftest.c >&5
4480configure:14659: $? = 0
4481configure:14659: result: yes
4482configure:14659: checking libxml/tree.h presence
4483configure:14659: /usr/bin/clang -E -I/opt/local/include/libxml2 conftest.c
4484configure:14659: $? = 0
4485configure:14659: result: yes
4486configure:14659: checking for libxml/tree.h
4487configure:14659: result: yes
4488configure:14659: checking libxml/parser.h usability
4489configure:14659: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include/libxml2 conftest.c >&5
4490configure:14659: $? = 0
4491configure:14659: result: yes
4492configure:14659: checking libxml/parser.h presence
4493configure:14659: /usr/bin/clang -E -I/opt/local/include/libxml2 conftest.c
4494configure:14659: $? = 0
4495configure:14659: result: yes
4496configure:14659: checking for libxml/parser.h
4497configure:14659: result: yes
4498configure:14659: checking libxml/xpath.h usability
4499configure:14659: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include/libxml2 conftest.c >&5
4500configure:14659: $? = 0
4501configure:14659: result: yes
4502configure:14659: checking libxml/xpath.h presence
4503configure:14659: /usr/bin/clang -E -I/opt/local/include/libxml2 conftest.c
4504configure:14659: $? = 0
4505configure:14659: result: yes
4506configure:14659: checking for libxml/xpath.h
4507configure:14659: result: yes
4508configure:14659: checking libxml/xpathInternals.h usability
4509configure:14659: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include/libxml2 conftest.c >&5
4510configure:14659: $? = 0
4511configure:14659: result: yes
4512configure:14659: checking libxml/xpathInternals.h presence
4513configure:14659: /usr/bin/clang -E -I/opt/local/include/libxml2 conftest.c
4514configure:14659: $? = 0
4515configure:14659: result: yes
4516configure:14659: checking for libxml/xpathInternals.h
4517configure:14659: result: yes
4518configure:14675: checking for xmlInitParser in -lxml2
4519configure:14700: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -lxml2  -L/opt/local/lib -lxml2 -L/opt/local/lib -lz -L/opt/local/lib -llzma -lpthread -liconv -L/opt/local/lib -licui18n -licuuc -licudata -lm >&5
4520configure:14700: $? = 0
4521configure:14709: result: yes
4522configure:14746: checking for geos-config
4523configure:14764: found /opt/local/bin/geos-config
4524configure:14776: result: /opt/local/bin/geos-config
4525configure:14813: result: checking GEOS version... 3.9.1
4526configure:14826: checking geos_c.h usability
4527configure:14826: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include conftest.c >&5
4528configure:14826: $? = 0
4529configure:14826: result: yes
4530configure:14826: checking geos_c.h presence
4531configure:14826: /usr/bin/clang -E -I/opt/local/include conftest.c
4532configure:14826: $? = 0
4533configure:14826: result: yes
4534configure:14826: checking for geos_c.h
4535configure:14826: result: yes
4536configure:14838: checking for initGEOS in -lgeos_c
4537configure:14863: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -lgeos_c  -L/opt/local/lib -lgeos_c >&5
4538configure:14863: $? = 0
4539configure:14872: result: yes
4540configure:14911: checking for sfcgal-config
4541configure:14944: result: no
4542configure:15023: checking whether make sets $(MAKE)
4543configure:15045: result: yes
4544configure:15054: checking for a thread-safe mkdir -p
4545configure:15093: result: build-aux/install-sh -c -d
4546configure:15104: checking whether NLS is requested
4547configure:15113: result: yes
4548configure:15154: checking for msgfmt
4549configure: trying /opt/local/bin/msgfmt...
45500 translated messages.
4551configure:15186: result: /opt/local/bin/msgfmt
4552configure:15195: checking for gmsgfmt
4553configure:15226: result: /opt/local/bin/msgfmt
4554configure:15277: checking for xgettext
4555configure: trying /opt/local/bin/xgettext...
4556/opt/local/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C
4557configure:15309: result: /opt/local/bin/xgettext
4558configure:15355: checking for msgmerge
4559configure: trying /opt/local/bin/msgmerge...
4560configure:15386: result: /opt/local/bin/msgmerge
4561configure:15443: checking for ld used by GCC
4562configure:15507: result: /Library/Developer/CommandLineTools/usr/bin/ld
4563configure:15514: checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld
4564configure:15527: result: no
4565configure:15534: checking for shared library run path origin
4566configure:15547: result: done
4567configure:16048: checking for CFPreferencesCopyAppValue
4568configure:16066: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
4569conftest.c:47:37: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
4570CFPreferencesCopyAppValue(NULL, NULL)
4571                          ~~~~      ^
4572conftest.c:47:37: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
4573CFPreferencesCopyAppValue(NULL, NULL)
4574                                ~~~~^
45752 warnings generated.
4576configure:16066: $? = 0
4577configure:16075: result: yes
4578configure:16082: checking for CFLocaleCopyCurrent
4579configure:16100: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
4580configure:16100: $? = 0
4581configure:16109: result: yes
4582configure:16158: checking for GNU gettext in libc
4583configure:16178: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4584Undefined symbols for architecture x86_64:
4585  "__nl_domain_bindings", referenced from:
4586      _main in conftest-30d816.o
4587  "__nl_msg_cat_cntr", referenced from:
4588      _main in conftest-30d816.o
4589  "_libintl_bindtextdomain", referenced from:
4590      _main in conftest-30d816.o
4591  "_libintl_gettext", referenced from:
4592      _main in conftest-30d816.o
4593ld: symbol(s) not found for architecture x86_64
4594clang: error: linker command failed with exit code 1 (use -v to see invocation)
4595configure:16178: $? = 1
4596configure: failed program was:
4597| /* confdefs.h */
4598| #define PACKAGE_NAME ""
4599| #define PACKAGE_TARNAME ""
4600| #define PACKAGE_VERSION ""
4601| #define PACKAGE_STRING ""
4602| #define PACKAGE_BUGREPORT ""
4603| #define PACKAGE_URL ""
4604| #define STDC_HEADERS 1
4605| #define HAVE_SYS_TYPES_H 1
4606| #define HAVE_SYS_STAT_H 1
4607| #define HAVE_STDLIB_H 1
4608| #define HAVE_STRING_H 1
4609| #define HAVE_MEMORY_H 1
4610| #define HAVE_STRINGS_H 1
4611| #define HAVE_INTTYPES_H 1
4612| #define HAVE_STDINT_H 1
4613| #define HAVE_UNISTD_H 1
4614| #define HAVE_DLFCN_H 1
4615| #define LT_OBJDIR ".libs/"
4616| #define POSTGIS_MAJOR_VERSION "3"
4617| #define POSTGIS_MINOR_VERSION "0"
4618| #define POSTGIS_MICRO_VERSION "3"
4619| #define YYTEXT_POINTER 1
4620| #define HAVE_IEEEFP_H 0
4621| #define HAVE_TERMIOS_H 1
4622| #define HAVE_VASPRINTF 1
4623| #define HAVE_ASPRINTF 1
4624| #define HAVE_FSEEKO 1
4625| #define HAVE_ICONV 1
4626| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
4627| #define HAVE_LIBPQ 1
4628| #define POSTGIS_PGSQL_VERSION 130
4629| #define POSTGIS_PGSQL_HR_VERSION 13.0
4630| #define HAVE_LIBXML_TREE_H 1
4631| #define HAVE_LIBXML_PARSER_H 1
4632| #define HAVE_LIBXML_XPATH_H 1
4633| #define HAVE_LIBXML_XPATHINTERNALS_H 1
4634| #define HAVE_LIBXML2 1
4635| #define POSTGIS_LIBXML2_VERSION "2.9.10"
4636| #define HAVE_LIBGEOS_C 1
4637| #define POSTGIS_GEOS_VERSION 39
4638| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4639| #define HAVE_CFLOCALECOPYCURRENT 1
4640| /* end confdefs.h.  */
4641| #include <libintl.h>
4642|
4643| extern int _nl_msg_cat_cntr;
4644| extern int *_nl_domain_bindings;
4645| int
4646| main ()
4647| {
4648| bindtextdomain ("", "");
4649| return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4650|   ;
4651|   return 0;
4652| }
4653configure:16187: result: no
4654configure:16221: checking for iconv
4655configure:16243: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4656Undefined symbols for architecture x86_64:
4657  "_libiconv", referenced from:
4658      _main in conftest-252c19.o
4659  "_libiconv_close", referenced from:
4660      _main in conftest-252c19.o
4661  "_libiconv_open", referenced from:
4662      _main in conftest-252c19.o
4663ld: symbol(s) not found for architecture x86_64
4664clang: error: linker command failed with exit code 1 (use -v to see invocation)
4665configure:16243: $? = 1
4666configure: failed program was:
4667| /* confdefs.h */
4668| #define PACKAGE_NAME ""
4669| #define PACKAGE_TARNAME ""
4670| #define PACKAGE_VERSION ""
4671| #define PACKAGE_STRING ""
4672| #define PACKAGE_BUGREPORT ""
4673| #define PACKAGE_URL ""
4674| #define STDC_HEADERS 1
4675| #define HAVE_SYS_TYPES_H 1
4676| #define HAVE_SYS_STAT_H 1
4677| #define HAVE_STDLIB_H 1
4678| #define HAVE_STRING_H 1
4679| #define HAVE_MEMORY_H 1
4680| #define HAVE_STRINGS_H 1
4681| #define HAVE_INTTYPES_H 1
4682| #define HAVE_STDINT_H 1
4683| #define HAVE_UNISTD_H 1
4684| #define HAVE_DLFCN_H 1
4685| #define LT_OBJDIR ".libs/"
4686| #define POSTGIS_MAJOR_VERSION "3"
4687| #define POSTGIS_MINOR_VERSION "0"
4688| #define POSTGIS_MICRO_VERSION "3"
4689| #define YYTEXT_POINTER 1
4690| #define HAVE_IEEEFP_H 0
4691| #define HAVE_TERMIOS_H 1
4692| #define HAVE_VASPRINTF 1
4693| #define HAVE_ASPRINTF 1
4694| #define HAVE_FSEEKO 1
4695| #define HAVE_ICONV 1
4696| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
4697| #define HAVE_LIBPQ 1
4698| #define POSTGIS_PGSQL_VERSION 130
4699| #define POSTGIS_PGSQL_HR_VERSION 13.0
4700| #define HAVE_LIBXML_TREE_H 1
4701| #define HAVE_LIBXML_PARSER_H 1
4702| #define HAVE_LIBXML_XPATH_H 1
4703| #define HAVE_LIBXML_XPATHINTERNALS_H 1
4704| #define HAVE_LIBXML2 1
4705| #define POSTGIS_LIBXML2_VERSION "2.9.10"
4706| #define HAVE_LIBGEOS_C 1
4707| #define POSTGIS_GEOS_VERSION 39
4708| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4709| #define HAVE_CFLOCALECOPYCURRENT 1
4710| /* end confdefs.h.  */
4711| #include <stdlib.h>
4712| #include <iconv.h>
4713| int
4714| main ()
4715| {
4716| iconv_t cd = iconv_open("","");
4717|        iconv(cd,NULL,NULL,NULL,NULL);
4718|        iconv_close(cd);
4719|   ;
4720|   return 0;
4721| }
4722configure:16265: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  -liconv >&5
4723configure:16265: $? = 0
4724configure:16275: result: yes
4725configure:16278: checking for working iconv
4726configure:16354: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  -liconv >&5
4727configure:16354: $? = 0
4728configure:16354: ./conftest
4729configure:16354: $? = 0
4730configure:16366: result: yes
4731configure:16381: checking how to link with libiconv
4732configure:16383: result: -liconv
4733configure:16829: checking for GNU gettext in libintl
4734configure:16856: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  -lintl >&5
4735configure:16856: $? = 0
4736configure:16897: result: yes
4737configure:16932: checking whether to use NLS
4738configure:16934: result: yes
4739configure:16937: checking where the gettext function comes from
4740configure:16948: result: external libintl
4741configure:16956: checking how to link with libintl
4742configure:16958: result: -lintl -Wl,-framework -Wl,CoreFoundation
4743configure:17033: result: Using user-specified proj directory: /opt/local/lib/proj7
4744configure:17128: checking proj_api.h usability
4745configure:17128: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/lib/proj7/include conftest.c >&5
4746In file included from conftest.c:82:
4747/opt/local/lib/proj7/include/proj_api.h:37:2: error: 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
4748#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
4749 ^
47501 error generated.
4751configure:17128: $? = 1
4752configure: failed program was:
4753| /* confdefs.h */
4754| #define PACKAGE_NAME ""
4755| #define PACKAGE_TARNAME ""
4756| #define PACKAGE_VERSION ""
4757| #define PACKAGE_STRING ""
4758| #define PACKAGE_BUGREPORT ""
4759| #define PACKAGE_URL ""
4760| #define STDC_HEADERS 1
4761| #define HAVE_SYS_TYPES_H 1
4762| #define HAVE_SYS_STAT_H 1
4763| #define HAVE_STDLIB_H 1
4764| #define HAVE_STRING_H 1
4765| #define HAVE_MEMORY_H 1
4766| #define HAVE_STRINGS_H 1
4767| #define HAVE_INTTYPES_H 1
4768| #define HAVE_STDINT_H 1
4769| #define HAVE_UNISTD_H 1
4770| #define HAVE_DLFCN_H 1
4771| #define LT_OBJDIR ".libs/"
4772| #define POSTGIS_MAJOR_VERSION "3"
4773| #define POSTGIS_MINOR_VERSION "0"
4774| #define POSTGIS_MICRO_VERSION "3"
4775| #define YYTEXT_POINTER 1
4776| #define HAVE_IEEEFP_H 0
4777| #define HAVE_TERMIOS_H 1
4778| #define HAVE_VASPRINTF 1
4779| #define HAVE_ASPRINTF 1
4780| #define HAVE_FSEEKO 1
4781| #define HAVE_ICONV 1
4782| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
4783| #define HAVE_LIBPQ 1
4784| #define POSTGIS_PGSQL_VERSION 130
4785| #define POSTGIS_PGSQL_HR_VERSION 13.0
4786| #define HAVE_LIBXML_TREE_H 1
4787| #define HAVE_LIBXML_PARSER_H 1
4788| #define HAVE_LIBXML_XPATH_H 1
4789| #define HAVE_LIBXML_XPATHINTERNALS_H 1
4790| #define HAVE_LIBXML2 1
4791| #define POSTGIS_LIBXML2_VERSION "2.9.10"
4792| #define HAVE_LIBGEOS_C 1
4793| #define POSTGIS_GEOS_VERSION 39
4794| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4795| #define HAVE_CFLOCALECOPYCURRENT 1
4796| #define HAVE_ICONV 1
4797| #define ENABLE_NLS 1
4798| #define HAVE_GETTEXT 1
4799| #define HAVE_DCGETTEXT 1
4800| /* end confdefs.h.  */
4801| #include <stdio.h>
4802| #ifdef HAVE_SYS_TYPES_H
4803| # include <sys/types.h>
4804| #endif
4805| #ifdef HAVE_SYS_STAT_H
4806| # include <sys/stat.h>
4807| #endif
4808| #ifdef STDC_HEADERS
4809| # include <stdlib.h>
4810| # include <stddef.h>
4811| #else
4812| # ifdef HAVE_STDLIB_H
4813| #  include <stdlib.h>
4814| # endif
4815| #endif
4816| #ifdef HAVE_STRING_H
4817| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4818| #  include <memory.h>
4819| # endif
4820| # include <string.h>
4821| #endif
4822| #ifdef HAVE_STRINGS_H
4823| # include <strings.h>
4824| #endif
4825| #ifdef HAVE_INTTYPES_H
4826| # include <inttypes.h>
4827| #endif
4828| #ifdef HAVE_STDINT_H
4829| # include <stdint.h>
4830| #endif
4831| #ifdef HAVE_UNISTD_H
4832| # include <unistd.h>
4833| #endif
4834| #include <proj_api.h>
4835configure:17128: result: no
4836configure:17128: checking proj_api.h presence
4837configure:17128: /usr/bin/clang -E -I/opt/local/lib/proj7/include conftest.c
4838In file included from conftest.c:49:
4839/opt/local/lib/proj7/include/proj_api.h:37:2: error: 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
4840#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
4841 ^
48421 error generated.
4843configure:17128: $? = 1
4844configure: failed program was:
4845| /* confdefs.h */
4846| #define PACKAGE_NAME ""
4847| #define PACKAGE_TARNAME ""
4848| #define PACKAGE_VERSION ""
4849| #define PACKAGE_STRING ""
4850| #define PACKAGE_BUGREPORT ""
4851| #define PACKAGE_URL ""
4852| #define STDC_HEADERS 1
4853| #define HAVE_SYS_TYPES_H 1
4854| #define HAVE_SYS_STAT_H 1
4855| #define HAVE_STDLIB_H 1
4856| #define HAVE_STRING_H 1
4857| #define HAVE_MEMORY_H 1
4858| #define HAVE_STRINGS_H 1
4859| #define HAVE_INTTYPES_H 1
4860| #define HAVE_STDINT_H 1
4861| #define HAVE_UNISTD_H 1
4862| #define HAVE_DLFCN_H 1
4863| #define LT_OBJDIR ".libs/"
4864| #define POSTGIS_MAJOR_VERSION "3"
4865| #define POSTGIS_MINOR_VERSION "0"
4866| #define POSTGIS_MICRO_VERSION "3"
4867| #define YYTEXT_POINTER 1
4868| #define HAVE_IEEEFP_H 0
4869| #define HAVE_TERMIOS_H 1
4870| #define HAVE_VASPRINTF 1
4871| #define HAVE_ASPRINTF 1
4872| #define HAVE_FSEEKO 1
4873| #define HAVE_ICONV 1
4874| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
4875| #define HAVE_LIBPQ 1
4876| #define POSTGIS_PGSQL_VERSION 130
4877| #define POSTGIS_PGSQL_HR_VERSION 13.0
4878| #define HAVE_LIBXML_TREE_H 1
4879| #define HAVE_LIBXML_PARSER_H 1
4880| #define HAVE_LIBXML_XPATH_H 1
4881| #define HAVE_LIBXML_XPATHINTERNALS_H 1
4882| #define HAVE_LIBXML2 1
4883| #define POSTGIS_LIBXML2_VERSION "2.9.10"
4884| #define HAVE_LIBGEOS_C 1
4885| #define POSTGIS_GEOS_VERSION 39
4886| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4887| #define HAVE_CFLOCALECOPYCURRENT 1
4888| #define HAVE_ICONV 1
4889| #define ENABLE_NLS 1
4890| #define HAVE_GETTEXT 1
4891| #define HAVE_DCGETTEXT 1
4892| /* end confdefs.h.  */
4893| #include <proj_api.h>
4894configure:17128: result: no
4895configure:17128: checking for proj_api.h
4896configure:17128: result: no
4897configure:17132: checking proj.h usability
4898configure:17132: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/lib/proj7/include conftest.c >&5
4899configure:17132: $? = 0
4900configure:17132: result: yes
4901configure:17132: checking proj.h presence
4902configure:17132: /usr/bin/clang -E -I/opt/local/lib/proj7/include conftest.c
4903configure:17132: $? = 0
4904configure:17132: result: yes
4905configure:17132: checking for proj.h
4906configure:17132: result: yes
4907configure:17148: checking for proj.h
4908configure:17148: result: yes
4909configure:17183: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/lib/proj7/include -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
4910configure:17183: $? = 0
4911configure:17183: ./conftest
4912configure:17183: $? = 0
4913configure:17263: checking for pj_get_release in -lproj
4914configure:17288: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -lproj  -L/opt/local/lib/proj7/lib -lproj >&5
4915configure:17288: $? = 0
4916configure:17297: result: yes
4917configure:17480: checking for JSONC
4918configure:17487: $PKG_CONFIG --exists --print-errors "json-c"
4919configure:17490: $? = 0
4920configure:17504: $PKG_CONFIG --exists --print-errors "json-c"
4921configure:17507: $? = 0
4922configure:17547: result: yes
4923configure:17592: checking for PROTOBUFC
4924configure:17599: $PKG_CONFIG --exists --print-errors "libprotobuf-c >= 1.0.0"
4925Package libprotobuf-c was not found in the pkg-config search path.
4926Perhaps you should add the directory containing `libprotobuf-c.pc'
4927to the PKG_CONFIG_PATH environment variable
4928No package 'libprotobuf-c' found
4929configure:17602: $? = 1
4930configure:17616: $PKG_CONFIG --exists --print-errors "libprotobuf-c >= 1.0.0"
4931Package libprotobuf-c was not found in the pkg-config search path.
4932Perhaps you should add the directory containing `libprotobuf-c.pc'
4933to the PKG_CONFIG_PATH environment variable
4934No package 'libprotobuf-c' found
4935configure:17619: $? = 1
4936configure:17633: result: no
4937No package 'libprotobuf-c' found
4938configure:17650: result: libprotobuf-c not found in pkg-config
4939configure:17712: checking protobuf-c/protobuf-c.h usability
4940configure:17712: /usr/bin/clang -c -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c >&5
4941conftest.c:85:10: fatal error: 'protobuf-c/protobuf-c.h' file not found
4942#include <protobuf-c/protobuf-c.h>
4943         ^~~~~~~~~~~~~~~~~~~~~~~~~
49441 error generated.
4945configure:17712: $? = 1
4946configure: failed program was:
4947| /* confdefs.h */
4948| #define PACKAGE_NAME ""
4949| #define PACKAGE_TARNAME ""
4950| #define PACKAGE_VERSION ""
4951| #define PACKAGE_STRING ""
4952| #define PACKAGE_BUGREPORT ""
4953| #define PACKAGE_URL ""
4954| #define STDC_HEADERS 1
4955| #define HAVE_SYS_TYPES_H 1
4956| #define HAVE_SYS_STAT_H 1
4957| #define HAVE_STDLIB_H 1
4958| #define HAVE_STRING_H 1
4959| #define HAVE_MEMORY_H 1
4960| #define HAVE_STRINGS_H 1
4961| #define HAVE_INTTYPES_H 1
4962| #define HAVE_STDINT_H 1
4963| #define HAVE_UNISTD_H 1
4964| #define HAVE_DLFCN_H 1
4965| #define LT_OBJDIR ".libs/"
4966| #define POSTGIS_MAJOR_VERSION "3"
4967| #define POSTGIS_MINOR_VERSION "0"
4968| #define POSTGIS_MICRO_VERSION "3"
4969| #define YYTEXT_POINTER 1
4970| #define HAVE_IEEEFP_H 0
4971| #define HAVE_TERMIOS_H 1
4972| #define HAVE_VASPRINTF 1
4973| #define HAVE_ASPRINTF 1
4974| #define HAVE_FSEEKO 1
4975| #define HAVE_ICONV 1
4976| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
4977| #define HAVE_LIBPQ 1
4978| #define POSTGIS_PGSQL_VERSION 130
4979| #define POSTGIS_PGSQL_HR_VERSION 13.0
4980| #define HAVE_LIBXML_TREE_H 1
4981| #define HAVE_LIBXML_PARSER_H 1
4982| #define HAVE_LIBXML_XPATH_H 1
4983| #define HAVE_LIBXML_XPATHINTERNALS_H 1
4984| #define HAVE_LIBXML2 1
4985| #define POSTGIS_LIBXML2_VERSION "2.9.10"
4986| #define HAVE_LIBGEOS_C 1
4987| #define POSTGIS_GEOS_VERSION 39
4988| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4989| #define HAVE_CFLOCALECOPYCURRENT 1
4990| #define HAVE_ICONV 1
4991| #define ENABLE_NLS 1
4992| #define HAVE_GETTEXT 1
4993| #define HAVE_DCGETTEXT 1
4994| #define POSTGIS_PROJ_VERSION 72
4995| #define HAVE_LIBPROJ 1
4996| #define HAVE_LIBJSON 1
4997| /* end confdefs.h.  */
4998| #include <stdio.h>
4999| #ifdef HAVE_SYS_TYPES_H
5000| # include <sys/types.h>
5001| #endif
5002| #ifdef HAVE_SYS_STAT_H
5003| # include <sys/stat.h>
5004| #endif
5005| #ifdef STDC_HEADERS
5006| # include <stdlib.h>
5007| # include <stddef.h>
5008| #else
5009| # ifdef HAVE_STDLIB_H
5010| #  include <stdlib.h>
5011| # endif
5012| #endif
5013| #ifdef HAVE_STRING_H
5014| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5015| #  include <memory.h>
5016| # endif
5017| # include <string.h>
5018| #endif
5019| #ifdef HAVE_STRINGS_H
5020| # include <strings.h>
5021| #endif
5022| #ifdef HAVE_INTTYPES_H
5023| # include <inttypes.h>
5024| #endif
5025| #ifdef HAVE_STDINT_H
5026| # include <stdint.h>
5027| #endif
5028| #ifdef HAVE_UNISTD_H
5029| # include <unistd.h>
5030| #endif
5031| #include <protobuf-c/protobuf-c.h>
5032configure:17712: result: no
5033configure:17712: checking protobuf-c/protobuf-c.h presence
5034configure:17712: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk conftest.c
5035conftest.c:52:10: fatal error: 'protobuf-c/protobuf-c.h' file not found
5036#include <protobuf-c/protobuf-c.h>
5037         ^~~~~~~~~~~~~~~~~~~~~~~~~
50381 error generated.
5039configure:17712: $? = 1
5040configure: failed program was:
5041| /* confdefs.h */
5042| #define PACKAGE_NAME ""
5043| #define PACKAGE_TARNAME ""
5044| #define PACKAGE_VERSION ""
5045| #define PACKAGE_STRING ""
5046| #define PACKAGE_BUGREPORT ""
5047| #define PACKAGE_URL ""
5048| #define STDC_HEADERS 1
5049| #define HAVE_SYS_TYPES_H 1
5050| #define HAVE_SYS_STAT_H 1
5051| #define HAVE_STDLIB_H 1
5052| #define HAVE_STRING_H 1
5053| #define HAVE_MEMORY_H 1
5054| #define HAVE_STRINGS_H 1
5055| #define HAVE_INTTYPES_H 1
5056| #define HAVE_STDINT_H 1
5057| #define HAVE_UNISTD_H 1
5058| #define HAVE_DLFCN_H 1
5059| #define LT_OBJDIR ".libs/"
5060| #define POSTGIS_MAJOR_VERSION "3"
5061| #define POSTGIS_MINOR_VERSION "0"
5062| #define POSTGIS_MICRO_VERSION "3"
5063| #define YYTEXT_POINTER 1
5064| #define HAVE_IEEEFP_H 0
5065| #define HAVE_TERMIOS_H 1
5066| #define HAVE_VASPRINTF 1
5067| #define HAVE_ASPRINTF 1
5068| #define HAVE_FSEEKO 1
5069| #define HAVE_ICONV 1
5070| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
5071| #define HAVE_LIBPQ 1
5072| #define POSTGIS_PGSQL_VERSION 130
5073| #define POSTGIS_PGSQL_HR_VERSION 13.0
5074| #define HAVE_LIBXML_TREE_H 1
5075| #define HAVE_LIBXML_PARSER_H 1
5076| #define HAVE_LIBXML_XPATH_H 1
5077| #define HAVE_LIBXML_XPATHINTERNALS_H 1
5078| #define HAVE_LIBXML2 1
5079| #define POSTGIS_LIBXML2_VERSION "2.9.10"
5080| #define HAVE_LIBGEOS_C 1
5081| #define POSTGIS_GEOS_VERSION 39
5082| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5083| #define HAVE_CFLOCALECOPYCURRENT 1
5084| #define HAVE_ICONV 1
5085| #define ENABLE_NLS 1
5086| #define HAVE_GETTEXT 1
5087| #define HAVE_DCGETTEXT 1
5088| #define POSTGIS_PROJ_VERSION 72
5089| #define HAVE_LIBPROJ 1
5090| #define HAVE_LIBJSON 1
5091| /* end confdefs.h.  */
5092| #include <protobuf-c/protobuf-c.h>
5093configure:17712: result: no
5094configure:17712: checking for protobuf-c/protobuf-c.h
5095configure:17712: result: no
5096configure:17716: result: unable to find protobuf-c/protobuf-c.h using -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
5097configure:17724: checking for protobuf_c_message_init in -lprotobuf-c
5098configure:17749: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -lprotobuf-c   >&5
5099ld: library not found for -lprotobuf-c
5100clang: error: linker command failed with exit code 1 (use -v to see invocation)
5101configure:17749: $? = 1
5102configure: failed program was:
5103| /* confdefs.h */
5104| #define PACKAGE_NAME ""
5105| #define PACKAGE_TARNAME ""
5106| #define PACKAGE_VERSION ""
5107| #define PACKAGE_STRING ""
5108| #define PACKAGE_BUGREPORT ""
5109| #define PACKAGE_URL ""
5110| #define STDC_HEADERS 1
5111| #define HAVE_SYS_TYPES_H 1
5112| #define HAVE_SYS_STAT_H 1
5113| #define HAVE_STDLIB_H 1
5114| #define HAVE_STRING_H 1
5115| #define HAVE_MEMORY_H 1
5116| #define HAVE_STRINGS_H 1
5117| #define HAVE_INTTYPES_H 1
5118| #define HAVE_STDINT_H 1
5119| #define HAVE_UNISTD_H 1
5120| #define HAVE_DLFCN_H 1
5121| #define LT_OBJDIR ".libs/"
5122| #define POSTGIS_MAJOR_VERSION "3"
5123| #define POSTGIS_MINOR_VERSION "0"
5124| #define POSTGIS_MICRO_VERSION "3"
5125| #define YYTEXT_POINTER 1
5126| #define HAVE_IEEEFP_H 0
5127| #define HAVE_TERMIOS_H 1
5128| #define HAVE_VASPRINTF 1
5129| #define HAVE_ASPRINTF 1
5130| #define HAVE_FSEEKO 1
5131| #define HAVE_ICONV 1
5132| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
5133| #define HAVE_LIBPQ 1
5134| #define POSTGIS_PGSQL_VERSION 130
5135| #define POSTGIS_PGSQL_HR_VERSION 13.0
5136| #define HAVE_LIBXML_TREE_H 1
5137| #define HAVE_LIBXML_PARSER_H 1
5138| #define HAVE_LIBXML_XPATH_H 1
5139| #define HAVE_LIBXML_XPATHINTERNALS_H 1
5140| #define HAVE_LIBXML2 1
5141| #define POSTGIS_LIBXML2_VERSION "2.9.10"
5142| #define HAVE_LIBGEOS_C 1
5143| #define POSTGIS_GEOS_VERSION 39
5144| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5145| #define HAVE_CFLOCALECOPYCURRENT 1
5146| #define HAVE_ICONV 1
5147| #define ENABLE_NLS 1
5148| #define HAVE_GETTEXT 1
5149| #define HAVE_DCGETTEXT 1
5150| #define POSTGIS_PROJ_VERSION 72
5151| #define HAVE_LIBPROJ 1
5152| #define HAVE_LIBJSON 1
5153| /* end confdefs.h.  */
5154|
5155| /* Override any GCC internal prototype to avoid an error.
5156|    Use char because int might match the return type of a GCC
5157|    builtin and then its argument prototype would still apply.  */
5158| #ifdef __cplusplus
5159| extern "C"
5160| #endif
5161| char protobuf_c_message_init ();
5162| int
5163| main ()
5164| {
5165| return protobuf_c_message_init ();
5166|   ;
5167|   return 0;
5168| }
5169configure:17758: result: no
5170configure:17768: result: unable to link protobuf-c using -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
5171configure:17775: checking for protobuf_c_version in -lprotobuf-c
5172configure:17800: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c -lprotobuf-c   >&5
5173ld: library not found for -lprotobuf-c
5174clang: error: linker command failed with exit code 1 (use -v to see invocation)
5175configure:17800: $? = 1
5176configure: failed program was:
5177| /* confdefs.h */
5178| #define PACKAGE_NAME ""
5179| #define PACKAGE_TARNAME ""
5180| #define PACKAGE_VERSION ""
5181| #define PACKAGE_STRING ""
5182| #define PACKAGE_BUGREPORT ""
5183| #define PACKAGE_URL ""
5184| #define STDC_HEADERS 1
5185| #define HAVE_SYS_TYPES_H 1
5186| #define HAVE_SYS_STAT_H 1
5187| #define HAVE_STDLIB_H 1
5188| #define HAVE_STRING_H 1
5189| #define HAVE_MEMORY_H 1
5190| #define HAVE_STRINGS_H 1
5191| #define HAVE_INTTYPES_H 1
5192| #define HAVE_STDINT_H 1
5193| #define HAVE_UNISTD_H 1
5194| #define HAVE_DLFCN_H 1
5195| #define LT_OBJDIR ".libs/"
5196| #define POSTGIS_MAJOR_VERSION "3"
5197| #define POSTGIS_MINOR_VERSION "0"
5198| #define POSTGIS_MICRO_VERSION "3"
5199| #define YYTEXT_POINTER 1
5200| #define HAVE_IEEEFP_H 0
5201| #define HAVE_TERMIOS_H 1
5202| #define HAVE_VASPRINTF 1
5203| #define HAVE_ASPRINTF 1
5204| #define HAVE_FSEEKO 1
5205| #define HAVE_ICONV 1
5206| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
5207| #define HAVE_LIBPQ 1
5208| #define POSTGIS_PGSQL_VERSION 130
5209| #define POSTGIS_PGSQL_HR_VERSION 13.0
5210| #define HAVE_LIBXML_TREE_H 1
5211| #define HAVE_LIBXML_PARSER_H 1
5212| #define HAVE_LIBXML_XPATH_H 1
5213| #define HAVE_LIBXML_XPATHINTERNALS_H 1
5214| #define HAVE_LIBXML2 1
5215| #define POSTGIS_LIBXML2_VERSION "2.9.10"
5216| #define HAVE_LIBGEOS_C 1
5217| #define POSTGIS_GEOS_VERSION 39
5218| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5219| #define HAVE_CFLOCALECOPYCURRENT 1
5220| #define HAVE_ICONV 1
5221| #define ENABLE_NLS 1
5222| #define HAVE_GETTEXT 1
5223| #define HAVE_DCGETTEXT 1
5224| #define POSTGIS_PROJ_VERSION 72
5225| #define HAVE_LIBPROJ 1
5226| #define HAVE_LIBJSON 1
5227| /* end confdefs.h.  */
5228|
5229| /* Override any GCC internal prototype to avoid an error.
5230|    Use char because int might match the return type of a GCC
5231|    builtin and then its argument prototype would still apply.  */
5232| #ifdef __cplusplus
5233| extern "C"
5234| #endif
5235| char protobuf_c_version ();
5236| int
5237| main ()
5238| {
5239| return protobuf_c_version ();
5240|   ;
5241|   return 0;
5242| }
5243configure:17809: result: no
5244configure:17818: checking protobuf-c version
5245configure:17850: /usr/bin/clang -o conftest -std=gnu99 -pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -fno-math-errno -fno-signed-zeros -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
5246conftest.c:57:13: fatal error: 'protobuf-c/protobuf-c.h' file not found
5247                        #include "protobuf-c/protobuf-c.h"
5248                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
52491 error generated.
5250configure:17850: $? = 1
5251configure: program exited with status 1
5252configure: failed program was:
5253| /* confdefs.h */
5254| #define PACKAGE_NAME ""
5255| #define PACKAGE_TARNAME ""
5256| #define PACKAGE_VERSION ""
5257| #define PACKAGE_STRING ""
5258| #define PACKAGE_BUGREPORT ""
5259| #define PACKAGE_URL ""
5260| #define STDC_HEADERS 1
5261| #define HAVE_SYS_TYPES_H 1
5262| #define HAVE_SYS_STAT_H 1
5263| #define HAVE_STDLIB_H 1
5264| #define HAVE_STRING_H 1
5265| #define HAVE_MEMORY_H 1
5266| #define HAVE_STRINGS_H 1
5267| #define HAVE_INTTYPES_H 1
5268| #define HAVE_STDINT_H 1
5269| #define HAVE_UNISTD_H 1
5270| #define HAVE_DLFCN_H 1
5271| #define LT_OBJDIR ".libs/"
5272| #define POSTGIS_MAJOR_VERSION "3"
5273| #define POSTGIS_MINOR_VERSION "0"
5274| #define POSTGIS_MICRO_VERSION "3"
5275| #define YYTEXT_POINTER 1
5276| #define HAVE_IEEEFP_H 0
5277| #define HAVE_TERMIOS_H 1
5278| #define HAVE_VASPRINTF 1
5279| #define HAVE_ASPRINTF 1
5280| #define HAVE_FSEEKO 1
5281| #define HAVE_ICONV 1
5282| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
5283| #define HAVE_LIBPQ 1
5284| #define POSTGIS_PGSQL_VERSION 130
5285| #define POSTGIS_PGSQL_HR_VERSION 13.0
5286| #define HAVE_LIBXML_TREE_H 1
5287| #define HAVE_LIBXML_PARSER_H 1
5288| #define HAVE_LIBXML_XPATH_H 1
5289| #define HAVE_LIBXML_XPATHINTERNALS_H 1
5290| #define HAVE_LIBXML2 1
5291| #define POSTGIS_LIBXML2_VERSION "2.9.10"
5292| #define HAVE_LIBGEOS_C 1
5293| #define POSTGIS_GEOS_VERSION 39
5294| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5295| #define HAVE_CFLOCALECOPYCURRENT 1
5296| #define HAVE_ICONV 1
5297| #define ENABLE_NLS 1
5298| #define HAVE_GETTEXT 1
5299| #define HAVE_DCGETTEXT 1
5300| #define POSTGIS_PROJ_VERSION 72
5301| #define HAVE_LIBPROJ 1
5302| #define HAVE_LIBJSON 1
5303| /* end confdefs.h.  */
5304|
5305|
5306|                       #ifdef HAVE_STDINT_H
5307|                       #include <stdio.h>
5308|                       #endif
5309|                       #include "protobuf-c/protobuf-c.h"
5310|
5311| int
5312| main ()
5313| {
5314|
5315|                       FILE *fp = fopen("conftest.out", "w");
5316|                       fprintf(fp, "%d\n", PROTOBUF_C_VERSION_NUMBER);
5317|                       fclose(fp);
5318|
5319|   ;
5320|   return 0;
5321| }
5322|
5323configure:17865: result: 0
5324configure:17874: checking for protoc-c
5325configure:17907: result: no
5326configure:17913: result: Cannot find protoc-c protobuf compiler on the PATH: /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
5327configure:18395: checking for PCRE
5328configure:18402: $PKG_CONFIG --exists --print-errors "libpcre"
5329configure:18405: $? = 0
5330configure:18419: $PKG_CONFIG --exists --print-errors "libpcre"
5331configure:18422: $? = 0
5332configure:18466: result: yes
5333configure:18504: result: TOPOLOGY: Topology support requested
5334configure:18552: result: RASTER: Raster support requested
5335configure:18587: checking for gdal-config
5336configure:18605: found /opt/local/bin/gdal-config
5337configure:18617: result: /opt/local/bin/gdal-config
5338configure:18629: checking GDAL version
5339configure:18640: result: 3.2.1
5340configure:18654: checking for OGR enabled
5341configure:18662: result: yes
5342configure:18681: checking gdal.h usability
5343configure:18681: /usr/bin/clang -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -I/opt/local/include conftest.c >&5
5344clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot]
5345conftest.c:60:10: fatal error: 'stdio.h' file not found
5346#include <stdio.h>
5347         ^~~~~~~~~
53481 error generated.
5349configure:18681: $? = 1
5350configure: failed program was:
5351| /* confdefs.h */
5352| #define PACKAGE_NAME ""
5353| #define PACKAGE_TARNAME ""
5354| #define PACKAGE_VERSION ""
5355| #define PACKAGE_STRING ""
5356| #define PACKAGE_BUGREPORT ""
5357| #define PACKAGE_URL ""
5358| #define STDC_HEADERS 1
5359| #define HAVE_SYS_TYPES_H 1
5360| #define HAVE_SYS_STAT_H 1
5361| #define HAVE_STDLIB_H 1
5362| #define HAVE_STRING_H 1
5363| #define HAVE_MEMORY_H 1
5364| #define HAVE_STRINGS_H 1
5365| #define HAVE_INTTYPES_H 1
5366| #define HAVE_STDINT_H 1
5367| #define HAVE_UNISTD_H 1
5368| #define HAVE_DLFCN_H 1
5369| #define LT_OBJDIR ".libs/"
5370| #define POSTGIS_MAJOR_VERSION "3"
5371| #define POSTGIS_MINOR_VERSION "0"
5372| #define POSTGIS_MICRO_VERSION "3"
5373| #define YYTEXT_POINTER 1
5374| #define HAVE_IEEEFP_H 0
5375| #define HAVE_TERMIOS_H 1
5376| #define HAVE_VASPRINTF 1
5377| #define HAVE_ASPRINTF 1
5378| #define HAVE_FSEEKO 1
5379| #define HAVE_ICONV 1
5380| #define PGSQL_LOCALEDIR "/opt/local/share/locale"
5381| #define HAVE_LIBPQ 1
5382| #define POSTGIS_PGSQL_VERSION 130
5383| #define POSTGIS_PGSQL_HR_VERSION 13.0
5384| #define HAVE_LIBXML_TREE_H 1
5385| #define HAVE_LIBXML_PARSER_H 1
5386| #define HAVE_LIBXML_XPATH_H 1
5387| #define HAVE_LIBXML_XPATHINTERNALS_H 1
5388| #define HAVE_LIBXML2 1
5389| #define POSTGIS_LIBXML2_VERSION "2.9.10"
5390| #define HAVE_LIBGEOS_C 1
5391| #define POSTGIS_GEOS_VERSION 39
5392| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5393| #define HAVE_CFLOCALECOPYCURRENT 1
5394| #define HAVE_ICONV 1
5395| #define ENABLE_NLS 1
5396| #define HAVE_GETTEXT 1
5397| #define HAVE_DCGETTEXT 1
5398| #define POSTGIS_PROJ_VERSION 72
5399| #define HAVE_LIBPROJ 1
5400| #define HAVE_LIBJSON 1
5401| #define PARANOIA_LEVEL 0
5402| #define NDEBUG 0
5403| #define POSTGIS_VERSION "3.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"
5404| #define POSTGIS_LIB_VERSION "3.0.3"
5405| #define POSTGIS_BUILD_DATE "2021-03-07 14:21:40"
5406| #define POSTGIS_SCRIPTS_VERSION "3.0.3"
5407| #define POSTGIS_RASTER_WARN_ON_TRUNCATION 0
5408| #define POSTGIS_GDAL_VERSION 32
5409| /* end confdefs.h.  */
5410| #include <stdio.h>
5411| #ifdef HAVE_SYS_TYPES_H
5412| # include <sys/types.h>
5413| #endif
5414| #ifdef HAVE_SYS_STAT_H
5415| # include <sys/stat.h>
5416| #endif
5417| #ifdef STDC_HEADERS
5418| # include <stdlib.h>
5419| # include <stddef.h>
5420| #else
5421| # ifdef HAVE_STDLIB_H
5422| #  include <stdlib.h>
5423| # endif
5424| #endif
5425| #ifdef HAVE_STRING_H
5426| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5427| #  include <memory.h>
5428| # endif
5429| # include <string.h>
5430| #endif
5431| #ifdef HAVE_STRINGS_H
5432| # include <strings.h>
5433| #endif
5434| #ifdef HAVE_INTTYPES_H
5435| # include <inttypes.h>
5436| #endif
5437| #ifdef HAVE_STDINT_H
5438| # include <stdint.h>
5439| #endif
5440| #ifdef HAVE_UNISTD_H
5441| # include <unistd.h>
5442| #endif
5443| #include <gdal.h>
5444configure:18681: result: no
5445configure:18681: checking gdal.h presence
5446configure:18681: /usr/bin/clang -E -I/opt/local/include conftest.c
5447configure:18681: $? = 0
5448configure:18681: result: yes
5449configure:18681: WARNING: gdal.h: present but cannot be compiled
5450configure:18681: WARNING: gdal.h:     check for missing prerequisite headers?
5451configure:18681: WARNING: gdal.h: see the Autoconf documentation
5452configure:18681: WARNING: gdal.h:     section "Present But Cannot Be Compiled"
5453configure:18681: WARNING: gdal.h: proceeding with the compiler's result
5454configure:18681: checking for gdal.h
5455configure:18681: result: no
5456configure:18688: error: could not find GDAL headers
5457
5458## ---------------- ##
5459## Cache variables. ##
5460## ---------------- ##
5461
5462_cv_exclude_libs=no
5463_cv_misprot=yes
5464_cv_nomatherrno=yes
5465_cv_nosignedzeros=yes
5466_cv_std=yes
5467_cv_wall=yes
5468ac_cv_build=x86_64-apple-darwin20.3.0
5469ac_cv_c_bigendian=no
5470ac_cv_c_compiler_gnu=yes
5471ac_cv_env_CCC_set=
5472ac_cv_env_CCC_value=
5473ac_cv_env_CC_set=set
5474ac_cv_env_CC_value=/usr/bin/clang
5475ac_cv_env_CFLAGS_set=set
5476ac_cv_env_CFLAGS_value='-pipe -Os -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64'
5477ac_cv_env_CPPFLAGS_set=set
5478ac_cv_env_CPPFLAGS_value='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
5479ac_cv_env_CPP_set=
5480ac_cv_env_CPP_value=
5481ac_cv_env_CUNIT_CFLAGS_set=
5482ac_cv_env_CUNIT_CFLAGS_value=
5483ac_cv_env_CUNIT_LIBS_set=
5484ac_cv_env_CUNIT_LIBS_value=
5485ac_cv_env_CXXCPP_set=
5486ac_cv_env_CXXCPP_value=
5487ac_cv_env_CXXFLAGS_set=set
5488ac_cv_env_CXXFLAGS_value='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64'
5489ac_cv_env_CXX_set=set
5490ac_cv_env_CXX_value=/usr/bin/clang++
5491ac_cv_env_JSONC_CFLAGS_set=
5492ac_cv_env_JSONC_CFLAGS_value=
5493ac_cv_env_JSONC_LIBS_set=
5494ac_cv_env_JSONC_LIBS_value=
5495ac_cv_env_LDFLAGS_set=set
5496ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64'
5497ac_cv_env_LIBS_set=
5498ac_cv_env_LIBS_value=
5499ac_cv_env_LIBXML2_CFLAGS_set=
5500ac_cv_env_LIBXML2_CFLAGS_value=
5501ac_cv_env_LIBXML2_LIBS_set=
5502ac_cv_env_LIBXML2_LIBS_value=
5503ac_cv_env_LT_SYS_LIBRARY_PATH_set=
5504ac_cv_env_LT_SYS_LIBRARY_PATH_value=
5505ac_cv_env_PCRE_CFLAGS_set=
5506ac_cv_env_PCRE_CFLAGS_value=
5507ac_cv_env_PCRE_LIBS_set=
5508ac_cv_env_PCRE_LIBS_value=
5509ac_cv_env_PG_CONFIG_set=
5510ac_cv_env_PG_CONFIG_value=
5511ac_cv_env_PKG_CONFIG_LIBDIR_set=
5512ac_cv_env_PKG_CONFIG_LIBDIR_value=
5513ac_cv_env_PKG_CONFIG_PATH_set=
5514ac_cv_env_PKG_CONFIG_PATH_value=
5515ac_cv_env_PKG_CONFIG_set=
5516ac_cv_env_PKG_CONFIG_value=
5517ac_cv_env_PROJ_CFLAGS_set=
5518ac_cv_env_PROJ_CFLAGS_value=
5519ac_cv_env_PROJ_LIBS_set=
5520ac_cv_env_PROJ_LIBS_value=
5521ac_cv_env_PROTOBUFC_CFLAGS_set=
5522ac_cv_env_PROTOBUFC_CFLAGS_value=
5523ac_cv_env_PROTOBUFC_LIBS_set=
5524ac_cv_env_PROTOBUFC_LIBS_value=
5525ac_cv_env_YACC_set=
5526ac_cv_env_YACC_value=
5527ac_cv_env_YFLAGS_set=
5528ac_cv_env_YFLAGS_value=
5529ac_cv_env_build_alias_set=
5530ac_cv_env_build_alias_value=
5531ac_cv_env_host_alias_set=
5532ac_cv_env_host_alias_value=
5533ac_cv_env_target_alias_set=
5534ac_cv_env_target_alias_value=
5535ac_cv_func_asprintf=yes
5536ac_cv_func_iconvctl=no
5537ac_cv_func_libiconvctl=no
5538ac_cv_func_vasprintf=yes
5539ac_cv_header_dlfcn_h=yes
5540ac_cv_header_gdal_h=no
5541ac_cv_header_geos_c_h=yes
5542ac_cv_header_iconv_h=yes
5543ac_cv_header_ieeefp_h=no
5544ac_cv_header_inttypes_h=yes
5545ac_cv_header_libpq_fe_h=yes
5546ac_cv_header_libxml_parser_h=yes
5547ac_cv_header_libxml_tree_h=yes
5548ac_cv_header_libxml_xpathInternals_h=yes
5549ac_cv_header_libxml_xpath_h=yes
5550ac_cv_header_memory_h=yes
5551ac_cv_header_proj_api_h=no
5552ac_cv_header_proj_h=yes
5553ac_cv_header_protobuf_c_protobuf_c_h=no
5554ac_cv_header_stdc=yes
5555ac_cv_header_stdint_h=yes
5556ac_cv_header_stdlib_h=yes
5557ac_cv_header_string_h=yes
5558ac_cv_header_strings_h=yes
5559ac_cv_header_sys_stat_h=yes
5560ac_cv_header_sys_types_h=yes
5561ac_cv_header_termios_h=yes
5562ac_cv_header_unistd_h=yes
5563ac_cv_host=x86_64-apple-darwin20.3.0
5564ac_cv_lib_geos_c_initGEOS=yes
5565ac_cv_lib_iconv_libiconv_open=yes
5566ac_cv_lib_lex=-ll
5567ac_cv_lib_pq_PQserverVersion=yes
5568ac_cv_lib_proj_pj_get_release=yes
5569ac_cv_lib_protobuf_c_protobuf_c_message_init=no
5570ac_cv_lib_protobuf_c_protobuf_c_version=no
5571ac_cv_lib_xml2_xmlInitParser=yes
5572ac_cv_objext=o
5573ac_cv_path_CPPBIN=/usr/bin/cpp
5574ac_cv_path_EGREP='/usr/bin/grep -E'
5575ac_cv_path_FGREP='/usr/bin/grep -F'
5576ac_cv_path_GDAL_CONFIG=/opt/local/bin/gdal-config
5577ac_cv_path_GEOSCONFIG=/opt/local/bin/geos-config
5578ac_cv_path_GMSGFMT=/opt/local/bin/msgfmt
5579ac_cv_path_GREP=/usr/bin/grep
5580ac_cv_path_MSGFMT=/opt/local/bin/msgfmt
5581ac_cv_path_MSGMERGE=/opt/local/bin/msgmerge
5582ac_cv_path_PERL=/opt/local/bin/perl
5583ac_cv_path_SED=/usr/bin/sed
5584ac_cv_path_XCRUN=/usr/bin/xcrun
5585ac_cv_path_XGETTEXT=/opt/local/bin/xgettext
5586ac_cv_path_XML2CONFIG=/opt/local/bin/xml2-config
5587ac_cv_path_XMLLINT=/opt/local/bin/xmllint
5588ac_cv_path_XSLTPROC=/opt/local/bin/xsltproc
5589ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
5590ac_cv_path_lt_DD=/bin/dd
5591ac_cv_prog_AWK=awk
5592ac_cv_prog_CPP='/usr/bin/clang -E'
5593ac_cv_prog_LEX=flex
5594ac_cv_prog_YACC='bison -y'
5595ac_cv_prog_ac_ct_AR=ar
5596ac_cv_prog_ac_ct_CC=/usr/bin/clang
5597ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
5598ac_cv_prog_ac_ct_LIPO=lipo
5599ac_cv_prog_ac_ct_NMEDIT=nmedit
5600ac_cv_prog_ac_ct_OBJDUMP=objdump
5601ac_cv_prog_ac_ct_OTOOL=otool
5602ac_cv_prog_ac_ct_RANLIB=ranlib
5603ac_cv_prog_ac_ct_STRIP=strip
5604ac_cv_prog_cc_c89=
5605ac_cv_prog_cc_g=yes
5606ac_cv_prog_lex_root=lex.yy
5607ac_cv_prog_lex_yytext_pointer=yes
5608ac_cv_prog_make_make_set=yes
5609ac_cv_sys_largefile_source=no
5610acl_cv_path_LD=/Library/Developer/CommandLineTools/usr/bin/ld
5611acl_cv_prog_gnu_ld=no
5612acl_cv_rpath=done
5613am_cv_func_iconv=yes
5614am_cv_func_iconv_works=yes
5615am_cv_lib_iconv=yes
5616dummy_cv_ffloat_store=no
5617gt_cv_func_CFLocaleCopyCurrent=yes
5618gt_cv_func_CFPreferencesCopyAppValue=yes
5619gt_cv_func_gnugettext1_libc=no
5620gt_cv_func_gnugettext1_libintl=yes
5621lt_cv_apple_cc_single_mod=yes
5622lt_cv_ar_at_file=no
5623lt_cv_deplibs_check_method=pass_all
5624lt_cv_file_magic_cmd='$MAGIC_CMD'
5625lt_cv_file_magic_test_file=
5626lt_cv_ld_exported_symbols_list=yes
5627lt_cv_ld_force_load=yes
5628lt_cv_ld_reload_flag=-r
5629lt_cv_nm_interface='BSD nm'
5630lt_cv_objdir=.libs
5631lt_cv_path_LD=/Library/Developer/CommandLineTools/usr/bin/ld
5632lt_cv_path_NM='/usr/bin/nm -B'
5633lt_cv_path_mainfest_tool=no
5634lt_cv_prog_compiler_c_o=yes
5635lt_cv_prog_compiler_pic='-fno-common -DPIC'
5636lt_cv_prog_compiler_pic_works=yes
5637lt_cv_prog_compiler_rtti_exceptions=yes
5638lt_cv_prog_compiler_static_works=no
5639lt_cv_prog_gnu_ld=no
5640lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
5641lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
5642lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
5643lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
5644lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
5645lt_cv_sys_global_symbol_to_import=
5646lt_cv_sys_max_cmd_len=786432
5647lt_cv_to_host_file_cmd=func_convert_file_noop
5648lt_cv_to_tool_file_cmd=func_convert_file_noop
5649lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
5650pkg_cv_JSONC_CFLAGS=-I/opt/local/include/json-c
5651pkg_cv_JSONC_LIBS='-L/opt/local/lib -ljson-c'
5652pkg_cv_PCRE_CFLAGS=
5653pkg_cv_PCRE_LIBS='-L/opt/local/lib -lpcre'
5654
5655## ----------------- ##
5656## Output variables. ##
5657## ----------------- ##
5658
5659ADDRESS_STANDARDIZER='address_standardizer'
5660AR='ar'
5661AR_FLAGS='cr'
5662AWK='awk'
5663CAN_BUILD_COMMENTS='yes'
5664CAN_BUILD_PDF='no'
5665CC='/usr/bin/clang'
5666CFLAGS='-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64'
5667CPP='/usr/bin/clang -E'
5668CPPBIN='/usr/bin/cpp'
5669CPPFLAGS='-I/opt/local/include'
5670CUNIT_CFLAGS=''
5671CUNIT_CPPFLAGS=''
5672CUNIT_LDFLAGS=''
5673CUNIT_LIBS=''
5674CXX='/usr/bin/clang++'
5675CXXCPP=''
5676CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64'
5677DBLATEX=''
5678DEFS=''
5679DEPS_SUBDIR=''
5680DLLTOOL='false'
5681DSYMUTIL='dsymutil'
5682DUMPBIN=''
5683ECHO_C='\c'
5684ECHO_N=''
5685ECHO_T=''
5686EGREP='/usr/bin/grep -E'
5687EXCLUDELIBS_LDFLAGS=''
5688EXEEXT=''
5689EXESUFFIX=''
5690EXTENSIONS=''
5691FGREP='/usr/bin/grep -F'
5692GDAL_CONFIG='/opt/local/bin/gdal-config'
5693GEOSCONFIG='/opt/local/bin/geos-config'
5694GEOS_CPPFLAGS='-I/opt/local/include'
5695GEOS_LDFLAGS='-L/opt/local/lib -lgeos_c'
5696GEOS_NUMERIC_VERSION='30901'
5697GETTEXT_CFLAGS=''
5698GETTEXT_LDFLAGS=''
5699GETTEXT_MACRO_VERSION='0.17'
5700GMSGFMT='/opt/local/bin/msgfmt'
5701GMSGFMT_015='/opt/local/bin/msgfmt'
5702GPP=''
5703GREP='/usr/bin/grep'
5704GTK_BUILD=''
5705GTK_CFLAGS=''
5706GTK_LIBS=''
5707GTK_WIN32_FLAGS=''
5708GTK_WIN32_RES=''
5709HAVE_CXX11=''
5710HAVE_GEOBUF='no'
5711HAVE_JSON='yes'
5712HAVE_PCRE='yes'
5713HAVE_PROTOBUF='no'
5714HAVE_SFCGAL=''
5715HAVE_SPGIST='yes'
5716HAVE_WAGYU=''
5717ICONV_CFLAGS=''
5718ICONV_LDFLAGS=' -liconv'
5719IGE_MAC_CFLAGS=''
5720IGE_MAC_LIBS=''
5721IMAGEMAGICK=''
5722INSTALL_DATA='${INSTALL} -m 644'
5723INSTALL_PROGRAM='${INSTALL}'
5724INSTALL_SCRIPT='${INSTALL}'
5725INTERRUPTTESTS='no'
5726INTLLIBS='-lintl -Wl,-framework -Wl,CoreFoundation'
5727INTL_MACOSX_LIBS='-Wl,-framework -Wl,CoreFoundation'
5728JSONC_CFLAGS='-I/opt/local/include/json-c'
5729JSONC_LIBS='-L/opt/local/lib -ljson-c'
5730JSON_CPPFLAGS='-I/opt/local/include/json-c'
5731JSON_LDFLAGS='-L/opt/local/lib -ljson-c'
5732LD='/Library/Developer/CommandLineTools/usr/bin/ld'
5733LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64'
5734LEX='flex'
5735LEXLIB='-ll'
5736LEX_OUTPUT_ROOT='lex.yy'
5737LIBGDAL_CFLAGS='-I/opt/local/include'
5738LIBGDAL_DEPLIBS_LDFLAGS=''
5739LIBGDAL_LDFLAGS='-L/opt/local/lib -lgdal'
5740LIBICONV='-liconv'
5741LIBINCLUDEMINORVERSION='no'
5742LIBINTL='-lintl -Wl,-framework -Wl,CoreFoundation'
5743LIBLWGEOM_AGE='0'
5744LIBLWGEOM_CURRENT='0'
5745LIBLWGEOM_ONLY='no'
5746LIBLWGEOM_REV='0'
5747LIBOBJS=''
5748LIBS='-L/opt/local/lib -lgdal'
5749LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5750LIBXML2_CFLAGS=''
5751LIBXML2_LIBS=''
5752LIPO='lipo'
5753LN_S='ln -s'
5754LTLIBICONV='-liconv'
5755LTLIBINTL='-lintl -Wl,-framework -Wl,CoreFoundation'
5756LTLIBOBJS=''
5757LT_SYS_LIBRARY_PATH=''
5758MANIFEST_TOOL=':'
5759MATHML2_DTD='http://www.w3.org/Math/DTD/mathml2/mathml2.dtd'
5760MINGWBUILD='0'
5761MKDIR_P='build-aux/install-sh -c -d'
5762MSGFMT='/opt/local/bin/msgfmt'
5763MSGFMT_015='/opt/local/bin/msgfmt'
5764MSGMERGE='/opt/local/bin/msgmerge'
5765NM='/usr/bin/nm -B'
5766NMEDIT='nmedit'
5767NUMERICFLAGS=''
5768OBJDUMP='objdump'
5769OBJEXT='o'
5770OTOOL64=':'
5771OTOOL='otool'
5772PACKAGE_BUGREPORT=''
5773PACKAGE_NAME=''
5774PACKAGE_STRING=''
5775PACKAGE_TARNAME=''
5776PACKAGE_URL=''
5777PACKAGE_VERSION=''
5778PATH_SEPARATOR=':'
5779PCRE_CFLAGS=''
5780PCRE_CPPFLAGS=''
5781PCRE_LDFLAGS='-L/opt/local/lib -lpcre'
5782PCRE_LIBS='-L/opt/local/lib -lpcre'
5783PERL='/opt/local/bin/perl'
5784PGSQL_BE_CPPFLAGS='-I/opt/local/include/postgresql13/server'
5785PGSQL_BINDIR='/opt/local/lib/postgresql13/bin'
5786PGSQL_DOCDIR='/opt/local/share/doc/postgresql13'
5787PGSQL_FE_CPPFLAGS='-I/opt/local/include/postgresql13'
5788PGSQL_FE_LDFLAGS='-L/opt/local/lib/postgresql13 -lpq'
5789PGSQL_MANDIR='/opt/local/share/man'
5790PGSQL_SHAREDIR='/opt/local/share/postgresql13'
5791PGXS='/opt/local/lib/postgresql13/pgxs/src/makefiles/pgxs.mk'
5792PG_CONFIG='/opt/local/lib/postgresql13/bin/pg_config'
5793PICFLAGS=' -fno-common -DPIC'
5794PKG_CONFIG='/opt/local/bin/pkg-config'
5795PKG_CONFIG_LIBDIR=''
5796PKG_CONFIG_PATH=''
5797POSTGIS_BUILD_DATE='2021-03-07 14:21:40'
5798POSTGIS_GDAL_VERSION='32'
5799POSTGIS_GEOS_VERSION='39'
5800POSTGIS_LIBXML2_VERSION='2.9.10'
5801POSTGIS_LIB_VERSION='3.0.3'
5802POSTGIS_MAJOR_VERSION='3'
5803POSTGIS_MICRO_VERSION='3'
5804POSTGIS_MINOR_VERSION='0'
5805POSTGIS_PGSQL_HR_VERSION='13.0'
5806POSTGIS_PGSQL_VERSION='130'
5807POSTGIS_PROJ_VERSION='72'
5808POSTGIS_SCRIPTS_VERSION='3.0.3'
5809POSTGIS_SFCGAL_VERSION=''
5810POSTGIS_VERSION='3.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1'
5811POSUB='po'
5812PROJ_CFLAGS=''
5813PROJ_CPPFLAGS='-I/opt/local/lib/proj7/include'
5814PROJ_LDFLAGS='-L/opt/local/lib/proj7/lib -lproj'
5815PROJ_LIBS=''
5816PROTOBUFC_CFLAGS=''
5817PROTOBUFC_LIBS=''
5818PROTOBUF_CPPFLAGS=''
5819PROTOBUF_LDFLAGS=''
5820PROTOCC=''
5821PROTOC_VERSION='0'
5822RANLIB='ranlib'
5823RASTER='raster'
5824RT_CORE_LIB=''
5825RT_LOADER=''
5826RT_PG_LIB=''
5827RT_POSTGIS_SQL=''
5828SED='/usr/bin/sed'
5829SET_MAKE=''
5830SFCGAL=''
5831SFCGAL_CONFIG=''
5832SFCGAL_CPPFLAGS=''
5833SFCGAL_LDFLAGS=''
5834SFCGAL_OBJS=''
5835SFCGAL_VERSION=''
5836SHELL='/bin/sh'
5837SHLIB_LINK=' -L/opt/local/lib -lgeos_c -L/opt/local/lib/proj7/lib -lproj -L/opt/local/lib -ljson-c  -L/opt/local/lib -lxml2 -L/opt/local/lib -lz -L/opt/local/lib -llzma -lpthread -liconv -L/opt/local/lib -licui18n -licuuc -licudata -lm   -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64'
5838SQLPP='/usr/bin/cpp -traditional-cpp -w -P'
5839SRID_MAX='999999'
5840SRID_USR_MAX='998999'
5841STRIP='strip'
5842TOPOLOGY='topology'
5843USE_NLS='yes'
5844WAGYU_CXX=''
5845WAGYU_LDFLAGS=''
5846WAGYU_LIB=''
5847WARNFLAGS=' -Wall -Wmissing-prototypes'
5848XCRUN='/usr/bin/xcrun'
5849XGETTEXT='/opt/local/bin/xgettext'
5850XGETTEXT_015='/opt/local/bin/xgettext'
5851XGETTEXT_EXTRA_OPTIONS=''
5852XML2CONFIG='/opt/local/bin/xml2-config'
5853XMLLINT='/opt/local/bin/xmllint'
5854XSLBASE=''
5855XSLTPROC='/opt/local/bin/xsltproc'
5856YACC='bison -y'
5857YFLAGS=''
5858ac_ct_AR='ar'
5859ac_ct_CC='/usr/bin/clang'
5860ac_ct_CXX=''
5861ac_ct_DUMPBIN=''
5862bindir='${exec_prefix}/bin'
5863build='x86_64-apple-darwin20.3.0'
5864build_alias=''
5865build_cpu='x86_64'
5866build_os='darwin20.3.0'
5867build_vendor='apple'
5868datadir='${datarootdir}'
5869datarootdir='${prefix}/share'
5870docdir='${datarootdir}/doc/${PACKAGE}'
5871dvidir='${docdir}'
5872exec_prefix='NONE'
5873host='x86_64-apple-darwin20.3.0'
5874host_alias=''
5875host_cpu='x86_64'
5876host_os='darwin20.3.0'
5877host_vendor='apple'
5878htmldir='${docdir}'
5879includedir='${prefix}/include'
5880infodir='${datarootdir}/info'
5881libdir='/opt/local/lib/postgresql13'
5882libexecdir='${exec_prefix}/libexec'
5883localedir='${datarootdir}/locale'
5884localstatedir='${prefix}/var'
5885mandir='${datarootdir}/man'
5886mkdir_p='$(top_builddir)/build-aux/install-sh -c -d'
5887oldincludedir='/usr/include'
5888pdfdir='${docdir}'
5889prefix='/opt/local'
5890program_transform_name='s,x,x,'
5891psdir='${docdir}'
5892runstatedir='${localstatedir}/run'
5893sbindir='${exec_prefix}/sbin'
5894sharedstatedir='${prefix}/com'
5895sysconfdir='${prefix}/etc'
5896target_alias=''
5897
5898## ----------- ##
5899## confdefs.h. ##
5900## ----------- ##
5901
5902/* confdefs.h */
5903#define PACKAGE_NAME ""
5904#define PACKAGE_TARNAME ""
5905#define PACKAGE_VERSION ""
5906#define PACKAGE_STRING ""
5907#define PACKAGE_BUGREPORT ""
5908#define PACKAGE_URL ""
5909#define STDC_HEADERS 1
5910#define HAVE_SYS_TYPES_H 1
5911#define HAVE_SYS_STAT_H 1
5912#define HAVE_STDLIB_H 1
5913#define HAVE_STRING_H 1
5914#define HAVE_MEMORY_H 1
5915#define HAVE_STRINGS_H 1
5916#define HAVE_INTTYPES_H 1
5917#define HAVE_STDINT_H 1
5918#define HAVE_UNISTD_H 1
5919#define HAVE_DLFCN_H 1
5920#define LT_OBJDIR ".libs/"
5921#define POSTGIS_MAJOR_VERSION "3"
5922#define POSTGIS_MINOR_VERSION "0"
5923#define POSTGIS_MICRO_VERSION "3"
5924#define YYTEXT_POINTER 1
5925#define HAVE_IEEEFP_H 0
5926#define HAVE_TERMIOS_H 1
5927#define HAVE_VASPRINTF 1
5928#define HAVE_ASPRINTF 1
5929#define HAVE_FSEEKO 1
5930#define HAVE_ICONV 1
5931#define PGSQL_LOCALEDIR "/opt/local/share/locale"
5932#define HAVE_LIBPQ 1
5933#define POSTGIS_PGSQL_VERSION 130
5934#define POSTGIS_PGSQL_HR_VERSION 13.0
5935#define HAVE_LIBXML_TREE_H 1
5936#define HAVE_LIBXML_PARSER_H 1
5937#define HAVE_LIBXML_XPATH_H 1
5938#define HAVE_LIBXML_XPATHINTERNALS_H 1
5939#define HAVE_LIBXML2 1
5940#define POSTGIS_LIBXML2_VERSION "2.9.10"
5941#define HAVE_LIBGEOS_C 1
5942#define POSTGIS_GEOS_VERSION 39
5943#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5944#define HAVE_CFLOCALECOPYCURRENT 1
5945#define HAVE_ICONV 1
5946#define ENABLE_NLS 1
5947#define HAVE_GETTEXT 1
5948#define HAVE_DCGETTEXT 1
5949#define POSTGIS_PROJ_VERSION 72
5950#define HAVE_LIBPROJ 1
5951#define HAVE_LIBJSON 1
5952#define PARANOIA_LEVEL 0
5953#define NDEBUG 0
5954#define POSTGIS_VERSION "3.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"
5955#define POSTGIS_LIB_VERSION "3.0.3"
5956#define POSTGIS_BUILD_DATE "2021-03-07 14:21:40"
5957#define POSTGIS_SCRIPTS_VERSION "3.0.3"
5958#define POSTGIS_RASTER_WARN_ON_TRUNCATION 0
5959#define POSTGIS_GDAL_VERSION 32
5960
5961configure: exit 1