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 djview configure 4.12, which was |
---|
5 | generated by GNU Autoconf 2.71. Invocation command line was |
---|
6 | |
---|
7 | $ ./configure --prefix=/opt/local --disable-dependency-tracking --disable-nsdejavu --disable-desktopfiles |
---|
8 | |
---|
9 | ## --------- ## |
---|
10 | ## Platform. ## |
---|
11 | ## --------- ## |
---|
12 | |
---|
13 | hostname = 36-47.wireless-city.scu.edu.tw |
---|
14 | uname -m = Power Macintosh |
---|
15 | uname -r = 9.8.0 |
---|
16 | uname -s = Darwin |
---|
17 | uname -v = Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC |
---|
18 | |
---|
19 | /usr/bin/uname -p = powerpc |
---|
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 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC |
---|
27 | Kernel configured for up to 4 processors. |
---|
28 | 4 processors are physically available. |
---|
29 | 4 processors are logically available. |
---|
30 | Processor type: ppc970 (PowerPC 970) |
---|
31 | Processors active: 0 1 2 3 |
---|
32 | Primary memory available: 16.00 gigabytes |
---|
33 | Default processor set: 63 tasks, 270 threads, 4 processors |
---|
34 | Load average: 1.39, Mach factor: 2.59 |
---|
35 | /bin/machine = unknown |
---|
36 | /usr/bin/oslevel = unknown |
---|
37 | /bin/universe = unknown |
---|
38 | |
---|
39 | PATH: /opt/local/libexec/qt4/bin/ |
---|
40 | PATH: /opt/local/bin/ |
---|
41 | PATH: /opt/local/sbin/ |
---|
42 | PATH: /bin/ |
---|
43 | PATH: /sbin/ |
---|
44 | PATH: /usr/bin/ |
---|
45 | PATH: /usr/sbin/ |
---|
46 | |
---|
47 | |
---|
48 | ## ----------- ## |
---|
49 | ## Core tests. ## |
---|
50 | ## ----------- ## |
---|
51 | |
---|
52 | configure:3123: looking for aux files: ltmain.sh compile ar-lib missing install-sh config.guess config.sub |
---|
53 | configure:3136: trying ./config/ |
---|
54 | configure:3165: ./config/ltmain.sh found |
---|
55 | configure:3165: ./config/compile found |
---|
56 | configure:3165: ./config/ar-lib found |
---|
57 | configure:3165: ./config/missing found |
---|
58 | configure:3147: ./config/install-sh found |
---|
59 | configure:3165: ./config/config.guess found |
---|
60 | configure:3165: ./config/config.sub found |
---|
61 | configure:3289: checking build system type |
---|
62 | configure:3304: result: powerpc-apple-darwin9.8.0 |
---|
63 | configure:3324: checking host system type |
---|
64 | configure:3338: result: powerpc-apple-darwin9.8.0 |
---|
65 | configure:3376: checking for a BSD-compatible install |
---|
66 | configure:3449: result: /usr/bin/install -c |
---|
67 | configure:3460: checking whether build environment is sane |
---|
68 | configure:3515: result: yes |
---|
69 | configure:3674: checking for a race-free mkdir -p |
---|
70 | configure:3718: result: /opt/local/bin/gmkdir -p |
---|
71 | configure:3725: checking for gawk |
---|
72 | configure:3746: found /opt/local/bin/gawk |
---|
73 | configure:3757: result: gawk |
---|
74 | configure:3768: checking whether make sets $(MAKE) |
---|
75 | configure:3791: result: yes |
---|
76 | configure:3821: checking whether make supports nested variables |
---|
77 | configure:3839: result: yes |
---|
78 | configure:3987: checking whether make supports nested variables |
---|
79 | configure:4005: result: yes |
---|
80 | configure:4029: checking whether make supports the include directive |
---|
81 | configure:4044: make -f confmf.GNU && cat confinc.out |
---|
82 | this is the am__doit target |
---|
83 | configure:4047: $? = 0 |
---|
84 | configure:4066: result: yes (GNU style) |
---|
85 | configure:4142: checking for gcc |
---|
86 | configure:4174: result: /usr/bin/gcc-4.2 |
---|
87 | configure:4527: checking for C compiler version |
---|
88 | configure:4536: /usr/bin/gcc-4.2 --version >&5 |
---|
89 | powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) |
---|
90 | Copyright (C) 2007 Free Software Foundation, Inc. |
---|
91 | This is free software; see the source for copying conditions. There is NO |
---|
92 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
93 | |
---|
94 | configure:4547: $? = 0 |
---|
95 | configure:4536: /usr/bin/gcc-4.2 -v >&5 |
---|
96 | Using built-in specs. |
---|
97 | Target: powerpc-apple-darwin9 |
---|
98 | Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-checking --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9 |
---|
99 | Thread model: posix |
---|
100 | gcc version 4.2.1 (Apple Inc. build 5577) |
---|
101 | configure:4547: $? = 0 |
---|
102 | configure:4536: /usr/bin/gcc-4.2 -V >&5 |
---|
103 | gcc-4.2: argument to `-V' is missing |
---|
104 | configure:4547: $? = 1 |
---|
105 | configure:4536: /usr/bin/gcc-4.2 -qversion >&5 |
---|
106 | powerpc-apple-darwin9-gcc-4.2.1: no input files |
---|
107 | configure:4547: $? = 1 |
---|
108 | configure:4536: /usr/bin/gcc-4.2 -version >&5 |
---|
109 | powerpc-apple-darwin9-gcc-4.2.1: no input files |
---|
110 | configure:4547: $? = 1 |
---|
111 | configure:4567: checking whether the C compiler works |
---|
112 | configure:4589: /usr/bin/gcc-4.2 -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include -arch ppc -arch ppc64 conftest.c >&5 |
---|
113 | configure:4593: $? = 0 |
---|
114 | configure:4643: result: yes |
---|
115 | configure:4646: checking for C compiler default output file name |
---|
116 | configure:4648: result: a.out |
---|
117 | configure:4654: checking for suffix of executables |
---|
118 | configure:4661: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include -arch ppc -arch ppc64 conftest.c >&5 |
---|
119 | configure:4665: $? = 0 |
---|
120 | configure:4688: result: |
---|
121 | configure:4710: checking whether we are cross compiling |
---|
122 | configure:4718: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include -arch ppc -arch ppc64 conftest.c >&5 |
---|
123 | configure:4722: $? = 0 |
---|
124 | configure:4729: ./conftest |
---|
125 | configure:4733: $? = 0 |
---|
126 | configure:4748: result: no |
---|
127 | configure:4753: checking for suffix of object files |
---|
128 | configure:4776: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include conftest.c >&5 |
---|
129 | configure:4780: $? = 0 |
---|
130 | configure:4802: result: o |
---|
131 | configure:4806: checking whether the compiler supports GNU C |
---|
132 | configure:4826: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include conftest.c >&5 |
---|
133 | configure:4826: $? = 0 |
---|
134 | configure:4836: result: yes |
---|
135 | configure:4847: checking whether /usr/bin/gcc-4.2 accepts -g |
---|
136 | configure:4868: /usr/bin/gcc-4.2 -c -g -I/opt/local/include conftest.c >&5 |
---|
137 | configure:4868: $? = 0 |
---|
138 | configure:4912: result: yes |
---|
139 | configure:4932: checking for /usr/bin/gcc-4.2 option to enable C11 features |
---|
140 | configure:4947: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include conftest.c >&5 |
---|
141 | conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance" |
---|
142 | conftest.c:118: error: expected ';', ',' or ')' before 'text' |
---|
143 | conftest.c:167:3: error: #error "Compiler does not advertise C11 conformance" |
---|
144 | conftest.c: In function '_Alignas': |
---|
145 | conftest.c:171: error: expected declaration specifiers before 'aligned_as_double' |
---|
146 | conftest.c:172: error: expected declaration specifiers or '...' before numeric constant |
---|
147 | conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment' |
---|
148 | conftest.c:173: error: storage class specified for parameter 'aligned_as_int' |
---|
149 | conftest.c:174: error: expected declaration specifiers or '...' before numeric constant |
---|
150 | conftest.c:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas' |
---|
151 | conftest.c:179: error: expected expression before 'int' |
---|
152 | conftest.c:179: error: enumerator value for 'int_alignment' is not an integer constant |
---|
153 | conftest.c:180: error: expected expression before 'int' |
---|
154 | conftest.c:180: error: enumerator value for 'int_array_alignment' is not an integer constant |
---|
155 | conftest.c:181: error: expected expression before 'char' |
---|
156 | conftest.c:182: error: enumerator value for 'char_alignment' is not an integer constant |
---|
157 | conftest.c:182: warning: empty declaration |
---|
158 | conftest.c:183: error: expected declaration specifiers before '_Static_assert' |
---|
159 | conftest.c:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return' |
---|
160 | conftest.c:192: error: expected specifier-qualifier-list before '_Static_assert' |
---|
161 | conftest.c:195: warning: empty declaration |
---|
162 | conftest.c:199: error: parameter 'utf8_literal' is initialized |
---|
163 | conftest.c:199: error: 'syntax' undeclared (first use in this function) |
---|
164 | conftest.c:199: error: (Each undeclared identifier is reported only once |
---|
165 | conftest.c:199: error: for each function it appears in.) |
---|
166 | conftest.c:199: error: expected ',' or ';' before 'error' |
---|
167 | conftest.c:202: error: storage class specified for parameter 'long_ptr' |
---|
168 | conftest.c:203: error: storage class specified for parameter 'long_ptr' |
---|
169 | conftest.c:203: error: redefinition of parameter 'long_ptr' |
---|
170 | conftest.c:202: error: previous definition of 'long_ptr' was here |
---|
171 | conftest.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr' |
---|
172 | conftest.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token |
---|
173 | conftest.c:271: error: old-style parameter declarations in prototyped function definition |
---|
174 | conftest.c:171: error: parameter name omitted |
---|
175 | conftest.c:271: error: expected '{' at end of input |
---|
176 | conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance" |
---|
177 | conftest.c:118: error: expected ';', ',' or ')' before 'text' |
---|
178 | conftest.c:167:3: error: #error "Compiler does not advertise C11 conformance" |
---|
179 | conftest.c: In function '_Alignas': |
---|
180 | conftest.c:171: error: expected declaration specifiers before 'aligned_as_double' |
---|
181 | conftest.c:172: error: expected declaration specifiers or '...' before numeric constant |
---|
182 | conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment' |
---|
183 | conftest.c:173: error: storage class specified for parameter 'aligned_as_int' |
---|
184 | conftest.c:174: error: expected declaration specifiers or '...' before numeric constant |
---|
185 | conftest.c:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas' |
---|
186 | conftest.c:179: error: expected expression before 'int' |
---|
187 | conftest.c:179: error: enumerator value for 'int_alignment' is not an integer constant |
---|
188 | conftest.c:180: error: expected expression before 'int' |
---|
189 | conftest.c:180: error: enumerator value for 'int_array_alignment' is not an integer constant |
---|
190 | conftest.c:181: error: expected expression before 'char' |
---|
191 | conftest.c:182: error: enumerator value for 'char_alignment' is not an integer constant |
---|
192 | conftest.c:182: warning: empty declaration |
---|
193 | conftest.c:183: error: expected declaration specifiers before '_Static_assert' |
---|
194 | conftest.c:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return' |
---|
195 | conftest.c:192: error: expected specifier-qualifier-list before '_Static_assert' |
---|
196 | conftest.c:195: warning: empty declaration |
---|
197 | conftest.c:199: error: parameter 'utf8_literal' is initialized |
---|
198 | conftest.c:199: error: 'syntax' undeclared (first use in this function) |
---|
199 | conftest.c:199: error: (Each undeclared identifier is reported only once |
---|
200 | conftest.c:199: error: for each function it appears in.) |
---|
201 | conftest.c:199: error: expected ',' or ';' before 'error' |
---|
202 | conftest.c:202: error: storage class specified for parameter 'long_ptr' |
---|
203 | conftest.c:203: error: storage class specified for parameter 'long_ptr' |
---|
204 | conftest.c:203: error: redefinition of parameter 'long_ptr' |
---|
205 | conftest.c:202: error: previous definition of 'long_ptr' was here |
---|
206 | conftest.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr' |
---|
207 | conftest.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token |
---|
208 | conftest.c:271: error: old-style parameter declarations in prototyped function definition |
---|
209 | conftest.c:171: error: parameter name omitted |
---|
210 | conftest.c:271: error: expected '{' at end of input |
---|
211 | fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/.tmp/ccnmWpmW.out (No such file or directory) |
---|
212 | configure:4947: $? = 1 |
---|
213 | configure: failed program was: |
---|
214 | | /* confdefs.h */ |
---|
215 | | #define PACKAGE_NAME "djview" |
---|
216 | | #define PACKAGE_TARNAME "djview" |
---|
217 | | #define PACKAGE_VERSION "4.12" |
---|
218 | | #define PACKAGE_STRING "djview 4.12" |
---|
219 | | #define PACKAGE_BUGREPORT "" |
---|
220 | | #define PACKAGE_URL "" |
---|
221 | | #define PACKAGE "djview" |
---|
222 | | #define VERSION "4.12" |
---|
223 | | /* end confdefs.h. */ |
---|
224 | | |
---|
225 | | /* Does the compiler advertise C89 conformance? |
---|
226 | | Do not test the value of __STDC__, because some compilers set it to 0 |
---|
227 | | while being otherwise adequately conformant. */ |
---|
228 | | #if !defined __STDC__ |
---|
229 | | # error "Compiler does not advertise C89 conformance" |
---|
230 | | #endif |
---|
231 | | |
---|
232 | | #include <stddef.h> |
---|
233 | | #include <stdarg.h> |
---|
234 | | struct stat; |
---|
235 | | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
---|
236 | | struct buf { int x; }; |
---|
237 | | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
---|
238 | | static char *e (p, i) |
---|
239 | | char **p; |
---|
240 | | int i; |
---|
241 | | { |
---|
242 | | return p[i]; |
---|
243 | | } |
---|
244 | | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
245 | | { |
---|
246 | | char *s; |
---|
247 | | va_list v; |
---|
248 | | va_start (v,p); |
---|
249 | | s = g (p, va_arg (v,int)); |
---|
250 | | va_end (v); |
---|
251 | | return s; |
---|
252 | | } |
---|
253 | | |
---|
254 | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
255 | | function prototypes and stuff, but not \xHH hex character constants. |
---|
256 | | These do not provoke an error unfortunately, instead are silently treated |
---|
257 | | as an "x". The following induces an error, until -std is added to get |
---|
258 | | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
---|
259 | | array size at least. It is necessary to write \x00 == 0 to get something |
---|
260 | | that is true only with -std. */ |
---|
261 | | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
262 | | |
---|
263 | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
264 | | inside strings and character constants. */ |
---|
265 | | #define FOO(x) 'x' |
---|
266 | | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
267 | | |
---|
268 | | int test (int i, double x); |
---|
269 | | struct s1 {int (*f) (int a);}; |
---|
270 | | struct s2 {int (*f) (double a);}; |
---|
271 | | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
---|
272 | | int, int); |
---|
273 | | |
---|
274 | | // Does the compiler advertise C99 conformance? |
---|
275 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
---|
276 | | # error "Compiler does not advertise C99 conformance" |
---|
277 | | #endif |
---|
278 | | |
---|
279 | | #include <stdbool.h> |
---|
280 | | extern int puts (const char *); |
---|
281 | | extern int printf (const char *, ...); |
---|
282 | | extern int dprintf (int, const char *, ...); |
---|
283 | | extern void *malloc (size_t); |
---|
284 | | |
---|
285 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
286 | | // dprintf is used instead of fprintf to avoid needing to declare |
---|
287 | | // FILE and stderr. |
---|
288 | | #define debug(...) dprintf (2, __VA_ARGS__) |
---|
289 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
290 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
291 | | static void |
---|
292 | | test_varargs_macros (void) |
---|
293 | | { |
---|
294 | | int x = 1234; |
---|
295 | | int y = 5678; |
---|
296 | | debug ("Flag"); |
---|
297 | | debug ("X = %d\n", x); |
---|
298 | | showlist (The first, second, and third items.); |
---|
299 | | report (x>y, "x is %d but y is %d", x, y); |
---|
300 | | } |
---|
301 | | |
---|
302 | | // Check long long types. |
---|
303 | | #define BIG64 18446744073709551615ull |
---|
304 | | #define BIG32 4294967295ul |
---|
305 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
306 | | #if !BIG_OK |
---|
307 | | #error "your preprocessor is broken" |
---|
308 | | #endif |
---|
309 | | #if BIG_OK |
---|
310 | | #else |
---|
311 | | #error "your preprocessor is broken" |
---|
312 | | #endif |
---|
313 | | static long long int bignum = -9223372036854775807LL; |
---|
314 | | static unsigned long long int ubignum = BIG64; |
---|
315 | | |
---|
316 | | struct incomplete_array |
---|
317 | | { |
---|
318 | | int datasize; |
---|
319 | | double data[]; |
---|
320 | | }; |
---|
321 | | |
---|
322 | | struct named_init { |
---|
323 | | int number; |
---|
324 | | const wchar_t *name; |
---|
325 | | double average; |
---|
326 | | }; |
---|
327 | | |
---|
328 | | typedef const char *ccp; |
---|
329 | | |
---|
330 | | static inline int |
---|
331 | | test_restrict (ccp restrict text) |
---|
332 | | { |
---|
333 | | // See if C++-style comments work. |
---|
334 | | // Iterate through items via the restricted pointer. |
---|
335 | | // Also check for declarations in for loops. |
---|
336 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
337 | | continue; |
---|
338 | | return 0; |
---|
339 | | } |
---|
340 | | |
---|
341 | | // Check varargs and va_copy. |
---|
342 | | static bool |
---|
343 | | test_varargs (const char *format, ...) |
---|
344 | | { |
---|
345 | | va_list args; |
---|
346 | | va_start (args, format); |
---|
347 | | va_list args_copy; |
---|
348 | | va_copy (args_copy, args); |
---|
349 | | |
---|
350 | | const char *str = ""; |
---|
351 | | int number = 0; |
---|
352 | | float fnumber = 0; |
---|
353 | | |
---|
354 | | while (*format) |
---|
355 | | { |
---|
356 | | switch (*format++) |
---|
357 | | { |
---|
358 | | case 's': // string |
---|
359 | | str = va_arg (args_copy, const char *); |
---|
360 | | break; |
---|
361 | | case 'd': // int |
---|
362 | | number = va_arg (args_copy, int); |
---|
363 | | break; |
---|
364 | | case 'f': // float |
---|
365 | | fnumber = va_arg (args_copy, double); |
---|
366 | | break; |
---|
367 | | default: |
---|
368 | | break; |
---|
369 | | } |
---|
370 | | } |
---|
371 | | va_end (args_copy); |
---|
372 | | va_end (args); |
---|
373 | | |
---|
374 | | return *str && number && fnumber; |
---|
375 | | } |
---|
376 | | |
---|
377 | | |
---|
378 | | // Does the compiler advertise C11 conformance? |
---|
379 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
---|
380 | | # error "Compiler does not advertise C11 conformance" |
---|
381 | | #endif |
---|
382 | | |
---|
383 | | // Check _Alignas. |
---|
384 | | char _Alignas (double) aligned_as_double; |
---|
385 | | char _Alignas (0) no_special_alignment; |
---|
386 | | extern char aligned_as_int; |
---|
387 | | char _Alignas (0) _Alignas (int) aligned_as_int; |
---|
388 | | |
---|
389 | | // Check _Alignof. |
---|
390 | | enum |
---|
391 | | { |
---|
392 | | int_alignment = _Alignof (int), |
---|
393 | | int_array_alignment = _Alignof (int[100]), |
---|
394 | | char_alignment = _Alignof (char) |
---|
395 | | }; |
---|
396 | | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
---|
397 | | |
---|
398 | | // Check _Noreturn. |
---|
399 | | int _Noreturn does_not_return (void) { for (;;) continue; } |
---|
400 | | |
---|
401 | | // Check _Static_assert. |
---|
402 | | struct test_static_assert |
---|
403 | | { |
---|
404 | | int x; |
---|
405 | | _Static_assert (sizeof (int) <= sizeof (long int), |
---|
406 | | "_Static_assert does not work in struct"); |
---|
407 | | long int y; |
---|
408 | | }; |
---|
409 | | |
---|
410 | | // Check UTF-8 literals. |
---|
411 | | #define u8 syntax error! |
---|
412 | | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
---|
413 | | |
---|
414 | | // Check duplicate typedefs. |
---|
415 | | typedef long *long_ptr; |
---|
416 | | typedef long int *long_ptr; |
---|
417 | | typedef long_ptr long_ptr; |
---|
418 | | |
---|
419 | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
---|
420 | | struct anonymous |
---|
421 | | { |
---|
422 | | union { |
---|
423 | | struct { int i; int j; }; |
---|
424 | | struct { int k; long int l; } w; |
---|
425 | | }; |
---|
426 | | int m; |
---|
427 | | } v1; |
---|
428 | | |
---|
429 | | |
---|
430 | | int |
---|
431 | | main (int argc, char **argv) |
---|
432 | | { |
---|
433 | | int ok = 0; |
---|
434 | | |
---|
435 | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
---|
436 | | |
---|
437 | | |
---|
438 | | // Check bool. |
---|
439 | | _Bool success = false; |
---|
440 | | success |= (argc != 0); |
---|
441 | | |
---|
442 | | // Check restrict. |
---|
443 | | if (test_restrict ("String literal") == 0) |
---|
444 | | success = true; |
---|
445 | | char *restrict newvar = "Another string"; |
---|
446 | | |
---|
447 | | // Check varargs. |
---|
448 | | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
449 | | test_varargs_macros (); |
---|
450 | | |
---|
451 | | // Check flexible array members. |
---|
452 | | struct incomplete_array *ia = |
---|
453 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
454 | | ia->datasize = 10; |
---|
455 | | for (int i = 0; i < ia->datasize; ++i) |
---|
456 | | ia->data[i] = i * 1.234; |
---|
457 | | |
---|
458 | | // Check named initializers. |
---|
459 | | struct named_init ni = { |
---|
460 | | .number = 34, |
---|
461 | | .name = L"Test wide string", |
---|
462 | | .average = 543.34343, |
---|
463 | | }; |
---|
464 | | |
---|
465 | | ni.number = 58; |
---|
466 | | |
---|
467 | | int dynamic_array[ni.number]; |
---|
468 | | dynamic_array[0] = argv[0][0]; |
---|
469 | | dynamic_array[ni.number - 1] = 543; |
---|
470 | | |
---|
471 | | // work around unused variable warnings |
---|
472 | | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
473 | | || dynamic_array[ni.number - 1] != 543); |
---|
474 | | |
---|
475 | | |
---|
476 | | _Static_assert ((offsetof (struct anonymous, i) |
---|
477 | | == offsetof (struct anonymous, w.k)), |
---|
478 | | "Anonymous union alignment botch"); |
---|
479 | | v1.i = 2; |
---|
480 | | v1.w.k = 5; |
---|
481 | | ok |= v1.i != 5; |
---|
482 | | |
---|
483 | | return ok; |
---|
484 | | } |
---|
485 | | |
---|
486 | configure:4947: /usr/bin/gcc-4.2 -std=gnu11 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include conftest.c >&5 |
---|
487 | cc1: error: unrecognized command line option "-std=gnu11" |
---|
488 | cc1: error: unrecognized command line option "-std=gnu11" |
---|
489 | fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/.tmp/ccCLJH7S.out (No such file or directory) |
---|
490 | configure:4947: $? = 1 |
---|
491 | configure: failed program was: |
---|
492 | | /* confdefs.h */ |
---|
493 | | #define PACKAGE_NAME "djview" |
---|
494 | | #define PACKAGE_TARNAME "djview" |
---|
495 | | #define PACKAGE_VERSION "4.12" |
---|
496 | | #define PACKAGE_STRING "djview 4.12" |
---|
497 | | #define PACKAGE_BUGREPORT "" |
---|
498 | | #define PACKAGE_URL "" |
---|
499 | | #define PACKAGE "djview" |
---|
500 | | #define VERSION "4.12" |
---|
501 | | /* end confdefs.h. */ |
---|
502 | | |
---|
503 | | /* Does the compiler advertise C89 conformance? |
---|
504 | | Do not test the value of __STDC__, because some compilers set it to 0 |
---|
505 | | while being otherwise adequately conformant. */ |
---|
506 | | #if !defined __STDC__ |
---|
507 | | # error "Compiler does not advertise C89 conformance" |
---|
508 | | #endif |
---|
509 | | |
---|
510 | | #include <stddef.h> |
---|
511 | | #include <stdarg.h> |
---|
512 | | struct stat; |
---|
513 | | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
---|
514 | | struct buf { int x; }; |
---|
515 | | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
---|
516 | | static char *e (p, i) |
---|
517 | | char **p; |
---|
518 | | int i; |
---|
519 | | { |
---|
520 | | return p[i]; |
---|
521 | | } |
---|
522 | | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
523 | | { |
---|
524 | | char *s; |
---|
525 | | va_list v; |
---|
526 | | va_start (v,p); |
---|
527 | | s = g (p, va_arg (v,int)); |
---|
528 | | va_end (v); |
---|
529 | | return s; |
---|
530 | | } |
---|
531 | | |
---|
532 | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
533 | | function prototypes and stuff, but not \xHH hex character constants. |
---|
534 | | These do not provoke an error unfortunately, instead are silently treated |
---|
535 | | as an "x". The following induces an error, until -std is added to get |
---|
536 | | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
---|
537 | | array size at least. It is necessary to write \x00 == 0 to get something |
---|
538 | | that is true only with -std. */ |
---|
539 | | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
540 | | |
---|
541 | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
542 | | inside strings and character constants. */ |
---|
543 | | #define FOO(x) 'x' |
---|
544 | | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
545 | | |
---|
546 | | int test (int i, double x); |
---|
547 | | struct s1 {int (*f) (int a);}; |
---|
548 | | struct s2 {int (*f) (double a);}; |
---|
549 | | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
---|
550 | | int, int); |
---|
551 | | |
---|
552 | | // Does the compiler advertise C99 conformance? |
---|
553 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
---|
554 | | # error "Compiler does not advertise C99 conformance" |
---|
555 | | #endif |
---|
556 | | |
---|
557 | | #include <stdbool.h> |
---|
558 | | extern int puts (const char *); |
---|
559 | | extern int printf (const char *, ...); |
---|
560 | | extern int dprintf (int, const char *, ...); |
---|
561 | | extern void *malloc (size_t); |
---|
562 | | |
---|
563 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
564 | | // dprintf is used instead of fprintf to avoid needing to declare |
---|
565 | | // FILE and stderr. |
---|
566 | | #define debug(...) dprintf (2, __VA_ARGS__) |
---|
567 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
568 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
569 | | static void |
---|
570 | | test_varargs_macros (void) |
---|
571 | | { |
---|
572 | | int x = 1234; |
---|
573 | | int y = 5678; |
---|
574 | | debug ("Flag"); |
---|
575 | | debug ("X = %d\n", x); |
---|
576 | | showlist (The first, second, and third items.); |
---|
577 | | report (x>y, "x is %d but y is %d", x, y); |
---|
578 | | } |
---|
579 | | |
---|
580 | | // Check long long types. |
---|
581 | | #define BIG64 18446744073709551615ull |
---|
582 | | #define BIG32 4294967295ul |
---|
583 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
584 | | #if !BIG_OK |
---|
585 | | #error "your preprocessor is broken" |
---|
586 | | #endif |
---|
587 | | #if BIG_OK |
---|
588 | | #else |
---|
589 | | #error "your preprocessor is broken" |
---|
590 | | #endif |
---|
591 | | static long long int bignum = -9223372036854775807LL; |
---|
592 | | static unsigned long long int ubignum = BIG64; |
---|
593 | | |
---|
594 | | struct incomplete_array |
---|
595 | | { |
---|
596 | | int datasize; |
---|
597 | | double data[]; |
---|
598 | | }; |
---|
599 | | |
---|
600 | | struct named_init { |
---|
601 | | int number; |
---|
602 | | const wchar_t *name; |
---|
603 | | double average; |
---|
604 | | }; |
---|
605 | | |
---|
606 | | typedef const char *ccp; |
---|
607 | | |
---|
608 | | static inline int |
---|
609 | | test_restrict (ccp restrict text) |
---|
610 | | { |
---|
611 | | // See if C++-style comments work. |
---|
612 | | // Iterate through items via the restricted pointer. |
---|
613 | | // Also check for declarations in for loops. |
---|
614 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
615 | | continue; |
---|
616 | | return 0; |
---|
617 | | } |
---|
618 | | |
---|
619 | | // Check varargs and va_copy. |
---|
620 | | static bool |
---|
621 | | test_varargs (const char *format, ...) |
---|
622 | | { |
---|
623 | | va_list args; |
---|
624 | | va_start (args, format); |
---|
625 | | va_list args_copy; |
---|
626 | | va_copy (args_copy, args); |
---|
627 | | |
---|
628 | | const char *str = ""; |
---|
629 | | int number = 0; |
---|
630 | | float fnumber = 0; |
---|
631 | | |
---|
632 | | while (*format) |
---|
633 | | { |
---|
634 | | switch (*format++) |
---|
635 | | { |
---|
636 | | case 's': // string |
---|
637 | | str = va_arg (args_copy, const char *); |
---|
638 | | break; |
---|
639 | | case 'd': // int |
---|
640 | | number = va_arg (args_copy, int); |
---|
641 | | break; |
---|
642 | | case 'f': // float |
---|
643 | | fnumber = va_arg (args_copy, double); |
---|
644 | | break; |
---|
645 | | default: |
---|
646 | | break; |
---|
647 | | } |
---|
648 | | } |
---|
649 | | va_end (args_copy); |
---|
650 | | va_end (args); |
---|
651 | | |
---|
652 | | return *str && number && fnumber; |
---|
653 | | } |
---|
654 | | |
---|
655 | | |
---|
656 | | // Does the compiler advertise C11 conformance? |
---|
657 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
---|
658 | | # error "Compiler does not advertise C11 conformance" |
---|
659 | | #endif |
---|
660 | | |
---|
661 | | // Check _Alignas. |
---|
662 | | char _Alignas (double) aligned_as_double; |
---|
663 | | char _Alignas (0) no_special_alignment; |
---|
664 | | extern char aligned_as_int; |
---|
665 | | char _Alignas (0) _Alignas (int) aligned_as_int; |
---|
666 | | |
---|
667 | | // Check _Alignof. |
---|
668 | | enum |
---|
669 | | { |
---|
670 | | int_alignment = _Alignof (int), |
---|
671 | | int_array_alignment = _Alignof (int[100]), |
---|
672 | | char_alignment = _Alignof (char) |
---|
673 | | }; |
---|
674 | | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
---|
675 | | |
---|
676 | | // Check _Noreturn. |
---|
677 | | int _Noreturn does_not_return (void) { for (;;) continue; } |
---|
678 | | |
---|
679 | | // Check _Static_assert. |
---|
680 | | struct test_static_assert |
---|
681 | | { |
---|
682 | | int x; |
---|
683 | | _Static_assert (sizeof (int) <= sizeof (long int), |
---|
684 | | "_Static_assert does not work in struct"); |
---|
685 | | long int y; |
---|
686 | | }; |
---|
687 | | |
---|
688 | | // Check UTF-8 literals. |
---|
689 | | #define u8 syntax error! |
---|
690 | | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
---|
691 | | |
---|
692 | | // Check duplicate typedefs. |
---|
693 | | typedef long *long_ptr; |
---|
694 | | typedef long int *long_ptr; |
---|
695 | | typedef long_ptr long_ptr; |
---|
696 | | |
---|
697 | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
---|
698 | | struct anonymous |
---|
699 | | { |
---|
700 | | union { |
---|
701 | | struct { int i; int j; }; |
---|
702 | | struct { int k; long int l; } w; |
---|
703 | | }; |
---|
704 | | int m; |
---|
705 | | } v1; |
---|
706 | | |
---|
707 | | |
---|
708 | | int |
---|
709 | | main (int argc, char **argv) |
---|
710 | | { |
---|
711 | | int ok = 0; |
---|
712 | | |
---|
713 | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
---|
714 | | |
---|
715 | | |
---|
716 | | // Check bool. |
---|
717 | | _Bool success = false; |
---|
718 | | success |= (argc != 0); |
---|
719 | | |
---|
720 | | // Check restrict. |
---|
721 | | if (test_restrict ("String literal") == 0) |
---|
722 | | success = true; |
---|
723 | | char *restrict newvar = "Another string"; |
---|
724 | | |
---|
725 | | // Check varargs. |
---|
726 | | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
727 | | test_varargs_macros (); |
---|
728 | | |
---|
729 | | // Check flexible array members. |
---|
730 | | struct incomplete_array *ia = |
---|
731 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
732 | | ia->datasize = 10; |
---|
733 | | for (int i = 0; i < ia->datasize; ++i) |
---|
734 | | ia->data[i] = i * 1.234; |
---|
735 | | |
---|
736 | | // Check named initializers. |
---|
737 | | struct named_init ni = { |
---|
738 | | .number = 34, |
---|
739 | | .name = L"Test wide string", |
---|
740 | | .average = 543.34343, |
---|
741 | | }; |
---|
742 | | |
---|
743 | | ni.number = 58; |
---|
744 | | |
---|
745 | | int dynamic_array[ni.number]; |
---|
746 | | dynamic_array[0] = argv[0][0]; |
---|
747 | | dynamic_array[ni.number - 1] = 543; |
---|
748 | | |
---|
749 | | // work around unused variable warnings |
---|
750 | | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
751 | | || dynamic_array[ni.number - 1] != 543); |
---|
752 | | |
---|
753 | | |
---|
754 | | _Static_assert ((offsetof (struct anonymous, i) |
---|
755 | | == offsetof (struct anonymous, w.k)), |
---|
756 | | "Anonymous union alignment botch"); |
---|
757 | | v1.i = 2; |
---|
758 | | v1.w.k = 5; |
---|
759 | | ok |= v1.i != 5; |
---|
760 | | |
---|
761 | | return ok; |
---|
762 | | } |
---|
763 | | |
---|
764 | configure:4960: result: unsupported |
---|
765 | configure:4978: checking for /usr/bin/gcc-4.2 option to enable C99 features |
---|
766 | configure:4993: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include conftest.c >&5 |
---|
767 | conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance" |
---|
768 | conftest.c:118: error: expected ';', ',' or ')' before 'text' |
---|
769 | conftest.c: In function 'main': |
---|
770 | conftest.c:180: error: nested functions are disabled, use -fnested-functions to re-enable |
---|
771 | conftest.c:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' |
---|
772 | conftest.c:180: error: 'newvar' undeclared (first use in this function) |
---|
773 | conftest.c:180: error: (Each undeclared identifier is reported only once |
---|
774 | conftest.c:180: error: for each function it appears in.) |
---|
775 | conftest.c:190: error: 'for' loop initial declaration used outside C99 mode |
---|
776 | conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance" |
---|
777 | conftest.c:118: error: expected ';', ',' or ')' before 'text' |
---|
778 | conftest.c: In function 'main': |
---|
779 | conftest.c:180: error: nested functions are disabled, use -fnested-functions to re-enable |
---|
780 | conftest.c:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' |
---|
781 | conftest.c:180: error: 'newvar' undeclared (first use in this function) |
---|
782 | conftest.c:180: error: (Each undeclared identifier is reported only once |
---|
783 | conftest.c:180: error: for each function it appears in.) |
---|
784 | conftest.c:190: error: 'for' loop initial declaration used outside C99 mode |
---|
785 | fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/.tmp/ccG5TBMO.out (No such file or directory) |
---|
786 | configure:4993: $? = 1 |
---|
787 | configure: failed program was: |
---|
788 | | /* confdefs.h */ |
---|
789 | | #define PACKAGE_NAME "djview" |
---|
790 | | #define PACKAGE_TARNAME "djview" |
---|
791 | | #define PACKAGE_VERSION "4.12" |
---|
792 | | #define PACKAGE_STRING "djview 4.12" |
---|
793 | | #define PACKAGE_BUGREPORT "" |
---|
794 | | #define PACKAGE_URL "" |
---|
795 | | #define PACKAGE "djview" |
---|
796 | | #define VERSION "4.12" |
---|
797 | | /* end confdefs.h. */ |
---|
798 | | |
---|
799 | | /* Does the compiler advertise C89 conformance? |
---|
800 | | Do not test the value of __STDC__, because some compilers set it to 0 |
---|
801 | | while being otherwise adequately conformant. */ |
---|
802 | | #if !defined __STDC__ |
---|
803 | | # error "Compiler does not advertise C89 conformance" |
---|
804 | | #endif |
---|
805 | | |
---|
806 | | #include <stddef.h> |
---|
807 | | #include <stdarg.h> |
---|
808 | | struct stat; |
---|
809 | | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
---|
810 | | struct buf { int x; }; |
---|
811 | | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
---|
812 | | static char *e (p, i) |
---|
813 | | char **p; |
---|
814 | | int i; |
---|
815 | | { |
---|
816 | | return p[i]; |
---|
817 | | } |
---|
818 | | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
819 | | { |
---|
820 | | char *s; |
---|
821 | | va_list v; |
---|
822 | | va_start (v,p); |
---|
823 | | s = g (p, va_arg (v,int)); |
---|
824 | | va_end (v); |
---|
825 | | return s; |
---|
826 | | } |
---|
827 | | |
---|
828 | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
829 | | function prototypes and stuff, but not \xHH hex character constants. |
---|
830 | | These do not provoke an error unfortunately, instead are silently treated |
---|
831 | | as an "x". The following induces an error, until -std is added to get |
---|
832 | | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
---|
833 | | array size at least. It is necessary to write \x00 == 0 to get something |
---|
834 | | that is true only with -std. */ |
---|
835 | | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
836 | | |
---|
837 | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
838 | | inside strings and character constants. */ |
---|
839 | | #define FOO(x) 'x' |
---|
840 | | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
841 | | |
---|
842 | | int test (int i, double x); |
---|
843 | | struct s1 {int (*f) (int a);}; |
---|
844 | | struct s2 {int (*f) (double a);}; |
---|
845 | | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
---|
846 | | int, int); |
---|
847 | | |
---|
848 | | // Does the compiler advertise C99 conformance? |
---|
849 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
---|
850 | | # error "Compiler does not advertise C99 conformance" |
---|
851 | | #endif |
---|
852 | | |
---|
853 | | #include <stdbool.h> |
---|
854 | | extern int puts (const char *); |
---|
855 | | extern int printf (const char *, ...); |
---|
856 | | extern int dprintf (int, const char *, ...); |
---|
857 | | extern void *malloc (size_t); |
---|
858 | | |
---|
859 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
860 | | // dprintf is used instead of fprintf to avoid needing to declare |
---|
861 | | // FILE and stderr. |
---|
862 | | #define debug(...) dprintf (2, __VA_ARGS__) |
---|
863 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
864 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
865 | | static void |
---|
866 | | test_varargs_macros (void) |
---|
867 | | { |
---|
868 | | int x = 1234; |
---|
869 | | int y = 5678; |
---|
870 | | debug ("Flag"); |
---|
871 | | debug ("X = %d\n", x); |
---|
872 | | showlist (The first, second, and third items.); |
---|
873 | | report (x>y, "x is %d but y is %d", x, y); |
---|
874 | | } |
---|
875 | | |
---|
876 | | // Check long long types. |
---|
877 | | #define BIG64 18446744073709551615ull |
---|
878 | | #define BIG32 4294967295ul |
---|
879 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
880 | | #if !BIG_OK |
---|
881 | | #error "your preprocessor is broken" |
---|
882 | | #endif |
---|
883 | | #if BIG_OK |
---|
884 | | #else |
---|
885 | | #error "your preprocessor is broken" |
---|
886 | | #endif |
---|
887 | | static long long int bignum = -9223372036854775807LL; |
---|
888 | | static unsigned long long int ubignum = BIG64; |
---|
889 | | |
---|
890 | | struct incomplete_array |
---|
891 | | { |
---|
892 | | int datasize; |
---|
893 | | double data[]; |
---|
894 | | }; |
---|
895 | | |
---|
896 | | struct named_init { |
---|
897 | | int number; |
---|
898 | | const wchar_t *name; |
---|
899 | | double average; |
---|
900 | | }; |
---|
901 | | |
---|
902 | | typedef const char *ccp; |
---|
903 | | |
---|
904 | | static inline int |
---|
905 | | test_restrict (ccp restrict text) |
---|
906 | | { |
---|
907 | | // See if C++-style comments work. |
---|
908 | | // Iterate through items via the restricted pointer. |
---|
909 | | // Also check for declarations in for loops. |
---|
910 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
911 | | continue; |
---|
912 | | return 0; |
---|
913 | | } |
---|
914 | | |
---|
915 | | // Check varargs and va_copy. |
---|
916 | | static bool |
---|
917 | | test_varargs (const char *format, ...) |
---|
918 | | { |
---|
919 | | va_list args; |
---|
920 | | va_start (args, format); |
---|
921 | | va_list args_copy; |
---|
922 | | va_copy (args_copy, args); |
---|
923 | | |
---|
924 | | const char *str = ""; |
---|
925 | | int number = 0; |
---|
926 | | float fnumber = 0; |
---|
927 | | |
---|
928 | | while (*format) |
---|
929 | | { |
---|
930 | | switch (*format++) |
---|
931 | | { |
---|
932 | | case 's': // string |
---|
933 | | str = va_arg (args_copy, const char *); |
---|
934 | | break; |
---|
935 | | case 'd': // int |
---|
936 | | number = va_arg (args_copy, int); |
---|
937 | | break; |
---|
938 | | case 'f': // float |
---|
939 | | fnumber = va_arg (args_copy, double); |
---|
940 | | break; |
---|
941 | | default: |
---|
942 | | break; |
---|
943 | | } |
---|
944 | | } |
---|
945 | | va_end (args_copy); |
---|
946 | | va_end (args); |
---|
947 | | |
---|
948 | | return *str && number && fnumber; |
---|
949 | | } |
---|
950 | | |
---|
951 | | |
---|
952 | | int |
---|
953 | | main (int argc, char **argv) |
---|
954 | | { |
---|
955 | | int ok = 0; |
---|
956 | | |
---|
957 | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
---|
958 | | |
---|
959 | | |
---|
960 | | // Check bool. |
---|
961 | | _Bool success = false; |
---|
962 | | success |= (argc != 0); |
---|
963 | | |
---|
964 | | // Check restrict. |
---|
965 | | if (test_restrict ("String literal") == 0) |
---|
966 | | success = true; |
---|
967 | | char *restrict newvar = "Another string"; |
---|
968 | | |
---|
969 | | // Check varargs. |
---|
970 | | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
971 | | test_varargs_macros (); |
---|
972 | | |
---|
973 | | // Check flexible array members. |
---|
974 | | struct incomplete_array *ia = |
---|
975 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
976 | | ia->datasize = 10; |
---|
977 | | for (int i = 0; i < ia->datasize; ++i) |
---|
978 | | ia->data[i] = i * 1.234; |
---|
979 | | |
---|
980 | | // Check named initializers. |
---|
981 | | struct named_init ni = { |
---|
982 | | .number = 34, |
---|
983 | | .name = L"Test wide string", |
---|
984 | | .average = 543.34343, |
---|
985 | | }; |
---|
986 | | |
---|
987 | | ni.number = 58; |
---|
988 | | |
---|
989 | | int dynamic_array[ni.number]; |
---|
990 | | dynamic_array[0] = argv[0][0]; |
---|
991 | | dynamic_array[ni.number - 1] = 543; |
---|
992 | | |
---|
993 | | // work around unused variable warnings |
---|
994 | | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
995 | | || dynamic_array[ni.number - 1] != 543); |
---|
996 | | |
---|
997 | | return ok; |
---|
998 | | } |
---|
999 | | |
---|
1000 | configure:4993: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include conftest.c >&5 |
---|
1001 | configure:4993: $? = 0 |
---|
1002 | configure:5014: result: -std=gnu99 |
---|
1003 | configure:5081: checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o together |
---|
1004 | configure:5104: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o |
---|
1005 | configure:5107: $? = 0 |
---|
1006 | configure:5104: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o |
---|
1007 | configure:5107: $? = 0 |
---|
1008 | configure:5119: result: yes |
---|
1009 | configure:5138: checking dependency style of /usr/bin/gcc-4.2 -std=gnu99 |
---|
1010 | configure:5250: result: none |
---|
1011 | configure:5321: checking for ar |
---|
1012 | configure:5342: found /opt/local/bin/ar |
---|
1013 | configure:5353: result: ar |
---|
1014 | configure:5379: checking the archiver (ar) interface |
---|
1015 | configure:5396: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include conftest.c >&5 |
---|
1016 | configure:5396: $? = 0 |
---|
1017 | configure:5399: ar cru libconftest.a conftest.o >&5 |
---|
1018 | /opt/local/bin/ranlib: archive member: libconftest.a(conftest.o) fat object file's offset in archive not a multiple of 8) (must be since member is a 64-bit object file) |
---|
1019 | configure:5402: $? = 0 |
---|
1020 | configure:5430: result: ar |
---|
1021 | configure:5519: checking whether make sets $(MAKE) |
---|
1022 | configure:5542: result: yes |
---|
1023 | configure:5553: checking whether ln -s works |
---|
1024 | configure:5557: result: yes |
---|
1025 | configure:5565: checking for a sed that does not truncate output |
---|
1026 | configure:5635: result: /usr/bin/sed |
---|
1027 | configure:5643: checking for rm |
---|
1028 | configure:5666: found /bin/rm |
---|
1029 | configure:5678: result: /bin/rm |
---|
1030 | configure:5688: checking for rmdir |
---|
1031 | configure:5711: found /bin/rmdir |
---|
1032 | configure:5723: result: /bin/rmdir |
---|
1033 | configure:5733: checking for touch |
---|
1034 | configure:5756: found /usr/bin/touch |
---|
1035 | configure:5768: result: /usr/bin/touch |
---|
1036 | configure:5778: checking for mkdir |
---|
1037 | configure:5801: found /bin/mkdir |
---|
1038 | configure:5813: result: /bin/mkdir |
---|
1039 | configure:5823: checking for awk |
---|
1040 | configure:5846: found /usr/bin/awk |
---|
1041 | configure:5858: result: /usr/bin/awk |
---|
1042 | configure:5870: checking for rm |
---|
1043 | configure:5905: result: /bin/rm |
---|
1044 | configure:5969: checking for gcc |
---|
1045 | configure:6001: result: /usr/bin/gcc-4.2 |
---|
1046 | configure:6354: checking for C compiler version |
---|
1047 | configure:6363: /usr/bin/gcc-4.2 --version >&5 |
---|
1048 | powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) |
---|
1049 | Copyright (C) 2007 Free Software Foundation, Inc. |
---|
1050 | This is free software; see the source for copying conditions. There is NO |
---|
1051 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
1052 | |
---|
1053 | configure:6374: $? = 0 |
---|
1054 | configure:6363: /usr/bin/gcc-4.2 -v >&5 |
---|
1055 | Using built-in specs. |
---|
1056 | Target: powerpc-apple-darwin9 |
---|
1057 | Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-checking --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9 |
---|
1058 | Thread model: posix |
---|
1059 | gcc version 4.2.1 (Apple Inc. build 5577) |
---|
1060 | configure:6374: $? = 0 |
---|
1061 | configure:6363: /usr/bin/gcc-4.2 -V >&5 |
---|
1062 | gcc-4.2: argument to `-V' is missing |
---|
1063 | configure:6374: $? = 1 |
---|
1064 | configure:6363: /usr/bin/gcc-4.2 -qversion >&5 |
---|
1065 | powerpc-apple-darwin9-gcc-4.2.1: no input files |
---|
1066 | configure:6374: $? = 1 |
---|
1067 | configure:6363: /usr/bin/gcc-4.2 -version >&5 |
---|
1068 | powerpc-apple-darwin9-gcc-4.2.1: no input files |
---|
1069 | configure:6374: $? = 1 |
---|
1070 | configure:6378: checking whether the compiler supports GNU C |
---|
1071 | configure:6408: result: yes |
---|
1072 | configure:6419: checking whether /usr/bin/gcc-4.2 accepts -g |
---|
1073 | configure:6484: result: yes |
---|
1074 | configure:6504: checking for /usr/bin/gcc-4.2 option to enable C11 features |
---|
1075 | configure:6532: result: unsupported |
---|
1076 | configure:6550: checking for /usr/bin/gcc-4.2 option to enable C99 features |
---|
1077 | configure:6586: result: -std=gnu99 |
---|
1078 | configure:6653: checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o together |
---|
1079 | configure:6691: result: yes |
---|
1080 | configure:6710: checking dependency style of /usr/bin/gcc-4.2 -std=gnu99 |
---|
1081 | configure:6822: result: none |
---|
1082 | configure:6965: checking for C++ compiler version |
---|
1083 | configure:6974: /usr/bin/g++-4.2 --version >&5 |
---|
1084 | powerpc-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) |
---|
1085 | Copyright (C) 2007 Free Software Foundation, Inc. |
---|
1086 | This is free software; see the source for copying conditions. There is NO |
---|
1087 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
1088 | |
---|
1089 | configure:6985: $? = 0 |
---|
1090 | configure:6974: /usr/bin/g++-4.2 -v >&5 |
---|
1091 | Using built-in specs. |
---|
1092 | Target: powerpc-apple-darwin9 |
---|
1093 | Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-checking --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9 |
---|
1094 | Thread model: posix |
---|
1095 | gcc version 4.2.1 (Apple Inc. build 5577) |
---|
1096 | configure:6985: $? = 0 |
---|
1097 | configure:6974: /usr/bin/g++-4.2 -V >&5 |
---|
1098 | g++-4.2: argument to `-V' is missing |
---|
1099 | configure:6985: $? = 1 |
---|
1100 | configure:6974: /usr/bin/g++-4.2 -qversion >&5 |
---|
1101 | powerpc-apple-darwin9-g++-4.2.1: no input files |
---|
1102 | configure:6985: $? = 1 |
---|
1103 | configure:6989: checking whether the compiler supports GNU C++ |
---|
1104 | configure:7009: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1105 | configure:7009: $? = 0 |
---|
1106 | configure:7019: result: yes |
---|
1107 | configure:7030: checking whether /usr/bin/g++-4.2 accepts -g |
---|
1108 | configure:7051: /usr/bin/g++-4.2 -c -g -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1109 | configure:7051: $? = 0 |
---|
1110 | configure:7095: result: yes |
---|
1111 | configure:7115: checking for /usr/bin/g++-4.2 option to enable C++11 features |
---|
1112 | configure:7130: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1113 | conftest.cpp:14:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
1114 | conftest.cpp:57:3: error: #error "Compiler does not advertise C++11 conformance" |
---|
1115 | conftest.cpp:62: error: expected constructor, destructor, or type conversion before 'int' |
---|
1116 | conftest.cpp: In constructor 'cxx11test::delegate::delegate()': |
---|
1117 | conftest.cpp:74: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate' |
---|
1118 | conftest.cpp: At global scope: |
---|
1119 | conftest.cpp:85: error: expected ';' before 'override' |
---|
1120 | conftest.cpp:86: error: expected `;' before '}' token |
---|
1121 | conftest.cpp:92: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
1122 | conftest.cpp:93: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
1123 | conftest.cpp:94: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
1124 | conftest.cpp:92: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()' |
---|
1125 | conftest.cpp:93: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)' |
---|
1126 | conftest.cpp:94: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)' |
---|
1127 | conftest.cpp:106: error: expected initializer before '->' token |
---|
1128 | conftest.cpp:110: error: expected nested-name-specifier before '...' token |
---|
1129 | conftest.cpp:110: error: expected '>' before '...' token |
---|
1130 | conftest.cpp:110: error: 'Args' has not been declared |
---|
1131 | conftest.cpp:110: error: expected `)' before 'rest' |
---|
1132 | conftest.cpp:110: error: expected initializer before 'rest' |
---|
1133 | conftest.cpp: In function 'int main(int, char**)': |
---|
1134 | conftest.cpp:134: error: ISO C++ forbids declaration of 'a1' with no type |
---|
1135 | conftest.cpp:135: error: ISO C++ forbids declaration of 'a2' with no type |
---|
1136 | conftest.cpp:136: error: ISO C++ forbids declaration of 'a3' with no type |
---|
1137 | conftest.cpp:136: error: invalid conversion from 'const char*' to 'int' |
---|
1138 | conftest.cpp:139: error: ISO C++ forbids declaration of 'i' with no type |
---|
1139 | conftest.cpp:139: error: invalid type argument of 'unary *' |
---|
1140 | conftest.cpp:139: error: invalid type argument of 'unary *' |
---|
1141 | conftest.cpp:141: error: 'decltype' was not declared in this scope |
---|
1142 | conftest.cpp:141: error: expected `;' before 'a4' |
---|
1143 | conftest.cpp:145: error: 'get_val' is not a member of 'cxx11test' |
---|
1144 | conftest.cpp:155: error: a function-definition is not allowed here before ':' token |
---|
1145 | conftest.cpp:156: error: expected primary-expression before '}' token |
---|
1146 | conftest.cpp:156: error: expected `;' before '}' token |
---|
1147 | conftest.cpp:156: error: expected primary-expression before '}' token |
---|
1148 | conftest.cpp:156: error: expected `)' before '}' token |
---|
1149 | conftest.cpp:156: error: expected primary-expression before '}' token |
---|
1150 | conftest.cpp:156: error: expected `;' before '}' token |
---|
1151 | conftest.cpp:160: error: expected primary-expression before '[' token |
---|
1152 | conftest.cpp:160: error: expected primary-expression before ']' token |
---|
1153 | conftest.cpp:160: error: expected primary-expression before 'int' |
---|
1154 | conftest.cpp:162: error: expected primary-expression before '[' token |
---|
1155 | conftest.cpp:162: error: expected primary-expression before ']' token |
---|
1156 | conftest.cpp:162: error: expected primary-expression before 'double' |
---|
1157 | conftest.cpp:164: error: expected primary-expression before '[' token |
---|
1158 | conftest.cpp:164: error: expected primary-expression before '=' token |
---|
1159 | conftest.cpp:164: error: expected primary-expression before ']' token |
---|
1160 | conftest.cpp:164: error: expected primary-expression before 'double' |
---|
1161 | conftest.cpp:169: error: 'cxx11test::sum' has not been declared |
---|
1162 | conftest.cpp:170: error: ISO C++ forbids declaration of 'a' with no type |
---|
1163 | conftest.cpp:170: error: 'sum' was not declared in this scope |
---|
1164 | conftest.cpp:171: error: ISO C++ forbids declaration of 'b' with no type |
---|
1165 | conftest.cpp:172: error: ISO C++ forbids declaration of 'c' with no type |
---|
1166 | conftest.cpp:186: error: 'nullptr' was not declared in this scope |
---|
1167 | conftest.cpp:190: error: '>>' should be '> >' within a nested template argument list |
---|
1168 | conftest.cpp:190: error: '<::' cannot begin a template-argument list |
---|
1169 | conftest.cpp:190: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::' |
---|
1170 | conftest.cpp:190: note: (if you use -fpermissive G++ will accept your code) |
---|
1171 | conftest.cpp:194: error: 'u8' was not declared in this scope |
---|
1172 | conftest.cpp:194: error: expected ',' or ';' before string constant |
---|
1173 | conftest.cpp:195: error: 'char16_t' was not declared in this scope |
---|
1174 | conftest.cpp:195: error: expected `;' before 'const' |
---|
1175 | conftest.cpp:196: error: 'char32_t' was not declared in this scope |
---|
1176 | conftest.cpp:196: error: expected `;' before 'const' |
---|
1177 | conftest.cpp:14:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
1178 | conftest.cpp:57:3: error: #error "Compiler does not advertise C++11 conformance" |
---|
1179 | conftest.cpp:62: error: expected constructor, destructor, or type conversion before 'int' |
---|
1180 | conftest.cpp: In constructor 'cxx11test::delegate::delegate()': |
---|
1181 | conftest.cpp:74: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate' |
---|
1182 | conftest.cpp: At global scope: |
---|
1183 | conftest.cpp:85: error: expected ';' before 'override' |
---|
1184 | conftest.cpp:86: error: expected `;' before '}' token |
---|
1185 | conftest.cpp:92: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
1186 | conftest.cpp:93: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
1187 | conftest.cpp:94: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
1188 | conftest.cpp:92: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()' |
---|
1189 | conftest.cpp:93: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)' |
---|
1190 | conftest.cpp:94: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)' |
---|
1191 | conftest.cpp:106: error: expected initializer before '->' token |
---|
1192 | conftest.cpp:110: error: expected nested-name-specifier before '...' token |
---|
1193 | conftest.cpp:110: error: expected '>' before '...' token |
---|
1194 | conftest.cpp:110: error: 'Args' has not been declared |
---|
1195 | conftest.cpp:110: error: expected `)' before 'rest' |
---|
1196 | conftest.cpp:110: error: expected initializer before 'rest' |
---|
1197 | conftest.cpp: In function 'int main(int, char**)': |
---|
1198 | conftest.cpp:134: error: ISO C++ forbids declaration of 'a1' with no type |
---|
1199 | conftest.cpp:135: error: ISO C++ forbids declaration of 'a2' with no type |
---|
1200 | conftest.cpp:136: error: ISO C++ forbids declaration of 'a3' with no type |
---|
1201 | conftest.cpp:136: error: invalid conversion from 'const char*' to 'int' |
---|
1202 | conftest.cpp:139: error: ISO C++ forbids declaration of 'i' with no type |
---|
1203 | conftest.cpp:139: error: invalid type argument of 'unary *' |
---|
1204 | conftest.cpp:139: error: invalid type argument of 'unary *' |
---|
1205 | conftest.cpp:141: error: 'decltype' was not declared in this scope |
---|
1206 | conftest.cpp:141: error: expected `;' before 'a4' |
---|
1207 | conftest.cpp:145: error: 'get_val' is not a member of 'cxx11test' |
---|
1208 | conftest.cpp:155: error: a function-definition is not allowed here before ':' token |
---|
1209 | conftest.cpp:156: error: expected primary-expression before '}' token |
---|
1210 | conftest.cpp:156: error: expected `;' before '}' token |
---|
1211 | conftest.cpp:156: error: expected primary-expression before '}' token |
---|
1212 | conftest.cpp:156: error: expected `)' before '}' token |
---|
1213 | conftest.cpp:156: error: expected primary-expression before '}' token |
---|
1214 | conftest.cpp:156: error: expected `;' before '}' token |
---|
1215 | conftest.cpp:160: error: expected primary-expression before '[' token |
---|
1216 | conftest.cpp:160: error: expected primary-expression before ']' token |
---|
1217 | conftest.cpp:160: error: expected primary-expression before 'int' |
---|
1218 | conftest.cpp:162: error: expected primary-expression before '[' token |
---|
1219 | conftest.cpp:162: error: expected primary-expression before ']' token |
---|
1220 | conftest.cpp:162: error: expected primary-expression before 'double' |
---|
1221 | conftest.cpp:164: error: expected primary-expression before '[' token |
---|
1222 | conftest.cpp:164: error: expected primary-expression before '=' token |
---|
1223 | conftest.cpp:164: error: expected primary-expression before ']' token |
---|
1224 | conftest.cpp:164: error: expected primary-expression before 'double' |
---|
1225 | conftest.cpp:169: error: 'cxx11test::sum' has not been declared |
---|
1226 | conftest.cpp:170: error: ISO C++ forbids declaration of 'a' with no type |
---|
1227 | conftest.cpp:170: error: 'sum' was not declared in this scope |
---|
1228 | conftest.cpp:171: error: ISO C++ forbids declaration of 'b' with no type |
---|
1229 | conftest.cpp:172: error: ISO C++ forbids declaration of 'c' with no type |
---|
1230 | conftest.cpp:186: error: 'nullptr' was not declared in this scope |
---|
1231 | conftest.cpp:190: error: '>>' should be '> >' within a nested template argument list |
---|
1232 | conftest.cpp:190: error: '<::' cannot begin a template-argument list |
---|
1233 | conftest.cpp:190: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::' |
---|
1234 | conftest.cpp:190: note: (if you use -fpermissive G++ will accept your code) |
---|
1235 | conftest.cpp:194: error: 'u8' was not declared in this scope |
---|
1236 | conftest.cpp:194: error: expected ',' or ';' before string constant |
---|
1237 | conftest.cpp:195: error: 'char16_t' was not declared in this scope |
---|
1238 | conftest.cpp:195: error: expected `;' before 'const' |
---|
1239 | conftest.cpp:196: error: 'char32_t' was not declared in this scope |
---|
1240 | conftest.cpp:196: error: expected `;' before 'const' |
---|
1241 | fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/.tmp/ccHYEUEn.out (No such file or directory) |
---|
1242 | configure:7130: $? = 1 |
---|
1243 | configure: failed program was: |
---|
1244 | | /* confdefs.h */ |
---|
1245 | | #define PACKAGE_NAME "djview" |
---|
1246 | | #define PACKAGE_TARNAME "djview" |
---|
1247 | | #define PACKAGE_VERSION "4.12" |
---|
1248 | | #define PACKAGE_STRING "djview 4.12" |
---|
1249 | | #define PACKAGE_BUGREPORT "" |
---|
1250 | | #define PACKAGE_URL "" |
---|
1251 | | #define PACKAGE "djview" |
---|
1252 | | #define VERSION "4.12" |
---|
1253 | | /* end confdefs.h. */ |
---|
1254 | | |
---|
1255 | | // Does the compiler advertise C++98 conformance? |
---|
1256 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
1257 | | # error "Compiler does not advertise C++98 conformance" |
---|
1258 | | #endif |
---|
1259 | | |
---|
1260 | | // These inclusions are to reject old compilers that |
---|
1261 | | // lack the unsuffixed header files. |
---|
1262 | | #include <cstdlib> |
---|
1263 | | #include <exception> |
---|
1264 | | |
---|
1265 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
1266 | | extern void assert (int); |
---|
1267 | | namespace std { |
---|
1268 | | extern int strcmp (const char *, const char *); |
---|
1269 | | } |
---|
1270 | | |
---|
1271 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
1272 | | using std::exception; |
---|
1273 | | using std::strcmp; |
---|
1274 | | |
---|
1275 | | namespace { |
---|
1276 | | |
---|
1277 | | void test_exception_syntax() |
---|
1278 | | { |
---|
1279 | | try { |
---|
1280 | | throw "test"; |
---|
1281 | | } catch (const char *s) { |
---|
1282 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
1283 | | // due to lint rules shared with more typical C programs. |
---|
1284 | | assert (!(strcmp) (s, "test")); |
---|
1285 | | } |
---|
1286 | | } |
---|
1287 | | |
---|
1288 | | template <typename T> struct test_template |
---|
1289 | | { |
---|
1290 | | T const val; |
---|
1291 | | explicit test_template(T t) : val(t) {} |
---|
1292 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
1293 | | }; |
---|
1294 | | |
---|
1295 | | } // anonymous namespace |
---|
1296 | | |
---|
1297 | | |
---|
1298 | | // Does the compiler advertise C++ 2011 conformance? |
---|
1299 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
1300 | | # error "Compiler does not advertise C++11 conformance" |
---|
1301 | | #endif |
---|
1302 | | |
---|
1303 | | namespace cxx11test |
---|
1304 | | { |
---|
1305 | | constexpr int get_val() { return 20; } |
---|
1306 | | |
---|
1307 | | struct testinit |
---|
1308 | | { |
---|
1309 | | int i; |
---|
1310 | | double d; |
---|
1311 | | }; |
---|
1312 | | |
---|
1313 | | class delegate |
---|
1314 | | { |
---|
1315 | | public: |
---|
1316 | | delegate(int n) : n(n) {} |
---|
1317 | | delegate(): delegate(2354) {} |
---|
1318 | | |
---|
1319 | | virtual int getval() { return this->n; }; |
---|
1320 | | protected: |
---|
1321 | | int n; |
---|
1322 | | }; |
---|
1323 | | |
---|
1324 | | class overridden : public delegate |
---|
1325 | | { |
---|
1326 | | public: |
---|
1327 | | overridden(int n): delegate(n) {} |
---|
1328 | | virtual int getval() override final { return this->n * 2; } |
---|
1329 | | }; |
---|
1330 | | |
---|
1331 | | class nocopy |
---|
1332 | | { |
---|
1333 | | public: |
---|
1334 | | nocopy(int i): i(i) {} |
---|
1335 | | nocopy() = default; |
---|
1336 | | nocopy(const nocopy&) = delete; |
---|
1337 | | nocopy & operator=(const nocopy&) = delete; |
---|
1338 | | private: |
---|
1339 | | int i; |
---|
1340 | | }; |
---|
1341 | | |
---|
1342 | | // for testing lambda expressions |
---|
1343 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
1344 | | { |
---|
1345 | | return f(v); |
---|
1346 | | } |
---|
1347 | | |
---|
1348 | | // for testing variadic templates and trailing return types |
---|
1349 | | template <typename V> auto sum(V first) -> V |
---|
1350 | | { |
---|
1351 | | return first; |
---|
1352 | | } |
---|
1353 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
1354 | | { |
---|
1355 | | return first + sum(rest...); |
---|
1356 | | } |
---|
1357 | | } |
---|
1358 | | |
---|
1359 | | |
---|
1360 | | int |
---|
1361 | | main (int argc, char **argv) |
---|
1362 | | { |
---|
1363 | | int ok = 0; |
---|
1364 | | |
---|
1365 | | assert (argc); |
---|
1366 | | assert (! argv[0]); |
---|
1367 | | { |
---|
1368 | | test_exception_syntax (); |
---|
1369 | | test_template<double> tt (2.0); |
---|
1370 | | assert (tt.add (4) == 6.0); |
---|
1371 | | assert (true && !false); |
---|
1372 | | } |
---|
1373 | | |
---|
1374 | | |
---|
1375 | | { |
---|
1376 | | // Test auto and decltype |
---|
1377 | | auto a1 = 6538; |
---|
1378 | | auto a2 = 48573953.4; |
---|
1379 | | auto a3 = "String literal"; |
---|
1380 | | |
---|
1381 | | int total = 0; |
---|
1382 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
1383 | | |
---|
1384 | | decltype(a2) a4 = 34895.034; |
---|
1385 | | } |
---|
1386 | | { |
---|
1387 | | // Test constexpr |
---|
1388 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
1389 | | } |
---|
1390 | | { |
---|
1391 | | // Test initializer lists |
---|
1392 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
1393 | | } |
---|
1394 | | { |
---|
1395 | | // Test range-based for |
---|
1396 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
1397 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
1398 | | for (auto &x : array) { x += 23; } |
---|
1399 | | } |
---|
1400 | | { |
---|
1401 | | // Test lambda expressions |
---|
1402 | | using cxx11test::eval; |
---|
1403 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
1404 | | double d = 2.0; |
---|
1405 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
1406 | | assert (d == 5.0); |
---|
1407 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
1408 | | assert (d == 5.0); |
---|
1409 | | } |
---|
1410 | | { |
---|
1411 | | // Test use of variadic templates |
---|
1412 | | using cxx11test::sum; |
---|
1413 | | auto a = sum(1); |
---|
1414 | | auto b = sum(1, 2); |
---|
1415 | | auto c = sum(1.0, 2.0, 3.0); |
---|
1416 | | } |
---|
1417 | | { |
---|
1418 | | // Test constructor delegation |
---|
1419 | | cxx11test::delegate d1; |
---|
1420 | | cxx11test::delegate d2(); |
---|
1421 | | cxx11test::delegate d3(45); |
---|
1422 | | } |
---|
1423 | | { |
---|
1424 | | // Test override and final |
---|
1425 | | cxx11test::overridden o1(55464); |
---|
1426 | | } |
---|
1427 | | { |
---|
1428 | | // Test nullptr |
---|
1429 | | char *c = nullptr; |
---|
1430 | | } |
---|
1431 | | { |
---|
1432 | | // Test template brackets |
---|
1433 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
1434 | | } |
---|
1435 | | { |
---|
1436 | | // Unicode literals |
---|
1437 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
1438 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
1439 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
1440 | | } |
---|
1441 | | |
---|
1442 | | return ok; |
---|
1443 | | } |
---|
1444 | | |
---|
1445 | configure:7148: result: none needed |
---|
1446 | configure:7214: checking dependency style of /usr/bin/g++-4.2 |
---|
1447 | configure:7326: result: none |
---|
1448 | configure:7457: checking for Objective C compiler version |
---|
1449 | configure:7466: /usr/bin/gcc-4.2 --version >&5 |
---|
1450 | powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) |
---|
1451 | Copyright (C) 2007 Free Software Foundation, Inc. |
---|
1452 | This is free software; see the source for copying conditions. There is NO |
---|
1453 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
1454 | |
---|
1455 | configure:7477: $? = 0 |
---|
1456 | configure:7466: /usr/bin/gcc-4.2 -v >&5 |
---|
1457 | Using built-in specs. |
---|
1458 | Target: powerpc-apple-darwin9 |
---|
1459 | Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-checking --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9 |
---|
1460 | Thread model: posix |
---|
1461 | gcc version 4.2.1 (Apple Inc. build 5577) |
---|
1462 | configure:7477: $? = 0 |
---|
1463 | configure:7466: /usr/bin/gcc-4.2 -V >&5 |
---|
1464 | gcc-4.2: argument to `-V' is missing |
---|
1465 | configure:7477: $? = 1 |
---|
1466 | configure:7466: /usr/bin/gcc-4.2 -qversion >&5 |
---|
1467 | powerpc-apple-darwin9-gcc-4.2.1: no input files |
---|
1468 | configure:7477: $? = 1 |
---|
1469 | configure:7481: checking whether the compiler supports GNU Objective C |
---|
1470 | configure:7501: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include -I/usr/local/include conftest.m >&5 |
---|
1471 | configure:7501: $? = 0 |
---|
1472 | configure:7511: result: yes |
---|
1473 | configure:7522: checking whether /usr/bin/gcc-4.2 accepts -g |
---|
1474 | configure:7543: /usr/bin/gcc-4.2 -c -g -I/opt/local/include -I/usr/local/include conftest.m >&5 |
---|
1475 | configure:7543: $? = 0 |
---|
1476 | configure:7587: result: yes |
---|
1477 | configure:7612: checking dependency style of /usr/bin/gcc-4.2 |
---|
1478 | configure:7722: result: none |
---|
1479 | configure:7778: checking if /usr/bin/g++-4.2 accepts -Wall |
---|
1480 | configure:7782: result: yes |
---|
1481 | configure:7795: checking if /usr/bin/g++-4.2 accepts -O2 |
---|
1482 | configure:7799: result: yes |
---|
1483 | configure:7913: checking how to print strings |
---|
1484 | configure:7940: result: printf |
---|
1485 | configure:7961: checking for a sed that does not truncate output |
---|
1486 | configure:8031: result: /usr/bin/sed |
---|
1487 | configure:8049: checking for grep that handles long lines and -e |
---|
1488 | configure:8113: result: /opt/local/bin/ggrep |
---|
1489 | configure:8118: checking for egrep |
---|
1490 | configure:8186: result: /opt/local/bin/ggrep -E |
---|
1491 | configure:8191: checking for fgrep |
---|
1492 | configure:8259: result: /opt/local/bin/ggrep -F |
---|
1493 | configure:8295: checking for ld used by /usr/bin/gcc-4.2 -std=gnu99 |
---|
1494 | configure:8363: result: /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld |
---|
1495 | configure:8370: checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) is GNU ld |
---|
1496 | configure:8386: result: no |
---|
1497 | configure:8398: checking for BSD- or MS-compatible name lister (nm) |
---|
1498 | configure:8453: result: /usr/bin/nm -p |
---|
1499 | configure:8593: checking the name lister (/usr/bin/nm -p) interface |
---|
1500 | configure:8601: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1501 | configure:8604: /usr/bin/nm -p "conftest.o" |
---|
1502 | configure:8607: output |
---|
1503 | 00000000 D _some_variable |
---|
1504 | configure:8614: result: BSD nm |
---|
1505 | configure:8618: checking the maximum length of command line arguments |
---|
1506 | configure:8750: result: 196608 |
---|
1507 | configure:8798: checking how to convert powerpc-apple-darwin9.8.0 file names to powerpc-apple-darwin9.8.0 format |
---|
1508 | configure:8839: result: func_convert_file_noop |
---|
1509 | configure:8846: checking how to convert powerpc-apple-darwin9.8.0 file names to toolchain format |
---|
1510 | configure:8867: result: func_convert_file_noop |
---|
1511 | configure:8874: checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld option to reload object files |
---|
1512 | configure:8882: result: -r |
---|
1513 | configure:8961: checking for objdump |
---|
1514 | configure:8996: result: no |
---|
1515 | configure:9025: checking how to recognize dependent libraries |
---|
1516 | configure:9226: result: pass_all |
---|
1517 | configure:9316: checking for dlltool |
---|
1518 | configure:9351: result: no |
---|
1519 | configure:9381: checking how to associate runtime and link libraries |
---|
1520 | configure:9409: result: printf %s\n |
---|
1521 | configure:9544: checking for archiver @FILE support |
---|
1522 | configure:9562: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1523 | configure:9562: $? = 0 |
---|
1524 | configure:9566: ar cru libconftest.a @conftest.lst >&5 |
---|
1525 | ar: @conftest.lst: No such file or directory |
---|
1526 | configure:9569: $? = 1 |
---|
1527 | configure:9589: result: no |
---|
1528 | configure:9652: checking for strip |
---|
1529 | configure:9673: found /opt/local/bin/strip |
---|
1530 | configure:9684: result: strip |
---|
1531 | configure:9761: checking for ranlib |
---|
1532 | configure:9782: found /opt/local/bin/ranlib |
---|
1533 | configure:9793: result: ranlib |
---|
1534 | configure:9895: checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.2 -std=gnu99 object |
---|
1535 | configure:10049: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1536 | configure:10052: $? = 0 |
---|
1537 | configure:10056: /usr/bin/nm -p 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 |
---|
1538 | configure:10059: $? = 0 |
---|
1539 | cannot find nm_test_var in conftest.nm |
---|
1540 | configure:10049: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1541 | configure:10052: $? = 0 |
---|
1542 | configure:10056: /usr/bin/nm -p 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 |
---|
1543 | configure:10059: $? = 0 |
---|
1544 | configure:10125: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp conftstm.o >&5 |
---|
1545 | configure:10128: $? = 0 |
---|
1546 | configure:10166: result: ok |
---|
1547 | configure:10213: checking for sysroot |
---|
1548 | configure:10244: result: no |
---|
1549 | configure:10251: checking for a working dd |
---|
1550 | configure:10295: result: /bin/dd |
---|
1551 | configure:10299: checking how to truncate binary pipes |
---|
1552 | configure:10315: result: /bin/dd bs=4096 count=1 |
---|
1553 | configure:10652: checking for mt |
---|
1554 | configure:10687: result: no |
---|
1555 | configure:10707: checking if : is a manifest tool |
---|
1556 | configure:10714: : '-?' |
---|
1557 | configure:10722: result: no |
---|
1558 | configure:10783: checking for dsymutil |
---|
1559 | configure:10804: found /usr/bin/dsymutil |
---|
1560 | configure:10815: result: dsymutil |
---|
1561 | configure:10885: checking for nmedit |
---|
1562 | configure:10906: found /opt/local/bin/nmedit |
---|
1563 | configure:10917: result: nmedit |
---|
1564 | configure:10987: checking for lipo |
---|
1565 | configure:11008: found /opt/local/bin/lipo |
---|
1566 | configure:11019: result: lipo |
---|
1567 | configure:11089: checking for otool |
---|
1568 | configure:11110: found /opt/local/bin/otool |
---|
1569 | configure:11121: result: otool |
---|
1570 | configure:11191: checking for otool64 |
---|
1571 | configure:11226: result: no |
---|
1572 | configure:11271: checking for -single_module linker flag |
---|
1573 | /usr/bin/gcc-4.2 -std=gnu99 -pipe -arch ppc -arch ppc64 -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c |
---|
1574 | configure:11305: result: yes |
---|
1575 | configure:11308: checking for -exported_symbols_list linker flag |
---|
1576 | configure:11329: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib -Wl,-exported_symbols_list,conftest.sym conftest.cpp >&5 |
---|
1577 | configure:11329: $? = 0 |
---|
1578 | configure:11340: result: yes |
---|
1579 | configure:11343: checking for -force_load linker flag |
---|
1580 | /usr/bin/gcc-4.2 -std=gnu99 -pipe -arch ppc -arch ppc64 -I/usr/local/include -c -o conftest.o conftest.c |
---|
1581 | ar cru libconftest.a conftest.o |
---|
1582 | /opt/local/bin/ranlib: archive member: libconftest.a(conftest.o) fat object file's offset in archive not a multiple of 8) (must be since member is a 64-bit object file) |
---|
1583 | ranlib libconftest.a |
---|
1584 | ranlib: archive member: libconftest.a(conftest.o) fat object file's offset in archive not a multiple of 8) (must be since member is a 64-bit object file) |
---|
1585 | /usr/bin/gcc-4.2 -std=gnu99 -pipe -arch ppc -arch ppc64 -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib -o conftest conftest.c -Wl,-force_load,./libconftest.a |
---|
1586 | ld: unknown option: -force_load |
---|
1587 | collect2: ld returned 1 exit status |
---|
1588 | ld: unknown option: -force_load |
---|
1589 | collect2: ld returned 1 exit status |
---|
1590 | fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/.tmp/cc3ZYCvj.out (No such file or directory) |
---|
1591 | configure:11376: result: no |
---|
1592 | configure:11447: checking for stdio.h |
---|
1593 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1594 | configure:11447: $? = 0 |
---|
1595 | configure:11447: result: yes |
---|
1596 | configure:11447: checking for stdlib.h |
---|
1597 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1598 | configure:11447: $? = 0 |
---|
1599 | configure:11447: result: yes |
---|
1600 | configure:11447: checking for string.h |
---|
1601 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1602 | configure:11447: $? = 0 |
---|
1603 | configure:11447: result: yes |
---|
1604 | configure:11447: checking for inttypes.h |
---|
1605 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1606 | configure:11447: $? = 0 |
---|
1607 | configure:11447: result: yes |
---|
1608 | configure:11447: checking for stdint.h |
---|
1609 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1610 | configure:11447: $? = 0 |
---|
1611 | configure:11447: result: yes |
---|
1612 | configure:11447: checking for strings.h |
---|
1613 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1614 | configure:11447: $? = 0 |
---|
1615 | configure:11447: result: yes |
---|
1616 | configure:11447: checking for sys/stat.h |
---|
1617 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1618 | configure:11447: $? = 0 |
---|
1619 | configure:11447: result: yes |
---|
1620 | configure:11447: checking for sys/types.h |
---|
1621 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1622 | configure:11447: $? = 0 |
---|
1623 | configure:11447: result: yes |
---|
1624 | configure:11447: checking for unistd.h |
---|
1625 | configure:11447: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1626 | configure:11447: $? = 0 |
---|
1627 | configure:11447: result: yes |
---|
1628 | configure:11472: checking for dlfcn.h |
---|
1629 | configure:11472: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1630 | configure:11472: $? = 0 |
---|
1631 | configure:11472: result: yes |
---|
1632 | configure:11710: checking for objdir |
---|
1633 | configure:11726: result: .libs |
---|
1634 | configure:11990: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions |
---|
1635 | configure:12009: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -fno-rtti -fno-exceptions conftest.c >&5 |
---|
1636 | cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C |
---|
1637 | cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C |
---|
1638 | configure:12013: $? = 0 |
---|
1639 | configure:12026: result: no |
---|
1640 | configure:12384: checking for /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC |
---|
1641 | configure:12392: result: -fno-common -DPIC |
---|
1642 | configure:12400: checking if /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common -DPIC works |
---|
1643 | configure:12419: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -fno-common -DPIC -DPIC conftest.c >&5 |
---|
1644 | configure:12423: $? = 0 |
---|
1645 | configure:12436: result: yes |
---|
1646 | configure:12465: checking if /usr/bin/gcc-4.2 -std=gnu99 static flag -static works |
---|
1647 | configure:12494: result: no |
---|
1648 | configure:12509: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o |
---|
1649 | configure:12531: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -o out/conftest2.o conftest.c >&5 |
---|
1650 | configure:12535: $? = 0 |
---|
1651 | configure:12557: result: yes |
---|
1652 | configure:12565: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o |
---|
1653 | configure:12613: result: yes |
---|
1654 | configure:12646: checking whether the /usr/bin/gcc-4.2 -std=gnu99 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) supports shared libraries |
---|
1655 | configure:13912: result: yes |
---|
1656 | configure:14153: checking dynamic linker characteristics |
---|
1657 | configure:14974: result: darwin9.8.0 dyld |
---|
1658 | configure:15096: checking how to hardcode library paths into programs |
---|
1659 | configure:15121: result: immediate |
---|
1660 | configure:15673: checking whether stripping libraries is possible |
---|
1661 | configure:15687: result: yes |
---|
1662 | configure:15713: checking if libtool supports shared libraries |
---|
1663 | configure:15715: result: yes |
---|
1664 | configure:15718: checking whether to build shared libraries |
---|
1665 | configure:15743: result: yes |
---|
1666 | configure:15746: checking whether to build static libraries |
---|
1667 | configure:15750: result: no |
---|
1668 | configure:15773: checking how to run the C++ preprocessor |
---|
1669 | configure:15795: /usr/bin/g++-4.2 -E -I/opt/local/include -I/usr/local/include conftest.cpp |
---|
1670 | configure:15795: $? = 0 |
---|
1671 | configure:15810: /usr/bin/g++-4.2 -E -I/opt/local/include -I/usr/local/include conftest.cpp |
---|
1672 | conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory |
---|
1673 | configure:15810: $? = 1 |
---|
1674 | configure: failed program was: |
---|
1675 | | /* confdefs.h */ |
---|
1676 | | #define PACKAGE_NAME "djview" |
---|
1677 | | #define PACKAGE_TARNAME "djview" |
---|
1678 | | #define PACKAGE_VERSION "4.12" |
---|
1679 | | #define PACKAGE_STRING "djview 4.12" |
---|
1680 | | #define PACKAGE_BUGREPORT "" |
---|
1681 | | #define PACKAGE_URL "" |
---|
1682 | | #define PACKAGE "djview" |
---|
1683 | | #define VERSION "4.12" |
---|
1684 | | #define HAVE_STDIO_H 1 |
---|
1685 | | #define HAVE_STDLIB_H 1 |
---|
1686 | | #define HAVE_STRING_H 1 |
---|
1687 | | #define HAVE_INTTYPES_H 1 |
---|
1688 | | #define HAVE_STDINT_H 1 |
---|
1689 | | #define HAVE_STRINGS_H 1 |
---|
1690 | | #define HAVE_SYS_STAT_H 1 |
---|
1691 | | #define HAVE_SYS_TYPES_H 1 |
---|
1692 | | #define HAVE_UNISTD_H 1 |
---|
1693 | | #define STDC_HEADERS 1 |
---|
1694 | | #define HAVE_DLFCN_H 1 |
---|
1695 | | #define LT_OBJDIR ".libs/" |
---|
1696 | | /* end confdefs.h. */ |
---|
1697 | | #include <ac_nonexistent.h> |
---|
1698 | configure:15837: result: /usr/bin/g++-4.2 -E |
---|
1699 | configure:15851: /usr/bin/g++-4.2 -E -I/opt/local/include -I/usr/local/include conftest.cpp |
---|
1700 | configure:15851: $? = 0 |
---|
1701 | configure:15866: /usr/bin/g++-4.2 -E -I/opt/local/include -I/usr/local/include conftest.cpp |
---|
1702 | conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory |
---|
1703 | configure:15866: $? = 1 |
---|
1704 | configure: failed program was: |
---|
1705 | | /* confdefs.h */ |
---|
1706 | | #define PACKAGE_NAME "djview" |
---|
1707 | | #define PACKAGE_TARNAME "djview" |
---|
1708 | | #define PACKAGE_VERSION "4.12" |
---|
1709 | | #define PACKAGE_STRING "djview 4.12" |
---|
1710 | | #define PACKAGE_BUGREPORT "" |
---|
1711 | | #define PACKAGE_URL "" |
---|
1712 | | #define PACKAGE "djview" |
---|
1713 | | #define VERSION "4.12" |
---|
1714 | | #define HAVE_STDIO_H 1 |
---|
1715 | | #define HAVE_STDLIB_H 1 |
---|
1716 | | #define HAVE_STRING_H 1 |
---|
1717 | | #define HAVE_INTTYPES_H 1 |
---|
1718 | | #define HAVE_STDINT_H 1 |
---|
1719 | | #define HAVE_STRINGS_H 1 |
---|
1720 | | #define HAVE_SYS_STAT_H 1 |
---|
1721 | | #define HAVE_SYS_TYPES_H 1 |
---|
1722 | | #define HAVE_UNISTD_H 1 |
---|
1723 | | #define STDC_HEADERS 1 |
---|
1724 | | #define HAVE_DLFCN_H 1 |
---|
1725 | | #define LT_OBJDIR ".libs/" |
---|
1726 | | /* end confdefs.h. */ |
---|
1727 | | #include <ac_nonexistent.h> |
---|
1728 | configure:16031: checking for ld used by /usr/bin/g++-4.2 |
---|
1729 | configure:16099: result: /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld |
---|
1730 | configure:16106: checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) is GNU ld |
---|
1731 | configure:16122: result: no |
---|
1732 | configure:16177: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) supports shared libraries |
---|
1733 | configure:17254: result: yes |
---|
1734 | configure:17290: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1735 | configure:17293: $? = 0 |
---|
1736 | configure:17774: checking for /usr/bin/g++-4.2 option to produce PIC |
---|
1737 | configure:17782: result: -fno-common -DPIC |
---|
1738 | configure:17790: checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC works |
---|
1739 | configure:17809: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -fno-common -DPIC -DPIC conftest.cpp >&5 |
---|
1740 | configure:17813: $? = 0 |
---|
1741 | configure:17826: result: yes |
---|
1742 | configure:17849: checking if /usr/bin/g++-4.2 static flag -static works |
---|
1743 | configure:17878: result: no |
---|
1744 | configure:17890: checking if /usr/bin/g++-4.2 supports -c -o file.o |
---|
1745 | configure:17912: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -o out/conftest2.o conftest.cpp >&5 |
---|
1746 | configure:17916: $? = 0 |
---|
1747 | configure:17938: result: yes |
---|
1748 | configure:17943: checking if /usr/bin/g++-4.2 supports -c -o file.o |
---|
1749 | configure:17991: result: yes |
---|
1750 | configure:18021: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) supports shared libraries |
---|
1751 | configure:18061: result: yes |
---|
1752 | configure:18203: checking dynamic linker characteristics |
---|
1753 | configure:18951: result: darwin9.8.0 dyld |
---|
1754 | configure:19016: checking how to hardcode library paths into programs |
---|
1755 | configure:19041: result: immediate |
---|
1756 | configure:19106: checking for rsvg-convert |
---|
1757 | configure:19142: result: false |
---|
1758 | configure:19152: checking for inkscape |
---|
1759 | configure:19188: result: false |
---|
1760 | configure:19198: checking for convert |
---|
1761 | configure:19234: result: false |
---|
1762 | configure:19291: checking for egrep |
---|
1763 | configure:19359: result: /opt/local/bin/ggrep -E |
---|
1764 | configure:19368: checking for dirent.h that defines DIR |
---|
1765 | configure:19388: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1766 | configure:19388: $? = 0 |
---|
1767 | configure:19397: result: yes |
---|
1768 | configure:19411: checking for library containing opendir |
---|
1769 | configure:19440: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1770 | configure:19440: $? = 0 |
---|
1771 | configure:19460: result: none required |
---|
1772 | configure:19534: checking for sys/time.h |
---|
1773 | configure:19534: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1774 | configure:19534: $? = 0 |
---|
1775 | configure:19534: result: yes |
---|
1776 | configure:19534: checking for vfork.h |
---|
1777 | configure:19534: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1778 | conftest.cpp:53:19: error: vfork.h: No such file or directory |
---|
1779 | conftest.cpp:53:19: error: vfork.h: No such file or directory |
---|
1780 | fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/.tmp/ccJpNL6e.out (No such file or directory) |
---|
1781 | configure:19534: $? = 1 |
---|
1782 | configure: failed program was: |
---|
1783 | | /* confdefs.h */ |
---|
1784 | | #define PACKAGE_NAME "djview" |
---|
1785 | | #define PACKAGE_TARNAME "djview" |
---|
1786 | | #define PACKAGE_VERSION "4.12" |
---|
1787 | | #define PACKAGE_STRING "djview 4.12" |
---|
1788 | | #define PACKAGE_BUGREPORT "" |
---|
1789 | | #define PACKAGE_URL "" |
---|
1790 | | #define PACKAGE "djview" |
---|
1791 | | #define VERSION "4.12" |
---|
1792 | | #define HAVE_STDIO_H 1 |
---|
1793 | | #define HAVE_STDLIB_H 1 |
---|
1794 | | #define HAVE_STRING_H 1 |
---|
1795 | | #define HAVE_INTTYPES_H 1 |
---|
1796 | | #define HAVE_STDINT_H 1 |
---|
1797 | | #define HAVE_STRINGS_H 1 |
---|
1798 | | #define HAVE_SYS_STAT_H 1 |
---|
1799 | | #define HAVE_SYS_TYPES_H 1 |
---|
1800 | | #define HAVE_UNISTD_H 1 |
---|
1801 | | #define STDC_HEADERS 1 |
---|
1802 | | #define HAVE_DLFCN_H 1 |
---|
1803 | | #define LT_OBJDIR ".libs/" |
---|
1804 | | #define HAVE_DIRENT_H 1 |
---|
1805 | | #define HAVE_SYS_TIME_H 1 |
---|
1806 | | /* end confdefs.h. */ |
---|
1807 | | #include <stddef.h> |
---|
1808 | | #ifdef HAVE_STDIO_H |
---|
1809 | | # include <stdio.h> |
---|
1810 | | #endif |
---|
1811 | | #ifdef HAVE_STDLIB_H |
---|
1812 | | # include <stdlib.h> |
---|
1813 | | #endif |
---|
1814 | | #ifdef HAVE_STRING_H |
---|
1815 | | # include <string.h> |
---|
1816 | | #endif |
---|
1817 | | #ifdef HAVE_INTTYPES_H |
---|
1818 | | # include <inttypes.h> |
---|
1819 | | #endif |
---|
1820 | | #ifdef HAVE_STDINT_H |
---|
1821 | | # include <stdint.h> |
---|
1822 | | #endif |
---|
1823 | | #ifdef HAVE_STRINGS_H |
---|
1824 | | # include <strings.h> |
---|
1825 | | #endif |
---|
1826 | | #ifdef HAVE_SYS_TYPES_H |
---|
1827 | | # include <sys/types.h> |
---|
1828 | | #endif |
---|
1829 | | #ifdef HAVE_SYS_STAT_H |
---|
1830 | | # include <sys/stat.h> |
---|
1831 | | #endif |
---|
1832 | | #ifdef HAVE_UNISTD_H |
---|
1833 | | # include <unistd.h> |
---|
1834 | | #endif |
---|
1835 | | #include <vfork.h> |
---|
1836 | configure:19534: result: no |
---|
1837 | configure:19554: checking for sys/wait.h that is POSIX.1 compatible |
---|
1838 | configure:19581: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1839 | configure:19581: $? = 0 |
---|
1840 | configure:19589: result: yes |
---|
1841 | configure:19597: checking for unistd.h |
---|
1842 | configure:19597: result: yes |
---|
1843 | configure:19603: checking for string.h |
---|
1844 | configure:19603: result: yes |
---|
1845 | configure:19609: checking for strings.h |
---|
1846 | configure:19609: result: yes |
---|
1847 | configure:19615: checking for getopt.h |
---|
1848 | configure:19615: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1849 | configure:19615: $? = 0 |
---|
1850 | configure:19615: result: yes |
---|
1851 | configure:19629: checking for pid_t |
---|
1852 | configure:19629: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1853 | configure:19629: $? = 0 |
---|
1854 | configure:19629: /usr/bin/g++-4.2 -c -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include conftest.cpp >&5 |
---|
1855 | conftest.cpp: In function 'int main()': |
---|
1856 | conftest.cpp:63: error: expected primary-expression before ')' token |
---|
1857 | conftest.cpp: In function 'int main()': |
---|
1858 | conftest.cpp:63: error: expected primary-expression before ')' token |
---|
1859 | fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/.tmp/ccz2C6xD.out (No such file or directory) |
---|
1860 | configure:19629: $? = 1 |
---|
1861 | configure: failed program was: |
---|
1862 | | /* confdefs.h */ |
---|
1863 | | #define PACKAGE_NAME "djview" |
---|
1864 | | #define PACKAGE_TARNAME "djview" |
---|
1865 | | #define PACKAGE_VERSION "4.12" |
---|
1866 | | #define PACKAGE_STRING "djview 4.12" |
---|
1867 | | #define PACKAGE_BUGREPORT "" |
---|
1868 | | #define PACKAGE_URL "" |
---|
1869 | | #define PACKAGE "djview" |
---|
1870 | | #define VERSION "4.12" |
---|
1871 | | #define HAVE_STDIO_H 1 |
---|
1872 | | #define HAVE_STDLIB_H 1 |
---|
1873 | | #define HAVE_STRING_H 1 |
---|
1874 | | #define HAVE_INTTYPES_H 1 |
---|
1875 | | #define HAVE_STDINT_H 1 |
---|
1876 | | #define HAVE_STRINGS_H 1 |
---|
1877 | | #define HAVE_SYS_STAT_H 1 |
---|
1878 | | #define HAVE_SYS_TYPES_H 1 |
---|
1879 | | #define HAVE_UNISTD_H 1 |
---|
1880 | | #define STDC_HEADERS 1 |
---|
1881 | | #define HAVE_DLFCN_H 1 |
---|
1882 | | #define LT_OBJDIR ".libs/" |
---|
1883 | | #define HAVE_DIRENT_H 1 |
---|
1884 | | #define HAVE_SYS_TIME_H 1 |
---|
1885 | | #define TIME_WITH_SYS_TIME 1 |
---|
1886 | | #define HAVE_SYS_WAIT_H 1 |
---|
1887 | | #define HAVE_UNISTD_H 1 |
---|
1888 | | #define HAVE_STRING_H 1 |
---|
1889 | | #define HAVE_STRINGS_H 1 |
---|
1890 | | #define HAVE_GETOPT_H 1 |
---|
1891 | | /* end confdefs.h. */ |
---|
1892 | | #include <stddef.h> |
---|
1893 | | #ifdef HAVE_STDIO_H |
---|
1894 | | # include <stdio.h> |
---|
1895 | | #endif |
---|
1896 | | #ifdef HAVE_STDLIB_H |
---|
1897 | | # include <stdlib.h> |
---|
1898 | | #endif |
---|
1899 | | #ifdef HAVE_STRING_H |
---|
1900 | | # include <string.h> |
---|
1901 | | #endif |
---|
1902 | | #ifdef HAVE_INTTYPES_H |
---|
1903 | | # include <inttypes.h> |
---|
1904 | | #endif |
---|
1905 | | #ifdef HAVE_STDINT_H |
---|
1906 | | # include <stdint.h> |
---|
1907 | | #endif |
---|
1908 | | #ifdef HAVE_STRINGS_H |
---|
1909 | | # include <strings.h> |
---|
1910 | | #endif |
---|
1911 | | #ifdef HAVE_SYS_TYPES_H |
---|
1912 | | # include <sys/types.h> |
---|
1913 | | #endif |
---|
1914 | | #ifdef HAVE_SYS_STAT_H |
---|
1915 | | # include <sys/stat.h> |
---|
1916 | | #endif |
---|
1917 | | #ifdef HAVE_UNISTD_H |
---|
1918 | | # include <unistd.h> |
---|
1919 | | #endif |
---|
1920 | | |
---|
1921 | | int |
---|
1922 | | main (void) |
---|
1923 | | { |
---|
1924 | | if (sizeof ((pid_t))) |
---|
1925 | | return 0; |
---|
1926 | | ; |
---|
1927 | | return 0; |
---|
1928 | | } |
---|
1929 | configure:19629: result: yes |
---|
1930 | configure:19670: checking for fork |
---|
1931 | configure:19670: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1932 | configure:19670: $? = 0 |
---|
1933 | configure:19670: result: yes |
---|
1934 | configure:19670: checking for vfork |
---|
1935 | configure:19670: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1936 | configure:19670: $? = 0 |
---|
1937 | configure:19670: result: yes |
---|
1938 | configure:19683: checking for working fork |
---|
1939 | configure:19707: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1940 | configure:19707: $? = 0 |
---|
1941 | configure:19707: ./conftest |
---|
1942 | configure:19707: $? = 0 |
---|
1943 | configure:19718: result: yes |
---|
1944 | configure:19739: checking for working vfork |
---|
1945 | configure:19868: result: yes |
---|
1946 | configure:19893: checking for _LARGEFILE_SOURCE value needed for large files |
---|
1947 | configure:19913: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1948 | configure:19913: $? = 0 |
---|
1949 | configure:19943: result: no |
---|
1950 | configure:19962: checking for sigaction |
---|
1951 | configure:19962: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1952 | configure:19962: $? = 0 |
---|
1953 | configure:19962: result: yes |
---|
1954 | configure:19968: checking for strerror |
---|
1955 | configure:19968: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1956 | configure:19968: $? = 0 |
---|
1957 | configure:19968: result: yes |
---|
1958 | configure:19974: checking for waitpid |
---|
1959 | configure:19974: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1960 | configure:19974: $? = 0 |
---|
1961 | configure:19974: result: yes |
---|
1962 | configure:19980: checking for wait3 |
---|
1963 | configure:19980: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1964 | configure:19980: $? = 0 |
---|
1965 | configure:19980: result: yes |
---|
1966 | configure:19998: checking for pkg-config |
---|
1967 | configure:20021: found /opt/local/bin/pkg-config |
---|
1968 | configure:20033: result: /opt/local/bin/pkg-config |
---|
1969 | configure:20051: checking for X |
---|
1970 | configure:20089: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp -lX11 >&5 |
---|
1971 | configure:20089: $? = 0 |
---|
1972 | configure:20276: result: libraries , headers |
---|
1973 | configure:20373: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp -lX11 >&5 |
---|
1974 | configure:20373: $? = 0 |
---|
1975 | configure:20470: checking for gethostbyname |
---|
1976 | configure:20470: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1977 | configure:20470: $? = 0 |
---|
1978 | configure:20470: result: yes |
---|
1979 | configure:20566: checking for connect |
---|
1980 | configure:20566: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1981 | configure:20566: $? = 0 |
---|
1982 | configure:20566: result: yes |
---|
1983 | configure:20615: checking for remove |
---|
1984 | configure:20615: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1985 | configure:20615: $? = 0 |
---|
1986 | configure:20615: result: yes |
---|
1987 | configure:20664: checking for shmat |
---|
1988 | configure:20664: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp >&5 |
---|
1989 | configure:20664: $? = 0 |
---|
1990 | configure:20664: result: yes |
---|
1991 | configure:20722: checking for IceConnectionNumber in -lICE |
---|
1992 | configure:20744: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp -lICE >&5 |
---|
1993 | configure:20744: $? = 0 |
---|
1994 | configure:20754: result: yes |
---|
1995 | configure:20864: checking Qt version |
---|
1996 | configure:20868: result: qt4 (4.8.7) |
---|
1997 | configure:20895: checking for real qmake path |
---|
1998 | configure:20898: result: /opt/local/libexec/qt4/bin/qmake |
---|
1999 | configure:20907: checking for moc |
---|
2000 | configure:20942: result: /opt/local/libexec/qt4/bin/moc |
---|
2001 | configure:20957: checking for uic |
---|
2002 | configure:20992: result: /opt/local/libexec/qt4/bin/uic |
---|
2003 | configure:21007: checking for rcc |
---|
2004 | configure:21030: found /opt/local/libexec/qt4/bin/rcc |
---|
2005 | configure:21042: result: /opt/local/libexec/qt4/bin/rcc |
---|
2006 | configure:21057: checking for lupdate |
---|
2007 | configure:21080: found /opt/local/libexec/qt4/bin/lupdate |
---|
2008 | configure:21092: result: /opt/local/libexec/qt4/bin/lupdate |
---|
2009 | configure:21107: checking for lrelease |
---|
2010 | configure:21130: found /opt/local/libexec/qt4/bin/lrelease |
---|
2011 | configure:21142: result: /opt/local/libexec/qt4/bin/lrelease |
---|
2012 | configure:21160: checking for ddjvuapi |
---|
2013 | configure:21172: result: found |
---|
2014 | configure:21220: checking for the libtiff library |
---|
2015 | configure:21250: /usr/bin/g++-4.2 -o conftest -pipe -arch ppc -arch ppc64 -I/usr/local/include -I/opt/local/include -I/usr/local/include -arch ppc -arch ppc64 -L/usr/local/lib conftest.cpp -ltiff >&5 |
---|
2016 | configure:21250: $? = 0 |
---|
2017 | configure:21261: result: yes |
---|
2018 | configure:22493: checking that generated files are newer than configure |
---|
2019 | configure:22499: result: done |
---|
2020 | configure:22566: creating ./config.status |
---|
2021 | |
---|
2022 | ## ---------------------- ## |
---|
2023 | ## Running config.status. ## |
---|
2024 | ## ---------------------- ## |
---|
2025 | |
---|
2026 | This file was extended by djview config.status 4.12, which was |
---|
2027 | generated by GNU Autoconf 2.71. Invocation command line was |
---|
2028 | |
---|
2029 | CONFIG_FILES = |
---|
2030 | CONFIG_HEADERS = |
---|
2031 | CONFIG_LINKS = |
---|
2032 | CONFIG_COMMANDS = |
---|
2033 | $ ./config.status |
---|
2034 | |
---|
2035 | on 36-47.wireless-city.scu.edu.tw |
---|
2036 | |
---|
2037 | config.status:1232: creating Makefile |
---|
2038 | config.status:1232: creating src/Makefile |
---|
2039 | config.status:1232: creating nsdejavu/Makefile |
---|
2040 | config.status:1232: creating desktopfiles/Makefile |
---|
2041 | config.status:1232: creating npdjvu/Makefile |
---|
2042 | config.status:1232: creating mac/Makefile |
---|
2043 | config.status:1232: creating mac/mdimporter_src/Makefile |
---|
2044 | config.status:1232: creating mac/qlgenerator_src/Makefile |
---|
2045 | config.status:1232: creating config.h |
---|
2046 | config.status:1461: executing depfiles commands |
---|
2047 | config.status:1461: executing libtool commands |
---|
2048 | |
---|
2049 | ## ---------------- ## |
---|
2050 | ## Cache variables. ## |
---|
2051 | ## ---------------- ## |
---|
2052 | |
---|
2053 | ac_cv_build=powerpc-apple-darwin9.8.0 |
---|
2054 | ac_cv_c_compiler_gnu=yes |
---|
2055 | ac_cv_cxx_compiler_gnu=yes |
---|
2056 | ac_cv_env_CCC_set= |
---|
2057 | ac_cv_env_CCC_value= |
---|
2058 | ac_cv_env_CC_set=set |
---|
2059 | ac_cv_env_CC_value=/usr/bin/gcc-4.2 |
---|
2060 | ac_cv_env_CFLAGS_set=set |
---|
2061 | ac_cv_env_CFLAGS_value='-pipe -Os -arch ppc -arch ppc64' |
---|
2062 | ac_cv_env_CPPFLAGS_set=set |
---|
2063 | ac_cv_env_CPPFLAGS_value=-I/opt/local/include |
---|
2064 | ac_cv_env_CXXCPP_set= |
---|
2065 | ac_cv_env_CXXCPP_value= |
---|
2066 | ac_cv_env_CXXFLAGS_set=set |
---|
2067 | ac_cv_env_CXXFLAGS_value='-pipe -Os -arch ppc -arch ppc64' |
---|
2068 | ac_cv_env_CXX_set=set |
---|
2069 | ac_cv_env_CXX_value=/usr/bin/g++-4.2 |
---|
2070 | ac_cv_env_DDJVUAPI_CFLAGS_set= |
---|
2071 | ac_cv_env_DDJVUAPI_CFLAGS_value= |
---|
2072 | ac_cv_env_DDJVUAPI_LIBS_set= |
---|
2073 | ac_cv_env_DDJVUAPI_LIBS_value= |
---|
2074 | ac_cv_env_GLIB_CFLAGS_set= |
---|
2075 | ac_cv_env_GLIB_CFLAGS_value= |
---|
2076 | ac_cv_env_GLIB_LIBS_set= |
---|
2077 | ac_cv_env_GLIB_LIBS_value= |
---|
2078 | ac_cv_env_LDFLAGS_set=set |
---|
2079 | ac_cv_env_LDFLAGS_value='-arch ppc -arch ppc64' |
---|
2080 | ac_cv_env_LIBS_set= |
---|
2081 | ac_cv_env_LIBS_value= |
---|
2082 | ac_cv_env_LRELEASE_set= |
---|
2083 | ac_cv_env_LRELEASE_value= |
---|
2084 | ac_cv_env_LT_SYS_LIBRARY_PATH_set= |
---|
2085 | ac_cv_env_LT_SYS_LIBRARY_PATH_value= |
---|
2086 | ac_cv_env_LUPDATE_set= |
---|
2087 | ac_cv_env_LUPDATE_value= |
---|
2088 | ac_cv_env_MOC_set=set |
---|
2089 | ac_cv_env_MOC_value=/opt/local/libexec/qt4/bin/moc |
---|
2090 | ac_cv_env_OBJCFLAGS_set=set |
---|
2091 | ac_cv_env_OBJCFLAGS_value='-pipe -Os -arch ppc -arch ppc64' |
---|
2092 | ac_cv_env_OBJC_set=set |
---|
2093 | ac_cv_env_OBJC_value=/usr/bin/gcc-4.2 |
---|
2094 | ac_cv_env_PKG_CONFIG_PATH_set=set |
---|
2095 | ac_cv_env_PKG_CONFIG_PATH_value=/opt/local/libexec/qt4/lib/pkgconfig |
---|
2096 | ac_cv_env_PKG_CONFIG_set= |
---|
2097 | ac_cv_env_PKG_CONFIG_value= |
---|
2098 | ac_cv_env_QMAKESPEC_set=set |
---|
2099 | ac_cv_env_QMAKESPEC_value=macx-g++ |
---|
2100 | ac_cv_env_QMAKE_set=set |
---|
2101 | ac_cv_env_QMAKE_value=/opt/local/libexec/qt4/bin/qmake |
---|
2102 | ac_cv_env_QTDIR_set=set |
---|
2103 | ac_cv_env_QTDIR_value=/opt/local/libexec/qt4 |
---|
2104 | ac_cv_env_RCC_set= |
---|
2105 | ac_cv_env_RCC_value= |
---|
2106 | ac_cv_env_TIFF_CFLAGS_set= |
---|
2107 | ac_cv_env_TIFF_CFLAGS_value= |
---|
2108 | ac_cv_env_TIFF_LIBS_set= |
---|
2109 | ac_cv_env_TIFF_LIBS_value= |
---|
2110 | ac_cv_env_UIC_set= |
---|
2111 | ac_cv_env_UIC_value= |
---|
2112 | ac_cv_env_XMKMF_set= |
---|
2113 | ac_cv_env_XMKMF_value= |
---|
2114 | ac_cv_env_build_alias_set= |
---|
2115 | ac_cv_env_build_alias_value= |
---|
2116 | ac_cv_env_host_alias_set= |
---|
2117 | ac_cv_env_host_alias_value= |
---|
2118 | ac_cv_env_target_alias_set= |
---|
2119 | ac_cv_env_target_alias_value= |
---|
2120 | ac_cv_func_connect=yes |
---|
2121 | ac_cv_func_fork=yes |
---|
2122 | ac_cv_func_fork_works=yes |
---|
2123 | ac_cv_func_gethostbyname=yes |
---|
2124 | ac_cv_func_remove=yes |
---|
2125 | ac_cv_func_shmat=yes |
---|
2126 | ac_cv_func_sigaction=yes |
---|
2127 | ac_cv_func_strerror=yes |
---|
2128 | ac_cv_func_vfork=yes |
---|
2129 | ac_cv_func_vfork_works=yes |
---|
2130 | ac_cv_func_wait3=yes |
---|
2131 | ac_cv_func_waitpid=yes |
---|
2132 | ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\'''\''' |
---|
2133 | ac_cv_header_dirent_dirent_h=yes |
---|
2134 | ac_cv_header_dlfcn_h=yes |
---|
2135 | ac_cv_header_getopt_h=yes |
---|
2136 | ac_cv_header_inttypes_h=yes |
---|
2137 | ac_cv_header_stdint_h=yes |
---|
2138 | ac_cv_header_stdio_h=yes |
---|
2139 | ac_cv_header_stdlib_h=yes |
---|
2140 | ac_cv_header_string_h=yes |
---|
2141 | ac_cv_header_strings_h=yes |
---|
2142 | ac_cv_header_sys_stat_h=yes |
---|
2143 | ac_cv_header_sys_time_h=yes |
---|
2144 | ac_cv_header_sys_types_h=yes |
---|
2145 | ac_cv_header_sys_wait_h=yes |
---|
2146 | ac_cv_header_unistd_h=yes |
---|
2147 | ac_cv_header_vfork_h=no |
---|
2148 | ac_cv_host=powerpc-apple-darwin9.8.0 |
---|
2149 | ac_cv_lib_ICE_IceConnectionNumber=yes |
---|
2150 | ac_cv_objc_compiler_gnu=yes |
---|
2151 | ac_cv_objext=o |
---|
2152 | ac_cv_path_AWK=/usr/bin/awk |
---|
2153 | ac_cv_path_CONVERT=false |
---|
2154 | ac_cv_path_EGREP='/opt/local/bin/ggrep -E' |
---|
2155 | ac_cv_path_FGREP='/opt/local/bin/ggrep -F' |
---|
2156 | ac_cv_path_GREP=/opt/local/bin/ggrep |
---|
2157 | ac_cv_path_INKSCAPE=false |
---|
2158 | ac_cv_path_LRELEASE=/opt/local/libexec/qt4/bin/lrelease |
---|
2159 | ac_cv_path_LUPDATE=/opt/local/libexec/qt4/bin/lupdate |
---|
2160 | ac_cv_path_MKDIR=/bin/mkdir |
---|
2161 | ac_cv_path_MOC=/opt/local/libexec/qt4/bin/moc |
---|
2162 | ac_cv_path_PKG_CONFIG=/opt/local/bin/pkg-config |
---|
2163 | ac_cv_path_RCC=/opt/local/libexec/qt4/bin/rcc |
---|
2164 | ac_cv_path_RM=/bin/rm |
---|
2165 | ac_cv_path_RMDIR=/bin/rmdir |
---|
2166 | ac_cv_path_RSVG=false |
---|
2167 | ac_cv_path_SED=/usr/bin/sed |
---|
2168 | ac_cv_path_TOUCH=/usr/bin/touch |
---|
2169 | ac_cv_path_UIC=/opt/local/libexec/qt4/bin/uic |
---|
2170 | ac_cv_path_lt_DD=/bin/dd |
---|
2171 | ac_cv_path_mkdir=/opt/local/bin/gmkdir |
---|
2172 | ac_cv_prog_AWK=gawk |
---|
2173 | ac_cv_prog_CXXCPP='/usr/bin/g++-4.2 -E' |
---|
2174 | ac_cv_prog_ac_ct_AR=ar |
---|
2175 | ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2 |
---|
2176 | ac_cv_prog_ac_ct_DSYMUTIL=dsymutil |
---|
2177 | ac_cv_prog_ac_ct_LIPO=lipo |
---|
2178 | ac_cv_prog_ac_ct_NMEDIT=nmedit |
---|
2179 | ac_cv_prog_ac_ct_OTOOL=otool |
---|
2180 | ac_cv_prog_ac_ct_RANLIB=ranlib |
---|
2181 | ac_cv_prog_ac_ct_STRIP=strip |
---|
2182 | ac_cv_prog_cc_c11=no |
---|
2183 | ac_cv_prog_cc_c99=-std=gnu99 |
---|
2184 | ac_cv_prog_cc_g=yes |
---|
2185 | ac_cv_prog_cc_stdc=-std=gnu99 |
---|
2186 | ac_cv_prog_cxx_11=no |
---|
2187 | ac_cv_prog_cxx_g=yes |
---|
2188 | ac_cv_prog_cxx_stdcxx= |
---|
2189 | ac_cv_prog_make_make_set=yes |
---|
2190 | ac_cv_prog_objc_g=yes |
---|
2191 | ac_cv_search_opendir='none required' |
---|
2192 | ac_cv_sys_largefile_source=no |
---|
2193 | ac_cv_type_pid_t=yes |
---|
2194 | am_cv_CC_dependencies_compiler_type=none |
---|
2195 | am_cv_CXX_dependencies_compiler_type=none |
---|
2196 | am_cv_OBJC_dependencies_compiler_type=none |
---|
2197 | am_cv_ar_interface=ar |
---|
2198 | am_cv_make_support_nested_variables=yes |
---|
2199 | am_cv_prog_cc_c_o=yes |
---|
2200 | lt_cv_apple_cc_single_mod=yes |
---|
2201 | lt_cv_ar_at_file=no |
---|
2202 | lt_cv_deplibs_check_method=pass_all |
---|
2203 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
---|
2204 | lt_cv_file_magic_test_file= |
---|
2205 | lt_cv_ld_exported_symbols_list=yes |
---|
2206 | lt_cv_ld_force_load=no |
---|
2207 | lt_cv_ld_reload_flag=-r |
---|
2208 | lt_cv_nm_interface='BSD nm' |
---|
2209 | lt_cv_objdir=.libs |
---|
2210 | lt_cv_path_LD=/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld |
---|
2211 | lt_cv_path_LDCXX=/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld |
---|
2212 | lt_cv_path_NM='/usr/bin/nm -p' |
---|
2213 | lt_cv_path_mainfest_tool=no |
---|
2214 | lt_cv_prog_compiler_c_o=yes |
---|
2215 | lt_cv_prog_compiler_c_o_CXX=yes |
---|
2216 | lt_cv_prog_compiler_pic='-fno-common -DPIC' |
---|
2217 | lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC' |
---|
2218 | lt_cv_prog_compiler_pic_works=yes |
---|
2219 | lt_cv_prog_compiler_pic_works_CXX=yes |
---|
2220 | lt_cv_prog_compiler_rtti_exceptions=no |
---|
2221 | lt_cv_prog_compiler_static_works=no |
---|
2222 | lt_cv_prog_compiler_static_works_CXX=no |
---|
2223 | lt_cv_prog_gnu_ld=no |
---|
2224 | lt_cv_prog_gnu_ldcxx=no |
---|
2225 | lt_cv_sharedlib_from_linklib_cmd='printf %s\n' |
---|
2226 | 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'\''' |
---|
2227 | 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'\''' |
---|
2228 | 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'\''' |
---|
2229 | lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' |
---|
2230 | lt_cv_sys_global_symbol_to_import= |
---|
2231 | lt_cv_sys_max_cmd_len=196608 |
---|
2232 | lt_cv_to_host_file_cmd=func_convert_file_noop |
---|
2233 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
---|
2234 | lt_cv_truncate_bin='/bin/dd bs=4096 count=1' |
---|
2235 | |
---|
2236 | ## ----------------- ## |
---|
2237 | ## Output variables. ## |
---|
2238 | ## ----------------- ## |
---|
2239 | |
---|
2240 | ACLOCAL='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/djview-4.12/config/missing'\'' aclocal-1.16' |
---|
2241 | AMDEPBACKSLASH='' |
---|
2242 | AMDEP_FALSE='' |
---|
2243 | AMDEP_TRUE='#' |
---|
2244 | AMTAR='$${TAR-tar}' |
---|
2245 | AM_BACKSLASH='\' |
---|
2246 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
2247 | AM_DEFAULT_VERBOSITY='0' |
---|
2248 | AM_V='$(V)' |
---|
2249 | AR='ar' |
---|
2250 | AUTOCONF='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/djview-4.12/config/missing'\'' autoconf' |
---|
2251 | AUTOHEADER='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/djview-4.12/config/missing'\'' autoheader' |
---|
2252 | AUTOMAKE='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/djview-4.12/config/missing'\'' automake-1.16' |
---|
2253 | AWK='/usr/bin/awk' |
---|
2254 | CC='/usr/bin/gcc-4.2 -std=gnu99' |
---|
2255 | CCDEPMODE='depmode=none' |
---|
2256 | CFLAGS=' -pipe -arch ppc -arch ppc64 -I/usr/local/include' |
---|
2257 | CONVERT='false' |
---|
2258 | CPPFLAGS='-I/opt/local/include -I/usr/local/include' |
---|
2259 | CSCOPE='cscope' |
---|
2260 | CTAGS='ctags' |
---|
2261 | CXX='/usr/bin/g++-4.2' |
---|
2262 | CXXCPP='/usr/bin/g++-4.2 -E' |
---|
2263 | CXXDEPMODE='depmode=none' |
---|
2264 | CXXFLAGS=' -pipe -arch ppc -arch ppc64 -I/usr/local/include' |
---|
2265 | CYGPATH_W='echo' |
---|
2266 | DDJVUAPI_CFLAGS='' |
---|
2267 | DDJVUAPI_LIBS='-L/opt/local/lib -ldjvulibre' |
---|
2268 | DEFS='-DHAVE_CONFIG_H' |
---|
2269 | DEPDIR='.deps' |
---|
2270 | DLLTOOL='false' |
---|
2271 | DSYMUTIL='dsymutil' |
---|
2272 | DUMPBIN='' |
---|
2273 | ECHO_C='\c' |
---|
2274 | ECHO_N='' |
---|
2275 | ECHO_T='' |
---|
2276 | EGREP='/opt/local/bin/ggrep -E' |
---|
2277 | ETAGS='etags' |
---|
2278 | EXEEXT='' |
---|
2279 | FGREP='/opt/local/bin/ggrep -F' |
---|
2280 | GLIB_CFLAGS='' |
---|
2281 | GLIB_LIBS='' |
---|
2282 | GREP='/opt/local/bin/ggrep' |
---|
2283 | HAVE_CONVERSION_CONVERT_FALSE='' |
---|
2284 | HAVE_CONVERSION_CONVERT_TRUE='#' |
---|
2285 | HAVE_CONVERSION_INKSCAPE_FALSE='' |
---|
2286 | HAVE_CONVERSION_INKSCAPE_TRUE='#' |
---|
2287 | HAVE_CONVERSION_RSVG_FALSE='' |
---|
2288 | HAVE_CONVERSION_RSVG_TRUE='#' |
---|
2289 | HAVE_CONVERSION_TOOL_FALSE='' |
---|
2290 | HAVE_CONVERSION_TOOL_TRUE='#' |
---|
2291 | INKSCAPE='false' |
---|
2292 | INSTALL_DATA='${INSTALL} -m 644' |
---|
2293 | INSTALL_PROGRAM='${INSTALL}' |
---|
2294 | INSTALL_SCRIPT='${INSTALL}' |
---|
2295 | INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' |
---|
2296 | LD='/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld' |
---|
2297 | LDFLAGS='-arch ppc -arch ppc64 -L/usr/local/lib' |
---|
2298 | LIBOBJS='' |
---|
2299 | LIBS='' |
---|
2300 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
---|
2301 | LIBTOOL_DEPS='./config//ltmain.sh' |
---|
2302 | LIPO='lipo' |
---|
2303 | LN_S='ln -s' |
---|
2304 | LRELEASE='/opt/local/libexec/qt4/bin/lrelease' |
---|
2305 | LTLIBOBJS='' |
---|
2306 | LT_SYS_LIBRARY_PATH='' |
---|
2307 | LUPDATE='/opt/local/libexec/qt4/bin/lupdate' |
---|
2308 | MAKEINFO='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/djview-4.12/config/missing'\'' makeinfo' |
---|
2309 | MANIFEST_TOOL=':' |
---|
2310 | MKDIR='/bin/mkdir' |
---|
2311 | MKDIR_P='/opt/local/bin/gmkdir -p' |
---|
2312 | MOC='/opt/local/libexec/qt4/bin/moc' |
---|
2313 | NM='/usr/bin/nm -p' |
---|
2314 | NMEDIT='nmedit' |
---|
2315 | NSDEJAVU_CFLAGS='' |
---|
2316 | NSDEJAVU_LIBS='' |
---|
2317 | OBJC='/usr/bin/gcc-4.2' |
---|
2318 | OBJCDEPMODE='depmode=none' |
---|
2319 | OBJCFLAGS='-pipe -Os -arch ppc -arch ppc64' |
---|
2320 | OBJDUMP='false' |
---|
2321 | OBJEXT='o' |
---|
2322 | OPTS='-DNDEBUG -Wall -O2' |
---|
2323 | OTOOL64=':' |
---|
2324 | OTOOL='otool' |
---|
2325 | PACKAGE='djview' |
---|
2326 | PACKAGE_BUGREPORT='' |
---|
2327 | PACKAGE_NAME='djview' |
---|
2328 | PACKAGE_STRING='djview 4.12' |
---|
2329 | PACKAGE_TARNAME='djview' |
---|
2330 | PACKAGE_URL='' |
---|
2331 | PACKAGE_VERSION='4.12' |
---|
2332 | PATH_SEPARATOR=':' |
---|
2333 | PKG_CONFIG='/opt/local/bin/pkg-config' |
---|
2334 | PKG_CONFIG_PATH='/opt/local/libexec/qt4/lib/pkgconfig' |
---|
2335 | QMAKE='/opt/local/libexec/qt4/bin/qmake' |
---|
2336 | QMAKEARG='-spec macx-g++ CONFIG+=autoconf CONFIG+=release PACKAGE_VERSION=4.12' |
---|
2337 | QMAKEFLAGS=' ' |
---|
2338 | QMAKELIBS='-L/opt/local/lib -ldjvulibre -ltiff ' |
---|
2339 | QMAKESPEC='macx-g++' |
---|
2340 | QTDIR='/opt/local/libexec/qt4' |
---|
2341 | RANLIB='ranlib' |
---|
2342 | RCC='/opt/local/libexec/qt4/bin/rcc' |
---|
2343 | RM='/bin/rm -f' |
---|
2344 | RMDIR='/bin/rmdir' |
---|
2345 | RSVG='false' |
---|
2346 | SED='/usr/bin/sed' |
---|
2347 | SET_MAKE='' |
---|
2348 | SHELL='/bin/sh' |
---|
2349 | STRIP='strip' |
---|
2350 | TIFF_CFLAGS='' |
---|
2351 | TIFF_LIBS='-ltiff' |
---|
2352 | TOUCH='/usr/bin/touch' |
---|
2353 | UIC='/opt/local/libexec/qt4/bin/uic' |
---|
2354 | VERSION='4.12' |
---|
2355 | WANT_DESKTOPFILES_FALSE='' |
---|
2356 | WANT_DESKTOPFILES_TRUE='#' |
---|
2357 | WANT_MAC_FALSE='' |
---|
2358 | WANT_MAC_TRUE='#' |
---|
2359 | WANT_NPDJVU_FALSE='' |
---|
2360 | WANT_NPDJVU_TRUE='#' |
---|
2361 | WANT_NSDEJAVU_FALSE='' |
---|
2362 | WANT_NSDEJAVU_TRUE='#' |
---|
2363 | XMKMF='' |
---|
2364 | X_CFLAGS='' |
---|
2365 | X_EXTRA_LIBS='' |
---|
2366 | X_LIBS='' |
---|
2367 | X_PRE_LIBS=' -lSM -lICE' |
---|
2368 | ac_ct_AR='ar' |
---|
2369 | ac_ct_CC='/usr/bin/gcc-4.2' |
---|
2370 | ac_ct_CXX='' |
---|
2371 | ac_ct_DUMPBIN='' |
---|
2372 | ac_ct_OBJC='' |
---|
2373 | am__EXEEXT_FALSE='' |
---|
2374 | am__EXEEXT_TRUE='#' |
---|
2375 | am__fastdepCC_FALSE='' |
---|
2376 | am__fastdepCC_TRUE='#' |
---|
2377 | am__fastdepCXX_FALSE='' |
---|
2378 | am__fastdepCXX_TRUE='#' |
---|
2379 | am__fastdepOBJC_FALSE='' |
---|
2380 | am__fastdepOBJC_TRUE='#' |
---|
2381 | am__include='include' |
---|
2382 | am__isrc='' |
---|
2383 | am__leading_dot='.' |
---|
2384 | am__nodep='' |
---|
2385 | am__quote='' |
---|
2386 | am__tar='$${TAR-tar} chof - "$$tardir"' |
---|
2387 | am__untar='$${TAR-tar} xf -' |
---|
2388 | bindir='${exec_prefix}/bin' |
---|
2389 | build='powerpc-apple-darwin9.8.0' |
---|
2390 | build_alias='' |
---|
2391 | build_cpu='powerpc' |
---|
2392 | build_os='darwin9.8.0' |
---|
2393 | build_vendor='apple' |
---|
2394 | datadir='${datarootdir}' |
---|
2395 | datarootdir='${prefix}/share' |
---|
2396 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
2397 | dvidir='${docdir}' |
---|
2398 | exec_prefix='${prefix}' |
---|
2399 | host='powerpc-apple-darwin9.8.0' |
---|
2400 | host_alias='' |
---|
2401 | host_cpu='powerpc' |
---|
2402 | host_os='darwin9.8.0' |
---|
2403 | host_vendor='apple' |
---|
2404 | htmldir='${docdir}' |
---|
2405 | includedir='${prefix}/include' |
---|
2406 | infodir='${datarootdir}/info' |
---|
2407 | install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview/work/djview-4.12/config/install-sh' |
---|
2408 | libdir='${exec_prefix}/lib' |
---|
2409 | libexecdir='${exec_prefix}/libexec' |
---|
2410 | localedir='${datarootdir}/locale' |
---|
2411 | localstatedir='${prefix}/var' |
---|
2412 | mandir='${datarootdir}/man' |
---|
2413 | mkdir_p='$(MKDIR_P)' |
---|
2414 | oldincludedir='/usr/include' |
---|
2415 | pdfdir='${docdir}' |
---|
2416 | prefix='/opt/local' |
---|
2417 | program_transform_name='s,x,x,' |
---|
2418 | psdir='${docdir}' |
---|
2419 | runstatedir='${localstatedir}/run' |
---|
2420 | sbindir='${exec_prefix}/sbin' |
---|
2421 | sharedstatedir='${prefix}/com' |
---|
2422 | sysconfdir='${prefix}/etc' |
---|
2423 | target_alias='' |
---|
2424 | |
---|
2425 | ## ----------- ## |
---|
2426 | ## confdefs.h. ## |
---|
2427 | ## ----------- ## |
---|
2428 | |
---|
2429 | /* confdefs.h */ |
---|
2430 | #define PACKAGE_NAME "djview" |
---|
2431 | #define PACKAGE_TARNAME "djview" |
---|
2432 | #define PACKAGE_VERSION "4.12" |
---|
2433 | #define PACKAGE_STRING "djview 4.12" |
---|
2434 | #define PACKAGE_BUGREPORT "" |
---|
2435 | #define PACKAGE_URL "" |
---|
2436 | #define PACKAGE "djview" |
---|
2437 | #define VERSION "4.12" |
---|
2438 | #define HAVE_STDIO_H 1 |
---|
2439 | #define HAVE_STDLIB_H 1 |
---|
2440 | #define HAVE_STRING_H 1 |
---|
2441 | #define HAVE_INTTYPES_H 1 |
---|
2442 | #define HAVE_STDINT_H 1 |
---|
2443 | #define HAVE_STRINGS_H 1 |
---|
2444 | #define HAVE_SYS_STAT_H 1 |
---|
2445 | #define HAVE_SYS_TYPES_H 1 |
---|
2446 | #define HAVE_UNISTD_H 1 |
---|
2447 | #define STDC_HEADERS 1 |
---|
2448 | #define HAVE_DLFCN_H 1 |
---|
2449 | #define LT_OBJDIR ".libs/" |
---|
2450 | #define HAVE_DIRENT_H 1 |
---|
2451 | #define HAVE_SYS_TIME_H 1 |
---|
2452 | #define TIME_WITH_SYS_TIME 1 |
---|
2453 | #define HAVE_SYS_WAIT_H 1 |
---|
2454 | #define HAVE_UNISTD_H 1 |
---|
2455 | #define HAVE_STRING_H 1 |
---|
2456 | #define HAVE_STRINGS_H 1 |
---|
2457 | #define HAVE_GETOPT_H 1 |
---|
2458 | #define HAVE_FORK 1 |
---|
2459 | #define HAVE_VFORK 1 |
---|
2460 | #define HAVE_WORKING_VFORK 1 |
---|
2461 | #define HAVE_WORKING_FORK 1 |
---|
2462 | #define HAVE_FSEEKO 1 |
---|
2463 | #define HAVE_SIGACTION 1 |
---|
2464 | #define HAVE_STRERROR 1 |
---|
2465 | #define HAVE_WAITPID 1 |
---|
2466 | #define HAVE_WAIT3 1 |
---|
2467 | #define HAVE_DDJVUAPI 1 |
---|
2468 | #define HAVE_TIFF 1 |
---|
2469 | #define DJVIEW_VERSION 0x40c00 |
---|
2470 | #define DJVIEW_VERSION_STR "4.12" |
---|
2471 | #define RC_VERSION 4,12,0,0 |
---|
2472 | #define RC_VERSION_STR "4,12,0,0\0" |
---|
2473 | |
---|
2474 | configure: exit 0 |
---|