/[zanavi_public1]/navit/configure
ZANavi

Contents of /navit/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (12 years, 5 months ago) by zoff99
File size: 858013 byte(s)
import files
1 zoff99 2 #! /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 test "$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=""
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=""
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=""
4821     else
4822     CFLAGS=""
4823     fi
4824     else
4825     if test "$GCC" = yes; then
4826     CFLAGS=""
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=""
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=""
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=""
5751     else
5752     OBJCFLAGS=""
5753     fi
5754     else
5755     if test "$GOBJC" = yes; then
5756     OBJCFLAGS=""
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=""
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=""
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=""
6325     else
6326     CFLAGS=""
6327     fi
6328     else
6329     if test "$GCC" = yes; then
6330     CFLAGS=""
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
6662     fi
6663    
6664     # Provide some information about the compiler.
6665     $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
6666     set X $ac_compile
6667     ac_compiler=$2
6668     for ac_option in --version -v -V -qversion; do
6669     { { ac_try="$ac_compiler $ac_option >&5"
6670     case "(($ac_try" in
6671     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6672     *) ac_try_echo=$ac_try;;
6673     esac
6674     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6675     $as_echo "$ac_try_echo"; } >&5
6676     (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6677     ac_status=$?
6678     if test -s conftest.err; then
6679     sed '10a\
6680     ... rest of stderr output deleted ...
6681     10q' conftest.err >conftest.er1
6682     cat conftest.er1 >&5
6683     fi
6684     rm -f conftest.er1 conftest.err
6685     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6686     test $ac_status = 0; }
6687     done
6688    
6689     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
6690     $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
6691     if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
6692     $as_echo_n "(cached) " >&6
6693     else
6694     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695     /* end confdefs.h. */
6696    
6697     int
6698     main ()
6699     {
6700     #ifndef __GNUC__
6701     choke me
6702     #endif
6703    
6704     ;
6705     return 0;
6706     }
6707     _ACEOF
6708     if ac_fn_objc_try_compile "$LINENO"; then :
6709     ac_compiler_gnu=yes
6710     else
6711     ac_compiler_gnu=no
6712     fi
6713     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6714     ac_cv_objc_compiler_gnu=$ac_compiler_gnu
6715    
6716     fi
6717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
6718     $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
6719     if test $ac_compiler_gnu = yes; then
6720     GOBJC=yes
6721     else
6722     GOBJC=
6723     fi
6724     ac_test_OBJCFLAGS=${OBJCFLAGS+set}
6725     ac_save_OBJCFLAGS=$OBJCFLAGS
6726     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
6727     $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
6728     if test "${ac_cv_prog_objc_g+set}" = set; then :
6729     $as_echo_n "(cached) " >&6
6730     else
6731     ac_save_objc_werror_flag=$ac_objc_werror_flag
6732     ac_objc_werror_flag=yes
6733     ac_cv_prog_objc_g=no
6734     OBJCFLAGS=""
6735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736     /* end confdefs.h. */
6737    
6738     int
6739     main ()
6740     {
6741    
6742     ;
6743     return 0;
6744     }
6745     _ACEOF
6746     if ac_fn_objc_try_compile "$LINENO"; then :
6747     ac_cv_prog_objc_g=yes
6748     else
6749     OBJCFLAGS=""
6750     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6751     /* end confdefs.h. */
6752    
6753     int
6754     main ()
6755     {
6756    
6757     ;
6758     return 0;
6759     }
6760     _ACEOF
6761     if ac_fn_objc_try_compile "$LINENO"; then :
6762    
6763     else
6764     ac_objc_werror_flag=$ac_save_objc_werror_flag
6765     OBJCFLAGS=""
6766     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6767     /* end confdefs.h. */
6768    
6769     int
6770     main ()
6771     {
6772    
6773     ;
6774     return 0;
6775     }
6776     _ACEOF
6777     if ac_fn_objc_try_compile "$LINENO"; then :
6778     ac_cv_prog_objc_g=yes
6779     fi
6780     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6781     fi
6782     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6783     fi
6784     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6785     ac_objc_werror_flag=$ac_save_objc_werror_flag
6786     fi
6787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
6788     $as_echo "$ac_cv_prog_objc_g" >&6; }
6789     if test "$ac_test_OBJCFLAGS" = set; then
6790     OBJCFLAGS=$ac_save_OBJCFLAGS
6791     elif test $ac_cv_prog_objc_g = yes; then
6792     if test "$GOBJC" = yes; then
6793     OBJCFLAGS=""
6794     else
6795     OBJCFLAGS=""
6796     fi
6797     else
6798     if test "$GOBJC" = yes; then
6799     OBJCFLAGS=""
6800     else
6801     OBJCFLAGS=
6802     fi
6803     fi
6804     ac_ext=c
6805     ac_cpp='$CPP $CPPFLAGS'
6806     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6807     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6808     ac_compiler_gnu=$ac_cv_c_compiler_gnu
6809    
6810     depcc="$OBJC" am_compiler_list='gcc3 gcc'
6811    
6812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6813     $as_echo_n "checking dependency style of $depcc... " >&6; }
6814     if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
6815     $as_echo_n "(cached) " >&6
6816     else
6817     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6818     # We make a subdir and do the tests there. Otherwise we can end up
6819     # making bogus files that we don't know about and never remove. For
6820     # instance it was reported that on HP-UX the gcc test will end up
6821     # making a dummy file named `D' -- because `-MD' means `put the output
6822     # in D'.
6823     mkdir conftest.dir
6824     # Copy depcomp to subdir because otherwise we won't find it if we're
6825     # using a relative directory.
6826     cp "$am_depcomp" conftest.dir
6827     cd conftest.dir
6828     # We will build objects and dependencies in a subdirectory because
6829     # it helps to detect inapplicable dependency modes. For instance
6830     # both Tru64's cc and ICC support -MD to output dependencies as a
6831     # side effect of compilation, but ICC will put the dependencies in
6832     # the current directory while Tru64 will put them in the object
6833     # directory.
6834     mkdir sub
6835    
6836     am_cv_OBJC_dependencies_compiler_type=none
6837     if test "$am_compiler_list" = ""; then
6838     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6839     fi
6840     am__universal=false
6841    
6842    
6843     for depmode in $am_compiler_list; do
6844     # Setup a source with many dependencies, because some compilers
6845     # like to wrap large dependency lists on column 80 (with \), and
6846     # we should not choose a depcomp mode which is confused by this.
6847     #
6848     # We need to recreate these files for each test, as the compiler may
6849     # overwrite some of them when testing with obscure command lines.
6850     # This happens at least with the AIX C compiler.
6851     : > sub/conftest.c
6852     for i in 1 2 3 4 5 6; do
6853     echo '#include "conftst'$i'.h"' >> sub/conftest.c
6854     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6855     # Solaris 8's {/usr,}/bin/sh.
6856     touch sub/conftst$i.h
6857     done
6858     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6859    
6860     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6861     # mode. It turns out that the SunPro C++ compiler does not properly
6862     # handle `-M -o', and we need to detect this. Also, some Intel
6863     # versions had trouble with output in subdirs
6864     am__obj=sub/conftest.${OBJEXT-o}
6865     am__minus_obj="-o $am__obj"
6866     case $depmode in
6867     gcc)
6868     # This depmode causes a compiler race in universal mode.
6869     test "$am__universal" = false || continue
6870     ;;
6871     nosideeffect)
6872     # after this tag, mechanisms are not by side-effect, so they'll
6873     # only be used when explicitly requested
6874     if test "x$enable_dependency_tracking" = xyes; then
6875     continue
6876     else
6877     break
6878     fi
6879     ;;
6880     msvisualcpp | msvcmsys)
6881     # This compiler won't grok `-c -o', but also, the minuso test has
6882     # not run yet. These depmodes are late enough in the game, and
6883     # so weak that their functioning should not be impacted.
6884     am__obj=conftest.${OBJEXT-o}
6885     am__minus_obj=
6886     ;;
6887     none) break ;;
6888     esac
6889     if depmode=$depmode \
6890     source=sub/conftest.c object=$am__obj \
6891     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6892     $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6893     >/dev/null 2>conftest.err &&
6894     grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6895     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6896     grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6897     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6898     # icc doesn't choke on unknown options, it will just issue warnings
6899     # or remarks (even with -Werror). So we grep stderr for any message
6900     # that says an option was ignored or not supported.
6901     # When given -MP, icc 7.0 and 7.1 complain thusly:
6902     # icc: Command line warning: ignoring option '-M'; no argument required
6903     # The diagnosis changed in icc 8.0:
6904     # icc: Command line remark: option '-MP' not supported
6905     if (grep 'ignoring option' conftest.err ||
6906     grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6907     am_cv_OBJC_dependencies_compiler_type=$depmode
6908     break
6909     fi
6910     fi
6911     done
6912    
6913     cd ..
6914     rm -rf conftest.dir
6915     else
6916     am_cv_OBJC_dependencies_compiler_type=none
6917     fi
6918    
6919     fi
6920     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
6921     $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
6922     OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
6923    
6924     if
6925     test "x$enable_dependency_tracking" != xno \
6926     && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
6927     am__fastdepOBJC_TRUE=
6928     am__fastdepOBJC_FALSE='#'
6929     else
6930     am__fastdepOBJC_TRUE='#'
6931     am__fastdepOBJC_FALSE=
6932     fi
6933    
6934    
6935    
6936    
6937     if eval "test x`uname` = xDarwin"; then
6938     CFLAGS="$CFLAGS -I/opt/local/include -L/opt/local/lib"
6939     fi
6940     if eval "test x$GCC = xyes"; then
6941     CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
6942     fi
6943     if test "x$CC" != xcc; then
6944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6945     $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6946     else
6947     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6948     $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6949     fi
6950     set dummy $CC; ac_cc=`$as_echo "$2" |
6951     sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6952     if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6953     $as_echo_n "(cached) " >&6
6954     else
6955     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956     /* end confdefs.h. */
6957    
6958     int
6959     main ()
6960     {
6961    
6962     ;
6963     return 0;
6964     }
6965     _ACEOF
6966     # Make sure it works both with $CC and with simple cc.
6967     # We do the test twice because some compilers refuse to overwrite an
6968     # existing .o file with -o, though they will create one.
6969     ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6970     rm -f conftest2.*
6971     if { { case "(($ac_try" in
6972     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6973     *) ac_try_echo=$ac_try;;
6974     esac
6975     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6976     $as_echo "$ac_try_echo"; } >&5
6977     (eval "$ac_try") 2>&5
6978     ac_status=$?
6979     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6980     test $ac_status = 0; } &&
6981     test -f conftest2.$ac_objext && { { case "(($ac_try" in
6982     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6983     *) ac_try_echo=$ac_try;;
6984     esac
6985     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6986     $as_echo "$ac_try_echo"; } >&5
6987     (eval "$ac_try") 2>&5
6988     ac_status=$?
6989     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6990     test $ac_status = 0; };
6991     then
6992     eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6993     if test "x$CC" != xcc; then
6994     # Test first that cc exists at all.
6995     if { ac_try='cc -c conftest.$ac_ext >&5'
6996     { { case "(($ac_try" in
6997     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6998     *) ac_try_echo=$ac_try;;
6999     esac
7000     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7001     $as_echo "$ac_try_echo"; } >&5
7002     (eval "$ac_try") 2>&5
7003     ac_status=$?
7004     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7005     test $ac_status = 0; }; }; then
7006     ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
7007     rm -f conftest2.*
7008     if { { case "(($ac_try" in
7009     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7010     *) ac_try_echo=$ac_try;;
7011     esac
7012     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7013     $as_echo "$ac_try_echo"; } >&5
7014     (eval "$ac_try") 2>&5
7015     ac_status=$?
7016     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017     test $ac_status = 0; } &&
7018     test -f conftest2.$ac_objext && { { case "(($ac_try" in
7019     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7020     *) ac_try_echo=$ac_try;;
7021     esac
7022     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7023     $as_echo "$ac_try_echo"; } >&5
7024     (eval "$ac_try") 2>&5
7025     ac_status=$?
7026     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7027     test $ac_status = 0; };
7028     then
7029     # cc works too.
7030     :
7031     else
7032     # cc exists but doesn't like -o.
7033     eval ac_cv_prog_cc_${ac_cc}_c_o=no
7034     fi
7035     fi
7036     fi
7037     else
7038     eval ac_cv_prog_cc_${ac_cc}_c_o=no
7039     fi
7040     rm -f core conftest*
7041    
7042     fi
7043     if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
7044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7045     $as_echo "yes" >&6; }
7046     else
7047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048     $as_echo "no" >&6; }
7049    
7050     $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
7051    
7052     fi
7053    
7054     # FIXME: we rely on the cache variable name because
7055     # there is no other way.
7056     set dummy $CC
7057     am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
7058     eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
7059     if test "$am_t" != yes; then
7060     # Losing compiler, so override with the script.
7061     # FIXME: It is wrong to rewrite CC.
7062     # But if we don't then we get into trouble of one sort or another.
7063     # A longer-term fix would be to have automake use am__CC in this case,
7064     # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7065     CC="$am_aux_dir/compile $CC"
7066     fi
7067    
7068    
7069    
7070     ac_ext=cpp
7071     ac_cpp='$CXXCPP $CPPFLAGS'
7072     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7073     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7074     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7075     if test -z "$CXX"; then
7076     if test -n "$CCC"; then
7077     CXX=$CCC
7078     else
7079     if test -n "$ac_tool_prefix"; then
7080     for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7081     do
7082     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7083     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7084     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085     $as_echo_n "checking for $ac_word... " >&6; }
7086     if test "${ac_cv_prog_CXX+set}" = set; then :
7087     $as_echo_n "(cached) " >&6
7088     else
7089     if test -n "$CXX"; then
7090     ac_cv_prog_CXX="$CXX" # Let the user override the test.
7091     else
7092     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093     for as_dir in $PATH
7094     do
7095     IFS=$as_save_IFS
7096     test -z "$as_dir" && as_dir=.
7097     for ac_exec_ext in '' $ac_executable_extensions; do
7098     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7099     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7101     break 2
7102     fi
7103     done
7104     done
7105     IFS=$as_save_IFS
7106    
7107     fi
7108     fi
7109     CXX=$ac_cv_prog_CXX
7110     if test -n "$CXX"; then
7111     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7112     $as_echo "$CXX" >&6; }
7113     else
7114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115     $as_echo "no" >&6; }
7116     fi
7117    
7118    
7119     test -n "$CXX" && break
7120     done
7121     fi
7122     if test -z "$CXX"; then
7123     ac_ct_CXX=$CXX
7124     for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7125     do
7126     # Extract the first word of "$ac_prog", so it can be a program name with args.
7127     set dummy $ac_prog; ac_word=$2
7128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129     $as_echo_n "checking for $ac_word... " >&6; }
7130     if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7131     $as_echo_n "(cached) " >&6
7132     else
7133     if test -n "$ac_ct_CXX"; then
7134     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7135     else
7136     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137     for as_dir in $PATH
7138     do
7139     IFS=$as_save_IFS
7140     test -z "$as_dir" && as_dir=.
7141     for ac_exec_ext in '' $ac_executable_extensions; do
7142     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143     ac_cv_prog_ac_ct_CXX="$ac_prog"
7144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145     break 2
7146     fi
7147     done
7148     done
7149     IFS=$as_save_IFS
7150    
7151     fi
7152     fi
7153     ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7154     if test -n "$ac_ct_CXX"; then
7155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7156     $as_echo "$ac_ct_CXX" >&6; }
7157     else
7158     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159     $as_echo "no" >&6; }
7160     fi
7161    
7162    
7163     test -n "$ac_ct_CXX" && break
7164     done
7165    
7166     if test "x$ac_ct_CXX" = x; then
7167     CXX="g++"
7168     else
7169     case $cross_compiling:$ac_tool_warned in
7170     yes:)
7171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7172     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7173     ac_tool_warned=yes ;;
7174     esac
7175     CXX=$ac_ct_CXX
7176     fi
7177     fi
7178    
7179     fi
7180     fi
7181     # Provide some information about the compiler.
7182     $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7183     set X $ac_compile
7184     ac_compiler=$2
7185     for ac_option in --version -v -V -qversion; do
7186     { { ac_try="$ac_compiler $ac_option >&5"
7187     case "(($ac_try" in
7188     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7189     *) ac_try_echo=$ac_try;;
7190     esac
7191     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7192     $as_echo "$ac_try_echo"; } >&5
7193     (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7194     ac_status=$?
7195     if test -s conftest.err; then
7196     sed '10a\
7197     ... rest of stderr output deleted ...
7198     10q' conftest.err >conftest.er1
7199     cat conftest.er1 >&5
7200     fi
7201     rm -f conftest.er1 conftest.err
7202     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7203     test $ac_status = 0; }
7204     done
7205    
7206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7207     $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7208     if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7209     $as_echo_n "(cached) " >&6
7210     else
7211     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212     /* end confdefs.h. */
7213    
7214     int
7215     main ()
7216     {
7217     #ifndef __GNUC__
7218     choke me
7219     #endif
7220    
7221     ;
7222     return 0;
7223     }
7224     _ACEOF
7225     if ac_fn_cxx_try_compile "$LINENO"; then :
7226     ac_compiler_gnu=yes
7227     else
7228     ac_compiler_gnu=no
7229     fi
7230     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7231     ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7232    
7233     fi
7234     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7235     $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7236     if test $ac_compiler_gnu = yes; then
7237     GXX=yes
7238     else
7239     GXX=
7240     fi
7241     ac_test_CXXFLAGS=${CXXFLAGS+set}
7242     ac_save_CXXFLAGS=$CXXFLAGS
7243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7244     $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7245     if test "${ac_cv_prog_cxx_g+set}" = set; then :
7246     $as_echo_n "(cached) " >&6
7247     else
7248     ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7249     ac_cxx_werror_flag=yes
7250     ac_cv_prog_cxx_g=no
7251     CXXFLAGS=""
7252     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253     /* end confdefs.h. */
7254    
7255     int
7256     main ()
7257     {
7258    
7259     ;
7260     return 0;
7261     }
7262     _ACEOF
7263     if ac_fn_cxx_try_compile "$LINENO"; then :
7264     ac_cv_prog_cxx_g=yes
7265     else
7266     CXXFLAGS=""
7267     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268     /* end confdefs.h. */
7269    
7270     int
7271     main ()
7272     {
7273    
7274     ;
7275     return 0;
7276     }
7277     _ACEOF
7278     if ac_fn_cxx_try_compile "$LINENO"; then :
7279    
7280     else
7281     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7282     CXXFLAGS=""
7283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7284     /* end confdefs.h. */
7285    
7286     int
7287     main ()
7288     {
7289    
7290     ;
7291     return 0;
7292     }
7293     _ACEOF
7294     if ac_fn_cxx_try_compile "$LINENO"; then :
7295     ac_cv_prog_cxx_g=yes
7296     fi
7297     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7298     fi
7299     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7300     fi
7301     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7302     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7303     fi
7304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7305     $as_echo "$ac_cv_prog_cxx_g" >&6; }
7306     if test "$ac_test_CXXFLAGS" = set; then
7307     CXXFLAGS=$ac_save_CXXFLAGS
7308     elif test $ac_cv_prog_cxx_g = yes; then
7309     if test "$GXX" = yes; then
7310     CXXFLAGS=""
7311     else
7312     CXXFLAGS=""
7313     fi
7314     else
7315     if test "$GXX" = yes; then
7316     CXXFLAGS=""
7317     else
7318     CXXFLAGS=
7319     fi
7320     fi
7321     ac_ext=c
7322     ac_cpp='$CPP $CPPFLAGS'
7323     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7324     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7325     ac_compiler_gnu=$ac_cv_c_compiler_gnu
7326    
7327     depcc="$CXX" am_compiler_list=
7328    
7329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7330     $as_echo_n "checking dependency style of $depcc... " >&6; }
7331     if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7332     $as_echo_n "(cached) " >&6
7333     else
7334     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7335     # We make a subdir and do the tests there. Otherwise we can end up
7336     # making bogus files that we don't know about and never remove. For
7337     # instance it was reported that on HP-UX the gcc test will end up
7338     # making a dummy file named `D' -- because `-MD' means `put the output
7339     # in D'.
7340     mkdir conftest.dir
7341     # Copy depcomp to subdir because otherwise we won't find it if we're
7342     # using a relative directory.
7343     cp "$am_depcomp" conftest.dir
7344     cd conftest.dir
7345     # We will build objects and dependencies in a subdirectory because
7346     # it helps to detect inapplicable dependency modes. For instance
7347     # both Tru64's cc and ICC support -MD to output dependencies as a
7348     # side effect of compilation, but ICC will put the dependencies in
7349     # the current directory while Tru64 will put them in the object
7350     # directory.
7351     mkdir sub
7352    
7353     am_cv_CXX_dependencies_compiler_type=none
7354     if test "$am_compiler_list" = ""; then
7355     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7356     fi
7357     am__universal=false
7358     case " $depcc " in #(
7359     *\ -arch\ *\ -arch\ *) am__universal=true ;;
7360     esac
7361    
7362     for depmode in $am_compiler_list; do
7363     # Setup a source with many dependencies, because some compilers
7364     # like to wrap large dependency lists on column 80 (with \), and
7365     # we should not choose a depcomp mode which is confused by this.
7366     #
7367     # We need to recreate these files for each test, as the compiler may
7368     # overwrite some of them when testing with obscure command lines.
7369     # This happens at least with the AIX C compiler.
7370     : > sub/conftest.c
7371     for i in 1 2 3 4 5 6; do
7372     echo '#include "conftst'$i'.h"' >> sub/conftest.c
7373     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7374     # Solaris 8's {/usr,}/bin/sh.
7375     touch sub/conftst$i.h
7376     done
7377     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7378    
7379     # We check with `-c' and `-o' for the sake of the "dashmstdout"
7380     # mode. It turns out that the SunPro C++ compiler does not properly
7381     # handle `-M -o', and we need to detect this. Also, some Intel
7382     # versions had trouble with output in subdirs
7383     am__obj=sub/conftest.${OBJEXT-o}
7384     am__minus_obj="-o $am__obj"
7385     case $depmode in
7386     gcc)
7387     # This depmode causes a compiler race in universal mode.
7388     test "$am__universal" = false || continue
7389     ;;
7390     nosideeffect)
7391     # after this tag, mechanisms are not by side-effect, so they'll
7392     # only be used when explicitly requested
7393     if test "x$enable_dependency_tracking" = xyes; then
7394     continue
7395     else
7396     break
7397     fi
7398     ;;
7399     msvisualcpp | msvcmsys)
7400     # This compiler won't grok `-c -o', but also, the minuso test has
7401     # not run yet. These depmodes are late enough in the game, and
7402     # so weak that their functioning should not be impacted.
7403     am__obj=conftest.${OBJEXT-o}
7404     am__minus_obj=
7405     ;;
7406     none) break ;;
7407     esac
7408     if depmode=$depmode \
7409     source=sub/conftest.c object=$am__obj \
7410     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7411     $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7412     >/dev/null 2>conftest.err &&
7413     grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7414     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7415     grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7416     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7417     # icc doesn't choke on unknown options, it will just issue warnings
7418     # or remarks (even with -Werror). So we grep stderr for any message
7419     # that says an option was ignored or not supported.
7420     # When given -MP, icc 7.0 and 7.1 complain thusly:
7421     # icc: Command line warning: ignoring option '-M'; no argument required
7422     # The diagnosis changed in icc 8.0:
7423     # icc: Command line remark: option '-MP' not supported
7424     if (grep 'ignoring option' conftest.err ||
7425     grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7426     am_cv_CXX_dependencies_compiler_type=$depmode
7427     break
7428     fi
7429     fi
7430     done
7431    
7432     cd ..
7433     rm -rf conftest.dir
7434     else
7435     am_cv_CXX_dependencies_compiler_type=none
7436     fi
7437    
7438     fi
7439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7440     $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7441     CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7442    
7443     if
7444     test "x$enable_dependency_tracking" != xno \
7445     && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7446     am__fastdepCXX_TRUE=
7447     am__fastdepCXX_FALSE='#'
7448     else
7449     am__fastdepCXX_TRUE='#'
7450     am__fastdepCXX_FALSE=
7451     fi
7452    
7453    
7454     if eval "test x$GXX = xyes"; then
7455     CXXFLAGS="$CXXFLAGS -Wall -Wcast-align -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
7456     fi
7457    
7458    
7459    
7460     if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7461     if test -n "$ac_tool_prefix"; then
7462     # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7463     set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7464     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465     $as_echo_n "checking for $ac_word... " >&6; }
7466     if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7467     $as_echo_n "(cached) " >&6
7468     else
7469     case $PKG_CONFIG in
7470     [\\/]* | ?:[\\/]*)
7471     ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7472     ;;
7473     *)
7474     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475     for as_dir in $PATH
7476     do
7477     IFS=$as_save_IFS
7478     test -z "$as_dir" && as_dir=.
7479     for ac_exec_ext in '' $ac_executable_extensions; do
7480     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483     break 2
7484     fi
7485     done
7486     done
7487     IFS=$as_save_IFS
7488    
7489     ;;
7490     esac
7491     fi
7492     PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7493     if test -n "$PKG_CONFIG"; then
7494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7495     $as_echo "$PKG_CONFIG" >&6; }
7496     else
7497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498     $as_echo "no" >&6; }
7499     fi
7500    
7501    
7502     fi
7503     if test -z "$ac_cv_path_PKG_CONFIG"; then
7504     ac_pt_PKG_CONFIG=$PKG_CONFIG
7505     # Extract the first word of "pkg-config", so it can be a program name with args.
7506     set dummy pkg-config; ac_word=$2
7507     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508     $as_echo_n "checking for $ac_word... " >&6; }
7509     if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
7510     $as_echo_n "(cached) " >&6
7511     else
7512     case $ac_pt_PKG_CONFIG in
7513     [\\/]* | ?:[\\/]*)
7514     ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7515     ;;
7516     *)
7517     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518     for as_dir in $PATH
7519     do
7520     IFS=$as_save_IFS
7521     test -z "$as_dir" && as_dir=.
7522     for ac_exec_ext in '' $ac_executable_extensions; do
7523     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526     break 2
7527     fi
7528     done
7529     done
7530     IFS=$as_save_IFS
7531    
7532     ;;
7533     esac
7534     fi
7535     ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7536     if test -n "$ac_pt_PKG_CONFIG"; then
7537     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7538     $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7539     else
7540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541     $as_echo "no" >&6; }
7542     fi
7543    
7544     if test "x$ac_pt_PKG_CONFIG" = x; then
7545     PKG_CONFIG=""
7546     else
7547     case $cross_compiling:$ac_tool_warned in
7548     yes:)
7549     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7550     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7551     ac_tool_warned=yes ;;
7552     esac
7553     PKG_CONFIG=$ac_pt_PKG_CONFIG
7554     fi
7555     else
7556     PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7557     fi
7558    
7559     fi
7560     if test -n "$PKG_CONFIG"; then
7561     _pkg_min_version=0.9.0
7562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7563     $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7564     if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7565     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7566     $as_echo "yes" >&6; }
7567     else
7568     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569     $as_echo "no" >&6; }
7570     PKG_CONFIG=""
7571     fi
7572    
7573     fi
7574     if test -n "$PKG_CONFIG" && \
7575     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\""; } >&5
7576     ($PKG_CONFIG --exists --print-errors "") 2>&5
7577     ac_status=$?
7578     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7579     test $ac_status = 0; }; then
7580     :
7581     fi
7582     if test "x${cross_compiling}" = "xyes"; then
7583     samplemap="no";samplemap_reason="not supported for cross compiling"
7584     binding_python="no";binding_python_reason="not supported for cross compiling"
7585     postgresql="no";postgresql_reason="not supported for cross compiling"
7586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a C compiler for build tools" >&5
7587     $as_echo_n "checking for a C compiler for build tools... " >&6; }
7588     for ac_prog in gcc cc
7589     do
7590     # Extract the first word of "$ac_prog", so it can be a program name with args.
7591     set dummy $ac_prog; ac_word=$2
7592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593     $as_echo_n "checking for $ac_word... " >&6; }
7594     if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then :
7595     $as_echo_n "(cached) " >&6
7596     else
7597     if test -n "$CC_FOR_BUILD"; then
7598     ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
7599     else
7600     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601     for as_dir in $PATH
7602     do
7603     IFS=$as_save_IFS
7604     test -z "$as_dir" && as_dir=.
7605     for ac_exec_ext in '' $ac_executable_extensions; do
7606     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7607     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
7608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609     break 2
7610     fi
7611     done
7612     done
7613     IFS=$as_save_IFS
7614    
7615     fi
7616     fi
7617     CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
7618     if test -n "$CC_FOR_BUILD"; then
7619     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
7620     $as_echo "$CC_FOR_BUILD" >&6; }
7621     else
7622     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623     $as_echo "no" >&6; }
7624     fi
7625    
7626    
7627     test -n "$CC_FOR_BUILD" && break
7628     done
7629    
7630     else
7631     CC_FOR_BUILD=$CC
7632     fi
7633     CCLD_FOR_BUILD="$CC_FOR_BUILD"
7634    
7635     if test "x${cross_compiling}" = "xyes"; then
7636     CROSS_COMPILING_TRUE=
7637     CROSS_COMPILING_FALSE='#'
7638     else
7639     CROSS_COMPILING_TRUE='#'
7640     CROSS_COMPILING_FALSE=
7641     fi
7642    
7643    
7644    
7645    
7646     # Endianness
7647     # defines WORDS_BIGENDIAN for big-endian systems
7648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
7649     $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7650     if test "${ac_cv_c_bigendian+set}" = set; then :
7651     $as_echo_n "(cached) " >&6
7652     else
7653     ac_cv_c_bigendian=unknown
7654     # See if we're dealing with a universal compiler.
7655     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656     /* end confdefs.h. */
7657     #ifndef __APPLE_CC__
7658     not a universal capable compiler
7659     #endif
7660     typedef int dummy;
7661    
7662     _ACEOF
7663     if ac_fn_c_try_compile "$LINENO"; then :
7664    
7665     # Check for potential -arch flags. It is not universal unless
7666     # there are at least two -arch flags with different values.
7667     ac_arch=
7668     ac_prev=
7669     for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
7670     if test -n "$ac_prev"; then
7671     case $ac_word in
7672     i?86 | x86_64 | ppc | ppc64)
7673     if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
7674     ac_arch=$ac_word
7675     else
7676     ac_cv_c_bigendian=universal
7677     break
7678     fi
7679     ;;
7680     esac
7681     ac_prev=
7682     elif test "x$ac_word" = "x-arch"; then
7683     ac_prev=arch
7684     fi
7685     done
7686     fi
7687     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7688     if test $ac_cv_c_bigendian = unknown; then
7689     # See if sys/param.h defines the BYTE_ORDER macro.
7690     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691     /* end confdefs.h. */
7692     #include <sys/types.h>
7693     #include <sys/param.h>
7694    
7695     int
7696     main ()
7697     {
7698     #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
7699     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
7700     && LITTLE_ENDIAN)
7701     bogus endian macros
7702     #endif
7703    
7704     ;
7705     return 0;
7706     }
7707     _ACEOF
7708     if ac_fn_c_try_compile "$LINENO"; then :
7709     # It does; now see whether it defined to BIG_ENDIAN or not.
7710     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711     /* end confdefs.h. */
7712     #include <sys/types.h>
7713     #include <sys/param.h>
7714    
7715     int
7716     main ()
7717     {
7718     #if BYTE_ORDER != BIG_ENDIAN
7719     not big endian
7720     #endif
7721    
7722     ;
7723     return 0;
7724     }
7725     _ACEOF
7726     if ac_fn_c_try_compile "$LINENO"; then :
7727     ac_cv_c_bigendian=yes
7728     else
7729     ac_cv_c_bigendian=no
7730     fi
7731     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732     fi
7733     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734     fi
7735     if test $ac_cv_c_bigendian = unknown; then
7736     # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
7737     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738     /* end confdefs.h. */
7739     #include <limits.h>
7740    
7741     int
7742     main ()
7743     {
7744     #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
7745     bogus endian macros
7746     #endif
7747    
7748     ;
7749     return 0;
7750     }
7751     _ACEOF
7752     if ac_fn_c_try_compile "$LINENO"; then :
7753     # It does; now see whether it defined to _BIG_ENDIAN or not.
7754     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755     /* end confdefs.h. */
7756     #include <limits.h>
7757    
7758     int
7759     main ()
7760     {
7761     #ifndef _BIG_ENDIAN
7762     not big endian
7763     #endif
7764    
7765     ;
7766     return 0;
7767     }
7768     _ACEOF
7769     if ac_fn_c_try_compile "$LINENO"; then :
7770     ac_cv_c_bigendian=yes
7771     else
7772     ac_cv_c_bigendian=no
7773     fi
7774     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7775     fi
7776     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7777     fi
7778     if test $ac_cv_c_bigendian = unknown; then
7779     # Compile a test program.
7780     if test "$cross_compiling" = yes; then :
7781     # Try to guess by grepping values from an object file.
7782     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7783     /* end confdefs.h. */
7784     short int ascii_mm[] =
7785     { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7786     short int ascii_ii[] =
7787     { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7788     int use_ascii (int i) {
7789     return ascii_mm[i] + ascii_ii[i];
7790     }
7791     short int ebcdic_ii[] =
7792     { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7793     short int ebcdic_mm[] =
7794     { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7795     int use_ebcdic (int i) {
7796     return ebcdic_mm[i] + ebcdic_ii[i];
7797     }
7798     extern int foo;
7799    
7800     int
7801     main ()
7802     {
7803     return use_ascii (foo) == use_ebcdic (foo);
7804     ;
7805     return 0;
7806     }
7807     _ACEOF
7808     if ac_fn_c_try_compile "$LINENO"; then :
7809     if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
7810     ac_cv_c_bigendian=yes
7811     fi
7812     if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
7813     if test "$ac_cv_c_bigendian" = unknown; then
7814     ac_cv_c_bigendian=no
7815     else
7816     # finding both strings is unlikely to happen, but who knows?
7817     ac_cv_c_bigendian=unknown
7818     fi
7819     fi
7820     fi
7821     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7822     else
7823     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824     /* end confdefs.h. */
7825     $ac_includes_default
7826     int
7827     main ()
7828     {
7829    
7830     /* Are we little or big endian? From Harbison&Steele. */
7831     union
7832     {
7833     long int l;
7834     char c[sizeof (long int)];
7835     } u;
7836     u.l = 1;
7837     return u.c[sizeof (long int) - 1] == 1;
7838    
7839     ;
7840     return 0;
7841     }
7842     _ACEOF
7843     if ac_fn_c_try_run "$LINENO"; then :
7844     ac_cv_c_bigendian=no
7845     else
7846     ac_cv_c_bigendian=yes
7847     fi
7848     rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7849     conftest.$ac_objext conftest.beam conftest.$ac_ext
7850     fi
7851    
7852     fi
7853     fi
7854     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
7855     $as_echo "$ac_cv_c_bigendian" >&6; }
7856     case $ac_cv_c_bigendian in #(
7857     yes)
7858     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
7859     ;; #(
7860     no)
7861     ;; #(
7862     universal)
7863    
7864     $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7865    
7866     ;; #(
7867     *)
7868     as_fn_error "unknown endianness
7869     presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
7870     esac
7871    
7872    
7873     # Check whether --enable-variant was given.
7874     if test "${enable_variant+set}" = set; then :
7875     enableval=$enable_variant; NAVIT_VARIANT=$enableval
7876     fi
7877    
7878    
7879    
7880     # Check whether --enable-cache-size was given.
7881     if test "${enable_cache_size+set}" = set; then :
7882     enableval=$enable_cache_size;
7883     cat >>confdefs.h <<_ACEOF
7884     #define CACHE_SIZE ${enableval}
7885     _ACEOF
7886    
7887     fi
7888    
7889    
7890     # Check whether --enable-avoid-unaligned was given.
7891     if test "${enable_avoid_unaligned+set}" = set; then :
7892     enableval=$enable_avoid_unaligned; AVOID_UNALIGNED=$enableval
7893     else
7894     AVOID_UNALIGNED=no
7895     fi
7896    
7897     test x"${AVOID_UNALIGNED}" = xyes &&
7898     $as_echo "#define AVOID_UNALIGNED /**/" >>confdefs.h
7899    
7900    
7901     # Check whether --enable-avoid-float was given.
7902     if test "${enable_avoid_float+set}" = set; then :
7903     enableval=$enable_avoid_float; AVOID_FLOAT=$enableval
7904     else
7905     AVOID_FLOAT=no
7906     fi
7907    
7908     test x"${AVOID_FLOAT}" = xyes &&
7909     $as_echo "#define AVOID_FLOAT /**/" >>confdefs.h
7910    
7911    
7912     # Check whether --enable-transformation-roll was given.
7913     if test "${enable_transformation_roll+set}" = set; then :
7914     enableval=$enable_transformation_roll; ENABLE_ROLL=$enableval
7915     else
7916     ENABLE_ROLL=no
7917     fi
7918    
7919     test x"${ENABLE_ROLL}" = xyes &&
7920     $as_echo "#define ENABLE_ROLL /**/" >>confdefs.h
7921    
7922    
7923     # Check whether --enable-hildon was given.
7924     if test "${enable_hildon+set}" = set; then :
7925     enableval=$enable_hildon; enable_hildon=$enableval
7926     else
7927     enable_hildon=yes
7928     fi
7929    
7930     if test "x${enable_hildon}" = "xyes" ; then
7931    
7932     pkg_failed=no
7933     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
7934     $as_echo_n "checking for HILDON... " >&6; }
7935    
7936     if test -n "$PKG_CONFIG"; then
7937     if test -n "$HILDON_CFLAGS"; then
7938     pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
7939     else
7940     if test -n "$PKG_CONFIG" && \
7941     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9\""; } >&5
7942     ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9") 2>&5
7943     ac_status=$?
7944     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7945     test $ac_status = 0; }; then
7946     pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 0.9.9" 2>/dev/null`
7947     else
7948     pkg_failed=yes
7949     fi
7950     fi
7951     else
7952     pkg_failed=untried
7953     fi
7954     if test -n "$PKG_CONFIG"; then
7955     if test -n "$HILDON_LIBS"; then
7956     pkg_cv_HILDON_LIBS="$HILDON_LIBS"
7957     else
7958     if test -n "$PKG_CONFIG" && \
7959     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9\""; } >&5
7960     ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9") 2>&5
7961     ac_status=$?
7962     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7963     test $ac_status = 0; }; then
7964     pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 0.9.9" 2>/dev/null`
7965     else
7966     pkg_failed=yes
7967     fi
7968     fi
7969     else
7970     pkg_failed=untried
7971     fi
7972    
7973    
7974    
7975     if test $pkg_failed = yes; then
7976    
7977     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7978     _pkg_short_errors_supported=yes
7979     else
7980     _pkg_short_errors_supported=no
7981     fi
7982     if test $_pkg_short_errors_supported = yes; then
7983     HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 0.9.9"`
7984     else
7985     HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 0.9.9"`
7986     fi
7987     # Put the nasty error message in config.log where it belongs
7988     echo "$HILDON_PKG_ERRORS" >&5
7989    
7990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991     $as_echo "no" >&6; }
7992    
7993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994     $as_echo "no" >&6; }
7995     enable_hildon=no
7996    
7997     elif test $pkg_failed = untried; then
7998    
7999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000     $as_echo "no" >&6; }
8001     enable_hildon=no
8002    
8003     else
8004     HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
8005     HILDON_LIBS=$pkg_cv_HILDON_LIBS
8006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8007     $as_echo "yes" >&6; }
8008     :
8009     fi
8010    
8011     pkg_failed=no
8012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPSBT" >&5
8013     $as_echo_n "checking for GPSBT... " >&6; }
8014    
8015     if test -n "$PKG_CONFIG"; then
8016     if test -n "$GPSBT_CFLAGS"; then
8017     pkg_cv_GPSBT_CFLAGS="$GPSBT_CFLAGS"
8018     else
8019     if test -n "$PKG_CONFIG" && \
8020     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
8021     ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
8022     ac_status=$?
8023     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8024     test $ac_status = 0; }; then
8025     pkg_cv_GPSBT_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
8026     else
8027     pkg_failed=yes
8028     fi
8029     fi
8030     else
8031     pkg_failed=untried
8032     fi
8033     if test -n "$PKG_CONFIG"; then
8034     if test -n "$GPSBT_LIBS"; then
8035     pkg_cv_GPSBT_LIBS="$GPSBT_LIBS"
8036     else
8037     if test -n "$PKG_CONFIG" && \
8038     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
8039     ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
8040     ac_status=$?
8041     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8042     test $ac_status = 0; }; then
8043     pkg_cv_GPSBT_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
8044     else
8045     pkg_failed=yes
8046     fi
8047     fi
8048     else
8049     pkg_failed=untried
8050     fi
8051    
8052    
8053    
8054     if test $pkg_failed = yes; then
8055    
8056     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8057     _pkg_short_errors_supported=yes
8058     else
8059     _pkg_short_errors_supported=no
8060     fi
8061     if test $_pkg_short_errors_supported = yes; then
8062     GPSBT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gpsbt"`
8063     else
8064     GPSBT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gpsbt"`
8065     fi
8066     # Put the nasty error message in config.log where it belongs
8067     echo "$GPSBT_PKG_ERRORS" >&5
8068    
8069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070     $as_echo "no" >&6; }
8071    
8072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073     $as_echo "no" >&6; }
8074    
8075     elif test $pkg_failed = untried; then
8076    
8077     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078     $as_echo "no" >&6; }
8079    
8080     else
8081     GPSBT_CFLAGS=$pkg_cv_GPSBT_CFLAGS
8082     GPSBT_LIBS=$pkg_cv_GPSBT_LIBS
8083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8084     $as_echo "yes" >&6; }
8085    
8086    
8087     $as_echo "#define HAVE_GPSBT 1" >>confdefs.h
8088    
8089    
8090    
8091    
8092     fi
8093     if test x"${enable_hildon}" = xyes ; then
8094    
8095     $as_echo "#define USE_HILDON 1" >>confdefs.h
8096    
8097    
8098    
8099     fi
8100     fi
8101     if test "${enable_hildon}" = "xyes"; then
8102     USE_HILDON_TRUE=
8103     USE_HILDON_FALSE='#'
8104     else
8105     USE_HILDON_TRUE='#'
8106     USE_HILDON_FALSE=
8107     fi
8108    
8109    
8110     # Check whether --enable-osso was given.
8111     if test "${enable_osso+set}" = set; then :
8112     enableval=$enable_osso; enable_osso=$enableval
8113     else
8114     enable_osso=yes
8115     fi
8116    
8117     if test "x${enable_osso}" = "xyes" ; then
8118    
8119     pkg_failed=no
8120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOSSO" >&5
8121     $as_echo_n "checking for LIBOSSO... " >&6; }
8122    
8123     if test -n "$PKG_CONFIG"; then
8124     if test -n "$LIBOSSO_CFLAGS"; then
8125     pkg_cv_LIBOSSO_CFLAGS="$LIBOSSO_CFLAGS"
8126     else
8127     if test -n "$PKG_CONFIG" && \
8128     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
8129     ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
8130     ac_status=$?
8131     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8132     test $ac_status = 0; }; then
8133     pkg_cv_LIBOSSO_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
8134     else
8135     pkg_failed=yes
8136     fi
8137     fi
8138     else
8139     pkg_failed=untried
8140     fi
8141     if test -n "$PKG_CONFIG"; then
8142     if test -n "$LIBOSSO_LIBS"; then
8143     pkg_cv_LIBOSSO_LIBS="$LIBOSSO_LIBS"
8144     else
8145     if test -n "$PKG_CONFIG" && \
8146     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
8147     ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
8148     ac_status=$?
8149     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8150     test $ac_status = 0; }; then
8151     pkg_cv_LIBOSSO_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
8152     else
8153     pkg_failed=yes
8154     fi
8155     fi
8156     else
8157     pkg_failed=untried
8158     fi
8159    
8160    
8161    
8162     if test $pkg_failed = yes; then
8163    
8164     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8165     _pkg_short_errors_supported=yes
8166     else
8167     _pkg_short_errors_supported=no
8168     fi
8169     if test $_pkg_short_errors_supported = yes; then
8170     LIBOSSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso"`
8171     else
8172     LIBOSSO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso"`
8173     fi
8174     # Put the nasty error message in config.log where it belongs
8175     echo "$LIBOSSO_PKG_ERRORS" >&5
8176    
8177     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178     $as_echo "no" >&6; }
8179    
8180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181     $as_echo "no" >&6; }
8182     enable_osso=no
8183    
8184     elif test $pkg_failed = untried; then
8185    
8186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187     $as_echo "no" >&6; }
8188     enable_osso=no
8189    
8190     else
8191     LIBOSSO_CFLAGS=$pkg_cv_LIBOSSO_CFLAGS
8192     LIBOSSO_LIBS=$pkg_cv_LIBOSSO_LIBS
8193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8194     $as_echo "yes" >&6; }
8195     :
8196     fi
8197     if test x"${enable_osso}" = xyes ; then
8198    
8199     $as_echo "#define USE_OSSO 1" >>confdefs.h
8200    
8201    
8202    
8203     fi
8204     fi
8205     echo ${enable_osso}
8206     if test "x${enable_osso}" = "xyes"; then
8207     USE_OSSO_TRUE=
8208     USE_OSSO_FALSE='#'
8209     else
8210     USE_OSSO_TRUE='#'
8211     USE_OSSO_FALSE=
8212     fi
8213    
8214    
8215     # Check whether --enable-garmin was given.
8216     if test "${enable_garmin+set}" = set; then :
8217     enableval=$enable_garmin; USE_GARMIN=$enableval
8218     else
8219     USE_GARMIN=yes
8220     fi
8221    
8222    
8223     # samplemap
8224     # Extract the first word of "bzcat", so it can be a program name with args.
8225     set dummy bzcat; ac_word=$2
8226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227     $as_echo_n "checking for $ac_word... " >&6; }
8228     if test "${ac_cv_path__PATH_BZCAT+set}" = set; then :
8229     $as_echo_n "(cached) " >&6
8230     else
8231     case $_PATH_BZCAT in
8232     [\\/]* | ?:[\\/]*)
8233     ac_cv_path__PATH_BZCAT="$_PATH_BZCAT" # Let the user override the test with a path.
8234     ;;
8235     *)
8236     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237     for as_dir in $PATH
8238     do
8239     IFS=$as_save_IFS
8240     test -z "$as_dir" && as_dir=.
8241     for ac_exec_ext in '' $ac_executable_extensions; do
8242     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8243     ac_cv_path__PATH_BZCAT="$as_dir/$ac_word$ac_exec_ext"
8244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245     break 2
8246     fi
8247     done
8248     done
8249     IFS=$as_save_IFS
8250    
8251     ;;
8252     esac
8253     fi
8254     _PATH_BZCAT=$ac_cv_path__PATH_BZCAT
8255     if test -n "$_PATH_BZCAT"; then
8256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_PATH_BZCAT" >&5
8257     $as_echo "$_PATH_BZCAT" >&6; }
8258     else
8259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260     $as_echo "no" >&6; }
8261     fi
8262    
8263    
8264     if test "x${_PATH_BZCAT}" = "x" ; then
8265     samplemap=no; samplemap_reason="bzcat missing"
8266     fi
8267     # Check whether --enable-maptool was given.
8268     if test "${enable_maptool+set}" = set; then :
8269     enableval=$enable_maptool; maptool=$enableval;maptool_reason="configure parameter"
8270     fi
8271    
8272     if test "x$maptool" = "xyes"; then
8273     MAPTOOL_TRUE=
8274     MAPTOOL_FALSE='#'
8275     else
8276     MAPTOOL_TRUE='#'
8277     MAPTOOL_FALSE=
8278     fi
8279    
8280     if test "x$maptool" != "xyes"; then
8281     samplemap=no; samplemap_reason="maptool disabled"
8282     fi
8283     # Check whether --enable-samplemap was given.
8284     if test "${enable_samplemap+set}" = set; then :
8285     enableval=$enable_samplemap; samplemap=$enableval;samplemap_reason="configure parameter"
8286     fi
8287    
8288     if test "x$samplemap" = "xyes"; then
8289     BUILD_SAMPLEMAP_TRUE=
8290     BUILD_SAMPLEMAP_FALSE='#'
8291     else
8292     BUILD_SAMPLEMAP_TRUE='#'
8293     BUILD_SAMPLEMAP_FALSE=
8294     fi
8295    
8296    
8297     # Check whether --enable-fastmath was given.
8298     if test "${enable_fastmath+set}" = set; then :
8299     enableval=$enable_fastmath; fastmath=$enableval
8300     else
8301     fastmath=yes
8302     fi
8303    
8304     if test "x$fastmath" = "xyes"; then
8305     FASTMATH_TRUE=
8306     FASTMATH_FALSE='#'
8307     else
8308     FASTMATH_TRUE='#'
8309     FASTMATH_FALSE=
8310     fi
8311    
8312    
8313     if test x"$fastmath" = xyes; then
8314     if eval "test x$GCC = xyes"; then
8315     CFLAGS="$CFLAGS -ffast-math"
8316     fi
8317     fi
8318    
8319     X_CFLAGS="-I$x_includes"
8320     if test -n "$ac_x_libraries"; then :
8321     X_LIBS="-L$ac_x_libraries"
8322     fi
8323    
8324     # glib
8325     # Check whether --enable-glib was given.
8326     if test "${enable_glib+set}" = set; then :
8327     enableval=$enable_glib; glib=$enableval
8328     else
8329     glib=yes
8330     fi
8331    
8332     if test "x${glib}" = "xyes" -a "x${GLIB_CFLAGS}" = "x" -a "x${GLIB_LIBS}" = "x"; then
8333    
8334     pkg_failed=no
8335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
8336     $as_echo_n "checking for GLIB... " >&6; }
8337    
8338     if test -n "$PKG_CONFIG"; then
8339     if test -n "$GLIB_CFLAGS"; then
8340     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
8341     else
8342     if test -n "$PKG_CONFIG" && \
8343     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
8344     ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
8345     ac_status=$?
8346     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8347     test $ac_status = 0; }; then
8348     pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0" 2>/dev/null`
8349     else
8350     pkg_failed=yes
8351     fi
8352     fi
8353     else
8354     pkg_failed=untried
8355     fi
8356     if test -n "$PKG_CONFIG"; then
8357     if test -n "$GLIB_LIBS"; then
8358     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
8359     else
8360     if test -n "$PKG_CONFIG" && \
8361     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
8362     ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
8363     ac_status=$?
8364     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8365     test $ac_status = 0; }; then
8366     pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0" 2>/dev/null`
8367     else
8368     pkg_failed=yes
8369     fi
8370     fi
8371     else
8372     pkg_failed=untried
8373     fi
8374    
8375    
8376    
8377     if test $pkg_failed = yes; then
8378    
8379     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8380     _pkg_short_errors_supported=yes
8381     else
8382     _pkg_short_errors_supported=no
8383     fi
8384     if test $_pkg_short_errors_supported = yes; then
8385     GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gthread-2.0"`
8386     else
8387     GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gthread-2.0"`
8388     fi
8389     # Put the nasty error message in config.log where it belongs
8390     echo "$GLIB_PKG_ERRORS" >&5
8391    
8392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393     $as_echo "no" >&6; }
8394     glib=no
8395     elif test $pkg_failed = untried; then
8396     glib=no
8397     else
8398     GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
8399     GLIB_LIBS=$pkg_cv_GLIB_LIBS
8400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8401     $as_echo "yes" >&6; }
8402     glib=yes
8403     fi
8404     fi
8405     if test "x${glib}" = "xyes"; then
8406    
8407     $as_echo "#define HAVE_GLIB 1" >>confdefs.h
8408    
8409     else
8410     GLIB_CFLAGS="-I\$(top_srcdir)/navit/support -I\$(top_srcdir)/navit/support/glib -I\$(top_srcdir)/navit/support/ezxml"
8411     GLIB_LIBS="-L\$(top_builddir)/navit/support/glib -lsupport_glib -L\$(top_builddir)/navit/support/ezxml -lsupport_ezxml"
8412     if test "x${win32}" != "xyes" -a "x${android}" != "xyes"; then
8413     GLIB_LIBS="$GLIB_LIBS -lpthread"
8414     fi
8415     fi
8416    
8417     # gmodule
8418     # Check whether --enable-gmodule was given.
8419     if test "${enable_gmodule+set}" = set; then :
8420     enableval=$enable_gmodule; gmodule=$enableval
8421     else
8422     gmodule=yes
8423     fi
8424    
8425     if test x"${gmodule}" = "xyes"; then
8426    
8427     pkg_failed=no
8428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
8429     $as_echo_n "checking for GMODULE... " >&6; }
8430    
8431     if test -n "$PKG_CONFIG"; then
8432     if test -n "$GMODULE_CFLAGS"; then
8433     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
8434     else
8435     if test -n "$PKG_CONFIG" && \
8436     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
8437     ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
8438     ac_status=$?
8439     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8440     test $ac_status = 0; }; then
8441     pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
8442     else
8443     pkg_failed=yes
8444     fi
8445     fi
8446     else
8447     pkg_failed=untried
8448     fi
8449     if test -n "$PKG_CONFIG"; then
8450     if test -n "$GMODULE_LIBS"; then
8451     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
8452     else
8453     if test -n "$PKG_CONFIG" && \
8454     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
8455     ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
8456     ac_status=$?
8457     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8458     test $ac_status = 0; }; then
8459     pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
8460     else
8461     pkg_failed=yes
8462     fi
8463     fi
8464     else
8465     pkg_failed=untried
8466     fi
8467    
8468    
8469    
8470     if test $pkg_failed = yes; then
8471    
8472     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8473     _pkg_short_errors_supported=yes
8474     else
8475     _pkg_short_errors_supported=no
8476     fi
8477     if test $_pkg_short_errors_supported = yes; then
8478     GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-2.0"`
8479     else
8480     GMODULE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-2.0"`
8481     fi
8482     # Put the nasty error message in config.log where it belongs
8483     echo "$GMODULE_PKG_ERRORS" >&5
8484    
8485     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8486     $as_echo "no" >&6; }
8487     gmodule=no
8488     elif test $pkg_failed = untried; then
8489     gmodule=no
8490     else
8491     GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
8492     GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
8493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8494     $as_echo "yes" >&6; }
8495     gmodule=yes
8496     fi
8497     fi
8498     if test "x${gmodule}" = "xyes"; then
8499    
8500     $as_echo "#define HAVE_GMODULE 1" >>confdefs.h
8501    
8502     else
8503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8504     $as_echo_n "checking for dlopen in -ldl... " >&6; }
8505     if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
8506     $as_echo_n "(cached) " >&6
8507     else
8508     ac_check_lib_save_LIBS=$LIBS
8509     LIBS="-ldl $LIBS"
8510     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511     /* end confdefs.h. */
8512    
8513     /* Override any GCC internal prototype to avoid an error.
8514     Use char because int might match the return type of a GCC
8515     builtin and then its argument prototype would still apply. */
8516     #ifdef __cplusplus
8517     extern "C"
8518     #endif
8519     char dlopen ();
8520     int
8521     main ()
8522     {
8523     return dlopen ();
8524     ;
8525     return 0;
8526     }
8527     _ACEOF
8528     if ac_fn_c_try_link "$LINENO"; then :
8529     ac_cv_lib_dl_dlopen=yes
8530     else
8531     ac_cv_lib_dl_dlopen=no
8532     fi
8533     rm -f core conftest.err conftest.$ac_objext \
8534     conftest$ac_exeext conftest.$ac_ext
8535     LIBS=$ac_check_lib_save_LIBS
8536     fi
8537     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8538     $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8539     if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
8540     plugins_reason="default, via dlopen";GMODULE_LIBS="-ldl";
8541     $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
8542    
8543     else
8544     plugins="no"; plugins_reason="package gmodule and dlopen missing"
8545    
8546     fi
8547    
8548     fi
8549    
8550     # libcrypto
8551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_encrypt in -lcrypto" >&5
8552     $as_echo_n "checking for AES_encrypt in -lcrypto... " >&6; }
8553     if test "${ac_cv_lib_crypto_AES_encrypt+set}" = set; then :
8554     $as_echo_n "(cached) " >&6
8555     else
8556     ac_check_lib_save_LIBS=$LIBS
8557     LIBS="-lcrypto $LIBS"
8558     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559     /* end confdefs.h. */
8560    
8561     /* Override any GCC internal prototype to avoid an error.
8562     Use char because int might match the return type of a GCC
8563     builtin and then its argument prototype would still apply. */
8564     #ifdef __cplusplus
8565     extern "C"
8566     #endif
8567     char AES_encrypt ();
8568     int
8569     main ()
8570     {
8571     return AES_encrypt ();
8572     ;
8573     return 0;
8574     }
8575     _ACEOF
8576     if ac_fn_c_try_link "$LINENO"; then :
8577     ac_cv_lib_crypto_AES_encrypt=yes
8578     else
8579     ac_cv_lib_crypto_AES_encrypt=no
8580     fi
8581     rm -f core conftest.err conftest.$ac_objext \
8582     conftest$ac_exeext conftest.$ac_ext
8583     LIBS=$ac_check_lib_save_LIBS
8584     fi
8585     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_encrypt" >&5
8586     $as_echo "$ac_cv_lib_crypto_AES_encrypt" >&6; }
8587     if test "x$ac_cv_lib_crypto_AES_encrypt" = x""yes; then :
8588     CRYPTO_LIBS="-lcrypto";
8589     $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
8590    
8591     fi
8592    
8593    
8594    
8595     # plugins
8596     # Check whether --enable-plugins was given.
8597     if test "${enable_plugins+set}" = set; then :
8598     enableval=$enable_plugins; plugins=$enableval;plugin_reason="configure parameter"
8599     fi
8600    
8601     # Check whether --enable-shared-libnavit was given.
8602     if test "${enable_shared_libnavit+set}" = set; then :
8603     enableval=$enable_shared_libnavit; shared_libnavit=$enableval
8604     fi
8605    
8606     if test "x${plugins}" = "xyes"; then
8607     # Check whether --enable-shared was given.
8608     if test "${enable_shared+set}" = set; then :
8609     enableval=$enable_shared; p=${PACKAGE-default}
8610     case $enableval in
8611     yes) enable_shared=yes ;;
8612     no) enable_shared=no ;;
8613     *)
8614     enable_shared=no
8615     # Look at the argument we got. We use all the common list separators.
8616     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8617     for pkg in $enableval; do
8618     IFS="$lt_save_ifs"
8619     if test "X$pkg" = "X$p"; then
8620     enable_shared=yes
8621     fi
8622     done
8623     IFS="$lt_save_ifs"
8624     ;;
8625     esac
8626     else
8627     enable_shared=yes
8628     fi
8629    
8630    
8631    
8632    
8633    
8634    
8635    
8636    
8637    
8638     # Check whether --enable-static was given.
8639     if test "${enable_static+set}" = set; then :
8640     enableval=$enable_static; p=${PACKAGE-default}
8641     case $enableval in
8642     yes) enable_static=yes ;;
8643     no) enable_static=no ;;
8644     *)
8645     enable_static=no
8646     # Look at the argument we got. We use all the common list separators.
8647     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8648     for pkg in $enableval; do
8649     IFS="$lt_save_ifs"
8650     if test "X$pkg" = "X$p"; then
8651     enable_static=yes
8652     fi
8653     done
8654     IFS="$lt_save_ifs"
8655     ;;
8656     esac
8657     else
8658     enable_static=no
8659     fi
8660    
8661    
8662    
8663    
8664    
8665    
8666    
8667    
8668    
8669    
8670     $as_echo "#define USE_PLUGINS /**/" >>confdefs.h
8671    
8672     if test "x${win32}" = "xyes"; then
8673     shared_libnavit=yes
8674     NAVIT_MODULE_LDFLAGS="-no-undefined -L\$(top_builddir)/navit -l$LIBNAVIT -L\$(top_builddir)/intl -lintl"
8675     fi
8676     else
8677     if test "x${shared_libnavit}" = "xyes"; then
8678     # Check whether --enable-shared was given.
8679     if test "${enable_shared+set}" = set; then :
8680     enableval=$enable_shared; p=${PACKAGE-default}
8681     case $enableval in
8682     yes) enable_shared=yes ;;
8683     no) enable_shared=no ;;
8684     *)
8685     enable_shared=no
8686     # Look at the argument we got. We use all the common list separators.
8687     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8688     for pkg in $enableval; do
8689     IFS="$lt_save_ifs"
8690     if test "X$pkg" = "X$p"; then
8691     enable_shared=yes
8692     fi
8693     done
8694     IFS="$lt_save_ifs"
8695     ;;
8696     esac
8697     else
8698     enable_shared=yes
8699     fi
8700    
8701    
8702    
8703    
8704    
8705    
8706     # Check whether --enable-static was given.
8707     if test "${enable_static+set}" = set; then :
8708     enableval=$enable_static; p=${PACKAGE-default}
8709     case $enableval in
8710     yes) enable_static=yes ;;
8711     no) enable_static=no ;;
8712     *)
8713     enable_static=no
8714     # Look at the argument we got. We use all the common list separators.
8715     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8716     for pkg in $enableval; do
8717     IFS="$lt_save_ifs"
8718     if test "X$pkg" = "X$p"; then
8719     enable_static=yes
8720     fi
8721     done
8722     IFS="$lt_save_ifs"
8723     ;;
8724     esac
8725     else
8726     enable_static=no
8727     fi
8728    
8729    
8730    
8731    
8732    
8733    
8734     else
8735     # Check whether --enable-shared was given.
8736     if test "${enable_shared+set}" = set; then :
8737     enableval=$enable_shared; p=${PACKAGE-default}
8738     case $enableval in
8739     yes) enable_shared=yes ;;
8740     no) enable_shared=no ;;
8741     *)
8742     enable_shared=no
8743     # Look at the argument we got. We use all the common list separators.
8744     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8745     for pkg in $enableval; do
8746     IFS="$lt_save_ifs"
8747     if test "X$pkg" = "X$p"; then
8748     enable_shared=yes
8749     fi
8750     done
8751     IFS="$lt_save_ifs"
8752     ;;
8753     esac
8754     else
8755     enable_shared=no
8756     fi
8757    
8758    
8759    
8760    
8761    
8762    
8763     # Check whether --enable-static was given.
8764     if test "${enable_static+set}" = set; then :
8765     enableval=$enable_static; p=${PACKAGE-default}
8766     case $enableval in
8767     yes) enable_static=yes ;;
8768     no) enable_static=no ;;
8769     *)
8770     enable_static=no
8771     # Look at the argument we got. We use all the common list separators.
8772     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8773     for pkg in $enableval; do
8774     IFS="$lt_save_ifs"
8775     if test "X$pkg" = "X$p"; then
8776     enable_static=yes
8777     fi
8778     done
8779     IFS="$lt_save_ifs"
8780     ;;
8781     esac
8782     else
8783     enable_static=yes
8784     fi
8785    
8786    
8787    
8788    
8789    
8790    
8791     fi
8792     fi
8793     if test "x$plugins" = "xyes"; then
8794     PLUGINS_TRUE=
8795     PLUGINS_FALSE='#'
8796     else
8797     PLUGINS_TRUE='#'
8798     PLUGINS_FALSE=
8799     fi
8800    
8801     if test "x$shared_libnavit" = "xyes"; then
8802     SHARED_LIBNAVIT_TRUE=
8803     SHARED_LIBNAVIT_FALSE='#'
8804     else
8805     SHARED_LIBNAVIT_TRUE='#'
8806     SHARED_LIBNAVIT_FALSE=
8807     fi
8808    
8809     if test "x$bin_navit" = "xyes"; then
8810     BIN_NAVIT_TRUE=
8811     BIN_NAVIT_FALSE='#'
8812     else
8813     BIN_NAVIT_TRUE='#'
8814     BIN_NAVIT_FALSE=
8815     fi
8816    
8817     case `pwd` in
8818     *\ * | *\ *)
8819     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8820     $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8821     esac
8822    
8823    
8824    
8825     macro_version='2.2.6b'
8826     macro_revision='1.3017'
8827    
8828    
8829    
8830    
8831    
8832    
8833    
8834    
8835    
8836    
8837    
8838    
8839    
8840     ltmain="$ac_aux_dir/ltmain.sh"
8841    
8842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8843     $as_echo_n "checking for a sed that does not truncate output... " >&6; }
8844     if test "${ac_cv_path_SED+set}" = set; then :
8845     $as_echo_n "(cached) " >&6
8846     else
8847     ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8848     for ac_i in 1 2 3 4 5 6 7; do
8849     ac_script="$ac_script$as_nl$ac_script"
8850     done
8851     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8852     { ac_script=; unset ac_script;}
8853     if test -z "$SED"; then
8854     ac_path_SED_found=false
8855     # Loop through the user's path and test for each of PROGNAME-LIST
8856     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8857     for as_dir in $PATH
8858     do
8859     IFS=$as_save_IFS
8860     test -z "$as_dir" && as_dir=.
8861     for ac_prog in sed gsed; do
8862     for ac_exec_ext in '' $ac_executable_extensions; do
8863     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
8864     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
8865     # Check for GNU ac_path_SED and select it if it is found.
8866     # Check for GNU $ac_path_SED
8867     case `"$ac_path_SED" --version 2>&1` in
8868     *GNU*)
8869     ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8870     *)
8871     ac_count=0
8872     $as_echo_n 0123456789 >"conftest.in"
8873     while :
8874     do
8875     cat "conftest.in" "conftest.in" >"conftest.tmp"
8876     mv "conftest.tmp" "conftest.in"
8877     cp "conftest.in" "conftest.nl"
8878     $as_echo '' >> "conftest.nl"
8879     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8880     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8881     as_fn_arith $ac_count + 1 && ac_count=$as_val
8882     if test $ac_count -gt ${ac_path_SED_max-0}; then
8883     # Best one so far, save it but keep looking for a better one
8884     ac_cv_path_SED="$ac_path_SED"
8885     ac_path_SED_max=$ac_count
8886     fi
8887     # 10*(2^10) chars as input seems more than enough
8888     test $ac_count -gt 10 && break
8889     done
8890     rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8891     esac
8892    
8893     $ac_path_SED_found && break 3
8894     done
8895     done
8896     done
8897     IFS=$as_save_IFS
8898     if test -z "$ac_cv_path_SED"; then
8899     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
8900     fi
8901     else
8902     ac_cv_path_SED=$SED
8903     fi
8904    
8905     fi
8906     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8907     $as_echo "$ac_cv_path_SED" >&6; }
8908     SED="$ac_cv_path_SED"
8909     rm -f conftest.sed
8910    
8911     test -z "$SED" && SED=sed
8912     Xsed="$SED -e 1s/^X//"
8913    
8914    
8915    
8916    
8917    
8918    
8919    
8920    
8921    
8922    
8923    
8924     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8925     $as_echo_n "checking for fgrep... " >&6; }
8926     if test "${ac_cv_path_FGREP+set}" = set; then :
8927     $as_echo_n "(cached) " >&6
8928     else
8929     if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8930     then ac_cv_path_FGREP="$GREP -F"
8931     else
8932     if test -z "$FGREP"; then
8933     ac_path_FGREP_found=false
8934     # Loop through the user's path and test for each of PROGNAME-LIST
8935     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8936     for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8937     do
8938     IFS=$as_save_IFS
8939     test -z "$as_dir" && as_dir=.
8940     for ac_prog in fgrep; do
8941     for ac_exec_ext in '' $ac_executable_extensions; do
8942     ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
8943     { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
8944     # Check for GNU ac_path_FGREP and select it if it is found.
8945     # Check for GNU $ac_path_FGREP
8946     case `"$ac_path_FGREP" --version 2>&1` in
8947     *GNU*)
8948     ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
8949     *)
8950     ac_count=0
8951     $as_echo_n 0123456789 >"conftest.in"
8952     while :
8953     do
8954     cat "conftest.in" "conftest.in" >"conftest.tmp"
8955     mv "conftest.tmp" "conftest.in"
8956     cp "conftest.in" "conftest.nl"
8957     $as_echo 'FGREP' >> "conftest.nl"
8958     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
8959     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8960     as_fn_arith $ac_count + 1 && ac_count=$as_val
8961     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8962     # Best one so far, save it but keep looking for a better one
8963     ac_cv_path_FGREP="$ac_path_FGREP"
8964     ac_path_FGREP_max=$ac_count
8965     fi
8966     # 10*(2^10) chars as input seems more than enough
8967     test $ac_count -gt 10 && break
8968     done
8969     rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8970     esac
8971    
8972     $ac_path_FGREP_found && break 3
8973     done
8974     done
8975     done
8976     IFS=$as_save_IFS
8977     if test -z "$ac_cv_path_FGREP"; then
8978     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8979     fi
8980     else
8981     ac_cv_path_FGREP=$FGREP
8982     fi
8983    
8984     fi
8985     fi
8986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8987     $as_echo "$ac_cv_path_FGREP" >&6; }
8988     FGREP="$ac_cv_path_FGREP"
8989    
8990    
8991     test -z "$GREP" && GREP=grep
8992    
8993    
8994    
8995    
8996    
8997    
8998    
8999    
9000    
9001    
9002    
9003    
9004    
9005    
9006    
9007    
9008    
9009    
9010    
9011     # Check whether --with-gnu-ld was given.
9012     if test "${with_gnu_ld+set}" = set; then :
9013     withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9014     else
9015     with_gnu_ld=no
9016     fi
9017    
9018     ac_prog=ld
9019     if test "$GCC" = yes; then
9020     # Check if gcc -print-prog-name=ld gives a path.
9021     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
9022     $as_echo_n "checking for ld used by $CC... " >&6; }
9023     case $host in
9024     *-*-mingw*)
9025     # gcc leaves a trailing carriage return which upsets mingw
9026     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9027     *)
9028     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9029     esac
9030     case $ac_prog in
9031     # Accept absolute paths.
9032     [\\/]* | ?:[\\/]*)
9033     re_direlt='/[^/][^/]*/\.\./'
9034     # Canonicalize the pathname of ld
9035     ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
9036     while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
9037     ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
9038     done
9039     test -z "$LD" && LD="$ac_prog"
9040     ;;
9041     "")
9042     # If it fails, then pretend we aren't using GCC.
9043     ac_prog=ld
9044     ;;
9045     *)
9046     # If it is relative, then search for the first ld in PATH.
9047     with_gnu_ld=unknown
9048     ;;
9049     esac
9050     elif test "$with_gnu_ld" = yes; then
9051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
9052     $as_echo_n "checking for GNU ld... " >&6; }
9053     else
9054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
9055     $as_echo_n "checking for non-GNU ld... " >&6; }
9056     fi
9057     if test "${lt_cv_path_LD+set}" = set; then :
9058     $as_echo_n "(cached) " >&6
9059     else
9060     if test -z "$LD"; then
9061     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9062     for ac_dir in $PATH; do
9063     IFS="$lt_save_ifs"
9064     test -z "$ac_dir" && ac_dir=.
9065     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9066     lt_cv_path_LD="$ac_dir/$ac_prog"
9067     # Check to see if the program is GNU ld. I'd rather use --version,
9068     # but apparently some variants of GNU ld only accept -v.
9069     # Break only if it was the GNU/non-GNU ld that we prefer.
9070     case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9071     *GNU* | *'with BFD'*)
9072     test "$with_gnu_ld" != no && break
9073     ;;
9074     *)
9075     test "$with_gnu_ld" != yes && break
9076     ;;
9077     esac
9078     fi
9079     done
9080     IFS="$lt_save_ifs"
9081     else
9082     lt_cv_path_LD="$LD" # Let the user override the test with a path.
9083     fi
9084     fi
9085    
9086     LD="$lt_cv_path_LD"
9087     if test -n "$LD"; then
9088     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
9089     $as_echo "$LD" >&6; }
9090     else
9091     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092     $as_echo "no" >&6; }
9093     fi
9094     test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
9095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
9096     $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
9097     if test "${lt_cv_prog_gnu_ld+set}" = set; then :
9098     $as_echo_n "(cached) " >&6
9099     else
9100     # I'd rather use --version here, but apparently some GNU lds only accept -v.
9101     case `$LD -v 2>&1 </dev/null` in
9102     *GNU* | *'with BFD'*)
9103     lt_cv_prog_gnu_ld=yes
9104     ;;
9105     *)
9106     lt_cv_prog_gnu_ld=no
9107     ;;
9108     esac
9109     fi
9110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
9111     $as_echo "$lt_cv_prog_gnu_ld" >&6; }
9112     with_gnu_ld=$lt_cv_prog_gnu_ld
9113    
9114    
9115    
9116    
9117    
9118    
9119    
9120    
9121    
9122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
9123     $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
9124     if test "${lt_cv_path_NM+set}" = set; then :
9125     $as_echo_n "(cached) " >&6
9126     else
9127     if test -n "$NM"; then
9128     # Let the user override the test.
9129     lt_cv_path_NM="$NM"
9130     else
9131     lt_nm_to_check="${ac_tool_prefix}nm"
9132     if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
9133     lt_nm_to_check="$lt_nm_to_check nm"
9134     fi
9135     for lt_tmp_nm in $lt_nm_to_check; do
9136     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9137     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
9138     IFS="$lt_save_ifs"
9139     test -z "$ac_dir" && ac_dir=.
9140     tmp_nm="$ac_dir/$lt_tmp_nm"
9141     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
9142     # Check to see if the nm accepts a BSD-compat flag.
9143     # Adding the `sed 1q' prevents false positives on HP-UX, which says:
9144     # nm: unknown option "B" ignored
9145     # Tru64's nm complains that /dev/null is an invalid object file
9146     case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
9147     */dev/null* | *'Invalid file or object type'*)
9148     lt_cv_path_NM="$tmp_nm -B"
9149     break
9150     ;;
9151     *)
9152     case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
9153     */dev/null*)
9154     lt_cv_path_NM="$tmp_nm -p"
9155     break
9156     ;;
9157     *)
9158     lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9159     continue # so that we can try to find one that supports BSD flags
9160     ;;
9161     esac
9162     ;;
9163     esac
9164     fi
9165     done
9166     IFS="$lt_save_ifs"
9167     done
9168     : ${lt_cv_path_NM=no}
9169     fi
9170     fi
9171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
9172     $as_echo "$lt_cv_path_NM" >&6; }
9173     if test "$lt_cv_path_NM" != "no"; then
9174     NM="$lt_cv_path_NM"
9175     else
9176     # Didn't find any BSD compatible name lister, look for dumpbin.
9177     if test -n "$ac_tool_prefix"; then
9178     for ac_prog in "dumpbin -symbols" "link -dump -symbols"
9179     do
9180     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9181     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9182     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9183     $as_echo_n "checking for $ac_word... " >&6; }
9184     if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
9185     $as_echo_n "(cached) " >&6
9186     else
9187     if test -n "$DUMPBIN"; then
9188     ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
9189     else
9190     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9191     for as_dir in $PATH
9192     do
9193     IFS=$as_save_IFS
9194     test -z "$as_dir" && as_dir=.
9195     for ac_exec_ext in '' $ac_executable_extensions; do
9196     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9197     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
9198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9199     break 2
9200     fi
9201     done
9202     done
9203     IFS=$as_save_IFS
9204    
9205     fi
9206     fi
9207     DUMPBIN=$ac_cv_prog_DUMPBIN
9208     if test -n "$DUMPBIN"; then
9209     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
9210     $as_echo "$DUMPBIN" >&6; }
9211     else
9212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9213     $as_echo "no" >&6; }
9214     fi
9215    
9216    
9217     test -n "$DUMPBIN" && break
9218     done
9219     fi
9220     if test -z "$DUMPBIN"; then
9221     ac_ct_DUMPBIN=$DUMPBIN
9222     for ac_prog in "dumpbin -symbols" "link -dump -symbols"
9223     do
9224     # Extract the first word of "$ac_prog", so it can be a program name with args.
9225     set dummy $ac_prog; ac_word=$2
9226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9227     $as_echo_n "checking for $ac_word... " >&6; }
9228     if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
9229     $as_echo_n "(cached) " >&6
9230     else
9231     if test -n "$ac_ct_DUMPBIN"; then
9232     ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
9233     else
9234     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9235     for as_dir in $PATH
9236     do
9237     IFS=$as_save_IFS
9238     test -z "$as_dir" && as_dir=.
9239     for ac_exec_ext in '' $ac_executable_extensions; do
9240     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
9242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9243     break 2
9244     fi
9245     done
9246     done
9247     IFS=$as_save_IFS
9248    
9249     fi
9250     fi
9251     ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
9252     if test -n "$ac_ct_DUMPBIN"; then
9253     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9254     $as_echo "$ac_ct_DUMPBIN" >&6; }
9255     else
9256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257     $as_echo "no" >&6; }
9258     fi
9259    
9260    
9261     test -n "$ac_ct_DUMPBIN" && break
9262     done
9263    
9264     if test "x$ac_ct_DUMPBIN" = x; then
9265     DUMPBIN=":"
9266     else
9267     case $cross_compiling:$ac_tool_warned in
9268     yes:)
9269     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9270     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9271     ac_tool_warned=yes ;;
9272     esac
9273     DUMPBIN=$ac_ct_DUMPBIN
9274     fi
9275     fi
9276    
9277    
9278     if test "$DUMPBIN" != ":"; then
9279     NM="$DUMPBIN"
9280     fi
9281     fi
9282     test -z "$NM" && NM=nm
9283    
9284    
9285    
9286    
9287    
9288    
9289     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9290     $as_echo_n "checking the name lister ($NM) interface... " >&6; }
9291     if test "${lt_cv_nm_interface+set}" = set; then :
9292     $as_echo_n "(cached) " >&6
9293     else
9294     lt_cv_nm_interface="BSD nm"
9295     echo "int some_variable = 0;" > conftest.$ac_ext
9296     (eval echo "\"\$as_me:9296: $ac_compile\"" >&5)
9297     (eval "$ac_compile" 2>conftest.err)
9298     cat conftest.err >&5
9299     (eval echo "\"\$as_me:9299: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
9300     (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
9301     cat conftest.err >&5
9302     (eval echo "\"\$as_me:9302: output\"" >&5)
9303     cat conftest.out >&5
9304     if $GREP 'External.*some_variable' conftest.out > /dev/null; then
9305     lt_cv_nm_interface="MS dumpbin"
9306     fi
9307     rm -f conftest*
9308     fi
9309     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9310     $as_echo "$lt_cv_nm_interface" >&6; }
9311    
9312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9313     $as_echo_n "checking whether ln -s works... " >&6; }
9314     LN_S=$as_ln_s
9315     if test "$LN_S" = "ln -s"; then
9316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9317     $as_echo "yes" >&6; }
9318     else
9319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9320     $as_echo "no, using $LN_S" >&6; }
9321     fi
9322    
9323     # find the maximum length of command line arguments
9324     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
9325     $as_echo_n "checking the maximum length of command line arguments... " >&6; }
9326     if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
9327     $as_echo_n "(cached) " >&6
9328     else
9329     i=0
9330     teststring="ABCD"
9331    
9332     case $build_os in
9333     msdosdjgpp*)
9334     # On DJGPP, this test can blow up pretty badly due to problems in libc
9335     # (any single argument exceeding 2000 bytes causes a buffer overrun
9336     # during glob expansion). Even if it were fixed, the result of this
9337     # check would be larger than it should be.
9338     lt_cv_sys_max_cmd_len=12288; # 12K is about right
9339     ;;
9340    
9341     gnu*)
9342     # Under GNU Hurd, this test is not required because there is
9343     # no limit to the length of command line arguments.
9344     # Libtool will interpret -1 as no limit whatsoever
9345     lt_cv_sys_max_cmd_len=-1;
9346     ;;
9347    
9348     cygwin* | mingw* | cegcc*)
9349     # On Win9x/ME, this test blows up -- it succeeds, but takes
9350     # about 5 minutes as the teststring grows exponentially.
9351     # Worse, since 9x/ME are not pre-emptively multitasking,
9352     # you end up with a "frozen" computer, even though with patience
9353     # the test eventually succeeds (with a max line length of 256k).
9354     # Instead, let's just punt: use the minimum linelength reported by
9355     # all of the supported platforms: 8192 (on NT/2K/XP).
9356     lt_cv_sys_max_cmd_len=8192;
9357     ;;
9358    
9359     amigaos*)
9360     # On AmigaOS with pdksh, this test takes hours, literally.
9361     # So we just punt and use a minimum line length of 8192.
9362     lt_cv_sys_max_cmd_len=8192;
9363     ;;
9364    
9365     netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
9366     # This has been around since 386BSD, at least. Likely further.
9367     if test -x /sbin/sysctl; then
9368     lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9369     elif test -x /usr/sbin/sysctl; then
9370     lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9371     else
9372     lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
9373     fi
9374     # And add a safety zone
9375     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9376     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9377     ;;
9378    
9379     interix*)
9380     # We know the value 262144 and hardcode it with a safety zone (like BSD)
9381     lt_cv_sys_max_cmd_len=196608
9382     ;;
9383    
9384     osf*)
9385     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9386     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9387     # nice to cause kernel panics so lets avoid the loop below.
9388     # First set a reasonable default.
9389     lt_cv_sys_max_cmd_len=16384
9390     #
9391     if test -x /sbin/sysconfig; then
9392     case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9393     *1*) lt_cv_sys_max_cmd_len=-1 ;;
9394     esac
9395     fi
9396     ;;
9397     sco3.2v5*)
9398     lt_cv_sys_max_cmd_len=102400
9399     ;;
9400     sysv5* | sco5v6* | sysv4.2uw2*)
9401     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9402     if test -n "$kargmax"; then
9403     lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
9404     else
9405     lt_cv_sys_max_cmd_len=32768
9406     fi
9407     ;;
9408     *)
9409     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9410     if test -n "$lt_cv_sys_max_cmd_len"; then
9411     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9412     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9413     else
9414     # Make teststring a little bigger before we do anything with it.
9415     # a 1K string should be a reasonable start.
9416     for i in 1 2 3 4 5 6 7 8 ; do
9417     teststring=$teststring$teststring
9418     done
9419     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9420     # If test is not a shell built-in, we'll probably end up computing a
9421     # maximum length that is only half of the actual maximum length, but
9422     # we can't tell.
9423     while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
9424     = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
9425     test $i != 17 # 1/2 MB should be enough
9426     do
9427     i=`expr $i + 1`
9428     teststring=$teststring$teststring
9429     done
9430     # Only check the string length outside the loop.
9431     lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
9432     teststring=
9433     # Add a significant safety factor because C++ compilers can tack on
9434     # massive amounts of additional arguments before passing them to the
9435     # linker. It appears as though 1/2 is a usable value.
9436     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9437     fi
9438     ;;
9439     esac
9440    
9441     fi
9442    
9443     if test -n $lt_cv_sys_max_cmd_len ; then
9444     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9445     $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9446     else
9447     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
9448     $as_echo "none" >&6; }
9449     fi
9450     max_cmd_len=$lt_cv_sys_max_cmd_len
9451    
9452    
9453    
9454    
9455    
9456    
9457     : ${CP="cp -f"}
9458     : ${MV="mv -f"}
9459     : ${RM="rm -f"}
9460    
9461     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
9462     $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
9463     # Try some XSI features
9464     xsi_shell=no
9465     ( _lt_dummy="a/b/c"
9466     test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
9467     = c,a/b,, \
9468     && eval 'test $(( 1 + 1 )) -eq 2 \
9469     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9470     && xsi_shell=yes
9471     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
9472     $as_echo "$xsi_shell" >&6; }
9473    
9474    
9475     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
9476     $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
9477     lt_shell_append=no
9478     ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
9479     >/dev/null 2>&1 \
9480     && lt_shell_append=yes
9481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
9482     $as_echo "$lt_shell_append" >&6; }
9483    
9484    
9485     if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9486     lt_unset=unset
9487     else
9488     lt_unset=false
9489     fi
9490    
9491    
9492    
9493    
9494    
9495     # test EBCDIC or ASCII
9496     case `echo X|tr X '\101'` in
9497     A) # ASCII based system
9498     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9499     lt_SP2NL='tr \040 \012'
9500     lt_NL2SP='tr \015\012 \040\040'
9501     ;;
9502     *) # EBCDIC based system
9503     lt_SP2NL='tr \100 \n'
9504     lt_NL2SP='tr \r\n \100\100'
9505     ;;
9506     esac
9507    
9508    
9509    
9510    
9511    
9512    
9513    
9514    
9515    
9516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9517     $as_echo_n "checking for $LD option to reload object files... " >&6; }
9518     if test "${lt_cv_ld_reload_flag+set}" = set; then :
9519     $as_echo_n "(cached) " >&6
9520     else
9521     lt_cv_ld_reload_flag='-r'
9522     fi
9523     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9524     $as_echo "$lt_cv_ld_reload_flag" >&6; }
9525     reload_flag=$lt_cv_ld_reload_flag
9526     case $reload_flag in
9527     "" | " "*) ;;
9528     *) reload_flag=" $reload_flag" ;;
9529     esac
9530     reload_cmds='$LD$reload_flag -o $output$reload_objs'
9531     case $host_os in
9532     darwin*)
9533     if test "$GCC" = yes; then
9534     reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9535     else
9536     reload_cmds='$LD$reload_flag -o $output$reload_objs'
9537     fi
9538     ;;
9539     esac
9540    
9541    
9542    
9543    
9544    
9545    
9546    
9547    
9548    
9549     if test -n "$ac_tool_prefix"; then
9550     # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9551     set dummy ${ac_tool_prefix}objdump; ac_word=$2
9552     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9553     $as_echo_n "checking for $ac_word... " >&6; }
9554     if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9555     $as_echo_n "(cached) " >&6
9556     else
9557     if test -n "$OBJDUMP"; then
9558     ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9559     else
9560     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9561     for as_dir in $PATH
9562     do
9563     IFS=$as_save_IFS
9564     test -z "$as_dir" && as_dir=.
9565     for ac_exec_ext in '' $ac_executable_extensions; do
9566     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9567     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9569     break 2
9570     fi
9571     done
9572     done
9573     IFS=$as_save_IFS
9574    
9575     fi
9576     fi
9577     OBJDUMP=$ac_cv_prog_OBJDUMP
9578     if test -n "$OBJDUMP"; then
9579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9580     $as_echo "$OBJDUMP" >&6; }
9581     else
9582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9583     $as_echo "no" >&6; }
9584     fi
9585    
9586    
9587     fi
9588     if test -z "$ac_cv_prog_OBJDUMP"; then
9589     ac_ct_OBJDUMP=$OBJDUMP
9590     # Extract the first word of "objdump", so it can be a program name with args.
9591     set dummy objdump; ac_word=$2
9592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593     $as_echo_n "checking for $ac_word... " >&6; }
9594     if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
9595     $as_echo_n "(cached) " >&6
9596     else
9597     if test -n "$ac_ct_OBJDUMP"; then
9598     ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9599     else
9600     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601     for as_dir in $PATH
9602     do
9603     IFS=$as_save_IFS
9604     test -z "$as_dir" && as_dir=.
9605     for ac_exec_ext in '' $ac_executable_extensions; do
9606     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9607     ac_cv_prog_ac_ct_OBJDUMP="objdump"
9608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9609     break 2
9610     fi
9611     done
9612     done
9613     IFS=$as_save_IFS
9614    
9615     fi
9616     fi
9617     ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9618     if test -n "$ac_ct_OBJDUMP"; then
9619     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9620     $as_echo "$ac_ct_OBJDUMP" >&6; }
9621     else
9622     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9623     $as_echo "no" >&6; }
9624     fi
9625    
9626     if test "x$ac_ct_OBJDUMP" = x; then
9627     OBJDUMP="false"
9628     else
9629     case $cross_compiling:$ac_tool_warned in
9630     yes:)
9631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9632     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9633     ac_tool_warned=yes ;;
9634     esac
9635     OBJDUMP=$ac_ct_OBJDUMP
9636     fi
9637     else
9638     OBJDUMP="$ac_cv_prog_OBJDUMP"
9639     fi
9640    
9641     test -z "$OBJDUMP" && OBJDUMP=objdump
9642    
9643    
9644    
9645    
9646    
9647    
9648    
9649    
9650    
9651     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9652     $as_echo_n "checking how to recognize dependent libraries... " >&6; }
9653     if test "${lt_cv_deplibs_check_method+set}" = set; then :
9654     $as_echo_n "(cached) " >&6
9655     else
9656     lt_cv_file_magic_cmd='$MAGIC_CMD'
9657     lt_cv_file_magic_test_file=
9658     lt_cv_deplibs_check_method='unknown'
9659     # Need to set the preceding variable on all platforms that support
9660     # interlibrary dependencies.
9661     # 'none' -- dependencies not supported.
9662     # `unknown' -- same as none, but documents that we really don't know.
9663     # 'pass_all' -- all dependencies passed with no checks.
9664     # 'test_compile' -- check by making test program.
9665     # 'file_magic [[regex]]' -- check by looking for files in library path
9666     # which responds to the $file_magic_cmd with a given extended regex.
9667     # If you have `file' or equivalent on your system and you're not sure
9668     # whether `pass_all' will *always* work, you probably want this one.
9669    
9670     case $host_os in
9671     aix[4-9]*)
9672     lt_cv_deplibs_check_method=pass_all
9673     ;;
9674    
9675     beos*)
9676     lt_cv_deplibs_check_method=pass_all
9677     ;;
9678    
9679     bsdi[45]*)
9680     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9681     lt_cv_file_magic_cmd='/usr/bin/file -L'
9682     lt_cv_file_magic_test_file=/shlib/libc.so
9683     ;;
9684    
9685     cygwin*)
9686     # func_win32_libid is a shell function defined in ltmain.sh
9687     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9688     lt_cv_file_magic_cmd='func_win32_libid'
9689     ;;
9690    
9691     mingw* | pw32*)
9692     # Base MSYS/MinGW do not provide the 'file' command needed by
9693     # func_win32_libid shell function, so use a weaker test based on 'objdump',
9694     # unless we find 'file', for example because we are cross-compiling.
9695     if ( file / ) >/dev/null 2>&1; then
9696     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9697     lt_cv_file_magic_cmd='func_win32_libid'
9698     else
9699     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
9700     lt_cv_file_magic_cmd='$OBJDUMP -f'
9701     fi
9702     ;;
9703    
9704     cegcc)
9705     # use the weaker test based on 'objdump'. See mingw*.
9706     lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9707     lt_cv_file_magic_cmd='$OBJDUMP -f'
9708     ;;
9709    
9710     darwin* | rhapsody*)
9711     lt_cv_deplibs_check_method=pass_all
9712     ;;
9713    
9714     freebsd* | dragonfly*)
9715     if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9716     case $host_cpu in
9717     i*86 )
9718     # Not sure whether the presence of OpenBSD here was a mistake.
9719     # Let's accept both of them until this is cleared up.
9720     lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9721     lt_cv_file_magic_cmd=/usr/bin/file
9722     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9723     ;;
9724     esac
9725     else
9726     lt_cv_deplibs_check_method=pass_all
9727     fi
9728     ;;
9729    
9730     gnu*)
9731     lt_cv_deplibs_check_method=pass_all
9732     ;;
9733    
9734     hpux10.20* | hpux11*)
9735     lt_cv_file_magic_cmd=/usr/bin/file
9736     case $host_cpu in
9737     ia64*)
9738     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9739     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9740     ;;
9741     hppa*64*)
9742     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
9743     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9744     ;;
9745     *)
9746     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
9747     lt_cv_file_magic_test_file=/usr/lib/libc.sl
9748     ;;
9749     esac
9750     ;;
9751    
9752     interix[3-9]*)
9753     # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9754     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9755     ;;
9756    
9757     irix5* | irix6* | nonstopux*)
9758     case $LD in
9759     *-32|*"-32 ") libmagic=32-bit;;
9760     *-n32|*"-n32 ") libmagic=N32;;
9761     *-64|*"-64 ") libmagic=64-bit;;
9762     *) libmagic=never-match;;
9763     esac
9764     lt_cv_deplibs_check_method=pass_all
9765     ;;
9766    
9767     # This must be Linux ELF.
9768     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9769     lt_cv_deplibs_check_method=pass_all
9770     ;;
9771    
9772     netbsd* | netbsdelf*-gnu)
9773     if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9774     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9775     else
9776     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9777     fi
9778     ;;
9779    
9780     newos6*)
9781     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9782     lt_cv_file_magic_cmd=/usr/bin/file
9783     lt_cv_file_magic_test_file=/usr/lib/libnls.so
9784     ;;
9785    
9786     *nto* | *qnx*)
9787     lt_cv_deplibs_check_method=pass_all
9788     ;;
9789    
9790     openbsd*)
9791     if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9792     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9793     else
9794     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9795     fi
9796     ;;
9797    
9798     osf3* | osf4* | osf5*)
9799     lt_cv_deplibs_check_method=pass_all
9800     ;;
9801    
9802     rdos*)
9803     lt_cv_deplibs_check_method=pass_all
9804     ;;
9805    
9806     solaris*)
9807     lt_cv_deplibs_check_method=pass_all
9808     ;;
9809    
9810     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9811     lt_cv_deplibs_check_method=pass_all
9812     ;;
9813    
9814     sysv4 | sysv4.3*)
9815     case $host_vendor in
9816     motorola)
9817     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
9818     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9819     ;;
9820     ncr)
9821     lt_cv_deplibs_check_method=pass_all
9822     ;;
9823     sequent)
9824     lt_cv_file_magic_cmd='/bin/file'
9825     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9826     ;;
9827     sni)
9828     lt_cv_file_magic_cmd='/bin/file'
9829     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9830     lt_cv_file_magic_test_file=/lib/libc.so
9831     ;;
9832     siemens)
9833     lt_cv_deplibs_check_method=pass_all
9834     ;;
9835     pc)
9836     lt_cv_deplibs_check_method=pass_all
9837     ;;
9838     esac
9839     ;;
9840    
9841     tpf*)
9842     lt_cv_deplibs_check_method=pass_all
9843     ;;
9844     esac
9845    
9846     fi
9847     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9848     $as_echo "$lt_cv_deplibs_check_method" >&6; }
9849     file_magic_cmd=$lt_cv_file_magic_cmd
9850     deplibs_check_method=$lt_cv_deplibs_check_method
9851     test -z "$deplibs_check_method" && deplibs_check_method=unknown
9852    
9853    
9854    
9855    
9856    
9857    
9858    
9859    
9860    
9861    
9862    
9863    
9864     if test -n "$ac_tool_prefix"; then
9865     # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9866     set dummy ${ac_tool_prefix}ar; ac_word=$2
9867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9868     $as_echo_n "checking for $ac_word... " >&6; }
9869     if test "${ac_cv_prog_AR+set}" = set; then :
9870     $as_echo_n "(cached) " >&6
9871     else
9872     if test -n "$AR"; then
9873     ac_cv_prog_AR="$AR" # Let the user override the test.
9874     else
9875     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876     for as_dir in $PATH
9877     do
9878     IFS=$as_save_IFS
9879     test -z "$as_dir" && as_dir=.
9880     for ac_exec_ext in '' $ac_executable_extensions; do
9881     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9882     ac_cv_prog_AR="${ac_tool_prefix}ar"
9883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9884     break 2
9885     fi
9886     done
9887     done
9888     IFS=$as_save_IFS
9889    
9890     fi
9891     fi
9892     AR=$ac_cv_prog_AR
9893     if test -n "$AR"; then
9894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9895     $as_echo "$AR" >&6; }
9896     else
9897     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898     $as_echo "no" >&6; }
9899     fi
9900    
9901    
9902     fi
9903     if test -z "$ac_cv_prog_AR"; then
9904     ac_ct_AR=$AR
9905     # Extract the first word of "ar", so it can be a program name with args.
9906     set dummy ar; ac_word=$2
9907     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9908     $as_echo_n "checking for $ac_word... " >&6; }
9909     if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
9910     $as_echo_n "(cached) " >&6
9911     else
9912     if test -n "$ac_ct_AR"; then
9913     ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9914     else
9915     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9916     for as_dir in $PATH
9917     do
9918     IFS=$as_save_IFS
9919     test -z "$as_dir" && as_dir=.
9920     for ac_exec_ext in '' $ac_executable_extensions; do
9921     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9922     ac_cv_prog_ac_ct_AR="ar"
9923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9924     break 2
9925     fi
9926     done
9927     done
9928     IFS=$as_save_IFS
9929    
9930     fi
9931     fi
9932     ac_ct_AR=$ac_cv_prog_ac_ct_AR
9933     if test -n "$ac_ct_AR"; then
9934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9935     $as_echo "$ac_ct_AR" >&6; }
9936     else
9937     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9938     $as_echo "no" >&6; }
9939     fi
9940    
9941     if test "x$ac_ct_AR" = x; then
9942     AR="false"
9943     else
9944     case $cross_compiling:$ac_tool_warned in
9945     yes:)
9946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9947     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9948     ac_tool_warned=yes ;;
9949     esac
9950     AR=$ac_ct_AR
9951     fi
9952     else
9953     AR="$ac_cv_prog_AR"
9954     fi
9955    
9956     test -z "$AR" && AR=ar
9957     test -z "$AR_FLAGS" && AR_FLAGS=cru
9958    
9959    
9960    
9961    
9962    
9963    
9964    
9965    
9966    
9967    
9968    
9969     if test -n "$ac_tool_prefix"; then
9970     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9971     set dummy ${ac_tool_prefix}strip; ac_word=$2
9972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9973     $as_echo_n "checking for $ac_word... " >&6; }
9974     if test "${ac_cv_prog_STRIP+set}" = set; then :
9975     $as_echo_n "(cached) " >&6
9976     else
9977     if test -n "$STRIP"; then
9978     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9979     else
9980     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9981     for as_dir in $PATH
9982     do
9983     IFS=$as_save_IFS
9984     test -z "$as_dir" && as_dir=.
9985     for ac_exec_ext in '' $ac_executable_extensions; do
9986     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9987     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9989     break 2
9990     fi
9991     done
9992     done
9993     IFS=$as_save_IFS
9994    
9995     fi
9996     fi
9997     STRIP=$ac_cv_prog_STRIP
9998     if test -n "$STRIP"; then
9999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10000     $as_echo "$STRIP" >&6; }
10001     else
10002     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10003     $as_echo "no" >&6; }
10004     fi
10005    
10006    
10007     fi
10008     if test -z "$ac_cv_prog_STRIP"; then
10009     ac_ct_STRIP=$STRIP
10010     # Extract the first word of "strip", so it can be a program name with args.
10011     set dummy strip; ac_word=$2
10012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10013     $as_echo_n "checking for $ac_word... " >&6; }
10014     if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
10015     $as_echo_n "(cached) " >&6
10016     else
10017     if test -n "$ac_ct_STRIP"; then
10018     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10019     else
10020     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021     for as_dir in $PATH
10022     do
10023     IFS=$as_save_IFS
10024     test -z "$as_dir" && as_dir=.
10025     for ac_exec_ext in '' $ac_executable_extensions; do
10026     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10027     ac_cv_prog_ac_ct_STRIP="strip"
10028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10029     break 2
10030     fi
10031     done
10032     done
10033     IFS=$as_save_IFS
10034    
10035     fi
10036     fi
10037     ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10038     if test -n "$ac_ct_STRIP"; then
10039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10040     $as_echo "$ac_ct_STRIP" >&6; }
10041     else
10042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10043     $as_echo "no" >&6; }
10044     fi
10045    
10046     if test "x$ac_ct_STRIP" = x; then
10047     STRIP=":"
10048     else
10049     case $cross_compiling:$ac_tool_warned in
10050     yes:)
10051     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10052     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10053     ac_tool_warned=yes ;;
10054     esac
10055     STRIP=$ac_ct_STRIP
10056     fi
10057     else
10058     STRIP="$ac_cv_prog_STRIP"
10059     fi
10060    
10061     test -z "$STRIP" && STRIP=:
10062    
10063    
10064    
10065    
10066    
10067    
10068     if test -n "$ac_tool_prefix"; then
10069     # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10070     set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10072     $as_echo_n "checking for $ac_word... " >&6; }
10073     if test "${ac_cv_prog_RANLIB+set}" = set; then :
10074     $as_echo_n "(cached) " >&6
10075     else
10076     if test -n "$RANLIB"; then
10077     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10078     else
10079     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10080     for as_dir in $PATH
10081     do
10082     IFS=$as_save_IFS
10083     test -z "$as_dir" && as_dir=.
10084     for ac_exec_ext in '' $ac_executable_extensions; do
10085     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10086     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10088     break 2
10089     fi
10090     done
10091     done
10092     IFS=$as_save_IFS
10093    
10094     fi
10095     fi
10096     RANLIB=$ac_cv_prog_RANLIB
10097     if test -n "$RANLIB"; then
10098     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10099     $as_echo "$RANLIB" >&6; }
10100     else
10101     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10102     $as_echo "no" >&6; }
10103     fi
10104    
10105    
10106     fi
10107     if test -z "$ac_cv_prog_RANLIB"; then
10108     ac_ct_RANLIB=$RANLIB
10109     # Extract the first word of "ranlib", so it can be a program name with args.
10110     set dummy ranlib; ac_word=$2
10111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10112     $as_echo_n "checking for $ac_word... " >&6; }
10113     if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
10114     $as_echo_n "(cached) " >&6
10115     else
10116     if test -n "$ac_ct_RANLIB"; then
10117     ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10118     else
10119     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10120     for as_dir in $PATH
10121     do
10122     IFS=$as_save_IFS
10123     test -z "$as_dir" && as_dir=.
10124     for ac_exec_ext in '' $ac_executable_extensions; do
10125     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10126     ac_cv_prog_ac_ct_RANLIB="ranlib"
10127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10128     break 2
10129     fi
10130     done
10131     done
10132     IFS=$as_save_IFS
10133    
10134     fi
10135     fi
10136     ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10137     if test -n "$ac_ct_RANLIB"; then
10138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10139     $as_echo "$ac_ct_RANLIB" >&6; }
10140     else
10141     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10142     $as_echo "no" >&6; }
10143     fi
10144    
10145     if test "x$ac_ct_RANLIB" = x; then
10146     RANLIB=":"
10147     else
10148     case $cross_compiling:$ac_tool_warned in
10149     yes:)
10150     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10151     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10152     ac_tool_warned=yes ;;
10153     esac
10154     RANLIB=$ac_ct_RANLIB
10155     fi
10156     else
10157     RANLIB="$ac_cv_prog_RANLIB"
10158     fi
10159    
10160     test -z "$RANLIB" && RANLIB=:
10161    
10162    
10163    
10164    
10165    
10166    
10167     # Determine commands to create old-style static archives.
10168     old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10169     old_postinstall_cmds='chmod 644 $oldlib'
10170     old_postuninstall_cmds=
10171    
10172     if test -n "$RANLIB"; then
10173     case $host_os in
10174     openbsd*)
10175     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10176     ;;
10177     *)
10178     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
10179     ;;
10180     esac
10181     old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10182     fi
10183    
10184    
10185    
10186    
10187    
10188    
10189    
10190    
10191    
10192    
10193    
10194    
10195    
10196    
10197    
10198    
10199    
10200    
10201    
10202    
10203    
10204    
10205    
10206    
10207    
10208    
10209    
10210    
10211    
10212    
10213    
10214    
10215    
10216    
10217     # If no C compiler was specified, use CC.
10218     LTCC=${LTCC-"$CC"}
10219    
10220     # If no C compiler flags were specified, use CFLAGS.
10221     LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10222    
10223     # Allow CC to be a program name with arguments.
10224     compiler=$CC
10225    
10226    
10227     # Check for command to grab the raw symbol name followed by C symbol from nm.
10228     { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
10229     $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
10230     if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
10231     $as_echo_n "(cached) " >&6
10232     else
10233    
10234     # These are sane defaults that work on at least a few old systems.
10235     # [They come from Ultrix. What could be older than Ultrix?!! ;)]
10236    
10237     # Character class describing NM global symbol codes.
10238     symcode='[BCDEGRST]'
10239    
10240     # Regexp to match symbols that can be accessed directly from C.
10241     sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10242    
10243     # Define system-specific variables.
10244     case $host_os in
10245     aix*)
10246     symcode='[BCDT]'
10247     ;;
10248     cygwin* | mingw* | pw32* | cegcc*)
10249     symcode='[ABCDGISTW]'
10250     ;;
10251     hpux*)
10252     if test "$host_cpu" = ia64; then
10253     symcode='[ABCDEGRST]'
10254     fi
10255     ;;
10256     irix* | nonstopux*)
10257     symcode='[BCDEGRST]'
10258     ;;
10259     osf*)
10260     symcode='[BCDEGQRST]'
10261     ;;
10262     solaris*)
10263     symcode='[BDRT]'
10264     ;;
10265     sco3.2v5*)
10266     symcode='[DT]'
10267     ;;
10268     sysv4.2uw2*)
10269     symcode='[DT]'
10270     ;;
10271     sysv5* | sco5v6* | unixware* | OpenUNIX*)
10272     symcode='[ABDT]'
10273     ;;
10274     sysv4)
10275     symcode='[DFNSTU]'
10276     ;;
10277     esac
10278    
10279     # If we're using GNU nm, then use its standard symbol codes.
10280     case `$NM -V 2>&1` in
10281     *GNU* | *'with BFD'*)
10282     symcode='[ABCDGIRSTW]' ;;
10283     esac
10284    
10285     # Transform an extracted symbol line into a proper C declaration.
10286     # Some systems (esp. on ia64) link data and code symbols differently,
10287     # so use this general approach.
10288     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10289    
10290     # Transform an extracted symbol line into symbol name and symbol address
10291     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
10292     lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
10293    
10294     # Handle CRLF in mingw tool chain
10295     opt_cr=
10296     case $build_os in
10297     mingw*)
10298     opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10299     ;;
10300     esac
10301    
10302     # Try without a prefix underscore, then with it.
10303     for ac_symprfx in "" "_"; do
10304    
10305     # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10306     symxfrm="\\1 $ac_symprfx\\2 \\2"
10307    
10308     # Write the raw and C identifiers.
10309     if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10310     # Fake it for dumpbin and say T for any non-static function
10311     # and D for any global variable.
10312     # Also find C++ and __fastcall symbols from MSVC++,
10313     # which start with @ or ?.
10314     lt_cv_sys_global_symbol_pipe="$AWK '"\
10315     " {last_section=section; section=\$ 3};"\
10316     " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
10317     " \$ 0!~/External *\|/{next};"\
10318     " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
10319     " {if(hide[section]) next};"\
10320     " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
10321     " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
10322     " s[1]~/^[@?]/{print s[1], s[1]; next};"\
10323     " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
10324     " ' prfx=^$ac_symprfx"
10325     else
10326     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10327     fi
10328    
10329     # Check to see that the pipe works correctly.
10330     pipe_works=no
10331    
10332     rm -f conftest*
10333     cat > conftest.$ac_ext <<_LT_EOF
10334     #ifdef __cplusplus
10335     extern "C" {
10336     #endif
10337     char nm_test_var;
10338     void nm_test_func(void);
10339     void nm_test_func(void){}
10340     #ifdef __cplusplus
10341     }
10342     #endif
10343     int main(){nm_test_var='a';nm_test_func();return(0);}
10344     _LT_EOF
10345    
10346     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10347     (eval $ac_compile) 2>&5
10348     ac_status=$?
10349     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10350     test $ac_status = 0; }; then
10351     # Now try to grab the symbols.
10352     nlist=conftest.nm
10353     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
10354     (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10355     ac_status=$?
10356     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10357     test $ac_status = 0; } && test -s "$nlist"; then
10358     # Try sorting and uniquifying the output.
10359     if sort "$nlist" | uniq > "$nlist"T; then
10360     mv -f "$nlist"T "$nlist"
10361     else
10362     rm -f "$nlist"T
10363     fi
10364    
10365     # Make sure that we snagged all the symbols we need.
10366     if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
10367     if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
10368     cat <<_LT_EOF > conftest.$ac_ext
10369     #ifdef __cplusplus
10370     extern "C" {
10371     #endif
10372    
10373     _LT_EOF
10374     # Now generate the symbol file.
10375     eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10376    
10377     cat <<_LT_EOF >> conftest.$ac_ext
10378    
10379     /* The mapping between symbol names and symbols. */
10380     const struct {
10381     const char *name;
10382     void *address;
10383     }
10384     lt__PROGRAM__LTX_preloaded_symbols[] =
10385     {
10386     { "@PROGRAM@", (void *) 0 },
10387     _LT_EOF
10388     $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10389     cat <<\_LT_EOF >> conftest.$ac_ext
10390     {0, (void *) 0}
10391     };
10392    
10393     /* This works around a problem in FreeBSD linker */
10394     #ifdef FREEBSD_WORKAROUND
10395     static const void *lt_preloaded_setup() {
10396     return lt__PROGRAM__LTX_preloaded_symbols;
10397     }
10398     #endif
10399    
10400     #ifdef __cplusplus
10401     }
10402     #endif
10403     _LT_EOF
10404     # Now try linking the two files.
10405     mv conftest.$ac_objext conftstm.$ac_objext
10406     lt_save_LIBS="$LIBS"
10407     lt_save_CFLAGS="$CFLAGS"
10408     LIBS="conftstm.$ac_objext"
10409     CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10410     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10411     (eval $ac_link) 2>&5
10412     ac_status=$?
10413     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10414     test $ac_status = 0; } && test -s conftest${ac_exeext}; then
10415     pipe_works=yes
10416     fi
10417     LIBS="$lt_save_LIBS"
10418     CFLAGS="$lt_save_CFLAGS"
10419     else
10420     echo "cannot find nm_test_func in $nlist" >&5
10421     fi
10422     else
10423     echo "cannot find nm_test_var in $nlist" >&5
10424     fi
10425     else
10426     echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10427     fi
10428     else
10429     echo "$progname: failed program was:" >&5
10430     cat conftest.$ac_ext >&5
10431     fi
10432     rm -rf conftest* conftst*
10433    
10434     # Do not use the global_symbol_pipe unless it works.
10435     if test "$pipe_works" = yes; then
10436     break
10437     else
10438     lt_cv_sys_global_symbol_pipe=
10439     fi
10440     done
10441    
10442     fi
10443    
10444     if test -z "$lt_cv_sys_global_symbol_pipe"; then
10445     lt_cv_sys_global_symbol_to_cdecl=
10446     fi
10447     if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10449     $as_echo "failed" >&6; }
10450     else
10451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10452     $as_echo "ok" >&6; }
10453     fi
10454    
10455    
10456    
10457    
10458    
10459    
10460    
10461    
10462    
10463    
10464    
10465    
10466    
10467    
10468    
10469    
10470    
10471    
10472    
10473    
10474    
10475    
10476     # Check whether --enable-libtool-lock was given.
10477     if test "${enable_libtool_lock+set}" = set; then :
10478     enableval=$enable_libtool_lock;
10479     fi
10480    
10481     test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10482    
10483     # Some flags need to be propagated to the compiler or linker for good
10484     # libtool support.
10485     case $host in
10486     ia64-*-hpux*)
10487     # Find out which ABI we are using.
10488     echo 'int i;' > conftest.$ac_ext
10489     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10490     (eval $ac_compile) 2>&5
10491     ac_status=$?
10492     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10493     test $ac_status = 0; }; then
10494     case `/usr/bin/file conftest.$ac_objext` in
10495     *ELF-32*)
10496     HPUX_IA64_MODE="32"
10497     ;;
10498     *ELF-64*)
10499     HPUX_IA64_MODE="64"
10500     ;;
10501     esac
10502     fi
10503     rm -rf conftest*
10504     ;;
10505     *-*-irix6*)
10506     # Find out which ABI we are using.
10507     echo '#line 10507 "configure"' > conftest.$ac_ext
10508     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10509     (eval $ac_compile) 2>&5
10510     ac_status=$?
10511     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10512     test $ac_status = 0; }; then
10513     if test "$lt_cv_prog_gnu_ld" = yes; then
10514     case `/usr/bin/file conftest.$ac_objext` in
10515     *32-bit*)
10516     LD="${LD-ld} -melf32bsmip"
10517     ;;
10518     *N32*)
10519     LD="${LD-ld} -melf32bmipn32"
10520     ;;
10521     *64-bit*)
10522     LD="${LD-ld} -melf64bmip"
10523     ;;
10524     esac
10525     else
10526     case `/usr/bin/file conftest.$ac_objext` in
10527     *32-bit*)
10528     LD="${LD-ld} -32"
10529     ;;
10530     *N32*)
10531     LD="${LD-ld} -n32"
10532     ;;
10533     *64-bit*)
10534     LD="${LD-ld} -64"
10535     ;;
10536     esac
10537     fi
10538     fi
10539     rm -rf conftest*
10540     ;;
10541    
10542     x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
10543     s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10544     # Find out which ABI we are using.
10545     echo 'int i;' > conftest.$ac_ext
10546     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10547     (eval $ac_compile) 2>&5
10548     ac_status=$?
10549     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10550     test $ac_status = 0; }; then
10551     case `/usr/bin/file conftest.o` in
10552     *32-bit*)
10553     case $host in
10554     x86_64-*kfreebsd*-gnu)
10555     LD="${LD-ld} -m elf_i386_fbsd"
10556     ;;
10557     x86_64-*linux*)
10558     LD="${LD-ld} -m elf_i386"
10559     ;;
10560     ppc64-*linux*|powerpc64-*linux*)
10561     LD="${LD-ld} -m elf32ppclinux"
10562     ;;
10563     s390x-*linux*)
10564     LD="${LD-ld} -m elf_s390"
10565     ;;
10566     sparc64-*linux*)
10567     LD="${LD-ld} -m elf32_sparc"
10568     ;;
10569     esac
10570     ;;
10571     *64-bit*)
10572     case $host in
10573     x86_64-*kfreebsd*-gnu)
10574     LD="${LD-ld} -m elf_x86_64_fbsd"
10575     ;;
10576     x86_64-*linux*)
10577     LD="${LD-ld} -m elf_x86_64"
10578     ;;
10579     ppc*-*linux*|powerpc*-*linux*)
10580     LD="${LD-ld} -m elf64ppc"
10581     ;;
10582     s390*-*linux*|s390*-*tpf*)
10583     LD="${LD-ld} -m elf64_s390"
10584     ;;
10585     sparc*-*linux*)
10586     LD="${LD-ld} -m elf64_sparc"
10587     ;;
10588     esac
10589     ;;
10590     esac
10591     fi
10592     rm -rf conftest*
10593     ;;
10594    
10595     *-*-sco3.2v5*)
10596     # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10597     SAVE_CFLAGS="$CFLAGS"
10598     CFLAGS="$CFLAGS -belf"
10599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10600     $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
10601     if test "${lt_cv_cc_needs_belf+set}" = set; then :
10602     $as_echo_n "(cached) " >&6
10603     else
10604     ac_ext=c
10605     ac_cpp='$CPP $CPPFLAGS'
10606     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10607     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10608     ac_compiler_gnu=$ac_cv_c_compiler_gnu
10609    
10610     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611     /* end confdefs.h. */
10612    
10613     int
10614     main ()
10615     {
10616    
10617     ;
10618     return 0;
10619     }
10620     _ACEOF
10621     if ac_fn_c_try_link "$LINENO"; then :
10622     lt_cv_cc_needs_belf=yes
10623     else
10624     lt_cv_cc_needs_belf=no
10625     fi
10626     rm -f core conftest.err conftest.$ac_objext \
10627     conftest$ac_exeext conftest.$ac_ext
10628     ac_ext=c
10629     ac_cpp='$CPP $CPPFLAGS'
10630     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10631     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10632     ac_compiler_gnu=$ac_cv_c_compiler_gnu
10633    
10634     fi
10635     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10636     $as_echo "$lt_cv_cc_needs_belf" >&6; }
10637     if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10638     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10639     CFLAGS="$SAVE_CFLAGS"
10640     fi
10641     ;;
10642     sparc*-*solaris*)
10643     # Find out which ABI we are using.
10644     echo 'int i;' > conftest.$ac_ext
10645     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10646     (eval $ac_compile) 2>&5
10647     ac_status=$?
10648     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10649     test $ac_status = 0; }; then
10650     case `/usr/bin/file conftest.o` in
10651     *64-bit*)
10652     case $lt_cv_prog_gnu_ld in
10653     yes*) LD="${LD-ld} -m elf64_sparc" ;;
10654     *)
10655     if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10656     LD="${LD-ld} -64"
10657     fi
10658     ;;
10659     esac
10660     ;;
10661     esac
10662     fi
10663     rm -rf conftest*
10664     ;;
10665     esac
10666    
10667     need_locks="$enable_libtool_lock"
10668    
10669    
10670     case $host_os in
10671     rhapsody* | darwin*)
10672     if test -n "$ac_tool_prefix"; then
10673     # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10674     set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10675     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10676     $as_echo_n "checking for $ac_word... " >&6; }
10677     if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
10678     $as_echo_n "(cached) " >&6
10679     else
10680     if test -n "$DSYMUTIL"; then
10681     ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10682     else
10683     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10684     for as_dir in $PATH
10685     do
10686     IFS=$as_save_IFS
10687     test -z "$as_dir" && as_dir=.
10688     for ac_exec_ext in '' $ac_executable_extensions; do
10689     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10690     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10692     break 2
10693     fi
10694     done
10695     done
10696     IFS=$as_save_IFS
10697    
10698     fi
10699     fi
10700     DSYMUTIL=$ac_cv_prog_DSYMUTIL
10701     if test -n "$DSYMUTIL"; then
10702     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10703     $as_echo "$DSYMUTIL" >&6; }
10704     else
10705     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10706     $as_echo "no" >&6; }
10707     fi
10708    
10709    
10710     fi
10711     if test -z "$ac_cv_prog_DSYMUTIL"; then
10712     ac_ct_DSYMUTIL=$DSYMUTIL
10713     # Extract the first word of "dsymutil", so it can be a program name with args.
10714     set dummy dsymutil; ac_word=$2
10715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10716     $as_echo_n "checking for $ac_word... " >&6; }
10717     if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
10718     $as_echo_n "(cached) " >&6
10719     else
10720     if test -n "$ac_ct_DSYMUTIL"; then
10721     ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10722     else
10723     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10724     for as_dir in $PATH
10725     do
10726     IFS=$as_save_IFS
10727     test -z "$as_dir" && as_dir=.
10728     for ac_exec_ext in '' $ac_executable_extensions; do
10729     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10730     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10732     break 2
10733     fi
10734     done
10735     done
10736     IFS=$as_save_IFS
10737    
10738     fi
10739     fi
10740     ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10741     if test -n "$ac_ct_DSYMUTIL"; then
10742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10743     $as_echo "$ac_ct_DSYMUTIL" >&6; }
10744     else
10745     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10746     $as_echo "no" >&6; }
10747     fi
10748    
10749     if test "x$ac_ct_DSYMUTIL" = x; then
10750     DSYMUTIL=":"
10751     else
10752     case $cross_compiling:$ac_tool_warned in
10753     yes:)
10754     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10755     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10756     ac_tool_warned=yes ;;
10757     esac
10758     DSYMUTIL=$ac_ct_DSYMUTIL
10759     fi
10760     else
10761     DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10762     fi
10763    
10764     if test -n "$ac_tool_prefix"; then
10765     # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10766     set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10767     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10768     $as_echo_n "checking for $ac_word... " >&6; }
10769     if test "${ac_cv_prog_NMEDIT+set}" = set; then :
10770     $as_echo_n "(cached) " >&6
10771     else
10772     if test -n "$NMEDIT"; then
10773     ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10774     else
10775     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10776     for as_dir in $PATH
10777     do
10778     IFS=$as_save_IFS
10779     test -z "$as_dir" && as_dir=.
10780     for ac_exec_ext in '' $ac_executable_extensions; do
10781     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10782     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10784     break 2
10785     fi
10786     done
10787     done
10788     IFS=$as_save_IFS
10789    
10790     fi
10791     fi
10792     NMEDIT=$ac_cv_prog_NMEDIT
10793     if test -n "$NMEDIT"; then
10794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10795     $as_echo "$NMEDIT" >&6; }
10796     else
10797     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10798     $as_echo "no" >&6; }
10799     fi
10800    
10801    
10802     fi
10803     if test -z "$ac_cv_prog_NMEDIT"; then
10804     ac_ct_NMEDIT=$NMEDIT
10805     # Extract the first word of "nmedit", so it can be a program name with args.
10806     set dummy nmedit; ac_word=$2
10807     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10808     $as_echo_n "checking for $ac_word... " >&6; }
10809     if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
10810     $as_echo_n "(cached) " >&6
10811     else
10812     if test -n "$ac_ct_NMEDIT"; then
10813     ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10814     else
10815     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10816     for as_dir in $PATH
10817     do
10818     IFS=$as_save_IFS
10819     test -z "$as_dir" && as_dir=.
10820     for ac_exec_ext in '' $ac_executable_extensions; do
10821     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10822     ac_cv_prog_ac_ct_NMEDIT="nmedit"
10823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10824     break 2
10825     fi
10826     done
10827     done
10828     IFS=$as_save_IFS
10829    
10830     fi
10831     fi
10832     ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10833     if test -n "$ac_ct_NMEDIT"; then
10834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10835     $as_echo "$ac_ct_NMEDIT" >&6; }
10836     else
10837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10838     $as_echo "no" >&6; }
10839     fi
10840    
10841     if test "x$ac_ct_NMEDIT" = x; then
10842     NMEDIT=":"
10843     else
10844     case $cross_compiling:$ac_tool_warned in
10845     yes:)
10846     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10847     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10848     ac_tool_warned=yes ;;
10849     esac
10850     NMEDIT=$ac_ct_NMEDIT
10851     fi
10852     else
10853     NMEDIT="$ac_cv_prog_NMEDIT"
10854     fi
10855    
10856     if test -n "$ac_tool_prefix"; then
10857     # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10858     set dummy ${ac_tool_prefix}lipo; ac_word=$2
10859     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10860     $as_echo_n "checking for $ac_word... " >&6; }
10861     if test "${ac_cv_prog_LIPO+set}" = set; then :
10862     $as_echo_n "(cached) " >&6
10863     else
10864     if test -n "$LIPO"; then
10865     ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10866     else
10867     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10868     for as_dir in $PATH
10869     do
10870     IFS=$as_save_IFS
10871     test -z "$as_dir" && as_dir=.
10872     for ac_exec_ext in '' $ac_executable_extensions; do
10873     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10874     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10876     break 2
10877     fi
10878     done
10879     done
10880     IFS=$as_save_IFS
10881    
10882     fi
10883     fi
10884     LIPO=$ac_cv_prog_LIPO
10885     if test -n "$LIPO"; then
10886     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10887     $as_echo "$LIPO" >&6; }
10888     else
10889     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10890     $as_echo "no" >&6; }
10891     fi
10892    
10893    
10894     fi
10895     if test -z "$ac_cv_prog_LIPO"; then
10896     ac_ct_LIPO=$LIPO
10897     # Extract the first word of "lipo", so it can be a program name with args.
10898     set dummy lipo; ac_word=$2
10899     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10900     $as_echo_n "checking for $ac_word... " >&6; }
10901     if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
10902     $as_echo_n "(cached) " >&6
10903     else
10904     if test -n "$ac_ct_LIPO"; then
10905     ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10906     else
10907     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10908     for as_dir in $PATH
10909     do
10910     IFS=$as_save_IFS
10911     test -z "$as_dir" && as_dir=.
10912     for ac_exec_ext in '' $ac_executable_extensions; do
10913     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10914     ac_cv_prog_ac_ct_LIPO="lipo"
10915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10916     break 2
10917     fi
10918     done
10919     done
10920     IFS=$as_save_IFS
10921    
10922     fi
10923     fi
10924     ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10925     if test -n "$ac_ct_LIPO"; then
10926     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10927     $as_echo "$ac_ct_LIPO" >&6; }
10928     else
10929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10930     $as_echo "no" >&6; }
10931     fi
10932    
10933     if test "x$ac_ct_LIPO" = x; then
10934     LIPO=":"
10935     else
10936     case $cross_compiling:$ac_tool_warned in
10937     yes:)
10938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10939     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10940     ac_tool_warned=yes ;;
10941     esac
10942     LIPO=$ac_ct_LIPO
10943     fi
10944     else
10945     LIPO="$ac_cv_prog_LIPO"
10946     fi
10947    
10948     if test -n "$ac_tool_prefix"; then
10949     # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10950     set dummy ${ac_tool_prefix}otool; ac_word=$2
10951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10952     $as_echo_n "checking for $ac_word... " >&6; }
10953     if test "${ac_cv_prog_OTOOL+set}" = set; then :
10954     $as_echo_n "(cached) " >&6
10955     else
10956     if test -n "$OTOOL"; then
10957     ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10958     else
10959     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10960     for as_dir in $PATH
10961     do
10962     IFS=$as_save_IFS
10963     test -z "$as_dir" && as_dir=.
10964     for ac_exec_ext in '' $ac_executable_extensions; do
10965     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10966     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10968     break 2
10969     fi
10970     done
10971     done
10972     IFS=$as_save_IFS
10973    
10974     fi
10975     fi
10976     OTOOL=$ac_cv_prog_OTOOL
10977     if test -n "$OTOOL"; then
10978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10979     $as_echo "$OTOOL" >&6; }
10980     else
10981     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10982     $as_echo "no" >&6; }
10983     fi
10984    
10985    
10986     fi
10987     if test -z "$ac_cv_prog_OTOOL"; then
10988     ac_ct_OTOOL=$OTOOL
10989     # Extract the first word of "otool", so it can be a program name with args.
10990     set dummy otool; ac_word=$2
10991     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10992     $as_echo_n "checking for $ac_word... " >&6; }
10993     if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
10994     $as_echo_n "(cached) " >&6
10995     else
10996     if test -n "$ac_ct_OTOOL"; then
10997     ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10998     else
10999     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11000     for as_dir in $PATH
11001     do
11002     IFS=$as_save_IFS
11003     test -z "$as_dir" && as_dir=.
11004     for ac_exec_ext in '' $ac_executable_extensions; do
11005     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11006     ac_cv_prog_ac_ct_OTOOL="otool"
11007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11008     break 2
11009     fi
11010     done
11011     done
11012     IFS=$as_save_IFS
11013    
11014     fi
11015     fi
11016     ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
11017     if test -n "$ac_ct_OTOOL"; then
11018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11019     $as_echo "$ac_ct_OTOOL" >&6; }
11020     else
11021     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11022     $as_echo "no" >&6; }
11023     fi
11024    
11025     if test "x$ac_ct_OTOOL" = x; then
11026     OTOOL=":"
11027     else
11028     case $cross_compiling:$ac_tool_warned in
11029     yes:)
11030     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11031     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11032     ac_tool_warned=yes ;;
11033     esac
11034     OTOOL=$ac_ct_OTOOL
11035     fi
11036     else
11037     OTOOL="$ac_cv_prog_OTOOL"
11038     fi
11039    
11040     if test -n "$ac_tool_prefix"; then
11041     # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
11042     set dummy ${ac_tool_prefix}otool64; ac_word=$2
11043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11044     $as_echo_n "checking for $ac_word... " >&6; }
11045     if test "${ac_cv_prog_OTOOL64+set}" = set; then :
11046     $as_echo_n "(cached) " >&6
11047     else
11048     if test -n "$OTOOL64"; then
11049     ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11050     else
11051     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11052     for as_dir in $PATH
11053     do
11054     IFS=$as_save_IFS
11055     test -z "$as_dir" && as_dir=.
11056     for ac_exec_ext in '' $ac_executable_extensions; do
11057     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11058     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
11059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11060     break 2
11061     fi
11062     done
11063     done
11064     IFS=$as_save_IFS
11065    
11066     fi
11067     fi
11068     OTOOL64=$ac_cv_prog_OTOOL64
11069     if test -n "$OTOOL64"; then
11070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11071     $as_echo "$OTOOL64" >&6; }
11072     else
11073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11074     $as_echo "no" >&6; }
11075     fi
11076    
11077    
11078     fi
11079     if test -z "$ac_cv_prog_OTOOL64"; then
11080     ac_ct_OTOOL64=$OTOOL64
11081     # Extract the first word of "otool64", so it can be a program name with args.
11082     set dummy otool64; ac_word=$2
11083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11084     $as_echo_n "checking for $ac_word... " >&6; }
11085     if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
11086     $as_echo_n "(cached) " >&6
11087     else
11088     if test -n "$ac_ct_OTOOL64"; then
11089     ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11090     else
11091     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11092     for as_dir in $PATH
11093     do
11094     IFS=$as_save_IFS
11095     test -z "$as_dir" && as_dir=.
11096     for ac_exec_ext in '' $ac_executable_extensions; do
11097     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11098     ac_cv_prog_ac_ct_OTOOL64="otool64"
11099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11100     break 2
11101     fi
11102     done
11103     done
11104     IFS=$as_save_IFS
11105    
11106     fi
11107     fi
11108     ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
11109     if test -n "$ac_ct_OTOOL64"; then
11110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11111     $as_echo "$ac_ct_OTOOL64" >&6; }
11112     else
11113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11114     $as_echo "no" >&6; }
11115     fi
11116    
11117     if test "x$ac_ct_OTOOL64" = x; then
11118     OTOOL64=":"
11119     else
11120     case $cross_compiling:$ac_tool_warned in
11121     yes:)
11122     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11123     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11124     ac_tool_warned=yes ;;
11125     esac
11126     OTOOL64=$ac_ct_OTOOL64
11127     fi
11128     else
11129     OTOOL64="$ac_cv_prog_OTOOL64"
11130     fi
11131    
11132    
11133    
11134    
11135    
11136    
11137    
11138    
11139    
11140    
11141    
11142    
11143    
11144    
11145    
11146    
11147    
11148    
11149    
11150    
11151    
11152    
11153    
11154    
11155    
11156    
11157    
11158     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11159     $as_echo_n "checking for -single_module linker flag... " >&6; }
11160     if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
11161     $as_echo_n "(cached) " >&6
11162     else
11163     lt_cv_apple_cc_single_mod=no
11164     if test -z "${LT_MULTI_MODULE}"; then
11165     # By default we will add the -single_module flag. You can override
11166     # by either setting the environment variable LT_MULTI_MODULE
11167     # non-empty at configure time, or by adding -multi_module to the
11168     # link flags.
11169     rm -rf libconftest.dylib*
11170     echo "int foo(void){return 1;}" > conftest.c
11171     echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11172     -dynamiclib -Wl,-single_module conftest.c" >&5
11173     $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11174     -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11175     _lt_result=$?
11176     if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
11177     lt_cv_apple_cc_single_mod=yes
11178     else
11179     cat conftest.err >&5
11180     fi
11181     rm -rf libconftest.dylib*
11182     rm -f conftest.*
11183     fi
11184     fi
11185     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11186     $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
11187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11188     $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
11189     if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
11190     $as_echo_n "(cached) " >&6
11191     else
11192     lt_cv_ld_exported_symbols_list=no
11193     save_LDFLAGS=$LDFLAGS
11194     echo "_main" > conftest.sym
11195     LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11196     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197     /* end confdefs.h. */
11198    
11199     int
11200     main ()
11201     {
11202    
11203     ;
11204     return 0;
11205     }
11206     _ACEOF
11207     if ac_fn_c_try_link "$LINENO"; then :
11208     lt_cv_ld_exported_symbols_list=yes
11209     else
11210     lt_cv_ld_exported_symbols_list=no
11211     fi
11212     rm -f core conftest.err conftest.$ac_objext \
11213     conftest$ac_exeext conftest.$ac_ext
11214     LDFLAGS="$save_LDFLAGS"
11215    
11216     fi
11217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11218     $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11219     case $host_os in
11220     rhapsody* | darwin1.[012])
11221     _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
11222     darwin1.*)
11223     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11224     darwin*) # darwin 5.x on
11225     # if running on 10.5 or later, the deployment target defaults
11226     # to the OS version, if on x86, and 10.4, the deployment
11227     # target defaults to 10.4. Don't you love it?
11228     case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11229     10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11230     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11231     10.[012]*)
11232     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11233     10.*)
11234     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11235     esac
11236     ;;
11237     esac
11238     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
11239     _lt_dar_single_mod='$single_module'
11240     fi
11241     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
11242     _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
11243     else
11244     _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
11245     fi
11246     if test "$DSYMUTIL" != ":"; then
11247     _lt_dsymutil='~$DSYMUTIL $lib || :'
11248     else
11249     _lt_dsymutil=
11250     fi
11251     ;;
11252     esac
11253    
11254     for ac_header in dlfcn.h
11255     do :
11256     ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11257     "
11258     if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
11259     cat >>confdefs.h <<_ACEOF
11260     #define HAVE_DLFCN_H 1
11261     _ACEOF
11262    
11263     fi
11264    
11265     done
11266    
11267    
11268    
11269     ac_ext=cpp
11270     ac_cpp='$CXXCPP $CPPFLAGS'
11271     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11272     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11273     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11274     if test -z "$CXX"; then
11275     if test -n "$CCC"; then
11276     CXX=$CCC
11277     else
11278     if test -n "$ac_tool_prefix"; then
11279     for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11280     do
11281     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11282     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11283     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11284     $as_echo_n "checking for $ac_word... " >&6; }
11285     if test "${ac_cv_prog_CXX+set}" = set; then :
11286     $as_echo_n "(cached) " >&6
11287     else
11288     if test -n "$CXX"; then
11289     ac_cv_prog_CXX="$CXX" # Let the user override the test.
11290     else
11291     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11292     for as_dir in $PATH
11293     do
11294     IFS=$as_save_IFS
11295     test -z "$as_dir" && as_dir=.
11296     for ac_exec_ext in '' $ac_executable_extensions; do
11297     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11298     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11300     break 2
11301     fi
11302     done
11303     done
11304     IFS=$as_save_IFS
11305    
11306     fi
11307     fi
11308     CXX=$ac_cv_prog_CXX
11309     if test -n "$CXX"; then
11310     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11311     $as_echo "$CXX" >&6; }
11312     else
11313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11314     $as_echo "no" >&6; }
11315     fi
11316    
11317    
11318     test -n "$CXX" && break
11319     done
11320     fi
11321     if test -z "$CXX"; then
11322     ac_ct_CXX=$CXX
11323     for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11324     do
11325     # Extract the first word of "$ac_prog", so it can be a program name with args.
11326     set dummy $ac_prog; ac_word=$2
11327     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11328     $as_echo_n "checking for $ac_word... " >&6; }
11329     if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11330     $as_echo_n "(cached) " >&6
11331     else
11332     if test -n "$ac_ct_CXX"; then
11333     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11334     else
11335     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11336     for as_dir in $PATH
11337     do
11338     IFS=$as_save_IFS
11339     test -z "$as_dir" && as_dir=.
11340     for ac_exec_ext in '' $ac_executable_extensions; do
11341     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11342     ac_cv_prog_ac_ct_CXX="$ac_prog"
11343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11344     break 2
11345     fi
11346     done
11347     done
11348     IFS=$as_save_IFS
11349    
11350     fi
11351     fi
11352     ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11353     if test -n "$ac_ct_CXX"; then
11354     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11355     $as_echo "$ac_ct_CXX" >&6; }
11356     else
11357     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11358     $as_echo "no" >&6; }
11359     fi
11360    
11361    
11362     test -n "$ac_ct_CXX" && break
11363     done
11364    
11365     if test "x$ac_ct_CXX" = x; then
11366     CXX="g++"
11367     else
11368     case $cross_compiling:$ac_tool_warned in
11369     yes:)
11370     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11371     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11372     ac_tool_warned=yes ;;
11373     esac
11374     CXX=$ac_ct_CXX
11375     fi
11376     fi
11377    
11378     fi
11379     fi
11380     # Provide some information about the compiler.
11381     $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11382     set X $ac_compile
11383     ac_compiler=$2
11384     for ac_option in --version -v -V -qversion; do
11385     { { ac_try="$ac_compiler $ac_option >&5"
11386     case "(($ac_try" in
11387     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11388     *) ac_try_echo=$ac_try;;
11389     esac
11390     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11391     $as_echo "$ac_try_echo"; } >&5
11392     (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11393     ac_status=$?
11394     if test -s conftest.err; then
11395     sed '10a\
11396     ... rest of stderr output deleted ...
11397     10q' conftest.err >conftest.er1
11398     cat conftest.er1 >&5
11399     fi
11400     rm -f conftest.er1 conftest.err
11401     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11402     test $ac_status = 0; }
11403     done
11404    
11405     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11406     $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11407     if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11408     $as_echo_n "(cached) " >&6
11409     else
11410     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411     /* end confdefs.h. */
11412    
11413     int
11414     main ()
11415     {
11416     #ifndef __GNUC__
11417     choke me
11418     #endif
11419    
11420     ;
11421     return 0;
11422     }
11423     _ACEOF
11424     if ac_fn_cxx_try_compile "$LINENO"; then :
11425     ac_compiler_gnu=yes
11426     else
11427     ac_compiler_gnu=no
11428     fi
11429     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11430     ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11431    
11432     fi
11433     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11434     $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11435     if test $ac_compiler_gnu = yes; then
11436     GXX=yes
11437     else
11438     GXX=
11439     fi
11440     ac_test_CXXFLAGS=${CXXFLAGS+set}
11441     ac_save_CXXFLAGS=$CXXFLAGS
11442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11443     $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11444     if test "${ac_cv_prog_cxx_g+set}" = set; then :
11445     $as_echo_n "(cached) " >&6
11446     else
11447     ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11448     ac_cxx_werror_flag=yes
11449     ac_cv_prog_cxx_g=no
11450     CXXFLAGS=""
11451     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452     /* end confdefs.h. */
11453    
11454     int
11455     main ()
11456     {
11457    
11458     ;
11459     return 0;
11460     }
11461     _ACEOF
11462     if ac_fn_cxx_try_compile "$LINENO"; then :
11463     ac_cv_prog_cxx_g=yes
11464     else
11465     CXXFLAGS=""
11466     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467     /* end confdefs.h. */
11468    
11469     int
11470     main ()
11471     {
11472    
11473     ;
11474     return 0;
11475     }
11476     _ACEOF
11477     if ac_fn_cxx_try_compile "$LINENO"; then :
11478    
11479     else
11480     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11481     CXXFLAGS=""
11482     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483     /* end confdefs.h. */
11484    
11485     int
11486     main ()
11487     {
11488    
11489     ;
11490     return 0;
11491     }
11492     _ACEOF
11493     if ac_fn_cxx_try_compile "$LINENO"; then :
11494     ac_cv_prog_cxx_g=yes
11495     fi
11496     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11497     fi
11498     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11499     fi
11500     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11501     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11502     fi
11503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11504     $as_echo "$ac_cv_prog_cxx_g" >&6; }
11505     if test "$ac_test_CXXFLAGS" = set; then
11506     CXXFLAGS=$ac_save_CXXFLAGS
11507     elif test $ac_cv_prog_cxx_g = yes; then
11508     if test "$GXX" = yes; then
11509     CXXFLAGS=""
11510     else
11511     CXXFLAGS=""
11512     fi
11513     else
11514     if test "$GXX" = yes; then
11515     CXXFLAGS=""
11516     else
11517     CXXFLAGS=
11518     fi
11519     fi
11520     ac_ext=c
11521     ac_cpp='$CPP $CPPFLAGS'
11522     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524     ac_compiler_gnu=$ac_cv_c_compiler_gnu
11525    
11526     depcc="$CXX" am_compiler_list=
11527    
11528     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11529     $as_echo_n "checking dependency style of $depcc... " >&6; }
11530     if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11531     $as_echo_n "(cached) " >&6
11532     else
11533     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11534     # We make a subdir and do the tests there. Otherwise we can end up
11535     # making bogus files that we don't know about and never remove. For
11536     # instance it was reported that on HP-UX the gcc test will end up
11537     # making a dummy file named `D' -- because `-MD' means `put the output
11538     # in D'.
11539     mkdir conftest.dir
11540     # Copy depcomp to subdir because otherwise we won't find it if we're
11541     # using a relative directory.
11542     cp "$am_depcomp" conftest.dir
11543     cd conftest.dir
11544     # We will build objects and dependencies in a subdirectory because
11545     # it helps to detect inapplicable dependency modes. For instance
11546     # both Tru64's cc and ICC support -MD to output dependencies as a
11547     # side effect of compilation, but ICC will put the dependencies in
11548     # the current directory while Tru64 will put them in the object
11549     # directory.
11550     mkdir sub
11551    
11552     am_cv_CXX_dependencies_compiler_type=none
11553     if test "$am_compiler_list" = ""; then
11554     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11555     fi
11556     am__universal=false
11557     case " $depcc " in #(
11558     *\ -arch\ *\ -arch\ *) am__universal=true ;;
11559     esac
11560    
11561     for depmode in $am_compiler_list; do
11562     # Setup a source with many dependencies, because some compilers
11563     # like to wrap large dependency lists on column 80 (with \), and
11564     # we should not choose a depcomp mode which is confused by this.
11565     #
11566     # We need to recreate these files for each test, as the compiler may
11567     # overwrite some of them when testing with obscure command lines.
11568     # This happens at least with the AIX C compiler.
11569     : > sub/conftest.c
11570     for i in 1 2 3 4 5 6; do
11571     echo '#include "conftst'$i'.h"' >> sub/conftest.c
11572     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11573     # Solaris 8's {/usr,}/bin/sh.
11574     touch sub/conftst$i.h
11575     done
11576     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11577    
11578     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11579     # mode. It turns out that the SunPro C++ compiler does not properly
11580     # handle `-M -o', and we need to detect this. Also, some Intel
11581     # versions had trouble with output in subdirs
11582     am__obj=sub/conftest.${OBJEXT-o}
11583     am__minus_obj="-o $am__obj"
11584     case $depmode in
11585     gcc)
11586     # This depmode causes a compiler race in universal mode.
11587     test "$am__universal" = false || continue
11588     ;;
11589     nosideeffect)
11590     # after this tag, mechanisms are not by side-effect, so they'll
11591     # only be used when explicitly requested
11592     if test "x$enable_dependency_tracking" = xyes; then
11593     continue
11594     else
11595     break
11596     fi
11597     ;;
11598     msvisualcpp | msvcmsys)
11599     # This compiler won't grok `-c -o', but also, the minuso test has
11600     # not run yet. These depmodes are late enough in the game, and
11601     # so weak that their functioning should not be impacted.
11602     am__obj=conftest.${OBJEXT-o}
11603     am__minus_obj=
11604     ;;
11605     none) break ;;
11606     esac
11607     if depmode=$depmode \
11608     source=sub/conftest.c object=$am__obj \
11609     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11610     $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11611     >/dev/null 2>conftest.err &&
11612     grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11613     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11614     grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11615     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11616     # icc doesn't choke on unknown options, it will just issue warnings
11617     # or remarks (even with -Werror). So we grep stderr for any message
11618     # that says an option was ignored or not supported.
11619     # When given -MP, icc 7.0 and 7.1 complain thusly:
11620     # icc: Command line warning: ignoring option '-M'; no argument required
11621     # The diagnosis changed in icc 8.0:
11622     # icc: Command line remark: option '-MP' not supported
11623     if (grep 'ignoring option' conftest.err ||
11624     grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11625     am_cv_CXX_dependencies_compiler_type=$depmode
11626     break
11627     fi
11628     fi
11629     done
11630    
11631     cd ..
11632     rm -rf conftest.dir
11633     else
11634     am_cv_CXX_dependencies_compiler_type=none
11635     fi
11636    
11637     fi
11638     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11639     $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11640     CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11641    
11642     if
11643     test "x$enable_dependency_tracking" != xno \
11644     && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11645     am__fastdepCXX_TRUE=
11646     am__fastdepCXX_FALSE='#'
11647     else
11648     am__fastdepCXX_TRUE='#'
11649     am__fastdepCXX_FALSE=
11650     fi
11651    
11652    
11653     if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11654     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11655     (test "X$CXX" != "Xg++"))) ; then
11656     ac_ext=cpp
11657     ac_cpp='$CXXCPP $CPPFLAGS'
11658     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11659     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11660     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11662     $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11663     if test -z "$CXXCPP"; then
11664     if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11665     $as_echo_n "(cached) " >&6
11666     else
11667     # Double quotes because CXXCPP needs to be expanded
11668     for CXXCPP in "$CXX -E" "/lib/cpp"
11669     do
11670     ac_preproc_ok=false
11671     for ac_cxx_preproc_warn_flag in '' yes
11672     do
11673     # Use a header file that comes with gcc, so configuring glibc
11674     # with a fresh cross-compiler works.
11675     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11676     # <limits.h> exists even on freestanding compilers.
11677     # On the NeXT, cc -E runs the code through the compiler's parser,
11678     # not just through cpp. "Syntax error" is here to catch this case.
11679     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680     /* end confdefs.h. */
11681     #ifdef __STDC__
11682     # include <limits.h>
11683     #else
11684     # include <assert.h>
11685     #endif
11686     Syntax error
11687     _ACEOF
11688     if ac_fn_cxx_try_cpp "$LINENO"; then :
11689    
11690     else
11691     # Broken: fails on valid input.
11692     continue
11693     fi
11694     rm -f conftest.err conftest.$ac_ext
11695    
11696     # OK, works on sane cases. Now check whether nonexistent headers
11697     # can be detected and how.
11698     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11699     /* end confdefs.h. */
11700     #include <ac_nonexistent.h>
11701     _ACEOF
11702     if ac_fn_cxx_try_cpp "$LINENO"; then :
11703     # Broken: success on invalid input.
11704     continue
11705     else
11706     # Passes both tests.
11707     ac_preproc_ok=:
11708     break
11709     fi
11710     rm -f conftest.err conftest.$ac_ext
11711    
11712     done
11713     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11714     rm -f conftest.err conftest.$ac_ext
11715     if $ac_preproc_ok; then :
11716     break
11717     fi
11718    
11719     done
11720     ac_cv_prog_CXXCPP=$CXXCPP
11721    
11722     fi
11723     CXXCPP=$ac_cv_prog_CXXCPP
11724     else
11725     ac_cv_prog_CXXCPP=$CXXCPP
11726     fi
11727     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11728     $as_echo "$CXXCPP" >&6; }
11729     ac_preproc_ok=false
11730     for ac_cxx_preproc_warn_flag in '' yes
11731     do
11732     # Use a header file that comes with gcc, so configuring glibc
11733     # with a fresh cross-compiler works.
11734     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11735     # <limits.h> exists even on freestanding compilers.
11736     # On the NeXT, cc -E runs the code through the compiler's parser,
11737     # not just through cpp. "Syntax error" is here to catch this case.
11738     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739     /* end confdefs.h. */
11740     #ifdef __STDC__
11741     # include <limits.h>
11742     #else
11743     # include <assert.h>
11744     #endif
11745     Syntax error
11746     _ACEOF
11747     if ac_fn_cxx_try_cpp "$LINENO"; then :
11748    
11749     else
11750     # Broken: fails on valid input.
11751     continue
11752     fi
11753     rm -f conftest.err conftest.$ac_ext
11754    
11755     # OK, works on sane cases. Now check whether nonexistent headers
11756     # can be detected and how.
11757     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758     /* end confdefs.h. */
11759     #include <ac_nonexistent.h>
11760     _ACEOF
11761     if ac_fn_cxx_try_cpp "$LINENO"; then :
11762     # Broken: success on invalid input.
11763     continue
11764     else
11765     # Passes both tests.
11766     ac_preproc_ok=:
11767     break
11768     fi
11769     rm -f conftest.err conftest.$ac_ext
11770    
11771     done
11772     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11773     rm -f conftest.err conftest.$ac_ext
11774     if $ac_preproc_ok; then :
11775    
11776     else
11777     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11778     $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11779     _lt_caught_CXX_error=yes; }
11780     fi
11781    
11782     ac_ext=c
11783     ac_cpp='$CPP $CPPFLAGS'
11784     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11785     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11786     ac_compiler_gnu=$ac_cv_c_compiler_gnu
11787    
11788     else
11789     _lt_caught_CXX_error=yes
11790     fi
11791    
11792    
11793    
11794    
11795    
11796     # Set options
11797    
11798    
11799    
11800     enable_dlopen=no
11801    
11802    
11803     enable_win32_dll=no
11804    
11805    
11806    
11807    
11808    
11809     # Check whether --with-pic was given.
11810     if test "${with_pic+set}" = set; then :
11811     withval=$with_pic; pic_mode="$withval"
11812     else
11813     pic_mode=default
11814     fi
11815    
11816    
11817     test -z "$pic_mode" && pic_mode=default
11818    
11819    
11820    
11821    
11822    
11823    
11824    
11825     # Check whether --enable-fast-install was given.
11826     if test "${enable_fast_install+set}" = set; then :
11827     enableval=$enable_fast_install; p=${PACKAGE-default}
11828     case $enableval in
11829     yes) enable_fast_install=yes ;;
11830     no) enable_fast_install=no ;;
11831     *)
11832     enable_fast_install=no
11833     # Look at the argument we got. We use all the common list separators.
11834     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11835     for pkg in $enableval; do
11836     IFS="$lt_save_ifs"
11837     if test "X$pkg" = "X$p"; then
11838     enable_fast_install=yes
11839     fi
11840     done
11841     IFS="$lt_save_ifs"
11842     ;;
11843     esac
11844     else
11845     enable_fast_install=yes
11846     fi
11847    
11848    
11849    
11850    
11851    
11852    
11853    
11854    
11855    
11856    
11857    
11858     # This can be used to rebuild libtool when needed
11859     LIBTOOL_DEPS="$ltmain"
11860    
11861     # Always use our own libtool.
11862     LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11863    
11864    
11865    
11866    
11867    
11868    
11869    
11870    
11871    
11872    
11873    
11874    
11875    
11876    
11877    
11878    
11879    
11880    
11881    
11882    
11883    
11884    
11885    
11886    
11887    
11888     test -z "$LN_S" && LN_S="ln -s"
11889    
11890    
11891    
11892    
11893    
11894    
11895    
11896    
11897    
11898    
11899    
11900    
11901    
11902    
11903     if test -n "${ZSH_VERSION+set}" ; then
11904     setopt NO_GLOB_SUBST
11905     fi
11906    
11907     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11908     $as_echo_n "checking for objdir... " >&6; }
11909     if test "${lt_cv_objdir+set}" = set; then :
11910     $as_echo_n "(cached) " >&6
11911     else
11912     rm -f .libs 2>/dev/null
11913     mkdir .libs 2>/dev/null
11914     if test -d .libs; then
11915     lt_cv_objdir=.libs
11916     else
11917     # MS-DOS does not allow filenames that begin with a dot.
11918     lt_cv_objdir=_libs
11919     fi
11920     rmdir .libs 2>/dev/null
11921     fi
11922     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11923     $as_echo "$lt_cv_objdir" >&6; }
11924     objdir=$lt_cv_objdir
11925    
11926    
11927    
11928    
11929    
11930     cat >>confdefs.h <<_ACEOF
11931     #define LT_OBJDIR "$lt_cv_objdir/"
11932     _ACEOF
11933    
11934    
11935    
11936    
11937    
11938    
11939    
11940    
11941    
11942    
11943    
11944    
11945    
11946    
11947    
11948    
11949    
11950     case $host_os in
11951     aix3*)
11952     # AIX sometimes has problems with the GCC collect2 program. For some
11953     # reason, if we set the COLLECT_NAMES environment variable, the problems
11954     # vanish in a puff of smoke.
11955     if test "X${COLLECT_NAMES+set}" != Xset; then
11956     COLLECT_NAMES=
11957     export COLLECT_NAMES
11958     fi
11959     ;;
11960     esac
11961    
11962     # Sed substitution that helps us do robust quoting. It backslashifies
11963     # metacharacters that are still active within double-quoted strings.
11964     sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
11965    
11966     # Same as above, but do not quote variable references.
11967     double_quote_subst='s/\(["`\\]\)/\\\1/g'
11968    
11969     # Sed substitution to delay expansion of an escaped shell variable in a
11970     # double_quote_subst'ed string.
11971     delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11972    
11973     # Sed substitution to delay expansion of an escaped single quote.
11974     delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
11975    
11976     # Sed substitution to avoid accidental globbing in evaled expressions
11977     no_glob_subst='s/\*/\\\*/g'
11978    
11979     # Global variables:
11980     ofile=libtool
11981     can_build_shared=yes
11982    
11983     # All known linkers require a `.a' archive for static linking (except MSVC,
11984     # which needs '.lib').
11985     libext=a
11986    
11987     with_gnu_ld="$lt_cv_prog_gnu_ld"
11988    
11989     old_CC="$CC"
11990     old_CFLAGS="$CFLAGS"
11991    
11992     # Set sane defaults for various variables
11993     test -z "$CC" && CC=cc
11994     test -z "$LTCC" && LTCC=$CC
11995     test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11996     test -z "$LD" && LD=ld
11997     test -z "$ac_objext" && ac_objext=o
11998    
11999     for cc_temp in $compiler""; do
12000     case $cc_temp in
12001     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12002     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12003     \-*) ;;
12004     *) break;;
12005     esac
12006     done
12007     cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12008    
12009    
12010     # Only perform the check for file, if the check method requires it
12011     test -z "$MAGIC_CMD" && MAGIC_CMD=file
12012     case $deplibs_check_method in
12013     file_magic*)
12014     if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12016     $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
12017     if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
12018     $as_echo_n "(cached) " >&6
12019     else
12020     case $MAGIC_CMD in
12021     [\\/*] | ?:[\\/]*)
12022     lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12023     ;;
12024     *)
12025     lt_save_MAGIC_CMD="$MAGIC_CMD"
12026     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12027     ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12028     for ac_dir in $ac_dummy; do
12029     IFS="$lt_save_ifs"
12030     test -z "$ac_dir" && ac_dir=.
12031     if test -f $ac_dir/${ac_tool_prefix}file; then
12032     lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12033     if test -n "$file_magic_test_file"; then
12034     case $deplibs_check_method in
12035     "file_magic "*)
12036     file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12037     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12038     if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12039     $EGREP "$file_magic_regex" > /dev/null; then
12040     :
12041     else
12042     cat <<_LT_EOF 1>&2
12043    
12044     *** Warning: the command libtool uses to detect shared libraries,
12045     *** $file_magic_cmd, produces output that libtool cannot recognize.
12046     *** The result is that libtool may fail to recognize shared libraries
12047     *** as such. This will affect the creation of libtool libraries that
12048     *** depend on shared libraries, but programs linked with such libtool
12049     *** libraries will work regardless of this problem. Nevertheless, you
12050     *** may want to report the problem to your system manager and/or to
12051     *** bug-libtool@gnu.org
12052    
12053     _LT_EOF
12054     fi ;;
12055     esac
12056     fi
12057     break
12058     fi
12059     done
12060     IFS="$lt_save_ifs"
12061     MAGIC_CMD="$lt_save_MAGIC_CMD"
12062     ;;
12063     esac
12064     fi
12065    
12066     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12067     if test -n "$MAGIC_CMD"; then
12068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12069     $as_echo "$MAGIC_CMD" >&6; }
12070     else
12071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072     $as_echo "no" >&6; }
12073     fi
12074    
12075    
12076    
12077    
12078    
12079     if test -z "$lt_cv_path_MAGIC_CMD"; then
12080     if test -n "$ac_tool_prefix"; then
12081     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12082     $as_echo_n "checking for file... " >&6; }
12083     if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
12084     $as_echo_n "(cached) " >&6
12085     else
12086     case $MAGIC_CMD in
12087     [\\/*] | ?:[\\/]*)
12088     lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12089     ;;
12090     *)
12091     lt_save_MAGIC_CMD="$MAGIC_CMD"
12092     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12093     ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12094     for ac_dir in $ac_dummy; do
12095     IFS="$lt_save_ifs"
12096     test -z "$ac_dir" && ac_dir=.
12097     if test -f $ac_dir/file; then
12098     lt_cv_path_MAGIC_CMD="$ac_dir/file"
12099     if test -n "$file_magic_test_file"; then
12100     case $deplibs_check_method in
12101     "file_magic "*)
12102     file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12103     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12104     if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12105     $EGREP "$file_magic_regex" > /dev/null; then
12106     :
12107     else
12108     cat <<_LT_EOF 1>&2
12109    
12110     *** Warning: the command libtool uses to detect shared libraries,
12111     *** $file_magic_cmd, produces output that libtool cannot recognize.
12112     *** The result is that libtool may fail to recognize shared libraries
12113     *** as such. This will affect the creation of libtool libraries that
12114     *** depend on shared libraries, but programs linked with such libtool
12115     *** libraries will work regardless of this problem. Nevertheless, you
12116     *** may want to report the problem to your system manager and/or to
12117     *** bug-libtool@gnu.org
12118    
12119     _LT_EOF
12120     fi ;;
12121     esac
12122     fi
12123     break
12124     fi
12125     done
12126     IFS="$lt_save_ifs"
12127     MAGIC_CMD="$lt_save_MAGIC_CMD"
12128     ;;
12129     esac
12130     fi
12131    
12132     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12133     if test -n "$MAGIC_CMD"; then
12134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12135     $as_echo "$MAGIC_CMD" >&6; }
12136     else
12137     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12138     $as_echo "no" >&6; }
12139     fi
12140    
12141    
12142     else
12143     MAGIC_CMD=:
12144     fi
12145     fi
12146    
12147     fi
12148     ;;
12149     esac
12150    
12151     # Use C for the default configuration in the libtool script
12152    
12153     lt_save_CC="$CC"
12154     ac_ext=c
12155     ac_cpp='$CPP $CPPFLAGS'
12156     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12157     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12158     ac_compiler_gnu=$ac_cv_c_compiler_gnu
12159    
12160    
12161     # Source file extension for C test sources.
12162     ac_ext=c
12163    
12164     # Object file extension for compiled C test sources.
12165     objext=o
12166     objext=$objext
12167    
12168     # Code to be used in simple compile tests
12169     lt_simple_compile_test_code="int some_variable = 0;"
12170    
12171     # Code to be used in simple link tests
12172     lt_simple_link_test_code='int main(){return(0);}'
12173    
12174    
12175    
12176    
12177    
12178    
12179    
12180     # If no C compiler was specified, use CC.
12181     LTCC=${LTCC-"$CC"}
12182    
12183     # If no C compiler flags were specified, use CFLAGS.
12184     LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12185    
12186     # Allow CC to be a program name with arguments.
12187     compiler=$CC
12188    
12189     # Save the default compiler, since it gets overwritten when the other
12190     # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
12191     compiler_DEFAULT=$CC
12192    
12193     # save warnings/boilerplate of simple test code
12194     ac_outfile=conftest.$ac_objext
12195     echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12196     eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12197     _lt_compiler_boilerplate=`cat conftest.err`
12198     $RM conftest*
12199    
12200     ac_outfile=conftest.$ac_objext
12201     echo "$lt_simple_link_test_code" >conftest.$ac_ext
12202     eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12203     _lt_linker_boilerplate=`cat conftest.err`
12204     $RM -r conftest*
12205    
12206    
12207     ## CAVEAT EMPTOR:
12208     ## There is no encapsulation within the following macros, do not change
12209     ## the running order or otherwise move them around unless you know exactly
12210     ## what you are doing...
12211     if test -n "$compiler"; then
12212    
12213     lt_prog_compiler_no_builtin_flag=
12214    
12215     if test "$GCC" = yes; then
12216     lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12217    
12218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12219     $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12220     if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
12221     $as_echo_n "(cached) " >&6
12222     else
12223     lt_cv_prog_compiler_rtti_exceptions=no
12224     ac_outfile=conftest.$ac_objext
12225     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12226     lt_compiler_flag="-fno-rtti -fno-exceptions"
12227     # Insert the option either (1) after the last *FLAGS variable, or
12228     # (2) before a word containing "conftest.", or (3) at the end.
12229     # Note that $ac_compile itself does not contain backslashes and begins
12230     # with a dollar sign (not a hyphen), so the echo should work correctly.
12231     # The option is referenced via a variable to avoid confusing sed.
12232     lt_compile=`echo "$ac_compile" | $SED \
12233     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12234     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12235     -e 's:$: $lt_compiler_flag:'`
12236     (eval echo "\"\$as_me:12236: $lt_compile\"" >&5)
12237     (eval "$lt_compile" 2>conftest.err)
12238     ac_status=$?
12239     cat conftest.err >&5
12240     echo "$as_me:12240: \$? = $ac_status" >&5
12241     if (exit $ac_status) && test -s "$ac_outfile"; then
12242     # The compiler can only warn and ignore the option if not recognized
12243     # So say no if there are warnings other than the usual output.
12244     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12245     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12246     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12247     lt_cv_prog_compiler_rtti_exceptions=yes
12248     fi
12249     fi
12250     $RM conftest*
12251    
12252     fi
12253     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12254     $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12255    
12256     if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12257     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12258     else
12259     :
12260     fi
12261    
12262     fi
12263    
12264    
12265    
12266    
12267    
12268    
12269     lt_prog_compiler_wl=
12270     lt_prog_compiler_pic=
12271     lt_prog_compiler_static=
12272    
12273     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12274     $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12275    
12276     if test "$GCC" = yes; then
12277     lt_prog_compiler_wl='-Wl,'
12278     lt_prog_compiler_static='-static'
12279    
12280     case $host_os in
12281     aix*)
12282     # All AIX code is PIC.
12283     if test "$host_cpu" = ia64; then
12284     # AIX 5 now supports IA64 processor
12285     lt_prog_compiler_static='-Bstatic'
12286     fi
12287     ;;
12288    
12289     amigaos*)
12290     case $host_cpu in
12291     powerpc)
12292     # see comment about AmigaOS4 .so support
12293     lt_prog_compiler_pic='-fPIC'
12294     ;;
12295     m68k)
12296     # FIXME: we need at least 68020 code to build shared libraries, but
12297     # adding the `-m68020' flag to GCC prevents building anything better,
12298     # like `-m68040'.
12299     lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12300     ;;
12301     esac
12302     ;;
12303    
12304     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12305     # PIC is the default for these OSes.
12306     ;;
12307    
12308     mingw* | cygwin* | pw32* | os2* | cegcc*)
12309     # This hack is so that the source file can tell whether it is being
12310     # built for inclusion in a dll (and should export symbols for example).
12311     # Although the cygwin gcc ignores -fPIC, still need this for old-style
12312     # (--disable-auto-import) libraries
12313     lt_prog_compiler_pic='-DDLL_EXPORT'
12314     ;;
12315    
12316     darwin* | rhapsody*)
12317     # PIC is the default on this platform
12318     # Common symbols not allowed in MH_DYLIB files
12319     lt_prog_compiler_pic='-fno-common'
12320     ;;
12321    
12322     hpux*)
12323     # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12324     # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12325     # sets the default TLS model and affects inlining.
12326     case $host_cpu in
12327     hppa*64*)
12328     # +Z the default
12329     ;;
12330     *)
12331     lt_prog_compiler_pic='-fPIC'
12332     ;;
12333     esac
12334     ;;
12335    
12336     interix[3-9]*)
12337     # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12338     # Instead, we relocate shared libraries at runtime.
12339     ;;
12340    
12341     msdosdjgpp*)
12342     # Just because we use GCC doesn't mean we suddenly get shared libraries
12343     # on systems that don't support them.
12344     lt_prog_compiler_can_build_shared=no
12345     enable_shared=no
12346     ;;
12347    
12348     *nto* | *qnx*)
12349     # QNX uses GNU C++, but need to define -shared option too, otherwise
12350     # it will coredump.
12351     lt_prog_compiler_pic='-fPIC -shared'
12352     ;;
12353    
12354     sysv4*MP*)
12355     if test -d /usr/nec; then
12356     lt_prog_compiler_pic=-Kconform_pic
12357     fi
12358     ;;
12359    
12360     *)
12361     lt_prog_compiler_pic='-fPIC'
12362     ;;
12363     esac
12364     else
12365     # PORTME Check for flag to pass linker flags through the system compiler.
12366     case $host_os in
12367     aix*)
12368     lt_prog_compiler_wl='-Wl,'
12369     if test "$host_cpu" = ia64; then
12370     # AIX 5 now supports IA64 processor
12371     lt_prog_compiler_static='-Bstatic'
12372     else
12373     lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12374     fi
12375     ;;
12376    
12377     mingw* | cygwin* | pw32* | os2* | cegcc*)
12378     # This hack is so that the source file can tell whether it is being
12379     # built for inclusion in a dll (and should export symbols for example).
12380     lt_prog_compiler_pic='-DDLL_EXPORT'
12381     ;;
12382    
12383     hpux9* | hpux10* | hpux11*)
12384     lt_prog_compiler_wl='-Wl,'
12385     # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12386     # not for PA HP-UX.
12387     case $host_cpu in
12388     hppa*64*|ia64*)
12389     # +Z the default
12390     ;;
12391     *)
12392     lt_prog_compiler_pic='+Z'
12393     ;;
12394     esac
12395     # Is there a better lt_prog_compiler_static that works with the bundled CC?
12396     lt_prog_compiler_static='${wl}-a ${wl}archive'
12397     ;;
12398    
12399     irix5* | irix6* | nonstopux*)
12400     lt_prog_compiler_wl='-Wl,'
12401     # PIC (with -KPIC) is the default.
12402     lt_prog_compiler_static='-non_shared'
12403     ;;
12404    
12405     linux* | k*bsd*-gnu | kopensolaris*-gnu)
12406     case $cc_basename in
12407     # old Intel for x86_64 which still supported -KPIC.
12408     ecc*)
12409     lt_prog_compiler_wl='-Wl,'
12410     lt_prog_compiler_pic='-KPIC'
12411     lt_prog_compiler_static='-static'
12412     ;;
12413     # icc used to be incompatible with GCC.
12414     # ICC 10 doesn't accept -KPIC any more.
12415     icc* | ifort*)
12416     lt_prog_compiler_wl='-Wl,'
12417     lt_prog_compiler_pic='-fPIC'
12418     lt_prog_compiler_static='-static'
12419     ;;
12420     # Lahey Fortran 8.1.
12421     lf95*)
12422     lt_prog_compiler_wl='-Wl,'
12423     lt_prog_compiler_pic='--shared'
12424     lt_prog_compiler_static='--static'
12425     ;;
12426     pgcc* | pgf77* | pgf90* | pgf95*)
12427     # Portland Group compilers (*not* the Pentium gcc compiler,
12428     # which looks to be a dead project)
12429     lt_prog_compiler_wl='-Wl,'
12430     lt_prog_compiler_pic='-fpic'
12431     lt_prog_compiler_static='-Bstatic'
12432     ;;
12433     ccc*)
12434     lt_prog_compiler_wl='-Wl,'
12435     # All Alpha code is PIC.
12436     lt_prog_compiler_static='-non_shared'
12437     ;;
12438     xl*)
12439     # IBM XL C 8.0/Fortran 10.1 on PPC
12440     lt_prog_compiler_wl='-Wl,'
12441     lt_prog_compiler_pic='-qpic'
12442     lt_prog_compiler_static='-qstaticlink'
12443     ;;
12444     *)
12445     case `$CC -V 2>&1 | sed 5q` in
12446     *Sun\ C*)
12447     # Sun C 5.9
12448     lt_prog_compiler_pic='-KPIC'
12449     lt_prog_compiler_static='-Bstatic'
12450     lt_prog_compiler_wl='-Wl,'
12451     ;;
12452     *Sun\ F*)
12453     # Sun Fortran 8.3 passes all unrecognized flags to the linker
12454     lt_prog_compiler_pic='-KPIC'
12455     lt_prog_compiler_static='-Bstatic'
12456     lt_prog_compiler_wl=''
12457     ;;
12458     esac
12459     ;;
12460     esac
12461     ;;
12462    
12463     newsos6)
12464     lt_prog_compiler_pic='-KPIC'
12465     lt_prog_compiler_static='-Bstatic'
12466     ;;
12467    
12468     *nto* | *qnx*)
12469     # QNX uses GNU C++, but need to define -shared option too, otherwise
12470     # it will coredump.
12471     lt_prog_compiler_pic='-fPIC -shared'
12472     ;;
12473    
12474     osf3* | osf4* | osf5*)
12475     lt_prog_compiler_wl='-Wl,'
12476     # All OSF/1 code is PIC.
12477     lt_prog_compiler_static='-non_shared'
12478     ;;
12479    
12480     rdos*)
12481     lt_prog_compiler_static='-non_shared'
12482     ;;
12483    
12484     solaris*)
12485     lt_prog_compiler_pic='-KPIC'
12486     lt_prog_compiler_static='-Bstatic'
12487     case $cc_basename in
12488     f77* | f90* | f95*)
12489     lt_prog_compiler_wl='-Qoption ld ';;
12490     *)
12491     lt_prog_compiler_wl='-Wl,';;
12492     esac
12493     ;;
12494    
12495     sunos4*)
12496     lt_prog_compiler_wl='-Qoption ld '
12497     lt_prog_compiler_pic='-PIC'
12498     lt_prog_compiler_static='-Bstatic'
12499     ;;
12500    
12501     sysv4 | sysv4.2uw2* | sysv4.3*)
12502     lt_prog_compiler_wl='-Wl,'
12503     lt_prog_compiler_pic='-KPIC'
12504     lt_prog_compiler_static='-Bstatic'
12505     ;;
12506    
12507     sysv4*MP*)
12508     if test -d /usr/nec ;then
12509     lt_prog_compiler_pic='-Kconform_pic'
12510     lt_prog_compiler_static='-Bstatic'
12511     fi
12512     ;;
12513    
12514     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12515     lt_prog_compiler_wl='-Wl,'
12516     lt_prog_compiler_pic='-KPIC'
12517     lt_prog_compiler_static='-Bstatic'
12518     ;;
12519    
12520     unicos*)
12521     lt_prog_compiler_wl='-Wl,'
12522     lt_prog_compiler_can_build_shared=no
12523     ;;
12524    
12525     uts4*)
12526     lt_prog_compiler_pic='-pic'
12527     lt_prog_compiler_static='-Bstatic'
12528     ;;
12529    
12530     *)
12531     lt_prog_compiler_can_build_shared=no
12532     ;;
12533     esac
12534     fi
12535    
12536     case $host_os in
12537     # For platforms which do not support PIC, -DPIC is meaningless:
12538     *djgpp*)
12539     lt_prog_compiler_pic=
12540     ;;
12541     *)
12542     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12543     ;;
12544     esac
12545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
12546     $as_echo "$lt_prog_compiler_pic" >&6; }
12547    
12548    
12549    
12550    
12551    
12552    
12553     #
12554     # Check to make sure the PIC flag actually works.
12555     #
12556     if test -n "$lt_prog_compiler_pic"; then
12557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12558     $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12559     if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
12560     $as_echo_n "(cached) " >&6
12561     else
12562     lt_cv_prog_compiler_pic_works=no
12563     ac_outfile=conftest.$ac_objext
12564     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12565     lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12566     # Insert the option either (1) after the last *FLAGS variable, or
12567     # (2) before a word containing "conftest.", or (3) at the end.
12568     # Note that $ac_compile itself does not contain backslashes and begins
12569     # with a dollar sign (not a hyphen), so the echo should work correctly.
12570     # The option is referenced via a variable to avoid confusing sed.
12571     lt_compile=`echo "$ac_compile" | $SED \
12572     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12573     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12574     -e 's:$: $lt_compiler_flag:'`
12575     (eval echo "\"\$as_me:12575: $lt_compile\"" >&5)
12576     (eval "$lt_compile" 2>conftest.err)
12577     ac_status=$?
12578     cat conftest.err >&5
12579     echo "$as_me:12579: \$? = $ac_status" >&5
12580     if (exit $ac_status) && test -s "$ac_outfile"; then
12581     # The compiler can only warn and ignore the option if not recognized
12582     # So say no if there are warnings other than the usual output.
12583     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12584     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12585     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12586     lt_cv_prog_compiler_pic_works=yes
12587     fi
12588     fi
12589     $RM conftest*
12590    
12591     fi
12592     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12593     $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
12594    
12595     if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
12596     case $lt_prog_compiler_pic in
12597     "" | " "*) ;;
12598     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12599     esac
12600     else
12601     lt_prog_compiler_pic=
12602     lt_prog_compiler_can_build_shared=no
12603     fi
12604    
12605     fi
12606    
12607    
12608    
12609    
12610    
12611    
12612     #
12613     # Check to make sure the static flag actually works.
12614     #
12615     wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12617     $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12618     if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
12619     $as_echo_n "(cached) " >&6
12620     else
12621     lt_cv_prog_compiler_static_works=no
12622     save_LDFLAGS="$LDFLAGS"
12623     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12624     echo "$lt_simple_link_test_code" > conftest.$ac_ext
12625     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12626     # The linker can only warn and ignore the option if not recognized
12627     # So say no if there are warnings
12628     if test -s conftest.err; then
12629     # Append any errors to the config.log.
12630     cat conftest.err 1>&5
12631     $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12632     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12633     if diff conftest.exp conftest.er2 >/dev/null; then
12634     lt_cv_prog_compiler_static_works=yes
12635     fi
12636     else
12637     lt_cv_prog_compiler_static_works=yes
12638     fi
12639     fi
12640     $RM -r conftest*
12641     LDFLAGS="$save_LDFLAGS"
12642    
12643     fi
12644     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12645     $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
12646    
12647     if test x"$lt_cv_prog_compiler_static_works" = xyes; then
12648     :
12649     else
12650     lt_prog_compiler_static=
12651     fi
12652    
12653    
12654    
12655    
12656    
12657    
12658    
12659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12660     $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12661     if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
12662     $as_echo_n "(cached) " >&6
12663     else
12664     lt_cv_prog_compiler_c_o=no
12665     $RM -r conftest 2>/dev/null
12666     mkdir conftest
12667     cd conftest
12668     mkdir out
12669     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12670    
12671     lt_compiler_flag="-o out/conftest2.$ac_objext"
12672     # Insert the option either (1) after the last *FLAGS variable, or
12673     # (2) before a word containing "conftest.", or (3) at the end.
12674     # Note that $ac_compile itself does not contain backslashes and begins
12675     # with a dollar sign (not a hyphen), so the echo should work correctly.
12676     lt_compile=`echo "$ac_compile" | $SED \
12677     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12678     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12679     -e 's:$: $lt_compiler_flag:'`
12680     (eval echo "\"\$as_me:12680: $lt_compile\"" >&5)
12681     (eval "$lt_compile" 2>out/conftest.err)
12682     ac_status=$?
12683     cat out/conftest.err >&5
12684     echo "$as_me:12684: \$? = $ac_status" >&5
12685     if (exit $ac_status) && test -s out/conftest2.$ac_objext
12686     then
12687     # The compiler can only warn and ignore the option if not recognized
12688     # So say no if there are warnings
12689     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12690     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12691     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12692     lt_cv_prog_compiler_c_o=yes
12693     fi
12694     fi
12695     chmod u+w . 2>&5
12696     $RM conftest*
12697     # SGI C++ compiler will create directory out/ii_files/ for
12698     # template instantiation
12699     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12700     $RM out/* && rmdir out
12701     cd ..
12702     $RM -r conftest
12703     $RM conftest*
12704    
12705     fi
12706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12707     $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12708    
12709    
12710    
12711    
12712    
12713    
12714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12715     $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12716     if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
12717     $as_echo_n "(cached) " >&6
12718     else
12719     lt_cv_prog_compiler_c_o=no
12720     $RM -r conftest 2>/dev/null
12721     mkdir conftest
12722     cd conftest
12723     mkdir out
12724     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12725    
12726     lt_compiler_flag="-o out/conftest2.$ac_objext"
12727     # Insert the option either (1) after the last *FLAGS variable, or
12728     # (2) before a word containing "conftest.", or (3) at the end.
12729     # Note that $ac_compile itself does not contain backslashes and begins
12730     # with a dollar sign (not a hyphen), so the echo should work correctly.
12731     lt_compile=`echo "$ac_compile" | $SED \
12732     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12733     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12734     -e 's:$: $lt_compiler_flag:'`
12735     (eval echo "\"\$as_me:12735: $lt_compile\"" >&5)
12736     (eval "$lt_compile" 2>out/conftest.err)
12737     ac_status=$?
12738     cat out/conftest.err >&5
12739     echo "$as_me:12739: \$? = $ac_status" >&5
12740     if (exit $ac_status) && test -s out/conftest2.$ac_objext
12741     then
12742     # The compiler can only warn and ignore the option if not recognized
12743     # So say no if there are warnings
12744     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12745     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12746     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12747     lt_cv_prog_compiler_c_o=yes
12748     fi
12749     fi
12750     chmod u+w . 2>&5
12751     $RM conftest*
12752     # SGI C++ compiler will create directory out/ii_files/ for
12753     # template instantiation
12754     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12755     $RM out/* && rmdir out
12756     cd ..
12757     $RM -r conftest
12758     $RM conftest*
12759    
12760     fi
12761     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12762     $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12763    
12764    
12765    
12766    
12767     hard_links="nottested"
12768     if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12769     # do not overwrite the value of need_locks provided by the user
12770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12771     $as_echo_n "checking if we can lock with hard links... " >&6; }
12772     hard_links=yes
12773     $RM conftest*
12774     ln conftest.a conftest.b 2>/dev/null && hard_links=no
12775     touch conftest.a
12776     ln conftest.a conftest.b 2>&5 || hard_links=no
12777     ln conftest.a conftest.b 2>/dev/null && hard_links=no
12778     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12779     $as_echo "$hard_links" >&6; }
12780     if test "$hard_links" = no; then
12781     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12782     $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12783     need_locks=warn
12784     fi
12785     else
12786     need_locks=no
12787     fi
12788    
12789    
12790    
12791    
12792    
12793    
12794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12795     $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12796    
12797     runpath_var=
12798     allow_undefined_flag=
12799     always_export_symbols=no
12800     archive_cmds=
12801     archive_expsym_cmds=
12802     compiler_needs_object=no
12803     enable_shared_with_static_runtimes=no
12804     export_dynamic_flag_spec=
12805     export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12806     hardcode_automatic=no
12807     hardcode_direct=no
12808     hardcode_direct_absolute=no
12809     hardcode_libdir_flag_spec=
12810     hardcode_libdir_flag_spec_ld=
12811     hardcode_libdir_separator=
12812     hardcode_minus_L=no
12813     hardcode_shlibpath_var=unsupported
12814     inherit_rpath=no
12815     link_all_deplibs=unknown
12816     module_cmds=
12817     module_expsym_cmds=
12818     old_archive_from_new_cmds=
12819     old_archive_from_expsyms_cmds=
12820     thread_safe_flag_spec=
12821     whole_archive_flag_spec=
12822     # include_expsyms should be a list of space-separated symbols to be *always*
12823     # included in the symbol list
12824     include_expsyms=
12825     # exclude_expsyms can be an extended regexp of symbols to exclude
12826     # it will be wrapped by ` (' and `)$', so one must not match beginning or
12827     # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12828     # as well as any symbol that contains `d'.
12829     exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12830     # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12831     # platforms (ab)use it in PIC code, but their linkers get confused if
12832     # the symbol is explicitly referenced. Since portable code cannot
12833     # rely on this symbol name, it's probably fine to never include it in
12834     # preloaded symbol tables.
12835     # Exclude shared library initialization/finalization symbols.
12836     extract_expsyms_cmds=
12837    
12838     case $host_os in
12839     cygwin* | mingw* | pw32* | cegcc*)
12840     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12841     # When not using gcc, we currently assume that we are using
12842     # Microsoft Visual C++.
12843     if test "$GCC" != yes; then
12844     with_gnu_ld=no
12845     fi
12846     ;;
12847     interix*)
12848     # we just hope/assume this is gcc and not c89 (= MSVC++)
12849     with_gnu_ld=yes
12850     ;;
12851     openbsd*)
12852     with_gnu_ld=no
12853     ;;
12854     linux* | k*bsd*-gnu)
12855     link_all_deplibs=no
12856     ;;
12857     esac
12858    
12859     ld_shlibs=yes
12860     if test "$with_gnu_ld" = yes; then
12861     # If archive_cmds runs LD, not CC, wlarc should be empty
12862     wlarc='${wl}'
12863    
12864     # Set some defaults for GNU ld with shared library support. These
12865     # are reset later if shared libraries are not supported. Putting them
12866     # here allows them to be overridden if necessary.
12867     runpath_var=LD_RUN_PATH
12868     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12869     export_dynamic_flag_spec='${wl}--export-dynamic'
12870     # ancient GNU ld didn't support --whole-archive et. al.
12871     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12872     whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12873     else
12874     whole_archive_flag_spec=
12875     fi
12876     supports_anon_versioning=no
12877     case `$LD -v 2>&1` in
12878     *GNU\ gold*) supports_anon_versioning=yes ;;
12879     *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12880     *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12881     *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12882     *\ 2.11.*) ;; # other 2.11 versions
12883     *) supports_anon_versioning=yes ;;
12884     esac
12885    
12886     # See if GNU ld supports shared libraries.
12887     case $host_os in
12888     aix[3-9]*)
12889     # On AIX/PPC, the GNU linker is very broken
12890     if test "$host_cpu" != ia64; then
12891     ld_shlibs=no
12892     cat <<_LT_EOF 1>&2
12893    
12894     *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12895     *** to be unable to reliably create shared libraries on AIX.
12896     *** Therefore, libtool is disabling shared libraries support. If you
12897     *** really care for shared libraries, you may want to modify your PATH
12898     *** so that a non-GNU linker is found, and then restart.
12899    
12900     _LT_EOF
12901     fi
12902     ;;
12903    
12904     amigaos*)
12905     case $host_cpu in
12906     powerpc)
12907     # see comment about AmigaOS4 .so support
12908     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12909     archive_expsym_cmds=''
12910     ;;
12911     m68k)
12912     archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12913     hardcode_libdir_flag_spec='-L$libdir'
12914     hardcode_minus_L=yes
12915     ;;
12916     esac
12917     ;;
12918    
12919     beos*)
12920     if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12921     allow_undefined_flag=unsupported
12922     # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12923     # support --undefined. This deserves some investigation. FIXME
12924     archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12925     else
12926     ld_shlibs=no
12927     fi
12928     ;;
12929    
12930     cygwin* | mingw* | pw32* | cegcc*)
12931     # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12932     # as there is no search path for DLLs.
12933     hardcode_libdir_flag_spec='-L$libdir'
12934     allow_undefined_flag=unsupported
12935     always_export_symbols=no
12936     enable_shared_with_static_runtimes=yes
12937     export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12938    
12939     if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12940     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12941     # If the export-symbols file already is a .def file (1st line
12942     # is EXPORTS), use it as is; otherwise, prepend...
12943     archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12944     cp $export_symbols $output_objdir/$soname.def;
12945     else
12946     echo EXPORTS > $output_objdir/$soname.def;
12947     cat $export_symbols >> $output_objdir/$soname.def;
12948     fi~
12949     $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12950     else
12951     ld_shlibs=no
12952     fi
12953     ;;
12954    
12955     interix[3-9]*)
12956     hardcode_direct=no
12957     hardcode_shlibpath_var=no
12958     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12959     export_dynamic_flag_spec='${wl}-E'
12960     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12961     # Instead, shared libraries are loaded at an image base (0x10000000 by
12962     # default) and relocated if they conflict, which is a slow very memory
12963     # consuming and fragmenting process. To avoid this, we pick a random,
12964     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12965     # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12966     archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12967     archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12968     ;;
12969    
12970     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12971     tmp_diet=no
12972     if test "$host_os" = linux-dietlibc; then
12973     case $cc_basename in
12974     diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12975     esac
12976     fi
12977     if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12978     && test "$tmp_diet" = no
12979     then
12980     tmp_addflag=
12981     tmp_sharedflag='-shared'
12982     case $cc_basename,$host_cpu in
12983     pgcc*) # Portland Group C compiler
12984     whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12985     tmp_addflag=' $pic_flag'
12986     ;;
12987     pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12988     whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12989     tmp_addflag=' $pic_flag -Mnomain' ;;
12990     ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12991     tmp_addflag=' -i_dynamic' ;;
12992     efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12993     tmp_addflag=' -i_dynamic -nofor_main' ;;
12994     ifc* | ifort*) # Intel Fortran compiler
12995     tmp_addflag=' -nofor_main' ;;
12996     lf95*) # Lahey Fortran 8.1
12997     whole_archive_flag_spec=
12998     tmp_sharedflag='--shared' ;;
12999     xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13000     tmp_sharedflag='-qmkshrobj'
13001     tmp_addflag= ;;
13002     esac
13003     case `$CC -V 2>&1 | sed 5q` in
13004     *Sun\ C*) # Sun C 5.9
13005     whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13006     compiler_needs_object=yes
13007     tmp_sharedflag='-G' ;;
13008     *Sun\ F*) # Sun Fortran 8.3
13009     tmp_sharedflag='-G' ;;
13010     esac
13011     archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13012    
13013     if test "x$supports_anon_versioning" = xyes; then
13014     archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13015     cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13016     echo "local: *; };" >> $output_objdir/$libname.ver~
13017     $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13018     fi
13019    
13020     case $cc_basename in
13021     xlf*)
13022     # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13023     whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13024     hardcode_libdir_flag_spec=
13025     hardcode_libdir_flag_spec_ld='-rpath $libdir'
13026     archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13027     if test "x$supports_anon_versioning" = xyes; then
13028     archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13029     cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13030     echo "local: *; };" >> $output_objdir/$libname.ver~
13031     $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13032     fi
13033     ;;
13034     esac
13035     else
13036     ld_shlibs=no
13037     fi
13038     ;;
13039    
13040     netbsd* | netbsdelf*-gnu)
13041     if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13042     archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13043     wlarc=
13044     else
13045     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13046     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13047     fi
13048     ;;
13049    
13050     solaris*)
13051     if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13052     ld_shlibs=no
13053     cat <<_LT_EOF 1>&2
13054    
13055     *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13056     *** create shared libraries on Solaris systems. Therefore, libtool
13057     *** is disabling shared libraries support. We urge you to upgrade GNU
13058     *** binutils to release 2.9.1 or newer. Another option is to modify
13059     *** your PATH or compiler configuration so that the native linker is
13060     *** used, and then restart.
13061    
13062     _LT_EOF
13063     elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13064     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13065     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13066     else
13067     ld_shlibs=no
13068     fi
13069     ;;
13070    
13071     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13072     case `$LD -v 2>&1` in
13073     *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13074     ld_shlibs=no
13075     cat <<_LT_EOF 1>&2
13076    
13077     *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13078     *** reliably create shared libraries on SCO systems. Therefore, libtool
13079     *** is disabling shared libraries support. We urge you to upgrade GNU
13080     *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13081     *** your PATH or compiler configuration so that the native linker is
13082     *** used, and then restart.
13083    
13084     _LT_EOF
13085     ;;
13086     *)
13087     # For security reasons, it is highly recommended that you always
13088     # use absolute paths for naming shared libraries, and exclude the
13089     # DT_RUNPATH tag from executables and libraries. But doing so
13090     # requires that you compile everything twice, which is a pain.
13091     if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13092     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13093     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13094     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13095     else
13096     ld_shlibs=no
13097     fi
13098     ;;
13099     esac
13100     ;;
13101    
13102     sunos4*)
13103     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13104     wlarc=
13105     hardcode_direct=yes
13106     hardcode_shlibpath_var=no
13107     ;;
13108    
13109     *)
13110     if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13111     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13112     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13113     else
13114     ld_shlibs=no
13115     fi
13116     ;;
13117     esac
13118    
13119     if test "$ld_shlibs" = no; then
13120     runpath_var=
13121     hardcode_libdir_flag_spec=
13122     export_dynamic_flag_spec=
13123     whole_archive_flag_spec=
13124     fi
13125     else
13126     # PORTME fill in a description of your system's linker (not GNU ld)
13127     case $host_os in
13128     aix3*)
13129     allow_undefined_flag=unsupported
13130     always_export_symbols=yes
13131     archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13132     # Note: this linker hardcodes the directories in LIBPATH if there
13133     # are no directories specified by -L.
13134     hardcode_minus_L=yes
13135     if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13136     # Neither direct hardcoding nor static linking is supported with a
13137     # broken collect2.
13138     hardcode_direct=unsupported
13139     fi
13140     ;;
13141    
13142     aix[4-9]*)
13143     if test "$host_cpu" = ia64; then
13144     # On IA64, the linker does run time linking by default, so we don't
13145     # have to do anything special.
13146     aix_use_runtimelinking=no
13147     exp_sym_flag='-Bexport'
13148     no_entry_flag=""
13149     else
13150     # If we're using GNU nm, then we don't want the "-C" option.
13151     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13152     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13153     export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13154     else
13155     export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13156     fi
13157     aix_use_runtimelinking=no
13158    
13159     # Test if we are trying to use run time linking or normal
13160     # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13161     # need to do runtime linking.
13162     case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13163     for ld_flag in $LDFLAGS; do
13164     if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13165     aix_use_runtimelinking=yes
13166     break
13167     fi
13168     done
13169     ;;
13170     esac
13171    
13172     exp_sym_flag='-bexport'
13173     no_entry_flag='-bnoentry'
13174     fi
13175    
13176     # When large executables or shared objects are built, AIX ld can
13177     # have problems creating the table of contents. If linking a library
13178     # or program results in "error TOC overflow" add -mminimal-toc to
13179     # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13180     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13181    
13182     archive_cmds=''
13183     hardcode_direct=yes
13184     hardcode_direct_absolute=yes
13185     hardcode_libdir_separator=':'
13186     link_all_deplibs=yes
13187     file_list_spec='${wl}-f,'
13188    
13189     if test "$GCC" = yes; then
13190     case $host_os in aix4.[012]|aix4.[012].*)
13191     # We only want to do this on AIX 4.2 and lower, the check
13192     # below for broken collect2 doesn't work under 4.3+
13193     collect2name=`${CC} -print-prog-name=collect2`
13194     if test -f "$collect2name" &&
13195     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13196     then
13197     # We have reworked collect2
13198     :
13199     else
13200     # We have old collect2
13201     hardcode_direct=unsupported
13202     # It fails to find uninstalled libraries when the uninstalled
13203     # path is not listed in the libpath. Setting hardcode_minus_L
13204     # to unsupported forces relinking
13205     hardcode_minus_L=yes
13206     hardcode_libdir_flag_spec='-L$libdir'
13207     hardcode_libdir_separator=
13208     fi
13209     ;;
13210     esac
13211     shared_flag='-shared'
13212     if test "$aix_use_runtimelinking" = yes; then
13213     shared_flag="$shared_flag "'${wl}-G'
13214     fi
13215     link_all_deplibs=no
13216     else
13217     # not using gcc
13218     if test "$host_cpu" = ia64; then
13219     # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13220     # chokes on -Wl,-G. The following line is correct:
13221     shared_flag='-G'
13222     else
13223     if test "$aix_use_runtimelinking" = yes; then
13224     shared_flag='${wl}-G'
13225     else
13226     shared_flag='${wl}-bM:SRE'
13227     fi
13228     fi
13229     fi
13230    
13231     export_dynamic_flag_spec='${wl}-bexpall'
13232     # It seems that -bexpall does not export symbols beginning with
13233     # underscore (_), so it is better to generate a list of symbols to export.
13234     always_export_symbols=yes
13235     if test "$aix_use_runtimelinking" = yes; then
13236     # Warning - without using the other runtime loading flags (-brtl),
13237     # -berok will link without error, but may produce a broken library.
13238     allow_undefined_flag='-berok'
13239     # Determine the default libpath from the value encoded in an
13240     # empty executable.
13241     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13242     /* end confdefs.h. */
13243    
13244     int
13245     main ()
13246     {
13247    
13248     ;
13249     return 0;
13250     }
13251     _ACEOF
13252     if ac_fn_c_try_link "$LINENO"; then :
13253    
13254     lt_aix_libpath_sed='
13255     /Import File Strings/,/^$/ {
13256     /^0/ {
13257     s/^0 *\(.*\)$/\1/
13258     p
13259     }
13260     }'
13261     aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13262     # Check for a 64-bit object if we didn't find anything.
13263     if test -z "$aix_libpath"; then
13264     aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13265     fi
13266     fi
13267     rm -f core conftest.err conftest.$ac_objext \
13268     conftest$ac_exeext conftest.$ac_ext
13269     if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13270    
13271     hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13272     archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13273     else
13274     if test "$host_cpu" = ia64; then
13275     hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13276     allow_undefined_flag="-z nodefs"
13277     archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13278     else
13279     # Determine the default libpath from the value encoded in an
13280     # empty executable.
13281     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282     /* end confdefs.h. */
13283    
13284     int
13285     main ()
13286     {
13287    
13288     ;
13289     return 0;
13290     }
13291     _ACEOF
13292     if ac_fn_c_try_link "$LINENO"; then :
13293    
13294     lt_aix_libpath_sed='
13295     /Import File Strings/,/^$/ {
13296     /^0/ {
13297     s/^0 *\(.*\)$/\1/
13298     p
13299     }
13300     }'
13301     aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13302     # Check for a 64-bit object if we didn't find anything.
13303     if test -z "$aix_libpath"; then
13304     aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13305     fi
13306     fi
13307     rm -f core conftest.err conftest.$ac_objext \
13308     conftest$ac_exeext conftest.$ac_ext
13309     if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13310    
13311     hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13312     # Warning - without using the other run time loading flags,
13313     # -berok will link without error, but may produce a broken library.
13314     no_undefined_flag=' ${wl}-bernotok'
13315     allow_undefined_flag=' ${wl}-berok'
13316     # Exported symbols can be pulled into shared objects from archives
13317     whole_archive_flag_spec='$convenience'
13318     archive_cmds_need_lc=yes
13319     # This is similar to how AIX traditionally builds its shared libraries.
13320     archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13321     fi
13322     fi
13323     ;;
13324    
13325     amigaos*)
13326     case $host_cpu in
13327     powerpc)
13328     # see comment about AmigaOS4 .so support
13329     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13330     archive_expsym_cmds=''
13331     ;;
13332     m68k)
13333     archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13334     hardcode_libdir_flag_spec='-L$libdir'
13335     hardcode_minus_L=yes
13336     ;;
13337     esac
13338     ;;
13339    
13340     bsdi[45]*)
13341     export_dynamic_flag_spec=-rdynamic
13342     ;;
13343    
13344     cygwin* | mingw* | pw32* | cegcc*)
13345     # When not using gcc, we currently assume that we are using
13346     # Microsoft Visual C++.
13347     # hardcode_libdir_flag_spec is actually meaningless, as there is
13348     # no search path for DLLs.
13349     hardcode_libdir_flag_spec=' '
13350     allow_undefined_flag=unsupported
13351     # Tell ltmain to make .lib files, not .a files.
13352     libext=lib
13353     # Tell ltmain to make .dll files, not .so files.
13354     shrext_cmds=".dll"
13355     # FIXME: Setting linknames here is a bad hack.
13356     archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13357     # The linker will automatically build a .lib file if we build a DLL.
13358     old_archive_from_new_cmds='true'
13359     # FIXME: Should let the user specify the lib program.
13360     old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13361     fix_srcfile_path='`cygpath -w "$srcfile"`'
13362     enable_shared_with_static_runtimes=yes
13363     ;;
13364    
13365     darwin* | rhapsody*)
13366    
13367    
13368     archive_cmds_need_lc=no
13369     hardcode_direct=no
13370     hardcode_automatic=yes
13371     hardcode_shlibpath_var=unsupported
13372     whole_archive_flag_spec=''
13373     link_all_deplibs=yes
13374     allow_undefined_flag="$_lt_dar_allow_undefined"
13375     case $cc_basename in
13376     ifort*) _lt_dar_can_shared=yes ;;
13377     *) _lt_dar_can_shared=$GCC ;;
13378     esac
13379     if test "$_lt_dar_can_shared" = "yes"; then
13380     output_verbose_link_cmd=echo
13381     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13382     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13383     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13384     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13385    
13386     else
13387     ld_shlibs=no
13388     fi
13389    
13390     ;;
13391    
13392     dgux*)
13393     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13394     hardcode_libdir_flag_spec='-L$libdir'
13395     hardcode_shlibpath_var=no
13396     ;;
13397    
13398     freebsd1*)
13399     ld_shlibs=no
13400     ;;
13401    
13402     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13403     # support. Future versions do this automatically, but an explicit c++rt0.o
13404     # does not break anything, and helps significantly (at the cost of a little
13405     # extra space).
13406     freebsd2.2*)
13407     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13408     hardcode_libdir_flag_spec='-R$libdir'
13409     hardcode_direct=yes
13410     hardcode_shlibpath_var=no
13411     ;;
13412    
13413     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13414     freebsd2*)
13415     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13416     hardcode_direct=yes
13417     hardcode_minus_L=yes
13418     hardcode_shlibpath_var=no
13419     ;;
13420    
13421     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13422     freebsd* | dragonfly*)
13423     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13424     hardcode_libdir_flag_spec='-R$libdir'
13425     hardcode_direct=yes
13426     hardcode_shlibpath_var=no
13427     ;;
13428    
13429     hpux9*)
13430     if test "$GCC" = yes; then
13431     archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13432     else
13433     archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13434     fi
13435     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13436     hardcode_libdir_separator=:
13437     hardcode_direct=yes
13438    
13439     # hardcode_minus_L: Not really in the search PATH,
13440     # but as the default location of the library.
13441     hardcode_minus_L=yes
13442     export_dynamic_flag_spec='${wl}-E'
13443     ;;
13444    
13445     hpux10*)
13446     if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13447     archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13448     else
13449     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13450     fi
13451     if test "$with_gnu_ld" = no; then
13452     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13453     hardcode_libdir_flag_spec_ld='+b $libdir'
13454     hardcode_libdir_separator=:
13455     hardcode_direct=yes
13456     hardcode_direct_absolute=yes
13457     export_dynamic_flag_spec='${wl}-E'
13458     # hardcode_minus_L: Not really in the search PATH,
13459     # but as the default location of the library.
13460     hardcode_minus_L=yes
13461     fi
13462     ;;
13463    
13464     hpux11*)
13465     if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13466     case $host_cpu in
13467     hppa*64*)
13468     archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13469     ;;
13470     ia64*)
13471     archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13472     ;;
13473     *)
13474     archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13475     ;;
13476     esac
13477     else
13478     case $host_cpu in
13479     hppa*64*)
13480     archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13481     ;;
13482     ia64*)
13483     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13484     ;;
13485     *)
13486     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13487     ;;
13488     esac
13489     fi
13490     if test "$with_gnu_ld" = no; then
13491     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13492     hardcode_libdir_separator=:
13493    
13494     case $host_cpu in
13495     hppa*64*|ia64*)
13496     hardcode_direct=no
13497     hardcode_shlibpath_var=no
13498     ;;
13499     *)
13500     hardcode_direct=yes
13501     hardcode_direct_absolute=yes
13502     export_dynamic_flag_spec='${wl}-E'
13503    
13504     # hardcode_minus_L: Not really in the search PATH,
13505     # but as the default location of the library.
13506     hardcode_minus_L=yes
13507     ;;
13508     esac
13509     fi
13510     ;;
13511    
13512     irix5* | irix6* | nonstopux*)
13513     if test "$GCC" = yes; then
13514     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13515     # Try to use the -exported_symbol ld option, if it does not
13516     # work, assume that -exports_file does not work either and
13517     # implicitly export all symbols.
13518     save_LDFLAGS="$LDFLAGS"
13519     LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13520     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521     /* end confdefs.h. */
13522     int foo(void) {}
13523     _ACEOF
13524     if ac_fn_c_try_link "$LINENO"; then :
13525     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13526    
13527     fi
13528     rm -f core conftest.err conftest.$ac_objext \
13529     conftest$ac_exeext conftest.$ac_ext
13530     LDFLAGS="$save_LDFLAGS"
13531     else
13532     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13533     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13534     fi
13535     archive_cmds_need_lc='no'
13536     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13537     hardcode_libdir_separator=:
13538     inherit_rpath=yes
13539     link_all_deplibs=yes
13540     ;;
13541    
13542     netbsd* | netbsdelf*-gnu)
13543     if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13544     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13545     else
13546     archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13547     fi
13548     hardcode_libdir_flag_spec='-R$libdir'
13549     hardcode_direct=yes
13550     hardcode_shlibpath_var=no
13551     ;;
13552    
13553     newsos6)
13554     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13555     hardcode_direct=yes
13556     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13557     hardcode_libdir_separator=:
13558     hardcode_shlibpath_var=no
13559     ;;
13560    
13561     *nto* | *qnx*)
13562     ;;
13563    
13564     openbsd*)
13565     if test -f /usr/libexec/ld.so; then
13566     hardcode_direct=yes
13567     hardcode_shlibpath_var=no
13568     hardcode_direct_absolute=yes
13569     if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13570     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13571     archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13572     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13573     export_dynamic_flag_spec='${wl}-E'
13574     else
13575     case $host_os in
13576     openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13577     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13578     hardcode_libdir_flag_spec='-R$libdir'
13579     ;;
13580     *)
13581     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13582     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13583     ;;
13584     esac
13585     fi
13586     else
13587     ld_shlibs=no
13588     fi
13589     ;;
13590    
13591     os2*)
13592     hardcode_libdir_flag_spec='-L$libdir'
13593     hardcode_minus_L=yes
13594     allow_undefined_flag=unsupported
13595     archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
13596     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13597     ;;
13598    
13599     osf3*)
13600     if test "$GCC" = yes; then
13601     allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13602     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13603     else
13604     allow_undefined_flag=' -expect_unresolved \*'
13605     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13606     fi
13607     archive_cmds_need_lc='no'
13608     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13609     hardcode_libdir_separator=:
13610     ;;
13611    
13612     osf4* | osf5*) # as osf3* with the addition of -msym flag
13613     if test "$GCC" = yes; then
13614     allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13615     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13616     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13617     else
13618     allow_undefined_flag=' -expect_unresolved \*'
13619     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13620     archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13621     $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13622    
13623     # Both c and cxx compiler support -rpath directly
13624     hardcode_libdir_flag_spec='-rpath $libdir'
13625     fi
13626     archive_cmds_need_lc='no'
13627     hardcode_libdir_separator=:
13628     ;;
13629    
13630     solaris*)
13631     no_undefined_flag=' -z defs'
13632     if test "$GCC" = yes; then
13633     wlarc='${wl}'
13634     archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13635     archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13636     $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13637     else
13638     case `$CC -V 2>&1` in
13639     *"Compilers 5.0"*)
13640     wlarc=''
13641     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13642     archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13643     $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13644     ;;
13645     *)
13646     wlarc='${wl}'
13647     archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13648     archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13649     $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13650     ;;
13651     esac
13652     fi
13653     hardcode_libdir_flag_spec='-R$libdir'
13654     hardcode_shlibpath_var=no
13655     case $host_os in
13656     solaris2.[0-5] | solaris2.[0-5].*) ;;
13657     *)
13658     # The compiler driver will combine and reorder linker options,
13659     # but understands `-z linker_flag'. GCC discards it without `$wl',
13660     # but is careful enough not to reorder.
13661     # Supported since Solaris 2.6 (maybe 2.5.1?)
13662     if test "$GCC" = yes; then
13663     whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13664     else
13665     whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13666     fi
13667     ;;
13668     esac
13669     link_all_deplibs=yes
13670     ;;
13671    
13672     sunos4*)
13673     if test "x$host_vendor" = xsequent; then
13674     # Use $CC to link under sequent, because it throws in some extra .o
13675     # files that make .init and .fini sections work.
13676     archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13677     else
13678     archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13679     fi
13680     hardcode_libdir_flag_spec='-L$libdir'
13681     hardcode_direct=yes
13682     hardcode_minus_L=yes
13683     hardcode_shlibpath_var=no
13684     ;;
13685    
13686     sysv4)
13687     case $host_vendor in
13688     sni)
13689     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13690     hardcode_direct=yes # is this really true???
13691     ;;
13692     siemens)
13693     ## LD is ld it makes a PLAMLIB
13694     ## CC just makes a GrossModule.
13695     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13696     reload_cmds='$CC -r -o $output$reload_objs'
13697     hardcode_direct=no
13698     ;;
13699     motorola)
13700     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13701     hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13702     ;;
13703     esac
13704     runpath_var='LD_RUN_PATH'
13705     hardcode_shlibpath_var=no
13706     ;;
13707    
13708     sysv4.3*)
13709     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13710     hardcode_shlibpath_var=no
13711     export_dynamic_flag_spec='-Bexport'
13712     ;;
13713    
13714     sysv4*MP*)
13715     if test -d /usr/nec; then
13716     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13717     hardcode_shlibpath_var=no
13718     runpath_var=LD_RUN_PATH
13719     hardcode_runpath_var=yes
13720     ld_shlibs=yes
13721     fi
13722     ;;
13723    
13724     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13725     no_undefined_flag='${wl}-z,text'
13726     archive_cmds_need_lc=no
13727     hardcode_shlibpath_var=no
13728     runpath_var='LD_RUN_PATH'
13729    
13730     if test "$GCC" = yes; then
13731     archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13732     archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13733     else
13734     archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13735     archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13736     fi
13737     ;;
13738    
13739     sysv5* | sco3.2v5* | sco5v6*)
13740     # Note: We can NOT use -z defs as we might desire, because we do not
13741     # link with -lc, and that would cause any symbols used from libc to
13742     # always be unresolved, which means just about no library would
13743     # ever link correctly. If we're not using GNU ld we use -z text
13744     # though, which does catch some bad symbols but isn't as heavy-handed
13745     # as -z defs.
13746     no_undefined_flag='${wl}-z,text'
13747     allow_undefined_flag='${wl}-z,nodefs'
13748     archive_cmds_need_lc=no
13749     hardcode_shlibpath_var=no
13750     hardcode_libdir_flag_spec='${wl}-R,$libdir'
13751     hardcode_libdir_separator=':'
13752     link_all_deplibs=yes
13753     export_dynamic_flag_spec='${wl}-Bexport'
13754     runpath_var='LD_RUN_PATH'
13755    
13756     if test "$GCC" = yes; then
13757     archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13758     archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13759     else
13760     archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13761     archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13762     fi
13763     ;;
13764    
13765     uts4*)
13766     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13767     hardcode_libdir_flag_spec='-L$libdir'
13768     hardcode_shlibpath_var=no
13769     ;;
13770    
13771     *)
13772     ld_shlibs=no
13773     ;;
13774     esac
13775    
13776     if test x$host_vendor = xsni; then
13777     case $host in
13778     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13779     export_dynamic_flag_spec='${wl}-Blargedynsym'
13780     ;;
13781     esac
13782     fi
13783     fi
13784    
13785     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13786     $as_echo "$ld_shlibs" >&6; }
13787     test "$ld_shlibs" = no && can_build_shared=no
13788    
13789     with_gnu_ld=$with_gnu_ld
13790    
13791    
13792    
13793    
13794    
13795    
13796    
13797    
13798    
13799    
13800    
13801    
13802    
13803    
13804    
13805     #
13806     # Do we need to explicitly link libc?
13807     #
13808     case "x$archive_cmds_need_lc" in
13809     x|xyes)
13810     # Assume -lc should be added
13811     archive_cmds_need_lc=yes
13812    
13813     if test "$enable_shared" = yes && test "$GCC" = yes; then
13814     case $archive_cmds in
13815     *'~'*)
13816     # FIXME: we may have to deal with multi-command sequences.
13817     ;;
13818     '$CC '*)
13819     # Test whether the compiler implicitly links with -lc since on some
13820     # systems, -lgcc has to come before -lc. If gcc already passes -lc
13821     # to ld, don't add -lc before -lgcc.
13822     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13823     $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13824     $RM conftest*
13825     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13826    
13827     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13828     (eval $ac_compile) 2>&5
13829     ac_status=$?
13830     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13831     test $ac_status = 0; } 2>conftest.err; then
13832     soname=conftest
13833     lib=conftest
13834     libobjs=conftest.$ac_objext
13835     deplibs=
13836     wl=$lt_prog_compiler_wl
13837     pic_flag=$lt_prog_compiler_pic
13838     compiler_flags=-v
13839     linker_flags=-v
13840     verstring=
13841     output_objdir=.
13842     libname=conftest
13843     lt_save_allow_undefined_flag=$allow_undefined_flag
13844     allow_undefined_flag=
13845     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13846     (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13847     ac_status=$?
13848     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13849     test $ac_status = 0; }
13850     then
13851     archive_cmds_need_lc=no
13852     else
13853     archive_cmds_need_lc=yes
13854     fi
13855     allow_undefined_flag=$lt_save_allow_undefined_flag
13856     else
13857     cat conftest.err 1>&5
13858     fi
13859     $RM conftest*
13860     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
13861     $as_echo "$archive_cmds_need_lc" >&6; }
13862     ;;
13863     esac
13864     fi
13865     ;;
13866     esac
13867    
13868    
13869    
13870    
13871    
13872    
13873    
13874    
13875    
13876    
13877    
13878    
13879    
13880    
13881    
13882    
13883    
13884    
13885    
13886    
13887    
13888    
13889    
13890    
13891    
13892    
13893    
13894    
13895    
13896    
13897    
13898    
13899    
13900    
13901    
13902    
13903    
13904    
13905    
13906    
13907    
13908    
13909    
13910    
13911    
13912    
13913    
13914    
13915    
13916    
13917    
13918    
13919    
13920    
13921    
13922    
13923    
13924    
13925    
13926    
13927    
13928    
13929    
13930    
13931    
13932    
13933    
13934    
13935    
13936    
13937    
13938    
13939    
13940    
13941    
13942    
13943    
13944    
13945    
13946    
13947    
13948    
13949    
13950    
13951    
13952    
13953    
13954    
13955    
13956    
13957    
13958    
13959    
13960    
13961    
13962    
13963    
13964    
13965    
13966    
13967    
13968    
13969    
13970    
13971    
13972    
13973    
13974    
13975    
13976    
13977    
13978    
13979    
13980    
13981    
13982    
13983    
13984    
13985    
13986    
13987    
13988    
13989    
13990    
13991    
13992    
13993    
13994    
13995    
13996    
13997    
13998    
13999    
14000    
14001    
14002    
14003    
14004    
14005    
14006    
14007    
14008    
14009    
14010    
14011    
14012    
14013    
14014    
14015    
14016    
14017    
14018    
14019    
14020    
14021    
14022    
14023    
14024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14025     $as_echo_n "checking dynamic linker characteristics... " >&6; }
14026    
14027     if test "$GCC" = yes; then
14028     case $host_os in
14029     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
14030     *) lt_awk_arg="/^libraries:/" ;;
14031     esac
14032     lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14033     if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
14034     # if the path contains ";" then we assume it to be the separator
14035     # otherwise default to the standard path separator (i.e. ":") - it is
14036     # assumed that no part of a normal pathname contains ";" but that should
14037     # okay in the real world where ";" in dirpaths is itself problematic.
14038     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
14039     else
14040     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14041     fi
14042     # Ok, now we have the path, separated by spaces, we can step through it
14043     # and add multilib dir if necessary.
14044     lt_tmp_lt_search_path_spec=
14045     lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14046     for lt_sys_path in $lt_search_path_spec; do
14047     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
14048     lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
14049     else
14050     test -d "$lt_sys_path" && \
14051     lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14052     fi
14053     done
14054     lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
14055     BEGIN {RS=" "; FS="/|\n";} {
14056     lt_foo="";
14057     lt_count=0;
14058     for (lt_i = NF; lt_i > 0; lt_i--) {
14059     if ($lt_i != "" && $lt_i != ".") {
14060     if ($lt_i == "..") {
14061     lt_count++;
14062     } else {
14063     if (lt_count == 0) {
14064     lt_foo="/" $lt_i lt_foo;
14065     } else {
14066     lt_count--;
14067     }
14068     }
14069     }
14070     }
14071     if (lt_foo != "") { lt_freq[lt_foo]++; }
14072     if (lt_freq[lt_foo] == 1) { print lt_foo; }
14073     }'`
14074     sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
14075     else
14076     sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14077     fi
14078     library_names_spec=
14079     libname_spec='lib$name'
14080     soname_spec=
14081     shrext_cmds=".so"
14082     postinstall_cmds=
14083     postuninstall_cmds=
14084     finish_cmds=
14085     finish_eval=
14086     shlibpath_var=
14087     shlibpath_overrides_runpath=unknown
14088     version_type=none
14089     dynamic_linker="$host_os ld.so"
14090     sys_lib_dlsearch_path_spec="/lib /usr/lib"
14091     need_lib_prefix=unknown
14092     hardcode_into_libs=no
14093    
14094     # when you set need_version to no, make sure it does not cause -set_version
14095     # flags to be left without arguments
14096     need_version=unknown
14097    
14098     case $host_os in
14099     aix3*)
14100     version_type=linux
14101     library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14102     shlibpath_var=LIBPATH
14103    
14104     # AIX 3 has no versioning support, so we append a major version to the name.
14105     soname_spec='${libname}${release}${shared_ext}$major'
14106     ;;
14107    
14108     aix[4-9]*)
14109     version_type=linux
14110     need_lib_prefix=no
14111     need_version=no
14112     hardcode_into_libs=yes
14113     if test "$host_cpu" = ia64; then
14114     # AIX 5 supports IA64
14115     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14116     shlibpath_var=LD_LIBRARY_PATH
14117     else
14118     # With GCC up to 2.95.x, collect2 would create an import file
14119     # for dependence libraries. The import file would start with
14120     # the line `#! .'. This would cause the generated library to
14121     # depend on `.', always an invalid library. This was fixed in
14122     # development snapshots of GCC prior to 3.0.
14123     case $host_os in
14124     aix4 | aix4.[01] | aix4.[01].*)
14125     if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14126     echo ' yes '
14127     echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14128     :
14129     else
14130     can_build_shared=no
14131     fi
14132     ;;
14133     esac
14134     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14135     # soname into executable. Probably we can add versioning support to
14136     # collect2, so additional links can be useful in future.
14137     if test "$aix_use_runtimelinking" = yes; then
14138     # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14139     # instead of lib<name>.a to let people know that these are not
14140     # typical AIX shared libraries.
14141     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14142     else
14143     # We preserve .a as extension for shared libraries through AIX4.2
14144     # and later when we are not doing run time linking.
14145     library_names_spec='${libname}${release}.a $libname.a'
14146     soname_spec='${libname}${release}${shared_ext}$major'
14147     fi
14148     shlibpath_var=LIBPATH
14149     fi
14150     ;;
14151    
14152     amigaos*)
14153     case $host_cpu in
14154     powerpc)
14155     # Since July 2007 AmigaOS4 officially supports .so libraries.
14156     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14157     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14158     ;;
14159     m68k)
14160     library_names_spec='$libname.ixlibrary $libname.a'
14161     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14162     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14163     ;;
14164     esac
14165     ;;
14166    
14167     beos*)
14168     library_names_spec='${libname}${shared_ext}'
14169     dynamic_linker="$host_os ld.so"
14170     shlibpath_var=LIBRARY_PATH
14171     ;;
14172    
14173     bsdi[45]*)
14174     version_type=linux
14175     need_version=no
14176     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177     soname_spec='${libname}${release}${shared_ext}$major'
14178     finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14179     shlibpath_var=LD_LIBRARY_PATH
14180     sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14181     sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14182     # the default ld.so.conf also contains /usr/contrib/lib and
14183     # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14184     # libtool to hard-code these into programs
14185     ;;
14186    
14187     cygwin* | mingw* | pw32* | cegcc*)
14188     version_type=windows
14189     shrext_cmds=".dll"
14190     need_version=no
14191     need_lib_prefix=no
14192    
14193     case $GCC,$host_os in
14194     yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14195     library_names_spec='$libname.dll.a'
14196     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14197     postinstall_cmds='base_file=`basename \${file}`~
14198     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14199     dldir=$destdir/`dirname \$dlpath`~
14200     test -d \$dldir || mkdir -p \$dldir~
14201     $install_prog $dir/$dlname \$dldir/$dlname~
14202     chmod a+x \$dldir/$dlname~
14203     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14204     eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14205     fi'
14206     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14207     dlpath=$dir/\$dldll~
14208     $RM \$dlpath'
14209     shlibpath_overrides_runpath=yes
14210    
14211     case $host_os in
14212     cygwin*)
14213     # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14214     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14215     sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14216     ;;
14217     mingw* | cegcc*)
14218     # MinGW DLLs use traditional 'lib' prefix
14219     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14220     sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14221     if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14222     # It is most probably a Windows format PATH printed by
14223     # mingw gcc, but we are running on Cygwin. Gcc prints its search
14224     # path with ; separators, and with drive letters. We can handle the
14225     # drive letters (cygwin fileutils understands them), so leave them,
14226     # especially as we might pass files found there to a mingw objdump,
14227     # which wouldn't understand a cygwinified path. Ahh.
14228     sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14229     else
14230     sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14231     fi
14232     ;;
14233     pw32*)
14234     # pw32 DLLs use 'pw' prefix rather than 'lib'
14235     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14236     ;;
14237     esac
14238     ;;
14239    
14240     *)
14241     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14242     ;;
14243     esac
14244     dynamic_linker='Win32 ld.exe'
14245     # FIXME: first we should search . and the directory the executable is in
14246     shlibpath_var=PATH
14247     ;;
14248    
14249     darwin* | rhapsody*)
14250     dynamic_linker="$host_os dyld"
14251     version_type=darwin
14252     need_lib_prefix=no
14253     need_version=no
14254     library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14255     soname_spec='${libname}${release}${major}$shared_ext'
14256     shlibpath_overrides_runpath=yes
14257     shlibpath_var=DYLD_LIBRARY_PATH
14258     shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14259    
14260     sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14261     sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14262     ;;
14263    
14264     dgux*)
14265     version_type=linux
14266     need_lib_prefix=no
14267     need_version=no
14268     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14269     soname_spec='${libname}${release}${shared_ext}$major'
14270     shlibpath_var=LD_LIBRARY_PATH
14271     ;;
14272    
14273     freebsd1*)
14274     dynamic_linker=no
14275     ;;
14276    
14277     freebsd* | dragonfly*)
14278     # DragonFly does not have aout. When/if they implement a new
14279     # versioning mechanism, adjust this.
14280     if test -x /usr/bin/objformat; then
14281     objformat=`/usr/bin/objformat`
14282     else
14283     case $host_os in
14284     freebsd[123]*) objformat=aout ;;
14285     *) objformat=elf ;;
14286     esac
14287     fi
14288     version_type=freebsd-$objformat
14289     case $version_type in
14290     freebsd-elf*)
14291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14292     need_version=no
14293     need_lib_prefix=no
14294     ;;
14295     freebsd-*)
14296     library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14297     need_version=yes
14298     ;;
14299     esac
14300     shlibpath_var=LD_LIBRARY_PATH
14301     case $host_os in
14302     freebsd2*)
14303     shlibpath_overrides_runpath=yes
14304     ;;
14305     freebsd3.[01]* | freebsdelf3.[01]*)
14306     shlibpath_overrides_runpath=yes
14307     hardcode_into_libs=yes
14308     ;;
14309     freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14310     freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14311     shlibpath_overrides_runpath=no
14312     hardcode_into_libs=yes
14313     ;;
14314     *) # from 4.6 on, and DragonFly
14315     shlibpath_overrides_runpath=yes
14316     hardcode_into_libs=yes
14317     ;;
14318     esac
14319     ;;
14320    
14321     gnu*)
14322     version_type=linux
14323     need_lib_prefix=no
14324     need_version=no
14325     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14326     soname_spec='${libname}${release}${shared_ext}$major'
14327     shlibpath_var=LD_LIBRARY_PATH
14328     hardcode_into_libs=yes
14329     ;;
14330    
14331     hpux9* | hpux10* | hpux11*)
14332     # Give a soname corresponding to the major version so that dld.sl refuses to
14333     # link against other versions.
14334     version_type=sunos
14335     need_lib_prefix=no
14336     need_version=no
14337     case $host_cpu in
14338     ia64*)
14339     shrext_cmds='.so'
14340     hardcode_into_libs=yes
14341     dynamic_linker="$host_os dld.so"
14342     shlibpath_var=LD_LIBRARY_PATH
14343     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14344     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14345     soname_spec='${libname}${release}${shared_ext}$major'
14346     if test "X$HPUX_IA64_MODE" = X32; then
14347     sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14348     else
14349     sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14350     fi
14351     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14352     ;;
14353     hppa*64*)
14354     shrext_cmds='.sl'
14355     hardcode_into_libs=yes
14356     dynamic_linker="$host_os dld.sl"
14357     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14358     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360     soname_spec='${libname}${release}${shared_ext}$major'
14361     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14362     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14363     ;;
14364     *)
14365     shrext_cmds='.sl'
14366     dynamic_linker="$host_os dld.sl"
14367     shlibpath_var=SHLIB_PATH
14368     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14369     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370     soname_spec='${libname}${release}${shared_ext}$major'
14371     ;;
14372     esac
14373     # HP-UX runs *really* slowly unless shared libraries are mode 555.
14374     postinstall_cmds='chmod 555 $lib'
14375     ;;
14376    
14377     interix[3-9]*)
14378     version_type=linux
14379     need_lib_prefix=no
14380     need_version=no
14381     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14382     soname_spec='${libname}${release}${shared_ext}$major'
14383     dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14384     shlibpath_var=LD_LIBRARY_PATH
14385     shlibpath_overrides_runpath=no
14386     hardcode_into_libs=yes
14387     ;;
14388    
14389     irix5* | irix6* | nonstopux*)
14390     case $host_os in
14391     nonstopux*) version_type=nonstopux ;;
14392     *)
14393     if test "$lt_cv_prog_gnu_ld" = yes; then
14394     version_type=linux
14395     else
14396     version_type=irix
14397     fi ;;
14398     esac
14399     need_lib_prefix=no
14400     need_version=no
14401     soname_spec='${libname}${release}${shared_ext}$major'
14402     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14403     case $host_os in
14404     irix5* | nonstopux*)
14405     libsuff= shlibsuff=
14406     ;;
14407     *)
14408     case $LD in # libtool.m4 will add one of these switches to LD
14409     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14410     libsuff= shlibsuff= libmagic=32-bit;;
14411     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14412     libsuff=32 shlibsuff=N32 libmagic=N32;;
14413     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14414     libsuff=64 shlibsuff=64 libmagic=64-bit;;
14415     *) libsuff= shlibsuff= libmagic=never-match;;
14416     esac
14417     ;;
14418     esac
14419     shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14420     shlibpath_overrides_runpath=no
14421     sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14422     sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14423     hardcode_into_libs=yes
14424     ;;
14425    
14426     # No shared lib support for Linux oldld, aout, or coff.
14427     linux*oldld* | linux*aout* | linux*coff*)
14428     dynamic_linker=no
14429     ;;
14430    
14431     # This must be Linux ELF.
14432     linux* | k*bsd*-gnu | kopensolaris*-gnu)
14433     version_type=linux
14434     need_lib_prefix=no
14435     need_version=no
14436     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437     soname_spec='${libname}${release}${shared_ext}$major'
14438     finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14439     shlibpath_var=LD_LIBRARY_PATH
14440     shlibpath_overrides_runpath=no
14441     # Some binutils ld are patched to set DT_RUNPATH
14442     save_LDFLAGS=$LDFLAGS
14443     save_libdir=$libdir
14444     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14445     LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14446     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447     /* end confdefs.h. */
14448    
14449     int
14450     main ()
14451     {
14452    
14453     ;
14454     return 0;
14455     }
14456     _ACEOF
14457     if ac_fn_c_try_link "$LINENO"; then :
14458     if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14459     shlibpath_overrides_runpath=yes
14460     fi
14461     fi
14462     rm -f core conftest.err conftest.$ac_objext \
14463     conftest$ac_exeext conftest.$ac_ext
14464     LDFLAGS=$save_LDFLAGS
14465     libdir=$save_libdir
14466    
14467     # This implies no fast_install, which is unacceptable.
14468     # Some rework will be needed to allow for fast_install
14469     # before this can be enabled.
14470     hardcode_into_libs=yes
14471    
14472     # Append ld.so.conf contents to the search path
14473     if test -f /etc/ld.so.conf; then
14474     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14475     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14476     fi
14477    
14478     # We used to test for /lib/ld.so.1 and disable shared libraries on
14479     # powerpc, because MkLinux only supported shared libraries with the
14480     # GNU dynamic linker. Since this was broken with cross compilers,
14481     # most powerpc-linux boxes support dynamic linking these days and
14482     # people can always --disable-shared, the test was removed, and we
14483     # assume the GNU/Linux dynamic linker is in use.
14484     dynamic_linker='GNU/Linux ld.so'
14485     ;;
14486    
14487     netbsdelf*-gnu)
14488     version_type=linux
14489     need_lib_prefix=no
14490     need_version=no
14491     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14492     soname_spec='${libname}${release}${shared_ext}$major'
14493     shlibpath_var=LD_LIBRARY_PATH
14494     shlibpath_overrides_runpath=no
14495     hardcode_into_libs=yes
14496     dynamic_linker='NetBSD ld.elf_so'
14497     ;;
14498    
14499     netbsd*)
14500     version_type=sunos
14501     need_lib_prefix=no
14502     need_version=no
14503     if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14505     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14506     dynamic_linker='NetBSD (a.out) ld.so'
14507     else
14508     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14509     soname_spec='${libname}${release}${shared_ext}$major'
14510     dynamic_linker='NetBSD ld.elf_so'
14511     fi
14512     shlibpath_var=LD_LIBRARY_PATH
14513     shlibpath_overrides_runpath=yes
14514     hardcode_into_libs=yes
14515     ;;
14516    
14517     newsos6)
14518     version_type=linux
14519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14520     shlibpath_var=LD_LIBRARY_PATH
14521     shlibpath_overrides_runpath=yes
14522     ;;
14523    
14524     *nto* | *qnx*)
14525     version_type=qnx
14526     need_lib_prefix=no
14527     need_version=no
14528     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14529     soname_spec='${libname}${release}${shared_ext}$major'
14530     shlibpath_var=LD_LIBRARY_PATH
14531     shlibpath_overrides_runpath=no
14532     hardcode_into_libs=yes
14533     dynamic_linker='ldqnx.so'
14534     ;;
14535    
14536     openbsd*)
14537     version_type=sunos
14538     sys_lib_dlsearch_path_spec="/usr/lib"
14539     need_lib_prefix=no
14540     # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14541     case $host_os in
14542     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14543     *) need_version=no ;;
14544     esac
14545     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14546     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14547     shlibpath_var=LD_LIBRARY_PATH
14548     if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14549     case $host_os in
14550     openbsd2.[89] | openbsd2.[89].*)
14551     shlibpath_overrides_runpath=no
14552     ;;
14553     *)
14554     shlibpath_overrides_runpath=yes
14555     ;;
14556     esac
14557     else
14558     shlibpath_overrides_runpath=yes
14559     fi
14560     ;;
14561    
14562     os2*)
14563     libname_spec='$name'
14564     shrext_cmds=".dll"
14565     need_lib_prefix=no
14566     library_names_spec='$libname${shared_ext} $libname.a'
14567     dynamic_linker='OS/2 ld.exe'
14568     shlibpath_var=LIBPATH
14569     ;;
14570    
14571     osf3* | osf4* | osf5*)
14572     version_type=osf
14573     need_lib_prefix=no
14574     need_version=no
14575     soname_spec='${libname}${release}${shared_ext}$major'
14576     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14577     shlibpath_var=LD_LIBRARY_PATH
14578     sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14579     sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14580     ;;
14581    
14582     rdos*)
14583     dynamic_linker=no
14584     ;;
14585    
14586     solaris*)
14587     version_type=linux
14588     need_lib_prefix=no
14589     need_version=no
14590     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14591     soname_spec='${libname}${release}${shared_ext}$major'
14592     shlibpath_var=LD_LIBRARY_PATH
14593     shlibpath_overrides_runpath=yes
14594     hardcode_into_libs=yes
14595     # ldd complains unless libraries are executable
14596     postinstall_cmds='chmod +x $lib'
14597     ;;
14598    
14599     sunos4*)
14600     version_type=sunos
14601     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14602     finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14603     shlibpath_var=LD_LIBRARY_PATH
14604     shlibpath_overrides_runpath=yes
14605     if test "$with_gnu_ld" = yes; then
14606     need_lib_prefix=no
14607     fi
14608     need_version=yes
14609     ;;
14610    
14611     sysv4 | sysv4.3*)
14612     version_type=linux
14613     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14614     soname_spec='${libname}${release}${shared_ext}$major'
14615     shlibpath_var=LD_LIBRARY_PATH
14616     case $host_vendor in
14617     sni)
14618     shlibpath_overrides_runpath=no
14619     need_lib_prefix=no
14620     runpath_var=LD_RUN_PATH
14621     ;;
14622     siemens)
14623     need_lib_prefix=no
14624     ;;
14625     motorola)
14626     need_lib_prefix=no
14627     need_version=no
14628     shlibpath_overrides_runpath=no
14629     sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14630     ;;
14631     esac
14632     ;;
14633    
14634     sysv4*MP*)
14635     if test -d /usr/nec ;then
14636     version_type=linux
14637     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14638     soname_spec='$libname${shared_ext}.$major'
14639     shlibpath_var=LD_LIBRARY_PATH
14640     fi
14641     ;;
14642    
14643     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14644     version_type=freebsd-elf
14645     need_lib_prefix=no
14646     need_version=no
14647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14648     soname_spec='${libname}${release}${shared_ext}$major'
14649     shlibpath_var=LD_LIBRARY_PATH
14650     shlibpath_overrides_runpath=yes
14651     hardcode_into_libs=yes
14652     if test "$with_gnu_ld" = yes; then
14653     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14654     else
14655     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14656     case $host_os in
14657     sco3.2v5*)
14658     sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14659     ;;
14660     esac
14661     fi
14662     sys_lib_dlsearch_path_spec='/usr/lib'
14663     ;;
14664    
14665     tpf*)
14666     # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14667     version_type=linux
14668     need_lib_prefix=no
14669     need_version=no
14670     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671     shlibpath_var=LD_LIBRARY_PATH
14672     shlibpath_overrides_runpath=no
14673     hardcode_into_libs=yes
14674     ;;
14675    
14676     uts4*)
14677     version_type=linux
14678     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14679     soname_spec='${libname}${release}${shared_ext}$major'
14680     shlibpath_var=LD_LIBRARY_PATH
14681     ;;
14682    
14683     *)
14684     dynamic_linker=no
14685     ;;
14686     esac
14687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14688     $as_echo "$dynamic_linker" >&6; }
14689     test "$dynamic_linker" = no && can_build_shared=no
14690    
14691     variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14692     if test "$GCC" = yes; then
14693     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14694     fi
14695    
14696     if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14697     sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14698     fi
14699     if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14700     sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14701     fi
14702    
14703    
14704    
14705    
14706    
14707    
14708    
14709    
14710    
14711    
14712    
14713    
14714    
14715    
14716    
14717    
14718    
14719    
14720    
14721    
14722    
14723    
14724    
14725    
14726    
14727    
14728    
14729    
14730    
14731    
14732    
14733    
14734    
14735    
14736    
14737    
14738    
14739    
14740    
14741    
14742    
14743    
14744    
14745    
14746    
14747    
14748    
14749    
14750    
14751    
14752    
14753    
14754    
14755    
14756    
14757    
14758    
14759    
14760    
14761    
14762    
14763    
14764    
14765    
14766    
14767    
14768    
14769    
14770    
14771    
14772    
14773    
14774    
14775    
14776    
14777    
14778    
14779    
14780    
14781    
14782    
14783    
14784    
14785    
14786    
14787    
14788    
14789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14790     $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14791     hardcode_action=
14792     if test -n "$hardcode_libdir_flag_spec" ||
14793     test -n "$runpath_var" ||
14794     test "X$hardcode_automatic" = "Xyes" ; then
14795    
14796     # We can hardcode non-existent directories.
14797     if test "$hardcode_direct" != no &&
14798     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14799     # have to relink, otherwise we might link with an installed library
14800     # when we should be linking with a yet-to-be-installed one
14801     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14802     test "$hardcode_minus_L" != no; then
14803     # Linking always hardcodes the temporary library directory.
14804     hardcode_action=relink
14805     else
14806     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14807     hardcode_action=immediate
14808     fi
14809     else
14810     # We cannot hardcode anything, or else we can only hardcode existing
14811     # directories.
14812     hardcode_action=unsupported
14813     fi
14814     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14815     $as_echo "$hardcode_action" >&6; }
14816    
14817     if test "$hardcode_action" = relink ||
14818     test "$inherit_rpath" = yes; then
14819     # Fast installation is not supported
14820     enable_fast_install=no
14821     elif test "$shlibpath_overrides_runpath" = yes ||
14822     test "$enable_shared" = no; then
14823     # Fast installation is not necessary
14824     enable_fast_install=needless
14825     fi
14826    
14827    
14828    
14829    
14830    
14831    
14832     if test "x$enable_dlopen" != xyes; then
14833     enable_dlopen=unknown
14834     enable_dlopen_self=unknown
14835     enable_dlopen_self_static=unknown
14836     else
14837     lt_cv_dlopen=no
14838     lt_cv_dlopen_libs=
14839    
14840     case $host_os in
14841     beos*)
14842     lt_cv_dlopen="load_add_on"
14843     lt_cv_dlopen_libs=
14844     lt_cv_dlopen_self=yes
14845     ;;
14846    
14847     mingw* | pw32* | cegcc*)
14848     lt_cv_dlopen="LoadLibrary"
14849     lt_cv_dlopen_libs=
14850     ;;
14851    
14852     cygwin*)
14853     lt_cv_dlopen="dlopen"
14854     lt_cv_dlopen_libs=
14855     ;;
14856    
14857     darwin*)
14858     # if libdl is installed we need to link against it
14859     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14860     $as_echo_n "checking for dlopen in -ldl... " >&6; }
14861     if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
14862     $as_echo_n "(cached) " >&6
14863     else
14864     ac_check_lib_save_LIBS=$LIBS
14865     LIBS="-ldl $LIBS"
14866     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867     /* end confdefs.h. */
14868    
14869     /* Override any GCC internal prototype to avoid an error.
14870     Use char because int might match the return type of a GCC
14871     builtin and then its argument prototype would still apply. */
14872     #ifdef __cplusplus
14873     extern "C"
14874     #endif
14875     char dlopen ();
14876     int
14877     main ()
14878     {
14879     return dlopen ();
14880     ;
14881     return 0;
14882     }
14883     _ACEOF
14884     if ac_fn_c_try_link "$LINENO"; then :
14885     ac_cv_lib_dl_dlopen=yes
14886     else
14887     ac_cv_lib_dl_dlopen=no
14888     fi
14889     rm -f core conftest.err conftest.$ac_objext \
14890     conftest$ac_exeext conftest.$ac_ext
14891     LIBS=$ac_check_lib_save_LIBS
14892     fi
14893     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14894     $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14895     if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
14896     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14897     else
14898    
14899     lt_cv_dlopen="dyld"
14900     lt_cv_dlopen_libs=
14901     lt_cv_dlopen_self=yes
14902    
14903     fi
14904    
14905     ;;
14906    
14907     *)
14908     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14909     if test "x$ac_cv_func_shl_load" = x""yes; then :
14910     lt_cv_dlopen="shl_load"
14911     else
14912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14913     $as_echo_n "checking for shl_load in -ldld... " >&6; }
14914     if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
14915     $as_echo_n "(cached) " >&6
14916     else
14917     ac_check_lib_save_LIBS=$LIBS
14918     LIBS="-ldld $LIBS"
14919     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920     /* end confdefs.h. */
14921    
14922     /* Override any GCC internal prototype to avoid an error.
14923     Use char because int might match the return type of a GCC
14924     builtin and then its argument prototype would still apply. */
14925     #ifdef __cplusplus
14926     extern "C"
14927     #endif
14928     char shl_load ();
14929     int
14930     main ()
14931     {
14932     return shl_load ();
14933     ;
14934     return 0;
14935     }
14936     _ACEOF
14937     if ac_fn_c_try_link "$LINENO"; then :
14938     ac_cv_lib_dld_shl_load=yes
14939     else
14940     ac_cv_lib_dld_shl_load=no
14941     fi
14942     rm -f core conftest.err conftest.$ac_objext \
14943     conftest$ac_exeext conftest.$ac_ext
14944     LIBS=$ac_check_lib_save_LIBS
14945     fi
14946     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14947     $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14948     if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
14949     lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14950     else
14951     ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14952     if test "x$ac_cv_func_dlopen" = x""yes; then :
14953     lt_cv_dlopen="dlopen"
14954     else
14955     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14956     $as_echo_n "checking for dlopen in -ldl... " >&6; }
14957     if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
14958     $as_echo_n "(cached) " >&6
14959     else
14960     ac_check_lib_save_LIBS=$LIBS
14961     LIBS="-ldl $LIBS"
14962     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963     /* end confdefs.h. */
14964    
14965     /* Override any GCC internal prototype to avoid an error.
14966     Use char because int might match the return type of a GCC
14967     builtin and then its argument prototype would still apply. */
14968     #ifdef __cplusplus
14969     extern "C"
14970     #endif
14971     char dlopen ();
14972     int
14973     main ()
14974     {
14975     return dlopen ();
14976     ;
14977     return 0;
14978     }
14979     _ACEOF
14980     if ac_fn_c_try_link "$LINENO"; then :
14981     ac_cv_lib_dl_dlopen=yes
14982     else
14983     ac_cv_lib_dl_dlopen=no
14984     fi
14985     rm -f core conftest.err conftest.$ac_objext \
14986     conftest$ac_exeext conftest.$ac_ext
14987     LIBS=$ac_check_lib_save_LIBS
14988     fi
14989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14990     $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14991     if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
14992     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14993     else
14994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14995     $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14996     if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
14997     $as_echo_n "(cached) " >&6
14998     else
14999     ac_check_lib_save_LIBS=$LIBS
15000     LIBS="-lsvld $LIBS"
15001     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002     /* end confdefs.h. */
15003    
15004     /* Override any GCC internal prototype to avoid an error.
15005     Use char because int might match the return type of a GCC
15006     builtin and then its argument prototype would still apply. */
15007     #ifdef __cplusplus
15008     extern "C"
15009     #endif
15010     char dlopen ();
15011     int
15012     main ()
15013     {
15014     return dlopen ();
15015     ;
15016     return 0;
15017     }
15018     _ACEOF
15019     if ac_fn_c_try_link "$LINENO"; then :
15020     ac_cv_lib_svld_dlopen=yes
15021     else
15022     ac_cv_lib_svld_dlopen=no
15023     fi
15024     rm -f core conftest.err conftest.$ac_objext \
15025     conftest$ac_exeext conftest.$ac_ext
15026     LIBS=$ac_check_lib_save_LIBS
15027     fi
15028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15029     $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
15030     if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
15031     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15032     else
15033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15034     $as_echo_n "checking for dld_link in -ldld... " >&6; }
15035     if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
15036     $as_echo_n "(cached) " >&6
15037     else
15038     ac_check_lib_save_LIBS=$LIBS
15039     LIBS="-ldld $LIBS"
15040     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041     /* end confdefs.h. */
15042    
15043     /* Override any GCC internal prototype to avoid an error.
15044     Use char because int might match the return type of a GCC
15045     builtin and then its argument prototype would still apply. */
15046     #ifdef __cplusplus
15047     extern "C"
15048     #endif
15049     char dld_link ();
15050     int
15051     main ()
15052     {
15053     return dld_link ();
15054     ;
15055     return 0;
15056     }
15057     _ACEOF
15058     if ac_fn_c_try_link "$LINENO"; then :
15059     ac_cv_lib_dld_dld_link=yes
15060     else
15061     ac_cv_lib_dld_dld_link=no
15062     fi
15063     rm -f core conftest.err conftest.$ac_objext \
15064     conftest$ac_exeext conftest.$ac_ext
15065     LIBS=$ac_check_lib_save_LIBS
15066     fi
15067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15068     $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
15069     if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
15070     lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
15071     fi
15072    
15073    
15074     fi
15075    
15076    
15077     fi
15078    
15079    
15080     fi
15081    
15082    
15083     fi
15084    
15085    
15086     fi
15087    
15088     ;;
15089     esac
15090    
15091     if test "x$lt_cv_dlopen" != xno; then
15092     enable_dlopen=yes
15093     else
15094     enable_dlopen=no
15095     fi
15096    
15097     case $lt_cv_dlopen in
15098     dlopen)
15099     save_CPPFLAGS="$CPPFLAGS"
15100     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15101    
15102     save_LDFLAGS="$LDFLAGS"
15103     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15104    
15105     save_LIBS="$LIBS"
15106     LIBS="$lt_cv_dlopen_libs $LIBS"
15107    
15108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15109     $as_echo_n "checking whether a program can dlopen itself... " >&6; }
15110     if test "${lt_cv_dlopen_self+set}" = set; then :
15111     $as_echo_n "(cached) " >&6
15112     else
15113     if test "$cross_compiling" = yes; then :
15114     lt_cv_dlopen_self=cross
15115     else
15116     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15117     lt_status=$lt_dlunknown
15118     cat > conftest.$ac_ext <<_LT_EOF
15119     #line 15119 "configure"
15120     #include "confdefs.h"
15121    
15122     #if HAVE_DLFCN_H
15123     #include <dlfcn.h>
15124     #endif
15125    
15126     #include <stdio.h>
15127    
15128     #ifdef RTLD_GLOBAL
15129     # define LT_DLGLOBAL RTLD_GLOBAL
15130     #else
15131     # ifdef DL_GLOBAL
15132     # define LT_DLGLOBAL DL_GLOBAL
15133     # else
15134     # define LT_DLGLOBAL 0
15135     # endif
15136     #endif
15137    
15138     /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15139     find out it does not work in some platform. */
15140     #ifndef LT_DLLAZY_OR_NOW
15141     # ifdef RTLD_LAZY
15142     # define LT_DLLAZY_OR_NOW RTLD_LAZY
15143     # else
15144     # ifdef DL_LAZY
15145     # define LT_DLLAZY_OR_NOW DL_LAZY
15146     # else
15147     # ifdef RTLD_NOW
15148     # define LT_DLLAZY_OR_NOW RTLD_NOW
15149     # else
15150     # ifdef DL_NOW
15151     # define LT_DLLAZY_OR_NOW DL_NOW
15152     # else
15153     # define LT_DLLAZY_OR_NOW 0
15154     # endif
15155     # endif
15156     # endif
15157     # endif
15158     #endif
15159    
15160     void fnord() { int i=42;}
15161     int main ()
15162     {
15163     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15164     int status = $lt_dlunknown;
15165    
15166     if (self)
15167     {
15168     if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15169     else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15170     /* dlclose (self); */
15171     }
15172     else
15173     puts (dlerror ());
15174    
15175     return status;
15176     }
15177     _LT_EOF
15178     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15179     (eval $ac_link) 2>&5
15180     ac_status=$?
15181     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15182     test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
15183     (./conftest; exit; ) >&5 2>/dev/null
15184     lt_status=$?
15185     case x$lt_status in
15186     x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15187     x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15188     x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15189     esac
15190     else :
15191     # compilation failed
15192     lt_cv_dlopen_self=no
15193     fi
15194     fi
15195     rm -fr conftest*
15196    
15197    
15198     fi
15199     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15200     $as_echo "$lt_cv_dlopen_self" >&6; }
15201    
15202     if test "x$lt_cv_dlopen_self" = xyes; then
15203     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15204     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15205     $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
15206     if test "${lt_cv_dlopen_self_static+set}" = set; then :
15207     $as_echo_n "(cached) " >&6
15208     else
15209     if test "$cross_compiling" = yes; then :
15210     lt_cv_dlopen_self_static=cross
15211     else
15212     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15213     lt_status=$lt_dlunknown
15214     cat > conftest.$ac_ext <<_LT_EOF
15215     #line 15215 "configure"
15216     #include "confdefs.h"
15217    
15218     #if HAVE_DLFCN_H
15219     #include <dlfcn.h>
15220     #endif
15221    
15222     #include <stdio.h>
15223    
15224     #ifdef RTLD_GLOBAL
15225     # define LT_DLGLOBAL RTLD_GLOBAL
15226     #else
15227     # ifdef DL_GLOBAL
15228     # define LT_DLGLOBAL DL_GLOBAL
15229     # else
15230     # define LT_DLGLOBAL 0
15231     # endif
15232     #endif
15233    
15234     /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15235     find out it does not work in some platform. */
15236     #ifndef LT_DLLAZY_OR_NOW
15237     # ifdef RTLD_LAZY
15238     # define LT_DLLAZY_OR_NOW RTLD_LAZY
15239     # else
15240     # ifdef DL_LAZY
15241     # define LT_DLLAZY_OR_NOW DL_LAZY
15242     # else
15243     # ifdef RTLD_NOW
15244     # define LT_DLLAZY_OR_NOW RTLD_NOW
15245     # else
15246     # ifdef DL_NOW
15247     # define LT_DLLAZY_OR_NOW DL_NOW
15248     # else
15249     # define LT_DLLAZY_OR_NOW 0
15250     # endif
15251     # endif
15252     # endif
15253     # endif
15254     #endif
15255    
15256     void fnord() { int i=42;}
15257     int main ()
15258     {
15259     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15260     int status = $lt_dlunknown;
15261    
15262     if (self)
15263     {
15264     if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15265     else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15266     /* dlclose (self); */
15267     }
15268     else
15269     puts (dlerror ());
15270    
15271     return status;
15272     }
15273     _LT_EOF
15274     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15275     (eval $ac_link) 2>&5
15276     ac_status=$?
15277     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15278     test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
15279     (./conftest; exit; ) >&5 2>/dev/null
15280     lt_status=$?
15281     case x$lt_status in
15282     x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15283     x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15284     x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15285     esac
15286     else :
15287     # compilation failed
15288     lt_cv_dlopen_self_static=no
15289     fi
15290     fi
15291     rm -fr conftest*
15292    
15293    
15294     fi
15295     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15296     $as_echo "$lt_cv_dlopen_self_static" >&6; }
15297     fi
15298    
15299     CPPFLAGS="$save_CPPFLAGS"
15300     LDFLAGS="$save_LDFLAGS"
15301     LIBS="$save_LIBS"
15302     ;;
15303     esac
15304    
15305     case $lt_cv_dlopen_self in
15306     yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15307     *) enable_dlopen_self=unknown ;;
15308     esac
15309    
15310     case $lt_cv_dlopen_self_static in
15311     yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15312     *) enable_dlopen_self_static=unknown ;;
15313     esac
15314     fi
15315    
15316    
15317    
15318    
15319    
15320    
15321    
15322    
15323    
15324    
15325    
15326    
15327    
15328    
15329    
15330    
15331    
15332     striplib=
15333     old_striplib=
15334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15335     $as_echo_n "checking whether stripping libraries is possible... " >&6; }
15336     if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15337     test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15338     test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15339     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15340     $as_echo "yes" >&6; }
15341     else
15342     # FIXME - insert some real tests, host_os isn't really good enough
15343     case $host_os in
15344     darwin*)
15345     if test -n "$STRIP" ; then
15346     striplib="$STRIP -x"
15347     old_striplib="$STRIP -S"
15348     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15349     $as_echo "yes" >&6; }
15350     else
15351     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15352     $as_echo "no" >&6; }
15353     fi
15354     ;;
15355     *)
15356     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15357     $as_echo "no" >&6; }
15358     ;;
15359     esac
15360     fi
15361    
15362    
15363    
15364    
15365    
15366    
15367    
15368    
15369    
15370    
15371    
15372    
15373     # Report which library types will actually be built
15374     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15375     $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15376     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15377     $as_echo "$can_build_shared" >&6; }
15378    
15379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15380     $as_echo_n "checking whether to build shared libraries... " >&6; }
15381     test "$can_build_shared" = "no" && enable_shared=no
15382    
15383     # On AIX, shared libraries and static libraries use the same namespace, and
15384     # are all built from PIC.
15385     case $host_os in
15386     aix3*)
15387     test "$enable_shared" = yes && enable_static=no
15388     if test -n "$RANLIB"; then
15389     archive_cmds="$archive_cmds~\$RANLIB \$lib"
15390     postinstall_cmds='$RANLIB $lib'
15391     fi
15392     ;;
15393    
15394     aix[4-9]*)
15395     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15396     test "$enable_shared" = yes && enable_static=no
15397     fi
15398     ;;
15399     esac
15400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15401     $as_echo "$enable_shared" >&6; }
15402    
15403     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15404     $as_echo_n "checking whether to build static libraries... " >&6; }
15405     # Make sure either enable_shared or enable_static is yes.
15406     test "$enable_shared" = yes || enable_static=yes
15407     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15408     $as_echo "$enable_static" >&6; }
15409    
15410    
15411    
15412    
15413     fi
15414     ac_ext=c
15415     ac_cpp='$CPP $CPPFLAGS'
15416     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15417     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15418     ac_compiler_gnu=$ac_cv_c_compiler_gnu
15419    
15420     CC="$lt_save_CC"
15421    
15422    
15423     ac_ext=cpp
15424     ac_cpp='$CXXCPP $CPPFLAGS'
15425     ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15426     ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15427     ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15428    
15429     archive_cmds_need_lc_CXX=no
15430     allow_undefined_flag_CXX=
15431     always_export_symbols_CXX=no
15432     archive_expsym_cmds_CXX=
15433     compiler_needs_object_CXX=no
15434     export_dynamic_flag_spec_CXX=
15435     hardcode_direct_CXX=no
15436     hardcode_direct_absolute_CXX=no
15437     hardcode_libdir_flag_spec_CXX=
15438     hardcode_libdir_flag_spec_ld_CXX=
15439     hardcode_libdir_separator_CXX=
15440     hardcode_minus_L_CXX=no
15441     hardcode_shlibpath_var_CXX=unsupported
15442     hardcode_automatic_CXX=no
15443     inherit_rpath_CXX=no
15444     module_cmds_CXX=
15445     module_expsym_cmds_CXX=
15446     link_all_deplibs_CXX=unknown
15447     old_archive_cmds_CXX=$old_archive_cmds
15448     no_undefined_flag_CXX=
15449     whole_archive_flag_spec_CXX=
15450     enable_shared_with_static_runtimes_CXX=no
15451    
15452     # Source file extension for C++ test sources.
15453     ac_ext=cpp
15454    
15455     # Object file extension for compiled C++ test sources.
15456     objext=o
15457     objext_CXX=$objext
15458    
15459     # No sense in running all these tests if we already determined that
15460     # the CXX compiler isn't working. Some variables (like enable_shared)
15461     # are currently assumed to apply to all compilers on this platform,
15462     # and will be corrupted by setting them based on a non-working compiler.
15463     if test "$_lt_caught_CXX_error" != yes; then
15464     # Code to be used in simple compile tests
15465     lt_simple_compile_test_code="int some_variable = 0;"
15466    
15467     # Code to be used in simple link tests
15468     lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15469    
15470     # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15471    
15472    
15473    
15474    
15475    
15476    
15477     # If no C compiler was specified, use CC.
15478     LTCC=${LTCC-"$CC"}
15479    
15480     # If no C compiler flags were specified, use CFLAGS.
15481     LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15482    
15483     # Allow CC to be a program name with arguments.
15484     compiler=$CC
15485    
15486    
15487     # save warnings/boilerplate of simple test code
15488     ac_outfile=conftest.$ac_objext
15489     echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15490     eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15491     _lt_compiler_boilerplate=`cat conftest.err`
15492     $RM conftest*
15493    
15494     ac_outfile=conftest.$ac_objext
15495     echo "$lt_simple_link_test_code" >conftest.$ac_ext
15496     eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15497     _lt_linker_boilerplate=`cat conftest.err`
15498     $RM -r conftest*
15499    
15500    
15501     # Allow CC to be a program name with arguments.
15502     lt_save_CC=$CC
15503     lt_save_LD=$LD
15504     lt_save_GCC=$GCC
15505     GCC=$GXX
15506     lt_save_with_gnu_ld=$with_gnu_ld
15507     lt_save_path_LD=$lt_cv_path_LD
15508     if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15509     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15510     else
15511     $as_unset lt_cv_prog_gnu_ld
15512     fi
15513     if test -n "${lt_cv_path_LDCXX+set}"; then
15514     lt_cv_path_LD=$lt_cv_path_LDCXX
15515     else
15516     $as_unset lt_cv_path_LD
15517     fi
15518     test -z "${LDCXX+set}" || LD=$LDCXX
15519     CC=${CXX-"c++"}
15520     compiler=$CC
15521     compiler_CXX=$CC
15522     for cc_temp in $compiler""; do
15523     case $cc_temp in
15524     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15525     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15526     \-*) ;;
15527     *) break;;
15528     esac
15529     done
15530     cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15531    
15532    
15533     if test -n "$compiler"; then
15534     # We don't want -fno-exception when compiling C++ code, so set the
15535     # no_builtin_flag separately
15536     if test "$GXX" = yes; then
15537     lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15538     else
15539     lt_prog_compiler_no_builtin_flag_CXX=
15540     fi
15541    
15542     if test "$GXX" = yes; then
15543     # Set up default GNU C++ configuration
15544    
15545    
15546    
15547     # Check whether --with-gnu-ld was given.
15548     if test "${with_gnu_ld+set}" = set; then :
15549     withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15550     else
15551     with_gnu_ld=no
15552     fi
15553    
15554     ac_prog=ld
15555     if test "$GCC" = yes; then
15556     # Check if gcc -print-prog-name=ld gives a path.
15557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15558     $as_echo_n "checking for ld used by $CC... " >&6; }
15559     case $host in
15560     *-*-mingw*)
15561     # gcc leaves a trailing carriage return which upsets mingw
15562     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15563     *)
15564     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15565     esac
15566     case $ac_prog in
15567     # Accept absolute paths.
15568     [\\/]* | ?:[\\/]*)
15569     re_direlt='/[^/][^/]*/\.\./'
15570     # Canonicalize the pathname of ld
15571     ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15572     while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15573     ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15574     done
15575     test -z "$LD" && LD="$ac_prog"
15576     ;;
15577     "")
15578     # If it fails, then pretend we aren't using GCC.
15579     ac_prog=ld
15580     ;;
15581     *)
15582     # If it is relative, then search for the first ld in PATH.
15583     with_gnu_ld=unknown
15584     ;;
15585     esac
15586     elif test "$with_gnu_ld" = yes; then
15587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15588     $as_echo_n "checking for GNU ld... " >&6; }
15589     else
15590     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15591     $as_echo_n "checking for non-GNU ld... " >&6; }
15592     fi
15593     if test "${lt_cv_path_LD+set}" = set; then :
15594     $as_echo_n "(cached) " >&6
15595     else
15596     if test -z "$LD"; then
15597     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15598     for ac_dir in $PATH; do
15599     IFS="$lt_save_ifs"
15600     test -z "$ac_dir" && ac_dir=.
15601     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15602     lt_cv_path_LD="$ac_dir/$ac_prog"
15603     # Check to see if the program is GNU ld. I'd rather use --version,
15604     # but apparently some variants of GNU ld only accept -v.
15605     # Break only if it was the GNU/non-GNU ld that we prefer.
15606     case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15607     *GNU* | *'with BFD'*)
15608     test "$with_gnu_ld" != no && break
15609     ;;
15610     *)
15611     test "$with_gnu_ld" != yes && break
15612     ;;
15613     esac
15614     fi
15615     done
15616     IFS="$lt_save_ifs"
15617     else
15618     lt_cv_path_LD="$LD" # Let the user override the test with a path.
15619     fi
15620     fi
15621    
15622     LD="$lt_cv_path_LD"
15623     if test -n "$LD"; then
15624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15625     $as_echo "$LD" >&6; }
15626     else
15627     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15628     $as_echo "no" >&6; }
15629     fi
15630     test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
15631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15632     $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15633     if test "${lt_cv_prog_gnu_ld+set}" = set; then :
15634     $as_echo_n "(cached) " >&6
15635     else
15636     # I'd rather use --version here, but apparently some GNU lds only accept -v.
15637     case `$LD -v 2>&1 </dev/null` in
15638     *GNU* | *'with BFD'*)
15639     lt_cv_prog_gnu_ld=yes
15640     ;;
15641     *)
15642     lt_cv_prog_gnu_ld=no
15643     ;;
15644     esac
15645     fi
15646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15647     $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15648     with_gnu_ld=$lt_cv_prog_gnu_ld
15649    
15650    
15651    
15652    
15653    
15654    
15655    
15656     # Check if GNU C++ uses GNU ld as the underlying linker, since the
15657     # archiving commands below assume that GNU ld is being used.
15658     if test "$with_gnu_ld" = yes; then
15659     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15660     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15661    
15662     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15663     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15664    
15665     # If archive_cmds runs LD, not CC, wlarc should be empty
15666     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15667     # investigate it a little bit more. (MM)
15668     wlarc='${wl}'
15669    
15670     # ancient GNU ld didn't support --whole-archive et. al.
15671     if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15672     $GREP 'no-whole-archive' > /dev/null; then
15673     whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15674     else
15675     whole_archive_flag_spec_CXX=
15676     fi
15677     else
15678     with_gnu_ld=no
15679     wlarc=
15680    
15681     # A generic and very simple default shared library creation
15682     # command for GNU C++ for the case where it uses the native
15683     # linker, instead of GNU ld. If possible, this setting should
15684     # overridden to take advantage of the native linker features on
15685     # the platform it is being used on.
15686     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15687     fi
15688    
15689     # Commands to make compiler produce verbose output that lists
15690     # what "hidden" libraries, object files and flags are used when
15691     # linking a shared library.
15692     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15693    
15694     else
15695     GXX=no
15696     with_gnu_ld=no
15697     wlarc=
15698     fi
15699    
15700     # PORTME: fill in a description of your system's C++ link characteristics
15701     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15702     $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15703     ld_shlibs_CXX=yes
15704     case $host_os in
15705     aix3*)
15706     # FIXME: insert proper C++ library support
15707     ld_shlibs_CXX=no
15708     ;;
15709     aix[4-9]*)
15710     if test "$host_cpu" = ia64; then
15711     # On IA64, the linker does run time linking by default, so we don't
15712     # have to do anything special.
15713     aix_use_runtimelinking=no
15714     exp_sym_flag='-Bexport'
15715     no_entry_flag=""
15716     else
15717     aix_use_runtimelinking=no
15718    
15719     # Test if we are trying to use run time linking or normal
15720     # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15721     # need to do runtime linking.
15722     case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15723     for ld_flag in $LDFLAGS; do
15724     case $ld_flag in
15725     *-brtl*)
15726     aix_use_runtimelinking=yes
15727     break
15728     ;;
15729     esac
15730     done
15731     ;;
15732     esac
15733    
15734     exp_sym_flag='-bexport'
15735     no_entry_flag='-bnoentry'
15736     fi
15737    
15738     # When large executables or shared objects are built, AIX ld can
15739     # have problems creating the table of contents. If linking a library
15740     # or program results in "error TOC overflow" add -mminimal-toc to
15741     # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15742     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15743    
15744     archive_cmds_CXX=''
15745     hardcode_direct_CXX=yes
15746     hardcode_direct_absolute_CXX=yes
15747     hardcode_libdir_separator_CXX=':'
15748     link_all_deplibs_CXX=yes
15749     file_list_spec_CXX='${wl}-f,'
15750    
15751     if test "$GXX" = yes; then
15752     case $host_os in aix4.[012]|aix4.[012].*)
15753     # We only want to do this on AIX 4.2 and lower, the check
15754     # below for broken collect2 doesn't work under 4.3+
15755     collect2name=`${CC} -print-prog-name=collect2`
15756     if test -f "$collect2name" &&
15757     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15758     then
15759     # We have reworked collect2
15760     :
15761     else
15762     # We have old collect2
15763     hardcode_direct_CXX=unsupported
15764     # It fails to find uninstalled libraries when the uninstalled
15765     # path is not listed in the libpath. Setting hardcode_minus_L
15766     # to unsupported forces relinking
15767     hardcode_minus_L_CXX=yes
15768     hardcode_libdir_flag_spec_CXX='-L$libdir'
15769     hardcode_libdir_separator_CXX=
15770     fi
15771     esac
15772     shared_flag='-shared'
15773     if test "$aix_use_runtimelinking" = yes; then
15774     shared_flag="$shared_flag "'${wl}-G'
15775     fi
15776     else
15777     # not using gcc
15778     if test "$host_cpu" = ia64; then
15779     # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15780     # chokes on -Wl,-G. The following line is correct:
15781     shared_flag='-G'
15782     else
15783     if test "$aix_use_runtimelinking" = yes; then
15784     shared_flag='${wl}-G'
15785     else
15786     shared_flag='${wl}-bM:SRE'
15787     fi
15788     fi
15789     fi
15790    
15791     export_dynamic_flag_spec_CXX='${wl}-bexpall'
15792     # It seems that -bexpall does not export symbols beginning with
15793     # underscore (_), so it is better to generate a list of symbols to
15794     # export.
15795     always_export_symbols_CXX=yes
15796     if test "$aix_use_runtimelinking" = yes; then
15797     # Warning - without using the other runtime loading flags (-brtl),
15798     # -berok will link without error, but may produce a broken library.
15799     allow_undefined_flag_CXX='-berok'
15800     # Determine the default libpath from the value encoded in an empty
15801     # executable.
15802     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803     /* end confdefs.h. */
15804    
15805     int
15806     main ()
15807     {
15808    
15809     ;
15810     return 0;
15811     }
15812     _ACEOF
15813     if ac_fn_cxx_try_link "$LINENO"; then :
15814    
15815     lt_aix_libpath_sed='
15816     /Import File Strings/,/^$/ {
15817     /^0/ {
15818     s/^0 *\(.*\)$/\1/
15819     p
15820     }
15821     }'
15822     aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15823     # Check for a 64-bit object if we didn't find anything.
15824     if test -z "$aix_libpath"; then
15825     aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15826     fi
15827     fi
15828     rm -f core conftest.err conftest.$ac_objext \
15829     conftest$ac_exeext conftest.$ac_ext
15830     if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15831    
15832     hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15833    
15834     archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15835     else
15836     if test "$host_cpu" = ia64; then
15837     hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15838     allow_undefined_flag_CXX="-z nodefs"
15839     archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15840     else
15841     # Determine the default libpath from the value encoded in an
15842     # empty executable.
15843     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844     /* end confdefs.h. */
15845    
15846     int
15847     main ()
15848     {
15849    
15850     ;
15851     return 0;
15852     }
15853     _ACEOF
15854     if ac_fn_cxx_try_link "$LINENO"; then :
15855    
15856     lt_aix_libpath_sed='
15857     /Import File Strings/,/^$/ {
15858     /^0/ {
15859     s/^0 *\(.*\)$/\1/
15860     p
15861     }
15862     }'
15863     aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15864     # Check for a 64-bit object if we didn't find anything.
15865     if test -z "$aix_libpath"; then
15866     aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15867     fi
15868     fi
15869     rm -f core conftest.err conftest.$ac_objext \
15870     conftest$ac_exeext conftest.$ac_ext
15871     if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15872    
15873     hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15874     # Warning - without using the other run time loading flags,
15875     # -berok will link without error, but may produce a broken library.
15876     no_undefined_flag_CXX=' ${wl}-bernotok'
15877     allow_undefined_flag_CXX=' ${wl}-berok'
15878     # Exported symbols can be pulled into shared objects from archives
15879     whole_archive_flag_spec_CXX='$convenience'
15880     archive_cmds_need_lc_CXX=yes
15881     # This is similar to how AIX traditionally builds its shared
15882     # libraries.
15883     archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15884     fi
15885     fi
15886     ;;
15887    
15888     beos*)
15889     if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15890     allow_undefined_flag_CXX=unsupported
15891     # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15892     # support --undefined. This deserves some investigation. FIXME
15893     archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15894     else
15895     ld_shlibs_CXX=no
15896     fi
15897     ;;
15898    
15899     chorus*)
15900     case $cc_basename in
15901     *)
15902     # FIXME: insert proper C++ library support
15903     ld_shlibs_CXX=no
15904     ;;
15905     esac
15906     ;;
15907    
15908     cygwin* | mingw* | pw32* | cegcc*)
15909     # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15910     # as there is no search path for DLLs.
15911     hardcode_libdir_flag_spec_CXX='-L$libdir'
15912     allow_undefined_flag_CXX=unsupported
15913     always_export_symbols_CXX=no
15914     enable_shared_with_static_runtimes_CXX=yes
15915    
15916     if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15917     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15918     # If the export-symbols file already is a .def file (1st line
15919     # is EXPORTS), use it as is; otherwise, prepend...
15920     archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15921     cp $export_symbols $output_objdir/$soname.def;
15922     else
15923     echo EXPORTS > $output_objdir/$soname.def;
15924     cat $export_symbols >> $output_objdir/$soname.def;
15925     fi~
15926     $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15927     else
15928     ld_shlibs_CXX=no
15929     fi
15930     ;;
15931     darwin* | rhapsody*)
15932    
15933    
15934     archive_cmds_need_lc_CXX=no
15935     hardcode_direct_CXX=no
15936     hardcode_automatic_CXX=yes
15937     hardcode_shlibpath_var_CXX=unsupported
15938     whole_archive_flag_spec_CXX=''
15939     link_all_deplibs_CXX=yes
15940     allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15941     case $cc_basename in
15942     ifort*) _lt_dar_can_shared=yes ;;
15943     *) _lt_dar_can_shared=$GCC ;;
15944     esac
15945     if test "$_lt_dar_can_shared" = "yes"; then
15946     output_verbose_link_cmd=echo
15947     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15948     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15949     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15950     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15951     if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15952     archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15953     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15954     fi
15955    
15956     else
15957     ld_shlibs_CXX=no
15958     fi
15959    
15960     ;;
15961    
15962     dgux*)
15963     case $cc_basename in
15964     ec++*)
15965     # FIXME: insert proper C++ library support
15966     ld_shlibs_CXX=no
15967     ;;
15968     ghcx*)
15969     # Green Hills C++ Compiler
15970     # FIXME: insert proper C++ library support
15971     ld_shlibs_CXX=no
15972     ;;
15973     *)
15974     # FIXME: insert proper C++ library support
15975     ld_shlibs_CXX=no
15976     ;;
15977     esac
15978     ;;
15979    
15980     freebsd[12]*)
15981     # C++ shared libraries reported to be fairly broken before
15982     # switch to ELF
15983     ld_shlibs_CXX=no
15984     ;;
15985    
15986     freebsd-elf*)
15987     archive_cmds_need_lc_CXX=no
15988     ;;
15989    
15990     freebsd* | dragonfly*)
15991     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15992     # conventions
15993     ld_shlibs_CXX=yes
15994     ;;
15995    
15996     gnu*)
15997     ;;
15998    
15999     hpux9*)
16000     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16001     hardcode_libdir_separator_CXX=:
16002     export_dynamic_flag_spec_CXX='${wl}-E'
16003     hardcode_direct_CXX=yes
16004     hardcode_minus_L_CXX=yes # Not in the search PATH,
16005     # but as the default
16006     # location of the library.
16007    
16008     case $cc_basename in
16009     CC*)
16010     # FIXME: insert proper C++ library support
16011     ld_shlibs_CXX=no
16012     ;;
16013     aCC*)
16014     archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16015     # Commands to make compiler produce verbose output that lists
16016     # what "hidden" libraries, object files and flags are used when
16017     # linking a shared library.
16018     #
16019     # There doesn't appear to be a way to prevent this compiler from
16020     # explicitly linking system object files so we need to strip them
16021     # from the output so that they don't get included in the library
16022     # dependencies.
16023     output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16024     ;;
16025     *)
16026     if test "$GXX" = yes; then
16027     archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16028     else
16029     # FIXME: insert proper C++ library support
16030     ld_shlibs_CXX=no
16031     fi
16032     ;;
16033     esac
16034     ;;
16035    
16036     hpux10*|hpux11*)
16037     if test $with_gnu_ld = no; then
16038     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16039     hardcode_libdir_separator_CXX=:
16040    
16041     case $host_cpu in
16042     hppa*64*|ia64*)
16043     ;;
16044     *)
16045     export_dynamic_flag_spec_CXX='${wl}-E'
16046     ;;
16047     esac
16048     fi
16049     case $host_cpu in
16050     hppa*64*|ia64*)
16051     hardcode_direct_CXX=no
16052     hardcode_shlibpath_var_CXX=no
16053     ;;
16054     *)
16055     hardcode_direct_CXX=yes
16056     hardcode_direct_absolute_CXX=yes
16057     hardcode_minus_L_CXX=yes # Not in the search PATH,
16058     # but as the default
16059     # location of the library.
16060     ;;
16061     esac
16062    
16063     case $cc_basename in
16064     CC*)
16065     # FIXME: insert proper C++ library support
16066     ld_shlibs_CXX=no
16067     ;;
16068     aCC*)
16069     case $host_cpu in
16070     hppa*64*)
16071     archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16072     ;;
16073     ia64*)
16074     archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16075     ;;
16076     *)
16077     archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16078     ;;
16079     esac
16080     # Commands to make compiler produce verbose output that lists
16081     # what "hidden" libraries, object files and flags are used when
16082     # linking a shared library.
16083     #
16084     # There doesn't appear to be a way to prevent this compiler from
16085     # explicitly linking system object files so we need to strip them
16086     # from the output so that they don't get included in the library
16087     # dependencies.
16088     output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16089     ;;
16090     *)
16091     if test "$GXX" = yes; then
16092     if test $with_gnu_ld = no; then
16093     case $host_cpu in
16094     hppa*64*)
16095     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16096     ;;
16097     ia64*)
16098     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16099     ;;
16100     *)
16101     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16102     ;;
16103     esac
16104     fi
16105     else
16106     # FIXME: insert proper C++ library support
16107     ld_shlibs_CXX=no
16108     fi
16109     ;;
16110     esac
16111     ;;
16112    
16113     interix[3-9]*)
16114     hardcode_direct_CXX=no
16115     hardcode_shlibpath_var_CXX=no
16116     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16117     export_dynamic_flag_spec_CXX='${wl}-E'
16118     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16119     # Instead, shared libraries are loaded at an image base (0x10000000 by
16120     # default) and relocated if they conflict, which is a slow very memory
16121     # consuming and fragmenting process. To avoid this, we pick a random,
16122     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16123     # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16124     archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16125     archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16126     ;;
16127     irix5* | irix6*)
16128     case $cc_basename in
16129     CC*)
16130     # SGI C++
16131     archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16132    
16133     # Archives containing C++ object files must be created using
16134     # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16135     # necessary to make sure instantiated templates are included
16136     # in the archive.
16137     old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16138     ;;
16139     *)
16140     if test "$GXX" = yes; then
16141     if test "$with_gnu_ld" = no; then
16142     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16143     else
16144     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
16145     fi
16146     fi
16147     link_all_deplibs_CXX=yes
16148     ;;
16149     esac
16150     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16151     hardcode_libdir_separator_CXX=:
16152     inherit_rpath_CXX=yes
16153     ;;
16154    
16155     linux* | k*bsd*-gnu | kopensolaris*-gnu)
16156     case $cc_basename in
16157     KCC*)
16158     # Kuck and Associates, Inc. (KAI) C++ Compiler
16159    
16160     # KCC will only create a shared library if the output file
16161     # ends with ".so" (or ".sl" for HP-UX), so rename the library
16162     # to its proper name (with version) after linking.
16163     archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16164     archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
16165     # Commands to make compiler produce verbose output that lists
16166     # what "hidden" libraries, object files and flags are used when
16167     # linking a shared library.
16168     #
16169     # There doesn't appear to be a way to prevent this compiler from
16170     # explicitly linking system object files so we need to strip them
16171     # from the output so that they don't get included in the library
16172     # dependencies.
16173     output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16174    
16175     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16176     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16177    
16178     # Archives containing C++ object files must be created using
16179     # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16180     old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16181     ;;
16182     icpc* | ecpc* )
16183     # Intel C++
16184     with_gnu_ld=yes
16185     # version 8.0 and above of icpc choke on multiply defined symbols
16186     # if we add $predep_objects and $postdep_objects, however 7.1 and
16187     # earlier do not add the objects themselves.
16188     case `$CC -V 2>&1` in
16189     *"Version 7."*)
16190     archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16191     archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16192     ;;
16193     *) # Version 8.0 or newer
16194     tmp_idyn=
16195     case $host_cpu in
16196     ia64*) tmp_idyn=' -i_dynamic';;
16197     esac
16198     archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16199     archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16200     ;;
16201     esac
16202     archive_cmds_need_lc_CXX=no
16203     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16204     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16205     whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16206     ;;
16207     pgCC* | pgcpp*)
16208     # Portland Group C++ compiler
16209     case `$CC -V` in
16210     *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
16211     prelink_cmds_CXX='tpldir=Template.dir~
16212     rm -rf $tpldir~
16213     $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16214     compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
16215     old_archive_cmds_CXX='tpldir=Template.dir~
16216     rm -rf $tpldir~
16217     $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16218     $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
16219     $RANLIB $oldlib'
16220     archive_cmds_CXX='tpldir=Template.dir~
16221     rm -rf $tpldir~
16222     $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16223     $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16224     archive_expsym_cmds_CXX='tpldir=Template.dir~
16225     rm -rf $tpldir~
16226     $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16227     $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
16228     ;;
16229     *) # Version 6 will use weak symbols
16230     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16231     archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
16232     ;;
16233     esac
16234    
16235     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16236     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16237     whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16238     ;;
16239     cxx*)
16240     # Compaq C++
16241     archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16242     archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
16243    
16244     runpath_var=LD_RUN_PATH
16245     hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16246     hardcode_libdir_separator_CXX=:
16247    
16248     # Commands to make compiler produce verbose output that lists
16249     # what "hidden" libraries, object files and flags are used when
16250     # linking a shared library.
16251     #
16252     # There doesn't appear to be a way to prevent this compiler from
16253     # explicitly linking system object files so we need to strip them
16254     # from the output so that they don't get included in the library
16255     # dependencies.
16256     output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16257     ;;
16258     xl*)
16259     # IBM XL 8.0 on PPC, with GNU ld
16260     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16261     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16262     archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16263     if test "x$supports_anon_versioning" = xyes; then
16264     archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16265     cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16266     echo "local: *; };" >> $output_objdir/$libname.ver~
16267     $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16268     fi
16269     ;;
16270     *)
16271     case `$CC -V 2>&1 | sed 5q` in
16272     *Sun\ C*)
16273     # Sun C++ 5.9
16274     no_undefined_flag_CXX=' -zdefs'
16275     archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16276     archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
16277     hardcode_libdir_flag_spec_CXX='-R$libdir'
16278     whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16279     compiler_needs_object_CXX=yes
16280    
16281     # Not sure whether something based on
16282     # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16283     # would be better.
16284     output_verbose_link_cmd='echo'
16285    
16286     # Archives containing C++ object files must be created using
16287     # "CC -xar", where "CC" is the Sun C++ compiler. This is
16288     # necessary to make sure instantiated templates are included
16289     # in the archive.
16290     old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16291     ;;
16292     esac
16293     ;;
16294     esac
16295     ;;
16296    
16297     lynxos*)
16298     # FIXME: insert proper C++ library support
16299     ld_shlibs_CXX=no
16300     ;;
16301    
16302     m88k*)
16303     # FIXME: insert proper C++ library support
16304     ld_shlibs_CXX=no
16305     ;;
16306    
16307     mvs*)
16308     case $cc_basename in
16309     cxx*)
16310     # FIXME: insert proper C++ library support
16311     ld_shlibs_CXX=no
16312     ;;
16313     *)
16314     # FIXME: insert proper C++ library support
16315     ld_shlibs_CXX=no
16316     ;;
16317     esac
16318     ;;
16319    
16320     netbsd*)
16321     if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16322     archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16323     wlarc=
16324     hardcode_libdir_flag_spec_CXX='-R$libdir'
16325     hardcode_direct_CXX=yes
16326     hardcode_shlibpath_var_CXX=no
16327     fi
16328     # Workaround some broken pre-1.5 toolchains
16329     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16330     ;;
16331    
16332     *nto* | *qnx*)
16333     ld_shlibs_CXX=yes
16334     ;;
16335    
16336     openbsd2*)
16337     # C++ shared libraries are fairly broken
16338     ld_shlibs_CXX=no
16339     ;;
16340    
16341     openbsd*)
16342     if test -f /usr/libexec/ld.so; then
16343     hardcode_direct_CXX=yes
16344     hardcode_shlibpath_var_CXX=no
16345     hardcode_direct_absolute_CXX=yes
16346     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16347     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16348     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16349     archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16350     export_dynamic_flag_spec_CXX='${wl}-E'
16351     whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16352     fi
16353     output_verbose_link_cmd=echo
16354     else
16355     ld_shlibs_CXX=no
16356     fi
16357     ;;
16358    
16359     osf3* | osf4* | osf5*)
16360     case $cc_basename in
16361     KCC*)
16362     # Kuck and Associates, Inc. (KAI) C++ Compiler
16363    
16364     # KCC will only create a shared library if the output file
16365     # ends with ".so" (or ".sl" for HP-UX), so rename the library
16366     # to its proper name (with version) after linking.
16367     archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16368    
16369     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16370     hardcode_libdir_separator_CXX=:
16371    
16372     # Archives containing C++ object files must be created using
16373     # the KAI C++ compiler.
16374     case $host in
16375     osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16376     *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16377     esac
16378     ;;
16379     RCC*)
16380     # Rational C++ 2.4.1
16381     # FIXME: insert proper C++ library support
16382     ld_shlibs_CXX=no
16383     ;;
16384     cxx*)
16385     case $host in
16386     osf3*)
16387     allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16388     archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16389     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16390     ;;
16391     *)
16392     allow_undefined_flag_CXX=' -expect_unresolved \*'
16393     archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16394     archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16395     echo "-hidden">> $lib.exp~
16396     $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
16397     $RM $lib.exp'
16398     hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16399     ;;
16400     esac
16401    
16402     hardcode_libdir_separator_CXX=:
16403    
16404     # Commands to make compiler produce verbose output that lists
16405     # what "hidden" libraries, object files and flags are used when
16406     # linking a shared library.
16407     #
16408     # There doesn't appear to be a way to prevent this compiler from
16409     # explicitly linking system object files so we need to strip them
16410     # from the output so that they don't get included in the library
16411     # dependencies.
16412     output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16413     ;;
16414     *)
16415     if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16416     allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16417     case $host in
16418     osf3*)
16419     archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16420     ;;
16421     *)
16422     archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16423     ;;
16424     esac
16425    
16426     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16427     hardcode_libdir_separator_CXX=:
16428    
16429     # Commands to make compiler produce verbose output that lists
16430     # what "hidden" libraries, object files and flags are used when
16431     # linking a shared library.
16432     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16433    
16434     else
16435     # FIXME: insert proper C++ library support
16436     ld_shlibs_CXX=no
16437     fi
16438     ;;
16439     esac
16440     ;;
16441    
16442     psos*)
16443     # FIXME: insert proper C++ library support
16444     ld_shlibs_CXX=no
16445     ;;
16446    
16447     sunos4*)
16448     case $cc_basename in
16449     CC*)
16450     # Sun C++ 4.x
16451     # FIXME: insert proper C++ library support
16452     ld_shlibs_CXX=no
16453     ;;
16454     lcc*)
16455     # Lucid
16456     # FIXME: insert proper C++ library support
16457     ld_shlibs_CXX=no
16458     ;;
16459     *)
16460     # FIXME: insert proper C++ library support
16461     ld_shlibs_CXX=no
16462     ;;
16463     esac
16464     ;;
16465    
16466     solaris*)
16467     case $cc_basename in
16468     CC*)
16469     # Sun C++ 4.2, 5.x and Centerline C++
16470     archive_cmds_need_lc_CXX=yes
16471     no_undefined_flag_CXX=' -zdefs'
16472     archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16473     archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16474     $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16475    
16476     hardcode_libdir_flag_spec_CXX='-R$libdir'
16477     hardcode_shlibpath_var_CXX=no
16478     case $host_os in
16479     solaris2.[0-5] | solaris2.[0-5].*) ;;
16480     *)
16481     # The compiler driver will combine and reorder linker options,
16482     # but understands `-z linker_flag'.
16483     # Supported since Solaris 2.6 (maybe 2.5.1?)
16484     whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16485     ;;
16486     esac
16487     link_all_deplibs_CXX=yes
16488    
16489     output_verbose_link_cmd='echo'
16490    
16491     # Archives containing C++ object files must be created using
16492     # "CC -xar", where "CC" is the Sun C++ compiler. This is
16493     # necessary to make sure instantiated templates are included
16494     # in the archive.
16495     old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16496     ;;
16497     gcx*)
16498     # Green Hills C++ Compiler
16499     archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16500    
16501     # The C++ compiler must be used to create the archive.
16502     old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16503     ;;
16504     *)
16505     # GNU C++ compiler with Solaris linker
16506     if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16507     no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16508     if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16509     archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16510     archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16511     $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16512    
16513     # Commands to make compiler produce verbose output that lists
16514     # what "hidden" libraries, object files and flags are used when
16515     # linking a shared library.
16516     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16517     else
16518     # g++ 2.7 appears to require `-G' NOT `-shared' on this
16519     # platform.
16520     archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16521     archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16522     $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16523    
16524     # Commands to make compiler produce verbose output that lists
16525     # what "hidden" libraries, object files and flags are used when
16526     # linking a shared library.
16527     output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16528     fi
16529    
16530     hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16531     case $host_os in
16532     solaris2.[0-5] | solaris2.[0-5].*) ;;
16533     *)
16534     whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16535     ;;
16536     esac
16537     fi
16538     ;;
16539     esac
16540     ;;
16541    
16542     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16543     no_undefined_flag_CXX='${wl}-z,text'
16544     archive_cmds_need_lc_CXX=no
16545     hardcode_shlibpath_var_CXX=no
16546     runpath_var='LD_RUN_PATH'
16547    
16548     case $cc_basename in
16549     CC*)
16550     archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16551     archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16552     ;;
16553     *)
16554     archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16555     archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16556     ;;
16557     esac
16558     ;;
16559    
16560     sysv5* | sco3.2v5* | sco5v6*)
16561     # Note: We can NOT use -z defs as we might desire, because we do not
16562     # link with -lc, and that would cause any symbols used from libc to
16563     # always be unresolved, which means just about no library would
16564     # ever link correctly. If we're not using GNU ld we use -z text
16565     # though, which does catch some bad symbols but isn't as heavy-handed
16566     # as -z defs.
16567     no_undefined_flag_CXX='${wl}-z,text'
16568     allow_undefined_flag_CXX='${wl}-z,nodefs'
16569     archive_cmds_need_lc_CXX=no
16570     hardcode_shlibpath_var_CXX=no
16571     hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16572     hardcode_libdir_separator_CXX=':'
16573     link_all_deplibs_CXX=yes
16574     export_dynamic_flag_spec_CXX='${wl}-Bexport'
16575     runpath_var='LD_RUN_PATH'
16576    
16577     case $cc_basename in
16578     CC*)
16579     archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16580     archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16581     ;;
16582     *)
16583     archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16584     archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16585     ;;
16586     esac
16587     ;;
16588    
16589     tandem*)
16590     case $cc_basename in
16591     NCC*)
16592     # NonStop-UX NCC 3.20
16593     # FIXME: insert proper C++ library support
16594     ld_shlibs_CXX=no
16595     ;;
16596     *)
16597     # FIXME: insert proper C++ library support
16598     ld_shlibs_CXX=no
16599     ;;
16600     esac
16601     ;;
16602    
16603     vxworks*)
16604     # FIXME: insert proper C++ library support
16605     ld_shlibs_CXX=no
16606     ;;
16607    
16608     *)
16609     # FIXME: insert proper C++ library support
16610     ld_shlibs_CXX=no
16611     ;;
16612     esac
16613    
16614     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16615     $as_echo "$ld_shlibs_CXX" >&6; }
16616     test "$ld_shlibs_CXX" = no && can_build_shared=no
16617    
16618     GCC_CXX="$GXX"
16619     LD_CXX="$LD"
16620    
16621     ## CAVEAT EMPTOR:
16622     ## There is no encapsulation within the following macros, do not change
16623     ## the running order or otherwise move them around unless you know exactly
16624     ## what you are doing...
16625     # Dependencies to place before and after the object being linked:
16626     predep_objects_CXX=
16627     postdep_objects_CXX=
16628     predeps_CXX=
16629     postdeps_CXX=
16630     compiler_lib_search_path_CXX=
16631    
16632     cat > conftest.$ac_ext <<_LT_EOF
16633     class Foo
16634     {
16635     public:
16636     Foo (void) { a = 0; }
16637     private:
16638     int a;
16639     };
16640     _LT_EOF
16641    
16642     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16643     (eval $ac_compile) 2>&5
16644     ac_status=$?
16645     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16646     test $ac_status = 0; }; then
16647     # Parse the compiler output and extract the necessary
16648     # objects, libraries and library flags.
16649    
16650     # Sentinel used to keep track of whether or not we are before
16651     # the conftest object file.
16652     pre_test_object_deps_done=no
16653    
16654     for p in `eval "$output_verbose_link_cmd"`; do
16655     case $p in
16656    
16657     -L* | -R* | -l*)
16658     # Some compilers place space between "-{L,R}" and the path.
16659     # Remove the space.
16660     if test $p = "-L" ||
16661     test $p = "-R"; then
16662     prev=$p
16663     continue
16664     else
16665     prev=
16666     fi
16667    
16668     if test "$pre_test_object_deps_done" = no; then
16669     case $p in
16670     -L* | -R*)
16671     # Internal compiler library paths should come after those
16672     # provided the user. The postdeps already come after the
16673     # user supplied libs so there is no need to process them.
16674     if test -z "$compiler_lib_search_path_CXX"; then
16675     compiler_lib_search_path_CXX="${prev}${p}"
16676     else
16677     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16678     fi
16679     ;;
16680     # The "-l" case would never come before the object being
16681     # linked, so don't bother handling this case.
16682     esac
16683     else
16684     if test -z "$postdeps_CXX"; then
16685     postdeps_CXX="${prev}${p}"
16686     else
16687     postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16688     fi
16689     fi
16690     ;;
16691    
16692     *.$objext)
16693     # This assumes that the test object file only shows up
16694     # once in the compiler output.
16695     if test "$p" = "conftest.$objext"; then
16696     pre_test_object_deps_done=yes
16697     continue
16698     fi
16699    
16700     if test "$pre_test_object_deps_done" = no; then
16701     if test -z "$predep_objects_CXX"; then
16702     predep_objects_CXX="$p"
16703     else
16704     predep_objects_CXX="$predep_objects_CXX $p"
16705     fi
16706     else
16707     if test -z "$postdep_objects_CXX"; then
16708     postdep_objects_CXX="$p"
16709     else
16710     postdep_objects_CXX="$postdep_objects_CXX $p"
16711     fi
16712     fi
16713     ;;
16714    
16715     *) ;; # Ignore the rest.
16716    
16717     esac
16718     done
16719    
16720     # Clean up.
16721     rm -f a.out a.exe
16722     else
16723     echo "libtool.m4: error: problem compiling CXX test program"
16724     fi
16725    
16726     $RM -f confest.$objext
16727    
16728     # PORTME: override above test on systems where it is broken
16729     case $host_os in
16730     interix[3-9]*)
16731     # Interix 3.5 installs completely hosed .la files for C++, so rather than
16732     # hack all around it, let's just trust "g++" to DTRT.
16733     predep_objects_CXX=
16734     postdep_objects_CXX=
16735     postdeps_CXX=
16736     ;;
16737    
16738     linux*)
16739     case `$CC -V 2>&1 | sed 5q` in
16740     *Sun\ C*)
16741     # Sun C++ 5.9
16742    
16743     # The more standards-conforming stlport4 library is
16744     # incompatible with the Cstd library. Avoid specifying
16745     # it if it's in CXXFLAGS. Ignore libCrun as
16746     # -library=stlport4 depends on it.
16747     case " $CXX $CXXFLAGS " in
16748     *" -library=stlport4 "*)
16749     solaris_use_stlport4=yes
16750     ;;
16751     esac
16752    
16753     if test "$solaris_use_stlport4" != yes; then
16754     postdeps_CXX='-library=Cstd -library=Crun'
16755     fi
16756     ;;
16757     esac
16758     ;;
16759    
16760     solaris*)
16761     case $cc_basename in
16762     CC*)
16763     # The more standards-conforming stlport4 library is
16764     # incompatible with the Cstd library. Avoid specifying
16765     # it if it's in CXXFLAGS. Ignore libCrun as
16766     # -library=stlport4 depends on it.
16767     case " $CXX $CXXFLAGS " in
16768     *" -library=stlport4 "*)
16769     solaris_use_stlport4=yes
16770     ;;
16771     esac
16772    
16773     # Adding this requires a known-good setup of shared libraries for
16774     # Sun compiler versions before 5.6, else PIC objects from an old
16775     # archive will be linked into the output, leading to subtle bugs.
16776     if test "$solaris_use_stlport4" != yes; then
16777     postdeps_CXX='-library=Cstd -library=Crun'
16778     fi
16779     ;;
16780     esac
16781     ;;
16782     esac
16783    
16784    
16785     case " $postdeps_CXX " in
16786     *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16787     esac
16788     compiler_lib_search_dirs_CXX=
16789     if test -n "${compiler_lib_search_path_CXX}"; then
16790     compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16791     fi
16792    
16793    
16794    
16795    
16796    
16797    
16798    
16799    
16800    
16801    
16802    
16803    
16804    
16805    
16806    
16807    
16808    
16809    
16810    
16811    
16812    
16813    
16814    
16815    
16816    
16817    
16818    
16819    
16820    
16821    
16822    
16823     lt_prog_compiler_wl_CXX=
16824     lt_prog_compiler_pic_CXX=
16825     lt_prog_compiler_static_CXX=
16826    
16827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16828     $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16829    
16830     # C++ specific cases for pic, static, wl, etc.
16831     if test "$GXX" = yes; then
16832     lt_prog_compiler_wl_CXX='-Wl,'
16833     lt_prog_compiler_static_CXX='-static'
16834    
16835     case $host_os in
16836     aix*)
16837     # All AIX code is PIC.
16838     if test "$host_cpu" = ia64; then
16839     # AIX 5 now supports IA64 processor
16840     lt_prog_compiler_static_CXX='-Bstatic'
16841     fi
16842     ;;
16843    
16844     amigaos*)
16845     case $host_cpu in
16846     powerpc)
16847     # see comment about AmigaOS4 .so support
16848     lt_prog_compiler_pic_CXX='-fPIC'
16849     ;;
16850     m68k)
16851     # FIXME: we need at least 68020 code to build shared libraries, but
16852     # adding the `-m68020' flag to GCC prevents building anything better,
16853     # like `-m68040'.
16854     lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16855     ;;
16856     esac
16857     ;;
16858    
16859     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16860     # PIC is the default for these OSes.
16861     ;;
16862     mingw* | cygwin* | os2* | pw32* | cegcc*)
16863     # This hack is so that the source file can tell whether it is being
16864     # built for inclusion in a dll (and should export symbols for example).
16865     # Although the cygwin gcc ignores -fPIC, still need this for old-style
16866     # (--disable-auto-import) libraries
16867     lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16868     ;;
16869     darwin* | rhapsody*)
16870     # PIC is the default on this platform
16871     # Common symbols not allowed in MH_DYLIB files
16872     lt_prog_compiler_pic_CXX='-fno-common'
16873     ;;
16874     *djgpp*)
16875     # DJGPP does not support shared libraries at all
16876     lt_prog_compiler_pic_CXX=
16877     ;;
16878     interix[3-9]*)
16879     # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16880     # Instead, we relocate shared libraries at runtime.
16881     ;;
16882     sysv4*MP*)
16883     if test -d /usr/nec; then
16884     lt_prog_compiler_pic_CXX=-Kconform_pic
16885     fi
16886     ;;
16887     hpux*)
16888     # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16889     # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16890     # sets the default TLS model and affects inlining.
16891     case $host_cpu in
16892     hppa*64*)
16893     ;;
16894     *)
16895     lt_prog_compiler_pic_CXX='-fPIC'
16896     ;;
16897     esac
16898     ;;
16899     *qnx* | *nto*)
16900     # QNX uses GNU C++, but need to define -shared option too, otherwise
16901     # it will coredump.
16902     lt_prog_compiler_pic_CXX='-fPIC -shared'
16903     ;;
16904     *)
16905     lt_prog_compiler_pic_CXX='-fPIC'
16906     ;;
16907     esac
16908     else
16909     case $host_os in
16910     aix[4-9]*)
16911     # All AIX code is PIC.
16912     if test "$host_cpu" = ia64; then
16913     # AIX 5 now supports IA64 processor
16914     lt_prog_compiler_static_CXX='-Bstatic'
16915     else
16916     lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16917     fi
16918     ;;
16919     chorus*)
16920     case $cc_basename in
16921     cxch68*)
16922     # Green Hills C++ Compiler
16923     # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16924     ;;
16925     esac
16926     ;;
16927     dgux*)
16928     case $cc_basename in
16929     ec++*)
16930     lt_prog_compiler_pic_CXX='-KPIC'
16931     ;;
16932     ghcx*)
16933     # Green Hills C++ Compiler
16934     lt_prog_compiler_pic_CXX='-pic'
16935     ;;
16936     *)
16937     ;;
16938     esac
16939     ;;
16940     freebsd* | dragonfly*)
16941     # FreeBSD uses GNU C++
16942     ;;
16943     hpux9* | hpux10* | hpux11*)
16944     case $cc_basename in
16945     CC*)
16946     lt_prog_compiler_wl_CXX='-Wl,'
16947     lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16948     if test "$host_cpu" != ia64; then
16949     lt_prog_compiler_pic_CXX='+Z'
16950     fi
16951     ;;
16952     aCC*)
16953     lt_prog_compiler_wl_CXX='-Wl,'
16954     lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16955     case $host_cpu in
16956     hppa*64*|ia64*)
16957     # +Z the default
16958     ;;
16959     *)
16960     lt_prog_compiler_pic_CXX='+Z'
16961     ;;
16962     esac
16963     ;;
16964     *)
16965     ;;
16966     esac
16967     ;;
16968     interix*)
16969     # This is c89, which is MS Visual C++ (no shared libs)
16970     # Anyone wants to do a port?
16971     ;;
16972     irix5* | irix6* | nonstopux*)
16973     case $cc_basename in
16974     CC*)
16975     lt_prog_compiler_wl_CXX='-Wl,'
16976     lt_prog_compiler_static_CXX='-non_shared'
16977     # CC pic flag -KPIC is the default.
16978     ;;
16979     *)
16980     ;;
16981     esac
16982     ;;
16983     linux* | k*bsd*-gnu | kopensolaris*-gnu)
16984     case $cc_basename in
16985     KCC*)
16986     # KAI C++ Compiler
16987     lt_prog_compiler_wl_CXX='--backend -Wl,'
16988     lt_prog_compiler_pic_CXX='-fPIC'
16989     ;;
16990     ecpc* )
16991     # old Intel C++ for x86_64 which still supported -KPIC.
16992     lt_prog_compiler_wl_CXX='-Wl,'
16993     lt_prog_compiler_pic_CXX='-KPIC'
16994     lt_prog_compiler_static_CXX='-static'
16995     ;;
16996     icpc* )
16997     # Intel C++, used to be incompatible with GCC.
16998     # ICC 10 doesn't accept -KPIC any more.
16999     lt_prog_compiler_wl_CXX='-Wl,'
17000     lt_prog_compiler_pic_CXX='-fPIC'
17001     lt_prog_compiler_static_CXX='-static'
17002     ;;
17003     pgCC* | pgcpp*)
17004     # Portland Group C++ compiler
17005     lt_prog_compiler_wl_CXX='-Wl,'
17006     lt_prog_compiler_pic_CXX='-fpic'
17007     lt_prog_compiler_static_CXX='-Bstatic'
17008     ;;
17009     cxx*)
17010     # Compaq C++
17011     # Make sure the PIC flag is empty. It appears that all Alpha
17012     # Linux and Compaq Tru64 Unix objects are PIC.
17013     lt_prog_compiler_pic_CXX=
17014     lt_prog_compiler_static_CXX='-non_shared'
17015     ;;
17016     xlc* | xlC*)
17017     # IBM XL 8.0 on PPC
17018     lt_prog_compiler_wl_CXX='-Wl,'
17019     lt_prog_compiler_pic_CXX='-qpic'
17020     lt_prog_compiler_static_CXX='-qstaticlink'
17021     ;;
17022     *)
17023     case `$CC -V 2>&1 | sed 5q` in
17024     *Sun\ C*)
17025     # Sun C++ 5.9
17026     lt_prog_compiler_pic_CXX='-KPIC'
17027     lt_prog_compiler_static_CXX='-Bstatic'
17028     lt_prog_compiler_wl_CXX='-Qoption ld '
17029     ;;
17030     esac
17031     ;;
17032     esac
17033     ;;
17034     lynxos*)
17035     ;;
17036     m88k*)
17037     ;;
17038     mvs*)
17039     case $cc_basename in
17040     cxx*)
17041     lt_prog_compiler_pic_CXX='-W c,exportall'
17042     ;;
17043     *)
17044     ;;
17045     esac
17046     ;;
17047     netbsd* | netbsdelf*-gnu)
17048     ;;
17049     *qnx* | *nto*)
17050     # QNX uses GNU C++, but need to define -shared option too, otherwise
17051     # it will coredump.
17052     lt_prog_compiler_pic_CXX='-fPIC -shared'
17053     ;;
17054     osf3* | osf4* | osf5*)
17055     case $cc_basename in
17056     KCC*)
17057     lt_prog_compiler_wl_CXX='--backend -Wl,'
17058     ;;
17059     RCC*)
17060     # Rational C++ 2.4.1
17061     lt_prog_compiler_pic_CXX='-pic'
17062     ;;
17063     cxx*)
17064     # Digital/Compaq C++
17065     lt_prog_compiler_wl_CXX='-Wl,'
17066     # Make sure the PIC flag is empty. It appears that all Alpha
17067     # Linux and Compaq Tru64 Unix objects are PIC.
17068     lt_prog_compiler_pic_CXX=
17069     lt_prog_compiler_static_CXX='-non_shared'
17070     ;;
17071     *)
17072     ;;
17073     esac
17074     ;;
17075     psos*)
17076     ;;
17077     solaris*)
17078     case $cc_basename in
17079     CC*)
17080     # Sun C++ 4.2, 5.x and Centerline C++
17081     lt_prog_compiler_pic_CXX='-KPIC'
17082     lt_prog_compiler_static_CXX='-Bstatic'
17083     lt_prog_compiler_wl_CXX='-Qoption ld '
17084     ;;
17085     gcx*)
17086     # Green Hills C++ Compiler
17087     lt_prog_compiler_pic_CXX='-PIC'
17088     ;;
17089     *)
17090     ;;
17091     esac
17092     ;;
17093     sunos4*)
17094     case $cc_basename in
17095     CC*)
17096     # Sun C++ 4.x
17097     lt_prog_compiler_pic_CXX='-pic'
17098     lt_prog_compiler_static_CXX='-Bstatic'
17099     ;;
17100     lcc*)
17101     # Lucid
17102     lt_prog_compiler_pic_CXX='-pic'
17103     ;;
17104     *)
17105     ;;
17106     esac
17107     ;;
17108     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17109     case $cc_basename in
17110     CC*)
17111     lt_prog_compiler_wl_CXX='-Wl,'
17112     lt_prog_compiler_pic_CXX='-KPIC'
17113     lt_prog_compiler_static_CXX='-Bstatic'
17114     ;;
17115     esac
17116     ;;
17117     tandem*)
17118     case $cc_basename in
17119     NCC*)
17120     # NonStop-UX NCC 3.20
17121     lt_prog_compiler_pic_CXX='-KPIC'
17122     ;;
17123     *)
17124     ;;
17125     esac
17126     ;;
17127     vxworks*)
17128     ;;
17129     *)
17130     lt_prog_compiler_can_build_shared_CXX=no
17131     ;;
17132     esac
17133     fi
17134    
17135     case $host_os in
17136     # For platforms which do not support PIC, -DPIC is meaningless:
17137     *djgpp*)
17138     lt_prog_compiler_pic_CXX=
17139     ;;
17140     *)
17141     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17142     ;;
17143     esac
17144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
17145     $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
17146    
17147    
17148    
17149     #
17150     # Check to make sure the PIC flag actually works.
17151     #
17152     if test -n "$lt_prog_compiler_pic_CXX"; then
17153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17154     $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17155     if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
17156     $as_echo_n "(cached) " >&6
17157     else
17158     lt_cv_prog_compiler_pic_works_CXX=no
17159     ac_outfile=conftest.$ac_objext
17160     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17161     lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17162     # Insert the option either (1) after the last *FLAGS variable, or
17163     # (2) before a word containing "conftest.", or (3) at the end.
17164     # Note that $ac_compile itself does not contain backslashes and begins
17165     # with a dollar sign (not a hyphen), so the echo should work correctly.
17166     # The option is referenced via a variable to avoid confusing sed.
17167     lt_compile=`echo "$ac_compile" | $SED \
17168     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17169     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17170     -e 's:$: $lt_compiler_flag:'`
17171     (eval echo "\"\$as_me:17171: $lt_compile\"" >&5)
17172     (eval "$lt_compile" 2>conftest.err)
17173     ac_status=$?
17174     cat conftest.err >&5
17175     echo "$as_me:17175: \$? = $ac_status" >&5
17176     if (exit $ac_status) && test -s "$ac_outfile"; then
17177     # The compiler can only warn and ignore the option if not recognized
17178     # So say no if there are warnings other than the usual output.
17179     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17180     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17181     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17182     lt_cv_prog_compiler_pic_works_CXX=yes
17183     fi
17184     fi
17185     $RM conftest*
17186    
17187     fi
17188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17189     $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17190    
17191     if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
17192     case $lt_prog_compiler_pic_CXX in
17193     "" | " "*) ;;
17194     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17195     esac
17196     else
17197     lt_prog_compiler_pic_CXX=
17198     lt_prog_compiler_can_build_shared_CXX=no
17199     fi
17200    
17201     fi
17202    
17203    
17204    
17205     #
17206     # Check to make sure the static flag actually works.
17207     #
17208     wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17210     $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17211     if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
17212     $as_echo_n "(cached) " >&6
17213     else
17214     lt_cv_prog_compiler_static_works_CXX=no
17215     save_LDFLAGS="$LDFLAGS"
17216     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17217     echo "$lt_simple_link_test_code" > conftest.$ac_ext
17218     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17219     # The linker can only warn and ignore the option if not recognized
17220     # So say no if there are warnings
17221     if test -s conftest.err; then
17222     # Append any errors to the config.log.
17223     cat conftest.err 1>&5
17224     $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17225     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17226     if diff conftest.exp conftest.er2 >/dev/null; then
17227     lt_cv_prog_compiler_static_works_CXX=yes
17228     fi
17229     else
17230     lt_cv_prog_compiler_static_works_CXX=yes
17231     fi
17232     fi
17233     $RM -r conftest*
17234     LDFLAGS="$save_LDFLAGS"
17235    
17236     fi
17237     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17238     $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17239    
17240     if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
17241     :
17242     else
17243     lt_prog_compiler_static_CXX=
17244     fi
17245    
17246    
17247    
17248    
17249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17250     $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17251     if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
17252     $as_echo_n "(cached) " >&6
17253     else
17254     lt_cv_prog_compiler_c_o_CXX=no
17255     $RM -r conftest 2>/dev/null
17256     mkdir conftest
17257     cd conftest
17258     mkdir out
17259     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17260    
17261     lt_compiler_flag="-o out/conftest2.$ac_objext"
17262     # Insert the option either (1) after the last *FLAGS variable, or
17263     # (2) before a word containing "conftest.", or (3) at the end.
17264     # Note that $ac_compile itself does not contain backslashes and begins
17265     # with a dollar sign (not a hyphen), so the echo should work correctly.
17266     lt_compile=`echo "$ac_compile" | $SED \
17267     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17268     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17269     -e 's:$: $lt_compiler_flag:'`
17270     (eval echo "\"\$as_me:17270: $lt_compile\"" >&5)
17271     (eval "$lt_compile" 2>out/conftest.err)
17272     ac_status=$?
17273     cat out/conftest.err >&5
17274     echo "$as_me:17274: \$? = $ac_status" >&5
17275     if (exit $ac_status) && test -s out/conftest2.$ac_objext
17276     then
17277     # The compiler can only warn and ignore the option if not recognized
17278     # So say no if there are warnings
17279     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17280     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17281     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17282     lt_cv_prog_compiler_c_o_CXX=yes
17283     fi
17284     fi
17285     chmod u+w . 2>&5
17286     $RM conftest*
17287     # SGI C++ compiler will create directory out/ii_files/ for
17288     # template instantiation
17289     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17290     $RM out/* && rmdir out
17291     cd ..
17292     $RM -r conftest
17293     $RM conftest*
17294    
17295     fi
17296     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17297     $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17298    
17299    
17300    
17301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17302     $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17303     if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
17304     $as_echo_n "(cached) " >&6
17305     else
17306     lt_cv_prog_compiler_c_o_CXX=no
17307     $RM -r conftest 2>/dev/null
17308     mkdir conftest
17309     cd conftest
17310     mkdir out
17311     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17312    
17313     lt_compiler_flag="-o out/conftest2.$ac_objext"
17314     # Insert the option either (1) after the last *FLAGS variable, or
17315     # (2) before a word containing "conftest.", or (3) at the end.
17316     # Note that $ac_compile itself does not contain backslashes and begins
17317     # with a dollar sign (not a hyphen), so the echo should work correctly.
17318     lt_compile=`echo "$ac_compile" | $SED \
17319     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17320     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17321     -e 's:$: $lt_compiler_flag:'`
17322     (eval echo "\"\$as_me:17322: $lt_compile\"" >&5)
17323     (eval "$lt_compile" 2>out/conftest.err)
17324     ac_status=$?
17325     cat out/conftest.err >&5
17326     echo "$as_me:17326: \$? = $ac_status" >&5
17327     if (exit $ac_status) && test -s out/conftest2.$ac_objext
17328     then
17329     # The compiler can only warn and ignore the option if not recognized
17330     # So say no if there are warnings
17331     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17332     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17333     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17334     lt_cv_prog_compiler_c_o_CXX=yes
17335     fi
17336     fi
17337     chmod u+w . 2>&5
17338     $RM conftest*
17339     # SGI C++ compiler will create directory out/ii_files/ for
17340     # template instantiation
17341     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17342     $RM out/* && rmdir out
17343     cd ..
17344     $RM -r conftest
17345     $RM conftest*
17346    
17347     fi
17348     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17349     $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17350    
17351    
17352    
17353    
17354     hard_links="nottested"
17355     if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17356     # do not overwrite the value of need_locks provided by the user
17357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17358     $as_echo_n "checking if we can lock with hard links... " >&6; }
17359     hard_links=yes
17360     $RM conftest*
17361     ln conftest.a conftest.b 2>/dev/null && hard_links=no
17362     touch conftest.a
17363     ln conftest.a conftest.b 2>&5 || hard_links=no
17364     ln conftest.a conftest.b 2>/dev/null && hard_links=no
17365     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17366     $as_echo "$hard_links" >&6; }
17367     if test "$hard_links" = no; then
17368     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17369     $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17370     need_locks=warn
17371     fi
17372     else
17373     need_locks=no
17374     fi
17375    
17376    
17377    
17378     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17379     $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17380    
17381     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17382     case $host_os in
17383     aix[4-9]*)
17384     # If we're using GNU nm, then we don't want the "-C" option.
17385     # -C means demangle to AIX nm, but means don't demangle with GNU nm
17386     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17387     export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17388     else
17389     export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17390     fi
17391     ;;
17392     pw32*)
17393     export_symbols_cmds_CXX="$ltdll_cmds"
17394     ;;
17395     cygwin* | mingw* | cegcc*)
17396     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17397     ;;
17398     linux* | k*bsd*-gnu)
17399     link_all_deplibs_CXX=no
17400     ;;
17401     *)
17402     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17403     ;;
17404     esac
17405     exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17406    
17407     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17408     $as_echo "$ld_shlibs_CXX" >&6; }
17409     test "$ld_shlibs_CXX" = no && can_build_shared=no
17410    
17411     with_gnu_ld_CXX=$with_gnu_ld
17412    
17413    
17414    
17415    
17416    
17417    
17418     #
17419     # Do we need to explicitly link libc?
17420     #
17421     case "x$archive_cmds_need_lc_CXX" in
17422     x|xyes)
17423     # Assume -lc should be added
17424     archive_cmds_need_lc_CXX=yes
17425    
17426     if test "$enable_shared" = yes && test "$GCC" = yes; then
17427     case $archive_cmds_CXX in
17428     *'~'*)
17429     # FIXME: we may have to deal with multi-command sequences.
17430     ;;
17431     '$CC '*)
17432     # Test whether the compiler implicitly links with -lc since on some
17433     # systems, -lgcc has to come before -lc. If gcc already passes -lc
17434     # to ld, don't add -lc before -lgcc.
17435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17436     $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17437     $RM conftest*
17438     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17439    
17440     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17441     (eval $ac_compile) 2>&5
17442     ac_status=$?
17443     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17444     test $ac_status = 0; } 2>conftest.err; then
17445     soname=conftest
17446     lib=conftest
17447     libobjs=conftest.$ac_objext
17448     deplibs=
17449     wl=$lt_prog_compiler_wl_CXX
17450     pic_flag=$lt_prog_compiler_pic_CXX
17451     compiler_flags=-v
17452     linker_flags=-v
17453     verstring=
17454     output_objdir=.
17455     libname=conftest
17456     lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17457     allow_undefined_flag_CXX=
17458     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17459     (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17460     ac_status=$?
17461     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17462     test $ac_status = 0; }
17463     then
17464     archive_cmds_need_lc_CXX=no
17465     else
17466     archive_cmds_need_lc_CXX=yes
17467     fi
17468     allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17469     else
17470     cat conftest.err 1>&5
17471     fi
17472     $RM conftest*
17473     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
17474     $as_echo "$archive_cmds_need_lc_CXX" >&6; }
17475     ;;
17476     esac
17477     fi
17478     ;;
17479     esac
17480    
17481    
17482    
17483    
17484    
17485    
17486    
17487    
17488    
17489    
17490    
17491    
17492    
17493    
17494    
17495    
17496    
17497    
17498    
17499    
17500    
17501    
17502    
17503    
17504    
17505    
17506    
17507    
17508    
17509    
17510    
17511    
17512    
17513    
17514    
17515    
17516    
17517    
17518    
17519    
17520    
17521    
17522    
17523    
17524    
17525    
17526    
17527    
17528    
17529    
17530    
17531    
17532    
17533    
17534    
17535    
17536    
17537    
17538    
17539    
17540    
17541    
17542    
17543    
17544     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17545     $as_echo_n "checking dynamic linker characteristics... " >&6; }
17546    
17547     library_names_spec=
17548     libname_spec='lib$name'
17549     soname_spec=
17550     shrext_cmds=".so"
17551     postinstall_cmds=
17552     postuninstall_cmds=
17553     finish_cmds=
17554     finish_eval=
17555     shlibpath_var=
17556     shlibpath_overrides_runpath=unknown
17557     version_type=none
17558     dynamic_linker="$host_os ld.so"
17559     sys_lib_dlsearch_path_spec="/lib /usr/lib"
17560     need_lib_prefix=unknown
17561     hardcode_into_libs=no
17562    
17563     # when you set need_version to no, make sure it does not cause -set_version
17564     # flags to be left without arguments
17565     need_version=unknown
17566    
17567     case $host_os in
17568     aix3*)
17569     version_type=linux
17570     library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17571     shlibpath_var=LIBPATH
17572    
17573     # AIX 3 has no versioning support, so we append a major version to the name.
17574     soname_spec='${libname}${release}${shared_ext}$major'
17575     ;;
17576    
17577     aix[4-9]*)
17578     version_type=linux
17579     need_lib_prefix=no
17580     need_version=no
17581     hardcode_into_libs=yes
17582     if test "$host_cpu" = ia64; then
17583     # AIX 5 supports IA64
17584     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17585     shlibpath_var=LD_LIBRARY_PATH
17586     else
17587     # With GCC up to 2.95.x, collect2 would create an import file
17588     # for dependence libraries. The import file would start with
17589     # the line `#! .'. This would cause the generated library to
17590     # depend on `.', always an invalid library. This was fixed in
17591     # development snapshots of GCC prior to 3.0.
17592     case $host_os in
17593     aix4 | aix4.[01] | aix4.[01].*)
17594     if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17595     echo ' yes '
17596     echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17597     :
17598     else
17599     can_build_shared=no
17600     fi
17601     ;;
17602     esac
17603     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17604     # soname into executable. Probably we can add versioning support to
17605     # collect2, so additional links can be useful in future.
17606     if test "$aix_use_runtimelinking" = yes; then
17607     # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17608     # instead of lib<name>.a to let people know that these are not
17609     # typical AIX shared libraries.
17610     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17611     else
17612     # We preserve .a as extension for shared libraries through AIX4.2
17613     # and later when we are not doing run time linking.
17614     library_names_spec='${libname}${release}.a $libname.a'
17615     soname_spec='${libname}${release}${shared_ext}$major'
17616     fi
17617     shlibpath_var=LIBPATH
17618     fi
17619     ;;
17620    
17621     amigaos*)
17622     case $host_cpu in
17623     powerpc)
17624     # Since July 2007 AmigaOS4 officially supports .so libraries.
17625     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17626     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17627     ;;
17628     m68k)
17629     library_names_spec='$libname.ixlibrary $libname.a'
17630     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17631     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17632     ;;
17633     esac
17634     ;;
17635    
17636     beos*)
17637     library_names_spec='${libname}${shared_ext}'
17638     dynamic_linker="$host_os ld.so"
17639     shlibpath_var=LIBRARY_PATH
17640     ;;
17641    
17642     bsdi[45]*)
17643     version_type=linux
17644     need_version=no
17645     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17646     soname_spec='${libname}${release}${shared_ext}$major'
17647     finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17648     shlibpath_var=LD_LIBRARY_PATH
17649     sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17650     sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17651     # the default ld.so.conf also contains /usr/contrib/lib and
17652     # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17653     # libtool to hard-code these into programs
17654     ;;
17655    
17656     cygwin* | mingw* | pw32* | cegcc*)
17657     version_type=windows
17658     shrext_cmds=".dll"
17659     need_version=no
17660     need_lib_prefix=no
17661    
17662     case $GCC,$host_os in
17663     yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
17664     library_names_spec='$libname.dll.a'
17665     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17666     postinstall_cmds='base_file=`basename \${file}`~
17667     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17668     dldir=$destdir/`dirname \$dlpath`~
17669     test -d \$dldir || mkdir -p \$dldir~
17670     $install_prog $dir/$dlname \$dldir/$dlname~
17671     chmod a+x \$dldir/$dlname~
17672     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17673     eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17674     fi'
17675     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17676     dlpath=$dir/\$dldll~
17677     $RM \$dlpath'
17678     shlibpath_overrides_runpath=yes
17679    
17680     case $host_os in
17681     cygwin*)
17682     # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17683     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17684     sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17685     ;;
17686     mingw* | cegcc*)
17687     # MinGW DLLs use traditional 'lib' prefix
17688     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17689     sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17690     if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17691     # It is most probably a Windows format PATH printed by
17692     # mingw gcc, but we are running on Cygwin. Gcc prints its search
17693     # path with ; separators, and with drive letters. We can handle the
17694     # drive letters (cygwin fileutils understands them), so leave them,
17695     # especially as we might pass files found there to a mingw objdump,
17696     # which wouldn't understand a cygwinified path. Ahh.
17697     sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17698     else
17699     sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17700     fi
17701     ;;
17702     pw32*)
17703     # pw32 DLLs use 'pw' prefix rather than 'lib'
17704     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17705     ;;
17706     esac
17707     ;;
17708    
17709     *)
17710     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17711     ;;
17712     esac
17713     dynamic_linker='Win32 ld.exe'
17714     # FIXME: first we should search . and the directory the executable is in
17715     shlibpath_var=PATH
17716     ;;
17717    
17718     darwin* | rhapsody*)
17719     dynamic_linker="$host_os dyld"
17720     version_type=darwin
17721     need_lib_prefix=no
17722     need_version=no
17723     library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17724     soname_spec='${libname}${release}${major}$shared_ext'
17725     shlibpath_overrides_runpath=yes
17726     shlibpath_var=DYLD_LIBRARY_PATH
17727     shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17728    
17729     sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17730     ;;
17731    
17732     dgux*)
17733     version_type=linux
17734     need_lib_prefix=no
17735     need_version=no
17736     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17737     soname_spec='${libname}${release}${shared_ext}$major'
17738     shlibpath_var=LD_LIBRARY_PATH
17739     ;;
17740    
17741     freebsd1*)
17742     dynamic_linker=no
17743     ;;
17744    
17745     freebsd* | dragonfly*)
17746     # DragonFly does not have aout. When/if they implement a new
17747     # versioning mechanism, adjust this.
17748     if test -x /usr/bin/objformat; then
17749     objformat=`/usr/bin/objformat`
17750     else
17751     case $host_os in
17752     freebsd[123]*) objformat=aout ;;
17753     *) objformat=elf ;;
17754     esac
17755     fi
17756     version_type=freebsd-$objformat
17757     case $version_type in
17758     freebsd-elf*)
17759     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17760     need_version=no
17761     need_lib_prefix=no
17762     ;;
17763     freebsd-*)
17764     library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17765     need_version=yes
17766     ;;
17767     esac
17768     shlibpath_var=LD_LIBRARY_PATH
17769     case $host_os in
17770     freebsd2*)
17771     shlibpath_overrides_runpath=yes
17772     ;;
17773     freebsd3.[01]* | freebsdelf3.[01]*)
17774     shlibpath_overrides_runpath=yes
17775     hardcode_into_libs=yes
17776     ;;
17777     freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17778     freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17779     shlibpath_overrides_runpath=no
17780     hardcode_into_libs=yes
17781     ;;
17782     *) # from 4.6 on, and DragonFly
17783     shlibpath_overrides_runpath=yes
17784     hardcode_into_libs=yes
17785     ;;
17786     esac
17787     ;;
17788    
17789     gnu*)
17790     version_type=linux
17791     need_lib_prefix=no
17792     need_version=no
17793     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17794     soname_spec='${libname}${release}${shared_ext}$major'
17795     shlibpath_var=LD_LIBRARY_PATH
17796     hardcode_into_libs=yes
17797     ;;
17798    
17799     hpux9* | hpux10* | hpux11*)
17800     # Give a soname corresponding to the major version so that dld.sl refuses to
17801     # link against other versions.
17802     version_type=sunos
17803     need_lib_prefix=no
17804     need_version=no
17805     case $host_cpu in
17806     ia64*)
17807     shrext_cmds='.so'
17808     hardcode_into_libs=yes
17809     dynamic_linker="$host_os dld.so"
17810     shlibpath_var=LD_LIBRARY_PATH
17811     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17812     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17813     soname_spec='${libname}${release}${shared_ext}$major'
17814     if test "X$HPUX_IA64_MODE" = X32; then
17815     sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17816     else
17817     sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17818     fi
17819     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17820     ;;
17821     hppa*64*)
17822     shrext_cmds='.sl'
17823     hardcode_into_libs=yes
17824     dynamic_linker="$host_os dld.sl"
17825     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17826     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17827     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17828     soname_spec='${libname}${release}${shared_ext}$major'
17829     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17830     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17831     ;;
17832     *)
17833     shrext_cmds='.sl'
17834     dynamic_linker="$host_os dld.sl"
17835     shlibpath_var=SHLIB_PATH
17836     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17837     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17838     soname_spec='${libname}${release}${shared_ext}$major'
17839     ;;
17840     esac
17841     # HP-UX runs *really* slowly unless shared libraries are mode 555.
17842     postinstall_cmds='chmod 555 $lib'
17843     ;;
17844    
17845     interix[3-9]*)
17846     version_type=linux
17847     need_lib_prefix=no
17848     need_version=no
17849     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17850     soname_spec='${libname}${release}${shared_ext}$major'
17851     dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17852     shlibpath_var=LD_LIBRARY_PATH
17853     shlibpath_overrides_runpath=no
17854     hardcode_into_libs=yes
17855     ;;
17856    
17857     irix5* | irix6* | nonstopux*)
17858     case $host_os in
17859     nonstopux*) version_type=nonstopux ;;
17860     *)
17861     if test "$lt_cv_prog_gnu_ld" = yes; then
17862     version_type=linux
17863     else
17864     version_type=irix
17865     fi ;;
17866     esac
17867     need_lib_prefix=no
17868     need_version=no
17869     soname_spec='${libname}${release}${shared_ext}$major'
17870     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17871     case $host_os in
17872     irix5* | nonstopux*)
17873     libsuff= shlibsuff=
17874     ;;
17875     *)
17876     case $LD in # libtool.m4 will add one of these switches to LD
17877     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17878     libsuff= shlibsuff= libmagic=32-bit;;
17879     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17880     libsuff=32 shlibsuff=N32 libmagic=N32;;
17881     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17882     libsuff=64 shlibsuff=64 libmagic=64-bit;;
17883     *) libsuff= shlibsuff= libmagic=never-match;;
17884     esac
17885     ;;
17886     esac
17887     shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17888     shlibpath_overrides_runpath=no
17889     sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17890     sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17891     hardcode_into_libs=yes
17892     ;;
17893    
17894     # No shared lib support for Linux oldld, aout, or coff.
17895     linux*oldld* | linux*aout* | linux*coff*)
17896     dynamic_linker=no
17897     ;;
17898    
17899     # This must be Linux ELF.
17900     linux* | k*bsd*-gnu | kopensolaris*-gnu)
17901     version_type=linux
17902     need_lib_prefix=no
17903     need_version=no
17904     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17905     soname_spec='${libname}${release}${shared_ext}$major'
17906     finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17907     shlibpath_var=LD_LIBRARY_PATH
17908     shlibpath_overrides_runpath=no
17909     # Some binutils ld are patched to set DT_RUNPATH
17910     save_LDFLAGS=$LDFLAGS
17911     save_libdir=$libdir
17912     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17913     LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17914     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915     /* end confdefs.h. */
17916    
17917     int
17918     main ()
17919     {
17920    
17921     ;
17922     return 0;
17923     }
17924     _ACEOF
17925     if ac_fn_cxx_try_link "$LINENO"; then :
17926     if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17927     shlibpath_overrides_runpath=yes
17928     fi
17929     fi
17930     rm -f core conftest.err conftest.$ac_objext \
17931     conftest$ac_exeext conftest.$ac_ext
17932     LDFLAGS=$save_LDFLAGS
17933     libdir=$save_libdir
17934    
17935     # This implies no fast_install, which is unacceptable.
17936     # Some rework will be needed to allow for fast_install
17937     # before this can be enabled.
17938     hardcode_into_libs=yes
17939    
17940     # Append ld.so.conf contents to the search path
17941     if test -f /etc/ld.so.conf; then
17942     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17943     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17944     fi
17945    
17946     # We used to test for /lib/ld.so.1 and disable shared libraries on
17947     # powerpc, because MkLinux only supported shared libraries with the
17948     # GNU dynamic linker. Since this was broken with cross compilers,
17949     # most powerpc-linux boxes support dynamic linking these days and
17950     # people can always --disable-shared, the test was removed, and we
17951     # assume the GNU/Linux dynamic linker is in use.
17952     dynamic_linker='GNU/Linux ld.so'
17953     ;;
17954    
17955     netbsdelf*-gnu)
17956     version_type=linux
17957     need_lib_prefix=no
17958     need_version=no
17959     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17960     soname_spec='${libname}${release}${shared_ext}$major'
17961     shlibpath_var=LD_LIBRARY_PATH
17962     shlibpath_overrides_runpath=no
17963     hardcode_into_libs=yes
17964     dynamic_linker='NetBSD ld.elf_so'
17965     ;;
17966    
17967     netbsd*)
17968     version_type=sunos
17969     need_lib_prefix=no
17970     need_version=no
17971     if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17972     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17973     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17974     dynamic_linker='NetBSD (a.out) ld.so'
17975     else
17976     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17977     soname_spec='${libname}${release}${shared_ext}$major'
17978     dynamic_linker='NetBSD ld.elf_so'
17979     fi
17980     shlibpath_var=LD_LIBRARY_PATH
17981     shlibpath_overrides_runpath=yes
17982     hardcode_into_libs=yes
17983     ;;
17984    
17985     newsos6)
17986     version_type=linux
17987     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17988     shlibpath_var=LD_LIBRARY_PATH
17989     shlibpath_overrides_runpath=yes
17990     ;;
17991    
17992     *nto* | *qnx*)
17993     version_type=qnx
17994     need_lib_prefix=no
17995     need_version=no
17996     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17997     soname_spec='${libname}${release}${shared_ext}$major'
17998     shlibpath_var=LD_LIBRARY_PATH
17999     shlibpath_overrides_runpath=no
18000     hardcode_into_libs=yes
18001     dynamic_linker='ldqnx.so'
18002     ;;
18003    
18004     openbsd*)
18005     version_type=sunos
18006     sys_lib_dlsearch_path_spec="/usr/lib"
18007     need_lib_prefix=no
18008     # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18009     case $host_os in
18010     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18011     *) need_version=no ;;
18012     esac
18013     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18014     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18015     shlibpath_var=LD_LIBRARY_PATH
18016     if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18017     case $host_os in
18018     openbsd2.[89] | openbsd2.[89].*)
18019     shlibpath_overrides_runpath=no
18020     ;;
18021     *)
18022     shlibpath_overrides_runpath=yes
18023     ;;
18024     esac
18025     else
18026     shlibpath_overrides_runpath=yes
18027     fi
18028     ;;
18029    
18030     os2*)
18031     libname_spec='$name'
18032     shrext_cmds=".dll"
18033     need_lib_prefix=no
18034     library_names_spec='$libname${shared_ext} $libname.a'
18035     dynamic_linker='OS/2 ld.exe'
18036     shlibpath_var=LIBPATH
18037     ;;
18038    
18039     osf3* | osf4* | osf5*)
18040     version_type=osf
18041     need_lib_prefix=no
18042     need_version=no
18043     soname_spec='${libname}${release}${shared_ext}$major'
18044     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18045     shlibpath_var=LD_LIBRARY_PATH
18046     sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18047     sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18048     ;;
18049    
18050     rdos*)
18051     dynamic_linker=no
18052     ;;
18053    
18054     solaris*)
18055     version_type=linux
18056     need_lib_prefix=no
18057     need_version=no
18058     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18059     soname_spec='${libname}${release}${shared_ext}$major'
18060     shlibpath_var=LD_LIBRARY_PATH
18061     shlibpath_overrides_runpath=yes
18062     hardcode_into_libs=yes
18063     # ldd complains unless libraries are executable
18064     postinstall_cmds='chmod +x $lib'
18065     ;;
18066    
18067     sunos4*)
18068     version_type=sunos
18069     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18070     finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18071     shlibpath_var=LD_LIBRARY_PATH
18072     shlibpath_overrides_runpath=yes
18073     if test "$with_gnu_ld" = yes; then
18074     need_lib_prefix=no
18075     fi
18076     need_version=yes
18077     ;;
18078    
18079     sysv4 | sysv4.3*)
18080     version_type=linux
18081     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18082     soname_spec='${libname}${release}${shared_ext}$major'
18083     shlibpath_var=LD_LIBRARY_PATH
18084     case $host_vendor in
18085     sni)
18086     shlibpath_overrides_runpath=no
18087     need_lib_prefix=no
18088     runpath_var=LD_RUN_PATH
18089     ;;
18090     siemens)
18091     need_lib_prefix=no
18092     ;;
18093     motorola)
18094     need_lib_prefix=no
18095     need_version=no
18096     shlibpath_overrides_runpath=no
18097     sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18098     ;;
18099     esac
18100     ;;
18101    
18102     sysv4*MP*)
18103     if test -d /usr/nec ;then
18104     version_type=linux
18105     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18106     soname_spec='$libname${shared_ext}.$major'
18107     shlibpath_var=LD_LIBRARY_PATH
18108     fi
18109     ;;
18110    
18111     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18112     version_type=freebsd-elf
18113     need_lib_prefix=no
18114     need_version=no
18115     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18116     soname_spec='${libname}${release}${shared_ext}$major'
18117     shlibpath_var=LD_LIBRARY_PATH
18118     shlibpath_overrides_runpath=yes
18119     hardcode_into_libs=yes
18120     if test "$with_gnu_ld" = yes; then
18121     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18122     else
18123     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18124     case $host_os in
18125     sco3.2v5*)
18126     sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18127     ;;
18128     esac
18129     fi
18130     sys_lib_dlsearch_path_spec='/usr/lib'
18131     ;;
18132    
18133     tpf*)
18134     # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18135     version_type=linux
18136     need_lib_prefix=no
18137     need_version=no
18138     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18139     shlibpath_var=LD_LIBRARY_PATH
18140     shlibpath_overrides_runpath=no
18141     hardcode_into_libs=yes
18142     ;;
18143    
18144     uts4*)
18145     version_type=linux
18146     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18147     soname_spec='${libname}${release}${shared_ext}$major'
18148     shlibpath_var=LD_LIBRARY_PATH
18149     ;;
18150    
18151     *)
18152     dynamic_linker=no
18153     ;;
18154     esac
18155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18156     $as_echo "$dynamic_linker" >&6; }
18157     test "$dynamic_linker" = no && can_build_shared=no
18158    
18159     variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18160     if test "$GCC" = yes; then
18161     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18162     fi
18163    
18164     if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18165     sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18166     fi
18167     if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18168     sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18169     fi
18170    
18171    
18172    
18173    
18174    
18175    
18176    
18177    
18178    
18179    
18180    
18181    
18182    
18183    
18184    
18185    
18186    
18187    
18188    
18189    
18190    
18191    
18192    
18193    
18194    
18195    
18196    
18197    
18198    
18199    
18200    
18201    
18202    
18203    
18204    
18205    
18206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18207     $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18208     hardcode_action_CXX=
18209     if test -n "$hardcode_libdir_flag_spec_CXX" ||
18210     test -n "$runpath_var_CXX" ||
18211     test "X$hardcode_automatic_CXX" = "Xyes" ; then
18212    
18213     # We can hardcode non-existent directories.
18214     if test "$hardcode_direct_CXX" != no &&
18215     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18216     # have to relink, otherwise we might link with an installed library
18217     # when we should be linking with a yet-to-be-installed one
18218     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18219     test "$hardcode_minus_L_CXX" != no; then
18220     # Linking always hardcodes the temporary library directory.
18221     hardcode_action_CXX=relink
18222     else
18223     # We can link without hardcoding, and we can hardcode nonexisting dirs.
18224     hardcode_action_CXX=immediate
18225     fi
18226     else
18227     # We cannot hardcode anything, or else we can only hardcode existing
18228     # directories.
18229     hardcode_action_CXX=unsupported
18230     fi
18231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18232     $as_echo "$hardcode_action_CXX" >&6; }
18233    
18234     if test "$hardcode_action_CXX" = relink ||
18235     test "$inherit_rpath_CXX" = yes; then
18236     # Fast installation is not supported
18237     enable_fast_install=no
18238     elif test "$shlibpath_overrides_runpath" = yes ||
18239     test "$enable_shared" = no; then
18240     # Fast installation is not necessary
18241     enable_fast_install=needless
18242     fi
18243    
18244    
18245    
18246    
18247    
18248    
18249    
18250     fi # test -n "$compiler"
18251    
18252     CC=$lt_save_CC
18253     LDCXX=$LD
18254     LD=$lt_save_LD
18255     GCC=$lt_save_GCC
18256     with_gnu_ld=$lt_save_with_gnu_ld
18257     lt_cv_path_LDCXX=$lt_cv_path_LD
18258     lt_cv_path_LD=$lt_save_path_LD
18259     lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18260     lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18261     fi # test "$_lt_caught_CXX_error" != yes
18262    
18263     ac_ext=c
18264     ac_cpp='$CPP $CPPFLAGS'
18265     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267     ac_compiler_gnu=$ac_cv_c_compiler_gnu
18268    
18269    
18270    
18271    
18272    
18273    
18274    
18275    
18276    
18277    
18278    
18279    
18280    
18281     ac_config_commands="$ac_config_commands libtool"
18282    
18283    
18284    
18285    
18286     # Only expand once:
18287    
18288    
18289    
18290    
18291     if test "x$glib" = "xyes"; then
18292     EVENT_GLIB_TRUE=
18293     EVENT_GLIB_FALSE='#'
18294     else
18295     EVENT_GLIB_TRUE='#'
18296     EVENT_GLIB_FALSE=
18297     fi
18298    
18299     if test "x$glib" = "xno"; then
18300     SUPPORT_GLIB_TRUE=
18301     SUPPORT_GLIB_FALSE='#'
18302     else
18303     SUPPORT_GLIB_TRUE='#'
18304     SUPPORT_GLIB_FALSE=
18305     fi
18306    
18307     if test "x$glib" = "xno"; then
18308     SUPPORT_EZXML_TRUE=
18309     SUPPORT_EZXML_FALSE='#'
18310     else
18311     SUPPORT_EZXML_TRUE='#'
18312     SUPPORT_EZXML_FALSE=
18313     fi
18314    
18315    
18316     if test "x${ZLIB_CFLAGS}" = "x" -a "x${ZLIB_LIBS}" = "x"; then
18317     ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18318     if test "x$ac_cv_header_zlib_h" = x""yes; then :
18319    
18320     $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
18321    
18322     ZLIB_LIBS="-lz"
18323     zlib=yes
18324     else
18325     ZLIB_CFLAGS="-I\$(top_srcdir)/navit/support/zlib"
18326     ZLIB_LIBS="-L\$(top_builddir)/navit/support/zlib -lsupport_zlib"
18327     zlib=no
18328    
18329     fi
18330    
18331    
18332     else
18333     zlib=yes
18334     fi
18335     if test "x$zlib" = "xno"; then
18336     SUPPORT_ZLIB_TRUE=
18337     SUPPORT_ZLIB_FALSE='#'
18338     else
18339     SUPPORT_ZLIB_TRUE='#'
18340     SUPPORT_ZLIB_FALSE=
18341     fi
18342    
18343    
18344    
18345    
18346     ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
18347     if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
18348    
18349     $as_echo "#define HAVE_SOCKET /**/" >>confdefs.h
18350    
18351     fi
18352    
18353    
18354     ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
18355     if test "x$ac_cv_header_winsock2_h" = x""yes; then :
18356    
18357     $as_echo "#define HAVE_WINSOCK /**/" >>confdefs.h
18358    
18359     fi
18360    
18361    
18362    
18363     # gtk
18364    
18365     pkg_failed=no
18366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
18367     $as_echo_n "checking for GTK2... " >&6; }
18368    
18369     if test -n "$PKG_CONFIG"; then
18370     if test -n "$GTK2_CFLAGS"; then
18371     pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
18372     else
18373     if test -n "$PKG_CONFIG" && \
18374     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
18375     ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
18376     ac_status=$?
18377     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18378     test $ac_status = 0; }; then
18379     pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
18380     else
18381     pkg_failed=yes
18382     fi
18383     fi
18384     else
18385     pkg_failed=untried
18386     fi
18387     if test -n "$PKG_CONFIG"; then
18388     if test -n "$GTK2_LIBS"; then
18389     pkg_cv_GTK2_LIBS="$GTK2_LIBS"
18390     else
18391     if test -n "$PKG_CONFIG" && \
18392     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
18393     ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
18394     ac_status=$?
18395     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18396     test $ac_status = 0; }; then
18397     pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
18398     else
18399     pkg_failed=yes
18400     fi
18401     fi
18402     else
18403     pkg_failed=untried
18404     fi
18405    
18406    
18407    
18408     if test $pkg_failed = yes; then
18409    
18410     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18411     _pkg_short_errors_supported=yes
18412     else
18413     _pkg_short_errors_supported=no
18414     fi
18415     if test $_pkg_short_errors_supported = yes; then
18416     GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
18417     else
18418     GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
18419     fi
18420     # Put the nasty error message in config.log where it belongs
18421     echo "$GTK2_PKG_ERRORS" >&5
18422    
18423     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18424     $as_echo "no" >&6; }
18425     gtk2_pkgconfig=no
18426     elif test $pkg_failed = untried; then
18427     gtk2_pkgconfig=no
18428     else
18429     GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
18430     GTK2_LIBS=$pkg_cv_GTK2_LIBS
18431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18432     $as_echo "yes" >&6; }
18433     gtk2_pkgconfig=yes
18434     fi
18435     if test "x$gtk2_pkgconfig" = "xyes"; then
18436    
18437     $as_echo "#define HAVE_GTK2 1" >>confdefs.h
18438    
18439     graphics_gtk_drawing_area=yes; graphics_gtk_drawing_area_reason="gtk+-2.0 present"
18440     gui_gtk=yes; gui_gtk_reason="gtk+-2.0 present"
18441     fi
18442    
18443     # fsync
18444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
18445     $as_echo_n "checking for fsync... " >&6; }
18446     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447     /* end confdefs.h. */
18448     #include <unistd.h>
18449     int
18450     main ()
18451     {
18452     fsync(0);
18453     ;
18454     return 0;
18455     }
18456     _ACEOF
18457     if ac_fn_c_try_link "$LINENO"; then :
18458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18459     $as_echo "yes" >&6; };
18460     $as_echo "#define HAVE_FSYNC 1" >>confdefs.h
18461    
18462     else
18463     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18464     $as_echo "no" >&6; }
18465     fi
18466     rm -f core conftest.err conftest.$ac_objext \
18467     conftest$ac_exeext conftest.$ac_ext
18468    
18469     # system
18470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system" >&5
18471     $as_echo_n "checking for system... " >&6; }
18472     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473     /* end confdefs.h. */
18474     #include <stdlib.h>
18475     int
18476     main ()
18477     {
18478     system("/bin/true");
18479     ;
18480     return 0;
18481     }
18482     _ACEOF
18483     if ac_fn_c_try_link "$LINENO"; then :
18484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18485     $as_echo "yes" >&6; };
18486     $as_echo "#define HAVE_SYSTEM 1" >>confdefs.h
18487    
18488     else
18489     speech_cmdline=no; speech_cmdline_reason="not supported without system()"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18490     $as_echo "no" >&6; }
18491     fi
18492     rm -f core conftest.err conftest.$ac_objext \
18493     conftest$ac_exeext conftest.$ac_ext
18494    
18495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CreateProcess" >&5
18496     $as_echo_n "checking for CreateProcess... " >&6; }
18497     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498     /* end confdefs.h. */
18499     #include <windows.h>
18500     int
18501     main ()
18502     {
18503     CreateProcess(NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL);
18504     ;
18505     return 0;
18506     }
18507     _ACEOF
18508     if ac_fn_c_try_link "$LINENO"; then :
18509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18510     $as_echo "yes" >&6; };
18511     $as_echo "#define HAVE_CREATEPROCESS 1" >>confdefs.h
18512     speech_cmdline=yes; speech_cmdline_reason="CreateProcess exists"
18513     else
18514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18515     $as_echo "no" >&6; }
18516     fi
18517     rm -f core conftest.err conftest.$ac_objext \
18518     conftest$ac_exeext conftest.$ac_ext
18519    
18520     # Check whether --enable-graphics-sdl was given.
18521     if test "${enable_graphics_sdl+set}" = set; then :
18522     enableval=$enable_graphics_sdl; graphics_sdl=$enableval;graphics_sdl_reason="configure parameter"
18523     fi
18524    
18525    
18526     if test "x${graphics_sdl}" = "xyes" ; then
18527    
18528     pkg_failed=no
18529     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
18530     $as_echo_n "checking for SDL... " >&6; }
18531    
18532     if test -n "$PKG_CONFIG"; then
18533     if test -n "$SDL_CFLAGS"; then
18534     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
18535     else
18536     if test -n "$PKG_CONFIG" && \
18537     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
18538     ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
18539     ac_status=$?
18540     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18541     test $ac_status = 0; }; then
18542     pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
18543     else
18544     pkg_failed=yes
18545     fi
18546     fi
18547     else
18548     pkg_failed=untried
18549     fi
18550     if test -n "$PKG_CONFIG"; then
18551     if test -n "$SDL_LIBS"; then
18552     pkg_cv_SDL_LIBS="$SDL_LIBS"
18553     else
18554     if test -n "$PKG_CONFIG" && \
18555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
18556     ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
18557     ac_status=$?
18558     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18559     test $ac_status = 0; }; then
18560     pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
18561     else
18562     pkg_failed=yes
18563     fi
18564     fi
18565     else
18566     pkg_failed=untried
18567     fi
18568    
18569    
18570    
18571     if test $pkg_failed = yes; then
18572    
18573     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18574     _pkg_short_errors_supported=yes
18575     else
18576     _pkg_short_errors_supported=no
18577     fi
18578     if test $_pkg_short_errors_supported = yes; then
18579     SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl"`
18580     else
18581     SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl"`
18582     fi
18583     # Put the nasty error message in config.log where it belongs
18584     echo "$SDL_PKG_ERRORS" >&5
18585    
18586     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18587     $as_echo "no" >&6; }
18588     graphics_sdl="no"
18589     graphics_sdl_reason="sdl not available"
18590    
18591     elif test $pkg_failed = untried; then
18592     graphics_sdl="no"
18593     graphics_sdl_reason="sdl not available"
18594    
18595     else
18596     SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
18597     SDL_LIBS=$pkg_cv_SDL_LIBS
18598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18599     $as_echo "yes" >&6; }
18600     graphics_sdl="yes"
18601     graphics_sdl_reason="sdl present"
18602     fi
18603    
18604    
18605     fi
18606     if test "x${graphics_sdl}" = "xyes" ; then
18607     save_CPPFLAGS=$CPPFLAGS
18608     CPPFLAGS="$SDL_CFLAGS $CPPFLAGS"
18609     ac_fn_c_check_header_mongrel "$LINENO" "SDL_image.h" "ac_cv_header_SDL_image_h" "$ac_includes_default"
18610     if test "x$ac_cv_header_SDL_image_h" = x""yes; then :
18611     SDL_IMAGE_LIBS=-lSDL_image
18612     else
18613     graphics_sdl="no";graphics_sdl_reason="SDL_image.h missing"
18614     fi
18615    
18616    
18617    
18618     CPPFLAGS=$save_CPPFLAGS
18619     fi
18620     if test "x${graphics_sdl}" = "xyes" ; then
18621    
18622     $as_echo "#define GRAPHICS_SDL 1" >>confdefs.h
18623    
18624     fi
18625     if test "x${graphics_sdl}" = "xyes"; then
18626     GRAPHICS_SDL_TRUE=
18627     GRAPHICS_SDL_FALSE='#'
18628     else
18629     GRAPHICS_SDL_TRUE='#'
18630     GRAPHICS_SDL_FALSE=
18631     fi
18632    
18633    
18634     # Check whether --enable-postgresql was given.
18635     if test "${enable_postgresql+set}" = set; then :
18636     enableval=$enable_postgresql; postgresql=$enableval;postgresql_reason="configure parameter"
18637     fi
18638    
18639     if test "x${postgresql}" = "xyes" ; then
18640     if test -z "$PG_CONFIG"; then
18641     # Extract the first word of "pg_config", so it can be a program name with args.
18642     set dummy pg_config; ac_word=$2
18643     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18644     $as_echo_n "checking for $ac_word... " >&6; }
18645     if test "${ac_cv_path_PG_CONFIG+set}" = set; then :
18646     $as_echo_n "(cached) " >&6
18647     else
18648     case $PG_CONFIG in
18649     [\\/]* | ?:[\\/]*)
18650     ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
18651     ;;
18652     *)
18653     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18654     for as_dir in $PATH
18655     do
18656     IFS=$as_save_IFS
18657     test -z "$as_dir" && as_dir=.
18658     for ac_exec_ext in '' $ac_executable_extensions; do
18659     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18660     ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18662     break 2
18663     fi
18664     done
18665     done
18666     IFS=$as_save_IFS
18667    
18668     ;;
18669     esac
18670     fi
18671     PG_CONFIG=$ac_cv_path_PG_CONFIG
18672     if test -n "$PG_CONFIG"; then
18673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
18674     $as_echo "$PG_CONFIG" >&6; }
18675     else
18676     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18677     $as_echo "no" >&6; }
18678     fi
18679    
18680    
18681     fi
18682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL libraries with $PG_CONFIG" >&5
18683     $as_echo_n "checking for PostgreSQL libraries with $PG_CONFIG... " >&6; }
18684     if test ! -x "$PG_CONFIG"; then
18685     if test "x${PG_CONFIG}" = "x" ; then
18686     postgresql_reason="$PG_CONFIG not executable"
18687     else
18688     postgresql_reason="pg_config missing"
18689     fi
18690     postgresql=no
18691     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18692     $as_echo "no" >&6; }
18693     else
18694     POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
18695     POSTGRESQL_LIBS="-L`$PG_CONFIG --libdir` -lpq"
18696    
18697     $as_echo "#define HAVE_POSTGRESQL 1" >>confdefs.h
18698    
18699    
18700    
18701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18702     $as_echo "yes" >&6; }
18703     fi
18704     fi
18705     if test "x${postgresql}" = "xyes"; then
18706     HAVE_POSTGRESQL_TRUE=
18707     HAVE_POSTGRESQL_FALSE='#'
18708     else
18709     HAVE_POSTGRESQL_TRUE='#'
18710     HAVE_POSTGRESQL_FALSE=
18711     fi
18712    
18713     # font
18714     # freetype
18715     # Check whether --enable-font-freetype was given.
18716     if test "${enable_font_freetype+set}" = set; then :
18717     enableval=$enable_font_freetype; font_freetype=$enableval;font_freetype_reason="configure parameter"
18718     fi
18719    
18720     if test "x${font_freetype}" = "xyes" -a "x${FREETYPE2_CFLAGS}" = "x" -a "x${FREETYPE2_LIBS}" = "x"; then
18721    
18722     pkg_failed=no
18723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE2" >&5
18724     $as_echo_n "checking for FREETYPE2... " >&6; }
18725    
18726     if test -n "$PKG_CONFIG"; then
18727     if test -n "$FREETYPE2_CFLAGS"; then
18728     pkg_cv_FREETYPE2_CFLAGS="$FREETYPE2_CFLAGS"
18729     else
18730     if test -n "$PKG_CONFIG" && \
18731     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
18732     ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
18733     ac_status=$?
18734     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18735     test $ac_status = 0; }; then
18736     pkg_cv_FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
18737     else
18738     pkg_failed=yes
18739     fi
18740     fi
18741     else
18742     pkg_failed=untried
18743     fi
18744     if test -n "$PKG_CONFIG"; then
18745     if test -n "$FREETYPE2_LIBS"; then
18746     pkg_cv_FREETYPE2_LIBS="$FREETYPE2_LIBS"
18747     else
18748     if test -n "$PKG_CONFIG" && \
18749     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
18750     ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
18751     ac_status=$?
18752     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18753     test $ac_status = 0; }; then
18754     pkg_cv_FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
18755     else
18756     pkg_failed=yes
18757     fi
18758     fi
18759     else
18760     pkg_failed=untried
18761     fi
18762    
18763    
18764    
18765     if test $pkg_failed = yes; then
18766    
18767     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18768     _pkg_short_errors_supported=yes
18769     else
18770     _pkg_short_errors_supported=no
18771     fi
18772     if test $_pkg_short_errors_supported = yes; then
18773     FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2"`
18774     else
18775     FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
18776     fi
18777     # Put the nasty error message in config.log where it belongs
18778     echo "$FREETYPE2_PKG_ERRORS" >&5
18779    
18780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18781     $as_echo "no" >&6; }
18782     font_freetype=no;font_freetype_reason="Package freetype2 missing"
18783     elif test $pkg_failed = untried; then
18784     font_freetype=no;font_freetype_reason="Package freetype2 missing"
18785     else
18786     FREETYPE2_CFLAGS=$pkg_cv_FREETYPE2_CFLAGS
18787     FREETYPE2_LIBS=$pkg_cv_FREETYPE2_LIBS
18788     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18789     $as_echo "yes" >&6; }
18790     :
18791     fi
18792     else
18793     fribidi=no
18794     fi
18795    
18796    
18797     if test "x${font_freetype}" = "xyes"; then
18798     FONT_FREETYPE_TRUE=
18799     FONT_FREETYPE_FALSE='#'
18800     else
18801     FONT_FREETYPE_TRUE='#'
18802     FONT_FREETYPE_FALSE=
18803     fi
18804    
18805    
18806     # Check whether --with-freetype-fonts was given.
18807     if test "${with_freetype_fonts+set}" = set; then :
18808     withval=$with_freetype_fonts;
18809     cat >>confdefs.h <<_ACEOF
18810     #define FREETYPE_FONTS ${withval}
18811     _ACEOF
18812    
18813     fi
18814    
18815    
18816     # Check whether --enable-fontconfig was given.
18817     if test "${enable_fontconfig+set}" = set; then :
18818     enableval=$enable_fontconfig; fontconfig=$enableval;fontconfig_reason="configure parameter"
18819     fi
18820    
18821     if test "x${fontconfig}" = "xyes"; then
18822    
18823     pkg_failed=no
18824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18825     $as_echo_n "checking for FONTCONFIG... " >&6; }
18826    
18827     if test -n "$PKG_CONFIG"; then
18828     if test -n "$FONTCONFIG_CFLAGS"; then
18829     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18830     else
18831     if test -n "$PKG_CONFIG" && \
18832     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18833     ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18834     ac_status=$?
18835     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18836     test $ac_status = 0; }; then
18837     pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
18838     else
18839     pkg_failed=yes
18840     fi
18841     fi
18842     else
18843     pkg_failed=untried
18844     fi
18845     if test -n "$PKG_CONFIG"; then
18846     if test -n "$FONTCONFIG_LIBS"; then
18847     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18848     else
18849     if test -n "$PKG_CONFIG" && \
18850     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18851     ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18852     ac_status=$?
18853     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18854     test $ac_status = 0; }; then
18855     pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
18856     else
18857     pkg_failed=yes
18858     fi
18859     fi
18860     else
18861     pkg_failed=untried
18862     fi
18863    
18864    
18865    
18866     if test $pkg_failed = yes; then
18867    
18868     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18869     _pkg_short_errors_supported=yes
18870     else
18871     _pkg_short_errors_supported=no
18872     fi
18873     if test $_pkg_short_errors_supported = yes; then
18874     FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig"`
18875     else
18876     FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig"`
18877     fi
18878     # Put the nasty error message in config.log where it belongs
18879     echo "$FONTCONFIG_PKG_ERRORS" >&5
18880    
18881     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18882     $as_echo "no" >&6; }
18883     fontconfig=no
18884     elif test $pkg_failed = untried; then
18885     fontconfig=no
18886     else
18887     FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18888     FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18889     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18890     $as_echo "yes" >&6; }
18891     fontconfig=yes
18892     fi
18893     fi
18894     if test "x$fontconfig" = "xyes"; then
18895    
18896     $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18897    
18898     fi
18899    
18900    
18901    
18902     if test "x${font_freetype}" = "xyes" -a "x$fontconfig" != "xyes"; then
18903     FONTS_TRUE=
18904     FONTS_FALSE='#'
18905     else
18906     FONTS_TRUE='#'
18907     FONTS_FALSE=
18908     fi
18909    
18910    
18911     # fribidi
18912     # Check whether --enable-fribidi was given.
18913     if test "${enable_fribidi+set}" = set; then :
18914     enableval=$enable_fribidi; fribidi=$enableval;fribidi_reason="configure parameter"
18915     else
18916     fribidi=yes
18917     fi
18918    
18919     if test x"${fribidi}" = "xyes"; then
18920    
18921     pkg_failed=no
18922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI2" >&5
18923     $as_echo_n "checking for FRIBIDI2... " >&6; }
18924    
18925     if test -n "$PKG_CONFIG"; then
18926     if test -n "$FRIBIDI2_CFLAGS"; then
18927     pkg_cv_FRIBIDI2_CFLAGS="$FRIBIDI2_CFLAGS"
18928     else
18929     if test -n "$PKG_CONFIG" && \
18930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.0\""; } >&5
18931     ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.0") 2>&5
18932     ac_status=$?
18933     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18934     test $ac_status = 0; }; then
18935     pkg_cv_FRIBIDI2_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.0" 2>/dev/null`
18936     else
18937     pkg_failed=yes
18938     fi
18939     fi
18940     else
18941     pkg_failed=untried
18942     fi
18943     if test -n "$PKG_CONFIG"; then
18944     if test -n "$FRIBIDI2_LIBS"; then
18945     pkg_cv_FRIBIDI2_LIBS="$FRIBIDI2_LIBS"
18946     else
18947     if test -n "$PKG_CONFIG" && \
18948     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.0\""; } >&5
18949     ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.0") 2>&5
18950     ac_status=$?
18951     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18952     test $ac_status = 0; }; then
18953     pkg_cv_FRIBIDI2_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.0" 2>/dev/null`
18954     else
18955     pkg_failed=yes
18956     fi
18957     fi
18958     else
18959     pkg_failed=untried
18960     fi
18961    
18962    
18963    
18964     if test $pkg_failed = yes; then
18965    
18966     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18967     _pkg_short_errors_supported=yes
18968     else
18969     _pkg_short_errors_supported=no
18970     fi
18971     if test $_pkg_short_errors_supported = yes; then
18972     FRIBIDI2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fribidi >= 0.19.0"`
18973     else
18974     FRIBIDI2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fribidi >= 0.19.0"`
18975     fi
18976     # Put the nasty error message in config.log where it belongs
18977     echo "$FRIBIDI2_PKG_ERRORS" >&5
18978    
18979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18980     $as_echo "no" >&6; }
18981    
18982     pkg_failed=no
18983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18984     $as_echo_n "checking for FRIBIDI... " >&6; }
18985    
18986     if test -n "$PKG_CONFIG"; then
18987     if test -n "$FRIBIDI_CFLAGS"; then
18988     pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18989     else
18990     if test -n "$PKG_CONFIG" && \
18991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
18992     ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
18993     ac_status=$?
18994     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18995     test $ac_status = 0; }; then
18996     pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi" 2>/dev/null`
18997     else
18998     pkg_failed=yes
18999     fi
19000     fi
19001     else
19002     pkg_failed=untried
19003     fi
19004     if test -n "$PKG_CONFIG"; then
19005     if test -n "$FRIBIDI_LIBS"; then
19006     pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
19007     else
19008     if test -n "$PKG_CONFIG" && \
19009     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
19010     ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
19011     ac_status=$?
19012     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19013     test $ac_status = 0; }; then
19014     pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi" 2>/dev/null`
19015     else
19016     pkg_failed=yes
19017     fi
19018     fi
19019     else
19020     pkg_failed=untried
19021     fi
19022    
19023    
19024    
19025     if test $pkg_failed = yes; then
19026    
19027     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19028     _pkg_short_errors_supported=yes
19029     else
19030     _pkg_short_errors_supported=no
19031     fi
19032     if test $_pkg_short_errors_supported = yes; then
19033     FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fribidi"`
19034     else
19035     FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fribidi"`
19036     fi
19037     # Put the nasty error message in config.log where it belongs
19038     echo "$FRIBIDI_PKG_ERRORS" >&5
19039    
19040     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19041     $as_echo "no" >&6; }
19042     fribidi=no;fribidi_reason="FriBidi library not found"
19043     elif test $pkg_failed = untried; then
19044     fribidi=no;fribidi_reason="FriBidi library not found"
19045     else
19046     FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
19047     FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
19048     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19049     $as_echo "yes" >&6; }
19050     fribidi=yes;oldfribidi=yes;fribid_reason="using old version"
19051     fi
19052    
19053     elif test $pkg_failed = untried; then
19054    
19055     pkg_failed=no
19056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
19057     $as_echo_n "checking for FRIBIDI... " >&6; }
19058    
19059     if test -n "$PKG_CONFIG"; then
19060     if test -n "$FRIBIDI_CFLAGS"; then
19061     pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
19062     else
19063     if test -n "$PKG_CONFIG" && \
19064     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
19065     ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
19066     ac_status=$?
19067     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19068     test $ac_status = 0; }; then
19069     pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi" 2>/dev/null`
19070     else
19071     pkg_failed=yes
19072     fi
19073     fi
19074     else
19075     pkg_failed=untried
19076     fi
19077     if test -n "$PKG_CONFIG"; then
19078     if test -n "$FRIBIDI_LIBS"; then
19079     pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
19080     else
19081     if test -n "$PKG_CONFIG" && \
19082     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
19083     ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
19084     ac_status=$?
19085     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19086     test $ac_status = 0; }; then
19087     pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi" 2>/dev/null`
19088     else
19089     pkg_failed=yes
19090     fi
19091     fi
19092     else
19093     pkg_failed=untried
19094     fi
19095    
19096    
19097    
19098     if test $pkg_failed = yes; then
19099    
19100     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19101     _pkg_short_errors_supported=yes
19102     else
19103     _pkg_short_errors_supported=no
19104     fi
19105     if test $_pkg_short_errors_supported = yes; then
19106     FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fribidi"`
19107     else
19108     FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fribidi"`
19109     fi
19110     # Put the nasty error message in config.log where it belongs
19111     echo "$FRIBIDI_PKG_ERRORS" >&5
19112    
19113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19114     $as_echo "no" >&6; }
19115     fribidi=no;fribidi_reason="FriBidi library not found"
19116     elif test $pkg_failed = untried; then
19117     fribidi=no;fribidi_reason="FriBidi library not found"
19118     else
19119     FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
19120     FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
19121     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19122     $as_echo "yes" >&6; }
19123     fribidi=yes;oldfribidi=yes;fribid_reason="using old version"
19124     fi
19125    
19126     else
19127     FRIBIDI2_CFLAGS=$pkg_cv_FRIBIDI2_CFLAGS
19128     FRIBIDI2_LIBS=$pkg_cv_FRIBIDI2_LIBS
19129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19130     $as_echo "yes" >&6; }
19131     fribidi=yes;oldfribidi=no
19132     fi
19133     fi
19134     if test x"${fribidi}" = "xyes"; then
19135    
19136     $as_echo "#define USE_FRIBIDI 1" >>confdefs.h
19137    
19138     fi
19139     if test x"${oldfribidi}" = "xyes"; then
19140    
19141     $as_echo "#define FRIBIDIOLD 1" >>confdefs.h
19142    
19143     fi
19144    
19145    
19146    
19147    
19148    
19149    
19150    
19151     pkg_failed=no
19152     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB2" >&5
19153     $as_echo_n "checking for IMLIB2... " >&6; }
19154    
19155     if test -n "$PKG_CONFIG"; then
19156     if test -n "$IMLIB2_CFLAGS"; then
19157     pkg_cv_IMLIB2_CFLAGS="$IMLIB2_CFLAGS"
19158     else
19159     if test -n "$PKG_CONFIG" && \
19160     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2\""; } >&5
19161     ($PKG_CONFIG --exists --print-errors "imlib2") 2>&5
19162     ac_status=$?
19163     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19164     test $ac_status = 0; }; then
19165     pkg_cv_IMLIB2_CFLAGS=`$PKG_CONFIG --cflags "imlib2" 2>/dev/null`
19166     else
19167     pkg_failed=yes
19168     fi
19169     fi
19170     else
19171     pkg_failed=untried
19172     fi
19173     if test -n "$PKG_CONFIG"; then
19174     if test -n "$IMLIB2_LIBS"; then
19175     pkg_cv_IMLIB2_LIBS="$IMLIB2_LIBS"
19176     else
19177     if test -n "$PKG_CONFIG" && \
19178     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2\""; } >&5
19179     ($PKG_CONFIG --exists --print-errors "imlib2") 2>&5
19180     ac_status=$?
19181     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19182     test $ac_status = 0; }; then
19183     pkg_cv_IMLIB2_LIBS=`$PKG_CONFIG --libs "imlib2" 2>/dev/null`
19184     else
19185     pkg_failed=yes
19186     fi
19187     fi
19188     else
19189     pkg_failed=untried
19190     fi
19191    
19192    
19193    
19194     if test $pkg_failed = yes; then
19195    
19196     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19197     _pkg_short_errors_supported=yes
19198     else
19199     _pkg_short_errors_supported=no
19200     fi
19201     if test $_pkg_short_errors_supported = yes; then
19202     IMLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "imlib2"`
19203     else
19204     IMLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "imlib2"`
19205     fi
19206     # Put the nasty error message in config.log where it belongs
19207     echo "$IMLIB2_PKG_ERRORS" >&5
19208    
19209     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19210     $as_echo "no" >&6; }
19211     imlib2_pkgconfig=no
19212     elif test $pkg_failed = untried; then
19213     imlib2_pkgconfig=no
19214     else
19215     IMLIB2_CFLAGS=$pkg_cv_IMLIB2_CFLAGS
19216     IMLIB2_LIBS=$pkg_cv_IMLIB2_LIBS
19217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19218     $as_echo "yes" >&6; }
19219     imlib2_pkgconfig=yes
19220     fi
19221     if test "x$imlib2_pkgconfig" = "xyes"; then
19222    
19223     $as_echo "#define HAVE_IMLIB2 1" >>confdefs.h
19224    
19225     fi
19226    
19227    
19228    
19229     # Check whether --enable-graphics-opengl was given.
19230     if test "${enable_graphics_opengl+set}" = set; then :
19231     enableval=$enable_graphics_opengl; graphics_opengl=$enableval;graphics_opengl_reason="configure parameter"
19232     fi
19233    
19234     if test "x${graphics_opengl}" = "xyes" ; then
19235    
19236     ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
19237     if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
19238    
19239     $as_echo "#define HAVE_OPENGL /**/" >>confdefs.h
19240    
19241     OPENGL_LIBS="$X_LIBS -lGL -lglut -lfreeimage"
19242     opengl=yes
19243     else
19244     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/gl.h -- opengl graphics support disabled;graphics_opengl=no;graphics_opengl_reason=\"GL/gl.h header missing\"" >&5
19245     $as_echo "$as_me: WARNING: *** no GL/gl.h -- opengl graphics support disabled;graphics_opengl=no;graphics_opengl_reason=\"GL/gl.h header missing\"" >&2;}
19246    
19247     fi
19248    
19249    
19250    
19251     ac_fn_c_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
19252     if test "x$ac_cv_header_GL_glut_h" = x""yes; then :
19253    
19254     $as_echo "#define HAVE_GLUT /**/" >>confdefs.h
19255    
19256     glut=yes
19257     else
19258     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/glut.h -- opengl graphics support disabled" >&5
19259     $as_echo "$as_me: WARNING: *** no GL/glut.h -- opengl graphics support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="GL/glut.h header missing"
19260    
19261     fi
19262    
19263    
19264    
19265     ac_fn_c_check_header_mongrel "$LINENO" "GL/freeglut.h" "ac_cv_header_GL_freeglut_h" "$ac_includes_default"
19266     if test "x$ac_cv_header_GL_freeglut_h" = x""yes; then :
19267    
19268     $as_echo "#define HAVE_FREEGLUT /**/" >>confdefs.h
19269    
19270     freeglut=yes
19271     else
19272     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/freeglut.h -- opengl support disabled" >&5
19273     $as_echo "$as_me: WARNING: *** no GL/freeglut.h -- opengl support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="Headers missing"
19274    
19275     fi
19276    
19277    
19278    
19279    
19280    
19281    
19282     ac_fn_c_check_header_mongrel "$LINENO" "GL/glc.h" "ac_cv_header_GL_glc_h" "$ac_includes_default"
19283     if test "x$ac_cv_header_GL_glc_h" = x""yes; then :
19284    
19285     $as_echo "#define HAVE_GLC /**/" >>confdefs.h
19286    
19287     GLC_LIBS="-lGLC"
19288     glc=yes
19289     else
19290     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/glc.h -- opengl graphics support disabled" >&5
19291     $as_echo "$as_me: WARNING: *** no GL/glc.h -- opengl graphics support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="GL/glc.h header missing"
19292    
19293     fi
19294    
19295    
19296     ac_fn_c_check_header_mongrel "$LINENO" "FreeImage.h" "ac_cv_header_FreeImage_h" "$ac_includes_default"
19297     if test "x$ac_cv_header_FreeImage_h" = x""yes; then :
19298    
19299     $as_echo "#define HAVE_FREEIMAGE /**/" >>confdefs.h
19300    
19301     FREEIMAGE_LIBS="-lfreeimage"
19302     freeimage=yes
19303     else
19304     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no FreeImage.h -- opengl support disabled" >&5
19305     $as_echo "$as_me: WARNING: *** no FreeImage.h -- opengl support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="Headers missing"
19306    
19307     fi
19308    
19309    
19310    
19311    
19312    
19313     fi
19314    
19315     if test "x$glut" = "xyes" -a "x$freeglut" = "xyes" -a "x$opengl" = "xyes" -a "x$freeimage" = "xyes" -a "x$glc" = "xyes" ; then
19316     GRAPHICS_OPENGL_TRUE=
19317     GRAPHICS_OPENGL_FALSE='#'
19318     else
19319     GRAPHICS_OPENGL_TRUE='#'
19320     GRAPHICS_OPENGL_FALSE=
19321     fi
19322    
19323    
19324     system_shapefile=no
19325     for ac_header in shapefil.h libshp/shapefil.h
19326     do :
19327     as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19328     ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19329     eval as_val=\$$as_ac_Header
19330     if test "x$as_val" = x""yes; then :
19331     cat >>confdefs.h <<_ACEOF
19332     #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19333     _ACEOF
19334    
19335     $as_echo "#define HAVE_SYS_SHAPEFILELIB 1" >>confdefs.h
19336    
19337     SHAPEFILE_LIBS="-lshp"
19338     system_shapefile=yes
19339    
19340     fi
19341    
19342     done
19343    
19344    
19345    
19346     if test "x$system_shapefile" = "xyes" ; then
19347     HAVE_SYSTEM_SHAPEFILELIB_TRUE=
19348     HAVE_SYSTEM_SHAPEFILELIB_FALSE='#'
19349     else
19350     HAVE_SYSTEM_SHAPEFILELIB_TRUE='#'
19351     HAVE_SYSTEM_SHAPEFILELIB_FALSE=
19352     fi
19353    
19354     if test x"${system_shapefile}" = xno
19355     then
19356     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no libshp/shapefil.h -- using included copy" >&5
19357     $as_echo "$as_me: WARNING: *** no libshp/shapefil.h -- using included copy" >&2;}
19358     fi
19359    
19360    
19361     if test x"${USE_GARMIN}" = xyes
19362     then
19363     # check for libgarmin
19364    
19365     pkg_failed=no
19366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGARMIN" >&5
19367     $as_echo_n "checking for LIBGARMIN... " >&6; }
19368    
19369     if test -n "$PKG_CONFIG"; then
19370     if test -n "$LIBGARMIN_CFLAGS"; then
19371     pkg_cv_LIBGARMIN_CFLAGS="$LIBGARMIN_CFLAGS"
19372     else
19373     if test -n "$PKG_CONFIG" && \
19374     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgarmin\""; } >&5
19375     ($PKG_CONFIG --exists --print-errors "libgarmin") 2>&5
19376     ac_status=$?
19377     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19378     test $ac_status = 0; }; then
19379     pkg_cv_LIBGARMIN_CFLAGS=`$PKG_CONFIG --cflags "libgarmin" 2>/dev/null`
19380     else
19381     pkg_failed=yes
19382     fi
19383     fi
19384     else
19385     pkg_failed=untried
19386     fi
19387     if test -n "$PKG_CONFIG"; then
19388     if test -n "$LIBGARMIN_LIBS"; then
19389     pkg_cv_LIBGARMIN_LIBS="$LIBGARMIN_LIBS"
19390     else
19391     if test -n "$PKG_CONFIG" && \
19392     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgarmin\""; } >&5
19393     ($PKG_CONFIG --exists --print-errors "libgarmin") 2>&5
19394     ac_status=$?
19395     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19396     test $ac_status = 0; }; then
19397     pkg_cv_LIBGARMIN_LIBS=`$PKG_CONFIG --libs "libgarmin" 2>/dev/null`
19398     else
19399     pkg_failed=yes
19400     fi
19401     fi
19402     else
19403     pkg_failed=untried
19404     fi
19405    
19406    
19407    
19408     if test $pkg_failed = yes; then
19409    
19410     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19411     _pkg_short_errors_supported=yes
19412     else
19413     _pkg_short_errors_supported=no
19414     fi
19415     if test $_pkg_short_errors_supported = yes; then
19416     LIBGARMIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgarmin"`
19417     else
19418     LIBGARMIN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgarmin"`
19419     fi
19420     # Put the nasty error message in config.log where it belongs
19421     echo "$LIBGARMIN_PKG_ERRORS" >&5
19422    
19423     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19424     $as_echo "no" >&6; }
19425     use_libgarmin=no
19426     elif test $pkg_failed = untried; then
19427     use_libgarmin=no
19428     else
19429     LIBGARMIN_CFLAGS=$pkg_cv_LIBGARMIN_CFLAGS
19430     LIBGARMIN_LIBS=$pkg_cv_LIBGARMIN_LIBS
19431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19432     $as_echo "yes" >&6; }
19433     use_libgarmin=yes
19434     fi
19435    
19436    
19437     fi
19438     if test "x$use_libgarmin" = "xyes"; then
19439     HAVELIBGARMIN_TRUE=
19440     HAVELIBGARMIN_FALSE='#'
19441     else
19442     HAVELIBGARMIN_TRUE='#'
19443     HAVELIBGARMIN_FALSE=
19444     fi
19445    
19446    
19447     ## binding
19448     # python
19449     # Check whether --enable-binding-python was given.
19450     if test "${enable_binding_python+set}" = set; then :
19451     enableval=$enable_binding_python; binding_python=$enableval;binding_python_reason="configure parameter"
19452     fi
19453    
19454     if test "x${binding_python}" = "xyes"; then
19455     # Extract the first word of "python", so it can be a program name with args.
19456     set dummy python; ac_word=$2
19457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19458     $as_echo_n "checking for $ac_word... " >&6; }
19459     if test "${ac_cv_path__PATH_PYTHON+set}" = set; then :
19460     $as_echo_n "(cached) " >&6
19461     else
19462     case $_PATH_PYTHON in
19463     [\\/]* | ?:[\\/]*)
19464     ac_cv_path__PATH_PYTHON="$_PATH_PYTHON" # Let the user override the test with a path.
19465     ;;
19466     *)
19467     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19468     for as_dir in $PATH
19469     do
19470     IFS=$as_save_IFS
19471     test -z "$as_dir" && as_dir=.
19472     for ac_exec_ext in '' $ac_executable_extensions; do
19473     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19474     ac_cv_path__PATH_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19476     break 2
19477     fi
19478     done
19479     done
19480     IFS=$as_save_IFS
19481    
19482     ;;
19483     esac
19484     fi
19485     _PATH_PYTHON=$ac_cv_path__PATH_PYTHON
19486     if test -n "$_PATH_PYTHON"; then
19487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_PATH_PYTHON" >&5
19488     $as_echo "$_PATH_PYTHON" >&6; }
19489     else
19490     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19491     $as_echo "no" >&6; }
19492     fi
19493    
19494    
19495     if test "x${_PATH_PYTHON}" != "x" ; then
19496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python linkage" >&5
19497     $as_echo_n "checking for Python linkage... " >&6; }
19498     # Extract the first word of "python-config", so it can be a program name with args.
19499     set dummy python-config; ac_word=$2
19500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19501     $as_echo_n "checking for $ac_word... " >&6; }
19502     if test "${ac_cv_path_PYTHONCONFIG+set}" = set; then :
19503     $as_echo_n "(cached) " >&6
19504     else
19505     case $PYTHONCONFIG in
19506     [\\/]* | ?:[\\/]*)
19507     ac_cv_path_PYTHONCONFIG="$PYTHONCONFIG" # Let the user override the test with a path.
19508     ;;
19509     *)
19510     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19511     for as_dir in $PATH
19512     do
19513     IFS=$as_save_IFS
19514     test -z "$as_dir" && as_dir=.
19515     for ac_exec_ext in '' $ac_executable_extensions; do
19516     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19517     ac_cv_path_PYTHONCONFIG="$as_dir/$ac_word$ac_exec_ext"
19518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19519     break 2
19520     fi
19521     done
19522     done
19523     IFS=$as_save_IFS
19524    
19525     ;;
19526     esac
19527     fi
19528     PYTHONCONFIG=$ac_cv_path_PYTHONCONFIG
19529     if test -n "$PYTHONCONFIG"; then
19530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCONFIG" >&5
19531     $as_echo "$PYTHONCONFIG" >&6; }
19532     else
19533     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19534     $as_echo "no" >&6; }
19535     fi
19536    
19537    
19538     if test "x${PYTHONCONFIG}" = "x" ; then
19539     py_prefix=`$_PATH_PYTHON -c 'import sys; print sys.prefix'`
19540     py_ver=`$_PATH_PYTHON -c 'import sys; print sys.version[:3]'`
19541     py_lib=`$_PATH_PYTHON -c 'import sys; print sys.lib'`
19542     py_libdir="${py_prefix}/${py_lib}/python${py_ver}"
19543     PYTHON_CFLAGS="-I${py_prefix}/include/python${py_ver}"
19544     if test -f $py_libdir/config/Makefile -a -f $py_prefix/include/python${py_ver}/Python.h; then
19545     py_libs=`grep '^LIBS=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19546     py_libc=`grep '^LIBC=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19547     py_libm=`grep '^LIBM=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19548     py_liblocalmod=`grep '^LOCALMODLIBS=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19549     py_libbasemod=`grep '^BASEMODLIBS=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19550     PYTHON_LIBS="-L$py_libdir/config $py_libs $py_libc $py_libm -lpython$py_ver $py_liblocalmod $py_libbasemod"
19551     PYTHON_LIBS=`echo $PYTHON_LIBS | sed -e 's/ \\t*/ /g'`
19552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $py_libdir" >&5
19553     $as_echo "$py_libdir" >&6; }
19554     else
19555     binding_python="no"
19556     binding_python_reason="$py_libdir/config/Makefile or $py_prefix/include/python${py_ver}/Python.h missing"
19557     fi
19558    
19559     else
19560     PYTHON_CFLAGS="`${PYTHONCONFIG} --cflags`"
19561     PYTHON_LIBS="`${PYTHONCONFIG} --ldflags`"
19562     fi
19563     else
19564     binding_python="no"
19565     binding_python_reason="python executable missing"
19566     fi
19567     fi
19568     if test "x${binding_python}" = xyes ; then
19569    
19570     $as_echo "#define USE_BINDING_PYTHON 1" >>confdefs.h
19571    
19572     fi
19573    
19574    
19575     if test "x${binding_python}" = "xyes"; then
19576     BINDING_PYTHON_TRUE=
19577     BINDING_PYTHON_FALSE='#'
19578     else
19579     BINDING_PYTHON_TRUE='#'
19580     BINDING_PYTHON_FALSE=
19581     fi
19582    
19583    
19584     # dbus
19585     # Check whether --enable-binding-dbus was given.
19586     if test "${enable_binding_dbus+set}" = set; then :
19587     enableval=$enable_binding_dbus; binding_dbus=$enableval;binding_dbus_reason="configure parameter"
19588     fi
19589    
19590     # Check whether --enable-binding-dbus-use-system-bus was given.
19591     if test "${enable_binding_dbus_use_system_bus+set}" = set; then :
19592     enableval=$enable_binding_dbus_use_system_bus; binding_dbus_use_system_bus=$enableval
19593     fi
19594    
19595     if test "x${binding_dbus}" = "xyes" ; then
19596    
19597     pkg_failed=no
19598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
19599     $as_echo_n "checking for DBUS... " >&6; }
19600    
19601     if test -n "$PKG_CONFIG"; then
19602     if test -n "$DBUS_CFLAGS"; then
19603     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
19604     else
19605     if test -n "$PKG_CONFIG" && \
19606     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5
19607     ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5
19608     ac_status=$?
19609     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19610     test $ac_status = 0; }; then
19611     pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1" 2>/dev/null`
19612     else
19613     pkg_failed=yes
19614     fi
19615     fi
19616     else
19617     pkg_failed=untried
19618     fi
19619     if test -n "$PKG_CONFIG"; then
19620     if test -n "$DBUS_LIBS"; then
19621     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
19622     else
19623     if test -n "$PKG_CONFIG" && \
19624     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5
19625     ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5
19626     ac_status=$?
19627     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19628     test $ac_status = 0; }; then
19629     pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1" 2>/dev/null`
19630     else
19631     pkg_failed=yes
19632     fi
19633     fi
19634     else
19635     pkg_failed=untried
19636     fi
19637    
19638    
19639    
19640     if test $pkg_failed = yes; then
19641    
19642     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19643     _pkg_short_errors_supported=yes
19644     else
19645     _pkg_short_errors_supported=no
19646     fi
19647     if test $_pkg_short_errors_supported = yes; then
19648     DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1"`
19649     else
19650     DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1"`
19651     fi
19652     # Put the nasty error message in config.log where it belongs
19653     echo "$DBUS_PKG_ERRORS" >&5
19654    
19655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19656     $as_echo "no" >&6; }
19657     binding_dbus=no
19658     elif test $pkg_failed = untried; then
19659     binding_dbus=no
19660     else
19661     DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
19662     DBUS_LIBS=$pkg_cv_DBUS_LIBS
19663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19664     $as_echo "yes" >&6; }
19665     :
19666     fi
19667     fi
19668     if test "x${binding_dbus}" = "xyes" ; then
19669    
19670     $as_echo "#define USE_BINDING_DBUS 1" >>confdefs.h
19671    
19672     vehicle_gpsd_dbus="yes"
19673     vehicle_gpsd_dbus_reason="dbus binding present"
19674     speech_dbus="yes"
19675     speech_dbus_reason="dbus binding present"
19676     fi
19677     if test "x${binding_dbus_use_system_bus}" = "xyes" ; then
19678    
19679     $as_echo "#define DBUS_USE_SYSTEM_BUS 1" >>confdefs.h
19680    
19681     fi
19682    
19683    
19684     if test "x${binding_dbus}" = "xyes"; then
19685     BINDING_DBUS_TRUE=
19686     BINDING_DBUS_FALSE='#'
19687     else
19688     BINDING_DBUS_TRUE='#'
19689     BINDING_DBUS_FALSE=
19690     fi
19691    
19692     if test "x${vehicle_gpsd_dbus}" = "xyes"; then
19693     VEHICLE_GPSD_DBUS_TRUE=
19694     VEHICLE_GPSD_DBUS_FALSE='#'
19695     else
19696     VEHICLE_GPSD_DBUS_TRUE='#'
19697     VEHICLE_GPSD_DBUS_FALSE=
19698     fi
19699    
19700     if test "x${speech_dbus}" = "xyes"; then
19701     SPEECH_DBUS_TRUE=
19702     SPEECH_DBUS_FALSE='#'
19703     else
19704     SPEECH_DBUS_TRUE='#'
19705     SPEECH_DBUS_FALSE=
19706     fi
19707    
19708    
19709     # Check whether --with-dbus-service-dir was given.
19710     if test "${with_dbus_service_dir+set}" = set; then :
19711     withval=$with_dbus_service_dir; DBUS_SERVICE_DIR=$withval
19712     else
19713     DBUS_SERVICE_DIR="$datarootdir/dbus-1/services"
19714     fi
19715    
19716    
19717    
19718     # svg
19719     # Check whether --enable-svg was given.
19720     if test "${enable_svg+set}" = set; then :
19721     enableval=$enable_svg; enable_svg=$enableval
19722     else
19723     enable_svg=yes
19724     fi
19725    
19726     # Check whether --enable-svg2png was given.
19727     if test "${enable_svg2png+set}" = set; then :
19728     enableval=$enable_svg2png; enable_svg2png=$enableval
19729     else
19730     enable_svg2png=yes
19731     fi
19732    
19733     # Check whether --enable-svg2png-scaling was given.
19734     if test "${enable_svg2png_scaling+set}" = set; then :
19735     enableval=$enable_svg2png_scaling; SVG2PNG_SCALES=$enableval
19736     else
19737     SVG2PNG_SCALES="8 16 32 48 96"
19738     fi
19739    
19740     # Check whether --enable-svg2png-scaling-flag was given.
19741     if test "${enable_svg2png_scaling_flag+set}" = set; then :
19742     enableval=$enable_svg2png_scaling_flag; SVG2PNG_SCALES_FLAG=$enableval
19743     else
19744     SVG2PNG_SCALES_FLAG="8 16 32 48 96"
19745     fi
19746    
19747     # Check whether --enable-svg2png-scaling-nav was given.
19748     if test "${enable_svg2png_scaling_nav+set}" = set; then :
19749     enableval=$enable_svg2png_scaling_nav; SVG2PNG_SCALES_NAV=$enableval
19750     else
19751     SVG2PNG_SCALES_NAV="8 16 32 48 96"
19752     fi
19753    
19754    
19755     # Check whether --with-svg2png-use-convert was given.
19756     if test "${with_svg2png_use_convert+set}" = set; then :
19757     withval=$with_svg2png_use_convert; SVG2PNG_CONVERTER="convert"
19758     fi
19759    
19760    
19761     # Check whether --with-svg2png-use-rsvg-convert was given.
19762     if test "${with_svg2png_use_rsvg_convert+set}" = set; then :
19763     withval=$with_svg2png_use_rsvg_convert; SVG2PNG_CONVERTER="rsvg-convert"
19764     fi
19765    
19766    
19767     # Check whether --with-svg2png-use-inkscape was given.
19768     if test "${with_svg2png_use_inkscape+set}" = set; then :
19769     withval=$with_svg2png_use_inkscape; SVG2PNG_CONVERTER="inkscape"
19770     fi
19771    
19772    
19773     # Check whether --with-svg2png-use-ksvgtopng4 was given.
19774     if test "${with_svg2png_use_ksvgtopng4+set}" = set; then :
19775     withval=$with_svg2png_use_ksvgtopng4; SVG2PNG_CONVERTER="ksvgtopng4"
19776     fi
19777    
19778    
19779     # Check whether --with-svg2png-use-ksvgtopng was given.
19780     if test "${with_svg2png_use_ksvgtopng+set}" = set; then :
19781     withval=$with_svg2png_use_ksvgtopng; SVG2PNG_CONVERTER="ksvgtopng"
19782     fi
19783    
19784     if test "x${enable_svg2png}" = "xyes" ; then
19785     if test "x${SVG2PNG_CONVERTER}" = "x"; then
19786     SVG2PNG_CONVERTER="rsvg-convert ksvgtopng ksvgtopng4 inkscape convert"
19787     fi
19788     for ac_prog in ${SVG2PNG_CONVERTER}
19789     do
19790     # Extract the first word of "$ac_prog", so it can be a program name with args.
19791     set dummy $ac_prog; ac_word=$2
19792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19793     $as_echo_n "checking for $ac_word... " >&6; }
19794     if test "${ac_cv_path_SVG2PNG+set}" = set; then :
19795     $as_echo_n "(cached) " >&6
19796     else
19797     case $SVG2PNG in
19798     [\\/]* | ?:[\\/]*)
19799     ac_cv_path_SVG2PNG="$SVG2PNG" # Let the user override the test with a path.
19800     ;;
19801     *)
19802     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19803     for as_dir in $PATH
19804     do
19805     IFS=$as_save_IFS
19806     test -z "$as_dir" && as_dir=.
19807     for ac_exec_ext in '' $ac_executable_extensions; do
19808     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19809     ac_cv_path_SVG2PNG="$as_dir/$ac_word$ac_exec_ext"
19810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19811     break 2
19812     fi
19813     done
19814     done
19815     IFS=$as_save_IFS
19816    
19817     ;;
19818     esac
19819     fi
19820     SVG2PNG=$ac_cv_path_SVG2PNG
19821     if test -n "$SVG2PNG"; then
19822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVG2PNG" >&5
19823     $as_echo "$SVG2PNG" >&6; }
19824     else
19825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19826     $as_echo "no" >&6; }
19827     fi
19828    
19829    
19830     test -n "$SVG2PNG" && break
19831     done
19832     test -n "$SVG2PNG" || SVG2PNG="none"
19833    
19834     if test "x${SVG2PNG}" = "xnone"; then
19835     enable_svg2png="no"
19836     fi
19837     fi
19838    
19839    
19840    
19841    
19842     if test "x${SVG2PNG_SCALES}" != "xyes" -a "x${SVG2PNG_SCALES}" != "x"; then
19843     USE_SVG2PNG_SCALES_TRUE=
19844     USE_SVG2PNG_SCALES_FALSE='#'
19845     else
19846     USE_SVG2PNG_SCALES_TRUE='#'
19847     USE_SVG2PNG_SCALES_FALSE=
19848     fi
19849    
19850     if test "x${SVG2PNG_SCALES_FLAG}" != "xyes" -a "x${SVG2PNG_SCALES_FLAG}" != "x"; then
19851     USE_SVG2PNG_SCALES_FLAG_TRUE=
19852     USE_SVG2PNG_SCALES_FLAG_FALSE='#'
19853     else
19854     USE_SVG2PNG_SCALES_FLAG_TRUE='#'
19855     USE_SVG2PNG_SCALES_FLAG_FALSE=
19856     fi
19857    
19858     if test "x${SVG2PNG_SCALES_NAV}" != "xyes" -a "x${SVG2PNG_SCALES_NAV}" != "x"; then
19859     USE_SVG2PNG_SCALES_NAV_TRUE=
19860     USE_SVG2PNG_SCALES_NAV_FALSE='#'
19861     else
19862     USE_SVG2PNG_SCALES_NAV_TRUE='#'
19863     USE_SVG2PNG_SCALES_NAV_FALSE=
19864     fi
19865    
19866     if test "x${enable_svg2png}" = "xyes"; then
19867     USE_SVG2PNG_TRUE=
19868     USE_SVG2PNG_FALSE='#'
19869     else
19870     USE_SVG2PNG_TRUE='#'
19871     USE_SVG2PNG_FALSE=
19872     fi
19873    
19874     if test "x${enable_svg}" = "xyes"; then
19875     USE_SVG_TRUE=
19876     USE_SVG_FALSE='#'
19877     else
19878     USE_SVG_TRUE='#'
19879     USE_SVG_FALSE=
19880     fi
19881    
19882    
19883     # XSLTS
19884    
19885     # Check whether --with-xslts was given.
19886     if test "${with_xslts+set}" = set; then :
19887     withval=$with_xslts; XSLTS=$withval
19888     else
19889     XSLTS=""
19890     fi
19891    
19892    
19893    
19894     # Check whether --with-saxon was given.
19895     if test "${with_saxon+set}" = set; then :
19896     withval=$with_saxon; SAXON=$withval
19897     else
19898     SAXON="saxon"
19899     fi
19900    
19901    
19902    
19903     # Android Permissions
19904    
19905     # Check whether --with-android-permissions was given.
19906     if test "${with_android_permissions+set}" = set; then :
19907     withval=$with_android_permissions; ANDROID_PERMISSIONS=$withval
19908     else
19909     ANDROID_PERMISSIONS=""
19910     fi
19911    
19912    
19913     # Android Project
19914    
19915     # Check whether --with-android-project was given.
19916     if test "${with_android_project+set}" = set; then :
19917     withval=$with_android_project; ANDROID_PROJECT=$withval
19918     else
19919     ANDROID_PROJECT="3"
19920     fi
19921    
19922    
19923    
19924     # NLS
19925    
19926     # Check whether --enable-nls was given.
19927     if test "${enable_nls+set}" = set; then :
19928     enableval=$enable_nls; enable_nls=$enableval
19929     else
19930     enable_nls=yes
19931     fi
19932    
19933    
19934    
19935     INTLIBS=""
19936     MOFILES=""
19937     POFILES=""
19938     POIFILES=""
19939     LINGUAS=""
19940    
19941     xgettext_glade=no
19942     if test "x$enable_nls" = "xyes"; then
19943    
19944     ac_fn_c_check_func "$LINENO" "gettext" "ac_cv_func_gettext"
19945     if test "x$ac_cv_func_gettext" = x""yes; then :
19946     HAVEGETTEXT="yes"
19947     else
19948     INTLIBS="-lintl" HAVEGETTEXT="yes"
19949     fi
19950    
19951     # Extract the first word of "xgettext", so it can be a program name with args.
19952     set dummy xgettext; ac_word=$2
19953     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19954     $as_echo_n "checking for $ac_word... " >&6; }
19955     if test "${ac_cv_prog_XGETTEXT+set}" = set; then :
19956     $as_echo_n "(cached) " >&6
19957     else
19958     if test -n "$XGETTEXT"; then
19959     ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
19960     else
19961     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19962     for as_dir in $PATH
19963     do
19964     IFS=$as_save_IFS
19965     test -z "$as_dir" && as_dir=.
19966     for ac_exec_ext in '' $ac_executable_extensions; do
19967     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19968     ac_cv_prog_XGETTEXT="xgettext"
19969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19970     break 2
19971     fi
19972     done
19973     done
19974     IFS=$as_save_IFS
19975    
19976     fi
19977     fi
19978     XGETTEXT=$ac_cv_prog_XGETTEXT
19979     if test -n "$XGETTEXT"; then
19980     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19981     $as_echo "$XGETTEXT" >&6; }
19982     else
19983     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19984     $as_echo "no" >&6; }
19985     fi
19986    
19987    
19988     # Extract the first word of "msgmerge", so it can be a program name with args.
19989     set dummy msgmerge; ac_word=$2
19990     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19991     $as_echo_n "checking for $ac_word... " >&6; }
19992     if test "${ac_cv_prog_MSGMERGE+set}" = set; then :
19993     $as_echo_n "(cached) " >&6
19994     else
19995     if test -n "$MSGMERGE"; then
19996     ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
19997     else
19998     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19999     for as_dir in $PATH
20000     do
20001     IFS=$as_save_IFS
20002     test -z "$as_dir" && as_dir=.
20003     for ac_exec_ext in '' $ac_executable_extensions; do
20004     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20005     ac_cv_prog_MSGMERGE="msgmerge"
20006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20007     break 2
20008     fi
20009     done
20010     done
20011     IFS=$as_save_IFS
20012    
20013     fi
20014     fi
20015     MSGMERGE=$ac_cv_prog_MSGMERGE
20016     if test -n "$MSGMERGE"; then
20017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
20018     $as_echo "$MSGMERGE" >&6; }
20019     else
20020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20021     $as_echo "no" >&6; }
20022     fi
20023    
20024    
20025     # Extract the first word of "msgfmt", so it can be a program name with args.
20026     set dummy msgfmt; ac_word=$2
20027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20028     $as_echo_n "checking for $ac_word... " >&6; }
20029     if test "${ac_cv_prog_MSGFMT+set}" = set; then :
20030     $as_echo_n "(cached) " >&6
20031     else
20032     if test -n "$MSGFMT"; then
20033     ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
20034     else
20035     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20036     for as_dir in $PATH
20037     do
20038     IFS=$as_save_IFS
20039     test -z "$as_dir" && as_dir=.
20040     for ac_exec_ext in '' $ac_executable_extensions; do
20041     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20042     ac_cv_prog_MSGFMT="msgfmt"
20043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20044     break 2
20045     fi
20046     done
20047     done
20048     IFS=$as_save_IFS
20049    
20050     fi
20051     fi
20052     MSGFMT=$ac_cv_prog_MSGFMT
20053     if test -n "$MSGFMT"; then
20054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20055     $as_echo "$MSGFMT" >&6; }
20056     else
20057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20058     $as_echo "no" >&6; }
20059     fi
20060    
20061    
20062    
20063     if test "$XGETTEXT" != ""; then
20064     if $XGETTEXT --help 2>&1 | grep illegal >/dev/null ; then
20065     echo "xgettext isn't GNU version"
20066     XGETTEXT=""
20067     else
20068     if echo '<test/>' | $XGETTEXT -L Glade - ; then
20069     xgettext_glade=yes
20070     fi
20071     fi
20072     fi
20073    
20074     if test "$XGETTEXT" != "" ; then
20075     PO=""
20076     if test "$LINGUAS" = ""; then
20077     ling=` (cd $srcdir/po; /bin/ls *.po.in) `
20078     for l in $ling; do
20079     lcode=`basename $l .po.in`
20080     LINGUAS="$LINGUAS$lcode "
20081     done
20082     fi
20083    
20084     $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20085    
20086     echo "xgettext and gettext() exist; will build i18n support for $LINGUAS"
20087     else
20088     LINGUAS=""
20089     PO=""
20090     echo "xgettext doesn't exist; will not build i18n support"
20091     enable_nls=no
20092     fi
20093     for lang in $LINGUAS; do
20094     MOFILES="$MOFILES $lang.mo"
20095     done
20096     for lang in $LINGUAS; do
20097     POFILES="$POFILES $lang.po"
20098     done
20099     for lang in $LINGUAS; do
20100     POIFILES="$POIFILES $lang.po.in"
20101     done
20102    
20103    
20104    
20105    
20106    
20107    
20108    
20109     MKINSTALLDIRS=
20110     if test -n "$ac_aux_dir"; then
20111     case "$ac_aux_dir" in
20112     /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
20113     *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
20114     esac
20115     fi
20116     if test -z "$MKINSTALLDIRS"; then
20117     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20118     fi
20119    
20120    
20121    
20122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
20123     $as_echo_n "checking whether NLS is requested... " >&6; }
20124     # Check whether --enable-nls was given.
20125     if test "${enable_nls+set}" = set; then :
20126     enableval=$enable_nls; USE_NLS=$enableval
20127     else
20128     USE_NLS=yes
20129     fi
20130    
20131     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
20132     $as_echo "$USE_NLS" >&6; }
20133    
20134    
20135    
20136    
20137    
20138    
20139     # Prepare PATH_SEPARATOR.
20140     # The user is always right.
20141     if test "${PATH_SEPARATOR+set}" != set; then
20142     echo "#! /bin/sh" >conf$$.sh
20143     echo "exit 0" >>conf$$.sh
20144     chmod +x conf$$.sh
20145     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20146     PATH_SEPARATOR=';'
20147     else
20148     PATH_SEPARATOR=:
20149     fi
20150     rm -f conf$$.sh
20151     fi
20152    
20153     # Find out how to test for executable files. Don't use a zero-byte file,
20154     # as systems may use methods other than mode bits to determine executability.
20155     cat >conf$$.file <<_ASEOF
20156     #! /bin/sh
20157     exit 0
20158     _ASEOF
20159     chmod +x conf$$.file
20160     if test -x conf$$.file >/dev/null 2>&1; then
20161     ac_executable_p="test -x"
20162     else
20163     ac_executable_p="test -f"
20164     fi
20165     rm -f conf$$.file
20166    
20167     # Extract the first word of "msgfmt", so it can be a program name with args.
20168     set dummy msgfmt; ac_word=$2
20169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20170     $as_echo_n "checking for $ac_word... " >&6; }
20171     if test "${ac_cv_path_MSGFMT+set}" = set; then :
20172     $as_echo_n "(cached) " >&6
20173     else
20174     case "$MSGFMT" in
20175     [\\/]* | ?:[\\/]*)
20176     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20177     ;;
20178     *)
20179     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
20180     for ac_dir in $PATH; do
20181     IFS="$ac_save_IFS"
20182     test -z "$ac_dir" && ac_dir=.
20183     for ac_exec_ext in '' $ac_executable_extensions; do
20184     if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
20185     if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
20186     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20187     ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
20188     break 2
20189     fi
20190     fi
20191     done
20192     done
20193     IFS="$ac_save_IFS"
20194     test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
20195     ;;
20196     esac
20197     fi
20198     MSGFMT="$ac_cv_path_MSGFMT"
20199     if test "$MSGFMT" != ":"; then
20200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20201     $as_echo "$MSGFMT" >&6; }
20202     else
20203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20204     $as_echo "no" >&6; }
20205     fi
20206    
20207     # Extract the first word of "gmsgfmt", so it can be a program name with args.
20208     set dummy gmsgfmt; ac_word=$2
20209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20210     $as_echo_n "checking for $ac_word... " >&6; }
20211     if test "${ac_cv_path_GMSGFMT+set}" = set; then :
20212     $as_echo_n "(cached) " >&6
20213     else
20214     case $GMSGFMT in
20215     [\\/]* | ?:[\\/]*)
20216     ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20217     ;;
20218     *)
20219     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20220     for as_dir in $PATH
20221     do
20222     IFS=$as_save_IFS
20223     test -z "$as_dir" && as_dir=.
20224     for ac_exec_ext in '' $ac_executable_extensions; do
20225     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20226     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20228     break 2
20229     fi
20230     done
20231     done
20232     IFS=$as_save_IFS
20233    
20234     test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20235     ;;
20236     esac
20237     fi
20238     GMSGFMT=$ac_cv_path_GMSGFMT
20239     if test -n "$GMSGFMT"; then
20240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20241     $as_echo "$GMSGFMT" >&6; }
20242     else
20243     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20244     $as_echo "no" >&6; }
20245     fi
20246    
20247    
20248    
20249    
20250     # Prepare PATH_SEPARATOR.
20251     # The user is always right.
20252     if test "${PATH_SEPARATOR+set}" != set; then
20253     echo "#! /bin/sh" >conf$$.sh
20254     echo "exit 0" >>conf$$.sh
20255     chmod +x conf$$.sh
20256     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20257     PATH_SEPARATOR=';'
20258     else
20259     PATH_SEPARATOR=:
20260     fi
20261     rm -f conf$$.sh
20262     fi
20263    
20264     # Find out how to test for executable files. Don't use a zero-byte file,
20265     # as systems may use methods other than mode bits to determine executability.
20266     cat >conf$$.file <<_ASEOF
20267     #! /bin/sh
20268     exit 0
20269     _ASEOF
20270     chmod +x conf$$.file
20271     if test -x conf$$.file >/dev/null 2>&1; then
20272     ac_executable_p="test -x"
20273     else
20274     ac_executable_p="test -f"
20275     fi
20276     rm -f conf$$.file
20277    
20278     # Extract the first word of "xgettext", so it can be a program name with args.
20279     set dummy xgettext; ac_word=$2
20280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20281     $as_echo_n "checking for $ac_word... " >&6; }
20282     if test "${ac_cv_path_XGETTEXT+set}" = set; then :
20283     $as_echo_n "(cached) " >&6
20284     else
20285     case "$XGETTEXT" in
20286     [\\/]* | ?:[\\/]*)
20287     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20288     ;;
20289     *)
20290     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
20291     for ac_dir in $PATH; do
20292     IFS="$ac_save_IFS"
20293     test -z "$ac_dir" && ac_dir=.
20294     for ac_exec_ext in '' $ac_executable_extensions; do
20295     if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
20296     if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
20297     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20298     ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
20299     break 2
20300     fi
20301     fi
20302     done
20303     done
20304     IFS="$ac_save_IFS"
20305     test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20306     ;;
20307     esac
20308     fi
20309     XGETTEXT="$ac_cv_path_XGETTEXT"
20310     if test "$XGETTEXT" != ":"; then
20311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20312     $as_echo "$XGETTEXT" >&6; }
20313     else
20314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20315     $as_echo "no" >&6; }
20316     fi
20317    
20318     rm -f messages.po
20319    
20320    
20321     # Prepare PATH_SEPARATOR.
20322     # The user is always right.
20323     if test "${PATH_SEPARATOR+set}" != set; then
20324     echo "#! /bin/sh" >conf$$.sh
20325     echo "exit 0" >>conf$$.sh
20326     chmod +x conf$$.sh
20327     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20328     PATH_SEPARATOR=';'
20329     else
20330     PATH_SEPARATOR=:
20331     fi
20332     rm -f conf$$.sh
20333     fi
20334    
20335     # Find out how to test for executable files. Don't use a zero-byte file,
20336     # as systems may use methods other than mode bits to determine executability.
20337     cat >conf$$.file <<_ASEOF
20338     #! /bin/sh
20339     exit 0
20340     _ASEOF
20341     chmod +x conf$$.file
20342     if test -x conf$$.file >/dev/null 2>&1; then
20343     ac_executable_p="test -x"
20344     else
20345     ac_executable_p="test -f"
20346     fi
20347     rm -f conf$$.file
20348    
20349     # Extract the first word of "msgmerge", so it can be a program name with args.
20350     set dummy msgmerge; ac_word=$2
20351     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20352     $as_echo_n "checking for $ac_word... " >&6; }
20353     if test "${ac_cv_path_MSGMERGE+set}" = set; then :
20354     $as_echo_n "(cached) " >&6
20355     else
20356     case "$MSGMERGE" in
20357     [\\/]* | ?:[\\/]*)
20358     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
20359     ;;
20360     *)
20361     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
20362     for ac_dir in $PATH; do
20363     IFS="$ac_save_IFS"
20364     test -z "$ac_dir" && ac_dir=.
20365     for ac_exec_ext in '' $ac_executable_extensions; do
20366     if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
20367     if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
20368     ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
20369     break 2
20370     fi
20371     fi
20372     done
20373     done
20374     IFS="$ac_save_IFS"
20375     test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
20376     ;;
20377     esac
20378     fi
20379     MSGMERGE="$ac_cv_path_MSGMERGE"
20380     if test "$MSGMERGE" != ":"; then
20381     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
20382     $as_echo "$MSGMERGE" >&6; }
20383     else
20384     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20385     $as_echo "no" >&6; }
20386     fi
20387    
20388    
20389     if test "$GMSGFMT" != ":"; then
20390     if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
20391     (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20392     : ;
20393     else
20394     GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
20395     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
20396     $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
20397     GMSGFMT=":"
20398     fi
20399     fi
20400    
20401     if test "$XGETTEXT" != ":"; then
20402     if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
20403     (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20404     : ;
20405     else
20406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20407     $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20408     XGETTEXT=":"
20409     fi
20410     rm -f messages.po
20411     fi
20412    
20413     ac_config_commands="$ac_config_commands default-1"
20414    
20415    
20416     if test -n "$ac_tool_prefix"; then
20417     # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
20418     set dummy ${ac_tool_prefix}ranlib; ac_word=$2
20419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20420     $as_echo_n "checking for $ac_word... " >&6; }
20421     if test "${ac_cv_prog_RANLIB+set}" = set; then :
20422     $as_echo_n "(cached) " >&6
20423     else
20424     if test -n "$RANLIB"; then
20425     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
20426     else
20427     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20428     for as_dir in $PATH
20429     do
20430     IFS=$as_save_IFS
20431     test -z "$as_dir" && as_dir=.
20432     for ac_exec_ext in '' $ac_executable_extensions; do
20433     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20434     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
20435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20436     break 2
20437     fi
20438     done
20439     done
20440     IFS=$as_save_IFS
20441    
20442     fi
20443     fi
20444     RANLIB=$ac_cv_prog_RANLIB
20445     if test -n "$RANLIB"; then
20446     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
20447     $as_echo "$RANLIB" >&6; }
20448     else
20449     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20450     $as_echo "no" >&6; }
20451     fi
20452    
20453    
20454     fi
20455     if test -z "$ac_cv_prog_RANLIB"; then
20456     ac_ct_RANLIB=$RANLIB
20457     # Extract the first word of "ranlib", so it can be a program name with args.
20458     set dummy ranlib; ac_word=$2
20459     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20460     $as_echo_n "checking for $ac_word... " >&6; }
20461     if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
20462     $as_echo_n "(cached) " >&6
20463     else
20464     if test -n "$ac_ct_RANLIB"; then
20465     ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
20466     else
20467     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20468     for as_dir in $PATH
20469     do
20470     IFS=$as_save_IFS
20471     test -z "$as_dir" && as_dir=.
20472     for ac_exec_ext in '' $ac_executable_extensions; do
20473     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20474     ac_cv_prog_ac_ct_RANLIB="ranlib"
20475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20476     break 2
20477     fi
20478     done
20479     done
20480     IFS=$as_save_IFS
20481    
20482     fi
20483     fi
20484     ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
20485     if test -n "$ac_ct_RANLIB"; then
20486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
20487     $as_echo "$ac_ct_RANLIB" >&6; }
20488     else
20489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20490     $as_echo "no" >&6; }
20491     fi
20492    
20493     if test "x$ac_ct_RANLIB" = x; then
20494     RANLIB=":"
20495     else
20496     case $cross_compiling:$ac_tool_warned in
20497     yes:)
20498     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20499     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20500     ac_tool_warned=yes ;;
20501     esac
20502     RANLIB=$ac_ct_RANLIB
20503     fi
20504     else
20505     RANLIB="$ac_cv_prog_RANLIB"
20506     fi
20507    
20508    
20509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
20510     $as_echo_n "checking for strerror in -lcposix... " >&6; }
20511     if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
20512     $as_echo_n "(cached) " >&6
20513     else
20514     ac_check_lib_save_LIBS=$LIBS
20515     LIBS="-lcposix $LIBS"
20516     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517     /* end confdefs.h. */
20518    
20519     /* Override any GCC internal prototype to avoid an error.
20520     Use char because int might match the return type of a GCC
20521     builtin and then its argument prototype would still apply. */
20522     #ifdef __cplusplus
20523     extern "C"
20524     #endif
20525     char strerror ();
20526     int
20527     main ()
20528     {
20529     return strerror ();
20530     ;
20531     return 0;
20532     }
20533     _ACEOF
20534     if ac_fn_c_try_link "$LINENO"; then :
20535     ac_cv_lib_cposix_strerror=yes
20536     else
20537     ac_cv_lib_cposix_strerror=no
20538     fi
20539     rm -f core conftest.err conftest.$ac_objext \
20540     conftest$ac_exeext conftest.$ac_ext
20541     LIBS=$ac_check_lib_save_LIBS
20542     fi
20543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
20544     $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
20545     if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
20546     LIBS="$LIBS -lcposix"
20547     fi
20548    
20549    
20550    
20551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20552     $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20553     if test "${ac_cv_c_const+set}" = set; then :
20554     $as_echo_n "(cached) " >&6
20555     else
20556     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20557     /* end confdefs.h. */
20558    
20559     int
20560     main ()
20561     {
20562     /* FIXME: Include the comments suggested by Paul. */
20563     #ifndef __cplusplus
20564     /* Ultrix mips cc rejects this. */
20565     typedef int charset[2];
20566     const charset cs;
20567     /* SunOS 4.1.1 cc rejects this. */
20568     char const *const *pcpcc;
20569     char **ppc;
20570     /* NEC SVR4.0.2 mips cc rejects this. */
20571     struct point {int x, y;};
20572     static struct point const zero = {0,0};
20573     /* AIX XL C 1.02.0.0 rejects this.
20574     It does not let you subtract one const X* pointer from another in
20575     an arm of an if-expression whose if-part is not a constant
20576     expression */
20577     const char *g = "string";
20578     pcpcc = &g + (g ? g-g : 0);
20579     /* HPUX 7.0 cc rejects these. */
20580     ++pcpcc;
20581     ppc = (char**) pcpcc;
20582     pcpcc = (char const *const *) ppc;
20583     { /* SCO 3.2v4 cc rejects this. */
20584     char *t;
20585     char const *s = 0 ? (char *) 0 : (char const *) 0;
20586    
20587     *t++ = 0;
20588     if (s) return 0;
20589     }
20590     { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20591     int x[] = {25, 17};
20592     const int *foo = &x[0];
20593     ++foo;
20594     }
20595     { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20596     typedef const int *iptr;
20597     iptr p = 0;
20598     ++p;
20599     }
20600     { /* AIX XL C 1.02.0.0 rejects this saying
20601     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20602     struct s { int j; const int *ap[3]; };
20603     struct s *b; b->j = 5;
20604     }
20605     { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20606     const int foo = 10;
20607     if (!foo) return 0;
20608     }
20609     return !cs[0] && !zero.x;
20610     #endif
20611    
20612     ;
20613     return 0;
20614     }
20615     _ACEOF
20616     if ac_fn_c_try_compile "$LINENO"; then :
20617     ac_cv_c_const=yes
20618     else
20619     ac_cv_c_const=no
20620     fi
20621     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20622     fi
20623     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20624     $as_echo "$ac_cv_c_const" >&6; }
20625     if test $ac_cv_c_const = no; then
20626    
20627     $as_echo "#define const /**/" >>confdefs.h
20628    
20629     fi
20630    
20631    
20632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
20633     $as_echo_n "checking for signed... " >&6; }
20634     if test "${bh_cv_c_signed+set}" = set; then :
20635     $as_echo_n "(cached) " >&6
20636     else
20637     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20638     /* end confdefs.h. */
20639    
20640     int
20641     main ()
20642     {
20643     signed char x;
20644     ;
20645     return 0;
20646     }
20647     _ACEOF
20648     if ac_fn_c_try_compile "$LINENO"; then :
20649     bh_cv_c_signed=yes
20650     else
20651     bh_cv_c_signed=no
20652     fi
20653     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20654     fi
20655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
20656     $as_echo "$bh_cv_c_signed" >&6; }
20657     if test $bh_cv_c_signed = no; then
20658    
20659     $as_echo "#define signed /**/" >>confdefs.h
20660    
20661     fi
20662    
20663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20664     $as_echo_n "checking for inline... " >&6; }
20665     if test "${ac_cv_c_inline+set}" = set; then :
20666     $as_echo_n "(cached) " >&6
20667     else
20668     ac_cv_c_inline=no
20669     for ac_kw in inline __inline__ __inline; do
20670     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20671     /* end confdefs.h. */
20672     #ifndef __cplusplus
20673     typedef int foo_t;
20674     static $ac_kw foo_t static_foo () {return 0; }
20675     $ac_kw foo_t foo () {return 0; }
20676     #endif
20677    
20678     _ACEOF
20679     if ac_fn_c_try_compile "$LINENO"; then :
20680     ac_cv_c_inline=$ac_kw
20681     fi
20682     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683     test "$ac_cv_c_inline" != no && break
20684     done
20685    
20686     fi
20687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20688     $as_echo "$ac_cv_c_inline" >&6; }
20689    
20690     case $ac_cv_c_inline in
20691     inline | yes) ;;
20692     *)
20693     case $ac_cv_c_inline in
20694     no) ac_val=;;
20695     *) ac_val=$ac_cv_c_inline;;
20696     esac
20697     cat >>confdefs.h <<_ACEOF
20698     #ifndef __cplusplus
20699     #define inline $ac_val
20700     #endif
20701     _ACEOF
20702     ;;
20703     esac
20704    
20705     ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
20706     if test "x$ac_cv_type_off_t" = x""yes; then :
20707    
20708     else
20709    
20710     cat >>confdefs.h <<_ACEOF
20711     #define off_t long int
20712     _ACEOF
20713    
20714     fi
20715    
20716     ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20717     if test "x$ac_cv_type_size_t" = x""yes; then :
20718    
20719     else
20720    
20721     cat >>confdefs.h <<_ACEOF
20722     #define size_t unsigned int
20723     _ACEOF
20724    
20725     fi
20726    
20727    
20728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
20729     $as_echo_n "checking for long long... " >&6; }
20730     if test "${ac_cv_type_long_long+set}" = set; then :
20731     $as_echo_n "(cached) " >&6
20732     else
20733     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20734     /* end confdefs.h. */
20735     long long ll = 1LL; int i = 63;
20736     int
20737     main ()
20738     {
20739     long long llmax = (long long) -1;
20740     return ll << i | ll >> i | llmax / ll | llmax % ll;
20741     ;
20742     return 0;
20743     }
20744     _ACEOF
20745     if ac_fn_c_try_link "$LINENO"; then :
20746     ac_cv_type_long_long=yes
20747     else
20748     ac_cv_type_long_long=no
20749     fi
20750     rm -f core conftest.err conftest.$ac_objext \
20751     conftest$ac_exeext conftest.$ac_ext
20752     fi
20753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
20754     $as_echo "$ac_cv_type_long_long" >&6; }
20755     if test $ac_cv_type_long_long = yes; then
20756    
20757     $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
20758    
20759     fi
20760    
20761    
20762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
20763     $as_echo_n "checking for long double... " >&6; }
20764     if test "${gt_cv_c_long_double+set}" = set; then :
20765     $as_echo_n "(cached) " >&6
20766     else
20767     if test "$GCC" = yes; then
20768     gt_cv_c_long_double=yes
20769     else
20770     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771     /* end confdefs.h. */
20772    
20773     /* The Stardent Vistra knows sizeof(long double), but does not support it. */
20774     long double foo = 0.0;
20775     /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
20776     int array [2*(sizeof(long double) >= sizeof(double)) - 1];
20777    
20778     int
20779     main ()
20780     {
20781    
20782     ;
20783     return 0;
20784     }
20785     _ACEOF
20786     if ac_fn_c_try_compile "$LINENO"; then :
20787     gt_cv_c_long_double=yes
20788     else
20789     gt_cv_c_long_double=no
20790     fi
20791     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20792     fi
20793     fi
20794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
20795     $as_echo "$gt_cv_c_long_double" >&6; }
20796     if test $gt_cv_c_long_double = yes; then
20797    
20798     $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
20799    
20800     fi
20801    
20802    
20803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
20804     $as_echo_n "checking for wchar_t... " >&6; }
20805     if test "${gt_cv_c_wchar_t+set}" = set; then :
20806     $as_echo_n "(cached) " >&6
20807     else
20808     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809     /* end confdefs.h. */
20810     #include <stddef.h>
20811     wchar_t foo = (wchar_t)'\0';
20812     int
20813     main ()
20814     {
20815    
20816     ;
20817     return 0;
20818     }
20819     _ACEOF
20820     if ac_fn_c_try_compile "$LINENO"; then :
20821     gt_cv_c_wchar_t=yes
20822     else
20823     gt_cv_c_wchar_t=no
20824     fi
20825     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826     fi
20827     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
20828     $as_echo "$gt_cv_c_wchar_t" >&6; }
20829     if test $gt_cv_c_wchar_t = yes; then
20830    
20831     $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
20832    
20833     fi
20834    
20835    
20836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
20837     $as_echo_n "checking for wint_t... " >&6; }
20838     if test "${gt_cv_c_wint_t+set}" = set; then :
20839     $as_echo_n "(cached) " >&6
20840     else
20841     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20842     /* end confdefs.h. */
20843     #include <wchar.h>
20844     wint_t foo = (wchar_t)'\0';
20845     int
20846     main ()
20847     {
20848    
20849     ;
20850     return 0;
20851     }
20852     _ACEOF
20853     if ac_fn_c_try_compile "$LINENO"; then :
20854     gt_cv_c_wint_t=yes
20855     else
20856     gt_cv_c_wint_t=no
20857     fi
20858     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20859     fi
20860     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
20861     $as_echo "$gt_cv_c_wint_t" >&6; }
20862     if test $gt_cv_c_wint_t = yes; then
20863    
20864     $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
20865    
20866     fi
20867    
20868    
20869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
20870     $as_echo_n "checking for inttypes.h... " >&6; }
20871     if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
20872     $as_echo_n "(cached) " >&6
20873     else
20874     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875     /* end confdefs.h. */
20876     #include <sys/types.h>
20877     #include <inttypes.h>
20878     int
20879     main ()
20880     {
20881     uintmax_t i = (uintmax_t) -1;
20882     ;
20883     return 0;
20884     }
20885     _ACEOF
20886     if ac_fn_c_try_compile "$LINENO"; then :
20887     jm_ac_cv_header_inttypes_h=yes
20888     else
20889     jm_ac_cv_header_inttypes_h=no
20890     fi
20891     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20892     fi
20893     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
20894     $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
20895     if test $jm_ac_cv_header_inttypes_h = yes; then
20896    
20897     cat >>confdefs.h <<_ACEOF
20898     #define HAVE_INTTYPES_H_WITH_UINTMAX 1
20899     _ACEOF
20900    
20901     fi
20902    
20903    
20904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
20905     $as_echo_n "checking for stdint.h... " >&6; }
20906     if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
20907     $as_echo_n "(cached) " >&6
20908     else
20909     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20910     /* end confdefs.h. */
20911     #include <sys/types.h>
20912     #include <stdint.h>
20913     int
20914     main ()
20915     {
20916     uintmax_t i = (uintmax_t) -1;
20917     ;
20918     return 0;
20919     }
20920     _ACEOF
20921     if ac_fn_c_try_compile "$LINENO"; then :
20922     jm_ac_cv_header_stdint_h=yes
20923     else
20924     jm_ac_cv_header_stdint_h=no
20925     fi
20926     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20927     fi
20928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
20929     $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
20930     if test $jm_ac_cv_header_stdint_h = yes; then
20931    
20932     cat >>confdefs.h <<_ACEOF
20933     #define HAVE_STDINT_H_WITH_UINTMAX 1
20934     _ACEOF
20935    
20936     fi
20937    
20938    
20939    
20940    
20941     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
20942     $as_echo_n "checking for intmax_t... " >&6; }
20943     if test "${gt_cv_c_intmax_t+set}" = set; then :
20944     $as_echo_n "(cached) " >&6
20945     else
20946     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20947     /* end confdefs.h. */
20948    
20949     #include <stddef.h>
20950     #include <stdlib.h>
20951     #if HAVE_STDINT_H_WITH_UINTMAX
20952     #include <stdint.h>
20953     #endif
20954     #if HAVE_INTTYPES_H_WITH_UINTMAX
20955     #include <inttypes.h>
20956     #endif
20957    
20958     int
20959     main ()
20960     {
20961     intmax_t x = -1;
20962     ;
20963     return 0;
20964     }
20965     _ACEOF
20966     if ac_fn_c_try_compile "$LINENO"; then :
20967     gt_cv_c_intmax_t=yes
20968     else
20969     gt_cv_c_intmax_t=no
20970     fi
20971     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20972     fi
20973     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
20974     $as_echo "$gt_cv_c_intmax_t" >&6; }
20975     if test $gt_cv_c_intmax_t = yes; then
20976    
20977     $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
20978    
20979     fi
20980    
20981    
20982    
20983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
20984     $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
20985     if test "${gt_cv_func_printf_posix+set}" = set; then :
20986     $as_echo_n "(cached) " >&6
20987     else
20988    
20989     if test "$cross_compiling" = yes; then :
20990    
20991     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20992     /* end confdefs.h. */
20993    
20994     #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
20995     notposix
20996     #endif
20997    
20998     _ACEOF
20999     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21000     $EGREP "notposix" >/dev/null 2>&1; then :
21001     gt_cv_func_printf_posix="guessing no"
21002     else
21003     gt_cv_func_printf_posix="guessing yes"
21004     fi
21005     rm -f conftest*
21006    
21007    
21008     else
21009     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010     /* end confdefs.h. */
21011    
21012     #include <stdio.h>
21013     #include <string.h>
21014     /* The string "%2$d %1$d", with dollar characters protected from the shell's
21015     dollar expansion (possibly an autoconf bug). */
21016     static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
21017     static char buf[100];
21018     int main ()
21019     {
21020     sprintf (buf, format, 33, 55);
21021     return (strcmp (buf, "55 33") != 0);
21022     }
21023     _ACEOF
21024     if ac_fn_c_try_run "$LINENO"; then :
21025     gt_cv_func_printf_posix=yes
21026     else
21027     gt_cv_func_printf_posix=no
21028     fi
21029     rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21030     conftest.$ac_objext conftest.beam conftest.$ac_ext
21031     fi
21032    
21033    
21034     fi
21035     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
21036     $as_echo "$gt_cv_func_printf_posix" >&6; }
21037     case $gt_cv_func_printf_posix in
21038     *yes)
21039    
21040     $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
21041    
21042     ;;
21043     esac
21044    
21045     # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21046     # for constant arguments. Useless!
21047     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
21048     $as_echo_n "checking for working alloca.h... " >&6; }
21049     if test "${ac_cv_working_alloca_h+set}" = set; then :
21050     $as_echo_n "(cached) " >&6
21051     else
21052     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21053     /* end confdefs.h. */
21054     #include <alloca.h>
21055     int
21056     main ()
21057     {
21058     char *p = (char *) alloca (2 * sizeof (int));
21059     if (p) return 0;
21060     ;
21061     return 0;
21062     }
21063     _ACEOF
21064     if ac_fn_c_try_link "$LINENO"; then :
21065     ac_cv_working_alloca_h=yes
21066     else
21067     ac_cv_working_alloca_h=no
21068     fi
21069     rm -f core conftest.err conftest.$ac_objext \
21070     conftest$ac_exeext conftest.$ac_ext
21071     fi
21072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
21073     $as_echo "$ac_cv_working_alloca_h" >&6; }
21074     if test $ac_cv_working_alloca_h = yes; then
21075    
21076     $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
21077    
21078     fi
21079    
21080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
21081     $as_echo_n "checking for alloca... " >&6; }
21082     if test "${ac_cv_func_alloca_works+set}" = set; then :
21083     $as_echo_n "(cached) " >&6
21084     else
21085     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086     /* end confdefs.h. */
21087     #ifdef __GNUC__
21088     # define alloca __builtin_alloca
21089     #else
21090     # ifdef _MSC_VER
21091     # include <malloc.h>
21092     # define alloca _alloca
21093     # else
21094     # ifdef HAVE_ALLOCA_H
21095     # include <alloca.h>
21096     # else
21097     # ifdef _AIX
21098     #pragma alloca
21099     # else
21100     # ifndef alloca /* predefined by HP cc +Olibcalls */
21101     char *alloca ();
21102     # endif
21103     # endif
21104     # endif
21105     # endif
21106     #endif
21107    
21108     int
21109     main ()
21110     {
21111     char *p = (char *) alloca (1);
21112     if (p) return 0;
21113     ;
21114     return 0;
21115     }
21116     _ACEOF
21117     if ac_fn_c_try_link "$LINENO"; then :
21118     ac_cv_func_alloca_works=yes
21119     else
21120     ac_cv_func_alloca_works=no
21121     fi
21122     rm -f core conftest.err conftest.$ac_objext \
21123     conftest$ac_exeext conftest.$ac_ext
21124     fi
21125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
21126     $as_echo "$ac_cv_func_alloca_works" >&6; }
21127    
21128     if test $ac_cv_func_alloca_works = yes; then
21129    
21130     $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
21131    
21132     else
21133     # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21134     # that cause trouble. Some versions do not even contain alloca or
21135     # contain a buggy version. If you still want to use their alloca,
21136     # use ar to extract alloca.o from them instead of compiling alloca.c.
21137    
21138     ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
21139    
21140     $as_echo "#define C_ALLOCA 1" >>confdefs.h
21141    
21142    
21143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
21144     $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
21145     if test "${ac_cv_os_cray+set}" = set; then :
21146     $as_echo_n "(cached) " >&6
21147     else
21148     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149     /* end confdefs.h. */
21150     #if defined CRAY && ! defined CRAY2
21151     webecray
21152     #else
21153     wenotbecray
21154     #endif
21155    
21156     _ACEOF
21157     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21158     $EGREP "webecray" >/dev/null 2>&1; then :
21159     ac_cv_os_cray=yes
21160     else
21161     ac_cv_os_cray=no
21162     fi
21163     rm -f conftest*
21164    
21165     fi
21166     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
21167     $as_echo "$ac_cv_os_cray" >&6; }
21168     if test $ac_cv_os_cray = yes; then
21169     for ac_func in _getb67 GETB67 getb67; do
21170     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21171     ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21172     eval as_val=\$$as_ac_var
21173     if test "x$as_val" = x""yes; then :
21174    
21175     cat >>confdefs.h <<_ACEOF
21176     #define CRAY_STACKSEG_END $ac_func
21177     _ACEOF
21178    
21179     break
21180     fi
21181    
21182     done
21183     fi
21184    
21185     { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
21186     $as_echo_n "checking stack direction for C alloca... " >&6; }
21187     if test "${ac_cv_c_stack_direction+set}" = set; then :
21188     $as_echo_n "(cached) " >&6
21189     else
21190     if test "$cross_compiling" = yes; then :
21191     ac_cv_c_stack_direction=0
21192     else
21193     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21194     /* end confdefs.h. */
21195     $ac_includes_default
21196     int
21197     find_stack_direction ()
21198     {
21199     static char *addr = 0;
21200     auto char dummy;
21201     if (addr == 0)
21202     {
21203     addr = &dummy;
21204     return find_stack_direction ();
21205     }
21206     else
21207     return (&dummy > addr) ? 1 : -1;
21208     }
21209    
21210     int
21211     main ()
21212     {
21213     return find_stack_direction () < 0;
21214     }
21215     _ACEOF
21216     if ac_fn_c_try_run "$LINENO"; then :
21217     ac_cv_c_stack_direction=1
21218     else
21219     ac_cv_c_stack_direction=-1
21220     fi
21221     rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21222     conftest.$ac_objext conftest.beam conftest.$ac_ext
21223     fi
21224    
21225     fi
21226     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
21227     $as_echo "$ac_cv_c_stack_direction" >&6; }
21228     cat >>confdefs.h <<_ACEOF
21229     #define STACK_DIRECTION $ac_cv_c_stack_direction
21230     _ACEOF
21231    
21232    
21233     fi
21234    
21235    
21236    
21237    
21238     for ac_header in $ac_header_list
21239     do :
21240     as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21241     ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
21242     "
21243     eval as_val=\$$as_ac_Header
21244     if test "x$as_val" = x""yes; then :
21245     cat >>confdefs.h <<_ACEOF
21246     #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21247     _ACEOF
21248    
21249     fi
21250    
21251     done
21252    
21253    
21254    
21255    
21256    
21257    
21258    
21259    
21260     for ac_func in getpagesize
21261     do :
21262     ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
21263     if test "x$ac_cv_func_getpagesize" = x""yes; then :
21264     cat >>confdefs.h <<_ACEOF
21265     #define HAVE_GETPAGESIZE 1
21266     _ACEOF
21267    
21268     fi
21269     done
21270    
21271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
21272     $as_echo_n "checking for working mmap... " >&6; }
21273     if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
21274     $as_echo_n "(cached) " >&6
21275     else
21276     if test "$cross_compiling" = yes; then :
21277     ac_cv_func_mmap_fixed_mapped=no
21278     else
21279     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21280     /* end confdefs.h. */
21281     $ac_includes_default
21282     /* malloc might have been renamed as rpl_malloc. */
21283     #undef malloc
21284    
21285     /* Thanks to Mike Haertel and Jim Avera for this test.
21286     Here is a matrix of mmap possibilities:
21287     mmap private not fixed
21288     mmap private fixed at somewhere currently unmapped
21289     mmap private fixed at somewhere already mapped
21290     mmap shared not fixed
21291     mmap shared fixed at somewhere currently unmapped
21292     mmap shared fixed at somewhere already mapped
21293     For private mappings, we should verify that changes cannot be read()
21294     back from the file, nor mmap's back from the file at a different
21295     address. (There have been systems where private was not correctly
21296     implemented like the infamous i386 svr4.0, and systems where the
21297     VM page cache was not coherent with the file system buffer cache
21298     like early versions of FreeBSD and possibly contemporary NetBSD.)
21299     For shared mappings, we should conversely verify that changes get
21300     propagated back to all the places they're supposed to be.
21301    
21302     Grep wants private fixed already mapped.
21303     The main things grep needs to know about mmap are:
21304     * does it exist and is it safe to write into the mmap'd area
21305     * how to use it (BSD variants) */
21306    
21307     #include <fcntl.h>
21308     #include <sys/mman.h>
21309    
21310     #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
21311     char *malloc ();
21312     #endif
21313    
21314     /* This mess was copied from the GNU getpagesize.h. */
21315     #ifndef HAVE_GETPAGESIZE
21316     # ifdef _SC_PAGESIZE
21317     # define getpagesize() sysconf(_SC_PAGESIZE)
21318     # else /* no _SC_PAGESIZE */
21319     # ifdef HAVE_SYS_PARAM_H
21320     # include <sys/param.h>
21321     # ifdef EXEC_PAGESIZE
21322     # define getpagesize() EXEC_PAGESIZE
21323     # else /* no EXEC_PAGESIZE */
21324     # ifdef NBPG
21325     # define getpagesize() NBPG * CLSIZE
21326     # ifndef CLSIZE
21327     # define CLSIZE 1
21328     # endif /* no CLSIZE */
21329     # else /* no NBPG */
21330     # ifdef NBPC
21331     # define getpagesize() NBPC
21332     # else /* no NBPC */
21333     # ifdef PAGESIZE
21334     # define getpagesize() PAGESIZE
21335     # endif /* PAGESIZE */
21336     # endif /* no NBPC */
21337     # endif /* no NBPG */
21338     # endif /* no EXEC_PAGESIZE */
21339     # else /* no HAVE_SYS_PARAM_H */
21340     # define getpagesize() 8192 /* punt totally */
21341     # endif /* no HAVE_SYS_PARAM_H */
21342     # endif /* no _SC_PAGESIZE */
21343    
21344     #endif /* no HAVE_GETPAGESIZE */
21345    
21346     int
21347     main ()
21348     {
21349     char *data, *data2, *data3;
21350     const char *cdata2;
21351     int i, pagesize;
21352     int fd, fd2;
21353    
21354     pagesize = getpagesize ();
21355    
21356     /* First, make a file with some known garbage in it. */
21357     data = (char *) malloc (pagesize);
21358     if (!data)
21359     return 1;
21360     for (i = 0; i < pagesize; ++i)
21361     *(data + i) = rand ();
21362     umask (0);
21363     fd = creat ("conftest.mmap", 0600);
21364     if (fd < 0)
21365     return 2;
21366     if (write (fd, data, pagesize) != pagesize)
21367     return 3;
21368     close (fd);
21369    
21370     /* Next, check that the tail of a page is zero-filled. File must have
21371     non-zero length, otherwise we risk SIGBUS for entire page. */
21372     fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
21373     if (fd2 < 0)
21374     return 4;
21375     cdata2 = "";
21376     if (write (fd2, cdata2, 1) != 1)
21377     return 5;
21378     data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
21379     if (data2 == MAP_FAILED)
21380     return 6;
21381     for (i = 0; i < pagesize; ++i)
21382     if (*(data2 + i))
21383     return 7;
21384     close (fd2);
21385     if (munmap (data2, pagesize))
21386     return 8;
21387    
21388     /* Next, try to mmap the file at a fixed address which already has
21389     something else allocated at it. If we can, also make sure that
21390     we see the same garbage. */
21391     fd = open ("conftest.mmap", O_RDWR);
21392     if (fd < 0)
21393     return 9;
21394     if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21395     MAP_PRIVATE | MAP_FIXED, fd, 0L))
21396     return 10;
21397     for (i = 0; i < pagesize; ++i)
21398     if (*(data + i) != *(data2 + i))
21399     return 11;
21400    
21401     /* Finally, make sure that changes to the mapped area do not
21402     percolate back to the file as seen by read(). (This is a bug on
21403     some variants of i386 svr4.0.) */
21404     for (i = 0; i < pagesize; ++i)
21405     *(data2 + i) = *(data2 + i) + 1;
21406     data3 = (char *) malloc (pagesize);
21407     if (!data3)
21408     return 12;
21409     if (read (fd, data3, pagesize) != pagesize)
21410     return 13;
21411     for (i = 0; i < pagesize; ++i)
21412     if (*(data + i) != *(data3 + i))
21413     return 14;
21414     close (fd);
21415     return 0;
21416     }
21417     _ACEOF
21418     if ac_fn_c_try_run "$LINENO"; then :
21419     ac_cv_func_mmap_fixed_mapped=yes
21420     else
21421     ac_cv_func_mmap_fixed_mapped=no
21422     fi
21423     rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21424     conftest.$ac_objext conftest.beam conftest.$ac_ext
21425     fi
21426    
21427     fi
21428     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
21429     $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
21430     if test $ac_cv_func_mmap_fixed_mapped = yes; then
21431    
21432     $as_echo "#define HAVE_MMAP 1" >>confdefs.h
21433    
21434     fi
21435     rm -f conftest.mmap conftest.txt
21436    
21437    
21438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
21439     $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
21440     if test "${ac_cv_gnu_library_2_1+set}" = set; then :
21441     $as_echo_n "(cached) " >&6
21442     else
21443     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21444     /* end confdefs.h. */
21445    
21446     #include <features.h>
21447     #ifdef __GNU_LIBRARY__
21448     #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
21449     Lucky GNU user
21450     #endif
21451     #endif
21452    
21453     _ACEOF
21454     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21455     $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
21456     ac_cv_gnu_library_2_1=yes
21457     else
21458     ac_cv_gnu_library_2_1=no
21459     fi
21460     rm -f conftest*
21461    
21462    
21463    
21464     fi
21465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
21466     $as_echo "$ac_cv_gnu_library_2_1" >&6; }
21467    
21468     GLIBC21="$ac_cv_gnu_library_2_1"
21469    
21470    
21471    
21472    
21473     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
21474     $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
21475     if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
21476     $as_echo_n "(cached) " >&6
21477     else
21478    
21479     if test "$cross_compiling" = yes; then :
21480    
21481     # Guess based on the CPU.
21482     case "$host_cpu" in
21483     alpha* | i3456786 | m68k | s390*)
21484     gt_cv_int_divbyzero_sigfpe="guessing yes";;
21485     *)
21486     gt_cv_int_divbyzero_sigfpe="guessing no";;
21487     esac
21488    
21489     else
21490     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21491     /* end confdefs.h. */
21492    
21493     #include <stdlib.h>
21494     #include <signal.h>
21495    
21496     static void
21497     #ifdef __cplusplus
21498     sigfpe_handler (int sig)
21499     #else
21500     sigfpe_handler (sig) int sig;
21501     #endif
21502     {
21503     /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
21504     exit (sig != SIGFPE);
21505     }
21506    
21507     int x = 1;
21508     int y = 0;
21509     int z;
21510     int nan;
21511    
21512     int main ()
21513     {
21514     signal (SIGFPE, sigfpe_handler);
21515     /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
21516     #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
21517     signal (SIGTRAP, sigfpe_handler);
21518     #endif
21519     /* Linux/SPARC yields signal SIGILL. */
21520     #if defined (__sparc__) && defined (__linux__)
21521     signal (SIGILL, sigfpe_handler);
21522     #endif
21523    
21524     z = x / y;
21525     nan = y / y;
21526     exit (1);
21527     }
21528    
21529     _ACEOF
21530     if ac_fn_c_try_run "$LINENO"; then :
21531     gt_cv_int_divbyzero_sigfpe=yes
21532     else
21533     gt_cv_int_divbyzero_sigfpe=no
21534     fi
21535     rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21536     conftest.$ac_objext conftest.beam conftest.$ac_ext
21537     fi
21538    
21539    
21540     fi
21541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
21542     $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
21543     case "$gt_cv_int_divbyzero_sigfpe" in
21544     *yes) value=1;;
21545     *) value=0;;
21546     esac
21547    
21548     cat >>confdefs.h <<_ACEOF
21549     #define INTDIV0_RAISES_SIGFPE $value
21550     _ACEOF
21551    
21552    
21553    
21554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
21555     $as_echo_n "checking for unsigned long long... " >&6; }
21556     if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
21557     $as_echo_n "(cached) " >&6
21558     else
21559     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21560     /* end confdefs.h. */
21561     unsigned long long ull = 1ULL; int i = 63;
21562     int
21563     main ()
21564     {
21565     unsigned long long ullmax = (unsigned long long) -1;
21566     return ull << i | ull >> i | ullmax / ull | ullmax % ull;
21567     ;
21568     return 0;
21569     }
21570     _ACEOF
21571     if ac_fn_c_try_link "$LINENO"; then :
21572     ac_cv_type_unsigned_long_long=yes
21573     else
21574     ac_cv_type_unsigned_long_long=no
21575     fi
21576     rm -f core conftest.err conftest.$ac_objext \
21577     conftest$ac_exeext conftest.$ac_ext
21578     fi
21579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
21580     $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
21581     if test $ac_cv_type_unsigned_long_long = yes; then
21582    
21583     $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
21584    
21585     fi
21586    
21587    
21588    
21589    
21590     if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
21591    
21592     test $ac_cv_type_unsigned_long_long = yes \
21593     && ac_type='unsigned long long' \
21594     || ac_type='unsigned long'
21595    
21596     cat >>confdefs.h <<_ACEOF
21597     #define uintmax_t $ac_type
21598     _ACEOF
21599    
21600     else
21601    
21602     $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
21603    
21604     fi
21605    
21606    
21607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
21608     $as_echo_n "checking for inttypes.h... " >&6; }
21609     if test "${gt_cv_header_inttypes_h+set}" = set; then :
21610     $as_echo_n "(cached) " >&6
21611     else
21612    
21613     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21614     /* end confdefs.h. */
21615     #include <sys/types.h>
21616     #include <inttypes.h>
21617     int
21618     main ()
21619     {
21620    
21621     ;
21622     return 0;
21623     }
21624     _ACEOF
21625     if ac_fn_c_try_compile "$LINENO"; then :
21626     gt_cv_header_inttypes_h=yes
21627     else
21628     gt_cv_header_inttypes_h=no
21629     fi
21630     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631    
21632     fi
21633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
21634     $as_echo "$gt_cv_header_inttypes_h" >&6; }
21635     if test $gt_cv_header_inttypes_h = yes; then
21636    
21637     cat >>confdefs.h <<_ACEOF
21638     #define HAVE_INTTYPES_H 1
21639     _ACEOF
21640    
21641     fi
21642    
21643    
21644    
21645     if test $gt_cv_header_inttypes_h = yes; then
21646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
21647     $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
21648     if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
21649     $as_echo_n "(cached) " >&6
21650     else
21651    
21652     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653     /* end confdefs.h. */
21654     #include <inttypes.h>
21655     #ifdef PRId32
21656     char *p = PRId32;
21657     #endif
21658    
21659     int
21660     main ()
21661     {
21662    
21663     ;
21664     return 0;
21665     }
21666     _ACEOF
21667     if ac_fn_c_try_compile "$LINENO"; then :
21668     gt_cv_inttypes_pri_broken=no
21669     else
21670     gt_cv_inttypes_pri_broken=yes
21671     fi
21672     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673    
21674     fi
21675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
21676     $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
21677     fi
21678     if test "$gt_cv_inttypes_pri_broken" = yes; then
21679    
21680     cat >>confdefs.h <<_ACEOF
21681     #define PRI_MACROS_BROKEN 1
21682     _ACEOF
21683    
21684     fi
21685    
21686    
21687     for ac_header in stdint.h
21688     do :
21689     ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21690     if test "x$ac_cv_header_stdint_h" = x""yes; then :
21691     cat >>confdefs.h <<_ACEOF
21692     #define HAVE_STDINT_H 1
21693     _ACEOF
21694    
21695     fi
21696    
21697     done
21698    
21699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
21700     $as_echo_n "checking for SIZE_MAX... " >&6; }
21701     result=
21702     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21703     /* end confdefs.h. */
21704    
21705     #include <limits.h>
21706     #if HAVE_STDINT_H
21707     #include <stdint.h>
21708     #endif
21709     #ifdef SIZE_MAX
21710     Found it
21711     #endif
21712    
21713     _ACEOF
21714     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21715     $EGREP "Found it" >/dev/null 2>&1; then :
21716     result=yes
21717     fi
21718     rm -f conftest*
21719    
21720     if test -z "$result"; then
21721     if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include <stddef.h>"; then :
21722    
21723     else
21724     result=?
21725     fi
21726    
21727    
21728     if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include <stddef.h>"; then :
21729    
21730     else
21731     result=?
21732     fi
21733    
21734    
21735     if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
21736    
21737     else
21738     result=?
21739     fi
21740    
21741    
21742     if test "$fits_in_uint" = 1; then
21743     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21744     /* end confdefs.h. */
21745     #include <stddef.h>
21746     extern size_t foo;
21747     extern unsigned long foo;
21748    
21749     int
21750     main ()
21751     {
21752    
21753     ;
21754     return 0;
21755     }
21756     _ACEOF
21757     if ac_fn_c_try_compile "$LINENO"; then :
21758     fits_in_uint=0
21759     fi
21760     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761     fi
21762     if test -z "$result"; then
21763     if test "$fits_in_uint" = 1; then
21764     result="$res_hi$res_lo"U
21765     else
21766     result="$res_hi$res_lo"UL
21767     fi
21768     else
21769     result='~(size_t)0'
21770     fi
21771     fi
21772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
21773     $as_echo "$result" >&6; }
21774     if test "$result" != yes; then
21775    
21776     cat >>confdefs.h <<_ACEOF
21777     #define SIZE_MAX $result
21778     _ACEOF
21779    
21780     fi
21781    
21782    
21783    
21784     for ac_header in stdint.h
21785     do :
21786     ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21787     if test "x$ac_cv_header_stdint_h" = x""yes; then :
21788     cat >>confdefs.h <<_ACEOF
21789     #define HAVE_STDINT_H 1
21790     _ACEOF
21791    
21792     fi
21793    
21794     done
21795    
21796    
21797    
21798     if test "X$prefix" = "XNONE"; then
21799     acl_final_prefix="$ac_default_prefix"
21800     else
21801     acl_final_prefix="$prefix"
21802     fi
21803     if test "X$exec_prefix" = "XNONE"; then
21804     acl_final_exec_prefix='${prefix}'
21805     else
21806     acl_final_exec_prefix="$exec_prefix"
21807     fi
21808     acl_save_prefix="$prefix"
21809     prefix="$acl_final_prefix"
21810     eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21811     prefix="$acl_save_prefix"
21812    
21813    
21814     # Check whether --with-gnu-ld was given.
21815     if test "${with_gnu_ld+set}" = set; then :
21816     withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21817     else
21818     with_gnu_ld=no
21819     fi
21820    
21821     # Prepare PATH_SEPARATOR.
21822     # The user is always right.
21823     if test "${PATH_SEPARATOR+set}" != set; then
21824     echo "#! /bin/sh" >conf$$.sh
21825     echo "exit 0" >>conf$$.sh
21826     chmod +x conf$$.sh
21827     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21828     PATH_SEPARATOR=';'
21829     else
21830     PATH_SEPARATOR=:
21831     fi
21832     rm -f conf$$.sh
21833     fi
21834     ac_prog=ld
21835     if test "$GCC" = yes; then
21836     # Check if gcc -print-prog-name=ld gives a path.
21837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21838     $as_echo_n "checking for ld used by GCC... " >&6; }
21839     case $host in
21840     *-*-mingw*)
21841     # gcc leaves a trailing carriage return which upsets mingw
21842     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21843     *)
21844     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21845     esac
21846     case $ac_prog in
21847     # Accept absolute paths.
21848     [\\/]* | [A-Za-z]:[\\/]*)
21849     re_direlt='/[^/][^/]*/\.\./'
21850     # Canonicalize the path of ld
21851     ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
21852     while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21853     ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
21854     done
21855     test -z "$LD" && LD="$ac_prog"
21856     ;;
21857     "")
21858     # If it fails, then pretend we aren't using GCC.
21859     ac_prog=ld
21860     ;;
21861     *)
21862     # If it is relative, then search for the first ld in PATH.
21863     with_gnu_ld=unknown
21864     ;;
21865     esac
21866     elif test "$with_gnu_ld" = yes; then
21867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21868     $as_echo_n "checking for GNU ld... " >&6; }
21869     else
21870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21871     $as_echo_n "checking for non-GNU ld... " >&6; }
21872     fi
21873     if test "${acl_cv_path_LD+set}" = set; then :
21874     $as_echo_n "(cached) " >&6
21875     else
21876     if test -z "$LD"; then
21877     IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21878     for ac_dir in $PATH; do
21879     test -z "$ac_dir" && ac_dir=.
21880     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21881     acl_cv_path_LD="$ac_dir/$ac_prog"
21882     # Check to see if the program is GNU ld. I'd rather use --version,
21883     # but apparently some GNU ld's only accept -v.
21884     # Break only if it was the GNU/non-GNU ld that we prefer.
21885     case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
21886     *GNU* | *'with BFD'*)
21887     test "$with_gnu_ld" != no && break ;;
21888     *)
21889     test "$with_gnu_ld" != yes && break ;;
21890     esac
21891     fi
21892     done
21893     IFS="$ac_save_ifs"
21894     else
21895     acl_cv_path_LD="$LD" # Let the user override the test with a path.
21896     fi
21897     fi
21898    
21899     LD="$acl_cv_path_LD"
21900     if test -n "$LD"; then
21901     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21902     $as_echo "$LD" >&6; }
21903     else
21904     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21905     $as_echo "no" >&6; }
21906     fi
21907     test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21909     $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21910     if test "${acl_cv_prog_gnu_ld+set}" = set; then :
21911     $as_echo_n "(cached) " >&6
21912     else
21913     # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21914     case `$LD -v 2>&1 </dev/null` in
21915     *GNU* | *'with BFD'*)
21916     acl_cv_prog_gnu_ld=yes ;;
21917     *)
21918     acl_cv_prog_gnu_ld=no ;;
21919     esac
21920     fi
21921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21922     $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21923     with_gnu_ld=$acl_cv_prog_gnu_ld
21924    
21925    
21926    
21927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21928     $as_echo_n "checking for shared library run path origin... " >&6; }
21929     if test "${acl_cv_rpath+set}" = set; then :
21930     $as_echo_n "(cached) " >&6
21931     else
21932    
21933     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21934     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21935     . ./conftest.sh
21936     rm -f ./conftest.sh
21937     acl_cv_rpath=done
21938    
21939     fi
21940     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21941     $as_echo "$acl_cv_rpath" >&6; }
21942     wl="$acl_cv_wl"
21943     libext="$acl_cv_libext"
21944     shlibext="$acl_cv_shlibext"
21945     hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21946     hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21947     hardcode_direct="$acl_cv_hardcode_direct"
21948     hardcode_minus_L="$acl_cv_hardcode_minus_L"
21949     # Check whether --enable-rpath was given.
21950     if test "${enable_rpath+set}" = set; then :
21951     enableval=$enable_rpath; :
21952     else
21953     enable_rpath=yes
21954     fi
21955    
21956    
21957    
21958    
21959    
21960    
21961    
21962    
21963     use_additional=yes
21964    
21965     acl_save_prefix="$prefix"
21966     prefix="$acl_final_prefix"
21967     acl_save_exec_prefix="$exec_prefix"
21968     exec_prefix="$acl_final_exec_prefix"
21969    
21970     eval additional_includedir=\"$includedir\"
21971     eval additional_libdir=\"$libdir\"
21972    
21973     exec_prefix="$acl_save_exec_prefix"
21974     prefix="$acl_save_prefix"
21975    
21976    
21977     # Check whether --with-libiconv-prefix was given.
21978     if test "${with_libiconv_prefix+set}" = set; then :
21979     withval=$with_libiconv_prefix;
21980     if test "X$withval" = "Xno"; then
21981     use_additional=no
21982     else
21983     if test "X$withval" = "X"; then
21984    
21985     acl_save_prefix="$prefix"
21986     prefix="$acl_final_prefix"
21987     acl_save_exec_prefix="$exec_prefix"
21988     exec_prefix="$acl_final_exec_prefix"
21989    
21990     eval additional_includedir=\"$includedir\"
21991     eval additional_libdir=\"$libdir\"
21992    
21993     exec_prefix="$acl_save_exec_prefix"
21994     prefix="$acl_save_prefix"
21995    
21996     else
21997     additional_includedir="$withval/include"
21998     additional_libdir="$withval/lib"
21999     fi
22000     fi
22001    
22002     fi
22003    
22004     LIBICONV=
22005     LTLIBICONV=
22006     INCICONV=
22007     rpathdirs=
22008     ltrpathdirs=
22009     names_already_handled=
22010     names_next_round='iconv '
22011     while test -n "$names_next_round"; do
22012     names_this_round="$names_next_round"
22013     names_next_round=
22014     for name in $names_this_round; do
22015     already_handled=
22016     for n in $names_already_handled; do
22017     if test "$n" = "$name"; then
22018     already_handled=yes
22019     break
22020     fi
22021     done
22022     if test -z "$already_handled"; then
22023     names_already_handled="$names_already_handled $name"
22024     uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
22025     eval value=\"\$HAVE_LIB$uppername\"
22026     if test -n "$value"; then
22027     if test "$value" = yes; then
22028     eval value=\"\$LIB$uppername\"
22029     test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
22030     eval value=\"\$LTLIB$uppername\"
22031     test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
22032     else
22033     :
22034     fi
22035     else
22036     found_dir=
22037     found_la=
22038     found_so=
22039     found_a=
22040     if test $use_additional = yes; then
22041     if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
22042     found_dir="$additional_libdir"
22043     found_so="$additional_libdir/lib$name.$shlibext"
22044     if test -f "$additional_libdir/lib$name.la"; then
22045     found_la="$additional_libdir/lib$name.la"
22046     fi
22047     else
22048     if test -f "$additional_libdir/lib$name.$libext"; then
22049     found_dir="$additional_libdir"
22050     found_a="$additional_libdir/lib$name.$libext"
22051     if test -f "$additional_libdir/lib$name.la"; then
22052     found_la="$additional_libdir/lib$name.la"
22053     fi
22054     fi
22055     fi
22056     fi
22057     if test "X$found_dir" = "X"; then
22058     for x in $LDFLAGS $LTLIBICONV; do
22059    
22060     acl_save_prefix="$prefix"
22061     prefix="$acl_final_prefix"
22062     acl_save_exec_prefix="$exec_prefix"
22063     exec_prefix="$acl_final_exec_prefix"
22064     eval x=\"$x\"
22065     exec_prefix="$acl_save_exec_prefix"
22066     prefix="$acl_save_prefix"
22067    
22068     case "$x" in
22069     -L*)
22070     dir=`echo "X$x" | sed -e 's/^X-L//'`
22071     if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
22072     found_dir="$dir"
22073     found_so="$dir/lib$name.$shlibext"
22074     if test -f "$dir/lib$name.la"; then
22075     found_la="$dir/lib$name.la"
22076     fi
22077     else
22078     if test -f "$dir/lib$name.$libext"; then
22079     found_dir="$dir"
22080     found_a="$dir/lib$name.$libext"
22081     if test -f "$dir/lib$name.la"; then
22082     found_la="$dir/lib$name.la"
22083     fi
22084     fi
22085     fi
22086     ;;
22087     esac
22088     if test "X$found_dir" != "X"; then
22089     break
22090     fi
22091     done
22092     fi
22093     if test "X$found_dir" != "X"; then
22094     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
22095     if test "X$found_so" != "X"; then
22096     if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
22097     LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22098     else
22099     haveit=
22100     for x in $ltrpathdirs; do
22101     if test "X$x" = "X$found_dir"; then
22102     haveit=yes
22103     break
22104     fi
22105     done
22106     if test -z "$haveit"; then
22107     ltrpathdirs="$ltrpathdirs $found_dir"
22108     fi
22109     if test "$hardcode_direct" = yes; then
22110     LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22111     else
22112     if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
22113     LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22114     haveit=
22115     for x in $rpathdirs; do
22116     if test "X$x" = "X$found_dir"; then
22117     haveit=yes
22118     break
22119     fi
22120     done
22121     if test -z "$haveit"; then
22122     rpathdirs="$rpathdirs $found_dir"
22123     fi
22124     else
22125     haveit=
22126     for x in $LDFLAGS $LIBICONV; do
22127    
22128     acl_save_prefix="$prefix"
22129     prefix="$acl_final_prefix"
22130     acl_save_exec_prefix="$exec_prefix"
22131     exec_prefix="$acl_final_exec_prefix"
22132     eval x=\"$x\"
22133     exec_prefix="$acl_save_exec_prefix"
22134     prefix="$acl_save_prefix"
22135    
22136     if test "X$x" = "X-L$found_dir"; then
22137     haveit=yes
22138     break
22139     fi
22140     done
22141     if test -z "$haveit"; then
22142     LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
22143     fi
22144     if test "$hardcode_minus_L" != no; then
22145     LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22146     else
22147     LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
22148     fi
22149     fi
22150     fi
22151     fi
22152     else
22153     if test "X$found_a" != "X"; then
22154     LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
22155     else
22156     LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
22157     fi
22158     fi
22159     additional_includedir=
22160     case "$found_dir" in
22161     */lib | */lib/)
22162     basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
22163     additional_includedir="$basedir/include"
22164     ;;
22165     esac
22166     if test "X$additional_includedir" != "X"; then
22167     if test "X$additional_includedir" != "X/usr/include"; then
22168     haveit=
22169     if test "X$additional_includedir" = "X/usr/local/include"; then
22170     if test -n "$GCC"; then
22171     case $host_os in
22172     linux*) haveit=yes;;
22173     esac
22174     fi
22175     fi
22176     if test -z "$haveit"; then
22177     for x in $CPPFLAGS $INCICONV; do
22178    
22179     acl_save_prefix="$prefix"
22180     prefix="$acl_final_prefix"
22181     acl_save_exec_prefix="$exec_prefix"
22182     exec_prefix="$acl_final_exec_prefix"
22183     eval x=\"$x\"
22184     exec_prefix="$acl_save_exec_prefix"
22185     prefix="$acl_save_prefix"
22186    
22187     if test "X$x" = "X-I$additional_includedir"; then
22188     haveit=yes
22189     break
22190     fi
22191     done
22192     if test -z "$haveit"; then
22193     if test -d "$additional_includedir"; then
22194     INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
22195     fi
22196     fi
22197     fi
22198     fi
22199     fi
22200     if test -n "$found_la"; then
22201     save_libdir="$libdir"
22202     case "$found_la" in
22203     */* | *\\*) . "$found_la" ;;
22204     *) . "./$found_la" ;;
22205     esac
22206     libdir="$save_libdir"
22207     for dep in $dependency_libs; do
22208     case "$dep" in
22209     -L*)
22210     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
22211     if test "X$additional_libdir" != "X/usr/lib"; then
22212     haveit=
22213     if test "X$additional_libdir" = "X/usr/local/lib"; then
22214     if test -n "$GCC"; then
22215     case $host_os in
22216     linux*) haveit=yes;;
22217     esac
22218     fi
22219     fi
22220     if test -z "$haveit"; then
22221     haveit=
22222     for x in $LDFLAGS $LIBICONV; do
22223    
22224     acl_save_prefix="$prefix"
22225     prefix="$acl_final_prefix"
22226     acl_save_exec_prefix="$exec_prefix"
22227     exec_prefix="$acl_final_exec_prefix"
22228     eval x=\"$x\"
22229     exec_prefix="$acl_save_exec_prefix"
22230     prefix="$acl_save_prefix"
22231    
22232     if test "X$x" = "X-L$additional_libdir"; then
22233     haveit=yes
22234     break
22235     fi
22236     done
22237     if test -z "$haveit"; then
22238     if test -d "$additional_libdir"; then
22239     LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
22240     fi
22241     fi
22242     haveit=
22243     for x in $LDFLAGS $LTLIBICONV; do
22244    
22245     acl_save_prefix="$prefix"
22246     prefix="$acl_final_prefix"
22247     acl_save_exec_prefix="$exec_prefix"
22248     exec_prefix="$acl_final_exec_prefix"
22249     eval x=\"$x\"
22250     exec_prefix="$acl_save_exec_prefix"
22251     prefix="$acl_save_prefix"
22252    
22253     if test "X$x" = "X-L$additional_libdir"; then
22254     haveit=yes
22255     break
22256     fi
22257     done
22258     if test -z "$haveit"; then
22259     if test -d "$additional_libdir"; then
22260     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
22261     fi
22262     fi
22263     fi
22264     fi
22265     ;;
22266     -R*)
22267     dir=`echo "X$dep" | sed -e 's/^X-R//'`
22268     if test "$enable_rpath" != no; then
22269     haveit=
22270     for x in $rpathdirs; do
22271     if test "X$x" = "X$dir"; then
22272     haveit=yes
22273     break
22274     fi
22275     done
22276     if test -z "$haveit"; then
22277     rpathdirs="$rpathdirs $dir"
22278     fi
22279     haveit=
22280     for x in $ltrpathdirs; do
22281     if test "X$x" = "X$dir"; then
22282     haveit=yes
22283     break
22284     fi
22285     done
22286     if test -z "$haveit"; then
22287     ltrpathdirs="$ltrpathdirs $dir"
22288     fi
22289     fi
22290     ;;
22291     -l*)
22292     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
22293     ;;
22294     *.la)
22295     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
22296     ;;
22297     *)
22298     LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
22299     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
22300     ;;
22301     esac
22302     done
22303     fi
22304     else
22305     LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
22306     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
22307     fi
22308     fi
22309     fi
22310     done
22311     done
22312     if test "X$rpathdirs" != "X"; then
22313     if test -n "$hardcode_libdir_separator"; then
22314     alldirs=
22315     for found_dir in $rpathdirs; do
22316     alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
22317     done
22318     acl_save_libdir="$libdir"
22319     libdir="$alldirs"
22320     eval flag=\"$hardcode_libdir_flag_spec\"
22321     libdir="$acl_save_libdir"
22322     LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
22323     else
22324     for found_dir in $rpathdirs; do
22325     acl_save_libdir="$libdir"
22326     libdir="$found_dir"
22327     eval flag=\"$hardcode_libdir_flag_spec\"
22328     libdir="$acl_save_libdir"
22329     LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
22330     done
22331     fi
22332     fi
22333     if test "X$ltrpathdirs" != "X"; then
22334     for found_dir in $ltrpathdirs; do
22335     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22336     done
22337     fi
22338    
22339    
22340    
22341    
22342    
22343    
22344    
22345    
22346     ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
22347     if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
22348    
22349     else
22350    
22351     $as_echo "#define ptrdiff_t long" >>confdefs.h
22352    
22353    
22354     fi
22355    
22356     for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
22357     stdlib.h string.h unistd.h sys/param.h
22358     do :
22359     as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22360     ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22361     eval as_val=\$$as_ac_Header
22362     if test "x$as_val" = x""yes; then :
22363     cat >>confdefs.h <<_ACEOF
22364     #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22365     _ACEOF
22366    
22367     fi
22368    
22369     done
22370    
22371     for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
22372     mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
22373     strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
22374     __fsetlocking
22375     do :
22376     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22377     ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22378     eval as_val=\$$as_ac_var
22379     if test "x$as_val" = x""yes; then :
22380     cat >>confdefs.h <<_ACEOF
22381     #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22382     _ACEOF
22383    
22384     fi
22385     done
22386    
22387    
22388    
22389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
22390     $as_echo_n "checking whether _snprintf is declared... " >&6; }
22391     if test "${ac_cv_have_decl__snprintf+set}" = set; then :
22392     $as_echo_n "(cached) " >&6
22393     else
22394     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395     /* end confdefs.h. */
22396     #include <stdio.h>
22397     int
22398     main ()
22399     {
22400    
22401     #ifndef _snprintf
22402     char *p = (char *) _snprintf;
22403     #endif
22404    
22405     ;
22406     return 0;
22407     }
22408     _ACEOF
22409     if ac_fn_c_try_compile "$LINENO"; then :
22410     ac_cv_have_decl__snprintf=yes
22411     else
22412     ac_cv_have_decl__snprintf=no
22413     fi
22414     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22415     fi
22416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
22417     $as_echo "$ac_cv_have_decl__snprintf" >&6; }
22418     if test $ac_cv_have_decl__snprintf = yes; then
22419     gt_value=1
22420     else
22421     gt_value=0
22422     fi
22423    
22424     cat >>confdefs.h <<_ACEOF
22425     #define HAVE_DECL__SNPRINTF $gt_value
22426     _ACEOF
22427    
22428    
22429    
22430     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
22431     $as_echo_n "checking whether _snwprintf is declared... " >&6; }
22432     if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
22433     $as_echo_n "(cached) " >&6
22434     else
22435     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22436     /* end confdefs.h. */
22437     #include <stdio.h>
22438     int
22439     main ()
22440     {
22441    
22442     #ifndef _snwprintf
22443     char *p = (char *) _snwprintf;
22444     #endif
22445    
22446     ;
22447     return 0;
22448     }
22449     _ACEOF
22450     if ac_fn_c_try_compile "$LINENO"; then :
22451     ac_cv_have_decl__snwprintf=yes
22452     else
22453     ac_cv_have_decl__snwprintf=no
22454     fi
22455     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22456     fi
22457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
22458     $as_echo "$ac_cv_have_decl__snwprintf" >&6; }
22459     if test $ac_cv_have_decl__snwprintf = yes; then
22460     gt_value=1
22461     else
22462     gt_value=0
22463     fi
22464    
22465     cat >>confdefs.h <<_ACEOF
22466     #define HAVE_DECL__SNWPRINTF $gt_value
22467     _ACEOF
22468    
22469    
22470    
22471    
22472     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
22473     $as_echo_n "checking whether feof_unlocked is declared... " >&6; }
22474     if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
22475     $as_echo_n "(cached) " >&6
22476     else
22477     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478     /* end confdefs.h. */
22479     #include <stdio.h>
22480     int
22481     main ()
22482     {
22483    
22484     #ifndef feof_unlocked
22485     char *p = (char *) feof_unlocked;
22486     #endif
22487    
22488     ;
22489     return 0;
22490     }
22491     _ACEOF
22492     if ac_fn_c_try_compile "$LINENO"; then :
22493     ac_cv_have_decl_feof_unlocked=yes
22494     else
22495     ac_cv_have_decl_feof_unlocked=no
22496     fi
22497     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498     fi
22499     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
22500     $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
22501     if test $ac_cv_have_decl_feof_unlocked = yes; then
22502     gt_value=1
22503     else
22504     gt_value=0
22505     fi
22506    
22507     cat >>confdefs.h <<_ACEOF
22508     #define HAVE_DECL_FEOF_UNLOCKED $gt_value
22509     _ACEOF
22510    
22511    
22512    
22513     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
22514     $as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
22515     if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
22516     $as_echo_n "(cached) " >&6
22517     else
22518     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22519     /* end confdefs.h. */
22520     #include <stdio.h>
22521     int
22522     main ()
22523     {
22524    
22525     #ifndef fgets_unlocked
22526     char *p = (char *) fgets_unlocked;
22527     #endif
22528    
22529     ;
22530     return 0;
22531     }
22532     _ACEOF
22533     if ac_fn_c_try_compile "$LINENO"; then :
22534     ac_cv_have_decl_fgets_unlocked=yes
22535     else
22536     ac_cv_have_decl_fgets_unlocked=no
22537     fi
22538     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22539     fi
22540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
22541     $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
22542     if test $ac_cv_have_decl_fgets_unlocked = yes; then
22543     gt_value=1
22544     else
22545     gt_value=0
22546     fi
22547    
22548     cat >>confdefs.h <<_ACEOF
22549     #define HAVE_DECL_FGETS_UNLOCKED $gt_value
22550     _ACEOF
22551    
22552    
22553    
22554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
22555     $as_echo_n "checking whether getc_unlocked is declared... " >&6; }
22556     if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
22557     $as_echo_n "(cached) " >&6
22558     else
22559     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22560     /* end confdefs.h. */
22561     #include <stdio.h>
22562     int
22563     main ()
22564     {
22565    
22566     #ifndef getc_unlocked
22567     char *p = (char *) getc_unlocked;
22568     #endif
22569    
22570     ;
22571     return 0;
22572     }
22573     _ACEOF
22574     if ac_fn_c_try_compile "$LINENO"; then :
22575     ac_cv_have_decl_getc_unlocked=yes
22576     else
22577     ac_cv_have_decl_getc_unlocked=no
22578     fi
22579     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22580     fi
22581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
22582     $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
22583     if test $ac_cv_have_decl_getc_unlocked = yes; then
22584     gt_value=1
22585     else
22586     gt_value=0
22587     fi
22588    
22589     cat >>confdefs.h <<_ACEOF
22590     #define HAVE_DECL_GETC_UNLOCKED $gt_value
22591     _ACEOF
22592    
22593    
22594    
22595     case $gt_cv_func_printf_posix in
22596     *yes) HAVE_POSIX_PRINTF=1 ;;
22597     *) HAVE_POSIX_PRINTF=0 ;;
22598     esac
22599    
22600     if test "$ac_cv_func_asprintf" = yes; then
22601     HAVE_ASPRINTF=1
22602     else
22603     HAVE_ASPRINTF=0
22604     fi
22605    
22606     if test "$ac_cv_func_snprintf" = yes; then
22607     HAVE_SNPRINTF=1
22608     else
22609     HAVE_SNPRINTF=0
22610     fi
22611    
22612     if test "$ac_cv_func_wprintf" = yes; then
22613     HAVE_WPRINTF=1
22614     else
22615     HAVE_WPRINTF=0
22616     fi
22617    
22618    
22619    
22620    
22621    
22622    
22623    
22624     am_save_CPPFLAGS="$CPPFLAGS"
22625    
22626     for element in $INCICONV; do
22627     haveit=
22628     for x in $CPPFLAGS; do
22629    
22630     acl_save_prefix="$prefix"
22631     prefix="$acl_final_prefix"
22632     acl_save_exec_prefix="$exec_prefix"
22633     exec_prefix="$acl_final_exec_prefix"
22634     eval x=\"$x\"
22635     exec_prefix="$acl_save_exec_prefix"
22636     prefix="$acl_save_prefix"
22637    
22638     if test "X$x" = "X$element"; then
22639     haveit=yes
22640     break
22641     fi
22642     done
22643     if test -z "$haveit"; then
22644     CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
22645     fi
22646     done
22647    
22648    
22649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
22650     $as_echo_n "checking for iconv... " >&6; }
22651     if test "${am_cv_func_iconv+set}" = set; then :
22652     $as_echo_n "(cached) " >&6
22653     else
22654    
22655     am_cv_func_iconv="no, consider installing GNU libiconv"
22656     am_cv_lib_iconv=no
22657     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22658     /* end confdefs.h. */
22659     #include <stdlib.h>
22660     #include <iconv.h>
22661     int
22662     main ()
22663     {
22664     iconv_t cd = iconv_open("","");
22665     iconv(cd,NULL,NULL,NULL,NULL);
22666     iconv_close(cd);
22667     ;
22668     return 0;
22669     }
22670     _ACEOF
22671     if ac_fn_c_try_link "$LINENO"; then :
22672     am_cv_func_iconv=yes
22673     fi
22674     rm -f core conftest.err conftest.$ac_objext \
22675     conftest$ac_exeext conftest.$ac_ext
22676     if test "$am_cv_func_iconv" != yes; then
22677     am_save_LIBS="$LIBS"
22678     LIBS="$LIBS $LIBICONV"
22679     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22680     /* end confdefs.h. */
22681     #include <stdlib.h>
22682     #include <iconv.h>
22683     int
22684     main ()
22685     {
22686     iconv_t cd = iconv_open("","");
22687     iconv(cd,NULL,NULL,NULL,NULL);
22688     iconv_close(cd);
22689     ;
22690     return 0;
22691     }
22692     _ACEOF
22693     if ac_fn_c_try_link "$LINENO"; then :
22694     am_cv_lib_iconv=yes
22695     am_cv_func_iconv=yes
22696     fi
22697     rm -f core conftest.err conftest.$ac_objext \
22698     conftest$ac_exeext conftest.$ac_ext
22699     LIBS="$am_save_LIBS"
22700     fi
22701    
22702     fi
22703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
22704     $as_echo "$am_cv_func_iconv" >&6; }
22705     if test "$am_cv_func_iconv" = yes; then
22706    
22707     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
22708    
22709     fi
22710     if test "$am_cv_lib_iconv" = yes; then
22711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
22712     $as_echo_n "checking how to link with libiconv... " >&6; }
22713     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
22714     $as_echo "$LIBICONV" >&6; }
22715     else
22716     CPPFLAGS="$am_save_CPPFLAGS"
22717     LIBICONV=
22718     LTLIBICONV=
22719     fi
22720    
22721    
22722    
22723     if test "$am_cv_func_iconv" = yes; then
22724     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
22725     $as_echo_n "checking for iconv declaration... " >&6; }
22726     if test "${am_cv_proto_iconv+set}" = set; then :
22727     $as_echo_n "(cached) " >&6
22728     else
22729    
22730     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731     /* end confdefs.h. */
22732    
22733     #include <stdlib.h>
22734     #include <iconv.h>
22735     extern
22736     #ifdef __cplusplus
22737     "C"
22738     #endif
22739     #if defined(__STDC__) || defined(__cplusplus)
22740     size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22741     #else
22742     size_t iconv();
22743     #endif
22744    
22745     int
22746     main ()
22747     {
22748    
22749     ;
22750     return 0;
22751     }
22752     _ACEOF
22753     if ac_fn_c_try_compile "$LINENO"; then :
22754     am_cv_proto_iconv_arg1=""
22755     else
22756     am_cv_proto_iconv_arg1="const"
22757     fi
22758     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759     am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
22760     fi
22761    
22762     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
22764     }$am_cv_proto_iconv" >&5
22765     $as_echo "${ac_t:-
22766     }$am_cv_proto_iconv" >&6; }
22767    
22768     cat >>confdefs.h <<_ACEOF
22769     #define ICONV_CONST $am_cv_proto_iconv_arg1
22770     _ACEOF
22771    
22772     fi
22773    
22774    
22775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
22776     $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
22777     if test "${am_cv_langinfo_codeset+set}" = set; then :
22778     $as_echo_n "(cached) " >&6
22779     else
22780     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781     /* end confdefs.h. */
22782     #include <langinfo.h>
22783     int
22784     main ()
22785     {
22786     char* cs = nl_langinfo(CODESET);
22787     ;
22788     return 0;
22789     }
22790     _ACEOF
22791     if ac_fn_c_try_link "$LINENO"; then :
22792     am_cv_langinfo_codeset=yes
22793     else
22794     am_cv_langinfo_codeset=no
22795     fi
22796     rm -f core conftest.err conftest.$ac_objext \
22797     conftest$ac_exeext conftest.$ac_ext
22798    
22799     fi
22800     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
22801     $as_echo "$am_cv_langinfo_codeset" >&6; }
22802     if test $am_cv_langinfo_codeset = yes; then
22803    
22804     $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
22805    
22806     fi
22807    
22808     if test $ac_cv_header_locale_h = yes; then
22809    
22810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22811     $as_echo_n "checking for LC_MESSAGES... " >&6; }
22812     if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
22813     $as_echo_n "(cached) " >&6
22814     else
22815     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22816     /* end confdefs.h. */
22817     #include <locale.h>
22818     int
22819     main ()
22820     {
22821     return LC_MESSAGES
22822     ;
22823     return 0;
22824     }
22825     _ACEOF
22826     if ac_fn_c_try_link "$LINENO"; then :
22827     am_cv_val_LC_MESSAGES=yes
22828     else
22829     am_cv_val_LC_MESSAGES=no
22830     fi
22831     rm -f core conftest.err conftest.$ac_objext \
22832     conftest$ac_exeext conftest.$ac_ext
22833     fi
22834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
22835     $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
22836     if test $am_cv_val_LC_MESSAGES = yes; then
22837    
22838     $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22839    
22840     fi
22841    
22842     fi
22843    
22844     for ac_prog in bison
22845     do
22846     # Extract the first word of "$ac_prog", so it can be a program name with args.
22847     set dummy $ac_prog; ac_word=$2
22848     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22849     $as_echo_n "checking for $ac_word... " >&6; }
22850     if test "${ac_cv_prog_INTLBISON+set}" = set; then :
22851     $as_echo_n "(cached) " >&6
22852     else
22853     if test -n "$INTLBISON"; then
22854     ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
22855     else
22856     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22857     for as_dir in $PATH
22858     do
22859     IFS=$as_save_IFS
22860     test -z "$as_dir" && as_dir=.
22861     for ac_exec_ext in '' $ac_executable_extensions; do
22862     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22863     ac_cv_prog_INTLBISON="$ac_prog"
22864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22865     break 2
22866     fi
22867     done
22868     done
22869     IFS=$as_save_IFS
22870    
22871     fi
22872     fi
22873     INTLBISON=$ac_cv_prog_INTLBISON
22874     if test -n "$INTLBISON"; then
22875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
22876     $as_echo "$INTLBISON" >&6; }
22877     else
22878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22879     $as_echo "no" >&6; }
22880     fi
22881    
22882    
22883     test -n "$INTLBISON" && break
22884     done
22885    
22886     if test -z "$INTLBISON"; then
22887     ac_verc_fail=yes
22888     else
22889     { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
22890     $as_echo_n "checking version of bison... " >&6; }
22891     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
22892     case $ac_prog_version in
22893     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
22894     1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
22895     ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
22896     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
22897     esac
22898     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
22899     $as_echo "$ac_prog_version" >&6; }
22900     fi
22901     if test $ac_verc_fail = yes; then
22902     INTLBISON=:
22903     fi
22904    
22905    
22906    
22907    
22908    
22909    
22910    
22911    
22912    
22913    
22914    
22915    
22916    
22917    
22918    
22919    
22920     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
22921     $as_echo_n "checking whether NLS is requested... " >&6; }
22922     # Check whether --enable-nls was given.
22923     if test "${enable_nls+set}" = set; then :
22924     enableval=$enable_nls; USE_NLS=$enableval
22925     else
22926     USE_NLS=yes
22927     fi
22928    
22929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
22930     $as_echo "$USE_NLS" >&6; }
22931    
22932    
22933    
22934    
22935     BUILD_INCLUDED_LIBINTL=no
22936     USE_INCLUDED_LIBINTL=no
22937    
22938     LIBINTL=
22939     LTLIBINTL=
22940     POSUB=
22941    
22942     if test "$USE_NLS" = "yes"; then
22943     gt_use_preinstalled_gnugettext=no
22944    
22945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
22946     $as_echo_n "checking whether included gettext is requested... " >&6; }
22947    
22948     # Check whether --with-included-gettext was given.
22949     if test "${with_included_gettext+set}" = set; then :
22950     withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
22951     else
22952     nls_cv_force_use_gnu_gettext=no
22953     fi
22954    
22955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
22956     $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
22957    
22958     nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
22959     if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
22960    
22961    
22962    
22963    
22964    
22965    
22966     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
22967     $as_echo_n "checking for GNU gettext in libc... " >&6; }
22968     if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
22969     $as_echo_n "(cached) " >&6
22970     else
22971     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22972     /* end confdefs.h. */
22973     #include <libintl.h>
22974     extern int _nl_msg_cat_cntr;
22975     extern int *_nl_domain_bindings;
22976     int
22977     main ()
22978     {
22979     bindtextdomain ("", "");
22980     return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
22981     ;
22982     return 0;
22983     }
22984     _ACEOF
22985     if ac_fn_c_try_link "$LINENO"; then :
22986     gt_cv_func_gnugettext2_libc=yes
22987     else
22988     gt_cv_func_gnugettext2_libc=no
22989     fi
22990     rm -f core conftest.err conftest.$ac_objext \
22991     conftest$ac_exeext conftest.$ac_ext
22992     fi
22993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
22994     $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
22995    
22996     if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
22997    
22998    
22999    
23000     use_additional=yes
23001    
23002     acl_save_prefix="$prefix"
23003     prefix="$acl_final_prefix"
23004     acl_save_exec_prefix="$exec_prefix"
23005     exec_prefix="$acl_final_exec_prefix"
23006    
23007     eval additional_includedir=\"$includedir\"
23008     eval additional_libdir=\"$libdir\"
23009    
23010     exec_prefix="$acl_save_exec_prefix"
23011     prefix="$acl_save_prefix"
23012    
23013    
23014     # Check whether --with-libintl-prefix was given.
23015     if test "${with_libintl_prefix+set}" = set; then :
23016     withval=$with_libintl_prefix;
23017     if test "X$withval" = "Xno"; then
23018     use_additional=no
23019     else
23020     if test "X$withval" = "X"; then
23021    
23022     acl_save_prefix="$prefix"
23023     prefix="$acl_final_prefix"
23024     acl_save_exec_prefix="$exec_prefix"
23025     exec_prefix="$acl_final_exec_prefix"
23026    
23027     eval additional_includedir=\"$includedir\"
23028     eval additional_libdir=\"$libdir\"
23029    
23030     exec_prefix="$acl_save_exec_prefix"
23031     prefix="$acl_save_prefix"
23032    
23033     else
23034     additional_includedir="$withval/include"
23035     additional_libdir="$withval/lib"
23036     fi
23037     fi
23038    
23039     fi
23040    
23041     LIBINTL=
23042     LTLIBINTL=
23043     INCINTL=
23044     rpathdirs=
23045     ltrpathdirs=
23046     names_already_handled=
23047     names_next_round='intl '
23048     while test -n "$names_next_round"; do
23049     names_this_round="$names_next_round"
23050     names_next_round=
23051     for name in $names_this_round; do
23052     already_handled=
23053     for n in $names_already_handled; do
23054     if test "$n" = "$name"; then
23055     already_handled=yes
23056     break
23057     fi
23058     done
23059     if test -z "$already_handled"; then
23060     names_already_handled="$names_already_handled $name"
23061     uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
23062     eval value=\"\$HAVE_LIB$uppername\"
23063     if test -n "$value"; then
23064     if test "$value" = yes; then
23065     eval value=\"\$LIB$uppername\"
23066     test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
23067     eval value=\"\$LTLIB$uppername\"
23068     test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
23069     else
23070     :
23071     fi
23072     else
23073     found_dir=
23074     found_la=
23075     found_so=
23076     found_a=
23077     if test $use_additional = yes; then
23078     if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
23079     found_dir="$additional_libdir"
23080     found_so="$additional_libdir/lib$name.$shlibext"
23081     if test -f "$additional_libdir/lib$name.la"; then
23082     found_la="$additional_libdir/lib$name.la"
23083     fi
23084     else
23085     if test -f "$additional_libdir/lib$name.$libext"; then
23086     found_dir="$additional_libdir"
23087     found_a="$additional_libdir/lib$name.$libext"
23088     if test -f "$additional_libdir/lib$name.la"; then
23089     found_la="$additional_libdir/lib$name.la"
23090     fi
23091     fi
23092     fi
23093     fi
23094     if test "X$found_dir" = "X"; then
23095     for x in $LDFLAGS $LTLIBINTL; do
23096    
23097     acl_save_prefix="$prefix"
23098     prefix="$acl_final_prefix"
23099     acl_save_exec_prefix="$exec_prefix"
23100     exec_prefix="$acl_final_exec_prefix"
23101     eval x=\"$x\"
23102     exec_prefix="$acl_save_exec_prefix"
23103     prefix="$acl_save_prefix"
23104    
23105     case "$x" in
23106     -L*)
23107     dir=`echo "X$x" | sed -e 's/^X-L//'`
23108     if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
23109     found_dir="$dir"
23110     found_so="$dir/lib$name.$shlibext"
23111     if test -f "$dir/lib$name.la"; then
23112     found_la="$dir/lib$name.la"
23113     fi
23114     else
23115     if test -f "$dir/lib$name.$libext"; then
23116     found_dir="$dir"
23117     found_a="$dir/lib$name.$libext"
23118     if test -f "$dir/lib$name.la"; then
23119     found_la="$dir/lib$name.la"
23120     fi
23121     fi
23122     fi
23123     ;;
23124     esac
23125     if test "X$found_dir" != "X"; then
23126     break
23127     fi
23128     done
23129     fi
23130     if test "X$found_dir" != "X"; then
23131     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
23132     if test "X$found_so" != "X"; then
23133     if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
23134     LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23135     else
23136     haveit=
23137     for x in $ltrpathdirs; do
23138     if test "X$x" = "X$found_dir"; then
23139     haveit=yes
23140     break
23141     fi
23142     done
23143     if test -z "$haveit"; then
23144     ltrpathdirs="$ltrpathdirs $found_dir"
23145     fi
23146     if test "$hardcode_direct" = yes; then
23147     LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23148     else
23149     if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
23150     LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23151     haveit=
23152     for x in $rpathdirs; do
23153     if test "X$x" = "X$found_dir"; then
23154     haveit=yes
23155     break
23156     fi
23157     done
23158     if test -z "$haveit"; then
23159     rpathdirs="$rpathdirs $found_dir"
23160     fi
23161     else
23162     haveit=
23163     for x in $LDFLAGS $LIBINTL; do
23164    
23165     acl_save_prefix="$prefix"
23166     prefix="$acl_final_prefix"
23167     acl_save_exec_prefix="$exec_prefix"
23168     exec_prefix="$acl_final_exec_prefix"
23169     eval x=\"$x\"
23170     exec_prefix="$acl_save_exec_prefix"
23171     prefix="$acl_save_prefix"
23172    
23173     if test "X$x" = "X-L$found_dir"; then
23174     haveit=yes
23175     break
23176     fi
23177     done
23178     if test -z "$haveit"; then
23179     LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
23180     fi
23181     if test "$hardcode_minus_L" != no; then
23182     LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23183     else
23184     LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
23185     fi
23186     fi
23187     fi
23188     fi
23189     else
23190     if test "X$found_a" != "X"; then
23191     LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
23192     else
23193     LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
23194     fi
23195     fi
23196     additional_includedir=
23197     case "$found_dir" in
23198     */lib | */lib/)
23199     basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
23200     additional_includedir="$basedir/include"
23201     ;;
23202     esac
23203     if test "X$additional_includedir" != "X"; then
23204     if test "X$additional_includedir" != "X/usr/include"; then
23205     haveit=
23206     if test "X$additional_includedir" = "X/usr/local/include"; then
23207     if test -n "$GCC"; then
23208     case $host_os in
23209     linux*) haveit=yes;;
23210     esac
23211     fi
23212     fi
23213     if test -z "$haveit"; then
23214     for x in $CPPFLAGS $INCINTL; do
23215    
23216     acl_save_prefix="$prefix"
23217     prefix="$acl_final_prefix"
23218     acl_save_exec_prefix="$exec_prefix"
23219     exec_prefix="$acl_final_exec_prefix"
23220     eval x=\"$x\"
23221     exec_prefix="$acl_save_exec_prefix"
23222     prefix="$acl_save_prefix"
23223    
23224     if test "X$x" = "X-I$additional_includedir"; then
23225     haveit=yes
23226     break
23227     fi
23228     done
23229     if test -z "$haveit"; then
23230     if test -d "$additional_includedir"; then
23231     INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
23232     fi
23233     fi
23234     fi
23235     fi
23236     fi
23237     if test -n "$found_la"; then
23238     save_libdir="$libdir"
23239     case "$found_la" in
23240     */* | *\\*) . "$found_la" ;;
23241     *) . "./$found_la" ;;
23242     esac
23243     libdir="$save_libdir"
23244     for dep in $dependency_libs; do
23245     case "$dep" in
23246     -L*)
23247     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
23248     if test "X$additional_libdir" != "X/usr/lib"; then
23249     haveit=
23250     if test "X$additional_libdir" = "X/usr/local/lib"; then
23251     if test -n "$GCC"; then
23252     case $host_os in
23253     linux*) haveit=yes;;
23254     esac
23255     fi
23256     fi
23257     if test -z "$haveit"; then
23258     haveit=
23259     for x in $LDFLAGS $LIBINTL; do
23260    
23261     acl_save_prefix="$prefix"
23262     prefix="$acl_final_prefix"
23263     acl_save_exec_prefix="$exec_prefix"
23264     exec_prefix="$acl_final_exec_prefix"
23265     eval x=\"$x\"
23266     exec_prefix="$acl_save_exec_prefix"
23267     prefix="$acl_save_prefix"
23268    
23269     if test "X$x" = "X-L$additional_libdir"; then
23270     haveit=yes
23271     break
23272     fi
23273     done
23274     if test -z "$haveit"; then
23275     if test -d "$additional_libdir"; then
23276     LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
23277     fi
23278     fi
23279     haveit=
23280     for x in $LDFLAGS $LTLIBINTL; do
23281    
23282     acl_save_prefix="$prefix"
23283     prefix="$acl_final_prefix"
23284     acl_save_exec_prefix="$exec_prefix"
23285     exec_prefix="$acl_final_exec_prefix"
23286     eval x=\"$x\"
23287     exec_prefix="$acl_save_exec_prefix"
23288     prefix="$acl_save_prefix"
23289    
23290     if test "X$x" = "X-L$additional_libdir"; then
23291     haveit=yes
23292     break
23293     fi
23294     done
23295     if test -z "$haveit"; then
23296     if test -d "$additional_libdir"; then
23297     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
23298     fi
23299     fi
23300     fi
23301     fi
23302     ;;
23303     -R*)
23304     dir=`echo "X$dep" | sed -e 's/^X-R//'`
23305     if test "$enable_rpath" != no; then
23306     haveit=
23307     for x in $rpathdirs; do
23308     if test "X$x" = "X$dir"; then
23309     haveit=yes
23310     break
23311     fi
23312     done
23313     if test -z "$haveit"; then
23314     rpathdirs="$rpathdirs $dir"
23315     fi
23316     haveit=
23317     for x in $ltrpathdirs; do
23318     if test "X$x" = "X$dir"; then
23319     haveit=yes
23320     break
23321     fi
23322     done
23323     if test -z "$haveit"; then
23324     ltrpathdirs="$ltrpathdirs $dir"
23325     fi
23326     fi
23327     ;;
23328     -l*)
23329     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
23330     ;;
23331     *.la)
23332     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
23333     ;;
23334     *)
23335     LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
23336     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
23337     ;;
23338     esac
23339     done
23340     fi
23341     else
23342     LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
23343     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
23344     fi
23345     fi
23346     fi
23347     done
23348     done
23349     if test "X$rpathdirs" != "X"; then
23350     if test -n "$hardcode_libdir_separator"; then
23351     alldirs=
23352     for found_dir in $rpathdirs; do
23353     alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
23354     done
23355     acl_save_libdir="$libdir"
23356     libdir="$alldirs"
23357     eval flag=\"$hardcode_libdir_flag_spec\"
23358     libdir="$acl_save_libdir"
23359     LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
23360     else
23361     for found_dir in $rpathdirs; do
23362     acl_save_libdir="$libdir"
23363     libdir="$found_dir"
23364     eval flag=\"$hardcode_libdir_flag_spec\"
23365     libdir="$acl_save_libdir"
23366     LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
23367     done
23368     fi
23369     fi
23370     if test "X$ltrpathdirs" != "X"; then
23371     for found_dir in $ltrpathdirs; do
23372     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
23373     done
23374     fi
23375    
23376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
23377     $as_echo_n "checking for GNU gettext in libintl... " >&6; }
23378     if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
23379     $as_echo_n "(cached) " >&6
23380     else
23381     gt_save_CPPFLAGS="$CPPFLAGS"
23382     CPPFLAGS="$CPPFLAGS $INCINTL"
23383     gt_save_LIBS="$LIBS"
23384     LIBS="$LIBS $LIBINTL"
23385     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23386     /* end confdefs.h. */
23387     #include <libintl.h>
23388     extern int _nl_msg_cat_cntr;
23389     extern
23390     #ifdef __cplusplus
23391     "C"
23392     #endif
23393     const char *_nl_expand_alias ();
23394     int
23395     main ()
23396     {
23397     bindtextdomain ("", "");
23398     return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
23399     ;
23400     return 0;
23401     }
23402     _ACEOF
23403     if ac_fn_c_try_link "$LINENO"; then :
23404     gt_cv_func_gnugettext2_libintl=yes
23405     else
23406     gt_cv_func_gnugettext2_libintl=no
23407     fi
23408     rm -f core conftest.err conftest.$ac_objext \
23409     conftest$ac_exeext conftest.$ac_ext
23410     if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
23411     LIBS="$LIBS $LIBICONV"
23412     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23413     /* end confdefs.h. */
23414     #include <libintl.h>
23415     extern int _nl_msg_cat_cntr;
23416     extern
23417     #ifdef __cplusplus
23418     "C"
23419     #endif
23420     const char *_nl_expand_alias ();
23421     int
23422     main ()
23423     {
23424     bindtextdomain ("", "");
23425     return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
23426     ;
23427     return 0;
23428     }
23429     _ACEOF
23430     if ac_fn_c_try_link "$LINENO"; then :
23431     LIBINTL="$LIBINTL $LIBICONV"
23432     LTLIBINTL="$LTLIBINTL $LTLIBICONV"
23433     gt_cv_func_gnugettext2_libintl=yes
23434    
23435     fi
23436     rm -f core conftest.err conftest.$ac_objext \
23437     conftest$ac_exeext conftest.$ac_ext
23438     fi
23439     CPPFLAGS="$gt_save_CPPFLAGS"
23440     LIBS="$gt_save_LIBS"
23441     fi
23442     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
23443     $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
23444     fi
23445    
23446     if test "$gt_cv_func_gnugettext2_libc" = "yes" \
23447     || { test "$gt_cv_func_gnugettext2_libintl" = "yes" \
23448     && test "$PACKAGE" != gettext-runtime \
23449     && test "$PACKAGE" != gettext-tools; }; then
23450     gt_use_preinstalled_gnugettext=yes
23451     else
23452     LIBINTL=
23453     LTLIBINTL=
23454     INCINTL=
23455     fi
23456    
23457    
23458     if test "$gt_use_preinstalled_gnugettext" != "yes"; then
23459     nls_cv_use_gnu_gettext=yes
23460     fi
23461     fi
23462    
23463     if test "$nls_cv_use_gnu_gettext" = "yes"; then
23464     BUILD_INCLUDED_LIBINTL=yes
23465     USE_INCLUDED_LIBINTL=yes
23466     LIBINTL="\$(top_builddir)/intl//libintl.a $LIBICONV"
23467     LTLIBINTL="\$(top_builddir)/intl//libintl.a $LTLIBICONV"
23468     LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
23469     fi
23470    
23471     if test "$gt_use_preinstalled_gnugettext" = "yes" \
23472     || test "$nls_cv_use_gnu_gettext" = "yes"; then
23473     CATOBJEXT=.gmo
23474     fi
23475    
23476    
23477     if test "$gt_use_preinstalled_gnugettext" = "yes" \
23478     || test "$nls_cv_use_gnu_gettext" = "yes"; then
23479    
23480     $as_echo "#define ENABLE_NLS 1" >>confdefs.h
23481    
23482     else
23483     USE_NLS=no
23484     fi
23485     fi
23486    
23487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
23488     $as_echo_n "checking whether to use NLS... " >&6; }
23489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
23490     $as_echo "$USE_NLS" >&6; }
23491     if test "$USE_NLS" = "yes"; then
23492     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
23493     $as_echo_n "checking where the gettext function comes from... " >&6; }
23494     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
23495     if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
23496     gt_source="external libintl"
23497     else
23498     gt_source="libc"
23499     fi
23500     else
23501     gt_source="included intl directory"
23502     fi
23503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
23504     $as_echo "$gt_source" >&6; }
23505     fi
23506    
23507     if test "$USE_NLS" = "yes"; then
23508    
23509     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
23510     if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
23511     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
23512     $as_echo_n "checking how to link with libintl... " >&6; }
23513     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
23514     $as_echo "$LIBINTL" >&6; }
23515    
23516     for element in $INCINTL; do
23517     haveit=
23518     for x in $CPPFLAGS; do
23519    
23520     acl_save_prefix="$prefix"
23521     prefix="$acl_final_prefix"
23522     acl_save_exec_prefix="$exec_prefix"
23523     exec_prefix="$acl_final_exec_prefix"
23524     eval x=\"$x\"
23525     exec_prefix="$acl_save_exec_prefix"
23526     prefix="$acl_save_prefix"
23527    
23528     if test "X$x" = "X$element"; then
23529     haveit=yes
23530     break
23531     fi
23532     done
23533     if test -z "$haveit"; then
23534     CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
23535     fi
23536     done
23537    
23538     fi
23539    
23540    
23541     $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
23542    
23543    
23544     $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
23545    
23546     fi
23547    
23548     POSUB=po
23549     fi
23550    
23551    
23552     if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
23553     BUILD_INCLUDED_LIBINTL=yes
23554     fi
23555    
23556    
23557    
23558    
23559    
23560     nls_cv_header_intl=
23561     nls_cv_header_libgt=
23562    
23563     DATADIRNAME=share
23564    
23565    
23566     INSTOBJEXT=.mo
23567    
23568    
23569     GENCAT=gencat
23570    
23571    
23572     if test "$USE_INCLUDED_LIBINTL" = yes; then
23573     INTLOBJS="\$(GETTOBJS)"
23574     fi
23575    
23576    
23577     INTL_LIBTOOL_SUFFIX_PREFIX=
23578    
23579    
23580    
23581     INTLLIBS="$LIBINTL"
23582    
23583    
23584    
23585    
23586    
23587    
23588     if test "x${shared_libnavit}" = "xyes" -a "x${win32ce}" = "xyes"; then
23589     INTLLIBS="\$(top_builddir)/intl/libintl.la"
23590     LIBINTL=$INTLLIBS
23591     LTLIBINTL=$INTLLIBS
23592     fi
23593    
23594    
23595     if test x"$LIBINTL" != "x" ;then
23596     CFLAGS="$CFLAGS -I\$(top_builddir)/intl/"
23597     fi
23598    
23599     fi
23600     if test "x$enable_nls" = "xyes"; then
23601     ENABLE_NLS_TRUE=
23602     ENABLE_NLS_FALSE='#'
23603     else
23604     ENABLE_NLS_TRUE='#'
23605     ENABLE_NLS_FALSE=
23606     fi
23607    
23608     if test "x$xgettext_glade" = "xyes"; then
23609     XGETTEXT_GLADE_TRUE=
23610     XGETTEXT_GLADE_FALSE='#'
23611     else
23612     XGETTEXT_GLADE_TRUE='#'
23613     XGETTEXT_GLADE_FALSE=
23614     fi
23615    
23616     ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
23617     if test "x$ac_cv_header_byteswap_h" = x""yes; then :
23618    
23619     $as_echo "#define HAVE_BYTESWAP_H 1" >>confdefs.h
23620    
23621    
23622     fi
23623    
23624    
23625    
23626     PACKAGE=navit
23627     cat >>confdefs.h <<_ACEOF
23628     #define PACKAGE "$PACKAGE"
23629     _ACEOF
23630    
23631     cat >>confdefs.h <<_ACEOF
23632     #define VERSION "$VERSION"
23633     _ACEOF
23634    
23635    
23636    
23637    
23638     ac_fn_c_check_header_mongrel "$LINENO" "wordexp.h" "ac_cv_header_wordexp_h" "$ac_includes_default"
23639     if test "x$ac_cv_header_wordexp_h" = x""yes; then :
23640     wordexp_h=yes
23641     else
23642     wordexp_h=no;NAVIT_CFLAGS="$NAVIT_CFLAGS -I\$(top_srcdir)/navit/support/wordexp";WORDEXP_LIBS="-L\$(top_builddir)/navit/support/wordexp -lsupport_wordexp"
23643     fi
23644    
23645    
23646     if test "x$wordexp_h" = "xno"; then
23647     SUPPORT_WORDEXP_TRUE=
23648     SUPPORT_WORDEXP_FALSE='#'
23649     else
23650     SUPPORT_WORDEXP_TRUE='#'
23651     SUPPORT_WORDEXP_FALSE=
23652     fi
23653    
23654    
23655     support_libc=no
23656     # Check whether --enable-support_libc was given.
23657     if test "${enable_support_libc+set}" = set; then :
23658     enableval=$enable_support_libc; support_libc=$enableval
23659     fi
23660    
23661     if test "x$support_libc" = "xyes"; then
23662     SUPPORT_LIBC_TRUE=
23663     SUPPORT_LIBC_FALSE='#'
23664     else
23665     SUPPORT_LIBC_TRUE='#'
23666     SUPPORT_LIBC_FALSE=
23667     fi
23668    
23669     if test "x$support_libc" = "xyes"; then
23670     CFLAGS="$CFLAGS -I\$(top_srcdir)/navit/support/libc"
23671     LIBC_LIBS="-L\$(top_builddir)/navit/support/libc -lsupport_libc"
23672     fi
23673    
23674     ## graphics
23675     # Check whether --enable-graphics was given.
23676     if test "${enable_graphics+set}" = set; then :
23677     enableval=$enable_graphics; graphics=$enableval;graphics_reason="configure parameter"
23678     fi
23679    
23680     if test "x${graphics}" = "xyes"; then
23681     GRAPHICS_TRUE=
23682     GRAPHICS_FALSE='#'
23683     else
23684     GRAPHICS_TRUE='#'
23685     GRAPHICS_FALSE=
23686     fi
23687    
23688     if test "x$graphics" = "xyes"; then
23689    
23690     $as_echo "#define USE_GRAPHICS 1" >>confdefs.h
23691    
23692     fi
23693    
23694     # gd
23695    
23696     # android
23697     # Check whether --enable-graphics-android was given.
23698     if test "${enable_graphics_android+set}" = set; then :
23699     enableval=$enable_graphics_android; graphics_android=$enableval;graphics_android_reason="configure parameter"
23700     fi
23701    
23702     if test "x${graphics_android}" = "xyes"; then
23703     GRAPHICS_ANDROID_TRUE=
23704     GRAPHICS_ANDROID_FALSE='#'
23705     else
23706     GRAPHICS_ANDROID_TRUE='#'
23707     GRAPHICS_ANDROID_FALSE=
23708     fi
23709    
23710     # gd
23711     # Check whether --enable-graphics-gd was given.
23712     if test "${enable_graphics_gd+set}" = set; then :
23713     enableval=$enable_graphics_gd; graphics_gd=$enableval;graphics_gd_reason="configure parameter"
23714     fi
23715    
23716     if test "x${graphics_gd}" = "xyes" ; then
23717     if test -z "$GDLIB_CONFIG"; then
23718     # Extract the first word of "gdlib-config", so it can be a program name with args.
23719     set dummy gdlib-config; ac_word=$2
23720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23721     $as_echo_n "checking for $ac_word... " >&6; }
23722     if test "${ac_cv_path_GDLIB_CONFIG+set}" = set; then :
23723     $as_echo_n "(cached) " >&6
23724     else
23725     case $GDLIB_CONFIG in
23726     [\\/]* | ?:[\\/]*)
23727     ac_cv_path_GDLIB_CONFIG="$GDLIB_CONFIG" # Let the user override the test with a path.
23728     ;;
23729     *)
23730     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23731     for as_dir in $PATH
23732     do
23733     IFS=$as_save_IFS
23734     test -z "$as_dir" && as_dir=.
23735     for ac_exec_ext in '' $ac_executable_extensions; do
23736     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23737     ac_cv_path_GDLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23739     break 2
23740     fi
23741     done
23742     done
23743     IFS=$as_save_IFS
23744    
23745     ;;
23746     esac
23747     fi
23748     GDLIB_CONFIG=$ac_cv_path_GDLIB_CONFIG
23749     if test -n "$GDLIB_CONFIG"; then
23750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG" >&5
23751     $as_echo "$GDLIB_CONFIG" >&6; }
23752     else
23753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23754     $as_echo "no" >&6; }
23755     fi
23756    
23757    
23758     fi
23759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib with $GDLIB_CONFIG" >&5
23760     $as_echo_n "checking for gdlib with $GDLIB_CONFIG... " >&6; }
23761     if test ! -x "$GDLIB_CONFIG"; then
23762     if test "x${GDLIB_CONFIG}" = "x" ; then
23763     graphics_gd_reason="$GDLIB_CONFIG not executable"
23764     else
23765     graphics_gd_reason="gdlib-config missing"
23766     fi
23767     graphics_gd=no
23768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23769     $as_echo "no" >&6; }
23770     else
23771     if test "x${GD_CFLAGS}" = "x" ; then
23772     GD_CFLAGS="-I`$GDLIB_CONFIG --includedir`"
23773     fi
23774     if test "x${GD_LIBS}" = "x" ; then
23775     GD_LIBS="-L`$GDLIB_CONFIG --libdir` -lgd `$GDLIB_CONFIG --libs`"
23776     fi
23777    
23778    
23779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23780     $as_echo "yes" >&6; }
23781     fi
23782     fi
23783     if test "x${graphics_gd}" = "xyes"; then
23784     GRAPHICS_GD_TRUE=
23785     GRAPHICS_GD_FALSE='#'
23786     else
23787     GRAPHICS_GD_TRUE='#'
23788     GRAPHICS_GD_FALSE=
23789     fi
23790    
23791     ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
23792     if test "x$ac_cv_header_sys_shm_h" = x""yes; then :
23793    
23794     $as_echo "#define HAVE_SHMEM /**/" >>confdefs.h
23795    
23796    
23797     fi
23798    
23799    
23800     ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
23801     if test "x$ac_cv_header_X11_xpm_h" = x""yes; then :
23802    
23803     $as_echo "#define HAVE_XPM /**/" >>confdefs.h
23804    
23805    
23806     fi
23807    
23808    
23809     ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
23810     if test "x$ac_cv_header_getopt_h" = x""yes; then :
23811    
23812     $as_echo "#define HAVE_GETOPT_H /**/" >>confdefs.h
23813    
23814    
23815     fi
23816    
23817    
23818     if test "x${graphics_gd}" = "xyes" ; then
23819     save_CPPFLAGS=$CPPFLAGS
23820     save_LIBS=$LIBS
23821     LIBS="$GD_LIBS $LIBS"
23822     CPPFLAGS="$GD_CFLAGS $CPPFLAGS"
23823     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23824     /* end confdefs.h. */
23825     #include <gd.h>
23826     int
23827     main ()
23828     {
23829     gdImageCreateFromPng(0);
23830     ;
23831     return 0;
23832     }
23833     _ACEOF
23834     if ac_fn_c_try_link "$LINENO"; then :
23835     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23836     $as_echo "yes" >&6; };
23837     $as_echo "#define HAVE_GRAPHICS_GD_PNG 1" >>confdefs.h
23838    
23839     else
23840     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23841     $as_echo "no" >&6; }
23842     fi
23843     rm -f core conftest.err conftest.$ac_objext \
23844     conftest$ac_exeext conftest.$ac_ext
23845     CPPFLAGS=$save_CPPFLAGS
23846     LIBS=$save_LIBS
23847     fi
23848    
23849     # gtk_drawing_area
23850     # Check whether --enable-graphics-gtk-drawing-area was given.
23851     if test "${enable_graphics_gtk_drawing_area+set}" = set; then :
23852     enableval=$enable_graphics_gtk_drawing_area; graphics_gtk_drawing_area=$enableval;graphics_gtk_drawing_area_reason="configure parameter"
23853     fi
23854    
23855     if test "x${graphics_gtk_drawing_area}" = "xyes"; then
23856     GRAPHICS_GTK_DRAWING_AREA_TRUE=
23857     GRAPHICS_GTK_DRAWING_AREA_FALSE='#'
23858     else
23859     GRAPHICS_GTK_DRAWING_AREA_TRUE='#'
23860     GRAPHICS_GTK_DRAWING_AREA_FALSE=
23861     fi
23862    
23863     # null
23864     # Check whether --enable-graphics-null was given.
23865     if test "${enable_graphics_null+set}" = set; then :
23866     enableval=$enable_graphics_null; graphics_null=$enableval;graphics_null_reason="configure parameter"
23867     fi
23868    
23869     if test "x${graphics_null}" = "xyes"; then
23870     GRAPHICS_NULL_TRUE=
23871     GRAPHICS_NULL_FALSE='#'
23872     else
23873     GRAPHICS_NULL_TRUE='#'
23874     GRAPHICS_NULL_FALSE=
23875     fi
23876    
23877     # win32
23878     # Check whether --enable-graphics-win32 was given.
23879     if test "${enable_graphics_win32+set}" = set; then :
23880     enableval=$enable_graphics_win32; graphics_win32=$enableval;graphics_win32_reason="configure parameter"
23881     fi
23882    
23883     if test "x${graphics_win32}" = "xyes"; then
23884     GRAPHICS_WIN32_TRUE=
23885     GRAPHICS_WIN32_FALSE='#'
23886     else
23887     GRAPHICS_WIN32_TRUE='#'
23888     GRAPHICS_WIN32_FALSE=
23889     fi
23890    
23891     # qt_qpainter
23892     # Check whether --enable-graphics-qt-qpainter was given.
23893     if test "${enable_graphics_qt_qpainter+set}" = set; then :
23894     enableval=$enable_graphics_qt_qpainter; graphics_qt_qpainter=$enableval;graphics_qt_qpainter_reason="configure parameter"
23895     fi
23896    
23897     if test "x${graphics_qt_qpainter}" = "xyes" -a "x${QT_GUI_CFLAGS}" = "x" -a "x${QT_GUI_LIBS}" = "x"; then
23898    
23899     pkg_failed=no
23900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_GUI" >&5
23901     $as_echo_n "checking for QT_GUI... " >&6; }
23902    
23903     if test -n "$PKG_CONFIG"; then
23904     if test -n "$QT_GUI_CFLAGS"; then
23905     pkg_cv_QT_GUI_CFLAGS="$QT_GUI_CFLAGS"
23906     else
23907     if test -n "$PKG_CONFIG" && \
23908     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
23909     ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
23910     ac_status=$?
23911     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23912     test $ac_status = 0; }; then
23913     pkg_cv_QT_GUI_CFLAGS=`$PKG_CONFIG --cflags "QtGui QtCore" 2>/dev/null`
23914     else
23915     pkg_failed=yes
23916     fi
23917     fi
23918     else
23919     pkg_failed=untried
23920     fi
23921     if test -n "$PKG_CONFIG"; then
23922     if test -n "$QT_GUI_LIBS"; then
23923     pkg_cv_QT_GUI_LIBS="$QT_GUI_LIBS"
23924     else
23925     if test -n "$PKG_CONFIG" && \
23926     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
23927     ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
23928     ac_status=$?
23929     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23930     test $ac_status = 0; }; then
23931     pkg_cv_QT_GUI_LIBS=`$PKG_CONFIG --libs "QtGui QtCore" 2>/dev/null`
23932     else
23933     pkg_failed=yes
23934     fi
23935     fi
23936     else
23937     pkg_failed=untried
23938     fi
23939    
23940    
23941    
23942     if test $pkg_failed = yes; then
23943    
23944     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23945     _pkg_short_errors_supported=yes
23946     else
23947     _pkg_short_errors_supported=no
23948     fi
23949     if test $_pkg_short_errors_supported = yes; then
23950     QT_GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui QtCore"`
23951     else
23952     QT_GUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui QtCore"`
23953     fi
23954     # Put the nasty error message in config.log where it belongs
23955     echo "$QT_GUI_PKG_ERRORS" >&5
23956    
23957     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23958     $as_echo "no" >&6; }
23959     graphics_qt_qpainter=no;graphics_qt_qpainter_reason="Packages QtGui and/or QtCore missing"
23960     elif test $pkg_failed = untried; then
23961     graphics_qt_qpainter=no;graphics_qt_qpainter_reason="Packages QtGui and/or QtCore missing"
23962     else
23963     QT_GUI_CFLAGS=$pkg_cv_QT_GUI_CFLAGS
23964     QT_GUI_LIBS=$pkg_cv_QT_GUI_LIBS
23965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23966     $as_echo "yes" >&6; }
23967     graphics_qt_qpainter=yes
23968     fi
23969     if test "x${graphics_qt_qpainter}" = "xno"; then
23970    
23971     pkg_failed=no
23972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_GUI" >&5
23973     $as_echo_n "checking for QT_GUI... " >&6; }
23974    
23975     if test -n "$PKG_CONFIG"; then
23976     if test -n "$QT_GUI_CFLAGS"; then
23977     pkg_cv_QT_GUI_CFLAGS="$QT_GUI_CFLAGS"
23978     else
23979     if test -n "$PKG_CONFIG" && \
23980     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"qt-mt\""; } >&5
23981     ($PKG_CONFIG --exists --print-errors "qt-mt") 2>&5
23982     ac_status=$?
23983     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23984     test $ac_status = 0; }; then
23985     pkg_cv_QT_GUI_CFLAGS=`$PKG_CONFIG --cflags "qt-mt" 2>/dev/null`
23986     else
23987     pkg_failed=yes
23988     fi
23989     fi
23990     else
23991     pkg_failed=untried
23992     fi
23993     if test -n "$PKG_CONFIG"; then
23994     if test -n "$QT_GUI_LIBS"; then
23995     pkg_cv_QT_GUI_LIBS="$QT_GUI_LIBS"
23996     else
23997     if test -n "$PKG_CONFIG" && \
23998     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"qt-mt\""; } >&5
23999     ($PKG_CONFIG --exists --print-errors "qt-mt") 2>&5
24000     ac_status=$?
24001     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24002     test $ac_status = 0; }; then
24003     pkg_cv_QT_GUI_LIBS=`$PKG_CONFIG --libs "qt-mt" 2>/dev/null`
24004     else
24005     pkg_failed=yes
24006     fi
24007     fi
24008     else
24009     pkg_failed=untried
24010     fi
24011    
24012    
24013    
24014     if test $pkg_failed = yes; then
24015    
24016     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24017     _pkg_short_errors_supported=yes
24018     else
24019     _pkg_short_errors_supported=no
24020     fi
24021     if test $_pkg_short_errors_supported = yes; then
24022     QT_GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "qt-mt"`
24023     else
24024     QT_GUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "qt-mt"`
24025     fi
24026     # Put the nasty error message in config.log where it belongs
24027     echo "$QT_GUI_PKG_ERRORS" >&5
24028    
24029     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24030     $as_echo "no" >&6; }
24031     graphics_qt_qpainter=no
24032     elif test $pkg_failed = untried; then
24033     graphics_qt_qpainter=no
24034     else
24035     QT_GUI_CFLAGS=$pkg_cv_QT_GUI_CFLAGS
24036     QT_GUI_LIBS=$pkg_cv_QT_GUI_LIBS
24037     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24038     $as_echo "yes" >&6; }
24039     graphics_qt_qpainter=yes;graphics_qt_qpainter_reason="Package qt-mt present"
24040     fi
24041     fi
24042     fi
24043     if test "x${graphics_qt_qpainter}" = "xyes" ; then
24044    
24045     pkg_failed=no
24046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_SVG" >&5
24047     $as_echo_n "checking for QT_SVG... " >&6; }
24048    
24049     if test -n "$PKG_CONFIG"; then
24050     if test -n "$QT_SVG_CFLAGS"; then
24051     pkg_cv_QT_SVG_CFLAGS="$QT_SVG_CFLAGS"
24052     else
24053     if test -n "$PKG_CONFIG" && \
24054     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtSvg\""; } >&5
24055     ($PKG_CONFIG --exists --print-errors "QtSvg") 2>&5
24056     ac_status=$?
24057     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24058     test $ac_status = 0; }; then
24059     pkg_cv_QT_SVG_CFLAGS=`$PKG_CONFIG --cflags "QtSvg" 2>/dev/null`
24060     else
24061     pkg_failed=yes
24062     fi
24063     fi
24064     else
24065     pkg_failed=untried
24066     fi
24067     if test -n "$PKG_CONFIG"; then
24068     if test -n "$QT_SVG_LIBS"; then
24069     pkg_cv_QT_SVG_LIBS="$QT_SVG_LIBS"
24070     else
24071     if test -n "$PKG_CONFIG" && \
24072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtSvg\""; } >&5
24073     ($PKG_CONFIG --exists --print-errors "QtSvg") 2>&5
24074     ac_status=$?
24075     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24076     test $ac_status = 0; }; then
24077     pkg_cv_QT_SVG_LIBS=`$PKG_CONFIG --libs "QtSvg" 2>/dev/null`
24078     else
24079     pkg_failed=yes
24080     fi
24081     fi
24082     else
24083     pkg_failed=untried
24084     fi
24085    
24086    
24087    
24088     if test $pkg_failed = yes; then
24089    
24090     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24091     _pkg_short_errors_supported=yes
24092     else
24093     _pkg_short_errors_supported=no
24094     fi
24095     if test $_pkg_short_errors_supported = yes; then
24096     QT_SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtSvg"`
24097     else
24098     QT_SVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtSvg"`
24099     fi
24100     # Put the nasty error message in config.log where it belongs
24101     echo "$QT_SVG_PKG_ERRORS" >&5
24102    
24103     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24104     $as_echo "no" >&6; }
24105     have_qt_svg=no
24106     elif test $pkg_failed = untried; then
24107     have_qt_svg=no
24108     else
24109     QT_SVG_CFLAGS=$pkg_cv_QT_SVG_CFLAGS
24110     QT_SVG_LIBS=$pkg_cv_QT_SVG_LIBS
24111     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24112     $as_echo "yes" >&6; }
24113     have_qt_svg=yes
24114     fi
24115     if test "x${have_qt_svg}" = "xyes"; then
24116    
24117     $as_echo "#define HAVE_QT_SVG /**/" >>confdefs.h
24118    
24119     fi
24120     fi
24121     if test "x${graphics_qt_qpainter}" = "xyes" ; then
24122    
24123     $as_echo "#define USE_GRAPICS_QT_QPAINTER 1" >>confdefs.h
24124    
24125     fi
24126    
24127    
24128    
24129    
24130     if test "x${graphics_qt_qpainter}" = "xyes"; then
24131     GRAPHICS_QT_QPAINTER_TRUE=
24132     GRAPHICS_QT_QPAINTER_FALSE='#'
24133     else
24134     GRAPHICS_QT_QPAINTER_TRUE='#'
24135     GRAPHICS_QT_QPAINTER_FALSE=
24136     fi
24137    
24138     MOC=`$PKG_CONFIG QtGui --variable=moc_location`
24139     if test "x${MOC}" = "x"; then
24140     # Extract the first word of "moc", so it can be a program name with args.
24141     set dummy moc; ac_word=$2
24142     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24143     $as_echo_n "checking for $ac_word... " >&6; }
24144     if test "${ac_cv_prog_MOC+set}" = set; then :
24145     $as_echo_n "(cached) " >&6
24146     else
24147     if test -n "$MOC"; then
24148     ac_cv_prog_MOC="$MOC" # Let the user override the test.
24149     else
24150     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24151     for as_dir in $PATH
24152     do
24153     IFS=$as_save_IFS
24154     test -z "$as_dir" && as_dir=.
24155     for ac_exec_ext in '' $ac_executable_extensions; do
24156     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24157     ac_cv_prog_MOC="moc"
24158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24159     break 2
24160     fi
24161     done
24162     done
24163     IFS=$as_save_IFS
24164    
24165     fi
24166     fi
24167     MOC=$ac_cv_prog_MOC
24168     if test -n "$MOC"; then
24169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
24170     $as_echo "$MOC" >&6; }
24171     else
24172     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24173     $as_echo "no" >&6; }
24174     fi
24175    
24176    
24177     fi
24178    
24179    
24180    
24181     ## map
24182     # binfile
24183     # Check whether --enable-map-binfile was given.
24184     if test "${enable_map_binfile+set}" = set; then :
24185     enableval=$enable_map_binfile; map_binfile=$enableval;map_binfile_reason="configure parameter"
24186     fi
24187    
24188     if test "x${map_binfile}" = "xyes"; then
24189     MAP_BINFILE_TRUE=
24190     MAP_BINFILE_FALSE='#'
24191     else
24192     MAP_BINFILE_TRUE='#'
24193     MAP_BINFILE_FALSE=
24194     fi
24195    
24196     # filter
24197     # Check whether --enable-map-filter was given.
24198     if test "${enable_map_filter+set}" = set; then :
24199     enableval=$enable_map_filter; map_filter=$enableval;map_filter_reason="configure parameter"
24200     fi
24201    
24202     if test "x${map_filter}" = "xyes"; then
24203     MAP_FILTER_TRUE=
24204     MAP_FILTER_FALSE='#'
24205     else
24206     MAP_FILTER_TRUE='#'
24207     MAP_FILTER_FALSE=
24208     fi
24209    
24210     # mg
24211     # Check whether --enable-map-mg was given.
24212     if test "${enable_map_mg+set}" = set; then :
24213     enableval=$enable_map_mg; map_mg=$enableval;map_mg_reason="configure parameter"
24214     fi
24215    
24216     if test "x${map_mg}" = "xyes"; then
24217     MAP_MG_TRUE=
24218     MAP_MG_FALSE='#'
24219     else
24220     MAP_MG_TRUE='#'
24221     MAP_MG_FALSE=
24222     fi
24223    
24224     # shapefile
24225     # Check whether --enable-map-shapefile was given.
24226     if test "${enable_map_shapefile+set}" = set; then :
24227     enableval=$enable_map_shapefile; map_shapefile=$enableval;map_shapefile_reason="configure parameter"
24228     fi
24229    
24230     if test "x${map_shapefile}" = "xyes"; then
24231     MAP_SHAPEFILE_TRUE=
24232     MAP_SHAPEFILE_FALSE='#'
24233     else
24234     MAP_SHAPEFILE_TRUE='#'
24235     MAP_SHAPEFILE_FALSE=
24236     fi
24237    
24238     # textfile
24239     # Check whether --enable-map-textfile was given.
24240     if test "${enable_map_textfile+set}" = set; then :
24241     enableval=$enable_map_textfile; map_textfile=$enableval;map_textfile_reason="configure parameter"
24242     fi
24243    
24244     if test "x${map_textfile}" = "xyes"; then
24245     MAP_TEXTFILE_TRUE=
24246     MAP_TEXTFILE_FALSE='#'
24247     else
24248     MAP_TEXTFILE_TRUE='#'
24249     MAP_TEXTFILE_FALSE=
24250     fi
24251    
24252     # csv
24253     # Check whether --enable-map-csv was given.
24254     if test "${enable_map_csv+set}" = set; then :
24255     enableval=$enable_map_csv; map_csv=$enableval;map_csv_reason="configure parameter"
24256     fi
24257    
24258     if test "x${map_csv}" = "xyes"; then
24259     MAP_CSV_TRUE=
24260     MAP_CSV_FALSE='#'
24261     else
24262     MAP_CSV_TRUE='#'
24263     MAP_CSV_FALSE=
24264     fi
24265    
24266    
24267     ## osd
24268     # core
24269     # Check whether --enable-osd-core was given.
24270     if test "${enable_osd_core+set}" = set; then :
24271     enableval=$enable_osd_core; osd_core=$enableval;osd_core_reason="configure parameter"
24272     fi
24273    
24274     if test "x${osd_core}" = "xyes"; then
24275     OSD_CORE_TRUE=
24276     OSD_CORE_FALSE='#'
24277     else
24278     OSD_CORE_TRUE='#'
24279     OSD_CORE_FALSE=
24280     fi
24281    
24282    
24283     ## gui
24284     # gtk
24285     # Check whether --enable-gui-gtk was given.
24286     if test "${enable_gui_gtk+set}" = set; then :
24287     enableval=$enable_gui_gtk; gui_gtk=$enableval
24288     fi
24289    
24290     if test "x${gui_gtk}" = "xyes"; then
24291     GUI_GTK_TRUE=
24292     GUI_GTK_FALSE='#'
24293     else
24294     GUI_GTK_TRUE='#'
24295     GUI_GTK_FALSE=
24296     fi
24297    
24298     # internal
24299     # Check whether --enable-gui-internal was given.
24300     if test "${enable_gui_internal+set}" = set; then :
24301     enableval=$enable_gui_internal; gui_internal=$enableval;gui_internal_reason="configure parameter"
24302     fi
24303    
24304     if test "x${gui_internal}" = "xyes"; then
24305     GUI_INTERNAL_TRUE=
24306     GUI_INTERNAL_FALSE='#'
24307     else
24308     GUI_INTERNAL_TRUE='#'
24309     GUI_INTERNAL_FALSE=
24310     fi
24311    
24312     # win32
24313     # Check whether --enable-gui-win32 was given.
24314     if test "${enable_gui_win32+set}" = set; then :
24315     enableval=$enable_gui_win32; gui_win32=$enableval;gui_win32_reason="configure parameter"
24316     fi
24317    
24318     if test "x${gui_win32}" = "xyes"; then
24319     GUI_WIN32_TRUE=
24320     GUI_WIN32_FALSE='#'
24321     else
24322     GUI_WIN32_TRUE='#'
24323     GUI_WIN32_FALSE=
24324     fi
24325    
24326     # qml
24327     # Check whether --enable-gui-qml was given.
24328     if test "${enable_gui_qml+set}" = set; then :
24329     enableval=$enable_gui_qml; gui_qml=$enableval;gui_qml_reason="configure parameter"
24330     fi
24331    
24332     if test "x${gui_qml}" = "xyes" -a "x${QT_GUI_CFLAGS}" = "x" -a "x${QT_GUI_LIBS}" = "x"; then
24333    
24334     pkg_failed=no
24335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_GUI" >&5
24336     $as_echo_n "checking for QT_GUI... " >&6; }
24337    
24338     if test -n "$PKG_CONFIG"; then
24339     if test -n "$QT_GUI_CFLAGS"; then
24340     pkg_cv_QT_GUI_CFLAGS="$QT_GUI_CFLAGS"
24341     else
24342     if test -n "$PKG_CONFIG" && \
24343     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
24344     ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
24345     ac_status=$?
24346     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24347     test $ac_status = 0; }; then
24348     pkg_cv_QT_GUI_CFLAGS=`$PKG_CONFIG --cflags "QtGui QtCore" 2>/dev/null`
24349     else
24350     pkg_failed=yes
24351     fi
24352     fi
24353     else
24354     pkg_failed=untried
24355     fi
24356     if test -n "$PKG_CONFIG"; then
24357     if test -n "$QT_GUI_LIBS"; then
24358     pkg_cv_QT_GUI_LIBS="$QT_GUI_LIBS"
24359     else
24360     if test -n "$PKG_CONFIG" && \
24361     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
24362     ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
24363     ac_status=$?
24364     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24365     test $ac_status = 0; }; then
24366     pkg_cv_QT_GUI_LIBS=`$PKG_CONFIG --libs "QtGui QtCore" 2>/dev/null`
24367     else
24368     pkg_failed=yes
24369     fi
24370     fi
24371     else
24372     pkg_failed=untried
24373     fi
24374    
24375    
24376    
24377     if test $pkg_failed = yes; then
24378    
24379     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24380     _pkg_short_errors_supported=yes
24381     else
24382     _pkg_short_errors_supported=no
24383     fi
24384     if test $_pkg_short_errors_supported = yes; then
24385     QT_GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui QtCore"`
24386     else
24387     QT_GUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui QtCore"`
24388     fi
24389     # Put the nasty error message in config.log where it belongs
24390     echo "$QT_GUI_PKG_ERRORS" >&5
24391    
24392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24393     $as_echo "no" >&6; }
24394     gui_qml=no;gui_qml_reason="Packages QtGui and/or QtCore are missing"
24395     elif test $pkg_failed = untried; then
24396     gui_qml=no;gui_qml_reason="Packages QtGui and/or QtCore are missing"
24397     else
24398     QT_GUI_CFLAGS=$pkg_cv_QT_GUI_CFLAGS
24399     QT_GUI_LIBS=$pkg_cv_QT_GUI_LIBS
24400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24401     $as_echo "yes" >&6; }
24402     :
24403     fi
24404     fi
24405     if test "x${gui_qml}" = "xyes" -a "x${QT_XML_CFLAGS}" = "x" -a "x${QT_XML_LIBS}" = "x"; then
24406    
24407     pkg_failed=no
24408     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_XML" >&5
24409     $as_echo_n "checking for QT_XML... " >&6; }
24410    
24411     if test -n "$PKG_CONFIG"; then
24412     if test -n "$QT_XML_CFLAGS"; then
24413     pkg_cv_QT_XML_CFLAGS="$QT_XML_CFLAGS"
24414     else
24415     if test -n "$PKG_CONFIG" && \
24416     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtXml\""; } >&5
24417     ($PKG_CONFIG --exists --print-errors "QtXml") 2>&5
24418     ac_status=$?
24419     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24420     test $ac_status = 0; }; then
24421     pkg_cv_QT_XML_CFLAGS=`$PKG_CONFIG --cflags "QtXml" 2>/dev/null`
24422     else
24423     pkg_failed=yes
24424     fi
24425     fi
24426     else
24427     pkg_failed=untried
24428     fi
24429     if test -n "$PKG_CONFIG"; then
24430     if test -n "$QT_XML_LIBS"; then
24431     pkg_cv_QT_XML_LIBS="$QT_XML_LIBS"
24432     else
24433     if test -n "$PKG_CONFIG" && \
24434     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtXml\""; } >&5
24435     ($PKG_CONFIG --exists --print-errors "QtXml") 2>&5
24436     ac_status=$?
24437     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24438     test $ac_status = 0; }; then
24439     pkg_cv_QT_XML_LIBS=`$PKG_CONFIG --libs "QtXml" 2>/dev/null`
24440     else
24441     pkg_failed=yes
24442     fi
24443     fi
24444     else
24445     pkg_failed=untried
24446     fi
24447    
24448    
24449    
24450     if test $pkg_failed = yes; then
24451    
24452     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24453     _pkg_short_errors_supported=yes
24454     else
24455     _pkg_short_errors_supported=no
24456     fi
24457     if test $_pkg_short_errors_supported = yes; then
24458     QT_XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtXml"`
24459     else
24460     QT_XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtXml"`
24461     fi
24462     # Put the nasty error message in config.log where it belongs
24463     echo "$QT_XML_PKG_ERRORS" >&5
24464    
24465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24466     $as_echo "no" >&6; }
24467     gui_qml=no;gui_qml_reason="Package QtXml is missing"
24468     elif test $pkg_failed = untried; then
24469     gui_qml=no;gui_qml_reason="Package QtXml is missing"
24470     else
24471     QT_XML_CFLAGS=$pkg_cv_QT_XML_CFLAGS
24472     QT_XML_LIBS=$pkg_cv_QT_XML_LIBS
24473     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24474     $as_echo "yes" >&6; }
24475     :
24476     fi
24477     fi
24478     if test "x${gui_qml}" = "xyes" -a "x${QT_DECLARATIVE_CFLAGS}" = "x" -a "x${QT_DECLARATIVE_LIBS}" = "x"; then
24479    
24480     pkg_failed=no
24481     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_DECLARATIVE" >&5
24482     $as_echo_n "checking for QT_DECLARATIVE... " >&6; }
24483    
24484     if test -n "$PKG_CONFIG"; then
24485     if test -n "$QT_DECLARATIVE_CFLAGS"; then
24486     pkg_cv_QT_DECLARATIVE_CFLAGS="$QT_DECLARATIVE_CFLAGS"
24487     else
24488     if test -n "$PKG_CONFIG" && \
24489     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtDeclarative >= 4.6.0 \""; } >&5
24490     ($PKG_CONFIG --exists --print-errors "QtDeclarative >= 4.6.0 ") 2>&5
24491     ac_status=$?
24492     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24493     test $ac_status = 0; }; then
24494     pkg_cv_QT_DECLARATIVE_CFLAGS=`$PKG_CONFIG --cflags "QtDeclarative >= 4.6.0 " 2>/dev/null`
24495     else
24496     pkg_failed=yes
24497     fi
24498     fi
24499     else
24500     pkg_failed=untried
24501     fi
24502     if test -n "$PKG_CONFIG"; then
24503     if test -n "$QT_DECLARATIVE_LIBS"; then
24504     pkg_cv_QT_DECLARATIVE_LIBS="$QT_DECLARATIVE_LIBS"
24505     else
24506     if test -n "$PKG_CONFIG" && \
24507     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtDeclarative >= 4.6.0 \""; } >&5
24508     ($PKG_CONFIG --exists --print-errors "QtDeclarative >= 4.6.0 ") 2>&5
24509     ac_status=$?
24510     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24511     test $ac_status = 0; }; then
24512     pkg_cv_QT_DECLARATIVE_LIBS=`$PKG_CONFIG --libs "QtDeclarative >= 4.6.0 " 2>/dev/null`
24513     else
24514     pkg_failed=yes
24515     fi
24516     fi
24517     else
24518     pkg_failed=untried
24519     fi
24520    
24521    
24522    
24523     if test $pkg_failed = yes; then
24524    
24525     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24526     _pkg_short_errors_supported=yes
24527     else
24528     _pkg_short_errors_supported=no
24529     fi
24530     if test $_pkg_short_errors_supported = yes; then
24531     QT_DECLARATIVE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtDeclarative >= 4.6.0 "`
24532     else
24533     QT_DECLARATIVE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtDeclarative >= 4.6.0 "`
24534     fi
24535     # Put the nasty error message in config.log where it belongs
24536     echo "$QT_DECLARATIVE_PKG_ERRORS" >&5
24537    
24538     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24539     $as_echo "no" >&6; }
24540     gui_qml=no;gui_qml_reason="Packages QtDeclarative is missing"
24541     elif test $pkg_failed = untried; then
24542     gui_qml=no;gui_qml_reason="Packages QtDeclarative is missing"
24543     else
24544     QT_DECLARATIVE_CFLAGS=$pkg_cv_QT_DECLARATIVE_CFLAGS
24545     QT_DECLARATIVE_LIBS=$pkg_cv_QT_DECLARATIVE_LIBS
24546     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24547     $as_echo "yes" >&6; }
24548     :
24549     fi
24550     fi
24551     if test "x${gui_qml}" = "xyes" ; then
24552    
24553     $as_echo "#define USE_GUI_QML 1" >>confdefs.h
24554    
24555     fi
24556    
24557    
24558    
24559    
24560    
24561    
24562     if test "x${gui_qml}" = "xyes"; then
24563     GUI_QML_TRUE=
24564     GUI_QML_FALSE='#'
24565     else
24566     GUI_QML_TRUE='#'
24567     GUI_QML_FALSE=
24568     fi
24569    
24570    
24571     ## plugins
24572     # pedestrian
24573     # Check whether --enable-plugin-pedestrian was given.
24574     if test "${enable_plugin_pedestrian+set}" = set; then :
24575     enableval=$enable_plugin_pedestrian; plugin_pedestrian=$enableval;plugin_pedestrian_reason="configure parameter"
24576     fi
24577    
24578     if test "x${plugin_pedestrian}" = "xyes"; then
24579     PLUGIN_PEDESTRIAN_TRUE=
24580     PLUGIN_PEDESTRIAN_FALSE='#'
24581     else
24582     PLUGIN_PEDESTRIAN_TRUE='#'
24583     PLUGIN_PEDESTRIAN_FALSE=
24584     fi
24585    
24586    
24587     ## routing
24588     # Check whether --enable-routing was given.
24589     if test "${enable_routing+set}" = set; then :
24590     enableval=$enable_routing; routing=$enableval;routing_reason="configure parameter"
24591     fi
24592    
24593     if test "x${routing}" = "xyes"; then
24594     ROUTING_TRUE=
24595     ROUTING_FALSE='#'
24596     else
24597     ROUTING_TRUE='#'
24598     ROUTING_FALSE=
24599     fi
24600    
24601     if test "x$routing" = "xyes"; then
24602    
24603     $as_echo "#define USE_ROUTING 1" >>confdefs.h
24604    
24605     fi
24606    
24607     ## speech
24608     # android
24609     # Check whether --enable-speech-android was given.
24610     if test "${enable_speech_android+set}" = set; then :
24611     enableval=$enable_speech_android; speech_android=$enableval;speech_android_reason="configure parameter"
24612     fi
24613    
24614     if test "x${speech_android}" = "xyes"; then
24615     SPEECH_ANDROID_TRUE=
24616     SPEECH_ANDROID_FALSE='#'
24617     else
24618     SPEECH_ANDROID_TRUE='#'
24619     SPEECH_ANDROID_FALSE=
24620     fi
24621    
24622     # cmdline
24623     # Check whether --enable-speech-cmdline was given.
24624     if test "${enable_speech_cmdline+set}" = set; then :
24625     enableval=$enable_speech_cmdline; speech_cmdline=$enableval;speech_cmdline_reason="configure parameter"
24626     fi
24627    
24628     if test "x${speech_cmdline}" = "xyes"; then
24629     SPEECH_CMDLINE_TRUE=
24630     SPEECH_CMDLINE_FALSE='#'
24631     else
24632     SPEECH_CMDLINE_TRUE='#'
24633     SPEECH_CMDLINE_FALSE=
24634     fi
24635    
24636     # espeak
24637     # Check whether --enable-speech-espeak was given.
24638     if test "${enable_speech_espeak+set}" = set; then :
24639     enableval=$enable_speech_espeak; speech_espeak=$enableval;speech_espeak_reason="configure parameter"
24640     fi
24641    
24642     if test "x${speech_espeak}" = "xyes"; then
24643     SPEECH_ESPEAK_TRUE=
24644     SPEECH_ESPEAK_FALSE='#'
24645     else
24646     SPEECH_ESPEAK_TRUE='#'
24647     SPEECH_ESPEAK_FALSE=
24648     fi
24649    
24650     # speech-dispatcher
24651     # Check whether --enable-speech-speech-dispatcher was given.
24652     if test "${enable_speech_speech_dispatcher+set}" = set; then :
24653     enableval=$enable_speech_speech_dispatcher; speech_speech_dispatcher=$enableval;speech_speech_dispatcher_reason="configure parameter"
24654     fi
24655    
24656     if test "x$speech_speech_dispatcher" = "xyes"; then
24657     ac_fn_c_check_header_mongrel "$LINENO" "libspeechd.h" "ac_cv_header_libspeechd_h" "$ac_includes_default"
24658     if test "x$ac_cv_header_libspeechd_h" = x""yes; then :
24659    
24660     $as_echo "#define HAVE_LIBSPEECHD /**/" >>confdefs.h
24661     SPEECHD_LIBS="-lspeechd"
24662     else
24663     speech_speech_dispatcher=no; speech_speech_dispatcher_reason="libspeechd.h missing"
24664     fi
24665    
24666    
24667     fi
24668    
24669    
24670     if test "x${speech_speech_dispatcher}" = "xyes"; then
24671     SPEECH_SPEECH_DISPATCHER_TRUE=
24672     SPEECH_SPEECH_DISPATCHER_FALSE='#'
24673     else
24674     SPEECH_SPEECH_DISPATCHER_TRUE='#'
24675     SPEECH_SPEECH_DISPATCHER_FALSE=
24676     fi
24677    
24678     if test "x${support_espeak}" = "xyes"; then
24679     SUPPORT_ESPEAK_TRUE=
24680     SUPPORT_ESPEAK_FALSE='#'
24681     else
24682     SUPPORT_ESPEAK_TRUE='#'
24683     SUPPORT_ESPEAK_FALSE=
24684     fi
24685    
24686    
24687     ## vehicle
24688     # android
24689     # Check whether --enable-vehicle-android was given.
24690     if test "${enable_vehicle_android+set}" = set; then :
24691     enableval=$enable_vehicle_android; vehicle_android=$enableval;vehicle_android_reason="configure parameter"
24692     fi
24693    
24694     if test "x${vehicle_android}" = "xyes"; then
24695     VEHICLE_ANDROID_TRUE=
24696     VEHICLE_ANDROID_FALSE='#'
24697     else
24698     VEHICLE_ANDROID_TRUE='#'
24699     VEHICLE_ANDROID_FALSE=
24700     fi
24701    
24702     # demo
24703     # Check whether --enable-vehicle-demo was given.
24704     if test "${enable_vehicle_demo+set}" = set; then :
24705     enableval=$enable_vehicle_demo; vehicle_demo=$enableval;vehicle_demo_reason="configure parameter"
24706     fi
24707    
24708     if test "x${vehicle_demo}" = "xyes"; then
24709     VEHICLE_DEMO_TRUE=
24710     VEHICLE_DEMO_FALSE='#'
24711     else
24712     VEHICLE_DEMO_TRUE='#'
24713     VEHICLE_DEMO_FALSE=
24714     fi
24715    
24716     # file
24717     # Check whether --enable-vehicle-file was given.
24718     if test "${enable_vehicle_file+set}" = set; then :
24719     enableval=$enable_vehicle_file; vehicle_file=$enableval;vehicle_file_reason="configure parameter"
24720     fi
24721    
24722     if test "x${vehicle_file}" = "xyes"; then
24723     VEHICLE_FILE_TRUE=
24724     VEHICLE_FILE_FALSE='#'
24725     else
24726     VEHICLE_FILE_TRUE='#'
24727     VEHICLE_FILE_FALSE=
24728     fi
24729    
24730     # gpsd
24731     # Check whether --enable-vehicle-gpsd was given.
24732     if test "${enable_vehicle_gpsd+set}" = set; then :
24733     enableval=$enable_vehicle_gpsd; vehicle_gpsd=$enableval;vehicle_gpsd_reason="configure parameter"
24734     fi
24735    
24736     if test "x${vehicle_gpsd}" = xyes
24737     then
24738    
24739     pkg_failed=no
24740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPSD" >&5
24741     $as_echo_n "checking for GPSD... " >&6; }
24742    
24743     if test -n "$PKG_CONFIG"; then
24744     if test -n "$GPSD_CFLAGS"; then
24745     pkg_cv_GPSD_CFLAGS="$GPSD_CFLAGS"
24746     else
24747     if test -n "$PKG_CONFIG" && \
24748     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps\""; } >&5
24749     ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
24750     ac_status=$?
24751     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24752     test $ac_status = 0; }; then
24753     pkg_cv_GPSD_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
24754     else
24755     pkg_failed=yes
24756     fi
24757     fi
24758     else
24759     pkg_failed=untried
24760     fi
24761     if test -n "$PKG_CONFIG"; then
24762     if test -n "$GPSD_LIBS"; then
24763     pkg_cv_GPSD_LIBS="$GPSD_LIBS"
24764     else
24765     if test -n "$PKG_CONFIG" && \
24766     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps\""; } >&5
24767     ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
24768     ac_status=$?
24769     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24770     test $ac_status = 0; }; then
24771     pkg_cv_GPSD_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
24772     else
24773     pkg_failed=yes
24774     fi
24775     fi
24776     else
24777     pkg_failed=untried
24778     fi
24779    
24780    
24781    
24782     if test $pkg_failed = yes; then
24783    
24784     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24785     _pkg_short_errors_supported=yes
24786     else
24787     _pkg_short_errors_supported=no
24788     fi
24789     if test $_pkg_short_errors_supported = yes; then
24790     GPSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps"`
24791     else
24792     GPSD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps"`
24793     fi
24794     # Put the nasty error message in config.log where it belongs
24795     echo "$GPSD_PKG_ERRORS" >&5
24796    
24797     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24798     $as_echo "no" >&6; }
24799     have_libgps="no"
24800     elif test $pkg_failed = untried; then
24801     have_libgps="no"
24802     else
24803     GPSD_CFLAGS=$pkg_cv_GPSD_CFLAGS
24804     GPSD_LIBS=$pkg_cv_GPSD_LIBS
24805     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24806     $as_echo "yes" >&6; }
24807     have_libgps="yes"
24808     fi
24809     if test "x$have_libgps" = "xyes"; then
24810    
24811     $as_echo "#define HAVE_LIBGPS /**/" >>confdefs.h
24812    
24813    
24814     pkg_failed=no
24815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGPS19" >&5
24816     $as_echo_n "checking for LIBGPS19... " >&6; }
24817    
24818     if test -n "$PKG_CONFIG"; then
24819     if test -n "$LIBGPS19_CFLAGS"; then
24820     pkg_cv_LIBGPS19_CFLAGS="$LIBGPS19_CFLAGS"
24821     else
24822     if test -n "$PKG_CONFIG" && \
24823     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps >= 2.90\""; } >&5
24824     ($PKG_CONFIG --exists --print-errors "libgps >= 2.90") 2>&5
24825     ac_status=$?
24826     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24827     test $ac_status = 0; }; then
24828     pkg_cv_LIBGPS19_CFLAGS=`$PKG_CONFIG --cflags "libgps >= 2.90" 2>/dev/null`
24829     else
24830     pkg_failed=yes
24831     fi
24832     fi
24833     else
24834     pkg_failed=untried
24835     fi
24836     if test -n "$PKG_CONFIG"; then
24837     if test -n "$LIBGPS19_LIBS"; then
24838     pkg_cv_LIBGPS19_LIBS="$LIBGPS19_LIBS"
24839     else
24840     if test -n "$PKG_CONFIG" && \
24841     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps >= 2.90\""; } >&5
24842     ($PKG_CONFIG --exists --print-errors "libgps >= 2.90") 2>&5
24843     ac_status=$?
24844     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24845     test $ac_status = 0; }; then
24846     pkg_cv_LIBGPS19_LIBS=`$PKG_CONFIG --libs "libgps >= 2.90" 2>/dev/null`
24847     else
24848     pkg_failed=yes
24849     fi
24850     fi
24851     else
24852     pkg_failed=untried
24853     fi
24854    
24855    
24856    
24857     if test $pkg_failed = yes; then
24858    
24859     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24860     _pkg_short_errors_supported=yes
24861     else
24862     _pkg_short_errors_supported=no
24863     fi
24864     if test $_pkg_short_errors_supported = yes; then
24865     LIBGPS19_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps >= 2.90"`
24866     else
24867     LIBGPS19_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps >= 2.90"`
24868     fi
24869     # Put the nasty error message in config.log where it belongs
24870     echo "$LIBGPS19_PKG_ERRORS" >&5
24871    
24872     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24873     $as_echo "no" >&6; }
24874     have_libgps19="no"
24875     elif test $pkg_failed = untried; then
24876     have_libgps19="no"
24877     else
24878     LIBGPS19_CFLAGS=$pkg_cv_LIBGPS19_CFLAGS
24879     LIBGPS19_LIBS=$pkg_cv_LIBGPS19_LIBS
24880     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24881     $as_echo "yes" >&6; }
24882     have_libgps19="yes"
24883     fi
24884     if test "x$have_libgps19" = "xyes"; then
24885    
24886     $as_echo "#define HAVE_LIBGPS19 /**/" >>confdefs.h
24887    
24888     fi
24889     else
24890     ac_fn_c_check_header_mongrel "$LINENO" "gps.h" "ac_cv_header_gps_h" "$ac_includes_default"
24891     if test "x$ac_cv_header_gps_h" = x""yes; then :
24892    
24893     $as_echo "#define HAVE_LIBGPS /**/" >>confdefs.h
24894     GPSD_LIBS="-lgps"
24895     else
24896     vehicle_gpsd=no; vehicle_gpsd_reason="no gps.h and no gpsd pkgconfig"
24897     fi
24898    
24899    
24900     fi
24901     fi
24902    
24903    
24904     if test "x${vehicle_gpsd}" = "xyes"; then
24905     VEHICLE_GPSD_TRUE=
24906     VEHICLE_GPSD_FALSE='#'
24907     else
24908     VEHICLE_GPSD_TRUE='#'
24909     VEHICLE_GPSD_FALSE=
24910     fi
24911    
24912     # gypsy
24913     # Check whether --enable-vehicle-gypsy was given.
24914     if test "${enable_vehicle_gypsy+set}" = set; then :
24915     enableval=$enable_vehicle_gypsy; vehicle_gypsy=$enableval;vehicle_gypsy_reason="configure parameter"
24916     fi
24917    
24918     if test "x${vehicle_gypsy}" = "xyes"
24919     then
24920    
24921     pkg_failed=no
24922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GYPSY" >&5
24923     $as_echo_n "checking for GYPSY... " >&6; }
24924    
24925     if test -n "$PKG_CONFIG"; then
24926     if test -n "$GYPSY_CFLAGS"; then
24927     pkg_cv_GYPSY_CFLAGS="$GYPSY_CFLAGS"
24928     else
24929     if test -n "$PKG_CONFIG" && \
24930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gypsy\""; } >&5
24931     ($PKG_CONFIG --exists --print-errors "gypsy") 2>&5
24932     ac_status=$?
24933     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24934     test $ac_status = 0; }; then
24935     pkg_cv_GYPSY_CFLAGS=`$PKG_CONFIG --cflags "gypsy" 2>/dev/null`
24936     else
24937     pkg_failed=yes
24938     fi
24939     fi
24940     else
24941     pkg_failed=untried
24942     fi
24943     if test -n "$PKG_CONFIG"; then
24944     if test -n "$GYPSY_LIBS"; then
24945     pkg_cv_GYPSY_LIBS="$GYPSY_LIBS"
24946     else
24947     if test -n "$PKG_CONFIG" && \
24948     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gypsy\""; } >&5
24949     ($PKG_CONFIG --exists --print-errors "gypsy") 2>&5
24950     ac_status=$?
24951     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24952     test $ac_status = 0; }; then
24953     pkg_cv_GYPSY_LIBS=`$PKG_CONFIG --libs "gypsy" 2>/dev/null`
24954     else
24955     pkg_failed=yes
24956     fi
24957     fi
24958     else
24959     pkg_failed=untried
24960     fi
24961    
24962    
24963    
24964     if test $pkg_failed = yes; then
24965    
24966     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24967     _pkg_short_errors_supported=yes
24968     else
24969     _pkg_short_errors_supported=no
24970     fi
24971     if test $_pkg_short_errors_supported = yes; then
24972     GYPSY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gypsy"`
24973     else
24974     GYPSY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gypsy"`
24975     fi
24976     # Put the nasty error message in config.log where it belongs
24977     echo "$GYPSY_PKG_ERRORS" >&5
24978    
24979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24980     $as_echo "no" >&6; }
24981     vehicle_gypsy=no;vehicle_gypsy_reason="package gypsy missing"
24982     elif test $pkg_failed = untried; then
24983     vehicle_gypsy=no;vehicle_gypsy_reason="package gypsy missing"
24984     else
24985     GYPSY_CFLAGS=$pkg_cv_GYPSY_CFLAGS
24986     GYPSY_LIBS=$pkg_cv_GYPSY_LIBS
24987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24988     $as_echo "yes" >&6; }
24989     :
24990     fi
24991     fi
24992    
24993    
24994     if test "x${vehicle_gypsy}" = "xyes"; then
24995     VEHICLE_GYPSY_TRUE=
24996     VEHICLE_GYPSY_FALSE='#'
24997     else
24998     VEHICLE_GYPSY_TRUE='#'
24999     VEHICLE_GYPSY_FALSE=
25000     fi
25001    
25002     # maemo
25003     # Check whether --enable-vehicle-maemo was given.
25004     if test "${enable_vehicle_maemo+set}" = set; then :
25005     enableval=$enable_vehicle_maemo; vehicle_maemo=$enableval;vehicle_maemo_reason="configure parameter"
25006     fi
25007    
25008     if test "x${vehicle_maemo}" = "xyes" ; then
25009    
25010     pkg_failed=no
25011     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLOCATION" >&5
25012     $as_echo_n "checking for LIBLOCATION... " >&6; }
25013    
25014     if test -n "$PKG_CONFIG"; then
25015     if test -n "$LIBLOCATION_CFLAGS"; then
25016     pkg_cv_LIBLOCATION_CFLAGS="$LIBLOCATION_CFLAGS"
25017     else
25018     if test -n "$PKG_CONFIG" && \
25019     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
25020     ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
25021     ac_status=$?
25022     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25023     test $ac_status = 0; }; then
25024     pkg_cv_LIBLOCATION_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
25025     else
25026     pkg_failed=yes
25027     fi
25028     fi
25029     else
25030     pkg_failed=untried
25031     fi
25032     if test -n "$PKG_CONFIG"; then
25033     if test -n "$LIBLOCATION_LIBS"; then
25034     pkg_cv_LIBLOCATION_LIBS="$LIBLOCATION_LIBS"
25035     else
25036     if test -n "$PKG_CONFIG" && \
25037     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
25038     ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
25039     ac_status=$?
25040     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25041     test $ac_status = 0; }; then
25042     pkg_cv_LIBLOCATION_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
25043     else
25044     pkg_failed=yes
25045     fi
25046     fi
25047     else
25048     pkg_failed=untried
25049     fi
25050    
25051    
25052    
25053     if test $pkg_failed = yes; then
25054    
25055     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25056     _pkg_short_errors_supported=yes
25057     else
25058     _pkg_short_errors_supported=no
25059     fi
25060     if test $_pkg_short_errors_supported = yes; then
25061     LIBLOCATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "liblocation"`
25062     else
25063     LIBLOCATION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "liblocation"`
25064     fi
25065     # Put the nasty error message in config.log where it belongs
25066     echo "$LIBLOCATION_PKG_ERRORS" >&5
25067    
25068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25069     $as_echo "no" >&6; }
25070    
25071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25072     $as_echo "no" >&6; }
25073     vehicle_maemo=no
25074     vehicle_maemo_reason="no maemo location library found"
25075    
25076     elif test $pkg_failed = untried; then
25077    
25078     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25079     $as_echo "no" >&6; }
25080     vehicle_maemo=no
25081     vehicle_maemo_reason="no maemo location library found"
25082    
25083     else
25084     LIBLOCATION_CFLAGS=$pkg_cv_LIBLOCATION_CFLAGS
25085     LIBLOCATION_LIBS=$pkg_cv_LIBLOCATION_LIBS
25086     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25087     $as_echo "yes" >&6; }
25088    
25089    
25090    
25091    
25092     fi
25093     fi
25094     if test "x${vehicle_maemo}" = "xyes"; then
25095     VEHICLE_MAEMO_TRUE=
25096     VEHICLE_MAEMO_FALSE='#'
25097     else
25098     VEHICLE_MAEMO_TRUE='#'
25099     VEHICLE_MAEMO_FALSE=
25100     fi
25101    
25102     # null
25103     # Check whether --enable-vehicle-null was given.
25104     if test "${enable_vehicle_null+set}" = set; then :
25105     enableval=$enable_vehicle_null; vehicle_null=$enableval;vehicle_null_reason="configure parameter"
25106     fi
25107    
25108     if test "x${vehicle_null}" = "xyes"; then
25109     VEHICLE_NULL_TRUE=
25110     VEHICLE_NULL_FALSE='#'
25111     else
25112     VEHICLE_NULL_TRUE='#'
25113     VEHICLE_NULL_FALSE=
25114     fi
25115    
25116     # wince
25117     # Check whether --enable-vehicle-wince was given.
25118     if test "${enable_vehicle_wince+set}" = set; then :
25119     enableval=$enable_vehicle_wince; vehicle_wince=$enableval;vehicle_wince_reason="configure parameter"
25120     fi
25121    
25122     if test "x${vehicle_wince}" = "xyes"; then
25123     VEHICLE_WINCE_TRUE=
25124     VEHICLE_WINCE_FALSE='#'
25125     else
25126     VEHICLE_WINCE_TRUE='#'
25127     VEHICLE_WINCE_FALSE=
25128     fi
25129    
25130     # iphone
25131     # Check whether --enable-vehicle-iphone was given.
25132     if test "${enable_vehicle_iphone+set}" = set; then :
25133     enableval=$enable_vehicle_iphone; vehicle_iphone=$enableval;vehicle_iphone_reason="configure parameter"
25134     fi
25135    
25136     if test "x${vehicle_iphone}" = "xyes"; then
25137     VEHICLE_IPHONE_TRUE=
25138     VEHICLE_IPHONE_FALSE='#'
25139     else
25140     VEHICLE_IPHONE_TRUE='#'
25141     VEHICLE_IPHONE_FALSE=
25142     fi
25143    
25144     if test "x${vehicle_iphone}" = "xyes"
25145     then
25146     IPHONE_LIBS=-Wl,-framework,CoreLocation
25147     fi
25148    
25149    
25150     # webos
25151     # Check whether --enable-vehicle-webos was given.
25152     if test "${enable_vehicle_webos+set}" = set; then :
25153     enableval=$enable_vehicle_webos; vehicle_webos=$enableval;vehicle_webos_reason="configure parameter"
25154     fi
25155    
25156     if test "x${vehicle_webos}" = "xyes"; then
25157     VEHICLE_WEBOS_TRUE=
25158     VEHICLE_WEBOS_FALSE='#'
25159     else
25160     VEHICLE_WEBOS_TRUE='#'
25161     VEHICLE_WEBOS_FALSE=
25162     fi
25163    
25164     if test "x${vehicle_webos}" = "xyes"
25165     then
25166    
25167     $as_echo "#define USE_WEBOS /**/" >>confdefs.h
25168    
25169     LIBPDL_CFLAGS="$SDL_CFLAGS -I/usr/local/include"
25170     LIBPDL_LIBS="-L/usr/local/lib -lpdl"
25171    
25172    
25173     fi
25174     NAVIT_CFLAGS="$NAVIT_CFLAGS $GLIB_CFLAGS $GMODULE_CFLAGS"
25175     NAVIT_LIBS="$NAVIT_LIBS $GLIB_LIBS $GMODULE_LIBS $LIBINTL"
25176    
25177    
25178    
25179    
25180    
25181    
25182     ac_config_files="$ac_config_files Makefile navit/Makefile navit/autoload/Makefile navit/autoload/osso/Makefile navit/binding/Makefile navit/binding/python/Makefile navit/binding/dbus/Makefile navit/map/Makefile navit/map/mg/Makefile navit/map/textfile/Makefile navit/map/csv/Makefile navit/map/shapefile/Makefile navit/map/filter/Makefile navit/map/binfile/Makefile navit/map/garmin/Makefile navit/maptool/Makefile navit/fib-1.1/Makefile navit/font/Makefile navit/font/freetype/Makefile navit/fonts/Makefile navit/graphics/Makefile navit/graphics/android/Makefile navit/graphics/gd/Makefile navit/graphics/gtk_drawing_area/Makefile navit/graphics/opengl/Makefile navit/graphics/null/Makefile navit/graphics/sdl/Makefile navit/graphics/qt_qpainter/Makefile navit/graphics/win32/Makefile navit/gui/Makefile navit/gui/gtk/Makefile navit/gui/internal/Makefile navit/gui/win32/Makefile navit/gui/qml/Makefile navit/gui/qml/skins/Makefile navit/gui/qml/skins/navit/Makefile navit/osd/Makefile navit/osd/core/Makefile navit/plugin/Makefile navit/plugin/pedestrian/Makefile navit/speech/Makefile navit/speech/android/Makefile navit/speech/cmdline/Makefile navit/speech/dbus/Makefile navit/speech/espeak/Makefile navit/speech/speech_dispatcher/Makefile navit/support/Makefile navit/support/espeak/Makefile navit/support/ezxml/Makefile navit/support/glib/Makefile navit/support/libc/Makefile navit/support/libpng/Makefile navit/support/win32/Makefile navit/support/wordexp/Makefile navit/support/zlib/Makefile navit/vehicle/Makefile navit/vehicle/android/Makefile navit/vehicle/file/Makefile navit/vehicle/gpsd/Makefile navit/vehicle/gpsd_dbus/Makefile navit/vehicle/gypsy/Makefile navit/vehicle/maemo/Makefile navit/vehicle/null/Makefile navit/vehicle/demo/Makefile navit/vehicle/wince/Makefile navit/vehicle/iphone/Makefile navit/vehicle/webos/Makefile navit/xpm/Makefile navit/maps/Makefile intl/Makefile po/Makefile man/Makefile"
25183    
25184     #src/data/garmin_img/Makefile
25185    
25186     cat >confcache <<\_ACEOF
25187     # This file is a shell script that caches the results of configure
25188     # tests run on this system so they can be shared between configure
25189     # scripts and configure runs, see configure's option --config-cache.
25190     # It is not useful on other systems. If it contains results you don't
25191     # want to keep, you may remove or edit it.
25192     #
25193     # config.status only pays attention to the cache file if you give it
25194     # the --recheck option to rerun configure.
25195     #
25196     # `ac_cv_env_foo' variables (set or unset) will be overridden when
25197     # loading this file, other *unset* `ac_cv_foo' will be assigned the
25198     # following values.
25199    
25200     _ACEOF
25201    
25202     # The following way of writing the cache mishandles newlines in values,
25203     # but we know of no workaround that is simple, portable, and efficient.
25204     # So, we kill variables containing newlines.
25205     # Ultrix sh set writes to stderr and can't be redirected directly,
25206     # and sets the high bit in the cache file unless we assign to the vars.
25207     (
25208     for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25209     eval ac_val=\$$ac_var
25210     case $ac_val in #(
25211     *${as_nl}*)
25212     case $ac_var in #(
25213     *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25214     $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25215     esac
25216     case $ac_var in #(
25217     _ | IFS | as_nl) ;; #(
25218     BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25219     *) { eval $ac_var=; unset $ac_var;} ;;
25220     esac ;;
25221     esac
25222     done
25223    
25224     (set) 2>&1 |
25225     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25226     *${as_nl}ac_space=\ *)
25227     # `set' does not quote correctly, so add quotes: double-quote
25228     # substitution turns \\\\ into \\, and sed turns \\ into \.
25229     sed -n \
25230     "s/'/'\\\\''/g;
25231     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25232     ;; #(
25233     *)
25234     # `set' quotes correctly as required by POSIX, so do not add quotes.
25235     sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25236     ;;
25237     esac |
25238     sort
25239     ) |
25240     sed '
25241     /^ac_cv_env_/b end
25242     t clear
25243     :clear
25244     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25245     t end
25246     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25247     :end' >>confcache
25248     if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25249     if test -w "$cache_file"; then
25250     test "x$cache_file" != "x/dev/null" &&
25251     { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25252     $as_echo "$as_me: updating cache $cache_file" >&6;}
25253     cat confcache >$cache_file
25254     else
25255     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25256     $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25257     fi
25258     fi
25259     rm -f confcache
25260    
25261     test "x$prefix" = xNONE && prefix=$ac_default_prefix
25262     # Let make expand exec_prefix.
25263     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25264    
25265     DEFS=-DHAVE_CONFIG_H
25266    
25267     ac_libobjs=
25268     ac_ltlibobjs=
25269     for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25270     # 1. Remove the extension, and $U if already installed.
25271     ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25272     ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25273     # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25274     # will be set to the directory where LIBOBJS objects are built.
25275     as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25276     as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25277     done
25278     LIBOBJS=$ac_libobjs
25279    
25280     LTLIBOBJS=$ac_ltlibobjs
25281    
25282    
25283     if test -n "$EXEEXT"; then
25284     am__EXEEXT_TRUE=
25285     am__EXEEXT_FALSE='#'
25286     else
25287     am__EXEEXT_TRUE='#'
25288     am__EXEEXT_FALSE=
25289     fi
25290    
25291     if test -z "${SOURCE_MODE_SVN_TRUE}" && test -z "${SOURCE_MODE_SVN_FALSE}"; then
25292     as_fn_error "conditional \"SOURCE_MODE_SVN\" was never defined.
25293     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25294     fi
25295     if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25296     as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25297     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25298     fi
25299     if test -z "${SUPPORT_WIN32_TRUE}" && test -z "${SUPPORT_WIN32_FALSE}"; then
25300     as_fn_error "conditional \"SUPPORT_WIN32\" was never defined.
25301     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25302     fi
25303     if test -z "${SUPPORT_WIN32CE_TRUE}" && test -z "${SUPPORT_WIN32CE_FALSE}"; then
25304     as_fn_error "conditional \"SUPPORT_WIN32CE\" was never defined.
25305     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25306     fi
25307     if test -z "${SUPPORT_ANDROID_TRUE}" && test -z "${SUPPORT_ANDROID_FALSE}"; then
25308     as_fn_error "conditional \"SUPPORT_ANDROID\" was never defined.
25309     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25310     fi
25311     if test -z "${SUPPORT_LIBPNG_TRUE}" && test -z "${SUPPORT_LIBPNG_FALSE}"; then
25312     as_fn_error "conditional \"SUPPORT_LIBPNG\" was never defined.
25313     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25314     fi
25315     if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25316     as_fn_error "conditional \"AMDEP\" was never defined.
25317     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25318     fi
25319     if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25320     as_fn_error "conditional \"am__fastdepCC\" was never defined.
25321     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25322     fi
25323     if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
25324     as_fn_error "conditional \"am__fastdepOBJC\" was never defined.
25325     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25326     fi
25327     if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25328     as_fn_error "conditional \"am__fastdepCC\" was never defined.
25329     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25330     fi
25331     if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
25332     as_fn_error "conditional \"am__fastdepOBJC\" was never defined.
25333     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25334     fi
25335     if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25336     as_fn_error "conditional \"am__fastdepCXX\" was never defined.
25337     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25338     fi
25339     if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
25340     as_fn_error "conditional \"CROSS_COMPILING\" was never defined.
25341     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25342     fi
25343    
25344     if test -z "${USE_HILDON_TRUE}" && test -z "${USE_HILDON_FALSE}"; then
25345     as_fn_error "conditional \"USE_HILDON\" was never defined.
25346     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25347     fi
25348     if test -z "${USE_OSSO_TRUE}" && test -z "${USE_OSSO_FALSE}"; then
25349     as_fn_error "conditional \"USE_OSSO\" was never defined.
25350     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25351     fi
25352     if test -z "${MAPTOOL_TRUE}" && test -z "${MAPTOOL_FALSE}"; then
25353     as_fn_error "conditional \"MAPTOOL\" was never defined.
25354     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25355     fi
25356     if test -z "${BUILD_SAMPLEMAP_TRUE}" && test -z "${BUILD_SAMPLEMAP_FALSE}"; then
25357     as_fn_error "conditional \"BUILD_SAMPLEMAP\" was never defined.
25358     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25359     fi
25360     if test -z "${FASTMATH_TRUE}" && test -z "${FASTMATH_FALSE}"; then
25361     as_fn_error "conditional \"FASTMATH\" was never defined.
25362     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25363     fi
25364     if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
25365     as_fn_error "conditional \"PLUGINS\" was never defined.
25366     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25367     fi
25368     if test -z "${SHARED_LIBNAVIT_TRUE}" && test -z "${SHARED_LIBNAVIT_FALSE}"; then
25369     as_fn_error "conditional \"SHARED_LIBNAVIT\" was never defined.
25370     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25371     fi
25372     if test -z "${BIN_NAVIT_TRUE}" && test -z "${BIN_NAVIT_FALSE}"; then
25373     as_fn_error "conditional \"BIN_NAVIT\" was never defined.
25374     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25375     fi
25376     if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25377     as_fn_error "conditional \"am__fastdepCXX\" was never defined.
25378     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25379     fi
25380     if test -z "${EVENT_GLIB_TRUE}" && test -z "${EVENT_GLIB_FALSE}"; then
25381     as_fn_error "conditional \"EVENT_GLIB\" was never defined.
25382     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25383     fi
25384     if test -z "${SUPPORT_GLIB_TRUE}" && test -z "${SUPPORT_GLIB_FALSE}"; then
25385     as_fn_error "conditional \"SUPPORT_GLIB\" was never defined.
25386     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25387     fi
25388     if test -z "${SUPPORT_EZXML_TRUE}" && test -z "${SUPPORT_EZXML_FALSE}"; then
25389     as_fn_error "conditional \"SUPPORT_EZXML\" was never defined.
25390     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25391     fi
25392     if test -z "${SUPPORT_ZLIB_TRUE}" && test -z "${SUPPORT_ZLIB_FALSE}"; then
25393     as_fn_error "conditional \"SUPPORT_ZLIB\" was never defined.
25394     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25395     fi
25396     if test -z "${GRAPHICS_SDL_TRUE}" && test -z "${GRAPHICS_SDL_FALSE}"; then
25397     as_fn_error "conditional \"GRAPHICS_SDL\" was never defined.
25398     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25399     fi
25400     if test -z "${HAVE_POSTGRESQL_TRUE}" && test -z "${HAVE_POSTGRESQL_FALSE}"; then
25401     as_fn_error "conditional \"HAVE_POSTGRESQL\" was never defined.
25402     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25403     fi
25404     if test -z "${FONT_FREETYPE_TRUE}" && test -z "${FONT_FREETYPE_FALSE}"; then
25405     as_fn_error "conditional \"FONT_FREETYPE\" was never defined.
25406     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25407     fi
25408     if test -z "${FONTS_TRUE}" && test -z "${FONTS_FALSE}"; then
25409     as_fn_error "conditional \"FONTS\" was never defined.
25410     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25411     fi
25412     if test -z "${GRAPHICS_OPENGL_TRUE}" && test -z "${GRAPHICS_OPENGL_FALSE}"; then
25413     as_fn_error "conditional \"GRAPHICS_OPENGL\" was never defined.
25414     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25415     fi
25416     if test -z "${HAVE_SYSTEM_SHAPEFILELIB_TRUE}" && test -z "${HAVE_SYSTEM_SHAPEFILELIB_FALSE}"; then
25417     as_fn_error "conditional \"HAVE_SYSTEM_SHAPEFILELIB\" was never defined.
25418     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25419     fi
25420     if test -z "${HAVELIBGARMIN_TRUE}" && test -z "${HAVELIBGARMIN_FALSE}"; then
25421     as_fn_error "conditional \"HAVELIBGARMIN\" was never defined.
25422     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25423     fi
25424     if test -z "${BINDING_PYTHON_TRUE}" && test -z "${BINDING_PYTHON_FALSE}"; then
25425     as_fn_error "conditional \"BINDING_PYTHON\" was never defined.
25426     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25427     fi
25428     if test -z "${BINDING_DBUS_TRUE}" && test -z "${BINDING_DBUS_FALSE}"; then
25429     as_fn_error "conditional \"BINDING_DBUS\" was never defined.
25430     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25431     fi
25432     if test -z "${VEHICLE_GPSD_DBUS_TRUE}" && test -z "${VEHICLE_GPSD_DBUS_FALSE}"; then
25433     as_fn_error "conditional \"VEHICLE_GPSD_DBUS\" was never defined.
25434     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25435     fi
25436     if test -z "${SPEECH_DBUS_TRUE}" && test -z "${SPEECH_DBUS_FALSE}"; then
25437     as_fn_error "conditional \"SPEECH_DBUS\" was never defined.
25438     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25439     fi
25440     if test -z "${USE_SVG2PNG_SCALES_TRUE}" && test -z "${USE_SVG2PNG_SCALES_FALSE}"; then
25441     as_fn_error "conditional \"USE_SVG2PNG_SCALES\" was never defined.
25442     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25443     fi
25444     if test -z "${USE_SVG2PNG_SCALES_FLAG_TRUE}" && test -z "${USE_SVG2PNG_SCALES_FLAG_FALSE}"; then
25445     as_fn_error "conditional \"USE_SVG2PNG_SCALES_FLAG\" was never defined.
25446     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25447     fi
25448     if test -z "${USE_SVG2PNG_SCALES_NAV_TRUE}" && test -z "${USE_SVG2PNG_SCALES_NAV_FALSE}"; then
25449     as_fn_error "conditional \"USE_SVG2PNG_SCALES_NAV\" was never defined.
25450     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25451     fi
25452     if test -z "${USE_SVG2PNG_TRUE}" && test -z "${USE_SVG2PNG_FALSE}"; then
25453     as_fn_error "conditional \"USE_SVG2PNG\" was never defined.
25454     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25455     fi
25456     if test -z "${USE_SVG_TRUE}" && test -z "${USE_SVG_FALSE}"; then
25457     as_fn_error "conditional \"USE_SVG\" was never defined.
25458     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25459     fi
25460     if test -z "${ENABLE_NLS_TRUE}" && test -z "${ENABLE_NLS_FALSE}"; then
25461     as_fn_error "conditional \"ENABLE_NLS\" was never defined.
25462     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25463     fi
25464     if test -z "${XGETTEXT_GLADE_TRUE}" && test -z "${XGETTEXT_GLADE_FALSE}"; then
25465     as_fn_error "conditional \"XGETTEXT_GLADE\" was never defined.
25466     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25467     fi
25468     if test -z "${SUPPORT_WORDEXP_TRUE}" && test -z "${SUPPORT_WORDEXP_FALSE}"; then
25469     as_fn_error "conditional \"SUPPORT_WORDEXP\" was never defined.
25470     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25471     fi
25472     if test -z "${SUPPORT_LIBC_TRUE}" && test -z "${SUPPORT_LIBC_FALSE}"; then
25473     as_fn_error "conditional \"SUPPORT_LIBC\" was never defined.
25474     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25475     fi
25476     if test -z "${GRAPHICS_TRUE}" && test -z "${GRAPHICS_FALSE}"; then
25477     as_fn_error "conditional \"GRAPHICS\" was never defined.
25478     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25479     fi
25480     if test -z "${GRAPHICS_ANDROID_TRUE}" && test -z "${GRAPHICS_ANDROID_FALSE}"; then
25481     as_fn_error "conditional \"GRAPHICS_ANDROID\" was never defined.
25482     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25483     fi
25484     if test -z "${GRAPHICS_GD_TRUE}" && test -z "${GRAPHICS_GD_FALSE}"; then
25485     as_fn_error "conditional \"GRAPHICS_GD\" was never defined.
25486     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25487     fi
25488     if test -z "${GRAPHICS_GTK_DRAWING_AREA_TRUE}" && test -z "${GRAPHICS_GTK_DRAWING_AREA_FALSE}"; then
25489     as_fn_error "conditional \"GRAPHICS_GTK_DRAWING_AREA\" was never defined.
25490     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25491     fi
25492     if test -z "${GRAPHICS_NULL_TRUE}" && test -z "${GRAPHICS_NULL_FALSE}"; then
25493     as_fn_error "conditional \"GRAPHICS_NULL\" was never defined.
25494     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25495     fi
25496     if test -z "${GRAPHICS_WIN32_TRUE}" && test -z "${GRAPHICS_WIN32_FALSE}"; then
25497     as_fn_error "conditional \"GRAPHICS_WIN32\" was never defined.
25498     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25499     fi
25500     if test -z "${GRAPHICS_QT_QPAINTER_TRUE}" && test -z "${GRAPHICS_QT_QPAINTER_FALSE}"; then
25501     as_fn_error "conditional \"GRAPHICS_QT_QPAINTER\" was never defined.
25502     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25503     fi
25504     if test -z "${MAP_BINFILE_TRUE}" && test -z "${MAP_BINFILE_FALSE}"; then
25505     as_fn_error "conditional \"MAP_BINFILE\" was never defined.
25506     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25507     fi
25508     if test -z "${MAP_FILTER_TRUE}" && test -z "${MAP_FILTER_FALSE}"; then
25509     as_fn_error "conditional \"MAP_FILTER\" was never defined.
25510     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25511     fi
25512     if test -z "${MAP_MG_TRUE}" && test -z "${MAP_MG_FALSE}"; then
25513     as_fn_error "conditional \"MAP_MG\" was never defined.
25514     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25515     fi
25516     if test -z "${MAP_SHAPEFILE_TRUE}" && test -z "${MAP_SHAPEFILE_FALSE}"; then
25517     as_fn_error "conditional \"MAP_SHAPEFILE\" was never defined.
25518     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25519     fi
25520     if test -z "${MAP_TEXTFILE_TRUE}" && test -z "${MAP_TEXTFILE_FALSE}"; then
25521     as_fn_error "conditional \"MAP_TEXTFILE\" was never defined.
25522     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25523     fi
25524     if test -z "${MAP_CSV_TRUE}" && test -z "${MAP_CSV_FALSE}"; then
25525     as_fn_error "conditional \"MAP_CSV\" was never defined.
25526     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25527     fi
25528     if test -z "${OSD_CORE_TRUE}" && test -z "${OSD_CORE_FALSE}"; then
25529     as_fn_error "conditional \"OSD_CORE\" was never defined.
25530     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25531     fi
25532     if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
25533     as_fn_error "conditional \"GUI_GTK\" was never defined.
25534     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25535     fi
25536     if test -z "${GUI_INTERNAL_TRUE}" && test -z "${GUI_INTERNAL_FALSE}"; then
25537     as_fn_error "conditional \"GUI_INTERNAL\" was never defined.
25538     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25539     fi
25540     if test -z "${GUI_WIN32_TRUE}" && test -z "${GUI_WIN32_FALSE}"; then
25541     as_fn_error "conditional \"GUI_WIN32\" was never defined.
25542     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25543     fi
25544     if test -z "${GUI_QML_TRUE}" && test -z "${GUI_QML_FALSE}"; then
25545     as_fn_error "conditional \"GUI_QML\" was never defined.
25546     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25547     fi
25548     if test -z "${PLUGIN_PEDESTRIAN_TRUE}" && test -z "${PLUGIN_PEDESTRIAN_FALSE}"; then
25549     as_fn_error "conditional \"PLUGIN_PEDESTRIAN\" was never defined.
25550     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25551     fi
25552     if test -z "${ROUTING_TRUE}" && test -z "${ROUTING_FALSE}"; then
25553     as_fn_error "conditional \"ROUTING\" was never defined.
25554     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25555     fi
25556     if test -z "${SPEECH_ANDROID_TRUE}" && test -z "${SPEECH_ANDROID_FALSE}"; then
25557     as_fn_error "conditional \"SPEECH_ANDROID\" was never defined.
25558     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25559     fi
25560     if test -z "${SPEECH_CMDLINE_TRUE}" && test -z "${SPEECH_CMDLINE_FALSE}"; then
25561     as_fn_error "conditional \"SPEECH_CMDLINE\" was never defined.
25562     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25563     fi
25564     if test -z "${SPEECH_ESPEAK_TRUE}" && test -z "${SPEECH_ESPEAK_FALSE}"; then
25565     as_fn_error "conditional \"SPEECH_ESPEAK\" was never defined.
25566     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25567     fi
25568     if test -z "${SPEECH_SPEECH_DISPATCHER_TRUE}" && test -z "${SPEECH_SPEECH_DISPATCHER_FALSE}"; then
25569     as_fn_error "conditional \"SPEECH_SPEECH_DISPATCHER\" was never defined.
25570     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25571     fi
25572     if test -z "${SUPPORT_ESPEAK_TRUE}" && test -z "${SUPPORT_ESPEAK_FALSE}"; then
25573     as_fn_error "conditional \"SUPPORT_ESPEAK\" was never defined.
25574     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25575     fi
25576     if test -z "${VEHICLE_ANDROID_TRUE}" && test -z "${VEHICLE_ANDROID_FALSE}"; then
25577     as_fn_error "conditional \"VEHICLE_ANDROID\" was never defined.
25578     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25579     fi
25580     if test -z "${VEHICLE_DEMO_TRUE}" && test -z "${VEHICLE_DEMO_FALSE}"; then
25581     as_fn_error "conditional \"VEHICLE_DEMO\" was never defined.
25582     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25583     fi
25584     if test -z "${VEHICLE_FILE_TRUE}" && test -z "${VEHICLE_FILE_FALSE}"; then
25585     as_fn_error "conditional \"VEHICLE_FILE\" was never defined.
25586     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25587     fi
25588     if test -z "${VEHICLE_GPSD_TRUE}" && test -z "${VEHICLE_GPSD_FALSE}"; then
25589     as_fn_error "conditional \"VEHICLE_GPSD\" was never defined.
25590     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25591     fi
25592     if test -z "${VEHICLE_GYPSY_TRUE}" && test -z "${VEHICLE_GYPSY_FALSE}"; then
25593     as_fn_error "conditional \"VEHICLE_GYPSY\" was never defined.
25594     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25595     fi
25596     if test -z "${VEHICLE_MAEMO_TRUE}" && test -z "${VEHICLE_MAEMO_FALSE}"; then
25597     as_fn_error "conditional \"VEHICLE_MAEMO\" was never defined.
25598     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25599     fi
25600     if test -z "${VEHICLE_NULL_TRUE}" && test -z "${VEHICLE_NULL_FALSE}"; then
25601     as_fn_error "conditional \"VEHICLE_NULL\" was never defined.
25602     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25603     fi
25604     if test -z "${VEHICLE_WINCE_TRUE}" && test -z "${VEHICLE_WINCE_FALSE}"; then
25605     as_fn_error "conditional \"VEHICLE_WINCE\" was never defined.
25606     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25607     fi
25608     if test -z "${VEHICLE_IPHONE_TRUE}" && test -z "${VEHICLE_IPHONE_FALSE}"; then
25609     as_fn_error "conditional \"VEHICLE_IPHONE\" was never defined.
25610     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25611     fi
25612     if test -z "${VEHICLE_WEBOS_TRUE}" && test -z "${VEHICLE_WEBOS_FALSE}"; then
25613     as_fn_error "conditional \"VEHICLE_WEBOS\" was never defined.
25614     Usually this means the macro was only invoked conditionally." "$LINENO" 5
25615     fi
25616    
25617     : ${CONFIG_STATUS=./config.status}
25618     ac_write_fail=0
25619     ac_clean_files_save=$ac_clean_files
25620     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25621     { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25622     $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25623     as_write_fail=0
25624     cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25625     #! $SHELL
25626     # Generated by $as_me.
25627     # Run this file to recreate the current configuration.
25628     # Compiler output produced by configure, useful for debugging
25629     # configure, is in config.log if it exists.
25630    
25631     debug=false
25632     ac_cs_recheck=false
25633     ac_cs_silent=false
25634    
25635     SHELL=\${CONFIG_SHELL-$SHELL}
25636     export SHELL
25637     _ASEOF
25638     cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25639     ## -------------------- ##
25640     ## M4sh Initialization. ##
25641     ## -------------------- ##
25642    
25643     # Be more Bourne compatible
25644     DUALCASE=1; export DUALCASE # for MKS sh
25645     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25646     emulate sh
25647     NULLCMD=:
25648     # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25649     # is contrary to our usage. Disable this feature.
25650     alias -g '${1+"$@"}'='"$@"'
25651     setopt NO_GLOB_SUBST
25652     else
25653     case `(set -o) 2>/dev/null` in #(
25654     *posix*) :
25655     set -o posix ;; #(
25656     *) :
25657     ;;
25658     esac
25659     fi
25660    
25661    
25662     as_nl='
25663     '
25664     export as_nl
25665     # Printing a long string crashes Solaris 7 /usr/bin/printf.
25666     as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25667     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25668     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25669     # Prefer a ksh shell builtin over an external printf program on Solaris,
25670     # but without wasting forks for bash or zsh.
25671     if test -z "$BASH_VERSION$ZSH_VERSION" \
25672     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25673     as_echo='print -r --'
25674     as_echo_n='print -rn --'
25675     elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25676     as_echo='printf %s\n'
25677     as_echo_n='printf %s'
25678     else
25679     if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25680     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25681     as_echo_n='/usr/ucb/echo -n'
25682     else
25683     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25684     as_echo_n_body='eval
25685     arg=$1;
25686     case $arg in #(
25687     *"$as_nl"*)
25688     expr "X$arg" : "X\\(.*\\)$as_nl";
25689     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25690     esac;
25691     expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25692     '
25693     export as_echo_n_body
25694     as_echo_n='sh -c $as_echo_n_body as_echo'
25695     fi
25696     export as_echo_body
25697     as_echo='sh -c $as_echo_body as_echo'
25698     fi
25699    
25700     # The user is always right.
25701     if test "${PATH_SEPARATOR+set}" != set; then
25702     PATH_SEPARATOR=:
25703     (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25704     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25705     PATH_SEPARATOR=';'
25706     }
25707     fi
25708    
25709    
25710     # IFS
25711     # We need space, tab and new line, in precisely that order. Quoting is
25712     # there to prevent editors from complaining about space-tab.
25713     # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25714     # splitting by setting IFS to empty value.)
25715     IFS=" "" $as_nl"
25716    
25717     # Find who we are. Look in the path if we contain no directory separator.
25718     case $0 in #((
25719     *[\\/]* ) as_myself=$0 ;;
25720     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25721     for as_dir in $PATH
25722     do
25723     IFS=$as_save_IFS
25724     test -z "$as_dir" && as_dir=.
25725     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25726     done
25727     IFS=$as_save_IFS
25728    
25729     ;;
25730     esac
25731     # We did not find ourselves, most probably we were run as `sh COMMAND'
25732     # in which case we are not to be found in the path.
25733     if test "x$as_myself" = x; then
25734     as_myself=$0
25735     fi
25736     if test ! -f "$as_myself"; then
25737     $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25738     exit 1
25739     fi
25740    
25741     # Unset variables that we do not need and which cause bugs (e.g. in
25742     # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25743     # suppresses any "Segmentation fault" message there. '((' could
25744     # trigger a bug in pdksh 5.2.14.
25745     for as_var in BASH_ENV ENV MAIL MAILPATH
25746     do eval test x\${$as_var+set} = xset \
25747     && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25748     done
25749     PS1='$ '
25750     PS2='> '
25751     PS4='+ '
25752    
25753     # NLS nuisances.
25754     LC_ALL=C
25755     export LC_ALL
25756     LANGUAGE=C
25757     export LANGUAGE
25758    
25759     # CDPATH.
25760     (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25761    
25762    
25763     # as_fn_error ERROR [LINENO LOG_FD]
25764     # ---------------------------------
25765     # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25766     # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25767     # script with status $?, using 1 if that was 0.
25768     as_fn_error ()
25769     {
25770     as_status=$?; test $as_status -eq 0 && as_status=1
25771     if test "$3"; then
25772     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25773     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25774     fi
25775     $as_echo "$as_me: error: $1" >&2
25776     as_fn_exit $as_status
25777     } # as_fn_error
25778    
25779    
25780     # as_fn_set_status STATUS
25781     # -----------------------
25782     # Set $? to STATUS, without forking.
25783     as_fn_set_status ()
25784     {
25785     return $1
25786     } # as_fn_set_status
25787    
25788     # as_fn_exit STATUS
25789     # -----------------
25790     # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25791     as_fn_exit ()
25792     {
25793     set +e
25794     as_fn_set_status $1
25795     exit $1
25796     } # as_fn_exit
25797    
25798     # as_fn_unset VAR
25799     # ---------------
25800     # Portably unset VAR.
25801     as_fn_unset ()
25802     {
25803     { eval $1=; unset $1;}
25804     }
25805     as_unset=as_fn_unset
25806     # as_fn_append VAR VALUE
25807     # ----------------------
25808     # Append the text in VALUE to the end of the definition contained in VAR. Take
25809     # advantage of any shell optimizations that allow amortized linear growth over
25810     # repeated appends, instead of the typical quadratic growth present in naive
25811     # implementations.
25812     if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25813     eval 'as_fn_append ()
25814     {
25815     eval $1+=\$2
25816     }'
25817     else
25818     as_fn_append ()
25819     {
25820     eval $1=\$$1\$2
25821     }
25822     fi # as_fn_append
25823    
25824     # as_fn_arith ARG...
25825     # ------------------
25826     # Perform arithmetic evaluation on the ARGs, and store the result in the
25827     # global $as_val. Take advantage of shells that can avoid forks. The arguments
25828     # must be portable across $(()) and expr.
25829     if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25830     eval 'as_fn_arith ()
25831     {
25832     as_val=$(( $* ))
25833     }'
25834     else
25835     as_fn_arith ()
25836     {
25837     as_val=`expr "$@" || test $? -eq 1`
25838     }
25839     fi # as_fn_arith
25840    
25841    
25842     if expr a : '\(a\)' >/dev/null 2>&1 &&
25843     test "X`expr 00001 : '.*\(...\)'`" = X001; then
25844     as_expr=expr
25845     else
25846     as_expr=false
25847     fi
25848    
25849     if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25850     as_basename=basename
25851     else
25852     as_basename=false
25853     fi
25854    
25855     if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25856     as_dirname=dirname
25857     else
25858     as_dirname=false
25859     fi
25860    
25861     as_me=`$as_basename -- "$0" ||
25862     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25863     X"$0" : 'X\(//\)$' \| \
25864     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25865     $as_echo X/"$0" |
25866     sed '/^.*\/\([^/][^/]*\)\/*$/{
25867     s//\1/
25868     q
25869     }
25870     /^X\/\(\/\/\)$/{
25871     s//\1/
25872     q
25873     }
25874     /^X\/\(\/\).*/{
25875     s//\1/
25876     q
25877     }
25878     s/.*/./; q'`
25879    
25880     # Avoid depending upon Character Ranges.
25881     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25882     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25883     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25884     as_cr_digits='0123456789'
25885     as_cr_alnum=$as_cr_Letters$as_cr_digits
25886    
25887     ECHO_C= ECHO_N= ECHO_T=
25888     case `echo -n x` in #(((((
25889     -n*)
25890     case `echo 'xy\c'` in
25891     *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25892     xy) ECHO_C='\c';;
25893     *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25894     ECHO_T=' ';;
25895     esac;;
25896     *)
25897     ECHO_N='-n';;
25898     esac
25899    
25900     rm -f conf$$ conf$$.exe conf$$.file
25901     if test -d conf$$.dir; then
25902     rm -f conf$$.dir/conf$$.file
25903     else
25904     rm -f conf$$.dir
25905     mkdir conf$$.dir 2>/dev/null
25906     fi
25907     if (echo >conf$$.file) 2>/dev/null; then
25908     if ln -s conf$$.file conf$$ 2>/dev/null; then
25909     as_ln_s='ln -s'
25910     # ... but there are two gotchas:
25911     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25912     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25913     # In both cases, we have to default to `cp -p'.
25914     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25915     as_ln_s='cp -p'
25916     elif ln conf$$.file conf$$ 2>/dev/null; then
25917     as_ln_s=ln
25918     else
25919     as_ln_s='cp -p'
25920     fi
25921     else
25922     as_ln_s='cp -p'
25923     fi
25924     rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25925     rmdir conf$$.dir 2>/dev/null
25926    
25927    
25928     # as_fn_mkdir_p
25929     # -------------
25930     # Create "$as_dir" as a directory, including parents if necessary.
25931     as_fn_mkdir_p ()
25932     {
25933    
25934     case $as_dir in #(
25935     -*) as_dir=./$as_dir;;
25936     esac
25937     test -d "$as_dir" || eval $as_mkdir_p || {
25938     as_dirs=
25939     while :; do
25940     case $as_dir in #(
25941     *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25942     *) as_qdir=$as_dir;;
25943     esac
25944     as_dirs="'$as_qdir' $as_dirs"
25945     as_dir=`$as_dirname -- "$as_dir" ||
25946     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25947     X"$as_dir" : 'X\(//\)[^/]' \| \
25948     X"$as_dir" : 'X\(//\)$' \| \
25949     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25950     $as_echo X"$as_dir" |
25951     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25952     s//\1/
25953     q
25954     }
25955     /^X\(\/\/\)[^/].*/{
25956     s//\1/
25957     q
25958     }
25959     /^X\(\/\/\)$/{
25960     s//\1/
25961     q
25962     }
25963     /^X\(\/\).*/{
25964     s//\1/
25965     q
25966     }
25967     s/.*/./; q'`
25968     test -d "$as_dir" && break
25969     done
25970     test -z "$as_dirs" || eval "mkdir $as_dirs"
25971     } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25972    
25973    
25974     } # as_fn_mkdir_p
25975     if mkdir -p . 2>/dev/null; then
25976     as_mkdir_p='mkdir -p "$as_dir"'
25977     else
25978     test -d ./-p && rmdir ./-p
25979     as_mkdir_p=false
25980     fi
25981    
25982     if test -x / >/dev/null 2>&1; then
25983     as_test_x='test -x'
25984     else
25985     if ls -dL / >/dev/null 2>&1; then
25986     as_ls_L_option=L
25987     else
25988     as_ls_L_option=
25989     fi
25990     as_test_x='
25991     eval sh -c '\''
25992     if test -d "$1"; then
25993     test -d "$1/.";
25994     else
25995     case $1 in #(
25996     -*)set "./$1";;
25997     esac;
25998     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25999     ???[sx]*):;;*)false;;esac;fi
26000     '\'' sh
26001     '
26002     fi
26003     as_executable_p=$as_test_x
26004    
26005     # Sed expression to map a string onto a valid CPP name.
26006     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26007    
26008     # Sed expression to map a string onto a valid variable name.
26009     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26010    
26011    
26012     exec 6>&1
26013     ## ----------------------------------- ##
26014     ## Main body of $CONFIG_STATUS script. ##
26015     ## ----------------------------------- ##
26016     _ASEOF
26017     test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26018    
26019     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26020     # Save the log message, to keep $0 and so on meaningful, and to
26021     # report actual input values of CONFIG_FILES etc. instead of their
26022     # values after options handling.
26023     ac_log="
26024     This file was extended by zanavi $as_me 1.0.0, which was
26025     generated by GNU Autoconf 2.65. Invocation command line was
26026    
26027     CONFIG_FILES = $CONFIG_FILES
26028     CONFIG_HEADERS = $CONFIG_HEADERS
26029     CONFIG_LINKS = $CONFIG_LINKS
26030     CONFIG_COMMANDS = $CONFIG_COMMANDS
26031     $ $0 $@
26032    
26033     on `(hostname || uname -n) 2>/dev/null | sed 1q`
26034     "
26035    
26036     _ACEOF
26037    
26038     case $ac_config_files in *"
26039     "*) set x $ac_config_files; shift; ac_config_files=$*;;
26040     esac
26041    
26042     case $ac_config_headers in *"
26043     "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26044     esac
26045    
26046    
26047     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26048     # Files that config.status was made for.
26049     config_files="$ac_config_files"
26050     config_headers="$ac_config_headers"
26051     config_commands="$ac_config_commands"
26052    
26053     _ACEOF
26054    
26055     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26056     ac_cs_usage="\
26057     \`$as_me' instantiates files and other configuration actions
26058     from templates according to the current configuration. Unless the files
26059     and actions are specified as TAGs, all are instantiated by default.
26060    
26061     Usage: $0 [OPTION]... [TAG]...
26062    
26063     -h, --help print this help, then exit
26064     -V, --version print version number and configuration settings, then exit
26065     --config print configuration, then exit
26066     -q, --quiet, --silent
26067     do not print progress messages
26068     -d, --debug don't remove temporary files
26069     --recheck update $as_me by reconfiguring in the same conditions
26070     --file=FILE[:TEMPLATE]
26071     instantiate the configuration file FILE
26072     --header=FILE[:TEMPLATE]
26073     instantiate the configuration header FILE
26074    
26075     Configuration files:
26076     $config_files
26077    
26078     Configuration headers:
26079     $config_headers
26080    
26081     Configuration commands:
26082     $config_commands
26083    
26084     Report bugs to the package provider."
26085    
26086     _ACEOF
26087     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26088     ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26089     ac_cs_version="\\
26090     zanavi config.status 1.0.0
26091     configured by $0, generated by GNU Autoconf 2.65,
26092     with options \\"\$ac_cs_config\\"
26093    
26094     Copyright (C) 2009 Free Software Foundation, Inc.
26095     This config.status script is free software; the Free Software Foundation
26096     gives unlimited permission to copy, distribute and modify it."
26097    
26098     ac_pwd='$ac_pwd'
26099     srcdir='$srcdir'
26100     INSTALL='$INSTALL'
26101     MKDIR_P='$MKDIR_P'
26102     AWK='$AWK'
26103     test -n "\$AWK" || AWK=awk
26104     _ACEOF
26105    
26106     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26107     # The default lists apply if the user does not specify any file.
26108     ac_need_defaults=:
26109     while test $# != 0
26110     do
26111     case $1 in
26112     --*=*)
26113     ac_option=`expr "X$1" : 'X\([^=]*\)='`
26114     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26115     ac_shift=:
26116     ;;
26117     *)
26118     ac_option=$1
26119     ac_optarg=$2
26120     ac_shift=shift
26121     ;;
26122     esac
26123    
26124     case $ac_option in
26125     # Handling of the options.
26126     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26127     ac_cs_recheck=: ;;
26128     --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26129     $as_echo "$ac_cs_version"; exit ;;
26130     --config | --confi | --conf | --con | --co | --c )
26131     $as_echo "$ac_cs_config"; exit ;;
26132     --debug | --debu | --deb | --de | --d | -d )
26133     debug=: ;;
26134     --file | --fil | --fi | --f )
26135     $ac_shift
26136     case $ac_optarg in
26137     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26138     esac
26139     as_fn_append CONFIG_FILES " '$ac_optarg'"
26140     ac_need_defaults=false;;
26141     --header | --heade | --head | --hea )
26142     $ac_shift
26143     case $ac_optarg in
26144     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26145     esac
26146     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26147     ac_need_defaults=false;;
26148     --he | --h)
26149     # Conflict between --help and --header
26150     as_fn_error "ambiguous option: \`$1'
26151     Try \`$0 --help' for more information.";;
26152     --help | --hel | -h )
26153     $as_echo "$ac_cs_usage"; exit ;;
26154     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26155     | -silent | --silent | --silen | --sile | --sil | --si | --s)
26156     ac_cs_silent=: ;;
26157    
26158     # This is an error.
26159     -*) as_fn_error "unrecognized option: \`$1'
26160     Try \`$0 --help' for more information." ;;
26161    
26162     *) as_fn_append ac_config_targets " $1"
26163     ac_need_defaults=false ;;
26164    
26165     esac
26166     shift
26167     done
26168    
26169     ac_configure_extra_args=
26170    
26171     if $ac_cs_silent; then
26172     exec 6>/dev/null
26173     ac_configure_extra_args="$ac_configure_extra_args --silent"
26174     fi
26175    
26176     _ACEOF
26177     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26178     if \$ac_cs_recheck; then
26179     set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26180     shift
26181     \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26182     CONFIG_SHELL='$SHELL'
26183     export CONFIG_SHELL
26184     exec "\$@"
26185     fi
26186    
26187     _ACEOF
26188     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26189     exec 5>>config.log
26190     {
26191     echo
26192     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26193     ## Running $as_me. ##
26194     _ASBOX
26195     $as_echo "$ac_log"
26196     } >&5
26197    
26198     _ACEOF
26199     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26200     #
26201     # INIT-COMMANDS
26202     #
26203     AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26204    
26205    
26206     # The HP-UX ksh and POSIX shell print the target directory to stdout
26207     # if CDPATH is set.
26208     (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26209    
26210     sed_quote_subst='$sed_quote_subst'
26211     double_quote_subst='$double_quote_subst'
26212     delay_variable_subst='$delay_variable_subst'
26213     enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
26214     enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
26215     macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
26216     macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
26217     pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
26218     enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
26219     host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
26220     host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
26221     host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
26222     build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
26223     build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
26224     build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
26225     SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
26226     Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
26227     GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
26228     EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
26229     FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
26230     LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
26231     NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
26232     LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
26233     max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
26234     ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
26235     exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
26236     lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
26237     lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
26238     lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
26239     reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
26240     reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26241     OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
26242     deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
26243     file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
26244     AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
26245     AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26246     STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
26247     RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
26248     old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26249     old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26250     old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26251     CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
26252     CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26253     compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
26254     GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
26255     lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
26256     lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
26257     lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
26258     lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26259     objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
26260     SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
26261     ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
26262     MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
26263     lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
26264     lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
26265     lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
26266     lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
26267     lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
26268     need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
26269     DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
26270     NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
26271     LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
26272     OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
26273     OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
26274     libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
26275     shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26276     extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26277     archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
26278     enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
26279     export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26280     whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26281     compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
26282     old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26283     old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26284     archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26285     archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26286     module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26287     module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26288     with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
26289     allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26290     no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26291     hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26292     hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
26293     hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
26294     hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
26295     hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
26296     hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
26297     hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26298     hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
26299     inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
26300     link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
26301     fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
26302     always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
26303     export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26304     exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26305     include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26306     prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26307     file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
26308     variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
26309     need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26310     need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
26311     version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
26312     runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26313     shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26314     shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
26315     libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26316     library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
26317     soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26318     postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26319     postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26320     finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26321     finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
26322     hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
26323     sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26324     sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26325     hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
26326     enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
26327     enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
26328     enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
26329     old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
26330     striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
26331     compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
26332     predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26333     postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26334     predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
26335     postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
26336     compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
26337     LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26338     old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26339     compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26340     GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26341     lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26342     lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26343     lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26344     lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26345     lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26346     archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26347     enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26348     export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26349     whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26350     compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26351     old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26352     old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26353     archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26354     archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26355     module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26356     module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26357     with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26358     allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26359     no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26360     hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26361     hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26362     hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26363     hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26364     hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26365     hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26366     hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26367     hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26368     inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26369     link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26370     fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26371     always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26372     export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26373     exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26374     include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26375     prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26376     file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26377     hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26378     compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26379     predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26380     postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26381     predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26382     postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26383     compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26384    
26385     LTCC='$LTCC'
26386     LTCFLAGS='$LTCFLAGS'
26387     compiler='$compiler_DEFAULT'
26388    
26389     # Quote evaled strings.
26390     for var in SED \
26391     GREP \
26392     EGREP \
26393     FGREP \
26394     LD \
26395     NM \
26396     LN_S \
26397     lt_SP2NL \
26398     lt_NL2SP \
26399     reload_flag \
26400     OBJDUMP \
26401     deplibs_check_method \
26402     file_magic_cmd \
26403     AR \
26404     AR_FLAGS \
26405     STRIP \
26406     RANLIB \
26407     CC \
26408     CFLAGS \
26409     compiler \
26410     lt_cv_sys_global_symbol_pipe \
26411     lt_cv_sys_global_symbol_to_cdecl \
26412     lt_cv_sys_global_symbol_to_c_name_address \
26413     lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26414     SHELL \
26415     ECHO \
26416     lt_prog_compiler_no_builtin_flag \
26417     lt_prog_compiler_wl \
26418     lt_prog_compiler_pic \
26419     lt_prog_compiler_static \
26420     lt_cv_prog_compiler_c_o \
26421     need_locks \
26422     DSYMUTIL \
26423     NMEDIT \
26424     LIPO \
26425     OTOOL \
26426     OTOOL64 \
26427     shrext_cmds \
26428     export_dynamic_flag_spec \
26429     whole_archive_flag_spec \
26430     compiler_needs_object \
26431     with_gnu_ld \
26432     allow_undefined_flag \
26433     no_undefined_flag \
26434     hardcode_libdir_flag_spec \
26435     hardcode_libdir_flag_spec_ld \
26436     hardcode_libdir_separator \
26437     fix_srcfile_path \
26438     exclude_expsyms \
26439     include_expsyms \
26440     file_list_spec \
26441     variables_saved_for_relink \
26442     libname_spec \
26443     library_names_spec \
26444     soname_spec \
26445     finish_eval \
26446     old_striplib \
26447     striplib \
26448     compiler_lib_search_dirs \
26449     predep_objects \
26450     postdep_objects \
26451     predeps \
26452     postdeps \
26453     compiler_lib_search_path \
26454     LD_CXX \
26455     compiler_CXX \
26456     lt_prog_compiler_no_builtin_flag_CXX \
26457     lt_prog_compiler_wl_CXX \
26458     lt_prog_compiler_pic_CXX \
26459     lt_prog_compiler_static_CXX \
26460     lt_cv_prog_compiler_c_o_CXX \
26461     export_dynamic_flag_spec_CXX \
26462     whole_archive_flag_spec_CXX \
26463     compiler_needs_object_CXX \
26464     with_gnu_ld_CXX \
26465     allow_undefined_flag_CXX \
26466     no_undefined_flag_CXX \
26467     hardcode_libdir_flag_spec_CXX \
26468     hardcode_libdir_flag_spec_ld_CXX \
26469     hardcode_libdir_separator_CXX \
26470     fix_srcfile_path_CXX \
26471     exclude_expsyms_CXX \
26472     include_expsyms_CXX \
26473     file_list_spec_CXX \
26474     compiler_lib_search_dirs_CXX \
26475     predep_objects_CXX \
26476     postdep_objects_CXX \
26477     predeps_CXX \
26478     postdeps_CXX \
26479     compiler_lib_search_path_CXX; do
26480     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26481     *[\\\\\\\`\\"\\\$]*)
26482     eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26483     ;;
26484     *)
26485     eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26486     ;;
26487     esac
26488     done
26489    
26490     # Double-quote double-evaled strings.
26491     for var in reload_cmds \
26492     old_postinstall_cmds \
26493     old_postuninstall_cmds \
26494     old_archive_cmds \
26495     extract_expsyms_cmds \
26496     old_archive_from_new_cmds \
26497     old_archive_from_expsyms_cmds \
26498     archive_cmds \
26499     archive_expsym_cmds \
26500     module_cmds \
26501     module_expsym_cmds \
26502     export_symbols_cmds \
26503     prelink_cmds \
26504     postinstall_cmds \
26505     postuninstall_cmds \
26506     finish_cmds \
26507     sys_lib_search_path_spec \
26508     sys_lib_dlsearch_path_spec \
26509     old_archive_cmds_CXX \
26510     old_archive_from_new_cmds_CXX \
26511     old_archive_from_expsyms_cmds_CXX \
26512     archive_cmds_CXX \
26513     archive_expsym_cmds_CXX \
26514     module_cmds_CXX \
26515     module_expsym_cmds_CXX \
26516     export_symbols_cmds_CXX \
26517     prelink_cmds_CXX; do
26518     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26519     *[\\\\\\\`\\"\\\$]*)
26520     eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26521     ;;
26522     *)
26523     eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26524     ;;
26525     esac
26526     done
26527    
26528     # Fix-up fallback echo if it was mangled by the above quoting rules.
26529     case \$lt_ECHO in
26530     *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
26531     ;;
26532     esac
26533    
26534     ac_aux_dir='$ac_aux_dir'
26535     xsi_shell='$xsi_shell'
26536     lt_shell_append='$lt_shell_append'
26537    
26538     # See if we are running on zsh, and set the options which allow our
26539     # commands through without removal of \ escapes INIT.
26540     if test -n "\${ZSH_VERSION+set}" ; then
26541     setopt NO_GLOB_SUBST
26542     fi
26543    
26544    
26545     PACKAGE='$PACKAGE'
26546     VERSION='$VERSION'
26547     TIMESTAMP='$TIMESTAMP'
26548     RM='$RM'
26549     ofile='$ofile'
26550    
26551    
26552    
26553    
26554    
26555     # Capture the value of obsolete ALL_LINGUAS because we need it to compute
26556     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26557     # from automake.
26558     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
26559     # Capture the value of LINGUAS because we need it to compute CATALOGS.
26560     LINGUAS="${LINGUAS-%UNSET%}"
26561    
26562    
26563     _ACEOF
26564    
26565     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26566    
26567     # Handling of arguments.
26568     for ac_config_target in $ac_config_targets
26569     do
26570     case $ac_config_target in
26571     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26572     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26573     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26574     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26575     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26576     "navit/Makefile") CONFIG_FILES="$CONFIG_FILES navit/Makefile" ;;
26577     "navit/autoload/Makefile") CONFIG_FILES="$CONFIG_FILES navit/autoload/Makefile" ;;
26578     "navit/autoload/osso/Makefile") CONFIG_FILES="$CONFIG_FILES navit/autoload/osso/Makefile" ;;
26579     "navit/binding/Makefile") CONFIG_FILES="$CONFIG_FILES navit/binding/Makefile" ;;
26580     "navit/binding/python/Makefile") CONFIG_FILES="$CONFIG_FILES navit/binding/python/Makefile" ;;
26581     "navit/binding/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES navit/binding/dbus/Makefile" ;;
26582     "navit/map/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/Makefile" ;;
26583     "navit/map/mg/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/mg/Makefile" ;;
26584     "navit/map/textfile/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/textfile/Makefile" ;;
26585     "navit/map/csv/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/csv/Makefile" ;;
26586     "navit/map/shapefile/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/shapefile/Makefile" ;;
26587     "navit/map/filter/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/filter/Makefile" ;;
26588     "navit/map/binfile/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/binfile/Makefile" ;;
26589     "navit/map/garmin/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/garmin/Makefile" ;;
26590     "navit/maptool/Makefile") CONFIG_FILES="$CONFIG_FILES navit/maptool/Makefile" ;;
26591     "navit/fib-1.1/Makefile") CONFIG_FILES="$CONFIG_FILES navit/fib-1.1/Makefile" ;;
26592     "navit/font/Makefile") CONFIG_FILES="$CONFIG_FILES navit/font/Makefile" ;;
26593     "navit/font/freetype/Makefile") CONFIG_FILES="$CONFIG_FILES navit/font/freetype/Makefile" ;;
26594     "navit/fonts/Makefile") CONFIG_FILES="$CONFIG_FILES navit/fonts/Makefile" ;;
26595     "navit/graphics/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/Makefile" ;;
26596     "navit/graphics/android/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/android/Makefile" ;;
26597     "navit/graphics/gd/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/gd/Makefile" ;;
26598     "navit/graphics/gtk_drawing_area/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/gtk_drawing_area/Makefile" ;;
26599     "navit/graphics/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/opengl/Makefile" ;;
26600     "navit/graphics/null/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/null/Makefile" ;;
26601     "navit/graphics/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/sdl/Makefile" ;;
26602     "navit/graphics/qt_qpainter/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/qt_qpainter/Makefile" ;;
26603     "navit/graphics/win32/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/win32/Makefile" ;;
26604     "navit/gui/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/Makefile" ;;
26605     "navit/gui/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/gtk/Makefile" ;;
26606     "navit/gui/internal/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/internal/Makefile" ;;
26607     "navit/gui/win32/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/win32/Makefile" ;;
26608     "navit/gui/qml/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/qml/Makefile" ;;
26609     "navit/gui/qml/skins/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/qml/skins/Makefile" ;;
26610     "navit/gui/qml/skins/navit/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/qml/skins/navit/Makefile" ;;
26611     "navit/osd/Makefile") CONFIG_FILES="$CONFIG_FILES navit/osd/Makefile" ;;
26612     "navit/osd/core/Makefile") CONFIG_FILES="$CONFIG_FILES navit/osd/core/Makefile" ;;
26613     "navit/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES navit/plugin/Makefile" ;;
26614     "navit/plugin/pedestrian/Makefile") CONFIG_FILES="$CONFIG_FILES navit/plugin/pedestrian/Makefile" ;;
26615     "navit/speech/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/Makefile" ;;
26616     "navit/speech/android/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/android/Makefile" ;;
26617     "navit/speech/cmdline/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/cmdline/Makefile" ;;
26618     "navit/speech/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/dbus/Makefile" ;;
26619     "navit/speech/espeak/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/espeak/Makefile" ;;
26620     "navit/speech/speech_dispatcher/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/speech_dispatcher/Makefile" ;;
26621     "navit/support/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/Makefile" ;;
26622     "navit/support/espeak/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/espeak/Makefile" ;;
26623     "navit/support/ezxml/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/ezxml/Makefile" ;;
26624     "navit/support/glib/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/glib/Makefile" ;;
26625     "navit/support/libc/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/libc/Makefile" ;;
26626     "navit/support/libpng/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/libpng/Makefile" ;;
26627     "navit/support/win32/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/win32/Makefile" ;;
26628     "navit/support/wordexp/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/wordexp/Makefile" ;;
26629     "navit/support/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/zlib/Makefile" ;;
26630     "navit/vehicle/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/Makefile" ;;
26631     "navit/vehicle/android/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/android/Makefile" ;;
26632     "navit/vehicle/file/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/file/Makefile" ;;
26633     "navit/vehicle/gpsd/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/gpsd/Makefile" ;;
26634     "navit/vehicle/gpsd_dbus/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/gpsd_dbus/Makefile" ;;
26635     "navit/vehicle/gypsy/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/gypsy/Makefile" ;;
26636     "navit/vehicle/maemo/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/maemo/Makefile" ;;
26637     "navit/vehicle/null/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/null/Makefile" ;;
26638     "navit/vehicle/demo/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/demo/Makefile" ;;
26639     "navit/vehicle/wince/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/wince/Makefile" ;;
26640     "navit/vehicle/iphone/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/iphone/Makefile" ;;
26641     "navit/vehicle/webos/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/webos/Makefile" ;;
26642     "navit/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES navit/xpm/Makefile" ;;
26643     "navit/maps/Makefile") CONFIG_FILES="$CONFIG_FILES navit/maps/Makefile" ;;
26644     "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
26645     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
26646     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
26647    
26648     *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26649     esac
26650     done
26651    
26652    
26653     # If the user did not use the arguments to specify the items to instantiate,
26654     # then the envvar interface is used. Set only those that are not.
26655     # We use the long form for the default assignment because of an extremely
26656     # bizarre bug on SunOS 4.1.3.
26657     if $ac_need_defaults; then
26658     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26659     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26660     test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26661     fi
26662    
26663     # Have a temporary directory for convenience. Make it in the build tree
26664     # simply because there is no reason against having it here, and in addition,
26665     # creating and moving files from /tmp can sometimes cause problems.
26666     # Hook for its removal unless debugging.
26667     # Note that there is a small window in which the directory will not be cleaned:
26668     # after its creation but before its name has been assigned to `$tmp'.
26669     $debug ||
26670     {
26671     tmp=
26672     trap 'exit_status=$?
26673     { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26674     ' 0
26675     trap 'as_fn_exit 1' 1 2 13 15
26676     }
26677     # Create a (secure) tmp directory for tmp files.
26678    
26679     {
26680     tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26681     test -n "$tmp" && test -d "$tmp"
26682     } ||
26683     {
26684     tmp=./conf$$-$RANDOM
26685     (umask 077 && mkdir "$tmp")
26686     } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26687    
26688     # Set up the scripts for CONFIG_FILES section.
26689     # No need to generate them if there are no CONFIG_FILES.
26690     # This happens for instance with `./config.status config.h'.
26691     if test -n "$CONFIG_FILES"; then
26692    
26693    
26694     ac_cr=`echo X | tr X '\015'`
26695     # On cygwin, bash can eat \r inside `` if the user requested igncr.
26696     # But we know of no other shell where ac_cr would be empty at this
26697     # point, so we can use a bashism as a fallback.
26698     if test "x$ac_cr" = x; then
26699     eval ac_cr=\$\'\\r\'
26700     fi
26701     ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26702     if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26703     ac_cs_awk_cr='\r'
26704     else
26705     ac_cs_awk_cr=$ac_cr
26706     fi
26707    
26708     echo 'BEGIN {' >"$tmp/subs1.awk" &&
26709     _ACEOF
26710    
26711    
26712     {
26713     echo "cat >conf$$subs.awk <<_ACEOF" &&
26714     echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26715     echo "_ACEOF"
26716     } >conf$$subs.sh ||
26717     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26718     ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26719     ac_delim='%!_!# '
26720     for ac_last_try in false false false false false :; do
26721     . ./conf$$subs.sh ||
26722     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26723    
26724     ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26725     if test $ac_delim_n = $ac_delim_num; then
26726     break
26727     elif $ac_last_try; then
26728     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26729     else
26730     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26731     fi
26732     done
26733     rm -f conf$$subs.sh
26734    
26735     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26736     cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26737     _ACEOF
26738     sed -n '
26739     h
26740     s/^/S["/; s/!.*/"]=/
26741     p
26742     g
26743     s/^[^!]*!//
26744     :repl
26745     t repl
26746     s/'"$ac_delim"'$//
26747     t delim
26748     :nl
26749     h
26750     s/\(.\{148\}\)..*/\1/
26751     t more1
26752     s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26753     p
26754     n
26755     b repl
26756     :more1
26757     s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26758     p
26759     g
26760     s/.\{148\}//
26761     t nl
26762     :delim
26763     h
26764     s/\(.\{148\}\)..*/\1/
26765     t more2
26766     s/["\\]/\\&/g; s/^/"/; s/$/"/
26767     p
26768     b
26769     :more2
26770     s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26771     p
26772     g
26773     s/.\{148\}//
26774     t delim
26775     ' <conf$$subs.awk | sed '
26776     /^[^""]/{
26777     N
26778     s/\n//
26779     }
26780     ' >>$CONFIG_STATUS || ac_write_fail=1
26781     rm -f conf$$subs.awk
26782     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26783     _ACAWK
26784     cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26785     for (key in S) S_is_set[key] = 1
26786     FS = ""
26787    
26788     }
26789     {
26790     line = $ 0
26791     nfields = split(line, field, "@")
26792     substed = 0
26793     len = length(field[1])
26794     for (i = 2; i < nfields; i++) {
26795     key = field[i]
26796     keylen = length(key)
26797     if (S_is_set[key]) {
26798     value = S[key]
26799     line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26800     len += length(value) + length(field[++i])
26801     substed = 1
26802     } else
26803     len += 1 + keylen
26804     }
26805    
26806     print line
26807     }
26808    
26809     _ACAWK
26810     _ACEOF
26811     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26812     if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26813     sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26814     else
26815     cat
26816     fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26817     || as_fn_error "could not setup config files machinery" "$LINENO" 5
26818     _ACEOF
26819    
26820     # VPATH may cause trouble with some makes, so we remove $(srcdir),
26821     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26822     # trailing colons and then remove the whole line if VPATH becomes empty
26823     # (actually we leave an empty line to preserve line numbers).
26824     if test "x$srcdir" = x.; then
26825     ac_vpsub='/^[ ]*VPATH[ ]*=/{
26826     s/:*\$(srcdir):*/:/
26827     s/:*\${srcdir}:*/:/
26828     s/:*@srcdir@:*/:/
26829     s/^\([^=]*=[ ]*\):*/\1/
26830     s/:*$//
26831     s/^[^=]*=[ ]*$//
26832     }'
26833     fi
26834    
26835     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26836     fi # test -n "$CONFIG_FILES"
26837    
26838     # Set up the scripts for CONFIG_HEADERS section.
26839     # No need to generate them if there are no CONFIG_HEADERS.
26840     # This happens for instance with `./config.status Makefile'.
26841     if test -n "$CONFIG_HEADERS"; then
26842     cat >"$tmp/defines.awk" <<\_ACAWK ||
26843     BEGIN {
26844     _ACEOF
26845    
26846     # Transform confdefs.h into an awk script `defines.awk', embedded as
26847     # here-document in config.status, that substitutes the proper values into
26848     # config.h.in to produce config.h.
26849    
26850     # Create a delimiter string that does not exist in confdefs.h, to ease
26851     # handling of long lines.
26852     ac_delim='%!_!# '
26853     for ac_last_try in false false :; do
26854     ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26855     if test -z "$ac_t"; then
26856     break
26857     elif $ac_last_try; then
26858     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26859     else
26860     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26861     fi
26862     done
26863    
26864     # For the awk script, D is an array of macro values keyed by name,
26865     # likewise P contains macro parameters if any. Preserve backslash
26866     # newline sequences.
26867    
26868     ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26869     sed -n '
26870     s/.\{148\}/&'"$ac_delim"'/g
26871     t rset
26872     :rset
26873     s/^[ ]*#[ ]*define[ ][ ]*/ /
26874     t def
26875     d
26876     :def
26877     s/\\$//
26878     t bsnl
26879     s/["\\]/\\&/g
26880     s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26881     D["\1"]=" \3"/p
26882     s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26883     d
26884     :bsnl
26885     s/["\\]/\\&/g
26886     s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26887     D["\1"]=" \3\\\\\\n"\\/p
26888     t cont
26889     s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26890     t cont
26891     d
26892     :cont
26893     n
26894     s/.\{148\}/&'"$ac_delim"'/g
26895     t clear
26896     :clear
26897     s/\\$//
26898     t bsnlc
26899     s/["\\]/\\&/g; s/^/"/; s/$/"/p
26900     d
26901     :bsnlc
26902     s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26903     b cont
26904     ' <confdefs.h | sed '
26905     s/'"$ac_delim"'/"\\\
26906     "/g' >>$CONFIG_STATUS || ac_write_fail=1
26907    
26908     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26909     for (key in D) D_is_set[key] = 1
26910     FS = ""
26911     }
26912     /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26913     line = \$ 0
26914     split(line, arg, " ")
26915     if (arg[1] == "#") {
26916     defundef = arg[2]
26917     mac1 = arg[3]
26918     } else {
26919     defundef = substr(arg[1], 2)
26920     mac1 = arg[2]
26921     }
26922     split(mac1, mac2, "(") #)
26923     macro = mac2[1]
26924     prefix = substr(line, 1, index(line, defundef) - 1)
26925     if (D_is_set[macro]) {
26926     # Preserve the white space surrounding the "#".
26927     print prefix "define", macro P[macro] D[macro]
26928     next
26929     } else {
26930     # Replace #undef with comments. This is necessary, for example,
26931     # in the case of _POSIX_SOURCE, which is predefined and required
26932     # on some systems where configure will not decide to define it.
26933     if (defundef == "undef") {
26934     print "/*", prefix defundef, macro, "*/"
26935     next
26936     }
26937     }
26938     }
26939     { print }
26940     _ACAWK
26941     _ACEOF
26942     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26943     as_fn_error "could not setup config headers machinery" "$LINENO" 5
26944     fi # test -n "$CONFIG_HEADERS"
26945    
26946    
26947     eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26948     shift
26949     for ac_tag
26950     do
26951     case $ac_tag in
26952     :[FHLC]) ac_mode=$ac_tag; continue;;
26953     esac
26954     case $ac_mode$ac_tag in
26955     :[FHL]*:*);;
26956     :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26957     :[FH]-) ac_tag=-:-;;
26958     :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26959     esac
26960     ac_save_IFS=$IFS
26961     IFS=:
26962     set x $ac_tag
26963     IFS=$ac_save_IFS
26964     shift
26965     ac_file=$1
26966     shift
26967    
26968     case $ac_mode in
26969     :L) ac_source=$1;;
26970     :[FH])
26971     ac_file_inputs=
26972     for ac_f
26973     do
26974     case $ac_f in
26975     -) ac_f="$tmp/stdin";;
26976     *) # Look for the file first in the build tree, then in the source tree
26977     # (if the path is not absolute). The absolute path cannot be DOS-style,
26978     # because $ac_f cannot contain `:'.
26979     test -f "$ac_f" ||
26980     case $ac_f in
26981     [\\/$]*) false;;
26982     *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26983     esac ||
26984     as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26985     esac
26986     case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26987     as_fn_append ac_file_inputs " '$ac_f'"
26988     done
26989    
26990     # Let's still pretend it is `configure' which instantiates (i.e., don't
26991     # use $as_me), people would be surprised to read:
26992     # /* config.h. Generated by config.status. */
26993     configure_input='Generated from '`
26994     $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26995     `' by configure.'
26996     if test x"$ac_file" != x-; then
26997     configure_input="$ac_file. $configure_input"
26998     { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26999     $as_echo "$as_me: creating $ac_file" >&6;}
27000     fi
27001     # Neutralize special characters interpreted by sed in replacement strings.
27002     case $configure_input in #(
27003     *\&* | *\|* | *\\* )
27004     ac_sed_conf_input=`$as_echo "$configure_input" |
27005     sed 's/[\\\\&|]/\\\\&/g'`;; #(
27006     *) ac_sed_conf_input=$configure_input;;
27007     esac
27008    
27009     case $ac_tag in
27010     *:-:* | *:-) cat >"$tmp/stdin" \
27011     || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27012     esac
27013     ;;
27014     esac
27015    
27016     ac_dir=`$as_dirname -- "$ac_file" ||
27017     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27018     X"$ac_file" : 'X\(//\)[^/]' \| \
27019     X"$ac_file" : 'X\(//\)$' \| \
27020     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27021     $as_echo X"$ac_file" |
27022     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27023     s//\1/
27024     q
27025     }
27026     /^X\(\/\/\)[^/].*/{
27027     s//\1/
27028     q
27029     }
27030     /^X\(\/\/\)$/{
27031     s//\1/
27032     q
27033     }
27034     /^X\(\/\).*/{
27035     s//\1/
27036     q
27037     }
27038     s/.*/./; q'`
27039     as_dir="$ac_dir"; as_fn_mkdir_p
27040     ac_builddir=.
27041    
27042     case "$ac_dir" in
27043     .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27044     *)
27045     ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27046     # A ".." for each directory in $ac_dir_suffix.
27047     ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27048     case $ac_top_builddir_sub in
27049     "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27050     *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27051     esac ;;
27052     esac
27053     ac_abs_top_builddir=$ac_pwd
27054     ac_abs_builddir=$ac_pwd$ac_dir_suffix
27055     # for backward compatibility:
27056     ac_top_builddir=$ac_top_build_prefix
27057    
27058     case $srcdir in
27059     .) # We are building in place.
27060     ac_srcdir=.
27061     ac_top_srcdir=$ac_top_builddir_sub
27062     ac_abs_top_srcdir=$ac_pwd ;;
27063     [\\/]* | ?:[\\/]* ) # Absolute name.
27064     ac_srcdir=$srcdir$ac_dir_suffix;
27065     ac_top_srcdir=$srcdir
27066     ac_abs_top_srcdir=$srcdir ;;
27067     *) # Relative name.
27068     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27069     ac_top_srcdir=$ac_top_build_prefix$srcdir
27070     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27071     esac
27072     ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27073    
27074    
27075     case $ac_mode in
27076     :F)
27077     #
27078     # CONFIG_FILE
27079     #
27080    
27081     case $INSTALL in
27082     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27083     *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27084     esac
27085     ac_MKDIR_P=$MKDIR_P
27086     case $MKDIR_P in
27087     [\\/$]* | ?:[\\/]* ) ;;
27088     */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27089     esac
27090     _ACEOF
27091    
27092     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27093     # If the template does not know about datarootdir, expand it.
27094     # FIXME: This hack should be removed a few years after 2.60.
27095     ac_datarootdir_hack=; ac_datarootdir_seen=
27096     ac_sed_dataroot='
27097     /datarootdir/ {
27098     p
27099     q
27100     }
27101     /@datadir@/p
27102     /@docdir@/p
27103     /@infodir@/p
27104     /@localedir@/p
27105     /@mandir@/p'
27106     case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27107     *datarootdir*) ac_datarootdir_seen=yes;;
27108     *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27109     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27110     $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27111     _ACEOF
27112     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27113     ac_datarootdir_hack='
27114     s&@datadir@&$datadir&g
27115     s&@docdir@&$docdir&g
27116     s&@infodir@&$infodir&g
27117     s&@localedir@&$localedir&g
27118     s&@mandir@&$mandir&g
27119     s&\\\${datarootdir}&$datarootdir&g' ;;
27120     esac
27121     _ACEOF
27122    
27123     # Neutralize VPATH when `$srcdir' = `.'.
27124     # Shell code in configure.ac might set extrasub.
27125     # FIXME: do we really want to maintain this feature?
27126     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27127     ac_sed_extra="$ac_vpsub
27128     $extrasub
27129     _ACEOF
27130     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27131     :t
27132     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27133     s|@configure_input@|$ac_sed_conf_input|;t t
27134     s&@top_builddir@&$ac_top_builddir_sub&;t t
27135     s&@top_build_prefix@&$ac_top_build_prefix&;t t
27136     s&@srcdir@&$ac_srcdir&;t t
27137     s&@abs_srcdir@&$ac_abs_srcdir&;t t
27138     s&@top_srcdir@&$ac_top_srcdir&;t t
27139     s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27140     s&@builddir@&$ac_builddir&;t t
27141     s&@abs_builddir@&$ac_abs_builddir&;t t
27142     s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27143     s&@INSTALL@&$ac_INSTALL&;t t
27144     s&@MKDIR_P@&$ac_MKDIR_P&;t t
27145     $ac_datarootdir_hack
27146     "
27147     eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27148     || as_fn_error "could not create $ac_file" "$LINENO" 5
27149    
27150     test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27151     { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27152     { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27153     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27154     which seems to be undefined. Please make sure it is defined." >&5
27155     $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27156     which seems to be undefined. Please make sure it is defined." >&2;}
27157    
27158     rm -f "$tmp/stdin"
27159     case $ac_file in
27160     -) cat "$tmp/out" && rm -f "$tmp/out";;
27161     *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27162     esac \
27163     || as_fn_error "could not create $ac_file" "$LINENO" 5
27164     ;;
27165     :H)
27166     #
27167     # CONFIG_HEADER
27168     #
27169     if test x"$ac_file" != x-; then
27170     {
27171     $as_echo "/* $configure_input */" \
27172     && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27173     } >"$tmp/config.h" \
27174     || as_fn_error "could not create $ac_file" "$LINENO" 5
27175     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27176     { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27177     $as_echo "$as_me: $ac_file is unchanged" >&6;}
27178     else
27179     rm -f "$ac_file"
27180     mv "$tmp/config.h" "$ac_file" \
27181     || as_fn_error "could not create $ac_file" "$LINENO" 5
27182     fi
27183     else
27184     $as_echo "/* $configure_input */" \
27185     && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27186     || as_fn_error "could not create -" "$LINENO" 5
27187     fi
27188     # Compute "$ac_file"'s index in $config_headers.
27189     _am_arg="$ac_file"
27190     _am_stamp_count=1
27191     for _am_header in $config_headers :; do
27192     case $_am_header in
27193     $_am_arg | $_am_arg:* )
27194     break ;;
27195     * )
27196     _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27197     esac
27198     done
27199     echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27200     $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27201     X"$_am_arg" : 'X\(//\)[^/]' \| \
27202     X"$_am_arg" : 'X\(//\)$' \| \
27203     X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27204     $as_echo X"$_am_arg" |
27205     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27206     s//\1/
27207     q
27208     }
27209     /^X\(\/\/\)[^/].*/{
27210     s//\1/
27211     q
27212     }
27213     /^X\(\/\/\)$/{
27214     s//\1/
27215     q
27216     }
27217     /^X\(\/\).*/{
27218     s//\1/
27219     q
27220     }
27221     s/.*/./; q'`/stamp-h$_am_stamp_count
27222     ;;
27223    
27224     :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27225     $as_echo "$as_me: executing $ac_file commands" >&6;}
27226     ;;
27227     esac
27228    
27229    
27230     case $ac_file$ac_mode in
27231     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27232     # Autoconf 2.62 quotes --file arguments for eval, but not when files
27233     # are listed without --file. Let's play safe and only enable the eval
27234     # if we detect the quoting.
27235     case $CONFIG_FILES in
27236     *\'*) eval set x "$CONFIG_FILES" ;;
27237     *) set x $CONFIG_FILES ;;
27238     esac
27239     shift
27240     for mf
27241     do
27242     # Strip MF so we end up with the name of the file.
27243     mf=`echo "$mf" | sed -e 's/:.*$//'`
27244     # Check whether this is an Automake generated Makefile or not.
27245     # We used to match only the files named `Makefile.in', but
27246     # some people rename them; so instead we look at the file content.
27247     # Grep'ing the first line is not enough: some people post-process
27248     # each Makefile.in and add a new line on top of each file to say so.
27249     # Grep'ing the whole file is not good either: AIX grep has a line
27250     # limit of 2048, but all sed's we know have understand at least 4000.
27251     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27252     dirpart=`$as_dirname -- "$mf" ||
27253     $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27254     X"$mf" : 'X\(//\)[^/]' \| \
27255     X"$mf" : 'X\(//\)$' \| \
27256     X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27257     $as_echo X"$mf" |
27258     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27259     s//\1/
27260     q
27261     }
27262     /^X\(\/\/\)[^/].*/{
27263     s//\1/
27264     q
27265     }
27266     /^X\(\/\/\)$/{
27267     s//\1/
27268     q
27269     }
27270     /^X\(\/\).*/{
27271     s//\1/
27272     q
27273     }
27274     s/.*/./; q'`
27275     else
27276     continue
27277     fi
27278     # Extract the definition of DEPDIR, am__include, and am__quote
27279     # from the Makefile without running `make'.
27280     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27281     test -z "$DEPDIR" && continue
27282     am__include=`sed -n 's/^am__include = //p' < "$mf"`
27283     test -z "am__include" && continue
27284     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27285     # When using ansi2knr, U may be empty or an underscore; expand it
27286     U=`sed -n 's/^U = //p' < "$mf"`
27287     # Find all dependency output files, they are included files with
27288     # $(DEPDIR) in their names. We invoke sed twice because it is the
27289     # simplest approach to changing $(DEPDIR) to its actual value in the
27290     # expansion.
27291     for file in `sed -n "
27292     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27293     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27294     # Make sure the directory exists.
27295     test -f "$dirpart/$file" && continue
27296     fdir=`$as_dirname -- "$file" ||
27297     $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27298     X"$file" : 'X\(//\)[^/]' \| \
27299     X"$file" : 'X\(//\)$' \| \
27300     X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27301     $as_echo X"$file" |
27302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27303     s//\1/
27304     q
27305     }
27306     /^X\(\/\/\)[^/].*/{
27307     s//\1/
27308     q
27309     }
27310     /^X\(\/\/\)$/{
27311     s//\1/
27312     q
27313     }
27314     /^X\(\/\).*/{
27315     s//\1/
27316     q
27317     }
27318     s/.*/./; q'`
27319     as_dir=$dirpart/$fdir; as_fn_mkdir_p
27320     # echo "creating $dirpart/$file"
27321     echo '# dummy' > "$dirpart/$file"
27322     done
27323     done
27324     }
27325     ;;
27326     "libtool":C)
27327    
27328     # See if we are running on zsh, and set the options which allow our
27329     # commands through without removal of \ escapes.
27330     if test -n "${ZSH_VERSION+set}" ; then
27331     setopt NO_GLOB_SUBST
27332     fi
27333    
27334     cfgfile="${ofile}T"
27335     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27336     $RM "$cfgfile"
27337    
27338     cat <<_LT_EOF >> "$cfgfile"
27339     #! $SHELL
27340    
27341     # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27342     # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27343     # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27344     # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27345     #
27346     # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27347     # 2006, 2007, 2008 Free Software Foundation, Inc.
27348     # Written by Gordon Matzigkeit, 1996
27349     #
27350     # This file is part of GNU Libtool.
27351     #
27352     # GNU Libtool is free software; you can redistribute it and/or
27353     # modify it under the terms of the GNU General Public License as
27354     # published by the Free Software Foundation; either version 2 of
27355     # the License, or (at your option) any later version.
27356     #
27357     # As a special exception to the GNU General Public License,
27358     # if you distribute this file as part of a program or library that
27359     # is built using GNU Libtool, you may include this file under the
27360     # same distribution terms that you use for the rest of that program.
27361     #
27362     # GNU Libtool is distributed in the hope that it will be useful,
27363     # but WITHOUT ANY WARRANTY; without even the implied warranty of
27364     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27365     # GNU General Public License for more details.
27366     #
27367     # You should have received a copy of the GNU General Public License
27368     # along with GNU Libtool; see the file COPYING. If not, a copy
27369     # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27370     # obtained by writing to the Free Software Foundation, Inc.,
27371     # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27372    
27373    
27374     # The names of the tagged configurations supported by this script.
27375     available_tags="CXX "
27376    
27377     # ### BEGIN LIBTOOL CONFIG
27378    
27379     # Whether or not to build shared libraries.
27380     build_libtool_libs=$enable_shared
27381    
27382     # Whether or not to build static libraries.
27383     build_old_libs=$enable_static
27384    
27385     # Which release of libtool.m4 was used?
27386     macro_version=$macro_version
27387     macro_revision=$macro_revision
27388    
27389     # What type of objects to build.
27390     pic_mode=$pic_mode
27391    
27392     # Whether or not to optimize for fast installation.
27393     fast_install=$enable_fast_install
27394    
27395     # The host system.
27396     host_alias=$host_alias
27397     host=$host
27398     host_os=$host_os
27399    
27400     # The build system.
27401     build_alias=$build_alias
27402     build=$build
27403     build_os=$build_os
27404    
27405     # A sed program that does not truncate output.
27406     SED=$lt_SED
27407    
27408     # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27409     Xsed="\$SED -e 1s/^X//"
27410    
27411     # A grep program that handles long lines.
27412     GREP=$lt_GREP
27413    
27414     # An ERE matcher.
27415     EGREP=$lt_EGREP
27416    
27417     # A literal string matcher.
27418     FGREP=$lt_FGREP
27419    
27420     # A BSD- or MS-compatible name lister.
27421     NM=$lt_NM
27422    
27423     # Whether we need soft or hard links.
27424     LN_S=$lt_LN_S
27425    
27426     # What is the maximum length of a command?
27427     max_cmd_len=$max_cmd_len
27428    
27429     # Object file suffix (normally "o").
27430     objext=$ac_objext
27431    
27432     # Executable file suffix (normally "").
27433     exeext=$exeext
27434    
27435     # whether the shell understands "unset".
27436     lt_unset=$lt_unset
27437    
27438     # turn spaces into newlines.
27439     SP2NL=$lt_lt_SP2NL
27440    
27441     # turn newlines into spaces.
27442     NL2SP=$lt_lt_NL2SP
27443    
27444     # How to create reloadable object files.
27445     reload_flag=$lt_reload_flag
27446     reload_cmds=$lt_reload_cmds
27447    
27448     # An object symbol dumper.
27449     OBJDUMP=$lt_OBJDUMP
27450    
27451     # Method to check whether dependent libraries are shared objects.
27452     deplibs_check_method=$lt_deplibs_check_method
27453    
27454     # Command to use when deplibs_check_method == "file_magic".
27455     file_magic_cmd=$lt_file_magic_cmd
27456    
27457     # The archiver.
27458     AR=$lt_AR
27459     AR_FLAGS=$lt_AR_FLAGS
27460    
27461     # A symbol stripping program.
27462     STRIP=$lt_STRIP
27463    
27464     # Commands used to install an old-style archive.
27465     RANLIB=$lt_RANLIB
27466     old_postinstall_cmds=$lt_old_postinstall_cmds
27467     old_postuninstall_cmds=$lt_old_postuninstall_cmds
27468    
27469     # A C compiler.
27470     LTCC=$lt_CC
27471    
27472     # LTCC compiler flags.
27473     LTCFLAGS=$lt_CFLAGS
27474    
27475     # Take the output of nm and produce a listing of raw symbols and C names.
27476     global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27477    
27478     # Transform the output of nm in a proper C declaration.
27479     global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27480    
27481     # Transform the output of nm in a C name address pair.
27482     global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27483    
27484     # Transform the output of nm in a C name address pair when lib prefix is needed.
27485     global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27486    
27487     # The name of the directory that contains temporary libtool files.
27488     objdir=$objdir
27489    
27490     # Shell to use when invoking shell scripts.
27491     SHELL=$lt_SHELL
27492    
27493     # An echo program that does not interpret backslashes.
27494     ECHO=$lt_ECHO
27495    
27496     # Used to examine libraries when file_magic_cmd begins with "file".
27497     MAGIC_CMD=$MAGIC_CMD
27498    
27499     # Must we lock files when doing compilation?
27500     need_locks=$lt_need_locks
27501    
27502     # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27503     DSYMUTIL=$lt_DSYMUTIL
27504    
27505     # Tool to change global to local symbols on Mac OS X.
27506     NMEDIT=$lt_NMEDIT
27507    
27508     # Tool to manipulate fat objects and archives on Mac OS X.
27509     LIPO=$lt_LIPO
27510    
27511     # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27512     OTOOL=$lt_OTOOL
27513    
27514     # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27515     OTOOL64=$lt_OTOOL64
27516    
27517     # Old archive suffix (normally "a").
27518     libext=$libext
27519    
27520     # Shared library suffix (normally ".so").
27521     shrext_cmds=$lt_shrext_cmds
27522    
27523     # The commands to extract the exported symbol list from a shared archive.
27524     extract_expsyms_cmds=$lt_extract_expsyms_cmds
27525    
27526     # Variables whose values should be saved in libtool wrapper scripts and
27527     # restored at link time.
27528     variables_saved_for_relink=$lt_variables_saved_for_relink
27529    
27530     # Do we need the "lib" prefix for modules?
27531     need_lib_prefix=$need_lib_prefix
27532    
27533     # Do we need a version for libraries?
27534     need_version=$need_version
27535    
27536     # Library versioning type.
27537     version_type=$version_type
27538    
27539     # Shared library runtime path variable.
27540     runpath_var=$runpath_var
27541    
27542     # Shared library path variable.
27543     shlibpath_var=$shlibpath_var
27544    
27545     # Is shlibpath searched before the hard-coded library search path?
27546     shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27547    
27548     # Format of library name prefix.
27549     libname_spec=$lt_libname_spec
27550    
27551     # List of archive names. First name is the real one, the rest are links.
27552     # The last name is the one that the linker finds with -lNAME
27553     library_names_spec=$lt_library_names_spec
27554    
27555     # The coded name of the library, if different from the real name.
27556     soname_spec=$lt_soname_spec
27557    
27558     # Command to use after installation of a shared archive.
27559     postinstall_cmds=$lt_postinstall_cmds
27560    
27561     # Command to use after uninstallation of a shared archive.
27562     postuninstall_cmds=$lt_postuninstall_cmds
27563    
27564     # Commands used to finish a libtool library installation in a directory.
27565     finish_cmds=$lt_finish_cmds
27566    
27567     # As "finish_cmds", except a single script fragment to be evaled but
27568     # not shown.
27569     finish_eval=$lt_finish_eval
27570    
27571     # Whether we should hardcode library paths into libraries.
27572     hardcode_into_libs=$hardcode_into_libs
27573    
27574     # Compile-time system search path for libraries.
27575     sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27576    
27577     # Run-time system search path for libraries.
27578     sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27579    
27580     # Whether dlopen is supported.
27581     dlopen_support=$enable_dlopen
27582    
27583     # Whether dlopen of programs is supported.
27584     dlopen_self=$enable_dlopen_self
27585    
27586     # Whether dlopen of statically linked programs is supported.
27587     dlopen_self_static=$enable_dlopen_self_static
27588    
27589     # Commands to strip libraries.
27590     old_striplib=$lt_old_striplib
27591     striplib=$lt_striplib
27592    
27593    
27594     # The linker used to build libraries.
27595     LD=$lt_LD
27596    
27597     # Commands used to build an old-style archive.
27598     old_archive_cmds=$lt_old_archive_cmds
27599    
27600     # A language specific compiler.
27601     CC=$lt_compiler
27602    
27603     # Is the compiler the GNU compiler?
27604     with_gcc=$GCC
27605    
27606     # Compiler flag to turn off builtin functions.
27607     no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27608    
27609     # How to pass a linker flag through the compiler.
27610     wl=$lt_lt_prog_compiler_wl
27611    
27612     # Additional compiler flags for building library objects.
27613     pic_flag=$lt_lt_prog_compiler_pic
27614    
27615     # Compiler flag to prevent dynamic linking.
27616     link_static_flag=$lt_lt_prog_compiler_static
27617    
27618     # Does compiler simultaneously support -c and -o options?
27619     compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27620    
27621     # Whether or not to add -lc for building shared libraries.
27622     build_libtool_need_lc=$archive_cmds_need_lc
27623    
27624     # Whether or not to disallow shared libs when runtime libs are static.
27625     allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27626    
27627     # Compiler flag to allow reflexive dlopens.
27628     export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27629    
27630     # Compiler flag to generate shared objects directly from archives.
27631     whole_archive_flag_spec=$lt_whole_archive_flag_spec
27632    
27633     # Whether the compiler copes with passing no objects directly.
27634     compiler_needs_object=$lt_compiler_needs_object
27635    
27636     # Create an old-style archive from a shared archive.
27637     old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27638    
27639     # Create a temporary old-style archive to link instead of a shared archive.
27640     old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27641    
27642     # Commands used to build a shared archive.
27643     archive_cmds=$lt_archive_cmds
27644     archive_expsym_cmds=$lt_archive_expsym_cmds
27645    
27646     # Commands used to build a loadable module if different from building
27647     # a shared archive.
27648     module_cmds=$lt_module_cmds
27649     module_expsym_cmds=$lt_module_expsym_cmds
27650    
27651     # Whether we are building with GNU ld or not.
27652     with_gnu_ld=$lt_with_gnu_ld
27653    
27654     # Flag that allows shared libraries with undefined symbols to be built.
27655     allow_undefined_flag=$lt_allow_undefined_flag
27656    
27657     # Flag that enforces no undefined symbols.
27658     no_undefined_flag=$lt_no_undefined_flag
27659    
27660     # Flag to hardcode \$libdir into a binary during linking.
27661     # This must work even if \$libdir does not exist
27662     hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27663    
27664     # If ld is used when linking, flag to hardcode \$libdir into a binary
27665     # during linking. This must work even if \$libdir does not exist.
27666     hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27667    
27668     # Whether we need a single "-rpath" flag with a separated argument.
27669     hardcode_libdir_separator=$lt_hardcode_libdir_separator
27670    
27671     # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27672     # DIR into the resulting binary.
27673     hardcode_direct=$hardcode_direct
27674    
27675     # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27676     # DIR into the resulting binary and the resulting library dependency is
27677     # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27678     # library is relocated.
27679     hardcode_direct_absolute=$hardcode_direct_absolute
27680    
27681     # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27682     # into the resulting binary.
27683     hardcode_minus_L=$hardcode_minus_L
27684    
27685     # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27686     # into the resulting binary.
27687     hardcode_shlibpath_var=$hardcode_shlibpath_var
27688    
27689     # Set to "yes" if building a shared library automatically hardcodes DIR
27690     # into the library and all subsequent libraries and executables linked
27691     # against it.
27692     hardcode_automatic=$hardcode_automatic
27693    
27694     # Set to yes if linker adds runtime paths of dependent libraries
27695     # to runtime path list.
27696     inherit_rpath=$inherit_rpath
27697    
27698     # Whether libtool must link a program against all its dependency libraries.
27699     link_all_deplibs=$link_all_deplibs
27700    
27701     # Fix the shell variable \$srcfile for the compiler.
27702     fix_srcfile_path=$lt_fix_srcfile_path
27703    
27704     # Set to "yes" if exported symbols are required.
27705     always_export_symbols=$always_export_symbols
27706    
27707     # The commands to list exported symbols.
27708     export_symbols_cmds=$lt_export_symbols_cmds
27709    
27710     # Symbols that should not be listed in the preloaded symbols.
27711     exclude_expsyms=$lt_exclude_expsyms
27712    
27713     # Symbols that must always be exported.
27714     include_expsyms=$lt_include_expsyms
27715    
27716     # Commands necessary for linking programs (against libraries) with templates.
27717     prelink_cmds=$lt_prelink_cmds
27718    
27719     # Specify filename containing input files.
27720     file_list_spec=$lt_file_list_spec
27721    
27722     # How to hardcode a shared library path into an executable.
27723     hardcode_action=$hardcode_action
27724    
27725     # The directories searched by this compiler when creating a shared library.
27726     compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27727    
27728     # Dependencies to place before and after the objects being linked to
27729     # create a shared library.
27730     predep_objects=$lt_predep_objects
27731     postdep_objects=$lt_postdep_objects
27732     predeps=$lt_predeps
27733     postdeps=$lt_postdeps
27734    
27735     # The library search path used internally by the compiler when linking
27736     # a shared library.
27737     compiler_lib_search_path=$lt_compiler_lib_search_path
27738    
27739     # ### END LIBTOOL CONFIG
27740    
27741     _LT_EOF
27742    
27743     case $host_os in
27744     aix3*)
27745     cat <<\_LT_EOF >> "$cfgfile"
27746     # AIX sometimes has problems with the GCC collect2 program. For some
27747     # reason, if we set the COLLECT_NAMES environment variable, the problems
27748     # vanish in a puff of smoke.
27749     if test "X${COLLECT_NAMES+set}" != Xset; then
27750     COLLECT_NAMES=
27751     export COLLECT_NAMES
27752     fi
27753     _LT_EOF
27754     ;;
27755     esac
27756    
27757    
27758     ltmain="$ac_aux_dir/ltmain.sh"
27759    
27760    
27761     # We use sed instead of cat because bash on DJGPP gets confused if
27762     # if finds mixed CR/LF and LF-only lines. Since sed operates in
27763     # text mode, it properly converts lines to CR/LF. This bash problem
27764     # is reportedly fixed, but why not run on old versions too?
27765     sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27766     || (rm -f "$cfgfile"; exit 1)
27767    
27768     case $xsi_shell in
27769     yes)
27770     cat << \_LT_EOF >> "$cfgfile"
27771    
27772     # func_dirname file append nondir_replacement
27773     # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27774     # otherwise set result to NONDIR_REPLACEMENT.
27775     func_dirname ()
27776     {
27777     case ${1} in
27778     */*) func_dirname_result="${1%/*}${2}" ;;
27779     * ) func_dirname_result="${3}" ;;
27780     esac
27781     }
27782    
27783     # func_basename file
27784     func_basename ()
27785     {
27786     func_basename_result="${1##*/}"
27787     }
27788    
27789     # func_dirname_and_basename file append nondir_replacement
27790     # perform func_basename and func_dirname in a single function
27791     # call:
27792     # dirname: Compute the dirname of FILE. If nonempty,
27793     # add APPEND to the result, otherwise set result
27794     # to NONDIR_REPLACEMENT.
27795     # value returned in "$func_dirname_result"
27796     # basename: Compute filename of FILE.
27797     # value retuned in "$func_basename_result"
27798     # Implementation must be kept synchronized with func_dirname
27799     # and func_basename. For efficiency, we do not delegate to
27800     # those functions but instead duplicate the functionality here.
27801     func_dirname_and_basename ()
27802     {
27803     case ${1} in
27804     */*) func_dirname_result="${1%/*}${2}" ;;
27805     * ) func_dirname_result="${3}" ;;
27806     esac
27807     func_basename_result="${1##*/}"
27808     }
27809    
27810     # func_stripname prefix suffix name
27811     # strip PREFIX and SUFFIX off of NAME.
27812     # PREFIX and SUFFIX must not contain globbing or regex special
27813     # characters, hashes, percent signs, but SUFFIX may contain a leading
27814     # dot (in which case that matches only a dot).
27815     func_stripname ()
27816     {
27817     # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27818     # positional parameters, so assign one to ordinary parameter first.
27819     func_stripname_result=${3}
27820     func_stripname_result=${func_stripname_result#"${1}"}
27821     func_stripname_result=${func_stripname_result%"${2}"}
27822     }
27823    
27824     # func_opt_split
27825     func_opt_split ()
27826     {
27827     func_opt_split_opt=${1%%=*}
27828     func_opt_split_arg=${1#*=}
27829     }
27830    
27831     # func_lo2o object
27832     func_lo2o ()
27833     {
27834     case ${1} in
27835     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27836     *) func_lo2o_result=${1} ;;
27837     esac
27838     }
27839    
27840     # func_xform libobj-or-source
27841     func_xform ()
27842     {
27843     func_xform_result=${1%.*}.lo
27844     }
27845    
27846     # func_arith arithmetic-term...
27847     func_arith ()
27848     {
27849     func_arith_result=$(( $* ))
27850     }
27851    
27852     # func_len string
27853     # STRING may not start with a hyphen.
27854     func_len ()
27855     {
27856     func_len_result=${#1}
27857     }
27858    
27859     _LT_EOF
27860     ;;
27861     *) # Bourne compatible functions.
27862     cat << \_LT_EOF >> "$cfgfile"
27863    
27864     # func_dirname file append nondir_replacement
27865     # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27866     # otherwise set result to NONDIR_REPLACEMENT.
27867     func_dirname ()
27868     {
27869     # Extract subdirectory from the argument.
27870     func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27871     if test "X$func_dirname_result" = "X${1}"; then
27872     func_dirname_result="${3}"
27873     else
27874     func_dirname_result="$func_dirname_result${2}"
27875     fi
27876     }
27877    
27878     # func_basename file
27879     func_basename ()
27880     {
27881     func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
27882     }
27883    
27884    
27885     # func_stripname prefix suffix name
27886     # strip PREFIX and SUFFIX off of NAME.
27887     # PREFIX and SUFFIX must not contain globbing or regex special
27888     # characters, hashes, percent signs, but SUFFIX may contain a leading
27889     # dot (in which case that matches only a dot).
27890     # func_strip_suffix prefix name
27891     func_stripname ()
27892     {
27893     case ${2} in
27894     .*) func_stripname_result=`$ECHO "X${3}" \
27895     | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27896     *) func_stripname_result=`$ECHO "X${3}" \
27897     | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27898     esac
27899     }
27900    
27901     # sed scripts:
27902     my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27903     my_sed_long_arg='1s/^-[^=]*=//'
27904    
27905     # func_opt_split
27906     func_opt_split ()
27907     {
27908     func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27909     func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27910     }
27911    
27912     # func_lo2o object
27913     func_lo2o ()
27914     {
27915     func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27916     }
27917    
27918     # func_xform libobj-or-source
27919     func_xform ()
27920     {
27921     func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
27922     }
27923    
27924     # func_arith arithmetic-term...
27925     func_arith ()
27926     {
27927     func_arith_result=`expr "$@"`
27928     }
27929    
27930     # func_len string
27931     # STRING may not start with a hyphen.
27932     func_len ()
27933     {
27934     func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27935     }
27936    
27937     _LT_EOF
27938     esac
27939    
27940     case $lt_shell_append in
27941     yes)
27942     cat << \_LT_EOF >> "$cfgfile"
27943    
27944     # func_append var value
27945     # Append VALUE to the end of shell variable VAR.
27946     func_append ()
27947     {
27948     eval "$1+=\$2"
27949     }
27950     _LT_EOF
27951     ;;
27952     *)
27953     cat << \_LT_EOF >> "$cfgfile"
27954    
27955     # func_append var value
27956     # Append VALUE to the end of shell variable VAR.
27957     func_append ()
27958     {
27959     eval "$1=\$$1\$2"
27960     }
27961    
27962     _LT_EOF
27963     ;;
27964     esac
27965    
27966    
27967     sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27968     || (rm -f "$cfgfile"; exit 1)
27969    
27970     mv -f "$cfgfile" "$ofile" ||
27971     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27972     chmod +x "$ofile"
27973    
27974    
27975     cat <<_LT_EOF >> "$ofile"
27976    
27977     # ### BEGIN LIBTOOL TAG CONFIG: CXX
27978    
27979     # The linker used to build libraries.
27980     LD=$lt_LD_CXX
27981    
27982     # Commands used to build an old-style archive.
27983     old_archive_cmds=$lt_old_archive_cmds_CXX
27984    
27985     # A language specific compiler.
27986     CC=$lt_compiler_CXX
27987    
27988     # Is the compiler the GNU compiler?
27989     with_gcc=$GCC_CXX
27990    
27991     # Compiler flag to turn off builtin functions.
27992     no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27993    
27994     # How to pass a linker flag through the compiler.
27995     wl=$lt_lt_prog_compiler_wl_CXX
27996    
27997     # Additional compiler flags for building library objects.
27998     pic_flag=$lt_lt_prog_compiler_pic_CXX
27999    
28000     # Compiler flag to prevent dynamic linking.
28001     link_static_flag=$lt_lt_prog_compiler_static_CXX
28002    
28003     # Does compiler simultaneously support -c and -o options?
28004     compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28005    
28006     # Whether or not to add -lc for building shared libraries.
28007     build_libtool_need_lc=$archive_cmds_need_lc_CXX
28008    
28009     # Whether or not to disallow shared libs when runtime libs are static.
28010     allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28011    
28012     # Compiler flag to allow reflexive dlopens.
28013     export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28014    
28015     # Compiler flag to generate shared objects directly from archives.
28016     whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28017    
28018     # Whether the compiler copes with passing no objects directly.
28019     compiler_needs_object=$lt_compiler_needs_object_CXX
28020    
28021     # Create an old-style archive from a shared archive.
28022     old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28023    
28024     # Create a temporary old-style archive to link instead of a shared archive.
28025     old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28026    
28027     # Commands used to build a shared archive.
28028     archive_cmds=$lt_archive_cmds_CXX
28029     archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28030    
28031     # Commands used to build a loadable module if different from building
28032     # a shared archive.
28033     module_cmds=$lt_module_cmds_CXX
28034     module_expsym_cmds=$lt_module_expsym_cmds_CXX
28035    
28036     # Whether we are building with GNU ld or not.
28037     with_gnu_ld=$lt_with_gnu_ld_CXX
28038    
28039     # Flag that allows shared libraries with undefined symbols to be built.
28040     allow_undefined_flag=$lt_allow_undefined_flag_CXX
28041    
28042     # Flag that enforces no undefined symbols.
28043     no_undefined_flag=$lt_no_undefined_flag_CXX
28044    
28045     # Flag to hardcode \$libdir into a binary during linking.
28046     # This must work even if \$libdir does not exist
28047     hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28048    
28049     # If ld is used when linking, flag to hardcode \$libdir into a binary
28050     # during linking. This must work even if \$libdir does not exist.
28051     hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
28052    
28053     # Whether we need a single "-rpath" flag with a separated argument.
28054     hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28055    
28056     # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28057     # DIR into the resulting binary.
28058     hardcode_direct=$hardcode_direct_CXX
28059    
28060     # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28061     # DIR into the resulting binary and the resulting library dependency is
28062     # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28063     # library is relocated.
28064     hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28065    
28066     # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28067     # into the resulting binary.
28068     hardcode_minus_L=$hardcode_minus_L_CXX
28069    
28070     # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28071     # into the resulting binary.
28072     hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28073    
28074     # Set to "yes" if building a shared library automatically hardcodes DIR
28075     # into the library and all subsequent libraries and executables linked
28076     # against it.
28077     hardcode_automatic=$hardcode_automatic_CXX
28078    
28079     # Set to yes if linker adds runtime paths of dependent libraries
28080     # to runtime path list.
28081     inherit_rpath=$inherit_rpath_CXX
28082    
28083     # Whether libtool must link a program against all its dependency libraries.
28084     link_all_deplibs=$link_all_deplibs_CXX
28085    
28086     # Fix the shell variable \$srcfile for the compiler.
28087     fix_srcfile_path=$lt_fix_srcfile_path_CXX
28088    
28089     # Set to "yes" if exported symbols are required.
28090     always_export_symbols=$always_export_symbols_CXX
28091    
28092     # The commands to list exported symbols.
28093     export_symbols_cmds=$lt_export_symbols_cmds_CXX
28094    
28095     # Symbols that should not be listed in the preloaded symbols.
28096     exclude_expsyms=$lt_exclude_expsyms_CXX
28097    
28098     # Symbols that must always be exported.
28099     include_expsyms=$lt_include_expsyms_CXX
28100    
28101     # Commands necessary for linking programs (against libraries) with templates.
28102     prelink_cmds=$lt_prelink_cmds_CXX
28103    
28104     # Specify filename containing input files.
28105     file_list_spec=$lt_file_list_spec_CXX
28106    
28107     # How to hardcode a shared library path into an executable.
28108     hardcode_action=$hardcode_action_CXX
28109    
28110     # The directories searched by this compiler when creating a shared library.
28111     compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28112    
28113     # Dependencies to place before and after the objects being linked to
28114     # create a shared library.
28115     predep_objects=$lt_predep_objects_CXX
28116     postdep_objects=$lt_postdep_objects_CXX
28117     predeps=$lt_predeps_CXX
28118     postdeps=$lt_postdeps_CXX
28119    
28120     # The library search path used internally by the compiler when linking
28121     # a shared library.
28122     compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28123    
28124     # ### END LIBTOOL TAG CONFIG: CXX
28125     _LT_EOF
28126    
28127     ;;
28128     "default-1":C)
28129     for ac_file in $CONFIG_FILES; do
28130     # Support "outfile[:infile[:infile...]]"
28131     case "$ac_file" in
28132     *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
28133     esac
28134     # PO directories have a Makefile.in generated from Makefile.in.in.
28135     case "$ac_file" in */Makefile.in)
28136     # Adjust a relative srcdir.
28137     ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
28138     ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
28139     ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
28140     # In autoconf-2.13 it is called $ac_given_srcdir.
28141     # In autoconf-2.50 it is called $srcdir.
28142     test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
28143     case "$ac_given_srcdir" in
28144     .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
28145     /*) top_srcdir="$ac_given_srcdir" ;;
28146     *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
28147     esac
28148     if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
28149     rm -f "$ac_dir/POTFILES"
28150     test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
28151     cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
28152     POMAKEFILEDEPS="POTFILES.in"
28153     # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
28154     # on $ac_dir but don't depend on user-specified configuration
28155     # parameters.
28156     if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
28157     # The LINGUAS file contains the set of available languages.
28158     if test -n "$OBSOLETE_ALL_LINGUAS"; then
28159     test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
28160     fi
28161     ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
28162     # Hide the ALL_LINGUAS assigment from automake.
28163     eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
28164     POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
28165     else
28166     # The set of available languages was given in configure.in.
28167     eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
28168     fi
28169     # Compute POFILES
28170     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
28171     # Compute UPDATEPOFILES
28172     # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
28173     # Compute DUMMYPOFILES
28174     # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
28175     # Compute GMOFILES
28176     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
28177     case "$ac_given_srcdir" in
28178     .) srcdirpre= ;;
28179     *) srcdirpre='$(srcdir)/' ;;
28180     esac
28181     POFILES=
28182     UPDATEPOFILES=
28183     DUMMYPOFILES=
28184     GMOFILES=
28185     for lang in $ALL_LINGUAS; do
28186     POFILES="$POFILES $srcdirpre$lang.po"
28187     UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
28188     DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
28189     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
28190     done
28191     # CATALOGS depends on both $ac_dir and the user's LINGUAS
28192     # environment variable.
28193     INST_LINGUAS=
28194     if test -n "$ALL_LINGUAS"; then
28195     for presentlang in $ALL_LINGUAS; do
28196     useit=no
28197     if test "%UNSET%" != "$LINGUAS"; then
28198     desiredlanguages="$LINGUAS"
28199     else
28200     desiredlanguages="$ALL_LINGUAS"
28201     fi
28202     for desiredlang in $desiredlanguages; do
28203     # Use the presentlang catalog if desiredlang is
28204     # a. equal to presentlang, or
28205     # b. a variant of presentlang (because in this case,
28206     # presentlang can be used as a fallback for messages
28207     # which are not translated in the desiredlang catalog).
28208     case "$desiredlang" in
28209     "$presentlang"*) useit=yes;;
28210     esac
28211     done
28212     if test $useit = yes; then
28213     INST_LINGUAS="$INST_LINGUAS $presentlang"
28214     fi
28215     done
28216     fi
28217     CATALOGS=
28218     if test -n "$INST_LINGUAS"; then
28219     for lang in $INST_LINGUAS; do
28220     CATALOGS="$CATALOGS $lang.gmo"
28221     done
28222     fi
28223     test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
28224     sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
28225     for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
28226     if test -f "$f"; then
28227     case "$f" in
28228     *.orig | *.bak | *~) ;;
28229     *) cat "$f" >> "$ac_dir/Makefile" ;;
28230     esac
28231     fi
28232     done
28233     fi
28234     ;;
28235     esac
28236     done ;;
28237    
28238     esac
28239     done # for ac_tag
28240    
28241    
28242     as_fn_exit 0
28243     _ACEOF
28244     ac_clean_files=$ac_clean_files_save
28245    
28246     test $ac_write_fail = 0 ||
28247     as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28248    
28249    
28250     # configure is writing to config.log, and then calls config.status.
28251     # config.status does its own redirection, appending to config.log.
28252     # Unfortunately, on DOS this fails, as config.log is still kept open
28253     # by configure, so config.status won't be able to write to it; its
28254     # output is simply discarded. So we exec the FD to /dev/null,
28255     # effectively closing config.log, so it can be properly (re)opened and
28256     # appended to by config.status. When coming back to configure, we
28257     # need to make the FD available again.
28258     if test "$no_create" != yes; then
28259     ac_cs_success=:
28260     ac_config_status_args=
28261     test "$silent" = yes &&
28262     ac_config_status_args="$ac_config_status_args --quiet"
28263     exec 5>/dev/null
28264     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28265     exec 5>>config.log
28266     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28267     # would make configure fail if this is the last instruction.
28268     $ac_cs_success || as_fn_exit $?
28269     fi
28270     if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28271     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28272     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28273     fi
28274    
28275    
28276    
28277     echo ""
28278     echo ""
28279     echo "Summary of your installation :"
28280     # FIXME : maybe elaborate missing dependencies
28281     if test x"$graphics_sdl" != xyes
28282     then
28283     sdl_failures="(libsdl maybe?) "
28284     fi
28285     if test x"$glut" != xyes
28286     then
28287     sdl_failures=$sdl_failures"glut "
28288     fi
28289     if test x"$glc" != xyes
28290     then
28291     sdl_failures=$sdl_failures"quesoglc "
28292     fi
28293     if test -z "$sdl_failures"
28294     then
28295     echo "OpenGL gui : ENABLED, with $CEGUI_LIBS"
28296     else
28297     echo "OpenGL gui : DISABLED : you are missing $sdl_failures"
28298     fi
28299     if test x"$enable_hildon" = xyes
28300     then
28301     echo "Maemo/Hildon: ENABLED"
28302     else
28303     echo "Maemo/Hildon: DISABLED"
28304     fi
28305     if test x"$enable_osso" = xyes
28306     then
28307     echo "Maemo/OSSO: ENABLED"
28308     else
28309     echo "Maemo/OSSO: DISABLED"
28310     fi
28311     if test x"${USE_GARMIN}" = xyes
28312     then
28313     if test "x$use_libgarmin" = "xyes"
28314     then
28315     echo "Garmin IMG : ENABLED"
28316     else
28317     echo "Garmin IMG : DISABLED (you don't have libgarmin)"
28318     fi
28319     else
28320     echo "Garmin IMG : DISABLED (you requested it)"
28321     fi
28322    
28323     if test x"$LIBINTL" = "x" ;then
28324     nls_libs="system gettext support"
28325     else
28326     nls_libs="$LIBINTL"
28327     fi
28328     echo "Plugins: $plugins ($plugins_reason)"
28329     echo "Postgresql: $postgresql ($postgresql_reason)"
28330     echo "Samplemap: $samplemap ($samplemap_reason)"
28331     echo "NLS Support: $enable_nls ($nls_libs)"
28332     echo "Routing: $routing ($routing_reason)"
28333     echo "Font renderers:"
28334     echo " freetype: $font_freetype ($font_freetype_reason)"
28335     echo " FriBidi enabled: $fribidi ($fribidi_reason)"
28336    
28337     echo "Graphics types: $graphics ($graphics_reason)"
28338     echo " android: $graphics_android ($graphics_android_reason)"
28339     echo " gtk_drawing_area: $graphics_gtk_drawing_area ($graphics_gtk_drawing_area_reason)"
28340     echo " null: $graphics_null ($graphics_null_reason)"
28341     echo " qt_qpainter: $graphics_qt_qpainter ($graphics_qt_qpainter_reason)"
28342     echo " win32: $graphics_win32 ($graphics_win32_reason)"
28343     echo " OpenGL: $graphics_opengl ($graphics_opengl_reason)"
28344     echo " gd: $graphics_gd ($graphics_gd_reason)"
28345     echo " sdl: $graphics_sdl ($graphics_sdl_reason)"
28346    
28347     echo "GUI types:"
28348     echo " gtk: $gui_gtk ($gui_gtk_reason)"
28349     echo " internal: $gui_internal ($gui_internal_reason)"
28350     echo " win32: $gui_win32 ($gui_win32_reason)"
28351     echo " qml: $gui_qml ($gui_qml_reason)"
28352    
28353     echo "Map types:"
28354     echo " binfile: $map_binfile ($map_binfile_reason)"
28355     echo " filter: $map_filter ($map_filter_reason)"
28356     echo " mg: $map_mg ($map_mg_reason)"
28357     echo " shapefile: $map_shapefile ($map_shapefile_reason)"
28358     echo " textfile: $map_textfile ($map_textfile_reason)"
28359     echo " csv: $map_csv ($map_csv_reason)"
28360    
28361    
28362     echo "Bindings:"
28363     echo " dbus: $binding_dbus ($binding_dbus_reason)"
28364     echo " python: $binding_python ($binding_python_reason)"
28365    
28366     echo "OSD types:"
28367     echo " core: $osd_core ($osd_core_reason)"
28368    
28369     echo "Plugins:"
28370     echo " pedestrian: $plugin_pedestrian ($plugin_pedestrian_reason)"
28371    
28372     echo "Speech types:"
28373     echo " android: $speech_android ($speech_android_reason)"
28374     echo " cmdline: $speech_cmdline ($speech_cmdline_reason)"
28375     echo " dbus: $speech_dbus ($speech_dbus_reason)"
28376     echo " espeak: $speech_espeak ($speech_espeak_reason)"
28377     echo " speech_dispatcher: $speech_speech_dispatcher ($speech_speech_dispatcher_reason)"
28378    
28379     echo "Vehicle types:"
28380     echo " android: $vehicle_android ($vehicle_android_reason)"
28381     echo " demo: $vehicle_demo ($vehicle_demo_reason)"
28382     echo " file: $vehicle_file ($vehicle_file_reason)"
28383     echo " gpsd: $vehicle_gpsd ($vehicle_gpsd_reason)"
28384     echo " gpsd_dbus: $vehicle_gpsd_dbus ($vehicle_gpsd_dbus_reason)"
28385     echo " gypsy: $vehicle_gypsy ($vehicle_gypsy_reason)"
28386     echo " maemo: $vehicle_maemo ($vehicle_maemo_reason)"
28387     echo " null: $vehicle_null ($vehicle_null_reason)"
28388     echo " wince: $vehicle_wince ($vehicle_wince_reason)"
28389     echo " iphone: $vehicle_iphone ($vehicle_iphone_reason)"
28390     echo " webos: $vehicle_webos ($vehicle_webos_reason)"
28391    
28392     if test "x${gtk2_pkgconfig}" != "xyes" -a "x${gui_win32}" != "xyes" -a "x${gui_internal}" != "xyes" -a "x${gui_qml}" != "xyes"
28393     then
28394     echo ""
28395     echo ""
28396     echo "*** WARNING! you have no gui that can be built! ***"
28397     echo "Please install the dependency for at least gtk or sdl gui"
28398     echo "For more details, see the wiki at http://wiki.navit-project.org/"
28399     echo ""
28400     fi
28401    

Properties

Name Value
svn:executable *

   
Visit the ZANavi Wiki