/[zanavi_public1]/navit/configure
ZANavi

Contents of /navit/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 51 - (show annotations) (download)
Mon Jul 25 19:29:08 2016 UTC (2 years, 1 month ago) by zoff99
File size: 858959 byte(s)
v2.0.52
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for zanavi 1.0.0.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (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
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150 esac
151 fi
152 "
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167 exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200 fi
201 fi
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235 fi
236 exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254 { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263 return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334 else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351 else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378 else
379 as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384 else
385 as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461 *)
462 ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468 else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486 else
487 as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494 else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501 else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
532
533 case X$lt_ECHO in
534 X*--fallback-echo)
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537 ;;
538 esac
539
540 ECHO=${lt_ECHO-echo}
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
543 shift
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
546 :
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
549 :
550 else
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 fi
554
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
557 shift
558 cat <<_LT_EOF
559 $*
560 _LT_EOF
561 exit 0
562 fi
563
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
565 # if CDPATH is set.
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575 then
576 break
577 fi
578 done
579 fi
580
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
584 :
585 else
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
589 #
590 # So, first we look for a working echo in the user's PATH.
591
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
594 IFS="$lt_save_ifs"
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
599 ECHO="$dir/echo"
600 break
601 fi
602 done
603 IFS="$lt_save_ifs"
604
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
611 ECHO='print -r'
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
618 export CONFIG_SHELL
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620 else
621 # Try using printf.
622 ECHO='printf %s\n'
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
626 # Cool, printf works
627 :
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633 export CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
635 export SHELL
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
642 else
643 # maybe with a smaller string...
644 prev=:
645
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648 then
649 break
650 fi
651 prev="$cmd"
652 done
653
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658 else
659 # Oops. We lost completely, so just stick with echo.
660 ECHO=echo
661 fi
662 fi
663 fi
664 fi
665 fi
666 fi
667
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
670 lt_ECHO=$ECHO
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673 fi
674
675
676
677
678 test -n "$DJDIR" || exec 7<&0 </dev/null
679 exec 6>&1
680
681 # Name of the host.
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
686 #
687 # Initializations.
688 #
689 ac_default_prefix=/usr/local
690 ac_clean_files=
691 ac_config_libobj_dir=.
692 LIBOBJS=
693 cross_compiling=no
694 subdirs=
695 MFLAGS=
696 MAKEFLAGS=
697
698 # Identity of this package.
699 PACKAGE_NAME='zanavi'
700 PACKAGE_TARNAME='zanavi'
701 PACKAGE_VERSION='1.0.0'
702 PACKAGE_STRING='zanavi 1.0.0'
703 PACKAGE_BUGREPORT=''
704 PACKAGE_URL=''
705
706 # Factoring default headers for most tests.
707 ac_includes_default="\
708 #include <stdio.h>
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
711 #endif
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
714 #endif
715 #ifdef STDC_HEADERS
716 # include <stdlib.h>
717 # include <stddef.h>
718 #else
719 # ifdef HAVE_STDLIB_H
720 # include <stdlib.h>
721 # endif
722 #endif
723 #ifdef HAVE_STRING_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
725 # include <memory.h>
726 # endif
727 # include <string.h>
728 #endif
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
731 #endif
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
734 #endif
735 #ifdef HAVE_STDINT_H
736 # include <stdint.h>
737 #endif
738 #ifdef HAVE_UNISTD_H
739 # include <unistd.h>
740 #endif"
741
742 ac_header_list=
743 ac_subst_vars='am__EXEEXT_FALSE
744 am__EXEEXT_TRUE
745 LTLIBOBJS
746 LIBOBJS
747 WINDRES
748 LIBC_LIBS
749 WORDEXP_LIBS
750 NAVIT_LIBS
751 NAVIT_CFLAGS
752 LIBPDL_LIBS
753 LIBPDL_CFLAGS
754 VEHICLE_WEBOS_FALSE
755 VEHICLE_WEBOS_TRUE
756 IPHONE_LIBS
757 IPHONE_CFLAGS
758 VEHICLE_IPHONE_FALSE
759 VEHICLE_IPHONE_TRUE
760 VEHICLE_WINCE_FALSE
761 VEHICLE_WINCE_TRUE
762 VEHICLE_NULL_FALSE
763 VEHICLE_NULL_TRUE
764 VEHICLE_MAEMO_FALSE
765 VEHICLE_MAEMO_TRUE
766 LIBLOCATION_LIBS
767 LIBLOCATION_CFLAGS
768 VEHICLE_GYPSY_FALSE
769 VEHICLE_GYPSY_TRUE
770 GYPSY_LIBS
771 GYPSY_CFLAGS
772 VEHICLE_GPSD_FALSE
773 VEHICLE_GPSD_TRUE
774 LIBGPS19_LIBS
775 LIBGPS19_CFLAGS
776 GPSD_LIBS
777 GPSD_CFLAGS
778 VEHICLE_FILE_FALSE
779 VEHICLE_FILE_TRUE
780 VEHICLE_DEMO_FALSE
781 VEHICLE_DEMO_TRUE
782 VEHICLE_ANDROID_FALSE
783 VEHICLE_ANDROID_TRUE
784 SUPPORT_ESPEAK_FALSE
785 SUPPORT_ESPEAK_TRUE
786 SPEECH_SPEECH_DISPATCHER_FALSE
787 SPEECH_SPEECH_DISPATCHER_TRUE
788 SPEECHD_LIBS
789 SPEECHD_CFLAGS
790 SPEECH_ESPEAK_FALSE
791 SPEECH_ESPEAK_TRUE
792 SPEECH_CMDLINE_FALSE
793 SPEECH_CMDLINE_TRUE
794 SPEECH_ANDROID_FALSE
795 SPEECH_ANDROID_TRUE
796 ROUTING_FALSE
797 ROUTING_TRUE
798 PLUGIN_PEDESTRIAN_FALSE
799 PLUGIN_PEDESTRIAN_TRUE
800 GUI_QML_FALSE
801 GUI_QML_TRUE
802 QT_DECLARATIVE_LIBS
803 QT_DECLARATIVE_CFLAGS
804 QT_XML_LIBS
805 QT_XML_CFLAGS
806 GUI_WIN32_FALSE
807 GUI_WIN32_TRUE
808 GUI_INTERNAL_FALSE
809 GUI_INTERNAL_TRUE
810 GUI_GTK_FALSE
811 GUI_GTK_TRUE
812 OSD_CORE_FALSE
813 OSD_CORE_TRUE
814 MAP_CSV_FALSE
815 MAP_CSV_TRUE
816 MAP_TEXTFILE_FALSE
817 MAP_TEXTFILE_TRUE
818 MAP_SHAPEFILE_FALSE
819 MAP_SHAPEFILE_TRUE
820 MAP_MG_FALSE
821 MAP_MG_TRUE
822 MAP_FILTER_FALSE
823 MAP_FILTER_TRUE
824 MAP_BINFILE_FALSE
825 MAP_BINFILE_TRUE
826 MOC
827 GRAPHICS_QT_QPAINTER_FALSE
828 GRAPHICS_QT_QPAINTER_TRUE
829 QT_SVG_LIBS
830 QT_SVG_CFLAGS
831 QT_GUI_LIBS
832 QT_GUI_CFLAGS
833 GRAPHICS_WIN32_FALSE
834 GRAPHICS_WIN32_TRUE
835 GRAPHICS_NULL_FALSE
836 GRAPHICS_NULL_TRUE
837 GRAPHICS_GTK_DRAWING_AREA_FALSE
838 GRAPHICS_GTK_DRAWING_AREA_TRUE
839 GRAPHICS_GD_FALSE
840 GRAPHICS_GD_TRUE
841 GD_LIBS
842 GD_CFLAGS
843 GDLIB_CONFIG
844 GRAPHICS_ANDROID_FALSE
845 GRAPHICS_ANDROID_TRUE
846 GRAPHICS_FALSE
847 GRAPHICS_TRUE
848 SUPPORT_LIBC_FALSE
849 SUPPORT_LIBC_TRUE
850 SUPPORT_WORDEXP_FALSE
851 SUPPORT_WORDEXP_TRUE
852 XGETTEXT_GLADE_FALSE
853 XGETTEXT_GLADE_TRUE
854 ENABLE_NLS_FALSE
855 ENABLE_NLS_TRUE
856 POSUB
857 LTLIBINTL
858 LIBINTL
859 INTLLIBS
860 INTL_LIBTOOL_SUFFIX_PREFIX
861 INTLOBJS
862 GENCAT
863 INSTOBJEXT
864 DATADIRNAME
865 CATOBJEXT
866 USE_INCLUDED_LIBINTL
867 BUILD_INCLUDED_LIBINTL
868 INTLBISON
869 LTLIBICONV
870 LIBICONV
871 HAVE_WPRINTF
872 HAVE_SNPRINTF
873 HAVE_ASPRINTF
874 HAVE_POSIX_PRINTF
875 GLIBC21
876 ALLOCA
877 GMSGFMT
878 USE_NLS
879 MKINSTALLDIRS
880 POIFILES
881 POFILES
882 MOFILES
883 INTLIBS
884 MSGFMT
885 MSGMERGE
886 XGETTEXT
887 ANDROID_PROJECT
888 ANDROID_PERMISSIONS
889 SAXON
890 XSLTS
891 USE_SVG_FALSE
892 USE_SVG_TRUE
893 USE_SVG2PNG_FALSE
894 USE_SVG2PNG_TRUE
895 USE_SVG2PNG_SCALES_NAV_FALSE
896 USE_SVG2PNG_SCALES_NAV_TRUE
897 USE_SVG2PNG_SCALES_FLAG_FALSE
898 USE_SVG2PNG_SCALES_FLAG_TRUE
899 USE_SVG2PNG_SCALES_FALSE
900 USE_SVG2PNG_SCALES_TRUE
901 SVG2PNG_SCALES_NAV
902 SVG2PNG_SCALES_FLAG
903 SVG2PNG_SCALES
904 SVG2PNG
905 DBUS_SERVICE_DIR
906 SPEECH_DBUS_FALSE
907 SPEECH_DBUS_TRUE
908 VEHICLE_GPSD_DBUS_FALSE
909 VEHICLE_GPSD_DBUS_TRUE
910 BINDING_DBUS_FALSE
911 BINDING_DBUS_TRUE
912 DBUS_LIBS
913 DBUS_CFLAGS
914 BINDING_PYTHON_FALSE
915 BINDING_PYTHON_TRUE
916 PYTHON_LIBS
917 PYTHON_CFLAGS
918 PYTHONCONFIG
919 _PATH_PYTHON
920 HAVELIBGARMIN_FALSE
921 HAVELIBGARMIN_TRUE
922 LIBGARMIN_LIBS
923 LIBGARMIN_CFLAGS
924 HAVE_SYSTEM_SHAPEFILELIB_FALSE
925 HAVE_SYSTEM_SHAPEFILELIB_TRUE
926 SHAPEFILE_LIBS
927 SHAPEFILE_CFLAGS
928 GRAPHICS_OPENGL_FALSE
929 GRAPHICS_OPENGL_TRUE
930 GLC_LIBS
931 GLC_CFLAGS
932 FREEIMAGE_LIBS
933 OPENGL_LIBS
934 OPENGL_CFLAGS
935 IMLIB2_LIBS
936 IMLIB2_CFLAGS
937 FRIBIDI_LIBS
938 FRIBIDI_CFLAGS
939 FRIBIDI2_LIBS
940 FRIBIDI2_CFLAGS
941 FONTS_FALSE
942 FONTS_TRUE
943 FONTCONFIG_LIBS
944 FONTCONFIG_CFLAGS
945 FONT_FREETYPE_FALSE
946 FONT_FREETYPE_TRUE
947 FREETYPE2_LIBS
948 FREETYPE2_CFLAGS
949 HAVE_POSTGRESQL_FALSE
950 HAVE_POSTGRESQL_TRUE
951 POSTGRESQL_LIBS
952 POSTGRESQL_CFLAGS
953 PG_CONFIG
954 GRAPHICS_SDL_FALSE
955 GRAPHICS_SDL_TRUE
956 SDL_IMAGE_LIBS
957 SDL_LIBS
958 SDL_CFLAGS
959 GTK2_LIBS
960 GTK2_CFLAGS
961 ZLIB_LIBS
962 ZLIB_CFLAGS
963 SUPPORT_ZLIB_FALSE
964 SUPPORT_ZLIB_TRUE
965 SUPPORT_EZXML_FALSE
966 SUPPORT_EZXML_TRUE
967 SUPPORT_GLIB_FALSE
968 SUPPORT_GLIB_TRUE
969 EVENT_GLIB_FALSE
970 EVENT_GLIB_TRUE
971 LIBNAVIT
972 CXXCPP
973 OTOOL64
974 OTOOL
975 LIPO
976 NMEDIT
977 DSYMUTIL
978 lt_ECHO
979 RANLIB
980 AR
981 OBJDUMP
982 LN_S
983 NM
984 ac_ct_DUMPBIN
985 DUMPBIN
986 LD
987 FGREP
988 SED
989 LIBTOOL
990 BIN_NAVIT_FALSE
991 BIN_NAVIT_TRUE
992 SHARED_LIBNAVIT_FALSE
993 SHARED_LIBNAVIT_TRUE
994 PLUGINS_FALSE
995 PLUGINS_TRUE
996 CRYPTO_LIBS
997 GMODULE_LIBS
998 GMODULE_CFLAGS
999 GLIB_LIBS
1000 GLIB_CFLAGS
1001 FASTMATH_FALSE
1002 FASTMATH_TRUE
1003 BUILD_SAMPLEMAP_FALSE
1004 BUILD_SAMPLEMAP_TRUE
1005 MAPTOOL_FALSE
1006 MAPTOOL_TRUE
1007 _PATH_BZCAT
1008 USE_OSSO_FALSE
1009 USE_OSSO_TRUE
1010 LIBOSSO_LIBS
1011 LIBOSSO_CFLAGS
1012 USE_HILDON_FALSE
1013 USE_HILDON_TRUE
1014 GPSBT_LIBS
1015 GPSBT_CFLAGS
1016 HILDON_LIBS
1017 HILDON_CFLAGS
1018 NAVIT_VARIANT
1019 CCLD_FOR_BUILD
1020 CROSS_COMPILING_FALSE
1021 CROSS_COMPILING_TRUE
1022 cross_compiling
1023 CC_FOR_BUILD
1024 PKG_CONFIG
1025 am__fastdepCXX_FALSE
1026 am__fastdepCXX_TRUE
1027 CXXDEPMODE
1028 ac_ct_CXX
1029 CXXFLAGS
1030 CXX
1031 am__fastdepOBJC_FALSE
1032 am__fastdepOBJC_TRUE
1033 OBJCDEPMODE
1034 ac_ct_OBJC
1035 OBJCFLAGS
1036 OBJC
1037 EGREP
1038 GREP
1039 CPP
1040 am__fastdepCC_FALSE
1041 am__fastdepCC_TRUE
1042 CCDEPMODE
1043 AMDEPBACKSLASH
1044 AMDEP_FALSE
1045 AMDEP_TRUE
1046 am__quote
1047 am__include
1048 DEPDIR
1049 OBJEXT
1050 EXEEXT
1051 ac_ct_CC
1052 CPPFLAGS
1053 LDFLAGS
1054 CFLAGS
1055 CC
1056 NAVIT_SOCKET_LDFLAGS
1057 NAVIT_MODULE_LDFLAGS
1058 MODULE_LIBADD
1059 MODULE_LDFLAGS
1060 SUPPORT_LIBPNG_FALSE
1061 SUPPORT_LIBPNG_TRUE
1062 SUPPORT_ANDROID_FALSE
1063 SUPPORT_ANDROID_TRUE
1064 SUPPORT_WIN32CE_FALSE
1065 SUPPORT_WIN32CE_TRUE
1066 SUPPORT_WIN32_FALSE
1067 SUPPORT_WIN32_TRUE
1068 host_os
1069 host_vendor
1070 host_cpu
1071 host
1072 build_os
1073 build_vendor
1074 build_cpu
1075 build
1076 MAINT
1077 MAINTAINER_MODE_FALSE
1078 MAINTAINER_MODE_TRUE
1079 SOURCE_MODE_SVN_FALSE
1080 SOURCE_MODE_SVN_TRUE
1081 SOURCE_MODE
1082 am__untar
1083 am__tar
1084 AMTAR
1085 am__leading_dot
1086 SET_MAKE
1087 AWK
1088 mkdir_p
1089 MKDIR_P
1090 INSTALL_STRIP_PROGRAM
1091 STRIP
1092 install_sh
1093 MAKEINFO
1094 AUTOHEADER
1095 AUTOMAKE
1096 AUTOCONF
1097 ACLOCAL
1098 VERSION
1099 PACKAGE
1100 CYGPATH_W
1101 am__isrc
1102 INSTALL_DATA
1103 INSTALL_SCRIPT
1104 INSTALL_PROGRAM
1105 target_alias
1106 host_alias
1107 build_alias
1108 LIBS
1109 ECHO_T
1110 ECHO_N
1111 ECHO_C
1112 DEFS
1113 mandir
1114 localedir
1115 libdir
1116 psdir
1117 pdfdir
1118 dvidir
1119 htmldir
1120 infodir
1121 docdir
1122 oldincludedir
1123 includedir
1124 localstatedir
1125 sharedstatedir
1126 sysconfdir
1127 datadir
1128 datarootdir
1129 libexecdir
1130 sbindir
1131 bindir
1132 program_transform_name
1133 prefix
1134 exec_prefix
1135 PACKAGE_URL
1136 PACKAGE_BUGREPORT
1137 PACKAGE_STRING
1138 PACKAGE_VERSION
1139 PACKAGE_TARNAME
1140 PACKAGE_NAME
1141 PATH_SEPARATOR
1142 SHELL'
1143 ac_subst_files=''
1144 ac_user_opts='
1145 enable_option_checking
1146 enable_maintainer_mode
1147 enable_dependency_tracking
1148 enable_variant
1149 enable_cache_size
1150 enable_avoid_unaligned
1151 enable_avoid_float
1152 enable_transformation_roll
1153 enable_hildon
1154 enable_osso
1155 enable_garmin
1156 enable_maptool
1157 enable_samplemap
1158 enable_fastmath
1159 enable_glib
1160 enable_gmodule
1161 enable_plugins
1162 enable_shared_libnavit
1163 enable_shared
1164 enable_static
1165 with_pic
1166 enable_fast_install
1167 with_gnu_ld
1168 enable_libtool_lock
1169 enable_graphics_sdl
1170 enable_postgresql
1171 enable_font_freetype
1172 with_freetype_fonts
1173 enable_fontconfig
1174 enable_fribidi
1175 enable_graphics_opengl
1176 enable_binding_python
1177 enable_binding_dbus
1178 enable_binding_dbus_use_system_bus
1179 with_dbus_service_dir
1180 enable_svg
1181 enable_svg2png
1182 enable_svg2png_scaling
1183 enable_svg2png_scaling_flag
1184 enable_svg2png_scaling_nav
1185 with_svg2png_use_convert
1186 with_svg2png_use_rsvg_convert
1187 with_svg2png_use_inkscape
1188 with_svg2png_use_ksvgtopng4
1189 with_svg2png_use_ksvgtopng
1190 with_xslts
1191 with_saxon
1192 with_android_permissions
1193 with_android_project
1194 enable_nls
1195 enable_rpath
1196 with_libiconv_prefix
1197 with_included_gettext
1198 with_libintl_prefix
1199 enable_support_libc
1200 enable_graphics
1201 enable_graphics_android
1202 enable_graphics_gd
1203 enable_graphics_gtk_drawing_area
1204 enable_graphics_null
1205 enable_graphics_win32
1206 enable_graphics_qt_qpainter
1207 enable_map_binfile
1208 enable_map_filter
1209 enable_map_mg
1210 enable_map_shapefile
1211 enable_map_textfile
1212 enable_map_csv
1213 enable_osd_core
1214 enable_gui_gtk
1215 enable_gui_internal
1216 enable_gui_win32
1217 enable_gui_qml
1218 enable_plugin_pedestrian
1219 enable_routing
1220 enable_speech_android
1221 enable_speech_cmdline
1222 enable_speech_espeak
1223 enable_speech_speech_dispatcher
1224 enable_vehicle_android
1225 enable_vehicle_demo
1226 enable_vehicle_file
1227 enable_vehicle_gpsd
1228 enable_vehicle_gypsy
1229 enable_vehicle_maemo
1230 enable_vehicle_null
1231 enable_vehicle_wince
1232 enable_vehicle_iphone
1233 enable_vehicle_webos
1234 '
1235 ac_precious_vars='build_alias
1236 host_alias
1237 target_alias
1238 CC
1239 CFLAGS
1240 LDFLAGS
1241 LIBS
1242 CPPFLAGS
1243 CPP
1244 OBJC
1245 OBJCFLAGS
1246 CXX
1247 CXXFLAGS
1248 CCC
1249 PKG_CONFIG
1250 HILDON_CFLAGS
1251 HILDON_LIBS
1252 GPSBT_CFLAGS
1253 GPSBT_LIBS
1254 LIBOSSO_CFLAGS
1255 LIBOSSO_LIBS
1256 GLIB_CFLAGS
1257 GLIB_LIBS
1258 GMODULE_CFLAGS
1259 GMODULE_LIBS
1260 CXXCPP
1261 GTK2_CFLAGS
1262 GTK2_LIBS
1263 SDL_CFLAGS
1264 SDL_LIBS
1265 FREETYPE2_CFLAGS
1266 FREETYPE2_LIBS
1267 FONTCONFIG_CFLAGS
1268 FONTCONFIG_LIBS
1269 FRIBIDI2_CFLAGS
1270 FRIBIDI2_LIBS
1271 FRIBIDI_CFLAGS
1272 FRIBIDI_LIBS
1273 IMLIB2_CFLAGS
1274 IMLIB2_LIBS
1275 LIBGARMIN_CFLAGS
1276 LIBGARMIN_LIBS
1277 DBUS_CFLAGS
1278 DBUS_LIBS
1279 QT_GUI_CFLAGS
1280 QT_GUI_LIBS
1281 QT_SVG_CFLAGS
1282 QT_SVG_LIBS
1283 QT_XML_CFLAGS
1284 QT_XML_LIBS
1285 QT_DECLARATIVE_CFLAGS
1286 QT_DECLARATIVE_LIBS
1287 GPSD_CFLAGS
1288 GPSD_LIBS
1289 LIBGPS19_CFLAGS
1290 LIBGPS19_LIBS
1291 GYPSY_CFLAGS
1292 GYPSY_LIBS
1293 LIBLOCATION_CFLAGS
1294 LIBLOCATION_LIBS'
1295
1296
1297 # Initialize some variables set by options.
1298 ac_init_help=
1299 ac_init_version=false
1300 ac_unrecognized_opts=
1301 ac_unrecognized_sep=
1302 # The variables have the same names as the options, with
1303 # dashes changed to underlines.
1304 cache_file=/dev/null
1305 exec_prefix=NONE
1306 no_create=
1307 no_recursion=
1308 prefix=NONE
1309 program_prefix=NONE
1310 program_suffix=NONE
1311 program_transform_name=s,x,x,
1312 silent=
1313 site=
1314 srcdir=
1315 verbose=
1316 x_includes=NONE
1317 x_libraries=NONE
1318
1319 # Installation directory options.
1320 # These are left unexpanded so users can "make install exec_prefix=/foo"
1321 # and all the variables that are supposed to be based on exec_prefix
1322 # by default will actually change.
1323 # Use braces instead of parens because sh, perl, etc. also accept them.
1324 # (The list follows the same order as the GNU Coding Standards.)
1325 bindir='${exec_prefix}/bin'
1326 sbindir='${exec_prefix}/sbin'
1327 libexecdir='${exec_prefix}/libexec'
1328 datarootdir='${prefix}/share'
1329 datadir='${datarootdir}'
1330 sysconfdir='${prefix}/etc'
1331 sharedstatedir='${prefix}/com'
1332 localstatedir='${prefix}/var'
1333 includedir='${prefix}/include'
1334 oldincludedir='/usr/include'
1335 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1336 infodir='${datarootdir}/info'
1337 htmldir='${docdir}'
1338 dvidir='${docdir}'
1339 pdfdir='${docdir}'
1340 psdir='${docdir}'
1341 libdir='${exec_prefix}/lib'
1342 localedir='${datarootdir}/locale'
1343 mandir='${datarootdir}/man'
1344
1345 ac_prev=
1346 ac_dashdash=
1347 for ac_option
1348 do
1349 # If the previous option needs an argument, assign it.
1350 if test -n "$ac_prev"; then
1351 eval $ac_prev=\$ac_option
1352 ac_prev=
1353 continue
1354 fi
1355
1356 case $ac_option in
1357 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1358 *) ac_optarg=yes ;;
1359 esac
1360
1361 # Accept the important Cygnus configure options, so we can diagnose typos.
1362
1363 case $ac_dashdash$ac_option in
1364 --)
1365 ac_dashdash=yes ;;
1366
1367 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1368 ac_prev=bindir ;;
1369 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1370 bindir=$ac_optarg ;;
1371
1372 -build | --build | --buil | --bui | --bu)
1373 ac_prev=build_alias ;;
1374 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1375 build_alias=$ac_optarg ;;
1376
1377 -cache-file | --cache-file | --cache-fil | --cache-fi \
1378 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1379 ac_prev=cache_file ;;
1380 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1381 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1382 cache_file=$ac_optarg ;;
1383
1384 --config-cache | -C)
1385 cache_file=config.cache ;;
1386
1387 -datadir | --datadir | --datadi | --datad)
1388 ac_prev=datadir ;;
1389 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1390 datadir=$ac_optarg ;;
1391
1392 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1393 | --dataroo | --dataro | --datar)
1394 ac_prev=datarootdir ;;
1395 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1396 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1397 datarootdir=$ac_optarg ;;
1398
1399 -disable-* | --disable-*)
1400 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1403 as_fn_error "invalid feature name: $ac_useropt"
1404 ac_useropt_orig=$ac_useropt
1405 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1406 case $ac_user_opts in
1407 *"
1408 "enable_$ac_useropt"
1409 "*) ;;
1410 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1411 ac_unrecognized_sep=', ';;
1412 esac
1413 eval enable_$ac_useropt=no ;;
1414
1415 -docdir | --docdir | --docdi | --doc | --do)
1416 ac_prev=docdir ;;
1417 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1418 docdir=$ac_optarg ;;
1419
1420 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1421 ac_prev=dvidir ;;
1422 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1423 dvidir=$ac_optarg ;;
1424
1425 -enable-* | --enable-*)
1426 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1427 # Reject names that are not valid shell variable names.
1428 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1429 as_fn_error "invalid feature name: $ac_useropt"
1430 ac_useropt_orig=$ac_useropt
1431 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1432 case $ac_user_opts in
1433 *"
1434 "enable_$ac_useropt"
1435 "*) ;;
1436 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1437 ac_unrecognized_sep=', ';;
1438 esac
1439 eval enable_$ac_useropt=\$ac_optarg ;;
1440
1441 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1442 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1443 | --exec | --exe | --ex)
1444 ac_prev=exec_prefix ;;
1445 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1446 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1447 | --exec=* | --exe=* | --ex=*)
1448 exec_prefix=$ac_optarg ;;
1449
1450 -gas | --gas | --ga | --g)
1451 # Obsolete; use --with-gas.
1452 with_gas=yes ;;
1453
1454 -help | --help | --hel | --he | -h)
1455 ac_init_help=long ;;
1456 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1457 ac_init_help=recursive ;;
1458 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1459 ac_init_help=short ;;
1460
1461 -host | --host | --hos | --ho)
1462 ac_prev=host_alias ;;
1463 -host=* | --host=* | --hos=* | --ho=*)
1464 host_alias=$ac_optarg ;;
1465
1466 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1467 ac_prev=htmldir ;;
1468 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1469 | --ht=*)
1470 htmldir=$ac_optarg ;;
1471
1472 -includedir | --includedir | --includedi | --included | --include \
1473 | --includ | --inclu | --incl | --inc)
1474 ac_prev=includedir ;;
1475 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1476 | --includ=* | --inclu=* | --incl=* | --inc=*)
1477 includedir=$ac_optarg ;;
1478
1479 -infodir | --infodir | --infodi | --infod | --info | --inf)
1480 ac_prev=infodir ;;
1481 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1482 infodir=$ac_optarg ;;
1483
1484 -libdir | --libdir | --libdi | --libd)
1485 ac_prev=libdir ;;
1486 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1487 libdir=$ac_optarg ;;
1488
1489 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1490 | --libexe | --libex | --libe)
1491 ac_prev=libexecdir ;;
1492 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1493 | --libexe=* | --libex=* | --libe=*)
1494 libexecdir=$ac_optarg ;;
1495
1496 -localedir | --localedir | --localedi | --localed | --locale)
1497 ac_prev=localedir ;;
1498 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1499 localedir=$ac_optarg ;;
1500
1501 -localstatedir | --localstatedir | --localstatedi | --localstated \
1502 | --localstate | --localstat | --localsta | --localst | --locals)
1503 ac_prev=localstatedir ;;
1504 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1505 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1506 localstatedir=$ac_optarg ;;
1507
1508 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1509 ac_prev=mandir ;;
1510 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1511 mandir=$ac_optarg ;;
1512
1513 -nfp | --nfp | --nf)
1514 # Obsolete; use --without-fp.
1515 with_fp=no ;;
1516
1517 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1518 | --no-cr | --no-c | -n)
1519 no_create=yes ;;
1520
1521 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1522 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1523 no_recursion=yes ;;
1524
1525 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1526 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1527 | --oldin | --oldi | --old | --ol | --o)
1528 ac_prev=oldincludedir ;;
1529 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1530 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1531 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1532 oldincludedir=$ac_optarg ;;
1533
1534 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1535 ac_prev=prefix ;;
1536 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1537 prefix=$ac_optarg ;;
1538
1539 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1540 | --program-pre | --program-pr | --program-p)
1541 ac_prev=program_prefix ;;
1542 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1543 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1544 program_prefix=$ac_optarg ;;
1545
1546 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1547 | --program-suf | --program-su | --program-s)
1548 ac_prev=program_suffix ;;
1549 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1550 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1551 program_suffix=$ac_optarg ;;
1552
1553 -program-transform-name | --program-transform-name \
1554 | --program-transform-nam | --program-transform-na \
1555 | --program-transform-n | --program-transform- \
1556 | --program-transform | --program-transfor \
1557 | --program-transfo | --program-transf \
1558 | --program-trans | --program-tran \
1559 | --progr-tra | --program-tr | --program-t)
1560 ac_prev=program_transform_name ;;
1561 -program-transform-name=* | --program-transform-name=* \
1562 | --program-transform-nam=* | --program-transform-na=* \
1563 | --program-transform-n=* | --program-transform-=* \
1564 | --program-transform=* | --program-transfor=* \
1565 | --program-transfo=* | --program-transf=* \
1566 | --program-trans=* | --program-tran=* \
1567 | --progr-tra=* | --program-tr=* | --program-t=*)
1568 program_transform_name=$ac_optarg ;;
1569
1570 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1571 ac_prev=pdfdir ;;
1572 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1573 pdfdir=$ac_optarg ;;
1574
1575 -psdir | --psdir | --psdi | --psd | --ps)
1576 ac_prev=psdir ;;
1577 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1578 psdir=$ac_optarg ;;
1579
1580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1581 | -silent | --silent | --silen | --sile | --sil)
1582 silent=yes ;;
1583
1584 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1585 ac_prev=sbindir ;;
1586 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1587 | --sbi=* | --sb=*)
1588 sbindir=$ac_optarg ;;
1589
1590 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1591 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1592 | --sharedst | --shareds | --shared | --share | --shar \
1593 | --sha | --sh)
1594 ac_prev=sharedstatedir ;;
1595 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1596 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1597 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1598 | --sha=* | --sh=*)
1599 sharedstatedir=$ac_optarg ;;
1600
1601 -site | --site | --sit)
1602 ac_prev=site ;;
1603 -site=* | --site=* | --sit=*)
1604 site=$ac_optarg ;;
1605
1606 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1607 ac_prev=srcdir ;;
1608 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1609 srcdir=$ac_optarg ;;
1610
1611 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1612 | --syscon | --sysco | --sysc | --sys | --sy)
1613 ac_prev=sysconfdir ;;
1614 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1615 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1616 sysconfdir=$ac_optarg ;;
1617
1618 -target | --target | --targe | --targ | --tar | --ta | --t)
1619 ac_prev=target_alias ;;
1620 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1621 target_alias=$ac_optarg ;;
1622
1623 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1624 verbose=yes ;;
1625
1626 -version | --version | --versio | --versi | --vers | -V)
1627 ac_init_version=: ;;
1628
1629 -with-* | --with-*)
1630 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1631 # Reject names that are not valid shell variable names.
1632 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1633 as_fn_error "invalid package name: $ac_useropt"
1634 ac_useropt_orig=$ac_useropt
1635 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1636 case $ac_user_opts in
1637 *"
1638 "with_$ac_useropt"
1639 "*) ;;
1640 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1641 ac_unrecognized_sep=', ';;
1642 esac
1643 eval with_$ac_useropt=\$ac_optarg ;;
1644
1645 -without-* | --without-*)
1646 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1647 # Reject names that are not valid shell variable names.
1648 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1649 as_fn_error "invalid package name: $ac_useropt"
1650 ac_useropt_orig=$ac_useropt
1651 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1652 case $ac_user_opts in
1653 *"
1654 "with_$ac_useropt"
1655 "*) ;;
1656 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1657 ac_unrecognized_sep=', ';;
1658 esac
1659 eval with_$ac_useropt=no ;;
1660
1661 --x)
1662 # Obsolete; use --with-x.
1663 with_x=yes ;;
1664
1665 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1666 | --x-incl | --x-inc | --x-in | --x-i)
1667 ac_prev=x_includes ;;
1668 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1669 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1670 x_includes=$ac_optarg ;;
1671
1672 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1673 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1674 ac_prev=x_libraries ;;
1675 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1676 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1677 x_libraries=$ac_optarg ;;
1678
1679 -*) as_fn_error "unrecognized option: \`$ac_option'
1680 Try \`$0 --help' for more information."
1681 ;;
1682
1683 *=*)
1684 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1685 # Reject names that are not valid shell variable names.
1686 case $ac_envvar in #(
1687 '' | [0-9]* | *[!_$as_cr_alnum]* )
1688 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1689 esac
1690 eval $ac_envvar=\$ac_optarg
1691 export $ac_envvar ;;
1692
1693 *)
1694 # FIXME: should be removed in autoconf 3.0.
1695 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1696 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1697 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1698 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1699 ;;
1700
1701 esac
1702 done
1703
1704 if test -n "$ac_prev"; then
1705 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1706 as_fn_error "missing argument to $ac_option"
1707 fi
1708
1709 if test -n "$ac_unrecognized_opts"; then
1710 case $enable_option_checking in
1711 no) ;;
1712 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1713 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1714 esac
1715 fi
1716
1717 # Check all directory arguments for consistency.
1718 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1719 datadir sysconfdir sharedstatedir localstatedir includedir \
1720 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1721 libdir localedir mandir
1722 do
1723 eval ac_val=\$$ac_var
1724 # Remove trailing slashes.
1725 case $ac_val in
1726 */ )
1727 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1728 eval $ac_var=\$ac_val;;
1729 esac
1730 # Be sure to have absolute directory names.
1731 case $ac_val in
1732 [\\/$]* | ?:[\\/]* ) continue;;
1733 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1734 esac
1735 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1736 done
1737
1738 # There might be people who depend on the old broken behavior: `$host'
1739 # used to hold the argument of --host etc.
1740 # FIXME: To remove some day.
1741 build=$build_alias
1742 host=$host_alias
1743 target=$target_alias
1744
1745 # FIXME: To remove some day.
1746 if test "x$host_alias" != x; then
1747 if test "x$build_alias" = x; then
1748 cross_compiling=maybe
1749 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1750 If a cross compiler is detected then cross compile mode will be used." >&2
1751 elif test "x$build_alias" != "x$host_alias"; then
1752 cross_compiling=yes
1753 fi
1754 fi
1755
1756 ac_tool_prefix=
1757 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1758
1759 test "$silent" = yes && exec 6>/dev/null
1760
1761
1762 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1763 ac_ls_di=`ls -di .` &&
1764 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1765 as_fn_error "working directory cannot be determined"
1766 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1767 as_fn_error "pwd does not report name of working directory"
1768
1769
1770 # Find the source files, if location was not specified.
1771 if test -z "$srcdir"; then
1772 ac_srcdir_defaulted=yes
1773 # Try the directory containing this script, then the parent directory.
1774 ac_confdir=`$as_dirname -- "$as_myself" ||
1775 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1776 X"$as_myself" : 'X\(//\)[^/]' \| \
1777 X"$as_myself" : 'X\(//\)$' \| \
1778 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1779 $as_echo X"$as_myself" |
1780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1781 s//\1/
1782 q
1783 }
1784 /^X\(\/\/\)[^/].*/{
1785 s//\1/
1786 q
1787 }
1788 /^X\(\/\/\)$/{
1789 s//\1/
1790 q
1791 }
1792 /^X\(\/\).*/{
1793 s//\1/
1794 q
1795 }
1796 s/.*/./; q'`
1797 srcdir=$ac_confdir
1798 if test ! -r "$srcdir/$ac_unique_file"; then
1799 srcdir=..
1800 fi
1801 else
1802 ac_srcdir_defaulted=no
1803 fi
1804 if test ! -r "$srcdir/$ac_unique_file"; then
1805 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1806 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1807 fi
1808 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1809 ac_abs_confdir=`(
1810 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1811 pwd)`
1812 # When building in place, set srcdir=.
1813 if test "$ac_abs_confdir" = "$ac_pwd"; then
1814 srcdir=.
1815 fi
1816 # Remove unnecessary trailing slashes from srcdir.
1817 # Double slashes in file names in object file debugging info
1818 # mess up M-x gdb in Emacs.
1819 case $srcdir in
1820 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1821 esac
1822 for ac_var in $ac_precious_vars; do
1823 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1824 eval ac_env_${ac_var}_value=\$${ac_var}
1825 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1826 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1827 done
1828
1829 #
1830 # Report the --help message.
1831 #
1832 if test "$ac_init_help" = "long"; then
1833 # Omit some internal or obsolete options to make the list less imposing.
1834 # This message is too long to be a string in the A/UX 3.1 sh.
1835 cat <<_ACEOF
1836 \`configure' configures zanavi 1.0.0 to adapt to many kinds of systems.
1837
1838 Usage: $0 [OPTION]... [VAR=VALUE]...
1839
1840 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1841 VAR=VALUE. See below for descriptions of some of the useful variables.
1842
1843 Defaults for the options are specified in brackets.
1844
1845 Configuration:
1846 -h, --help display this help and exit
1847 --help=short display options specific to this package
1848 --help=recursive display the short help of all the included packages
1849 -V, --version display version information and exit
1850 -q, --quiet, --silent do not print \`checking...' messages
1851 --cache-file=FILE cache test results in FILE [disabled]
1852 -C, --config-cache alias for \`--cache-file=config.cache'
1853 -n, --no-create do not create output files
1854 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1855
1856 Installation directories:
1857 --prefix=PREFIX install architecture-independent files in PREFIX
1858 [$ac_default_prefix]
1859 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1860 [PREFIX]
1861
1862 By default, \`make install' will install all the files in
1863 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1864 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1865 for instance \`--prefix=\$HOME'.
1866
1867 For better control, use the options below.
1868
1869 Fine tuning of the installation directories:
1870 --bindir=DIR user executables [EPREFIX/bin]
1871 --sbindir=DIR system admin executables [EPREFIX/sbin]
1872 --libexecdir=DIR program executables [EPREFIX/libexec]
1873 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1874 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1875 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1876 --libdir=DIR object code libraries [EPREFIX/lib]
1877 --includedir=DIR C header files [PREFIX/include]
1878 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1879 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1880 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1881 --infodir=DIR info documentation [DATAROOTDIR/info]
1882 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1883 --mandir=DIR man documentation [DATAROOTDIR/man]
1884 --docdir=DIR documentation root [DATAROOTDIR/doc/zanavi]
1885 --htmldir=DIR html documentation [DOCDIR]
1886 --dvidir=DIR dvi documentation [DOCDIR]
1887 --pdfdir=DIR pdf documentation [DOCDIR]
1888 --psdir=DIR ps documentation [DOCDIR]
1889 _ACEOF
1890
1891 cat <<\_ACEOF
1892
1893 Program names:
1894 --program-prefix=PREFIX prepend PREFIX to installed program names
1895 --program-suffix=SUFFIX append SUFFIX to installed program names
1896 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1897
1898 System types:
1899 --build=BUILD configure for building on BUILD [guessed]
1900 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1901 _ACEOF
1902 fi
1903
1904 if test -n "$ac_init_help"; then
1905 case $ac_init_help in
1906 short | recursive ) echo "Configuration of zanavi 1.0.0:";;
1907 esac
1908 cat <<\_ACEOF
1909
1910 Optional Features:
1911 --disable-option-checking ignore unrecognized --enable/--with options
1912 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1913 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1914 --enable-maintainer-mode enable make rules and dependencies not useful
1915 (and sometimes confusing) to the casual installer
1916 --disable-dependency-tracking speeds up one-time build
1917 --enable-dependency-tracking do not reject slow dependency extractors
1918 --enable-variant=something set variant
1919 --enable-cache-size=size in bytes set cache size
1920 --enable-avoid-unaligned avoid unaligned accesses
1921 --enable-avoid-float avoid floating point calculations
1922 --enable-transformation-roll add support for specifying roll angle in transformation
1923 --disable-hildon build without maemo/hildon support
1924 --disable-osso build without maemo/osso support
1925 --disable-garmin disable garmin support
1926 --disable-maptool don't build maptool
1927 --disable-samplemap don't build the samplemap
1928 --disable-fastmath don't build with fastmath
1929 --disable-glib don't build with external glib
1930 --disable-gmodule don't build with gmodule
1931 --disable-plugins disable plugins
1932 --enable-shared-libnavit
1933 --enable-shared[=PKGS] build shared libraries [default=yes]
1934 --enable-static[=PKGS] build static libraries [default=no]
1935 --enable-fast-install[=PKGS]
1936 optimize for fast installation [default=yes]
1937 --disable-libtool-lock avoid locking (might break parallel builds)
1938 --disable-graphics-sdl don't create graphics sdl
1939 --disable-postgresql don't add postgresql support to maptool
1940 --disable-font-freetype don't add freetype support
1941 --disable-fontconfig don't' add fontconfig support
1942 --disable-fribidi dont build with fribidi
1943 --disable-graphics-opengl disable graphics type OpenGL
1944 --disable-binding-python don't create binding python
1945 --disable-binding-dbus don't create binding dbus
1946 --enable-binding-dbus-use-system-bus use system bus for dbus binding
1947 --disable-svg disable Scalable Vector Graphics
1948 --disable-svg2png disable conversion of svgs to pngs
1949 --enable-svg2png-scaling enable conversion of svgs to pngs with specified sizes
1950 --enable-svg2png-scaling-flag enable conversion of flag svgs to pngs with specified sizes
1951 --enable-svg2png-scaling-nav enable conversion of nav svgs to pngs with specified sizes
1952 --disable-nls disable Native Language Support ( gettext/libintl )
1953 --disable-nls do not use Native Language Support
1954 --disable-rpath do not hardcode runtime library paths
1955 --enable-support-libc enable builtin mini libc
1956 --disable-graphics disable graphics
1957 --disable-graphics-android disable graphics type android
1958 --enable-graphics-gd enable graphics type gd
1959 --disable-graphics-gtk-drawing-area disable graphics type gtk_drawing_area
1960 --disable-graphics-null disable graphics type null
1961 --disable-graphics-win32 disable graphics type win32
1962 --disable-graphics-qt-qpainter disable graphics type qt-qpainter
1963 --disable-map-binfile disable map binfile
1964 --disable-map-filter disable map filter
1965 --disable-map-mg disable map mg
1966 --disable-map-shapefile disable map shapefile
1967 --disable-map-textfile disable map textfile
1968 --disable-map-csv disable map csv
1969 --disable-osd-core disable osd core
1970 --disable-gui-gtk disable gui type gtk
1971 --disable-gui-internal disable gui type internal
1972 --disable-gui-win32 disable gui type win32
1973 --disable-gui-qml disable gui type QML
1974 --enable-plugin-pedestrian enable pedestrian plugin
1975 --disable-routing disable routing
1976 --disable-speech-android disable speech type android
1977 --disable-speech-cmdline disable speech type cmdline
1978 --disable-speech-espeak disable speech type espeak
1979 --disable-speech-speech-dispatcher disable speech type speech-dispatcher
1980 --disable-vehicle-android disable vehicle type android
1981 --disable-vehicle-demo disable vehicle type demo
1982 --disable-vehicle-file disable vehicle type file
1983 --disable-vehicle-gpsd disable vehicle type gpsd
1984 --disable-vehicle-gypsy disable vehicle type gypsy
1985 --disable-vehicle-maemo disable vehicle type maemo
1986 --enable-vehicle-null enable vehicle type null
1987 --disable-vehicle-wince disable vehicle type wince
1988 --disable-vehicle-iphone disable vehicle type iphone
1989 --enable-vehicle-webos enable vehicle type webos
1990
1991 Optional Packages:
1992 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1993 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1994 --with-pic try to use only PIC/non-PIC objects [default=use
1995 both]
1996 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1997 --with-freetype-fonts specify what fonts to use
1998 --with-dbus-service-dir specify where the dbus service dir resides
1999 --with-svg2png-use-convert use imagemagick's convert for png creation
2000 --with-svg2png-use-rsvg-convert use librsvg's rsvg-convert for png creation
2001 --with-svg2png-use-inkscape use inkscapes internal convert routines for png creation
2002 --with-svg2png-use-ksvgtopng4 use kde4's ksvgtopng4 for png creation
2003 --with-svg2png-use-ksvgtopng use kde3's convert for png creation
2004 --with-xslts enable processing of navit.xml with given xslt scripts
2005 --with-saxon specify the saxon xslt processor
2006 --with-android-permissions Set additional android permissions
2007 --with-android-project Set android project
2008 --with-gnu-ld assume the C compiler uses GNU ld default=no
2009 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2010 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2011 --with-included-gettext use the GNU gettext library included here
2012 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2013 --without-libintl-prefix don't search for libintl in includedir and libdir
2014
2015 Some influential environment variables:
2016 CC C compiler command
2017 CFLAGS C compiler flags
2018 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2019 nonstandard directory <lib dir>
2020 LIBS libraries to pass to the linker, e.g. -l<library>
2021 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2022 you have headers in a nonstandard directory <include dir>
2023 CPP C preprocessor
2024 OBJC Objective C compiler command
2025 OBJCFLAGS Objective C compiler flags
2026 CXX C++ compiler command
2027 CXXFLAGS C++ compiler flags
2028 PKG_CONFIG path to pkg-config utility
2029 HILDON_CFLAGS
2030 C compiler flags for HILDON, overriding pkg-config
2031 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2032 GPSBT_CFLAGS
2033 C compiler flags for GPSBT, overriding pkg-config
2034 GPSBT_LIBS linker flags for GPSBT, overriding pkg-config
2035 LIBOSSO_CFLAGS
2036 C compiler flags for LIBOSSO, overriding pkg-config
2037 LIBOSSO_LIBS
2038 linker flags for LIBOSSO, overriding pkg-config
2039 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2040 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2041 GMODULE_CFLAGS
2042 C compiler flags for GMODULE, overriding pkg-config
2043 GMODULE_LIBS
2044 linker flags for GMODULE, overriding pkg-config
2045 CXXCPP C++ preprocessor
2046 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
2047 GTK2_LIBS linker flags for GTK2, overriding pkg-config
2048 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2049 SDL_LIBS linker flags for SDL, overriding pkg-config
2050 FREETYPE2_CFLAGS
2051 C compiler flags for FREETYPE2, overriding pkg-config
2052 FREETYPE2_LIBS
2053 linker flags for FREETYPE2, overriding pkg-config
2054 FONTCONFIG_CFLAGS
2055 C compiler flags for FONTCONFIG, overriding pkg-config
2056 FONTCONFIG_LIBS
2057 linker flags for FONTCONFIG, overriding pkg-config
2058 FRIBIDI2_CFLAGS
2059 C compiler flags for FRIBIDI2, overriding pkg-config
2060 FRIBIDI2_LIBS
2061 linker flags for FRIBIDI2, overriding pkg-config
2062 FRIBIDI_CFLAGS
2063 C compiler flags for FRIBIDI, overriding pkg-config
2064 FRIBIDI_LIBS
2065 linker flags for FRIBIDI, overriding pkg-config
2066 IMLIB2_CFLAGS
2067 C compiler flags for IMLIB2, overriding pkg-config
2068 IMLIB2_LIBS linker flags for IMLIB2, overriding pkg-config
2069 LIBGARMIN_CFLAGS
2070 C compiler flags for LIBGARMIN, overriding pkg-config
2071 LIBGARMIN_LIBS
2072 linker flags for LIBGARMIN, overriding pkg-config
2073 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
2074 DBUS_LIBS linker flags for DBUS, overriding pkg-config
2075 QT_GUI_CFLAGS
2076 C compiler flags for QT_GUI, overriding pkg-config
2077 QT_GUI_LIBS linker flags for QT_GUI, overriding pkg-config
2078 QT_SVG_CFLAGS
2079 C compiler flags for QT_SVG, overriding pkg-config
2080 QT_SVG_LIBS linker flags for QT_SVG, overriding pkg-config
2081 QT_XML_CFLAGS
2082 C compiler flags for QT_XML, overriding pkg-config
2083 QT_XML_LIBS linker flags for QT_XML, overriding pkg-config
2084 QT_DECLARATIVE_CFLAGS
2085 C compiler flags for QT_DECLARATIVE, overriding pkg-config
2086 QT_DECLARATIVE_LIBS
2087 linker flags for QT_DECLARATIVE, overriding pkg-config
2088 GPSD_CFLAGS C compiler flags for GPSD, overriding pkg-config
2089 GPSD_LIBS linker flags for GPSD, overriding pkg-config
2090 LIBGPS19_CFLAGS
2091 C compiler flags for LIBGPS19, overriding pkg-config
2092 LIBGPS19_LIBS
2093 linker flags for LIBGPS19, overriding pkg-config
2094 GYPSY_CFLAGS
2095 C compiler flags for GYPSY, overriding pkg-config
2096 GYPSY_LIBS linker flags for GYPSY, overriding pkg-config
2097 LIBLOCATION_CFLAGS
2098 C compiler flags for LIBLOCATION, overriding pkg-config
2099 LIBLOCATION_LIBS
2100 linker flags for LIBLOCATION, overriding pkg-config
2101
2102 Use these variables to override the choices made by `configure' or to help
2103 it to find libraries and programs with nonstandard names/locations.
2104
2105 Report bugs to the package provider.
2106 _ACEOF
2107 ac_status=$?
2108 fi
2109
2110 if test "$ac_init_help" = "recursive"; then
2111 # If there are subdirs, report their specific --help.
2112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2113 test -d "$ac_dir" ||
2114 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2115 continue
2116 ac_builddir=.
2117
2118 case "$ac_dir" in
2119 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2120 *)
2121 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2122 # A ".." for each directory in $ac_dir_suffix.
2123 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2124 case $ac_top_builddir_sub in
2125 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2126 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2127 esac ;;
2128 esac
2129 ac_abs_top_builddir=$ac_pwd
2130 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2131 # for backward compatibility:
2132 ac_top_builddir=$ac_top_build_prefix
2133
2134 case $srcdir in
2135 .) # We are building in place.
2136 ac_srcdir=.
2137 ac_top_srcdir=$ac_top_builddir_sub
2138 ac_abs_top_srcdir=$ac_pwd ;;
2139 [\\/]* | ?:[\\/]* ) # Absolute name.
2140 ac_srcdir=$srcdir$ac_dir_suffix;
2141 ac_top_srcdir=$srcdir
2142 ac_abs_top_srcdir=$srcdir ;;
2143 *) # Relative name.
2144 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2145 ac_top_srcdir=$ac_top_build_prefix$srcdir
2146 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2147 esac
2148 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2149
2150 cd "$ac_dir" || { ac_status=$?; continue; }
2151 # Check for guested configure.
2152 if test -f "$ac_srcdir/configure.gnu"; then
2153 echo &&
2154 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2155 elif test -f "$ac_srcdir/configure"; then
2156 echo &&
2157 $SHELL "$ac_srcdir/configure" --help=recursive
2158 else
2159 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2160 fi || ac_status=$?
2161 cd "$ac_pwd" || { ac_status=$?; break; }
2162 done
2163 fi
2164
2165 test -n "$ac_init_help" && exit $ac_status
2166 if $ac_init_version; then
2167 cat <<\_ACEOF
2168 zanavi configure 1.0.0
2169 generated by GNU Autoconf 2.65
2170
2171 Copyright (C) 2009 Free Software Foundation, Inc.
2172 This configure script is free software; the Free Software Foundation
2173 gives unlimited permission to copy, distribute and modify it.
2174 _ACEOF
2175 exit
2176 fi
2177
2178 ## ------------------------ ##
2179 ## Autoconf initialization. ##
2180 ## ------------------------ ##
2181
2182 # ac_fn_c_try_compile LINENO
2183 # --------------------------
2184 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2185 ac_fn_c_try_compile ()
2186 {
2187 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2188 rm -f conftest.$ac_objext
2189 if { { ac_try="$ac_compile"
2190 case "(($ac_try" in
2191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2192 *) ac_try_echo=$ac_try;;
2193 esac
2194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2195 $as_echo "$ac_try_echo"; } >&5
2196 (eval "$ac_compile") 2>conftest.err
2197 ac_status=$?
2198 if test -s conftest.err; then
2199 grep -v '^ *+' conftest.err >conftest.er1
2200 cat conftest.er1 >&5
2201 mv -f conftest.er1 conftest.err
2202 fi
2203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2204 test $ac_status = 0; } && {
2205 test -z "$ac_c_werror_flag" ||
2206 test ! -s conftest.err
2207 } && test -s conftest.$ac_objext; then :
2208 ac_retval=0
2209 else
2210 $as_echo "$as_me: failed program was:" >&5
2211 sed 's/^/| /' conftest.$ac_ext >&5
2212
2213 ac_retval=1
2214 fi
2215 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2216 as_fn_set_status $ac_retval
2217
2218 } # ac_fn_c_try_compile
2219
2220 # ac_fn_c_try_cpp LINENO
2221 # ----------------------
2222 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2223 ac_fn_c_try_cpp ()
2224 {
2225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226 if { { ac_try="$ac_cpp conftest.$ac_ext"
2227 case "(($ac_try" in
2228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2229 *) ac_try_echo=$ac_try;;
2230 esac
2231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2232 $as_echo "$ac_try_echo"; } >&5
2233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2234 ac_status=$?
2235 if test -s conftest.err; then
2236 grep -v '^ *+' conftest.err >conftest.er1
2237 cat conftest.er1 >&5
2238 mv -f conftest.er1 conftest.err
2239 fi
2240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2241 test $ac_status = 0; } >/dev/null && {
2242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2243 test ! -s conftest.err
2244 }; then :
2245 ac_retval=0
2246 else
2247 $as_echo "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.$ac_ext >&5
2249
2250 ac_retval=1
2251 fi
2252 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2253 as_fn_set_status $ac_retval
2254
2255 } # ac_fn_c_try_cpp
2256
2257 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2258 # -------------------------------------------------------
2259 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2260 # the include files in INCLUDES and setting the cache variable VAR
2261 # accordingly.
2262 ac_fn_c_check_header_mongrel ()
2263 {
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267 $as_echo_n "checking for $2... " >&6; }
2268 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2269 $as_echo_n "(cached) " >&6
2270 fi
2271 eval ac_res=\$$3
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 else
2275 # Is the header compilable?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2277 $as_echo_n "checking $2 usability... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2280 $4
2281 #include <$2>
2282 _ACEOF
2283 if ac_fn_c_try_compile "$LINENO"; then :
2284 ac_header_compiler=yes
2285 else
2286 ac_header_compiler=no
2287 fi
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2290 $as_echo "$ac_header_compiler" >&6; }
2291
2292 # Is the header present?
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2294 $as_echo_n "checking $2 presence... " >&6; }
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 #include <$2>
2298 _ACEOF
2299 if ac_fn_c_try_cpp "$LINENO"; then :
2300 ac_header_preproc=yes
2301 else
2302 ac_header_preproc=no
2303 fi
2304 rm -f conftest.err conftest.$ac_ext
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2306 $as_echo "$ac_header_preproc" >&6; }
2307
2308 # So? What about this header?
2309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2310 yes:no: )
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2312 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2314 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2315 ;;
2316 no:yes:* )
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2318 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2320 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2322 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2324 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2326 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2327 ;;
2328 esac
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330 $as_echo_n "checking for $2... " >&6; }
2331 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2332 $as_echo_n "(cached) " >&6
2333 else
2334 eval "$3=\$ac_header_compiler"
2335 fi
2336 eval ac_res=\$$3
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2338 $as_echo "$ac_res" >&6; }
2339 fi
2340 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2341
2342 } # ac_fn_c_check_header_mongrel
2343
2344 # ac_fn_c_try_run LINENO
2345 # ----------------------
2346 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2347 # that executables *can* be run.
2348 ac_fn_c_try_run ()
2349 {
2350 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2351 if { { ac_try="$ac_link"
2352 case "(($ac_try" in
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2355 esac
2356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2357 $as_echo "$ac_try_echo"; } >&5
2358 (eval "$ac_link") 2>&5
2359 ac_status=$?
2360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2362 { { case "(($ac_try" in
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2365 esac
2366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2367 $as_echo "$ac_try_echo"; } >&5
2368 (eval "$ac_try") 2>&5
2369 ac_status=$?
2370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2371 test $ac_status = 0; }; }; then :
2372 ac_retval=0
2373 else
2374 $as_echo "$as_me: program exited with status $ac_status" >&5
2375 $as_echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2377
2378 ac_retval=$ac_status
2379 fi
2380 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2381 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2382 as_fn_set_status $ac_retval
2383
2384 } # ac_fn_c_try_run
2385
2386 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2387 # -------------------------------------------------------
2388 # Tests whether HEADER exists and can be compiled using the include files in
2389 # INCLUDES, setting the cache variable VAR accordingly.
2390 ac_fn_c_check_header_compile ()
2391 {
2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2394 $as_echo_n "checking for $2... " >&6; }
2395 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2396 $as_echo_n "(cached) " >&6
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2400 $4
2401 #include <$2>
2402 _ACEOF
2403 if ac_fn_c_try_compile "$LINENO"; then :
2404 eval "$3=yes"
2405 else
2406 eval "$3=no"
2407 fi
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 fi
2410 eval ac_res=\$$3
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2412 $as_echo "$ac_res" >&6; }
2413 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2414
2415 } # ac_fn_c_check_header_compile
2416
2417 # ac_fn_objc_try_compile LINENO
2418 # -----------------------------
2419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2420 ac_fn_objc_try_compile ()
2421 {
2422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2423 rm -f conftest.$ac_objext
2424 if { { ac_try="$ac_compile"
2425 case "(($ac_try" in
2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427 *) ac_try_echo=$ac_try;;
2428 esac
2429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2430 $as_echo "$ac_try_echo"; } >&5
2431 (eval "$ac_compile") 2>conftest.err
2432 ac_status=$?
2433 if test -s conftest.err; then
2434 grep -v '^ *+' conftest.err >conftest.er1
2435 cat conftest.er1 >&5
2436 mv -f conftest.er1 conftest.err
2437 fi
2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439 test $ac_status = 0; } && {
2440 test -z "$ac_objc_werror_flag" ||
2441 test ! -s conftest.err
2442 } && test -s conftest.$ac_objext; then :
2443 ac_retval=0
2444 else
2445 $as_echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.$ac_ext >&5
2447
2448 ac_retval=1
2449 fi
2450 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2451 as_fn_set_status $ac_retval
2452
2453 } # ac_fn_objc_try_compile
2454
2455 # ac_fn_cxx_try_compile LINENO
2456 # ----------------------------
2457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2458 ac_fn_cxx_try_compile ()
2459 {
2460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2461 rm -f conftest.$ac_objext
2462 if { { ac_try="$ac_compile"
2463 case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466 esac
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_compile") 2>conftest.err
2470 ac_status=$?
2471 if test -s conftest.err; then
2472 grep -v '^ *+' conftest.err >conftest.er1
2473 cat conftest.er1 >&5
2474 mv -f conftest.er1 conftest.err
2475 fi
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; } && {
2478 test -z "$ac_cxx_werror_flag" ||
2479 test ! -s conftest.err
2480 } && test -s conftest.$ac_objext; then :
2481 ac_retval=0
2482 else
2483 $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2485
2486 ac_retval=1
2487 fi
2488 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2489 as_fn_set_status $ac_retval
2490
2491 } # ac_fn_cxx_try_compile
2492
2493 # ac_fn_c_try_link LINENO
2494 # -----------------------
2495 # Try to link conftest.$ac_ext, and return whether this succeeded.
2496 ac_fn_c_try_link ()
2497 {
2498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2499 rm -f conftest.$ac_objext conftest$ac_exeext
2500 if { { ac_try="$ac_link"
2501 case "(($ac_try" in
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2504 esac
2505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2506 $as_echo "$ac_try_echo"; } >&5
2507 (eval "$ac_link") 2>conftest.err
2508 ac_status=$?
2509 if test -s conftest.err; then
2510 grep -v '^ *+' conftest.err >conftest.er1
2511 cat conftest.er1 >&5
2512 mv -f conftest.er1 conftest.err
2513 fi
2514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2515 test $ac_status = 0; } && {
2516 test -z "$ac_c_werror_flag" ||
2517 test ! -s conftest.err
2518 } && test -s conftest$ac_exeext && {
2519 test "$cross_compiling" = yes ||
2520 $as_test_x conftest$ac_exeext
2521 }; then :
2522 ac_retval=0
2523 else
2524 $as_echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2526
2527 ac_retval=1
2528 fi
2529 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2530 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2531 # interfere with the next link command; also delete a directory that is
2532 # left behind by Apple's compiler. We do this before executing the actions.
2533 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2534 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2535 as_fn_set_status $ac_retval
2536
2537 } # ac_fn_c_try_link
2538
2539 # ac_fn_c_check_func LINENO FUNC VAR
2540 # ----------------------------------
2541 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2542 ac_fn_c_check_func ()
2543 {
2544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2546 $as_echo_n "checking for $2... " >&6; }
2547 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2548 $as_echo_n "(cached) " >&6
2549 else
2550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2551 /* end confdefs.h. */
2552 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2554 #define $2 innocuous_$2
2555
2556 /* System header to define __stub macros and hopefully few prototypes,
2557 which can conflict with char $2 (); below.
2558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2559 <limits.h> exists even on freestanding compilers. */
2560
2561 #ifdef __STDC__
2562 # include <limits.h>
2563 #else
2564 # include <assert.h>
2565 #endif
2566
2567 #undef $2
2568
2569 /* Override any GCC internal prototype to avoid an error.
2570 Use char because int might match the return type of a GCC
2571 builtin and then its argument prototype would still apply. */
2572 #ifdef __cplusplus
2573 extern "C"
2574 #endif
2575 char $2 ();
2576 /* The GNU C library defines this for functions which it implements
2577 to always fail with ENOSYS. Some functions are actually named
2578 something starting with __ and the normal name is an alias. */
2579 #if defined __stub_$2 || defined __stub___$2
2580 choke me
2581 #endif
2582
2583 int
2584 main ()
2585 {
2586 return $2 ();
2587 ;
2588 return 0;
2589 }
2590 _ACEOF
2591 if ac_fn_c_try_link "$LINENO"; then :
2592 eval "$3=yes"
2593 else
2594 eval "$3=no"
2595 fi
2596 rm -f core conftest.err conftest.$ac_objext \
2597 conftest$ac_exeext conftest.$ac_ext
2598 fi
2599 eval ac_res=\$$3
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2601 $as_echo "$ac_res" >&6; }
2602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2603
2604 } # ac_fn_c_check_func
2605
2606 # ac_fn_cxx_try_cpp LINENO
2607 # ------------------------
2608 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2609 ac_fn_cxx_try_cpp ()
2610 {
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 if { { ac_try="$ac_cpp conftest.$ac_ext"
2613 case "(($ac_try" in
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2616 esac
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2620 ac_status=$?
2621 if test -s conftest.err; then
2622 grep -v '^ *+' conftest.err >conftest.er1
2623 cat conftest.er1 >&5
2624 mv -f conftest.er1 conftest.err
2625 fi
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; } >/dev/null && {
2628 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2629 test ! -s conftest.err
2630 }; then :
2631 ac_retval=0
2632 else
2633 $as_echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2635
2636 ac_retval=1
2637 fi
2638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2639 as_fn_set_status $ac_retval
2640
2641 } # ac_fn_cxx_try_cpp
2642
2643 # ac_fn_cxx_try_link LINENO
2644 # -------------------------
2645 # Try to link conftest.$ac_ext, and return whether this succeeded.
2646 ac_fn_cxx_try_link ()
2647 {
2648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649 rm -f conftest.$ac_objext conftest$ac_exeext
2650 if { { ac_try="$ac_link"
2651 case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2654 esac
2655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2656 $as_echo "$ac_try_echo"; } >&5
2657 (eval "$ac_link") 2>conftest.err
2658 ac_status=$?
2659 if test -s conftest.err; then
2660 grep -v '^ *+' conftest.err >conftest.er1
2661 cat conftest.er1 >&5
2662 mv -f conftest.er1 conftest.err
2663 fi
2664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2665 test $ac_status = 0; } && {
2666 test -z "$ac_cxx_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest$ac_exeext && {
2669 test "$cross_compiling" = yes ||
2670 $as_test_x conftest$ac_exeext
2671 }; then :
2672 ac_retval=0
2673 else
2674 $as_echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2676
2677 ac_retval=1
2678 fi
2679 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2680 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2681 # interfere with the next link command; also delete a directory that is
2682 # left behind by Apple's compiler. We do this before executing the actions.
2683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2684 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2685 as_fn_set_status $ac_retval
2686
2687 } # ac_fn_cxx_try_link
2688
2689 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2690 # -------------------------------------------
2691 # Tests whether TYPE exists after having included INCLUDES, setting cache
2692 # variable VAR accordingly.
2693 ac_fn_c_check_type ()
2694 {
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2697 $as_echo_n "checking for $2... " >&6; }
2698 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2701 eval "$3=no"
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2704 $4
2705 int
2706 main ()
2707 {
2708 if (sizeof ($2))
2709 return 0;
2710 ;
2711 return 0;
2712 }
2713 _ACEOF
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2717 $4
2718 int
2719 main ()
2720 {
2721 if (sizeof (($2)))
2722 return 0;
2723 ;
2724 return 0;
2725 }
2726 _ACEOF
2727 if ac_fn_c_try_compile "$LINENO"; then :
2728
2729 else
2730 eval "$3=yes"
2731 fi
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2733 fi
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 fi
2736 eval ac_res=\$$3
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2738 $as_echo "$ac_res" >&6; }
2739 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2740
2741 } # ac_fn_c_check_type
2742
2743 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2744 # --------------------------------------------
2745 # Tries to find the compile-time value of EXPR in a program that includes
2746 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2747 # computed
2748 ac_fn_c_compute_int ()
2749 {
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 if test "$cross_compiling" = yes; then
2752 # Depending upon the size, compute the lo and hi bounds.
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2755 $4
2756 int
2757 main ()
2758 {
2759 static int test_array [1 - 2 * !(($2) >= 0)];
2760 test_array [0] = 0
2761
2762 ;
2763 return 0;
2764 }
2765 _ACEOF
2766 if ac_fn_c_try_compile "$LINENO"; then :
2767 ac_lo=0 ac_mid=0
2768 while :; do
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2771 $4
2772 int
2773 main ()
2774 {
2775 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2776 test_array [0] = 0
2777
2778 ;
2779 return 0;
2780 }
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 ac_hi=$ac_mid; break
2784 else
2785 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2786 if test $ac_lo -le $ac_mid; then
2787 ac_lo= ac_hi=
2788 break
2789 fi
2790 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2791 fi
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 done
2794 else
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2797 $4
2798 int
2799 main ()
2800 {
2801 static int test_array [1 - 2 * !(($2) < 0)];
2802 test_array [0] = 0
2803
2804 ;
2805 return 0;
2806 }
2807 _ACEOF
2808 if ac_fn_c_try_compile "$LINENO"; then :
2809 ac_hi=-1 ac_mid=-1
2810 while :; do
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2813 $4
2814 int
2815 main ()
2816 {
2817 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2818 test_array [0] = 0
2819
2820 ;
2821 return 0;
2822 }
2823 _ACEOF
2824 if ac_fn_c_try_compile "$LINENO"; then :
2825 ac_lo=$ac_mid; break
2826 else
2827 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2828 if test $ac_mid -le $ac_hi; then
2829 ac_lo= ac_hi=
2830 break
2831 fi
2832 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2833 fi
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 done
2836 else
2837 ac_lo= ac_hi=
2838 fi
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 fi
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 # Binary search between lo and hi bounds.
2843 while test "x$ac_lo" != "x$ac_hi"; do
2844 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2847 $4
2848 int
2849 main ()
2850 {
2851 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2852 test_array [0] = 0
2853
2854 ;
2855 return 0;
2856 }
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 ac_hi=$ac_mid
2860 else
2861 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2862 fi
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 done
2865 case $ac_lo in #((
2866 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2867 '') ac_retval=1 ;;
2868 esac
2869 else
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2872 $4
2873 static long int longval () { return $2; }
2874 static unsigned long int ulongval () { return $2; }
2875 #include <stdio.h>
2876 #include <stdlib.h>
2877 int
2878 main ()
2879 {
2880
2881 FILE *f = fopen ("conftest.val", "w");
2882 if (! f)
2883 return 1;
2884 if (($2) < 0)
2885 {
2886 long int i = longval ();
2887 if (i != ($2))
2888 return 1;
2889 fprintf (f, "%ld", i);
2890 }
2891 else
2892 {
2893 unsigned long int i = ulongval ();
2894 if (i != ($2))
2895 return 1;
2896 fprintf (f, "%lu", i);
2897 }
2898 /* Do not output a trailing newline, as this causes \r\n confusion
2899 on some platforms. */
2900 return ferror (f) || fclose (f) != 0;
2901
2902 ;
2903 return 0;
2904 }
2905 _ACEOF
2906 if ac_fn_c_try_run "$LINENO"; then :
2907 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2908 else
2909 ac_retval=1
2910 fi
2911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2912 conftest.$ac_objext conftest.beam conftest.$ac_ext
2913 rm -f conftest.val
2914
2915 fi
2916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2917 as_fn_set_status $ac_retval
2918
2919 } # ac_fn_c_compute_int
2920 cat >config.log <<_ACEOF
2921 This file contains any messages produced by compilers while
2922 running configure, to aid debugging if configure makes a mistake.
2923
2924 It was created by zanavi $as_me 1.0.0, which was
2925 generated by GNU Autoconf 2.65. Invocation command line was
2926
2927 $ $0 $@
2928
2929 _ACEOF
2930 exec 5>>config.log
2931 {
2932 cat <<_ASUNAME
2933 ## --------- ##
2934 ## Platform. ##
2935 ## --------- ##
2936
2937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2942
2943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2944 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2945
2946 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2947 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2949 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2950 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2951 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2952 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2953
2954 _ASUNAME
2955
2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 for as_dir in $PATH
2958 do
2959 IFS=$as_save_IFS
2960 test -z "$as_dir" && as_dir=.
2961 $as_echo "PATH: $as_dir"
2962 done
2963 IFS=$as_save_IFS
2964
2965 } >&5
2966
2967 cat >&5 <<_ACEOF
2968
2969
2970 ## ----------- ##
2971 ## Core tests. ##
2972 ## ----------- ##
2973
2974 _ACEOF
2975
2976
2977 # Keep a trace of the command line.
2978 # Strip out --no-create and --no-recursion so they do not pile up.
2979 # Strip out --silent because we don't want to record it for future runs.
2980 # Also quote any args containing shell meta-characters.
2981 # Make two passes to allow for proper duplicate-argument suppression.
2982 ac_configure_args=
2983 ac_configure_args0=
2984 ac_configure_args1=
2985 ac_must_keep_next=false
2986 for ac_pass in 1 2
2987 do
2988 for ac_arg
2989 do
2990 case $ac_arg in
2991 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2993 | -silent | --silent | --silen | --sile | --sil)
2994 continue ;;
2995 *\'*)
2996 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2997 esac
2998 case $ac_pass in
2999 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3000 2)
3001 as_fn_append ac_configure_args1 " '$ac_arg'"
3002 if test $ac_must_keep_next = true; then
3003 ac_must_keep_next=false # Got value, back to normal.
3004 else
3005 case $ac_arg in
3006 *=* | --config-cache | -C | -disable-* | --disable-* \
3007 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3008 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3009 | -with-* | --with-* | -without-* | --without-* | --x)
3010 case "$ac_configure_args0 " in
3011 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3012 esac
3013 ;;
3014 -* ) ac_must_keep_next=true ;;
3015 esac
3016 fi
3017 as_fn_append ac_configure_args " '$ac_arg'"
3018 ;;
3019 esac
3020 done
3021 done
3022 { ac_configure_args0=; unset ac_configure_args0;}
3023 { ac_configure_args1=; unset ac_configure_args1;}
3024
3025 # When interrupted or exit'd, cleanup temporary files, and complete
3026 # config.log. We remove comments because anyway the quotes in there
3027 # would cause problems or look ugly.
3028 # WARNING: Use '\'' to represent an apostrophe within the trap.
3029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3030 trap 'exit_status=$?
3031 # Save into config.log some information that might help in debugging.
3032 {
3033 echo
3034
3035 cat <<\_ASBOX
3036 ## ---------------- ##
3037 ## Cache variables. ##
3038 ## ---------------- ##
3039 _ASBOX
3040 echo
3041 # The following way of writing the cache mishandles newlines in values,
3042 (
3043 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3044 eval ac_val=\$$ac_var
3045 case $ac_val in #(
3046 *${as_nl}*)
3047 case $ac_var in #(
3048 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3050 esac
3051 case $ac_var in #(
3052 _ | IFS | as_nl) ;; #(
3053 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3054 *) { eval $ac_var=; unset $ac_var;} ;;
3055 esac ;;
3056 esac
3057 done
3058 (set) 2>&1 |
3059 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3060 *${as_nl}ac_space=\ *)
3061 sed -n \
3062 "s/'\''/'\''\\\\'\'''\''/g;
3063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3064 ;; #(
3065 *)
3066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3067 ;;
3068 esac |
3069 sort
3070 )
3071 echo
3072
3073 cat <<\_ASBOX
3074 ## ----------------- ##
3075 ## Output variables. ##
3076 ## ----------------- ##
3077 _ASBOX
3078 echo
3079 for ac_var in $ac_subst_vars
3080 do
3081 eval ac_val=\$$ac_var
3082 case $ac_val in
3083 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3084 esac
3085 $as_echo "$ac_var='\''$ac_val'\''"
3086 done | sort
3087 echo
3088
3089 if test -n "$ac_subst_files"; then
3090 cat <<\_ASBOX
3091 ## ------------------- ##
3092 ## File substitutions. ##
3093 ## ------------------- ##
3094 _ASBOX
3095 echo
3096 for ac_var in $ac_subst_files
3097 do
3098 eval ac_val=\$$ac_var
3099 case $ac_val in
3100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3101 esac
3102 $as_echo "$ac_var='\''$ac_val'\''"
3103 done | sort
3104 echo
3105 fi
3106
3107 if test -s confdefs.h; then
3108 cat <<\_ASBOX
3109 ## ----------- ##
3110 ## confdefs.h. ##
3111 ## ----------- ##
3112 _ASBOX
3113 echo
3114 cat confdefs.h
3115 echo
3116 fi
3117 test "$ac_signal" != 0 &&
3118 $as_echo "$as_me: caught signal $ac_signal"
3119 $as_echo "$as_me: exit $exit_status"
3120 } >&5
3121 rm -f core *.core core.conftest.* &&
3122 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3123 exit $exit_status
3124 ' 0
3125 for ac_signal in 1 2 13 15; do
3126 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3127 done
3128 ac_signal=0
3129
3130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3131 rm -f -r conftest* confdefs.h
3132
3133 $as_echo "/* confdefs.h */" > confdefs.h
3134
3135 # Predefined preprocessor variables.
3136
3137 cat >>confdefs.h <<_ACEOF
3138 #define PACKAGE_NAME "$PACKAGE_NAME"
3139 _ACEOF
3140
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3143 _ACEOF
3144
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3147 _ACEOF
3148
3149 cat >>confdefs.h <<_ACEOF
3150 #define PACKAGE_STRING "$PACKAGE_STRING"
3151 _ACEOF
3152
3153 cat >>confdefs.h <<_ACEOF
3154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3155 _ACEOF
3156
3157 cat >>confdefs.h <<_ACEOF
3158 #define PACKAGE_URL "$PACKAGE_URL"
3159 _ACEOF
3160
3161
3162 # Let the site file select an alternate cache file if it wants to.
3163 # Prefer an explicitly selected file to automatically selected ones.
3164 ac_site_file1=NONE
3165 ac_site_file2=NONE
3166 if test -n "$CONFIG_SITE"; then
3167 ac_site_file1=$CONFIG_SITE
3168 elif test "x$prefix" != xNONE; then
3169 ac_site_file1=$prefix/share/config.site
3170 ac_site_file2=$prefix/etc/config.site
3171 else
3172 ac_site_file1=$ac_default_prefix/share/config.site
3173 ac_site_file2=$ac_default_prefix/etc/config.site
3174 fi
3175 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3176 do
3177 test "x$ac_site_file" = xNONE && continue
3178 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3180 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3181 sed 's/^/| /' "$ac_site_file" >&5
3182 . "$ac_site_file"
3183 fi
3184 done
3185
3186 if test -r "$cache_file"; then
3187 # Some versions of bash will fail to source /dev/null (special files
3188 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3189 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3191 $as_echo "$as_me: loading cache $cache_file" >&6;}
3192 case $cache_file in
3193 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3194 *) . "./$cache_file";;
3195 esac
3196 fi
3197 else
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3199 $as_echo "$as_me: creating cache $cache_file" >&6;}
3200 >$cache_file
3201 fi
3202
3203 as_fn_append ac_header_list " stdlib.h"
3204 as_fn_append ac_header_list " unistd.h"
3205 as_fn_append ac_header_list " sys/param.h"
3206 # Check that the precious variables saved in the cache have kept the same
3207 # value.
3208 ac_cache_corrupted=false
3209 for ac_var in $ac_precious_vars; do
3210 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3211 eval ac_new_set=\$ac_env_${ac_var}_set
3212 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3213 eval ac_new_val=\$ac_env_${ac_var}_value
3214 case $ac_old_set,$ac_new_set in
3215 set,)
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3217 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3218 ac_cache_corrupted=: ;;
3219 ,set)
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3221 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3222 ac_cache_corrupted=: ;;
3223 ,);;
3224 *)
3225 if test "x$ac_old_val" != "x$ac_new_val"; then
3226 # differences in whitespace do not lead to failure.
3227 ac_old_val_w=`echo x $ac_old_val`
3228 ac_new_val_w=`echo x $ac_new_val`
3229 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3231 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3232 ac_cache_corrupted=:
3233 else
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3235 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3236 eval $ac_var=\$ac_old_val
3237 fi
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3239 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3241 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3242 fi;;
3243 esac
3244 # Pass precious variables to config.status.
3245 if test "$ac_new_set" = set; then
3246 case $ac_new_val in
3247 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3248 *) ac_arg=$ac_var=$ac_new_val ;;
3249 esac
3250 case " $ac_configure_args " in
3251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3252 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3253 esac
3254 fi
3255 done
3256 if $ac_cache_corrupted; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3260 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3261 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3262 fi
3263 ## -------------------- ##
3264 ## Main body of script. ##
3265 ## -------------------- ##
3266
3267 ac_ext=c
3268 ac_cpp='$CPP $CPPFLAGS'
3269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272
3273
3274
3275 SOURCE_MODE=svn
3276
3277 am__api_version='1.11'
3278
3279 ac_aux_dir=
3280 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3281 for ac_t in install-sh install.sh shtool; do
3282 if test -f "$ac_dir/$ac_t"; then
3283 ac_aux_dir=$ac_dir
3284 ac_install_sh="$ac_aux_dir/$ac_t -c"
3285 break 2
3286 fi
3287 done
3288 done
3289 if test -z "$ac_aux_dir"; then
3290 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3291 fi
3292
3293 # These three variables are undocumented and unsupported,
3294 # and are intended to be withdrawn in a future Autoconf release.
3295 # They can cause serious problems if a builder's source tree is in a directory
3296 # whose full name contains unusual characters.
3297 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3298 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3299 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3300
3301
3302 # Find a good install program. We prefer a C program (faster),
3303 # so one script is as good as another. But avoid the broken or
3304 # incompatible versions:
3305 # SysV /etc/install, /usr/sbin/install
3306 # SunOS /usr/etc/install
3307 # IRIX /sbin/install
3308 # AIX /bin/install
3309 # AmigaOS /C/install, which installs bootblocks on floppy discs
3310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3313 # OS/2's system install, which has a completely different semantic
3314 # ./install, which can be erroneously created by make from ./install.sh.
3315 # Reject install programs that cannot install multiple files.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3317 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3318 if test -z "$INSTALL"; then
3319 if test "${ac_cv_path_install+set}" = set; then :
3320 $as_echo_n "(cached) " >&6
3321 else
3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 for as_dir in $PATH
3324 do
3325 IFS=$as_save_IFS
3326 test -z "$as_dir" && as_dir=.
3327 # Account for people who put trailing slashes in PATH elements.
3328 case $as_dir/ in #((
3329 ./ | .// | /[cC]/* | \
3330 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3331 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3332 /usr/ucb/* ) ;;
3333 *)
3334 # OSF1 and SCO ODT 3.0 have their own names for install.
3335 # Don't use installbsd from OSF since it installs stuff as root
3336 # by default.
3337 for ac_prog in ginstall scoinst install; do
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3340 if test $ac_prog = install &&
3341 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3342 # AIX install. It has an incompatible calling convention.
3343 :
3344 elif test $ac_prog = install &&
3345 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3346 # program-specific install script used by HP pwplus--don't use.
3347 :
3348 else
3349 rm -rf conftest.one conftest.two conftest.dir
3350 echo one > conftest.one
3351 echo two > conftest.two
3352 mkdir conftest.dir
3353 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3354 test -s conftest.one && test -s conftest.two &&
3355 test -s conftest.dir/conftest.one &&
3356 test -s conftest.dir/conftest.two
3357 then
3358 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3359 break 3
3360 fi
3361 fi
3362 fi
3363 done
3364 done
3365 ;;
3366 esac
3367
3368 done
3369 IFS=$as_save_IFS
3370
3371 rm -rf conftest.one conftest.two conftest.dir
3372
3373 fi
3374 if test "${ac_cv_path_install+set}" = set; then
3375 INSTALL=$ac_cv_path_install
3376 else
3377 # As a last resort, use the slow shell script. Don't cache a
3378 # value for INSTALL within a source directory, because that will
3379 # break other packages using the cache if that directory is
3380 # removed, or if the value is a relative name.
3381 INSTALL=$ac_install_sh
3382 fi
3383 fi
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3385 $as_echo "$INSTALL" >&6; }
3386
3387 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3388 # It thinks the first close brace ends the variable substitution.
3389 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3390
3391 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3392
3393 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3394
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3396 $as_echo_n "checking whether build environment is sane... " >&6; }
3397 # Just in case
3398 sleep 1
3399 echo timestamp > conftest.file
3400 # Reject unsafe characters in $srcdir or the absolute working directory
3401 # name. Accept space and tab only in the latter.
3402 am_lf='
3403 '
3404 case `pwd` in
3405 *[\\\"\#\$\&\'\`$am_lf]*)
3406 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3407 esac
3408 case $srcdir in
3409 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3410 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3411 esac
3412
3413 # Do `set' in a subshell so we don't clobber the current shell's
3414 # arguments. Must try -L first in case configure is actually a
3415 # symlink; some systems play weird games with the mod time of symlinks
3416 # (eg FreeBSD returns the mod time of the symlink's containing
3417 # directory).
3418 if (
3419 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3420 if test "$*" = "X"; then
3421 # -L didn't work.
3422 set X `ls -t "$srcdir/configure" conftest.file`
3423 fi
3424 rm -f conftest.file
3425 if test "$*" != "X $srcdir/configure conftest.file" \
3426 && test "$*" != "X conftest.file $srcdir/configure"; then
3427
3428 # If neither matched, then we have a broken ls. This can happen
3429 # if, for instance, CONFIG_SHELL is bash and it inherits a
3430 # broken ls alias from the environment. This has actually
3431 # happened. Such a system could not be considered "sane".
3432 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3433 alias in your environment" "$LINENO" 5
3434 fi
3435
3436 test "$2" = conftest.file
3437 )
3438 then
3439 # Ok.
3440 :
3441 else
3442 as_fn_error "newly created file is older than distributed files!
3443 Check your system clock" "$LINENO" 5
3444 fi
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3446 $as_echo "yes" >&6; }
3447 test "$program_prefix" != NONE &&
3448 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3449 # Use a double $ so make ignores it.
3450 test "$program_suffix" != NONE &&
3451 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3452 # Double any \ or $.
3453 # By default was `s,x,x', remove it if useless.
3454 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3455 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3456
3457 # expand $ac_aux_dir to an absolute path
3458 am_aux_dir=`cd $ac_aux_dir && pwd`
3459
3460 if test x"${MISSING+set}" != xset; then
3461 case $am_aux_dir in
3462 *\ * | *\ *)
3463 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3464 *)
3465 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3466 esac
3467 fi
3468 # Use eval to expand $SHELL
3469 if eval "$MISSING --run true"; then
3470 am_missing_run="$MISSING --run "
3471 else
3472 am_missing_run=
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3474 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3475 fi
3476
3477 if test x"${install_sh}" != xset; then
3478 case $am_aux_dir in
3479 *\ * | *\ *)
3480 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3481 *)
3482 install_sh="\${SHELL} $am_aux_dir/install-sh"
3483 esac
3484 fi
3485
3486 # Installed binaries are usually stripped using `strip' when the user
3487 # run `make install-strip'. However `strip' might not be the right
3488 # tool to use in cross-compilation environments, therefore Automake
3489 # will honor the `STRIP' environment variable to overrule this program.
3490 if test "$cross_compiling" != no; then
3491 if test -n "$ac_tool_prefix"; then
3492 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3493 set dummy ${ac_tool_prefix}strip; ac_word=$2
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 $as_echo_n "checking for $ac_word... " >&6; }
3496 if test "${ac_cv_prog_STRIP+set}" = set; then :
3497 $as_echo_n "(cached) " >&6
3498 else
3499 if test -n "$STRIP"; then
3500 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3501 else
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH
3504 do
3505 IFS=$as_save_IFS
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 break 2
3512 fi
3513 done
3514 done
3515 IFS=$as_save_IFS
3516
3517 fi
3518 fi
3519 STRIP=$ac_cv_prog_STRIP
3520 if test -n "$STRIP"; then
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3522 $as_echo "$STRIP" >&6; }
3523 else
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3526 fi
3527
3528
3529 fi
3530 if test -z "$ac_cv_prog_STRIP"; then
3531 ac_ct_STRIP=$STRIP
3532 # Extract the first word of "strip", so it can be a program name with args.
3533 set dummy strip; ac_word=$2
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535 $as_echo_n "checking for $ac_word... " >&6; }
3536 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3537 $as_echo_n "(cached) " >&6
3538 else
3539 if test -n "$ac_ct_STRIP"; then
3540 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3541 else
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 for as_dir in $PATH
3544 do
3545 IFS=$as_save_IFS
3546 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549 ac_cv_prog_ac_ct_STRIP="strip"
3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 break 2
3552 fi
3553 done
3554 done
3555 IFS=$as_save_IFS
3556
3557 fi
3558 fi
3559 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3560 if test -n "$ac_ct_STRIP"; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3562 $as_echo "$ac_ct_STRIP" >&6; }
3563 else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 fi
3567
3568 if test "x$ac_ct_STRIP" = x; then
3569 STRIP=":"
3570 else
3571 case $cross_compiling:$ac_tool_warned in
3572 yes:)
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3575 ac_tool_warned=yes ;;
3576 esac
3577 STRIP=$ac_ct_STRIP
3578 fi
3579 else
3580 STRIP="$ac_cv_prog_STRIP"
3581 fi
3582
3583 fi
3584 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3585
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3587 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3588 if test -z "$MKDIR_P"; then
3589 if test "${ac_cv_path_mkdir+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3594 do
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_prog in mkdir gmkdir; do
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3600 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3601 'mkdir (GNU coreutils) '* | \
3602 'mkdir (coreutils) '* | \
3603 'mkdir (fileutils) '4.1*)
3604 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3605 break 3;;
3606 esac
3607 done
3608 done
3609 done
3610 IFS=$as_save_IFS
3611
3612 fi
3613
3614 test -d ./--version && rmdir ./--version
3615 if test "${ac_cv_path_mkdir+set}" = set; then
3616 MKDIR_P="$ac_cv_path_mkdir -p"
3617 else
3618 # As a last resort, use the slow shell script. Don't cache a
3619 # value for MKDIR_P within a source directory, because that will
3620 # break other packages using the cache if that directory is
3621 # removed, or if the value is a relative name.
3622 MKDIR_P="$ac_install_sh -d"
3623 fi
3624 fi
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3626 $as_echo "$MKDIR_P" >&6; }
3627
3628 mkdir_p="$MKDIR_P"
3629 case $mkdir_p in
3630 [\\/$]* | ?:[\\/]*) ;;
3631 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3632 esac
3633
3634 for ac_prog in gawk mawk nawk awk
3635 do
3636 # Extract the first word of "$ac_prog", so it can be a program name with args.
3637 set dummy $ac_prog; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_AWK+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$AWK"; then
3644 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3648 do
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_AWK="$ac_prog"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3656 fi
3657 done
3658 done
3659 IFS=$as_save_IFS
3660
3661 fi
3662 fi
3663 AWK=$ac_cv_prog_AWK
3664 if test -n "$AWK"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3666 $as_echo "$AWK" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 fi
3671
3672
3673 test -n "$AWK" && break
3674 done
3675
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3677 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3678 set x ${MAKE-make}
3679 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3680 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 cat >conftest.make <<\_ACEOF
3684 SHELL = /bin/sh
3685 all:
3686 @echo '@@@%%%=$(MAKE)=@@@%%%'
3687 _ACEOF
3688 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3689 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3690 *@@@%%%=?*=@@@%%%*)
3691 eval ac_cv_prog_make_${ac_make}_set=yes;;
3692 *)
3693 eval ac_cv_prog_make_${ac_make}_set=no;;
3694 esac
3695 rm -f conftest.make
3696 fi
3697 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3699 $as_echo "yes" >&6; }
3700 SET_MAKE=
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3704 SET_MAKE="MAKE=${MAKE-make}"
3705 fi
3706
3707 rm -rf .tst 2>/dev/null
3708 mkdir .tst 2>/dev/null
3709 if test -d .tst; then
3710 am__leading_dot=.
3711 else
3712 am__leading_dot=_
3713 fi
3714 rmdir .tst 2>/dev/null
3715
3716 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3717 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3718 # is not polluted with repeated "-I."
3719 am__isrc=' -I$(srcdir)'
3720 # test to see if srcdir already configured
3721 if test -f $srcdir/config.status; then
3722 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3723 fi
3724 fi
3725
3726 # test whether we have cygpath
3727 if test -z "$CYGPATH_W"; then
3728 if (cygpath --version) >/dev/null 2>/dev/null; then
3729 CYGPATH_W='cygpath -w'
3730 else
3731 CYGPATH_W=echo
3732 fi
3733 fi
3734
3735
3736 # Define the identity of the package.
3737 PACKAGE='zanavi'
3738 VERSION='1.0.0'
3739
3740
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE "$PACKAGE"
3743 _ACEOF
3744
3745
3746 cat >>confdefs.h <<_ACEOF
3747 #define VERSION "$VERSION"
3748 _ACEOF
3749
3750 # Some tools Automake needs.
3751
3752 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3753
3754
3755 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3756
3757
3758 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3759
3760
3761 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3762
3763
3764 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3765
3766 # We need awk for the "check" target. The system "awk" is bad on
3767 # some platforms.
3768 # Always define AMTAR for backward compatibility.
3769
3770 AMTAR=${AMTAR-"${am_missing_run}tar"}
3771
3772 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3773
3774
3775
3776
3777
3778 ac_config_headers="$ac_config_headers config.h"
3779
3780
3781
3782 if test "x${SOURCE_MODE}" = "xsvn"; then
3783 SOURCE_MODE_SVN_TRUE=
3784 SOURCE_MODE_SVN_FALSE='#'
3785 else
3786 SOURCE_MODE_SVN_TRUE='#'
3787 SOURCE_MODE_SVN_FALSE=
3788 fi
3789
3790
3791 if test "x${SOURCE_MODE}" = "xsvn" ; then
3792 USE_MAINTAINER_MODE=yes
3793 else
3794 USE_MAINTAINER_MODE=no
3795 fi
3796
3797
3798
3799 # This is what autoupdate's m4 run will expand. It fires
3800 # the warning (with _au_warn_XXX), outputs it into the
3801 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3802 # the replacement expansion.
3803
3804
3805 # This is an auxiliary macro that is also run when
3806 # autoupdate runs m4. It simply calls m4_warning, but
3807 # we need a wrapper so that each warning is emitted only
3808 # once. We break the quoting in m4_warning's argument in
3809 # order to expand this macro's arguments, not AU_DEFUN's.
3810
3811
3812 # Finally, this is the expansion that is picked up by
3813 # autoconf. It tells the user to run autoupdate, and
3814 # then outputs the replacement expansion. We do not care
3815 # about autoupdate's warning because that contains
3816 # information on what to do *after* running autoupdate.
3817
3818
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3820 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3821 # Check whether --enable-maintainer-mode was given.
3822 if test "${enable_maintainer_mode+set}" = set; then :
3823 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3824 fi
3825
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3827 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3828 if test $USE_MAINTAINER_MODE = yes; then
3829 MAINTAINER_MODE_TRUE=
3830 MAINTAINER_MODE_FALSE='#'
3831 else
3832 MAINTAINER_MODE_TRUE='#'
3833 MAINTAINER_MODE_FALSE=
3834 fi
3835
3836 MAINT=$MAINTAINER_MODE_TRUE
3837
3838
3839
3840
3841 plugins=yes; plugins_reason=default
3842 postgresql=yes; postgresql_reason=default
3843 samplemap=yes; samplemap_reason=default
3844 binding_dbus=yes; binding_dbus_reason=default
3845 binding_dbus_use_system_bus=no
3846 binding_python=yes; binding_python_reason=default
3847 font_freetype=yes; font_freetype_reason=default
3848 fontconfig=yes; fontconfig_reason=default
3849 fribidi=yes; fribidi_reason=default
3850 gui_gtk=no; gui_gtk_reason=default
3851 gui_win32=no; gui_win32_reason=default
3852 gui_internal=yes; gui_internal_reason=default
3853 gui_qml=no; gui_qml_reason=default
3854 graphics=yes; graphics_reason=default
3855 graphics_gd=no; graphics_gd_reason=default
3856 graphics_gtk_drawing_area=no; graphics_gtk_drawing_area_reason=default
3857 graphics_qt_qpainter=yes; graphics_qt_qpainter_reason=default
3858 graphics_null=yes; graphics_null_reason=default
3859 graphics_opengl=yes; graphics_opengl_reason=default
3860 graphics_sdl=yes; graphics_sdl_reason=default
3861 graphics_win32=no; graphics_win32_reason=default
3862 maptool=yes; maptool_reason=default
3863 map_binfile=yes; map_binfile_reason=default
3864 map_filter=yes; map_filter_reason=default
3865 map_mg=yes; map_mg_reason=default
3866 map_shapefile=yes; map_shapefile_reason=default
3867 map_textfile=yes; map_textfile_reason=default
3868 map_csv=yes; map_csv_reason=default
3869 osd_core=yes; osd_core_reason=default
3870 plugin_pedestrian=no; plugin_pedestrian_reason=default
3871 routing=yes; routing_reason=default
3872 speech_android=no; speech_android_reason=default
3873 speech_cmdline=yes; speech_cmdline_reason=default
3874 speech_dbus=no; speech_dbus_reason=default
3875 speech_espeak=no; speech_espeak_reason=default
3876 speech_speech_dispatcher=yes; speech_speech_dispatcher_reason=default
3877 vehicle_demo=yes; vehicle_demo_reason=default
3878 vehicle_file=yes; vehicle_file_reason=default
3879 vehicle_gpsd=yes; vehicle_gpsd_reason=default
3880 vehicle_gpsd_dbus=no; vehicle_gpsd_dbus_reason=default
3881 vehicle_gypsy=yes; vehicle_gypsy_reason=default
3882 vehicle_null=no; vehicle_null_reason=default
3883 vehicle_wince=no; vehicle_wince_reason=default
3884 vehicle_iphone=no; vehicle_iphone_reason=default
3885 vehicle_android=no; vehicle_android_reason=default
3886 graphics_android=no; graphics_android_reason=default
3887 vehicle_maemo=no; vehicle_maemo_reason=default
3888 vehicle_webos=no; vehicle_webos_reason=default
3889
3890 shared_libnavit=no
3891 LIBNAVIT=navit
3892 bin_navit=yes
3893
3894 # Make sure we can run config.sub.
3895 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3896 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3897
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3899 $as_echo_n "checking build system type... " >&6; }
3900 if test "${ac_cv_build+set}" = set; then :
3901 $as_echo_n "(cached) " >&6
3902 else
3903 ac_build_alias=$build_alias
3904 test "x$ac_build_alias" = x &&
3905 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3906 test "x$ac_build_alias" = x &&
3907 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3908 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3909 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3910
3911 fi
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3913 $as_echo "$ac_cv_build" >&6; }
3914 case $ac_cv_build in
3915 *-*-*) ;;
3916 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3917 esac
3918 build=$ac_cv_build
3919 ac_save_IFS=$IFS; IFS='-'
3920 set x $ac_cv_build
3921 shift
3922 build_cpu=$1
3923 build_vendor=$2
3924 shift; shift
3925 # Remember, the first character of IFS is used to create $*,
3926 # except with old shells:
3927 build_os=$*
3928 IFS=$ac_save_IFS
3929 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3930
3931
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3933 $as_echo_n "checking host system type... " >&6; }
3934 if test "${ac_cv_host+set}" = set; then :
3935 $as_echo_n "(cached) " >&6
3936 else
3937 if test "x$host_alias" = x; then
3938 ac_cv_host=$ac_cv_build
3939 else
3940 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3941 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3942 fi
3943
3944 fi
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3946 $as_echo "$ac_cv_host" >&6; }
3947 case $ac_cv_host in
3948 *-*-*) ;;
3949 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3950 esac
3951 host=$ac_cv_host
3952 ac_save_IFS=$IFS; IFS='-'
3953 set x $ac_cv_host
3954 shift
3955 host_cpu=$1
3956 host_vendor=$2
3957 shift; shift
3958 # Remember, the first character of IFS is used to create $*,
3959 # except with old shells:
3960 host_os=$*
3961 IFS=$ac_save_IFS
3962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3963
3964
3965 win32=no
3966 win32ce=no
3967 case $host_os in
3968 wince|mingw32ce|cegcc)
3969 win32=yes
3970 win32ce=yes
3971
3972 $as_echo "#define HAVE_API_WIN32_BASE 1" >>confdefs.h
3973
3974
3975 $as_echo "#define HAVE_API_WIN32_CE 1" >>confdefs.h
3976
3977 gui_win32=yes; gui_win32_reason="host_os is wince"
3978 graphics_win32=yes; graphics_win32_reason="host_os is wince"
3979 vehicle_wince=yes; vehcile_wince_reason="host_os is wince"
3980 speech_espeak=yes; speech_espeak_reason="host_os is wince"
3981 support_libpng=yes
3982 maptool=no; maptool_reason="host_os is wince"
3983 ;;
3984 mingw32)
3985 win32=yes
3986
3987 $as_echo "#define HAVE_API_WIN32_BASE 1" >>confdefs.h
3988
3989
3990 $as_echo "#define HAVE_API_WIN32 1" >>confdefs.h
3991
3992 gui_win32=yes; gui_win32_reason="host_os is mingw32"
3993 graphics_win32=yes; graphics_win32_reason="host_os is mingw32"
3994 speech_espeak=yes; speech_espeak_reason="host_os is mingw32"
3995 support_libpng=yes
3996 ;;
3997 linux*_android)
3998 android=yes
3999 shared_libnavit=yes
4000 bin_navit=no
4001
4002 $as_echo "#define HAVE_API_ANDROID 1" >>confdefs.h
4003
4004 echo "void dl_unwind_find_exidx(void) {}" >crt0.c
4005 $CC -c crt0.c
4006 $AR r libg.a crt0.o
4007 vehicle_android=yes; vehicle_android_reason="host_os is android"
4008 graphics_android=yes; graphics_android_reason="host_os is android"
4009 speech_android=yes; speech_android_reason="host_os is android"
4010 MODULE_LDFLAGS="-module -Xcompiler -nostdlib -Xcompiler -Wl,-rpath -Xcompiler -Wl,/data/data/com.zoffcc.applications.zanavi/lib"
4011 MODULE_LIBADD="-llog"
4012 LIBNAVIT=_data_data_com.zoffcc.applications.zanavi_lib_navit
4013 NAVIT_MODULE_LDFLAGS="$MODULE_LDFLAGS -L\$(top_builddir)/navit -l$LIBNAVIT"
4014 ;;
4015 esac
4016 if test "x$win32" = "xyes"
4017 then
4018 NAVIT_CFLAGS="$NAVIT_CFLAGS -I\$(top_srcdir)/navit/support/win32"
4019 NAVIT_LIBS="$NAVIT_LIBS -L\$(top_builddir)/navit/support/win32 -lsupport_win32"
4020 NAVIT_SOCKET_LDFLAGS="$MODULE_LDFLAGS -lws2_32"
4021 fi
4022
4023
4024 if test "x$win32" = "xyes"; then
4025 SUPPORT_WIN32_TRUE=
4026 SUPPORT_WIN32_FALSE='#'
4027 else
4028 SUPPORT_WIN32_TRUE='#'
4029 SUPPORT_WIN32_FALSE=
4030 fi
4031
4032 if test "x$win32ce" = "xyes"; then
4033 SUPPORT_WIN32CE_TRUE=
4034 SUPPORT_WIN32CE_FALSE='#'
4035 else
4036 SUPPORT_WIN32CE_TRUE='#'
4037 SUPPORT_WIN32CE_FALSE=
4038 fi
4039
4040 if test "x$android" = "xyes"; then
4041 SUPPORT_ANDROID_TRUE=
4042 SUPPORT_ANDROID_FALSE='#'
4043 else
4044 SUPPORT_ANDROID_TRUE='#'
4045 SUPPORT_ANDROID_FALSE=
4046 fi
4047
4048
4049 if test "x$support_libpng" = "xyes"
4050 then
4051 NAVIT_CFLAGS="$NAVIT_CFLAGS -I\$(top_srcdir)/navit/support/libpng"
4052 NAVIT_LIBS="$NAVIT_LIBS -L\$(top_builddir)/navit/support/libpng -lsupport_libpng"
4053 fi
4054 if test "x$support_libpng" = "xyes"; then
4055 SUPPORT_LIBPNG_TRUE=
4056 SUPPORT_LIBPNG_FALSE='#'
4057 else
4058 SUPPORT_LIBPNG_TRUE='#'
4059 SUPPORT_LIBPNG_FALSE=
4060 fi
4061
4062
4063
4064
4065
4066
4067
4068 LIBS="$LIBS -lm"
4069 if test "$win32" == "no" -a "$host_os" != "cygwin"; then
4070 LIBS="$LIBS -rdynamic"
4071 fi
4072
4073
4074
4075 DEPDIR="${am__leading_dot}deps"
4076
4077 ac_config_commands="$ac_config_commands depfiles"
4078
4079
4080 am_make=${MAKE-make}
4081 cat > confinc << 'END'
4082 am__doit:
4083 @echo this is the am__doit target
4084 .PHONY: am__doit
4085 END
4086 # If we don't find an include directive, just comment out the code.
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4088 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4089 am__include="#"
4090 am__quote=
4091 _am_result=none
4092 # First try GNU make style include.
4093 echo "include confinc" > confmf
4094 # Ignore all kinds of additional output from `make'.
4095 case `$am_make -s -f confmf 2> /dev/null` in #(
4096 *the\ am__doit\ target*)
4097 am__include=include
4098 am__quote=
4099 _am_result=GNU
4100 ;;
4101 esac
4102 # Now try BSD make style include.
4103 if test "$am__include" = "#"; then
4104 echo '.include "confinc"' > confmf
4105 case `$am_make -s -f confmf 2> /dev/null` in #(
4106 *the\ am__doit\ target*)
4107 am__include=.include
4108 am__quote="\""
4109 _am_result=BSD
4110 ;;
4111 esac
4112 fi
4113
4114
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4116 $as_echo "$_am_result" >&6; }
4117 rm -f confinc confmf
4118
4119 # Check whether --enable-dependency-tracking was given.
4120 if test "${enable_dependency_tracking+set}" = set; then :
4121 enableval=$enable_dependency_tracking;
4122 fi
4123
4124 if test "x$enable_dependency_tracking" != xno; then
4125 am_depcomp="$ac_aux_dir/depcomp"
4126 AMDEPBACKSLASH='\'
4127 fi
4128 if test "x$enable_dependency_tracking" != xno; then
4129 AMDEP_TRUE=
4130 AMDEP_FALSE='#'
4131 else
4132 AMDEP_TRUE='#'
4133 AMDEP_FALSE=
4134 fi
4135
4136
4137 ac_ext=c
4138 ac_cpp='$CPP $CPPFLAGS'
4139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4142 if test -n "$ac_tool_prefix"; then
4143 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4144 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146 $as_echo_n "checking for $ac_word... " >&6; }
4147 if test "${ac_cv_prog_CC+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4149 else
4150 if test -n "$CC"; then
4151 ac_cv_prog_CC="$CC" # Let the user override the test.
4152 else
4153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154 for as_dir in $PATH
4155 do
4156 IFS=$as_save_IFS
4157 test -z "$as_dir" && as_dir=.
4158 for ac_exec_ext in '' $ac_executable_extensions; do
4159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4160 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 break 2
4163 fi
4164 done
4165 done
4166 IFS=$as_save_IFS
4167
4168 fi
4169 fi
4170 CC=$ac_cv_prog_CC
4171 if test -n "$CC"; then
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4173 $as_echo "$CC" >&6; }
4174 else
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4176 $as_echo "no" >&6; }
4177 fi
4178
4179
4180 fi
4181 if test -z "$ac_cv_prog_CC"; then
4182 ac_ct_CC=$CC
4183 # Extract the first word of "gcc", so it can be a program name with args.
4184 set dummy gcc; ac_word=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4188 $as_echo_n "(cached) " >&6
4189 else
4190 if test -n "$ac_ct_CC"; then
4191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4192 else
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4195 do
4196 IFS=$as_save_IFS
4197 test -z "$as_dir" && as_dir=.
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4200 ac_cv_prog_ac_ct_CC="gcc"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 break 2
4203 fi
4204 done
4205 done
4206 IFS=$as_save_IFS
4207
4208 fi
4209 fi
4210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4211 if test -n "$ac_ct_CC"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4213 $as_echo "$ac_ct_CC" >&6; }
4214 else
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4217 fi
4218
4219 if test "x$ac_ct_CC" = x; then
4220 CC=""
4221 else
4222 case $cross_compiling:$ac_tool_warned in
4223 yes:)
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4226 ac_tool_warned=yes ;;
4227 esac
4228 CC=$ac_ct_CC
4229 fi
4230 else
4231 CC="$ac_cv_prog_CC"
4232 fi
4233
4234 if test -z "$CC"; then
4235 if test -n "$ac_tool_prefix"; then
4236 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4237 set dummy ${ac_tool_prefix}cc; ac_word=$2
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4239 $as_echo_n "checking for $ac_word... " >&6; }
4240 if test "${ac_cv_prog_CC+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 if test -n "$CC"; then
4244 ac_cv_prog_CC="$CC" # Let the user override the test.
4245 else
4246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 for as_dir in $PATH
4248 do
4249 IFS=$as_save_IFS
4250 test -z "$as_dir" && as_dir=.
4251 for ac_exec_ext in '' $ac_executable_extensions; do
4252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4253 ac_cv_prog_CC="${ac_tool_prefix}cc"
4254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 break 2
4256 fi
4257 done
4258 done
4259 IFS=$as_save_IFS
4260
4261 fi
4262 fi
4263 CC=$ac_cv_prog_CC
4264 if test -n "$CC"; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4266 $as_echo "$CC" >&6; }
4267 else
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4270 fi
4271
4272
4273 fi
4274 fi
4275 if test -z "$CC"; then
4276 # Extract the first word of "cc", so it can be a program name with args.
4277 set dummy cc; ac_word=$2
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4279 $as_echo_n "checking for $ac_word... " >&6; }
4280 if test "${ac_cv_prog_CC+set}" = set; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 if test -n "$CC"; then
4284 ac_cv_prog_CC="$CC" # Let the user override the test.
4285 else
4286 ac_prog_rejected=no
4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 for as_dir in $PATH
4289 do
4290 IFS=$as_save_IFS
4291 test -z "$as_dir" && as_dir=.
4292 for ac_exec_ext in '' $ac_executable_extensions; do
4293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4294 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4295 ac_prog_rejected=yes
4296 continue
4297 fi
4298 ac_cv_prog_CC="cc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4301 fi
4302 done
4303 done
4304 IFS=$as_save_IFS
4305
4306 if test $ac_prog_rejected = yes; then
4307 # We found a bogon in the path, so make sure we never use it.
4308 set dummy $ac_cv_prog_CC
4309 shift
4310 if test $# != 0; then
4311 # We chose a different compiler from the bogus one.
4312 # However, it has the same basename, so the bogon will be chosen
4313 # first if we set CC to just the basename; use the full file name.
4314 shift
4315 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4316 fi
4317 fi
4318 fi
4319 fi
4320 CC=$ac_cv_prog_CC
4321 if test -n "$CC"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4323 $as_echo "$CC" >&6; }
4324 else
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4327 fi
4328
4329
4330 fi
4331 if test -z "$CC"; then
4332 if test -n "$ac_tool_prefix"; then
4333 for ac_prog in cl.exe
4334 do
4335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if test "${ac_cv_prog_CC+set}" = set; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 if test -n "$CC"; then
4343 ac_cv_prog_CC="$CC" # Let the user override the test.
4344 else
4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 for as_dir in $PATH
4347 do
4348 IFS=$as_save_IFS
4349 test -z "$as_dir" && as_dir=.
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4352 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 break 2
4355 fi
4356 done
4357 done
4358 IFS=$as_save_IFS
4359
4360 fi
4361 fi
4362 CC=$ac_cv_prog_CC
4363 if test -n "$CC"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4365 $as_echo "$CC" >&6; }
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 fi
4370
4371
4372 test -n "$CC" && break
4373 done
4374 fi
4375 if test -z "$CC"; then
4376 ac_ct_CC=$CC
4377 for ac_prog in cl.exe
4378 do
4379 # Extract the first word of "$ac_prog", so it can be a program name with args.
4380 set dummy $ac_prog; ac_word=$2
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382 $as_echo_n "checking for $ac_word... " >&6; }
4383 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4384 $as_echo_n "(cached) " >&6
4385 else
4386 if test -n "$ac_ct_CC"; then
4387 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4388 else
4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 for as_dir in $PATH
4391 do
4392 IFS=$as_save_IFS
4393 test -z "$as_dir" && as_dir=.
4394 for ac_exec_ext in '' $ac_executable_extensions; do
4395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4396 ac_cv_prog_ac_ct_CC="$ac_prog"
4397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 break 2
4399 fi
4400 done
4401 done
4402 IFS=$as_save_IFS
4403
4404 fi
4405 fi
4406 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4407 if test -n "$ac_ct_CC"; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4409 $as_echo "$ac_ct_CC" >&6; }
4410 else
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4413 fi
4414
4415
4416 test -n "$ac_ct_CC" && break
4417 done
4418
4419 if test "x$ac_ct_CC" = x; then
4420 CC=""
4421 else
4422 case $cross_compiling:$ac_tool_warned in
4423 yes:)
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4426 ac_tool_warned=yes ;;
4427 esac
4428 CC=$ac_ct_CC
4429 fi
4430 fi
4431
4432 fi
4433
4434
4435 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4437 as_fn_error "no acceptable C compiler found in \$PATH
4438 See \`config.log' for more details." "$LINENO" 5; }
4439
4440 # Provide some information about the compiler.
4441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4442 set X $ac_compile
4443 ac_compiler=$2
4444 for ac_option in --version -v -V -qversion; do
4445 { { ac_try="$ac_compiler $ac_option >&5"
4446 case "(($ac_try" in
4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4448 *) ac_try_echo=$ac_try;;
4449 esac
4450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4451 $as_echo "$ac_try_echo"; } >&5
4452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4453 ac_status=$?
4454 if test -s conftest.err; then
4455 sed '10a\
4456 ... rest of stderr output deleted ...
4457 10q' conftest.err >conftest.er1
4458 cat conftest.er1 >&5
4459 fi
4460 rm -f conftest.er1 conftest.err
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }
4463 done
4464
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4467
4468 int
4469 main ()
4470 {
4471
4472 ;
4473 return 0;
4474 }
4475 _ACEOF
4476 ac_clean_files_save=$ac_clean_files
4477 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4478 # Try to create an executable without -o first, disregard a.out.
4479 # It will help us diagnose broken compilers, and finding out an intuition
4480 # of exeext.
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4482 $as_echo_n "checking whether the C compiler works... " >&6; }
4483 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4484
4485 # The possible output files:
4486 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4487
4488 ac_rmfiles=
4489 for ac_file in $ac_files
4490 do
4491 case $ac_file in
4492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4493 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4494 esac
4495 done
4496 rm -f $ac_rmfiles
4497
4498 if { { ac_try="$ac_link_default"
4499 case "(($ac_try" in
4500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4501 *) ac_try_echo=$ac_try;;
4502 esac
4503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4504 $as_echo "$ac_try_echo"; } >&5
4505 (eval "$ac_link_default") 2>&5
4506 ac_status=$?
4507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4508 test $ac_status = 0; }; then :
4509 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4510 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4511 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4512 # so that the user can short-circuit this test for compilers unknown to
4513 # Autoconf.
4514 for ac_file in $ac_files ''
4515 do
4516 test -f "$ac_file" || continue
4517 case $ac_file in
4518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4519 ;;
4520 [ab].out )
4521 # We found the default executable, but exeext='' is most
4522 # certainly right.
4523 break;;
4524 *.* )
4525 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4526 then :; else
4527 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4528 fi
4529 # We set ac_cv_exeext here because the later test for it is not
4530 # safe: cross compilers may not add the suffix if given an `-o'
4531 # argument, so we may need to know it at that point already.
4532 # Even if this section looks crufty: it has the advantage of
4533 # actually working.
4534 break;;
4535 * )
4536 break;;
4537 esac
4538 done
4539 test "$ac_cv_exeext" = no && ac_cv_exeext=
4540
4541 else
4542 ac_file=''
4543 fi
4544 if test -z "$ac_file"; then :
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4547 $as_echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4549
4550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4552 { as_fn_set_status 77
4553 as_fn_error "C compiler cannot create executables
4554 See \`config.log' for more details." "$LINENO" 5; }; }
4555 else
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4557 $as_echo "yes" >&6; }
4558 fi
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4560 $as_echo_n "checking for C compiler default output file name... " >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4562 $as_echo "$ac_file" >&6; }
4563 ac_exeext=$ac_cv_exeext
4564
4565 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4566 ac_clean_files=$ac_clean_files_save
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4568 $as_echo_n "checking for suffix of executables... " >&6; }
4569 if { { ac_try="$ac_link"
4570 case "(($ac_try" in
4571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4572 *) ac_try_echo=$ac_try;;
4573 esac
4574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4575 $as_echo "$ac_try_echo"; } >&5
4576 (eval "$ac_link") 2>&5
4577 ac_status=$?
4578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4579 test $ac_status = 0; }; then :
4580 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4581 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4582 # work properly (i.e., refer to `conftest.exe'), while it won't with
4583 # `rm'.
4584 for ac_file in conftest.exe conftest conftest.*; do
4585 test -f "$ac_file" || continue
4586 case $ac_file in
4587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4588 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4589 break;;
4590 * ) break;;
4591 esac
4592 done
4593 else
4594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4596 as_fn_error "cannot compute suffix of executables: cannot compile and link
4597 See \`config.log' for more details." "$LINENO" 5; }
4598 fi
4599 rm -f conftest conftest$ac_cv_exeext
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4601 $as_echo "$ac_cv_exeext" >&6; }
4602
4603 rm -f conftest.$ac_ext
4604 EXEEXT=$ac_cv_exeext
4605 ac_exeext=$EXEEXT
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4608 #include <stdio.h>
4609 int
4610 main ()
4611 {
4612 FILE *f = fopen ("conftest.out", "w");
4613 return ferror (f) || fclose (f) != 0;
4614
4615 ;
4616 return 0;
4617 }
4618 _ACEOF
4619 ac_clean_files="$ac_clean_files conftest.out"
4620 # Check that the compiler produces executables we can run. If not, either
4621 # the compiler is broken, or we cross compile.
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4623 $as_echo_n "checking whether we are cross compiling... " >&6; }
4624 if test "$cross_compiling" != yes; then
4625 { { ac_try="$ac_link"
4626 case "(($ac_try" in
4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4629 esac
4630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4631 $as_echo "$ac_try_echo"; } >&5
4632 (eval "$ac_link") 2>&5
4633 ac_status=$?
4634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4635 test $ac_status = 0; }
4636 if { ac_try='./conftest$ac_cv_exeext'
4637 { { case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_try") 2>&5
4644 ac_status=$?
4645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4646 test $ac_status = 0; }; }; then
4647 cross_compiling=no
4648 else
4649 if test "$cross_compiling" = maybe; then
4650 cross_compiling=yes
4651 else
4652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4654 as_fn_error "cannot run C compiled programs.
4655 If you meant to cross compile, use \`--host'.
4656 See \`config.log' for more details." "$LINENO" 5; }
4657 fi
4658 fi
4659 fi
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4661 $as_echo "$cross_compiling" >&6; }
4662
4663 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4664 ac_clean_files=$ac_clean_files_save
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4666 $as_echo_n "checking for suffix of object files... " >&6; }
4667 if test "${ac_cv_objext+set}" = set; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4672
4673 int
4674 main ()
4675 {
4676
4677 ;
4678 return 0;
4679 }
4680 _ACEOF
4681 rm -f conftest.o conftest.obj
4682 if { { ac_try="$ac_compile"
4683 case "(($ac_try" in
4684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685 *) ac_try_echo=$ac_try;;
4686 esac
4687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4688 $as_echo "$ac_try_echo"; } >&5
4689 (eval "$ac_compile") 2>&5
4690 ac_status=$?
4691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4692 test $ac_status = 0; }; then :
4693 for ac_file in conftest.o conftest.obj conftest.*; do
4694 test -f "$ac_file" || continue;
4695 case $ac_file in
4696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4697 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4698 break;;
4699 esac
4700 done
4701 else
4702 $as_echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4704
4705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4707 as_fn_error "cannot compute suffix of object files: cannot compile
4708 See \`config.log' for more details." "$LINENO" 5; }
4709 fi
4710 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4711 fi
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4713 $as_echo "$ac_cv_objext" >&6; }
4714 OBJEXT=$ac_cv_objext
4715 ac_objext=$OBJEXT
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4717 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4718 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4719 $as_echo_n "(cached) " >&6
4720 else
4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4723
4724 int
4725 main ()
4726 {
4727 #ifndef __GNUC__
4728 choke me
4729 #endif
4730
4731 ;
4732 return 0;
4733 }
4734 _ACEOF
4735 if ac_fn_c_try_compile "$LINENO"; then :
4736 ac_compiler_gnu=yes
4737 else
4738 ac_compiler_gnu=no
4739 fi
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4742
4743 fi
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4745 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4746 if test $ac_compiler_gnu = yes; then
4747 GCC=yes
4748 else
4749 GCC=
4750 fi
4751 ac_test_CFLAGS=${CFLAGS+set}
4752 ac_save_CFLAGS=$CFLAGS
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4754 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4755 if test "${ac_cv_prog_cc_g+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 ac_save_c_werror_flag=$ac_c_werror_flag
4759 ac_c_werror_flag=yes
4760 ac_cv_prog_cc_g=no
4761 CFLAGS="-g"
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4764
4765 int
4766 main ()
4767 {
4768
4769 ;
4770 return 0;
4771 }
4772 _ACEOF
4773 if ac_fn_c_try_compile "$LINENO"; then :
4774 ac_cv_prog_cc_g=yes
4775 else
4776 CFLAGS=""
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4779
4780 int
4781 main ()
4782 {
4783
4784 ;
4785 return 0;
4786 }
4787 _ACEOF
4788 if ac_fn_c_try_compile "$LINENO"; then :
4789
4790 else
4791 ac_c_werror_flag=$ac_save_c_werror_flag
4792 CFLAGS="-g"
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4795
4796 int
4797 main ()
4798 {
4799
4800 ;
4801 return 0;
4802 }
4803 _ACEOF
4804 if ac_fn_c_try_compile "$LINENO"; then :
4805 ac_cv_prog_cc_g=yes
4806 fi
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 fi
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 fi
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 ac_c_werror_flag=$ac_save_c_werror_flag
4813 fi
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4815 $as_echo "$ac_cv_prog_cc_g" >&6; }
4816 if test "$ac_test_CFLAGS" = set; then
4817 CFLAGS=$ac_save_CFLAGS
4818 elif test $ac_cv_prog_cc_g = yes; then
4819 if test "$GCC" = yes; then
4820 CFLAGS="-g"
4821 else
4822 CFLAGS="-g"
4823 fi
4824 else
4825 if test "$GCC" = yes; then
4826 CFLAGS="-O2"
4827 else
4828 CFLAGS=
4829 fi
4830 fi
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4832 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4833 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 ac_cv_prog_cc_c89=no
4837 ac_save_CC=$CC
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4840 #include <stdarg.h>
4841 #include <stdio.h>
4842 #include <sys/types.h>
4843 #include <sys/stat.h>
4844 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4845 struct buf { int x; };
4846 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4847 static char *e (p, i)
4848 char **p;
4849 int i;
4850 {
4851 return p[i];
4852 }
4853 static char *f (char * (*g) (char **, int), char **p, ...)
4854 {
4855 char *s;
4856 va_list v;
4857 va_start (v,p);
4858 s = g (p, va_arg (v,int));
4859 va_end (v);
4860 return s;
4861 }
4862
4863 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4864 function prototypes and stuff, but not '\xHH' hex character constants.
4865 These don't provoke an error unfortunately, instead are silently treated
4866 as 'x'. The following induces an error, until -std is added to get
4867 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4868 array size at least. It's necessary to write '\x00'==0 to get something
4869 that's true only with -std. */
4870 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4871
4872 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4873 inside strings and character constants. */
4874 #define FOO(x) 'x'
4875 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4876
4877 int test (int i, double x);
4878 struct s1 {int (*f) (int a);};
4879 struct s2 {int (*f) (double a);};
4880 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4881 int argc;
4882 char **argv;
4883 int
4884 main ()
4885 {
4886 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4887 ;
4888 return 0;
4889 }
4890 _ACEOF
4891 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4892 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4893 do
4894 CC="$ac_save_CC $ac_arg"
4895 if ac_fn_c_try_compile "$LINENO"; then :
4896 ac_cv_prog_cc_c89=$ac_arg
4897 fi
4898 rm -f core conftest.err conftest.$ac_objext
4899 test "x$ac_cv_prog_cc_c89" != "xno" && break
4900 done
4901 rm -f conftest.$ac_ext
4902 CC=$ac_save_CC
4903
4904 fi
4905 # AC_CACHE_VAL
4906 case "x$ac_cv_prog_cc_c89" in
4907 x)
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4909 $as_echo "none needed" >&6; } ;;
4910 xno)
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4912 $as_echo "unsupported" >&6; } ;;
4913 *)
4914 CC="$CC $ac_cv_prog_cc_c89"
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4916 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4917 esac
4918 if test "x$ac_cv_prog_cc_c89" != xno; then :
4919
4920 fi
4921
4922 ac_ext=c
4923 ac_cpp='$CPP $CPPFLAGS'
4924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4927
4928 depcc="$CC" am_compiler_list=
4929
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4931 $as_echo_n "checking dependency style of $depcc... " >&6; }
4932 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4934 else
4935 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4936 # We make a subdir and do the tests there. Otherwise we can end up
4937 # making bogus files that we don't know about and never remove. For
4938 # instance it was reported that on HP-UX the gcc test will end up
4939 # making a dummy file named `D' -- because `-MD' means `put the output
4940 # in D'.
4941 mkdir conftest.dir
4942 # Copy depcomp to subdir because otherwise we won't find it if we're
4943 # using a relative directory.
4944 cp "$am_depcomp" conftest.dir
4945 cd conftest.dir
4946 # We will build objects and dependencies in a subdirectory because
4947 # it helps to detect inapplicable dependency modes. For instance
4948 # both Tru64's cc and ICC support -MD to output dependencies as a
4949 # side effect of compilation, but ICC will put the dependencies in
4950 # the current directory while Tru64 will put them in the object
4951 # directory.
4952 mkdir sub
4953
4954 am_cv_CC_dependencies_compiler_type=none
4955 if test "$am_compiler_list" = ""; then
4956 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4957 fi
4958 am__universal=false
4959 case " $depcc " in #(
4960 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4961 esac
4962
4963 for depmode in $am_compiler_list; do
4964 # Setup a source with many dependencies, because some compilers
4965 # like to wrap large dependency lists on column 80 (with \), and
4966 # we should not choose a depcomp mode which is confused by this.
4967 #
4968 # We need to recreate these files for each test, as the compiler may
4969 # overwrite some of them when testing with obscure command lines.
4970 # This happens at least with the AIX C compiler.
4971 : > sub/conftest.c
4972 for i in 1 2 3 4 5 6; do
4973 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4974 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4975 # Solaris 8's {/usr,}/bin/sh.
4976 touch sub/conftst$i.h
4977 done
4978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4979
4980 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4981 # mode. It turns out that the SunPro C++ compiler does not properly
4982 # handle `-M -o', and we need to detect this. Also, some Intel
4983 # versions had trouble with output in subdirs
4984 am__obj=sub/conftest.${OBJEXT-o}
4985 am__minus_obj="-o $am__obj"
4986 case $depmode in
4987 gcc)
4988 # This depmode causes a compiler race in universal mode.
4989 test "$am__universal" = false || continue
4990 ;;
4991 nosideeffect)
4992 # after this tag, mechanisms are not by side-effect, so they'll
4993 # only be used when explicitly requested
4994 if test "x$enable_dependency_tracking" = xyes; then
4995 continue
4996 else
4997 break
4998 fi
4999 ;;
5000 msvisualcpp | msvcmsys)
5001 # This compiler won't grok `-c -o', but also, the minuso test has
5002 # not run yet. These depmodes are late enough in the game, and
5003 # so weak that their functioning should not be impacted.
5004 am__obj=conftest.${OBJEXT-o}
5005 am__minus_obj=
5006 ;;
5007 none) break ;;
5008 esac
5009 if depmode=$depmode \
5010 source=sub/conftest.c object=$am__obj \
5011 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5012 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5013 >/dev/null 2>conftest.err &&
5014 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5015 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5016 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5017 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5018 # icc doesn't choke on unknown options, it will just issue warnings
5019 # or remarks (even with -Werror). So we grep stderr for any message
5020 # that says an option was ignored or not supported.
5021 # When given -MP, icc 7.0 and 7.1 complain thusly:
5022 # icc: Command line warning: ignoring option '-M'; no argument required
5023 # The diagnosis changed in icc 8.0:
5024 # icc: Command line remark: option '-MP' not supported
5025 if (grep 'ignoring option' conftest.err ||
5026 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5027 am_cv_CC_dependencies_compiler_type=$depmode
5028 break
5029 fi
5030 fi
5031 done
5032
5033 cd ..
5034 rm -rf conftest.dir
5035 else
5036 am_cv_CC_dependencies_compiler_type=none
5037 fi
5038
5039 fi
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5042 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5043
5044 if
5045 test "x$enable_dependency_tracking" != xno \
5046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5047 am__fastdepCC_TRUE=
5048 am__fastdepCC_FALSE='#'
5049 else
5050 am__fastdepCC_TRUE='#'
5051 am__fastdepCC_FALSE=
5052 fi
5053
5054
5055
5056 ac_ext=c
5057 ac_cpp='$CPP $CPPFLAGS'
5058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5062 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5063 # On Suns, sometimes $CPP names a directory.
5064 if test -n "$CPP" && test -d "$CPP"; then
5065 CPP=
5066 fi
5067 if test -z "$CPP"; then
5068 if test "${ac_cv_prog_CPP+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 # Double quotes because CPP needs to be expanded
5072 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5073 do
5074 ac_preproc_ok=false
5075 for ac_c_preproc_warn_flag in '' yes
5076 do
5077 # Use a header file that comes with gcc, so configuring glibc
5078 # with a fresh cross-compiler works.
5079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5080 # <limits.h> exists even on freestanding compilers.
5081 # On the NeXT, cc -E runs the code through the compiler's parser,
5082 # not just through cpp. "Syntax error" is here to catch this case.
5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5085 #ifdef __STDC__
5086 # include <limits.h>
5087 #else
5088 # include <assert.h>
5089 #endif
5090 Syntax error
5091 _ACEOF
5092 if ac_fn_c_try_cpp "$LINENO"; then :
5093
5094 else
5095 # Broken: fails on valid input.
5096 continue
5097 fi
5098 rm -f conftest.err conftest.$ac_ext
5099
5100 # OK, works on sane cases. Now check whether nonexistent headers
5101 # can be detected and how.
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5104 #include <ac_nonexistent.h>
5105 _ACEOF
5106 if ac_fn_c_try_cpp "$LINENO"; then :
5107 # Broken: success on invalid input.
5108 continue
5109 else
5110 # Passes both tests.
5111 ac_preproc_ok=:
5112 break
5113 fi
5114 rm -f conftest.err conftest.$ac_ext
5115
5116 done
5117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5118 rm -f conftest.err conftest.$ac_ext
5119 if $ac_preproc_ok; then :
5120 break
5121 fi
5122
5123 done
5124 ac_cv_prog_CPP=$CPP
5125
5126 fi
5127 CPP=$ac_cv_prog_CPP
5128 else
5129 ac_cv_prog_CPP=$CPP
5130 fi
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5132 $as_echo "$CPP" >&6; }
5133 ac_preproc_ok=false
5134 for ac_c_preproc_warn_flag in '' yes
5135 do
5136 # Use a header file that comes with gcc, so configuring glibc
5137 # with a fresh cross-compiler works.
5138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5139 # <limits.h> exists even on freestanding compilers.
5140 # On the NeXT, cc -E runs the code through the compiler's parser,
5141 # not just through cpp. "Syntax error" is here to catch this case.
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #ifdef __STDC__
5145 # include <limits.h>
5146 #else
5147 # include <assert.h>
5148 #endif
5149 Syntax error
5150 _ACEOF
5151 if ac_fn_c_try_cpp "$LINENO"; then :
5152
5153 else
5154 # Broken: fails on valid input.
5155 continue
5156 fi
5157 rm -f conftest.err conftest.$ac_ext
5158
5159 # OK, works on sane cases. Now check whether nonexistent headers
5160 # can be detected and how.
5161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5162 /* end confdefs.h. */
5163 #include <ac_nonexistent.h>
5164 _ACEOF
5165 if ac_fn_c_try_cpp "$LINENO"; then :
5166 # Broken: success on invalid input.
5167 continue
5168 else
5169 # Passes both tests.
5170 ac_preproc_ok=:
5171 break
5172 fi
5173 rm -f conftest.err conftest.$ac_ext
5174
5175 done
5176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5177 rm -f conftest.err conftest.$ac_ext
5178 if $ac_preproc_ok; then :
5179
5180 else
5181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5183 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5184 See \`config.log' for more details." "$LINENO" 5; }
5185 fi
5186
5187 ac_ext=c
5188 ac_cpp='$CPP $CPPFLAGS'
5189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5192
5193
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5195 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5196 if test "${ac_cv_path_GREP+set}" = set; then :
5197 $as_echo_n "(cached) " >&6
5198 else
5199 if test -z "$GREP"; then
5200 ac_path_GREP_found=false
5201 # Loop through the user's path and test for each of PROGNAME-LIST
5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5203 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5204 do
5205 IFS=$as_save_IFS
5206 test -z "$as_dir" && as_dir=.
5207 for ac_prog in grep ggrep; do
5208 for ac_exec_ext in '' $ac_executable_extensions; do
5209 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5210 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5211 # Check for GNU ac_path_GREP and select it if it is found.
5212 # Check for GNU $ac_path_GREP
5213 case `"$ac_path_GREP" --version 2>&1` in
5214 *GNU*)
5215 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5216 *)
5217 ac_count=0
5218 $as_echo_n 0123456789 >"conftest.in"
5219 while :
5220 do
5221 cat "conftest.in" "conftest.in" >"conftest.tmp"
5222 mv "conftest.tmp" "conftest.in"
5223 cp "conftest.in" "conftest.nl"
5224 $as_echo 'GREP' >> "conftest.nl"
5225 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5226 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5227 as_fn_arith $ac_count + 1 && ac_count=$as_val
5228 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5229 # Best one so far, save it but keep looking for a better one
5230 ac_cv_path_GREP="$ac_path_GREP"
5231 ac_path_GREP_max=$ac_count
5232 fi
5233 # 10*(2^10) chars as input seems more than enough
5234 test $ac_count -gt 10 && break
5235 done
5236 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5237 esac
5238
5239 $ac_path_GREP_found && break 3
5240 done
5241 done
5242 done
5243 IFS=$as_save_IFS
5244 if test -z "$ac_cv_path_GREP"; then
5245 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5246 fi
5247 else
5248 ac_cv_path_GREP=$GREP
5249 fi
5250
5251 fi
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5253 $as_echo "$ac_cv_path_GREP" >&6; }
5254 GREP="$ac_cv_path_GREP"
5255
5256
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5258 $as_echo_n "checking for egrep... " >&6; }
5259 if test "${ac_cv_path_EGREP+set}" = set; then :
5260 $as_echo_n "(cached) " >&6
5261 else
5262 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5263 then ac_cv_path_EGREP="$GREP -E"
5264 else
5265 if test -z "$EGREP"; then
5266 ac_path_EGREP_found=false
5267 # Loop through the user's path and test for each of PROGNAME-LIST
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5270 do
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_prog in egrep; do
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5276 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5277 # Check for GNU ac_path_EGREP and select it if it is found.
5278 # Check for GNU $ac_path_EGREP
5279 case `"$ac_path_EGREP" --version 2>&1` in
5280 *GNU*)
5281 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5282 *)
5283 ac_count=0
5284 $as_echo_n 0123456789 >"conftest.in"
5285 while :
5286 do
5287 cat "conftest.in" "conftest.in" >"conftest.tmp"
5288 mv "conftest.tmp" "conftest.in"
5289 cp "conftest.in" "conftest.nl"
5290 $as_echo 'EGREP' >> "conftest.nl"
5291 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5293 as_fn_arith $ac_count + 1 && ac_count=$as_val
5294 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5295 # Best one so far, save it but keep looking for a better one
5296 ac_cv_path_EGREP="$ac_path_EGREP"
5297 ac_path_EGREP_max=$ac_count
5298 fi
5299 # 10*(2^10) chars as input seems more than enough
5300 test $ac_count -gt 10 && break
5301 done
5302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5303 esac
5304
5305 $ac_path_EGREP_found && break 3
5306 done
5307 done
5308 done
5309 IFS=$as_save_IFS
5310 if test -z "$ac_cv_path_EGREP"; then
5311 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5312 fi
5313 else
5314 ac_cv_path_EGREP=$EGREP
5315 fi
5316
5317 fi
5318 fi
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5320 $as_echo "$ac_cv_path_EGREP" >&6; }
5321 EGREP="$ac_cv_path_EGREP"
5322
5323
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5325 $as_echo_n "checking for ANSI C header files... " >&6; }
5326 if test "${ac_cv_header_stdc+set}" = set; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5331 #include <stdlib.h>
5332 #include <stdarg.h>
5333 #include <string.h>
5334 #include <float.h>
5335
5336 int
5337 main ()
5338 {
5339
5340 ;
5341 return 0;
5342 }
5343 _ACEOF
5344 if ac_fn_c_try_compile "$LINENO"; then :
5345 ac_cv_header_stdc=yes
5346 else
5347 ac_cv_header_stdc=no
5348 fi
5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350
5351 if test $ac_cv_header_stdc = yes; then
5352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5355 #include <string.h>
5356
5357 _ACEOF
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "memchr" >/dev/null 2>&1; then :
5360
5361 else
5362 ac_cv_header_stdc=no
5363 fi
5364 rm -f conftest*
5365
5366 fi
5367
5368 if test $ac_cv_header_stdc = yes; then
5369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5372 #include <stdlib.h>
5373
5374 _ACEOF
5375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5376 $EGREP "free" >/dev/null 2>&1; then :
5377
5378 else
5379 ac_cv_header_stdc=no
5380 fi
5381 rm -f conftest*
5382
5383 fi
5384
5385 if test $ac_cv_header_stdc = yes; then
5386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5387 if test "$cross_compiling" = yes; then :
5388 :
5389 else
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5392 #include <ctype.h>
5393 #include <stdlib.h>
5394 #if ((' ' & 0x0FF) == 0x020)
5395 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5396 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5397 #else
5398 # define ISLOWER(c) \
5399 (('a' <= (c) && (c) <= 'i') \
5400 || ('j' <= (c) && (c) <= 'r') \
5401 || ('s' <= (c) && (c) <= 'z'))
5402 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5403 #endif
5404
5405 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5406 int
5407 main ()
5408 {
5409 int i;
5410 for (i = 0; i < 256; i++)
5411 if (XOR (islower (i), ISLOWER (i))
5412 || toupper (i) != TOUPPER (i))
5413 return 2;
5414 return 0;
5415 }
5416 _ACEOF
5417 if ac_fn_c_try_run "$LINENO"; then :
5418
5419 else
5420 ac_cv_header_stdc=no
5421 fi
5422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5423 conftest.$ac_objext conftest.beam conftest.$ac_ext
5424 fi
5425
5426 fi
5427 fi
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5429 $as_echo "$ac_cv_header_stdc" >&6; }
5430 if test $ac_cv_header_stdc = yes; then
5431
5432 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5433
5434 fi
5435
5436 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5438 inttypes.h stdint.h unistd.h
5439 do :
5440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5441 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5442 "
5443 eval as_val=\$$as_ac_Header
5444 if test "x$as_val" = x""yes; then :
5445 cat >>confdefs.h <<_ACEOF
5446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5447 _ACEOF
5448
5449 fi
5450
5451 done
5452
5453
5454
5455 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5456 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5457 MINIX=yes
5458 else
5459 MINIX=
5460 fi
5461
5462
5463 if test "$MINIX" = yes; then
5464
5465 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5466
5467
5468 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5469
5470
5471 $as_echo "#define _MINIX 1" >>confdefs.h
5472
5473 fi
5474
5475
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5477 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5478 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5483
5484 # define __EXTENSIONS__ 1
5485 $ac_includes_default
5486 int
5487 main ()
5488 {
5489
5490 ;
5491 return 0;
5492 }
5493 _ACEOF
5494 if ac_fn_c_try_compile "$LINENO"; then :
5495 ac_cv_safe_to_define___extensions__=yes
5496 else
5497 ac_cv_safe_to_define___extensions__=no
5498 fi
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500 fi
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5502 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5503 test $ac_cv_safe_to_define___extensions__ = yes &&
5504 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5505
5506 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5507
5508 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5509
5510 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5511
5512 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5513
5514
5515
5516 ac_ext=m
5517 ac_cpp='$OBJCPP $CPPFLAGS'
5518 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5519 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5520 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
5521 if test -n "$ac_tool_prefix"; then
5522 for ac_prog in gcc objcc objc cc CC
5523 do
5524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if test "${ac_cv_prog_OBJC+set}" = set; then :
5529 $as_echo_n "(cached) " >&6
5530 else
5531 if test -n "$OBJC"; then
5532 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
5533 else
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 for as_dir in $PATH
5536 do
5537 IFS=$as_save_IFS
5538 test -z "$as_dir" && as_dir=.
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 break 2
5544 fi
5545 done
5546 done
5547 IFS=$as_save_IFS
5548
5549 fi
5550 fi
5551 OBJC=$ac_cv_prog_OBJC
5552 if test -n "$OBJC"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
5554 $as_echo "$OBJC" >&6; }
5555 else
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5558 fi
5559
5560
5561 test -n "$OBJC" && break
5562 done
5563 fi
5564 if test -z "$OBJC"; then
5565 ac_ct_OBJC=$OBJC
5566 for ac_prog in gcc objcc objc cc CC
5567 do
5568 # Extract the first word of "$ac_prog", so it can be a program name with args.
5569 set dummy $ac_prog; ac_word=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
5573 $as_echo_n "(cached) " >&6
5574 else
5575 if test -n "$ac_ct_OBJC"; then
5576 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
5577 else
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 for as_dir in $PATH
5580 do
5581 IFS=$as_save_IFS
5582 test -z "$as_dir" && as_dir=.
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585 ac_cv_prog_ac_ct_OBJC="$ac_prog"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 break 2
5588 fi
5589 done
5590 done
5591 IFS=$as_save_IFS
5592
5593 fi
5594 fi
5595 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
5596 if test -n "$ac_ct_OBJC"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
5598 $as_echo "$ac_ct_OBJC" >&6; }
5599 else
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5602 fi
5603
5604
5605 test -n "$ac_ct_OBJC" && break
5606 done
5607
5608 if test "x$ac_ct_OBJC" = x; then
5609 OBJC="gcc"
5610 else
5611 case $cross_compiling:$ac_tool_warned in
5612 yes:)
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5615 ac_tool_warned=yes ;;
5616 esac
5617 OBJC=$ac_ct_OBJC
5618 fi
5619 fi
5620
5621 # Provide some information about the compiler.
5622 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
5623 set X $ac_compile
5624 ac_compiler=$2
5625 for ac_option in --version -v -V -qversion; do
5626 { { ac_try="$ac_compiler $ac_option >&5"
5627 case "(($ac_try" in
5628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5629 *) ac_try_echo=$ac_try;;
5630 esac
5631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5632 $as_echo "$ac_try_echo"; } >&5
5633 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5634 ac_status=$?
5635 if test -s conftest.err; then
5636 sed '10a\
5637 ... rest of stderr output deleted ...
5638 10q' conftest.err >conftest.er1
5639 cat conftest.er1 >&5
5640 fi
5641 rm -f conftest.er1 conftest.err
5642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5643 test $ac_status = 0; }
5644 done
5645
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
5647 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
5648 if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
5649 $as_echo_n "(cached) " >&6
5650 else
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5653
5654 int
5655 main ()
5656 {
5657 #ifndef __GNUC__
5658 choke me
5659 #endif
5660
5661 ;
5662 return 0;
5663 }
5664 _ACEOF
5665 if ac_fn_objc_try_compile "$LINENO"; then :
5666 ac_compiler_gnu=yes
5667 else
5668 ac_compiler_gnu=no
5669 fi
5670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5671 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
5672
5673 fi
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
5675 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
5676 if test $ac_compiler_gnu = yes; then
5677 GOBJC=yes
5678 else
5679 GOBJC=
5680 fi
5681 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
5682 ac_save_OBJCFLAGS=$OBJCFLAGS
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
5684 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
5685 if test "${ac_cv_prog_objc_g+set}" = set; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 ac_save_objc_werror_flag=$ac_objc_werror_flag
5689 ac_objc_werror_flag=yes
5690 ac_cv_prog_objc_g=no
5691 OBJCFLAGS="-g"
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5694
5695 int
5696 main ()
5697 {
5698
5699 ;
5700 return 0;
5701 }
5702 _ACEOF
5703 if ac_fn_objc_try_compile "$LINENO"; then :
5704 ac_cv_prog_objc_g=yes
5705 else
5706 OBJCFLAGS=""
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5709
5710 int
5711 main ()
5712 {
5713
5714 ;
5715 return 0;
5716 }
5717 _ACEOF
5718 if ac_fn_objc_try_compile "$LINENO"; then :
5719
5720 else
5721 ac_objc_werror_flag=$ac_save_objc_werror_flag
5722 OBJCFLAGS="-g"
5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5725
5726 int
5727 main ()
5728 {
5729
5730 ;
5731 return 0;
5732 }
5733 _ACEOF
5734 if ac_fn_objc_try_compile "$LINENO"; then :
5735 ac_cv_prog_objc_g=yes
5736 fi
5737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5738 fi
5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740 fi
5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742 ac_objc_werror_flag=$ac_save_objc_werror_flag
5743 fi
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
5745 $as_echo "$ac_cv_prog_objc_g" >&6; }
5746 if test "$ac_test_OBJCFLAGS" = set; then
5747 OBJCFLAGS=$ac_save_OBJCFLAGS
5748 elif test $ac_cv_prog_objc_g = yes; then
5749 if test "$GOBJC" = yes; then
5750 OBJCFLAGS="-g"
5751 else
5752 OBJCFLAGS="-g"
5753 fi
5754 else
5755 if test "$GOBJC" = yes; then
5756 OBJCFLAGS="-O2"
5757 else
5758 OBJCFLAGS=
5759 fi
5760 fi
5761 ac_ext=c
5762 ac_cpp='$CPP $CPPFLAGS'
5763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5766
5767 depcc="$OBJC" am_compiler_list='gcc3 gcc'
5768
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5770 $as_echo_n "checking dependency style of $depcc... " >&6; }
5771 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
5772 $as_echo_n "(cached) " >&6
5773 else
5774 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5775 # We make a subdir and do the tests there. Otherwise we can end up
5776 # making bogus files that we don't know about and never remove. For
5777 # instance it was reported that on HP-UX the gcc test will end up
5778 # making a dummy file named `D' -- because `-MD' means `put the output
5779 # in D'.
5780 mkdir conftest.dir
5781 # Copy depcomp to subdir because otherwise we won't find it if we're
5782 # using a relative directory.
5783 cp "$am_depcomp" conftest.dir
5784 cd conftest.dir
5785 # We will build objects and dependencies in a subdirectory because
5786 # it helps to detect inapplicable dependency modes. For instance
5787 # both Tru64's cc and ICC support -MD to output dependencies as a
5788 # side effect of compilation, but ICC will put the dependencies in
5789 # the current directory while Tru64 will put them in the object
5790 # directory.
5791 mkdir sub
5792
5793 am_cv_OBJC_dependencies_compiler_type=none
5794 if test "$am_compiler_list" = ""; then
5795 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5796 fi
5797 am__universal=false
5798
5799
5800 for depmode in $am_compiler_list; do
5801 # Setup a source with many dependencies, because some compilers
5802 # like to wrap large dependency lists on column 80 (with \), and
5803 # we should not choose a depcomp mode which is confused by this.
5804 #
5805 # We need to recreate these files for each test, as the compiler may
5806 # overwrite some of them when testing with obscure command lines.
5807 # This happens at least with the AIX C compiler.
5808 : > sub/conftest.c
5809 for i in 1 2 3 4 5 6; do
5810 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5811 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5812 # Solaris 8's {/usr,}/bin/sh.
5813 touch sub/conftst$i.h
5814 done
5815 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5816
5817 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5818 # mode. It turns out that the SunPro C++ compiler does not properly
5819 # handle `-M -o', and we need to detect this. Also, some Intel
5820 # versions had trouble with output in subdirs
5821 am__obj=sub/conftest.${OBJEXT-o}
5822 am__minus_obj="-o $am__obj"
5823 case $depmode in
5824 gcc)
5825 # This depmode causes a compiler race in universal mode.
5826 test "$am__universal" = false || continue
5827 ;;
5828 nosideeffect)
5829 # after this tag, mechanisms are not by side-effect, so they'll
5830 # only be used when explicitly requested
5831 if test "x$enable_dependency_tracking" = xyes; then
5832 continue
5833 else
5834 break
5835 fi
5836 ;;
5837 msvisualcpp | msvcmsys)
5838 # This compiler won't grok `-c -o', but also, the minuso test has
5839 # not run yet. These depmodes are late enough in the game, and
5840 # so weak that their functioning should not be impacted.
5841 am__obj=conftest.${OBJEXT-o}
5842 am__minus_obj=
5843 ;;
5844 none) break ;;
5845 esac
5846 if depmode=$depmode \
5847 source=sub/conftest.c object=$am__obj \
5848 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5849 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5850 >/dev/null 2>conftest.err &&
5851 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5852 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5853 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5854 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5855 # icc doesn't choke on unknown options, it will just issue warnings
5856 # or remarks (even with -Werror). So we grep stderr for any message
5857 # that says an option was ignored or not supported.
5858 # When given -MP, icc 7.0 and 7.1 complain thusly:
5859 # icc: Command line warning: ignoring option '-M'; no argument required
5860 # The diagnosis changed in icc 8.0:
5861 # icc: Command line remark: option '-MP' not supported
5862 if (grep 'ignoring option' conftest.err ||
5863 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5864 am_cv_OBJC_dependencies_compiler_type=$depmode
5865 break
5866 fi
5867 fi
5868 done
5869
5870 cd ..
5871 rm -rf conftest.dir
5872 else
5873 am_cv_OBJC_dependencies_compiler_type=none
5874 fi
5875
5876 fi
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
5878 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
5879 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
5880
5881 if
5882 test "x$enable_dependency_tracking" != xno \
5883 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
5884 am__fastdepOBJC_TRUE=
5885 am__fastdepOBJC_FALSE='#'
5886 else
5887 am__fastdepOBJC_TRUE='#'
5888 am__fastdepOBJC_FALSE=
5889 fi
5890
5891
5892 ac_ext=c
5893 ac_cpp='$CPP $CPPFLAGS'
5894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5897 if test -n "$ac_tool_prefix"; then
5898 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5899 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if test "${ac_cv_prog_CC+set}" = set; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 if test -n "$CC"; then
5906 ac_cv_prog_CC="$CC" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5910 do
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5915 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5918 fi
5919 done
5920 done
5921 IFS=$as_save_IFS
5922
5923 fi
5924 fi
5925 CC=$ac_cv_prog_CC
5926 if test -n "$CC"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5928 $as_echo "$CC" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5932 fi
5933
5934
5935 fi
5936 if test -z "$ac_cv_prog_CC"; then
5937 ac_ct_CC=$CC
5938 # Extract the first word of "gcc", so it can be a program name with args.
5939 set dummy gcc; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5943 $as_echo_n "(cached) " >&6
5944 else
5945 if test -n "$ac_ct_CC"; then
5946 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5947 else
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 for as_dir in $PATH
5950 do
5951 IFS=$as_save_IFS
5952 test -z "$as_dir" && as_dir=.
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955 ac_cv_prog_ac_ct_CC="gcc"
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957 break 2
5958 fi
5959 done
5960 done
5961 IFS=$as_save_IFS
5962
5963 fi
5964 fi
5965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5966 if test -n "$ac_ct_CC"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5968 $as_echo "$ac_ct_CC" >&6; }
5969 else
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5972 fi
5973
5974 if test "x$ac_ct_CC" = x; then
5975 CC=""
5976 else
5977 case $cross_compiling:$ac_tool_warned in
5978 yes:)
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5981 ac_tool_warned=yes ;;
5982 esac
5983 CC=$ac_ct_CC
5984 fi
5985 else
5986 CC="$ac_cv_prog_CC"
5987 fi
5988
5989 if test -z "$CC"; then
5990 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}cc; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if test "${ac_cv_prog_CC+set}" = set; then :
5996 $as_echo_n "(cached) " >&6
5997 else
5998 if test -n "$CC"; then
5999 ac_cv_prog_CC="$CC" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6003 do
6004 IFS=$as_save_IFS
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_CC="${ac_tool_prefix}cc"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 break 2
6011 fi
6012 done
6013 done
6014 IFS=$as_save_IFS
6015
6016 fi
6017 fi
6018 CC=$ac_cv_prog_CC
6019 if test -n "$CC"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6021 $as_echo "$CC" >&6; }
6022 else
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6025 fi
6026
6027
6028 fi
6029 fi
6030 if test -z "$CC"; then
6031 # Extract the first word of "cc", so it can be a program name with args.
6032 set dummy cc; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if test "${ac_cv_prog_CC+set}" = set; then :
6036 $as_echo_n "(cached) " >&6
6037 else
6038 if test -n "$CC"; then
6039 ac_cv_prog_CC="$CC" # Let the user override the test.
6040 else
6041 ac_prog_rejected=no
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 for as_dir in $PATH
6044 do
6045 IFS=$as_save_IFS
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6050 ac_prog_rejected=yes
6051 continue
6052 fi
6053 ac_cv_prog_CC="cc"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 break 2
6056 fi
6057 done
6058 done
6059 IFS=$as_save_IFS
6060
6061 if test $ac_prog_rejected = yes; then
6062 # We found a bogon in the path, so make sure we never use it.
6063 set dummy $ac_cv_prog_CC
6064 shift
6065 if test $# != 0; then
6066 # We chose a different compiler from the bogus one.
6067 # However, it has the same basename, so the bogon will be chosen
6068 # first if we set CC to just the basename; use the full file name.
6069 shift
6070 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6071 fi
6072 fi
6073 fi
6074 fi
6075 CC=$ac_cv_prog_CC
6076 if test -n "$CC"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6078 $as_echo "$CC" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6082 fi
6083
6084
6085 fi
6086 if test -z "$CC"; then
6087 if test -n "$ac_tool_prefix"; then
6088 for ac_prog in cl.exe
6089 do
6090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6091 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if test "${ac_cv_prog_CC+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6096 else
6097 if test -n "$CC"; then
6098 ac_cv_prog_CC="$CC" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6102 do
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 break 2
6110 fi
6111 done
6112 done
6113 IFS=$as_save_IFS
6114
6115 fi
6116 fi
6117 CC=$ac_cv_prog_CC
6118 if test -n "$CC"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6120 $as_echo "$CC" >&6; }
6121 else
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6124 fi
6125
6126
6127 test -n "$CC" && break
6128 done
6129 fi
6130 if test -z "$CC"; then
6131 ac_ct_CC=$CC
6132 for ac_prog in cl.exe
6133 do
6134 # Extract the first word of "$ac_prog", so it can be a program name with args.
6135 set dummy $ac_prog; ac_word=$2
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 $as_echo_n "checking for $ac_word... " >&6; }
6138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 if test -n "$ac_ct_CC"; then
6142 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6143 else
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in $PATH
6146 do
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_prog_ac_ct_CC="$ac_prog"
6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6154 fi
6155 done
6156 done
6157 IFS=$as_save_IFS
6158
6159 fi
6160 fi
6161 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6162 if test -n "$ac_ct_CC"; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6164 $as_echo "$ac_ct_CC" >&6; }
6165 else
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6168 fi
6169
6170
6171 test -n "$ac_ct_CC" && break
6172 done
6173
6174 if test "x$ac_ct_CC" = x; then
6175 CC=""
6176 else
6177 case $cross_compiling:$ac_tool_warned in
6178 yes:)
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6181 ac_tool_warned=yes ;;
6182 esac
6183 CC=$ac_ct_CC
6184 fi
6185 fi
6186
6187 fi
6188
6189
6190 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6192 as_fn_error "no acceptable C compiler found in \$PATH
6193 See \`config.log' for more details." "$LINENO" 5; }
6194
6195 # Provide some information about the compiler.
6196 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6197 set X $ac_compile
6198 ac_compiler=$2
6199 for ac_option in --version -v -V -qversion; do
6200 { { ac_try="$ac_compiler $ac_option >&5"
6201 case "(($ac_try" in
6202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6203 *) ac_try_echo=$ac_try;;
6204 esac
6205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6206 $as_echo "$ac_try_echo"; } >&5
6207 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6208 ac_status=$?
6209 if test -s conftest.err; then
6210 sed '10a\
6211 ... rest of stderr output deleted ...
6212 10q' conftest.err >conftest.er1
6213 cat conftest.er1 >&5
6214 fi
6215 rm -f conftest.er1 conftest.err
6216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6217 test $ac_status = 0; }
6218 done
6219
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6221 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6222 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227
6228 int
6229 main ()
6230 {
6231 #ifndef __GNUC__
6232 choke me
6233 #endif
6234
6235 ;
6236 return 0;
6237 }
6238 _ACEOF
6239 if ac_fn_c_try_compile "$LINENO"; then :
6240 ac_compiler_gnu=yes
6241 else
6242 ac_compiler_gnu=no
6243 fi
6244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6245 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6246
6247 fi
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6249 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6250 if test $ac_compiler_gnu = yes; then
6251 GCC=yes
6252 else
6253 GCC=
6254 fi
6255 ac_test_CFLAGS=${CFLAGS+set}
6256 ac_save_CFLAGS=$CFLAGS
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6258 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6259 if test "${ac_cv_prog_cc_g+set}" = set; then :
6260 $as_echo_n "(cached) " >&6
6261 else
6262 ac_save_c_werror_flag=$ac_c_werror_flag
6263 ac_c_werror_flag=yes
6264 ac_cv_prog_cc_g=no
6265 CFLAGS="-g"
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6268
6269 int
6270 main ()
6271 {
6272
6273 ;
6274 return 0;
6275 }
6276 _ACEOF
6277 if ac_fn_c_try_compile "$LINENO"; then :
6278 ac_cv_prog_cc_g=yes
6279 else
6280 CFLAGS=""
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283
6284 int
6285 main ()
6286 {
6287
6288 ;
6289 return 0;
6290 }
6291 _ACEOF
6292 if ac_fn_c_try_compile "$LINENO"; then :
6293
6294 else
6295 ac_c_werror_flag=$ac_save_c_werror_flag
6296 CFLAGS="-g"
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299
6300 int
6301 main ()
6302 {
6303
6304 ;
6305 return 0;
6306 }
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309 ac_cv_prog_cc_g=yes
6310 fi
6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 fi
6313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6314 fi
6315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6316 ac_c_werror_flag=$ac_save_c_werror_flag
6317 fi
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6319 $as_echo "$ac_cv_prog_cc_g" >&6; }
6320 if test "$ac_test_CFLAGS" = set; then
6321 CFLAGS=$ac_save_CFLAGS
6322 elif test $ac_cv_prog_cc_g = yes; then
6323 if test "$GCC" = yes; then
6324 CFLAGS="-g"
6325 else
6326 CFLAGS="-g"
6327 fi
6328 else
6329 if test "$GCC" = yes; then
6330 CFLAGS="-O2"
6331 else
6332 CFLAGS=
6333 fi
6334 fi
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6336 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6337 if test "${ac_cv_prog_cc_c89+set}" = set; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 ac_cv_prog_cc_c89=no
6341 ac_save_CC=$CC
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <stdarg.h>
6345 #include <stdio.h>
6346 #include <sys/types.h>
6347 #include <sys/stat.h>
6348 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6349 struct buf { int x; };
6350 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6351 static char *e (p, i)
6352 char **p;
6353 int i;
6354 {
6355 return p[i];
6356 }
6357 static char *f (char * (*g) (char **, int), char **p, ...)
6358 {
6359 char *s;
6360 va_list v;
6361 va_start (v,p);
6362 s = g (p, va_arg (v,int));
6363 va_end (v);
6364 return s;
6365 }
6366
6367 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6368 function prototypes and stuff, but not '\xHH' hex character constants.
6369 These don't provoke an error unfortunately, instead are silently treated
6370 as 'x'. The following induces an error, until -std is added to get
6371 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6372 array size at least. It's necessary to write '\x00'==0 to get something
6373 that's true only with -std. */
6374 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6375
6376 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6377 inside strings and character constants. */
6378 #define FOO(x) 'x'
6379 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6380
6381 int test (int i, double x);
6382 struct s1 {int (*f) (int a);};
6383 struct s2 {int (*f) (double a);};
6384 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6385 int argc;
6386 char **argv;
6387 int
6388 main ()
6389 {
6390 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6391 ;
6392 return 0;
6393 }
6394 _ACEOF
6395 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6396 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6397 do
6398 CC="$ac_save_CC $ac_arg"
6399 if ac_fn_c_try_compile "$LINENO"; then :
6400 ac_cv_prog_cc_c89=$ac_arg
6401 fi
6402 rm -f core conftest.err conftest.$ac_objext
6403 test "x$ac_cv_prog_cc_c89" != "xno" && break
6404 done
6405 rm -f conftest.$ac_ext
6406 CC=$ac_save_CC
6407
6408 fi
6409 # AC_CACHE_VAL
6410 case "x$ac_cv_prog_cc_c89" in
6411 x)
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6413 $as_echo "none needed" >&6; } ;;
6414 xno)
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6416 $as_echo "unsupported" >&6; } ;;
6417 *)
6418 CC="$CC $ac_cv_prog_cc_c89"
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6420 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6421 esac
6422 if test "x$ac_cv_prog_cc_c89" != xno; then :
6423
6424 fi
6425
6426 ac_ext=c
6427 ac_cpp='$CPP $CPPFLAGS'
6428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6431
6432 depcc="$CC" am_compiler_list=
6433
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6435 $as_echo_n "checking dependency style of $depcc... " >&6; }
6436 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6440 # We make a subdir and do the tests there. Otherwise we can end up
6441 # making bogus files that we don't know about and never remove. For
6442 # instance it was reported that on HP-UX the gcc test will end up
6443 # making a dummy file named `D' -- because `-MD' means `put the output
6444 # in D'.
6445 mkdir conftest.dir
6446 # Copy depcomp to subdir because otherwise we won't find it if we're
6447 # using a relative directory.
6448 cp "$am_depcomp" conftest.dir
6449 cd conftest.dir
6450 # We will build objects and dependencies in a subdirectory because
6451 # it helps to detect inapplicable dependency modes. For instance
6452 # both Tru64's cc and ICC support -MD to output dependencies as a
6453 # side effect of compilation, but ICC will put the dependencies in
6454 # the current directory while Tru64 will put them in the object
6455 # directory.
6456 mkdir sub
6457
6458 am_cv_CC_dependencies_compiler_type=none
6459 if test "$am_compiler_list" = ""; then
6460 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6461 fi
6462 am__universal=false
6463 case " $depcc " in #(
6464 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6465 esac
6466
6467 for depmode in $am_compiler_list; do
6468 # Setup a source with many dependencies, because some compilers
6469 # like to wrap large dependency lists on column 80 (with \), and
6470 # we should not choose a depcomp mode which is confused by this.
6471 #
6472 # We need to recreate these files for each test, as the compiler may
6473 # overwrite some of them when testing with obscure command lines.
6474 # This happens at least with the AIX C compiler.
6475 : > sub/conftest.c
6476 for i in 1 2 3 4 5 6; do
6477 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6478 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6479 # Solaris 8's {/usr,}/bin/sh.
6480 touch sub/conftst$i.h
6481 done
6482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6483
6484 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6485 # mode. It turns out that the SunPro C++ compiler does not properly
6486 # handle `-M -o', and we need to detect this. Also, some Intel
6487 # versions had trouble with output in subdirs
6488 am__obj=sub/conftest.${OBJEXT-o}
6489 am__minus_obj="-o $am__obj"
6490 case $depmode in
6491 gcc)
6492 # This depmode causes a compiler race in universal mode.
6493 test "$am__universal" = false || continue
6494 ;;
6495 nosideeffect)
6496 # after this tag, mechanisms are not by side-effect, so they'll
6497 # only be used when explicitly requested
6498 if test "x$enable_dependency_tracking" = xyes; then
6499 continue
6500 else
6501 break
6502 fi
6503 ;;
6504 msvisualcpp | msvcmsys)
6505 # This compiler won't grok `-c -o', but also, the minuso test has
6506 # not run yet. These depmodes are late enough in the game, and
6507 # so weak that their functioning should not be impacted.
6508 am__obj=conftest.${OBJEXT-o}
6509 am__minus_obj=
6510 ;;
6511 none) break ;;
6512 esac
6513 if depmode=$depmode \
6514 source=sub/conftest.c object=$am__obj \
6515 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6516 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6517 >/dev/null 2>conftest.err &&
6518 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6519 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6520 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6521 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6522 # icc doesn't choke on unknown options, it will just issue warnings
6523 # or remarks (even with -Werror). So we grep stderr for any message
6524 # that says an option was ignored or not supported.
6525 # When given -MP, icc 7.0 and 7.1 complain thusly:
6526 # icc: Command line warning: ignoring option '-M'; no argument required
6527 # The diagnosis changed in icc 8.0:
6528 # icc: Command line remark: option '-MP' not supported
6529 if (grep 'ignoring option' conftest.err ||
6530 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6531 am_cv_CC_dependencies_compiler_type=$depmode
6532 break
6533 fi
6534 fi
6535 done
6536
6537 cd ..
6538 rm -rf conftest.dir
6539 else
6540 am_cv_CC_dependencies_compiler_type=none
6541 fi
6542
6543 fi
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6545 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6546 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6547
6548 if
6549 test "x$enable_dependency_tracking" != xno \
6550 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6551 am__fastdepCC_TRUE=
6552 am__fastdepCC_FALSE='#'
6553 else
6554 am__fastdepCC_TRUE='#'
6555 am__fastdepCC_FALSE=
6556 fi
6557
6558
6559 ac_ext=m
6560 ac_cpp='$OBJCPP $CPPFLAGS'
6561 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6562 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6563 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
6564 if test -n "$ac_tool_prefix"; then
6565 for ac_prog in gcc objcc objc cc CC
6566 do
6567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6568 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6570 $as_echo_n "checking for $ac_word... " >&6; }
6571 if test "${ac_cv_prog_OBJC+set}" = set; then :
6572 $as_echo_n "(cached) " >&6
6573 else
6574 if test -n "$OBJC"; then
6575 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
6576 else
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 for as_dir in $PATH
6579 do
6580 IFS=$as_save_IFS
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
6585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 break 2
6587 fi
6588 done
6589 done
6590 IFS=$as_save_IFS
6591
6592 fi
6593 fi
6594 OBJC=$ac_cv_prog_OBJC
6595 if test -n "$OBJC"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
6597 $as_echo "$OBJC" >&6; }
6598 else
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 $as_echo "no" >&6; }
6601 fi
6602
6603
6604 test -n "$OBJC" && break
6605 done
6606 fi
6607 if test -z "$OBJC"; then
6608 ac_ct_OBJC=$OBJC
6609 for ac_prog in gcc objcc objc cc CC
6610 do
6611 # Extract the first word of "$ac_prog", so it can be a program name with args.
6612 set dummy $ac_prog; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 if test -n "$ac_ct_OBJC"; then
6619 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
6620 else
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622 for as_dir in $PATH
6623 do
6624 IFS=$as_save_IFS
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628 ac_cv_prog_ac_ct_OBJC="$ac_prog"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 break 2
6631 fi
6632 done
6633 done
6634 IFS=$as_save_IFS
6635
6636 fi
6637 fi
6638 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
6639 if test -n "$ac_ct_OBJC"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
6641 $as_echo "$ac_ct_OBJC" >&6; }
6642 else
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6645 fi
6646
6647
6648 test -n "$ac_ct_OBJC" && break
6649 done
6650
6651 if test "x$ac_ct_OBJC" = x; then
6652 OBJC="gcc"
6653 else
6654 case $cross_compiling:$ac_tool_warned in
6655 yes:)
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6658 ac_tool_warned=yes ;;
6659 esac
6660 OBJC=$ac_ct_OBJC
6661 fi