1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.63 for vizservers 0.1. |
---|
4 | # |
---|
5 | # Report bugs to <rappture@nanohub.org>. |
---|
6 | # |
---|
7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
---|
9 | # This configure script is free software; the Free Software Foundation |
---|
10 | # gives unlimited permission to copy, distribute and modify it. |
---|
11 | ## --------------------- ## |
---|
12 | ## M4sh Initialization. ## |
---|
13 | ## --------------------- ## |
---|
14 | |
---|
15 | # Be more Bourne compatible |
---|
16 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
18 | emulate sh |
---|
19 | NULLCMD=: |
---|
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
21 | # is contrary to our usage. Disable this feature. |
---|
22 | alias -g '${1+"$@"}'='"$@"' |
---|
23 | setopt NO_GLOB_SUBST |
---|
24 | else |
---|
25 | case `(set -o) 2>/dev/null` in |
---|
26 | *posix*) set -o posix ;; |
---|
27 | esac |
---|
28 | |
---|
29 | fi |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | # PATH needs CR |
---|
35 | # Avoid depending upon Character Ranges. |
---|
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
39 | as_cr_digits='0123456789' |
---|
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
41 | |
---|
42 | as_nl=' |
---|
43 | ' |
---|
44 | export as_nl |
---|
45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
50 | as_echo='printf %s\n' |
---|
51 | as_echo_n='printf %s' |
---|
52 | else |
---|
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
55 | as_echo_n='/usr/ucb/echo -n' |
---|
56 | else |
---|
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
58 | as_echo_n_body='eval |
---|
59 | arg=$1; |
---|
60 | case $arg in |
---|
61 | *"$as_nl"*) |
---|
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
64 | esac; |
---|
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
66 | ' |
---|
67 | export as_echo_n_body |
---|
68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
69 | fi |
---|
70 | export as_echo_body |
---|
71 | as_echo='sh -c $as_echo_body as_echo' |
---|
72 | fi |
---|
73 | |
---|
74 | # The user is always right. |
---|
75 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
76 | PATH_SEPARATOR=: |
---|
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
79 | PATH_SEPARATOR=';' |
---|
80 | } |
---|
81 | fi |
---|
82 | |
---|
83 | # Support unset when possible. |
---|
84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
85 | as_unset=unset |
---|
86 | else |
---|
87 | as_unset=false |
---|
88 | fi |
---|
89 | |
---|
90 | |
---|
91 | # IFS |
---|
92 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
93 | # there to prevent editors from complaining about space-tab. |
---|
94 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
95 | # splitting by setting IFS to empty value.) |
---|
96 | IFS=" "" $as_nl" |
---|
97 | |
---|
98 | # Find who we are. Look in the path if we contain no directory separator. |
---|
99 | case $0 in |
---|
100 | *[\\/]* ) as_myself=$0 ;; |
---|
101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
102 | for as_dir in $PATH |
---|
103 | do |
---|
104 | IFS=$as_save_IFS |
---|
105 | test -z "$as_dir" && as_dir=. |
---|
106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
107 | done |
---|
108 | IFS=$as_save_IFS |
---|
109 | |
---|
110 | ;; |
---|
111 | esac |
---|
112 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
113 | # in which case we are not to be found in the path. |
---|
114 | if test "x$as_myself" = x; then |
---|
115 | as_myself=$0 |
---|
116 | fi |
---|
117 | if test ! -f "$as_myself"; then |
---|
118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
119 | { (exit 1); exit 1; } |
---|
120 | fi |
---|
121 | |
---|
122 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
123 | for as_var in ENV MAIL MAILPATH |
---|
124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
125 | done |
---|
126 | PS1='$ ' |
---|
127 | PS2='> ' |
---|
128 | PS4='+ ' |
---|
129 | |
---|
130 | # NLS nuisances. |
---|
131 | LC_ALL=C |
---|
132 | export LC_ALL |
---|
133 | LANGUAGE=C |
---|
134 | export LANGUAGE |
---|
135 | |
---|
136 | # Required to use basename. |
---|
137 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
139 | as_expr=expr |
---|
140 | else |
---|
141 | as_expr=false |
---|
142 | fi |
---|
143 | |
---|
144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
145 | as_basename=basename |
---|
146 | else |
---|
147 | as_basename=false |
---|
148 | fi |
---|
149 | |
---|
150 | |
---|
151 | # Name of the executable. |
---|
152 | as_me=`$as_basename -- "$0" || |
---|
153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
154 | X"$0" : 'X\(//\)$' \| \ |
---|
155 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
156 | $as_echo X/"$0" | |
---|
157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
158 | s//\1/ |
---|
159 | q |
---|
160 | } |
---|
161 | /^X\/\(\/\/\)$/{ |
---|
162 | s//\1/ |
---|
163 | q |
---|
164 | } |
---|
165 | /^X\/\(\/\).*/{ |
---|
166 | s//\1/ |
---|
167 | q |
---|
168 | } |
---|
169 | s/.*/./; q'` |
---|
170 | |
---|
171 | # CDPATH. |
---|
172 | $as_unset CDPATH |
---|
173 | |
---|
174 | |
---|
175 | if test "x$CONFIG_SHELL" = x; then |
---|
176 | if (eval ":") 2>/dev/null; then |
---|
177 | as_have_required=yes |
---|
178 | else |
---|
179 | as_have_required=no |
---|
180 | fi |
---|
181 | |
---|
182 | if test $as_have_required = yes && (eval ": |
---|
183 | (as_func_return () { |
---|
184 | (exit \$1) |
---|
185 | } |
---|
186 | as_func_success () { |
---|
187 | as_func_return 0 |
---|
188 | } |
---|
189 | as_func_failure () { |
---|
190 | as_func_return 1 |
---|
191 | } |
---|
192 | as_func_ret_success () { |
---|
193 | return 0 |
---|
194 | } |
---|
195 | as_func_ret_failure () { |
---|
196 | return 1 |
---|
197 | } |
---|
198 | |
---|
199 | exitcode=0 |
---|
200 | if as_func_success; then |
---|
201 | : |
---|
202 | else |
---|
203 | exitcode=1 |
---|
204 | echo as_func_success failed. |
---|
205 | fi |
---|
206 | |
---|
207 | if as_func_failure; then |
---|
208 | exitcode=1 |
---|
209 | echo as_func_failure succeeded. |
---|
210 | fi |
---|
211 | |
---|
212 | if as_func_ret_success; then |
---|
213 | : |
---|
214 | else |
---|
215 | exitcode=1 |
---|
216 | echo as_func_ret_success failed. |
---|
217 | fi |
---|
218 | |
---|
219 | if as_func_ret_failure; then |
---|
220 | exitcode=1 |
---|
221 | echo as_func_ret_failure succeeded. |
---|
222 | fi |
---|
223 | |
---|
224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
225 | : |
---|
226 | else |
---|
227 | exitcode=1 |
---|
228 | echo positional parameters were not saved. |
---|
229 | fi |
---|
230 | |
---|
231 | test \$exitcode = 0) || { (exit 1); exit 1; } |
---|
232 | |
---|
233 | ( |
---|
234 | as_lineno_1=\$LINENO |
---|
235 | as_lineno_2=\$LINENO |
---|
236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
---|
237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
---|
238 | ") 2> /dev/null; then |
---|
239 | : |
---|
240 | else |
---|
241 | as_candidate_shells= |
---|
242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
244 | do |
---|
245 | IFS=$as_save_IFS |
---|
246 | test -z "$as_dir" && as_dir=. |
---|
247 | case $as_dir in |
---|
248 | /*) |
---|
249 | for as_base in sh bash ksh sh5; do |
---|
250 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
---|
251 | done;; |
---|
252 | esac |
---|
253 | done |
---|
254 | IFS=$as_save_IFS |
---|
255 | |
---|
256 | |
---|
257 | for as_shell in $as_candidate_shells $SHELL; do |
---|
258 | # Try only shells that exist, to save several forks. |
---|
259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
260 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
---|
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
262 | emulate sh |
---|
263 | NULLCMD=: |
---|
264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
265 | # is contrary to our usage. Disable this feature. |
---|
266 | alias -g '${1+"$@"}'='"$@"' |
---|
267 | setopt NO_GLOB_SUBST |
---|
268 | else |
---|
269 | case `(set -o) 2>/dev/null` in |
---|
270 | *posix*) set -o posix ;; |
---|
271 | esac |
---|
272 | |
---|
273 | fi |
---|
274 | |
---|
275 | |
---|
276 | : |
---|
277 | _ASEOF |
---|
278 | }; then |
---|
279 | CONFIG_SHELL=$as_shell |
---|
280 | as_have_required=yes |
---|
281 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
---|
282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
283 | emulate sh |
---|
284 | NULLCMD=: |
---|
285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
286 | # is contrary to our usage. Disable this feature. |
---|
287 | alias -g '${1+"$@"}'='"$@"' |
---|
288 | setopt NO_GLOB_SUBST |
---|
289 | else |
---|
290 | case `(set -o) 2>/dev/null` in |
---|
291 | *posix*) set -o posix ;; |
---|
292 | esac |
---|
293 | |
---|
294 | fi |
---|
295 | |
---|
296 | |
---|
297 | : |
---|
298 | (as_func_return () { |
---|
299 | (exit $1) |
---|
300 | } |
---|
301 | as_func_success () { |
---|
302 | as_func_return 0 |
---|
303 | } |
---|
304 | as_func_failure () { |
---|
305 | as_func_return 1 |
---|
306 | } |
---|
307 | as_func_ret_success () { |
---|
308 | return 0 |
---|
309 | } |
---|
310 | as_func_ret_failure () { |
---|
311 | return 1 |
---|
312 | } |
---|
313 | |
---|
314 | exitcode=0 |
---|
315 | if as_func_success; then |
---|
316 | : |
---|
317 | else |
---|
318 | exitcode=1 |
---|
319 | echo as_func_success failed. |
---|
320 | fi |
---|
321 | |
---|
322 | if as_func_failure; then |
---|
323 | exitcode=1 |
---|
324 | echo as_func_failure succeeded. |
---|
325 | fi |
---|
326 | |
---|
327 | if as_func_ret_success; then |
---|
328 | : |
---|
329 | else |
---|
330 | exitcode=1 |
---|
331 | echo as_func_ret_success failed. |
---|
332 | fi |
---|
333 | |
---|
334 | if as_func_ret_failure; then |
---|
335 | exitcode=1 |
---|
336 | echo as_func_ret_failure succeeded. |
---|
337 | fi |
---|
338 | |
---|
339 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
---|
340 | : |
---|
341 | else |
---|
342 | exitcode=1 |
---|
343 | echo positional parameters were not saved. |
---|
344 | fi |
---|
345 | |
---|
346 | test $exitcode = 0) || { (exit 1); exit 1; } |
---|
347 | |
---|
348 | ( |
---|
349 | as_lineno_1=$LINENO |
---|
350 | as_lineno_2=$LINENO |
---|
351 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
---|
353 | |
---|
354 | _ASEOF |
---|
355 | }; then |
---|
356 | break |
---|
357 | fi |
---|
358 | |
---|
359 | fi |
---|
360 | |
---|
361 | done |
---|
362 | |
---|
363 | if test "x$CONFIG_SHELL" != x; then |
---|
364 | for as_var in BASH_ENV ENV |
---|
365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
366 | done |
---|
367 | export CONFIG_SHELL |
---|
368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
---|
369 | fi |
---|
370 | |
---|
371 | |
---|
372 | if test $as_have_required = no; then |
---|
373 | echo This script requires a shell more modern than all the |
---|
374 | echo shells that I found on your system. Please install a |
---|
375 | echo modern shell, or manually run the script under such a |
---|
376 | echo shell if you do have one. |
---|
377 | { (exit 1); exit 1; } |
---|
378 | fi |
---|
379 | |
---|
380 | |
---|
381 | fi |
---|
382 | |
---|
383 | fi |
---|
384 | |
---|
385 | |
---|
386 | |
---|
387 | (eval "as_func_return () { |
---|
388 | (exit \$1) |
---|
389 | } |
---|
390 | as_func_success () { |
---|
391 | as_func_return 0 |
---|
392 | } |
---|
393 | as_func_failure () { |
---|
394 | as_func_return 1 |
---|
395 | } |
---|
396 | as_func_ret_success () { |
---|
397 | return 0 |
---|
398 | } |
---|
399 | as_func_ret_failure () { |
---|
400 | return 1 |
---|
401 | } |
---|
402 | |
---|
403 | exitcode=0 |
---|
404 | if as_func_success; then |
---|
405 | : |
---|
406 | else |
---|
407 | exitcode=1 |
---|
408 | echo as_func_success failed. |
---|
409 | fi |
---|
410 | |
---|
411 | if as_func_failure; then |
---|
412 | exitcode=1 |
---|
413 | echo as_func_failure succeeded. |
---|
414 | fi |
---|
415 | |
---|
416 | if as_func_ret_success; then |
---|
417 | : |
---|
418 | else |
---|
419 | exitcode=1 |
---|
420 | echo as_func_ret_success failed. |
---|
421 | fi |
---|
422 | |
---|
423 | if as_func_ret_failure; then |
---|
424 | exitcode=1 |
---|
425 | echo as_func_ret_failure succeeded. |
---|
426 | fi |
---|
427 | |
---|
428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
429 | : |
---|
430 | else |
---|
431 | exitcode=1 |
---|
432 | echo positional parameters were not saved. |
---|
433 | fi |
---|
434 | |
---|
435 | test \$exitcode = 0") || { |
---|
436 | echo No shell found that supports shell functions. |
---|
437 | echo Please tell bug-autoconf@gnu.org about your system, |
---|
438 | echo including any error possibly output before this message. |
---|
439 | echo This can help us improve future autoconf versions. |
---|
440 | echo Configuration will now proceed without shell functions. |
---|
441 | } |
---|
442 | |
---|
443 | |
---|
444 | |
---|
445 | as_lineno_1=$LINENO |
---|
446 | as_lineno_2=$LINENO |
---|
447 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
449 | |
---|
450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
451 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
452 | # line-number line after each line using $LINENO; the second 'sed' |
---|
453 | # does the real work. The second script uses 'N' to pair each |
---|
454 | # line-number line with the line containing $LINENO, and appends |
---|
455 | # trailing '-' during substitution so that $LINENO is not a special |
---|
456 | # case at line end. |
---|
457 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
458 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
459 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
460 | sed -n ' |
---|
461 | p |
---|
462 | /[$]LINENO/= |
---|
463 | ' <$as_myself | |
---|
464 | sed ' |
---|
465 | s/[$]LINENO.*/&-/ |
---|
466 | t lineno |
---|
467 | b |
---|
468 | :lineno |
---|
469 | N |
---|
470 | :loop |
---|
471 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
472 | t loop |
---|
473 | s/-\n.*// |
---|
474 | ' >$as_me.lineno && |
---|
475 | chmod +x "$as_me.lineno" || |
---|
476 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
477 | { (exit 1); exit 1; }; } |
---|
478 | |
---|
479 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
480 | # (the dirname of $[0] is not the place where we might find the |
---|
481 | # original and so on. Autoconf is especially sensitive to this). |
---|
482 | . "./$as_me.lineno" |
---|
483 | # Exit status is that of the last command. |
---|
484 | exit |
---|
485 | } |
---|
486 | |
---|
487 | |
---|
488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
489 | as_dirname=dirname |
---|
490 | else |
---|
491 | as_dirname=false |
---|
492 | fi |
---|
493 | |
---|
494 | ECHO_C= ECHO_N= ECHO_T= |
---|
495 | case `echo -n x` in |
---|
496 | -n*) |
---|
497 | case `echo 'x\c'` in |
---|
498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
499 | *) ECHO_C='\c';; |
---|
500 | esac;; |
---|
501 | *) |
---|
502 | ECHO_N='-n';; |
---|
503 | esac |
---|
504 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
506 | as_expr=expr |
---|
507 | else |
---|
508 | as_expr=false |
---|
509 | fi |
---|
510 | |
---|
511 | rm -f conf$$ conf$$.exe conf$$.file |
---|
512 | if test -d conf$$.dir; then |
---|
513 | rm -f conf$$.dir/conf$$.file |
---|
514 | else |
---|
515 | rm -f conf$$.dir |
---|
516 | mkdir conf$$.dir 2>/dev/null |
---|
517 | fi |
---|
518 | if (echo >conf$$.file) 2>/dev/null; then |
---|
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
520 | as_ln_s='ln -s' |
---|
521 | # ... but there are two gotchas: |
---|
522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
524 | # In both cases, we have to default to `cp -p'. |
---|
525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
526 | as_ln_s='cp -p' |
---|
527 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
528 | as_ln_s=ln |
---|
529 | else |
---|
530 | as_ln_s='cp -p' |
---|
531 | fi |
---|
532 | else |
---|
533 | as_ln_s='cp -p' |
---|
534 | fi |
---|
535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
536 | rmdir conf$$.dir 2>/dev/null |
---|
537 | |
---|
538 | if mkdir -p . 2>/dev/null; then |
---|
539 | as_mkdir_p=: |
---|
540 | else |
---|
541 | test -d ./-p && rmdir ./-p |
---|
542 | as_mkdir_p=false |
---|
543 | fi |
---|
544 | |
---|
545 | if test -x / >/dev/null 2>&1; then |
---|
546 | as_test_x='test -x' |
---|
547 | else |
---|
548 | if ls -dL / >/dev/null 2>&1; then |
---|
549 | as_ls_L_option=L |
---|
550 | else |
---|
551 | as_ls_L_option= |
---|
552 | fi |
---|
553 | as_test_x=' |
---|
554 | eval sh -c '\'' |
---|
555 | if test -d "$1"; then |
---|
556 | test -d "$1/."; |
---|
557 | else |
---|
558 | case $1 in |
---|
559 | -*)set "./$1";; |
---|
560 | esac; |
---|
561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
562 | ???[sx]*):;;*)false;;esac;fi |
---|
563 | '\'' sh |
---|
564 | ' |
---|
565 | fi |
---|
566 | as_executable_p=$as_test_x |
---|
567 | |
---|
568 | # Sed expression to map a string onto a valid CPP name. |
---|
569 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
570 | |
---|
571 | # Sed expression to map a string onto a valid variable name. |
---|
572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
573 | |
---|
574 | |
---|
575 | |
---|
576 | exec 7<&0 </dev/null 6>&1 |
---|
577 | |
---|
578 | # Name of the host. |
---|
579 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
580 | # so uname gets run too. |
---|
581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
582 | |
---|
583 | # |
---|
584 | # Initializations. |
---|
585 | # |
---|
586 | ac_default_prefix=/usr/local |
---|
587 | ac_clean_files= |
---|
588 | ac_config_libobj_dir=. |
---|
589 | LIBOBJS= |
---|
590 | cross_compiling=no |
---|
591 | subdirs= |
---|
592 | MFLAGS= |
---|
593 | MAKEFLAGS= |
---|
594 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
595 | |
---|
596 | # Identity of this package. |
---|
597 | PACKAGE_NAME='vizservers' |
---|
598 | PACKAGE_TARNAME='vizservers' |
---|
599 | PACKAGE_VERSION='0.1' |
---|
600 | PACKAGE_STRING='vizservers 0.1' |
---|
601 | PACKAGE_BUGREPORT='rappture@nanohub.org' |
---|
602 | |
---|
603 | # Factoring default headers for most tests. |
---|
604 | ac_includes_default="\ |
---|
605 | #include <stdio.h> |
---|
606 | #ifdef HAVE_SYS_TYPES_H |
---|
607 | # include <sys/types.h> |
---|
608 | #endif |
---|
609 | #ifdef HAVE_SYS_STAT_H |
---|
610 | # include <sys/stat.h> |
---|
611 | #endif |
---|
612 | #ifdef STDC_HEADERS |
---|
613 | # include <stdlib.h> |
---|
614 | # include <stddef.h> |
---|
615 | #else |
---|
616 | # ifdef HAVE_STDLIB_H |
---|
617 | # include <stdlib.h> |
---|
618 | # endif |
---|
619 | #endif |
---|
620 | #ifdef HAVE_STRING_H |
---|
621 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
622 | # include <memory.h> |
---|
623 | # endif |
---|
624 | # include <string.h> |
---|
625 | #endif |
---|
626 | #ifdef HAVE_STRINGS_H |
---|
627 | # include <strings.h> |
---|
628 | #endif |
---|
629 | #ifdef HAVE_INTTYPES_H |
---|
630 | # include <inttypes.h> |
---|
631 | #endif |
---|
632 | #ifdef HAVE_STDINT_H |
---|
633 | # include <stdint.h> |
---|
634 | #endif |
---|
635 | #ifdef HAVE_UNISTD_H |
---|
636 | # include <unistd.h> |
---|
637 | #endif" |
---|
638 | |
---|
639 | ac_subst_vars='LTLIBOBJS |
---|
640 | LIBOBJS |
---|
641 | LD_RPATH |
---|
642 | CG_DIR |
---|
643 | DX_DIR |
---|
644 | RP_DIR |
---|
645 | RP2_INCL_DIR |
---|
646 | TCL_LIB_SPEC |
---|
647 | TCL_INC_SPEC |
---|
648 | TCL_VERSION |
---|
649 | SUBDIRS |
---|
650 | EGREP |
---|
651 | GREP |
---|
652 | CXXCPP |
---|
653 | ac_ct_CXX |
---|
654 | CXXFLAGS |
---|
655 | CXX |
---|
656 | CPP |
---|
657 | OBJEXT |
---|
658 | EXEEXT |
---|
659 | ac_ct_CC |
---|
660 | CPPFLAGS |
---|
661 | LDFLAGS |
---|
662 | CFLAGS |
---|
663 | CC |
---|
664 | MKDIR_P |
---|
665 | LN_S |
---|
666 | RANLIB |
---|
667 | INSTALL_DATA |
---|
668 | INSTALL_SCRIPT |
---|
669 | INSTALL_PROGRAM |
---|
670 | SHLIB_SUFFIX |
---|
671 | SHLIB_LDFLAGS |
---|
672 | SHLIB_CFLAGS |
---|
673 | SHLIB_LD |
---|
674 | STLIB_LD |
---|
675 | CFLAGS_OPTIMIZE |
---|
676 | CFLAGS_DEBUG |
---|
677 | VERSION |
---|
678 | target_alias |
---|
679 | host_alias |
---|
680 | build_alias |
---|
681 | LIBS |
---|
682 | ECHO_T |
---|
683 | ECHO_N |
---|
684 | ECHO_C |
---|
685 | DEFS |
---|
686 | mandir |
---|
687 | localedir |
---|
688 | libdir |
---|
689 | psdir |
---|
690 | pdfdir |
---|
691 | dvidir |
---|
692 | htmldir |
---|
693 | infodir |
---|
694 | docdir |
---|
695 | oldincludedir |
---|
696 | includedir |
---|
697 | localstatedir |
---|
698 | sharedstatedir |
---|
699 | sysconfdir |
---|
700 | datadir |
---|
701 | datarootdir |
---|
702 | libexecdir |
---|
703 | sbindir |
---|
704 | bindir |
---|
705 | program_transform_name |
---|
706 | prefix |
---|
707 | exec_prefix |
---|
708 | PACKAGE_BUGREPORT |
---|
709 | PACKAGE_STRING |
---|
710 | PACKAGE_VERSION |
---|
711 | PACKAGE_TARNAME |
---|
712 | PACKAGE_NAME |
---|
713 | PATH_SEPARATOR |
---|
714 | SHELL' |
---|
715 | ac_subst_files='' |
---|
716 | ac_user_opts=' |
---|
717 | enable_option_checking |
---|
718 | with_tcllib |
---|
719 | with_rappture |
---|
720 | ' |
---|
721 | ac_precious_vars='build_alias |
---|
722 | host_alias |
---|
723 | target_alias |
---|
724 | CC |
---|
725 | CFLAGS |
---|
726 | LDFLAGS |
---|
727 | LIBS |
---|
728 | CPPFLAGS |
---|
729 | CPP |
---|
730 | CXX |
---|
731 | CXXFLAGS |
---|
732 | CCC |
---|
733 | CXXCPP' |
---|
734 | |
---|
735 | |
---|
736 | # Initialize some variables set by options. |
---|
737 | ac_init_help= |
---|
738 | ac_init_version=false |
---|
739 | ac_unrecognized_opts= |
---|
740 | ac_unrecognized_sep= |
---|
741 | # The variables have the same names as the options, with |
---|
742 | # dashes changed to underlines. |
---|
743 | cache_file=/dev/null |
---|
744 | exec_prefix=NONE |
---|
745 | no_create= |
---|
746 | no_recursion= |
---|
747 | prefix=NONE |
---|
748 | program_prefix=NONE |
---|
749 | program_suffix=NONE |
---|
750 | program_transform_name=s,x,x, |
---|
751 | silent= |
---|
752 | site= |
---|
753 | srcdir= |
---|
754 | verbose= |
---|
755 | x_includes=NONE |
---|
756 | x_libraries=NONE |
---|
757 | |
---|
758 | # Installation directory options. |
---|
759 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
760 | # and all the variables that are supposed to be based on exec_prefix |
---|
761 | # by default will actually change. |
---|
762 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
763 | # (The list follows the same order as the GNU Coding Standards.) |
---|
764 | bindir='${exec_prefix}/bin' |
---|
765 | sbindir='${exec_prefix}/sbin' |
---|
766 | libexecdir='${exec_prefix}/libexec' |
---|
767 | datarootdir='${prefix}/share' |
---|
768 | datadir='${datarootdir}' |
---|
769 | sysconfdir='${prefix}/etc' |
---|
770 | sharedstatedir='${prefix}/com' |
---|
771 | localstatedir='${prefix}/var' |
---|
772 | includedir='${prefix}/include' |
---|
773 | oldincludedir='/usr/include' |
---|
774 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
775 | infodir='${datarootdir}/info' |
---|
776 | htmldir='${docdir}' |
---|
777 | dvidir='${docdir}' |
---|
778 | pdfdir='${docdir}' |
---|
779 | psdir='${docdir}' |
---|
780 | libdir='${exec_prefix}/lib' |
---|
781 | localedir='${datarootdir}/locale' |
---|
782 | mandir='${datarootdir}/man' |
---|
783 | |
---|
784 | ac_prev= |
---|
785 | ac_dashdash= |
---|
786 | for ac_option |
---|
787 | do |
---|
788 | # If the previous option needs an argument, assign it. |
---|
789 | if test -n "$ac_prev"; then |
---|
790 | eval $ac_prev=\$ac_option |
---|
791 | ac_prev= |
---|
792 | continue |
---|
793 | fi |
---|
794 | |
---|
795 | case $ac_option in |
---|
796 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
797 | *) ac_optarg=yes ;; |
---|
798 | esac |
---|
799 | |
---|
800 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
801 | |
---|
802 | case $ac_dashdash$ac_option in |
---|
803 | --) |
---|
804 | ac_dashdash=yes ;; |
---|
805 | |
---|
806 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
807 | ac_prev=bindir ;; |
---|
808 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
809 | bindir=$ac_optarg ;; |
---|
810 | |
---|
811 | -build | --build | --buil | --bui | --bu) |
---|
812 | ac_prev=build_alias ;; |
---|
813 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
814 | build_alias=$ac_optarg ;; |
---|
815 | |
---|
816 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
817 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
818 | ac_prev=cache_file ;; |
---|
819 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
820 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
821 | cache_file=$ac_optarg ;; |
---|
822 | |
---|
823 | --config-cache | -C) |
---|
824 | cache_file=config.cache ;; |
---|
825 | |
---|
826 | -datadir | --datadir | --datadi | --datad) |
---|
827 | ac_prev=datadir ;; |
---|
828 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
829 | datadir=$ac_optarg ;; |
---|
830 | |
---|
831 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
832 | | --dataroo | --dataro | --datar) |
---|
833 | ac_prev=datarootdir ;; |
---|
834 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
835 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
836 | datarootdir=$ac_optarg ;; |
---|
837 | |
---|
838 | -disable-* | --disable-*) |
---|
839 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
840 | # Reject names that are not valid shell variable names. |
---|
841 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
842 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
---|
843 | { (exit 1); exit 1; }; } |
---|
844 | ac_useropt_orig=$ac_useropt |
---|
845 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
846 | case $ac_user_opts in |
---|
847 | *" |
---|
848 | "enable_$ac_useropt" |
---|
849 | "*) ;; |
---|
850 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
851 | ac_unrecognized_sep=', ';; |
---|
852 | esac |
---|
853 | eval enable_$ac_useropt=no ;; |
---|
854 | |
---|
855 | -docdir | --docdir | --docdi | --doc | --do) |
---|
856 | ac_prev=docdir ;; |
---|
857 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
858 | docdir=$ac_optarg ;; |
---|
859 | |
---|
860 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
861 | ac_prev=dvidir ;; |
---|
862 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
863 | dvidir=$ac_optarg ;; |
---|
864 | |
---|
865 | -enable-* | --enable-*) |
---|
866 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
867 | # Reject names that are not valid shell variable names. |
---|
868 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
869 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
---|
870 | { (exit 1); exit 1; }; } |
---|
871 | ac_useropt_orig=$ac_useropt |
---|
872 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
873 | case $ac_user_opts in |
---|
874 | *" |
---|
875 | "enable_$ac_useropt" |
---|
876 | "*) ;; |
---|
877 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
878 | ac_unrecognized_sep=', ';; |
---|
879 | esac |
---|
880 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
881 | |
---|
882 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
883 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
884 | | --exec | --exe | --ex) |
---|
885 | ac_prev=exec_prefix ;; |
---|
886 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
887 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
888 | | --exec=* | --exe=* | --ex=*) |
---|
889 | exec_prefix=$ac_optarg ;; |
---|
890 | |
---|
891 | -gas | --gas | --ga | --g) |
---|
892 | # Obsolete; use --with-gas. |
---|
893 | with_gas=yes ;; |
---|
894 | |
---|
895 | -help | --help | --hel | --he | -h) |
---|
896 | ac_init_help=long ;; |
---|
897 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
898 | ac_init_help=recursive ;; |
---|
899 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
900 | ac_init_help=short ;; |
---|
901 | |
---|
902 | -host | --host | --hos | --ho) |
---|
903 | ac_prev=host_alias ;; |
---|
904 | -host=* | --host=* | --hos=* | --ho=*) |
---|
905 | host_alias=$ac_optarg ;; |
---|
906 | |
---|
907 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
908 | ac_prev=htmldir ;; |
---|
909 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
910 | | --ht=*) |
---|
911 | htmldir=$ac_optarg ;; |
---|
912 | |
---|
913 | -includedir | --includedir | --includedi | --included | --include \ |
---|
914 | | --includ | --inclu | --incl | --inc) |
---|
915 | ac_prev=includedir ;; |
---|
916 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
917 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
918 | includedir=$ac_optarg ;; |
---|
919 | |
---|
920 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
921 | ac_prev=infodir ;; |
---|
922 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
923 | infodir=$ac_optarg ;; |
---|
924 | |
---|
925 | -libdir | --libdir | --libdi | --libd) |
---|
926 | ac_prev=libdir ;; |
---|
927 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
928 | libdir=$ac_optarg ;; |
---|
929 | |
---|
930 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
931 | | --libexe | --libex | --libe) |
---|
932 | ac_prev=libexecdir ;; |
---|
933 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
934 | | --libexe=* | --libex=* | --libe=*) |
---|
935 | libexecdir=$ac_optarg ;; |
---|
936 | |
---|
937 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
938 | ac_prev=localedir ;; |
---|
939 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
940 | localedir=$ac_optarg ;; |
---|
941 | |
---|
942 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
943 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
944 | ac_prev=localstatedir ;; |
---|
945 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
946 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
947 | localstatedir=$ac_optarg ;; |
---|
948 | |
---|
949 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
950 | ac_prev=mandir ;; |
---|
951 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
952 | mandir=$ac_optarg ;; |
---|
953 | |
---|
954 | -nfp | --nfp | --nf) |
---|
955 | # Obsolete; use --without-fp. |
---|
956 | with_fp=no ;; |
---|
957 | |
---|
958 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
959 | | --no-cr | --no-c | -n) |
---|
960 | no_create=yes ;; |
---|
961 | |
---|
962 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
963 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
964 | no_recursion=yes ;; |
---|
965 | |
---|
966 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
967 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
968 | | --oldin | --oldi | --old | --ol | --o) |
---|
969 | ac_prev=oldincludedir ;; |
---|
970 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
971 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
972 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
973 | oldincludedir=$ac_optarg ;; |
---|
974 | |
---|
975 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
976 | ac_prev=prefix ;; |
---|
977 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
978 | prefix=$ac_optarg ;; |
---|
979 | |
---|
980 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
981 | | --program-pre | --program-pr | --program-p) |
---|
982 | ac_prev=program_prefix ;; |
---|
983 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
984 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
985 | program_prefix=$ac_optarg ;; |
---|
986 | |
---|
987 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
988 | | --program-suf | --program-su | --program-s) |
---|
989 | ac_prev=program_suffix ;; |
---|
990 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
991 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
992 | program_suffix=$ac_optarg ;; |
---|
993 | |
---|
994 | -program-transform-name | --program-transform-name \ |
---|
995 | | --program-transform-nam | --program-transform-na \ |
---|
996 | | --program-transform-n | --program-transform- \ |
---|
997 | | --program-transform | --program-transfor \ |
---|
998 | | --program-transfo | --program-transf \ |
---|
999 | | --program-trans | --program-tran \ |
---|
1000 | | --progr-tra | --program-tr | --program-t) |
---|
1001 | ac_prev=program_transform_name ;; |
---|
1002 | -program-transform-name=* | --program-transform-name=* \ |
---|
1003 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
1004 | | --program-transform-n=* | --program-transform-=* \ |
---|
1005 | | --program-transform=* | --program-transfor=* \ |
---|
1006 | | --program-transfo=* | --program-transf=* \ |
---|
1007 | | --program-trans=* | --program-tran=* \ |
---|
1008 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
1009 | program_transform_name=$ac_optarg ;; |
---|
1010 | |
---|
1011 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
1012 | ac_prev=pdfdir ;; |
---|
1013 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
1014 | pdfdir=$ac_optarg ;; |
---|
1015 | |
---|
1016 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
1017 | ac_prev=psdir ;; |
---|
1018 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
1019 | psdir=$ac_optarg ;; |
---|
1020 | |
---|
1021 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1022 | | -silent | --silent | --silen | --sile | --sil) |
---|
1023 | silent=yes ;; |
---|
1024 | |
---|
1025 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
1026 | ac_prev=sbindir ;; |
---|
1027 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
1028 | | --sbi=* | --sb=*) |
---|
1029 | sbindir=$ac_optarg ;; |
---|
1030 | |
---|
1031 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
1032 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
1033 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
1034 | | --sha | --sh) |
---|
1035 | ac_prev=sharedstatedir ;; |
---|
1036 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
1037 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
1038 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
1039 | | --sha=* | --sh=*) |
---|
1040 | sharedstatedir=$ac_optarg ;; |
---|
1041 | |
---|
1042 | -site | --site | --sit) |
---|
1043 | ac_prev=site ;; |
---|
1044 | -site=* | --site=* | --sit=*) |
---|
1045 | site=$ac_optarg ;; |
---|
1046 | |
---|
1047 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
1048 | ac_prev=srcdir ;; |
---|
1049 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
1050 | srcdir=$ac_optarg ;; |
---|
1051 | |
---|
1052 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
1053 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
1054 | ac_prev=sysconfdir ;; |
---|
1055 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
1056 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
1057 | sysconfdir=$ac_optarg ;; |
---|
1058 | |
---|
1059 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
1060 | ac_prev=target_alias ;; |
---|
1061 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
1062 | target_alias=$ac_optarg ;; |
---|
1063 | |
---|
1064 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
1065 | verbose=yes ;; |
---|
1066 | |
---|
1067 | -version | --version | --versio | --versi | --vers | -V) |
---|
1068 | ac_init_version=: ;; |
---|
1069 | |
---|
1070 | -with-* | --with-*) |
---|
1071 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1072 | # Reject names that are not valid shell variable names. |
---|
1073 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1074 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
---|
1075 | { (exit 1); exit 1; }; } |
---|
1076 | ac_useropt_orig=$ac_useropt |
---|
1077 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1078 | case $ac_user_opts in |
---|
1079 | *" |
---|
1080 | "with_$ac_useropt" |
---|
1081 | "*) ;; |
---|
1082 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
1083 | ac_unrecognized_sep=', ';; |
---|
1084 | esac |
---|
1085 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
1086 | |
---|
1087 | -without-* | --without-*) |
---|
1088 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1089 | # Reject names that are not valid shell variable names. |
---|
1090 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1091 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
---|
1092 | { (exit 1); exit 1; }; } |
---|
1093 | ac_useropt_orig=$ac_useropt |
---|
1094 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1095 | case $ac_user_opts in |
---|
1096 | *" |
---|
1097 | "with_$ac_useropt" |
---|
1098 | "*) ;; |
---|
1099 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1100 | ac_unrecognized_sep=', ';; |
---|
1101 | esac |
---|
1102 | eval with_$ac_useropt=no ;; |
---|
1103 | |
---|
1104 | --x) |
---|
1105 | # Obsolete; use --with-x. |
---|
1106 | with_x=yes ;; |
---|
1107 | |
---|
1108 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1109 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1110 | ac_prev=x_includes ;; |
---|
1111 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1112 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1113 | x_includes=$ac_optarg ;; |
---|
1114 | |
---|
1115 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1116 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1117 | ac_prev=x_libraries ;; |
---|
1118 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1119 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1120 | x_libraries=$ac_optarg ;; |
---|
1121 | |
---|
1122 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
---|
1123 | Try \`$0 --help' for more information." >&2 |
---|
1124 | { (exit 1); exit 1; }; } |
---|
1125 | ;; |
---|
1126 | |
---|
1127 | *=*) |
---|
1128 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1129 | # Reject names that are not valid shell variable names. |
---|
1130 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
1131 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
1132 | { (exit 1); exit 1; }; } |
---|
1133 | eval $ac_envvar=\$ac_optarg |
---|
1134 | export $ac_envvar ;; |
---|
1135 | |
---|
1136 | *) |
---|
1137 | # FIXME: should be removed in autoconf 3.0. |
---|
1138 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1139 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1140 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1141 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
1142 | ;; |
---|
1143 | |
---|
1144 | esac |
---|
1145 | done |
---|
1146 | |
---|
1147 | if test -n "$ac_prev"; then |
---|
1148 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1149 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
1150 | { (exit 1); exit 1; }; } |
---|
1151 | fi |
---|
1152 | |
---|
1153 | if test -n "$ac_unrecognized_opts"; then |
---|
1154 | case $enable_option_checking in |
---|
1155 | no) ;; |
---|
1156 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
---|
1157 | { (exit 1); exit 1; }; } ;; |
---|
1158 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1159 | esac |
---|
1160 | fi |
---|
1161 | |
---|
1162 | # Check all directory arguments for consistency. |
---|
1163 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1164 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1165 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1166 | libdir localedir mandir |
---|
1167 | do |
---|
1168 | eval ac_val=\$$ac_var |
---|
1169 | # Remove trailing slashes. |
---|
1170 | case $ac_val in |
---|
1171 | */ ) |
---|
1172 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1173 | eval $ac_var=\$ac_val;; |
---|
1174 | esac |
---|
1175 | # Be sure to have absolute directory names. |
---|
1176 | case $ac_val in |
---|
1177 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1178 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1179 | esac |
---|
1180 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
1181 | { (exit 1); exit 1; }; } |
---|
1182 | done |
---|
1183 | |
---|
1184 | # There might be people who depend on the old broken behavior: `$host' |
---|
1185 | # used to hold the argument of --host etc. |
---|
1186 | # FIXME: To remove some day. |
---|
1187 | build=$build_alias |
---|
1188 | host=$host_alias |
---|
1189 | target=$target_alias |
---|
1190 | |
---|
1191 | # FIXME: To remove some day. |
---|
1192 | if test "x$host_alias" != x; then |
---|
1193 | if test "x$build_alias" = x; then |
---|
1194 | cross_compiling=maybe |
---|
1195 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
1196 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
1197 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1198 | cross_compiling=yes |
---|
1199 | fi |
---|
1200 | fi |
---|
1201 | |
---|
1202 | ac_tool_prefix= |
---|
1203 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1204 | |
---|
1205 | test "$silent" = yes && exec 6>/dev/null |
---|
1206 | |
---|
1207 | |
---|
1208 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1209 | ac_ls_di=`ls -di .` && |
---|
1210 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1211 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
---|
1212 | { (exit 1); exit 1; }; } |
---|
1213 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1214 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
1215 | { (exit 1); exit 1; }; } |
---|
1216 | |
---|
1217 | |
---|
1218 | # Find the source files, if location was not specified. |
---|
1219 | if test -z "$srcdir"; then |
---|
1220 | ac_srcdir_defaulted=yes |
---|
1221 | # Try the directory containing this script, then the parent directory. |
---|
1222 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1223 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1224 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1225 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1226 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1227 | $as_echo X"$as_myself" | |
---|
1228 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1229 | s//\1/ |
---|
1230 | q |
---|
1231 | } |
---|
1232 | /^X\(\/\/\)[^/].*/{ |
---|
1233 | s//\1/ |
---|
1234 | q |
---|
1235 | } |
---|
1236 | /^X\(\/\/\)$/{ |
---|
1237 | s//\1/ |
---|
1238 | q |
---|
1239 | } |
---|
1240 | /^X\(\/\).*/{ |
---|
1241 | s//\1/ |
---|
1242 | q |
---|
1243 | } |
---|
1244 | s/.*/./; q'` |
---|
1245 | srcdir=$ac_confdir |
---|
1246 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1247 | srcdir=.. |
---|
1248 | fi |
---|
1249 | else |
---|
1250 | ac_srcdir_defaulted=no |
---|
1251 | fi |
---|
1252 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1253 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1254 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
1255 | { (exit 1); exit 1; }; } |
---|
1256 | fi |
---|
1257 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1258 | ac_abs_confdir=`( |
---|
1259 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
---|
1260 | { (exit 1); exit 1; }; } |
---|
1261 | pwd)` |
---|
1262 | # When building in place, set srcdir=. |
---|
1263 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1264 | srcdir=. |
---|
1265 | fi |
---|
1266 | # Remove unnecessary trailing slashes from srcdir. |
---|
1267 | # Double slashes in file names in object file debugging info |
---|
1268 | # mess up M-x gdb in Emacs. |
---|
1269 | case $srcdir in |
---|
1270 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1271 | esac |
---|
1272 | for ac_var in $ac_precious_vars; do |
---|
1273 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1274 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1275 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1276 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1277 | done |
---|
1278 | |
---|
1279 | # |
---|
1280 | # Report the --help message. |
---|
1281 | # |
---|
1282 | if test "$ac_init_help" = "long"; then |
---|
1283 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1284 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1285 | cat <<_ACEOF |
---|
1286 | \`configure' configures vizservers 0.1 to adapt to many kinds of systems. |
---|
1287 | |
---|
1288 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1289 | |
---|
1290 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1291 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1292 | |
---|
1293 | Defaults for the options are specified in brackets. |
---|
1294 | |
---|
1295 | Configuration: |
---|
1296 | -h, --help display this help and exit |
---|
1297 | --help=short display options specific to this package |
---|
1298 | --help=recursive display the short help of all the included packages |
---|
1299 | -V, --version display version information and exit |
---|
1300 | -q, --quiet, --silent do not print \`checking...' messages |
---|
1301 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1302 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1303 | -n, --no-create do not create output files |
---|
1304 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1305 | |
---|
1306 | Installation directories: |
---|
1307 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1308 | [$ac_default_prefix] |
---|
1309 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1310 | [PREFIX] |
---|
1311 | |
---|
1312 | By default, \`make install' will install all the files in |
---|
1313 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1314 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1315 | for instance \`--prefix=\$HOME'. |
---|
1316 | |
---|
1317 | For better control, use the options below. |
---|
1318 | |
---|
1319 | Fine tuning of the installation directories: |
---|
1320 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1321 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1322 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1323 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1324 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1325 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1326 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1327 | --includedir=DIR C header files [PREFIX/include] |
---|
1328 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1329 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1330 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1331 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1332 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1333 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1334 | --docdir=DIR documentation root [DATAROOTDIR/doc/vizservers] |
---|
1335 | --htmldir=DIR html documentation [DOCDIR] |
---|
1336 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1337 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1338 | --psdir=DIR ps documentation [DOCDIR] |
---|
1339 | _ACEOF |
---|
1340 | |
---|
1341 | cat <<\_ACEOF |
---|
1342 | _ACEOF |
---|
1343 | fi |
---|
1344 | |
---|
1345 | if test -n "$ac_init_help"; then |
---|
1346 | case $ac_init_help in |
---|
1347 | short | recursive ) echo "Configuration of vizservers 0.1:";; |
---|
1348 | esac |
---|
1349 | cat <<\_ACEOF |
---|
1350 | |
---|
1351 | Optional Packages: |
---|
1352 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
1353 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
1354 | --with-tcllib=DIR location of Tcl binary library libtclstubs.a |
---|
1355 | [default=/usr/lib] |
---|
1356 | --with-rappture=DIR location of rappture files lib/librappture2.a and |
---|
1357 | include/rappture2/rappture2.h [default=/usr] |
---|
1358 | |
---|
1359 | Some influential environment variables: |
---|
1360 | CC C compiler command |
---|
1361 | CFLAGS C compiler flags |
---|
1362 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1363 | nonstandard directory <lib dir> |
---|
1364 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1365 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
---|
1366 | you have headers in a nonstandard directory <include dir> |
---|
1367 | CPP C preprocessor |
---|
1368 | CXX C++ compiler command |
---|
1369 | CXXFLAGS C++ compiler flags |
---|
1370 | CXXCPP C++ preprocessor |
---|
1371 | |
---|
1372 | Use these variables to override the choices made by `configure' or to help |
---|
1373 | it to find libraries and programs with nonstandard names/locations. |
---|
1374 | |
---|
1375 | Report bugs to <rappture@nanohub.org>. |
---|
1376 | _ACEOF |
---|
1377 | ac_status=$? |
---|
1378 | fi |
---|
1379 | |
---|
1380 | if test "$ac_init_help" = "recursive"; then |
---|
1381 | # If there are subdirs, report their specific --help. |
---|
1382 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1383 | test -d "$ac_dir" || |
---|
1384 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1385 | continue |
---|
1386 | ac_builddir=. |
---|
1387 | |
---|
1388 | case "$ac_dir" in |
---|
1389 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1390 | *) |
---|
1391 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1392 | # A ".." for each directory in $ac_dir_suffix. |
---|
1393 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1394 | case $ac_top_builddir_sub in |
---|
1395 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1396 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1397 | esac ;; |
---|
1398 | esac |
---|
1399 | ac_abs_top_builddir=$ac_pwd |
---|
1400 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1401 | # for backward compatibility: |
---|
1402 | ac_top_builddir=$ac_top_build_prefix |
---|
1403 | |
---|
1404 | case $srcdir in |
---|
1405 | .) # We are building in place. |
---|
1406 | ac_srcdir=. |
---|
1407 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1408 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1409 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1410 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1411 | ac_top_srcdir=$srcdir |
---|
1412 | ac_abs_top_srcdir=$srcdir ;; |
---|
1413 | *) # Relative name. |
---|
1414 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1415 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1416 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1417 | esac |
---|
1418 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1419 | |
---|
1420 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1421 | # Check for guested configure. |
---|
1422 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1423 | echo && |
---|
1424 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1425 | elif test -f "$ac_srcdir/configure"; then |
---|
1426 | echo && |
---|
1427 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1428 | else |
---|
1429 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1430 | fi || ac_status=$? |
---|
1431 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1432 | done |
---|
1433 | fi |
---|
1434 | |
---|
1435 | test -n "$ac_init_help" && exit $ac_status |
---|
1436 | if $ac_init_version; then |
---|
1437 | cat <<\_ACEOF |
---|
1438 | vizservers configure 0.1 |
---|
1439 | generated by GNU Autoconf 2.63 |
---|
1440 | |
---|
1441 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
1442 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
---|
1443 | This configure script is free software; the Free Software Foundation |
---|
1444 | gives unlimited permission to copy, distribute and modify it. |
---|
1445 | _ACEOF |
---|
1446 | exit |
---|
1447 | fi |
---|
1448 | cat >config.log <<_ACEOF |
---|
1449 | This file contains any messages produced by compilers while |
---|
1450 | running configure, to aid debugging if configure makes a mistake. |
---|
1451 | |
---|
1452 | It was created by vizservers $as_me 0.1, which was |
---|
1453 | generated by GNU Autoconf 2.63. Invocation command line was |
---|
1454 | |
---|
1455 | $ $0 $@ |
---|
1456 | |
---|
1457 | _ACEOF |
---|
1458 | exec 5>>config.log |
---|
1459 | { |
---|
1460 | cat <<_ASUNAME |
---|
1461 | ## --------- ## |
---|
1462 | ## Platform. ## |
---|
1463 | ## --------- ## |
---|
1464 | |
---|
1465 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1466 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1467 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1468 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1469 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1470 | |
---|
1471 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1472 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1473 | |
---|
1474 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1475 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1476 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1477 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1478 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1479 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1480 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1481 | |
---|
1482 | _ASUNAME |
---|
1483 | |
---|
1484 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1485 | for as_dir in $PATH |
---|
1486 | do |
---|
1487 | IFS=$as_save_IFS |
---|
1488 | test -z "$as_dir" && as_dir=. |
---|
1489 | $as_echo "PATH: $as_dir" |
---|
1490 | done |
---|
1491 | IFS=$as_save_IFS |
---|
1492 | |
---|
1493 | } >&5 |
---|
1494 | |
---|
1495 | cat >&5 <<_ACEOF |
---|
1496 | |
---|
1497 | |
---|
1498 | ## ----------- ## |
---|
1499 | ## Core tests. ## |
---|
1500 | ## ----------- ## |
---|
1501 | |
---|
1502 | _ACEOF |
---|
1503 | |
---|
1504 | |
---|
1505 | # Keep a trace of the command line. |
---|
1506 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1507 | # Strip out --silent because we don't want to record it for future runs. |
---|
1508 | # Also quote any args containing shell meta-characters. |
---|
1509 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1510 | ac_configure_args= |
---|
1511 | ac_configure_args0= |
---|
1512 | ac_configure_args1= |
---|
1513 | ac_must_keep_next=false |
---|
1514 | for ac_pass in 1 2 |
---|
1515 | do |
---|
1516 | for ac_arg |
---|
1517 | do |
---|
1518 | case $ac_arg in |
---|
1519 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1520 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1521 | | -silent | --silent | --silen | --sile | --sil) |
---|
1522 | continue ;; |
---|
1523 | *\'*) |
---|
1524 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1525 | esac |
---|
1526 | case $ac_pass in |
---|
1527 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1528 | 2) |
---|
1529 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1530 | if test $ac_must_keep_next = true; then |
---|
1531 | ac_must_keep_next=false # Got value, back to normal. |
---|
1532 | else |
---|
1533 | case $ac_arg in |
---|
1534 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1535 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1536 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1537 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1538 | case "$ac_configure_args0 " in |
---|
1539 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1540 | esac |
---|
1541 | ;; |
---|
1542 | -* ) ac_must_keep_next=true ;; |
---|
1543 | esac |
---|
1544 | fi |
---|
1545 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
1546 | ;; |
---|
1547 | esac |
---|
1548 | done |
---|
1549 | done |
---|
1550 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1551 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1552 | |
---|
1553 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1554 | # config.log. We remove comments because anyway the quotes in there |
---|
1555 | # would cause problems or look ugly. |
---|
1556 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
1557 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
1558 | trap 'exit_status=$? |
---|
1559 | # Save into config.log some information that might help in debugging. |
---|
1560 | { |
---|
1561 | echo |
---|
1562 | |
---|
1563 | cat <<\_ASBOX |
---|
1564 | ## ---------------- ## |
---|
1565 | ## Cache variables. ## |
---|
1566 | ## ---------------- ## |
---|
1567 | _ASBOX |
---|
1568 | echo |
---|
1569 | # The following way of writing the cache mishandles newlines in values, |
---|
1570 | ( |
---|
1571 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
1572 | eval ac_val=\$$ac_var |
---|
1573 | case $ac_val in #( |
---|
1574 | *${as_nl}*) |
---|
1575 | case $ac_var in #( |
---|
1576 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
1577 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
1578 | esac |
---|
1579 | case $ac_var in #( |
---|
1580 | _ | IFS | as_nl) ;; #( |
---|
1581 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
1582 | *) $as_unset $ac_var ;; |
---|
1583 | esac ;; |
---|
1584 | esac |
---|
1585 | done |
---|
1586 | (set) 2>&1 | |
---|
1587 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
1588 | *${as_nl}ac_space=\ *) |
---|
1589 | sed -n \ |
---|
1590 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
1591 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
1592 | ;; #( |
---|
1593 | *) |
---|
1594 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
1595 | ;; |
---|
1596 | esac | |
---|
1597 | sort |
---|
1598 | ) |
---|
1599 | echo |
---|
1600 | |
---|
1601 | cat <<\_ASBOX |
---|
1602 | ## ----------------- ## |
---|
1603 | ## Output variables. ## |
---|
1604 | ## ----------------- ## |
---|
1605 | _ASBOX |
---|
1606 | echo |
---|
1607 | for ac_var in $ac_subst_vars |
---|
1608 | do |
---|
1609 | eval ac_val=\$$ac_var |
---|
1610 | case $ac_val in |
---|
1611 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1612 | esac |
---|
1613 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1614 | done | sort |
---|
1615 | echo |
---|
1616 | |
---|
1617 | if test -n "$ac_subst_files"; then |
---|
1618 | cat <<\_ASBOX |
---|
1619 | ## ------------------- ## |
---|
1620 | ## File substitutions. ## |
---|
1621 | ## ------------------- ## |
---|
1622 | _ASBOX |
---|
1623 | echo |
---|
1624 | for ac_var in $ac_subst_files |
---|
1625 | do |
---|
1626 | eval ac_val=\$$ac_var |
---|
1627 | case $ac_val in |
---|
1628 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1629 | esac |
---|
1630 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1631 | done | sort |
---|
1632 | echo |
---|
1633 | fi |
---|
1634 | |
---|
1635 | if test -s confdefs.h; then |
---|
1636 | cat <<\_ASBOX |
---|
1637 | ## ----------- ## |
---|
1638 | ## confdefs.h. ## |
---|
1639 | ## ----------- ## |
---|
1640 | _ASBOX |
---|
1641 | echo |
---|
1642 | cat confdefs.h |
---|
1643 | echo |
---|
1644 | fi |
---|
1645 | test "$ac_signal" != 0 && |
---|
1646 | $as_echo "$as_me: caught signal $ac_signal" |
---|
1647 | $as_echo "$as_me: exit $exit_status" |
---|
1648 | } >&5 |
---|
1649 | rm -f core *.core core.conftest.* && |
---|
1650 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
1651 | exit $exit_status |
---|
1652 | ' 0 |
---|
1653 | for ac_signal in 1 2 13 15; do |
---|
1654 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1655 | done |
---|
1656 | ac_signal=0 |
---|
1657 | |
---|
1658 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1659 | rm -f -r conftest* confdefs.h |
---|
1660 | |
---|
1661 | # Predefined preprocessor variables. |
---|
1662 | |
---|
1663 | cat >>confdefs.h <<_ACEOF |
---|
1664 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1665 | _ACEOF |
---|
1666 | |
---|
1667 | |
---|
1668 | cat >>confdefs.h <<_ACEOF |
---|
1669 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1670 | _ACEOF |
---|
1671 | |
---|
1672 | |
---|
1673 | cat >>confdefs.h <<_ACEOF |
---|
1674 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1675 | _ACEOF |
---|
1676 | |
---|
1677 | |
---|
1678 | cat >>confdefs.h <<_ACEOF |
---|
1679 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1680 | _ACEOF |
---|
1681 | |
---|
1682 | |
---|
1683 | cat >>confdefs.h <<_ACEOF |
---|
1684 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1685 | _ACEOF |
---|
1686 | |
---|
1687 | |
---|
1688 | # Let the site file select an alternate cache file if it wants to. |
---|
1689 | # Prefer an explicitly selected file to automatically selected ones. |
---|
1690 | ac_site_file1=NONE |
---|
1691 | ac_site_file2=NONE |
---|
1692 | if test -n "$CONFIG_SITE"; then |
---|
1693 | ac_site_file1=$CONFIG_SITE |
---|
1694 | elif test "x$prefix" != xNONE; then |
---|
1695 | ac_site_file1=$prefix/share/config.site |
---|
1696 | ac_site_file2=$prefix/etc/config.site |
---|
1697 | else |
---|
1698 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
1699 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
1700 | fi |
---|
1701 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
1702 | do |
---|
1703 | test "x$ac_site_file" = xNONE && continue |
---|
1704 | if test -r "$ac_site_file"; then |
---|
1705 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1706 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1707 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1708 | . "$ac_site_file" |
---|
1709 | fi |
---|
1710 | done |
---|
1711 | |
---|
1712 | if test -r "$cache_file"; then |
---|
1713 | # Some versions of bash will fail to source /dev/null (special |
---|
1714 | # files actually), so we avoid doing that. |
---|
1715 | if test -f "$cache_file"; then |
---|
1716 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1717 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
1718 | case $cache_file in |
---|
1719 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
1720 | *) . "./$cache_file";; |
---|
1721 | esac |
---|
1722 | fi |
---|
1723 | else |
---|
1724 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1725 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
1726 | >$cache_file |
---|
1727 | fi |
---|
1728 | |
---|
1729 | # Check that the precious variables saved in the cache have kept the same |
---|
1730 | # value. |
---|
1731 | ac_cache_corrupted=false |
---|
1732 | for ac_var in $ac_precious_vars; do |
---|
1733 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1734 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1735 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
1736 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
1737 | case $ac_old_set,$ac_new_set in |
---|
1738 | set,) |
---|
1739 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1740 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1741 | ac_cache_corrupted=: ;; |
---|
1742 | ,set) |
---|
1743 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1744 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1745 | ac_cache_corrupted=: ;; |
---|
1746 | ,);; |
---|
1747 | *) |
---|
1748 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1749 | # differences in whitespace do not lead to failure. |
---|
1750 | ac_old_val_w=`echo x $ac_old_val` |
---|
1751 | ac_new_val_w=`echo x $ac_new_val` |
---|
1752 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
1753 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1754 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1755 | ac_cache_corrupted=: |
---|
1756 | else |
---|
1757 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
1758 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
1759 | eval $ac_var=\$ac_old_val |
---|
1760 | fi |
---|
1761 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
---|
1762 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
1763 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
---|
1764 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
1765 | fi;; |
---|
1766 | esac |
---|
1767 | # Pass precious variables to config.status. |
---|
1768 | if test "$ac_new_set" = set; then |
---|
1769 | case $ac_new_val in |
---|
1770 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1771 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1772 | esac |
---|
1773 | case " $ac_configure_args " in |
---|
1774 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1775 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1776 | esac |
---|
1777 | fi |
---|
1778 | done |
---|
1779 | if $ac_cache_corrupted; then |
---|
1780 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
1781 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
1782 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1783 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1784 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1785 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1786 | { (exit 1); exit 1; }; } |
---|
1787 | fi |
---|
1788 | |
---|
1789 | |
---|
1790 | |
---|
1791 | |
---|
1792 | |
---|
1793 | |
---|
1794 | |
---|
1795 | |
---|
1796 | |
---|
1797 | |
---|
1798 | |
---|
1799 | |
---|
1800 | |
---|
1801 | |
---|
1802 | |
---|
1803 | |
---|
1804 | |
---|
1805 | |
---|
1806 | |
---|
1807 | |
---|
1808 | |
---|
1809 | |
---|
1810 | |
---|
1811 | |
---|
1812 | |
---|
1813 | ac_ext=c |
---|
1814 | ac_cpp='$CPP $CPPFLAGS' |
---|
1815 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1816 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1817 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1818 | |
---|
1819 | |
---|
1820 | ac_config_headers="$ac_config_headers nanoscale/config.h nanovis/nvconf.h" |
---|
1821 | |
---|
1822 | |
---|
1823 | VERSION=0.0.1 |
---|
1824 | |
---|
1825 | |
---|
1826 | #------------------------------------------------------------------------ |
---|
1827 | # Handle the --prefix=... option |
---|
1828 | #------------------------------------------------------------------------ |
---|
1829 | |
---|
1830 | if test "${prefix}" = "NONE"; then |
---|
1831 | prefix=/usr/local |
---|
1832 | fi |
---|
1833 | if test "${exec_prefix}" = "NONE"; then |
---|
1834 | exec_prefix=$prefix |
---|
1835 | fi |
---|
1836 | |
---|
1837 | if test "${libdir}" != "${prefix}/lib"; then |
---|
1838 | LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}" |
---|
1839 | else |
---|
1840 | LIB_SEARCH_DIRS="-L ${libdir}" |
---|
1841 | fi |
---|
1842 | |
---|
1843 | SC_CONFIG_CFLAGS |
---|
1844 | |
---|
1845 | |
---|
1846 | |
---|
1847 | |
---|
1848 | |
---|
1849 | |
---|
1850 | |
---|
1851 | |
---|
1852 | |
---|
1853 | ac_aux_dir= |
---|
1854 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
1855 | if test -f "$ac_dir/install-sh"; then |
---|
1856 | ac_aux_dir=$ac_dir |
---|
1857 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
1858 | break |
---|
1859 | elif test -f "$ac_dir/install.sh"; then |
---|
1860 | ac_aux_dir=$ac_dir |
---|
1861 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1862 | break |
---|
1863 | elif test -f "$ac_dir/shtool"; then |
---|
1864 | ac_aux_dir=$ac_dir |
---|
1865 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1866 | break |
---|
1867 | fi |
---|
1868 | done |
---|
1869 | if test -z "$ac_aux_dir"; then |
---|
1870 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
---|
1871 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
---|
1872 | { (exit 1); exit 1; }; } |
---|
1873 | fi |
---|
1874 | |
---|
1875 | # These three variables are undocumented and unsupported, |
---|
1876 | # and are intended to be withdrawn in a future Autoconf release. |
---|
1877 | # They can cause serious problems if a builder's source tree is in a directory |
---|
1878 | # whose full name contains unusual characters. |
---|
1879 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
1880 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
1881 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
1882 | |
---|
1883 | |
---|
1884 | # Find a good install program. We prefer a C program (faster), |
---|
1885 | # so one script is as good as another. But avoid the broken or |
---|
1886 | # incompatible versions: |
---|
1887 | # SysV /etc/install, /usr/sbin/install |
---|
1888 | # SunOS /usr/etc/install |
---|
1889 | # IRIX /sbin/install |
---|
1890 | # AIX /bin/install |
---|
1891 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1892 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1893 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1894 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1895 | # OS/2's system install, which has a completely different semantic |
---|
1896 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1897 | # Reject install programs that cannot install multiple files. |
---|
1898 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
1899 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
1900 | if test -z "$INSTALL"; then |
---|
1901 | if test "${ac_cv_path_install+set}" = set; then |
---|
1902 | $as_echo_n "(cached) " >&6 |
---|
1903 | else |
---|
1904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1905 | for as_dir in $PATH |
---|
1906 | do |
---|
1907 | IFS=$as_save_IFS |
---|
1908 | test -z "$as_dir" && as_dir=. |
---|
1909 | # Account for people who put trailing slashes in PATH elements. |
---|
1910 | case $as_dir/ in |
---|
1911 | ./ | .// | /cC/* | \ |
---|
1912 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1913 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
1914 | /usr/ucb/* ) ;; |
---|
1915 | *) |
---|
1916 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1917 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1918 | # by default. |
---|
1919 | for ac_prog in ginstall scoinst install; do |
---|
1920 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1921 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
1922 | if test $ac_prog = install && |
---|
1923 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1924 | # AIX install. It has an incompatible calling convention. |
---|
1925 | : |
---|
1926 | elif test $ac_prog = install && |
---|
1927 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1928 | # program-specific install script used by HP pwplus--don't use. |
---|
1929 | : |
---|
1930 | else |
---|
1931 | rm -rf conftest.one conftest.two conftest.dir |
---|
1932 | echo one > conftest.one |
---|
1933 | echo two > conftest.two |
---|
1934 | mkdir conftest.dir |
---|
1935 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
1936 | test -s conftest.one && test -s conftest.two && |
---|
1937 | test -s conftest.dir/conftest.one && |
---|
1938 | test -s conftest.dir/conftest.two |
---|
1939 | then |
---|
1940 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
1941 | break 3 |
---|
1942 | fi |
---|
1943 | fi |
---|
1944 | fi |
---|
1945 | done |
---|
1946 | done |
---|
1947 | ;; |
---|
1948 | esac |
---|
1949 | |
---|
1950 | done |
---|
1951 | IFS=$as_save_IFS |
---|
1952 | |
---|
1953 | rm -rf conftest.one conftest.two conftest.dir |
---|
1954 | |
---|
1955 | fi |
---|
1956 | if test "${ac_cv_path_install+set}" = set; then |
---|
1957 | INSTALL=$ac_cv_path_install |
---|
1958 | else |
---|
1959 | # As a last resort, use the slow shell script. Don't cache a |
---|
1960 | # value for INSTALL within a source directory, because that will |
---|
1961 | # break other packages using the cache if that directory is |
---|
1962 | # removed, or if the value is a relative name. |
---|
1963 | INSTALL=$ac_install_sh |
---|
1964 | fi |
---|
1965 | fi |
---|
1966 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
1967 | $as_echo "$INSTALL" >&6; } |
---|
1968 | |
---|
1969 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1970 | # It thinks the first close brace ends the variable substitution. |
---|
1971 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1972 | |
---|
1973 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
1974 | |
---|
1975 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1976 | |
---|
1977 | if test -n "$ac_tool_prefix"; then |
---|
1978 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
---|
1979 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
---|
1980 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1981 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1982 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
---|
1983 | $as_echo_n "(cached) " >&6 |
---|
1984 | else |
---|
1985 | if test -n "$RANLIB"; then |
---|
1986 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
1987 | else |
---|
1988 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1989 | for as_dir in $PATH |
---|
1990 | do |
---|
1991 | IFS=$as_save_IFS |
---|
1992 | test -z "$as_dir" && as_dir=. |
---|
1993 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1994 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1995 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
---|
1996 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1997 | break 2 |
---|
1998 | fi |
---|
1999 | done |
---|
2000 | done |
---|
2001 | IFS=$as_save_IFS |
---|
2002 | |
---|
2003 | fi |
---|
2004 | fi |
---|
2005 | RANLIB=$ac_cv_prog_RANLIB |
---|
2006 | if test -n "$RANLIB"; then |
---|
2007 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
---|
2008 | $as_echo "$RANLIB" >&6; } |
---|
2009 | else |
---|
2010 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2011 | $as_echo "no" >&6; } |
---|
2012 | fi |
---|
2013 | |
---|
2014 | |
---|
2015 | fi |
---|
2016 | if test -z "$ac_cv_prog_RANLIB"; then |
---|
2017 | ac_ct_RANLIB=$RANLIB |
---|
2018 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
2019 | set dummy ranlib; ac_word=$2 |
---|
2020 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2021 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2022 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
---|
2023 | $as_echo_n "(cached) " >&6 |
---|
2024 | else |
---|
2025 | if test -n "$ac_ct_RANLIB"; then |
---|
2026 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
---|
2027 | else |
---|
2028 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2029 | for as_dir in $PATH |
---|
2030 | do |
---|
2031 | IFS=$as_save_IFS |
---|
2032 | test -z "$as_dir" && as_dir=. |
---|
2033 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2034 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2035 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
---|
2036 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2037 | break 2 |
---|
2038 | fi |
---|
2039 | done |
---|
2040 | done |
---|
2041 | IFS=$as_save_IFS |
---|
2042 | |
---|
2043 | fi |
---|
2044 | fi |
---|
2045 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
---|
2046 | if test -n "$ac_ct_RANLIB"; then |
---|
2047 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
---|
2048 | $as_echo "$ac_ct_RANLIB" >&6; } |
---|
2049 | else |
---|
2050 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2051 | $as_echo "no" >&6; } |
---|
2052 | fi |
---|
2053 | |
---|
2054 | if test "x$ac_ct_RANLIB" = x; then |
---|
2055 | RANLIB=":" |
---|
2056 | else |
---|
2057 | case $cross_compiling:$ac_tool_warned in |
---|
2058 | yes:) |
---|
2059 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2060 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2061 | ac_tool_warned=yes ;; |
---|
2062 | esac |
---|
2063 | RANLIB=$ac_ct_RANLIB |
---|
2064 | fi |
---|
2065 | else |
---|
2066 | RANLIB="$ac_cv_prog_RANLIB" |
---|
2067 | fi |
---|
2068 | |
---|
2069 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
---|
2070 | $as_echo_n "checking whether ln -s works... " >&6; } |
---|
2071 | LN_S=$as_ln_s |
---|
2072 | if test "$LN_S" = "ln -s"; then |
---|
2073 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2074 | $as_echo "yes" >&6; } |
---|
2075 | else |
---|
2076 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
---|
2077 | $as_echo "no, using $LN_S" >&6; } |
---|
2078 | fi |
---|
2079 | |
---|
2080 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
---|
2081 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
2082 | if test -z "$MKDIR_P"; then |
---|
2083 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
2084 | $as_echo_n "(cached) " >&6 |
---|
2085 | else |
---|
2086 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2087 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
2088 | do |
---|
2089 | IFS=$as_save_IFS |
---|
2090 | test -z "$as_dir" && as_dir=. |
---|
2091 | for ac_prog in mkdir gmkdir; do |
---|
2092 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2093 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
---|
2094 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
2095 | 'mkdir (GNU coreutils) '* | \ |
---|
2096 | 'mkdir (coreutils) '* | \ |
---|
2097 | 'mkdir (fileutils) '4.1*) |
---|
2098 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
2099 | break 3;; |
---|
2100 | esac |
---|
2101 | done |
---|
2102 | done |
---|
2103 | done |
---|
2104 | IFS=$as_save_IFS |
---|
2105 | |
---|
2106 | fi |
---|
2107 | |
---|
2108 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
2109 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
2110 | else |
---|
2111 | # As a last resort, use the slow shell script. Don't cache a |
---|
2112 | # value for MKDIR_P within a source directory, because that will |
---|
2113 | # break other packages using the cache if that directory is |
---|
2114 | # removed, or if the value is a relative name. |
---|
2115 | test -d ./--version && rmdir ./--version |
---|
2116 | MKDIR_P="$ac_install_sh -d" |
---|
2117 | fi |
---|
2118 | fi |
---|
2119 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
---|
2120 | $as_echo "$MKDIR_P" >&6; } |
---|
2121 | |
---|
2122 | |
---|
2123 | ac_ext=c |
---|
2124 | ac_cpp='$CPP $CPPFLAGS' |
---|
2125 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2126 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2127 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2128 | if test -n "$ac_tool_prefix"; then |
---|
2129 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
2130 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
2131 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2132 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2133 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2134 | $as_echo_n "(cached) " >&6 |
---|
2135 | else |
---|
2136 | if test -n "$CC"; then |
---|
2137 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2138 | else |
---|
2139 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2140 | for as_dir in $PATH |
---|
2141 | do |
---|
2142 | IFS=$as_save_IFS |
---|
2143 | test -z "$as_dir" && as_dir=. |
---|
2144 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2145 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2146 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
2147 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2148 | break 2 |
---|
2149 | fi |
---|
2150 | done |
---|
2151 | done |
---|
2152 | IFS=$as_save_IFS |
---|
2153 | |
---|
2154 | fi |
---|
2155 | fi |
---|
2156 | CC=$ac_cv_prog_CC |
---|
2157 | if test -n "$CC"; then |
---|
2158 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2159 | $as_echo "$CC" >&6; } |
---|
2160 | else |
---|
2161 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2162 | $as_echo "no" >&6; } |
---|
2163 | fi |
---|
2164 | |
---|
2165 | |
---|
2166 | fi |
---|
2167 | if test -z "$ac_cv_prog_CC"; then |
---|
2168 | ac_ct_CC=$CC |
---|
2169 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
2170 | set dummy gcc; ac_word=$2 |
---|
2171 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2172 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2173 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2174 | $as_echo_n "(cached) " >&6 |
---|
2175 | else |
---|
2176 | if test -n "$ac_ct_CC"; then |
---|
2177 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2178 | else |
---|
2179 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2180 | for as_dir in $PATH |
---|
2181 | do |
---|
2182 | IFS=$as_save_IFS |
---|
2183 | test -z "$as_dir" && as_dir=. |
---|
2184 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2185 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2186 | ac_cv_prog_ac_ct_CC="gcc" |
---|
2187 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2188 | break 2 |
---|
2189 | fi |
---|
2190 | done |
---|
2191 | done |
---|
2192 | IFS=$as_save_IFS |
---|
2193 | |
---|
2194 | fi |
---|
2195 | fi |
---|
2196 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2197 | if test -n "$ac_ct_CC"; then |
---|
2198 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2199 | $as_echo "$ac_ct_CC" >&6; } |
---|
2200 | else |
---|
2201 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2202 | $as_echo "no" >&6; } |
---|
2203 | fi |
---|
2204 | |
---|
2205 | if test "x$ac_ct_CC" = x; then |
---|
2206 | CC="" |
---|
2207 | else |
---|
2208 | case $cross_compiling:$ac_tool_warned in |
---|
2209 | yes:) |
---|
2210 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2211 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2212 | ac_tool_warned=yes ;; |
---|
2213 | esac |
---|
2214 | CC=$ac_ct_CC |
---|
2215 | fi |
---|
2216 | else |
---|
2217 | CC="$ac_cv_prog_CC" |
---|
2218 | fi |
---|
2219 | |
---|
2220 | if test -z "$CC"; then |
---|
2221 | if test -n "$ac_tool_prefix"; then |
---|
2222 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
2223 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
2224 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2225 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2226 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2227 | $as_echo_n "(cached) " >&6 |
---|
2228 | else |
---|
2229 | if test -n "$CC"; then |
---|
2230 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2231 | else |
---|
2232 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2233 | for as_dir in $PATH |
---|
2234 | do |
---|
2235 | IFS=$as_save_IFS |
---|
2236 | test -z "$as_dir" && as_dir=. |
---|
2237 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2238 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2239 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
2240 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2241 | break 2 |
---|
2242 | fi |
---|
2243 | done |
---|
2244 | done |
---|
2245 | IFS=$as_save_IFS |
---|
2246 | |
---|
2247 | fi |
---|
2248 | fi |
---|
2249 | CC=$ac_cv_prog_CC |
---|
2250 | if test -n "$CC"; then |
---|
2251 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2252 | $as_echo "$CC" >&6; } |
---|
2253 | else |
---|
2254 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2255 | $as_echo "no" >&6; } |
---|
2256 | fi |
---|
2257 | |
---|
2258 | |
---|
2259 | fi |
---|
2260 | fi |
---|
2261 | if test -z "$CC"; then |
---|
2262 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2263 | set dummy cc; ac_word=$2 |
---|
2264 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2265 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2266 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2267 | $as_echo_n "(cached) " >&6 |
---|
2268 | else |
---|
2269 | if test -n "$CC"; then |
---|
2270 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2271 | else |
---|
2272 | ac_prog_rejected=no |
---|
2273 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2274 | for as_dir in $PATH |
---|
2275 | do |
---|
2276 | IFS=$as_save_IFS |
---|
2277 | test -z "$as_dir" && as_dir=. |
---|
2278 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2279 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2280 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2281 | ac_prog_rejected=yes |
---|
2282 | continue |
---|
2283 | fi |
---|
2284 | ac_cv_prog_CC="cc" |
---|
2285 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2286 | break 2 |
---|
2287 | fi |
---|
2288 | done |
---|
2289 | done |
---|
2290 | IFS=$as_save_IFS |
---|
2291 | |
---|
2292 | if test $ac_prog_rejected = yes; then |
---|
2293 | # We found a bogon in the path, so make sure we never use it. |
---|
2294 | set dummy $ac_cv_prog_CC |
---|
2295 | shift |
---|
2296 | if test $# != 0; then |
---|
2297 | # We chose a different compiler from the bogus one. |
---|
2298 | # However, it has the same basename, so the bogon will be chosen |
---|
2299 | # first if we set CC to just the basename; use the full file name. |
---|
2300 | shift |
---|
2301 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2302 | fi |
---|
2303 | fi |
---|
2304 | fi |
---|
2305 | fi |
---|
2306 | CC=$ac_cv_prog_CC |
---|
2307 | if test -n "$CC"; then |
---|
2308 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2309 | $as_echo "$CC" >&6; } |
---|
2310 | else |
---|
2311 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2312 | $as_echo "no" >&6; } |
---|
2313 | fi |
---|
2314 | |
---|
2315 | |
---|
2316 | fi |
---|
2317 | if test -z "$CC"; then |
---|
2318 | if test -n "$ac_tool_prefix"; then |
---|
2319 | for ac_prog in cl.exe |
---|
2320 | do |
---|
2321 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2322 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2323 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2324 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2325 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2326 | $as_echo_n "(cached) " >&6 |
---|
2327 | else |
---|
2328 | if test -n "$CC"; then |
---|
2329 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2330 | else |
---|
2331 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2332 | for as_dir in $PATH |
---|
2333 | do |
---|
2334 | IFS=$as_save_IFS |
---|
2335 | test -z "$as_dir" && as_dir=. |
---|
2336 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2337 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2338 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2339 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2340 | break 2 |
---|
2341 | fi |
---|
2342 | done |
---|
2343 | done |
---|
2344 | IFS=$as_save_IFS |
---|
2345 | |
---|
2346 | fi |
---|
2347 | fi |
---|
2348 | CC=$ac_cv_prog_CC |
---|
2349 | if test -n "$CC"; then |
---|
2350 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2351 | $as_echo "$CC" >&6; } |
---|
2352 | else |
---|
2353 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2354 | $as_echo "no" >&6; } |
---|
2355 | fi |
---|
2356 | |
---|
2357 | |
---|
2358 | test -n "$CC" && break |
---|
2359 | done |
---|
2360 | fi |
---|
2361 | if test -z "$CC"; then |
---|
2362 | ac_ct_CC=$CC |
---|
2363 | for ac_prog in cl.exe |
---|
2364 | do |
---|
2365 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2366 | set dummy $ac_prog; ac_word=$2 |
---|
2367 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2368 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2369 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2370 | $as_echo_n "(cached) " >&6 |
---|
2371 | else |
---|
2372 | if test -n "$ac_ct_CC"; then |
---|
2373 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2374 | else |
---|
2375 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2376 | for as_dir in $PATH |
---|
2377 | do |
---|
2378 | IFS=$as_save_IFS |
---|
2379 | test -z "$as_dir" && as_dir=. |
---|
2380 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2381 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2382 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2383 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2384 | break 2 |
---|
2385 | fi |
---|
2386 | done |
---|
2387 | done |
---|
2388 | IFS=$as_save_IFS |
---|
2389 | |
---|
2390 | fi |
---|
2391 | fi |
---|
2392 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2393 | if test -n "$ac_ct_CC"; then |
---|
2394 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2395 | $as_echo "$ac_ct_CC" >&6; } |
---|
2396 | else |
---|
2397 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2398 | $as_echo "no" >&6; } |
---|
2399 | fi |
---|
2400 | |
---|
2401 | |
---|
2402 | test -n "$ac_ct_CC" && break |
---|
2403 | done |
---|
2404 | |
---|
2405 | if test "x$ac_ct_CC" = x; then |
---|
2406 | CC="" |
---|
2407 | else |
---|
2408 | case $cross_compiling:$ac_tool_warned in |
---|
2409 | yes:) |
---|
2410 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2411 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2412 | ac_tool_warned=yes ;; |
---|
2413 | esac |
---|
2414 | CC=$ac_ct_CC |
---|
2415 | fi |
---|
2416 | fi |
---|
2417 | |
---|
2418 | fi |
---|
2419 | |
---|
2420 | |
---|
2421 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2422 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2423 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2424 | See \`config.log' for more details." >&5 |
---|
2425 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2426 | See \`config.log' for more details." >&2;} |
---|
2427 | { (exit 1); exit 1; }; }; } |
---|
2428 | |
---|
2429 | # Provide some information about the compiler. |
---|
2430 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
---|
2431 | set X $ac_compile |
---|
2432 | ac_compiler=$2 |
---|
2433 | { (ac_try="$ac_compiler --version >&5" |
---|
2434 | case "(($ac_try" in |
---|
2435 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2436 | *) ac_try_echo=$ac_try;; |
---|
2437 | esac |
---|
2438 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2439 | $as_echo "$ac_try_echo") >&5 |
---|
2440 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
2441 | ac_status=$? |
---|
2442 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2443 | (exit $ac_status); } |
---|
2444 | { (ac_try="$ac_compiler -v >&5" |
---|
2445 | case "(($ac_try" in |
---|
2446 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2447 | *) ac_try_echo=$ac_try;; |
---|
2448 | esac |
---|
2449 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2450 | $as_echo "$ac_try_echo") >&5 |
---|
2451 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
2452 | ac_status=$? |
---|
2453 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2454 | (exit $ac_status); } |
---|
2455 | { (ac_try="$ac_compiler -V >&5" |
---|
2456 | case "(($ac_try" in |
---|
2457 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2458 | *) ac_try_echo=$ac_try;; |
---|
2459 | esac |
---|
2460 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2461 | $as_echo "$ac_try_echo") >&5 |
---|
2462 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
2463 | ac_status=$? |
---|
2464 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2465 | (exit $ac_status); } |
---|
2466 | |
---|
2467 | cat >conftest.$ac_ext <<_ACEOF |
---|
2468 | /* confdefs.h. */ |
---|
2469 | _ACEOF |
---|
2470 | cat confdefs.h >>conftest.$ac_ext |
---|
2471 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2472 | /* end confdefs.h. */ |
---|
2473 | |
---|
2474 | int |
---|
2475 | main () |
---|
2476 | { |
---|
2477 | |
---|
2478 | ; |
---|
2479 | return 0; |
---|
2480 | } |
---|
2481 | _ACEOF |
---|
2482 | ac_clean_files_save=$ac_clean_files |
---|
2483 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
2484 | # Try to create an executable without -o first, disregard a.out. |
---|
2485 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2486 | # of exeext. |
---|
2487 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
2488 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
2489 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2490 | |
---|
2491 | # The possible output files: |
---|
2492 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
2493 | |
---|
2494 | ac_rmfiles= |
---|
2495 | for ac_file in $ac_files |
---|
2496 | do |
---|
2497 | case $ac_file in |
---|
2498 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
2499 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
2500 | esac |
---|
2501 | done |
---|
2502 | rm -f $ac_rmfiles |
---|
2503 | |
---|
2504 | if { (ac_try="$ac_link_default" |
---|
2505 | case "(($ac_try" in |
---|
2506 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2507 | *) ac_try_echo=$ac_try;; |
---|
2508 | esac |
---|
2509 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2510 | $as_echo "$ac_try_echo") >&5 |
---|
2511 | (eval "$ac_link_default") 2>&5 |
---|
2512 | ac_status=$? |
---|
2513 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2514 | (exit $ac_status); }; then |
---|
2515 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
2516 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
2517 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
2518 | # so that the user can short-circuit this test for compilers unknown to |
---|
2519 | # Autoconf. |
---|
2520 | for ac_file in $ac_files '' |
---|
2521 | do |
---|
2522 | test -f "$ac_file" || continue |
---|
2523 | case $ac_file in |
---|
2524 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
2525 | ;; |
---|
2526 | [ab].out ) |
---|
2527 | # We found the default executable, but exeext='' is most |
---|
2528 | # certainly right. |
---|
2529 | break;; |
---|
2530 | *.* ) |
---|
2531 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
2532 | then :; else |
---|
2533 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2534 | fi |
---|
2535 | # We set ac_cv_exeext here because the later test for it is not |
---|
2536 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
2537 | # argument, so we may need to know it at that point already. |
---|
2538 | # Even if this section looks crufty: it has the advantage of |
---|
2539 | # actually working. |
---|
2540 | break;; |
---|
2541 | * ) |
---|
2542 | break;; |
---|
2543 | esac |
---|
2544 | done |
---|
2545 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
2546 | |
---|
2547 | else |
---|
2548 | ac_file='' |
---|
2549 | fi |
---|
2550 | |
---|
2551 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2552 | $as_echo "$ac_file" >&6; } |
---|
2553 | if test -z "$ac_file"; then |
---|
2554 | $as_echo "$as_me: failed program was:" >&5 |
---|
2555 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2556 | |
---|
2557 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2558 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2559 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2560 | See \`config.log' for more details." >&5 |
---|
2561 | $as_echo "$as_me: error: C compiler cannot create executables |
---|
2562 | See \`config.log' for more details." >&2;} |
---|
2563 | { (exit 77); exit 77; }; }; } |
---|
2564 | fi |
---|
2565 | |
---|
2566 | ac_exeext=$ac_cv_exeext |
---|
2567 | |
---|
2568 | # Check that the compiler produces executables we can run. If not, either |
---|
2569 | # the compiler is broken, or we cross compile. |
---|
2570 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2571 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
2572 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2573 | # If not cross compiling, check that we can run a simple program. |
---|
2574 | if test "$cross_compiling" != yes; then |
---|
2575 | if { ac_try='./$ac_file' |
---|
2576 | { (case "(($ac_try" in |
---|
2577 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2578 | *) ac_try_echo=$ac_try;; |
---|
2579 | esac |
---|
2580 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2581 | $as_echo "$ac_try_echo") >&5 |
---|
2582 | (eval "$ac_try") 2>&5 |
---|
2583 | ac_status=$? |
---|
2584 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2585 | (exit $ac_status); }; }; then |
---|
2586 | cross_compiling=no |
---|
2587 | else |
---|
2588 | if test "$cross_compiling" = maybe; then |
---|
2589 | cross_compiling=yes |
---|
2590 | else |
---|
2591 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2592 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2593 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2594 | If you meant to cross compile, use \`--host'. |
---|
2595 | See \`config.log' for more details." >&5 |
---|
2596 | $as_echo "$as_me: error: cannot run C compiled programs. |
---|
2597 | If you meant to cross compile, use \`--host'. |
---|
2598 | See \`config.log' for more details." >&2;} |
---|
2599 | { (exit 1); exit 1; }; }; } |
---|
2600 | fi |
---|
2601 | fi |
---|
2602 | fi |
---|
2603 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2604 | $as_echo "yes" >&6; } |
---|
2605 | |
---|
2606 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
2607 | ac_clean_files=$ac_clean_files_save |
---|
2608 | # Check that the compiler produces executables we can run. If not, either |
---|
2609 | # the compiler is broken, or we cross compile. |
---|
2610 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2611 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
2612 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2613 | $as_echo "$cross_compiling" >&6; } |
---|
2614 | |
---|
2615 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2616 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
2617 | if { (ac_try="$ac_link" |
---|
2618 | case "(($ac_try" in |
---|
2619 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2620 | *) ac_try_echo=$ac_try;; |
---|
2621 | esac |
---|
2622 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2623 | $as_echo "$ac_try_echo") >&5 |
---|
2624 | (eval "$ac_link") 2>&5 |
---|
2625 | ac_status=$? |
---|
2626 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2627 | (exit $ac_status); }; then |
---|
2628 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2629 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2630 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2631 | # `rm'. |
---|
2632 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2633 | test -f "$ac_file" || continue |
---|
2634 | case $ac_file in |
---|
2635 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
2636 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2637 | break;; |
---|
2638 | * ) break;; |
---|
2639 | esac |
---|
2640 | done |
---|
2641 | else |
---|
2642 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2643 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2644 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2645 | See \`config.log' for more details." >&5 |
---|
2646 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2647 | See \`config.log' for more details." >&2;} |
---|
2648 | { (exit 1); exit 1; }; }; } |
---|
2649 | fi |
---|
2650 | |
---|
2651 | rm -f conftest$ac_cv_exeext |
---|
2652 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2653 | $as_echo "$ac_cv_exeext" >&6; } |
---|
2654 | |
---|
2655 | rm -f conftest.$ac_ext |
---|
2656 | EXEEXT=$ac_cv_exeext |
---|
2657 | ac_exeext=$EXEEXT |
---|
2658 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2659 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
2660 | if test "${ac_cv_objext+set}" = set; then |
---|
2661 | $as_echo_n "(cached) " >&6 |
---|
2662 | else |
---|
2663 | cat >conftest.$ac_ext <<_ACEOF |
---|
2664 | /* confdefs.h. */ |
---|
2665 | _ACEOF |
---|
2666 | cat confdefs.h >>conftest.$ac_ext |
---|
2667 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2668 | /* end confdefs.h. */ |
---|
2669 | |
---|
2670 | int |
---|
2671 | main () |
---|
2672 | { |
---|
2673 | |
---|
2674 | ; |
---|
2675 | return 0; |
---|
2676 | } |
---|
2677 | _ACEOF |
---|
2678 | rm -f conftest.o conftest.obj |
---|
2679 | if { (ac_try="$ac_compile" |
---|
2680 | case "(($ac_try" in |
---|
2681 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2682 | *) ac_try_echo=$ac_try;; |
---|
2683 | esac |
---|
2684 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2685 | $as_echo "$ac_try_echo") >&5 |
---|
2686 | (eval "$ac_compile") 2>&5 |
---|
2687 | ac_status=$? |
---|
2688 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2689 | (exit $ac_status); }; then |
---|
2690 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
2691 | test -f "$ac_file" || continue; |
---|
2692 | case $ac_file in |
---|
2693 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
2694 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2695 | break;; |
---|
2696 | esac |
---|
2697 | done |
---|
2698 | else |
---|
2699 | $as_echo "$as_me: failed program was:" >&5 |
---|
2700 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2701 | |
---|
2702 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2703 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2704 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2705 | See \`config.log' for more details." >&5 |
---|
2706 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2707 | See \`config.log' for more details." >&2;} |
---|
2708 | { (exit 1); exit 1; }; }; } |
---|
2709 | fi |
---|
2710 | |
---|
2711 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2712 | fi |
---|
2713 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2714 | $as_echo "$ac_cv_objext" >&6; } |
---|
2715 | OBJEXT=$ac_cv_objext |
---|
2716 | ac_objext=$OBJEXT |
---|
2717 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2718 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
2719 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2720 | $as_echo_n "(cached) " >&6 |
---|
2721 | else |
---|
2722 | cat >conftest.$ac_ext <<_ACEOF |
---|
2723 | /* confdefs.h. */ |
---|
2724 | _ACEOF |
---|
2725 | cat confdefs.h >>conftest.$ac_ext |
---|
2726 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2727 | /* end confdefs.h. */ |
---|
2728 | |
---|
2729 | int |
---|
2730 | main () |
---|
2731 | { |
---|
2732 | #ifndef __GNUC__ |
---|
2733 | choke me |
---|
2734 | #endif |
---|
2735 | |
---|
2736 | ; |
---|
2737 | return 0; |
---|
2738 | } |
---|
2739 | _ACEOF |
---|
2740 | rm -f conftest.$ac_objext |
---|
2741 | if { (ac_try="$ac_compile" |
---|
2742 | case "(($ac_try" in |
---|
2743 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2744 | *) ac_try_echo=$ac_try;; |
---|
2745 | esac |
---|
2746 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2747 | $as_echo "$ac_try_echo") >&5 |
---|
2748 | (eval "$ac_compile") 2>conftest.er1 |
---|
2749 | ac_status=$? |
---|
2750 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2751 | rm -f conftest.er1 |
---|
2752 | cat conftest.err >&5 |
---|
2753 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2754 | (exit $ac_status); } && { |
---|
2755 | test -z "$ac_c_werror_flag" || |
---|
2756 | test ! -s conftest.err |
---|
2757 | } && test -s conftest.$ac_objext; then |
---|
2758 | ac_compiler_gnu=yes |
---|
2759 | else |
---|
2760 | $as_echo "$as_me: failed program was:" >&5 |
---|
2761 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2762 | |
---|
2763 | ac_compiler_gnu=no |
---|
2764 | fi |
---|
2765 | |
---|
2766 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2767 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2768 | |
---|
2769 | fi |
---|
2770 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2771 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
2772 | if test $ac_compiler_gnu = yes; then |
---|
2773 | GCC=yes |
---|
2774 | else |
---|
2775 | GCC= |
---|
2776 | fi |
---|
2777 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2778 | ac_save_CFLAGS=$CFLAGS |
---|
2779 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2780 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
2781 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2782 | $as_echo_n "(cached) " >&6 |
---|
2783 | else |
---|
2784 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
2785 | ac_c_werror_flag=yes |
---|
2786 | ac_cv_prog_cc_g=no |
---|
2787 | CFLAGS="-g" |
---|
2788 | cat >conftest.$ac_ext <<_ACEOF |
---|
2789 | /* confdefs.h. */ |
---|
2790 | _ACEOF |
---|
2791 | cat confdefs.h >>conftest.$ac_ext |
---|
2792 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2793 | /* end confdefs.h. */ |
---|
2794 | |
---|
2795 | int |
---|
2796 | main () |
---|
2797 | { |
---|
2798 | |
---|
2799 | ; |
---|
2800 | return 0; |
---|
2801 | } |
---|
2802 | _ACEOF |
---|
2803 | rm -f conftest.$ac_objext |
---|
2804 | if { (ac_try="$ac_compile" |
---|
2805 | case "(($ac_try" in |
---|
2806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2807 | *) ac_try_echo=$ac_try;; |
---|
2808 | esac |
---|
2809 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2810 | $as_echo "$ac_try_echo") >&5 |
---|
2811 | (eval "$ac_compile") 2>conftest.er1 |
---|
2812 | ac_status=$? |
---|
2813 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2814 | rm -f conftest.er1 |
---|
2815 | cat conftest.err >&5 |
---|
2816 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2817 | (exit $ac_status); } && { |
---|
2818 | test -z "$ac_c_werror_flag" || |
---|
2819 | test ! -s conftest.err |
---|
2820 | } && test -s conftest.$ac_objext; then |
---|
2821 | ac_cv_prog_cc_g=yes |
---|
2822 | else |
---|
2823 | $as_echo "$as_me: failed program was:" >&5 |
---|
2824 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2825 | |
---|
2826 | CFLAGS="" |
---|
2827 | cat >conftest.$ac_ext <<_ACEOF |
---|
2828 | /* confdefs.h. */ |
---|
2829 | _ACEOF |
---|
2830 | cat confdefs.h >>conftest.$ac_ext |
---|
2831 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2832 | /* end confdefs.h. */ |
---|
2833 | |
---|
2834 | int |
---|
2835 | main () |
---|
2836 | { |
---|
2837 | |
---|
2838 | ; |
---|
2839 | return 0; |
---|
2840 | } |
---|
2841 | _ACEOF |
---|
2842 | rm -f conftest.$ac_objext |
---|
2843 | if { (ac_try="$ac_compile" |
---|
2844 | case "(($ac_try" in |
---|
2845 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2846 | *) ac_try_echo=$ac_try;; |
---|
2847 | esac |
---|
2848 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2849 | $as_echo "$ac_try_echo") >&5 |
---|
2850 | (eval "$ac_compile") 2>conftest.er1 |
---|
2851 | ac_status=$? |
---|
2852 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2853 | rm -f conftest.er1 |
---|
2854 | cat conftest.err >&5 |
---|
2855 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2856 | (exit $ac_status); } && { |
---|
2857 | test -z "$ac_c_werror_flag" || |
---|
2858 | test ! -s conftest.err |
---|
2859 | } && test -s conftest.$ac_objext; then |
---|
2860 | : |
---|
2861 | else |
---|
2862 | $as_echo "$as_me: failed program was:" >&5 |
---|
2863 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2864 | |
---|
2865 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2866 | CFLAGS="-g" |
---|
2867 | cat >conftest.$ac_ext <<_ACEOF |
---|
2868 | /* confdefs.h. */ |
---|
2869 | _ACEOF |
---|
2870 | cat confdefs.h >>conftest.$ac_ext |
---|
2871 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2872 | /* end confdefs.h. */ |
---|
2873 | |
---|
2874 | int |
---|
2875 | main () |
---|
2876 | { |
---|
2877 | |
---|
2878 | ; |
---|
2879 | return 0; |
---|
2880 | } |
---|
2881 | _ACEOF |
---|
2882 | rm -f conftest.$ac_objext |
---|
2883 | if { (ac_try="$ac_compile" |
---|
2884 | case "(($ac_try" in |
---|
2885 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2886 | *) ac_try_echo=$ac_try;; |
---|
2887 | esac |
---|
2888 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2889 | $as_echo "$ac_try_echo") >&5 |
---|
2890 | (eval "$ac_compile") 2>conftest.er1 |
---|
2891 | ac_status=$? |
---|
2892 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2893 | rm -f conftest.er1 |
---|
2894 | cat conftest.err >&5 |
---|
2895 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2896 | (exit $ac_status); } && { |
---|
2897 | test -z "$ac_c_werror_flag" || |
---|
2898 | test ! -s conftest.err |
---|
2899 | } && test -s conftest.$ac_objext; then |
---|
2900 | ac_cv_prog_cc_g=yes |
---|
2901 | else |
---|
2902 | $as_echo "$as_me: failed program was:" >&5 |
---|
2903 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2904 | |
---|
2905 | |
---|
2906 | fi |
---|
2907 | |
---|
2908 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2909 | fi |
---|
2910 | |
---|
2911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2912 | fi |
---|
2913 | |
---|
2914 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2915 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2916 | fi |
---|
2917 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2918 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
2919 | if test "$ac_test_CFLAGS" = set; then |
---|
2920 | CFLAGS=$ac_save_CFLAGS |
---|
2921 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2922 | if test "$GCC" = yes; then |
---|
2923 | CFLAGS="-g -O2" |
---|
2924 | else |
---|
2925 | CFLAGS="-g" |
---|
2926 | fi |
---|
2927 | else |
---|
2928 | if test "$GCC" = yes; then |
---|
2929 | CFLAGS="-O2" |
---|
2930 | else |
---|
2931 | CFLAGS= |
---|
2932 | fi |
---|
2933 | fi |
---|
2934 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
---|
2935 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
2936 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
---|
2937 | $as_echo_n "(cached) " >&6 |
---|
2938 | else |
---|
2939 | ac_cv_prog_cc_c89=no |
---|
2940 | ac_save_CC=$CC |
---|
2941 | cat >conftest.$ac_ext <<_ACEOF |
---|
2942 | /* confdefs.h. */ |
---|
2943 | _ACEOF |
---|
2944 | cat confdefs.h >>conftest.$ac_ext |
---|
2945 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2946 | /* end confdefs.h. */ |
---|
2947 | #include <stdarg.h> |
---|
2948 | #include <stdio.h> |
---|
2949 | #include <sys/types.h> |
---|
2950 | #include <sys/stat.h> |
---|
2951 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2952 | struct buf { int x; }; |
---|
2953 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2954 | static char *e (p, i) |
---|
2955 | char **p; |
---|
2956 | int i; |
---|
2957 | { |
---|
2958 | return p[i]; |
---|
2959 | } |
---|
2960 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2961 | { |
---|
2962 | char *s; |
---|
2963 | va_list v; |
---|
2964 | va_start (v,p); |
---|
2965 | s = g (p, va_arg (v,int)); |
---|
2966 | va_end (v); |
---|
2967 | return s; |
---|
2968 | } |
---|
2969 | |
---|
2970 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
2971 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
2972 | These don't provoke an error unfortunately, instead are silently treated |
---|
2973 | as 'x'. The following induces an error, until -std is added to get |
---|
2974 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
2975 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
2976 | that's true only with -std. */ |
---|
2977 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
2978 | |
---|
2979 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
2980 | inside strings and character constants. */ |
---|
2981 | #define FOO(x) 'x' |
---|
2982 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
2983 | |
---|
2984 | int test (int i, double x); |
---|
2985 | struct s1 {int (*f) (int a);}; |
---|
2986 | struct s2 {int (*f) (double a);}; |
---|
2987 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2988 | int argc; |
---|
2989 | char **argv; |
---|
2990 | int |
---|
2991 | main () |
---|
2992 | { |
---|
2993 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
2994 | ; |
---|
2995 | return 0; |
---|
2996 | } |
---|
2997 | _ACEOF |
---|
2998 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
2999 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
3000 | do |
---|
3001 | CC="$ac_save_CC $ac_arg" |
---|
3002 | rm -f conftest.$ac_objext |
---|
3003 | if { (ac_try="$ac_compile" |
---|
3004 | case "(($ac_try" in |
---|
3005 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3006 | *) ac_try_echo=$ac_try;; |
---|
3007 | esac |
---|
3008 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3009 | $as_echo "$ac_try_echo") >&5 |
---|
3010 | (eval "$ac_compile") 2>conftest.er1 |
---|
3011 | ac_status=$? |
---|
3012 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3013 | rm -f conftest.er1 |
---|
3014 | cat conftest.err >&5 |
---|
3015 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3016 | (exit $ac_status); } && { |
---|
3017 | test -z "$ac_c_werror_flag" || |
---|
3018 | test ! -s conftest.err |
---|
3019 | } && test -s conftest.$ac_objext; then |
---|
3020 | ac_cv_prog_cc_c89=$ac_arg |
---|
3021 | else |
---|
3022 | $as_echo "$as_me: failed program was:" >&5 |
---|
3023 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3024 | |
---|
3025 | |
---|
3026 | fi |
---|
3027 | |
---|
3028 | rm -f core conftest.err conftest.$ac_objext |
---|
3029 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
3030 | done |
---|
3031 | rm -f conftest.$ac_ext |
---|
3032 | CC=$ac_save_CC |
---|
3033 | |
---|
3034 | fi |
---|
3035 | # AC_CACHE_VAL |
---|
3036 | case "x$ac_cv_prog_cc_c89" in |
---|
3037 | x) |
---|
3038 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
---|
3039 | $as_echo "none needed" >&6; } ;; |
---|
3040 | xno) |
---|
3041 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
---|
3042 | $as_echo "unsupported" >&6; } ;; |
---|
3043 | *) |
---|
3044 | CC="$CC $ac_cv_prog_cc_c89" |
---|
3045 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
---|
3046 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
3047 | esac |
---|
3048 | |
---|
3049 | |
---|
3050 | ac_ext=c |
---|
3051 | ac_cpp='$CPP $CPPFLAGS' |
---|
3052 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3053 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3054 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3055 | |
---|
3056 | ac_ext=c |
---|
3057 | ac_cpp='$CPP $CPPFLAGS' |
---|
3058 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3059 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3060 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3061 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
3062 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
3063 | # On Suns, sometimes $CPP names a directory. |
---|
3064 | if test -n "$CPP" && test -d "$CPP"; then |
---|
3065 | CPP= |
---|
3066 | fi |
---|
3067 | if test -z "$CPP"; then |
---|
3068 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
3069 | $as_echo_n "(cached) " >&6 |
---|
3070 | else |
---|
3071 | # Double quotes because CPP needs to be expanded |
---|
3072 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
3073 | do |
---|
3074 | ac_preproc_ok=false |
---|
3075 | for ac_c_preproc_warn_flag in '' yes |
---|
3076 | do |
---|
3077 | # Use a header file that comes with gcc, so configuring glibc |
---|
3078 | # with a fresh cross-compiler works. |
---|
3079 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3080 | # <limits.h> exists even on freestanding compilers. |
---|
3081 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3082 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3083 | cat >conftest.$ac_ext <<_ACEOF |
---|
3084 | /* confdefs.h. */ |
---|
3085 | _ACEOF |
---|
3086 | cat confdefs.h >>conftest.$ac_ext |
---|
3087 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3088 | /* end confdefs.h. */ |
---|
3089 | #ifdef __STDC__ |
---|
3090 | # include <limits.h> |
---|
3091 | #else |
---|
3092 | # include <assert.h> |
---|
3093 | #endif |
---|
3094 | Syntax error |
---|
3095 | _ACEOF |
---|
3096 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3097 | case "(($ac_try" in |
---|
3098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3099 | *) ac_try_echo=$ac_try;; |
---|
3100 | esac |
---|
3101 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3102 | $as_echo "$ac_try_echo") >&5 |
---|
3103 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3104 | ac_status=$? |
---|
3105 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3106 | rm -f conftest.er1 |
---|
3107 | cat conftest.err >&5 |
---|
3108 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3109 | (exit $ac_status); } >/dev/null && { |
---|
3110 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3111 | test ! -s conftest.err |
---|
3112 | }; then |
---|
3113 | : |
---|
3114 | else |
---|
3115 | $as_echo "$as_me: failed program was:" >&5 |
---|
3116 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3117 | |
---|
3118 | # Broken: fails on valid input. |
---|
3119 | continue |
---|
3120 | fi |
---|
3121 | |
---|
3122 | rm -f conftest.err conftest.$ac_ext |
---|
3123 | |
---|
3124 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3125 | # can be detected and how. |
---|
3126 | cat >conftest.$ac_ext <<_ACEOF |
---|
3127 | /* confdefs.h. */ |
---|
3128 | _ACEOF |
---|
3129 | cat confdefs.h >>conftest.$ac_ext |
---|
3130 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3131 | /* end confdefs.h. */ |
---|
3132 | #include <ac_nonexistent.h> |
---|
3133 | _ACEOF |
---|
3134 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3135 | case "(($ac_try" in |
---|
3136 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3137 | *) ac_try_echo=$ac_try;; |
---|
3138 | esac |
---|
3139 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3140 | $as_echo "$ac_try_echo") >&5 |
---|
3141 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3142 | ac_status=$? |
---|
3143 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3144 | rm -f conftest.er1 |
---|
3145 | cat conftest.err >&5 |
---|
3146 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3147 | (exit $ac_status); } >/dev/null && { |
---|
3148 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3149 | test ! -s conftest.err |
---|
3150 | }; then |
---|
3151 | # Broken: success on invalid input. |
---|
3152 | continue |
---|
3153 | else |
---|
3154 | $as_echo "$as_me: failed program was:" >&5 |
---|
3155 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3156 | |
---|
3157 | # Passes both tests. |
---|
3158 | ac_preproc_ok=: |
---|
3159 | break |
---|
3160 | fi |
---|
3161 | |
---|
3162 | rm -f conftest.err conftest.$ac_ext |
---|
3163 | |
---|
3164 | done |
---|
3165 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3166 | rm -f conftest.err conftest.$ac_ext |
---|
3167 | if $ac_preproc_ok; then |
---|
3168 | break |
---|
3169 | fi |
---|
3170 | |
---|
3171 | done |
---|
3172 | ac_cv_prog_CPP=$CPP |
---|
3173 | |
---|
3174 | fi |
---|
3175 | CPP=$ac_cv_prog_CPP |
---|
3176 | else |
---|
3177 | ac_cv_prog_CPP=$CPP |
---|
3178 | fi |
---|
3179 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
3180 | $as_echo "$CPP" >&6; } |
---|
3181 | ac_preproc_ok=false |
---|
3182 | for ac_c_preproc_warn_flag in '' yes |
---|
3183 | do |
---|
3184 | # Use a header file that comes with gcc, so configuring glibc |
---|
3185 | # with a fresh cross-compiler works. |
---|
3186 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3187 | # <limits.h> exists even on freestanding compilers. |
---|
3188 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3189 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3190 | cat >conftest.$ac_ext <<_ACEOF |
---|
3191 | /* confdefs.h. */ |
---|
3192 | _ACEOF |
---|
3193 | cat confdefs.h >>conftest.$ac_ext |
---|
3194 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3195 | /* end confdefs.h. */ |
---|
3196 | #ifdef __STDC__ |
---|
3197 | # include <limits.h> |
---|
3198 | #else |
---|
3199 | # include <assert.h> |
---|
3200 | #endif |
---|
3201 | Syntax error |
---|
3202 | _ACEOF |
---|
3203 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3204 | case "(($ac_try" in |
---|
3205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3206 | *) ac_try_echo=$ac_try;; |
---|
3207 | esac |
---|
3208 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3209 | $as_echo "$ac_try_echo") >&5 |
---|
3210 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3211 | ac_status=$? |
---|
3212 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3213 | rm -f conftest.er1 |
---|
3214 | cat conftest.err >&5 |
---|
3215 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3216 | (exit $ac_status); } >/dev/null && { |
---|
3217 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3218 | test ! -s conftest.err |
---|
3219 | }; then |
---|
3220 | : |
---|
3221 | else |
---|
3222 | $as_echo "$as_me: failed program was:" >&5 |
---|
3223 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3224 | |
---|
3225 | # Broken: fails on valid input. |
---|
3226 | continue |
---|
3227 | fi |
---|
3228 | |
---|
3229 | rm -f conftest.err conftest.$ac_ext |
---|
3230 | |
---|
3231 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3232 | # can be detected and how. |
---|
3233 | cat >conftest.$ac_ext <<_ACEOF |
---|
3234 | /* confdefs.h. */ |
---|
3235 | _ACEOF |
---|
3236 | cat confdefs.h >>conftest.$ac_ext |
---|
3237 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3238 | /* end confdefs.h. */ |
---|
3239 | #include <ac_nonexistent.h> |
---|
3240 | _ACEOF |
---|
3241 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3242 | case "(($ac_try" in |
---|
3243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3244 | *) ac_try_echo=$ac_try;; |
---|
3245 | esac |
---|
3246 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3247 | $as_echo "$ac_try_echo") >&5 |
---|
3248 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3249 | ac_status=$? |
---|
3250 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3251 | rm -f conftest.er1 |
---|
3252 | cat conftest.err >&5 |
---|
3253 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3254 | (exit $ac_status); } >/dev/null && { |
---|
3255 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3256 | test ! -s conftest.err |
---|
3257 | }; then |
---|
3258 | # Broken: success on invalid input. |
---|
3259 | continue |
---|
3260 | else |
---|
3261 | $as_echo "$as_me: failed program was:" >&5 |
---|
3262 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3263 | |
---|
3264 | # Passes both tests. |
---|
3265 | ac_preproc_ok=: |
---|
3266 | break |
---|
3267 | fi |
---|
3268 | |
---|
3269 | rm -f conftest.err conftest.$ac_ext |
---|
3270 | |
---|
3271 | done |
---|
3272 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3273 | rm -f conftest.err conftest.$ac_ext |
---|
3274 | if $ac_preproc_ok; then |
---|
3275 | : |
---|
3276 | else |
---|
3277 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
3278 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3279 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
3280 | See \`config.log' for more details." >&5 |
---|
3281 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
3282 | See \`config.log' for more details." >&2;} |
---|
3283 | { (exit 1); exit 1; }; }; } |
---|
3284 | fi |
---|
3285 | |
---|
3286 | ac_ext=c |
---|
3287 | ac_cpp='$CPP $CPPFLAGS' |
---|
3288 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3289 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3290 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3291 | |
---|
3292 | ac_ext=cpp |
---|
3293 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
3294 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3295 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3296 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
3297 | if test -z "$CXX"; then |
---|
3298 | if test -n "$CCC"; then |
---|
3299 | CXX=$CCC |
---|
3300 | else |
---|
3301 | if test -n "$ac_tool_prefix"; then |
---|
3302 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
3303 | do |
---|
3304 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
3305 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
3306 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3307 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3308 | if test "${ac_cv_prog_CXX+set}" = set; then |
---|
3309 | $as_echo_n "(cached) " >&6 |
---|
3310 | else |
---|
3311 | if test -n "$CXX"; then |
---|
3312 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
3313 | else |
---|
3314 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3315 | for as_dir in $PATH |
---|
3316 | do |
---|
3317 | IFS=$as_save_IFS |
---|
3318 | test -z "$as_dir" && as_dir=. |
---|
3319 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3320 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3321 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
3322 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3323 | break 2 |
---|
3324 | fi |
---|
3325 | done |
---|
3326 | done |
---|
3327 | IFS=$as_save_IFS |
---|
3328 | |
---|
3329 | fi |
---|
3330 | fi |
---|
3331 | CXX=$ac_cv_prog_CXX |
---|
3332 | if test -n "$CXX"; then |
---|
3333 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
---|
3334 | $as_echo "$CXX" >&6; } |
---|
3335 | else |
---|
3336 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
3337 | $as_echo "no" >&6; } |
---|
3338 | fi |
---|
3339 | |
---|
3340 | |
---|
3341 | test -n "$CXX" && break |
---|
3342 | done |
---|
3343 | fi |
---|
3344 | if test -z "$CXX"; then |
---|
3345 | ac_ct_CXX=$CXX |
---|
3346 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
3347 | do |
---|
3348 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
3349 | set dummy $ac_prog; ac_word=$2 |
---|
3350 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3351 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3352 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
---|
3353 | $as_echo_n "(cached) " >&6 |
---|
3354 | else |
---|
3355 | if test -n "$ac_ct_CXX"; then |
---|
3356 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
3357 | else |
---|
3358 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3359 | for as_dir in $PATH |
---|
3360 | do |
---|
3361 | IFS=$as_save_IFS |
---|
3362 | test -z "$as_dir" && as_dir=. |
---|
3363 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3364 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3365 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
3366 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3367 | break 2 |
---|
3368 | fi |
---|
3369 | done |
---|
3370 | done |
---|
3371 | IFS=$as_save_IFS |
---|
3372 | |
---|
3373 | fi |
---|
3374 | fi |
---|
3375 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
3376 | if test -n "$ac_ct_CXX"; then |
---|
3377 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
---|
3378 | $as_echo "$ac_ct_CXX" >&6; } |
---|
3379 | else |
---|
3380 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
3381 | $as_echo "no" >&6; } |
---|
3382 | fi |
---|
3383 | |
---|
3384 | |
---|
3385 | test -n "$ac_ct_CXX" && break |
---|
3386 | done |
---|
3387 | |
---|
3388 | if test "x$ac_ct_CXX" = x; then |
---|
3389 | CXX="g++" |
---|
3390 | else |
---|
3391 | case $cross_compiling:$ac_tool_warned in |
---|
3392 | yes:) |
---|
3393 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3394 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3395 | ac_tool_warned=yes ;; |
---|
3396 | esac |
---|
3397 | CXX=$ac_ct_CXX |
---|
3398 | fi |
---|
3399 | fi |
---|
3400 | |
---|
3401 | fi |
---|
3402 | fi |
---|
3403 | # Provide some information about the compiler. |
---|
3404 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
---|
3405 | set X $ac_compile |
---|
3406 | ac_compiler=$2 |
---|
3407 | { (ac_try="$ac_compiler --version >&5" |
---|
3408 | case "(($ac_try" in |
---|
3409 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3410 | *) ac_try_echo=$ac_try;; |
---|
3411 | esac |
---|
3412 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3413 | $as_echo "$ac_try_echo") >&5 |
---|
3414 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
3415 | ac_status=$? |
---|
3416 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3417 | (exit $ac_status); } |
---|
3418 | { (ac_try="$ac_compiler -v >&5" |
---|
3419 | case "(($ac_try" in |
---|
3420 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3421 | *) ac_try_echo=$ac_try;; |
---|
3422 | esac |
---|
3423 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3424 | $as_echo "$ac_try_echo") >&5 |
---|
3425 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
3426 | ac_status=$? |
---|
3427 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3428 | (exit $ac_status); } |
---|
3429 | { (ac_try="$ac_compiler -V >&5" |
---|
3430 | case "(($ac_try" in |
---|
3431 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3432 | *) ac_try_echo=$ac_try;; |
---|
3433 | esac |
---|
3434 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3435 | $as_echo "$ac_try_echo") >&5 |
---|
3436 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
3437 | ac_status=$? |
---|
3438 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3439 | (exit $ac_status); } |
---|
3440 | |
---|
3441 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
---|
3442 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
---|
3443 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
---|
3444 | $as_echo_n "(cached) " >&6 |
---|
3445 | else |
---|
3446 | cat >conftest.$ac_ext <<_ACEOF |
---|
3447 | /* confdefs.h. */ |
---|
3448 | _ACEOF |
---|
3449 | cat confdefs.h >>conftest.$ac_ext |
---|
3450 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3451 | /* end confdefs.h. */ |
---|
3452 | |
---|
3453 | int |
---|
3454 | main () |
---|
3455 | { |
---|
3456 | #ifndef __GNUC__ |
---|
3457 | choke me |
---|
3458 | #endif |
---|
3459 | |
---|
3460 | ; |
---|
3461 | return 0; |
---|
3462 | } |
---|
3463 | _ACEOF |
---|
3464 | rm -f conftest.$ac_objext |
---|
3465 | if { (ac_try="$ac_compile" |
---|
3466 | case "(($ac_try" in |
---|
3467 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3468 | *) ac_try_echo=$ac_try;; |
---|
3469 | esac |
---|
3470 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3471 | $as_echo "$ac_try_echo") >&5 |
---|
3472 | (eval "$ac_compile") 2>conftest.er1 |
---|
3473 | ac_status=$? |
---|
3474 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3475 | rm -f conftest.er1 |
---|
3476 | cat conftest.err >&5 |
---|
3477 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3478 | (exit $ac_status); } && { |
---|
3479 | test -z "$ac_cxx_werror_flag" || |
---|
3480 | test ! -s conftest.err |
---|
3481 | } && test -s conftest.$ac_objext; then |
---|
3482 | ac_compiler_gnu=yes |
---|
3483 | else |
---|
3484 | $as_echo "$as_me: failed program was:" >&5 |
---|
3485 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3486 | |
---|
3487 | ac_compiler_gnu=no |
---|
3488 | fi |
---|
3489 | |
---|
3490 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3491 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
3492 | |
---|
3493 | fi |
---|
3494 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
3495 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
---|
3496 | if test $ac_compiler_gnu = yes; then |
---|
3497 | GXX=yes |
---|
3498 | else |
---|
3499 | GXX= |
---|
3500 | fi |
---|
3501 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
3502 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
3503 | { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
---|
3504 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
---|
3505 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
---|
3506 | $as_echo_n "(cached) " >&6 |
---|
3507 | else |
---|
3508 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
---|
3509 | ac_cxx_werror_flag=yes |
---|
3510 | ac_cv_prog_cxx_g=no |
---|
3511 | CXXFLAGS="-g" |
---|
3512 | cat >conftest.$ac_ext <<_ACEOF |
---|
3513 | /* confdefs.h. */ |
---|
3514 | _ACEOF |
---|
3515 | cat confdefs.h >>conftest.$ac_ext |
---|
3516 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3517 | /* end confdefs.h. */ |
---|
3518 | |
---|
3519 | int |
---|
3520 | main () |
---|
3521 | { |
---|
3522 | |
---|
3523 | ; |
---|
3524 | return 0; |
---|
3525 | } |
---|
3526 | _ACEOF |
---|
3527 | rm -f conftest.$ac_objext |
---|
3528 | if { (ac_try="$ac_compile" |
---|
3529 | case "(($ac_try" in |
---|
3530 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3531 | *) ac_try_echo=$ac_try;; |
---|
3532 | esac |
---|
3533 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3534 | $as_echo "$ac_try_echo") >&5 |
---|
3535 | (eval "$ac_compile") 2>conftest.er1 |
---|
3536 | ac_status=$? |
---|
3537 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3538 | rm -f conftest.er1 |
---|
3539 | cat conftest.err >&5 |
---|
3540 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3541 | (exit $ac_status); } && { |
---|
3542 | test -z "$ac_cxx_werror_flag" || |
---|
3543 | test ! -s conftest.err |
---|
3544 | } && test -s conftest.$ac_objext; then |
---|
3545 | ac_cv_prog_cxx_g=yes |
---|
3546 | else |
---|
3547 | $as_echo "$as_me: failed program was:" >&5 |
---|
3548 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3549 | |
---|
3550 | CXXFLAGS="" |
---|
3551 | cat >conftest.$ac_ext <<_ACEOF |
---|
3552 | /* confdefs.h. */ |
---|
3553 | _ACEOF |
---|
3554 | cat confdefs.h >>conftest.$ac_ext |
---|
3555 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3556 | /* end confdefs.h. */ |
---|
3557 | |
---|
3558 | int |
---|
3559 | main () |
---|
3560 | { |
---|
3561 | |
---|
3562 | ; |
---|
3563 | return 0; |
---|
3564 | } |
---|
3565 | _ACEOF |
---|
3566 | rm -f conftest.$ac_objext |
---|
3567 | if { (ac_try="$ac_compile" |
---|
3568 | case "(($ac_try" in |
---|
3569 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3570 | *) ac_try_echo=$ac_try;; |
---|
3571 | esac |
---|
3572 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3573 | $as_echo "$ac_try_echo") >&5 |
---|
3574 | (eval "$ac_compile") 2>conftest.er1 |
---|
3575 | ac_status=$? |
---|
3576 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3577 | rm -f conftest.er1 |
---|
3578 | cat conftest.err >&5 |
---|
3579 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3580 | (exit $ac_status); } && { |
---|
3581 | test -z "$ac_cxx_werror_flag" || |
---|
3582 | test ! -s conftest.err |
---|
3583 | } && test -s conftest.$ac_objext; then |
---|
3584 | : |
---|
3585 | else |
---|
3586 | $as_echo "$as_me: failed program was:" >&5 |
---|
3587 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3588 | |
---|
3589 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
3590 | CXXFLAGS="-g" |
---|
3591 | cat >conftest.$ac_ext <<_ACEOF |
---|
3592 | /* confdefs.h. */ |
---|
3593 | _ACEOF |
---|
3594 | cat confdefs.h >>conftest.$ac_ext |
---|
3595 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3596 | /* end confdefs.h. */ |
---|
3597 | |
---|
3598 | int |
---|
3599 | main () |
---|
3600 | { |
---|
3601 | |
---|
3602 | ; |
---|
3603 | return 0; |
---|
3604 | } |
---|
3605 | _ACEOF |
---|
3606 | rm -f conftest.$ac_objext |
---|
3607 | if { (ac_try="$ac_compile" |
---|
3608 | case "(($ac_try" in |
---|
3609 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3610 | *) ac_try_echo=$ac_try;; |
---|
3611 | esac |
---|
3612 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3613 | $as_echo "$ac_try_echo") >&5 |
---|
3614 | (eval "$ac_compile") 2>conftest.er1 |
---|
3615 | ac_status=$? |
---|
3616 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3617 | rm -f conftest.er1 |
---|
3618 | cat conftest.err >&5 |
---|
3619 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3620 | (exit $ac_status); } && { |
---|
3621 | test -z "$ac_cxx_werror_flag" || |
---|
3622 | test ! -s conftest.err |
---|
3623 | } && test -s conftest.$ac_objext; then |
---|
3624 | ac_cv_prog_cxx_g=yes |
---|
3625 | else |
---|
3626 | $as_echo "$as_me: failed program was:" >&5 |
---|
3627 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3628 | |
---|
3629 | |
---|
3630 | fi |
---|
3631 | |
---|
3632 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3633 | fi |
---|
3634 | |
---|
3635 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3636 | fi |
---|
3637 | |
---|
3638 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3639 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
3640 | fi |
---|
3641 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
---|
3642 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
---|
3643 | if test "$ac_test_CXXFLAGS" = set; then |
---|
3644 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
3645 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
3646 | if test "$GXX" = yes; then |
---|
3647 | CXXFLAGS="-g -O2" |
---|
3648 | else |
---|
3649 | CXXFLAGS="-g" |
---|
3650 | fi |
---|
3651 | else |
---|
3652 | if test "$GXX" = yes; then |
---|
3653 | CXXFLAGS="-O2" |
---|
3654 | else |
---|
3655 | CXXFLAGS= |
---|
3656 | fi |
---|
3657 | fi |
---|
3658 | ac_ext=c |
---|
3659 | ac_cpp='$CPP $CPPFLAGS' |
---|
3660 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3661 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3662 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3663 | |
---|
3664 | ac_ext=cpp |
---|
3665 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
3666 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3667 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3668 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
3669 | { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
---|
3670 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
---|
3671 | if test -z "$CXXCPP"; then |
---|
3672 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
---|
3673 | $as_echo_n "(cached) " >&6 |
---|
3674 | else |
---|
3675 | # Double quotes because CXXCPP needs to be expanded |
---|
3676 | for CXXCPP in "$CXX -E" "/lib/cpp" |
---|
3677 | do |
---|
3678 | ac_preproc_ok=false |
---|
3679 | for ac_cxx_preproc_warn_flag in '' yes |
---|
3680 | do |
---|
3681 | # Use a header file that comes with gcc, so configuring glibc |
---|
3682 | # with a fresh cross-compiler works. |
---|
3683 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3684 | # <limits.h> exists even on freestanding compilers. |
---|
3685 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3686 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3687 | cat >conftest.$ac_ext <<_ACEOF |
---|
3688 | /* confdefs.h. */ |
---|
3689 | _ACEOF |
---|
3690 | cat confdefs.h >>conftest.$ac_ext |
---|
3691 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3692 | /* end confdefs.h. */ |
---|
3693 | #ifdef __STDC__ |
---|
3694 | # include <limits.h> |
---|
3695 | #else |
---|
3696 | # include <assert.h> |
---|
3697 | #endif |
---|
3698 | Syntax error |
---|
3699 | _ACEOF |
---|
3700 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3701 | case "(($ac_try" in |
---|
3702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3703 | *) ac_try_echo=$ac_try;; |
---|
3704 | esac |
---|
3705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3706 | $as_echo "$ac_try_echo") >&5 |
---|
3707 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3708 | ac_status=$? |
---|
3709 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3710 | rm -f conftest.er1 |
---|
3711 | cat conftest.err >&5 |
---|
3712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3713 | (exit $ac_status); } >/dev/null && { |
---|
3714 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
3715 | test ! -s conftest.err |
---|
3716 | }; then |
---|
3717 | : |
---|
3718 | else |
---|
3719 | $as_echo "$as_me: failed program was:" >&5 |
---|
3720 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3721 | |
---|
3722 | # Broken: fails on valid input. |
---|
3723 | continue |
---|
3724 | fi |
---|
3725 | |
---|
3726 | rm -f conftest.err conftest.$ac_ext |
---|
3727 | |
---|
3728 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3729 | # can be detected and how. |
---|
3730 | cat >conftest.$ac_ext <<_ACEOF |
---|
3731 | /* confdefs.h. */ |
---|
3732 | _ACEOF |
---|
3733 | cat confdefs.h >>conftest.$ac_ext |
---|
3734 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3735 | /* end confdefs.h. */ |
---|
3736 | #include <ac_nonexistent.h> |
---|
3737 | _ACEOF |
---|
3738 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3739 | case "(($ac_try" in |
---|
3740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3741 | *) ac_try_echo=$ac_try;; |
---|
3742 | esac |
---|
3743 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3744 | $as_echo "$ac_try_echo") >&5 |
---|
3745 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3746 | ac_status=$? |
---|
3747 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3748 | rm -f conftest.er1 |
---|
3749 | cat conftest.err >&5 |
---|
3750 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3751 | (exit $ac_status); } >/dev/null && { |
---|
3752 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
3753 | test ! -s conftest.err |
---|
3754 | }; then |
---|
3755 | # Broken: success on invalid input. |
---|
3756 | continue |
---|
3757 | else |
---|
3758 | $as_echo "$as_me: failed program was:" >&5 |
---|
3759 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3760 | |
---|
3761 | # Passes both tests. |
---|
3762 | ac_preproc_ok=: |
---|
3763 | break |
---|
3764 | fi |
---|
3765 | |
---|
3766 | rm -f conftest.err conftest.$ac_ext |
---|
3767 | |
---|
3768 | done |
---|
3769 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3770 | rm -f conftest.err conftest.$ac_ext |
---|
3771 | if $ac_preproc_ok; then |
---|
3772 | break |
---|
3773 | fi |
---|
3774 | |
---|
3775 | done |
---|
3776 | ac_cv_prog_CXXCPP=$CXXCPP |
---|
3777 | |
---|
3778 | fi |
---|
3779 | CXXCPP=$ac_cv_prog_CXXCPP |
---|
3780 | else |
---|
3781 | ac_cv_prog_CXXCPP=$CXXCPP |
---|
3782 | fi |
---|
3783 | { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
---|
3784 | $as_echo "$CXXCPP" >&6; } |
---|
3785 | ac_preproc_ok=false |
---|
3786 | for ac_cxx_preproc_warn_flag in '' yes |
---|
3787 | do |
---|
3788 | # Use a header file that comes with gcc, so configuring glibc |
---|
3789 | # with a fresh cross-compiler works. |
---|
3790 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3791 | # <limits.h> exists even on freestanding compilers. |
---|
3792 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3793 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3794 | cat >conftest.$ac_ext <<_ACEOF |
---|
3795 | /* confdefs.h. */ |
---|
3796 | _ACEOF |
---|
3797 | cat confdefs.h >>conftest.$ac_ext |
---|
3798 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3799 | /* end confdefs.h. */ |
---|
3800 | #ifdef __STDC__ |
---|
3801 | # include <limits.h> |
---|
3802 | #else |
---|
3803 | # include <assert.h> |
---|
3804 | #endif |
---|
3805 | Syntax error |
---|
3806 | _ACEOF |
---|
3807 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3808 | case "(($ac_try" in |
---|
3809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3810 | *) ac_try_echo=$ac_try;; |
---|
3811 | esac |
---|
3812 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3813 | $as_echo "$ac_try_echo") >&5 |
---|
3814 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3815 | ac_status=$? |
---|
3816 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3817 | rm -f conftest.er1 |
---|
3818 | cat conftest.err >&5 |
---|
3819 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3820 | (exit $ac_status); } >/dev/null && { |
---|
3821 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
3822 | test ! -s conftest.err |
---|
3823 | }; then |
---|
3824 | : |
---|
3825 | else |
---|
3826 | $as_echo "$as_me: failed program was:" >&5 |
---|
3827 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3828 | |
---|
3829 | # Broken: fails on valid input. |
---|
3830 | continue |
---|
3831 | fi |
---|
3832 | |
---|
3833 | rm -f conftest.err conftest.$ac_ext |
---|
3834 | |
---|
3835 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3836 | # can be detected and how. |
---|
3837 | cat >conftest.$ac_ext <<_ACEOF |
---|
3838 | /* confdefs.h. */ |
---|
3839 | _ACEOF |
---|
3840 | cat confdefs.h >>conftest.$ac_ext |
---|
3841 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3842 | /* end confdefs.h. */ |
---|
3843 | #include <ac_nonexistent.h> |
---|
3844 | _ACEOF |
---|
3845 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3846 | case "(($ac_try" in |
---|
3847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3848 | *) ac_try_echo=$ac_try;; |
---|
3849 | esac |
---|
3850 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3851 | $as_echo "$ac_try_echo") >&5 |
---|
3852 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3853 | ac_status=$? |
---|
3854 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3855 | rm -f conftest.er1 |
---|
3856 | cat conftest.err >&5 |
---|
3857 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3858 | (exit $ac_status); } >/dev/null && { |
---|
3859 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
3860 | test ! -s conftest.err |
---|
3861 | }; then |
---|
3862 | # Broken: success on invalid input. |
---|
3863 | continue |
---|
3864 | else |
---|
3865 | $as_echo "$as_me: failed program was:" >&5 |
---|
3866 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3867 | |
---|
3868 | # Passes both tests. |
---|
3869 | ac_preproc_ok=: |
---|
3870 | break |
---|
3871 | fi |
---|
3872 | |
---|
3873 | rm -f conftest.err conftest.$ac_ext |
---|
3874 | |
---|
3875 | done |
---|
3876 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3877 | rm -f conftest.err conftest.$ac_ext |
---|
3878 | if $ac_preproc_ok; then |
---|
3879 | : |
---|
3880 | else |
---|
3881 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
3882 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
3883 | { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
---|
3884 | See \`config.log' for more details." >&5 |
---|
3885 | $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
---|
3886 | See \`config.log' for more details." >&2;} |
---|
3887 | { (exit 1); exit 1; }; }; } |
---|
3888 | fi |
---|
3889 | |
---|
3890 | ac_ext=c |
---|
3891 | ac_cpp='$CPP $CPPFLAGS' |
---|
3892 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3893 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3894 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3895 | |
---|
3896 | ac_ext=cpp |
---|
3897 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
3898 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3899 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3900 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
3901 | if test -z "$CXX"; then |
---|
3902 | if test -n "$CCC"; then |
---|
3903 | CXX=$CCC |
---|
3904 | else |
---|
3905 | if test -n "$ac_tool_prefix"; then |
---|
3906 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
3907 | do |
---|
3908 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
3909 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
3910 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3911 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3912 | if test "${ac_cv_prog_CXX+set}" = set; then |
---|
3913 | $as_echo_n "(cached) " >&6 |
---|
3914 | else |
---|
3915 | if test -n "$CXX"; then |
---|
3916 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
3917 | else |
---|
3918 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3919 | for as_dir in $PATH |
---|
3920 | do |
---|
3921 | IFS=$as_save_IFS |
---|
3922 | test -z "$as_dir" && as_dir=. |
---|
3923 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3924 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3925 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
---|
3926 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3927 | break 2 |
---|
3928 | fi |
---|
3929 | done |
---|
3930 | done |
---|
3931 | IFS=$as_save_IFS |
---|
3932 | |
---|
3933 | fi |
---|
3934 | fi |
---|
3935 | CXX=$ac_cv_prog_CXX |
---|
3936 | if test -n "$CXX"; then |
---|
3937 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
---|
3938 | $as_echo "$CXX" >&6; } |
---|
3939 | else |
---|
3940 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
3941 | $as_echo "no" >&6; } |
---|
3942 | fi |
---|
3943 | |
---|
3944 | |
---|
3945 | test -n "$CXX" && break |
---|
3946 | done |
---|
3947 | fi |
---|
3948 | if test -z "$CXX"; then |
---|
3949 | ac_ct_CXX=$CXX |
---|
3950 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
---|
3951 | do |
---|
3952 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
3953 | set dummy $ac_prog; ac_word=$2 |
---|
3954 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3955 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
3956 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
---|
3957 | $as_echo_n "(cached) " >&6 |
---|
3958 | else |
---|
3959 | if test -n "$ac_ct_CXX"; then |
---|
3960 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
---|
3961 | else |
---|
3962 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3963 | for as_dir in $PATH |
---|
3964 | do |
---|
3965 | IFS=$as_save_IFS |
---|
3966 | test -z "$as_dir" && as_dir=. |
---|
3967 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3968 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
3969 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
---|
3970 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3971 | break 2 |
---|
3972 | fi |
---|
3973 | done |
---|
3974 | done |
---|
3975 | IFS=$as_save_IFS |
---|
3976 | |
---|
3977 | fi |
---|
3978 | fi |
---|
3979 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
---|
3980 | if test -n "$ac_ct_CXX"; then |
---|
3981 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
---|
3982 | $as_echo "$ac_ct_CXX" >&6; } |
---|
3983 | else |
---|
3984 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
3985 | $as_echo "no" >&6; } |
---|
3986 | fi |
---|
3987 | |
---|
3988 | |
---|
3989 | test -n "$ac_ct_CXX" && break |
---|
3990 | done |
---|
3991 | |
---|
3992 | if test "x$ac_ct_CXX" = x; then |
---|
3993 | CXX="g++" |
---|
3994 | else |
---|
3995 | case $cross_compiling:$ac_tool_warned in |
---|
3996 | yes:) |
---|
3997 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
3998 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
3999 | ac_tool_warned=yes ;; |
---|
4000 | esac |
---|
4001 | CXX=$ac_ct_CXX |
---|
4002 | fi |
---|
4003 | fi |
---|
4004 | |
---|
4005 | fi |
---|
4006 | fi |
---|
4007 | # Provide some information about the compiler. |
---|
4008 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
---|
4009 | set X $ac_compile |
---|
4010 | ac_compiler=$2 |
---|
4011 | { (ac_try="$ac_compiler --version >&5" |
---|
4012 | case "(($ac_try" in |
---|
4013 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4014 | *) ac_try_echo=$ac_try;; |
---|
4015 | esac |
---|
4016 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4017 | $as_echo "$ac_try_echo") >&5 |
---|
4018 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
4019 | ac_status=$? |
---|
4020 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4021 | (exit $ac_status); } |
---|
4022 | { (ac_try="$ac_compiler -v >&5" |
---|
4023 | case "(($ac_try" in |
---|
4024 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4025 | *) ac_try_echo=$ac_try;; |
---|
4026 | esac |
---|
4027 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4028 | $as_echo "$ac_try_echo") >&5 |
---|
4029 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
4030 | ac_status=$? |
---|
4031 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4032 | (exit $ac_status); } |
---|
4033 | { (ac_try="$ac_compiler -V >&5" |
---|
4034 | case "(($ac_try" in |
---|
4035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4036 | *) ac_try_echo=$ac_try;; |
---|
4037 | esac |
---|
4038 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4039 | $as_echo "$ac_try_echo") >&5 |
---|
4040 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
4041 | ac_status=$? |
---|
4042 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4043 | (exit $ac_status); } |
---|
4044 | |
---|
4045 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
---|
4046 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
---|
4047 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
---|
4048 | $as_echo_n "(cached) " >&6 |
---|
4049 | else |
---|
4050 | cat >conftest.$ac_ext <<_ACEOF |
---|
4051 | /* confdefs.h. */ |
---|
4052 | _ACEOF |
---|
4053 | cat confdefs.h >>conftest.$ac_ext |
---|
4054 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4055 | /* end confdefs.h. */ |
---|
4056 | |
---|
4057 | int |
---|
4058 | main () |
---|
4059 | { |
---|
4060 | #ifndef __GNUC__ |
---|
4061 | choke me |
---|
4062 | #endif |
---|
4063 | |
---|
4064 | ; |
---|
4065 | return 0; |
---|
4066 | } |
---|
4067 | _ACEOF |
---|
4068 | rm -f conftest.$ac_objext |
---|
4069 | if { (ac_try="$ac_compile" |
---|
4070 | case "(($ac_try" in |
---|
4071 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4072 | *) ac_try_echo=$ac_try;; |
---|
4073 | esac |
---|
4074 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4075 | $as_echo "$ac_try_echo") >&5 |
---|
4076 | (eval "$ac_compile") 2>conftest.er1 |
---|
4077 | ac_status=$? |
---|
4078 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4079 | rm -f conftest.er1 |
---|
4080 | cat conftest.err >&5 |
---|
4081 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4082 | (exit $ac_status); } && { |
---|
4083 | test -z "$ac_cxx_werror_flag" || |
---|
4084 | test ! -s conftest.err |
---|
4085 | } && test -s conftest.$ac_objext; then |
---|
4086 | ac_compiler_gnu=yes |
---|
4087 | else |
---|
4088 | $as_echo "$as_me: failed program was:" >&5 |
---|
4089 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4090 | |
---|
4091 | ac_compiler_gnu=no |
---|
4092 | fi |
---|
4093 | |
---|
4094 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4095 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
---|
4096 | |
---|
4097 | fi |
---|
4098 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
---|
4099 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
---|
4100 | if test $ac_compiler_gnu = yes; then |
---|
4101 | GXX=yes |
---|
4102 | else |
---|
4103 | GXX= |
---|
4104 | fi |
---|
4105 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
---|
4106 | ac_save_CXXFLAGS=$CXXFLAGS |
---|
4107 | { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
---|
4108 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
---|
4109 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
---|
4110 | $as_echo_n "(cached) " >&6 |
---|
4111 | else |
---|
4112 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
---|
4113 | ac_cxx_werror_flag=yes |
---|
4114 | ac_cv_prog_cxx_g=no |
---|
4115 | CXXFLAGS="-g" |
---|
4116 | cat >conftest.$ac_ext <<_ACEOF |
---|
4117 | /* confdefs.h. */ |
---|
4118 | _ACEOF |
---|
4119 | cat confdefs.h >>conftest.$ac_ext |
---|
4120 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4121 | /* end confdefs.h. */ |
---|
4122 | |
---|
4123 | int |
---|
4124 | main () |
---|
4125 | { |
---|
4126 | |
---|
4127 | ; |
---|
4128 | return 0; |
---|
4129 | } |
---|
4130 | _ACEOF |
---|
4131 | rm -f conftest.$ac_objext |
---|
4132 | if { (ac_try="$ac_compile" |
---|
4133 | case "(($ac_try" in |
---|
4134 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4135 | *) ac_try_echo=$ac_try;; |
---|
4136 | esac |
---|
4137 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4138 | $as_echo "$ac_try_echo") >&5 |
---|
4139 | (eval "$ac_compile") 2>conftest.er1 |
---|
4140 | ac_status=$? |
---|
4141 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4142 | rm -f conftest.er1 |
---|
4143 | cat conftest.err >&5 |
---|
4144 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4145 | (exit $ac_status); } && { |
---|
4146 | test -z "$ac_cxx_werror_flag" || |
---|
4147 | test ! -s conftest.err |
---|
4148 | } && test -s conftest.$ac_objext; then |
---|
4149 | ac_cv_prog_cxx_g=yes |
---|
4150 | else |
---|
4151 | $as_echo "$as_me: failed program was:" >&5 |
---|
4152 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4153 | |
---|
4154 | CXXFLAGS="" |
---|
4155 | cat >conftest.$ac_ext <<_ACEOF |
---|
4156 | /* confdefs.h. */ |
---|
4157 | _ACEOF |
---|
4158 | cat confdefs.h >>conftest.$ac_ext |
---|
4159 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4160 | /* end confdefs.h. */ |
---|
4161 | |
---|
4162 | int |
---|
4163 | main () |
---|
4164 | { |
---|
4165 | |
---|
4166 | ; |
---|
4167 | return 0; |
---|
4168 | } |
---|
4169 | _ACEOF |
---|
4170 | rm -f conftest.$ac_objext |
---|
4171 | if { (ac_try="$ac_compile" |
---|
4172 | case "(($ac_try" in |
---|
4173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4174 | *) ac_try_echo=$ac_try;; |
---|
4175 | esac |
---|
4176 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4177 | $as_echo "$ac_try_echo") >&5 |
---|
4178 | (eval "$ac_compile") 2>conftest.er1 |
---|
4179 | ac_status=$? |
---|
4180 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4181 | rm -f conftest.er1 |
---|
4182 | cat conftest.err >&5 |
---|
4183 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4184 | (exit $ac_status); } && { |
---|
4185 | test -z "$ac_cxx_werror_flag" || |
---|
4186 | test ! -s conftest.err |
---|
4187 | } && test -s conftest.$ac_objext; then |
---|
4188 | : |
---|
4189 | else |
---|
4190 | $as_echo "$as_me: failed program was:" >&5 |
---|
4191 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4192 | |
---|
4193 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
4194 | CXXFLAGS="-g" |
---|
4195 | cat >conftest.$ac_ext <<_ACEOF |
---|
4196 | /* confdefs.h. */ |
---|
4197 | _ACEOF |
---|
4198 | cat confdefs.h >>conftest.$ac_ext |
---|
4199 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4200 | /* end confdefs.h. */ |
---|
4201 | |
---|
4202 | int |
---|
4203 | main () |
---|
4204 | { |
---|
4205 | |
---|
4206 | ; |
---|
4207 | return 0; |
---|
4208 | } |
---|
4209 | _ACEOF |
---|
4210 | rm -f conftest.$ac_objext |
---|
4211 | if { (ac_try="$ac_compile" |
---|
4212 | case "(($ac_try" in |
---|
4213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4214 | *) ac_try_echo=$ac_try;; |
---|
4215 | esac |
---|
4216 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4217 | $as_echo "$ac_try_echo") >&5 |
---|
4218 | (eval "$ac_compile") 2>conftest.er1 |
---|
4219 | ac_status=$? |
---|
4220 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4221 | rm -f conftest.er1 |
---|
4222 | cat conftest.err >&5 |
---|
4223 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4224 | (exit $ac_status); } && { |
---|
4225 | test -z "$ac_cxx_werror_flag" || |
---|
4226 | test ! -s conftest.err |
---|
4227 | } && test -s conftest.$ac_objext; then |
---|
4228 | ac_cv_prog_cxx_g=yes |
---|
4229 | else |
---|
4230 | $as_echo "$as_me: failed program was:" >&5 |
---|
4231 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4232 | |
---|
4233 | |
---|
4234 | fi |
---|
4235 | |
---|
4236 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4237 | fi |
---|
4238 | |
---|
4239 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4240 | fi |
---|
4241 | |
---|
4242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4243 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
---|
4244 | fi |
---|
4245 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
---|
4246 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
---|
4247 | if test "$ac_test_CXXFLAGS" = set; then |
---|
4248 | CXXFLAGS=$ac_save_CXXFLAGS |
---|
4249 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
4250 | if test "$GXX" = yes; then |
---|
4251 | CXXFLAGS="-g -O2" |
---|
4252 | else |
---|
4253 | CXXFLAGS="-g" |
---|
4254 | fi |
---|
4255 | else |
---|
4256 | if test "$GXX" = yes; then |
---|
4257 | CXXFLAGS="-O2" |
---|
4258 | else |
---|
4259 | CXXFLAGS= |
---|
4260 | fi |
---|
4261 | fi |
---|
4262 | ac_ext=c |
---|
4263 | ac_cpp='$CPP $CPPFLAGS' |
---|
4264 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
4265 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
4266 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
4267 | |
---|
4268 | ac_ext=cpp |
---|
4269 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
4270 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
4271 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
4272 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
---|
4273 | |
---|
4274 | |
---|
4275 | |
---|
4276 | |
---|
4277 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
---|
4278 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
4279 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
4280 | $as_echo_n "(cached) " >&6 |
---|
4281 | else |
---|
4282 | if test -z "$GREP"; then |
---|
4283 | ac_path_GREP_found=false |
---|
4284 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4285 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4286 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4287 | do |
---|
4288 | IFS=$as_save_IFS |
---|
4289 | test -z "$as_dir" && as_dir=. |
---|
4290 | for ac_prog in grep ggrep; do |
---|
4291 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4292 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4293 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
4294 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
4295 | # Check for GNU $ac_path_GREP |
---|
4296 | case `"$ac_path_GREP" --version 2>&1` in |
---|
4297 | *GNU*) |
---|
4298 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
4299 | *) |
---|
4300 | ac_count=0 |
---|
4301 | $as_echo_n 0123456789 >"conftest.in" |
---|
4302 | while : |
---|
4303 | do |
---|
4304 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4305 | mv "conftest.tmp" "conftest.in" |
---|
4306 | cp "conftest.in" "conftest.nl" |
---|
4307 | $as_echo 'GREP' >> "conftest.nl" |
---|
4308 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4309 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4310 | ac_count=`expr $ac_count + 1` |
---|
4311 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
4312 | # Best one so far, save it but keep looking for a better one |
---|
4313 | ac_cv_path_GREP="$ac_path_GREP" |
---|
4314 | ac_path_GREP_max=$ac_count |
---|
4315 | fi |
---|
4316 | # 10*(2^10) chars as input seems more than enough |
---|
4317 | test $ac_count -gt 10 && break |
---|
4318 | done |
---|
4319 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4320 | esac |
---|
4321 | |
---|
4322 | $ac_path_GREP_found && break 3 |
---|
4323 | done |
---|
4324 | done |
---|
4325 | done |
---|
4326 | IFS=$as_save_IFS |
---|
4327 | if test -z "$ac_cv_path_GREP"; then |
---|
4328 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
4329 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
4330 | { (exit 1); exit 1; }; } |
---|
4331 | fi |
---|
4332 | else |
---|
4333 | ac_cv_path_GREP=$GREP |
---|
4334 | fi |
---|
4335 | |
---|
4336 | fi |
---|
4337 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
---|
4338 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
4339 | GREP="$ac_cv_path_GREP" |
---|
4340 | |
---|
4341 | |
---|
4342 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
4343 | $as_echo_n "checking for egrep... " >&6; } |
---|
4344 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
4345 | $as_echo_n "(cached) " >&6 |
---|
4346 | else |
---|
4347 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
4348 | then ac_cv_path_EGREP="$GREP -E" |
---|
4349 | else |
---|
4350 | if test -z "$EGREP"; then |
---|
4351 | ac_path_EGREP_found=false |
---|
4352 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4353 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4354 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4355 | do |
---|
4356 | IFS=$as_save_IFS |
---|
4357 | test -z "$as_dir" && as_dir=. |
---|
4358 | for ac_prog in egrep; do |
---|
4359 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4360 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4361 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
4362 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
4363 | # Check for GNU $ac_path_EGREP |
---|
4364 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
4365 | *GNU*) |
---|
4366 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
4367 | *) |
---|
4368 | ac_count=0 |
---|
4369 | $as_echo_n 0123456789 >"conftest.in" |
---|
4370 | while : |
---|
4371 | do |
---|
4372 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4373 | mv "conftest.tmp" "conftest.in" |
---|
4374 | cp "conftest.in" "conftest.nl" |
---|
4375 | $as_echo 'EGREP' >> "conftest.nl" |
---|
4376 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4377 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4378 | ac_count=`expr $ac_count + 1` |
---|
4379 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
4380 | # Best one so far, save it but keep looking for a better one |
---|
4381 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
4382 | ac_path_EGREP_max=$ac_count |
---|
4383 | fi |
---|
4384 | # 10*(2^10) chars as input seems more than enough |
---|
4385 | test $ac_count -gt 10 && break |
---|
4386 | done |
---|
4387 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4388 | esac |
---|
4389 | |
---|
4390 | $ac_path_EGREP_found && break 3 |
---|
4391 | done |
---|
4392 | done |
---|
4393 | done |
---|
4394 | IFS=$as_save_IFS |
---|
4395 | if test -z "$ac_cv_path_EGREP"; then |
---|
4396 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
4397 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
4398 | { (exit 1); exit 1; }; } |
---|
4399 | fi |
---|
4400 | else |
---|
4401 | ac_cv_path_EGREP=$EGREP |
---|
4402 | fi |
---|
4403 | |
---|
4404 | fi |
---|
4405 | fi |
---|
4406 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
---|
4407 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
4408 | EGREP="$ac_cv_path_EGREP" |
---|
4409 | |
---|
4410 | |
---|
4411 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
4412 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
4413 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
4414 | $as_echo_n "(cached) " >&6 |
---|
4415 | else |
---|
4416 | cat >conftest.$ac_ext <<_ACEOF |
---|
4417 | /* confdefs.h. */ |
---|
4418 | _ACEOF |
---|
4419 | cat confdefs.h >>conftest.$ac_ext |
---|
4420 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4421 | /* end confdefs.h. */ |
---|
4422 | #include <stdlib.h> |
---|
4423 | #include <stdarg.h> |
---|
4424 | #include <string.h> |
---|
4425 | #include <float.h> |
---|
4426 | |
---|
4427 | int |
---|
4428 | main () |
---|
4429 | { |
---|
4430 | |
---|
4431 | ; |
---|
4432 | return 0; |
---|
4433 | } |
---|
4434 | _ACEOF |
---|
4435 | rm -f conftest.$ac_objext |
---|
4436 | if { (ac_try="$ac_compile" |
---|
4437 | case "(($ac_try" in |
---|
4438 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4439 | *) ac_try_echo=$ac_try;; |
---|
4440 | esac |
---|
4441 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4442 | $as_echo "$ac_try_echo") >&5 |
---|
4443 | (eval "$ac_compile") 2>conftest.er1 |
---|
4444 | ac_status=$? |
---|
4445 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4446 | rm -f conftest.er1 |
---|
4447 | cat conftest.err >&5 |
---|
4448 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4449 | (exit $ac_status); } && { |
---|
4450 | test -z "$ac_cxx_werror_flag" || |
---|
4451 | test ! -s conftest.err |
---|
4452 | } && test -s conftest.$ac_objext; then |
---|
4453 | ac_cv_header_stdc=yes |
---|
4454 | else |
---|
4455 | $as_echo "$as_me: failed program was:" >&5 |
---|
4456 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4457 | |
---|
4458 | ac_cv_header_stdc=no |
---|
4459 | fi |
---|
4460 | |
---|
4461 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4462 | |
---|
4463 | if test $ac_cv_header_stdc = yes; then |
---|
4464 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
4465 | cat >conftest.$ac_ext <<_ACEOF |
---|
4466 | /* confdefs.h. */ |
---|
4467 | _ACEOF |
---|
4468 | cat confdefs.h >>conftest.$ac_ext |
---|
4469 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4470 | /* end confdefs.h. */ |
---|
4471 | #include <string.h> |
---|
4472 | |
---|
4473 | _ACEOF |
---|
4474 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4475 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
4476 | : |
---|
4477 | else |
---|
4478 | ac_cv_header_stdc=no |
---|
4479 | fi |
---|
4480 | rm -f conftest* |
---|
4481 | |
---|
4482 | fi |
---|
4483 | |
---|
4484 | if test $ac_cv_header_stdc = yes; then |
---|
4485 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
4486 | cat >conftest.$ac_ext <<_ACEOF |
---|
4487 | /* confdefs.h. */ |
---|
4488 | _ACEOF |
---|
4489 | cat confdefs.h >>conftest.$ac_ext |
---|
4490 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4491 | /* end confdefs.h. */ |
---|
4492 | #include <stdlib.h> |
---|
4493 | |
---|
4494 | _ACEOF |
---|
4495 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4496 | $EGREP "free" >/dev/null 2>&1; then |
---|
4497 | : |
---|
4498 | else |
---|
4499 | ac_cv_header_stdc=no |
---|
4500 | fi |
---|
4501 | rm -f conftest* |
---|
4502 | |
---|
4503 | fi |
---|
4504 | |
---|
4505 | if test $ac_cv_header_stdc = yes; then |
---|
4506 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
4507 | if test "$cross_compiling" = yes; then |
---|
4508 | : |
---|
4509 | else |
---|
4510 | cat >conftest.$ac_ext <<_ACEOF |
---|
4511 | /* confdefs.h. */ |
---|
4512 | _ACEOF |
---|
4513 | cat confdefs.h >>conftest.$ac_ext |
---|
4514 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4515 | /* end confdefs.h. */ |
---|
4516 | #include <ctype.h> |
---|
4517 | #include <stdlib.h> |
---|
4518 | #if ((' ' & 0x0FF) == 0x020) |
---|
4519 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
4520 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
4521 | #else |
---|
4522 | # define ISLOWER(c) \ |
---|
4523 | (('a' <= (c) && (c) <= 'i') \ |
---|
4524 | || ('j' <= (c) && (c) <= 'r') \ |
---|
4525 | || ('s' <= (c) && (c) <= 'z')) |
---|
4526 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
4527 | #endif |
---|
4528 | |
---|
4529 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
4530 | int |
---|
4531 | main () |
---|
4532 | { |
---|
4533 | int i; |
---|
4534 | for (i = 0; i < 256; i++) |
---|
4535 | if (XOR (islower (i), ISLOWER (i)) |
---|
4536 | || toupper (i) != TOUPPER (i)) |
---|
4537 | return 2; |
---|
4538 | return 0; |
---|
4539 | } |
---|
4540 | _ACEOF |
---|
4541 | rm -f conftest$ac_exeext |
---|
4542 | if { (ac_try="$ac_link" |
---|
4543 | case "(($ac_try" in |
---|
4544 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4545 | *) ac_try_echo=$ac_try;; |
---|
4546 | esac |
---|
4547 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4548 | $as_echo "$ac_try_echo") >&5 |
---|
4549 | (eval "$ac_link") 2>&5 |
---|
4550 | ac_status=$? |
---|
4551 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4552 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
4553 | { (case "(($ac_try" in |
---|
4554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4555 | *) ac_try_echo=$ac_try;; |
---|
4556 | esac |
---|
4557 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4558 | $as_echo "$ac_try_echo") >&5 |
---|
4559 | (eval "$ac_try") 2>&5 |
---|
4560 | ac_status=$? |
---|
4561 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4562 | (exit $ac_status); }; }; then |
---|
4563 | : |
---|
4564 | else |
---|
4565 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
4566 | $as_echo "$as_me: failed program was:" >&5 |
---|
4567 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4568 | |
---|
4569 | ( exit $ac_status ) |
---|
4570 | ac_cv_header_stdc=no |
---|
4571 | fi |
---|
4572 | rm -rf conftest.dSYM |
---|
4573 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
4574 | fi |
---|
4575 | |
---|
4576 | |
---|
4577 | fi |
---|
4578 | fi |
---|
4579 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
4580 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
4581 | if test $ac_cv_header_stdc = yes; then |
---|
4582 | |
---|
4583 | cat >>confdefs.h <<\_ACEOF |
---|
4584 | #define STDC_HEADERS 1 |
---|
4585 | _ACEOF |
---|
4586 | |
---|
4587 | fi |
---|
4588 | |
---|
4589 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
4590 | |
---|
4591 | |
---|
4592 | |
---|
4593 | |
---|
4594 | |
---|
4595 | |
---|
4596 | |
---|
4597 | |
---|
4598 | |
---|
4599 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
4600 | inttypes.h stdint.h unistd.h |
---|
4601 | do |
---|
4602 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
4603 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
4604 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
4605 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4606 | $as_echo_n "(cached) " >&6 |
---|
4607 | else |
---|
4608 | cat >conftest.$ac_ext <<_ACEOF |
---|
4609 | /* confdefs.h. */ |
---|
4610 | _ACEOF |
---|
4611 | cat confdefs.h >>conftest.$ac_ext |
---|
4612 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4613 | /* end confdefs.h. */ |
---|
4614 | $ac_includes_default |
---|
4615 | |
---|
4616 | #include <$ac_header> |
---|
4617 | _ACEOF |
---|
4618 | rm -f conftest.$ac_objext |
---|
4619 | if { (ac_try="$ac_compile" |
---|
4620 | case "(($ac_try" in |
---|
4621 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4622 | *) ac_try_echo=$ac_try;; |
---|
4623 | esac |
---|
4624 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4625 | $as_echo "$ac_try_echo") >&5 |
---|
4626 | (eval "$ac_compile") 2>conftest.er1 |
---|
4627 | ac_status=$? |
---|
4628 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4629 | rm -f conftest.er1 |
---|
4630 | cat conftest.err >&5 |
---|
4631 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4632 | (exit $ac_status); } && { |
---|
4633 | test -z "$ac_cxx_werror_flag" || |
---|
4634 | test ! -s conftest.err |
---|
4635 | } && test -s conftest.$ac_objext; then |
---|
4636 | eval "$as_ac_Header=yes" |
---|
4637 | else |
---|
4638 | $as_echo "$as_me: failed program was:" >&5 |
---|
4639 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4640 | |
---|
4641 | eval "$as_ac_Header=no" |
---|
4642 | fi |
---|
4643 | |
---|
4644 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4645 | fi |
---|
4646 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
4647 | $as_echo "$as_val"'` |
---|
4648 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4649 | $as_echo "$ac_res" >&6; } |
---|
4650 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
4651 | $as_echo "$as_val"'` |
---|
4652 | if test "x$as_val" = x""yes; then |
---|
4653 | cat >>confdefs.h <<_ACEOF |
---|
4654 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4655 | _ACEOF |
---|
4656 | |
---|
4657 | fi |
---|
4658 | |
---|
4659 | done |
---|
4660 | |
---|
4661 | |
---|
4662 | |
---|
4663 | { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
---|
4664 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
---|
4665 | if test "${ac_cv_c_bigendian+set}" = set; then |
---|
4666 | $as_echo_n "(cached) " >&6 |
---|
4667 | else |
---|
4668 | ac_cv_c_bigendian=unknown |
---|
4669 | # See if we're dealing with a universal compiler. |
---|
4670 | cat >conftest.$ac_ext <<_ACEOF |
---|
4671 | /* confdefs.h. */ |
---|
4672 | _ACEOF |
---|
4673 | cat confdefs.h >>conftest.$ac_ext |
---|
4674 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4675 | /* end confdefs.h. */ |
---|
4676 | #ifndef __APPLE_CC__ |
---|
4677 | not a universal capable compiler |
---|
4678 | #endif |
---|
4679 | typedef int dummy; |
---|
4680 | |
---|
4681 | _ACEOF |
---|
4682 | rm -f conftest.$ac_objext |
---|
4683 | if { (ac_try="$ac_compile" |
---|
4684 | case "(($ac_try" in |
---|
4685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4686 | *) ac_try_echo=$ac_try;; |
---|
4687 | esac |
---|
4688 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4689 | $as_echo "$ac_try_echo") >&5 |
---|
4690 | (eval "$ac_compile") 2>conftest.er1 |
---|
4691 | ac_status=$? |
---|
4692 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4693 | rm -f conftest.er1 |
---|
4694 | cat conftest.err >&5 |
---|
4695 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4696 | (exit $ac_status); } && { |
---|
4697 | test -z "$ac_cxx_werror_flag" || |
---|
4698 | test ! -s conftest.err |
---|
4699 | } && test -s conftest.$ac_objext; then |
---|
4700 | |
---|
4701 | # Check for potential -arch flags. It is not universal unless |
---|
4702 | # there are some -arch flags. Note that *ppc* also matches |
---|
4703 | # ppc64. This check is also rather less than ideal. |
---|
4704 | case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( |
---|
4705 | *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; |
---|
4706 | esac |
---|
4707 | else |
---|
4708 | $as_echo "$as_me: failed program was:" >&5 |
---|
4709 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4710 | |
---|
4711 | |
---|
4712 | fi |
---|
4713 | |
---|
4714 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4715 | if test $ac_cv_c_bigendian = unknown; then |
---|
4716 | # See if sys/param.h defines the BYTE_ORDER macro. |
---|
4717 | cat >conftest.$ac_ext <<_ACEOF |
---|
4718 | /* confdefs.h. */ |
---|
4719 | _ACEOF |
---|
4720 | cat confdefs.h >>conftest.$ac_ext |
---|
4721 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4722 | /* end confdefs.h. */ |
---|
4723 | #include <sys/types.h> |
---|
4724 | #include <sys/param.h> |
---|
4725 | |
---|
4726 | int |
---|
4727 | main () |
---|
4728 | { |
---|
4729 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
---|
4730 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
---|
4731 | && LITTLE_ENDIAN) |
---|
4732 | bogus endian macros |
---|
4733 | #endif |
---|
4734 | |
---|
4735 | ; |
---|
4736 | return 0; |
---|
4737 | } |
---|
4738 | _ACEOF |
---|
4739 | rm -f conftest.$ac_objext |
---|
4740 | if { (ac_try="$ac_compile" |
---|
4741 | case "(($ac_try" in |
---|
4742 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4743 | *) ac_try_echo=$ac_try;; |
---|
4744 | esac |
---|
4745 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4746 | $as_echo "$ac_try_echo") >&5 |
---|
4747 | (eval "$ac_compile") 2>conftest.er1 |
---|
4748 | ac_status=$? |
---|
4749 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4750 | rm -f conftest.er1 |
---|
4751 | cat conftest.err >&5 |
---|
4752 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4753 | (exit $ac_status); } && { |
---|
4754 | test -z "$ac_cxx_werror_flag" || |
---|
4755 | test ! -s conftest.err |
---|
4756 | } && test -s conftest.$ac_objext; then |
---|
4757 | # It does; now see whether it defined to BIG_ENDIAN or not. |
---|
4758 | cat >conftest.$ac_ext <<_ACEOF |
---|
4759 | /* confdefs.h. */ |
---|
4760 | _ACEOF |
---|
4761 | cat confdefs.h >>conftest.$ac_ext |
---|
4762 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4763 | /* end confdefs.h. */ |
---|
4764 | #include <sys/types.h> |
---|
4765 | #include <sys/param.h> |
---|
4766 | |
---|
4767 | int |
---|
4768 | main () |
---|
4769 | { |
---|
4770 | #if BYTE_ORDER != BIG_ENDIAN |
---|
4771 | not big endian |
---|
4772 | #endif |
---|
4773 | |
---|
4774 | ; |
---|
4775 | return 0; |
---|
4776 | } |
---|
4777 | _ACEOF |
---|
4778 | rm -f conftest.$ac_objext |
---|
4779 | if { (ac_try="$ac_compile" |
---|
4780 | case "(($ac_try" in |
---|
4781 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4782 | *) ac_try_echo=$ac_try;; |
---|
4783 | esac |
---|
4784 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4785 | $as_echo "$ac_try_echo") >&5 |
---|
4786 | (eval "$ac_compile") 2>conftest.er1 |
---|
4787 | ac_status=$? |
---|
4788 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4789 | rm -f conftest.er1 |
---|
4790 | cat conftest.err >&5 |
---|
4791 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4792 | (exit $ac_status); } && { |
---|
4793 | test -z "$ac_cxx_werror_flag" || |
---|
4794 | test ! -s conftest.err |
---|
4795 | } && test -s conftest.$ac_objext; then |
---|
4796 | ac_cv_c_bigendian=yes |
---|
4797 | else |
---|
4798 | $as_echo "$as_me: failed program was:" >&5 |
---|
4799 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4800 | |
---|
4801 | ac_cv_c_bigendian=no |
---|
4802 | fi |
---|
4803 | |
---|
4804 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4805 | else |
---|
4806 | $as_echo "$as_me: failed program was:" >&5 |
---|
4807 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4808 | |
---|
4809 | |
---|
4810 | fi |
---|
4811 | |
---|
4812 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4813 | fi |
---|
4814 | if test $ac_cv_c_bigendian = unknown; then |
---|
4815 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
---|
4816 | cat >conftest.$ac_ext <<_ACEOF |
---|
4817 | /* confdefs.h. */ |
---|
4818 | _ACEOF |
---|
4819 | cat confdefs.h >>conftest.$ac_ext |
---|
4820 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4821 | /* end confdefs.h. */ |
---|
4822 | #include <limits.h> |
---|
4823 | |
---|
4824 | int |
---|
4825 | main () |
---|
4826 | { |
---|
4827 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
---|
4828 | bogus endian macros |
---|
4829 | #endif |
---|
4830 | |
---|
4831 | ; |
---|
4832 | return 0; |
---|
4833 | } |
---|
4834 | _ACEOF |
---|
4835 | rm -f conftest.$ac_objext |
---|
4836 | if { (ac_try="$ac_compile" |
---|
4837 | case "(($ac_try" in |
---|
4838 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4839 | *) ac_try_echo=$ac_try;; |
---|
4840 | esac |
---|
4841 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4842 | $as_echo "$ac_try_echo") >&5 |
---|
4843 | (eval "$ac_compile") 2>conftest.er1 |
---|
4844 | ac_status=$? |
---|
4845 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4846 | rm -f conftest.er1 |
---|
4847 | cat conftest.err >&5 |
---|
4848 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4849 | (exit $ac_status); } && { |
---|
4850 | test -z "$ac_cxx_werror_flag" || |
---|
4851 | test ! -s conftest.err |
---|
4852 | } && test -s conftest.$ac_objext; then |
---|
4853 | # It does; now see whether it defined to _BIG_ENDIAN or not. |
---|
4854 | cat >conftest.$ac_ext <<_ACEOF |
---|
4855 | /* confdefs.h. */ |
---|
4856 | _ACEOF |
---|
4857 | cat confdefs.h >>conftest.$ac_ext |
---|
4858 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4859 | /* end confdefs.h. */ |
---|
4860 | #include <limits.h> |
---|
4861 | |
---|
4862 | int |
---|
4863 | main () |
---|
4864 | { |
---|
4865 | #ifndef _BIG_ENDIAN |
---|
4866 | not big endian |
---|
4867 | #endif |
---|
4868 | |
---|
4869 | ; |
---|
4870 | return 0; |
---|
4871 | } |
---|
4872 | _ACEOF |
---|
4873 | rm -f conftest.$ac_objext |
---|
4874 | if { (ac_try="$ac_compile" |
---|
4875 | case "(($ac_try" in |
---|
4876 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4877 | *) ac_try_echo=$ac_try;; |
---|
4878 | esac |
---|
4879 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4880 | $as_echo "$ac_try_echo") >&5 |
---|
4881 | (eval "$ac_compile") 2>conftest.er1 |
---|
4882 | ac_status=$? |
---|
4883 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4884 | rm -f conftest.er1 |
---|
4885 | cat conftest.err >&5 |
---|
4886 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4887 | (exit $ac_status); } && { |
---|
4888 | test -z "$ac_cxx_werror_flag" || |
---|
4889 | test ! -s conftest.err |
---|
4890 | } && test -s conftest.$ac_objext; then |
---|
4891 | ac_cv_c_bigendian=yes |
---|
4892 | else |
---|
4893 | $as_echo "$as_me: failed program was:" >&5 |
---|
4894 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4895 | |
---|
4896 | ac_cv_c_bigendian=no |
---|
4897 | fi |
---|
4898 | |
---|
4899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4900 | else |
---|
4901 | $as_echo "$as_me: failed program was:" >&5 |
---|
4902 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4903 | |
---|
4904 | |
---|
4905 | fi |
---|
4906 | |
---|
4907 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4908 | fi |
---|
4909 | if test $ac_cv_c_bigendian = unknown; then |
---|
4910 | # Compile a test program. |
---|
4911 | if test "$cross_compiling" = yes; then |
---|
4912 | # Try to guess by grepping values from an object file. |
---|
4913 | cat >conftest.$ac_ext <<_ACEOF |
---|
4914 | /* confdefs.h. */ |
---|
4915 | _ACEOF |
---|
4916 | cat confdefs.h >>conftest.$ac_ext |
---|
4917 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4918 | /* end confdefs.h. */ |
---|
4919 | short int ascii_mm[] = |
---|
4920 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
---|
4921 | short int ascii_ii[] = |
---|
4922 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
---|
4923 | int use_ascii (int i) { |
---|
4924 | return ascii_mm[i] + ascii_ii[i]; |
---|
4925 | } |
---|
4926 | short int ebcdic_ii[] = |
---|
4927 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
---|
4928 | short int ebcdic_mm[] = |
---|
4929 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
---|
4930 | int use_ebcdic (int i) { |
---|
4931 | return ebcdic_mm[i] + ebcdic_ii[i]; |
---|
4932 | } |
---|
4933 | extern int foo; |
---|
4934 | |
---|
4935 | int |
---|
4936 | main () |
---|
4937 | { |
---|
4938 | return use_ascii (foo) == use_ebcdic (foo); |
---|
4939 | ; |
---|
4940 | return 0; |
---|
4941 | } |
---|
4942 | _ACEOF |
---|
4943 | rm -f conftest.$ac_objext |
---|
4944 | if { (ac_try="$ac_compile" |
---|
4945 | case "(($ac_try" in |
---|
4946 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4947 | *) ac_try_echo=$ac_try;; |
---|
4948 | esac |
---|
4949 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4950 | $as_echo "$ac_try_echo") >&5 |
---|
4951 | (eval "$ac_compile") 2>conftest.er1 |
---|
4952 | ac_status=$? |
---|
4953 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4954 | rm -f conftest.er1 |
---|
4955 | cat conftest.err >&5 |
---|
4956 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4957 | (exit $ac_status); } && { |
---|
4958 | test -z "$ac_cxx_werror_flag" || |
---|
4959 | test ! -s conftest.err |
---|
4960 | } && test -s conftest.$ac_objext; then |
---|
4961 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
---|
4962 | ac_cv_c_bigendian=yes |
---|
4963 | fi |
---|
4964 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
---|
4965 | if test "$ac_cv_c_bigendian" = unknown; then |
---|
4966 | ac_cv_c_bigendian=no |
---|
4967 | else |
---|
4968 | # finding both strings is unlikely to happen, but who knows? |
---|
4969 | ac_cv_c_bigendian=unknown |
---|
4970 | fi |
---|
4971 | fi |
---|
4972 | else |
---|
4973 | $as_echo "$as_me: failed program was:" >&5 |
---|
4974 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4975 | |
---|
4976 | |
---|
4977 | fi |
---|
4978 | |
---|
4979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4980 | else |
---|
4981 | cat >conftest.$ac_ext <<_ACEOF |
---|
4982 | /* confdefs.h. */ |
---|
4983 | _ACEOF |
---|
4984 | cat confdefs.h >>conftest.$ac_ext |
---|
4985 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4986 | /* end confdefs.h. */ |
---|
4987 | $ac_includes_default |
---|
4988 | int |
---|
4989 | main () |
---|
4990 | { |
---|
4991 | |
---|
4992 | /* Are we little or big endian? From Harbison&Steele. */ |
---|
4993 | union |
---|
4994 | { |
---|
4995 | long int l; |
---|
4996 | char c[sizeof (long int)]; |
---|
4997 | } u; |
---|
4998 | u.l = 1; |
---|
4999 | return u.c[sizeof (long int) - 1] == 1; |
---|
5000 | |
---|
5001 | ; |
---|
5002 | return 0; |
---|
5003 | } |
---|
5004 | _ACEOF |
---|
5005 | rm -f conftest$ac_exeext |
---|
5006 | if { (ac_try="$ac_link" |
---|
5007 | case "(($ac_try" in |
---|
5008 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5009 | *) ac_try_echo=$ac_try;; |
---|
5010 | esac |
---|
5011 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5012 | $as_echo "$ac_try_echo") >&5 |
---|
5013 | (eval "$ac_link") 2>&5 |
---|
5014 | ac_status=$? |
---|
5015 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5016 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
5017 | { (case "(($ac_try" in |
---|
5018 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5019 | *) ac_try_echo=$ac_try;; |
---|
5020 | esac |
---|
5021 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5022 | $as_echo "$ac_try_echo") >&5 |
---|
5023 | (eval "$ac_try") 2>&5 |
---|
5024 | ac_status=$? |
---|
5025 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5026 | (exit $ac_status); }; }; then |
---|
5027 | ac_cv_c_bigendian=no |
---|
5028 | else |
---|
5029 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
5030 | $as_echo "$as_me: failed program was:" >&5 |
---|
5031 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5032 | |
---|
5033 | ( exit $ac_status ) |
---|
5034 | ac_cv_c_bigendian=yes |
---|
5035 | fi |
---|
5036 | rm -rf conftest.dSYM |
---|
5037 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
5038 | fi |
---|
5039 | |
---|
5040 | |
---|
5041 | fi |
---|
5042 | fi |
---|
5043 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
---|
5044 | $as_echo "$ac_cv_c_bigendian" >&6; } |
---|
5045 | case $ac_cv_c_bigendian in #( |
---|
5046 | yes) |
---|
5047 | cat >>confdefs.h <<\_ACEOF |
---|
5048 | #define WORDS_BIGENDIAN 1 |
---|
5049 | _ACEOF |
---|
5050 | ;; #( |
---|
5051 | no) |
---|
5052 | ;; #( |
---|
5053 | universal) |
---|
5054 | |
---|
5055 | cat >>confdefs.h <<\_ACEOF |
---|
5056 | #define AC_APPLE_UNIVERSAL_BUILD 1 |
---|
5057 | _ACEOF |
---|
5058 | |
---|
5059 | ;; #( |
---|
5060 | *) |
---|
5061 | { { $as_echo "$as_me:$LINENO: error: unknown endianness |
---|
5062 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
---|
5063 | $as_echo "$as_me: error: unknown endianness |
---|
5064 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
---|
5065 | { (exit 1); exit 1; }; } ;; |
---|
5066 | esac |
---|
5067 | |
---|
5068 | |
---|
5069 | LD_RPATH=""; |
---|
5070 | |
---|
5071 | SUBDIRS="nanoscale nanovis pymolproxy" |
---|
5072 | |
---|
5073 | |
---|
5074 | |
---|
5075 | # Check whether --with-tcllib was given. |
---|
5076 | if test "${with_tcllib+set}" = set; then |
---|
5077 | withval=$with_tcllib; with_tcllib=$withval |
---|
5078 | else |
---|
5079 | with_tcllib="" |
---|
5080 | fi |
---|
5081 | |
---|
5082 | |
---|
5083 | # |
---|
5084 | # Need to check for the following dependencies: |
---|
5085 | # Rappture headers and library (done) |
---|
5086 | # Tcl headers and library (done) |
---|
5087 | # GL headers and library |
---|
5088 | # GLuT headers and library |
---|
5089 | # GLui header and library |
---|
5090 | # GLEW header and library |
---|
5091 | # Cg headers and library |
---|
5092 | # CgGL headers and library |
---|
5093 | # pthread library |
---|
5094 | # DX headers and library (done, sort of) |
---|
5095 | # ffmpeg headers and library (started) |
---|
5096 | # |
---|
5097 | |
---|
5098 | TCL_VERSION="8.4" |
---|
5099 | for dir in \ |
---|
5100 | ${exec_prefix} \ |
---|
5101 | ${exec_prefix}/lib \ |
---|
5102 | ${with_rappture} \ |
---|
5103 | ${with_rappture}/lib ; do |
---|
5104 | tclconfig="${dir}/tclConfig.sh" |
---|
5105 | if test -f "$tclconfig" ; then |
---|
5106 | . $tclconfig |
---|
5107 | break |
---|
5108 | fi |
---|
5109 | done |
---|
5110 | TCL_INC_SPEC="$TCL_INCLUDE_SPEC" |
---|
5111 | |
---|
5112 | if test "x$with_tcllib" != "x" ; then |
---|
5113 | tclconfig="${with_tcllib}/tclConfig.sh" |
---|
5114 | if test -f "$tclconfig" ; then |
---|
5115 | . $tclconfig |
---|
5116 | fi |
---|
5117 | TCL_LIB_SPEC="-L${with_tcllib} -ltcl${TCL_VERSION}" |
---|
5118 | fi |
---|
5119 | if test "x$with_tclinclude" != "x" ; then |
---|
5120 | TCL_INC_SPEC="-I${with_tclinclude}" |
---|
5121 | fi |
---|
5122 | |
---|
5123 | |
---|
5124 | |
---|
5125 | |
---|
5126 | |
---|
5127 | |
---|
5128 | # Check whether --with-rappture was given. |
---|
5129 | if test "${with_rappture+set}" = set; then |
---|
5130 | withval=$with_rappture; with_rappture=$withval |
---|
5131 | else |
---|
5132 | with_rappture=/usr |
---|
5133 | fi |
---|
5134 | |
---|
5135 | |
---|
5136 | RP2_INCL_DIR="" |
---|
5137 | RP_DIR="" |
---|
5138 | { $as_echo "$as_me:$LINENO: checking for rappture" >&5 |
---|
5139 | $as_echo_n "checking for rappture... " >&6; } |
---|
5140 | if test "x$with_rappture" != "x" ; then |
---|
5141 | if test "x$with_rappture" != "xprefix" ; then |
---|
5142 | if test -f "$with_rappture" |
---|
5143 | then |
---|
5144 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
5145 | $as_echo "no" >&6; } |
---|
5146 | { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5 |
---|
5147 | $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;} |
---|
5148 | { (exit 1); exit 1; }; } |
---|
5149 | else |
---|
5150 | if test -d "$with_rappture" |
---|
5151 | then |
---|
5152 | if test -r "$with_rappture/include/rappture2/rappture2.h" -a -r "$with_rappture/lib/librappture2.a" |
---|
5153 | then |
---|
5154 | RP2_INCL_DIR="$with_rappture/include/rappture2" |
---|
5155 | RP_DIR="$with_rappture" |
---|
5156 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
5157 | $as_echo "yes" >&6; } |
---|
5158 | else |
---|
5159 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
5160 | $as_echo "no" >&6; } |
---|
5161 | { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5 |
---|
5162 | $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;} |
---|
5163 | { (exit 1); exit 1; }; } |
---|
5164 | fi |
---|
5165 | else |
---|
5166 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
5167 | $as_echo "no" >&6; } |
---|
5168 | { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5 |
---|
5169 | $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;} |
---|
5170 | { (exit 1); exit 1; }; } |
---|
5171 | fi |
---|
5172 | fi |
---|
5173 | else |
---|
5174 | RP2_INCL_DIR="$prefix/include/rappture2" |
---|
5175 | RP_DIR="$prefix" |
---|
5176 | { $as_echo "$as_me:$LINENO: result: set to prefix" >&5 |
---|
5177 | $as_echo "set to prefix" >&6; } |
---|
5178 | fi |
---|
5179 | else |
---|
5180 | |
---|
5181 | for ac_header in rappture.h |
---|
5182 | do |
---|
5183 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
5184 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
5185 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
5186 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
5187 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
5188 | $as_echo_n "(cached) " >&6 |
---|
5189 | fi |
---|
5190 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
5191 | $as_echo "$as_val"'` |
---|
5192 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
5193 | $as_echo "$ac_res" >&6; } |
---|
5194 | else |
---|
5195 | # Is the header compilable? |
---|
5196 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
5197 | $as_echo_n "checking $ac_header usability... " >&6; } |
---|
5198 | cat >conftest.$ac_ext <<_ACEOF |
---|
5199 | /* confdefs.h. */ |
---|
5200 | _ACEOF |
---|
5201 | cat confdefs.h >>conftest.$ac_ext |
---|
5202 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5203 | /* end confdefs.h. */ |
---|
5204 | $ac_includes_default |
---|
5205 | #include <$ac_header> |
---|
5206 | _ACEOF |
---|
5207 | rm -f conftest.$ac_objext |
---|
5208 | if { (ac_try="$ac_compile" |
---|
5209 | case "(($ac_try" in |
---|
5210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5211 | *) ac_try_echo=$ac_try;; |
---|
5212 | esac |
---|
5213 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5214 | $as_echo "$ac_try_echo") >&5 |
---|
5215 | (eval "$ac_compile") 2>conftest.er1 |
---|
5216 | ac_status=$? |
---|
5217 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5218 | rm -f conftest.er1 |
---|
5219 | cat conftest.err >&5 |
---|
5220 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5221 | (exit $ac_status); } && { |
---|
5222 | test -z "$ac_cxx_werror_flag" || |
---|
5223 | test ! -s conftest.err |
---|
5224 | } && test -s conftest.$ac_objext; then |
---|
5225 | ac_header_compiler=yes |
---|
5226 | else |
---|
5227 | $as_echo "$as_me: failed program was:" >&5 |
---|
5228 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5229 | |
---|
5230 | ac_header_compiler=no |
---|
5231 | fi |
---|
5232 | |
---|
5233 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5234 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
5235 | $as_echo "$ac_header_compiler" >&6; } |
---|
5236 | |
---|
5237 | # Is the header present? |
---|
5238 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
5239 | $as_echo_n "checking $ac_header presence... " >&6; } |
---|
5240 | cat >conftest.$ac_ext <<_ACEOF |
---|
5241 | /* confdefs.h. */ |
---|
5242 | _ACEOF |
---|
5243 | cat confdefs.h >>conftest.$ac_ext |
---|
5244 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5245 | /* end confdefs.h. */ |
---|
5246 | #include <$ac_header> |
---|
5247 | _ACEOF |
---|
5248 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
5249 | case "(($ac_try" in |
---|
5250 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5251 | *) ac_try_echo=$ac_try;; |
---|
5252 | esac |
---|
5253 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5254 | $as_echo "$ac_try_echo") >&5 |
---|
5255 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
5256 | ac_status=$? |
---|
5257 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5258 | rm -f conftest.er1 |
---|
5259 | cat conftest.err >&5 |
---|
5260 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5261 | (exit $ac_status); } >/dev/null && { |
---|
5262 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
5263 | test ! -s conftest.err |
---|
5264 | }; then |
---|
5265 | ac_header_preproc=yes |
---|
5266 | else |
---|
5267 | $as_echo "$as_me: failed program was:" >&5 |
---|
5268 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5269 | |
---|
5270 | ac_header_preproc=no |
---|
5271 | fi |
---|
5272 | |
---|
5273 | rm -f conftest.err conftest.$ac_ext |
---|
5274 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
5275 | $as_echo "$ac_header_preproc" >&6; } |
---|
5276 | |
---|
5277 | # So? What about this header? |
---|
5278 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
5279 | yes:no: ) |
---|
5280 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
5281 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
5282 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
5283 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
5284 | ac_header_preproc=yes |
---|
5285 | ;; |
---|
5286 | no:yes:* ) |
---|
5287 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
5288 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
5289 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
5290 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
5291 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
5292 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
5293 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
5294 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
5295 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
5296 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
5297 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
5298 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
5299 | ( cat <<\_ASBOX |
---|
5300 | ## ----------------------------------- ## |
---|
5301 | ## Report this to rappture@nanohub.org ## |
---|
5302 | ## ----------------------------------- ## |
---|
5303 | _ASBOX |
---|
5304 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
5305 | ;; |
---|
5306 | esac |
---|
5307 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
5308 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
5309 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
5310 | $as_echo_n "(cached) " >&6 |
---|
5311 | else |
---|
5312 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
5313 | fi |
---|
5314 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
5315 | $as_echo "$as_val"'` |
---|
5316 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
5317 | $as_echo "$ac_res" >&6; } |
---|
5318 | |
---|
5319 | fi |
---|
5320 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
5321 | $as_echo "$as_val"'` |
---|
5322 | if test "x$as_val" = x""yes; then |
---|
5323 | cat >>confdefs.h <<_ACEOF |
---|
5324 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
5325 | _ACEOF |
---|
5326 | |
---|
5327 | else |
---|
5328 | { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5 |
---|
5329 | $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;} |
---|
5330 | { (exit 1); exit 1; }; } |
---|
5331 | fi |
---|
5332 | |
---|
5333 | done |
---|
5334 | |
---|
5335 | |
---|
5336 | |
---|
5337 | fi |
---|
5338 | { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5 |
---|
5339 | $as_echo "${RP_DIR}/include" >&6; } |
---|
5340 | |
---|
5341 | |
---|
5342 | |
---|
5343 | if test "${ac_cv_header_GL_glui_h+set}" = set; then |
---|
5344 | { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 |
---|
5345 | $as_echo_n "checking for GL/glui.h... " >&6; } |
---|
5346 | if test "${ac_cv_header_GL_glui_h+set}" = set; then |
---|
5347 | $as_echo_n "(cached) " >&6 |
---|
5348 | fi |
---|
5349 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 |
---|
5350 | $as_echo "$ac_cv_header_GL_glui_h" >&6; } |
---|
5351 | else |
---|
5352 | # Is the header compilable? |
---|
5353 | { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 |
---|
5354 | $as_echo_n "checking GL/glui.h usability... " >&6; } |
---|
5355 | cat >conftest.$ac_ext <<_ACEOF |
---|
5356 | /* confdefs.h. */ |
---|
5357 | _ACEOF |
---|
5358 | cat confdefs.h >>conftest.$ac_ext |
---|
5359 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5360 | /* end confdefs.h. */ |
---|
5361 | $ac_includes_default |
---|
5362 | #include <GL/glui.h> |
---|
5363 | _ACEOF |
---|
5364 | rm -f conftest.$ac_objext |
---|
5365 | if { (ac_try="$ac_compile" |
---|
5366 | case "(($ac_try" in |
---|
5367 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5368 | *) ac_try_echo=$ac_try;; |
---|
5369 | esac |
---|
5370 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5371 | $as_echo "$ac_try_echo") >&5 |
---|
5372 | (eval "$ac_compile") 2>conftest.er1 |
---|
5373 | ac_status=$? |
---|
5374 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5375 | rm -f conftest.er1 |
---|
5376 | cat conftest.err >&5 |
---|
5377 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5378 | (exit $ac_status); } && { |
---|
5379 | test -z "$ac_cxx_werror_flag" || |
---|
5380 | test ! -s conftest.err |
---|
5381 | } && test -s conftest.$ac_objext; then |
---|
5382 | ac_header_compiler=yes |
---|
5383 | else |
---|
5384 | $as_echo "$as_me: failed program was:" >&5 |
---|
5385 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5386 | |
---|
5387 | ac_header_compiler=no |
---|
5388 | fi |
---|
5389 | |
---|
5390 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5391 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
5392 | $as_echo "$ac_header_compiler" >&6; } |
---|
5393 | |
---|
5394 | # Is the header present? |
---|
5395 | { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 |
---|
5396 | $as_echo_n "checking GL/glui.h presence... " >&6; } |
---|
5397 | cat >conftest.$ac_ext <<_ACEOF |
---|
5398 | /* confdefs.h. */ |
---|
5399 | _ACEOF |
---|
5400 | cat confdefs.h >>conftest.$ac_ext |
---|
5401 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5402 | /* end confdefs.h. */ |
---|
5403 | #include <GL/glui.h> |
---|
5404 | _ACEOF |
---|
5405 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
5406 | case "(($ac_try" in |
---|
5407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5408 | *) ac_try_echo=$ac_try;; |
---|
5409 | esac |
---|
5410 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5411 | $as_echo "$ac_try_echo") >&5 |
---|
5412 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
5413 | ac_status=$? |
---|
5414 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5415 | rm -f conftest.er1 |
---|
5416 | cat conftest.err >&5 |
---|
5417 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5418 | (exit $ac_status); } >/dev/null && { |
---|
5419 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
5420 | test ! -s conftest.err |
---|
5421 | }; then |
---|
5422 | ac_header_preproc=yes |
---|
5423 | else |
---|
5424 | $as_echo "$as_me: failed program was:" >&5 |
---|
5425 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5426 | |
---|
5427 | ac_header_preproc=no |
---|
5428 | fi |
---|
5429 | |
---|
5430 | rm -f conftest.err conftest.$ac_ext |
---|
5431 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
5432 | $as_echo "$ac_header_preproc" >&6; } |
---|
5433 | |
---|
5434 | # So? What about this header? |
---|
5435 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
5436 | yes:no: ) |
---|
5437 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
5438 | $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
5439 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 |
---|
5440 | $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} |
---|
5441 | ac_header_preproc=yes |
---|
5442 | ;; |
---|
5443 | no:yes:* ) |
---|
5444 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 |
---|
5445 | $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} |
---|
5446 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 |
---|
5447 | $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} |
---|
5448 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 |
---|
5449 | $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} |
---|
5450 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
5451 | $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
5452 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 |
---|
5453 | $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} |
---|
5454 | { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 |
---|
5455 | $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} |
---|
5456 | ( cat <<\_ASBOX |
---|
5457 | ## ----------------------------------- ## |
---|
5458 | ## Report this to rappture@nanohub.org ## |
---|
5459 | ## ----------------------------------- ## |
---|
5460 | _ASBOX |
---|
5461 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
5462 | ;; |
---|
5463 | esac |
---|
5464 | { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 |
---|
5465 | $as_echo_n "checking for GL/glui.h... " >&6; } |
---|
5466 | if test "${ac_cv_header_GL_glui_h+set}" = set; then |
---|
5467 | $as_echo_n "(cached) " >&6 |
---|
5468 | else |
---|
5469 | ac_cv_header_GL_glui_h=$ac_header_preproc |
---|
5470 | fi |
---|
5471 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 |
---|
5472 | $as_echo "$ac_cv_header_GL_glui_h" >&6; } |
---|
5473 | |
---|
5474 | fi |
---|
5475 | |
---|
5476 | |
---|
5477 | if test "${ac_cv_header_glui_h+set}" = set; then |
---|
5478 | { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 |
---|
5479 | $as_echo_n "checking for glui.h... " >&6; } |
---|
5480 | if test "${ac_cv_header_glui_h+set}" = set; then |
---|
5481 | $as_echo_n "(cached) " >&6 |
---|
5482 | fi |
---|
5483 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 |
---|
5484 | $as_echo "$ac_cv_header_glui_h" >&6; } |
---|
5485 | else |
---|
5486 | # Is the header compilable? |
---|
5487 | { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 |
---|
5488 | $as_echo_n "checking glui.h usability... " >&6; } |
---|
5489 | cat >conftest.$ac_ext <<_ACEOF |
---|
5490 | /* confdefs.h. */ |
---|
5491 | _ACEOF |
---|
5492 | cat confdefs.h >>conftest.$ac_ext |
---|
5493 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5494 | /* end confdefs.h. */ |
---|
5495 | $ac_includes_default |
---|
5496 | #include <glui.h> |
---|
5497 | _ACEOF |
---|
5498 | rm -f conftest.$ac_objext |
---|
5499 | if { (ac_try="$ac_compile" |
---|
5500 | case "(($ac_try" in |
---|
5501 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5502 | *) ac_try_echo=$ac_try;; |
---|
5503 | esac |
---|
5504 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5505 | $as_echo "$ac_try_echo") >&5 |
---|
5506 | (eval "$ac_compile") 2>conftest.er1 |
---|
5507 | ac_status=$? |
---|
5508 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5509 | rm -f conftest.er1 |
---|
5510 | cat conftest.err >&5 |
---|
5511 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5512 | (exit $ac_status); } && { |
---|
5513 | test -z "$ac_cxx_werror_flag" || |
---|
5514 | test ! -s conftest.err |
---|
5515 | } && test -s conftest.$ac_objext; then |
---|
5516 | ac_header_compiler=yes |
---|
5517 | else |
---|
5518 | $as_echo "$as_me: failed program was:" >&5 |
---|
5519 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5520 | |
---|
5521 | ac_header_compiler=no |
---|
5522 | fi |
---|
5523 | |
---|
5524 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5525 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
5526 | $as_echo "$ac_header_compiler" >&6; } |
---|
5527 | |
---|
5528 | # Is the header present? |
---|
5529 | { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 |
---|
5530 | $as_echo_n "checking glui.h presence... " >&6; } |
---|
5531 | cat >conftest.$ac_ext <<_ACEOF |
---|
5532 | /* confdefs.h. */ |
---|
5533 | _ACEOF |
---|
5534 | cat confdefs.h >>conftest.$ac_ext |
---|
5535 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5536 | /* end confdefs.h. */ |
---|
5537 | #include <glui.h> |
---|
5538 | _ACEOF |
---|
5539 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
5540 | case "(($ac_try" in |
---|
5541 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5542 | *) ac_try_echo=$ac_try;; |
---|
5543 | esac |
---|
5544 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5545 | $as_echo "$ac_try_echo") >&5 |
---|
5546 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
5547 | ac_status=$? |
---|
5548 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5549 | rm -f conftest.er1 |
---|
5550 | cat conftest.err >&5 |
---|
5551 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5552 | (exit $ac_status); } >/dev/null && { |
---|
5553 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
5554 | test ! -s conftest.err |
---|
5555 | }; then |
---|
5556 | ac_header_preproc=yes |
---|
5557 | else |
---|
5558 | $as_echo "$as_me: failed program was:" >&5 |
---|
5559 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5560 | |
---|
5561 | ac_header_preproc=no |
---|
5562 | fi |
---|
5563 | |
---|
5564 | rm -f conftest.err conftest.$ac_ext |
---|
5565 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
5566 | $as_echo "$ac_header_preproc" >&6; } |
---|
5567 | |
---|
5568 | # So? What about this header? |
---|
5569 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
5570 | yes:no: ) |
---|
5571 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
5572 | $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
5573 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 |
---|
5574 | $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} |
---|
5575 | ac_header_preproc=yes |
---|
5576 | ;; |
---|
5577 | no:yes:* ) |
---|
5578 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 |
---|
5579 | $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} |
---|
5580 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 |
---|
5581 | $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} |
---|
5582 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 |
---|
5583 | $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} |
---|
5584 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
5585 | $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
5586 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 |
---|
5587 | $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} |
---|
5588 | { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 |
---|
5589 | $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} |
---|
5590 | ( cat <<\_ASBOX |
---|
5591 | ## ----------------------------------- ## |
---|
5592 | ## Report this to rappture@nanohub.org ## |
---|
5593 | ## ----------------------------------- ## |
---|
5594 | _ASBOX |
---|
5595 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
5596 | ;; |
---|
5597 | esac |
---|
5598 | { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 |
---|
5599 | $as_echo_n "checking for glui.h... " >&6; } |
---|
5600 | if test "${ac_cv_header_glui_h+set}" = set; then |
---|
5601 | $as_echo_n "(cached) " >&6 |
---|
5602 | else |
---|
5603 | ac_cv_header_glui_h=$ac_header_preproc |
---|
5604 | fi |
---|
5605 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 |
---|
5606 | $as_echo "$ac_cv_header_glui_h" >&6; } |
---|
5607 | |
---|
5608 | fi |
---|
5609 | |
---|
5610 | |
---|
5611 | if test "${ac_cv_header_GL_glut_h+set}" = set; then |
---|
5612 | { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
---|
5613 | $as_echo_n "checking for GL/glut.h... " >&6; } |
---|
5614 | if test "${ac_cv_header_GL_glut_h+set}" = set; then |
---|
5615 | $as_echo_n "(cached) " >&6 |
---|
5616 | fi |
---|
5617 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
---|
5618 | $as_echo "$ac_cv_header_GL_glut_h" >&6; } |
---|
5619 | else |
---|
5620 | # Is the header compilable? |
---|
5621 | { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 |
---|
5622 | $as_echo_n "checking GL/glut.h usability... " >&6; } |
---|
5623 | cat >conftest.$ac_ext <<_ACEOF |
---|
5624 | /* confdefs.h. */ |
---|
5625 | _ACEOF |
---|
5626 | cat confdefs.h >>conftest.$ac_ext |
---|
5627 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5628 | /* end confdefs.h. */ |
---|
5629 | $ac_includes_default |
---|
5630 | #include <GL/glut.h> |
---|
5631 | _ACEOF |
---|
5632 | rm -f conftest.$ac_objext |
---|
5633 | if { (ac_try="$ac_compile" |
---|
5634 | case "(($ac_try" in |
---|
5635 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5636 | *) ac_try_echo=$ac_try;; |
---|
5637 | esac |
---|
5638 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5639 | $as_echo "$ac_try_echo") >&5 |
---|
5640 | (eval "$ac_compile") 2>conftest.er1 |
---|
5641 | ac_status=$? |
---|
5642 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5643 | rm -f conftest.er1 |
---|
5644 | cat conftest.err >&5 |
---|
5645 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5646 | (exit $ac_status); } && { |
---|
5647 | test -z "$ac_cxx_werror_flag" || |
---|
5648 | test ! -s conftest.err |
---|
5649 | } && test -s conftest.$ac_objext; then |
---|
5650 | ac_header_compiler=yes |
---|
5651 | else |
---|
5652 | $as_echo "$as_me: failed program was:" >&5 |
---|
5653 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5654 | |
---|
5655 | ac_header_compiler=no |
---|
5656 | fi |
---|
5657 | |
---|
5658 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5659 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
5660 | $as_echo "$ac_header_compiler" >&6; } |
---|
5661 | |
---|
5662 | # Is the header present? |
---|
5663 | { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 |
---|
5664 | $as_echo_n "checking GL/glut.h presence... " >&6; } |
---|
5665 | cat >conftest.$ac_ext <<_ACEOF |
---|
5666 | /* confdefs.h. */ |
---|
5667 | _ACEOF |
---|
5668 | cat confdefs.h >>conftest.$ac_ext |
---|
5669 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5670 | /* end confdefs.h. */ |
---|
5671 | #include <GL/glut.h> |
---|
5672 | _ACEOF |
---|
5673 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
5674 | case "(($ac_try" in |
---|
5675 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5676 | *) ac_try_echo=$ac_try;; |
---|
5677 | esac |
---|
5678 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5679 | $as_echo "$ac_try_echo") >&5 |
---|
5680 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
5681 | ac_status=$? |
---|
5682 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5683 | rm -f conftest.er1 |
---|
5684 | cat conftest.err >&5 |
---|
5685 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5686 | (exit $ac_status); } >/dev/null && { |
---|
5687 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
5688 | test ! -s conftest.err |
---|
5689 | }; then |
---|
5690 | ac_header_preproc=yes |
---|
5691 | else |
---|
5692 | $as_echo "$as_me: failed program was:" >&5 |
---|
5693 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5694 | |
---|
5695 | ac_header_preproc=no |
---|
5696 | fi |
---|
5697 | |
---|
5698 | rm -f conftest.err conftest.$ac_ext |
---|
5699 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
5700 | $as_echo "$ac_header_preproc" >&6; } |
---|
5701 | |
---|
5702 | # So? What about this header? |
---|
5703 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
5704 | yes:no: ) |
---|
5705 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
5706 | $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
5707 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 |
---|
5708 | $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} |
---|
5709 | ac_header_preproc=yes |
---|
5710 | ;; |
---|
5711 | no:yes:* ) |
---|
5712 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 |
---|
5713 | $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} |
---|
5714 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 |
---|
5715 | $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} |
---|
5716 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 |
---|
5717 | $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} |
---|
5718 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
5719 | $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
5720 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 |
---|
5721 | $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} |
---|
5722 | { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 |
---|
5723 | $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} |
---|
5724 | ( cat <<\_ASBOX |
---|
5725 | ## ----------------------------------- ## |
---|
5726 | ## Report this to rappture@nanohub.org ## |
---|
5727 | ## ----------------------------------- ## |
---|
5728 | _ASBOX |
---|
5729 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
5730 | ;; |
---|
5731 | esac |
---|
5732 | { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
---|
5733 | $as_echo_n "checking for GL/glut.h... " >&6; } |
---|
5734 | if test "${ac_cv_header_GL_glut_h+set}" = set; then |
---|
5735 | $as_echo_n "(cached) " >&6 |
---|
5736 | else |
---|
5737 | ac_cv_header_GL_glut_h=$ac_header_preproc |
---|
5738 | fi |
---|
5739 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
---|
5740 | $as_echo "$ac_cv_header_GL_glut_h" >&6; } |
---|
5741 | |
---|
5742 | fi |
---|
5743 | |
---|
5744 | |
---|
5745 | if test "${ac_cv_header_GL_glew_h+set}" = set; then |
---|
5746 | { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 |
---|
5747 | $as_echo_n "checking for GL/glew.h... " >&6; } |
---|
5748 | if test "${ac_cv_header_GL_glew_h+set}" = set; then |
---|
5749 | $as_echo_n "(cached) " >&6 |
---|
5750 | fi |
---|
5751 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 |
---|
5752 | $as_echo "$ac_cv_header_GL_glew_h" >&6; } |
---|
5753 | else |
---|
5754 | # Is the header compilable? |
---|
5755 | { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 |
---|
5756 | $as_echo_n "checking GL/glew.h usability... " >&6; } |
---|
5757 | cat >conftest.$ac_ext <<_ACEOF |
---|
5758 | /* confdefs.h. */ |
---|
5759 | _ACEOF |
---|
5760 | cat confdefs.h >>conftest.$ac_ext |
---|
5761 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5762 | /* end confdefs.h. */ |
---|
5763 | $ac_includes_default |
---|
5764 | #include <GL/glew.h> |
---|
5765 | _ACEOF |
---|
5766 | rm -f conftest.$ac_objext |
---|
5767 | if { (ac_try="$ac_compile" |
---|
5768 | case "(($ac_try" in |
---|
5769 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5770 | *) ac_try_echo=$ac_try;; |
---|
5771 | esac |
---|
5772 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5773 | $as_echo "$ac_try_echo") >&5 |
---|
5774 | (eval "$ac_compile") 2>conftest.er1 |
---|
5775 | ac_status=$? |
---|
5776 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5777 | rm -f conftest.er1 |
---|
5778 | cat conftest.err >&5 |
---|
5779 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5780 | (exit $ac_status); } && { |
---|
5781 | test -z "$ac_cxx_werror_flag" || |
---|
5782 | test ! -s conftest.err |
---|
5783 | } && test -s conftest.$ac_objext; then |
---|
5784 | ac_header_compiler=yes |
---|
5785 | else |
---|
5786 | $as_echo "$as_me: failed program was:" >&5 |
---|
5787 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5788 | |
---|
5789 | ac_header_compiler=no |
---|
5790 | fi |
---|
5791 | |
---|
5792 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5793 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
5794 | $as_echo "$ac_header_compiler" >&6; } |
---|
5795 | |
---|
5796 | # Is the header present? |
---|
5797 | { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 |
---|
5798 | $as_echo_n "checking GL/glew.h presence... " >&6; } |
---|
5799 | cat >conftest.$ac_ext <<_ACEOF |
---|
5800 | /* confdefs.h. */ |
---|
5801 | _ACEOF |
---|
5802 | cat confdefs.h >>conftest.$ac_ext |
---|
5803 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5804 | /* end confdefs.h. */ |
---|
5805 | #include <GL/glew.h> |
---|
5806 | _ACEOF |
---|
5807 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
5808 | case "(($ac_try" in |
---|
5809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5810 | *) ac_try_echo=$ac_try;; |
---|
5811 | esac |
---|
5812 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5813 | $as_echo "$ac_try_echo") >&5 |
---|
5814 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
5815 | ac_status=$? |
---|
5816 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5817 | rm -f conftest.er1 |
---|
5818 | cat conftest.err >&5 |
---|
5819 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5820 | (exit $ac_status); } >/dev/null && { |
---|
5821 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
5822 | test ! -s conftest.err |
---|
5823 | }; then |
---|
5824 | ac_header_preproc=yes |
---|
5825 | else |
---|
5826 | $as_echo "$as_me: failed program was:" >&5 |
---|
5827 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5828 | |
---|
5829 | ac_header_preproc=no |
---|
5830 | fi |
---|
5831 | |
---|
5832 | rm -f conftest.err conftest.$ac_ext |
---|
5833 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
5834 | $as_echo "$ac_header_preproc" >&6; } |
---|
5835 | |
---|
5836 | # So? What about this header? |
---|
5837 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
5838 | yes:no: ) |
---|
5839 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
5840 | $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
5841 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 |
---|
5842 | $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} |
---|
5843 | ac_header_preproc=yes |
---|
5844 | ;; |
---|
5845 | no:yes:* ) |
---|
5846 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 |
---|
5847 | $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} |
---|
5848 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 |
---|
5849 | $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} |
---|
5850 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 |
---|
5851 | $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} |
---|
5852 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
5853 | $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
5854 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 |
---|
5855 | $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} |
---|
5856 | { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 |
---|
5857 | $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} |
---|
5858 | ( cat <<\_ASBOX |
---|
5859 | ## ----------------------------------- ## |
---|
5860 | ## Report this to rappture@nanohub.org ## |
---|
5861 | ## ----------------------------------- ## |
---|
5862 | _ASBOX |
---|
5863 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
5864 | ;; |
---|
5865 | esac |
---|
5866 | { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 |
---|
5867 | $as_echo_n "checking for GL/glew.h... " >&6; } |
---|
5868 | if test "${ac_cv_header_GL_glew_h+set}" = set; then |
---|
5869 | $as_echo_n "(cached) " >&6 |
---|
5870 | else |
---|
5871 | ac_cv_header_GL_glew_h=$ac_header_preproc |
---|
5872 | fi |
---|
5873 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 |
---|
5874 | $as_echo "$ac_cv_header_GL_glew_h" >&6; } |
---|
5875 | |
---|
5876 | fi |
---|
5877 | |
---|
5878 | |
---|
5879 | if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then |
---|
5880 | { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 |
---|
5881 | $as_echo_n "checking for Cg/cgGL.h... " >&6; } |
---|
5882 | if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then |
---|
5883 | $as_echo_n "(cached) " >&6 |
---|
5884 | fi |
---|
5885 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 |
---|
5886 | $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } |
---|
5887 | else |
---|
5888 | # Is the header compilable? |
---|
5889 | { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5 |
---|
5890 | $as_echo_n "checking Cg/cgGL.h usability... " >&6; } |
---|
5891 | cat >conftest.$ac_ext <<_ACEOF |
---|
5892 | /* confdefs.h. */ |
---|
5893 | _ACEOF |
---|
5894 | cat confdefs.h >>conftest.$ac_ext |
---|
5895 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5896 | /* end confdefs.h. */ |
---|
5897 | $ac_includes_default |
---|
5898 | #include <Cg/cgGL.h> |
---|
5899 | _ACEOF |
---|
5900 | rm -f conftest.$ac_objext |
---|
5901 | if { (ac_try="$ac_compile" |
---|
5902 | case "(($ac_try" in |
---|
5903 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5904 | *) ac_try_echo=$ac_try;; |
---|
5905 | esac |
---|
5906 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5907 | $as_echo "$ac_try_echo") >&5 |
---|
5908 | (eval "$ac_compile") 2>conftest.er1 |
---|
5909 | ac_status=$? |
---|
5910 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5911 | rm -f conftest.er1 |
---|
5912 | cat conftest.err >&5 |
---|
5913 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5914 | (exit $ac_status); } && { |
---|
5915 | test -z "$ac_cxx_werror_flag" || |
---|
5916 | test ! -s conftest.err |
---|
5917 | } && test -s conftest.$ac_objext; then |
---|
5918 | ac_header_compiler=yes |
---|
5919 | else |
---|
5920 | $as_echo "$as_me: failed program was:" >&5 |
---|
5921 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5922 | |
---|
5923 | ac_header_compiler=no |
---|
5924 | fi |
---|
5925 | |
---|
5926 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
5927 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
5928 | $as_echo "$ac_header_compiler" >&6; } |
---|
5929 | |
---|
5930 | # Is the header present? |
---|
5931 | { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5 |
---|
5932 | $as_echo_n "checking Cg/cgGL.h presence... " >&6; } |
---|
5933 | cat >conftest.$ac_ext <<_ACEOF |
---|
5934 | /* confdefs.h. */ |
---|
5935 | _ACEOF |
---|
5936 | cat confdefs.h >>conftest.$ac_ext |
---|
5937 | cat >>conftest.$ac_ext <<_ACEOF |
---|
5938 | /* end confdefs.h. */ |
---|
5939 | #include <Cg/cgGL.h> |
---|
5940 | _ACEOF |
---|
5941 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
5942 | case "(($ac_try" in |
---|
5943 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
5944 | *) ac_try_echo=$ac_try;; |
---|
5945 | esac |
---|
5946 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
5947 | $as_echo "$ac_try_echo") >&5 |
---|
5948 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
5949 | ac_status=$? |
---|
5950 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
5951 | rm -f conftest.er1 |
---|
5952 | cat conftest.err >&5 |
---|
5953 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
5954 | (exit $ac_status); } >/dev/null && { |
---|
5955 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
5956 | test ! -s conftest.err |
---|
5957 | }; then |
---|
5958 | ac_header_preproc=yes |
---|
5959 | else |
---|
5960 | $as_echo "$as_me: failed program was:" >&5 |
---|
5961 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
5962 | |
---|
5963 | ac_header_preproc=no |
---|
5964 | fi |
---|
5965 | |
---|
5966 | rm -f conftest.err conftest.$ac_ext |
---|
5967 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
5968 | $as_echo "$ac_header_preproc" >&6; } |
---|
5969 | |
---|
5970 | # So? What about this header? |
---|
5971 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
5972 | yes:no: ) |
---|
5973 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
5974 | $as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
5975 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5 |
---|
5976 | $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;} |
---|
5977 | ac_header_preproc=yes |
---|
5978 | ;; |
---|
5979 | no:yes:* ) |
---|
5980 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5 |
---|
5981 | $as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;} |
---|
5982 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&5 |
---|
5983 | $as_echo "$as_me: WARNING: Cg/cgGL.h: check for missing prerequisite headers?" >&2;} |
---|
5984 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5 |
---|
5985 | $as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;} |
---|
5986 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
5987 | $as_echo "$as_me: WARNING: Cg/cgGL.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
5988 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5 |
---|
5989 | $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;} |
---|
5990 | { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5 |
---|
5991 | $as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;} |
---|
5992 | ( cat <<\_ASBOX |
---|
5993 | ## ----------------------------------- ## |
---|
5994 | ## Report this to rappture@nanohub.org ## |
---|
5995 | ## ----------------------------------- ## |
---|
5996 | _ASBOX |
---|
5997 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
5998 | ;; |
---|
5999 | esac |
---|
6000 | { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5 |
---|
6001 | $as_echo_n "checking for Cg/cgGL.h... " >&6; } |
---|
6002 | if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then |
---|
6003 | $as_echo_n "(cached) " >&6 |
---|
6004 | else |
---|
6005 | ac_cv_header_Cg_cgGL_h=$ac_header_preproc |
---|
6006 | fi |
---|
6007 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5 |
---|
6008 | $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; } |
---|
6009 | |
---|
6010 | fi |
---|
6011 | |
---|
6012 | |
---|
6013 | |
---|
6014 | |
---|
6015 | |
---|
6016 | |
---|
6017 | |
---|
6018 | |
---|
6019 | for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h |
---|
6020 | do |
---|
6021 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
6022 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6023 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
6024 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
6025 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6026 | $as_echo_n "(cached) " >&6 |
---|
6027 | fi |
---|
6028 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
6029 | $as_echo "$as_val"'` |
---|
6030 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
6031 | $as_echo "$ac_res" >&6; } |
---|
6032 | else |
---|
6033 | # Is the header compilable? |
---|
6034 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
6035 | $as_echo_n "checking $ac_header usability... " >&6; } |
---|
6036 | cat >conftest.$ac_ext <<_ACEOF |
---|
6037 | /* confdefs.h. */ |
---|
6038 | _ACEOF |
---|
6039 | cat confdefs.h >>conftest.$ac_ext |
---|
6040 | cat >>conftest.$ac_ext <<_ACEOF |
---|
6041 | /* end confdefs.h. */ |
---|
6042 | $ac_includes_default |
---|
6043 | #include <$ac_header> |
---|
6044 | _ACEOF |
---|
6045 | rm -f conftest.$ac_objext |
---|
6046 | if { (ac_try="$ac_compile" |
---|
6047 | case "(($ac_try" in |
---|
6048 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
6049 | *) ac_try_echo=$ac_try;; |
---|
6050 | esac |
---|
6051 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
6052 | $as_echo "$ac_try_echo") >&5 |
---|
6053 | (eval "$ac_compile") 2>conftest.er1 |
---|
6054 | ac_status=$? |
---|
6055 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
6056 | rm -f conftest.er1 |
---|
6057 | cat conftest.err >&5 |
---|
6058 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
6059 | (exit $ac_status); } && { |
---|
6060 | test -z "$ac_cxx_werror_flag" || |
---|
6061 | test ! -s conftest.err |
---|
6062 | } && test -s conftest.$ac_objext; then |
---|
6063 | ac_header_compiler=yes |
---|
6064 | else |
---|
6065 | $as_echo "$as_me: failed program was:" >&5 |
---|
6066 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
6067 | |
---|
6068 | ac_header_compiler=no |
---|
6069 | fi |
---|
6070 | |
---|
6071 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
6072 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
6073 | $as_echo "$ac_header_compiler" >&6; } |
---|
6074 | |
---|
6075 | # Is the header present? |
---|
6076 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
6077 | $as_echo_n "checking $ac_header presence... " >&6; } |
---|
6078 | cat >conftest.$ac_ext <<_ACEOF |
---|
6079 | /* confdefs.h. */ |
---|
6080 | _ACEOF |
---|
6081 | cat confdefs.h >>conftest.$ac_ext |
---|
6082 | cat >>conftest.$ac_ext <<_ACEOF |
---|
6083 | /* end confdefs.h. */ |
---|
6084 | #include <$ac_header> |
---|
6085 | _ACEOF |
---|
6086 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
6087 | case "(($ac_try" in |
---|
6088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
6089 | *) ac_try_echo=$ac_try;; |
---|
6090 | esac |
---|
6091 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
6092 | $as_echo "$ac_try_echo") >&5 |
---|
6093 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
6094 | ac_status=$? |
---|
6095 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
6096 | rm -f conftest.er1 |
---|
6097 | cat conftest.err >&5 |
---|
6098 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
6099 | (exit $ac_status); } >/dev/null && { |
---|
6100 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
6101 | test ! -s conftest.err |
---|
6102 | }; then |
---|
6103 | ac_header_preproc=yes |
---|
6104 | else |
---|
6105 | $as_echo "$as_me: failed program was:" >&5 |
---|
6106 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
6107 | |
---|
6108 | ac_header_preproc=no |
---|
6109 | fi |
---|
6110 | |
---|
6111 | rm -f conftest.err conftest.$ac_ext |
---|
6112 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
6113 | $as_echo "$ac_header_preproc" >&6; } |
---|
6114 | |
---|
6115 | # So? What about this header? |
---|
6116 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
6117 | yes:no: ) |
---|
6118 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
6119 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
6120 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
6121 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
6122 | ac_header_preproc=yes |
---|
6123 | ;; |
---|
6124 | no:yes:* ) |
---|
6125 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
6126 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
6127 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
6128 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
6129 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
6130 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
6131 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
6132 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
6133 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
6134 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
6135 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
6136 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
6137 | ( cat <<\_ASBOX |
---|
6138 | ## ----------------------------------- ## |
---|
6139 | ## Report this to rappture@nanohub.org ## |
---|
6140 | ## ----------------------------------- ## |
---|
6141 | _ASBOX |
---|
6142 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
6143 | ;; |
---|
6144 | esac |
---|
6145 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
6146 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
6147 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6148 | $as_echo_n "(cached) " >&6 |
---|
6149 | else |
---|
6150 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
6151 | fi |
---|
6152 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
6153 | $as_echo "$as_val"'` |
---|
6154 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
6155 | $as_echo "$ac_res" >&6; } |
---|
6156 | |
---|
6157 | fi |
---|
6158 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
6159 | $as_echo "$as_val"'` |
---|
6160 | if test "x$as_val" = x""yes; then |
---|
6161 | cat >>confdefs.h <<_ACEOF |
---|
6162 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
6163 | _ACEOF |
---|
6164 | |
---|
6165 | fi |
---|
6166 | |
---|
6167 | done |
---|
6168 | |
---|
6169 | |
---|
6170 | |
---|
6171 | |
---|
6172 | |
---|
6173 | |
---|
6174 | for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h |
---|
6175 | do |
---|
6176 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
6177 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6178 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
6179 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
6180 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6181 | $as_echo_n "(cached) " >&6 |
---|
6182 | fi |
---|
6183 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
6184 | $as_echo "$as_val"'` |
---|
6185 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
6186 | $as_echo "$ac_res" >&6; } |
---|
6187 | else |
---|
6188 | # Is the header compilable? |
---|
6189 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
6190 | $as_echo_n "checking $ac_header usability... " >&6; } |
---|
6191 | cat >conftest.$ac_ext <<_ACEOF |
---|
6192 | /* confdefs.h. */ |
---|
6193 | _ACEOF |
---|
6194 | cat confdefs.h >>conftest.$ac_ext |
---|
6195 | cat >>conftest.$ac_ext <<_ACEOF |
---|
6196 | /* end confdefs.h. */ |
---|
6197 | $ac_includes_default |
---|
6198 | #include <$ac_header> |
---|
6199 | _ACEOF |
---|
6200 | rm -f conftest.$ac_objext |
---|
6201 | if { (ac_try="$ac_compile" |
---|
6202 | case "(($ac_try" in |
---|
6203 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
6204 | *) ac_try_echo=$ac_try;; |
---|
6205 | esac |
---|
6206 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
6207 | $as_echo "$ac_try_echo") >&5 |
---|
6208 | (eval "$ac_compile") 2>conftest.er1 |
---|
6209 | ac_status=$? |
---|
6210 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
6211 | rm -f conftest.er1 |
---|
6212 | cat conftest.err >&5 |
---|
6213 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
6214 | (exit $ac_status); } && { |
---|
6215 | test -z "$ac_cxx_werror_flag" || |
---|
6216 | test ! -s conftest.err |
---|
6217 | } && test -s conftest.$ac_objext; then |
---|
6218 | ac_header_compiler=yes |
---|
6219 | else |
---|
6220 | $as_echo "$as_me: failed program was:" >&5 |
---|
6221 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
6222 | |
---|
6223 | ac_header_compiler=no |
---|
6224 | fi |
---|
6225 | |
---|
6226 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
6227 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
6228 | $as_echo "$ac_header_compiler" >&6; } |
---|
6229 | |
---|
6230 | # Is the header present? |
---|
6231 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
6232 | $as_echo_n "checking $ac_header presence... " >&6; } |
---|
6233 | cat >conftest.$ac_ext <<_ACEOF |
---|
6234 | /* confdefs.h. */ |
---|
6235 | _ACEOF |
---|
6236 | cat confdefs.h >>conftest.$ac_ext |
---|
6237 | cat >>conftest.$ac_ext <<_ACEOF |
---|
6238 | /* end confdefs.h. */ |
---|
6239 | #include <$ac_header> |
---|
6240 | _ACEOF |
---|
6241 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
6242 | case "(($ac_try" in |
---|
6243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
6244 | *) ac_try_echo=$ac_try;; |
---|
6245 | esac |
---|
6246 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
6247 | $as_echo "$ac_try_echo") >&5 |
---|
6248 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
6249 | ac_status=$? |
---|
6250 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
6251 | rm -f conftest.er1 |
---|
6252 | cat conftest.err >&5 |
---|
6253 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
6254 | (exit $ac_status); } >/dev/null && { |
---|
6255 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
6256 | test ! -s conftest.err |
---|
6257 | }; then |
---|
6258 | ac_header_preproc=yes |
---|
6259 | else |
---|
6260 | $as_echo "$as_me: failed program was:" >&5 |
---|
6261 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
6262 | |
---|
6263 | ac_header_preproc=no |
---|
6264 | fi |
---|
6265 | |
---|
6266 | rm -f conftest.err conftest.$ac_ext |
---|
6267 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
6268 | $as_echo "$ac_header_preproc" >&6; } |
---|
6269 | |
---|
6270 | # So? What about this header? |
---|
6271 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
6272 | yes:no: ) |
---|
6273 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
6274 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
6275 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
6276 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
6277 | ac_header_preproc=yes |
---|
6278 | ;; |
---|
6279 | no:yes:* ) |
---|
6280 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
6281 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
6282 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
6283 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
6284 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
6285 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
6286 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
6287 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
6288 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
6289 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
6290 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
6291 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
6292 | ( cat <<\_ASBOX |
---|
6293 | ## ----------------------------------- ## |
---|
6294 | ## Report this to rappture@nanohub.org ## |
---|
6295 | ## ----------------------------------- ## |
---|
6296 | _ASBOX |
---|
6297 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
6298 | ;; |
---|
6299 | esac |
---|
6300 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
6301 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
6302 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6303 | $as_echo_n "(cached) " >&6 |
---|
6304 | else |
---|
6305 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
6306 | fi |
---|
6307 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
6308 | $as_echo "$as_val"'` |
---|
6309 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
6310 | $as_echo "$ac_res" >&6; } |
---|
6311 | |
---|
6312 | fi |
---|
6313 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
6314 | $as_echo "$as_val"'` |
---|
6315 | if test "x$as_val" = x""yes; then |
---|
6316 | cat >>confdefs.h <<_ACEOF |
---|
6317 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
6318 | _ACEOF |
---|
6319 | |
---|
6320 | fi |
---|
6321 | |
---|
6322 | done |
---|
6323 | |
---|
6324 | |
---|
6325 | { $as_echo "$as_me:$LINENO: checking for DX installation" >&5 |
---|
6326 | $as_echo_n "checking for DX installation... " >&6; } |
---|
6327 | DX_DIR="" |
---|
6328 | for dir in \ |
---|
6329 | /apps/rappture \ |
---|
6330 | /usr/dx \ |
---|
6331 | /usr |
---|
6332 | do |
---|
6333 | if test -r "${dir}/include/dx/dx.h" ; then |
---|
6334 | DX_DIR="$dir" |
---|
6335 | break |
---|
6336 | fi |
---|
6337 | done |
---|
6338 | if test "x${DX_DIR}" = "x" ; then |
---|
6339 | { { $as_echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5 |
---|
6340 | $as_echo "$as_me: error: can't find OpenDX installation" >&2;} |
---|
6341 | { (exit 1); exit 1; }; } |
---|
6342 | fi |
---|
6343 | |
---|
6344 | if test "${DX_DIR}" = "/usr" ; then |
---|
6345 | DX_DIR="" |
---|
6346 | else |
---|
6347 | LD_RPATH="$loader_run_path:${DX_DIR}/lib" |
---|
6348 | fi |
---|
6349 | |
---|
6350 | |
---|
6351 | { $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5 |
---|
6352 | $as_echo "${DX_DIR}" >&6; } |
---|
6353 | |
---|
6354 | |
---|
6355 | |
---|
6356 | |
---|
6357 | |
---|
6358 | |
---|
6359 | |
---|
6360 | for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h |
---|
6361 | do |
---|
6362 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
6363 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6364 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
6365 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
6366 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6367 | $as_echo_n "(cached) " >&6 |
---|
6368 | fi |
---|
6369 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
6370 | $as_echo "$as_val"'` |
---|
6371 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
6372 | $as_echo "$ac_res" >&6; } |
---|
6373 | else |
---|
6374 | # Is the header compilable? |
---|
6375 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
6376 | $as_echo_n "checking $ac_header usability... " >&6; } |
---|
6377 | cat >conftest.$ac_ext <<_ACEOF |
---|
6378 | /* confdefs.h. */ |
---|
6379 | _ACEOF |
---|
6380 | cat confdefs.h >>conftest.$ac_ext |
---|
6381 | cat >>conftest.$ac_ext <<_ACEOF |
---|
6382 | /* end confdefs.h. */ |
---|
6383 | $ac_includes_default |
---|
6384 | #include <$ac_header> |
---|
6385 | _ACEOF |
---|
6386 | rm -f conftest.$ac_objext |
---|
6387 | if { (ac_try="$ac_compile" |
---|
6388 | case "(($ac_try" in |
---|
6389 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
6390 | *) ac_try_echo=$ac_try;; |
---|
6391 | esac |
---|
6392 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
6393 | $as_echo "$ac_try_echo") >&5 |
---|
6394 | (eval "$ac_compile") 2>conftest.er1 |
---|
6395 | ac_status=$? |
---|
6396 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
6397 | rm -f conftest.er1 |
---|
6398 | cat conftest.err >&5 |
---|
6399 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
6400 | (exit $ac_status); } && { |
---|
6401 | test -z "$ac_cxx_werror_flag" || |
---|
6402 | test ! -s conftest.err |
---|
6403 | } && test -s conftest.$ac_objext; then |
---|
6404 | ac_header_compiler=yes |
---|
6405 | else |
---|
6406 | $as_echo "$as_me: failed program was:" >&5 |
---|
6407 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
6408 | |
---|
6409 | ac_header_compiler=no |
---|
6410 | fi |
---|
6411 | |
---|
6412 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
6413 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
6414 | $as_echo "$ac_header_compiler" >&6; } |
---|
6415 | |
---|
6416 | # Is the header present? |
---|
6417 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
6418 | $as_echo_n "checking $ac_header presence... " >&6; } |
---|
6419 | cat >conftest.$ac_ext <<_ACEOF |
---|
6420 | /* confdefs.h. */ |
---|
6421 | _ACEOF |
---|
6422 | cat confdefs.h >>conftest.$ac_ext |
---|
6423 | cat >>conftest.$ac_ext <<_ACEOF |
---|
6424 | /* end confdefs.h. */ |
---|
6425 | #include <$ac_header> |
---|
6426 | _ACEOF |
---|
6427 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
6428 | case "(($ac_try" in |
---|
6429 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
6430 | *) ac_try_echo=$ac_try;; |
---|
6431 | esac |
---|
6432 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
6433 | $as_echo "$ac_try_echo") >&5 |
---|
6434 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
6435 | ac_status=$? |
---|
6436 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
6437 | rm -f conftest.er1 |
---|
6438 | cat conftest.err >&5 |
---|
6439 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
6440 | (exit $ac_status); } >/dev/null && { |
---|
6441 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
---|
6442 | test ! -s conftest.err |
---|
6443 | }; then |
---|
6444 | ac_header_preproc=yes |
---|
6445 | else |
---|
6446 | $as_echo "$as_me: failed program was:" >&5 |
---|
6447 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
6448 | |
---|
6449 | ac_header_preproc=no |
---|
6450 | fi |
---|
6451 | |
---|
6452 | rm -f conftest.err conftest.$ac_ext |
---|
6453 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
6454 | $as_echo "$ac_header_preproc" >&6; } |
---|
6455 | |
---|
6456 | # So? What about this header? |
---|
6457 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
---|
6458 | yes:no: ) |
---|
6459 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
6460 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
6461 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
6462 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
6463 | ac_header_preproc=yes |
---|
6464 | ;; |
---|
6465 | no:yes:* ) |
---|
6466 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
6467 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
6468 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
6469 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
6470 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
6471 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
6472 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
6473 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
6474 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
6475 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
6476 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
6477 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
6478 | ( cat <<\_ASBOX |
---|
6479 | ## ----------------------------------- ## |
---|
6480 | ## Report this to rappture@nanohub.org ## |
---|
6481 | ## ----------------------------------- ## |
---|
6482 | _ASBOX |
---|
6483 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
---|
6484 | ;; |
---|
6485 | esac |
---|
6486 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
6487 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
6488 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
6489 | $as_echo_n "(cached) " >&6 |
---|
6490 | else |
---|
6491 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
6492 | fi |
---|
6493 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
6494 | $as_echo "$as_val"'` |
---|
6495 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
6496 | $as_echo "$ac_res" >&6; } |
---|
6497 | |
---|
6498 | fi |
---|
6499 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
6500 | $as_echo "$as_val"'` |
---|
6501 | if test "x$as_val" = x""yes; then |
---|
6502 | cat >>confdefs.h <<_ACEOF |
---|
6503 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
6504 | _ACEOF |
---|
6505 | |
---|
6506 | fi |
---|
6507 | |
---|
6508 | done |
---|
6509 | |
---|
6510 | |
---|
6511 | { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 |
---|
6512 | $as_echo_n "checking for nVidia Cg installation... " >&6; } |
---|
6513 | CG_DIR="" |
---|
6514 | for dir in \ |
---|
6515 | /opt/nvidia-cg-toolkit \ |
---|
6516 | /usr/cg \ |
---|
6517 | /usr |
---|
6518 | do |
---|
6519 | if test -r "${dir}/include/Cg/cgGL.h" ; then |
---|
6520 | CG_DIR="$dir" |
---|
6521 | break |
---|
6522 | fi |
---|
6523 | done |
---|
6524 | if test "x${CG_DIR}" = "x" ; then |
---|
6525 | { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5 |
---|
6526 | $as_echo "$as_me: error: can't find nVidia Cg installation" >&2;} |
---|
6527 | { (exit 1); exit 1; }; } |
---|
6528 | fi |
---|
6529 | |
---|
6530 | if test "${CG_DIR}" = "/usr" ; then |
---|
6531 | CG_DIR="" |
---|
6532 | else |
---|
6533 | LD_RPATH="$loader_run_path:${CG_DIR}/lib" |
---|
6534 | fi |
---|
6535 | |
---|
6536 | |
---|
6537 | { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 |
---|
6538 | $as_echo "${CG_DIR}" >&6; } |
---|
6539 | |
---|
6540 | |
---|
6541 | |
---|
6542 | |
---|
6543 | ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh" |
---|
6544 | |
---|
6545 | cat >confcache <<\_ACEOF |
---|
6546 | # This file is a shell script that caches the results of configure |
---|
6547 | # tests run on this system so they can be shared between configure |
---|
6548 | # scripts and configure runs, see configure's option --config-cache. |
---|
6549 | # It is not useful on other systems. If it contains results you don't |
---|
6550 | # want to keep, you may remove or edit it. |
---|
6551 | # |
---|
6552 | # config.status only pays attention to the cache file if you give it |
---|
6553 | # the --recheck option to rerun configure. |
---|
6554 | # |
---|
6555 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
6556 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
6557 | # following values. |
---|
6558 | |
---|
6559 | _ACEOF |
---|
6560 | |
---|
6561 | # The following way of writing the cache mishandles newlines in values, |
---|
6562 | # but we know of no workaround that is simple, portable, and efficient. |
---|
6563 | # So, we kill variables containing newlines. |
---|
6564 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
6565 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
6566 | ( |
---|
6567 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
6568 | eval ac_val=\$$ac_var |
---|
6569 | case $ac_val in #( |
---|
6570 | *${as_nl}*) |
---|
6571 | case $ac_var in #( |
---|
6572 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
6573 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
6574 | esac |
---|
6575 | case $ac_var in #( |
---|
6576 | _ | IFS | as_nl) ;; #( |
---|
6577 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
6578 | *) $as_unset $ac_var ;; |
---|
6579 | esac ;; |
---|
6580 | esac |
---|
6581 | done |
---|
6582 | |
---|
6583 | (set) 2>&1 | |
---|
6584 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
6585 | *${as_nl}ac_space=\ *) |
---|
6586 | # `set' does not quote correctly, so add quotes (double-quote |
---|
6587 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
6588 | sed -n \ |
---|
6589 | "s/'/'\\\\''/g; |
---|
6590 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
6591 | ;; #( |
---|
6592 | *) |
---|
6593 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
6594 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
6595 | ;; |
---|
6596 | esac | |
---|
6597 | sort |
---|
6598 | ) | |
---|
6599 | sed ' |
---|
6600 | /^ac_cv_env_/b end |
---|
6601 | t clear |
---|
6602 | :clear |
---|
6603 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
6604 | t end |
---|
6605 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
6606 | :end' >>confcache |
---|
6607 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
6608 | if test -w "$cache_file"; then |
---|
6609 | test "x$cache_file" != "x/dev/null" && |
---|
6610 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
6611 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
6612 | cat confcache >$cache_file |
---|
6613 | else |
---|
6614 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
6615 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
6616 | fi |
---|
6617 | fi |
---|
6618 | rm -f confcache |
---|
6619 | |
---|
6620 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
6621 | # Let make expand exec_prefix. |
---|
6622 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
6623 | |
---|
6624 | DEFS=-DHAVE_CONFIG_H |
---|
6625 | |
---|
6626 | ac_libobjs= |
---|
6627 | ac_ltlibobjs= |
---|
6628 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
6629 | # 1. Remove the extension, and $U if already installed. |
---|
6630 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
6631 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
6632 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
6633 | # will be set to the directory where LIBOBJS objects are built. |
---|
6634 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
6635 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
6636 | done |
---|
6637 | LIBOBJS=$ac_libobjs |
---|
6638 | |
---|
6639 | LTLIBOBJS=$ac_ltlibobjs |
---|
6640 | |
---|
6641 | |
---|
6642 | |
---|
6643 | |
---|
6644 | : ${CONFIG_STATUS=./config.status} |
---|
6645 | ac_write_fail=0 |
---|
6646 | ac_clean_files_save=$ac_clean_files |
---|
6647 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
6648 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
6649 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
6650 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6651 | #! $SHELL |
---|
6652 | # Generated by $as_me. |
---|
6653 | # Run this file to recreate the current configuration. |
---|
6654 | # Compiler output produced by configure, useful for debugging |
---|
6655 | # configure, is in config.log if it exists. |
---|
6656 | |
---|
6657 | debug=false |
---|
6658 | ac_cs_recheck=false |
---|
6659 | ac_cs_silent=false |
---|
6660 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
6661 | _ACEOF |
---|
6662 | |
---|
6663 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6664 | ## --------------------- ## |
---|
6665 | ## M4sh Initialization. ## |
---|
6666 | ## --------------------- ## |
---|
6667 | |
---|
6668 | # Be more Bourne compatible |
---|
6669 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
6670 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
6671 | emulate sh |
---|
6672 | NULLCMD=: |
---|
6673 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
6674 | # is contrary to our usage. Disable this feature. |
---|
6675 | alias -g '${1+"$@"}'='"$@"' |
---|
6676 | setopt NO_GLOB_SUBST |
---|
6677 | else |
---|
6678 | case `(set -o) 2>/dev/null` in |
---|
6679 | *posix*) set -o posix ;; |
---|
6680 | esac |
---|
6681 | |
---|
6682 | fi |
---|
6683 | |
---|
6684 | |
---|
6685 | |
---|
6686 | |
---|
6687 | # PATH needs CR |
---|
6688 | # Avoid depending upon Character Ranges. |
---|
6689 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
6690 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
6691 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
6692 | as_cr_digits='0123456789' |
---|
6693 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
6694 | |
---|
6695 | as_nl=' |
---|
6696 | ' |
---|
6697 | export as_nl |
---|
6698 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
6699 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
6700 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
6701 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
6702 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
6703 | as_echo='printf %s\n' |
---|
6704 | as_echo_n='printf %s' |
---|
6705 | else |
---|
6706 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
6707 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
6708 | as_echo_n='/usr/ucb/echo -n' |
---|
6709 | else |
---|
6710 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
6711 | as_echo_n_body='eval |
---|
6712 | arg=$1; |
---|
6713 | case $arg in |
---|
6714 | *"$as_nl"*) |
---|
6715 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
6716 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
6717 | esac; |
---|
6718 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
6719 | ' |
---|
6720 | export as_echo_n_body |
---|
6721 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
6722 | fi |
---|
6723 | export as_echo_body |
---|
6724 | as_echo='sh -c $as_echo_body as_echo' |
---|
6725 | fi |
---|
6726 | |
---|
6727 | # The user is always right. |
---|
6728 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
6729 | PATH_SEPARATOR=: |
---|
6730 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
6731 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
6732 | PATH_SEPARATOR=';' |
---|
6733 | } |
---|
6734 | fi |
---|
6735 | |
---|
6736 | # Support unset when possible. |
---|
6737 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
6738 | as_unset=unset |
---|
6739 | else |
---|
6740 | as_unset=false |
---|
6741 | fi |
---|
6742 | |
---|
6743 | |
---|
6744 | # IFS |
---|
6745 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
6746 | # there to prevent editors from complaining about space-tab. |
---|
6747 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
6748 | # splitting by setting IFS to empty value.) |
---|
6749 | IFS=" "" $as_nl" |
---|
6750 | |
---|
6751 | # Find who we are. Look in the path if we contain no directory separator. |
---|
6752 | case $0 in |
---|
6753 | *[\\/]* ) as_myself=$0 ;; |
---|
6754 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
6755 | for as_dir in $PATH |
---|
6756 | do |
---|
6757 | IFS=$as_save_IFS |
---|
6758 | test -z "$as_dir" && as_dir=. |
---|
6759 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
6760 | done |
---|
6761 | IFS=$as_save_IFS |
---|
6762 | |
---|
6763 | ;; |
---|
6764 | esac |
---|
6765 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
6766 | # in which case we are not to be found in the path. |
---|
6767 | if test "x$as_myself" = x; then |
---|
6768 | as_myself=$0 |
---|
6769 | fi |
---|
6770 | if test ! -f "$as_myself"; then |
---|
6771 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
6772 | { (exit 1); exit 1; } |
---|
6773 | fi |
---|
6774 | |
---|
6775 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
6776 | for as_var in ENV MAIL MAILPATH |
---|
6777 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
6778 | done |
---|
6779 | PS1='$ ' |
---|
6780 | PS2='> ' |
---|
6781 | PS4='+ ' |
---|
6782 | |
---|
6783 | # NLS nuisances. |
---|
6784 | LC_ALL=C |
---|
6785 | export LC_ALL |
---|
6786 | LANGUAGE=C |
---|
6787 | export LANGUAGE |
---|
6788 | |
---|
6789 | # Required to use basename. |
---|
6790 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
6791 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
6792 | as_expr=expr |
---|
6793 | else |
---|
6794 | as_expr=false |
---|
6795 | fi |
---|
6796 | |
---|
6797 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
6798 | as_basename=basename |
---|
6799 | else |
---|
6800 | as_basename=false |
---|
6801 | fi |
---|
6802 | |
---|
6803 | |
---|
6804 | # Name of the executable. |
---|
6805 | as_me=`$as_basename -- "$0" || |
---|
6806 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
6807 | X"$0" : 'X\(//\)$' \| \ |
---|
6808 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
6809 | $as_echo X/"$0" | |
---|
6810 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
6811 | s//\1/ |
---|
6812 | q |
---|
6813 | } |
---|
6814 | /^X\/\(\/\/\)$/{ |
---|
6815 | s//\1/ |
---|
6816 | q |
---|
6817 | } |
---|
6818 | /^X\/\(\/\).*/{ |
---|
6819 | s//\1/ |
---|
6820 | q |
---|
6821 | } |
---|
6822 | s/.*/./; q'` |
---|
6823 | |
---|
6824 | # CDPATH. |
---|
6825 | $as_unset CDPATH |
---|
6826 | |
---|
6827 | |
---|
6828 | |
---|
6829 | as_lineno_1=$LINENO |
---|
6830 | as_lineno_2=$LINENO |
---|
6831 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
6832 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
6833 | |
---|
6834 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
6835 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
6836 | # line-number line after each line using $LINENO; the second 'sed' |
---|
6837 | # does the real work. The second script uses 'N' to pair each |
---|
6838 | # line-number line with the line containing $LINENO, and appends |
---|
6839 | # trailing '-' during substitution so that $LINENO is not a special |
---|
6840 | # case at line end. |
---|
6841 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
6842 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
6843 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
6844 | sed -n ' |
---|
6845 | p |
---|
6846 | /[$]LINENO/= |
---|
6847 | ' <$as_myself | |
---|
6848 | sed ' |
---|
6849 | s/[$]LINENO.*/&-/ |
---|
6850 | t lineno |
---|
6851 | b |
---|
6852 | :lineno |
---|
6853 | N |
---|
6854 | :loop |
---|
6855 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
6856 | t loop |
---|
6857 | s/-\n.*// |
---|
6858 | ' >$as_me.lineno && |
---|
6859 | chmod +x "$as_me.lineno" || |
---|
6860 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
6861 | { (exit 1); exit 1; }; } |
---|
6862 | |
---|
6863 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
6864 | # (the dirname of $[0] is not the place where we might find the |
---|
6865 | # original and so on. Autoconf is especially sensitive to this). |
---|
6866 | . "./$as_me.lineno" |
---|
6867 | # Exit status is that of the last command. |
---|
6868 | exit |
---|
6869 | } |
---|
6870 | |
---|
6871 | |
---|
6872 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
6873 | as_dirname=dirname |
---|
6874 | else |
---|
6875 | as_dirname=false |
---|
6876 | fi |
---|
6877 | |
---|
6878 | ECHO_C= ECHO_N= ECHO_T= |
---|
6879 | case `echo -n x` in |
---|
6880 | -n*) |
---|
6881 | case `echo 'x\c'` in |
---|
6882 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
6883 | *) ECHO_C='\c';; |
---|
6884 | esac;; |
---|
6885 | *) |
---|
6886 | ECHO_N='-n';; |
---|
6887 | esac |
---|
6888 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
6889 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
6890 | as_expr=expr |
---|
6891 | else |
---|
6892 | as_expr=false |
---|
6893 | fi |
---|
6894 | |
---|
6895 | rm -f conf$$ conf$$.exe conf$$.file |
---|
6896 | if test -d conf$$.dir; then |
---|
6897 | rm -f conf$$.dir/conf$$.file |
---|
6898 | else |
---|
6899 | rm -f conf$$.dir |
---|
6900 | mkdir conf$$.dir 2>/dev/null |
---|
6901 | fi |
---|
6902 | if (echo >conf$$.file) 2>/dev/null; then |
---|
6903 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
6904 | as_ln_s='ln -s' |
---|
6905 | # ... but there are two gotchas: |
---|
6906 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
6907 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
6908 | # In both cases, we have to default to `cp -p'. |
---|
6909 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
6910 | as_ln_s='cp -p' |
---|
6911 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
6912 | as_ln_s=ln |
---|
6913 | else |
---|
6914 | as_ln_s='cp -p' |
---|
6915 | fi |
---|
6916 | else |
---|
6917 | as_ln_s='cp -p' |
---|
6918 | fi |
---|
6919 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
6920 | rmdir conf$$.dir 2>/dev/null |
---|
6921 | |
---|
6922 | if mkdir -p . 2>/dev/null; then |
---|
6923 | as_mkdir_p=: |
---|
6924 | else |
---|
6925 | test -d ./-p && rmdir ./-p |
---|
6926 | as_mkdir_p=false |
---|
6927 | fi |
---|
6928 | |
---|
6929 | if test -x / >/dev/null 2>&1; then |
---|
6930 | as_test_x='test -x' |
---|
6931 | else |
---|
6932 | if ls -dL / >/dev/null 2>&1; then |
---|
6933 | as_ls_L_option=L |
---|
6934 | else |
---|
6935 | as_ls_L_option= |
---|
6936 | fi |
---|
6937 | as_test_x=' |
---|
6938 | eval sh -c '\'' |
---|
6939 | if test -d "$1"; then |
---|
6940 | test -d "$1/."; |
---|
6941 | else |
---|
6942 | case $1 in |
---|
6943 | -*)set "./$1";; |
---|
6944 | esac; |
---|
6945 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
6946 | ???[sx]*):;;*)false;;esac;fi |
---|
6947 | '\'' sh |
---|
6948 | ' |
---|
6949 | fi |
---|
6950 | as_executable_p=$as_test_x |
---|
6951 | |
---|
6952 | # Sed expression to map a string onto a valid CPP name. |
---|
6953 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
6954 | |
---|
6955 | # Sed expression to map a string onto a valid variable name. |
---|
6956 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
6957 | |
---|
6958 | |
---|
6959 | exec 6>&1 |
---|
6960 | |
---|
6961 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
6962 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
6963 | # values after options handling. |
---|
6964 | ac_log=" |
---|
6965 | This file was extended by vizservers $as_me 0.1, which was |
---|
6966 | generated by GNU Autoconf 2.63. Invocation command line was |
---|
6967 | |
---|
6968 | CONFIG_FILES = $CONFIG_FILES |
---|
6969 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
6970 | CONFIG_LINKS = $CONFIG_LINKS |
---|
6971 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
6972 | $ $0 $@ |
---|
6973 | |
---|
6974 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
6975 | " |
---|
6976 | |
---|
6977 | _ACEOF |
---|
6978 | |
---|
6979 | case $ac_config_files in *" |
---|
6980 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
6981 | esac |
---|
6982 | |
---|
6983 | case $ac_config_headers in *" |
---|
6984 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
6985 | esac |
---|
6986 | |
---|
6987 | |
---|
6988 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6989 | # Files that config.status was made for. |
---|
6990 | config_files="$ac_config_files" |
---|
6991 | config_headers="$ac_config_headers" |
---|
6992 | |
---|
6993 | _ACEOF |
---|
6994 | |
---|
6995 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6996 | ac_cs_usage="\ |
---|
6997 | \`$as_me' instantiates files from templates according to the |
---|
6998 | current configuration. |
---|
6999 | |
---|
7000 | Usage: $0 [OPTION]... [FILE]... |
---|
7001 | |
---|
7002 | -h, --help print this help, then exit |
---|
7003 | -V, --version print version number and configuration settings, then exit |
---|
7004 | -q, --quiet, --silent |
---|
7005 | do not print progress messages |
---|
7006 | -d, --debug don't remove temporary files |
---|
7007 | --recheck update $as_me by reconfiguring in the same conditions |
---|
7008 | --file=FILE[:TEMPLATE] |
---|
7009 | instantiate the configuration file FILE |
---|
7010 | --header=FILE[:TEMPLATE] |
---|
7011 | instantiate the configuration header FILE |
---|
7012 | |
---|
7013 | Configuration files: |
---|
7014 | $config_files |
---|
7015 | |
---|
7016 | Configuration headers: |
---|
7017 | $config_headers |
---|
7018 | |
---|
7019 | Report bugs to <bug-autoconf@gnu.org>." |
---|
7020 | |
---|
7021 | _ACEOF |
---|
7022 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7023 | ac_cs_version="\\ |
---|
7024 | vizservers config.status 0.1 |
---|
7025 | configured by $0, generated by GNU Autoconf 2.63, |
---|
7026 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
7027 | |
---|
7028 | Copyright (C) 2008 Free Software Foundation, Inc. |
---|
7029 | This config.status script is free software; the Free Software Foundation |
---|
7030 | gives unlimited permission to copy, distribute and modify it." |
---|
7031 | |
---|
7032 | ac_pwd='$ac_pwd' |
---|
7033 | srcdir='$srcdir' |
---|
7034 | INSTALL='$INSTALL' |
---|
7035 | MKDIR_P='$MKDIR_P' |
---|
7036 | test -n "\$AWK" || AWK=awk |
---|
7037 | _ACEOF |
---|
7038 | |
---|
7039 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7040 | # The default lists apply if the user does not specify any file. |
---|
7041 | ac_need_defaults=: |
---|
7042 | while test $# != 0 |
---|
7043 | do |
---|
7044 | case $1 in |
---|
7045 | --*=*) |
---|
7046 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
7047 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
7048 | ac_shift=: |
---|
7049 | ;; |
---|
7050 | *) |
---|
7051 | ac_option=$1 |
---|
7052 | ac_optarg=$2 |
---|
7053 | ac_shift=shift |
---|
7054 | ;; |
---|
7055 | esac |
---|
7056 | |
---|
7057 | case $ac_option in |
---|
7058 | # Handling of the options. |
---|
7059 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
7060 | ac_cs_recheck=: ;; |
---|
7061 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
7062 | $as_echo "$ac_cs_version"; exit ;; |
---|
7063 | --debug | --debu | --deb | --de | --d | -d ) |
---|
7064 | debug=: ;; |
---|
7065 | --file | --fil | --fi | --f ) |
---|
7066 | $ac_shift |
---|
7067 | case $ac_optarg in |
---|
7068 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
7069 | esac |
---|
7070 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
---|
7071 | ac_need_defaults=false;; |
---|
7072 | --header | --heade | --head | --hea ) |
---|
7073 | $ac_shift |
---|
7074 | case $ac_optarg in |
---|
7075 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
7076 | esac |
---|
7077 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
---|
7078 | ac_need_defaults=false;; |
---|
7079 | --he | --h) |
---|
7080 | # Conflict between --help and --header |
---|
7081 | { $as_echo "$as_me: error: ambiguous option: $1 |
---|
7082 | Try \`$0 --help' for more information." >&2 |
---|
7083 | { (exit 1); exit 1; }; };; |
---|
7084 | --help | --hel | -h ) |
---|
7085 | $as_echo "$ac_cs_usage"; exit ;; |
---|
7086 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
7087 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
7088 | ac_cs_silent=: ;; |
---|
7089 | |
---|
7090 | # This is an error. |
---|
7091 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
---|
7092 | Try \`$0 --help' for more information." >&2 |
---|
7093 | { (exit 1); exit 1; }; } ;; |
---|
7094 | |
---|
7095 | *) ac_config_targets="$ac_config_targets $1" |
---|
7096 | ac_need_defaults=false ;; |
---|
7097 | |
---|
7098 | esac |
---|
7099 | shift |
---|
7100 | done |
---|
7101 | |
---|
7102 | ac_configure_extra_args= |
---|
7103 | |
---|
7104 | if $ac_cs_silent; then |
---|
7105 | exec 6>/dev/null |
---|
7106 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
7107 | fi |
---|
7108 | |
---|
7109 | _ACEOF |
---|
7110 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7111 | if \$ac_cs_recheck; then |
---|
7112 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
7113 | shift |
---|
7114 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
7115 | CONFIG_SHELL='$SHELL' |
---|
7116 | export CONFIG_SHELL |
---|
7117 | exec "\$@" |
---|
7118 | fi |
---|
7119 | |
---|
7120 | _ACEOF |
---|
7121 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7122 | exec 5>>config.log |
---|
7123 | { |
---|
7124 | echo |
---|
7125 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
7126 | ## Running $as_me. ## |
---|
7127 | _ASBOX |
---|
7128 | $as_echo "$ac_log" |
---|
7129 | } >&5 |
---|
7130 | |
---|
7131 | _ACEOF |
---|
7132 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7133 | _ACEOF |
---|
7134 | |
---|
7135 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7136 | |
---|
7137 | # Handling of arguments. |
---|
7138 | for ac_config_target in $ac_config_targets |
---|
7139 | do |
---|
7140 | case $ac_config_target in |
---|
7141 | "nanoscale/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nanoscale/config.h" ;; |
---|
7142 | "nanovis/nvconf.h") CONFIG_HEADERS="$CONFIG_HEADERS nanovis/nvconf.h" ;; |
---|
7143 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
7144 | "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;; |
---|
7145 | "nanovis/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/Makefile" ;; |
---|
7146 | "nanovis/newmat11/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/newmat11/Makefile" ;; |
---|
7147 | "nanovis/R2/src/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/R2/src/Makefile" ;; |
---|
7148 | "nanovis/imgLoaders/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/imgLoaders/Makefile" ;; |
---|
7149 | "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;; |
---|
7150 | "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;; |
---|
7151 | "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;; |
---|
7152 | |
---|
7153 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
7154 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
7155 | { (exit 1); exit 1; }; };; |
---|
7156 | esac |
---|
7157 | done |
---|
7158 | |
---|
7159 | |
---|
7160 | # If the user did not use the arguments to specify the items to instantiate, |
---|
7161 | # then the envvar interface is used. Set only those that are not. |
---|
7162 | # We use the long form for the default assignment because of an extremely |
---|
7163 | # bizarre bug on SunOS 4.1.3. |
---|
7164 | if $ac_need_defaults; then |
---|
7165 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
7166 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
7167 | fi |
---|
7168 | |
---|
7169 | # Have a temporary directory for convenience. Make it in the build tree |
---|
7170 | # simply because there is no reason against having it here, and in addition, |
---|
7171 | # creating and moving files from /tmp can sometimes cause problems. |
---|
7172 | # Hook for its removal unless debugging. |
---|
7173 | # Note that there is a small window in which the directory will not be cleaned: |
---|
7174 | # after its creation but before its name has been assigned to `$tmp'. |
---|
7175 | $debug || |
---|
7176 | { |
---|
7177 | tmp= |
---|
7178 | trap 'exit_status=$? |
---|
7179 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
7180 | ' 0 |
---|
7181 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
7182 | } |
---|
7183 | # Create a (secure) tmp directory for tmp files. |
---|
7184 | |
---|
7185 | { |
---|
7186 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
7187 | test -n "$tmp" && test -d "$tmp" |
---|
7188 | } || |
---|
7189 | { |
---|
7190 | tmp=./conf$$-$RANDOM |
---|
7191 | (umask 077 && mkdir "$tmp") |
---|
7192 | } || |
---|
7193 | { |
---|
7194 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
---|
7195 | { (exit 1); exit 1; } |
---|
7196 | } |
---|
7197 | |
---|
7198 | # Set up the scripts for CONFIG_FILES section. |
---|
7199 | # No need to generate them if there are no CONFIG_FILES. |
---|
7200 | # This happens for instance with `./config.status config.h'. |
---|
7201 | if test -n "$CONFIG_FILES"; then |
---|
7202 | |
---|
7203 | |
---|
7204 | ac_cr='
' |
---|
7205 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
7206 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
7207 | ac_cs_awk_cr='\\r' |
---|
7208 | else |
---|
7209 | ac_cs_awk_cr=$ac_cr |
---|
7210 | fi |
---|
7211 | |
---|
7212 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
---|
7213 | _ACEOF |
---|
7214 | |
---|
7215 | |
---|
7216 | { |
---|
7217 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
7218 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
7219 | echo "_ACEOF" |
---|
7220 | } >conf$$subs.sh || |
---|
7221 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
7222 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
7223 | { (exit 1); exit 1; }; } |
---|
7224 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
---|
7225 | ac_delim='%!_!# ' |
---|
7226 | for ac_last_try in false false false false false :; do |
---|
7227 | . ./conf$$subs.sh || |
---|
7228 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
7229 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
7230 | { (exit 1); exit 1; }; } |
---|
7231 | |
---|
7232 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
7233 | if test $ac_delim_n = $ac_delim_num; then |
---|
7234 | break |
---|
7235 | elif $ac_last_try; then |
---|
7236 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
7237 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
7238 | { (exit 1); exit 1; }; } |
---|
7239 | else |
---|
7240 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
7241 | fi |
---|
7242 | done |
---|
7243 | rm -f conf$$subs.sh |
---|
7244 | |
---|
7245 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7246 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
---|
7247 | _ACEOF |
---|
7248 | sed -n ' |
---|
7249 | h |
---|
7250 | s/^/S["/; s/!.*/"]=/ |
---|
7251 | p |
---|
7252 | g |
---|
7253 | s/^[^!]*!// |
---|
7254 | :repl |
---|
7255 | t repl |
---|
7256 | s/'"$ac_delim"'$// |
---|
7257 | t delim |
---|
7258 | :nl |
---|
7259 | h |
---|
7260 | s/\(.\{148\}\).*/\1/ |
---|
7261 | t more1 |
---|
7262 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
7263 | p |
---|
7264 | n |
---|
7265 | b repl |
---|
7266 | :more1 |
---|
7267 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
7268 | p |
---|
7269 | g |
---|
7270 | s/.\{148\}// |
---|
7271 | t nl |
---|
7272 | :delim |
---|
7273 | h |
---|
7274 | s/\(.\{148\}\).*/\1/ |
---|
7275 | t more2 |
---|
7276 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
7277 | p |
---|
7278 | b |
---|
7279 | :more2 |
---|
7280 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
7281 | p |
---|
7282 | g |
---|
7283 | s/.\{148\}// |
---|
7284 | t delim |
---|
7285 | ' <conf$$subs.awk | sed ' |
---|
7286 | /^[^""]/{ |
---|
7287 | N |
---|
7288 | s/\n// |
---|
7289 | } |
---|
7290 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
7291 | rm -f conf$$subs.awk |
---|
7292 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7293 | _ACAWK |
---|
7294 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
---|
7295 | for (key in S) S_is_set[key] = 1 |
---|
7296 | FS = "" |
---|
7297 | |
---|
7298 | } |
---|
7299 | { |
---|
7300 | line = $ 0 |
---|
7301 | nfields = split(line, field, "@") |
---|
7302 | substed = 0 |
---|
7303 | len = length(field[1]) |
---|
7304 | for (i = 2; i < nfields; i++) { |
---|
7305 | key = field[i] |
---|
7306 | keylen = length(key) |
---|
7307 | if (S_is_set[key]) { |
---|
7308 | value = S[key] |
---|
7309 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
7310 | len += length(value) + length(field[++i]) |
---|
7311 | substed = 1 |
---|
7312 | } else |
---|
7313 | len += 1 + keylen |
---|
7314 | } |
---|
7315 | |
---|
7316 | print line |
---|
7317 | } |
---|
7318 | |
---|
7319 | _ACAWK |
---|
7320 | _ACEOF |
---|
7321 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7322 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
7323 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
7324 | else |
---|
7325 | cat |
---|
7326 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
---|
7327 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
---|
7328 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} |
---|
7329 | { (exit 1); exit 1; }; } |
---|
7330 | _ACEOF |
---|
7331 | |
---|
7332 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
7333 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
7334 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
7335 | # (actually we leave an empty line to preserve line numbers). |
---|
7336 | if test "x$srcdir" = x.; then |
---|
7337 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
7338 | s/:*\$(srcdir):*/:/ |
---|
7339 | s/:*\${srcdir}:*/:/ |
---|
7340 | s/:*@srcdir@:*/:/ |
---|
7341 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
7342 | s/:*$// |
---|
7343 | s/^[^=]*=[ ]*$// |
---|
7344 | }' |
---|
7345 | fi |
---|
7346 | |
---|
7347 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7348 | fi # test -n "$CONFIG_FILES" |
---|
7349 | |
---|
7350 | # Set up the scripts for CONFIG_HEADERS section. |
---|
7351 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
7352 | # This happens for instance with `./config.status Makefile'. |
---|
7353 | if test -n "$CONFIG_HEADERS"; then |
---|
7354 | cat >"$tmp/defines.awk" <<\_ACAWK || |
---|
7355 | BEGIN { |
---|
7356 | _ACEOF |
---|
7357 | |
---|
7358 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
7359 | # here-document in config.status, that substitutes the proper values into |
---|
7360 | # config.h.in to produce config.h. |
---|
7361 | |
---|
7362 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
7363 | # handling of long lines. |
---|
7364 | ac_delim='%!_!# ' |
---|
7365 | for ac_last_try in false false :; do |
---|
7366 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
---|
7367 | if test -z "$ac_t"; then |
---|
7368 | break |
---|
7369 | elif $ac_last_try; then |
---|
7370 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
---|
7371 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
---|
7372 | { (exit 1); exit 1; }; } |
---|
7373 | else |
---|
7374 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
7375 | fi |
---|
7376 | done |
---|
7377 | |
---|
7378 | # For the awk script, D is an array of macro values keyed by name, |
---|
7379 | # likewise P contains macro parameters if any. Preserve backslash |
---|
7380 | # newline sequences. |
---|
7381 | |
---|
7382 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
7383 | sed -n ' |
---|
7384 | s/.\{148\}/&'"$ac_delim"'/g |
---|
7385 | t rset |
---|
7386 | :rset |
---|
7387 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
7388 | t def |
---|
7389 | d |
---|
7390 | :def |
---|
7391 | s/\\$// |
---|
7392 | t bsnl |
---|
7393 | s/["\\]/\\&/g |
---|
7394 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
7395 | D["\1"]=" \3"/p |
---|
7396 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
7397 | d |
---|
7398 | :bsnl |
---|
7399 | s/["\\]/\\&/g |
---|
7400 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
7401 | D["\1"]=" \3\\\\\\n"\\/p |
---|
7402 | t cont |
---|
7403 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
7404 | t cont |
---|
7405 | d |
---|
7406 | :cont |
---|
7407 | n |
---|
7408 | s/.\{148\}/&'"$ac_delim"'/g |
---|
7409 | t clear |
---|
7410 | :clear |
---|
7411 | s/\\$// |
---|
7412 | t bsnlc |
---|
7413 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
7414 | d |
---|
7415 | :bsnlc |
---|
7416 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
7417 | b cont |
---|
7418 | ' <confdefs.h | sed ' |
---|
7419 | s/'"$ac_delim"'/"\\\ |
---|
7420 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
7421 | |
---|
7422 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7423 | for (key in D) D_is_set[key] = 1 |
---|
7424 | FS = "" |
---|
7425 | } |
---|
7426 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
7427 | line = \$ 0 |
---|
7428 | split(line, arg, " ") |
---|
7429 | if (arg[1] == "#") { |
---|
7430 | defundef = arg[2] |
---|
7431 | mac1 = arg[3] |
---|
7432 | } else { |
---|
7433 | defundef = substr(arg[1], 2) |
---|
7434 | mac1 = arg[2] |
---|
7435 | } |
---|
7436 | split(mac1, mac2, "(") #) |
---|
7437 | macro = mac2[1] |
---|
7438 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
7439 | if (D_is_set[macro]) { |
---|
7440 | # Preserve the white space surrounding the "#". |
---|
7441 | print prefix "define", macro P[macro] D[macro] |
---|
7442 | next |
---|
7443 | } else { |
---|
7444 | # Replace #undef with comments. This is necessary, for example, |
---|
7445 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
7446 | # on some systems where configure will not decide to define it. |
---|
7447 | if (defundef == "undef") { |
---|
7448 | print "/*", prefix defundef, macro, "*/" |
---|
7449 | next |
---|
7450 | } |
---|
7451 | } |
---|
7452 | } |
---|
7453 | { print } |
---|
7454 | _ACAWK |
---|
7455 | _ACEOF |
---|
7456 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7457 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
---|
7458 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
---|
7459 | { (exit 1); exit 1; }; } |
---|
7460 | fi # test -n "$CONFIG_HEADERS" |
---|
7461 | |
---|
7462 | |
---|
7463 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
---|
7464 | shift |
---|
7465 | for ac_tag |
---|
7466 | do |
---|
7467 | case $ac_tag in |
---|
7468 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
7469 | esac |
---|
7470 | case $ac_mode$ac_tag in |
---|
7471 | :[FHL]*:*);; |
---|
7472 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
---|
7473 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
---|
7474 | { (exit 1); exit 1; }; };; |
---|
7475 | :[FH]-) ac_tag=-:-;; |
---|
7476 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
7477 | esac |
---|
7478 | ac_save_IFS=$IFS |
---|
7479 | IFS=: |
---|
7480 | set x $ac_tag |
---|
7481 | IFS=$ac_save_IFS |
---|
7482 | shift |
---|
7483 | ac_file=$1 |
---|
7484 | shift |
---|
7485 | |
---|
7486 | case $ac_mode in |
---|
7487 | :L) ac_source=$1;; |
---|
7488 | :[FH]) |
---|
7489 | ac_file_inputs= |
---|
7490 | for ac_f |
---|
7491 | do |
---|
7492 | case $ac_f in |
---|
7493 | -) ac_f="$tmp/stdin";; |
---|
7494 | *) # Look for the file first in the build tree, then in the source tree |
---|
7495 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
7496 | # because $ac_f cannot contain `:'. |
---|
7497 | test -f "$ac_f" || |
---|
7498 | case $ac_f in |
---|
7499 | [\\/$]*) false;; |
---|
7500 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
7501 | esac || |
---|
7502 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
7503 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
7504 | { (exit 1); exit 1; }; };; |
---|
7505 | esac |
---|
7506 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
7507 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
---|
7508 | done |
---|
7509 | |
---|
7510 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
7511 | # use $as_me), people would be surprised to read: |
---|
7512 | # /* config.h. Generated by config.status. */ |
---|
7513 | configure_input='Generated from '` |
---|
7514 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
7515 | `' by configure.' |
---|
7516 | if test x"$ac_file" != x-; then |
---|
7517 | configure_input="$ac_file. $configure_input" |
---|
7518 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
7519 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
7520 | fi |
---|
7521 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
7522 | case $configure_input in #( |
---|
7523 | *\&* | *\|* | *\\* ) |
---|
7524 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
7525 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
7526 | *) ac_sed_conf_input=$configure_input;; |
---|
7527 | esac |
---|
7528 | |
---|
7529 | case $ac_tag in |
---|
7530 | *:-:* | *:-) cat >"$tmp/stdin" \ |
---|
7531 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
7532 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
7533 | { (exit 1); exit 1; }; } ;; |
---|
7534 | esac |
---|
7535 | ;; |
---|
7536 | esac |
---|
7537 | |
---|
7538 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
7539 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7540 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
7541 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
7542 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
7543 | $as_echo X"$ac_file" | |
---|
7544 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7545 | s//\1/ |
---|
7546 | q |
---|
7547 | } |
---|
7548 | /^X\(\/\/\)[^/].*/{ |
---|
7549 | s//\1/ |
---|
7550 | q |
---|
7551 | } |
---|
7552 | /^X\(\/\/\)$/{ |
---|
7553 | s//\1/ |
---|
7554 | q |
---|
7555 | } |
---|
7556 | /^X\(\/\).*/{ |
---|
7557 | s//\1/ |
---|
7558 | q |
---|
7559 | } |
---|
7560 | s/.*/./; q'` |
---|
7561 | { as_dir="$ac_dir" |
---|
7562 | case $as_dir in #( |
---|
7563 | -*) as_dir=./$as_dir;; |
---|
7564 | esac |
---|
7565 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
7566 | as_dirs= |
---|
7567 | while :; do |
---|
7568 | case $as_dir in #( |
---|
7569 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
7570 | *) as_qdir=$as_dir;; |
---|
7571 | esac |
---|
7572 | as_dirs="'$as_qdir' $as_dirs" |
---|
7573 | as_dir=`$as_dirname -- "$as_dir" || |
---|
7574 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
7575 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
7576 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
7577 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
7578 | $as_echo X"$as_dir" | |
---|
7579 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
7580 | s//\1/ |
---|
7581 | q |
---|
7582 | } |
---|
7583 | /^X\(\/\/\)[^/].*/{ |
---|
7584 | s//\1/ |
---|
7585 | q |
---|
7586 | } |
---|
7587 | /^X\(\/\/\)$/{ |
---|
7588 | s//\1/ |
---|
7589 | q |
---|
7590 | } |
---|
7591 | /^X\(\/\).*/{ |
---|
7592 | s//\1/ |
---|
7593 | q |
---|
7594 | } |
---|
7595 | s/.*/./; q'` |
---|
7596 | test -d "$as_dir" && break |
---|
7597 | done |
---|
7598 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
7599 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
7600 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
7601 | { (exit 1); exit 1; }; }; } |
---|
7602 | ac_builddir=. |
---|
7603 | |
---|
7604 | case "$ac_dir" in |
---|
7605 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
7606 | *) |
---|
7607 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
7608 | # A ".." for each directory in $ac_dir_suffix. |
---|
7609 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
7610 | case $ac_top_builddir_sub in |
---|
7611 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
7612 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
7613 | esac ;; |
---|
7614 | esac |
---|
7615 | ac_abs_top_builddir=$ac_pwd |
---|
7616 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
7617 | # for backward compatibility: |
---|
7618 | ac_top_builddir=$ac_top_build_prefix |
---|
7619 | |
---|
7620 | case $srcdir in |
---|
7621 | .) # We are building in place. |
---|
7622 | ac_srcdir=. |
---|
7623 | ac_top_srcdir=$ac_top_builddir_sub |
---|
7624 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
7625 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
7626 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
7627 | ac_top_srcdir=$srcdir |
---|
7628 | ac_abs_top_srcdir=$srcdir ;; |
---|
7629 | *) # Relative name. |
---|
7630 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
7631 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
7632 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
7633 | esac |
---|
7634 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
7635 | |
---|
7636 | |
---|
7637 | case $ac_mode in |
---|
7638 | :F) |
---|
7639 | # |
---|
7640 | # CONFIG_FILE |
---|
7641 | # |
---|
7642 | |
---|
7643 | case $INSTALL in |
---|
7644 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
7645 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
7646 | esac |
---|
7647 | ac_MKDIR_P=$MKDIR_P |
---|
7648 | case $MKDIR_P in |
---|
7649 | [\\/$]* | ?:[\\/]* ) ;; |
---|
7650 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
7651 | esac |
---|
7652 | _ACEOF |
---|
7653 | |
---|
7654 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7655 | # If the template does not know about datarootdir, expand it. |
---|
7656 | # FIXME: This hack should be removed a few years after 2.60. |
---|
7657 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
7658 | |
---|
7659 | ac_sed_dataroot=' |
---|
7660 | /datarootdir/ { |
---|
7661 | p |
---|
7662 | q |
---|
7663 | } |
---|
7664 | /@datadir@/p |
---|
7665 | /@docdir@/p |
---|
7666 | /@infodir@/p |
---|
7667 | /@localedir@/p |
---|
7668 | /@mandir@/p |
---|
7669 | ' |
---|
7670 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
7671 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
7672 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
7673 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
7674 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
7675 | _ACEOF |
---|
7676 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7677 | ac_datarootdir_hack=' |
---|
7678 | s&@datadir@&$datadir&g |
---|
7679 | s&@docdir@&$docdir&g |
---|
7680 | s&@infodir@&$infodir&g |
---|
7681 | s&@localedir@&$localedir&g |
---|
7682 | s&@mandir@&$mandir&g |
---|
7683 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
7684 | esac |
---|
7685 | _ACEOF |
---|
7686 | |
---|
7687 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
7688 | # Shell code in configure.ac might set extrasub. |
---|
7689 | # FIXME: do we really want to maintain this feature? |
---|
7690 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
7691 | ac_sed_extra="$ac_vpsub |
---|
7692 | $extrasub |
---|
7693 | _ACEOF |
---|
7694 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
7695 | :t |
---|
7696 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
7697 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
7698 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
7699 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
7700 | s&@srcdir@&$ac_srcdir&;t t |
---|
7701 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
7702 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
7703 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
7704 | s&@builddir@&$ac_builddir&;t t |
---|
7705 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
7706 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
7707 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
7708 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
7709 | $ac_datarootdir_hack |
---|
7710 | " |
---|
7711 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
---|
7712 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
7713 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
7714 | { (exit 1); exit 1; }; } |
---|
7715 | |
---|
7716 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
7717 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
7718 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
7719 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
7720 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
7721 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
7722 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
7723 | |
---|
7724 | rm -f "$tmp/stdin" |
---|
7725 | case $ac_file in |
---|
7726 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
---|
7727 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
---|
7728 | esac \ |
---|
7729 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
7730 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
7731 | { (exit 1); exit 1; }; } |
---|
7732 | ;; |
---|
7733 | :H) |
---|
7734 | # |
---|
7735 | # CONFIG_HEADER |
---|
7736 | # |
---|
7737 | if test x"$ac_file" != x-; then |
---|
7738 | { |
---|
7739 | $as_echo "/* $configure_input */" \ |
---|
7740 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
---|
7741 | } >"$tmp/config.h" \ |
---|
7742 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
7743 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
7744 | { (exit 1); exit 1; }; } |
---|
7745 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
---|
7746 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
7747 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
7748 | else |
---|
7749 | rm -f "$ac_file" |
---|
7750 | mv "$tmp/config.h" "$ac_file" \ |
---|
7751 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
7752 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
7753 | { (exit 1); exit 1; }; } |
---|
7754 | fi |
---|
7755 | else |
---|
7756 | $as_echo "/* $configure_input */" \ |
---|
7757 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
---|
7758 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
---|
7759 | $as_echo "$as_me: error: could not create -" >&2;} |
---|
7760 | { (exit 1); exit 1; }; } |
---|
7761 | fi |
---|
7762 | ;; |
---|
7763 | |
---|
7764 | |
---|
7765 | esac |
---|
7766 | |
---|
7767 | done # for ac_tag |
---|
7768 | |
---|
7769 | |
---|
7770 | { (exit 0); exit 0; } |
---|
7771 | _ACEOF |
---|
7772 | chmod +x $CONFIG_STATUS |
---|
7773 | ac_clean_files=$ac_clean_files_save |
---|
7774 | |
---|
7775 | test $ac_write_fail = 0 || |
---|
7776 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
---|
7777 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
---|
7778 | { (exit 1); exit 1; }; } |
---|
7779 | |
---|
7780 | |
---|
7781 | # configure is writing to config.log, and then calls config.status. |
---|
7782 | # config.status does its own redirection, appending to config.log. |
---|
7783 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
7784 | # by configure, so config.status won't be able to write to it; its |
---|
7785 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
7786 | # effectively closing config.log, so it can be properly (re)opened and |
---|
7787 | # appended to by config.status. When coming back to configure, we |
---|
7788 | # need to make the FD available again. |
---|
7789 | if test "$no_create" != yes; then |
---|
7790 | ac_cs_success=: |
---|
7791 | ac_config_status_args= |
---|
7792 | test "$silent" = yes && |
---|
7793 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
7794 | exec 5>/dev/null |
---|
7795 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
7796 | exec 5>>config.log |
---|
7797 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
7798 | # would make configure fail if this is the last instruction. |
---|
7799 | $ac_cs_success || { (exit 1); exit 1; } |
---|
7800 | fi |
---|
7801 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
7802 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
7803 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
7804 | fi |
---|
7805 | |
---|