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