[Title] update spec file for glib-networking_2.32.3
[external/glib-networking.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for glib-networking 2.32.3.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='glib-networking'
573 PACKAGE_TARNAME='glib-networking'
574 PACKAGE_VERSION='2.32.3'
575 PACKAGE_STRING='glib-networking 2.32.3'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network'
577 PACKAGE_URL=''
578
579 ac_unique_file="proxy/libproxy/glibproxyresolver.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 LTP_GENHTML
621 LTP
622 HAVE_PKCS11_FALSE
623 HAVE_PKCS11_TRUE
624 PKCS11_LIBS
625 PKCS11_CFLAGS
626 HAVE_GNUTLS_FALSE
627 HAVE_GNUTLS_TRUE
628 GNUTLS_LIBS
629 GNUTLS_CFLAGS
630 HAVE_GNOME_PROXY_FALSE
631 HAVE_GNOME_PROXY_TRUE
632 GSETTINGS_DESKTOP_SCHEMAS_LIBS
633 GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
634 HAVE_LIBPROXY_FALSE
635 HAVE_LIBPROXY_TRUE
636 LIBPROXY_LIBS
637 LIBPROXY_CFLAGS
638 GIO_QUERYMODULES
639 GIO_MODULE_DIR
640 GLIB_COMPILE_RESOURCES
641 GLIB_MKENUMS
642 GOBJECT_QUERY
643 GLIB_GENMARSHAL
644 GLIB_LIBS
645 GLIB_CFLAGS
646 PKG_CONFIG_LIBDIR
647 PKG_CONFIG_PATH
648 PKG_CONFIG
649 MKINSTALLDIRS
650 POSUB
651 POFILES
652 PO_IN_DATADIR_FALSE
653 PO_IN_DATADIR_TRUE
654 INTLLIBS
655 INSTOBJEXT
656 GMOFILES
657 CATOBJEXT
658 CATALOGS
659 MSGFMT_OPTS
660 GETTEXT_PACKAGE
661 DATADIRNAME
662 ALL_LINGUAS
663 INTLTOOL_PERL
664 GMSGFMT
665 MSGFMT
666 MSGMERGE
667 XGETTEXT
668 INTLTOOL_POLICY_RULE
669 INTLTOOL_SERVICE_RULE
670 INTLTOOL_THEME_RULE
671 INTLTOOL_SCHEMAS_RULE
672 INTLTOOL_CAVES_RULE
673 INTLTOOL_XML_NOMERGE_RULE
674 INTLTOOL_XML_RULE
675 INTLTOOL_KBD_RULE
676 INTLTOOL_XAM_RULE
677 INTLTOOL_UI_RULE
678 INTLTOOL_SOUNDLIST_RULE
679 INTLTOOL_SHEET_RULE
680 INTLTOOL_SERVER_RULE
681 INTLTOOL_PONG_RULE
682 INTLTOOL_OAF_RULE
683 INTLTOOL_PROP_RULE
684 INTLTOOL_KEYS_RULE
685 INTLTOOL_DIRECTORY_RULE
686 INTLTOOL_DESKTOP_RULE
687 intltool__v_merge_options_0
688 intltool__v_merge_options_
689 INTLTOOL_V_MERGE_OPTIONS
690 INTLTOOL__v_MERGE_0
691 INTLTOOL__v_MERGE_
692 INTLTOOL_V_MERGE
693 INTLTOOL_EXTRACT
694 INTLTOOL_MERGE
695 INTLTOOL_UPDATE
696 USE_NLS
697 CPP
698 OTOOL64
699 OTOOL
700 LIPO
701 NMEDIT
702 DSYMUTIL
703 MANIFEST_TOOL
704 RANLIB
705 ac_ct_AR
706 AR
707 DLLTOOL
708 OBJDUMP
709 LN_S
710 NM
711 ac_ct_DUMPBIN
712 DUMPBIN
713 LD
714 FGREP
715 EGREP
716 GREP
717 SED
718 am__fastdepCC_FALSE
719 am__fastdepCC_TRUE
720 CCDEPMODE
721 am__nodep
722 AMDEPBACKSLASH
723 AMDEP_FALSE
724 AMDEP_TRUE
725 am__quote
726 am__include
727 DEPDIR
728 OBJEXT
729 EXEEXT
730 ac_ct_CC
731 CPPFLAGS
732 LDFLAGS
733 CFLAGS
734 CC
735 host_os
736 host_vendor
737 host_cpu
738 host
739 build_os
740 build_vendor
741 build_cpu
742 build
743 LIBTOOL
744 AM_BACKSLASH
745 AM_DEFAULT_VERBOSITY
746 AM_DEFAULT_V
747 AM_V
748 MAINT
749 MAINTAINER_MODE_FALSE
750 MAINTAINER_MODE_TRUE
751 am__untar
752 am__tar
753 AMTAR
754 am__leading_dot
755 SET_MAKE
756 AWK
757 mkdir_p
758 MKDIR_P
759 INSTALL_STRIP_PROGRAM
760 STRIP
761 install_sh
762 MAKEINFO
763 AUTOHEADER
764 AUTOMAKE
765 AUTOCONF
766 ACLOCAL
767 VERSION
768 PACKAGE
769 CYGPATH_W
770 am__isrc
771 INSTALL_DATA
772 INSTALL_SCRIPT
773 INSTALL_PROGRAM
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_maintainer_mode
816 enable_silent_rules
817 enable_shared
818 enable_static
819 with_pic
820 enable_fast_install
821 enable_dependency_tracking
822 with_gnu_ld
823 with_sysroot
824 enable_libtool_lock
825 enable_nls
826 enable_glibtest
827 with_libproxy
828 with_gnome_proxy
829 with_gnutls
830 with_ca_certificates
831 with_pkcs11
832 enable_gcov
833 enable_more_warnings
834 '
835       ac_precious_vars='build_alias
836 host_alias
837 target_alias
838 CC
839 CFLAGS
840 LDFLAGS
841 LIBS
842 CPPFLAGS
843 CPP
844 PKG_CONFIG
845 PKG_CONFIG_PATH
846 PKG_CONFIG_LIBDIR
847 LIBPROXY_CFLAGS
848 LIBPROXY_LIBS
849 GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
850 GSETTINGS_DESKTOP_SCHEMAS_LIBS
851 GNUTLS_CFLAGS
852 GNUTLS_LIBS
853 PKCS11_CFLAGS
854 PKCS11_LIBS'
855
856
857 # Initialize some variables set by options.
858 ac_init_help=
859 ac_init_version=false
860 ac_unrecognized_opts=
861 ac_unrecognized_sep=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
864 cache_file=/dev/null
865 exec_prefix=NONE
866 no_create=
867 no_recursion=
868 prefix=NONE
869 program_prefix=NONE
870 program_suffix=NONE
871 program_transform_name=s,x,x,
872 silent=
873 site=
874 srcdir=
875 verbose=
876 x_includes=NONE
877 x_libraries=NONE
878
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir='${exec_prefix}/bin'
886 sbindir='${exec_prefix}/sbin'
887 libexecdir='${exec_prefix}/libexec'
888 datarootdir='${prefix}/share'
889 datadir='${datarootdir}'
890 sysconfdir='${prefix}/etc'
891 sharedstatedir='${prefix}/com'
892 localstatedir='${prefix}/var'
893 includedir='${prefix}/include'
894 oldincludedir='/usr/include'
895 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
896 infodir='${datarootdir}/info'
897 htmldir='${docdir}'
898 dvidir='${docdir}'
899 pdfdir='${docdir}'
900 psdir='${docdir}'
901 libdir='${exec_prefix}/lib'
902 localedir='${datarootdir}/locale'
903 mandir='${datarootdir}/man'
904
905 ac_prev=
906 ac_dashdash=
907 for ac_option
908 do
909   # If the previous option needs an argument, assign it.
910   if test -n "$ac_prev"; then
911     eval $ac_prev=\$ac_option
912     ac_prev=
913     continue
914   fi
915
916   case $ac_option in
917   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918   *=)   ac_optarg= ;;
919   *)    ac_optarg=yes ;;
920   esac
921
922   # Accept the important Cygnus configure options, so we can diagnose typos.
923
924   case $ac_dashdash$ac_option in
925   --)
926     ac_dashdash=yes ;;
927
928   -bindir | --bindir | --bindi | --bind | --bin | --bi)
929     ac_prev=bindir ;;
930   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931     bindir=$ac_optarg ;;
932
933   -build | --build | --buil | --bui | --bu)
934     ac_prev=build_alias ;;
935   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936     build_alias=$ac_optarg ;;
937
938   -cache-file | --cache-file | --cache-fil | --cache-fi \
939   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940     ac_prev=cache_file ;;
941   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943     cache_file=$ac_optarg ;;
944
945   --config-cache | -C)
946     cache_file=config.cache ;;
947
948   -datadir | --datadir | --datadi | --datad)
949     ac_prev=datadir ;;
950   -datadir=* | --datadir=* | --datadi=* | --datad=*)
951     datadir=$ac_optarg ;;
952
953   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954   | --dataroo | --dataro | --datar)
955     ac_prev=datarootdir ;;
956   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958     datarootdir=$ac_optarg ;;
959
960   -disable-* | --disable-*)
961     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962     # Reject names that are not valid shell variable names.
963     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964       as_fn_error $? "invalid feature name: $ac_useropt"
965     ac_useropt_orig=$ac_useropt
966     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967     case $ac_user_opts in
968       *"
969 "enable_$ac_useropt"
970 "*) ;;
971       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972          ac_unrecognized_sep=', ';;
973     esac
974     eval enable_$ac_useropt=no ;;
975
976   -docdir | --docdir | --docdi | --doc | --do)
977     ac_prev=docdir ;;
978   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979     docdir=$ac_optarg ;;
980
981   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982     ac_prev=dvidir ;;
983   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984     dvidir=$ac_optarg ;;
985
986   -enable-* | --enable-*)
987     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988     # Reject names that are not valid shell variable names.
989     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990       as_fn_error $? "invalid feature name: $ac_useropt"
991     ac_useropt_orig=$ac_useropt
992     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993     case $ac_user_opts in
994       *"
995 "enable_$ac_useropt"
996 "*) ;;
997       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998          ac_unrecognized_sep=', ';;
999     esac
1000     eval enable_$ac_useropt=\$ac_optarg ;;
1001
1002   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004   | --exec | --exe | --ex)
1005     ac_prev=exec_prefix ;;
1006   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008   | --exec=* | --exe=* | --ex=*)
1009     exec_prefix=$ac_optarg ;;
1010
1011   -gas | --gas | --ga | --g)
1012     # Obsolete; use --with-gas.
1013     with_gas=yes ;;
1014
1015   -help | --help | --hel | --he | -h)
1016     ac_init_help=long ;;
1017   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018     ac_init_help=recursive ;;
1019   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020     ac_init_help=short ;;
1021
1022   -host | --host | --hos | --ho)
1023     ac_prev=host_alias ;;
1024   -host=* | --host=* | --hos=* | --ho=*)
1025     host_alias=$ac_optarg ;;
1026
1027   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028     ac_prev=htmldir ;;
1029   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030   | --ht=*)
1031     htmldir=$ac_optarg ;;
1032
1033   -includedir | --includedir | --includedi | --included | --include \
1034   | --includ | --inclu | --incl | --inc)
1035     ac_prev=includedir ;;
1036   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037   | --includ=* | --inclu=* | --incl=* | --inc=*)
1038     includedir=$ac_optarg ;;
1039
1040   -infodir | --infodir | --infodi | --infod | --info | --inf)
1041     ac_prev=infodir ;;
1042   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043     infodir=$ac_optarg ;;
1044
1045   -libdir | --libdir | --libdi | --libd)
1046     ac_prev=libdir ;;
1047   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048     libdir=$ac_optarg ;;
1049
1050   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051   | --libexe | --libex | --libe)
1052     ac_prev=libexecdir ;;
1053   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054   | --libexe=* | --libex=* | --libe=*)
1055     libexecdir=$ac_optarg ;;
1056
1057   -localedir | --localedir | --localedi | --localed | --locale)
1058     ac_prev=localedir ;;
1059   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060     localedir=$ac_optarg ;;
1061
1062   -localstatedir | --localstatedir | --localstatedi | --localstated \
1063   | --localstate | --localstat | --localsta | --localst | --locals)
1064     ac_prev=localstatedir ;;
1065   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067     localstatedir=$ac_optarg ;;
1068
1069   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070     ac_prev=mandir ;;
1071   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072     mandir=$ac_optarg ;;
1073
1074   -nfp | --nfp | --nf)
1075     # Obsolete; use --without-fp.
1076     with_fp=no ;;
1077
1078   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079   | --no-cr | --no-c | -n)
1080     no_create=yes ;;
1081
1082   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084     no_recursion=yes ;;
1085
1086   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088   | --oldin | --oldi | --old | --ol | --o)
1089     ac_prev=oldincludedir ;;
1090   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093     oldincludedir=$ac_optarg ;;
1094
1095   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096     ac_prev=prefix ;;
1097   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098     prefix=$ac_optarg ;;
1099
1100   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101   | --program-pre | --program-pr | --program-p)
1102     ac_prev=program_prefix ;;
1103   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105     program_prefix=$ac_optarg ;;
1106
1107   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108   | --program-suf | --program-su | --program-s)
1109     ac_prev=program_suffix ;;
1110   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112     program_suffix=$ac_optarg ;;
1113
1114   -program-transform-name | --program-transform-name \
1115   | --program-transform-nam | --program-transform-na \
1116   | --program-transform-n | --program-transform- \
1117   | --program-transform | --program-transfor \
1118   | --program-transfo | --program-transf \
1119   | --program-trans | --program-tran \
1120   | --progr-tra | --program-tr | --program-t)
1121     ac_prev=program_transform_name ;;
1122   -program-transform-name=* | --program-transform-name=* \
1123   | --program-transform-nam=* | --program-transform-na=* \
1124   | --program-transform-n=* | --program-transform-=* \
1125   | --program-transform=* | --program-transfor=* \
1126   | --program-transfo=* | --program-transf=* \
1127   | --program-trans=* | --program-tran=* \
1128   | --progr-tra=* | --program-tr=* | --program-t=*)
1129     program_transform_name=$ac_optarg ;;
1130
1131   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132     ac_prev=pdfdir ;;
1133   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134     pdfdir=$ac_optarg ;;
1135
1136   -psdir | --psdir | --psdi | --psd | --ps)
1137     ac_prev=psdir ;;
1138   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139     psdir=$ac_optarg ;;
1140
1141   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142   | -silent | --silent | --silen | --sile | --sil)
1143     silent=yes ;;
1144
1145   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146     ac_prev=sbindir ;;
1147   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148   | --sbi=* | --sb=*)
1149     sbindir=$ac_optarg ;;
1150
1151   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153   | --sharedst | --shareds | --shared | --share | --shar \
1154   | --sha | --sh)
1155     ac_prev=sharedstatedir ;;
1156   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159   | --sha=* | --sh=*)
1160     sharedstatedir=$ac_optarg ;;
1161
1162   -site | --site | --sit)
1163     ac_prev=site ;;
1164   -site=* | --site=* | --sit=*)
1165     site=$ac_optarg ;;
1166
1167   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168     ac_prev=srcdir ;;
1169   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170     srcdir=$ac_optarg ;;
1171
1172   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173   | --syscon | --sysco | --sysc | --sys | --sy)
1174     ac_prev=sysconfdir ;;
1175   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177     sysconfdir=$ac_optarg ;;
1178
1179   -target | --target | --targe | --targ | --tar | --ta | --t)
1180     ac_prev=target_alias ;;
1181   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182     target_alias=$ac_optarg ;;
1183
1184   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185     verbose=yes ;;
1186
1187   -version | --version | --versio | --versi | --vers | -V)
1188     ac_init_version=: ;;
1189
1190   -with-* | --with-*)
1191     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192     # Reject names that are not valid shell variable names.
1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194       as_fn_error $? "invalid package name: $ac_useropt"
1195     ac_useropt_orig=$ac_useropt
1196     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197     case $ac_user_opts in
1198       *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202          ac_unrecognized_sep=', ';;
1203     esac
1204     eval with_$ac_useropt=\$ac_optarg ;;
1205
1206   -without-* | --without-*)
1207     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208     # Reject names that are not valid shell variable names.
1209     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210       as_fn_error $? "invalid package name: $ac_useropt"
1211     ac_useropt_orig=$ac_useropt
1212     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213     case $ac_user_opts in
1214       *"
1215 "with_$ac_useropt"
1216 "*) ;;
1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218          ac_unrecognized_sep=', ';;
1219     esac
1220     eval with_$ac_useropt=no ;;
1221
1222   --x)
1223     # Obsolete; use --with-x.
1224     with_x=yes ;;
1225
1226   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227   | --x-incl | --x-inc | --x-in | --x-i)
1228     ac_prev=x_includes ;;
1229   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231     x_includes=$ac_optarg ;;
1232
1233   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235     ac_prev=x_libraries ;;
1236   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238     x_libraries=$ac_optarg ;;
1239
1240   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information"
1242     ;;
1243
1244   *=*)
1245     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246     # Reject names that are not valid shell variable names.
1247     case $ac_envvar in #(
1248       '' | [0-9]* | *[!_$as_cr_alnum]* )
1249       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1250     esac
1251     eval $ac_envvar=\$ac_optarg
1252     export $ac_envvar ;;
1253
1254   *)
1255     # FIXME: should be removed in autoconf 3.0.
1256     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1260     ;;
1261
1262   esac
1263 done
1264
1265 if test -n "$ac_prev"; then
1266   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267   as_fn_error $? "missing argument to $ac_option"
1268 fi
1269
1270 if test -n "$ac_unrecognized_opts"; then
1271   case $enable_option_checking in
1272     no) ;;
1273     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1274     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275   esac
1276 fi
1277
1278 # Check all directory arguments for consistency.
1279 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280                 datadir sysconfdir sharedstatedir localstatedir includedir \
1281                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282                 libdir localedir mandir
1283 do
1284   eval ac_val=\$$ac_var
1285   # Remove trailing slashes.
1286   case $ac_val in
1287     */ )
1288       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289       eval $ac_var=\$ac_val;;
1290   esac
1291   # Be sure to have absolute directory names.
1292   case $ac_val in
1293     [\\/$]* | ?:[\\/]* )  continue;;
1294     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295   esac
1296   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1297 done
1298
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1302 build=$build_alias
1303 host=$host_alias
1304 target=$target_alias
1305
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308   if test "x$build_alias" = x; then
1309     cross_compiling=maybe
1310     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1311     If a cross compiler is detected then cross compile mode will be used" >&2
1312   elif test "x$build_alias" != "x$host_alias"; then
1313     cross_compiling=yes
1314   fi
1315 fi
1316
1317 ac_tool_prefix=
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1319
1320 test "$silent" = yes && exec 6>/dev/null
1321
1322
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326   as_fn_error $? "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328   as_fn_error $? "pwd does not report name of working directory"
1329
1330
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333   ac_srcdir_defaulted=yes
1334   # Try the directory containing this script, then the parent directory.
1335   ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337          X"$as_myself" : 'X\(//\)[^/]' \| \
1338          X"$as_myself" : 'X\(//\)$' \| \
1339          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\/\)[^/].*/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\/\)$/{
1350             s//\1/
1351             q
1352           }
1353           /^X\(\/\).*/{
1354             s//\1/
1355             q
1356           }
1357           s/.*/./; q'`
1358   srcdir=$ac_confdir
1359   if test ! -r "$srcdir/$ac_unique_file"; then
1360     srcdir=..
1361   fi
1362 else
1363   ac_srcdir_defaulted=no
1364 fi
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1368 fi
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 ac_abs_confdir=`(
1371         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1372         pwd)`
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375   srcdir=.
1376 fi
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1380 case $srcdir in
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 esac
1383 for ac_var in $ac_precious_vars; do
1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385   eval ac_env_${ac_var}_value=\$${ac_var}
1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1388 done
1389
1390 #
1391 # Report the --help message.
1392 #
1393 if test "$ac_init_help" = "long"; then
1394   # Omit some internal or obsolete options to make the list less imposing.
1395   # This message is too long to be a string in the A/UX 3.1 sh.
1396   cat <<_ACEOF
1397 \`configure' configures glib-networking 2.32.3 to adapt to many kinds of systems.
1398
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1400
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
1403
1404 Defaults for the options are specified in brackets.
1405
1406 Configuration:
1407   -h, --help              display this help and exit
1408       --help=short        display options specific to this package
1409       --help=recursive    display the short help of all the included packages
1410   -V, --version           display version information and exit
1411   -q, --quiet, --silent   do not print \`checking ...' messages
1412       --cache-file=FILE   cache test results in FILE [disabled]
1413   -C, --config-cache      alias for \`--cache-file=config.cache'
1414   -n, --no-create         do not create output files
1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1416
1417 Installation directories:
1418   --prefix=PREFIX         install architecture-independent files in PREFIX
1419                           [$ac_default_prefix]
1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1421                           [PREFIX]
1422
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1427
1428 For better control, use the options below.
1429
1430 Fine tuning of the installation directories:
1431   --bindir=DIR            user executables [EPREFIX/bin]
1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1437   --libdir=DIR            object code libraries [EPREFIX/lib]
1438   --includedir=DIR        C header files [PREFIX/include]
1439   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1440   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1441   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1442   --infodir=DIR           info documentation [DATAROOTDIR/info]
1443   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1444   --mandir=DIR            man documentation [DATAROOTDIR/man]
1445   --docdir=DIR            documentation root [DATAROOTDIR/doc/glib-networking]
1446   --htmldir=DIR           html documentation [DOCDIR]
1447   --dvidir=DIR            dvi documentation [DOCDIR]
1448   --pdfdir=DIR            pdf documentation [DOCDIR]
1449   --psdir=DIR             ps documentation [DOCDIR]
1450 _ACEOF
1451
1452   cat <<\_ACEOF
1453
1454 Program names:
1455   --program-prefix=PREFIX            prepend PREFIX to installed program names
1456   --program-suffix=SUFFIX            append SUFFIX to installed program names
1457   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1458
1459 System types:
1460   --build=BUILD     configure for building on BUILD [guessed]
1461   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1462 _ACEOF
1463 fi
1464
1465 if test -n "$ac_init_help"; then
1466   case $ac_init_help in
1467      short | recursive ) echo "Configuration of glib-networking 2.32.3:";;
1468    esac
1469   cat <<\_ACEOF
1470
1471 Optional Features:
1472   --disable-option-checking  ignore unrecognized --enable/--with options
1473   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1474   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1475   --disable-maintainer-mode  disable make rules and dependencies not useful
1476                           (and sometimes confusing) to the casual installer
1477   --enable-silent-rules          less verbose build output (undo: `make V=1')
1478   --disable-silent-rules         verbose build output (undo: `make V=0')
1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
1480   --enable-static[=PKGS]  build static libraries [default=yes]
1481   --enable-fast-install[=PKGS]
1482                           optimize for fast installation [default=yes]
1483   --disable-dependency-tracking  speeds up one-time build
1484   --enable-dependency-tracking   do not reject slow dependency extractors
1485   --disable-libtool-lock  avoid locking (might break parallel builds)
1486   --disable-nls           do not use Native Language Support
1487   --disable-glibtest      do not try to compile and run a test GLIB program
1488   --enable-gcov           Enable gcov
1489   --disable-more-warnings Inhibit compiler warnings
1490
1491 Optional Packages:
1492   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1493   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1494   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1495                           both]
1496   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1497   --with-sysroot=DIR Search for dependent libraries within DIR
1498                         (or the compiler's sysroot if not specified).
1499   --with-libproxy         support for libproxy [default=check]
1500   --with-gnome-proxy      support for GNOME proxy configuration
1501                           [default=check]
1502   --with-gnutls           support for GNUTLS [default=yes]
1503   --with-ca-certificates=[path]
1504                           path to system Certificate Authority list
1505   --with-pkcs11           support for pkcs11 [default=check]
1506
1507 Some influential environment variables:
1508   CC          C compiler command
1509   CFLAGS      C compiler flags
1510   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1511               nonstandard directory <lib dir>
1512   LIBS        libraries to pass to the linker, e.g. -l<library>
1513   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1514               you have headers in a nonstandard directory <include dir>
1515   CPP         C preprocessor
1516   PKG_CONFIG  path to pkg-config utility
1517   PKG_CONFIG_PATH
1518               directories to add to pkg-config's search path
1519   PKG_CONFIG_LIBDIR
1520               path overriding pkg-config's built-in search path
1521   LIBPROXY_CFLAGS
1522               C compiler flags for LIBPROXY, overriding pkg-config
1523   LIBPROXY_LIBS
1524               linker flags for LIBPROXY, overriding pkg-config
1525   GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
1526               C compiler flags for GSETTINGS_DESKTOP_SCHEMAS, overriding
1527               pkg-config
1528   GSETTINGS_DESKTOP_SCHEMAS_LIBS
1529               linker flags for GSETTINGS_DESKTOP_SCHEMAS, overriding
1530               pkg-config
1531   GNUTLS_CFLAGS
1532               C compiler flags for GNUTLS, overriding pkg-config
1533   GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config
1534   PKCS11_CFLAGS
1535               C compiler flags for PKCS11, overriding pkg-config
1536   PKCS11_LIBS linker flags for PKCS11, overriding pkg-config
1537
1538 Use these variables to override the choices made by `configure' or to help
1539 it to find libraries and programs with nonstandard names/locations.
1540
1541 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network>.
1542 _ACEOF
1543 ac_status=$?
1544 fi
1545
1546 if test "$ac_init_help" = "recursive"; then
1547   # If there are subdirs, report their specific --help.
1548   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549     test -d "$ac_dir" ||
1550       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1551       continue
1552     ac_builddir=.
1553
1554 case "$ac_dir" in
1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556 *)
1557   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1558   # A ".." for each directory in $ac_dir_suffix.
1559   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1560   case $ac_top_builddir_sub in
1561   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563   esac ;;
1564 esac
1565 ac_abs_top_builddir=$ac_pwd
1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir=$ac_top_build_prefix
1569
1570 case $srcdir in
1571   .)  # We are building in place.
1572     ac_srcdir=.
1573     ac_top_srcdir=$ac_top_builddir_sub
1574     ac_abs_top_srcdir=$ac_pwd ;;
1575   [\\/]* | ?:[\\/]* )  # Absolute name.
1576     ac_srcdir=$srcdir$ac_dir_suffix;
1577     ac_top_srcdir=$srcdir
1578     ac_abs_top_srcdir=$srcdir ;;
1579   *) # Relative name.
1580     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581     ac_top_srcdir=$ac_top_build_prefix$srcdir
1582     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583 esac
1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1585
1586     cd "$ac_dir" || { ac_status=$?; continue; }
1587     # Check for guested configure.
1588     if test -f "$ac_srcdir/configure.gnu"; then
1589       echo &&
1590       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591     elif test -f "$ac_srcdir/configure"; then
1592       echo &&
1593       $SHELL "$ac_srcdir/configure" --help=recursive
1594     else
1595       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596     fi || ac_status=$?
1597     cd "$ac_pwd" || { ac_status=$?; break; }
1598   done
1599 fi
1600
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1603   cat <<\_ACEOF
1604 glib-networking configure 2.32.3
1605 generated by GNU Autoconf 2.68
1606
1607 Copyright (C) 2010 Free Software Foundation, Inc.
1608 This configure script is free software; the Free Software Foundation
1609 gives unlimited permission to copy, distribute and modify it.
1610 _ACEOF
1611   exit
1612 fi
1613
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1617
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile ()
1622 {
1623   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624   rm -f conftest.$ac_objext
1625   if { { ac_try="$ac_compile"
1626 case "(($ac_try" in
1627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628   *) ac_try_echo=$ac_try;;
1629 esac
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632   (eval "$ac_compile") 2>conftest.err
1633   ac_status=$?
1634   if test -s conftest.err; then
1635     grep -v '^ *+' conftest.err >conftest.er1
1636     cat conftest.er1 >&5
1637     mv -f conftest.er1 conftest.err
1638   fi
1639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640   test $ac_status = 0; } && {
1641          test -z "$ac_c_werror_flag" ||
1642          test ! -s conftest.err
1643        } && test -s conftest.$ac_objext; then :
1644   ac_retval=0
1645 else
1646   $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1648
1649         ac_retval=1
1650 fi
1651   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652   as_fn_set_status $ac_retval
1653
1654 } # ac_fn_c_try_compile
1655
1656 # ac_fn_c_try_link LINENO
1657 # -----------------------
1658 # Try to link conftest.$ac_ext, and return whether this succeeded.
1659 ac_fn_c_try_link ()
1660 {
1661   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662   rm -f conftest.$ac_objext conftest$ac_exeext
1663   if { { ac_try="$ac_link"
1664 case "(($ac_try" in
1665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666   *) ac_try_echo=$ac_try;;
1667 esac
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670   (eval "$ac_link") 2>conftest.err
1671   ac_status=$?
1672   if test -s conftest.err; then
1673     grep -v '^ *+' conftest.err >conftest.er1
1674     cat conftest.er1 >&5
1675     mv -f conftest.er1 conftest.err
1676   fi
1677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678   test $ac_status = 0; } && {
1679          test -z "$ac_c_werror_flag" ||
1680          test ! -s conftest.err
1681        } && test -s conftest$ac_exeext && {
1682          test "$cross_compiling" = yes ||
1683          $as_test_x conftest$ac_exeext
1684        }; then :
1685   ac_retval=0
1686 else
1687   $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1689
1690         ac_retval=1
1691 fi
1692   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1693   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1694   # interfere with the next link command; also delete a directory that is
1695   # left behind by Apple's compiler.  We do this before executing the actions.
1696   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698   as_fn_set_status $ac_retval
1699
1700 } # ac_fn_c_try_link
1701
1702 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1703 # -------------------------------------------------------
1704 # Tests whether HEADER exists and can be compiled using the include files in
1705 # INCLUDES, setting the cache variable VAR accordingly.
1706 ac_fn_c_check_header_compile ()
1707 {
1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \${$3+:} false; then :
1712   $as_echo_n "(cached) " >&6
1713 else
1714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h.  */
1716 $4
1717 #include <$2>
1718 _ACEOF
1719 if ac_fn_c_try_compile "$LINENO"; then :
1720   eval "$3=yes"
1721 else
1722   eval "$3=no"
1723 fi
1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 fi
1726 eval ac_res=\$$3
1727                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730
1731 } # ac_fn_c_check_header_compile
1732
1733 # ac_fn_c_try_cpp LINENO
1734 # ----------------------
1735 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1736 ac_fn_c_try_cpp ()
1737 {
1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739   if { { ac_try="$ac_cpp conftest.$ac_ext"
1740 case "(($ac_try" in
1741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742   *) ac_try_echo=$ac_try;;
1743 esac
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1747   ac_status=$?
1748   if test -s conftest.err; then
1749     grep -v '^ *+' conftest.err >conftest.er1
1750     cat conftest.er1 >&5
1751     mv -f conftest.er1 conftest.err
1752   fi
1753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754   test $ac_status = 0; } > conftest.i && {
1755          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1756          test ! -s conftest.err
1757        }; then :
1758   ac_retval=0
1759 else
1760   $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1762
1763     ac_retval=1
1764 fi
1765   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766   as_fn_set_status $ac_retval
1767
1768 } # ac_fn_c_try_cpp
1769
1770 # ac_fn_c_try_run LINENO
1771 # ----------------------
1772 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1773 # that executables *can* be run.
1774 ac_fn_c_try_run ()
1775 {
1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777   if { { ac_try="$ac_link"
1778 case "(($ac_try" in
1779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780   *) ac_try_echo=$ac_try;;
1781 esac
1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784   (eval "$ac_link") 2>&5
1785   ac_status=$?
1786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1788   { { case "(($ac_try" in
1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790   *) ac_try_echo=$ac_try;;
1791 esac
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794   (eval "$ac_try") 2>&5
1795   ac_status=$?
1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797   test $ac_status = 0; }; }; then :
1798   ac_retval=0
1799 else
1800   $as_echo "$as_me: program exited with status $ac_status" >&5
1801        $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1803
1804        ac_retval=$ac_status
1805 fi
1806   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808   as_fn_set_status $ac_retval
1809
1810 } # ac_fn_c_try_run
1811
1812 # ac_fn_c_check_func LINENO FUNC VAR
1813 # ----------------------------------
1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1815 ac_fn_c_check_func ()
1816 {
1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821   $as_echo_n "(cached) " >&6
1822 else
1823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h.  */
1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1827 #define $2 innocuous_$2
1828
1829 /* System header to define __stub macros and hopefully few prototypes,
1830     which can conflict with char $2 (); below.
1831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832     <limits.h> exists even on freestanding compilers.  */
1833
1834 #ifdef __STDC__
1835 # include <limits.h>
1836 #else
1837 # include <assert.h>
1838 #endif
1839
1840 #undef $2
1841
1842 /* Override any GCC internal prototype to avoid an error.
1843    Use char because int might match the return type of a GCC
1844    builtin and then its argument prototype would still apply.  */
1845 #ifdef __cplusplus
1846 extern "C"
1847 #endif
1848 char $2 ();
1849 /* The GNU C library defines this for functions which it implements
1850     to always fail with ENOSYS.  Some functions are actually named
1851     something starting with __ and the normal name is an alias.  */
1852 #if defined __stub_$2 || defined __stub___$2
1853 choke me
1854 #endif
1855
1856 int
1857 main ()
1858 {
1859 return $2 ();
1860   ;
1861   return 0;
1862 }
1863 _ACEOF
1864 if ac_fn_c_try_link "$LINENO"; then :
1865   eval "$3=yes"
1866 else
1867   eval "$3=no"
1868 fi
1869 rm -f core conftest.err conftest.$ac_objext \
1870     conftest$ac_exeext conftest.$ac_ext
1871 fi
1872 eval ac_res=\$$3
1873                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876
1877 } # ac_fn_c_check_func
1878
1879 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1880 # -------------------------------------------------------
1881 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1882 # the include files in INCLUDES and setting the cache variable VAR
1883 # accordingly.
1884 ac_fn_c_check_header_mongrel ()
1885 {
1886   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887   if eval \${$3+:} false; then :
1888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891   $as_echo_n "(cached) " >&6
1892 fi
1893 eval ac_res=\$$3
1894                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1896 else
1897   # Is the header compilable?
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1899 $as_echo_n "checking $2 usability... " >&6; }
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h.  */
1902 $4
1903 #include <$2>
1904 _ACEOF
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906   ac_header_compiler=yes
1907 else
1908   ac_header_compiler=no
1909 fi
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1912 $as_echo "$ac_header_compiler" >&6; }
1913
1914 # Is the header present?
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1916 $as_echo_n "checking $2 presence... " >&6; }
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h.  */
1919 #include <$2>
1920 _ACEOF
1921 if ac_fn_c_try_cpp "$LINENO"; then :
1922   ac_header_preproc=yes
1923 else
1924   ac_header_preproc=no
1925 fi
1926 rm -f conftest.err conftest.i conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1928 $as_echo "$ac_header_preproc" >&6; }
1929
1930 # So?  What about this header?
1931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1932   yes:no: )
1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1934 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937     ;;
1938   no:yes:* )
1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1940 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1941     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1942 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1944 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1945     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1946 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1947     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949 ( $as_echo "## ------------------------------------------------------------------------------------- ##
1950 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network ##
1951 ## ------------------------------------------------------------------------------------- ##"
1952      ) | sed "s/^/$as_me: WARNING:     /" >&2
1953     ;;
1954 esac
1955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956 $as_echo_n "checking for $2... " >&6; }
1957 if eval \${$3+:} false; then :
1958   $as_echo_n "(cached) " >&6
1959 else
1960   eval "$3=\$ac_header_compiler"
1961 fi
1962 eval ac_res=\$$3
1963                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1965 fi
1966   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967
1968 } # ac_fn_c_check_header_mongrel
1969 cat >config.log <<_ACEOF
1970 This file contains any messages produced by compilers while
1971 running configure, to aid debugging if configure makes a mistake.
1972
1973 It was created by glib-networking $as_me 2.32.3, which was
1974 generated by GNU Autoconf 2.68.  Invocation command line was
1975
1976   $ $0 $@
1977
1978 _ACEOF
1979 exec 5>>config.log
1980 {
1981 cat <<_ASUNAME
1982 ## --------- ##
1983 ## Platform. ##
1984 ## --------- ##
1985
1986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1991
1992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1993 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1994
1995 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1996 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1998 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1999 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2000 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2001 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2002
2003 _ASUNAME
2004
2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 for as_dir in $PATH
2007 do
2008   IFS=$as_save_IFS
2009   test -z "$as_dir" && as_dir=.
2010     $as_echo "PATH: $as_dir"
2011   done
2012 IFS=$as_save_IFS
2013
2014 } >&5
2015
2016 cat >&5 <<_ACEOF
2017
2018
2019 ## ----------- ##
2020 ## Core tests. ##
2021 ## ----------- ##
2022
2023 _ACEOF
2024
2025
2026 # Keep a trace of the command line.
2027 # Strip out --no-create and --no-recursion so they do not pile up.
2028 # Strip out --silent because we don't want to record it for future runs.
2029 # Also quote any args containing shell meta-characters.
2030 # Make two passes to allow for proper duplicate-argument suppression.
2031 ac_configure_args=
2032 ac_configure_args0=
2033 ac_configure_args1=
2034 ac_must_keep_next=false
2035 for ac_pass in 1 2
2036 do
2037   for ac_arg
2038   do
2039     case $ac_arg in
2040     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2041     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2042     | -silent | --silent | --silen | --sile | --sil)
2043       continue ;;
2044     *\'*)
2045       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2046     esac
2047     case $ac_pass in
2048     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2049     2)
2050       as_fn_append ac_configure_args1 " '$ac_arg'"
2051       if test $ac_must_keep_next = true; then
2052         ac_must_keep_next=false # Got value, back to normal.
2053       else
2054         case $ac_arg in
2055           *=* | --config-cache | -C | -disable-* | --disable-* \
2056           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2057           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2058           | -with-* | --with-* | -without-* | --without-* | --x)
2059             case "$ac_configure_args0 " in
2060               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2061             esac
2062             ;;
2063           -* ) ac_must_keep_next=true ;;
2064         esac
2065       fi
2066       as_fn_append ac_configure_args " '$ac_arg'"
2067       ;;
2068     esac
2069   done
2070 done
2071 { ac_configure_args0=; unset ac_configure_args0;}
2072 { ac_configure_args1=; unset ac_configure_args1;}
2073
2074 # When interrupted or exit'd, cleanup temporary files, and complete
2075 # config.log.  We remove comments because anyway the quotes in there
2076 # would cause problems or look ugly.
2077 # WARNING: Use '\'' to represent an apostrophe within the trap.
2078 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2079 trap 'exit_status=$?
2080   # Save into config.log some information that might help in debugging.
2081   {
2082     echo
2083
2084     $as_echo "## ---------------- ##
2085 ## Cache variables. ##
2086 ## ---------------- ##"
2087     echo
2088     # The following way of writing the cache mishandles newlines in values,
2089 (
2090   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2091     eval ac_val=\$$ac_var
2092     case $ac_val in #(
2093     *${as_nl}*)
2094       case $ac_var in #(
2095       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2097       esac
2098       case $ac_var in #(
2099       _ | IFS | as_nl) ;; #(
2100       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2101       *) { eval $ac_var=; unset $ac_var;} ;;
2102       esac ;;
2103     esac
2104   done
2105   (set) 2>&1 |
2106     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2107     *${as_nl}ac_space=\ *)
2108       sed -n \
2109         "s/'\''/'\''\\\\'\'''\''/g;
2110           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2111       ;; #(
2112     *)
2113       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2114       ;;
2115     esac |
2116     sort
2117 )
2118     echo
2119
2120     $as_echo "## ----------------- ##
2121 ## Output variables. ##
2122 ## ----------------- ##"
2123     echo
2124     for ac_var in $ac_subst_vars
2125     do
2126       eval ac_val=\$$ac_var
2127       case $ac_val in
2128       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2129       esac
2130       $as_echo "$ac_var='\''$ac_val'\''"
2131     done | sort
2132     echo
2133
2134     if test -n "$ac_subst_files"; then
2135       $as_echo "## ------------------- ##
2136 ## File substitutions. ##
2137 ## ------------------- ##"
2138       echo
2139       for ac_var in $ac_subst_files
2140       do
2141         eval ac_val=\$$ac_var
2142         case $ac_val in
2143         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2144         esac
2145         $as_echo "$ac_var='\''$ac_val'\''"
2146       done | sort
2147       echo
2148     fi
2149
2150     if test -s confdefs.h; then
2151       $as_echo "## ----------- ##
2152 ## confdefs.h. ##
2153 ## ----------- ##"
2154       echo
2155       cat confdefs.h
2156       echo
2157     fi
2158     test "$ac_signal" != 0 &&
2159       $as_echo "$as_me: caught signal $ac_signal"
2160     $as_echo "$as_me: exit $exit_status"
2161   } >&5
2162   rm -f core *.core core.conftest.* &&
2163     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2164     exit $exit_status
2165 ' 0
2166 for ac_signal in 1 2 13 15; do
2167   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2168 done
2169 ac_signal=0
2170
2171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2172 rm -f -r conftest* confdefs.h
2173
2174 $as_echo "/* confdefs.h */" > confdefs.h
2175
2176 # Predefined preprocessor variables.
2177
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_NAME "$PACKAGE_NAME"
2180 _ACEOF
2181
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2184 _ACEOF
2185
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2188 _ACEOF
2189
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_STRING "$PACKAGE_STRING"
2192 _ACEOF
2193
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2196 _ACEOF
2197
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_URL "$PACKAGE_URL"
2200 _ACEOF
2201
2202
2203 # Let the site file select an alternate cache file if it wants to.
2204 # Prefer an explicitly selected file to automatically selected ones.
2205 ac_site_file1=NONE
2206 ac_site_file2=NONE
2207 if test -n "$CONFIG_SITE"; then
2208   # We do not want a PATH search for config.site.
2209   case $CONFIG_SITE in #((
2210     -*)  ac_site_file1=./$CONFIG_SITE;;
2211     */*) ac_site_file1=$CONFIG_SITE;;
2212     *)   ac_site_file1=./$CONFIG_SITE;;
2213   esac
2214 elif test "x$prefix" != xNONE; then
2215   ac_site_file1=$prefix/share/config.site
2216   ac_site_file2=$prefix/etc/config.site
2217 else
2218   ac_site_file1=$ac_default_prefix/share/config.site
2219   ac_site_file2=$ac_default_prefix/etc/config.site
2220 fi
2221 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2222 do
2223   test "x$ac_site_file" = xNONE && continue
2224   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2225     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2226 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2227     sed 's/^/| /' "$ac_site_file" >&5
2228     . "$ac_site_file" \
2229       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2231 as_fn_error $? "failed to load site script $ac_site_file
2232 See \`config.log' for more details" "$LINENO" 5; }
2233   fi
2234 done
2235
2236 if test -r "$cache_file"; then
2237   # Some versions of bash will fail to source /dev/null (special files
2238   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2239   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2240     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2241 $as_echo "$as_me: loading cache $cache_file" >&6;}
2242     case $cache_file in
2243       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2244       *)                      . "./$cache_file";;
2245     esac
2246   fi
2247 else
2248   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2249 $as_echo "$as_me: creating cache $cache_file" >&6;}
2250   >$cache_file
2251 fi
2252
2253 # Check that the precious variables saved in the cache have kept the same
2254 # value.
2255 ac_cache_corrupted=false
2256 for ac_var in $ac_precious_vars; do
2257   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2258   eval ac_new_set=\$ac_env_${ac_var}_set
2259   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2260   eval ac_new_val=\$ac_env_${ac_var}_value
2261   case $ac_old_set,$ac_new_set in
2262     set,)
2263       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2264 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2265       ac_cache_corrupted=: ;;
2266     ,set)
2267       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2268 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2269       ac_cache_corrupted=: ;;
2270     ,);;
2271     *)
2272       if test "x$ac_old_val" != "x$ac_new_val"; then
2273         # differences in whitespace do not lead to failure.
2274         ac_old_val_w=`echo x $ac_old_val`
2275         ac_new_val_w=`echo x $ac_new_val`
2276         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2277           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2278 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2279           ac_cache_corrupted=:
2280         else
2281           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2282 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2283           eval $ac_var=\$ac_old_val
2284         fi
2285         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2286 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2287         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2288 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2289       fi;;
2290   esac
2291   # Pass precious variables to config.status.
2292   if test "$ac_new_set" = set; then
2293     case $ac_new_val in
2294     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2295     *) ac_arg=$ac_var=$ac_new_val ;;
2296     esac
2297     case " $ac_configure_args " in
2298       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2299       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2300     esac
2301   fi
2302 done
2303 if $ac_cache_corrupted; then
2304   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2306   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2307 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2308   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2309 fi
2310 ## -------------------- ##
2311 ## Main body of script. ##
2312 ## -------------------- ##
2313
2314 ac_ext=c
2315 ac_cpp='$CPP $CPPFLAGS'
2316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2319
2320
2321
2322
2323 ac_config_headers="$ac_config_headers config.h"
2324
2325
2326 am__api_version='1.11'
2327
2328 ac_aux_dir=
2329 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2330   if test -f "$ac_dir/install-sh"; then
2331     ac_aux_dir=$ac_dir
2332     ac_install_sh="$ac_aux_dir/install-sh -c"
2333     break
2334   elif test -f "$ac_dir/install.sh"; then
2335     ac_aux_dir=$ac_dir
2336     ac_install_sh="$ac_aux_dir/install.sh -c"
2337     break
2338   elif test -f "$ac_dir/shtool"; then
2339     ac_aux_dir=$ac_dir
2340     ac_install_sh="$ac_aux_dir/shtool install -c"
2341     break
2342   fi
2343 done
2344 if test -z "$ac_aux_dir"; then
2345   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2346 fi
2347
2348 # These three variables are undocumented and unsupported,
2349 # and are intended to be withdrawn in a future Autoconf release.
2350 # They can cause serious problems if a builder's source tree is in a directory
2351 # whose full name contains unusual characters.
2352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2354 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2355
2356
2357 # Find a good install program.  We prefer a C program (faster),
2358 # so one script is as good as another.  But avoid the broken or
2359 # incompatible versions:
2360 # SysV /etc/install, /usr/sbin/install
2361 # SunOS /usr/etc/install
2362 # IRIX /sbin/install
2363 # AIX /bin/install
2364 # AmigaOS /C/install, which installs bootblocks on floppy discs
2365 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2366 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2367 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2368 # OS/2's system install, which has a completely different semantic
2369 # ./install, which can be erroneously created by make from ./install.sh.
2370 # Reject install programs that cannot install multiple files.
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2372 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2373 if test -z "$INSTALL"; then
2374 if ${ac_cv_path_install+:} false; then :
2375   $as_echo_n "(cached) " >&6
2376 else
2377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 for as_dir in $PATH
2379 do
2380   IFS=$as_save_IFS
2381   test -z "$as_dir" && as_dir=.
2382     # Account for people who put trailing slashes in PATH elements.
2383 case $as_dir/ in #((
2384   ./ | .// | /[cC]/* | \
2385   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2386   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2387   /usr/ucb/* ) ;;
2388   *)
2389     # OSF1 and SCO ODT 3.0 have their own names for install.
2390     # Don't use installbsd from OSF since it installs stuff as root
2391     # by default.
2392     for ac_prog in ginstall scoinst install; do
2393       for ac_exec_ext in '' $ac_executable_extensions; do
2394         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2395           if test $ac_prog = install &&
2396             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2397             # AIX install.  It has an incompatible calling convention.
2398             :
2399           elif test $ac_prog = install &&
2400             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2401             # program-specific install script used by HP pwplus--don't use.
2402             :
2403           else
2404             rm -rf conftest.one conftest.two conftest.dir
2405             echo one > conftest.one
2406             echo two > conftest.two
2407             mkdir conftest.dir
2408             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2409               test -s conftest.one && test -s conftest.two &&
2410               test -s conftest.dir/conftest.one &&
2411               test -s conftest.dir/conftest.two
2412             then
2413               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2414               break 3
2415             fi
2416           fi
2417         fi
2418       done
2419     done
2420     ;;
2421 esac
2422
2423   done
2424 IFS=$as_save_IFS
2425
2426 rm -rf conftest.one conftest.two conftest.dir
2427
2428 fi
2429   if test "${ac_cv_path_install+set}" = set; then
2430     INSTALL=$ac_cv_path_install
2431   else
2432     # As a last resort, use the slow shell script.  Don't cache a
2433     # value for INSTALL within a source directory, because that will
2434     # break other packages using the cache if that directory is
2435     # removed, or if the value is a relative name.
2436     INSTALL=$ac_install_sh
2437   fi
2438 fi
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2440 $as_echo "$INSTALL" >&6; }
2441
2442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2443 # It thinks the first close brace ends the variable substitution.
2444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2445
2446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2447
2448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2449
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2451 $as_echo_n "checking whether build environment is sane... " >&6; }
2452 # Just in case
2453 sleep 1
2454 echo timestamp > conftest.file
2455 # Reject unsafe characters in $srcdir or the absolute working directory
2456 # name.  Accept space and tab only in the latter.
2457 am_lf='
2458 '
2459 case `pwd` in
2460   *[\\\"\#\$\&\'\`$am_lf]*)
2461     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2462 esac
2463 case $srcdir in
2464   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2465     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2466 esac
2467
2468 # Do `set' in a subshell so we don't clobber the current shell's
2469 # arguments.  Must try -L first in case configure is actually a
2470 # symlink; some systems play weird games with the mod time of symlinks
2471 # (eg FreeBSD returns the mod time of the symlink's containing
2472 # directory).
2473 if (
2474    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2475    if test "$*" = "X"; then
2476       # -L didn't work.
2477       set X `ls -t "$srcdir/configure" conftest.file`
2478    fi
2479    rm -f conftest.file
2480    if test "$*" != "X $srcdir/configure conftest.file" \
2481       && test "$*" != "X conftest.file $srcdir/configure"; then
2482
2483       # If neither matched, then we have a broken ls.  This can happen
2484       # if, for instance, CONFIG_SHELL is bash and it inherits a
2485       # broken ls alias from the environment.  This has actually
2486       # happened.  Such a system could not be considered "sane".
2487       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2488 alias in your environment" "$LINENO" 5
2489    fi
2490
2491    test "$2" = conftest.file
2492    )
2493 then
2494    # Ok.
2495    :
2496 else
2497    as_fn_error $? "newly created file is older than distributed files!
2498 Check your system clock" "$LINENO" 5
2499 fi
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2502 test "$program_prefix" != NONE &&
2503   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2504 # Use a double $ so make ignores it.
2505 test "$program_suffix" != NONE &&
2506   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2507 # Double any \ or $.
2508 # By default was `s,x,x', remove it if useless.
2509 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2510 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2511
2512 # expand $ac_aux_dir to an absolute path
2513 am_aux_dir=`cd $ac_aux_dir && pwd`
2514
2515 if test x"${MISSING+set}" != xset; then
2516   case $am_aux_dir in
2517   *\ * | *\     *)
2518     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2519   *)
2520     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2521   esac
2522 fi
2523 # Use eval to expand $SHELL
2524 if eval "$MISSING --run true"; then
2525   am_missing_run="$MISSING --run "
2526 else
2527   am_missing_run=
2528   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2529 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2530 fi
2531
2532 if test x"${install_sh}" != xset; then
2533   case $am_aux_dir in
2534   *\ * | *\     *)
2535     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2536   *)
2537     install_sh="\${SHELL} $am_aux_dir/install-sh"
2538   esac
2539 fi
2540
2541 # Installed binaries are usually stripped using `strip' when the user
2542 # run `make install-strip'.  However `strip' might not be the right
2543 # tool to use in cross-compilation environments, therefore Automake
2544 # will honor the `STRIP' environment variable to overrule this program.
2545 if test "$cross_compiling" != no; then
2546   if test -n "$ac_tool_prefix"; then
2547   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2548 set dummy ${ac_tool_prefix}strip; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_STRIP+:} false; then :
2552   $as_echo_n "(cached) " >&6
2553 else
2554   if test -n "$STRIP"; then
2555   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2556 else
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 for as_dir in $PATH
2559 do
2560   IFS=$as_save_IFS
2561   test -z "$as_dir" && as_dir=.
2562     for ac_exec_ext in '' $ac_executable_extensions; do
2563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566     break 2
2567   fi
2568 done
2569   done
2570 IFS=$as_save_IFS
2571
2572 fi
2573 fi
2574 STRIP=$ac_cv_prog_STRIP
2575 if test -n "$STRIP"; then
2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2577 $as_echo "$STRIP" >&6; }
2578 else
2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2581 fi
2582
2583
2584 fi
2585 if test -z "$ac_cv_prog_STRIP"; then
2586   ac_ct_STRIP=$STRIP
2587   # Extract the first word of "strip", so it can be a program name with args.
2588 set dummy strip; ac_word=$2
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2592   $as_echo_n "(cached) " >&6
2593 else
2594   if test -n "$ac_ct_STRIP"; then
2595   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2596 else
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 for as_dir in $PATH
2599 do
2600   IFS=$as_save_IFS
2601   test -z "$as_dir" && as_dir=.
2602     for ac_exec_ext in '' $ac_executable_extensions; do
2603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604     ac_cv_prog_ac_ct_STRIP="strip"
2605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606     break 2
2607   fi
2608 done
2609   done
2610 IFS=$as_save_IFS
2611
2612 fi
2613 fi
2614 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2615 if test -n "$ac_ct_STRIP"; then
2616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2617 $as_echo "$ac_ct_STRIP" >&6; }
2618 else
2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2621 fi
2622
2623   if test "x$ac_ct_STRIP" = x; then
2624     STRIP=":"
2625   else
2626     case $cross_compiling:$ac_tool_warned in
2627 yes:)
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2630 ac_tool_warned=yes ;;
2631 esac
2632     STRIP=$ac_ct_STRIP
2633   fi
2634 else
2635   STRIP="$ac_cv_prog_STRIP"
2636 fi
2637
2638 fi
2639 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2640
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2642 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2643 if test -z "$MKDIR_P"; then
2644   if ${ac_cv_path_mkdir+:} false; then :
2645   $as_echo_n "(cached) " >&6
2646 else
2647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2649 do
2650   IFS=$as_save_IFS
2651   test -z "$as_dir" && as_dir=.
2652     for ac_prog in mkdir gmkdir; do
2653          for ac_exec_ext in '' $ac_executable_extensions; do
2654            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2655            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2656              'mkdir (GNU coreutils) '* | \
2657              'mkdir (coreutils) '* | \
2658              'mkdir (fileutils) '4.1*)
2659                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2660                break 3;;
2661            esac
2662          done
2663        done
2664   done
2665 IFS=$as_save_IFS
2666
2667 fi
2668
2669   test -d ./--version && rmdir ./--version
2670   if test "${ac_cv_path_mkdir+set}" = set; then
2671     MKDIR_P="$ac_cv_path_mkdir -p"
2672   else
2673     # As a last resort, use the slow shell script.  Don't cache a
2674     # value for MKDIR_P within a source directory, because that will
2675     # break other packages using the cache if that directory is
2676     # removed, or if the value is a relative name.
2677     MKDIR_P="$ac_install_sh -d"
2678   fi
2679 fi
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2681 $as_echo "$MKDIR_P" >&6; }
2682
2683 mkdir_p="$MKDIR_P"
2684 case $mkdir_p in
2685   [\\/$]* | ?:[\\/]*) ;;
2686   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2687 esac
2688
2689 for ac_prog in gawk mawk nawk awk
2690 do
2691   # Extract the first word of "$ac_prog", so it can be a program name with args.
2692 set dummy $ac_prog; ac_word=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_AWK+:} false; then :
2696   $as_echo_n "(cached) " >&6
2697 else
2698   if test -n "$AWK"; then
2699   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2700 else
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 for as_dir in $PATH
2703 do
2704   IFS=$as_save_IFS
2705   test -z "$as_dir" && as_dir=.
2706     for ac_exec_ext in '' $ac_executable_extensions; do
2707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708     ac_cv_prog_AWK="$ac_prog"
2709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710     break 2
2711   fi
2712 done
2713   done
2714 IFS=$as_save_IFS
2715
2716 fi
2717 fi
2718 AWK=$ac_cv_prog_AWK
2719 if test -n "$AWK"; then
2720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2721 $as_echo "$AWK" >&6; }
2722 else
2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2725 fi
2726
2727
2728   test -n "$AWK" && break
2729 done
2730
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2732 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2733 set x ${MAKE-make}
2734 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2735 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2736   $as_echo_n "(cached) " >&6
2737 else
2738   cat >conftest.make <<\_ACEOF
2739 SHELL = /bin/sh
2740 all:
2741         @echo '@@@%%%=$(MAKE)=@@@%%%'
2742 _ACEOF
2743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2744 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2745   *@@@%%%=?*=@@@%%%*)
2746     eval ac_cv_prog_make_${ac_make}_set=yes;;
2747   *)
2748     eval ac_cv_prog_make_${ac_make}_set=no;;
2749 esac
2750 rm -f conftest.make
2751 fi
2752 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2754 $as_echo "yes" >&6; }
2755   SET_MAKE=
2756 else
2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2759   SET_MAKE="MAKE=${MAKE-make}"
2760 fi
2761
2762 rm -rf .tst 2>/dev/null
2763 mkdir .tst 2>/dev/null
2764 if test -d .tst; then
2765   am__leading_dot=.
2766 else
2767   am__leading_dot=_
2768 fi
2769 rmdir .tst 2>/dev/null
2770
2771 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2772   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2773   # is not polluted with repeated "-I."
2774   am__isrc=' -I$(srcdir)'
2775   # test to see if srcdir already configured
2776   if test -f $srcdir/config.status; then
2777     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2778   fi
2779 fi
2780
2781 # test whether we have cygpath
2782 if test -z "$CYGPATH_W"; then
2783   if (cygpath --version) >/dev/null 2>/dev/null; then
2784     CYGPATH_W='cygpath -w'
2785   else
2786     CYGPATH_W=echo
2787   fi
2788 fi
2789
2790
2791 # Define the identity of the package.
2792  PACKAGE='glib-networking'
2793  VERSION='2.32.3'
2794
2795
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE "$PACKAGE"
2798 _ACEOF
2799
2800
2801 cat >>confdefs.h <<_ACEOF
2802 #define VERSION "$VERSION"
2803 _ACEOF
2804
2805 # Some tools Automake needs.
2806
2807 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2808
2809
2810 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2811
2812
2813 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2814
2815
2816 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2817
2818
2819 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2820
2821 # We need awk for the "check" target.  The system "awk" is bad on
2822 # some platforms.
2823 # Always define AMTAR for backward compatibility.  Yes, it's still used
2824 # in the wild :-(  We should find a proper way to deprecate it ...
2825 AMTAR='$${TAR-tar}'
2826
2827 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2828
2829
2830
2831
2832
2833
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2835 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2836     # Check whether --enable-maintainer-mode was given.
2837 if test "${enable_maintainer_mode+set}" = set; then :
2838   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2839 else
2840   USE_MAINTAINER_MODE=yes
2841 fi
2842
2843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2844 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2845    if test $USE_MAINTAINER_MODE = yes; then
2846   MAINTAINER_MODE_TRUE=
2847   MAINTAINER_MODE_FALSE='#'
2848 else
2849   MAINTAINER_MODE_TRUE='#'
2850   MAINTAINER_MODE_FALSE=
2851 fi
2852
2853   MAINT=$MAINTAINER_MODE_TRUE
2854
2855
2856 # Check whether --enable-silent-rules was given.
2857 if test "${enable_silent_rules+set}" = set; then :
2858   enableval=$enable_silent_rules;
2859 fi
2860
2861 case $enable_silent_rules in
2862 yes) AM_DEFAULT_VERBOSITY=0;;
2863 no)  AM_DEFAULT_VERBOSITY=1;;
2864 *)   AM_DEFAULT_VERBOSITY=0;;
2865 esac
2866 am_make=${MAKE-make}
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2868 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2869 if ${am_cv_make_support_nested_variables+:} false; then :
2870   $as_echo_n "(cached) " >&6
2871 else
2872   if $as_echo 'TRUE=$(BAR$(V))
2873 BAR0=false
2874 BAR1=true
2875 V=1
2876 am__doit:
2877         @$(TRUE)
2878 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2879   am_cv_make_support_nested_variables=yes
2880 else
2881   am_cv_make_support_nested_variables=no
2882 fi
2883 fi
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2885 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2886 if test $am_cv_make_support_nested_variables = yes; then
2887     AM_V='$(V)'
2888   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2889 else
2890   AM_V=$AM_DEFAULT_VERBOSITY
2891   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2892 fi
2893 AM_BACKSLASH='\'
2894
2895 case `pwd` in
2896   *\ * | *\     *)
2897     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2898 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2899 esac
2900
2901
2902
2903 macro_version='2.4.2'
2904 macro_revision='1.3337'
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918 ltmain="$ac_aux_dir/ltmain.sh"
2919
2920 # Make sure we can run config.sub.
2921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2922   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2923
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2925 $as_echo_n "checking build system type... " >&6; }
2926 if ${ac_cv_build+:} false; then :
2927   $as_echo_n "(cached) " >&6
2928 else
2929   ac_build_alias=$build_alias
2930 test "x$ac_build_alias" = x &&
2931   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2932 test "x$ac_build_alias" = x &&
2933   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2935   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2936
2937 fi
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2939 $as_echo "$ac_cv_build" >&6; }
2940 case $ac_cv_build in
2941 *-*-*) ;;
2942 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2943 esac
2944 build=$ac_cv_build
2945 ac_save_IFS=$IFS; IFS='-'
2946 set x $ac_cv_build
2947 shift
2948 build_cpu=$1
2949 build_vendor=$2
2950 shift; shift
2951 # Remember, the first character of IFS is used to create $*,
2952 # except with old shells:
2953 build_os=$*
2954 IFS=$ac_save_IFS
2955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2956
2957
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2959 $as_echo_n "checking host system type... " >&6; }
2960 if ${ac_cv_host+:} false; then :
2961   $as_echo_n "(cached) " >&6
2962 else
2963   if test "x$host_alias" = x; then
2964   ac_cv_host=$ac_cv_build
2965 else
2966   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2967     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2968 fi
2969
2970 fi
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2972 $as_echo "$ac_cv_host" >&6; }
2973 case $ac_cv_host in
2974 *-*-*) ;;
2975 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2976 esac
2977 host=$ac_cv_host
2978 ac_save_IFS=$IFS; IFS='-'
2979 set x $ac_cv_host
2980 shift
2981 host_cpu=$1
2982 host_vendor=$2
2983 shift; shift
2984 # Remember, the first character of IFS is used to create $*,
2985 # except with old shells:
2986 host_os=$*
2987 IFS=$ac_save_IFS
2988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2989
2990
2991 # Backslashify metacharacters that are still active within
2992 # double-quoted strings.
2993 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2994
2995 # Same as above, but do not quote variable references.
2996 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2997
2998 # Sed substitution to delay expansion of an escaped shell variable in a
2999 # double_quote_subst'ed string.
3000 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3001
3002 # Sed substitution to delay expansion of an escaped single quote.
3003 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3004
3005 # Sed substitution to avoid accidental globbing in evaled expressions
3006 no_glob_subst='s/\*/\\\*/g'
3007
3008 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3009 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3010 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3011
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3013 $as_echo_n "checking how to print strings... " >&6; }
3014 # Test print first, because it will be a builtin if present.
3015 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3016    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3017   ECHO='print -r --'
3018 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3019   ECHO='printf %s\n'
3020 else
3021   # Use this function as a fallback that always works.
3022   func_fallback_echo ()
3023   {
3024     eval 'cat <<_LTECHO_EOF
3025 $1
3026 _LTECHO_EOF'
3027   }
3028   ECHO='func_fallback_echo'
3029 fi
3030
3031 # func_echo_all arg...
3032 # Invoke $ECHO with all args, space-separated.
3033 func_echo_all ()
3034 {
3035     $ECHO ""
3036 }
3037
3038 case "$ECHO" in
3039   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3040 $as_echo "printf" >&6; } ;;
3041   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3042 $as_echo "print -r" >&6; } ;;
3043   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3044 $as_echo "cat" >&6; } ;;
3045 esac
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060 DEPDIR="${am__leading_dot}deps"
3061
3062 ac_config_commands="$ac_config_commands depfiles"
3063
3064
3065 am_make=${MAKE-make}
3066 cat > confinc << 'END'
3067 am__doit:
3068         @echo this is the am__doit target
3069 .PHONY: am__doit
3070 END
3071 # If we don't find an include directive, just comment out the code.
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3073 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3074 am__include="#"
3075 am__quote=
3076 _am_result=none
3077 # First try GNU make style include.
3078 echo "include confinc" > confmf
3079 # Ignore all kinds of additional output from `make'.
3080 case `$am_make -s -f confmf 2> /dev/null` in #(
3081 *the\ am__doit\ target*)
3082   am__include=include
3083   am__quote=
3084   _am_result=GNU
3085   ;;
3086 esac
3087 # Now try BSD make style include.
3088 if test "$am__include" = "#"; then
3089    echo '.include "confinc"' > confmf
3090    case `$am_make -s -f confmf 2> /dev/null` in #(
3091    *the\ am__doit\ target*)
3092      am__include=.include
3093      am__quote="\""
3094      _am_result=BSD
3095      ;;
3096    esac
3097 fi
3098
3099
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3101 $as_echo "$_am_result" >&6; }
3102 rm -f confinc confmf
3103
3104 # Check whether --enable-dependency-tracking was given.
3105 if test "${enable_dependency_tracking+set}" = set; then :
3106   enableval=$enable_dependency_tracking;
3107 fi
3108
3109 if test "x$enable_dependency_tracking" != xno; then
3110   am_depcomp="$ac_aux_dir/depcomp"
3111   AMDEPBACKSLASH='\'
3112   am__nodep='_no'
3113 fi
3114  if test "x$enable_dependency_tracking" != xno; then
3115   AMDEP_TRUE=
3116   AMDEP_FALSE='#'
3117 else
3118   AMDEP_TRUE='#'
3119   AMDEP_FALSE=
3120 fi
3121
3122
3123 ac_ext=c
3124 ac_cpp='$CPP $CPPFLAGS'
3125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3128 if test -n "$ac_tool_prefix"; then
3129   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3130 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_CC+:} false; then :
3134   $as_echo_n "(cached) " >&6
3135 else
3136   if test -n "$CC"; then
3137   ac_cv_prog_CC="$CC" # Let the user override the test.
3138 else
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140 for as_dir in $PATH
3141 do
3142   IFS=$as_save_IFS
3143   test -z "$as_dir" && as_dir=.
3144     for ac_exec_ext in '' $ac_executable_extensions; do
3145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3146     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148     break 2
3149   fi
3150 done
3151   done
3152 IFS=$as_save_IFS
3153
3154 fi
3155 fi
3156 CC=$ac_cv_prog_CC
3157 if test -n "$CC"; then
3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159 $as_echo "$CC" >&6; }
3160 else
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3163 fi
3164
3165
3166 fi
3167 if test -z "$ac_cv_prog_CC"; then
3168   ac_ct_CC=$CC
3169   # Extract the first word of "gcc", so it can be a program name with args.
3170 set dummy gcc; ac_word=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3174   $as_echo_n "(cached) " >&6
3175 else
3176   if test -n "$ac_ct_CC"; then
3177   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3178 else
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 for as_dir in $PATH
3181 do
3182   IFS=$as_save_IFS
3183   test -z "$as_dir" && as_dir=.
3184     for ac_exec_ext in '' $ac_executable_extensions; do
3185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186     ac_cv_prog_ac_ct_CC="gcc"
3187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188     break 2
3189   fi
3190 done
3191   done
3192 IFS=$as_save_IFS
3193
3194 fi
3195 fi
3196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3197 if test -n "$ac_ct_CC"; then
3198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3199 $as_echo "$ac_ct_CC" >&6; }
3200 else
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 fi
3204
3205   if test "x$ac_ct_CC" = x; then
3206     CC=""
3207   else
3208     case $cross_compiling:$ac_tool_warned in
3209 yes:)
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3212 ac_tool_warned=yes ;;
3213 esac
3214     CC=$ac_ct_CC
3215   fi
3216 else
3217   CC="$ac_cv_prog_CC"
3218 fi
3219
3220 if test -z "$CC"; then
3221           if test -n "$ac_tool_prefix"; then
3222     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3223 set dummy ${ac_tool_prefix}cc; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_CC+:} false; then :
3227   $as_echo_n "(cached) " >&6
3228 else
3229   if test -n "$CC"; then
3230   ac_cv_prog_CC="$CC" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235   IFS=$as_save_IFS
3236   test -z "$as_dir" && as_dir=.
3237     for ac_exec_ext in '' $ac_executable_extensions; do
3238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239     ac_cv_prog_CC="${ac_tool_prefix}cc"
3240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241     break 2
3242   fi
3243 done
3244   done
3245 IFS=$as_save_IFS
3246
3247 fi
3248 fi
3249 CC=$ac_cv_prog_CC
3250 if test -n "$CC"; then
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3252 $as_echo "$CC" >&6; }
3253 else
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 fi
3257
3258
3259   fi
3260 fi
3261 if test -z "$CC"; then
3262   # Extract the first word of "cc", so it can be a program name with args.
3263 set dummy cc; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CC+:} false; then :
3267   $as_echo_n "(cached) " >&6
3268 else
3269   if test -n "$CC"; then
3270   ac_cv_prog_CC="$CC" # Let the user override the test.
3271 else
3272   ac_prog_rejected=no
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH
3275 do
3276   IFS=$as_save_IFS
3277   test -z "$as_dir" && as_dir=.
3278     for ac_exec_ext in '' $ac_executable_extensions; do
3279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3281        ac_prog_rejected=yes
3282        continue
3283      fi
3284     ac_cv_prog_CC="cc"
3285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286     break 2
3287   fi
3288 done
3289   done
3290 IFS=$as_save_IFS
3291
3292 if test $ac_prog_rejected = yes; then
3293   # We found a bogon in the path, so make sure we never use it.
3294   set dummy $ac_cv_prog_CC
3295   shift
3296   if test $# != 0; then
3297     # We chose a different compiler from the bogus one.
3298     # However, it has the same basename, so the bogon will be chosen
3299     # first if we set CC to just the basename; use the full file name.
3300     shift
3301     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3302   fi
3303 fi
3304 fi
3305 fi
3306 CC=$ac_cv_prog_CC
3307 if test -n "$CC"; then
3308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3309 $as_echo "$CC" >&6; }
3310 else
3311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3313 fi
3314
3315
3316 fi
3317 if test -z "$CC"; then
3318   if test -n "$ac_tool_prefix"; then
3319   for ac_prog in cl.exe
3320   do
3321     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3322 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_CC+:} false; then :
3326   $as_echo_n "(cached) " >&6
3327 else
3328   if test -n "$CC"; then
3329   ac_cv_prog_CC="$CC" # Let the user override the test.
3330 else
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 for as_dir in $PATH
3333 do
3334   IFS=$as_save_IFS
3335   test -z "$as_dir" && as_dir=.
3336     for ac_exec_ext in '' $ac_executable_extensions; do
3337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3338     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340     break 2
3341   fi
3342 done
3343   done
3344 IFS=$as_save_IFS
3345
3346 fi
3347 fi
3348 CC=$ac_cv_prog_CC
3349 if test -n "$CC"; then
3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3352 else
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3355 fi
3356
3357
3358     test -n "$CC" && break
3359   done
3360 fi
3361 if test -z "$CC"; then
3362   ac_ct_CC=$CC
3363   for ac_prog in cl.exe
3364 do
3365   # Extract the first word of "$ac_prog", so it can be a program name with args.
3366 set dummy $ac_prog; ac_word=$2
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3370   $as_echo_n "(cached) " >&6
3371 else
3372   if test -n "$ac_ct_CC"; then
3373   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3374 else
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 for as_dir in $PATH
3377 do
3378   IFS=$as_save_IFS
3379   test -z "$as_dir" && as_dir=.
3380     for ac_exec_ext in '' $ac_executable_extensions; do
3381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382     ac_cv_prog_ac_ct_CC="$ac_prog"
3383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384     break 2
3385   fi
3386 done
3387   done
3388 IFS=$as_save_IFS
3389
3390 fi
3391 fi
3392 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3393 if test -n "$ac_ct_CC"; then
3394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3395 $as_echo "$ac_ct_CC" >&6; }
3396 else
3397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3399 fi
3400
3401
3402   test -n "$ac_ct_CC" && break
3403 done
3404
3405   if test "x$ac_ct_CC" = x; then
3406     CC=""
3407   else
3408     case $cross_compiling:$ac_tool_warned in
3409 yes:)
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3412 ac_tool_warned=yes ;;
3413 esac
3414     CC=$ac_ct_CC
3415   fi
3416 fi
3417
3418 fi
3419
3420
3421 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423 as_fn_error $? "no acceptable C compiler found in \$PATH
3424 See \`config.log' for more details" "$LINENO" 5; }
3425
3426 # Provide some information about the compiler.
3427 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3428 set X $ac_compile
3429 ac_compiler=$2
3430 for ac_option in --version -v -V -qversion; do
3431   { { ac_try="$ac_compiler $ac_option >&5"
3432 case "(($ac_try" in
3433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434   *) ac_try_echo=$ac_try;;
3435 esac
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3439   ac_status=$?
3440   if test -s conftest.err; then
3441     sed '10a\
3442 ... rest of stderr output deleted ...
3443          10q' conftest.err >conftest.er1
3444     cat conftest.er1 >&5
3445   fi
3446   rm -f conftest.er1 conftest.err
3447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448   test $ac_status = 0; }
3449 done
3450
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h.  */
3453
3454 int
3455 main ()
3456 {
3457
3458   ;
3459   return 0;
3460 }
3461 _ACEOF
3462 ac_clean_files_save=$ac_clean_files
3463 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3464 # Try to create an executable without -o first, disregard a.out.
3465 # It will help us diagnose broken compilers, and finding out an intuition
3466 # of exeext.
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3468 $as_echo_n "checking whether the C compiler works... " >&6; }
3469 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3470
3471 # The possible output files:
3472 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3473
3474 ac_rmfiles=
3475 for ac_file in $ac_files
3476 do
3477   case $ac_file in
3478     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3479     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3480   esac
3481 done
3482 rm -f $ac_rmfiles
3483
3484 if { { ac_try="$ac_link_default"
3485 case "(($ac_try" in
3486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487   *) ac_try_echo=$ac_try;;
3488 esac
3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491   (eval "$ac_link_default") 2>&5
3492   ac_status=$?
3493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494   test $ac_status = 0; }; then :
3495   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3496 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3497 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3498 # so that the user can short-circuit this test for compilers unknown to
3499 # Autoconf.
3500 for ac_file in $ac_files ''
3501 do
3502   test -f "$ac_file" || continue
3503   case $ac_file in
3504     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3505         ;;
3506     [ab].out )
3507         # We found the default executable, but exeext='' is most
3508         # certainly right.
3509         break;;
3510     *.* )
3511         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3512         then :; else
3513            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3514         fi
3515         # We set ac_cv_exeext here because the later test for it is not
3516         # safe: cross compilers may not add the suffix if given an `-o'
3517         # argument, so we may need to know it at that point already.
3518         # Even if this section looks crufty: it has the advantage of
3519         # actually working.
3520         break;;
3521     * )
3522         break;;
3523   esac
3524 done
3525 test "$ac_cv_exeext" = no && ac_cv_exeext=
3526
3527 else
3528   ac_file=''
3529 fi
3530 if test -z "$ac_file"; then :
3531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3533 $as_echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.$ac_ext >&5
3535
3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error 77 "C compiler cannot create executables
3539 See \`config.log' for more details" "$LINENO" 5; }
3540 else
3541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3542 $as_echo "yes" >&6; }
3543 fi
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3545 $as_echo_n "checking for C compiler default output file name... " >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3547 $as_echo "$ac_file" >&6; }
3548 ac_exeext=$ac_cv_exeext
3549
3550 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3551 ac_clean_files=$ac_clean_files_save
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3553 $as_echo_n "checking for suffix of executables... " >&6; }
3554 if { { ac_try="$ac_link"
3555 case "(($ac_try" in
3556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557   *) ac_try_echo=$ac_try;;
3558 esac
3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560 $as_echo "$ac_try_echo"; } >&5
3561   (eval "$ac_link") 2>&5
3562   ac_status=$?
3563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564   test $ac_status = 0; }; then :
3565   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3566 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3567 # work properly (i.e., refer to `conftest.exe'), while it won't with
3568 # `rm'.
3569 for ac_file in conftest.exe conftest conftest.*; do
3570   test -f "$ac_file" || continue
3571   case $ac_file in
3572     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3573     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3574           break;;
3575     * ) break;;
3576   esac
3577 done
3578 else
3579   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3582 See \`config.log' for more details" "$LINENO" 5; }
3583 fi
3584 rm -f conftest conftest$ac_cv_exeext
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3586 $as_echo "$ac_cv_exeext" >&6; }
3587
3588 rm -f conftest.$ac_ext
3589 EXEEXT=$ac_cv_exeext
3590 ac_exeext=$EXEEXT
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h.  */
3593 #include <stdio.h>
3594 int
3595 main ()
3596 {
3597 FILE *f = fopen ("conftest.out", "w");
3598  return ferror (f) || fclose (f) != 0;
3599
3600   ;
3601   return 0;
3602 }
3603 _ACEOF
3604 ac_clean_files="$ac_clean_files conftest.out"
3605 # Check that the compiler produces executables we can run.  If not, either
3606 # the compiler is broken, or we cross compile.
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3608 $as_echo_n "checking whether we are cross compiling... " >&6; }
3609 if test "$cross_compiling" != yes; then
3610   { { ac_try="$ac_link"
3611 case "(($ac_try" in
3612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613   *) ac_try_echo=$ac_try;;
3614 esac
3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617   (eval "$ac_link") 2>&5
3618   ac_status=$?
3619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620   test $ac_status = 0; }
3621   if { ac_try='./conftest$ac_cv_exeext'
3622   { { case "(($ac_try" in
3623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624   *) ac_try_echo=$ac_try;;
3625 esac
3626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627 $as_echo "$ac_try_echo"; } >&5
3628   (eval "$ac_try") 2>&5
3629   ac_status=$?
3630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3631   test $ac_status = 0; }; }; then
3632     cross_compiling=no
3633   else
3634     if test "$cross_compiling" = maybe; then
3635         cross_compiling=yes
3636     else
3637         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3639 as_fn_error $? "cannot run C compiled programs.
3640 If you meant to cross compile, use \`--host'.
3641 See \`config.log' for more details" "$LINENO" 5; }
3642     fi
3643   fi
3644 fi
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3646 $as_echo "$cross_compiling" >&6; }
3647
3648 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3649 ac_clean_files=$ac_clean_files_save
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3651 $as_echo_n "checking for suffix of object files... " >&6; }
3652 if ${ac_cv_objext+:} false; then :
3653   $as_echo_n "(cached) " >&6
3654 else
3655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h.  */
3657
3658 int
3659 main ()
3660 {
3661
3662   ;
3663   return 0;
3664 }
3665 _ACEOF
3666 rm -f conftest.o conftest.obj
3667 if { { ac_try="$ac_compile"
3668 case "(($ac_try" in
3669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670   *) ac_try_echo=$ac_try;;
3671 esac
3672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674   (eval "$ac_compile") 2>&5
3675   ac_status=$?
3676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677   test $ac_status = 0; }; then :
3678   for ac_file in conftest.o conftest.obj conftest.*; do
3679   test -f "$ac_file" || continue;
3680   case $ac_file in
3681     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3682     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3683        break;;
3684   esac
3685 done
3686 else
3687   $as_echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3689
3690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 as_fn_error $? "cannot compute suffix of object files: cannot compile
3693 See \`config.log' for more details" "$LINENO" 5; }
3694 fi
3695 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3696 fi
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3698 $as_echo "$ac_cv_objext" >&6; }
3699 OBJEXT=$ac_cv_objext
3700 ac_objext=$OBJEXT
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3702 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3703 if ${ac_cv_c_compiler_gnu+:} false; then :
3704   $as_echo_n "(cached) " >&6
3705 else
3706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h.  */
3708
3709 int
3710 main ()
3711 {
3712 #ifndef __GNUC__
3713        choke me
3714 #endif
3715
3716   ;
3717   return 0;
3718 }
3719 _ACEOF
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721   ac_compiler_gnu=yes
3722 else
3723   ac_compiler_gnu=no
3724 fi
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3727
3728 fi
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3730 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3731 if test $ac_compiler_gnu = yes; then
3732   GCC=yes
3733 else
3734   GCC=
3735 fi
3736 ac_test_CFLAGS=${CFLAGS+set}
3737 ac_save_CFLAGS=$CFLAGS
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3739 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3740 if ${ac_cv_prog_cc_g+:} false; then :
3741   $as_echo_n "(cached) " >&6
3742 else
3743   ac_save_c_werror_flag=$ac_c_werror_flag
3744    ac_c_werror_flag=yes
3745    ac_cv_prog_cc_g=no
3746    CFLAGS="-g"
3747    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h.  */
3749
3750 int
3751 main ()
3752 {
3753
3754   ;
3755   return 0;
3756 }
3757 _ACEOF
3758 if ac_fn_c_try_compile "$LINENO"; then :
3759   ac_cv_prog_cc_g=yes
3760 else
3761   CFLAGS=""
3762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h.  */
3764
3765 int
3766 main ()
3767 {
3768
3769   ;
3770   return 0;
3771 }
3772 _ACEOF
3773 if ac_fn_c_try_compile "$LINENO"; then :
3774
3775 else
3776   ac_c_werror_flag=$ac_save_c_werror_flag
3777          CFLAGS="-g"
3778          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h.  */
3780
3781 int
3782 main ()
3783 {
3784
3785   ;
3786   return 0;
3787 }
3788 _ACEOF
3789 if ac_fn_c_try_compile "$LINENO"; then :
3790   ac_cv_prog_cc_g=yes
3791 fi
3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 fi
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 fi
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797    ac_c_werror_flag=$ac_save_c_werror_flag
3798 fi
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3800 $as_echo "$ac_cv_prog_cc_g" >&6; }
3801 if test "$ac_test_CFLAGS" = set; then
3802   CFLAGS=$ac_save_CFLAGS
3803 elif test $ac_cv_prog_cc_g = yes; then
3804   if test "$GCC" = yes; then
3805     CFLAGS="-g -O2"
3806   else
3807     CFLAGS="-g"
3808   fi
3809 else
3810   if test "$GCC" = yes; then
3811     CFLAGS="-O2"
3812   else
3813     CFLAGS=
3814   fi
3815 fi
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3817 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3818 if ${ac_cv_prog_cc_c89+:} false; then :
3819   $as_echo_n "(cached) " >&6
3820 else
3821   ac_cv_prog_cc_c89=no
3822 ac_save_CC=$CC
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h.  */
3825 #include <stdarg.h>
3826 #include <stdio.h>
3827 #include <sys/types.h>
3828 #include <sys/stat.h>
3829 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3830 struct buf { int x; };
3831 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3832 static char *e (p, i)
3833      char **p;
3834      int i;
3835 {
3836   return p[i];
3837 }
3838 static char *f (char * (*g) (char **, int), char **p, ...)
3839 {
3840   char *s;
3841   va_list v;
3842   va_start (v,p);
3843   s = g (p, va_arg (v,int));
3844   va_end (v);
3845   return s;
3846 }
3847
3848 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3849    function prototypes and stuff, but not '\xHH' hex character constants.
3850    These don't provoke an error unfortunately, instead are silently treated
3851    as 'x'.  The following induces an error, until -std is added to get
3852    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3853    array size at least.  It's necessary to write '\x00'==0 to get something
3854    that's true only with -std.  */
3855 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3856
3857 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3858    inside strings and character constants.  */
3859 #define FOO(x) 'x'
3860 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3861
3862 int test (int i, double x);
3863 struct s1 {int (*f) (int a);};
3864 struct s2 {int (*f) (double a);};
3865 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3866 int argc;
3867 char **argv;
3868 int
3869 main ()
3870 {
3871 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3872   ;
3873   return 0;
3874 }
3875 _ACEOF
3876 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3877         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3878 do
3879   CC="$ac_save_CC $ac_arg"
3880   if ac_fn_c_try_compile "$LINENO"; then :
3881   ac_cv_prog_cc_c89=$ac_arg
3882 fi
3883 rm -f core conftest.err conftest.$ac_objext
3884   test "x$ac_cv_prog_cc_c89" != "xno" && break
3885 done
3886 rm -f conftest.$ac_ext
3887 CC=$ac_save_CC
3888
3889 fi
3890 # AC_CACHE_VAL
3891 case "x$ac_cv_prog_cc_c89" in
3892   x)
3893     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3894 $as_echo "none needed" >&6; } ;;
3895   xno)
3896     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3897 $as_echo "unsupported" >&6; } ;;
3898   *)
3899     CC="$CC $ac_cv_prog_cc_c89"
3900     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3901 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3902 esac
3903 if test "x$ac_cv_prog_cc_c89" != xno; then :
3904
3905 fi
3906
3907 ac_ext=c
3908 ac_cpp='$CPP $CPPFLAGS'
3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912
3913 depcc="$CC"   am_compiler_list=
3914
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3916 $as_echo_n "checking dependency style of $depcc... " >&6; }
3917 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3918   $as_echo_n "(cached) " >&6
3919 else
3920   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921   # We make a subdir and do the tests there.  Otherwise we can end up
3922   # making bogus files that we don't know about and never remove.  For
3923   # instance it was reported that on HP-UX the gcc test will end up
3924   # making a dummy file named `D' -- because `-MD' means `put the output
3925   # in D'.
3926   rm -rf conftest.dir
3927   mkdir conftest.dir
3928   # Copy depcomp to subdir because otherwise we won't find it if we're
3929   # using a relative directory.
3930   cp "$am_depcomp" conftest.dir
3931   cd conftest.dir
3932   # We will build objects and dependencies in a subdirectory because
3933   # it helps to detect inapplicable dependency modes.  For instance
3934   # both Tru64's cc and ICC support -MD to output dependencies as a
3935   # side effect of compilation, but ICC will put the dependencies in
3936   # the current directory while Tru64 will put them in the object
3937   # directory.
3938   mkdir sub
3939
3940   am_cv_CC_dependencies_compiler_type=none
3941   if test "$am_compiler_list" = ""; then
3942      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3943   fi
3944   am__universal=false
3945   case " $depcc " in #(
3946      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3947      esac
3948
3949   for depmode in $am_compiler_list; do
3950     # Setup a source with many dependencies, because some compilers
3951     # like to wrap large dependency lists on column 80 (with \), and
3952     # we should not choose a depcomp mode which is confused by this.
3953     #
3954     # We need to recreate these files for each test, as the compiler may
3955     # overwrite some of them when testing with obscure command lines.
3956     # This happens at least with the AIX C compiler.
3957     : > sub/conftest.c
3958     for i in 1 2 3 4 5 6; do
3959       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3960       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3961       # Solaris 8's {/usr,}/bin/sh.
3962       touch sub/conftst$i.h
3963     done
3964     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3965
3966     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3967     # mode.  It turns out that the SunPro C++ compiler does not properly
3968     # handle `-M -o', and we need to detect this.  Also, some Intel
3969     # versions had trouble with output in subdirs
3970     am__obj=sub/conftest.${OBJEXT-o}
3971     am__minus_obj="-o $am__obj"
3972     case $depmode in
3973     gcc)
3974       # This depmode causes a compiler race in universal mode.
3975       test "$am__universal" = false || continue
3976       ;;
3977     nosideeffect)
3978       # after this tag, mechanisms are not by side-effect, so they'll
3979       # only be used when explicitly requested
3980       if test "x$enable_dependency_tracking" = xyes; then
3981         continue
3982       else
3983         break
3984       fi
3985       ;;
3986     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3987       # This compiler won't grok `-c -o', but also, the minuso test has
3988       # not run yet.  These depmodes are late enough in the game, and
3989       # so weak that their functioning should not be impacted.
3990       am__obj=conftest.${OBJEXT-o}
3991       am__minus_obj=
3992       ;;
3993     none) break ;;
3994     esac
3995     if depmode=$depmode \
3996        source=sub/conftest.c object=$am__obj \
3997        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3998        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3999          >/dev/null 2>conftest.err &&
4000        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4001        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4002        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4003        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4004       # icc doesn't choke on unknown options, it will just issue warnings
4005       # or remarks (even with -Werror).  So we grep stderr for any message
4006       # that says an option was ignored or not supported.
4007       # When given -MP, icc 7.0 and 7.1 complain thusly:
4008       #   icc: Command line warning: ignoring option '-M'; no argument required
4009       # The diagnosis changed in icc 8.0:
4010       #   icc: Command line remark: option '-MP' not supported
4011       if (grep 'ignoring option' conftest.err ||
4012           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4013         am_cv_CC_dependencies_compiler_type=$depmode
4014         break
4015       fi
4016     fi
4017   done
4018
4019   cd ..
4020   rm -rf conftest.dir
4021 else
4022   am_cv_CC_dependencies_compiler_type=none
4023 fi
4024
4025 fi
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4027 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4028 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4029
4030  if
4031   test "x$enable_dependency_tracking" != xno \
4032   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4033   am__fastdepCC_TRUE=
4034   am__fastdepCC_FALSE='#'
4035 else
4036   am__fastdepCC_TRUE='#'
4037   am__fastdepCC_FALSE=
4038 fi
4039
4040
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4042 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4043 if ${ac_cv_path_SED+:} false; then :
4044   $as_echo_n "(cached) " >&6
4045 else
4046             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4047      for ac_i in 1 2 3 4 5 6 7; do
4048        ac_script="$ac_script$as_nl$ac_script"
4049      done
4050      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4051      { ac_script=; unset ac_script;}
4052      if test -z "$SED"; then
4053   ac_path_SED_found=false
4054   # Loop through the user's path and test for each of PROGNAME-LIST
4055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4057 do
4058   IFS=$as_save_IFS
4059   test -z "$as_dir" && as_dir=.
4060     for ac_prog in sed gsed; do
4061     for ac_exec_ext in '' $ac_executable_extensions; do
4062       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4063       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4064 # Check for GNU ac_path_SED and select it if it is found.
4065   # Check for GNU $ac_path_SED
4066 case `"$ac_path_SED" --version 2>&1` in
4067 *GNU*)
4068   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4069 *)
4070   ac_count=0
4071   $as_echo_n 0123456789 >"conftest.in"
4072   while :
4073   do
4074     cat "conftest.in" "conftest.in" >"conftest.tmp"
4075     mv "conftest.tmp" "conftest.in"
4076     cp "conftest.in" "conftest.nl"
4077     $as_echo '' >> "conftest.nl"
4078     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4079     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4080     as_fn_arith $ac_count + 1 && ac_count=$as_val
4081     if test $ac_count -gt ${ac_path_SED_max-0}; then
4082       # Best one so far, save it but keep looking for a better one
4083       ac_cv_path_SED="$ac_path_SED"
4084       ac_path_SED_max=$ac_count
4085     fi
4086     # 10*(2^10) chars as input seems more than enough
4087     test $ac_count -gt 10 && break
4088   done
4089   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4090 esac
4091
4092       $ac_path_SED_found && break 3
4093     done
4094   done
4095   done
4096 IFS=$as_save_IFS
4097   if test -z "$ac_cv_path_SED"; then
4098     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4099   fi
4100 else
4101   ac_cv_path_SED=$SED
4102 fi
4103
4104 fi
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4106 $as_echo "$ac_cv_path_SED" >&6; }
4107  SED="$ac_cv_path_SED"
4108   rm -f conftest.sed
4109
4110 test -z "$SED" && SED=sed
4111 Xsed="$SED -e 1s/^X//"
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4124 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4125 if ${ac_cv_path_GREP+:} false; then :
4126   $as_echo_n "(cached) " >&6
4127 else
4128   if test -z "$GREP"; then
4129   ac_path_GREP_found=false
4130   # Loop through the user's path and test for each of PROGNAME-LIST
4131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4133 do
4134   IFS=$as_save_IFS
4135   test -z "$as_dir" && as_dir=.
4136     for ac_prog in grep ggrep; do
4137     for ac_exec_ext in '' $ac_executable_extensions; do
4138       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4139       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4140 # Check for GNU ac_path_GREP and select it if it is found.
4141   # Check for GNU $ac_path_GREP
4142 case `"$ac_path_GREP" --version 2>&1` in
4143 *GNU*)
4144   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4145 *)
4146   ac_count=0
4147   $as_echo_n 0123456789 >"conftest.in"
4148   while :
4149   do
4150     cat "conftest.in" "conftest.in" >"conftest.tmp"
4151     mv "conftest.tmp" "conftest.in"
4152     cp "conftest.in" "conftest.nl"
4153     $as_echo 'GREP' >> "conftest.nl"
4154     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4155     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4156     as_fn_arith $ac_count + 1 && ac_count=$as_val
4157     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4158       # Best one so far, save it but keep looking for a better one
4159       ac_cv_path_GREP="$ac_path_GREP"
4160       ac_path_GREP_max=$ac_count
4161     fi
4162     # 10*(2^10) chars as input seems more than enough
4163     test $ac_count -gt 10 && break
4164   done
4165   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4166 esac
4167
4168       $ac_path_GREP_found && break 3
4169     done
4170   done
4171   done
4172 IFS=$as_save_IFS
4173   if test -z "$ac_cv_path_GREP"; then
4174     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4175   fi
4176 else
4177   ac_cv_path_GREP=$GREP
4178 fi
4179
4180 fi
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4182 $as_echo "$ac_cv_path_GREP" >&6; }
4183  GREP="$ac_cv_path_GREP"
4184
4185
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4187 $as_echo_n "checking for egrep... " >&6; }
4188 if ${ac_cv_path_EGREP+:} false; then :
4189   $as_echo_n "(cached) " >&6
4190 else
4191   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4192    then ac_cv_path_EGREP="$GREP -E"
4193    else
4194      if test -z "$EGREP"; then
4195   ac_path_EGREP_found=false
4196   # Loop through the user's path and test for each of PROGNAME-LIST
4197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4199 do
4200   IFS=$as_save_IFS
4201   test -z "$as_dir" && as_dir=.
4202     for ac_prog in egrep; do
4203     for ac_exec_ext in '' $ac_executable_extensions; do
4204       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4205       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4206 # Check for GNU ac_path_EGREP and select it if it is found.
4207   # Check for GNU $ac_path_EGREP
4208 case `"$ac_path_EGREP" --version 2>&1` in
4209 *GNU*)
4210   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4211 *)
4212   ac_count=0
4213   $as_echo_n 0123456789 >"conftest.in"
4214   while :
4215   do
4216     cat "conftest.in" "conftest.in" >"conftest.tmp"
4217     mv "conftest.tmp" "conftest.in"
4218     cp "conftest.in" "conftest.nl"
4219     $as_echo 'EGREP' >> "conftest.nl"
4220     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4221     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4222     as_fn_arith $ac_count + 1 && ac_count=$as_val
4223     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4224       # Best one so far, save it but keep looking for a better one
4225       ac_cv_path_EGREP="$ac_path_EGREP"
4226       ac_path_EGREP_max=$ac_count
4227     fi
4228     # 10*(2^10) chars as input seems more than enough
4229     test $ac_count -gt 10 && break
4230   done
4231   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4232 esac
4233
4234       $ac_path_EGREP_found && break 3
4235     done
4236   done
4237   done
4238 IFS=$as_save_IFS
4239   if test -z "$ac_cv_path_EGREP"; then
4240     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4241   fi
4242 else
4243   ac_cv_path_EGREP=$EGREP
4244 fi
4245
4246    fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4249 $as_echo "$ac_cv_path_EGREP" >&6; }
4250  EGREP="$ac_cv_path_EGREP"
4251
4252
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4254 $as_echo_n "checking for fgrep... " >&6; }
4255 if ${ac_cv_path_FGREP+:} false; then :
4256   $as_echo_n "(cached) " >&6
4257 else
4258   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4259    then ac_cv_path_FGREP="$GREP -F"
4260    else
4261      if test -z "$FGREP"; then
4262   ac_path_FGREP_found=false
4263   # Loop through the user's path and test for each of PROGNAME-LIST
4264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4266 do
4267   IFS=$as_save_IFS
4268   test -z "$as_dir" && as_dir=.
4269     for ac_prog in fgrep; do
4270     for ac_exec_ext in '' $ac_executable_extensions; do
4271       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4272       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4273 # Check for GNU ac_path_FGREP and select it if it is found.
4274   # Check for GNU $ac_path_FGREP
4275 case `"$ac_path_FGREP" --version 2>&1` in
4276 *GNU*)
4277   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4278 *)
4279   ac_count=0
4280   $as_echo_n 0123456789 >"conftest.in"
4281   while :
4282   do
4283     cat "conftest.in" "conftest.in" >"conftest.tmp"
4284     mv "conftest.tmp" "conftest.in"
4285     cp "conftest.in" "conftest.nl"
4286     $as_echo 'FGREP' >> "conftest.nl"
4287     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4288     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4289     as_fn_arith $ac_count + 1 && ac_count=$as_val
4290     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4291       # Best one so far, save it but keep looking for a better one
4292       ac_cv_path_FGREP="$ac_path_FGREP"
4293       ac_path_FGREP_max=$ac_count
4294     fi
4295     # 10*(2^10) chars as input seems more than enough
4296     test $ac_count -gt 10 && break
4297   done
4298   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4299 esac
4300
4301       $ac_path_FGREP_found && break 3
4302     done
4303   done
4304   done
4305 IFS=$as_save_IFS
4306   if test -z "$ac_cv_path_FGREP"; then
4307     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4308   fi
4309 else
4310   ac_cv_path_FGREP=$FGREP
4311 fi
4312
4313    fi
4314 fi
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4316 $as_echo "$ac_cv_path_FGREP" >&6; }
4317  FGREP="$ac_cv_path_FGREP"
4318
4319
4320 test -z "$GREP" && GREP=grep
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340 # Check whether --with-gnu-ld was given.
4341 if test "${with_gnu_ld+set}" = set; then :
4342   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4343 else
4344   with_gnu_ld=no
4345 fi
4346
4347 ac_prog=ld
4348 if test "$GCC" = yes; then
4349   # Check if gcc -print-prog-name=ld gives a path.
4350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4351 $as_echo_n "checking for ld used by $CC... " >&6; }
4352   case $host in
4353   *-*-mingw*)
4354     # gcc leaves a trailing carriage return which upsets mingw
4355     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4356   *)
4357     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4358   esac
4359   case $ac_prog in
4360     # Accept absolute paths.
4361     [\\/]* | ?:[\\/]*)
4362       re_direlt='/[^/][^/]*/\.\./'
4363       # Canonicalize the pathname of ld
4364       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4365       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4366         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4367       done
4368       test -z "$LD" && LD="$ac_prog"
4369       ;;
4370   "")
4371     # If it fails, then pretend we aren't using GCC.
4372     ac_prog=ld
4373     ;;
4374   *)
4375     # If it is relative, then search for the first ld in PATH.
4376     with_gnu_ld=unknown
4377     ;;
4378   esac
4379 elif test "$with_gnu_ld" = yes; then
4380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4381 $as_echo_n "checking for GNU ld... " >&6; }
4382 else
4383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4384 $as_echo_n "checking for non-GNU ld... " >&6; }
4385 fi
4386 if ${lt_cv_path_LD+:} false; then :
4387   $as_echo_n "(cached) " >&6
4388 else
4389   if test -z "$LD"; then
4390   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4391   for ac_dir in $PATH; do
4392     IFS="$lt_save_ifs"
4393     test -z "$ac_dir" && ac_dir=.
4394     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4395       lt_cv_path_LD="$ac_dir/$ac_prog"
4396       # Check to see if the program is GNU ld.  I'd rather use --version,
4397       # but apparently some variants of GNU ld only accept -v.
4398       # Break only if it was the GNU/non-GNU ld that we prefer.
4399       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4400       *GNU* | *'with BFD'*)
4401         test "$with_gnu_ld" != no && break
4402         ;;
4403       *)
4404         test "$with_gnu_ld" != yes && break
4405         ;;
4406       esac
4407     fi
4408   done
4409   IFS="$lt_save_ifs"
4410 else
4411   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4412 fi
4413 fi
4414
4415 LD="$lt_cv_path_LD"
4416 if test -n "$LD"; then
4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4418 $as_echo "$LD" >&6; }
4419 else
4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4422 fi
4423 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4425 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4426 if ${lt_cv_prog_gnu_ld+:} false; then :
4427   $as_echo_n "(cached) " >&6
4428 else
4429   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4430 case `$LD -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432   lt_cv_prog_gnu_ld=yes
4433   ;;
4434 *)
4435   lt_cv_prog_gnu_ld=no
4436   ;;
4437 esac
4438 fi
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4441 with_gnu_ld=$lt_cv_prog_gnu_ld
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4452 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4453 if ${lt_cv_path_NM+:} false; then :
4454   $as_echo_n "(cached) " >&6
4455 else
4456   if test -n "$NM"; then
4457   # Let the user override the test.
4458   lt_cv_path_NM="$NM"
4459 else
4460   lt_nm_to_check="${ac_tool_prefix}nm"
4461   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4462     lt_nm_to_check="$lt_nm_to_check nm"
4463   fi
4464   for lt_tmp_nm in $lt_nm_to_check; do
4465     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4466     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4467       IFS="$lt_save_ifs"
4468       test -z "$ac_dir" && ac_dir=.
4469       tmp_nm="$ac_dir/$lt_tmp_nm"
4470       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4471         # Check to see if the nm accepts a BSD-compat flag.
4472         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4473         #   nm: unknown option "B" ignored
4474         # Tru64's nm complains that /dev/null is an invalid object file
4475         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4476         */dev/null* | *'Invalid file or object type'*)
4477           lt_cv_path_NM="$tmp_nm -B"
4478           break
4479           ;;
4480         *)
4481           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4482           */dev/null*)
4483             lt_cv_path_NM="$tmp_nm -p"
4484             break
4485             ;;
4486           *)
4487             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4488             continue # so that we can try to find one that supports BSD flags
4489             ;;
4490           esac
4491           ;;
4492         esac
4493       fi
4494     done
4495     IFS="$lt_save_ifs"
4496   done
4497   : ${lt_cv_path_NM=no}
4498 fi
4499 fi
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4501 $as_echo "$lt_cv_path_NM" >&6; }
4502 if test "$lt_cv_path_NM" != "no"; then
4503   NM="$lt_cv_path_NM"
4504 else
4505   # Didn't find any BSD compatible name lister, look for dumpbin.
4506   if test -n "$DUMPBIN"; then :
4507     # Let the user override the test.
4508   else
4509     if test -n "$ac_tool_prefix"; then
4510   for ac_prog in dumpbin "link -dump"
4511   do
4512     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_prog_DUMPBIN+:} false; then :
4517   $as_echo_n "(cached) " >&6
4518 else
4519   if test -n "$DUMPBIN"; then
4520   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4521 else
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4524 do
4525   IFS=$as_save_IFS
4526   test -z "$as_dir" && as_dir=.
4527     for ac_exec_ext in '' $ac_executable_extensions; do
4528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4529     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531     break 2
4532   fi
4533 done
4534   done
4535 IFS=$as_save_IFS
4536
4537 fi
4538 fi
4539 DUMPBIN=$ac_cv_prog_DUMPBIN
4540 if test -n "$DUMPBIN"; then
4541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4542 $as_echo "$DUMPBIN" >&6; }
4543 else
4544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4546 fi
4547
4548
4549     test -n "$DUMPBIN" && break
4550   done
4551 fi
4552 if test -z "$DUMPBIN"; then
4553   ac_ct_DUMPBIN=$DUMPBIN
4554   for ac_prog in dumpbin "link -dump"
4555 do
4556   # Extract the first word of "$ac_prog", so it can be a program name with args.
4557 set dummy $ac_prog; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4561   $as_echo_n "(cached) " >&6
4562 else
4563   if test -n "$ac_ct_DUMPBIN"; then
4564   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4565 else
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 for as_dir in $PATH
4568 do
4569   IFS=$as_save_IFS
4570   test -z "$as_dir" && as_dir=.
4571     for ac_exec_ext in '' $ac_executable_extensions; do
4572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4573     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575     break 2
4576   fi
4577 done
4578   done
4579 IFS=$as_save_IFS
4580
4581 fi
4582 fi
4583 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4584 if test -n "$ac_ct_DUMPBIN"; then
4585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4586 $as_echo "$ac_ct_DUMPBIN" >&6; }
4587 else
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4590 fi
4591
4592
4593   test -n "$ac_ct_DUMPBIN" && break
4594 done
4595
4596   if test "x$ac_ct_DUMPBIN" = x; then
4597     DUMPBIN=":"
4598   else
4599     case $cross_compiling:$ac_tool_warned in
4600 yes:)
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4603 ac_tool_warned=yes ;;
4604 esac
4605     DUMPBIN=$ac_ct_DUMPBIN
4606   fi
4607 fi
4608
4609     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4610     *COFF*)
4611       DUMPBIN="$DUMPBIN -symbols"
4612       ;;
4613     *)
4614       DUMPBIN=:
4615       ;;
4616     esac
4617   fi
4618
4619   if test "$DUMPBIN" != ":"; then
4620     NM="$DUMPBIN"
4621   fi
4622 fi
4623 test -z "$NM" && NM=nm
4624
4625
4626
4627
4628
4629
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4631 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4632 if ${lt_cv_nm_interface+:} false; then :
4633   $as_echo_n "(cached) " >&6
4634 else
4635   lt_cv_nm_interface="BSD nm"
4636   echo "int some_variable = 0;" > conftest.$ac_ext
4637   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4638   (eval "$ac_compile" 2>conftest.err)
4639   cat conftest.err >&5
4640   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4641   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4642   cat conftest.err >&5
4643   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4644   cat conftest.out >&5
4645   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4646     lt_cv_nm_interface="MS dumpbin"
4647   fi
4648   rm -f conftest*
4649 fi
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4651 $as_echo "$lt_cv_nm_interface" >&6; }
4652
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4654 $as_echo_n "checking whether ln -s works... " >&6; }
4655 LN_S=$as_ln_s
4656 if test "$LN_S" = "ln -s"; then
4657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4658 $as_echo "yes" >&6; }
4659 else
4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4661 $as_echo "no, using $LN_S" >&6; }
4662 fi
4663
4664 # find the maximum length of command line arguments
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4666 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4667 if ${lt_cv_sys_max_cmd_len+:} false; then :
4668   $as_echo_n "(cached) " >&6
4669 else
4670     i=0
4671   teststring="ABCD"
4672
4673   case $build_os in
4674   msdosdjgpp*)
4675     # On DJGPP, this test can blow up pretty badly due to problems in libc
4676     # (any single argument exceeding 2000 bytes causes a buffer overrun
4677     # during glob expansion).  Even if it were fixed, the result of this
4678     # check would be larger than it should be.
4679     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4680     ;;
4681
4682   gnu*)
4683     # Under GNU Hurd, this test is not required because there is
4684     # no limit to the length of command line arguments.
4685     # Libtool will interpret -1 as no limit whatsoever
4686     lt_cv_sys_max_cmd_len=-1;
4687     ;;
4688
4689   cygwin* | mingw* | cegcc*)
4690     # On Win9x/ME, this test blows up -- it succeeds, but takes
4691     # about 5 minutes as the teststring grows exponentially.
4692     # Worse, since 9x/ME are not pre-emptively multitasking,
4693     # you end up with a "frozen" computer, even though with patience
4694     # the test eventually succeeds (with a max line length of 256k).
4695     # Instead, let's just punt: use the minimum linelength reported by
4696     # all of the supported platforms: 8192 (on NT/2K/XP).
4697     lt_cv_sys_max_cmd_len=8192;
4698     ;;
4699
4700   mint*)
4701     # On MiNT this can take a long time and run out of memory.
4702     lt_cv_sys_max_cmd_len=8192;
4703     ;;
4704
4705   amigaos*)
4706     # On AmigaOS with pdksh, this test takes hours, literally.
4707     # So we just punt and use a minimum line length of 8192.
4708     lt_cv_sys_max_cmd_len=8192;
4709     ;;
4710
4711   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4712     # This has been around since 386BSD, at least.  Likely further.
4713     if test -x /sbin/sysctl; then
4714       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4715     elif test -x /usr/sbin/sysctl; then
4716       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4717     else
4718       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4719     fi
4720     # And add a safety zone
4721     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4722     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4723     ;;
4724
4725   interix*)
4726     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4727     lt_cv_sys_max_cmd_len=196608
4728     ;;
4729
4730   os2*)
4731     # The test takes a long time on OS/2.
4732     lt_cv_sys_max_cmd_len=8192
4733     ;;
4734
4735   osf*)
4736     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4737     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4738     # nice to cause kernel panics so lets avoid the loop below.
4739     # First set a reasonable default.
4740     lt_cv_sys_max_cmd_len=16384
4741     #
4742     if test -x /sbin/sysconfig; then
4743       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4744         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4745       esac
4746     fi
4747     ;;
4748   sco3.2v5*)
4749     lt_cv_sys_max_cmd_len=102400
4750     ;;
4751   sysv5* | sco5v6* | sysv4.2uw2*)
4752     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4753     if test -n "$kargmax"; then
4754       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4755     else
4756       lt_cv_sys_max_cmd_len=32768
4757     fi
4758     ;;
4759   *)
4760     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4761     if test -n "$lt_cv_sys_max_cmd_len"; then
4762       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4763       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4764     else
4765       # Make teststring a little bigger before we do anything with it.
4766       # a 1K string should be a reasonable start.
4767       for i in 1 2 3 4 5 6 7 8 ; do
4768         teststring=$teststring$teststring
4769       done
4770       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4771       # If test is not a shell built-in, we'll probably end up computing a
4772       # maximum length that is only half of the actual maximum length, but
4773       # we can't tell.
4774       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4775                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4776               test $i != 17 # 1/2 MB should be enough
4777       do
4778         i=`expr $i + 1`
4779         teststring=$teststring$teststring
4780       done
4781       # Only check the string length outside the loop.
4782       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4783       teststring=
4784       # Add a significant safety factor because C++ compilers can tack on
4785       # massive amounts of additional arguments before passing them to the
4786       # linker.  It appears as though 1/2 is a usable value.
4787       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4788     fi
4789     ;;
4790   esac
4791
4792 fi
4793
4794 if test -n $lt_cv_sys_max_cmd_len ; then
4795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4796 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4797 else
4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4799 $as_echo "none" >&6; }
4800 fi
4801 max_cmd_len=$lt_cv_sys_max_cmd_len
4802
4803
4804
4805
4806
4807
4808 : ${CP="cp -f"}
4809 : ${MV="mv -f"}
4810 : ${RM="rm -f"}
4811
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4813 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4814 # Try some XSI features
4815 xsi_shell=no
4816 ( _lt_dummy="a/b/c"
4817   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4818       = c,a/b,b/c, \
4819     && eval 'test $(( 1 + 1 )) -eq 2 \
4820     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4821   && xsi_shell=yes
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4823 $as_echo "$xsi_shell" >&6; }
4824
4825
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4827 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4828 lt_shell_append=no
4829 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4830     >/dev/null 2>&1 \
4831   && lt_shell_append=yes
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4833 $as_echo "$lt_shell_append" >&6; }
4834
4835
4836 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4837   lt_unset=unset
4838 else
4839   lt_unset=false
4840 fi
4841
4842
4843
4844
4845
4846 # test EBCDIC or ASCII
4847 case `echo X|tr X '\101'` in
4848  A) # ASCII based system
4849     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4850   lt_SP2NL='tr \040 \012'
4851   lt_NL2SP='tr \015\012 \040\040'
4852   ;;
4853  *) # EBCDIC based system
4854   lt_SP2NL='tr \100 \n'
4855   lt_NL2SP='tr \r\n \100\100'
4856   ;;
4857 esac
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4868 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4869 if ${lt_cv_to_host_file_cmd+:} false; then :
4870   $as_echo_n "(cached) " >&6
4871 else
4872   case $host in
4873   *-*-mingw* )
4874     case $build in
4875       *-*-mingw* ) # actually msys
4876         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4877         ;;
4878       *-*-cygwin* )
4879         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4880         ;;
4881       * ) # otherwise, assume *nix
4882         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4883         ;;
4884     esac
4885     ;;
4886   *-*-cygwin* )
4887     case $build in
4888       *-*-mingw* ) # actually msys
4889         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4890         ;;
4891       *-*-cygwin* )
4892         lt_cv_to_host_file_cmd=func_convert_file_noop
4893         ;;
4894       * ) # otherwise, assume *nix
4895         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4896         ;;
4897     esac
4898     ;;
4899   * ) # unhandled hosts (and "normal" native builds)
4900     lt_cv_to_host_file_cmd=func_convert_file_noop
4901     ;;
4902 esac
4903
4904 fi
4905
4906 to_host_file_cmd=$lt_cv_to_host_file_cmd
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4908 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4909
4910
4911
4912
4913
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4915 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4916 if ${lt_cv_to_tool_file_cmd+:} false; then :
4917   $as_echo_n "(cached) " >&6
4918 else
4919   #assume ordinary cross tools, or native build.
4920 lt_cv_to_tool_file_cmd=func_convert_file_noop
4921 case $host in
4922   *-*-mingw* )
4923     case $build in
4924       *-*-mingw* ) # actually msys
4925         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4926         ;;
4927     esac
4928     ;;
4929 esac
4930
4931 fi
4932
4933 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4935 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4936
4937
4938
4939
4940
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4942 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4943 if ${lt_cv_ld_reload_flag+:} false; then :
4944   $as_echo_n "(cached) " >&6
4945 else
4946   lt_cv_ld_reload_flag='-r'
4947 fi
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4949 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4950 reload_flag=$lt_cv_ld_reload_flag
4951 case $reload_flag in
4952 "" | " "*) ;;
4953 *) reload_flag=" $reload_flag" ;;
4954 esac
4955 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4956 case $host_os in
4957   cygwin* | mingw* | pw32* | cegcc*)
4958     if test "$GCC" != yes; then
4959       reload_cmds=false
4960     fi
4961     ;;
4962   darwin*)
4963     if test "$GCC" = yes; then
4964       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4965     else
4966       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4967     fi
4968     ;;
4969 esac
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979 if test -n "$ac_tool_prefix"; then
4980   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_OBJDUMP+:} false; then :
4985   $as_echo_n "(cached) " >&6
4986 else
4987   if test -n "$OBJDUMP"; then
4988   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4992 do
4993   IFS=$as_save_IFS
4994   test -z "$as_dir" && as_dir=.
4995     for ac_exec_ext in '' $ac_executable_extensions; do
4996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4997     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999     break 2
5000   fi
5001 done
5002   done
5003 IFS=$as_save_IFS
5004
5005 fi
5006 fi
5007 OBJDUMP=$ac_cv_prog_OBJDUMP
5008 if test -n "$OBJDUMP"; then
5009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5010 $as_echo "$OBJDUMP" >&6; }
5011 else
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 fi
5015
5016
5017 fi
5018 if test -z "$ac_cv_prog_OBJDUMP"; then
5019   ac_ct_OBJDUMP=$OBJDUMP
5020   # Extract the first word of "objdump", so it can be a program name with args.
5021 set dummy objdump; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5025   $as_echo_n "(cached) " >&6
5026 else
5027   if test -n "$ac_ct_OBJDUMP"; then
5028   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5032 do
5033   IFS=$as_save_IFS
5034   test -z "$as_dir" && as_dir=.
5035     for ac_exec_ext in '' $ac_executable_extensions; do
5036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039     break 2
5040   fi
5041 done
5042   done
5043 IFS=$as_save_IFS
5044
5045 fi
5046 fi
5047 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5048 if test -n "$ac_ct_OBJDUMP"; then
5049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5050 $as_echo "$ac_ct_OBJDUMP" >&6; }
5051 else
5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5054 fi
5055
5056   if test "x$ac_ct_OBJDUMP" = x; then
5057     OBJDUMP="false"
5058   else
5059     case $cross_compiling:$ac_tool_warned in
5060 yes:)
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063 ac_tool_warned=yes ;;
5064 esac
5065     OBJDUMP=$ac_ct_OBJDUMP
5066   fi
5067 else
5068   OBJDUMP="$ac_cv_prog_OBJDUMP"
5069 fi
5070
5071 test -z "$OBJDUMP" && OBJDUMP=objdump
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5082 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5083 if ${lt_cv_deplibs_check_method+:} false; then :
5084   $as_echo_n "(cached) " >&6
5085 else
5086   lt_cv_file_magic_cmd='$MAGIC_CMD'
5087 lt_cv_file_magic_test_file=
5088 lt_cv_deplibs_check_method='unknown'
5089 # Need to set the preceding variable on all platforms that support
5090 # interlibrary dependencies.
5091 # 'none' -- dependencies not supported.
5092 # `unknown' -- same as none, but documents that we really don't know.
5093 # 'pass_all' -- all dependencies passed with no checks.
5094 # 'test_compile' -- check by making test program.
5095 # 'file_magic [[regex]]' -- check by looking for files in library path
5096 # which responds to the $file_magic_cmd with a given extended regex.
5097 # If you have `file' or equivalent on your system and you're not sure
5098 # whether `pass_all' will *always* work, you probably want this one.
5099
5100 case $host_os in
5101 aix[4-9]*)
5102   lt_cv_deplibs_check_method=pass_all
5103   ;;
5104
5105 beos*)
5106   lt_cv_deplibs_check_method=pass_all
5107   ;;
5108
5109 bsdi[45]*)
5110   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5111   lt_cv_file_magic_cmd='/usr/bin/file -L'
5112   lt_cv_file_magic_test_file=/shlib/libc.so
5113   ;;
5114
5115 cygwin*)
5116   # func_win32_libid is a shell function defined in ltmain.sh
5117   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5118   lt_cv_file_magic_cmd='func_win32_libid'
5119   ;;
5120
5121 mingw* | pw32*)
5122   # Base MSYS/MinGW do not provide the 'file' command needed by
5123   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5124   # unless we find 'file', for example because we are cross-compiling.
5125   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5126   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5127     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5128     lt_cv_file_magic_cmd='func_win32_libid'
5129   else
5130     # Keep this pattern in sync with the one in func_win32_libid.
5131     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5132     lt_cv_file_magic_cmd='$OBJDUMP -f'
5133   fi
5134   ;;
5135
5136 cegcc*)
5137   # use the weaker test based on 'objdump'. See mingw*.
5138   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5139   lt_cv_file_magic_cmd='$OBJDUMP -f'
5140   ;;
5141
5142 darwin* | rhapsody*)
5143   lt_cv_deplibs_check_method=pass_all
5144   ;;
5145
5146 freebsd* | dragonfly*)
5147   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5148     case $host_cpu in
5149     i*86 )
5150       # Not sure whether the presence of OpenBSD here was a mistake.
5151       # Let's accept both of them until this is cleared up.
5152       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5153       lt_cv_file_magic_cmd=/usr/bin/file
5154       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5155       ;;
5156     esac
5157   else
5158     lt_cv_deplibs_check_method=pass_all
5159   fi
5160   ;;
5161
5162 gnu*)
5163   lt_cv_deplibs_check_method=pass_all
5164   ;;
5165
5166 haiku*)
5167   lt_cv_deplibs_check_method=pass_all
5168   ;;
5169
5170 hpux10.20* | hpux11*)
5171   lt_cv_file_magic_cmd=/usr/bin/file
5172   case $host_cpu in
5173   ia64*)
5174     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5175     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5176     ;;
5177   hppa*64*)
5178     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5179     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5180     ;;
5181   *)
5182     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5183     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5184     ;;
5185   esac
5186   ;;
5187
5188 interix[3-9]*)
5189   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5190   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5191   ;;
5192
5193 irix5* | irix6* | nonstopux*)
5194   case $LD in
5195   *-32|*"-32 ") libmagic=32-bit;;
5196   *-n32|*"-n32 ") libmagic=N32;;
5197   *-64|*"-64 ") libmagic=64-bit;;
5198   *) libmagic=never-match;;
5199   esac
5200   lt_cv_deplibs_check_method=pass_all
5201   ;;
5202
5203 # This must be glibc/ELF.
5204 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5205   lt_cv_deplibs_check_method=pass_all
5206   ;;
5207
5208 netbsd*)
5209   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5210     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5211   else
5212     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5213   fi
5214   ;;
5215
5216 newos6*)
5217   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5218   lt_cv_file_magic_cmd=/usr/bin/file
5219   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5220   ;;
5221
5222 *nto* | *qnx*)
5223   lt_cv_deplibs_check_method=pass_all
5224   ;;
5225
5226 openbsd*)
5227   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5228     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5229   else
5230     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5231   fi
5232   ;;
5233
5234 osf3* | osf4* | osf5*)
5235   lt_cv_deplibs_check_method=pass_all
5236   ;;
5237
5238 rdos*)
5239   lt_cv_deplibs_check_method=pass_all
5240   ;;
5241
5242 solaris*)
5243   lt_cv_deplibs_check_method=pass_all
5244   ;;
5245
5246 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5247   lt_cv_deplibs_check_method=pass_all
5248   ;;
5249
5250 sysv4 | sysv4.3*)
5251   case $host_vendor in
5252   motorola)
5253     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]'
5254     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5255     ;;
5256   ncr)
5257     lt_cv_deplibs_check_method=pass_all
5258     ;;
5259   sequent)
5260     lt_cv_file_magic_cmd='/bin/file'
5261     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5262     ;;
5263   sni)
5264     lt_cv_file_magic_cmd='/bin/file'
5265     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5266     lt_cv_file_magic_test_file=/lib/libc.so
5267     ;;
5268   siemens)
5269     lt_cv_deplibs_check_method=pass_all
5270     ;;
5271   pc)
5272     lt_cv_deplibs_check_method=pass_all
5273     ;;
5274   esac
5275   ;;
5276
5277 tpf*)
5278   lt_cv_deplibs_check_method=pass_all
5279   ;;
5280 esac
5281
5282 fi
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5284 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5285
5286 file_magic_glob=
5287 want_nocaseglob=no
5288 if test "$build" = "$host"; then
5289   case $host_os in
5290   mingw* | pw32*)
5291     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5292       want_nocaseglob=yes
5293     else
5294       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5295     fi
5296     ;;
5297   esac
5298 fi
5299
5300 file_magic_cmd=$lt_cv_file_magic_cmd
5301 deplibs_check_method=$lt_cv_deplibs_check_method
5302 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325 if test -n "$ac_tool_prefix"; then
5326   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5327 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_DLLTOOL+:} false; then :
5331   $as_echo_n "(cached) " >&6
5332 else
5333   if test -n "$DLLTOOL"; then
5334   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5335 else
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 for as_dir in $PATH
5338 do
5339   IFS=$as_save_IFS
5340   test -z "$as_dir" && as_dir=.
5341     for ac_exec_ext in '' $ac_executable_extensions; do
5342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5343     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345     break 2
5346   fi
5347 done
5348   done
5349 IFS=$as_save_IFS
5350
5351 fi
5352 fi
5353 DLLTOOL=$ac_cv_prog_DLLTOOL
5354 if test -n "$DLLTOOL"; then
5355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5356 $as_echo "$DLLTOOL" >&6; }
5357 else
5358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5360 fi
5361
5362
5363 fi
5364 if test -z "$ac_cv_prog_DLLTOOL"; then
5365   ac_ct_DLLTOOL=$DLLTOOL
5366   # Extract the first word of "dlltool", so it can be a program name with args.
5367 set dummy dlltool; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5371   $as_echo_n "(cached) " >&6
5372 else
5373   if test -n "$ac_ct_DLLTOOL"; then
5374   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5375 else
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in $PATH
5378 do
5379   IFS=$as_save_IFS
5380   test -z "$as_dir" && as_dir=.
5381     for ac_exec_ext in '' $ac_executable_extensions; do
5382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385     break 2
5386   fi
5387 done
5388   done
5389 IFS=$as_save_IFS
5390
5391 fi
5392 fi
5393 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5394 if test -n "$ac_ct_DLLTOOL"; then
5395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5396 $as_echo "$ac_ct_DLLTOOL" >&6; }
5397 else
5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5400 fi
5401
5402   if test "x$ac_ct_DLLTOOL" = x; then
5403     DLLTOOL="false"
5404   else
5405     case $cross_compiling:$ac_tool_warned in
5406 yes:)
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5409 ac_tool_warned=yes ;;
5410 esac
5411     DLLTOOL=$ac_ct_DLLTOOL
5412   fi
5413 else
5414   DLLTOOL="$ac_cv_prog_DLLTOOL"
5415 fi
5416
5417 test -z "$DLLTOOL" && DLLTOOL=dlltool
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5429 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5430 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5431   $as_echo_n "(cached) " >&6
5432 else
5433   lt_cv_sharedlib_from_linklib_cmd='unknown'
5434
5435 case $host_os in
5436 cygwin* | mingw* | pw32* | cegcc*)
5437   # two different shell functions defined in ltmain.sh
5438   # decide which to use based on capabilities of $DLLTOOL
5439   case `$DLLTOOL --help 2>&1` in
5440   *--identify-strict*)
5441     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5442     ;;
5443   *)
5444     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5445     ;;
5446   esac
5447   ;;
5448 *)
5449   # fallback: assume linklib IS sharedlib
5450   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5451   ;;
5452 esac
5453
5454 fi
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5456 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5457 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5458 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5459
5460
5461
5462
5463
5464
5465
5466
5467 if test -n "$ac_tool_prefix"; then
5468   for ac_prog in ar
5469   do
5470     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_AR+:} false; then :
5475   $as_echo_n "(cached) " >&6
5476 else
5477   if test -n "$AR"; then
5478   ac_cv_prog_AR="$AR" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5482 do
5483   IFS=$as_save_IFS
5484   test -z "$as_dir" && as_dir=.
5485     for ac_exec_ext in '' $ac_executable_extensions; do
5486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5487     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489     break 2
5490   fi
5491 done
5492   done
5493 IFS=$as_save_IFS
5494
5495 fi
5496 fi
5497 AR=$ac_cv_prog_AR
5498 if test -n "$AR"; then
5499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5500 $as_echo "$AR" >&6; }
5501 else
5502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5504 fi
5505
5506
5507     test -n "$AR" && break
5508   done
5509 fi
5510 if test -z "$AR"; then
5511   ac_ct_AR=$AR
5512   for ac_prog in ar
5513 do
5514   # Extract the first word of "$ac_prog", so it can be a program name with args.
5515 set dummy $ac_prog; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5519   $as_echo_n "(cached) " >&6
5520 else
5521   if test -n "$ac_ct_AR"; then
5522   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5526 do
5527   IFS=$as_save_IFS
5528   test -z "$as_dir" && as_dir=.
5529     for ac_exec_ext in '' $ac_executable_extensions; do
5530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531     ac_cv_prog_ac_ct_AR="$ac_prog"
5532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533     break 2
5534   fi
5535 done
5536   done
5537 IFS=$as_save_IFS
5538
5539 fi
5540 fi
5541 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5542 if test -n "$ac_ct_AR"; then
5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5544 $as_echo "$ac_ct_AR" >&6; }
5545 else
5546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5548 fi
5549
5550
5551   test -n "$ac_ct_AR" && break
5552 done
5553
5554   if test "x$ac_ct_AR" = x; then
5555     AR="false"
5556   else
5557     case $cross_compiling:$ac_tool_warned in
5558 yes:)
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5561 ac_tool_warned=yes ;;
5562 esac
5563     AR=$ac_ct_AR
5564   fi
5565 fi
5566
5567 : ${AR=ar}
5568 : ${AR_FLAGS=cru}
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5581 $as_echo_n "checking for archiver @FILE support... " >&6; }
5582 if ${lt_cv_ar_at_file+:} false; then :
5583   $as_echo_n "(cached) " >&6
5584 else
5585   lt_cv_ar_at_file=no
5586    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h.  */
5588
5589 int
5590 main ()
5591 {
5592
5593   ;
5594   return 0;
5595 }
5596 _ACEOF
5597 if ac_fn_c_try_compile "$LINENO"; then :
5598   echo conftest.$ac_objext > conftest.lst
5599       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5600       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5601   (eval $lt_ar_try) 2>&5
5602   ac_status=$?
5603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5604   test $ac_status = 0; }
5605       if test "$ac_status" -eq 0; then
5606         # Ensure the archiver fails upon bogus file names.
5607         rm -f conftest.$ac_objext libconftest.a
5608         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5609   (eval $lt_ar_try) 2>&5
5610   ac_status=$?
5611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5612   test $ac_status = 0; }
5613         if test "$ac_status" -ne 0; then
5614           lt_cv_ar_at_file=@
5615         fi
5616       fi
5617       rm -f conftest.* libconftest.a
5618
5619 fi
5620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5621
5622 fi
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5624 $as_echo "$lt_cv_ar_at_file" >&6; }
5625
5626 if test "x$lt_cv_ar_at_file" = xno; then
5627   archiver_list_spec=
5628 else
5629   archiver_list_spec=$lt_cv_ar_at_file
5630 fi
5631
5632
5633
5634
5635
5636
5637
5638 if test -n "$ac_tool_prefix"; then
5639   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5640 set dummy ${ac_tool_prefix}strip; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_STRIP+:} false; then :
5644   $as_echo_n "(cached) " >&6
5645 else
5646   if test -n "$STRIP"; then
5647   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5651 do
5652   IFS=$as_save_IFS
5653   test -z "$as_dir" && as_dir=.
5654     for ac_exec_ext in '' $ac_executable_extensions; do
5655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5656     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658     break 2
5659   fi
5660 done
5661   done
5662 IFS=$as_save_IFS
5663
5664 fi
5665 fi
5666 STRIP=$ac_cv_prog_STRIP
5667 if test -n "$STRIP"; then
5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5669 $as_echo "$STRIP" >&6; }
5670 else
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5673 fi
5674
5675
5676 fi
5677 if test -z "$ac_cv_prog_STRIP"; then
5678   ac_ct_STRIP=$STRIP
5679   # Extract the first word of "strip", so it can be a program name with args.
5680 set dummy strip; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5684   $as_echo_n "(cached) " >&6
5685 else
5686   if test -n "$ac_ct_STRIP"; then
5687   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5691 do
5692   IFS=$as_save_IFS
5693   test -z "$as_dir" && as_dir=.
5694     for ac_exec_ext in '' $ac_executable_extensions; do
5695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5696     ac_cv_prog_ac_ct_STRIP="strip"
5697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698     break 2
5699   fi
5700 done
5701   done
5702 IFS=$as_save_IFS
5703
5704 fi
5705 fi
5706 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5707 if test -n "$ac_ct_STRIP"; then
5708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5709 $as_echo "$ac_ct_STRIP" >&6; }
5710 else
5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5713 fi
5714
5715   if test "x$ac_ct_STRIP" = x; then
5716     STRIP=":"
5717   else
5718     case $cross_compiling:$ac_tool_warned in
5719 yes:)
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722 ac_tool_warned=yes ;;
5723 esac
5724     STRIP=$ac_ct_STRIP
5725   fi
5726 else
5727   STRIP="$ac_cv_prog_STRIP"
5728 fi
5729
5730 test -z "$STRIP" && STRIP=:
5731
5732
5733
5734
5735
5736
5737 if test -n "$ac_tool_prefix"; then
5738   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5739 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_RANLIB+:} false; then :
5743   $as_echo_n "(cached) " >&6
5744 else
5745   if test -n "$RANLIB"; then
5746   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5750 do
5751   IFS=$as_save_IFS
5752   test -z "$as_dir" && as_dir=.
5753     for ac_exec_ext in '' $ac_executable_extensions; do
5754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5755     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757     break 2
5758   fi
5759 done
5760   done
5761 IFS=$as_save_IFS
5762
5763 fi
5764 fi
5765 RANLIB=$ac_cv_prog_RANLIB
5766 if test -n "$RANLIB"; then
5767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5768 $as_echo "$RANLIB" >&6; }
5769 else
5770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5772 fi
5773
5774
5775 fi
5776 if test -z "$ac_cv_prog_RANLIB"; then
5777   ac_ct_RANLIB=$RANLIB
5778   # Extract the first word of "ranlib", so it can be a program name with args.
5779 set dummy ranlib; ac_word=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5783   $as_echo_n "(cached) " >&6
5784 else
5785   if test -n "$ac_ct_RANLIB"; then
5786   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5787 else
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 for as_dir in $PATH
5790 do
5791   IFS=$as_save_IFS
5792   test -z "$as_dir" && as_dir=.
5793     for ac_exec_ext in '' $ac_executable_extensions; do
5794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5795     ac_cv_prog_ac_ct_RANLIB="ranlib"
5796     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5797     break 2
5798   fi
5799 done
5800   done
5801 IFS=$as_save_IFS
5802
5803 fi
5804 fi
5805 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5806 if test -n "$ac_ct_RANLIB"; then
5807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5808 $as_echo "$ac_ct_RANLIB" >&6; }
5809 else
5810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811 $as_echo "no" >&6; }
5812 fi
5813
5814   if test "x$ac_ct_RANLIB" = x; then
5815     RANLIB=":"
5816   else
5817     case $cross_compiling:$ac_tool_warned in
5818 yes:)
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5821 ac_tool_warned=yes ;;
5822 esac
5823     RANLIB=$ac_ct_RANLIB
5824   fi
5825 else
5826   RANLIB="$ac_cv_prog_RANLIB"
5827 fi
5828
5829 test -z "$RANLIB" && RANLIB=:
5830
5831
5832
5833
5834
5835
5836 # Determine commands to create old-style static archives.
5837 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5838 old_postinstall_cmds='chmod 644 $oldlib'
5839 old_postuninstall_cmds=
5840
5841 if test -n "$RANLIB"; then
5842   case $host_os in
5843   openbsd*)
5844     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5845     ;;
5846   *)
5847     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5848     ;;
5849   esac
5850   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5851 fi
5852
5853 case $host_os in
5854   darwin*)
5855     lock_old_archive_extraction=yes ;;
5856   *)
5857     lock_old_archive_extraction=no ;;
5858 esac
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898 # If no C compiler was specified, use CC.
5899 LTCC=${LTCC-"$CC"}
5900
5901 # If no C compiler flags were specified, use CFLAGS.
5902 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5903
5904 # Allow CC to be a program name with arguments.
5905 compiler=$CC
5906
5907
5908 # Check for command to grab the raw symbol name followed by C symbol from nm.
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5910 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5911 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5912   $as_echo_n "(cached) " >&6
5913 else
5914
5915 # These are sane defaults that work on at least a few old systems.
5916 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5917
5918 # Character class describing NM global symbol codes.
5919 symcode='[BCDEGRST]'
5920
5921 # Regexp to match symbols that can be accessed directly from C.
5922 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5923
5924 # Define system-specific variables.
5925 case $host_os in
5926 aix*)
5927   symcode='[BCDT]'
5928   ;;
5929 cygwin* | mingw* | pw32* | cegcc*)
5930   symcode='[ABCDGISTW]'
5931   ;;
5932 hpux*)
5933   if test "$host_cpu" = ia64; then
5934     symcode='[ABCDEGRST]'
5935   fi
5936   ;;
5937 irix* | nonstopux*)
5938   symcode='[BCDEGRST]'
5939   ;;
5940 osf*)
5941   symcode='[BCDEGQRST]'
5942   ;;
5943 solaris*)
5944   symcode='[BDRT]'
5945   ;;
5946 sco3.2v5*)
5947   symcode='[DT]'
5948   ;;
5949 sysv4.2uw2*)
5950   symcode='[DT]'
5951   ;;
5952 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5953   symcode='[ABDT]'
5954   ;;
5955 sysv4)
5956   symcode='[DFNSTU]'
5957   ;;
5958 esac
5959
5960 # If we're using GNU nm, then use its standard symbol codes.
5961 case `$NM -V 2>&1` in
5962 *GNU* | *'with BFD'*)
5963   symcode='[ABCDGIRSTW]' ;;
5964 esac
5965
5966 # Transform an extracted symbol line into a proper C declaration.
5967 # Some systems (esp. on ia64) link data and code symbols differently,
5968 # so use this general approach.
5969 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5970
5971 # Transform an extracted symbol line into symbol name and symbol address
5972 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5973 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'"
5974
5975 # Handle CRLF in mingw tool chain
5976 opt_cr=
5977 case $build_os in
5978 mingw*)
5979   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5980   ;;
5981 esac
5982
5983 # Try without a prefix underscore, then with it.
5984 for ac_symprfx in "" "_"; do
5985
5986   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5987   symxfrm="\\1 $ac_symprfx\\2 \\2"
5988
5989   # Write the raw and C identifiers.
5990   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5991     # Fake it for dumpbin and say T for any non-static function
5992     # and D for any global variable.
5993     # Also find C++ and __fastcall symbols from MSVC++,
5994     # which start with @ or ?.
5995     lt_cv_sys_global_symbol_pipe="$AWK '"\
5996 "     {last_section=section; section=\$ 3};"\
5997 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5998 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5999 "     \$ 0!~/External *\|/{next};"\
6000 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6001 "     {if(hide[section]) next};"\
6002 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6003 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6004 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6005 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6006 "     ' prfx=^$ac_symprfx"
6007   else
6008     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6009   fi
6010   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6011
6012   # Check to see that the pipe works correctly.
6013   pipe_works=no
6014
6015   rm -f conftest*
6016   cat > conftest.$ac_ext <<_LT_EOF
6017 #ifdef __cplusplus
6018 extern "C" {
6019 #endif
6020 char nm_test_var;
6021 void nm_test_func(void);
6022 void nm_test_func(void){}
6023 #ifdef __cplusplus
6024 }
6025 #endif
6026 int main(){nm_test_var='a';nm_test_func();return(0);}
6027 _LT_EOF
6028
6029   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6030   (eval $ac_compile) 2>&5
6031   ac_status=$?
6032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6033   test $ac_status = 0; }; then
6034     # Now try to grab the symbols.
6035     nlist=conftest.nm
6036     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6037   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6038   ac_status=$?
6039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6040   test $ac_status = 0; } && test -s "$nlist"; then
6041       # Try sorting and uniquifying the output.
6042       if sort "$nlist" | uniq > "$nlist"T; then
6043         mv -f "$nlist"T "$nlist"
6044       else
6045         rm -f "$nlist"T
6046       fi
6047
6048       # Make sure that we snagged all the symbols we need.
6049       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6050         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6051           cat <<_LT_EOF > conftest.$ac_ext
6052 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6053 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6054 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6055    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6056 # define LT_DLSYM_CONST
6057 #elif defined(__osf__)
6058 /* This system does not cope well with relocations in const data.  */
6059 # define LT_DLSYM_CONST
6060 #else
6061 # define LT_DLSYM_CONST const
6062 #endif
6063
6064 #ifdef __cplusplus
6065 extern "C" {
6066 #endif
6067
6068 _LT_EOF
6069           # Now generate the symbol file.
6070           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6071
6072           cat <<_LT_EOF >> conftest.$ac_ext
6073
6074 /* The mapping between symbol names and symbols.  */
6075 LT_DLSYM_CONST struct {
6076   const char *name;
6077   void       *address;
6078 }
6079 lt__PROGRAM__LTX_preloaded_symbols[] =
6080 {
6081   { "@PROGRAM@", (void *) 0 },
6082 _LT_EOF
6083           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6084           cat <<\_LT_EOF >> conftest.$ac_ext
6085   {0, (void *) 0}
6086 };
6087
6088 /* This works around a problem in FreeBSD linker */
6089 #ifdef FREEBSD_WORKAROUND
6090 static const void *lt_preloaded_setup() {
6091   return lt__PROGRAM__LTX_preloaded_symbols;
6092 }
6093 #endif
6094
6095 #ifdef __cplusplus
6096 }
6097 #endif
6098 _LT_EOF
6099           # Now try linking the two files.
6100           mv conftest.$ac_objext conftstm.$ac_objext
6101           lt_globsym_save_LIBS=$LIBS
6102           lt_globsym_save_CFLAGS=$CFLAGS
6103           LIBS="conftstm.$ac_objext"
6104           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6105           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6106   (eval $ac_link) 2>&5
6107   ac_status=$?
6108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6109   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6110             pipe_works=yes
6111           fi
6112           LIBS=$lt_globsym_save_LIBS
6113           CFLAGS=$lt_globsym_save_CFLAGS
6114         else
6115           echo "cannot find nm_test_func in $nlist" >&5
6116         fi
6117       else
6118         echo "cannot find nm_test_var in $nlist" >&5
6119       fi
6120     else
6121       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6122     fi
6123   else
6124     echo "$progname: failed program was:" >&5
6125     cat conftest.$ac_ext >&5
6126   fi
6127   rm -rf conftest* conftst*
6128
6129   # Do not use the global_symbol_pipe unless it works.
6130   if test "$pipe_works" = yes; then
6131     break
6132   else
6133     lt_cv_sys_global_symbol_pipe=
6134   fi
6135 done
6136
6137 fi
6138
6139 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6140   lt_cv_sys_global_symbol_to_cdecl=
6141 fi
6142 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6144 $as_echo "failed" >&6; }
6145 else
6146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6147 $as_echo "ok" >&6; }
6148 fi
6149
6150 # Response file support.
6151 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6152   nm_file_list_spec='@'
6153 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6154   nm_file_list_spec='@'
6155 fi
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6184 $as_echo_n "checking for sysroot... " >&6; }
6185
6186 # Check whether --with-sysroot was given.
6187 if test "${with_sysroot+set}" = set; then :
6188   withval=$with_sysroot;
6189 else
6190   with_sysroot=no
6191 fi
6192
6193
6194 lt_sysroot=
6195 case ${with_sysroot} in #(
6196  yes)
6197    if test "$GCC" = yes; then
6198      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6199    fi
6200    ;; #(
6201  /*)
6202    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6203    ;; #(
6204  no|'')
6205    ;; #(
6206  *)
6207    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6208 $as_echo "${with_sysroot}" >&6; }
6209    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6210    ;;
6211 esac
6212
6213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6214 $as_echo "${lt_sysroot:-no}" >&6; }
6215
6216
6217
6218
6219
6220 # Check whether --enable-libtool-lock was given.
6221 if test "${enable_libtool_lock+set}" = set; then :
6222   enableval=$enable_libtool_lock;
6223 fi
6224
6225 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6226
6227 # Some flags need to be propagated to the compiler or linker for good
6228 # libtool support.
6229 case $host in
6230 ia64-*-hpux*)
6231   # Find out which ABI we are using.
6232   echo 'int i;' > conftest.$ac_ext
6233   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234   (eval $ac_compile) 2>&5
6235   ac_status=$?
6236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6237   test $ac_status = 0; }; then
6238     case `/usr/bin/file conftest.$ac_objext` in
6239       *ELF-32*)
6240         HPUX_IA64_MODE="32"
6241         ;;
6242       *ELF-64*)
6243         HPUX_IA64_MODE="64"
6244         ;;
6245     esac
6246   fi
6247   rm -rf conftest*
6248   ;;
6249 *-*-irix6*)
6250   # Find out which ABI we are using.
6251   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6252   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6253   (eval $ac_compile) 2>&5
6254   ac_status=$?
6255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6256   test $ac_status = 0; }; then
6257     if test "$lt_cv_prog_gnu_ld" = yes; then
6258       case `/usr/bin/file conftest.$ac_objext` in
6259         *32-bit*)
6260           LD="${LD-ld} -melf32bsmip"
6261           ;;
6262         *N32*)
6263           LD="${LD-ld} -melf32bmipn32"
6264           ;;
6265         *64-bit*)
6266           LD="${LD-ld} -melf64bmip"
6267         ;;
6268       esac
6269     else
6270       case `/usr/bin/file conftest.$ac_objext` in
6271         *32-bit*)
6272           LD="${LD-ld} -32"
6273           ;;
6274         *N32*)
6275           LD="${LD-ld} -n32"
6276           ;;
6277         *64-bit*)
6278           LD="${LD-ld} -64"
6279           ;;
6280       esac
6281     fi
6282   fi
6283   rm -rf conftest*
6284   ;;
6285
6286 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6287 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6288   # Find out which ABI we are using.
6289   echo 'int i;' > conftest.$ac_ext
6290   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6291   (eval $ac_compile) 2>&5
6292   ac_status=$?
6293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6294   test $ac_status = 0; }; then
6295     case `/usr/bin/file conftest.o` in
6296       *32-bit*)
6297         case $host in
6298           x86_64-*kfreebsd*-gnu)
6299             LD="${LD-ld} -m elf_i386_fbsd"
6300             ;;
6301           x86_64-*linux*)
6302             LD="${LD-ld} -m elf_i386"
6303             ;;
6304           ppc64-*linux*|powerpc64-*linux*)
6305             LD="${LD-ld} -m elf32ppclinux"
6306             ;;
6307           s390x-*linux*)
6308             LD="${LD-ld} -m elf_s390"
6309             ;;
6310           sparc64-*linux*)
6311             LD="${LD-ld} -m elf32_sparc"
6312             ;;
6313         esac
6314         ;;
6315       *64-bit*)
6316         case $host in
6317           x86_64-*kfreebsd*-gnu)
6318             LD="${LD-ld} -m elf_x86_64_fbsd"
6319             ;;
6320           x86_64-*linux*)
6321             LD="${LD-ld} -m elf_x86_64"
6322             ;;
6323           ppc*-*linux*|powerpc*-*linux*)
6324             LD="${LD-ld} -m elf64ppc"
6325             ;;
6326           s390*-*linux*|s390*-*tpf*)
6327             LD="${LD-ld} -m elf64_s390"
6328             ;;
6329           sparc*-*linux*)
6330             LD="${LD-ld} -m elf64_sparc"
6331             ;;
6332         esac
6333         ;;
6334     esac
6335   fi
6336   rm -rf conftest*
6337   ;;
6338
6339 *-*-sco3.2v5*)
6340   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6341   SAVE_CFLAGS="$CFLAGS"
6342   CFLAGS="$CFLAGS -belf"
6343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6344 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6345 if ${lt_cv_cc_needs_belf+:} false; then :
6346   $as_echo_n "(cached) " >&6
6347 else
6348   ac_ext=c
6349 ac_cpp='$CPP $CPPFLAGS'
6350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6353
6354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h.  */
6356
6357 int
6358 main ()
6359 {
6360
6361   ;
6362   return 0;
6363 }
6364 _ACEOF
6365 if ac_fn_c_try_link "$LINENO"; then :
6366   lt_cv_cc_needs_belf=yes
6367 else
6368   lt_cv_cc_needs_belf=no
6369 fi
6370 rm -f core conftest.err conftest.$ac_objext \
6371     conftest$ac_exeext conftest.$ac_ext
6372      ac_ext=c
6373 ac_cpp='$CPP $CPPFLAGS'
6374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6377
6378 fi
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6380 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6381   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6382     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6383     CFLAGS="$SAVE_CFLAGS"
6384   fi
6385   ;;
6386 *-*solaris*)
6387   # Find out which ABI we are using.
6388   echo 'int i;' > conftest.$ac_ext
6389   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6390   (eval $ac_compile) 2>&5
6391   ac_status=$?
6392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6393   test $ac_status = 0; }; then
6394     case `/usr/bin/file conftest.o` in
6395     *64-bit*)
6396       case $lt_cv_prog_gnu_ld in
6397       yes*)
6398         case $host in
6399         i?86-*-solaris*)
6400           LD="${LD-ld} -m elf_x86_64"
6401           ;;
6402         sparc*-*-solaris*)
6403           LD="${LD-ld} -m elf64_sparc"
6404           ;;
6405         esac
6406         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6407         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6408           LD="${LD-ld}_sol2"
6409         fi
6410         ;;
6411       *)
6412         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6413           LD="${LD-ld} -64"
6414         fi
6415         ;;
6416       esac
6417       ;;
6418     esac
6419   fi
6420   rm -rf conftest*
6421   ;;
6422 esac
6423
6424 need_locks="$enable_libtool_lock"
6425
6426 if test -n "$ac_tool_prefix"; then
6427   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}mt; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6432   $as_echo_n "(cached) " >&6
6433 else
6434   if test -n "$MANIFEST_TOOL"; then
6435   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6439 do
6440   IFS=$as_save_IFS
6441   test -z "$as_dir" && as_dir=.
6442     for ac_exec_ext in '' $ac_executable_extensions; do
6443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446     break 2
6447   fi
6448 done
6449   done
6450 IFS=$as_save_IFS
6451
6452 fi
6453 fi
6454 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6455 if test -n "$MANIFEST_TOOL"; then
6456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6457 $as_echo "$MANIFEST_TOOL" >&6; }
6458 else
6459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6461 fi
6462
6463
6464 fi
6465 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6466   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6467   # Extract the first word of "mt", so it can be a program name with args.
6468 set dummy mt; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6472   $as_echo_n "(cached) " >&6
6473 else
6474   if test -n "$ac_ct_MANIFEST_TOOL"; then
6475   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6479 do
6480   IFS=$as_save_IFS
6481   test -z "$as_dir" && as_dir=.
6482     for ac_exec_ext in '' $ac_executable_extensions; do
6483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6484     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486     break 2
6487   fi
6488 done
6489   done
6490 IFS=$as_save_IFS
6491
6492 fi
6493 fi
6494 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6495 if test -n "$ac_ct_MANIFEST_TOOL"; then
6496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6497 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6498 else
6499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6501 fi
6502
6503   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6504     MANIFEST_TOOL=":"
6505   else
6506     case $cross_compiling:$ac_tool_warned in
6507 yes:)
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6510 ac_tool_warned=yes ;;
6511 esac
6512     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6513   fi
6514 else
6515   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6516 fi
6517
6518 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6520 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6521 if ${lt_cv_path_mainfest_tool+:} false; then :
6522   $as_echo_n "(cached) " >&6
6523 else
6524   lt_cv_path_mainfest_tool=no
6525   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6526   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6527   cat conftest.err >&5
6528   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6529     lt_cv_path_mainfest_tool=yes
6530   fi
6531   rm -f conftest*
6532 fi
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6534 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6535 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6536   MANIFEST_TOOL=:
6537 fi
6538
6539
6540
6541
6542
6543
6544   case $host_os in
6545     rhapsody* | darwin*)
6546     if test -n "$ac_tool_prefix"; then
6547   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6548 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6552   $as_echo_n "(cached) " >&6
6553 else
6554   if test -n "$DSYMUTIL"; then
6555   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6559 do
6560   IFS=$as_save_IFS
6561   test -z "$as_dir" && as_dir=.
6562     for ac_exec_ext in '' $ac_executable_extensions; do
6563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6564     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566     break 2
6567   fi
6568 done
6569   done
6570 IFS=$as_save_IFS
6571
6572 fi
6573 fi
6574 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6575 if test -n "$DSYMUTIL"; then
6576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6577 $as_echo "$DSYMUTIL" >&6; }
6578 else
6579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6581 fi
6582
6583
6584 fi
6585 if test -z "$ac_cv_prog_DSYMUTIL"; then
6586   ac_ct_DSYMUTIL=$DSYMUTIL
6587   # Extract the first word of "dsymutil", so it can be a program name with args.
6588 set dummy dsymutil; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6592   $as_echo_n "(cached) " >&6
6593 else
6594   if test -n "$ac_ct_DSYMUTIL"; then
6595   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6596 else
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 for as_dir in $PATH
6599 do
6600   IFS=$as_save_IFS
6601   test -z "$as_dir" && as_dir=.
6602     for ac_exec_ext in '' $ac_executable_extensions; do
6603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6604     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606     break 2
6607   fi
6608 done
6609   done
6610 IFS=$as_save_IFS
6611
6612 fi
6613 fi
6614 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6615 if test -n "$ac_ct_DSYMUTIL"; then
6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6617 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6618 else
6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6621 fi
6622
6623   if test "x$ac_ct_DSYMUTIL" = x; then
6624     DSYMUTIL=":"
6625   else
6626     case $cross_compiling:$ac_tool_warned in
6627 yes:)
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6630 ac_tool_warned=yes ;;
6631 esac
6632     DSYMUTIL=$ac_ct_DSYMUTIL
6633   fi
6634 else
6635   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6636 fi
6637
6638     if test -n "$ac_tool_prefix"; then
6639   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6640 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_NMEDIT+:} false; then :
6644   $as_echo_n "(cached) " >&6
6645 else
6646   if test -n "$NMEDIT"; then
6647   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6648 else
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 for as_dir in $PATH
6651 do
6652   IFS=$as_save_IFS
6653   test -z "$as_dir" && as_dir=.
6654     for ac_exec_ext in '' $ac_executable_extensions; do
6655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658     break 2
6659   fi
6660 done
6661   done
6662 IFS=$as_save_IFS
6663
6664 fi
6665 fi
6666 NMEDIT=$ac_cv_prog_NMEDIT
6667 if test -n "$NMEDIT"; then
6668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6669 $as_echo "$NMEDIT" >&6; }
6670 else
6671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6673 fi
6674
6675
6676 fi
6677 if test -z "$ac_cv_prog_NMEDIT"; then
6678   ac_ct_NMEDIT=$NMEDIT
6679   # Extract the first word of "nmedit", so it can be a program name with args.
6680 set dummy nmedit; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6684   $as_echo_n "(cached) " >&6
6685 else
6686   if test -n "$ac_ct_NMEDIT"; then
6687   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6688 else
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 for as_dir in $PATH
6691 do
6692   IFS=$as_save_IFS
6693   test -z "$as_dir" && as_dir=.
6694     for ac_exec_ext in '' $ac_executable_extensions; do
6695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6698     break 2
6699   fi
6700 done
6701   done
6702 IFS=$as_save_IFS
6703
6704 fi
6705 fi
6706 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6707 if test -n "$ac_ct_NMEDIT"; then
6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6709 $as_echo "$ac_ct_NMEDIT" >&6; }
6710 else
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6713 fi
6714
6715   if test "x$ac_ct_NMEDIT" = x; then
6716     NMEDIT=":"
6717   else
6718     case $cross_compiling:$ac_tool_warned in
6719 yes:)
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned=yes ;;
6723 esac
6724     NMEDIT=$ac_ct_NMEDIT
6725   fi
6726 else
6727   NMEDIT="$ac_cv_prog_NMEDIT"
6728 fi
6729
6730     if test -n "$ac_tool_prefix"; then
6731   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6732 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_LIPO+:} false; then :
6736   $as_echo_n "(cached) " >&6
6737 else
6738   if test -n "$LIPO"; then
6739   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6743 do
6744   IFS=$as_save_IFS
6745   test -z "$as_dir" && as_dir=.
6746     for ac_exec_ext in '' $ac_executable_extensions; do
6747   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750     break 2
6751   fi
6752 done
6753   done
6754 IFS=$as_save_IFS
6755
6756 fi
6757 fi
6758 LIPO=$ac_cv_prog_LIPO
6759 if test -n "$LIPO"; then
6760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6761 $as_echo "$LIPO" >&6; }
6762 else
6763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6765 fi
6766
6767
6768 fi
6769 if test -z "$ac_cv_prog_LIPO"; then
6770   ac_ct_LIPO=$LIPO
6771   # Extract the first word of "lipo", so it can be a program name with args.
6772 set dummy lipo; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6776   $as_echo_n "(cached) " >&6
6777 else
6778   if test -n "$ac_ct_LIPO"; then
6779   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6780 else
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 for as_dir in $PATH
6783 do
6784   IFS=$as_save_IFS
6785   test -z "$as_dir" && as_dir=.
6786     for ac_exec_ext in '' $ac_executable_extensions; do
6787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788     ac_cv_prog_ac_ct_LIPO="lipo"
6789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790     break 2
6791   fi
6792 done
6793   done
6794 IFS=$as_save_IFS
6795
6796 fi
6797 fi
6798 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6799 if test -n "$ac_ct_LIPO"; then
6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6801 $as_echo "$ac_ct_LIPO" >&6; }
6802 else
6803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6805 fi
6806
6807   if test "x$ac_ct_LIPO" = x; then
6808     LIPO=":"
6809   else
6810     case $cross_compiling:$ac_tool_warned in
6811 yes:)
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned=yes ;;
6815 esac
6816     LIPO=$ac_ct_LIPO
6817   fi
6818 else
6819   LIPO="$ac_cv_prog_LIPO"
6820 fi
6821
6822     if test -n "$ac_tool_prefix"; then
6823   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}otool; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if ${ac_cv_prog_OTOOL+:} false; then :
6828   $as_echo_n "(cached) " >&6
6829 else
6830   if test -n "$OTOOL"; then
6831   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6832 else
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 for as_dir in $PATH
6835 do
6836   IFS=$as_save_IFS
6837   test -z "$as_dir" && as_dir=.
6838     for ac_exec_ext in '' $ac_executable_extensions; do
6839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842     break 2
6843   fi
6844 done
6845   done
6846 IFS=$as_save_IFS
6847
6848 fi
6849 fi
6850 OTOOL=$ac_cv_prog_OTOOL
6851 if test -n "$OTOOL"; then
6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6853 $as_echo "$OTOOL" >&6; }
6854 else
6855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6857 fi
6858
6859
6860 fi
6861 if test -z "$ac_cv_prog_OTOOL"; then
6862   ac_ct_OTOOL=$OTOOL
6863   # Extract the first word of "otool", so it can be a program name with args.
6864 set dummy otool; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 $as_echo_n "checking for $ac_word... " >&6; }
6867 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6868   $as_echo_n "(cached) " >&6
6869 else
6870   if test -n "$ac_ct_OTOOL"; then
6871   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6872 else
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 for as_dir in $PATH
6875 do
6876   IFS=$as_save_IFS
6877   test -z "$as_dir" && as_dir=.
6878     for ac_exec_ext in '' $ac_executable_extensions; do
6879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880     ac_cv_prog_ac_ct_OTOOL="otool"
6881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882     break 2
6883   fi
6884 done
6885   done
6886 IFS=$as_save_IFS
6887
6888 fi
6889 fi
6890 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6891 if test -n "$ac_ct_OTOOL"; then
6892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6893 $as_echo "$ac_ct_OTOOL" >&6; }
6894 else
6895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 $as_echo "no" >&6; }
6897 fi
6898
6899   if test "x$ac_ct_OTOOL" = x; then
6900     OTOOL=":"
6901   else
6902     case $cross_compiling:$ac_tool_warned in
6903 yes:)
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned=yes ;;
6907 esac
6908     OTOOL=$ac_ct_OTOOL
6909   fi
6910 else
6911   OTOOL="$ac_cv_prog_OTOOL"
6912 fi
6913
6914     if test -n "$ac_tool_prefix"; then
6915   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6916 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_prog_OTOOL64+:} false; then :
6920   $as_echo_n "(cached) " >&6
6921 else
6922   if test -n "$OTOOL64"; then
6923   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6924 else
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 for as_dir in $PATH
6927 do
6928   IFS=$as_save_IFS
6929   test -z "$as_dir" && as_dir=.
6930     for ac_exec_ext in '' $ac_executable_extensions; do
6931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934     break 2
6935   fi
6936 done
6937   done
6938 IFS=$as_save_IFS
6939
6940 fi
6941 fi
6942 OTOOL64=$ac_cv_prog_OTOOL64
6943 if test -n "$OTOOL64"; then
6944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6945 $as_echo "$OTOOL64" >&6; }
6946 else
6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6949 fi
6950
6951
6952 fi
6953 if test -z "$ac_cv_prog_OTOOL64"; then
6954   ac_ct_OTOOL64=$OTOOL64
6955   # Extract the first word of "otool64", so it can be a program name with args.
6956 set dummy otool64; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6960   $as_echo_n "(cached) " >&6
6961 else
6962   if test -n "$ac_ct_OTOOL64"; then
6963   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6964 else
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 for as_dir in $PATH
6967 do
6968   IFS=$as_save_IFS
6969   test -z "$as_dir" && as_dir=.
6970     for ac_exec_ext in '' $ac_executable_extensions; do
6971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6972     ac_cv_prog_ac_ct_OTOOL64="otool64"
6973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974     break 2
6975   fi
6976 done
6977   done
6978 IFS=$as_save_IFS
6979
6980 fi
6981 fi
6982 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6983 if test -n "$ac_ct_OTOOL64"; then
6984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6985 $as_echo "$ac_ct_OTOOL64" >&6; }
6986 else
6987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6989 fi
6990
6991   if test "x$ac_ct_OTOOL64" = x; then
6992     OTOOL64=":"
6993   else
6994     case $cross_compiling:$ac_tool_warned in
6995 yes:)
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6998 ac_tool_warned=yes ;;
6999 esac
7000     OTOOL64=$ac_ct_OTOOL64
7001   fi
7002 else
7003   OTOOL64="$ac_cv_prog_OTOOL64"
7004 fi
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7033 $as_echo_n "checking for -single_module linker flag... " >&6; }
7034 if ${lt_cv_apple_cc_single_mod+:} false; then :
7035   $as_echo_n "(cached) " >&6
7036 else
7037   lt_cv_apple_cc_single_mod=no
7038       if test -z "${LT_MULTI_MODULE}"; then
7039         # By default we will add the -single_module flag. You can override
7040         # by either setting the environment variable LT_MULTI_MODULE
7041         # non-empty at configure time, or by adding -multi_module to the
7042         # link flags.
7043         rm -rf libconftest.dylib*
7044         echo "int foo(void){return 1;}" > conftest.c
7045         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7046 -dynamiclib -Wl,-single_module conftest.c" >&5
7047         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7048           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7049         _lt_result=$?
7050         # If there is a non-empty error log, and "single_module"
7051         # appears in it, assume the flag caused a linker warning
7052         if test -s conftest.err && $GREP single_module conftest.err; then
7053           cat conftest.err >&5
7054         # Otherwise, if the output was created with a 0 exit code from
7055         # the compiler, it worked.
7056         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7057           lt_cv_apple_cc_single_mod=yes
7058         else
7059           cat conftest.err >&5
7060         fi
7061         rm -rf libconftest.dylib*
7062         rm -f conftest.*
7063       fi
7064 fi
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7066 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7067
7068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7069 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7070 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7071   $as_echo_n "(cached) " >&6
7072 else
7073   lt_cv_ld_exported_symbols_list=no
7074       save_LDFLAGS=$LDFLAGS
7075       echo "_main" > conftest.sym
7076       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h.  */
7079
7080 int
7081 main ()
7082 {
7083
7084   ;
7085   return 0;
7086 }
7087 _ACEOF
7088 if ac_fn_c_try_link "$LINENO"; then :
7089   lt_cv_ld_exported_symbols_list=yes
7090 else
7091   lt_cv_ld_exported_symbols_list=no
7092 fi
7093 rm -f core conftest.err conftest.$ac_objext \
7094     conftest$ac_exeext conftest.$ac_ext
7095         LDFLAGS="$save_LDFLAGS"
7096
7097 fi
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7099 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7100
7101     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7102 $as_echo_n "checking for -force_load linker flag... " >&6; }
7103 if ${lt_cv_ld_force_load+:} false; then :
7104   $as_echo_n "(cached) " >&6
7105 else
7106   lt_cv_ld_force_load=no
7107       cat > conftest.c << _LT_EOF
7108 int forced_loaded() { return 2;}
7109 _LT_EOF
7110       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7111       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7112       echo "$AR cru libconftest.a conftest.o" >&5
7113       $AR cru libconftest.a conftest.o 2>&5
7114       echo "$RANLIB libconftest.a" >&5
7115       $RANLIB libconftest.a 2>&5
7116       cat > conftest.c << _LT_EOF
7117 int main() { return 0;}
7118 _LT_EOF
7119       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7120       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7121       _lt_result=$?
7122       if test -s conftest.err && $GREP force_load conftest.err; then
7123         cat conftest.err >&5
7124       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7125         lt_cv_ld_force_load=yes
7126       else
7127         cat conftest.err >&5
7128       fi
7129         rm -f conftest.err libconftest.a conftest conftest.c
7130         rm -rf conftest.dSYM
7131
7132 fi
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7134 $as_echo "$lt_cv_ld_force_load" >&6; }
7135     case $host_os in
7136     rhapsody* | darwin1.[012])
7137       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7138     darwin1.*)
7139       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7140     darwin*) # darwin 5.x on
7141       # if running on 10.5 or later, the deployment target defaults
7142       # to the OS version, if on x86, and 10.4, the deployment
7143       # target defaults to 10.4. Don't you love it?
7144       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7145         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7146           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7147         10.[012]*)
7148           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7149         10.*)
7150           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7151       esac
7152     ;;
7153   esac
7154     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7155       _lt_dar_single_mod='$single_module'
7156     fi
7157     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7158       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7159     else
7160       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7161     fi
7162     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7163       _lt_dsymutil='~$DSYMUTIL $lib || :'
7164     else
7165       _lt_dsymutil=
7166     fi
7167     ;;
7168   esac
7169
7170 ac_ext=c
7171 ac_cpp='$CPP $CPPFLAGS'
7172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7176 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7177 # On Suns, sometimes $CPP names a directory.
7178 if test -n "$CPP" && test -d "$CPP"; then
7179   CPP=
7180 fi
7181 if test -z "$CPP"; then
7182   if ${ac_cv_prog_CPP+:} false; then :
7183   $as_echo_n "(cached) " >&6
7184 else
7185       # Double quotes because CPP needs to be expanded
7186     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7187     do
7188       ac_preproc_ok=false
7189 for ac_c_preproc_warn_flag in '' yes
7190 do
7191   # Use a header file that comes with gcc, so configuring glibc
7192   # with a fresh cross-compiler works.
7193   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7194   # <limits.h> exists even on freestanding compilers.
7195   # On the NeXT, cc -E runs the code through the compiler's parser,
7196   # not just through cpp. "Syntax error" is here to catch this case.
7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h.  */
7199 #ifdef __STDC__
7200 # include <limits.h>
7201 #else
7202 # include <assert.h>
7203 #endif
7204                      Syntax error
7205 _ACEOF
7206 if ac_fn_c_try_cpp "$LINENO"; then :
7207
7208 else
7209   # Broken: fails on valid input.
7210 continue
7211 fi
7212 rm -f conftest.err conftest.i conftest.$ac_ext
7213
7214   # OK, works on sane cases.  Now check whether nonexistent headers
7215   # can be detected and how.
7216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h.  */
7218 #include <ac_nonexistent.h>
7219 _ACEOF
7220 if ac_fn_c_try_cpp "$LINENO"; then :
7221   # Broken: success on invalid input.
7222 continue
7223 else
7224   # Passes both tests.
7225 ac_preproc_ok=:
7226 break
7227 fi
7228 rm -f conftest.err conftest.i conftest.$ac_ext
7229
7230 done
7231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7232 rm -f conftest.i conftest.err conftest.$ac_ext
7233 if $ac_preproc_ok; then :
7234   break
7235 fi
7236
7237     done
7238     ac_cv_prog_CPP=$CPP
7239
7240 fi
7241   CPP=$ac_cv_prog_CPP
7242 else
7243   ac_cv_prog_CPP=$CPP
7244 fi
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7246 $as_echo "$CPP" >&6; }
7247 ac_preproc_ok=false
7248 for ac_c_preproc_warn_flag in '' yes
7249 do
7250   # Use a header file that comes with gcc, so configuring glibc
7251   # with a fresh cross-compiler works.
7252   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7253   # <limits.h> exists even on freestanding compilers.
7254   # On the NeXT, cc -E runs the code through the compiler's parser,
7255   # not just through cpp. "Syntax error" is here to catch this case.
7256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h.  */
7258 #ifdef __STDC__
7259 # include <limits.h>
7260 #else
7261 # include <assert.h>
7262 #endif
7263                      Syntax error
7264 _ACEOF
7265 if ac_fn_c_try_cpp "$LINENO"; then :
7266
7267 else
7268   # Broken: fails on valid input.
7269 continue
7270 fi
7271 rm -f conftest.err conftest.i conftest.$ac_ext
7272
7273   # OK, works on sane cases.  Now check whether nonexistent headers
7274   # can be detected and how.
7275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h.  */
7277 #include <ac_nonexistent.h>
7278 _ACEOF
7279 if ac_fn_c_try_cpp "$LINENO"; then :
7280   # Broken: success on invalid input.
7281 continue
7282 else
7283   # Passes both tests.
7284 ac_preproc_ok=:
7285 break
7286 fi
7287 rm -f conftest.err conftest.i conftest.$ac_ext
7288
7289 done
7290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7291 rm -f conftest.i conftest.err conftest.$ac_ext
7292 if $ac_preproc_ok; then :
7293
7294 else
7295   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7297 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7298 See \`config.log' for more details" "$LINENO" 5; }
7299 fi
7300
7301 ac_ext=c
7302 ac_cpp='$CPP $CPPFLAGS'
7303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7306
7307
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7309 $as_echo_n "checking for ANSI C header files... " >&6; }
7310 if ${ac_cv_header_stdc+:} false; then :
7311   $as_echo_n "(cached) " >&6
7312 else
7313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h.  */
7315 #include <stdlib.h>
7316 #include <stdarg.h>
7317 #include <string.h>
7318 #include <float.h>
7319
7320 int
7321 main ()
7322 {
7323
7324   ;
7325   return 0;
7326 }
7327 _ACEOF
7328 if ac_fn_c_try_compile "$LINENO"; then :
7329   ac_cv_header_stdc=yes
7330 else
7331   ac_cv_header_stdc=no
7332 fi
7333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7334
7335 if test $ac_cv_header_stdc = yes; then
7336   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7338 /* end confdefs.h.  */
7339 #include <string.h>
7340
7341 _ACEOF
7342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7343   $EGREP "memchr" >/dev/null 2>&1; then :
7344
7345 else
7346   ac_cv_header_stdc=no
7347 fi
7348 rm -f conftest*
7349
7350 fi
7351
7352 if test $ac_cv_header_stdc = yes; then
7353   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355 /* end confdefs.h.  */
7356 #include <stdlib.h>
7357
7358 _ACEOF
7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7360   $EGREP "free" >/dev/null 2>&1; then :
7361
7362 else
7363   ac_cv_header_stdc=no
7364 fi
7365 rm -f conftest*
7366
7367 fi
7368
7369 if test $ac_cv_header_stdc = yes; then
7370   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7371   if test "$cross_compiling" = yes; then :
7372   :
7373 else
7374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h.  */
7376 #include <ctype.h>
7377 #include <stdlib.h>
7378 #if ((' ' & 0x0FF) == 0x020)
7379 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7380 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7381 #else
7382 # define ISLOWER(c) \
7383                    (('a' <= (c) && (c) <= 'i') \
7384                      || ('j' <= (c) && (c) <= 'r') \
7385                      || ('s' <= (c) && (c) <= 'z'))
7386 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7387 #endif
7388
7389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7390 int
7391 main ()
7392 {
7393   int i;
7394   for (i = 0; i < 256; i++)
7395     if (XOR (islower (i), ISLOWER (i))
7396         || toupper (i) != TOUPPER (i))
7397       return 2;
7398   return 0;
7399 }
7400 _ACEOF
7401 if ac_fn_c_try_run "$LINENO"; then :
7402
7403 else
7404   ac_cv_header_stdc=no
7405 fi
7406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7407   conftest.$ac_objext conftest.beam conftest.$ac_ext
7408 fi
7409
7410 fi
7411 fi
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7413 $as_echo "$ac_cv_header_stdc" >&6; }
7414 if test $ac_cv_header_stdc = yes; then
7415
7416 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7417
7418 fi
7419
7420 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7421 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7422                   inttypes.h stdint.h unistd.h
7423 do :
7424   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7425 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7426 "
7427 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7428   cat >>confdefs.h <<_ACEOF
7429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7430 _ACEOF
7431
7432 fi
7433
7434 done
7435
7436
7437 for ac_header in dlfcn.h
7438 do :
7439   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7440 "
7441 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7442   cat >>confdefs.h <<_ACEOF
7443 #define HAVE_DLFCN_H 1
7444 _ACEOF
7445
7446 fi
7447
7448 done
7449
7450
7451
7452
7453
7454 # Set options
7455
7456
7457
7458         enable_dlopen=no
7459
7460
7461   enable_win32_dll=no
7462
7463
7464             # Check whether --enable-shared was given.
7465 if test "${enable_shared+set}" = set; then :
7466   enableval=$enable_shared; p=${PACKAGE-default}
7467     case $enableval in
7468     yes) enable_shared=yes ;;
7469     no) enable_shared=no ;;
7470     *)
7471       enable_shared=no
7472       # Look at the argument we got.  We use all the common list separators.
7473       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7474       for pkg in $enableval; do
7475         IFS="$lt_save_ifs"
7476         if test "X$pkg" = "X$p"; then
7477           enable_shared=yes
7478         fi
7479       done
7480       IFS="$lt_save_ifs"
7481       ;;
7482     esac
7483 else
7484   enable_shared=yes
7485 fi
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495   # Check whether --enable-static was given.
7496 if test "${enable_static+set}" = set; then :
7497   enableval=$enable_static; p=${PACKAGE-default}
7498     case $enableval in
7499     yes) enable_static=yes ;;
7500     no) enable_static=no ;;
7501     *)
7502      enable_static=no
7503       # Look at the argument we got.  We use all the common list separators.
7504       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7505       for pkg in $enableval; do
7506         IFS="$lt_save_ifs"
7507         if test "X$pkg" = "X$p"; then
7508           enable_static=yes
7509         fi
7510       done
7511       IFS="$lt_save_ifs"
7512       ;;
7513     esac
7514 else
7515   enable_static=yes
7516 fi
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527 # Check whether --with-pic was given.
7528 if test "${with_pic+set}" = set; then :
7529   withval=$with_pic; lt_p=${PACKAGE-default}
7530     case $withval in
7531     yes|no) pic_mode=$withval ;;
7532     *)
7533       pic_mode=default
7534       # Look at the argument we got.  We use all the common list separators.
7535       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7536       for lt_pkg in $withval; do
7537         IFS="$lt_save_ifs"
7538         if test "X$lt_pkg" = "X$lt_p"; then
7539           pic_mode=yes
7540         fi
7541       done
7542       IFS="$lt_save_ifs"
7543       ;;
7544     esac
7545 else
7546   pic_mode=default
7547 fi
7548
7549
7550 test -z "$pic_mode" && pic_mode=default
7551
7552
7553
7554
7555
7556
7557
7558   # Check whether --enable-fast-install was given.
7559 if test "${enable_fast_install+set}" = set; then :
7560   enableval=$enable_fast_install; p=${PACKAGE-default}
7561     case $enableval in
7562     yes) enable_fast_install=yes ;;
7563     no) enable_fast_install=no ;;
7564     *)
7565       enable_fast_install=no
7566       # Look at the argument we got.  We use all the common list separators.
7567       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7568       for pkg in $enableval; do
7569         IFS="$lt_save_ifs"
7570         if test "X$pkg" = "X$p"; then
7571           enable_fast_install=yes
7572         fi
7573       done
7574       IFS="$lt_save_ifs"
7575       ;;
7576     esac
7577 else
7578   enable_fast_install=yes
7579 fi
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591 # This can be used to rebuild libtool when needed
7592 LIBTOOL_DEPS="$ltmain"
7593
7594 # Always use our own libtool.
7595 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626 test -z "$LN_S" && LN_S="ln -s"
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641 if test -n "${ZSH_VERSION+set}" ; then
7642    setopt NO_GLOB_SUBST
7643 fi
7644
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7646 $as_echo_n "checking for objdir... " >&6; }
7647 if ${lt_cv_objdir+:} false; then :
7648   $as_echo_n "(cached) " >&6
7649 else
7650   rm -f .libs 2>/dev/null
7651 mkdir .libs 2>/dev/null
7652 if test -d .libs; then
7653   lt_cv_objdir=.libs
7654 else
7655   # MS-DOS does not allow filenames that begin with a dot.
7656   lt_cv_objdir=_libs
7657 fi
7658 rmdir .libs 2>/dev/null
7659 fi
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7661 $as_echo "$lt_cv_objdir" >&6; }
7662 objdir=$lt_cv_objdir
7663
7664
7665
7666
7667
7668 cat >>confdefs.h <<_ACEOF
7669 #define LT_OBJDIR "$lt_cv_objdir/"
7670 _ACEOF
7671
7672
7673
7674
7675 case $host_os in
7676 aix3*)
7677   # AIX sometimes has problems with the GCC collect2 program.  For some
7678   # reason, if we set the COLLECT_NAMES environment variable, the problems
7679   # vanish in a puff of smoke.
7680   if test "X${COLLECT_NAMES+set}" != Xset; then
7681     COLLECT_NAMES=
7682     export COLLECT_NAMES
7683   fi
7684   ;;
7685 esac
7686
7687 # Global variables:
7688 ofile=libtool
7689 can_build_shared=yes
7690
7691 # All known linkers require a `.a' archive for static linking (except MSVC,
7692 # which needs '.lib').
7693 libext=a
7694
7695 with_gnu_ld="$lt_cv_prog_gnu_ld"
7696
7697 old_CC="$CC"
7698 old_CFLAGS="$CFLAGS"
7699
7700 # Set sane defaults for various variables
7701 test -z "$CC" && CC=cc
7702 test -z "$LTCC" && LTCC=$CC
7703 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7704 test -z "$LD" && LD=ld
7705 test -z "$ac_objext" && ac_objext=o
7706
7707 for cc_temp in $compiler""; do
7708   case $cc_temp in
7709     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7710     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7711     \-*) ;;
7712     *) break;;
7713   esac
7714 done
7715 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7716
7717
7718 # Only perform the check for file, if the check method requires it
7719 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7720 case $deplibs_check_method in
7721 file_magic*)
7722   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7724 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7725 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7726   $as_echo_n "(cached) " >&6
7727 else
7728   case $MAGIC_CMD in
7729 [\\/*] |  ?:[\\/]*)
7730   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7731   ;;
7732 *)
7733   lt_save_MAGIC_CMD="$MAGIC_CMD"
7734   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7735   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7736   for ac_dir in $ac_dummy; do
7737     IFS="$lt_save_ifs"
7738     test -z "$ac_dir" && ac_dir=.
7739     if test -f $ac_dir/${ac_tool_prefix}file; then
7740       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7741       if test -n "$file_magic_test_file"; then
7742         case $deplibs_check_method in
7743         "file_magic "*)
7744           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7745           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7746           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7747             $EGREP "$file_magic_regex" > /dev/null; then
7748             :
7749           else
7750             cat <<_LT_EOF 1>&2
7751
7752 *** Warning: the command libtool uses to detect shared libraries,
7753 *** $file_magic_cmd, produces output that libtool cannot recognize.
7754 *** The result is that libtool may fail to recognize shared libraries
7755 *** as such.  This will affect the creation of libtool libraries that
7756 *** depend on shared libraries, but programs linked with such libtool
7757 *** libraries will work regardless of this problem.  Nevertheless, you
7758 *** may want to report the problem to your system manager and/or to
7759 *** bug-libtool@gnu.org
7760
7761 _LT_EOF
7762           fi ;;
7763         esac
7764       fi
7765       break
7766     fi
7767   done
7768   IFS="$lt_save_ifs"
7769   MAGIC_CMD="$lt_save_MAGIC_CMD"
7770   ;;
7771 esac
7772 fi
7773
7774 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7775 if test -n "$MAGIC_CMD"; then
7776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7777 $as_echo "$MAGIC_CMD" >&6; }
7778 else
7779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7781 fi
7782
7783
7784
7785
7786
7787 if test -z "$lt_cv_path_MAGIC_CMD"; then
7788   if test -n "$ac_tool_prefix"; then
7789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7790 $as_echo_n "checking for file... " >&6; }
7791 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7792   $as_echo_n "(cached) " >&6
7793 else
7794   case $MAGIC_CMD in
7795 [\\/*] |  ?:[\\/]*)
7796   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7797   ;;
7798 *)
7799   lt_save_MAGIC_CMD="$MAGIC_CMD"
7800   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7801   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7802   for ac_dir in $ac_dummy; do
7803     IFS="$lt_save_ifs"
7804     test -z "$ac_dir" && ac_dir=.
7805     if test -f $ac_dir/file; then
7806       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7807       if test -n "$file_magic_test_file"; then
7808         case $deplibs_check_method in
7809         "file_magic "*)
7810           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7811           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7812           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7813             $EGREP "$file_magic_regex" > /dev/null; then
7814             :
7815           else
7816             cat <<_LT_EOF 1>&2
7817
7818 *** Warning: the command libtool uses to detect shared libraries,
7819 *** $file_magic_cmd, produces output that libtool cannot recognize.
7820 *** The result is that libtool may fail to recognize shared libraries
7821 *** as such.  This will affect the creation of libtool libraries that
7822 *** depend on shared libraries, but programs linked with such libtool
7823 *** libraries will work regardless of this problem.  Nevertheless, you
7824 *** may want to report the problem to your system manager and/or to
7825 *** bug-libtool@gnu.org
7826
7827 _LT_EOF
7828           fi ;;
7829         esac
7830       fi
7831       break
7832     fi
7833   done
7834   IFS="$lt_save_ifs"
7835   MAGIC_CMD="$lt_save_MAGIC_CMD"
7836   ;;
7837 esac
7838 fi
7839
7840 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7841 if test -n "$MAGIC_CMD"; then
7842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7843 $as_echo "$MAGIC_CMD" >&6; }
7844 else
7845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846 $as_echo "no" >&6; }
7847 fi
7848
7849
7850   else
7851     MAGIC_CMD=:
7852   fi
7853 fi
7854
7855   fi
7856   ;;
7857 esac
7858
7859 # Use C for the default configuration in the libtool script
7860
7861 lt_save_CC="$CC"
7862 ac_ext=c
7863 ac_cpp='$CPP $CPPFLAGS'
7864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7867
7868
7869 # Source file extension for C test sources.
7870 ac_ext=c
7871
7872 # Object file extension for compiled C test sources.
7873 objext=o
7874 objext=$objext
7875
7876 # Code to be used in simple compile tests
7877 lt_simple_compile_test_code="int some_variable = 0;"
7878
7879 # Code to be used in simple link tests
7880 lt_simple_link_test_code='int main(){return(0);}'
7881
7882
7883
7884
7885
7886
7887
7888 # If no C compiler was specified, use CC.
7889 LTCC=${LTCC-"$CC"}
7890
7891 # If no C compiler flags were specified, use CFLAGS.
7892 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7893
7894 # Allow CC to be a program name with arguments.
7895 compiler=$CC
7896
7897 # Save the default compiler, since it gets overwritten when the other
7898 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7899 compiler_DEFAULT=$CC
7900
7901 # save warnings/boilerplate of simple test code
7902 ac_outfile=conftest.$ac_objext
7903 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7904 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7905 _lt_compiler_boilerplate=`cat conftest.err`
7906 $RM conftest*
7907
7908 ac_outfile=conftest.$ac_objext
7909 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7910 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7911 _lt_linker_boilerplate=`cat conftest.err`
7912 $RM -r conftest*
7913
7914
7915 if test -n "$compiler"; then
7916
7917 lt_prog_compiler_no_builtin_flag=
7918
7919 if test "$GCC" = yes; then
7920   case $cc_basename in
7921   nvcc*)
7922     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7923   *)
7924     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7925   esac
7926
7927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7928 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7929 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7930   $as_echo_n "(cached) " >&6
7931 else
7932   lt_cv_prog_compiler_rtti_exceptions=no
7933    ac_outfile=conftest.$ac_objext
7934    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7935    lt_compiler_flag="-fno-rtti -fno-exceptions"
7936    # Insert the option either (1) after the last *FLAGS variable, or
7937    # (2) before a word containing "conftest.", or (3) at the end.
7938    # Note that $ac_compile itself does not contain backslashes and begins
7939    # with a dollar sign (not a hyphen), so the echo should work correctly.
7940    # The option is referenced via a variable to avoid confusing sed.
7941    lt_compile=`echo "$ac_compile" | $SED \
7942    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7943    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7944    -e 's:$: $lt_compiler_flag:'`
7945    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7946    (eval "$lt_compile" 2>conftest.err)
7947    ac_status=$?
7948    cat conftest.err >&5
7949    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950    if (exit $ac_status) && test -s "$ac_outfile"; then
7951      # The compiler can only warn and ignore the option if not recognized
7952      # So say no if there are warnings other than the usual output.
7953      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7954      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7955      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7956        lt_cv_prog_compiler_rtti_exceptions=yes
7957      fi
7958    fi
7959    $RM conftest*
7960
7961 fi
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7963 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7964
7965 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7966     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7967 else
7968     :
7969 fi
7970
7971 fi
7972
7973
7974
7975
7976
7977
7978   lt_prog_compiler_wl=
7979 lt_prog_compiler_pic=
7980 lt_prog_compiler_static=
7981
7982
7983   if test "$GCC" = yes; then
7984     lt_prog_compiler_wl='-Wl,'
7985     lt_prog_compiler_static='-static'
7986
7987     case $host_os in
7988       aix*)
7989       # All AIX code is PIC.
7990       if test "$host_cpu" = ia64; then
7991         # AIX 5 now supports IA64 processor
7992         lt_prog_compiler_static='-Bstatic'
7993       fi
7994       ;;
7995
7996     amigaos*)
7997       case $host_cpu in
7998       powerpc)
7999             # see comment about AmigaOS4 .so support
8000             lt_prog_compiler_pic='-fPIC'
8001         ;;
8002       m68k)
8003             # FIXME: we need at least 68020 code to build shared libraries, but
8004             # adding the `-m68020' flag to GCC prevents building anything better,
8005             # like `-m68040'.
8006             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8007         ;;
8008       esac
8009       ;;
8010
8011     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8012       # PIC is the default for these OSes.
8013       ;;
8014
8015     mingw* | cygwin* | pw32* | os2* | cegcc*)
8016       # This hack is so that the source file can tell whether it is being
8017       # built for inclusion in a dll (and should export symbols for example).
8018       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8019       # (--disable-auto-import) libraries
8020       lt_prog_compiler_pic='-DDLL_EXPORT'
8021       ;;
8022
8023     darwin* | rhapsody*)
8024       # PIC is the default on this platform
8025       # Common symbols not allowed in MH_DYLIB files
8026       lt_prog_compiler_pic='-fno-common'
8027       ;;
8028
8029     haiku*)
8030       # PIC is the default for Haiku.
8031       # The "-static" flag exists, but is broken.
8032       lt_prog_compiler_static=
8033       ;;
8034
8035     hpux*)
8036       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8037       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8038       # sets the default TLS model and affects inlining.
8039       case $host_cpu in
8040       hppa*64*)
8041         # +Z the default
8042         ;;
8043       *)
8044         lt_prog_compiler_pic='-fPIC'
8045         ;;
8046       esac
8047       ;;
8048
8049     interix[3-9]*)
8050       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8051       # Instead, we relocate shared libraries at runtime.
8052       ;;
8053
8054     msdosdjgpp*)
8055       # Just because we use GCC doesn't mean we suddenly get shared libraries
8056       # on systems that don't support them.
8057       lt_prog_compiler_can_build_shared=no
8058       enable_shared=no
8059       ;;
8060
8061     *nto* | *qnx*)
8062       # QNX uses GNU C++, but need to define -shared option too, otherwise
8063       # it will coredump.
8064       lt_prog_compiler_pic='-fPIC -shared'
8065       ;;
8066
8067     sysv4*MP*)
8068       if test -d /usr/nec; then
8069         lt_prog_compiler_pic=-Kconform_pic
8070       fi
8071       ;;
8072
8073     *)
8074       lt_prog_compiler_pic='-fPIC'
8075       ;;
8076     esac
8077
8078     case $cc_basename in
8079     nvcc*) # Cuda Compiler Driver 2.2
8080       lt_prog_compiler_wl='-Xlinker '
8081       if test -n "$lt_prog_compiler_pic"; then
8082         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8083       fi
8084       ;;
8085     esac
8086   else
8087     # PORTME Check for flag to pass linker flags through the system compiler.
8088     case $host_os in
8089     aix*)
8090       lt_prog_compiler_wl='-Wl,'
8091       if test "$host_cpu" = ia64; then
8092         # AIX 5 now supports IA64 processor
8093         lt_prog_compiler_static='-Bstatic'
8094       else
8095         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8096       fi
8097       ;;
8098
8099     mingw* | cygwin* | pw32* | os2* | cegcc*)
8100       # This hack is so that the source file can tell whether it is being
8101       # built for inclusion in a dll (and should export symbols for example).
8102       lt_prog_compiler_pic='-DDLL_EXPORT'
8103       ;;
8104
8105     hpux9* | hpux10* | hpux11*)
8106       lt_prog_compiler_wl='-Wl,'
8107       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8108       # not for PA HP-UX.
8109       case $host_cpu in
8110       hppa*64*|ia64*)
8111         # +Z the default
8112         ;;
8113       *)
8114         lt_prog_compiler_pic='+Z'
8115         ;;
8116       esac
8117       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8118       lt_prog_compiler_static='${wl}-a ${wl}archive'
8119       ;;
8120
8121     irix5* | irix6* | nonstopux*)
8122       lt_prog_compiler_wl='-Wl,'
8123       # PIC (with -KPIC) is the default.
8124       lt_prog_compiler_static='-non_shared'
8125       ;;
8126
8127     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8128       case $cc_basename in
8129       # old Intel for x86_64 which still supported -KPIC.
8130       ecc*)
8131         lt_prog_compiler_wl='-Wl,'
8132         lt_prog_compiler_pic='-KPIC'
8133         lt_prog_compiler_static='-static'
8134         ;;
8135       # icc used to be incompatible with GCC.
8136       # ICC 10 doesn't accept -KPIC any more.
8137       icc* | ifort*)
8138         lt_prog_compiler_wl='-Wl,'
8139         lt_prog_compiler_pic='-fPIC'
8140         lt_prog_compiler_static='-static'
8141         ;;
8142       # Lahey Fortran 8.1.
8143       lf95*)
8144         lt_prog_compiler_wl='-Wl,'
8145         lt_prog_compiler_pic='--shared'
8146         lt_prog_compiler_static='--static'
8147         ;;
8148       nagfor*)
8149         # NAG Fortran compiler
8150         lt_prog_compiler_wl='-Wl,-Wl,,'
8151         lt_prog_compiler_pic='-PIC'
8152         lt_prog_compiler_static='-Bstatic'
8153         ;;
8154       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8155         # Portland Group compilers (*not* the Pentium gcc compiler,
8156         # which looks to be a dead project)
8157         lt_prog_compiler_wl='-Wl,'
8158         lt_prog_compiler_pic='-fpic'
8159         lt_prog_compiler_static='-Bstatic'
8160         ;;
8161       ccc*)
8162         lt_prog_compiler_wl='-Wl,'
8163         # All Alpha code is PIC.
8164         lt_prog_compiler_static='-non_shared'
8165         ;;
8166       xl* | bgxl* | bgf* | mpixl*)
8167         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8168         lt_prog_compiler_wl='-Wl,'
8169         lt_prog_compiler_pic='-qpic'
8170         lt_prog_compiler_static='-qstaticlink'
8171         ;;
8172       *)
8173         case `$CC -V 2>&1 | sed 5q` in
8174         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8175           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8176           lt_prog_compiler_pic='-KPIC'
8177           lt_prog_compiler_static='-Bstatic'
8178           lt_prog_compiler_wl=''
8179           ;;
8180         *Sun\ F* | *Sun*Fortran*)
8181           lt_prog_compiler_pic='-KPIC'
8182           lt_prog_compiler_static='-Bstatic'
8183           lt_prog_compiler_wl='-Qoption ld '
8184           ;;
8185         *Sun\ C*)
8186           # Sun C 5.9
8187           lt_prog_compiler_pic='-KPIC'
8188           lt_prog_compiler_static='-Bstatic'
8189           lt_prog_compiler_wl='-Wl,'
8190           ;;
8191         *Intel*\ [CF]*Compiler*)
8192           lt_prog_compiler_wl='-Wl,'
8193           lt_prog_compiler_pic='-fPIC'
8194           lt_prog_compiler_static='-static'
8195           ;;
8196         *Portland\ Group*)
8197           lt_prog_compiler_wl='-Wl,'
8198           lt_prog_compiler_pic='-fpic'
8199           lt_prog_compiler_static='-Bstatic'
8200           ;;
8201         esac
8202         ;;
8203       esac
8204       ;;
8205
8206     newsos6)
8207       lt_prog_compiler_pic='-KPIC'
8208       lt_prog_compiler_static='-Bstatic'
8209       ;;
8210
8211     *nto* | *qnx*)
8212       # QNX uses GNU C++, but need to define -shared option too, otherwise
8213       # it will coredump.
8214       lt_prog_compiler_pic='-fPIC -shared'
8215       ;;
8216
8217     osf3* | osf4* | osf5*)
8218       lt_prog_compiler_wl='-Wl,'
8219       # All OSF/1 code is PIC.
8220       lt_prog_compiler_static='-non_shared'
8221       ;;
8222
8223     rdos*)
8224       lt_prog_compiler_static='-non_shared'
8225       ;;
8226
8227     solaris*)
8228       lt_prog_compiler_pic='-KPIC'
8229       lt_prog_compiler_static='-Bstatic'
8230       case $cc_basename in
8231       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8232         lt_prog_compiler_wl='-Qoption ld ';;
8233       *)
8234         lt_prog_compiler_wl='-Wl,';;
8235       esac
8236       ;;
8237
8238     sunos4*)
8239       lt_prog_compiler_wl='-Qoption ld '
8240       lt_prog_compiler_pic='-PIC'
8241       lt_prog_compiler_static='-Bstatic'
8242       ;;
8243
8244     sysv4 | sysv4.2uw2* | sysv4.3*)
8245       lt_prog_compiler_wl='-Wl,'
8246       lt_prog_compiler_pic='-KPIC'
8247       lt_prog_compiler_static='-Bstatic'
8248       ;;
8249
8250     sysv4*MP*)
8251       if test -d /usr/nec ;then
8252         lt_prog_compiler_pic='-Kconform_pic'
8253         lt_prog_compiler_static='-Bstatic'
8254       fi
8255       ;;
8256
8257     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8258       lt_prog_compiler_wl='-Wl,'
8259       lt_prog_compiler_pic='-KPIC'
8260       lt_prog_compiler_static='-Bstatic'
8261       ;;
8262
8263     unicos*)
8264       lt_prog_compiler_wl='-Wl,'
8265       lt_prog_compiler_can_build_shared=no
8266       ;;
8267
8268     uts4*)
8269       lt_prog_compiler_pic='-pic'
8270       lt_prog_compiler_static='-Bstatic'
8271       ;;
8272
8273     *)
8274       lt_prog_compiler_can_build_shared=no
8275       ;;
8276     esac
8277   fi
8278
8279 case $host_os in
8280   # For platforms which do not support PIC, -DPIC is meaningless:
8281   *djgpp*)
8282     lt_prog_compiler_pic=
8283     ;;
8284   *)
8285     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8286     ;;
8287 esac
8288
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8290 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8291 if ${lt_cv_prog_compiler_pic+:} false; then :
8292   $as_echo_n "(cached) " >&6
8293 else
8294   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8295 fi
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8297 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8298 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8299
8300 #
8301 # Check to make sure the PIC flag actually works.
8302 #
8303 if test -n "$lt_prog_compiler_pic"; then
8304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8305 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8306 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8307   $as_echo_n "(cached) " >&6
8308 else
8309   lt_cv_prog_compiler_pic_works=no
8310    ac_outfile=conftest.$ac_objext
8311    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8312    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8313    # Insert the option either (1) after the last *FLAGS variable, or
8314    # (2) before a word containing "conftest.", or (3) at the end.
8315    # Note that $ac_compile itself does not contain backslashes and begins
8316    # with a dollar sign (not a hyphen), so the echo should work correctly.
8317    # The option is referenced via a variable to avoid confusing sed.
8318    lt_compile=`echo "$ac_compile" | $SED \
8319    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8320    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8321    -e 's:$: $lt_compiler_flag:'`
8322    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8323    (eval "$lt_compile" 2>conftest.err)
8324    ac_status=$?
8325    cat conftest.err >&5
8326    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327    if (exit $ac_status) && test -s "$ac_outfile"; then
8328      # The compiler can only warn and ignore the option if not recognized
8329      # So say no if there are warnings other than the usual output.
8330      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8331      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8332      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8333        lt_cv_prog_compiler_pic_works=yes
8334      fi
8335    fi
8336    $RM conftest*
8337
8338 fi
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8340 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8341
8342 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8343     case $lt_prog_compiler_pic in
8344      "" | " "*) ;;
8345      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8346      esac
8347 else
8348     lt_prog_compiler_pic=
8349      lt_prog_compiler_can_build_shared=no
8350 fi
8351
8352 fi
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364 #
8365 # Check to make sure the static flag actually works.
8366 #
8367 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8369 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8370 if ${lt_cv_prog_compiler_static_works+:} false; then :
8371   $as_echo_n "(cached) " >&6
8372 else
8373   lt_cv_prog_compiler_static_works=no
8374    save_LDFLAGS="$LDFLAGS"
8375    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8376    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8377    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8378      # The linker can only warn and ignore the option if not recognized
8379      # So say no if there are warnings
8380      if test -s conftest.err; then
8381        # Append any errors to the config.log.
8382        cat conftest.err 1>&5
8383        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8384        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8385        if diff conftest.exp conftest.er2 >/dev/null; then
8386          lt_cv_prog_compiler_static_works=yes
8387        fi
8388      else
8389        lt_cv_prog_compiler_static_works=yes
8390      fi
8391    fi
8392    $RM -r conftest*
8393    LDFLAGS="$save_LDFLAGS"
8394
8395 fi
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8397 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8398
8399 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8400     :
8401 else
8402     lt_prog_compiler_static=
8403 fi
8404
8405
8406
8407
8408
8409
8410
8411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8412 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8413 if ${lt_cv_prog_compiler_c_o+:} false; then :
8414   $as_echo_n "(cached) " >&6
8415 else
8416   lt_cv_prog_compiler_c_o=no
8417    $RM -r conftest 2>/dev/null
8418    mkdir conftest
8419    cd conftest
8420    mkdir out
8421    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8422
8423    lt_compiler_flag="-o out/conftest2.$ac_objext"
8424    # Insert the option either (1) after the last *FLAGS variable, or
8425    # (2) before a word containing "conftest.", or (3) at the end.
8426    # Note that $ac_compile itself does not contain backslashes and begins
8427    # with a dollar sign (not a hyphen), so the echo should work correctly.
8428    lt_compile=`echo "$ac_compile" | $SED \
8429    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8430    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8431    -e 's:$: $lt_compiler_flag:'`
8432    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8433    (eval "$lt_compile" 2>out/conftest.err)
8434    ac_status=$?
8435    cat out/conftest.err >&5
8436    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8438    then
8439      # The compiler can only warn and ignore the option if not recognized
8440      # So say no if there are warnings
8441      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8442      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8443      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8444        lt_cv_prog_compiler_c_o=yes
8445      fi
8446    fi
8447    chmod u+w . 2>&5
8448    $RM conftest*
8449    # SGI C++ compiler will create directory out/ii_files/ for
8450    # template instantiation
8451    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8452    $RM out/* && rmdir out
8453    cd ..
8454    $RM -r conftest
8455    $RM conftest*
8456
8457 fi
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8459 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8460
8461
8462
8463
8464
8465
8466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8467 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8468 if ${lt_cv_prog_compiler_c_o+:} false; then :
8469   $as_echo_n "(cached) " >&6
8470 else
8471   lt_cv_prog_compiler_c_o=no
8472    $RM -r conftest 2>/dev/null
8473    mkdir conftest
8474    cd conftest
8475    mkdir out
8476    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8477
8478    lt_compiler_flag="-o out/conftest2.$ac_objext"
8479    # Insert the option either (1) after the last *FLAGS variable, or
8480    # (2) before a word containing "conftest.", or (3) at the end.
8481    # Note that $ac_compile itself does not contain backslashes and begins
8482    # with a dollar sign (not a hyphen), so the echo should work correctly.
8483    lt_compile=`echo "$ac_compile" | $SED \
8484    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8485    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8486    -e 's:$: $lt_compiler_flag:'`
8487    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8488    (eval "$lt_compile" 2>out/conftest.err)
8489    ac_status=$?
8490    cat out/conftest.err >&5
8491    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8493    then
8494      # The compiler can only warn and ignore the option if not recognized
8495      # So say no if there are warnings
8496      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8497      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8498      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8499        lt_cv_prog_compiler_c_o=yes
8500      fi
8501    fi
8502    chmod u+w . 2>&5
8503    $RM conftest*
8504    # SGI C++ compiler will create directory out/ii_files/ for
8505    # template instantiation
8506    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8507    $RM out/* && rmdir out
8508    cd ..
8509    $RM -r conftest
8510    $RM conftest*
8511
8512 fi
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8514 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8515
8516
8517
8518
8519 hard_links="nottested"
8520 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8521   # do not overwrite the value of need_locks provided by the user
8522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8523 $as_echo_n "checking if we can lock with hard links... " >&6; }
8524   hard_links=yes
8525   $RM conftest*
8526   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8527   touch conftest.a
8528   ln conftest.a conftest.b 2>&5 || hard_links=no
8529   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8531 $as_echo "$hard_links" >&6; }
8532   if test "$hard_links" = no; then
8533     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8534 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8535     need_locks=warn
8536   fi
8537 else
8538   need_locks=no
8539 fi
8540
8541
8542
8543
8544
8545
8546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8547 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8548
8549   runpath_var=
8550   allow_undefined_flag=
8551   always_export_symbols=no
8552   archive_cmds=
8553   archive_expsym_cmds=
8554   compiler_needs_object=no
8555   enable_shared_with_static_runtimes=no
8556   export_dynamic_flag_spec=
8557   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8558   hardcode_automatic=no
8559   hardcode_direct=no
8560   hardcode_direct_absolute=no
8561   hardcode_libdir_flag_spec=
8562   hardcode_libdir_separator=
8563   hardcode_minus_L=no
8564   hardcode_shlibpath_var=unsupported
8565   inherit_rpath=no
8566   link_all_deplibs=unknown
8567   module_cmds=
8568   module_expsym_cmds=
8569   old_archive_from_new_cmds=
8570   old_archive_from_expsyms_cmds=
8571   thread_safe_flag_spec=
8572   whole_archive_flag_spec=
8573   # include_expsyms should be a list of space-separated symbols to be *always*
8574   # included in the symbol list
8575   include_expsyms=
8576   # exclude_expsyms can be an extended regexp of symbols to exclude
8577   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8578   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8579   # as well as any symbol that contains `d'.
8580   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8581   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8582   # platforms (ab)use it in PIC code, but their linkers get confused if
8583   # the symbol is explicitly referenced.  Since portable code cannot
8584   # rely on this symbol name, it's probably fine to never include it in
8585   # preloaded symbol tables.
8586   # Exclude shared library initialization/finalization symbols.
8587   extract_expsyms_cmds=
8588
8589   case $host_os in
8590   cygwin* | mingw* | pw32* | cegcc*)
8591     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8592     # When not using gcc, we currently assume that we are using
8593     # Microsoft Visual C++.
8594     if test "$GCC" != yes; then
8595       with_gnu_ld=no
8596     fi
8597     ;;
8598   interix*)
8599     # we just hope/assume this is gcc and not c89 (= MSVC++)
8600     with_gnu_ld=yes
8601     ;;
8602   openbsd*)
8603     with_gnu_ld=no
8604     ;;
8605   esac
8606
8607   ld_shlibs=yes
8608
8609   # On some targets, GNU ld is compatible enough with the native linker
8610   # that we're better off using the native interface for both.
8611   lt_use_gnu_ld_interface=no
8612   if test "$with_gnu_ld" = yes; then
8613     case $host_os in
8614       aix*)
8615         # The AIX port of GNU ld has always aspired to compatibility
8616         # with the native linker.  However, as the warning in the GNU ld
8617         # block says, versions before 2.19.5* couldn't really create working
8618         # shared libraries, regardless of the interface used.
8619         case `$LD -v 2>&1` in
8620           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8621           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8622           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8623           *)
8624             lt_use_gnu_ld_interface=yes
8625             ;;
8626         esac
8627         ;;
8628       *)
8629         lt_use_gnu_ld_interface=yes
8630         ;;
8631     esac
8632   fi
8633
8634   if test "$lt_use_gnu_ld_interface" = yes; then
8635     # If archive_cmds runs LD, not CC, wlarc should be empty
8636     wlarc='${wl}'
8637
8638     # Set some defaults for GNU ld with shared library support. These
8639     # are reset later if shared libraries are not supported. Putting them
8640     # here allows them to be overridden if necessary.
8641     runpath_var=LD_RUN_PATH
8642     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8643     export_dynamic_flag_spec='${wl}--export-dynamic'
8644     # ancient GNU ld didn't support --whole-archive et. al.
8645     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8646       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8647     else
8648       whole_archive_flag_spec=
8649     fi
8650     supports_anon_versioning=no
8651     case `$LD -v 2>&1` in
8652       *GNU\ gold*) supports_anon_versioning=yes ;;
8653       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8654       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8655       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8656       *\ 2.11.*) ;; # other 2.11 versions
8657       *) supports_anon_versioning=yes ;;
8658     esac
8659
8660     # See if GNU ld supports shared libraries.
8661     case $host_os in
8662     aix[3-9]*)
8663       # On AIX/PPC, the GNU linker is very broken
8664       if test "$host_cpu" != ia64; then
8665         ld_shlibs=no
8666         cat <<_LT_EOF 1>&2
8667
8668 *** Warning: the GNU linker, at least up to release 2.19, is reported
8669 *** to be unable to reliably create shared libraries on AIX.
8670 *** Therefore, libtool is disabling shared libraries support.  If you
8671 *** really care for shared libraries, you may want to install binutils
8672 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8673 *** You will then need to restart the configuration process.
8674
8675 _LT_EOF
8676       fi
8677       ;;
8678
8679     amigaos*)
8680       case $host_cpu in
8681       powerpc)
8682             # see comment about AmigaOS4 .so support
8683             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8684             archive_expsym_cmds=''
8685         ;;
8686       m68k)
8687             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)'
8688             hardcode_libdir_flag_spec='-L$libdir'
8689             hardcode_minus_L=yes
8690         ;;
8691       esac
8692       ;;
8693
8694     beos*)
8695       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8696         allow_undefined_flag=unsupported
8697         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8698         # support --undefined.  This deserves some investigation.  FIXME
8699         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8700       else
8701         ld_shlibs=no
8702       fi
8703       ;;
8704
8705     cygwin* | mingw* | pw32* | cegcc*)
8706       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8707       # as there is no search path for DLLs.
8708       hardcode_libdir_flag_spec='-L$libdir'
8709       export_dynamic_flag_spec='${wl}--export-all-symbols'
8710       allow_undefined_flag=unsupported
8711       always_export_symbols=no
8712       enable_shared_with_static_runtimes=yes
8713       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8714       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8715
8716       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8717         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8718         # If the export-symbols file already is a .def file (1st line
8719         # is EXPORTS), use it as is; otherwise, prepend...
8720         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8721           cp $export_symbols $output_objdir/$soname.def;
8722         else
8723           echo EXPORTS > $output_objdir/$soname.def;
8724           cat $export_symbols >> $output_objdir/$soname.def;
8725         fi~
8726         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8727       else
8728         ld_shlibs=no
8729       fi
8730       ;;
8731
8732     haiku*)
8733       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734       link_all_deplibs=yes
8735       ;;
8736
8737     interix[3-9]*)
8738       hardcode_direct=no
8739       hardcode_shlibpath_var=no
8740       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8741       export_dynamic_flag_spec='${wl}-E'
8742       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8743       # Instead, shared libraries are loaded at an image base (0x10000000 by
8744       # default) and relocated if they conflict, which is a slow very memory
8745       # consuming and fragmenting process.  To avoid this, we pick a random,
8746       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8747       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8748       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8749       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'
8750       ;;
8751
8752     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8753       tmp_diet=no
8754       if test "$host_os" = linux-dietlibc; then
8755         case $cc_basename in
8756           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8757         esac
8758       fi
8759       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8760          && test "$tmp_diet" = no
8761       then
8762         tmp_addflag=' $pic_flag'
8763         tmp_sharedflag='-shared'
8764         case $cc_basename,$host_cpu in
8765         pgcc*)                          # Portland Group C compiler
8766           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8767           tmp_addflag=' $pic_flag'
8768           ;;
8769         pgf77* | pgf90* | pgf95* | pgfortran*)
8770                                         # Portland Group f77 and f90 compilers
8771           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8772           tmp_addflag=' $pic_flag -Mnomain' ;;
8773         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8774           tmp_addflag=' -i_dynamic' ;;
8775         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8776           tmp_addflag=' -i_dynamic -nofor_main' ;;
8777         ifc* | ifort*)                  # Intel Fortran compiler
8778           tmp_addflag=' -nofor_main' ;;
8779         lf95*)                          # Lahey Fortran 8.1
8780           whole_archive_flag_spec=
8781           tmp_sharedflag='--shared' ;;
8782         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8783           tmp_sharedflag='-qmkshrobj'
8784           tmp_addflag= ;;
8785         nvcc*)  # Cuda Compiler Driver 2.2
8786           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8787           compiler_needs_object=yes
8788           ;;
8789         esac
8790         case `$CC -V 2>&1 | sed 5q` in
8791         *Sun\ C*)                       # Sun C 5.9
8792           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8793           compiler_needs_object=yes
8794           tmp_sharedflag='-G' ;;
8795         *Sun\ F*)                       # Sun Fortran 8.3
8796           tmp_sharedflag='-G' ;;
8797         esac
8798         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8799
8800         if test "x$supports_anon_versioning" = xyes; then
8801           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8802             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8803             echo "local: *; };" >> $output_objdir/$libname.ver~
8804             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8805         fi
8806
8807         case $cc_basename in
8808         xlf* | bgf* | bgxlf* | mpixlf*)
8809           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8810           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8811           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8812           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8813           if test "x$supports_anon_versioning" = xyes; then
8814             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8815               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8816               echo "local: *; };" >> $output_objdir/$libname.ver~
8817               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8818           fi
8819           ;;
8820         esac
8821       else
8822         ld_shlibs=no
8823       fi
8824       ;;
8825
8826     netbsd*)
8827       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8828         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8829         wlarc=
8830       else
8831         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8832         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8833       fi
8834       ;;
8835
8836     solaris*)
8837       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8838         ld_shlibs=no
8839         cat <<_LT_EOF 1>&2
8840
8841 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8842 *** create shared libraries on Solaris systems.  Therefore, libtool
8843 *** is disabling shared libraries support.  We urge you to upgrade GNU
8844 *** binutils to release 2.9.1 or newer.  Another option is to modify
8845 *** your PATH or compiler configuration so that the native linker is
8846 *** used, and then restart.
8847
8848 _LT_EOF
8849       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8850         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8851         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8852       else
8853         ld_shlibs=no
8854       fi
8855       ;;
8856
8857     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8858       case `$LD -v 2>&1` in
8859         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8860         ld_shlibs=no
8861         cat <<_LT_EOF 1>&2
8862
8863 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8864 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8865 *** is disabling shared libraries support.  We urge you to upgrade GNU
8866 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8867 *** your PATH or compiler configuration so that the native linker is
8868 *** used, and then restart.
8869
8870 _LT_EOF
8871         ;;
8872         *)
8873           # For security reasons, it is highly recommended that you always
8874           # use absolute paths for naming shared libraries, and exclude the
8875           # DT_RUNPATH tag from executables and libraries.  But doing so
8876           # requires that you compile everything twice, which is a pain.
8877           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8878             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8879             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8880             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8881           else
8882             ld_shlibs=no
8883           fi
8884         ;;
8885       esac
8886       ;;
8887
8888     sunos4*)
8889       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8890       wlarc=
8891       hardcode_direct=yes
8892       hardcode_shlibpath_var=no
8893       ;;
8894
8895     *)
8896       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8897         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8898         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8899       else
8900         ld_shlibs=no
8901       fi
8902       ;;
8903     esac
8904
8905     if test "$ld_shlibs" = no; then
8906       runpath_var=
8907       hardcode_libdir_flag_spec=
8908       export_dynamic_flag_spec=
8909       whole_archive_flag_spec=
8910     fi
8911   else
8912     # PORTME fill in a description of your system's linker (not GNU ld)
8913     case $host_os in
8914     aix3*)
8915       allow_undefined_flag=unsupported
8916       always_export_symbols=yes
8917       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'
8918       # Note: this linker hardcodes the directories in LIBPATH if there
8919       # are no directories specified by -L.
8920       hardcode_minus_L=yes
8921       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8922         # Neither direct hardcoding nor static linking is supported with a
8923         # broken collect2.
8924         hardcode_direct=unsupported
8925       fi
8926       ;;
8927
8928     aix[4-9]*)
8929       if test "$host_cpu" = ia64; then
8930         # On IA64, the linker does run time linking by default, so we don't
8931         # have to do anything special.
8932         aix_use_runtimelinking=no
8933         exp_sym_flag='-Bexport'
8934         no_entry_flag=""
8935       else
8936         # If we're using GNU nm, then we don't want the "-C" option.
8937         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8938         # Also, AIX nm treats weak defined symbols like other global
8939         # defined symbols, whereas GNU nm marks them as "W".
8940         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8941           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8942         else
8943           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'
8944         fi
8945         aix_use_runtimelinking=no
8946
8947         # Test if we are trying to use run time linking or normal
8948         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8949         # need to do runtime linking.
8950         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8951           for ld_flag in $LDFLAGS; do
8952           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8953             aix_use_runtimelinking=yes
8954             break
8955           fi
8956           done
8957           ;;
8958         esac
8959
8960         exp_sym_flag='-bexport'
8961         no_entry_flag='-bnoentry'
8962       fi
8963
8964       # When large executables or shared objects are built, AIX ld can
8965       # have problems creating the table of contents.  If linking a library
8966       # or program results in "error TOC overflow" add -mminimal-toc to
8967       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8968       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8969
8970       archive_cmds=''
8971       hardcode_direct=yes
8972       hardcode_direct_absolute=yes
8973       hardcode_libdir_separator=':'
8974       link_all_deplibs=yes
8975       file_list_spec='${wl}-f,'
8976
8977       if test "$GCC" = yes; then
8978         case $host_os in aix4.[012]|aix4.[012].*)
8979         # We only want to do this on AIX 4.2 and lower, the check
8980         # below for broken collect2 doesn't work under 4.3+
8981           collect2name=`${CC} -print-prog-name=collect2`
8982           if test -f "$collect2name" &&
8983            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8984           then
8985           # We have reworked collect2
8986           :
8987           else
8988           # We have old collect2
8989           hardcode_direct=unsupported
8990           # It fails to find uninstalled libraries when the uninstalled
8991           # path is not listed in the libpath.  Setting hardcode_minus_L
8992           # to unsupported forces relinking
8993           hardcode_minus_L=yes
8994           hardcode_libdir_flag_spec='-L$libdir'
8995           hardcode_libdir_separator=
8996           fi
8997           ;;
8998         esac
8999         shared_flag='-shared'
9000         if test "$aix_use_runtimelinking" = yes; then
9001           shared_flag="$shared_flag "'${wl}-G'
9002         fi
9003       else
9004         # not using gcc
9005         if test "$host_cpu" = ia64; then
9006         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9007         # chokes on -Wl,-G. The following line is correct:
9008           shared_flag='-G'
9009         else
9010           if test "$aix_use_runtimelinking" = yes; then
9011             shared_flag='${wl}-G'
9012           else
9013             shared_flag='${wl}-bM:SRE'
9014           fi
9015         fi
9016       fi
9017
9018       export_dynamic_flag_spec='${wl}-bexpall'
9019       # It seems that -bexpall does not export symbols beginning with
9020       # underscore (_), so it is better to generate a list of symbols to export.
9021       always_export_symbols=yes
9022       if test "$aix_use_runtimelinking" = yes; then
9023         # Warning - without using the other runtime loading flags (-brtl),
9024         # -berok will link without error, but may produce a broken library.
9025         allow_undefined_flag='-berok'
9026         # Determine the default libpath from the value encoded in an
9027         # empty executable.
9028         if test "${lt_cv_aix_libpath+set}" = set; then
9029   aix_libpath=$lt_cv_aix_libpath
9030 else
9031   if ${lt_cv_aix_libpath_+:} false; then :
9032   $as_echo_n "(cached) " >&6
9033 else
9034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h.  */
9036
9037 int
9038 main ()
9039 {
9040
9041   ;
9042   return 0;
9043 }
9044 _ACEOF
9045 if ac_fn_c_try_link "$LINENO"; then :
9046
9047   lt_aix_libpath_sed='
9048       /Import File Strings/,/^$/ {
9049           /^0/ {
9050               s/^0  *\([^ ]*\) *$/\1/
9051               p
9052           }
9053       }'
9054   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9055   # Check for a 64-bit object if we didn't find anything.
9056   if test -z "$lt_cv_aix_libpath_"; then
9057     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9058   fi
9059 fi
9060 rm -f core conftest.err conftest.$ac_objext \
9061     conftest$ac_exeext conftest.$ac_ext
9062   if test -z "$lt_cv_aix_libpath_"; then
9063     lt_cv_aix_libpath_="/usr/lib:/lib"
9064   fi
9065
9066 fi
9067
9068   aix_libpath=$lt_cv_aix_libpath_
9069 fi
9070
9071         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9072         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9073       else
9074         if test "$host_cpu" = ia64; then
9075           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9076           allow_undefined_flag="-z nodefs"
9077           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"
9078         else
9079          # Determine the default libpath from the value encoded in an
9080          # empty executable.
9081          if test "${lt_cv_aix_libpath+set}" = set; then
9082   aix_libpath=$lt_cv_aix_libpath
9083 else
9084   if ${lt_cv_aix_libpath_+:} false; then :
9085   $as_echo_n "(cached) " >&6
9086 else
9087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h.  */
9089
9090 int
9091 main ()
9092 {
9093
9094   ;
9095   return 0;
9096 }
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099
9100   lt_aix_libpath_sed='
9101       /Import File Strings/,/^$/ {
9102           /^0/ {
9103               s/^0  *\([^ ]*\) *$/\1/
9104               p
9105           }
9106       }'
9107   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9108   # Check for a 64-bit object if we didn't find anything.
9109   if test -z "$lt_cv_aix_libpath_"; then
9110     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9111   fi
9112 fi
9113 rm -f core conftest.err conftest.$ac_objext \
9114     conftest$ac_exeext conftest.$ac_ext
9115   if test -z "$lt_cv_aix_libpath_"; then
9116     lt_cv_aix_libpath_="/usr/lib:/lib"
9117   fi
9118
9119 fi
9120
9121   aix_libpath=$lt_cv_aix_libpath_
9122 fi
9123
9124          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9125           # Warning - without using the other run time loading flags,
9126           # -berok will link without error, but may produce a broken library.
9127           no_undefined_flag=' ${wl}-bernotok'
9128           allow_undefined_flag=' ${wl}-berok'
9129           if test "$with_gnu_ld" = yes; then
9130             # We only use this code for GNU lds that support --whole-archive.
9131             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9132           else
9133             # Exported symbols can be pulled into shared objects from archives
9134             whole_archive_flag_spec='$convenience'
9135           fi
9136           archive_cmds_need_lc=yes
9137           # This is similar to how AIX traditionally builds its shared libraries.
9138           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'
9139         fi
9140       fi
9141       ;;
9142
9143     amigaos*)
9144       case $host_cpu in
9145       powerpc)
9146             # see comment about AmigaOS4 .so support
9147             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148             archive_expsym_cmds=''
9149         ;;
9150       m68k)
9151             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)'
9152             hardcode_libdir_flag_spec='-L$libdir'
9153             hardcode_minus_L=yes
9154         ;;
9155       esac
9156       ;;
9157
9158     bsdi[45]*)
9159       export_dynamic_flag_spec=-rdynamic
9160       ;;
9161
9162     cygwin* | mingw* | pw32* | cegcc*)
9163       # When not using gcc, we currently assume that we are using
9164       # Microsoft Visual C++.
9165       # hardcode_libdir_flag_spec is actually meaningless, as there is
9166       # no search path for DLLs.
9167       case $cc_basename in
9168       cl*)
9169         # Native MSVC
9170         hardcode_libdir_flag_spec=' '
9171         allow_undefined_flag=unsupported
9172         always_export_symbols=yes
9173         file_list_spec='@'
9174         # Tell ltmain to make .lib files, not .a files.
9175         libext=lib
9176         # Tell ltmain to make .dll files, not .so files.
9177         shrext_cmds=".dll"
9178         # FIXME: Setting linknames here is a bad hack.
9179         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9180         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9181             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9182           else
9183             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9184           fi~
9185           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9186           linknames='
9187         # The linker will not automatically build a static lib if we build a DLL.
9188         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9189         enable_shared_with_static_runtimes=yes
9190         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9191         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9192         # Don't use ranlib
9193         old_postinstall_cmds='chmod 644 $oldlib'
9194         postlink_cmds='lt_outputfile="@OUTPUT@"~
9195           lt_tool_outputfile="@TOOL_OUTPUT@"~
9196           case $lt_outputfile in
9197             *.exe|*.EXE) ;;
9198             *)
9199               lt_outputfile="$lt_outputfile.exe"
9200               lt_tool_outputfile="$lt_tool_outputfile.exe"
9201               ;;
9202           esac~
9203           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9204             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9205             $RM "$lt_outputfile.manifest";
9206           fi'
9207         ;;
9208       *)
9209         # Assume MSVC wrapper
9210         hardcode_libdir_flag_spec=' '
9211         allow_undefined_flag=unsupported
9212         # Tell ltmain to make .lib files, not .a files.
9213         libext=lib
9214         # Tell ltmain to make .dll files, not .so files.
9215         shrext_cmds=".dll"
9216         # FIXME: Setting linknames here is a bad hack.
9217         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9218         # The linker will automatically build a .lib file if we build a DLL.
9219         old_archive_from_new_cmds='true'
9220         # FIXME: Should let the user specify the lib program.
9221         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9222         enable_shared_with_static_runtimes=yes
9223         ;;
9224       esac
9225       ;;
9226
9227     darwin* | rhapsody*)
9228
9229
9230   archive_cmds_need_lc=no
9231   hardcode_direct=no
9232   hardcode_automatic=yes
9233   hardcode_shlibpath_var=unsupported
9234   if test "$lt_cv_ld_force_load" = "yes"; then
9235     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9236
9237   else
9238     whole_archive_flag_spec=''
9239   fi
9240   link_all_deplibs=yes
9241   allow_undefined_flag="$_lt_dar_allow_undefined"
9242   case $cc_basename in
9243      ifort*) _lt_dar_can_shared=yes ;;
9244      *) _lt_dar_can_shared=$GCC ;;
9245   esac
9246   if test "$_lt_dar_can_shared" = "yes"; then
9247     output_verbose_link_cmd=func_echo_all
9248     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9249     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9250     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}"
9251     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}"
9252
9253   else
9254   ld_shlibs=no
9255   fi
9256
9257       ;;
9258
9259     dgux*)
9260       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9261       hardcode_libdir_flag_spec='-L$libdir'
9262       hardcode_shlibpath_var=no
9263       ;;
9264
9265     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9266     # support.  Future versions do this automatically, but an explicit c++rt0.o
9267     # does not break anything, and helps significantly (at the cost of a little
9268     # extra space).
9269     freebsd2.2*)
9270       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9271       hardcode_libdir_flag_spec='-R$libdir'
9272       hardcode_direct=yes
9273       hardcode_shlibpath_var=no
9274       ;;
9275
9276     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9277     freebsd2.*)
9278       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9279       hardcode_direct=yes
9280       hardcode_minus_L=yes
9281       hardcode_shlibpath_var=no
9282       ;;
9283
9284     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9285     freebsd* | dragonfly*)
9286       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9287       hardcode_libdir_flag_spec='-R$libdir'
9288       hardcode_direct=yes
9289       hardcode_shlibpath_var=no
9290       ;;
9291
9292     hpux9*)
9293       if test "$GCC" = yes; then
9294         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9295       else
9296         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'
9297       fi
9298       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9299       hardcode_libdir_separator=:
9300       hardcode_direct=yes
9301
9302       # hardcode_minus_L: Not really in the search PATH,
9303       # but as the default location of the library.
9304       hardcode_minus_L=yes
9305       export_dynamic_flag_spec='${wl}-E'
9306       ;;
9307
9308     hpux10*)
9309       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9310         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9311       else
9312         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9313       fi
9314       if test "$with_gnu_ld" = no; then
9315         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9316         hardcode_libdir_separator=:
9317         hardcode_direct=yes
9318         hardcode_direct_absolute=yes
9319         export_dynamic_flag_spec='${wl}-E'
9320         # hardcode_minus_L: Not really in the search PATH,
9321         # but as the default location of the library.
9322         hardcode_minus_L=yes
9323       fi
9324       ;;
9325
9326     hpux11*)
9327       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9328         case $host_cpu in
9329         hppa*64*)
9330           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9331           ;;
9332         ia64*)
9333           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9334           ;;
9335         *)
9336           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9337           ;;
9338         esac
9339       else
9340         case $host_cpu in
9341         hppa*64*)
9342           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9343           ;;
9344         ia64*)
9345           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9346           ;;
9347         *)
9348
9349           # Older versions of the 11.00 compiler do not understand -b yet
9350           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9351           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9352 $as_echo_n "checking if $CC understands -b... " >&6; }
9353 if ${lt_cv_prog_compiler__b+:} false; then :
9354   $as_echo_n "(cached) " >&6
9355 else
9356   lt_cv_prog_compiler__b=no
9357    save_LDFLAGS="$LDFLAGS"
9358    LDFLAGS="$LDFLAGS -b"
9359    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9360    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9361      # The linker can only warn and ignore the option if not recognized
9362      # So say no if there are warnings
9363      if test -s conftest.err; then
9364        # Append any errors to the config.log.
9365        cat conftest.err 1>&5
9366        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9367        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9368        if diff conftest.exp conftest.er2 >/dev/null; then
9369          lt_cv_prog_compiler__b=yes
9370        fi
9371      else
9372        lt_cv_prog_compiler__b=yes
9373      fi
9374    fi
9375    $RM -r conftest*
9376    LDFLAGS="$save_LDFLAGS"
9377
9378 fi
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9380 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9381
9382 if test x"$lt_cv_prog_compiler__b" = xyes; then
9383     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9384 else
9385     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9386 fi
9387
9388           ;;
9389         esac
9390       fi
9391       if test "$with_gnu_ld" = no; then
9392         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9393         hardcode_libdir_separator=:
9394
9395         case $host_cpu in
9396         hppa*64*|ia64*)
9397           hardcode_direct=no
9398           hardcode_shlibpath_var=no
9399           ;;
9400         *)
9401           hardcode_direct=yes
9402           hardcode_direct_absolute=yes
9403           export_dynamic_flag_spec='${wl}-E'
9404
9405           # hardcode_minus_L: Not really in the search PATH,
9406           # but as the default location of the library.
9407           hardcode_minus_L=yes
9408           ;;
9409         esac
9410       fi
9411       ;;
9412
9413     irix5* | irix6* | nonstopux*)
9414       if test "$GCC" = yes; then
9415         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9416         # Try to use the -exported_symbol ld option, if it does not
9417         # work, assume that -exports_file does not work either and
9418         # implicitly export all symbols.
9419         # This should be the same for all languages, so no per-tag cache variable.
9420         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9421 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9422 if ${lt_cv_irix_exported_symbol+:} false; then :
9423   $as_echo_n "(cached) " >&6
9424 else
9425   save_LDFLAGS="$LDFLAGS"
9426            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9427            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h.  */
9429 int foo (void) { return 0; }
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432   lt_cv_irix_exported_symbol=yes
9433 else
9434   lt_cv_irix_exported_symbol=no
9435 fi
9436 rm -f core conftest.err conftest.$ac_objext \
9437     conftest$ac_exeext conftest.$ac_ext
9438            LDFLAGS="$save_LDFLAGS"
9439 fi
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9441 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9442         if test "$lt_cv_irix_exported_symbol" = yes; then
9443           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9444         fi
9445       else
9446         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9447         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9448       fi
9449       archive_cmds_need_lc='no'
9450       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9451       hardcode_libdir_separator=:
9452       inherit_rpath=yes
9453       link_all_deplibs=yes
9454       ;;
9455
9456     netbsd*)
9457       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9458         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9459       else
9460         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9461       fi
9462       hardcode_libdir_flag_spec='-R$libdir'
9463       hardcode_direct=yes
9464       hardcode_shlibpath_var=no
9465       ;;
9466
9467     newsos6)
9468       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9469       hardcode_direct=yes
9470       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9471       hardcode_libdir_separator=:
9472       hardcode_shlibpath_var=no
9473       ;;
9474
9475     *nto* | *qnx*)
9476       ;;
9477
9478     openbsd*)
9479       if test -f /usr/libexec/ld.so; then
9480         hardcode_direct=yes
9481         hardcode_shlibpath_var=no
9482         hardcode_direct_absolute=yes
9483         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9484           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9485           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9486           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9487           export_dynamic_flag_spec='${wl}-E'
9488         else
9489           case $host_os in
9490            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9491              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492              hardcode_libdir_flag_spec='-R$libdir'
9493              ;;
9494            *)
9495              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9496              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9497              ;;
9498           esac
9499         fi
9500       else
9501         ld_shlibs=no
9502       fi
9503       ;;
9504
9505     os2*)
9506       hardcode_libdir_flag_spec='-L$libdir'
9507       hardcode_minus_L=yes
9508       allow_undefined_flag=unsupported
9509       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'
9510       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9511       ;;
9512
9513     osf3*)
9514       if test "$GCC" = yes; then
9515         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9516         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9517       else
9518         allow_undefined_flag=' -expect_unresolved \*'
9519         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9520       fi
9521       archive_cmds_need_lc='no'
9522       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9523       hardcode_libdir_separator=:
9524       ;;
9525
9526     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9527       if test "$GCC" = yes; then
9528         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9529         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9530         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9531       else
9532         allow_undefined_flag=' -expect_unresolved \*'
9533         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9534         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~
9535         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9536
9537         # Both c and cxx compiler support -rpath directly
9538         hardcode_libdir_flag_spec='-rpath $libdir'
9539       fi
9540       archive_cmds_need_lc='no'
9541       hardcode_libdir_separator=:
9542       ;;
9543
9544     solaris*)
9545       no_undefined_flag=' -z defs'
9546       if test "$GCC" = yes; then
9547         wlarc='${wl}'
9548         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9549         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9550           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9551       else
9552         case `$CC -V 2>&1` in
9553         *"Compilers 5.0"*)
9554           wlarc=''
9555           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9556           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9557           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9558           ;;
9559         *)
9560           wlarc='${wl}'
9561           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9562           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9564           ;;
9565         esac
9566       fi
9567       hardcode_libdir_flag_spec='-R$libdir'
9568       hardcode_shlibpath_var=no
9569       case $host_os in
9570       solaris2.[0-5] | solaris2.[0-5].*) ;;
9571       *)
9572         # The compiler driver will combine and reorder linker options,
9573         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9574         # but is careful enough not to reorder.
9575         # Supported since Solaris 2.6 (maybe 2.5.1?)
9576         if test "$GCC" = yes; then
9577           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9578         else
9579           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9580         fi
9581         ;;
9582       esac
9583       link_all_deplibs=yes
9584       ;;
9585
9586     sunos4*)
9587       if test "x$host_vendor" = xsequent; then
9588         # Use $CC to link under sequent, because it throws in some extra .o
9589         # files that make .init and .fini sections work.
9590         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9591       else
9592         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9593       fi
9594       hardcode_libdir_flag_spec='-L$libdir'
9595       hardcode_direct=yes
9596       hardcode_minus_L=yes
9597       hardcode_shlibpath_var=no
9598       ;;
9599
9600     sysv4)
9601       case $host_vendor in
9602         sni)
9603           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9604           hardcode_direct=yes # is this really true???
9605         ;;
9606         siemens)
9607           ## LD is ld it makes a PLAMLIB
9608           ## CC just makes a GrossModule.
9609           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9610           reload_cmds='$CC -r -o $output$reload_objs'
9611           hardcode_direct=no
9612         ;;
9613         motorola)
9614           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9615           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9616         ;;
9617       esac
9618       runpath_var='LD_RUN_PATH'
9619       hardcode_shlibpath_var=no
9620       ;;
9621
9622     sysv4.3*)
9623       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9624       hardcode_shlibpath_var=no
9625       export_dynamic_flag_spec='-Bexport'
9626       ;;
9627
9628     sysv4*MP*)
9629       if test -d /usr/nec; then
9630         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631         hardcode_shlibpath_var=no
9632         runpath_var=LD_RUN_PATH
9633         hardcode_runpath_var=yes
9634         ld_shlibs=yes
9635       fi
9636       ;;
9637
9638     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9639       no_undefined_flag='${wl}-z,text'
9640       archive_cmds_need_lc=no
9641       hardcode_shlibpath_var=no
9642       runpath_var='LD_RUN_PATH'
9643
9644       if test "$GCC" = yes; then
9645         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9647       else
9648         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9649         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9650       fi
9651       ;;
9652
9653     sysv5* | sco3.2v5* | sco5v6*)
9654       # Note: We can NOT use -z defs as we might desire, because we do not
9655       # link with -lc, and that would cause any symbols used from libc to
9656       # always be unresolved, which means just about no library would
9657       # ever link correctly.  If we're not using GNU ld we use -z text
9658       # though, which does catch some bad symbols but isn't as heavy-handed
9659       # as -z defs.
9660       no_undefined_flag='${wl}-z,text'
9661       allow_undefined_flag='${wl}-z,nodefs'
9662       archive_cmds_need_lc=no
9663       hardcode_shlibpath_var=no
9664       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9665       hardcode_libdir_separator=':'
9666       link_all_deplibs=yes
9667       export_dynamic_flag_spec='${wl}-Bexport'
9668       runpath_var='LD_RUN_PATH'
9669
9670       if test "$GCC" = yes; then
9671         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9672         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9673       else
9674         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9675         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676       fi
9677       ;;
9678
9679     uts4*)
9680       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9681       hardcode_libdir_flag_spec='-L$libdir'
9682       hardcode_shlibpath_var=no
9683       ;;
9684
9685     *)
9686       ld_shlibs=no
9687       ;;
9688     esac
9689
9690     if test x$host_vendor = xsni; then
9691       case $host in
9692       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9693         export_dynamic_flag_spec='${wl}-Blargedynsym'
9694         ;;
9695       esac
9696     fi
9697   fi
9698
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9700 $as_echo "$ld_shlibs" >&6; }
9701 test "$ld_shlibs" = no && can_build_shared=no
9702
9703 with_gnu_ld=$with_gnu_ld
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719 #
9720 # Do we need to explicitly link libc?
9721 #
9722 case "x$archive_cmds_need_lc" in
9723 x|xyes)
9724   # Assume -lc should be added
9725   archive_cmds_need_lc=yes
9726
9727   if test "$enable_shared" = yes && test "$GCC" = yes; then
9728     case $archive_cmds in
9729     *'~'*)
9730       # FIXME: we may have to deal with multi-command sequences.
9731       ;;
9732     '$CC '*)
9733       # Test whether the compiler implicitly links with -lc since on some
9734       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9735       # to ld, don't add -lc before -lgcc.
9736       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9737 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9738 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9739   $as_echo_n "(cached) " >&6
9740 else
9741   $RM conftest*
9742         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9743
9744         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9745   (eval $ac_compile) 2>&5
9746   ac_status=$?
9747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9748   test $ac_status = 0; } 2>conftest.err; then
9749           soname=conftest
9750           lib=conftest
9751           libobjs=conftest.$ac_objext
9752           deplibs=
9753           wl=$lt_prog_compiler_wl
9754           pic_flag=$lt_prog_compiler_pic
9755           compiler_flags=-v
9756           linker_flags=-v
9757           verstring=
9758           output_objdir=.
9759           libname=conftest
9760           lt_save_allow_undefined_flag=$allow_undefined_flag
9761           allow_undefined_flag=
9762           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9763   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9764   ac_status=$?
9765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9766   test $ac_status = 0; }
9767           then
9768             lt_cv_archive_cmds_need_lc=no
9769           else
9770             lt_cv_archive_cmds_need_lc=yes
9771           fi
9772           allow_undefined_flag=$lt_save_allow_undefined_flag
9773         else
9774           cat conftest.err 1>&5
9775         fi
9776         $RM conftest*
9777
9778 fi
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9780 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9781       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9782       ;;
9783     esac
9784   fi
9785   ;;
9786 esac
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9940 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9941
9942 if test "$GCC" = yes; then
9943   case $host_os in
9944     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9945     *) lt_awk_arg="/^libraries:/" ;;
9946   esac
9947   case $host_os in
9948     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9949     *) lt_sed_strip_eq="s,=/,/,g" ;;
9950   esac
9951   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9952   case $lt_search_path_spec in
9953   *\;*)
9954     # if the path contains ";" then we assume it to be the separator
9955     # otherwise default to the standard path separator (i.e. ":") - it is
9956     # assumed that no part of a normal pathname contains ";" but that should
9957     # okay in the real world where ";" in dirpaths is itself problematic.
9958     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9959     ;;
9960   *)
9961     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9962     ;;
9963   esac
9964   # Ok, now we have the path, separated by spaces, we can step through it
9965   # and add multilib dir if necessary.
9966   lt_tmp_lt_search_path_spec=
9967   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9968   for lt_sys_path in $lt_search_path_spec; do
9969     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9970       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9971     else
9972       test -d "$lt_sys_path" && \
9973         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9974     fi
9975   done
9976   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9977 BEGIN {RS=" "; FS="/|\n";} {
9978   lt_foo="";
9979   lt_count=0;
9980   for (lt_i = NF; lt_i > 0; lt_i--) {
9981     if ($lt_i != "" && $lt_i != ".") {
9982       if ($lt_i == "..") {
9983         lt_count++;
9984       } else {
9985         if (lt_count == 0) {
9986           lt_foo="/" $lt_i lt_foo;
9987         } else {
9988           lt_count--;
9989         }
9990       }
9991     }
9992   }
9993   if (lt_foo != "") { lt_freq[lt_foo]++; }
9994   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9995 }'`
9996   # AWK program above erroneously prepends '/' to C:/dos/paths
9997   # for these hosts.
9998   case $host_os in
9999     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10000       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10001   esac
10002   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10003 else
10004   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10005 fi
10006 library_names_spec=
10007 libname_spec='lib$name'
10008 soname_spec=
10009 shrext_cmds=".so"
10010 postinstall_cmds=
10011 postuninstall_cmds=
10012 finish_cmds=
10013 finish_eval=
10014 shlibpath_var=
10015 shlibpath_overrides_runpath=unknown
10016 version_type=none
10017 dynamic_linker="$host_os ld.so"
10018 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10019 need_lib_prefix=unknown
10020 hardcode_into_libs=no
10021
10022 # when you set need_version to no, make sure it does not cause -set_version
10023 # flags to be left without arguments
10024 need_version=unknown
10025
10026 case $host_os in
10027 aix3*)
10028   version_type=linux # correct to gnu/linux during the next big refactor
10029   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10030   shlibpath_var=LIBPATH
10031
10032   # AIX 3 has no versioning support, so we append a major version to the name.
10033   soname_spec='${libname}${release}${shared_ext}$major'
10034   ;;
10035
10036 aix[4-9]*)
10037   version_type=linux # correct to gnu/linux during the next big refactor
10038   need_lib_prefix=no
10039   need_version=no
10040   hardcode_into_libs=yes
10041   if test "$host_cpu" = ia64; then
10042     # AIX 5 supports IA64
10043     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10044     shlibpath_var=LD_LIBRARY_PATH
10045   else
10046     # With GCC up to 2.95.x, collect2 would create an import file
10047     # for dependence libraries.  The import file would start with
10048     # the line `#! .'.  This would cause the generated library to
10049     # depend on `.', always an invalid library.  This was fixed in
10050     # development snapshots of GCC prior to 3.0.
10051     case $host_os in
10052       aix4 | aix4.[01] | aix4.[01].*)
10053       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10054            echo ' yes '
10055            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10056         :
10057       else
10058         can_build_shared=no
10059       fi
10060       ;;
10061     esac
10062     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10063     # soname into executable. Probably we can add versioning support to
10064     # collect2, so additional links can be useful in future.
10065     if test "$aix_use_runtimelinking" = yes; then
10066       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10067       # instead of lib<name>.a to let people know that these are not
10068       # typical AIX shared libraries.
10069       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10070     else
10071       # We preserve .a as extension for shared libraries through AIX4.2
10072       # and later when we are not doing run time linking.
10073       library_names_spec='${libname}${release}.a $libname.a'
10074       soname_spec='${libname}${release}${shared_ext}$major'
10075     fi
10076     shlibpath_var=LIBPATH
10077   fi
10078   ;;
10079
10080 amigaos*)
10081   case $host_cpu in
10082   powerpc)
10083     # Since July 2007 AmigaOS4 officially supports .so libraries.
10084     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10085     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10086     ;;
10087   m68k)
10088     library_names_spec='$libname.ixlibrary $libname.a'
10089     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10090     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10091     ;;
10092   esac
10093   ;;
10094
10095 beos*)
10096   library_names_spec='${libname}${shared_ext}'
10097   dynamic_linker="$host_os ld.so"
10098   shlibpath_var=LIBRARY_PATH
10099   ;;
10100
10101 bsdi[45]*)
10102   version_type=linux # correct to gnu/linux during the next big refactor
10103   need_version=no
10104   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10105   soname_spec='${libname}${release}${shared_ext}$major'
10106   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10107   shlibpath_var=LD_LIBRARY_PATH
10108   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10109   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10110   # the default ld.so.conf also contains /usr/contrib/lib and
10111   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10112   # libtool to hard-code these into programs
10113   ;;
10114
10115 cygwin* | mingw* | pw32* | cegcc*)
10116   version_type=windows
10117   shrext_cmds=".dll"
10118   need_version=no
10119   need_lib_prefix=no
10120
10121   case $GCC,$cc_basename in
10122   yes,*)
10123     # gcc
10124     library_names_spec='$libname.dll.a'
10125     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10126     postinstall_cmds='base_file=`basename \${file}`~
10127       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10128       dldir=$destdir/`dirname \$dlpath`~
10129       test -d \$dldir || mkdir -p \$dldir~
10130       $install_prog $dir/$dlname \$dldir/$dlname~
10131       chmod a+x \$dldir/$dlname~
10132       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10133         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10134       fi'
10135     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10136       dlpath=$dir/\$dldll~
10137        $RM \$dlpath'
10138     shlibpath_overrides_runpath=yes
10139
10140     case $host_os in
10141     cygwin*)
10142       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10143       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10144
10145       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10146       ;;
10147     mingw* | cegcc*)
10148       # MinGW DLLs use traditional 'lib' prefix
10149       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10150       ;;
10151     pw32*)
10152       # pw32 DLLs use 'pw' prefix rather than 'lib'
10153       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10154       ;;
10155     esac
10156     dynamic_linker='Win32 ld.exe'
10157     ;;
10158
10159   *,cl*)
10160     # Native MSVC
10161     libname_spec='$name'
10162     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163     library_names_spec='${libname}.dll.lib'
10164
10165     case $build_os in
10166     mingw*)
10167       sys_lib_search_path_spec=
10168       lt_save_ifs=$IFS
10169       IFS=';'
10170       for lt_path in $LIB
10171       do
10172         IFS=$lt_save_ifs
10173         # Let DOS variable expansion print the short 8.3 style file name.
10174         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10175         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10176       done
10177       IFS=$lt_save_ifs
10178       # Convert to MSYS style.
10179       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10180       ;;
10181     cygwin*)
10182       # Convert to unix form, then to dos form, then back to unix form
10183       # but this time dos style (no spaces!) so that the unix form looks
10184       # like /cygdrive/c/PROGRA~1:/cygdr...
10185       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10186       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10187       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10188       ;;
10189     *)
10190       sys_lib_search_path_spec="$LIB"
10191       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10192         # It is most probably a Windows format PATH.
10193         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10194       else
10195         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10196       fi
10197       # FIXME: find the short name or the path components, as spaces are
10198       # common. (e.g. "Program Files" -> "PROGRA~1")
10199       ;;
10200     esac
10201
10202     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10203     postinstall_cmds='base_file=`basename \${file}`~
10204       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10205       dldir=$destdir/`dirname \$dlpath`~
10206       test -d \$dldir || mkdir -p \$dldir~
10207       $install_prog $dir/$dlname \$dldir/$dlname'
10208     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10209       dlpath=$dir/\$dldll~
10210        $RM \$dlpath'
10211     shlibpath_overrides_runpath=yes
10212     dynamic_linker='Win32 link.exe'
10213     ;;
10214
10215   *)
10216     # Assume MSVC wrapper
10217     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10218     dynamic_linker='Win32 ld.exe'
10219     ;;
10220   esac
10221   # FIXME: first we should search . and the directory the executable is in
10222   shlibpath_var=PATH
10223   ;;
10224
10225 darwin* | rhapsody*)
10226   dynamic_linker="$host_os dyld"
10227   version_type=darwin
10228   need_lib_prefix=no
10229   need_version=no
10230   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10231   soname_spec='${libname}${release}${major}$shared_ext'
10232   shlibpath_overrides_runpath=yes
10233   shlibpath_var=DYLD_LIBRARY_PATH
10234   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10235
10236   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10237   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10238   ;;
10239
10240 dgux*)
10241   version_type=linux # correct to gnu/linux during the next big refactor
10242   need_lib_prefix=no
10243   need_version=no
10244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10245   soname_spec='${libname}${release}${shared_ext}$major'
10246   shlibpath_var=LD_LIBRARY_PATH
10247   ;;
10248
10249 freebsd* | dragonfly*)
10250   # DragonFly does not have aout.  When/if they implement a new
10251   # versioning mechanism, adjust this.
10252   if test -x /usr/bin/objformat; then
10253     objformat=`/usr/bin/objformat`
10254   else
10255     case $host_os in
10256     freebsd[23].*) objformat=aout ;;
10257     *) objformat=elf ;;
10258     esac
10259   fi
10260   version_type=freebsd-$objformat
10261   case $version_type in
10262     freebsd-elf*)
10263       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10264       need_version=no
10265       need_lib_prefix=no
10266       ;;
10267     freebsd-*)
10268       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10269       need_version=yes
10270       ;;
10271   esac
10272   shlibpath_var=LD_LIBRARY_PATH
10273   case $host_os in
10274   freebsd2.*)
10275     shlibpath_overrides_runpath=yes
10276     ;;
10277   freebsd3.[01]* | freebsdelf3.[01]*)
10278     shlibpath_overrides_runpath=yes
10279     hardcode_into_libs=yes
10280     ;;
10281   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10282   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10283     shlibpath_overrides_runpath=no
10284     hardcode_into_libs=yes
10285     ;;
10286   *) # from 4.6 on, and DragonFly
10287     shlibpath_overrides_runpath=yes
10288     hardcode_into_libs=yes
10289     ;;
10290   esac
10291   ;;
10292
10293 gnu*)
10294   version_type=linux # correct to gnu/linux during the next big refactor
10295   need_lib_prefix=no
10296   need_version=no
10297   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10298   soname_spec='${libname}${release}${shared_ext}$major'
10299   shlibpath_var=LD_LIBRARY_PATH
10300   shlibpath_overrides_runpath=no
10301   hardcode_into_libs=yes
10302   ;;
10303
10304 haiku*)
10305   version_type=linux # correct to gnu/linux during the next big refactor
10306   need_lib_prefix=no
10307   need_version=no
10308   dynamic_linker="$host_os runtime_loader"
10309   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10310   soname_spec='${libname}${release}${shared_ext}$major'
10311   shlibpath_var=LIBRARY_PATH
10312   shlibpath_overrides_runpath=yes
10313   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10314   hardcode_into_libs=yes
10315   ;;
10316
10317 hpux9* | hpux10* | hpux11*)
10318   # Give a soname corresponding to the major version so that dld.sl refuses to
10319   # link against other versions.
10320   version_type=sunos
10321   need_lib_prefix=no
10322   need_version=no
10323   case $host_cpu in
10324   ia64*)
10325     shrext_cmds='.so'
10326     hardcode_into_libs=yes
10327     dynamic_linker="$host_os dld.so"
10328     shlibpath_var=LD_LIBRARY_PATH
10329     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10330     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10331     soname_spec='${libname}${release}${shared_ext}$major'
10332     if test "X$HPUX_IA64_MODE" = X32; then
10333       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10334     else
10335       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10336     fi
10337     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10338     ;;
10339   hppa*64*)
10340     shrext_cmds='.sl'
10341     hardcode_into_libs=yes
10342     dynamic_linker="$host_os dld.sl"
10343     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10344     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10345     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10346     soname_spec='${libname}${release}${shared_ext}$major'
10347     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10348     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10349     ;;
10350   *)
10351     shrext_cmds='.sl'
10352     dynamic_linker="$host_os dld.sl"
10353     shlibpath_var=SHLIB_PATH
10354     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10355     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356     soname_spec='${libname}${release}${shared_ext}$major'
10357     ;;
10358   esac
10359   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10360   postinstall_cmds='chmod 555 $lib'
10361   # or fails outright, so override atomically:
10362   install_override_mode=555
10363   ;;
10364
10365 interix[3-9]*)
10366   version_type=linux # correct to gnu/linux during the next big refactor
10367   need_lib_prefix=no
10368   need_version=no
10369   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10370   soname_spec='${libname}${release}${shared_ext}$major'
10371   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10372   shlibpath_var=LD_LIBRARY_PATH
10373   shlibpath_overrides_runpath=no
10374   hardcode_into_libs=yes
10375   ;;
10376
10377 irix5* | irix6* | nonstopux*)
10378   case $host_os in
10379     nonstopux*) version_type=nonstopux ;;
10380     *)
10381         if test "$lt_cv_prog_gnu_ld" = yes; then
10382                 version_type=linux # correct to gnu/linux during the next big refactor
10383         else
10384                 version_type=irix
10385         fi ;;
10386   esac
10387   need_lib_prefix=no
10388   need_version=no
10389   soname_spec='${libname}${release}${shared_ext}$major'
10390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10391   case $host_os in
10392   irix5* | nonstopux*)
10393     libsuff= shlibsuff=
10394     ;;
10395   *)
10396     case $LD in # libtool.m4 will add one of these switches to LD
10397     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10398       libsuff= shlibsuff= libmagic=32-bit;;
10399     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10400       libsuff=32 shlibsuff=N32 libmagic=N32;;
10401     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10402       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10403     *) libsuff= shlibsuff= libmagic=never-match;;
10404     esac
10405     ;;
10406   esac
10407   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10408   shlibpath_overrides_runpath=no
10409   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10410   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10411   hardcode_into_libs=yes
10412   ;;
10413
10414 # No shared lib support for Linux oldld, aout, or coff.
10415 linux*oldld* | linux*aout* | linux*coff*)
10416   dynamic_linker=no
10417   ;;
10418
10419 # This must be glibc/ELF.
10420 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10421   version_type=linux # correct to gnu/linux during the next big refactor
10422   need_lib_prefix=no
10423   need_version=no
10424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10425   soname_spec='${libname}${release}${shared_ext}$major'
10426   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10427   shlibpath_var=LD_LIBRARY_PATH
10428   shlibpath_overrides_runpath=no
10429
10430   # Some binutils ld are patched to set DT_RUNPATH
10431   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10432   $as_echo_n "(cached) " >&6
10433 else
10434   lt_cv_shlibpath_overrides_runpath=no
10435     save_LDFLAGS=$LDFLAGS
10436     save_libdir=$libdir
10437     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10438          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10439     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h.  */
10441
10442 int
10443 main ()
10444 {
10445
10446   ;
10447   return 0;
10448 }
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"; then :
10451   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10452   lt_cv_shlibpath_overrides_runpath=yes
10453 fi
10454 fi
10455 rm -f core conftest.err conftest.$ac_objext \
10456     conftest$ac_exeext conftest.$ac_ext
10457     LDFLAGS=$save_LDFLAGS
10458     libdir=$save_libdir
10459
10460 fi
10461
10462   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10463
10464   # This implies no fast_install, which is unacceptable.
10465   # Some rework will be needed to allow for fast_install
10466   # before this can be enabled.
10467   hardcode_into_libs=yes
10468
10469   # Add ABI-specific directories to the system library path.
10470   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10471
10472   # Append ld.so.conf contents to the search path
10473   if test -f /etc/ld.so.conf; then
10474     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;s/"//g;/^$/d' | tr '\n' ' '`
10475     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10476
10477   fi
10478
10479   # We used to test for /lib/ld.so.1 and disable shared libraries on
10480   # powerpc, because MkLinux only supported shared libraries with the
10481   # GNU dynamic linker.  Since this was broken with cross compilers,
10482   # most powerpc-linux boxes support dynamic linking these days and
10483   # people can always --disable-shared, the test was removed, and we
10484   # assume the GNU/Linux dynamic linker is in use.
10485   dynamic_linker='GNU/Linux ld.so'
10486   ;;
10487
10488 netbsd*)
10489   version_type=sunos
10490   need_lib_prefix=no
10491   need_version=no
10492   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10493     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10494     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10495     dynamic_linker='NetBSD (a.out) ld.so'
10496   else
10497     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10498     soname_spec='${libname}${release}${shared_ext}$major'
10499     dynamic_linker='NetBSD ld.elf_so'
10500   fi
10501   shlibpath_var=LD_LIBRARY_PATH
10502   shlibpath_overrides_runpath=yes
10503   hardcode_into_libs=yes
10504   ;;
10505
10506 newsos6)
10507   version_type=linux # correct to gnu/linux during the next big refactor
10508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509   shlibpath_var=LD_LIBRARY_PATH
10510   shlibpath_overrides_runpath=yes
10511   ;;
10512
10513 *nto* | *qnx*)
10514   version_type=qnx
10515   need_lib_prefix=no
10516   need_version=no
10517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518   soname_spec='${libname}${release}${shared_ext}$major'
10519   shlibpath_var=LD_LIBRARY_PATH
10520   shlibpath_overrides_runpath=no
10521   hardcode_into_libs=yes
10522   dynamic_linker='ldqnx.so'
10523   ;;
10524
10525 openbsd*)
10526   version_type=sunos
10527   sys_lib_dlsearch_path_spec="/usr/lib"
10528   need_lib_prefix=no
10529   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10530   case $host_os in
10531     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10532     *)                          need_version=no  ;;
10533   esac
10534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10535   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10536   shlibpath_var=LD_LIBRARY_PATH
10537   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10538     case $host_os in
10539       openbsd2.[89] | openbsd2.[89].*)
10540         shlibpath_overrides_runpath=no
10541         ;;
10542       *)
10543         shlibpath_overrides_runpath=yes
10544         ;;
10545       esac
10546   else
10547     shlibpath_overrides_runpath=yes
10548   fi
10549   ;;
10550
10551 os2*)
10552   libname_spec='$name'
10553   shrext_cmds=".dll"
10554   need_lib_prefix=no
10555   library_names_spec='$libname${shared_ext} $libname.a'
10556   dynamic_linker='OS/2 ld.exe'
10557   shlibpath_var=LIBPATH
10558   ;;
10559
10560 osf3* | osf4* | osf5*)
10561   version_type=osf
10562   need_lib_prefix=no
10563   need_version=no
10564   soname_spec='${libname}${release}${shared_ext}$major'
10565   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566   shlibpath_var=LD_LIBRARY_PATH
10567   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10568   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10569   ;;
10570
10571 rdos*)
10572   dynamic_linker=no
10573   ;;
10574
10575 solaris*)
10576   version_type=linux # correct to gnu/linux during the next big refactor
10577   need_lib_prefix=no
10578   need_version=no
10579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580   soname_spec='${libname}${release}${shared_ext}$major'
10581   shlibpath_var=LD_LIBRARY_PATH
10582   shlibpath_overrides_runpath=yes
10583   hardcode_into_libs=yes
10584   # ldd complains unless libraries are executable
10585   postinstall_cmds='chmod +x $lib'
10586   ;;
10587
10588 sunos4*)
10589   version_type=sunos
10590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10591   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10592   shlibpath_var=LD_LIBRARY_PATH
10593   shlibpath_overrides_runpath=yes
10594   if test "$with_gnu_ld" = yes; then
10595     need_lib_prefix=no
10596   fi
10597   need_version=yes
10598   ;;
10599
10600 sysv4 | sysv4.3*)
10601   version_type=linux # correct to gnu/linux during the next big refactor
10602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603   soname_spec='${libname}${release}${shared_ext}$major'
10604   shlibpath_var=LD_LIBRARY_PATH
10605   case $host_vendor in
10606     sni)
10607       shlibpath_overrides_runpath=no
10608       need_lib_prefix=no
10609       runpath_var=LD_RUN_PATH
10610       ;;
10611     siemens)
10612       need_lib_prefix=no
10613       ;;
10614     motorola)
10615       need_lib_prefix=no
10616       need_version=no
10617       shlibpath_overrides_runpath=no
10618       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10619       ;;
10620   esac
10621   ;;
10622
10623 sysv4*MP*)
10624   if test -d /usr/nec ;then
10625     version_type=linux # correct to gnu/linux during the next big refactor
10626     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10627     soname_spec='$libname${shared_ext}.$major'
10628     shlibpath_var=LD_LIBRARY_PATH
10629   fi
10630   ;;
10631
10632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10633   version_type=freebsd-elf
10634   need_lib_prefix=no
10635   need_version=no
10636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10637   soname_spec='${libname}${release}${shared_ext}$major'
10638   shlibpath_var=LD_LIBRARY_PATH
10639   shlibpath_overrides_runpath=yes
10640   hardcode_into_libs=yes
10641   if test "$with_gnu_ld" = yes; then
10642     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10643   else
10644     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10645     case $host_os in
10646       sco3.2v5*)
10647         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10648         ;;
10649     esac
10650   fi
10651   sys_lib_dlsearch_path_spec='/usr/lib'
10652   ;;
10653
10654 tpf*)
10655   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10656   version_type=linux # correct to gnu/linux during the next big refactor
10657   need_lib_prefix=no
10658   need_version=no
10659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660   shlibpath_var=LD_LIBRARY_PATH
10661   shlibpath_overrides_runpath=no
10662   hardcode_into_libs=yes
10663   ;;
10664
10665 uts4*)
10666   version_type=linux # correct to gnu/linux during the next big refactor
10667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668   soname_spec='${libname}${release}${shared_ext}$major'
10669   shlibpath_var=LD_LIBRARY_PATH
10670   ;;
10671
10672 *)
10673   dynamic_linker=no
10674   ;;
10675 esac
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10677 $as_echo "$dynamic_linker" >&6; }
10678 test "$dynamic_linker" = no && can_build_shared=no
10679
10680 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10681 if test "$GCC" = yes; then
10682   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10683 fi
10684
10685 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10686   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10687 fi
10688 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10689   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10690 fi
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10784 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10785 hardcode_action=
10786 if test -n "$hardcode_libdir_flag_spec" ||
10787    test -n "$runpath_var" ||
10788    test "X$hardcode_automatic" = "Xyes" ; then
10789
10790   # We can hardcode non-existent directories.
10791   if test "$hardcode_direct" != no &&
10792      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10793      # have to relink, otherwise we might link with an installed library
10794      # when we should be linking with a yet-to-be-installed one
10795      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10796      test "$hardcode_minus_L" != no; then
10797     # Linking always hardcodes the temporary library directory.
10798     hardcode_action=relink
10799   else
10800     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10801     hardcode_action=immediate
10802   fi
10803 else
10804   # We cannot hardcode anything, or else we can only hardcode existing
10805   # directories.
10806   hardcode_action=unsupported
10807 fi
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10809 $as_echo "$hardcode_action" >&6; }
10810
10811 if test "$hardcode_action" = relink ||
10812    test "$inherit_rpath" = yes; then
10813   # Fast installation is not supported
10814   enable_fast_install=no
10815 elif test "$shlibpath_overrides_runpath" = yes ||
10816      test "$enable_shared" = no; then
10817   # Fast installation is not necessary
10818   enable_fast_install=needless
10819 fi
10820
10821
10822
10823
10824
10825
10826   if test "x$enable_dlopen" != xyes; then
10827   enable_dlopen=unknown
10828   enable_dlopen_self=unknown
10829   enable_dlopen_self_static=unknown
10830 else
10831   lt_cv_dlopen=no
10832   lt_cv_dlopen_libs=
10833
10834   case $host_os in
10835   beos*)
10836     lt_cv_dlopen="load_add_on"
10837     lt_cv_dlopen_libs=
10838     lt_cv_dlopen_self=yes
10839     ;;
10840
10841   mingw* | pw32* | cegcc*)
10842     lt_cv_dlopen="LoadLibrary"
10843     lt_cv_dlopen_libs=
10844     ;;
10845
10846   cygwin*)
10847     lt_cv_dlopen="dlopen"
10848     lt_cv_dlopen_libs=
10849     ;;
10850
10851   darwin*)
10852   # if libdl is installed we need to link against it
10853     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10855 if ${ac_cv_lib_dl_dlopen+:} false; then :
10856   $as_echo_n "(cached) " >&6
10857 else
10858   ac_check_lib_save_LIBS=$LIBS
10859 LIBS="-ldl  $LIBS"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h.  */
10862
10863 /* Override any GCC internal prototype to avoid an error.
10864    Use char because int might match the return type of a GCC
10865    builtin and then its argument prototype would still apply.  */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char dlopen ();
10870 int
10871 main ()
10872 {
10873 return dlopen ();
10874   ;
10875   return 0;
10876 }
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"; then :
10879   ac_cv_lib_dl_dlopen=yes
10880 else
10881   ac_cv_lib_dl_dlopen=no
10882 fi
10883 rm -f core conftest.err conftest.$ac_objext \
10884     conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_lib_save_LIBS
10886 fi
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10889 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10890   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10891 else
10892
10893     lt_cv_dlopen="dyld"
10894     lt_cv_dlopen_libs=
10895     lt_cv_dlopen_self=yes
10896
10897 fi
10898
10899     ;;
10900
10901   *)
10902     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10903 if test "x$ac_cv_func_shl_load" = xyes; then :
10904   lt_cv_dlopen="shl_load"
10905 else
10906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10907 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10908 if ${ac_cv_lib_dld_shl_load+:} false; then :
10909   $as_echo_n "(cached) " >&6
10910 else
10911   ac_check_lib_save_LIBS=$LIBS
10912 LIBS="-ldld  $LIBS"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h.  */
10915
10916 /* Override any GCC internal prototype to avoid an error.
10917    Use char because int might match the return type of a GCC
10918    builtin and then its argument prototype would still apply.  */
10919 #ifdef __cplusplus
10920 extern "C"
10921 #endif
10922 char shl_load ();
10923 int
10924 main ()
10925 {
10926 return shl_load ();
10927   ;
10928   return 0;
10929 }
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"; then :
10932   ac_cv_lib_dld_shl_load=yes
10933 else
10934   ac_cv_lib_dld_shl_load=no
10935 fi
10936 rm -f core conftest.err conftest.$ac_objext \
10937     conftest$ac_exeext conftest.$ac_ext
10938 LIBS=$ac_check_lib_save_LIBS
10939 fi
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10941 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10942 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10943   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10944 else
10945   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10946 if test "x$ac_cv_func_dlopen" = xyes; then :
10947   lt_cv_dlopen="dlopen"
10948 else
10949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10950 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10951 if ${ac_cv_lib_dl_dlopen+:} false; then :
10952   $as_echo_n "(cached) " >&6
10953 else
10954   ac_check_lib_save_LIBS=$LIBS
10955 LIBS="-ldl  $LIBS"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h.  */
10958
10959 /* Override any GCC internal prototype to avoid an error.
10960    Use char because int might match the return type of a GCC
10961    builtin and then its argument prototype would still apply.  */
10962 #ifdef __cplusplus
10963 extern "C"
10964 #endif
10965 char dlopen ();
10966 int
10967 main ()
10968 {
10969 return dlopen ();
10970   ;
10971   return 0;
10972 }
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975   ac_cv_lib_dl_dlopen=yes
10976 else
10977   ac_cv_lib_dl_dlopen=no
10978 fi
10979 rm -f core conftest.err conftest.$ac_objext \
10980     conftest$ac_exeext conftest.$ac_ext
10981 LIBS=$ac_check_lib_save_LIBS
10982 fi
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10984 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10985 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10986   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10987 else
10988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10989 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10990 if ${ac_cv_lib_svld_dlopen+:} false; then :
10991   $as_echo_n "(cached) " >&6
10992 else
10993   ac_check_lib_save_LIBS=$LIBS
10994 LIBS="-lsvld  $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h.  */
10997
10998 /* Override any GCC internal prototype to avoid an error.
10999    Use char because int might match the return type of a GCC
11000    builtin and then its argument prototype would still apply.  */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char dlopen ();
11005 int
11006 main ()
11007 {
11008 return dlopen ();
11009   ;
11010   return 0;
11011 }
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014   ac_cv_lib_svld_dlopen=yes
11015 else
11016   ac_cv_lib_svld_dlopen=no
11017 fi
11018 rm -f core conftest.err conftest.$ac_objext \
11019     conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11021 fi
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11023 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11024 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11025   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11026 else
11027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11028 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11029 if ${ac_cv_lib_dld_dld_link+:} false; then :
11030   $as_echo_n "(cached) " >&6
11031 else
11032   ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-ldld  $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h.  */
11036
11037 /* Override any GCC internal prototype to avoid an error.
11038    Use char because int might match the return type of a GCC
11039    builtin and then its argument prototype would still apply.  */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char dld_link ();
11044 int
11045 main ()
11046 {
11047 return dld_link ();
11048   ;
11049   return 0;
11050 }
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053   ac_cv_lib_dld_dld_link=yes
11054 else
11055   ac_cv_lib_dld_dld_link=no
11056 fi
11057 rm -f core conftest.err conftest.$ac_objext \
11058     conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11060 fi
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11062 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11063 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11064   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11065 fi
11066
11067
11068 fi
11069
11070
11071 fi
11072
11073
11074 fi
11075
11076
11077 fi
11078
11079
11080 fi
11081
11082     ;;
11083   esac
11084
11085   if test "x$lt_cv_dlopen" != xno; then
11086     enable_dlopen=yes
11087   else
11088     enable_dlopen=no
11089   fi
11090
11091   case $lt_cv_dlopen in
11092   dlopen)
11093     save_CPPFLAGS="$CPPFLAGS"
11094     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11095
11096     save_LDFLAGS="$LDFLAGS"
11097     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11098
11099     save_LIBS="$LIBS"
11100     LIBS="$lt_cv_dlopen_libs $LIBS"
11101
11102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11103 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11104 if ${lt_cv_dlopen_self+:} false; then :
11105   $as_echo_n "(cached) " >&6
11106 else
11107           if test "$cross_compiling" = yes; then :
11108   lt_cv_dlopen_self=cross
11109 else
11110   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11111   lt_status=$lt_dlunknown
11112   cat > conftest.$ac_ext <<_LT_EOF
11113 #line $LINENO "configure"
11114 #include "confdefs.h"
11115
11116 #if HAVE_DLFCN_H
11117 #include <dlfcn.h>
11118 #endif
11119
11120 #include <stdio.h>
11121
11122 #ifdef RTLD_GLOBAL
11123 #  define LT_DLGLOBAL           RTLD_GLOBAL
11124 #else
11125 #  ifdef DL_GLOBAL
11126 #    define LT_DLGLOBAL         DL_GLOBAL
11127 #  else
11128 #    define LT_DLGLOBAL         0
11129 #  endif
11130 #endif
11131
11132 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11133    find out it does not work in some platform. */
11134 #ifndef LT_DLLAZY_OR_NOW
11135 #  ifdef RTLD_LAZY
11136 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11137 #  else
11138 #    ifdef DL_LAZY
11139 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11140 #    else
11141 #      ifdef RTLD_NOW
11142 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11143 #      else
11144 #        ifdef DL_NOW
11145 #          define LT_DLLAZY_OR_NOW      DL_NOW
11146 #        else
11147 #          define LT_DLLAZY_OR_NOW      0
11148 #        endif
11149 #      endif
11150 #    endif
11151 #  endif
11152 #endif
11153
11154 /* When -fvisbility=hidden is used, assume the code has been annotated
11155    correspondingly for the symbols needed.  */
11156 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11157 int fnord () __attribute__((visibility("default")));
11158 #endif
11159
11160 int fnord () { return 42; }
11161 int main ()
11162 {
11163   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11164   int status = $lt_dlunknown;
11165
11166   if (self)
11167     {
11168       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11169       else
11170         {
11171           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11172           else puts (dlerror ());
11173         }
11174       /* dlclose (self); */
11175     }
11176   else
11177     puts (dlerror ());
11178
11179   return status;
11180 }
11181 _LT_EOF
11182   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11183   (eval $ac_link) 2>&5
11184   ac_status=$?
11185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11186   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11187     (./conftest; exit; ) >&5 2>/dev/null
11188     lt_status=$?
11189     case x$lt_status in
11190       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11191       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11192       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11193     esac
11194   else :
11195     # compilation failed
11196     lt_cv_dlopen_self=no
11197   fi
11198 fi
11199 rm -fr conftest*
11200
11201
11202 fi
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11204 $as_echo "$lt_cv_dlopen_self" >&6; }
11205
11206     if test "x$lt_cv_dlopen_self" = xyes; then
11207       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11208       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11209 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11210 if ${lt_cv_dlopen_self_static+:} false; then :
11211   $as_echo_n "(cached) " >&6
11212 else
11213           if test "$cross_compiling" = yes; then :
11214   lt_cv_dlopen_self_static=cross
11215 else
11216   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11217   lt_status=$lt_dlunknown
11218   cat > conftest.$ac_ext <<_LT_EOF
11219 #line $LINENO "configure"
11220 #include "confdefs.h"
11221
11222 #if HAVE_DLFCN_H
11223 #include <dlfcn.h>
11224 #endif
11225
11226 #include <stdio.h>
11227
11228 #ifdef RTLD_GLOBAL
11229 #  define LT_DLGLOBAL           RTLD_GLOBAL
11230 #else
11231 #  ifdef DL_GLOBAL
11232 #    define LT_DLGLOBAL         DL_GLOBAL
11233 #  else
11234 #    define LT_DLGLOBAL         0
11235 #  endif
11236 #endif
11237
11238 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11239    find out it does not work in some platform. */
11240 #ifndef LT_DLLAZY_OR_NOW
11241 #  ifdef RTLD_LAZY
11242 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11243 #  else
11244 #    ifdef DL_LAZY
11245 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11246 #    else
11247 #      ifdef RTLD_NOW
11248 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11249 #      else
11250 #        ifdef DL_NOW
11251 #          define LT_DLLAZY_OR_NOW      DL_NOW
11252 #        else
11253 #          define LT_DLLAZY_OR_NOW      0
11254 #        endif
11255 #      endif
11256 #    endif
11257 #  endif
11258 #endif
11259
11260 /* When -fvisbility=hidden is used, assume the code has been annotated
11261    correspondingly for the symbols needed.  */
11262 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11263 int fnord () __attribute__((visibility("default")));
11264 #endif
11265
11266 int fnord () { return 42; }
11267 int main ()
11268 {
11269   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11270   int status = $lt_dlunknown;
11271
11272   if (self)
11273     {
11274       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11275       else
11276         {
11277           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11278           else puts (dlerror ());
11279         }
11280       /* dlclose (self); */
11281     }
11282   else
11283     puts (dlerror ());
11284
11285   return status;
11286 }
11287 _LT_EOF
11288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11289   (eval $ac_link) 2>&5
11290   ac_status=$?
11291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11292   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11293     (./conftest; exit; ) >&5 2>/dev/null
11294     lt_status=$?
11295     case x$lt_status in
11296       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11297       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11298       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11299     esac
11300   else :
11301     # compilation failed
11302     lt_cv_dlopen_self_static=no
11303   fi
11304 fi
11305 rm -fr conftest*
11306
11307
11308 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11310 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11311     fi
11312
11313     CPPFLAGS="$save_CPPFLAGS"
11314     LDFLAGS="$save_LDFLAGS"
11315     LIBS="$save_LIBS"
11316     ;;
11317   esac
11318
11319   case $lt_cv_dlopen_self in
11320   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11321   *) enable_dlopen_self=unknown ;;
11322   esac
11323
11324   case $lt_cv_dlopen_self_static in
11325   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11326   *) enable_dlopen_self_static=unknown ;;
11327   esac
11328 fi
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346 striplib=
11347 old_striplib=
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11349 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11350 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11351   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11352   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11354 $as_echo "yes" >&6; }
11355 else
11356 # FIXME - insert some real tests, host_os isn't really good enough
11357   case $host_os in
11358   darwin*)
11359     if test -n "$STRIP" ; then
11360       striplib="$STRIP -x"
11361       old_striplib="$STRIP -S"
11362       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11363 $as_echo "yes" >&6; }
11364     else
11365       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11366 $as_echo "no" >&6; }
11367     fi
11368     ;;
11369   *)
11370     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11371 $as_echo "no" >&6; }
11372     ;;
11373   esac
11374 fi
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387   # Report which library types will actually be built
11388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11389 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11391 $as_echo "$can_build_shared" >&6; }
11392
11393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11394 $as_echo_n "checking whether to build shared libraries... " >&6; }
11395   test "$can_build_shared" = "no" && enable_shared=no
11396
11397   # On AIX, shared libraries and static libraries use the same namespace, and
11398   # are all built from PIC.
11399   case $host_os in
11400   aix3*)
11401     test "$enable_shared" = yes && enable_static=no
11402     if test -n "$RANLIB"; then
11403       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11404       postinstall_cmds='$RANLIB $lib'
11405     fi
11406     ;;
11407
11408   aix[4-9]*)
11409     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11410       test "$enable_shared" = yes && enable_static=no
11411     fi
11412     ;;
11413   esac
11414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11415 $as_echo "$enable_shared" >&6; }
11416
11417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11418 $as_echo_n "checking whether to build static libraries... " >&6; }
11419   # Make sure either enable_shared or enable_static is yes.
11420   test "$enable_shared" = yes || enable_static=yes
11421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11422 $as_echo "$enable_static" >&6; }
11423
11424
11425
11426
11427 fi
11428 ac_ext=c
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11433
11434 CC="$lt_save_CC"
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450         ac_config_commands="$ac_config_commands libtool"
11451
11452
11453
11454
11455 # Only expand once:
11456
11457
11458
11459 ac_ext=c
11460 ac_cpp='$CPP $CPPFLAGS'
11461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11464 if test -n "$ac_tool_prefix"; then
11465   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11468 $as_echo_n "checking for $ac_word... " >&6; }
11469 if ${ac_cv_prog_CC+:} false; then :
11470   $as_echo_n "(cached) " >&6
11471 else
11472   if test -n "$CC"; then
11473   ac_cv_prog_CC="$CC" # Let the user override the test.
11474 else
11475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11476 for as_dir in $PATH
11477 do
11478   IFS=$as_save_IFS
11479   test -z "$as_dir" && as_dir=.
11480     for ac_exec_ext in '' $ac_executable_extensions; do
11481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11482     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11484     break 2
11485   fi
11486 done
11487   done
11488 IFS=$as_save_IFS
11489
11490 fi
11491 fi
11492 CC=$ac_cv_prog_CC
11493 if test -n "$CC"; then
11494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11495 $as_echo "$CC" >&6; }
11496 else
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11498 $as_echo "no" >&6; }
11499 fi
11500
11501
11502 fi
11503 if test -z "$ac_cv_prog_CC"; then
11504   ac_ct_CC=$CC
11505   # Extract the first word of "gcc", so it can be a program name with args.
11506 set dummy gcc; ac_word=$2
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11508 $as_echo_n "checking for $ac_word... " >&6; }
11509 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11510   $as_echo_n "(cached) " >&6
11511 else
11512   if test -n "$ac_ct_CC"; then
11513   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11514 else
11515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11516 for as_dir in $PATH
11517 do
11518   IFS=$as_save_IFS
11519   test -z "$as_dir" && as_dir=.
11520     for ac_exec_ext in '' $ac_executable_extensions; do
11521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11522     ac_cv_prog_ac_ct_CC="gcc"
11523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11524     break 2
11525   fi
11526 done
11527   done
11528 IFS=$as_save_IFS
11529
11530 fi
11531 fi
11532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11533 if test -n "$ac_ct_CC"; then
11534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11535 $as_echo "$ac_ct_CC" >&6; }
11536 else
11537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11538 $as_echo "no" >&6; }
11539 fi
11540
11541   if test "x$ac_ct_CC" = x; then
11542     CC=""
11543   else
11544     case $cross_compiling:$ac_tool_warned in
11545 yes:)
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11548 ac_tool_warned=yes ;;
11549 esac
11550     CC=$ac_ct_CC
11551   fi
11552 else
11553   CC="$ac_cv_prog_CC"
11554 fi
11555
11556 if test -z "$CC"; then
11557           if test -n "$ac_tool_prefix"; then
11558     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11559 set dummy ${ac_tool_prefix}cc; ac_word=$2
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11561 $as_echo_n "checking for $ac_word... " >&6; }
11562 if ${ac_cv_prog_CC+:} false; then :
11563   $as_echo_n "(cached) " >&6
11564 else
11565   if test -n "$CC"; then
11566   ac_cv_prog_CC="$CC" # Let the user override the test.
11567 else
11568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569 for as_dir in $PATH
11570 do
11571   IFS=$as_save_IFS
11572   test -z "$as_dir" && as_dir=.
11573     for ac_exec_ext in '' $ac_executable_extensions; do
11574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11575     ac_cv_prog_CC="${ac_tool_prefix}cc"
11576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11577     break 2
11578   fi
11579 done
11580   done
11581 IFS=$as_save_IFS
11582
11583 fi
11584 fi
11585 CC=$ac_cv_prog_CC
11586 if test -n "$CC"; then
11587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11588 $as_echo "$CC" >&6; }
11589 else
11590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11591 $as_echo "no" >&6; }
11592 fi
11593
11594
11595   fi
11596 fi
11597 if test -z "$CC"; then
11598   # Extract the first word of "cc", so it can be a program name with args.
11599 set dummy cc; ac_word=$2
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601 $as_echo_n "checking for $ac_word... " >&6; }
11602 if ${ac_cv_prog_CC+:} false; then :
11603   $as_echo_n "(cached) " >&6
11604 else
11605   if test -n "$CC"; then
11606   ac_cv_prog_CC="$CC" # Let the user override the test.
11607 else
11608   ac_prog_rejected=no
11609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11610 for as_dir in $PATH
11611 do
11612   IFS=$as_save_IFS
11613   test -z "$as_dir" && as_dir=.
11614     for ac_exec_ext in '' $ac_executable_extensions; do
11615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11616     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11617        ac_prog_rejected=yes
11618        continue
11619      fi
11620     ac_cv_prog_CC="cc"
11621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11622     break 2
11623   fi
11624 done
11625   done
11626 IFS=$as_save_IFS
11627
11628 if test $ac_prog_rejected = yes; then
11629   # We found a bogon in the path, so make sure we never use it.
11630   set dummy $ac_cv_prog_CC
11631   shift
11632   if test $# != 0; then
11633     # We chose a different compiler from the bogus one.
11634     # However, it has the same basename, so the bogon will be chosen
11635     # first if we set CC to just the basename; use the full file name.
11636     shift
11637     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11638   fi
11639 fi
11640 fi
11641 fi
11642 CC=$ac_cv_prog_CC
11643 if test -n "$CC"; then
11644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11645 $as_echo "$CC" >&6; }
11646 else
11647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11648 $as_echo "no" >&6; }
11649 fi
11650
11651
11652 fi
11653 if test -z "$CC"; then
11654   if test -n "$ac_tool_prefix"; then
11655   for ac_prog in cl.exe
11656   do
11657     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11660 $as_echo_n "checking for $ac_word... " >&6; }
11661 if ${ac_cv_prog_CC+:} false; then :
11662   $as_echo_n "(cached) " >&6
11663 else
11664   if test -n "$CC"; then
11665   ac_cv_prog_CC="$CC" # Let the user override the test.
11666 else
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
11669 do
11670   IFS=$as_save_IFS
11671   test -z "$as_dir" && as_dir=.
11672     for ac_exec_ext in '' $ac_executable_extensions; do
11673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11674     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11676     break 2
11677   fi
11678 done
11679   done
11680 IFS=$as_save_IFS
11681
11682 fi
11683 fi
11684 CC=$ac_cv_prog_CC
11685 if test -n "$CC"; then
11686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11687 $as_echo "$CC" >&6; }
11688 else
11689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11691 fi
11692
11693
11694     test -n "$CC" && break
11695   done
11696 fi
11697 if test -z "$CC"; then
11698   ac_ct_CC=$CC
11699   for ac_prog in cl.exe
11700 do
11701   # Extract the first word of "$ac_prog", so it can be a program name with args.
11702 set dummy $ac_prog; ac_word=$2
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11704 $as_echo_n "checking for $ac_word... " >&6; }
11705 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11706   $as_echo_n "(cached) " >&6
11707 else
11708   if test -n "$ac_ct_CC"; then
11709   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11710 else
11711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11712 for as_dir in $PATH
11713 do
11714   IFS=$as_save_IFS
11715   test -z "$as_dir" && as_dir=.
11716     for ac_exec_ext in '' $ac_executable_extensions; do
11717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11718     ac_cv_prog_ac_ct_CC="$ac_prog"
11719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11720     break 2
11721   fi
11722 done
11723   done
11724 IFS=$as_save_IFS
11725
11726 fi
11727 fi
11728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11729 if test -n "$ac_ct_CC"; then
11730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11731 $as_echo "$ac_ct_CC" >&6; }
11732 else
11733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11734 $as_echo "no" >&6; }
11735 fi
11736
11737
11738   test -n "$ac_ct_CC" && break
11739 done
11740
11741   if test "x$ac_ct_CC" = x; then
11742     CC=""
11743   else
11744     case $cross_compiling:$ac_tool_warned in
11745 yes:)
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11748 ac_tool_warned=yes ;;
11749 esac
11750     CC=$ac_ct_CC
11751   fi
11752 fi
11753
11754 fi
11755
11756
11757 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11759 as_fn_error $? "no acceptable C compiler found in \$PATH
11760 See \`config.log' for more details" "$LINENO" 5; }
11761
11762 # Provide some information about the compiler.
11763 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11764 set X $ac_compile
11765 ac_compiler=$2
11766 for ac_option in --version -v -V -qversion; do
11767   { { ac_try="$ac_compiler $ac_option >&5"
11768 case "(($ac_try" in
11769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11770   *) ac_try_echo=$ac_try;;
11771 esac
11772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11773 $as_echo "$ac_try_echo"; } >&5
11774   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11775   ac_status=$?
11776   if test -s conftest.err; then
11777     sed '10a\
11778 ... rest of stderr output deleted ...
11779          10q' conftest.err >conftest.er1
11780     cat conftest.er1 >&5
11781   fi
11782   rm -f conftest.er1 conftest.err
11783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11784   test $ac_status = 0; }
11785 done
11786
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11788 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11789 if ${ac_cv_c_compiler_gnu+:} false; then :
11790   $as_echo_n "(cached) " >&6
11791 else
11792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h.  */
11794
11795 int
11796 main ()
11797 {
11798 #ifndef __GNUC__
11799        choke me
11800 #endif
11801
11802   ;
11803   return 0;
11804 }
11805 _ACEOF
11806 if ac_fn_c_try_compile "$LINENO"; then :
11807   ac_compiler_gnu=yes
11808 else
11809   ac_compiler_gnu=no
11810 fi
11811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11812 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11813
11814 fi
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11816 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11817 if test $ac_compiler_gnu = yes; then
11818   GCC=yes
11819 else
11820   GCC=
11821 fi
11822 ac_test_CFLAGS=${CFLAGS+set}
11823 ac_save_CFLAGS=$CFLAGS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11825 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11826 if ${ac_cv_prog_cc_g+:} false; then :
11827   $as_echo_n "(cached) " >&6
11828 else
11829   ac_save_c_werror_flag=$ac_c_werror_flag
11830    ac_c_werror_flag=yes
11831    ac_cv_prog_cc_g=no
11832    CFLAGS="-g"
11833    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h.  */
11835
11836 int
11837 main ()
11838 {
11839
11840   ;
11841   return 0;
11842 }
11843 _ACEOF
11844 if ac_fn_c_try_compile "$LINENO"; then :
11845   ac_cv_prog_cc_g=yes
11846 else
11847   CFLAGS=""
11848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h.  */
11850
11851 int
11852 main ()
11853 {
11854
11855   ;
11856   return 0;
11857 }
11858 _ACEOF
11859 if ac_fn_c_try_compile "$LINENO"; then :
11860
11861 else
11862   ac_c_werror_flag=$ac_save_c_werror_flag
11863          CFLAGS="-g"
11864          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h.  */
11866
11867 int
11868 main ()
11869 {
11870
11871   ;
11872   return 0;
11873 }
11874 _ACEOF
11875 if ac_fn_c_try_compile "$LINENO"; then :
11876   ac_cv_prog_cc_g=yes
11877 fi
11878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11879 fi
11880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11881 fi
11882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11883    ac_c_werror_flag=$ac_save_c_werror_flag
11884 fi
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11886 $as_echo "$ac_cv_prog_cc_g" >&6; }
11887 if test "$ac_test_CFLAGS" = set; then
11888   CFLAGS=$ac_save_CFLAGS
11889 elif test $ac_cv_prog_cc_g = yes; then
11890   if test "$GCC" = yes; then
11891     CFLAGS="-g -O2"
11892   else
11893     CFLAGS="-g"
11894   fi
11895 else
11896   if test "$GCC" = yes; then
11897     CFLAGS="-O2"
11898   else
11899     CFLAGS=
11900   fi
11901 fi
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11903 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11904 if ${ac_cv_prog_cc_c89+:} false; then :
11905   $as_echo_n "(cached) " >&6
11906 else
11907   ac_cv_prog_cc_c89=no
11908 ac_save_CC=$CC
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h.  */
11911 #include <stdarg.h>
11912 #include <stdio.h>
11913 #include <sys/types.h>
11914 #include <sys/stat.h>
11915 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11916 struct buf { int x; };
11917 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11918 static char *e (p, i)
11919      char **p;
11920      int i;
11921 {
11922   return p[i];
11923 }
11924 static char *f (char * (*g) (char **, int), char **p, ...)
11925 {
11926   char *s;
11927   va_list v;
11928   va_start (v,p);
11929   s = g (p, va_arg (v,int));
11930   va_end (v);
11931   return s;
11932 }
11933
11934 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11935    function prototypes and stuff, but not '\xHH' hex character constants.
11936    These don't provoke an error unfortunately, instead are silently treated
11937    as 'x'.  The following induces an error, until -std is added to get
11938    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11939    array size at least.  It's necessary to write '\x00'==0 to get something
11940    that's true only with -std.  */
11941 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11942
11943 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11944    inside strings and character constants.  */
11945 #define FOO(x) 'x'
11946 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11947
11948 int test (int i, double x);
11949 struct s1 {int (*f) (int a);};
11950 struct s2 {int (*f) (double a);};
11951 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11952 int argc;
11953 char **argv;
11954 int
11955 main ()
11956 {
11957 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11958   ;
11959   return 0;
11960 }
11961 _ACEOF
11962 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11963         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11964 do
11965   CC="$ac_save_CC $ac_arg"
11966   if ac_fn_c_try_compile "$LINENO"; then :
11967   ac_cv_prog_cc_c89=$ac_arg
11968 fi
11969 rm -f core conftest.err conftest.$ac_objext
11970   test "x$ac_cv_prog_cc_c89" != "xno" && break
11971 done
11972 rm -f conftest.$ac_ext
11973 CC=$ac_save_CC
11974
11975 fi
11976 # AC_CACHE_VAL
11977 case "x$ac_cv_prog_cc_c89" in
11978   x)
11979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11980 $as_echo "none needed" >&6; } ;;
11981   xno)
11982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11983 $as_echo "unsupported" >&6; } ;;
11984   *)
11985     CC="$CC $ac_cv_prog_cc_c89"
11986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11987 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11988 esac
11989 if test "x$ac_cv_prog_cc_c89" != xno; then :
11990
11991 fi
11992
11993 ac_ext=c
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11998
11999 depcc="$CC"   am_compiler_list=
12000
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12002 $as_echo_n "checking dependency style of $depcc... " >&6; }
12003 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12004   $as_echo_n "(cached) " >&6
12005 else
12006   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12007   # We make a subdir and do the tests there.  Otherwise we can end up
12008   # making bogus files that we don't know about and never remove.  For
12009   # instance it was reported that on HP-UX the gcc test will end up
12010   # making a dummy file named `D' -- because `-MD' means `put the output
12011   # in D'.
12012   rm -rf conftest.dir
12013   mkdir conftest.dir
12014   # Copy depcomp to subdir because otherwise we won't find it if we're
12015   # using a relative directory.
12016   cp "$am_depcomp" conftest.dir
12017   cd conftest.dir
12018   # We will build objects and dependencies in a subdirectory because
12019   # it helps to detect inapplicable dependency modes.  For instance
12020   # both Tru64's cc and ICC support -MD to output dependencies as a
12021   # side effect of compilation, but ICC will put the dependencies in
12022   # the current directory while Tru64 will put them in the object
12023   # directory.
12024   mkdir sub
12025
12026   am_cv_CC_dependencies_compiler_type=none
12027   if test "$am_compiler_list" = ""; then
12028      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12029   fi
12030   am__universal=false
12031   case " $depcc " in #(
12032      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12033      esac
12034
12035   for depmode in $am_compiler_list; do
12036     # Setup a source with many dependencies, because some compilers
12037     # like to wrap large dependency lists on column 80 (with \), and
12038     # we should not choose a depcomp mode which is confused by this.
12039     #
12040     # We need to recreate these files for each test, as the compiler may
12041     # overwrite some of them when testing with obscure command lines.
12042     # This happens at least with the AIX C compiler.
12043     : > sub/conftest.c
12044     for i in 1 2 3 4 5 6; do
12045       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12046       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12047       # Solaris 8's {/usr,}/bin/sh.
12048       touch sub/conftst$i.h
12049     done
12050     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12051
12052     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12053     # mode.  It turns out that the SunPro C++ compiler does not properly
12054     # handle `-M -o', and we need to detect this.  Also, some Intel
12055     # versions had trouble with output in subdirs
12056     am__obj=sub/conftest.${OBJEXT-o}
12057     am__minus_obj="-o $am__obj"
12058     case $depmode in
12059     gcc)
12060       # This depmode causes a compiler race in universal mode.
12061       test "$am__universal" = false || continue
12062       ;;
12063     nosideeffect)
12064       # after this tag, mechanisms are not by side-effect, so they'll
12065       # only be used when explicitly requested
12066       if test "x$enable_dependency_tracking" = xyes; then
12067         continue
12068       else
12069         break
12070       fi
12071       ;;
12072     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12073       # This compiler won't grok `-c -o', but also, the minuso test has
12074       # not run yet.  These depmodes are late enough in the game, and
12075       # so weak that their functioning should not be impacted.
12076       am__obj=conftest.${OBJEXT-o}
12077       am__minus_obj=
12078       ;;
12079     none) break ;;
12080     esac
12081     if depmode=$depmode \
12082        source=sub/conftest.c object=$am__obj \
12083        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12084        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12085          >/dev/null 2>conftest.err &&
12086        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12087        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12088        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12089        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12090       # icc doesn't choke on unknown options, it will just issue warnings
12091       # or remarks (even with -Werror).  So we grep stderr for any message
12092       # that says an option was ignored or not supported.
12093       # When given -MP, icc 7.0 and 7.1 complain thusly:
12094       #   icc: Command line warning: ignoring option '-M'; no argument required
12095       # The diagnosis changed in icc 8.0:
12096       #   icc: Command line remark: option '-MP' not supported
12097       if (grep 'ignoring option' conftest.err ||
12098           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12099         am_cv_CC_dependencies_compiler_type=$depmode
12100         break
12101       fi
12102     fi
12103   done
12104
12105   cd ..
12106   rm -rf conftest.dir
12107 else
12108   am_cv_CC_dependencies_compiler_type=none
12109 fi
12110
12111 fi
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12113 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12114 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12115
12116  if
12117   test "x$enable_dependency_tracking" != xno \
12118   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12119   am__fastdepCC_TRUE=
12120   am__fastdepCC_FALSE='#'
12121 else
12122   am__fastdepCC_TRUE='#'
12123   am__fastdepCC_FALSE=
12124 fi
12125
12126
12127 if test "x$CC" != xcc; then
12128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12129 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12130 else
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12132 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12133 fi
12134 set dummy $CC; ac_cc=`$as_echo "$2" |
12135                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12136 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12137   $as_echo_n "(cached) " >&6
12138 else
12139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h.  */
12141
12142 int
12143 main ()
12144 {
12145
12146   ;
12147   return 0;
12148 }
12149 _ACEOF
12150 # Make sure it works both with $CC and with simple cc.
12151 # We do the test twice because some compilers refuse to overwrite an
12152 # existing .o file with -o, though they will create one.
12153 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12154 rm -f conftest2.*
12155 if { { case "(($ac_try" in
12156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12157   *) ac_try_echo=$ac_try;;
12158 esac
12159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12160 $as_echo "$ac_try_echo"; } >&5
12161   (eval "$ac_try") 2>&5
12162   ac_status=$?
12163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12164   test $ac_status = 0; } &&
12165    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167   *) ac_try_echo=$ac_try;;
12168 esac
12169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12170 $as_echo "$ac_try_echo"; } >&5
12171   (eval "$ac_try") 2>&5
12172   ac_status=$?
12173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12174   test $ac_status = 0; };
12175 then
12176   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12177   if test "x$CC" != xcc; then
12178     # Test first that cc exists at all.
12179     if { ac_try='cc -c conftest.$ac_ext >&5'
12180   { { case "(($ac_try" in
12181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12182   *) ac_try_echo=$ac_try;;
12183 esac
12184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12185 $as_echo "$ac_try_echo"; } >&5
12186   (eval "$ac_try") 2>&5
12187   ac_status=$?
12188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12189   test $ac_status = 0; }; }; then
12190       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12191       rm -f conftest2.*
12192       if { { case "(($ac_try" in
12193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12194   *) ac_try_echo=$ac_try;;
12195 esac
12196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12197 $as_echo "$ac_try_echo"; } >&5
12198   (eval "$ac_try") 2>&5
12199   ac_status=$?
12200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12201   test $ac_status = 0; } &&
12202          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12204   *) ac_try_echo=$ac_try;;
12205 esac
12206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12207 $as_echo "$ac_try_echo"; } >&5
12208   (eval "$ac_try") 2>&5
12209   ac_status=$?
12210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12211   test $ac_status = 0; };
12212       then
12213         # cc works too.
12214         :
12215       else
12216         # cc exists but doesn't like -o.
12217         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12218       fi
12219     fi
12220   fi
12221 else
12222   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12223 fi
12224 rm -f core conftest*
12225
12226 fi
12227 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229 $as_echo "yes" >&6; }
12230 else
12231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12233
12234 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12235
12236 fi
12237
12238 # FIXME: we rely on the cache variable name because
12239 # there is no other way.
12240 set dummy $CC
12241 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12242 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12243 if test "$am_t" != yes; then
12244    # Losing compiler, so override with the script.
12245    # FIXME: It is wrong to rewrite CC.
12246    # But if we don't then we get into trouble of one sort or another.
12247    # A longer-term fix would be to have automake use am__CC in this case,
12248    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12249    CC="$am_aux_dir/compile $CC"
12250 fi
12251
12252
12253 ac_ext=c
12254 ac_cpp='$CPP $CPPFLAGS'
12255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12260 # On Suns, sometimes $CPP names a directory.
12261 if test -n "$CPP" && test -d "$CPP"; then
12262   CPP=
12263 fi
12264 if test -z "$CPP"; then
12265   if ${ac_cv_prog_CPP+:} false; then :
12266   $as_echo_n "(cached) " >&6
12267 else
12268       # Double quotes because CPP needs to be expanded
12269     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12270     do
12271       ac_preproc_ok=false
12272 for ac_c_preproc_warn_flag in '' yes
12273 do
12274   # Use a header file that comes with gcc, so configuring glibc
12275   # with a fresh cross-compiler works.
12276   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12277   # <limits.h> exists even on freestanding compilers.
12278   # On the NeXT, cc -E runs the code through the compiler's parser,
12279   # not just through cpp. "Syntax error" is here to catch this case.
12280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h.  */
12282 #ifdef __STDC__
12283 # include <limits.h>
12284 #else
12285 # include <assert.h>
12286 #endif
12287                      Syntax error
12288 _ACEOF
12289 if ac_fn_c_try_cpp "$LINENO"; then :
12290
12291 else
12292   # Broken: fails on valid input.
12293 continue
12294 fi
12295 rm -f conftest.err conftest.i conftest.$ac_ext
12296
12297   # OK, works on sane cases.  Now check whether nonexistent headers
12298   # can be detected and how.
12299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h.  */
12301 #include <ac_nonexistent.h>
12302 _ACEOF
12303 if ac_fn_c_try_cpp "$LINENO"; then :
12304   # Broken: success on invalid input.
12305 continue
12306 else
12307   # Passes both tests.
12308 ac_preproc_ok=:
12309 break
12310 fi
12311 rm -f conftest.err conftest.i conftest.$ac_ext
12312
12313 done
12314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12315 rm -f conftest.i conftest.err conftest.$ac_ext
12316 if $ac_preproc_ok; then :
12317   break
12318 fi
12319
12320     done
12321     ac_cv_prog_CPP=$CPP
12322
12323 fi
12324   CPP=$ac_cv_prog_CPP
12325 else
12326   ac_cv_prog_CPP=$CPP
12327 fi
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12329 $as_echo "$CPP" >&6; }
12330 ac_preproc_ok=false
12331 for ac_c_preproc_warn_flag in '' yes
12332 do
12333   # Use a header file that comes with gcc, so configuring glibc
12334   # with a fresh cross-compiler works.
12335   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12336   # <limits.h> exists even on freestanding compilers.
12337   # On the NeXT, cc -E runs the code through the compiler's parser,
12338   # not just through cpp. "Syntax error" is here to catch this case.
12339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h.  */
12341 #ifdef __STDC__
12342 # include <limits.h>
12343 #else
12344 # include <assert.h>
12345 #endif
12346                      Syntax error
12347 _ACEOF
12348 if ac_fn_c_try_cpp "$LINENO"; then :
12349
12350 else
12351   # Broken: fails on valid input.
12352 continue
12353 fi
12354 rm -f conftest.err conftest.i conftest.$ac_ext
12355
12356   # OK, works on sane cases.  Now check whether nonexistent headers
12357   # can be detected and how.
12358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h.  */
12360 #include <ac_nonexistent.h>
12361 _ACEOF
12362 if ac_fn_c_try_cpp "$LINENO"; then :
12363   # Broken: success on invalid input.
12364 continue
12365 else
12366   # Passes both tests.
12367 ac_preproc_ok=:
12368 break
12369 fi
12370 rm -f conftest.err conftest.i conftest.$ac_ext
12371
12372 done
12373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12374 rm -f conftest.i conftest.err conftest.$ac_ext
12375 if $ac_preproc_ok; then :
12376
12377 else
12378   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12381 See \`config.log' for more details" "$LINENO" 5; }
12382 fi
12383
12384 ac_ext=c
12385 ac_cpp='$CPP $CPPFLAGS'
12386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12389
12390
12391
12392
12393
12394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12395 $as_echo_n "checking whether NLS is requested... " >&6; }
12396     # Check whether --enable-nls was given.
12397 if test "${enable_nls+set}" = set; then :
12398   enableval=$enable_nls; USE_NLS=$enableval
12399 else
12400   USE_NLS=yes
12401 fi
12402
12403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12404 $as_echo "$USE_NLS" >&6; }
12405
12406
12407
12408
12409 case "$am__api_version" in
12410     1.01234)
12411         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12412     ;;
12413     *)
12414     ;;
12415 esac
12416
12417 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12418 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12419 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12420 if test -n "0.35.0"; then
12421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12422 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12423     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12424 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12425     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12426         as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
12427 fi
12428
12429 # Extract the first word of "intltool-update", so it can be a program name with args.
12430 set dummy intltool-update; ac_word=$2
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12432 $as_echo_n "checking for $ac_word... " >&6; }
12433 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12434   $as_echo_n "(cached) " >&6
12435 else
12436   case $INTLTOOL_UPDATE in
12437   [\\/]* | ?:[\\/]*)
12438   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12439   ;;
12440   *)
12441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12442 for as_dir in $PATH
12443 do
12444   IFS=$as_save_IFS
12445   test -z "$as_dir" && as_dir=.
12446     for ac_exec_ext in '' $ac_executable_extensions; do
12447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12448     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12450     break 2
12451   fi
12452 done
12453   done
12454 IFS=$as_save_IFS
12455
12456   ;;
12457 esac
12458 fi
12459 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12460 if test -n "$INTLTOOL_UPDATE"; then
12461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12462 $as_echo "$INTLTOOL_UPDATE" >&6; }
12463 else
12464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465 $as_echo "no" >&6; }
12466 fi
12467
12468
12469 # Extract the first word of "intltool-merge", so it can be a program name with args.
12470 set dummy intltool-merge; ac_word=$2
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12472 $as_echo_n "checking for $ac_word... " >&6; }
12473 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12474   $as_echo_n "(cached) " >&6
12475 else
12476   case $INTLTOOL_MERGE in
12477   [\\/]* | ?:[\\/]*)
12478   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12479   ;;
12480   *)
12481   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12482 for as_dir in $PATH
12483 do
12484   IFS=$as_save_IFS
12485   test -z "$as_dir" && as_dir=.
12486     for ac_exec_ext in '' $ac_executable_extensions; do
12487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12488     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12490     break 2
12491   fi
12492 done
12493   done
12494 IFS=$as_save_IFS
12495
12496   ;;
12497 esac
12498 fi
12499 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12500 if test -n "$INTLTOOL_MERGE"; then
12501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12502 $as_echo "$INTLTOOL_MERGE" >&6; }
12503 else
12504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12506 fi
12507
12508
12509 # Extract the first word of "intltool-extract", so it can be a program name with args.
12510 set dummy intltool-extract; ac_word=$2
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12512 $as_echo_n "checking for $ac_word... " >&6; }
12513 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12514   $as_echo_n "(cached) " >&6
12515 else
12516   case $INTLTOOL_EXTRACT in
12517   [\\/]* | ?:[\\/]*)
12518   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12519   ;;
12520   *)
12521   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12522 for as_dir in $PATH
12523 do
12524   IFS=$as_save_IFS
12525   test -z "$as_dir" && as_dir=.
12526     for ac_exec_ext in '' $ac_executable_extensions; do
12527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12528     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12530     break 2
12531   fi
12532 done
12533   done
12534 IFS=$as_save_IFS
12535
12536   ;;
12537 esac
12538 fi
12539 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12540 if test -n "$INTLTOOL_EXTRACT"; then
12541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12542 $as_echo "$INTLTOOL_EXTRACT" >&6; }
12543 else
12544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545 $as_echo "no" >&6; }
12546 fi
12547
12548
12549 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12550     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12551 fi
12552
12553 if test -z "$AM_DEFAULT_VERBOSITY"; then
12554   AM_DEFAULT_VERBOSITY=1
12555 fi
12556
12557
12558 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12559 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12560 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
12561
12562
12563
12564
12565 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12566 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12567 intltool__v_merge_options_0='-q'
12568
12569
12570
12571
12572   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12573 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12574      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12575      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12576       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12577      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12578    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12579     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12580 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12581        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12582       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12583 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12584       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12585 else
12586       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
12587 fi
12588       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12589       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12590     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12591   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12592     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12593     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12594    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692 # Check the gettext tools to make sure they are GNU
12693 # Extract the first word of "xgettext", so it can be a program name with args.
12694 set dummy xgettext; ac_word=$2
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12696 $as_echo_n "checking for $ac_word... " >&6; }
12697 if ${ac_cv_path_XGETTEXT+:} false; then :
12698   $as_echo_n "(cached) " >&6
12699 else
12700   case $XGETTEXT in
12701   [\\/]* | ?:[\\/]*)
12702   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12703   ;;
12704   *)
12705   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12706 for as_dir in $PATH
12707 do
12708   IFS=$as_save_IFS
12709   test -z "$as_dir" && as_dir=.
12710     for ac_exec_ext in '' $ac_executable_extensions; do
12711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12712     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12714     break 2
12715   fi
12716 done
12717   done
12718 IFS=$as_save_IFS
12719
12720   ;;
12721 esac
12722 fi
12723 XGETTEXT=$ac_cv_path_XGETTEXT
12724 if test -n "$XGETTEXT"; then
12725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12726 $as_echo "$XGETTEXT" >&6; }
12727 else
12728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12729 $as_echo "no" >&6; }
12730 fi
12731
12732
12733 # Extract the first word of "msgmerge", so it can be a program name with args.
12734 set dummy msgmerge; ac_word=$2
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12736 $as_echo_n "checking for $ac_word... " >&6; }
12737 if ${ac_cv_path_MSGMERGE+:} false; then :
12738   $as_echo_n "(cached) " >&6
12739 else
12740   case $MSGMERGE in
12741   [\\/]* | ?:[\\/]*)
12742   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12743   ;;
12744   *)
12745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12746 for as_dir in $PATH
12747 do
12748   IFS=$as_save_IFS
12749   test -z "$as_dir" && as_dir=.
12750     for ac_exec_ext in '' $ac_executable_extensions; do
12751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12752     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754     break 2
12755   fi
12756 done
12757   done
12758 IFS=$as_save_IFS
12759
12760   ;;
12761 esac
12762 fi
12763 MSGMERGE=$ac_cv_path_MSGMERGE
12764 if test -n "$MSGMERGE"; then
12765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12766 $as_echo "$MSGMERGE" >&6; }
12767 else
12768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769 $as_echo "no" >&6; }
12770 fi
12771
12772
12773 # Extract the first word of "msgfmt", so it can be a program name with args.
12774 set dummy msgfmt; ac_word=$2
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12776 $as_echo_n "checking for $ac_word... " >&6; }
12777 if ${ac_cv_path_MSGFMT+:} false; then :
12778   $as_echo_n "(cached) " >&6
12779 else
12780   case $MSGFMT in
12781   [\\/]* | ?:[\\/]*)
12782   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12783   ;;
12784   *)
12785   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12786 for as_dir in $PATH
12787 do
12788   IFS=$as_save_IFS
12789   test -z "$as_dir" && as_dir=.
12790     for ac_exec_ext in '' $ac_executable_extensions; do
12791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12792     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12794     break 2
12795   fi
12796 done
12797   done
12798 IFS=$as_save_IFS
12799
12800   ;;
12801 esac
12802 fi
12803 MSGFMT=$ac_cv_path_MSGFMT
12804 if test -n "$MSGFMT"; then
12805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12806 $as_echo "$MSGFMT" >&6; }
12807 else
12808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12810 fi
12811
12812
12813 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12814 set dummy gmsgfmt; ac_word=$2
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12816 $as_echo_n "checking for $ac_word... " >&6; }
12817 if ${ac_cv_path_GMSGFMT+:} false; then :
12818   $as_echo_n "(cached) " >&6
12819 else
12820   case $GMSGFMT in
12821   [\\/]* | ?:[\\/]*)
12822   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12823   ;;
12824   *)
12825   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12826 for as_dir in $PATH
12827 do
12828   IFS=$as_save_IFS
12829   test -z "$as_dir" && as_dir=.
12830     for ac_exec_ext in '' $ac_executable_extensions; do
12831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12832     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12834     break 2
12835   fi
12836 done
12837   done
12838 IFS=$as_save_IFS
12839
12840   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12841   ;;
12842 esac
12843 fi
12844 GMSGFMT=$ac_cv_path_GMSGFMT
12845 if test -n "$GMSGFMT"; then
12846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12847 $as_echo "$GMSGFMT" >&6; }
12848 else
12849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850 $as_echo "no" >&6; }
12851 fi
12852
12853
12854 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12855     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12856 fi
12857 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12858 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12859 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12860 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12861     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12862 fi
12863
12864 # Extract the first word of "perl", so it can be a program name with args.
12865 set dummy perl; ac_word=$2
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12867 $as_echo_n "checking for $ac_word... " >&6; }
12868 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12869   $as_echo_n "(cached) " >&6
12870 else
12871   case $INTLTOOL_PERL in
12872   [\\/]* | ?:[\\/]*)
12873   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12874   ;;
12875   *)
12876   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877 for as_dir in $PATH
12878 do
12879   IFS=$as_save_IFS
12880   test -z "$as_dir" && as_dir=.
12881     for ac_exec_ext in '' $ac_executable_extensions; do
12882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12883     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12885     break 2
12886   fi
12887 done
12888   done
12889 IFS=$as_save_IFS
12890
12891   ;;
12892 esac
12893 fi
12894 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12895 if test -n "$INTLTOOL_PERL"; then
12896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12897 $as_echo "$INTLTOOL_PERL" >&6; }
12898 else
12899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12900 $as_echo "no" >&6; }
12901 fi
12902
12903
12904 if test -z "$INTLTOOL_PERL"; then
12905    as_fn_error $? "perl not found" "$LINENO" 5
12906 fi
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12908 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12909 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12910 if test $? -ne 0; then
12911    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12912 else
12913    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12914    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12915 $as_echo "$IT_PERL_VERSION" >&6; }
12916 fi
12917 if test "x" != "xno-xml"; then
12918    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12919 $as_echo_n "checking for XML::Parser... " >&6; }
12920    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12921        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12922 $as_echo "ok" >&6; }
12923    else
12924        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12925    fi
12926 fi
12927
12928 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12929
12930
12931 # Set DATADIRNAME correctly if it is not set yet
12932 # (copied from glib-gettext.m4)
12933 if test -z "$DATADIRNAME"; then
12934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h.  */
12936
12937 int
12938 main ()
12939 {
12940 extern int _nl_msg_cat_cntr;
12941                        return _nl_msg_cat_cntr
12942   ;
12943   return 0;
12944 }
12945 _ACEOF
12946 if ac_fn_c_try_link "$LINENO"; then :
12947   DATADIRNAME=share
12948 else
12949   case $host in
12950     *-*-solaris*)
12951                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12952 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12953   DATADIRNAME=share
12954 else
12955   DATADIRNAME=lib
12956 fi
12957
12958     ;;
12959     *)
12960     DATADIRNAME=lib
12961     ;;
12962     esac
12963 fi
12964 rm -f core conftest.err conftest.$ac_objext \
12965     conftest$ac_exeext conftest.$ac_ext
12966 fi
12967
12968
12969
12970
12971
12972 GETTEXT_PACKAGE=glib-networking
12973
12974
12975
12976 cat >>confdefs.h <<_ACEOF
12977 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12978 _ACEOF
12979
12980
12981    for ac_header in locale.h
12982 do :
12983   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12984 if test "x$ac_cv_header_locale_h" = xyes; then :
12985   cat >>confdefs.h <<_ACEOF
12986 #define HAVE_LOCALE_H 1
12987 _ACEOF
12988
12989 fi
12990
12991 done
12992
12993     if test $ac_cv_header_locale_h = yes; then
12994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12995 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12996 if ${am_cv_val_LC_MESSAGES+:} false; then :
12997   $as_echo_n "(cached) " >&6
12998 else
12999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h.  */
13001 #include <locale.h>
13002 int
13003 main ()
13004 {
13005 return LC_MESSAGES
13006   ;
13007   return 0;
13008 }
13009 _ACEOF
13010 if ac_fn_c_try_link "$LINENO"; then :
13011   am_cv_val_LC_MESSAGES=yes
13012 else
13013   am_cv_val_LC_MESSAGES=no
13014 fi
13015 rm -f core conftest.err conftest.$ac_objext \
13016     conftest$ac_exeext conftest.$ac_ext
13017 fi
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13019 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13020     if test $am_cv_val_LC_MESSAGES = yes; then
13021
13022 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13023
13024     fi
13025   fi
13026      USE_NLS=yes
13027
13028
13029     gt_cv_have_gettext=no
13030
13031     CATOBJEXT=NONE
13032     XGETTEXT=:
13033     INTLLIBS=
13034
13035     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13036 if test "x$ac_cv_header_libintl_h" = xyes; then :
13037   gt_cv_func_dgettext_libintl="no"
13038       libintl_extra_libs=""
13039
13040       #
13041       # First check in libc
13042       #
13043       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13044 $as_echo_n "checking for ngettext in libc... " >&6; }
13045 if ${gt_cv_func_ngettext_libc+:} false; then :
13046   $as_echo_n "(cached) " >&6
13047 else
13048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h.  */
13050
13051 #include <libintl.h>
13052
13053 int
13054 main ()
13055 {
13056 return !ngettext ("","", 1)
13057   ;
13058   return 0;
13059 }
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062   gt_cv_func_ngettext_libc=yes
13063 else
13064   gt_cv_func_ngettext_libc=no
13065 fi
13066 rm -f core conftest.err conftest.$ac_objext \
13067     conftest$ac_exeext conftest.$ac_ext
13068
13069 fi
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13071 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
13072
13073       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13074               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13075 $as_echo_n "checking for dgettext in libc... " >&6; }
13076 if ${gt_cv_func_dgettext_libc+:} false; then :
13077   $as_echo_n "(cached) " >&6
13078 else
13079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h.  */
13081
13082 #include <libintl.h>
13083
13084 int
13085 main ()
13086 {
13087 return !dgettext ("","")
13088   ;
13089   return 0;
13090 }
13091 _ACEOF
13092 if ac_fn_c_try_link "$LINENO"; then :
13093   gt_cv_func_dgettext_libc=yes
13094 else
13095   gt_cv_func_dgettext_libc=no
13096 fi
13097 rm -f core conftest.err conftest.$ac_objext \
13098     conftest$ac_exeext conftest.$ac_ext
13099
13100 fi
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13102 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
13103       fi
13104
13105       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13106         for ac_func in bind_textdomain_codeset
13107 do :
13108   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13109 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13110   cat >>confdefs.h <<_ACEOF
13111 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
13112 _ACEOF
13113
13114 fi
13115 done
13116
13117       fi
13118
13119       #
13120       # If we don't have everything we want, check in libintl
13121       #
13122       if test "$gt_cv_func_dgettext_libc" != "yes" \
13123          || test "$gt_cv_func_ngettext_libc" != "yes" \
13124          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13125
13126         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13127 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13128 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13129   $as_echo_n "(cached) " >&6
13130 else
13131   ac_check_lib_save_LIBS=$LIBS
13132 LIBS="-lintl  $LIBS"
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h.  */
13135
13136 /* Override any GCC internal prototype to avoid an error.
13137    Use char because int might match the return type of a GCC
13138    builtin and then its argument prototype would still apply.  */
13139 #ifdef __cplusplus
13140 extern "C"
13141 #endif
13142 char bindtextdomain ();
13143 int
13144 main ()
13145 {
13146 return bindtextdomain ();
13147   ;
13148   return 0;
13149 }
13150 _ACEOF
13151 if ac_fn_c_try_link "$LINENO"; then :
13152   ac_cv_lib_intl_bindtextdomain=yes
13153 else
13154   ac_cv_lib_intl_bindtextdomain=no
13155 fi
13156 rm -f core conftest.err conftest.$ac_objext \
13157     conftest$ac_exeext conftest.$ac_ext
13158 LIBS=$ac_check_lib_save_LIBS
13159 fi
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13161 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13162 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13164 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13165 if ${ac_cv_lib_intl_ngettext+:} false; then :
13166   $as_echo_n "(cached) " >&6
13167 else
13168   ac_check_lib_save_LIBS=$LIBS
13169 LIBS="-lintl  $LIBS"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h.  */
13172
13173 /* Override any GCC internal prototype to avoid an error.
13174    Use char because int might match the return type of a GCC
13175    builtin and then its argument prototype would still apply.  */
13176 #ifdef __cplusplus
13177 extern "C"
13178 #endif
13179 char ngettext ();
13180 int
13181 main ()
13182 {
13183 return ngettext ();
13184   ;
13185   return 0;
13186 }
13187 _ACEOF
13188 if ac_fn_c_try_link "$LINENO"; then :
13189   ac_cv_lib_intl_ngettext=yes
13190 else
13191   ac_cv_lib_intl_ngettext=no
13192 fi
13193 rm -f core conftest.err conftest.$ac_objext \
13194     conftest$ac_exeext conftest.$ac_ext
13195 LIBS=$ac_check_lib_save_LIBS
13196 fi
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13198 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13199 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13201 $as_echo_n "checking for dgettext in -lintl... " >&6; }
13202 if ${ac_cv_lib_intl_dgettext+:} false; then :
13203   $as_echo_n "(cached) " >&6
13204 else
13205   ac_check_lib_save_LIBS=$LIBS
13206 LIBS="-lintl  $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h.  */
13209
13210 /* Override any GCC internal prototype to avoid an error.
13211    Use char because int might match the return type of a GCC
13212    builtin and then its argument prototype would still apply.  */
13213 #ifdef __cplusplus
13214 extern "C"
13215 #endif
13216 char dgettext ();
13217 int
13218 main ()
13219 {
13220 return dgettext ();
13221   ;
13222   return 0;
13223 }
13224 _ACEOF
13225 if ac_fn_c_try_link "$LINENO"; then :
13226   ac_cv_lib_intl_dgettext=yes
13227 else
13228   ac_cv_lib_intl_dgettext=no
13229 fi
13230 rm -f core conftest.err conftest.$ac_objext \
13231     conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_lib_save_LIBS
13233 fi
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13235 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13236 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13237   gt_cv_func_dgettext_libintl=yes
13238 fi
13239
13240 fi
13241
13242 fi
13243
13244
13245         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13246           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13247 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13248           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13249 $as_echo "" >&6; }
13250           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13251 $as_echo_n "checking for ngettext in -lintl... " >&6; }
13252 if ${ac_cv_lib_intl_ngettext+:} false; then :
13253   $as_echo_n "(cached) " >&6
13254 else
13255   ac_check_lib_save_LIBS=$LIBS
13256 LIBS="-lintl -liconv $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h.  */
13259
13260 /* Override any GCC internal prototype to avoid an error.
13261    Use char because int might match the return type of a GCC
13262    builtin and then its argument prototype would still apply.  */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char ngettext ();
13267 int
13268 main ()
13269 {
13270 return ngettext ();
13271   ;
13272   return 0;
13273 }
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276   ac_cv_lib_intl_ngettext=yes
13277 else
13278   ac_cv_lib_intl_ngettext=no
13279 fi
13280 rm -f core conftest.err conftest.$ac_objext \
13281     conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_lib_save_LIBS
13283 fi
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13285 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13286 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13288 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
13289 if ${ac_cv_lib_intl_dcgettext+:} false; then :
13290   $as_echo_n "(cached) " >&6
13291 else
13292   ac_check_lib_save_LIBS=$LIBS
13293 LIBS="-lintl -liconv $LIBS"
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h.  */
13296
13297 /* Override any GCC internal prototype to avoid an error.
13298    Use char because int might match the return type of a GCC
13299    builtin and then its argument prototype would still apply.  */
13300 #ifdef __cplusplus
13301 extern "C"
13302 #endif
13303 char dcgettext ();
13304 int
13305 main ()
13306 {
13307 return dcgettext ();
13308   ;
13309   return 0;
13310 }
13311 _ACEOF
13312 if ac_fn_c_try_link "$LINENO"; then :
13313   ac_cv_lib_intl_dcgettext=yes
13314 else
13315   ac_cv_lib_intl_dcgettext=no
13316 fi
13317 rm -f core conftest.err conftest.$ac_objext \
13318     conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_lib_save_LIBS
13320 fi
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13322 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13323 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13324   gt_cv_func_dgettext_libintl=yes
13325                         libintl_extra_libs=-liconv
13326 else
13327   :
13328 fi
13329
13330 else
13331   :
13332 fi
13333
13334         fi
13335
13336         #
13337         # If we found libintl, then check in it for bind_textdomain_codeset();
13338         # we'll prefer libc if neither have bind_textdomain_codeset(),
13339         # and both have dgettext and ngettext
13340         #
13341         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13342           glib_save_LIBS="$LIBS"
13343           LIBS="$LIBS -lintl $libintl_extra_libs"
13344           unset ac_cv_func_bind_textdomain_codeset
13345           for ac_func in bind_textdomain_codeset
13346 do :
13347   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13348 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13349   cat >>confdefs.h <<_ACEOF
13350 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
13351 _ACEOF
13352
13353 fi
13354 done
13355
13356           LIBS="$glib_save_LIBS"
13357
13358           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13359             gt_cv_func_dgettext_libc=no
13360           else
13361             if test "$gt_cv_func_dgettext_libc" = "yes" \
13362                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
13363               gt_cv_func_dgettext_libintl=no
13364             fi
13365           fi
13366         fi
13367       fi
13368
13369       if test "$gt_cv_func_dgettext_libc" = "yes" \
13370         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13371         gt_cv_have_gettext=yes
13372       fi
13373
13374       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13375         INTLLIBS="-lintl $libintl_extra_libs"
13376       fi
13377
13378       if test "$gt_cv_have_gettext" = "yes"; then
13379
13380 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13381
13382         # Extract the first word of "msgfmt", so it can be a program name with args.
13383 set dummy msgfmt; ac_word=$2
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13385 $as_echo_n "checking for $ac_word... " >&6; }
13386 if ${ac_cv_path_MSGFMT+:} false; then :
13387   $as_echo_n "(cached) " >&6
13388 else
13389   case "$MSGFMT" in
13390   /*)
13391   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13392   ;;
13393   *)
13394   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13395   for ac_dir in $PATH; do
13396     test -z "$ac_dir" && ac_dir=.
13397     if test -f $ac_dir/$ac_word; then
13398       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13399         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13400         break
13401       fi
13402     fi
13403   done
13404   IFS="$ac_save_ifs"
13405   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13406   ;;
13407 esac
13408 fi
13409 MSGFMT="$ac_cv_path_MSGFMT"
13410 if test "$MSGFMT" != "no"; then
13411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13412 $as_echo "$MSGFMT" >&6; }
13413 else
13414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13415 $as_echo "no" >&6; }
13416 fi
13417         if test "$MSGFMT" != "no"; then
13418           glib_save_LIBS="$LIBS"
13419           LIBS="$LIBS $INTLLIBS"
13420           for ac_func in dcgettext
13421 do :
13422   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13423 if test "x$ac_cv_func_dcgettext" = xyes; then :
13424   cat >>confdefs.h <<_ACEOF
13425 #define HAVE_DCGETTEXT 1
13426 _ACEOF
13427
13428 fi
13429 done
13430
13431           MSGFMT_OPTS=
13432           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13433 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
13434           cat >conftest.foo <<_ACEOF
13435
13436 msgid ""
13437 msgstr ""
13438 "Content-Type: text/plain; charset=UTF-8\n"
13439 "Project-Id-Version: test 1.0\n"
13440 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
13441 "Last-Translator: test <foo@bar.xx>\n"
13442 "Language-Team: C <LL@li.org>\n"
13443 "MIME-Version: 1.0\n"
13444 "Content-Transfer-Encoding: 8bit\n"
13445
13446 _ACEOF
13447 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13448   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13449   ac_status=$?
13450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13451   test $ac_status = 0; }; then
13452   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13453 $as_echo "yes" >&6; }
13454 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13455 $as_echo "no" >&6; }
13456 echo "$as_me: failed input was:" >&5
13457 sed 's/^/| /' conftest.foo >&5
13458 fi
13459
13460           # Extract the first word of "gmsgfmt", so it can be a program name with args.
13461 set dummy gmsgfmt; ac_word=$2
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13463 $as_echo_n "checking for $ac_word... " >&6; }
13464 if ${ac_cv_path_GMSGFMT+:} false; then :
13465   $as_echo_n "(cached) " >&6
13466 else
13467   case $GMSGFMT in
13468   [\\/]* | ?:[\\/]*)
13469   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13470   ;;
13471   *)
13472   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13473 for as_dir in $PATH
13474 do
13475   IFS=$as_save_IFS
13476   test -z "$as_dir" && as_dir=.
13477     for ac_exec_ext in '' $ac_executable_extensions; do
13478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13479     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13481     break 2
13482   fi
13483 done
13484   done
13485 IFS=$as_save_IFS
13486
13487   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13488   ;;
13489 esac
13490 fi
13491 GMSGFMT=$ac_cv_path_GMSGFMT
13492 if test -n "$GMSGFMT"; then
13493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13494 $as_echo "$GMSGFMT" >&6; }
13495 else
13496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13497 $as_echo "no" >&6; }
13498 fi
13499
13500
13501           # Extract the first word of "xgettext", so it can be a program name with args.
13502 set dummy xgettext; ac_word=$2
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13504 $as_echo_n "checking for $ac_word... " >&6; }
13505 if ${ac_cv_path_XGETTEXT+:} false; then :
13506   $as_echo_n "(cached) " >&6
13507 else
13508   case "$XGETTEXT" in
13509   /*)
13510   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13511   ;;
13512   *)
13513   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13514   for ac_dir in $PATH; do
13515     test -z "$ac_dir" && ac_dir=.
13516     if test -f $ac_dir/$ac_word; then
13517       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13518         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13519         break
13520       fi
13521     fi
13522   done
13523   IFS="$ac_save_ifs"
13524   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13525   ;;
13526 esac
13527 fi
13528 XGETTEXT="$ac_cv_path_XGETTEXT"
13529 if test "$XGETTEXT" != ":"; then
13530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13531 $as_echo "$XGETTEXT" >&6; }
13532 else
13533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13534 $as_echo "no" >&6; }
13535 fi
13536
13537           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h.  */
13539
13540 int
13541 main ()
13542 {
13543 extern int _nl_msg_cat_cntr;
13544                          return _nl_msg_cat_cntr
13545   ;
13546   return 0;
13547 }
13548 _ACEOF
13549 if ac_fn_c_try_link "$LINENO"; then :
13550   CATOBJEXT=.gmo
13551              DATADIRNAME=share
13552 else
13553   case $host in
13554             *-*-solaris*)
13555                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13556 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13557   CATOBJEXT=.gmo
13558                DATADIRNAME=share
13559 else
13560   CATOBJEXT=.mo
13561                DATADIRNAME=lib
13562 fi
13563
13564             ;;
13565             *-*-openbsd*)
13566             CATOBJEXT=.mo
13567             DATADIRNAME=share
13568             ;;
13569             *)
13570             CATOBJEXT=.mo
13571             DATADIRNAME=lib
13572             ;;
13573             esac
13574 fi
13575 rm -f core conftest.err conftest.$ac_objext \
13576     conftest$ac_exeext conftest.$ac_ext
13577           LIBS="$glib_save_LIBS"
13578           INSTOBJEXT=.mo
13579         else
13580           gt_cv_have_gettext=no
13581         fi
13582       fi
13583
13584 fi
13585
13586
13587
13588     if test "$gt_cv_have_gettext" = "yes" ; then
13589
13590 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13591
13592     fi
13593
13594         if test "$XGETTEXT" != ":"; then
13595                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13596         : ;
13597       else
13598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13599 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13600         XGETTEXT=":"
13601       fi
13602     fi
13603
13604     # We need to process the po/ directory.
13605     POSUB=po
13606
13607     ac_config_commands="$ac_config_commands default-1"
13608
13609
13610                 for lang in $ALL_LINGUAS; do
13611       GMOFILES="$GMOFILES $lang.gmo"
13612       POFILES="$POFILES $lang.po"
13613     done
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627    if test "$gt_cv_have_gettext" = "yes"; then
13628      if test "x$ALL_LINGUAS" = "x"; then
13629        LINGUAS=
13630      else
13631        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13632 $as_echo_n "checking for catalogs to be installed... " >&6; }
13633        NEW_LINGUAS=
13634        for presentlang in $ALL_LINGUAS; do
13635          useit=no
13636          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13637            desiredlanguages="$LINGUAS"
13638          else
13639            desiredlanguages="$ALL_LINGUAS"
13640          fi
13641          for desiredlang in $desiredlanguages; do
13642            # Use the presentlang catalog if desiredlang is
13643            #   a. equal to presentlang, or
13644            #   b. a variant of presentlang (because in this case,
13645            #      presentlang can be used as a fallback for messages
13646            #      which are not translated in the desiredlang catalog).
13647            case "$desiredlang" in
13648              "$presentlang"*) useit=yes;;
13649            esac
13650          done
13651          if test $useit = yes; then
13652            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13653          fi
13654        done
13655        LINGUAS=$NEW_LINGUAS
13656        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13657 $as_echo "$LINGUAS" >&6; }
13658      fi
13659
13660           if test -n "$LINGUAS"; then
13661        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13662      fi
13663    fi
13664
13665             MKINSTALLDIRS=
13666    if test -n "$ac_aux_dir"; then
13667      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13668    fi
13669    if test -z "$MKINSTALLDIRS"; then
13670      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13671    fi
13672
13673
13674          test -d po || mkdir po
13675    if test "x$srcdir" != "x."; then
13676      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13677        posrcprefix="$srcdir/"
13678      else
13679        posrcprefix="../$srcdir/"
13680      fi
13681    else
13682      posrcprefix="../"
13683    fi
13684    rm -f po/POTFILES
13685    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13686         < $srcdir/po/POTFILES.in > po/POTFILES
13687
13688
13689 # Check whether --enable-glibtest was given.
13690 if test "${enable_glibtest+set}" = set; then :
13691   enableval=$enable_glibtest;
13692 else
13693   enable_glibtest=yes
13694 fi
13695
13696
13697   pkg_config_args=glib-2.0
13698   for module in . gio
13699   do
13700       case "$module" in
13701          gmodule)
13702              pkg_config_args="$pkg_config_args gmodule-2.0"
13703          ;;
13704          gmodule-no-export)
13705              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
13706          ;;
13707          gobject)
13708              pkg_config_args="$pkg_config_args gobject-2.0"
13709          ;;
13710          gthread)
13711              pkg_config_args="$pkg_config_args gthread-2.0"
13712          ;;
13713          gio*)
13714              pkg_config_args="$pkg_config_args $module-2.0"
13715          ;;
13716       esac
13717   done
13718
13719
13720
13721
13722
13723
13724
13725 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13726         if test -n "$ac_tool_prefix"; then
13727   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13728 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13730 $as_echo_n "checking for $ac_word... " >&6; }
13731 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13732   $as_echo_n "(cached) " >&6
13733 else
13734   case $PKG_CONFIG in
13735   [\\/]* | ?:[\\/]*)
13736   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13737   ;;
13738   *)
13739   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13740 for as_dir in $PATH
13741 do
13742   IFS=$as_save_IFS
13743   test -z "$as_dir" && as_dir=.
13744     for ac_exec_ext in '' $ac_executable_extensions; do
13745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13746     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13748     break 2
13749   fi
13750 done
13751   done
13752 IFS=$as_save_IFS
13753
13754   ;;
13755 esac
13756 fi
13757 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13758 if test -n "$PKG_CONFIG"; then
13759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13760 $as_echo "$PKG_CONFIG" >&6; }
13761 else
13762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13763 $as_echo "no" >&6; }
13764 fi
13765
13766
13767 fi
13768 if test -z "$ac_cv_path_PKG_CONFIG"; then
13769   ac_pt_PKG_CONFIG=$PKG_CONFIG
13770   # Extract the first word of "pkg-config", so it can be a program name with args.
13771 set dummy pkg-config; ac_word=$2
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13773 $as_echo_n "checking for $ac_word... " >&6; }
13774 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13775   $as_echo_n "(cached) " >&6
13776 else
13777   case $ac_pt_PKG_CONFIG in
13778   [\\/]* | ?:[\\/]*)
13779   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13780   ;;
13781   *)
13782   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13783 for as_dir in $PATH
13784 do
13785   IFS=$as_save_IFS
13786   test -z "$as_dir" && as_dir=.
13787     for ac_exec_ext in '' $ac_executable_extensions; do
13788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13789     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13791     break 2
13792   fi
13793 done
13794   done
13795 IFS=$as_save_IFS
13796
13797   ;;
13798 esac
13799 fi
13800 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13801 if test -n "$ac_pt_PKG_CONFIG"; then
13802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13803 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13804 else
13805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13806 $as_echo "no" >&6; }
13807 fi
13808
13809   if test "x$ac_pt_PKG_CONFIG" = x; then
13810     PKG_CONFIG=""
13811   else
13812     case $cross_compiling:$ac_tool_warned in
13813 yes:)
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13816 ac_tool_warned=yes ;;
13817 esac
13818     PKG_CONFIG=$ac_pt_PKG_CONFIG
13819   fi
13820 else
13821   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13822 fi
13823
13824 fi
13825 if test -n "$PKG_CONFIG"; then
13826         _pkg_min_version=0.16
13827         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13828 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13829         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13830                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13831 $as_echo "yes" >&6; }
13832         else
13833                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13834 $as_echo "no" >&6; }
13835                 PKG_CONFIG=""
13836         fi
13837 fi
13838
13839   no_glib=""
13840
13841   if test "x$PKG_CONFIG" = x ; then
13842     no_glib=yes
13843     PKG_CONFIG=no
13844   fi
13845
13846   min_glib_version=2.31.6
13847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
13848 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
13849
13850   if test x$PKG_CONFIG != xno ; then
13851     ## don't try to run the test against uninstalled libtool libs
13852     if $PKG_CONFIG --uninstalled $pkg_config_args; then
13853           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
13854           enable_glibtest=no
13855     fi
13856
13857     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
13858           :
13859     else
13860           no_glib=yes
13861     fi
13862   fi
13863
13864   if test x"$no_glib" = x ; then
13865     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
13866     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
13867     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
13868     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
13869
13870     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13871     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13872     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
13873            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13874     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
13875            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13876     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
13877            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13878     if test "x$enable_glibtest" = "xyes" ; then
13879       ac_save_CFLAGS="$CFLAGS"
13880       ac_save_LIBS="$LIBS"
13881       CFLAGS="$CFLAGS $GLIB_CFLAGS"
13882       LIBS="$GLIB_LIBS $LIBS"
13883       rm -f conf.glibtest
13884       if test "$cross_compiling" = yes; then :
13885   echo $ac_n "cross compiling; assumed OK... $ac_c"
13886 else
13887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h.  */
13889
13890 #include <glib.h>
13891 #include <stdio.h>
13892 #include <stdlib.h>
13893
13894 int
13895 main ()
13896 {
13897   unsigned int major, minor, micro;
13898   char *tmp_version;
13899
13900   fclose (fopen ("conf.glibtest", "w"));
13901
13902   /* HP/UX 9 (%@#!) writes to sscanf strings */
13903   tmp_version = g_strdup("$min_glib_version");
13904   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
13905      printf("%s, bad version string\n", "$min_glib_version");
13906      exit(1);
13907    }
13908
13909   if ((glib_major_version != $glib_config_major_version) ||
13910       (glib_minor_version != $glib_config_minor_version) ||
13911       (glib_micro_version != $glib_config_micro_version))
13912     {
13913       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
13914              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
13915              glib_major_version, glib_minor_version, glib_micro_version);
13916       printf ("*** was found! If pkg-config was correct, then it is best\n");
13917       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
13918       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13919       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13920       printf("*** required on your system.\n");
13921       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
13922       printf("*** to point to the correct configuration files\n");
13923     }
13924   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
13925            (glib_minor_version != GLIB_MINOR_VERSION) ||
13926            (glib_micro_version != GLIB_MICRO_VERSION))
13927     {
13928       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
13929              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
13930       printf("*** library (version %d.%d.%d)\n",
13931              glib_major_version, glib_minor_version, glib_micro_version);
13932     }
13933   else
13934     {
13935       if ((glib_major_version > major) ||
13936         ((glib_major_version == major) && (glib_minor_version > minor)) ||
13937         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
13938       {
13939         return 0;
13940        }
13941      else
13942       {
13943         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
13944                glib_major_version, glib_minor_version, glib_micro_version);
13945         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
13946                major, minor, micro);
13947         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
13948         printf("***\n");
13949         printf("*** If you have already installed a sufficiently new version, this error\n");
13950         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
13951         printf("*** being found. The easiest way to fix this is to remove the old version\n");
13952         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
13953         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
13954         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13955         printf("*** so that the correct libraries are found at run-time))\n");
13956       }
13957     }
13958   return 1;
13959 }
13960
13961 _ACEOF
13962 if ac_fn_c_try_run "$LINENO"; then :
13963
13964 else
13965   no_glib=yes
13966 fi
13967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13968   conftest.$ac_objext conftest.beam conftest.$ac_ext
13969 fi
13970
13971        CFLAGS="$ac_save_CFLAGS"
13972        LIBS="$ac_save_LIBS"
13973      fi
13974   fi
13975   if test "x$no_glib" = x ; then
13976      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
13977 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
13978      :
13979   else
13980      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13981 $as_echo "no" >&6; }
13982      if test "$PKG_CONFIG" = "no" ; then
13983        echo "*** A new enough version of pkg-config was not found."
13984        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13985      else
13986        if test -f conf.glibtest ; then
13987         :
13988        else
13989           echo "*** Could not run GLIB test program, checking why..."
13990           ac_save_CFLAGS="$CFLAGS"
13991           ac_save_LIBS="$LIBS"
13992           CFLAGS="$CFLAGS $GLIB_CFLAGS"
13993           LIBS="$LIBS $GLIB_LIBS"
13994           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h.  */
13996
13997 #include <glib.h>
13998 #include <stdio.h>
13999
14000 int
14001 main ()
14002 {
14003  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
14004   ;
14005   return 0;
14006 }
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009    echo "*** The test program compiled, but did not run. This usually means"
14010           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
14011           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
14012           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14013           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
14014           echo "*** is required on your system"
14015           echo "***"
14016           echo "*** If you have an old version installed, it is best to remove it, although"
14017           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14018 else
14019    echo "*** The test program failed to compile or link. See the file config.log for the"
14020           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
14021 fi
14022 rm -f core conftest.err conftest.$ac_objext \
14023     conftest$ac_exeext conftest.$ac_ext
14024           CFLAGS="$ac_save_CFLAGS"
14025           LIBS="$ac_save_LIBS"
14026        fi
14027      fi
14028      GLIB_CFLAGS=""
14029      GLIB_LIBS=""
14030      GLIB_GENMARSHAL=""
14031      GOBJECT_QUERY=""
14032      GLIB_MKENUMS=""
14033      GLIB_COMPILE_RESOURCES=""
14034      as_fn_error $? "GLIB not found" "$LINENO" 5
14035   fi
14036
14037
14038
14039
14040
14041
14042   rm -f conf.glibtest
14043
14044
14045 GIO_MODULE_DIR=$($PKG_CONFIG --variable giomoduledir gio-2.0)
14046 if test "x$GIO_MODULE_DIR" = "x"; then :
14047   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14049 as_fn_error $? "GIO_MODULE_DIR is missing from gio-2.0.pc
14050 See \`config.log' for more details" "$LINENO" 5; }
14051 fi
14052
14053
14054 # Extract the first word of "gio-querymodules", so it can be a program name with args.
14055 set dummy gio-querymodules; ac_word=$2
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14057 $as_echo_n "checking for $ac_word... " >&6; }
14058 if ${ac_cv_path_GIO_QUERYMODULES+:} false; then :
14059   $as_echo_n "(cached) " >&6
14060 else
14061   case $GIO_QUERYMODULES in
14062   [\\/]* | ?:[\\/]*)
14063   ac_cv_path_GIO_QUERYMODULES="$GIO_QUERYMODULES" # Let the user override the test with a path.
14064   ;;
14065   *)
14066   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14067 for as_dir in $PATH
14068 do
14069   IFS=$as_save_IFS
14070   test -z "$as_dir" && as_dir=.
14071     for ac_exec_ext in '' $ac_executable_extensions; do
14072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14073     ac_cv_path_GIO_QUERYMODULES="$as_dir/$ac_word$ac_exec_ext"
14074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14075     break 2
14076   fi
14077 done
14078   done
14079 IFS=$as_save_IFS
14080
14081   ;;
14082 esac
14083 fi
14084 GIO_QUERYMODULES=$ac_cv_path_GIO_QUERYMODULES
14085 if test -n "$GIO_QUERYMODULES"; then
14086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_QUERYMODULES" >&5
14087 $as_echo "$GIO_QUERYMODULES" >&6; }
14088 else
14089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14090 $as_echo "no" >&6; }
14091 fi
14092
14093
14094
14095
14096
14097
14098 # Check whether --with-libproxy was given.
14099 if test "${with_libproxy+set}" = set; then :
14100   withval=$with_libproxy;
14101 else
14102   with_libproxy=check
14103 fi
14104
14105 if test "x$with_libproxy" != "xno"; then :
14106
14107 pkg_failed=no
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPROXY" >&5
14109 $as_echo_n "checking for LIBPROXY... " >&6; }
14110
14111 if test -n "$LIBPROXY_CFLAGS"; then
14112     pkg_cv_LIBPROXY_CFLAGS="$LIBPROXY_CFLAGS"
14113  elif test -n "$PKG_CONFIG"; then
14114     if test -n "$PKG_CONFIG" && \
14115     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libproxy-1.0 >= 0.3.1\""; } >&5
14116   ($PKG_CONFIG --exists --print-errors "libproxy-1.0 >= 0.3.1") 2>&5
14117   ac_status=$?
14118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14119   test $ac_status = 0; }; then
14120   pkg_cv_LIBPROXY_CFLAGS=`$PKG_CONFIG --cflags "libproxy-1.0 >= 0.3.1" 2>/dev/null`
14121 else
14122   pkg_failed=yes
14123 fi
14124  else
14125     pkg_failed=untried
14126 fi
14127 if test -n "$LIBPROXY_LIBS"; then
14128     pkg_cv_LIBPROXY_LIBS="$LIBPROXY_LIBS"
14129  elif test -n "$PKG_CONFIG"; then
14130     if test -n "$PKG_CONFIG" && \
14131     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libproxy-1.0 >= 0.3.1\""; } >&5
14132   ($PKG_CONFIG --exists --print-errors "libproxy-1.0 >= 0.3.1") 2>&5
14133   ac_status=$?
14134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14135   test $ac_status = 0; }; then
14136   pkg_cv_LIBPROXY_LIBS=`$PKG_CONFIG --libs "libproxy-1.0 >= 0.3.1" 2>/dev/null`
14137 else
14138   pkg_failed=yes
14139 fi
14140  else
14141     pkg_failed=untried
14142 fi
14143
14144
14145
14146 if test $pkg_failed = yes; then
14147         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14148 $as_echo "no" >&6; }
14149
14150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14151         _pkg_short_errors_supported=yes
14152 else
14153         _pkg_short_errors_supported=no
14154 fi
14155         if test $_pkg_short_errors_supported = yes; then
14156                 LIBPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libproxy-1.0 >= 0.3.1" 2>&1`
14157         else
14158                 LIBPROXY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libproxy-1.0 >= 0.3.1" 2>&1`
14159         fi
14160         # Put the nasty error message in config.log where it belongs
14161         echo "$LIBPROXY_PKG_ERRORS" >&5
14162
14163         if test "x$with_libproxy" = "xyes"; then :
14164   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14166 as_fn_error $? "\"$LIBPROXY_PKG_ERRORS\"
14167 See \`config.log' for more details" "$LINENO" 5; }
14168 fi
14169 elif test $pkg_failed = untried; then
14170         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14171 $as_echo "no" >&6; }
14172         if test "x$with_libproxy" = "xyes"; then :
14173   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14175 as_fn_error $? "\"$LIBPROXY_PKG_ERRORS\"
14176 See \`config.log' for more details" "$LINENO" 5; }
14177 fi
14178 else
14179         LIBPROXY_CFLAGS=$pkg_cv_LIBPROXY_CFLAGS
14180         LIBPROXY_LIBS=$pkg_cv_LIBPROXY_LIBS
14181         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14182 $as_echo "yes" >&6; }
14183         with_libproxy=yes; proxy_support=libproxy
14184 fi
14185 fi
14186  if test "x$with_libproxy" = "xyes"; then
14187   HAVE_LIBPROXY_TRUE=
14188   HAVE_LIBPROXY_FALSE='#'
14189 else
14190   HAVE_LIBPROXY_TRUE='#'
14191   HAVE_LIBPROXY_FALSE=
14192 fi
14193
14194
14195
14196
14197
14198 # Check whether --with-gnome-proxy was given.
14199 if test "${with_gnome_proxy+set}" = set; then :
14200   withval=$with_gnome_proxy;
14201 else
14202   with_gnome_proxy=check
14203 fi
14204
14205 if test "x$with_gnome_proxy" != "xno"; then :
14206
14207 pkg_failed=no
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSETTINGS_DESKTOP_SCHEMAS" >&5
14209 $as_echo_n "checking for GSETTINGS_DESKTOP_SCHEMAS... " >&6; }
14210
14211 if test -n "$GSETTINGS_DESKTOP_SCHEMAS_CFLAGS"; then
14212     pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_CFLAGS="$GSETTINGS_DESKTOP_SCHEMAS_CFLAGS"
14213  elif test -n "$PKG_CONFIG"; then
14214     if test -n "$PKG_CONFIG" && \
14215     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsettings-desktop-schemas\""; } >&5
14216   ($PKG_CONFIG --exists --print-errors "gsettings-desktop-schemas") 2>&5
14217   ac_status=$?
14218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14219   test $ac_status = 0; }; then
14220   pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_CFLAGS=`$PKG_CONFIG --cflags "gsettings-desktop-schemas" 2>/dev/null`
14221 else
14222   pkg_failed=yes
14223 fi
14224  else
14225     pkg_failed=untried
14226 fi
14227 if test -n "$GSETTINGS_DESKTOP_SCHEMAS_LIBS"; then
14228     pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_LIBS="$GSETTINGS_DESKTOP_SCHEMAS_LIBS"
14229  elif test -n "$PKG_CONFIG"; then
14230     if test -n "$PKG_CONFIG" && \
14231     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsettings-desktop-schemas\""; } >&5
14232   ($PKG_CONFIG --exists --print-errors "gsettings-desktop-schemas") 2>&5
14233   ac_status=$?
14234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14235   test $ac_status = 0; }; then
14236   pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_LIBS=`$PKG_CONFIG --libs "gsettings-desktop-schemas" 2>/dev/null`
14237 else
14238   pkg_failed=yes
14239 fi
14240  else
14241     pkg_failed=untried
14242 fi
14243
14244
14245
14246 if test $pkg_failed = yes; then
14247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248 $as_echo "no" >&6; }
14249
14250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14251         _pkg_short_errors_supported=yes
14252 else
14253         _pkg_short_errors_supported=no
14254 fi
14255         if test $_pkg_short_errors_supported = yes; then
14256                 GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gsettings-desktop-schemas" 2>&1`
14257         else
14258                 GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gsettings-desktop-schemas" 2>&1`
14259         fi
14260         # Put the nasty error message in config.log where it belongs
14261         echo "$GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS" >&5
14262
14263         if test "x$with_gnome_proxy" = "xyes"; then :
14264   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14266 as_fn_error $? "\"$GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS\"
14267 See \`config.log' for more details" "$LINENO" 5; }
14268 fi
14269 elif test $pkg_failed = untried; then
14270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14271 $as_echo "no" >&6; }
14272         if test "x$with_gnome_proxy" = "xyes"; then :
14273   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14275 as_fn_error $? "\"$GSETTINGS_DESKTOP_SCHEMAS_PKG_ERRORS\"
14276 See \`config.log' for more details" "$LINENO" 5; }
14277 fi
14278 else
14279         GSETTINGS_DESKTOP_SCHEMAS_CFLAGS=$pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_CFLAGS
14280         GSETTINGS_DESKTOP_SCHEMAS_LIBS=$pkg_cv_GSETTINGS_DESKTOP_SCHEMAS_LIBS
14281         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14282 $as_echo "yes" >&6; }
14283         with_gnome_proxy=yes; proxy_support="gnome $proxy_support"
14284 fi
14285 fi
14286  if test "x$with_gnome_proxy" = "xyes"; then
14287   HAVE_GNOME_PROXY_TRUE=
14288   HAVE_GNOME_PROXY_FALSE='#'
14289 else
14290   HAVE_GNOME_PROXY_TRUE='#'
14291   HAVE_GNOME_PROXY_FALSE=
14292 fi
14293
14294
14295
14296
14297 GNUTLS_MIN_REQUIRED=2.11.0
14298 GNUTLS_MIN_PKCS11=2.12.8
14299
14300
14301 # Check whether --with-gnutls was given.
14302 if test "${with_gnutls+set}" = set; then :
14303   withval=$with_gnutls;
14304 else
14305   with_gnutls=yes
14306 fi
14307
14308 if test "x$with_gnutls" != "xno"; then
14309
14310 pkg_failed=no
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
14312 $as_echo_n "checking for GNUTLS... " >&6; }
14313
14314 if test -n "$GNUTLS_CFLAGS"; then
14315     pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
14316  elif test -n "$PKG_CONFIG"; then
14317     if test -n "$PKG_CONFIG" && \
14318     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_MIN_REQUIRED\""; } >&5
14319   ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED") 2>&5
14320   ac_status=$?
14321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14322   test $ac_status = 0; }; then
14323   pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= $GNUTLS_MIN_REQUIRED" 2>/dev/null`
14324 else
14325   pkg_failed=yes
14326 fi
14327  else
14328     pkg_failed=untried
14329 fi
14330 if test -n "$GNUTLS_LIBS"; then
14331     pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
14332  elif test -n "$PKG_CONFIG"; then
14333     if test -n "$PKG_CONFIG" && \
14334     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_MIN_REQUIRED\""; } >&5
14335   ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED") 2>&5
14336   ac_status=$?
14337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14338   test $ac_status = 0; }; then
14339   pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= $GNUTLS_MIN_REQUIRED" 2>/dev/null`
14340 else
14341   pkg_failed=yes
14342 fi
14343  else
14344     pkg_failed=untried
14345 fi
14346
14347
14348
14349 if test $pkg_failed = yes; then
14350         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14351 $as_echo "no" >&6; }
14352
14353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14354         _pkg_short_errors_supported=yes
14355 else
14356         _pkg_short_errors_supported=no
14357 fi
14358         if test $_pkg_short_errors_supported = yes; then
14359                 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED" 2>&1`
14360         else
14361                 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= $GNUTLS_MIN_REQUIRED" 2>&1`
14362         fi
14363         # Put the nasty error message in config.log where it belongs
14364         echo "$GNUTLS_PKG_ERRORS" >&5
14365
14366         if test "x$with_gnutls" = "xyes"; then :
14367   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14369 as_fn_error $? "\"$GNUTLS_PKG_ERRORS\"
14370 See \`config.log' for more details" "$LINENO" 5; }
14371 fi
14372 elif test $pkg_failed = untried; then
14373         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14374 $as_echo "no" >&6; }
14375         if test "x$with_gnutls" = "xyes"; then :
14376   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14378 as_fn_error $? "\"$GNUTLS_PKG_ERRORS\"
14379 See \`config.log' for more details" "$LINENO" 5; }
14380 fi
14381 else
14382         GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
14383         GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS
14384         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14385 $as_echo "yes" >&6; }
14386         with_gnutls=yes
14387                            tls_support="${tls_support}gnutls "
14388 fi
14389 fi
14390  if test "x$with_gnutls" = "xyes"; then
14391   HAVE_GNUTLS_TRUE=
14392   HAVE_GNUTLS_FALSE='#'
14393 else
14394   HAVE_GNUTLS_TRUE='#'
14395   HAVE_GNUTLS_FALSE=
14396 fi
14397
14398
14399
14400
14401 if test "x$with_gnutls" = "xyes"; then
14402     { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of system Certificate Authority list" >&5
14403 $as_echo_n "checking location of system Certificate Authority list... " >&6; }
14404
14405 # Check whether --with-ca-certificates was given.
14406 if test "${with_ca_certificates+set}" = set; then :
14407   withval=$with_ca_certificates;
14408 fi
14409
14410     if test "$with_ca_certificates" = "no"; then
14411         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14412 $as_echo "disabled" >&6; }
14413     else
14414         if test -z "$with_ca_certificates"; then
14415             for f in /etc/pki/tls/certs/ca-bundle.crt \
14416                      /etc/ssl/certs/ca-certificates.crt \
14417                      /etc/ssl/ca-bundle.pem; do
14418                 if test -f "$f"; then
14419                     with_ca_certificates="$f"
14420                 fi
14421             done
14422             if test -z "$with_ca_certificates"; then
14423                 as_fn_error $? "could not find. Use --with-ca-certificates=path to set, or --without-ca-certificates to disable" "$LINENO" 5
14424             fi
14425         fi
14426
14427         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ca_certificates" >&5
14428 $as_echo "$with_ca_certificates" >&6; }
14429
14430 cat >>confdefs.h <<_ACEOF
14431 #define GTLS_SYSTEM_CA_FILE "$with_ca_certificates"
14432 _ACEOF
14433
14434     fi
14435 fi
14436
14437
14438 P11_KIT_REQUIRED=0.8
14439
14440
14441 # Check whether --with-pkcs11 was given.
14442 if test "${with_pkcs11+set}" = set; then :
14443   withval=$with_pkcs11;
14444 else
14445   with_pkcs11=check
14446 fi
14447
14448 if test "x$with_pkcs11" != "xno"; then
14449
14450 pkg_failed=no
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKCS11" >&5
14452 $as_echo_n "checking for PKCS11... " >&6; }
14453
14454 if test -n "$PKCS11_CFLAGS"; then
14455     pkg_cv_PKCS11_CFLAGS="$PKCS11_CFLAGS"
14456  elif test -n "$PKG_CONFIG"; then
14457     if test -n "$PKG_CONFIG" && \
14458     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1 >= \$P11_KIT_REQUIRED gnutls >= \$GNUTLS_MIN_PKCS11\""; } >&5
14459   ($PKG_CONFIG --exists --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11") 2>&5
14460   ac_status=$?
14461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14462   test $ac_status = 0; }; then
14463   pkg_cv_PKCS11_CFLAGS=`$PKG_CONFIG --cflags "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>/dev/null`
14464 else
14465   pkg_failed=yes
14466 fi
14467  else
14468     pkg_failed=untried
14469 fi
14470 if test -n "$PKCS11_LIBS"; then
14471     pkg_cv_PKCS11_LIBS="$PKCS11_LIBS"
14472  elif test -n "$PKG_CONFIG"; then
14473     if test -n "$PKG_CONFIG" && \
14474     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1 >= \$P11_KIT_REQUIRED gnutls >= \$GNUTLS_MIN_PKCS11\""; } >&5
14475   ($PKG_CONFIG --exists --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11") 2>&5
14476   ac_status=$?
14477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14478   test $ac_status = 0; }; then
14479   pkg_cv_PKCS11_LIBS=`$PKG_CONFIG --libs "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>/dev/null`
14480 else
14481   pkg_failed=yes
14482 fi
14483  else
14484     pkg_failed=untried
14485 fi
14486
14487
14488
14489 if test $pkg_failed = yes; then
14490         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14491 $as_echo "no" >&6; }
14492
14493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14494         _pkg_short_errors_supported=yes
14495 else
14496         _pkg_short_errors_supported=no
14497 fi
14498         if test $_pkg_short_errors_supported = yes; then
14499                 PKCS11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>&1`
14500         else
14501                 PKCS11_PKG_ERRORS=`$PKG_CONFIG --print-errors "p11-kit-1 >= $P11_KIT_REQUIRED gnutls >= $GNUTLS_MIN_PKCS11" 2>&1`
14502         fi
14503         # Put the nasty error message in config.log where it belongs
14504         echo "$PKCS11_PKG_ERRORS" >&5
14505
14506         if test "x$with_pkcs11" = "xyes"; then :
14507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14509 as_fn_error $? "\"$PKCS11_PKG_ERRORS\"
14510 See \`config.log' for more details" "$LINENO" 5; }
14511 fi
14512                            pkcs11_support=no
14513 elif test $pkg_failed = untried; then
14514         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14515 $as_echo "no" >&6; }
14516         if test "x$with_pkcs11" = "xyes"; then :
14517   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14519 as_fn_error $? "\"$PKCS11_PKG_ERRORS\"
14520 See \`config.log' for more details" "$LINENO" 5; }
14521 fi
14522                            pkcs11_support=no
14523 else
14524         PKCS11_CFLAGS=$pkg_cv_PKCS11_CFLAGS
14525         PKCS11_LIBS=$pkg_cv_PKCS11_LIBS
14526         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14527 $as_echo "yes" >&6; }
14528         with_pkcs11=yes
14529                            pkcs11_support=p11-kit
14530                            tls_support="${tls_support}gnutls-pkcs11 "
14531
14532 cat >>confdefs.h <<_ACEOF
14533 #define HAVE_PKCS11 1
14534 _ACEOF
14535
14536 fi
14537 else
14538         pkcs11_support=no
14539 fi
14540  if test "x$with_pkcs11" = "xyes"; then
14541   HAVE_PKCS11_TRUE=
14542   HAVE_PKCS11_FALSE='#'
14543 else
14544   HAVE_PKCS11_TRUE='#'
14545   HAVE_PKCS11_FALSE=
14546 fi
14547
14548
14549
14550
14551
14552 # Check whether --enable-gcov was given.
14553 if test "${enable_gcov+set}" = set; then :
14554   enableval=$enable_gcov; use_gcov=$enableval
14555 else
14556   use_gcov=no
14557 fi
14558
14559
14560 if test "x$use_gcov" = "xyes"; then
14561     if test "$GCC" != "yes"; then
14562     as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
14563   fi
14564
14565   ltp_version_list="1.6 1.7 1.8 1.9"
14566   # Extract the first word of "lcov", so it can be a program name with args.
14567 set dummy lcov; ac_word=$2
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14569 $as_echo_n "checking for $ac_word... " >&6; }
14570 if ${ac_cv_prog_LTP+:} false; then :
14571   $as_echo_n "(cached) " >&6
14572 else
14573   if test -n "$LTP"; then
14574   ac_cv_prog_LTP="$LTP" # Let the user override the test.
14575 else
14576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14577 for as_dir in $PATH
14578 do
14579   IFS=$as_save_IFS
14580   test -z "$as_dir" && as_dir=.
14581     for ac_exec_ext in '' $ac_executable_extensions; do
14582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14583     ac_cv_prog_LTP="lcov"
14584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14585     break 2
14586   fi
14587 done
14588   done
14589 IFS=$as_save_IFS
14590
14591 fi
14592 fi
14593 LTP=$ac_cv_prog_LTP
14594 if test -n "$LTP"; then
14595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP" >&5
14596 $as_echo "$LTP" >&6; }
14597 else
14598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14599 $as_echo "no" >&6; }
14600 fi
14601
14602
14603   # Extract the first word of "genhtml", so it can be a program name with args.
14604 set dummy genhtml; ac_word=$2
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14606 $as_echo_n "checking for $ac_word... " >&6; }
14607 if ${ac_cv_prog_LTP_GENHTML+:} false; then :
14608   $as_echo_n "(cached) " >&6
14609 else
14610   if test -n "$LTP_GENHTML"; then
14611   ac_cv_prog_LTP_GENHTML="$LTP_GENHTML" # Let the user override the test.
14612 else
14613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14614 for as_dir in $PATH
14615 do
14616   IFS=$as_save_IFS
14617   test -z "$as_dir" && as_dir=.
14618     for ac_exec_ext in '' $ac_executable_extensions; do
14619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14620     ac_cv_prog_LTP_GENHTML="genhtml"
14621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14622     break 2
14623   fi
14624 done
14625   done
14626 IFS=$as_save_IFS
14627
14628 fi
14629 fi
14630 LTP_GENHTML=$ac_cv_prog_LTP_GENHTML
14631 if test -n "$LTP_GENHTML"; then
14632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTP_GENHTML" >&5
14633 $as_echo "$LTP_GENHTML" >&6; }
14634 else
14635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14636 $as_echo "no" >&6; }
14637 fi
14638
14639
14640
14641   if test "$LTP"; then
14642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ltp version" >&5
14643 $as_echo_n "checking for ltp version... " >&6; }
14644 if ${glib_cv_ltp_version+:} false; then :
14645   $as_echo_n "(cached) " >&6
14646 else
14647
14648       glib_cv_ltp_version=invalid
14649       ltp_version=`$LTP -v 2>/dev/null | $SED -e 's/^.* //'`
14650       for ltp_check_version in $ltp_version_list; do
14651         if test "$ltp_version" = "$ltp_check_version"; then
14652           glib_cv_ltp_version="$ltp_check_version (ok)"
14653         fi
14654       done
14655
14656 fi
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_ltp_version" >&5
14658 $as_echo "$glib_cv_ltp_version" >&6; }
14659   else
14660     ltp_msg="To enable code coverage reporting you must have one of the following LTP versions installed: $ltp_version_list"
14661     as_fn_error $? "$ltp_msg" "$LINENO" 5
14662   fi
14663
14664   case $glib_cv_ltp_version in
14665     ""|invalid)
14666       ltp_msg="You must have one of the following versions of LTP: $ltp_version_list (found: $ltp_version)."
14667       as_fn_error $? "$ltp_msg" "$LINENO" 5
14668       LTP="exit 0;"
14669       ;;
14670   esac
14671
14672   if test -z "$LTP_GENHTML"; then
14673     as_fn_error $? "Could not find genhtml from the LTP package" "$LINENO" 5
14674   fi
14675
14676
14677 $as_echo "#define HAVE_GCOV 1" >>confdefs.h
14678
14679
14680
14681   CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
14682
14683
14684     CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
14685   LDFLAGS="$LDFLAGS -lgcov"
14686 fi
14687
14688
14689 # Check whether --enable-more-warnings was given.
14690 if test "${enable_more_warnings+set}" = set; then :
14691   enableval=$enable_more_warnings; set_more_warnings=no
14692 fi
14693
14694
14695 if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
14696         CFLAGS="$CFLAGS \
14697                 -Wall -Wstrict-prototypes -Werror=missing-prototypes \
14698                 -Werror=implicit-function-declaration \
14699                 -Werror=pointer-arith -Werror=init-self -Werror=format=2 \
14700                 -Werror=missing-include-dirs \
14701                 -Werror=declaration-after-statement"
14702 fi
14703
14704 ac_config_files="$ac_config_files Makefile po/Makefile.in po/Makefile proxy/libproxy/Makefile proxy/gnome/Makefile proxy/tests/Makefile tls/gnutls/Makefile tls/pkcs11/Makefile tls/tests/Makefile"
14705
14706 cat >confcache <<\_ACEOF
14707 # This file is a shell script that caches the results of configure
14708 # tests run on this system so they can be shared between configure
14709 # scripts and configure runs, see configure's option --config-cache.
14710 # It is not useful on other systems.  If it contains results you don't
14711 # want to keep, you may remove or edit it.
14712 #
14713 # config.status only pays attention to the cache file if you give it
14714 # the --recheck option to rerun configure.
14715 #
14716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14718 # following values.
14719
14720 _ACEOF
14721
14722 # The following way of writing the cache mishandles newlines in values,
14723 # but we know of no workaround that is simple, portable, and efficient.
14724 # So, we kill variables containing newlines.
14725 # Ultrix sh set writes to stderr and can't be redirected directly,
14726 # and sets the high bit in the cache file unless we assign to the vars.
14727 (
14728   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14729     eval ac_val=\$$ac_var
14730     case $ac_val in #(
14731     *${as_nl}*)
14732       case $ac_var in #(
14733       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14735       esac
14736       case $ac_var in #(
14737       _ | IFS | as_nl) ;; #(
14738       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14739       *) { eval $ac_var=; unset $ac_var;} ;;
14740       esac ;;
14741     esac
14742   done
14743
14744   (set) 2>&1 |
14745     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14746     *${as_nl}ac_space=\ *)
14747       # `set' does not quote correctly, so add quotes: double-quote
14748       # substitution turns \\\\ into \\, and sed turns \\ into \.
14749       sed -n \
14750         "s/'/'\\\\''/g;
14751           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14752       ;; #(
14753     *)
14754       # `set' quotes correctly as required by POSIX, so do not add quotes.
14755       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14756       ;;
14757     esac |
14758     sort
14759 ) |
14760   sed '
14761      /^ac_cv_env_/b end
14762      t clear
14763      :clear
14764      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14765      t end
14766      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14767      :end' >>confcache
14768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14769   if test -w "$cache_file"; then
14770     if test "x$cache_file" != "x/dev/null"; then
14771       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14772 $as_echo "$as_me: updating cache $cache_file" >&6;}
14773       if test ! -f "$cache_file" || test -h "$cache_file"; then
14774         cat confcache >"$cache_file"
14775       else
14776         case $cache_file in #(
14777         */* | ?:*)
14778           mv -f confcache "$cache_file"$$ &&
14779           mv -f "$cache_file"$$ "$cache_file" ;; #(
14780         *)
14781           mv -f confcache "$cache_file" ;;
14782         esac
14783       fi
14784     fi
14785   else
14786     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14787 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14788   fi
14789 fi
14790 rm -f confcache
14791
14792 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14793 # Let make expand exec_prefix.
14794 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14795
14796 DEFS=-DHAVE_CONFIG_H
14797
14798 ac_libobjs=
14799 ac_ltlibobjs=
14800 U=
14801 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14802   # 1. Remove the extension, and $U if already installed.
14803   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14804   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14805   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14806   #    will be set to the directory where LIBOBJS objects are built.
14807   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14808   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14809 done
14810 LIBOBJS=$ac_libobjs
14811
14812 LTLIBOBJS=$ac_ltlibobjs
14813
14814
14815  if test -n "$EXEEXT"; then
14816   am__EXEEXT_TRUE=
14817   am__EXEEXT_FALSE='#'
14818 else
14819   am__EXEEXT_TRUE='#'
14820   am__EXEEXT_FALSE=
14821 fi
14822
14823 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14824   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14826 fi
14827 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14828   as_fn_error $? "conditional \"AMDEP\" was never defined.
14829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14830 fi
14831 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14832   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14834 fi
14835 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14836   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14838 fi
14839
14840   ac_config_commands="$ac_config_commands po/stamp-it"
14841
14842
14843 if test -z "${HAVE_LIBPROXY_TRUE}" && test -z "${HAVE_LIBPROXY_FALSE}"; then
14844   as_fn_error $? "conditional \"HAVE_LIBPROXY\" was never defined.
14845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14846 fi
14847 if test -z "${HAVE_GNOME_PROXY_TRUE}" && test -z "${HAVE_GNOME_PROXY_FALSE}"; then
14848   as_fn_error $? "conditional \"HAVE_GNOME_PROXY\" was never defined.
14849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14850 fi
14851 if test -z "${HAVE_GNUTLS_TRUE}" && test -z "${HAVE_GNUTLS_FALSE}"; then
14852   as_fn_error $? "conditional \"HAVE_GNUTLS\" was never defined.
14853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14854 fi
14855 if test -z "${HAVE_PKCS11_TRUE}" && test -z "${HAVE_PKCS11_FALSE}"; then
14856   as_fn_error $? "conditional \"HAVE_PKCS11\" was never defined.
14857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14858 fi
14859
14860 : "${CONFIG_STATUS=./config.status}"
14861 ac_write_fail=0
14862 ac_clean_files_save=$ac_clean_files
14863 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14865 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14866 as_write_fail=0
14867 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14868 #! $SHELL
14869 # Generated by $as_me.
14870 # Run this file to recreate the current configuration.
14871 # Compiler output produced by configure, useful for debugging
14872 # configure, is in config.log if it exists.
14873
14874 debug=false
14875 ac_cs_recheck=false
14876 ac_cs_silent=false
14877
14878 SHELL=\${CONFIG_SHELL-$SHELL}
14879 export SHELL
14880 _ASEOF
14881 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14882 ## -------------------- ##
14883 ## M4sh Initialization. ##
14884 ## -------------------- ##
14885
14886 # Be more Bourne compatible
14887 DUALCASE=1; export DUALCASE # for MKS sh
14888 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14889   emulate sh
14890   NULLCMD=:
14891   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14892   # is contrary to our usage.  Disable this feature.
14893   alias -g '${1+"$@"}'='"$@"'
14894   setopt NO_GLOB_SUBST
14895 else
14896   case `(set -o) 2>/dev/null` in #(
14897   *posix*) :
14898     set -o posix ;; #(
14899   *) :
14900      ;;
14901 esac
14902 fi
14903
14904
14905 as_nl='
14906 '
14907 export as_nl
14908 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14909 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14910 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14911 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14912 # Prefer a ksh shell builtin over an external printf program on Solaris,
14913 # but without wasting forks for bash or zsh.
14914 if test -z "$BASH_VERSION$ZSH_VERSION" \
14915     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14916   as_echo='print -r --'
14917   as_echo_n='print -rn --'
14918 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14919   as_echo='printf %s\n'
14920   as_echo_n='printf %s'
14921 else
14922   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14923     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14924     as_echo_n='/usr/ucb/echo -n'
14925   else
14926     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14927     as_echo_n_body='eval
14928       arg=$1;
14929       case $arg in #(
14930       *"$as_nl"*)
14931         expr "X$arg" : "X\\(.*\\)$as_nl";
14932         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14933       esac;
14934       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14935     '
14936     export as_echo_n_body
14937     as_echo_n='sh -c $as_echo_n_body as_echo'
14938   fi
14939   export as_echo_body
14940   as_echo='sh -c $as_echo_body as_echo'
14941 fi
14942
14943 # The user is always right.
14944 if test "${PATH_SEPARATOR+set}" != set; then
14945   PATH_SEPARATOR=:
14946   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14947     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14948       PATH_SEPARATOR=';'
14949   }
14950 fi
14951
14952
14953 # IFS
14954 # We need space, tab and new line, in precisely that order.  Quoting is
14955 # there to prevent editors from complaining about space-tab.
14956 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14957 # splitting by setting IFS to empty value.)
14958 IFS=" ""        $as_nl"
14959
14960 # Find who we are.  Look in the path if we contain no directory separator.
14961 as_myself=
14962 case $0 in #((
14963   *[\\/]* ) as_myself=$0 ;;
14964   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14965 for as_dir in $PATH
14966 do
14967   IFS=$as_save_IFS
14968   test -z "$as_dir" && as_dir=.
14969     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14970   done
14971 IFS=$as_save_IFS
14972
14973      ;;
14974 esac
14975 # We did not find ourselves, most probably we were run as `sh COMMAND'
14976 # in which case we are not to be found in the path.
14977 if test "x$as_myself" = x; then
14978   as_myself=$0
14979 fi
14980 if test ! -f "$as_myself"; then
14981   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14982   exit 1
14983 fi
14984
14985 # Unset variables that we do not need and which cause bugs (e.g. in
14986 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14987 # suppresses any "Segmentation fault" message there.  '((' could
14988 # trigger a bug in pdksh 5.2.14.
14989 for as_var in BASH_ENV ENV MAIL MAILPATH
14990 do eval test x\${$as_var+set} = xset \
14991   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14992 done
14993 PS1='$ '
14994 PS2='> '
14995 PS4='+ '
14996
14997 # NLS nuisances.
14998 LC_ALL=C
14999 export LC_ALL
15000 LANGUAGE=C
15001 export LANGUAGE
15002
15003 # CDPATH.
15004 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15005
15006
15007 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15008 # ----------------------------------------
15009 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15010 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15011 # script with STATUS, using 1 if that was 0.
15012 as_fn_error ()
15013 {
15014   as_status=$1; test $as_status -eq 0 && as_status=1
15015   if test "$4"; then
15016     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15017     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15018   fi
15019   $as_echo "$as_me: error: $2" >&2
15020   as_fn_exit $as_status
15021 } # as_fn_error
15022
15023
15024 # as_fn_set_status STATUS
15025 # -----------------------
15026 # Set $? to STATUS, without forking.
15027 as_fn_set_status ()
15028 {
15029   return $1
15030 } # as_fn_set_status
15031
15032 # as_fn_exit STATUS
15033 # -----------------
15034 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15035 as_fn_exit ()
15036 {
15037   set +e
15038   as_fn_set_status $1
15039   exit $1
15040 } # as_fn_exit
15041
15042 # as_fn_unset VAR
15043 # ---------------
15044 # Portably unset VAR.
15045 as_fn_unset ()
15046 {
15047   { eval $1=; unset $1;}
15048 }
15049 as_unset=as_fn_unset
15050 # as_fn_append VAR VALUE
15051 # ----------------------
15052 # Append the text in VALUE to the end of the definition contained in VAR. Take
15053 # advantage of any shell optimizations that allow amortized linear growth over
15054 # repeated appends, instead of the typical quadratic growth present in naive
15055 # implementations.
15056 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15057   eval 'as_fn_append ()
15058   {
15059     eval $1+=\$2
15060   }'
15061 else
15062   as_fn_append ()
15063   {
15064     eval $1=\$$1\$2
15065   }
15066 fi # as_fn_append
15067
15068 # as_fn_arith ARG...
15069 # ------------------
15070 # Perform arithmetic evaluation on the ARGs, and store the result in the
15071 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15072 # must be portable across $(()) and expr.
15073 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15074   eval 'as_fn_arith ()
15075   {
15076     as_val=$(( $* ))
15077   }'
15078 else
15079   as_fn_arith ()
15080   {
15081     as_val=`expr "$@" || test $? -eq 1`
15082   }
15083 fi # as_fn_arith
15084
15085
15086 if expr a : '\(a\)' >/dev/null 2>&1 &&
15087    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15088   as_expr=expr
15089 else
15090   as_expr=false
15091 fi
15092
15093 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15094   as_basename=basename
15095 else
15096   as_basename=false
15097 fi
15098
15099 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15100   as_dirname=dirname
15101 else
15102   as_dirname=false
15103 fi
15104
15105 as_me=`$as_basename -- "$0" ||
15106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15107          X"$0" : 'X\(//\)$' \| \
15108          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15109 $as_echo X/"$0" |
15110     sed '/^.*\/\([^/][^/]*\)\/*$/{
15111             s//\1/
15112             q
15113           }
15114           /^X\/\(\/\/\)$/{
15115             s//\1/
15116             q
15117           }
15118           /^X\/\(\/\).*/{
15119             s//\1/
15120             q
15121           }
15122           s/.*/./; q'`
15123
15124 # Avoid depending upon Character Ranges.
15125 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15126 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15127 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15128 as_cr_digits='0123456789'
15129 as_cr_alnum=$as_cr_Letters$as_cr_digits
15130
15131 ECHO_C= ECHO_N= ECHO_T=
15132 case `echo -n x` in #(((((
15133 -n*)
15134   case `echo 'xy\c'` in
15135   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15136   xy)  ECHO_C='\c';;
15137   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15138        ECHO_T=' ';;
15139   esac;;
15140 *)
15141   ECHO_N='-n';;
15142 esac
15143
15144 rm -f conf$$ conf$$.exe conf$$.file
15145 if test -d conf$$.dir; then
15146   rm -f conf$$.dir/conf$$.file
15147 else
15148   rm -f conf$$.dir
15149   mkdir conf$$.dir 2>/dev/null
15150 fi
15151 if (echo >conf$$.file) 2>/dev/null; then
15152   if ln -s conf$$.file conf$$ 2>/dev/null; then
15153     as_ln_s='ln -s'
15154     # ... but there are two gotchas:
15155     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15156     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15157     # In both cases, we have to default to `cp -p'.
15158     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15159       as_ln_s='cp -p'
15160   elif ln conf$$.file conf$$ 2>/dev/null; then
15161     as_ln_s=ln
15162   else
15163     as_ln_s='cp -p'
15164   fi
15165 else
15166   as_ln_s='cp -p'
15167 fi
15168 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15169 rmdir conf$$.dir 2>/dev/null
15170
15171
15172 # as_fn_mkdir_p
15173 # -------------
15174 # Create "$as_dir" as a directory, including parents if necessary.
15175 as_fn_mkdir_p ()
15176 {
15177
15178   case $as_dir in #(
15179   -*) as_dir=./$as_dir;;
15180   esac
15181   test -d "$as_dir" || eval $as_mkdir_p || {
15182     as_dirs=
15183     while :; do
15184       case $as_dir in #(
15185       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15186       *) as_qdir=$as_dir;;
15187       esac
15188       as_dirs="'$as_qdir' $as_dirs"
15189       as_dir=`$as_dirname -- "$as_dir" ||
15190 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15191          X"$as_dir" : 'X\(//\)[^/]' \| \
15192          X"$as_dir" : 'X\(//\)$' \| \
15193          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15194 $as_echo X"$as_dir" |
15195     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15196             s//\1/
15197             q
15198           }
15199           /^X\(\/\/\)[^/].*/{
15200             s//\1/
15201             q
15202           }
15203           /^X\(\/\/\)$/{
15204             s//\1/
15205             q
15206           }
15207           /^X\(\/\).*/{
15208             s//\1/
15209             q
15210           }
15211           s/.*/./; q'`
15212       test -d "$as_dir" && break
15213     done
15214     test -z "$as_dirs" || eval "mkdir $as_dirs"
15215   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15216
15217
15218 } # as_fn_mkdir_p
15219 if mkdir -p . 2>/dev/null; then
15220   as_mkdir_p='mkdir -p "$as_dir"'
15221 else
15222   test -d ./-p && rmdir ./-p
15223   as_mkdir_p=false
15224 fi
15225
15226 if test -x / >/dev/null 2>&1; then
15227   as_test_x='test -x'
15228 else
15229   if ls -dL / >/dev/null 2>&1; then
15230     as_ls_L_option=L
15231   else
15232     as_ls_L_option=
15233   fi
15234   as_test_x='
15235     eval sh -c '\''
15236       if test -d "$1"; then
15237         test -d "$1/.";
15238       else
15239         case $1 in #(
15240         -*)set "./$1";;
15241         esac;
15242         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15243         ???[sx]*):;;*)false;;esac;fi
15244     '\'' sh
15245   '
15246 fi
15247 as_executable_p=$as_test_x
15248
15249 # Sed expression to map a string onto a valid CPP name.
15250 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15251
15252 # Sed expression to map a string onto a valid variable name.
15253 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15254
15255
15256 exec 6>&1
15257 ## ----------------------------------- ##
15258 ## Main body of $CONFIG_STATUS script. ##
15259 ## ----------------------------------- ##
15260 _ASEOF
15261 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15262
15263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15264 # Save the log message, to keep $0 and so on meaningful, and to
15265 # report actual input values of CONFIG_FILES etc. instead of their
15266 # values after options handling.
15267 ac_log="
15268 This file was extended by glib-networking $as_me 2.32.3, which was
15269 generated by GNU Autoconf 2.68.  Invocation command line was
15270
15271   CONFIG_FILES    = $CONFIG_FILES
15272   CONFIG_HEADERS  = $CONFIG_HEADERS
15273   CONFIG_LINKS    = $CONFIG_LINKS
15274   CONFIG_COMMANDS = $CONFIG_COMMANDS
15275   $ $0 $@
15276
15277 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15278 "
15279
15280 _ACEOF
15281
15282 case $ac_config_files in *"
15283 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15284 esac
15285
15286 case $ac_config_headers in *"
15287 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15288 esac
15289
15290
15291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15292 # Files that config.status was made for.
15293 config_files="$ac_config_files"
15294 config_headers="$ac_config_headers"
15295 config_commands="$ac_config_commands"
15296
15297 _ACEOF
15298
15299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15300 ac_cs_usage="\
15301 \`$as_me' instantiates files and other configuration actions
15302 from templates according to the current configuration.  Unless the files
15303 and actions are specified as TAGs, all are instantiated by default.
15304
15305 Usage: $0 [OPTION]... [TAG]...
15306
15307   -h, --help       print this help, then exit
15308   -V, --version    print version number and configuration settings, then exit
15309       --config     print configuration, then exit
15310   -q, --quiet, --silent
15311                    do not print progress messages
15312   -d, --debug      don't remove temporary files
15313       --recheck    update $as_me by reconfiguring in the same conditions
15314       --file=FILE[:TEMPLATE]
15315                    instantiate the configuration file FILE
15316       --header=FILE[:TEMPLATE]
15317                    instantiate the configuration header FILE
15318
15319 Configuration files:
15320 $config_files
15321
15322 Configuration headers:
15323 $config_headers
15324
15325 Configuration commands:
15326 $config_commands
15327
15328 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network>."
15329
15330 _ACEOF
15331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15332 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15333 ac_cs_version="\\
15334 glib-networking config.status 2.32.3
15335 configured by $0, generated by GNU Autoconf 2.68,
15336   with options \\"\$ac_cs_config\\"
15337
15338 Copyright (C) 2010 Free Software Foundation, Inc.
15339 This config.status script is free software; the Free Software Foundation
15340 gives unlimited permission to copy, distribute and modify it."
15341
15342 ac_pwd='$ac_pwd'
15343 srcdir='$srcdir'
15344 INSTALL='$INSTALL'
15345 MKDIR_P='$MKDIR_P'
15346 AWK='$AWK'
15347 test -n "\$AWK" || AWK=awk
15348 _ACEOF
15349
15350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15351 # The default lists apply if the user does not specify any file.
15352 ac_need_defaults=:
15353 while test $# != 0
15354 do
15355   case $1 in
15356   --*=?*)
15357     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15358     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15359     ac_shift=:
15360     ;;
15361   --*=)
15362     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15363     ac_optarg=
15364     ac_shift=:
15365     ;;
15366   *)
15367     ac_option=$1
15368     ac_optarg=$2
15369     ac_shift=shift
15370     ;;
15371   esac
15372
15373   case $ac_option in
15374   # Handling of the options.
15375   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15376     ac_cs_recheck=: ;;
15377   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15378     $as_echo "$ac_cs_version"; exit ;;
15379   --config | --confi | --conf | --con | --co | --c )
15380     $as_echo "$ac_cs_config"; exit ;;
15381   --debug | --debu | --deb | --de | --d | -d )
15382     debug=: ;;
15383   --file | --fil | --fi | --f )
15384     $ac_shift
15385     case $ac_optarg in
15386     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15387     '') as_fn_error $? "missing file argument" ;;
15388     esac
15389     as_fn_append CONFIG_FILES " '$ac_optarg'"
15390     ac_need_defaults=false;;
15391   --header | --heade | --head | --hea )
15392     $ac_shift
15393     case $ac_optarg in
15394     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15395     esac
15396     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15397     ac_need_defaults=false;;
15398   --he | --h)
15399     # Conflict between --help and --header
15400     as_fn_error $? "ambiguous option: \`$1'
15401 Try \`$0 --help' for more information.";;
15402   --help | --hel | -h )
15403     $as_echo "$ac_cs_usage"; exit ;;
15404   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15405   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15406     ac_cs_silent=: ;;
15407
15408   # This is an error.
15409   -*) as_fn_error $? "unrecognized option: \`$1'
15410 Try \`$0 --help' for more information." ;;
15411
15412   *) as_fn_append ac_config_targets " $1"
15413      ac_need_defaults=false ;;
15414
15415   esac
15416   shift
15417 done
15418
15419 ac_configure_extra_args=
15420
15421 if $ac_cs_silent; then
15422   exec 6>/dev/null
15423   ac_configure_extra_args="$ac_configure_extra_args --silent"
15424 fi
15425
15426 _ACEOF
15427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15428 if \$ac_cs_recheck; then
15429   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15430   shift
15431   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15432   CONFIG_SHELL='$SHELL'
15433   export CONFIG_SHELL
15434   exec "\$@"
15435 fi
15436
15437 _ACEOF
15438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15439 exec 5>>config.log
15440 {
15441   echo
15442   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15443 ## Running $as_me. ##
15444 _ASBOX
15445   $as_echo "$ac_log"
15446 } >&5
15447
15448 _ACEOF
15449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15450 #
15451 # INIT-COMMANDS
15452 #
15453 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15454
15455
15456 # The HP-UX ksh and POSIX shell print the target directory to stdout
15457 # if CDPATH is set.
15458 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15459
15460 sed_quote_subst='$sed_quote_subst'
15461 double_quote_subst='$double_quote_subst'
15462 delay_variable_subst='$delay_variable_subst'
15463 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15464 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15465 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15466 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15467 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15468 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15469 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15470 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15471 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15472 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15473 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15474 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15475 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15476 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15477 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15478 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15479 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15480 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15481 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15482 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15483 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15484 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15485 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15486 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15487 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15488 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15489 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15490 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15491 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15492 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15493 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15494 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15495 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15496 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15497 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15498 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15499 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15500 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15501 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15502 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15503 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15504 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15505 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15506 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15507 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15508 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15509 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15510 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15511 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15512 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15513 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15514 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15515 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15516 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15517 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15518 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15519 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15520 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15521 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15522 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15523 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15524 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15525 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15526 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15527 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15528 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15529 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15530 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15531 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15532 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15533 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15534 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15535 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15536 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15537 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15538 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15539 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15540 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15541 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15542 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15543 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15544 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15545 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15546 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15547 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15548 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15549 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15550 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15551 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15552 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15553 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15554 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15555 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15556 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15557 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15558 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15559 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15560 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15561 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15562 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15563 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15564 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15565 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15566 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15567 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15568 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15569 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15570 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15571 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15572 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15573 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15574 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15575 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15576 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15577 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15578 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15579 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15580 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15581 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15582 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15583 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15584 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15585 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15586 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15587 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15588 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15589 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15590 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15591 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15592 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15593
15594 LTCC='$LTCC'
15595 LTCFLAGS='$LTCFLAGS'
15596 compiler='$compiler_DEFAULT'
15597
15598 # A function that is used when there is no print builtin or printf.
15599 func_fallback_echo ()
15600 {
15601   eval 'cat <<_LTECHO_EOF
15602 \$1
15603 _LTECHO_EOF'
15604 }
15605
15606 # Quote evaled strings.
15607 for var in SHELL \
15608 ECHO \
15609 PATH_SEPARATOR \
15610 SED \
15611 GREP \
15612 EGREP \
15613 FGREP \
15614 LD \
15615 NM \
15616 LN_S \
15617 lt_SP2NL \
15618 lt_NL2SP \
15619 reload_flag \
15620 OBJDUMP \
15621 deplibs_check_method \
15622 file_magic_cmd \
15623 file_magic_glob \
15624 want_nocaseglob \
15625 DLLTOOL \
15626 sharedlib_from_linklib_cmd \
15627 AR \
15628 AR_FLAGS \
15629 archiver_list_spec \
15630 STRIP \
15631 RANLIB \
15632 CC \
15633 CFLAGS \
15634 compiler \
15635 lt_cv_sys_global_symbol_pipe \
15636 lt_cv_sys_global_symbol_to_cdecl \
15637 lt_cv_sys_global_symbol_to_c_name_address \
15638 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15639 nm_file_list_spec \
15640 lt_prog_compiler_no_builtin_flag \
15641 lt_prog_compiler_pic \
15642 lt_prog_compiler_wl \
15643 lt_prog_compiler_static \
15644 lt_cv_prog_compiler_c_o \
15645 need_locks \
15646 MANIFEST_TOOL \
15647 DSYMUTIL \
15648 NMEDIT \
15649 LIPO \
15650 OTOOL \
15651 OTOOL64 \
15652 shrext_cmds \
15653 export_dynamic_flag_spec \
15654 whole_archive_flag_spec \
15655 compiler_needs_object \
15656 with_gnu_ld \
15657 allow_undefined_flag \
15658 no_undefined_flag \
15659 hardcode_libdir_flag_spec \
15660 hardcode_libdir_separator \
15661 exclude_expsyms \
15662 include_expsyms \
15663 file_list_spec \
15664 variables_saved_for_relink \
15665 libname_spec \
15666 library_names_spec \
15667 soname_spec \
15668 install_override_mode \
15669 finish_eval \
15670 old_striplib \
15671 striplib; do
15672     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15673     *[\\\\\\\`\\"\\\$]*)
15674       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15675       ;;
15676     *)
15677       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15678       ;;
15679     esac
15680 done
15681
15682 # Double-quote double-evaled strings.
15683 for var in reload_cmds \
15684 old_postinstall_cmds \
15685 old_postuninstall_cmds \
15686 old_archive_cmds \
15687 extract_expsyms_cmds \
15688 old_archive_from_new_cmds \
15689 old_archive_from_expsyms_cmds \
15690 archive_cmds \
15691 archive_expsym_cmds \
15692 module_cmds \
15693 module_expsym_cmds \
15694 export_symbols_cmds \
15695 prelink_cmds \
15696 postlink_cmds \
15697 postinstall_cmds \
15698 postuninstall_cmds \
15699 finish_cmds \
15700 sys_lib_search_path_spec \
15701 sys_lib_dlsearch_path_spec; do
15702     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15703     *[\\\\\\\`\\"\\\$]*)
15704       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15705       ;;
15706     *)
15707       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15708       ;;
15709     esac
15710 done
15711
15712 ac_aux_dir='$ac_aux_dir'
15713 xsi_shell='$xsi_shell'
15714 lt_shell_append='$lt_shell_append'
15715
15716 # See if we are running on zsh, and set the options which allow our
15717 # commands through without removal of \ escapes INIT.
15718 if test -n "\${ZSH_VERSION+set}" ; then
15719    setopt NO_GLOB_SUBST
15720 fi
15721
15722
15723     PACKAGE='$PACKAGE'
15724     VERSION='$VERSION'
15725     TIMESTAMP='$TIMESTAMP'
15726     RM='$RM'
15727     ofile='$ofile'
15728
15729
15730
15731
15732
15733 _ACEOF
15734
15735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15736
15737 # Handling of arguments.
15738 for ac_config_target in $ac_config_targets
15739 do
15740   case $ac_config_target in
15741     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15742     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15743     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15744     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15745     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15746     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15747     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
15748     "proxy/libproxy/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/libproxy/Makefile" ;;
15749     "proxy/gnome/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/gnome/Makefile" ;;
15750     "proxy/tests/Makefile") CONFIG_FILES="$CONFIG_FILES proxy/tests/Makefile" ;;
15751     "tls/gnutls/Makefile") CONFIG_FILES="$CONFIG_FILES tls/gnutls/Makefile" ;;
15752     "tls/pkcs11/Makefile") CONFIG_FILES="$CONFIG_FILES tls/pkcs11/Makefile" ;;
15753     "tls/tests/Makefile") CONFIG_FILES="$CONFIG_FILES tls/tests/Makefile" ;;
15754     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15755
15756   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15757   esac
15758 done
15759
15760
15761 # If the user did not use the arguments to specify the items to instantiate,
15762 # then the envvar interface is used.  Set only those that are not.
15763 # We use the long form for the default assignment because of an extremely
15764 # bizarre bug on SunOS 4.1.3.
15765 if $ac_need_defaults; then
15766   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15767   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15768   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15769 fi
15770
15771 # Have a temporary directory for convenience.  Make it in the build tree
15772 # simply because there is no reason against having it here, and in addition,
15773 # creating and moving files from /tmp can sometimes cause problems.
15774 # Hook for its removal unless debugging.
15775 # Note that there is a small window in which the directory will not be cleaned:
15776 # after its creation but before its name has been assigned to `$tmp'.
15777 $debug ||
15778 {
15779   tmp= ac_tmp=
15780   trap 'exit_status=$?
15781   : "${ac_tmp:=$tmp}"
15782   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15783 ' 0
15784   trap 'as_fn_exit 1' 1 2 13 15
15785 }
15786 # Create a (secure) tmp directory for tmp files.
15787
15788 {
15789   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15790   test -d "$tmp"
15791 }  ||
15792 {
15793   tmp=./conf$$-$RANDOM
15794   (umask 077 && mkdir "$tmp")
15795 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15796 ac_tmp=$tmp
15797
15798 # Set up the scripts for CONFIG_FILES section.
15799 # No need to generate them if there are no CONFIG_FILES.
15800 # This happens for instance with `./config.status config.h'.
15801 if test -n "$CONFIG_FILES"; then
15802
15803
15804 ac_cr=`echo X | tr X '\015'`
15805 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15806 # But we know of no other shell where ac_cr would be empty at this
15807 # point, so we can use a bashism as a fallback.
15808 if test "x$ac_cr" = x; then
15809   eval ac_cr=\$\'\\r\'
15810 fi
15811 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15812 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15813   ac_cs_awk_cr='\\r'
15814 else
15815   ac_cs_awk_cr=$ac_cr
15816 fi
15817
15818 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15819 _ACEOF
15820
15821
15822 {
15823   echo "cat >conf$$subs.awk <<_ACEOF" &&
15824   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15825   echo "_ACEOF"
15826 } >conf$$subs.sh ||
15827   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15828 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15829 ac_delim='%!_!# '
15830 for ac_last_try in false false false false false :; do
15831   . ./conf$$subs.sh ||
15832     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15833
15834   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15835   if test $ac_delim_n = $ac_delim_num; then
15836     break
15837   elif $ac_last_try; then
15838     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15839   else
15840     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15841   fi
15842 done
15843 rm -f conf$$subs.sh
15844
15845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15846 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15847 _ACEOF
15848 sed -n '
15849 h
15850 s/^/S["/; s/!.*/"]=/
15851 p
15852 g
15853 s/^[^!]*!//
15854 :repl
15855 t repl
15856 s/'"$ac_delim"'$//
15857 t delim
15858 :nl
15859 h
15860 s/\(.\{148\}\)..*/\1/
15861 t more1
15862 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15863 p
15864 n
15865 b repl
15866 :more1
15867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15868 p
15869 g
15870 s/.\{148\}//
15871 t nl
15872 :delim
15873 h
15874 s/\(.\{148\}\)..*/\1/
15875 t more2
15876 s/["\\]/\\&/g; s/^/"/; s/$/"/
15877 p
15878 b
15879 :more2
15880 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15881 p
15882 g
15883 s/.\{148\}//
15884 t delim
15885 ' <conf$$subs.awk | sed '
15886 /^[^""]/{
15887   N
15888   s/\n//
15889 }
15890 ' >>$CONFIG_STATUS || ac_write_fail=1
15891 rm -f conf$$subs.awk
15892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15893 _ACAWK
15894 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15895   for (key in S) S_is_set[key] = 1
15896   FS = "\a"
15897
15898 }
15899 {
15900   line = $ 0
15901   nfields = split(line, field, "@")
15902   substed = 0
15903   len = length(field[1])
15904   for (i = 2; i < nfields; i++) {
15905     key = field[i]
15906     keylen = length(key)
15907     if (S_is_set[key]) {
15908       value = S[key]
15909       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15910       len += length(value) + length(field[++i])
15911       substed = 1
15912     } else
15913       len += 1 + keylen
15914   }
15915
15916   print line
15917 }
15918
15919 _ACAWK
15920 _ACEOF
15921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15922 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15923   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15924 else
15925   cat
15926 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15927   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15928 _ACEOF
15929
15930 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15931 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15932 # trailing colons and then remove the whole line if VPATH becomes empty
15933 # (actually we leave an empty line to preserve line numbers).
15934 if test "x$srcdir" = x.; then
15935   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15936 h
15937 s///
15938 s/^/:/
15939 s/[      ]*$/:/
15940 s/:\$(srcdir):/:/g
15941 s/:\${srcdir}:/:/g
15942 s/:@srcdir@:/:/g
15943 s/^:*//
15944 s/:*$//
15945 x
15946 s/\(=[   ]*\).*/\1/
15947 G
15948 s/\n//
15949 s/^[^=]*=[       ]*$//
15950 }'
15951 fi
15952
15953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15954 fi # test -n "$CONFIG_FILES"
15955
15956 # Set up the scripts for CONFIG_HEADERS section.
15957 # No need to generate them if there are no CONFIG_HEADERS.
15958 # This happens for instance with `./config.status Makefile'.
15959 if test -n "$CONFIG_HEADERS"; then
15960 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15961 BEGIN {
15962 _ACEOF
15963
15964 # Transform confdefs.h into an awk script `defines.awk', embedded as
15965 # here-document in config.status, that substitutes the proper values into
15966 # config.h.in to produce config.h.
15967
15968 # Create a delimiter string that does not exist in confdefs.h, to ease
15969 # handling of long lines.
15970 ac_delim='%!_!# '
15971 for ac_last_try in false false :; do
15972   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15973   if test -z "$ac_tt"; then
15974     break
15975   elif $ac_last_try; then
15976     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15977   else
15978     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15979   fi
15980 done
15981
15982 # For the awk script, D is an array of macro values keyed by name,
15983 # likewise P contains macro parameters if any.  Preserve backslash
15984 # newline sequences.
15985
15986 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15987 sed -n '
15988 s/.\{148\}/&'"$ac_delim"'/g
15989 t rset
15990 :rset
15991 s/^[     ]*#[    ]*define[       ][      ]*/ /
15992 t def
15993 d
15994 :def
15995 s/\\$//
15996 t bsnl
15997 s/["\\]/\\&/g
15998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15999 D["\1"]=" \3"/p
16000 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16001 d
16002 :bsnl
16003 s/["\\]/\\&/g
16004 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16005 D["\1"]=" \3\\\\\\n"\\/p
16006 t cont
16007 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16008 t cont
16009 d
16010 :cont
16011 n
16012 s/.\{148\}/&'"$ac_delim"'/g
16013 t clear
16014 :clear
16015 s/\\$//
16016 t bsnlc
16017 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16018 d
16019 :bsnlc
16020 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16021 b cont
16022 ' <confdefs.h | sed '
16023 s/'"$ac_delim"'/"\\\
16024 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16025
16026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16027   for (key in D) D_is_set[key] = 1
16028   FS = "\a"
16029 }
16030 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16031   line = \$ 0
16032   split(line, arg, " ")
16033   if (arg[1] == "#") {
16034     defundef = arg[2]
16035     mac1 = arg[3]
16036   } else {
16037     defundef = substr(arg[1], 2)
16038     mac1 = arg[2]
16039   }
16040   split(mac1, mac2, "(") #)
16041   macro = mac2[1]
16042   prefix = substr(line, 1, index(line, defundef) - 1)
16043   if (D_is_set[macro]) {
16044     # Preserve the white space surrounding the "#".
16045     print prefix "define", macro P[macro] D[macro]
16046     next
16047   } else {
16048     # Replace #undef with comments.  This is necessary, for example,
16049     # in the case of _POSIX_SOURCE, which is predefined and required
16050     # on some systems where configure will not decide to define it.
16051     if (defundef == "undef") {
16052       print "/*", prefix defundef, macro, "*/"
16053       next
16054     }
16055   }
16056 }
16057 { print }
16058 _ACAWK
16059 _ACEOF
16060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16061   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16062 fi # test -n "$CONFIG_HEADERS"
16063
16064
16065 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16066 shift
16067 for ac_tag
16068 do
16069   case $ac_tag in
16070   :[FHLC]) ac_mode=$ac_tag; continue;;
16071   esac
16072   case $ac_mode$ac_tag in
16073   :[FHL]*:*);;
16074   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16075   :[FH]-) ac_tag=-:-;;
16076   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16077   esac
16078   ac_save_IFS=$IFS
16079   IFS=:
16080   set x $ac_tag
16081   IFS=$ac_save_IFS
16082   shift
16083   ac_file=$1
16084   shift
16085
16086   case $ac_mode in
16087   :L) ac_source=$1;;
16088   :[FH])
16089     ac_file_inputs=
16090     for ac_f
16091     do
16092       case $ac_f in
16093       -) ac_f="$ac_tmp/stdin";;
16094       *) # Look for the file first in the build tree, then in the source tree
16095          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16096          # because $ac_f cannot contain `:'.
16097          test -f "$ac_f" ||
16098            case $ac_f in
16099            [\\/$]*) false;;
16100            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16101            esac ||
16102            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16103       esac
16104       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16105       as_fn_append ac_file_inputs " '$ac_f'"
16106     done
16107
16108     # Let's still pretend it is `configure' which instantiates (i.e., don't
16109     # use $as_me), people would be surprised to read:
16110     #    /* config.h.  Generated by config.status.  */
16111     configure_input='Generated from '`
16112           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16113         `' by configure.'
16114     if test x"$ac_file" != x-; then
16115       configure_input="$ac_file.  $configure_input"
16116       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16117 $as_echo "$as_me: creating $ac_file" >&6;}
16118     fi
16119     # Neutralize special characters interpreted by sed in replacement strings.
16120     case $configure_input in #(
16121     *\&* | *\|* | *\\* )
16122        ac_sed_conf_input=`$as_echo "$configure_input" |
16123        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16124     *) ac_sed_conf_input=$configure_input;;
16125     esac
16126
16127     case $ac_tag in
16128     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16129       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16130     esac
16131     ;;
16132   esac
16133
16134   ac_dir=`$as_dirname -- "$ac_file" ||
16135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16136          X"$ac_file" : 'X\(//\)[^/]' \| \
16137          X"$ac_file" : 'X\(//\)$' \| \
16138          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16139 $as_echo X"$ac_file" |
16140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16141             s//\1/
16142             q
16143           }
16144           /^X\(\/\/\)[^/].*/{
16145             s//\1/
16146             q
16147           }
16148           /^X\(\/\/\)$/{
16149             s//\1/
16150             q
16151           }
16152           /^X\(\/\).*/{
16153             s//\1/
16154             q
16155           }
16156           s/.*/./; q'`
16157   as_dir="$ac_dir"; as_fn_mkdir_p
16158   ac_builddir=.
16159
16160 case "$ac_dir" in
16161 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16162 *)
16163   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16164   # A ".." for each directory in $ac_dir_suffix.
16165   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16166   case $ac_top_builddir_sub in
16167   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16168   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16169   esac ;;
16170 esac
16171 ac_abs_top_builddir=$ac_pwd
16172 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16173 # for backward compatibility:
16174 ac_top_builddir=$ac_top_build_prefix
16175
16176 case $srcdir in
16177   .)  # We are building in place.
16178     ac_srcdir=.
16179     ac_top_srcdir=$ac_top_builddir_sub
16180     ac_abs_top_srcdir=$ac_pwd ;;
16181   [\\/]* | ?:[\\/]* )  # Absolute name.
16182     ac_srcdir=$srcdir$ac_dir_suffix;
16183     ac_top_srcdir=$srcdir
16184     ac_abs_top_srcdir=$srcdir ;;
16185   *) # Relative name.
16186     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16187     ac_top_srcdir=$ac_top_build_prefix$srcdir
16188     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16189 esac
16190 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16191
16192
16193   case $ac_mode in
16194   :F)
16195   #
16196   # CONFIG_FILE
16197   #
16198
16199   case $INSTALL in
16200   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16201   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16202   esac
16203   ac_MKDIR_P=$MKDIR_P
16204   case $MKDIR_P in
16205   [\\/$]* | ?:[\\/]* ) ;;
16206   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16207   esac
16208 _ACEOF
16209
16210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16211 # If the template does not know about datarootdir, expand it.
16212 # FIXME: This hack should be removed a few years after 2.60.
16213 ac_datarootdir_hack=; ac_datarootdir_seen=
16214 ac_sed_dataroot='
16215 /datarootdir/ {
16216   p
16217   q
16218 }
16219 /@datadir@/p
16220 /@docdir@/p
16221 /@infodir@/p
16222 /@localedir@/p
16223 /@mandir@/p'
16224 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16225 *datarootdir*) ac_datarootdir_seen=yes;;
16226 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16227   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16228 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16229 _ACEOF
16230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16231   ac_datarootdir_hack='
16232   s&@datadir@&$datadir&g
16233   s&@docdir@&$docdir&g
16234   s&@infodir@&$infodir&g
16235   s&@localedir@&$localedir&g
16236   s&@mandir@&$mandir&g
16237   s&\\\${datarootdir}&$datarootdir&g' ;;
16238 esac
16239 _ACEOF
16240
16241 # Neutralize VPATH when `$srcdir' = `.'.
16242 # Shell code in configure.ac might set extrasub.
16243 # FIXME: do we really want to maintain this feature?
16244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16245 ac_sed_extra="$ac_vpsub
16246 $extrasub
16247 _ACEOF
16248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16249 :t
16250 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16251 s|@configure_input@|$ac_sed_conf_input|;t t
16252 s&@top_builddir@&$ac_top_builddir_sub&;t t
16253 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16254 s&@srcdir@&$ac_srcdir&;t t
16255 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16256 s&@top_srcdir@&$ac_top_srcdir&;t t
16257 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16258 s&@builddir@&$ac_builddir&;t t
16259 s&@abs_builddir@&$ac_abs_builddir&;t t
16260 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16261 s&@INSTALL@&$ac_INSTALL&;t t
16262 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16263 $ac_datarootdir_hack
16264 "
16265 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16266   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16267
16268 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16269   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16270   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16271       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16272   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16273 which seems to be undefined.  Please make sure it is defined" >&5
16274 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16275 which seems to be undefined.  Please make sure it is defined" >&2;}
16276
16277   rm -f "$ac_tmp/stdin"
16278   case $ac_file in
16279   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16280   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16281   esac \
16282   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16283  ;;
16284   :H)
16285   #
16286   # CONFIG_HEADER
16287   #
16288   if test x"$ac_file" != x-; then
16289     {
16290       $as_echo "/* $configure_input  */" \
16291       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16292     } >"$ac_tmp/config.h" \
16293       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16294     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16295       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16296 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16297     else
16298       rm -f "$ac_file"
16299       mv "$ac_tmp/config.h" "$ac_file" \
16300         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16301     fi
16302   else
16303     $as_echo "/* $configure_input  */" \
16304       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16305       || as_fn_error $? "could not create -" "$LINENO" 5
16306   fi
16307 # Compute "$ac_file"'s index in $config_headers.
16308 _am_arg="$ac_file"
16309 _am_stamp_count=1
16310 for _am_header in $config_headers :; do
16311   case $_am_header in
16312     $_am_arg | $_am_arg:* )
16313       break ;;
16314     * )
16315       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16316   esac
16317 done
16318 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16319 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16320          X"$_am_arg" : 'X\(//\)[^/]' \| \
16321          X"$_am_arg" : 'X\(//\)$' \| \
16322          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16323 $as_echo X"$_am_arg" |
16324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16325             s//\1/
16326             q
16327           }
16328           /^X\(\/\/\)[^/].*/{
16329             s//\1/
16330             q
16331           }
16332           /^X\(\/\/\)$/{
16333             s//\1/
16334             q
16335           }
16336           /^X\(\/\).*/{
16337             s//\1/
16338             q
16339           }
16340           s/.*/./; q'`/stamp-h$_am_stamp_count
16341  ;;
16342
16343   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16344 $as_echo "$as_me: executing $ac_file commands" >&6;}
16345  ;;
16346   esac
16347
16348
16349   case $ac_file$ac_mode in
16350     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16351   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16352   # are listed without --file.  Let's play safe and only enable the eval
16353   # if we detect the quoting.
16354   case $CONFIG_FILES in
16355   *\'*) eval set x "$CONFIG_FILES" ;;
16356   *)   set x $CONFIG_FILES ;;
16357   esac
16358   shift
16359   for mf
16360   do
16361     # Strip MF so we end up with the name of the file.
16362     mf=`echo "$mf" | sed -e 's/:.*$//'`
16363     # Check whether this is an Automake generated Makefile or not.
16364     # We used to match only the files named `Makefile.in', but
16365     # some people rename them; so instead we look at the file content.
16366     # Grep'ing the first line is not enough: some people post-process
16367     # each Makefile.in and add a new line on top of each file to say so.
16368     # Grep'ing the whole file is not good either: AIX grep has a line
16369     # limit of 2048, but all sed's we know have understand at least 4000.
16370     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16371       dirpart=`$as_dirname -- "$mf" ||
16372 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16373          X"$mf" : 'X\(//\)[^/]' \| \
16374          X"$mf" : 'X\(//\)$' \| \
16375          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16376 $as_echo X"$mf" |
16377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16378             s//\1/
16379             q
16380           }
16381           /^X\(\/\/\)[^/].*/{
16382             s//\1/
16383             q
16384           }
16385           /^X\(\/\/\)$/{
16386             s//\1/
16387             q
16388           }
16389           /^X\(\/\).*/{
16390             s//\1/
16391             q
16392           }
16393           s/.*/./; q'`
16394     else
16395       continue
16396     fi
16397     # Extract the definition of DEPDIR, am__include, and am__quote
16398     # from the Makefile without running `make'.
16399     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16400     test -z "$DEPDIR" && continue
16401     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16402     test -z "am__include" && continue
16403     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16404     # When using ansi2knr, U may be empty or an underscore; expand it
16405     U=`sed -n 's/^U = //p' < "$mf"`
16406     # Find all dependency output files, they are included files with
16407     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16408     # simplest approach to changing $(DEPDIR) to its actual value in the
16409     # expansion.
16410     for file in `sed -n "
16411       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16412          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16413       # Make sure the directory exists.
16414       test -f "$dirpart/$file" && continue
16415       fdir=`$as_dirname -- "$file" ||
16416 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417          X"$file" : 'X\(//\)[^/]' \| \
16418          X"$file" : 'X\(//\)$' \| \
16419          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16420 $as_echo X"$file" |
16421     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16422             s//\1/
16423             q
16424           }
16425           /^X\(\/\/\)[^/].*/{
16426             s//\1/
16427             q
16428           }
16429           /^X\(\/\/\)$/{
16430             s//\1/
16431             q
16432           }
16433           /^X\(\/\).*/{
16434             s//\1/
16435             q
16436           }
16437           s/.*/./; q'`
16438       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16439       # echo "creating $dirpart/$file"
16440       echo '# dummy' > "$dirpart/$file"
16441     done
16442   done
16443 }
16444  ;;
16445     "libtool":C)
16446
16447     # See if we are running on zsh, and set the options which allow our
16448     # commands through without removal of \ escapes.
16449     if test -n "${ZSH_VERSION+set}" ; then
16450       setopt NO_GLOB_SUBST
16451     fi
16452
16453     cfgfile="${ofile}T"
16454     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16455     $RM "$cfgfile"
16456
16457     cat <<_LT_EOF >> "$cfgfile"
16458 #! $SHELL
16459
16460 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16461 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16462 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16463 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16464 #
16465 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16466 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16467 #                 Foundation, Inc.
16468 #   Written by Gordon Matzigkeit, 1996
16469 #
16470 #   This file is part of GNU Libtool.
16471 #
16472 # GNU Libtool is free software; you can redistribute it and/or
16473 # modify it under the terms of the GNU General Public License as
16474 # published by the Free Software Foundation; either version 2 of
16475 # the License, or (at your option) any later version.
16476 #
16477 # As a special exception to the GNU General Public License,
16478 # if you distribute this file as part of a program or library that
16479 # is built using GNU Libtool, you may include this file under the
16480 # same distribution terms that you use for the rest of that program.
16481 #
16482 # GNU Libtool is distributed in the hope that it will be useful,
16483 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16484 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16485 # GNU General Public License for more details.
16486 #
16487 # You should have received a copy of the GNU General Public License
16488 # along with GNU Libtool; see the file COPYING.  If not, a copy
16489 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16490 # obtained by writing to the Free Software Foundation, Inc.,
16491 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16492
16493
16494 # The names of the tagged configurations supported by this script.
16495 available_tags=""
16496
16497 # ### BEGIN LIBTOOL CONFIG
16498
16499 # Which release of libtool.m4 was used?
16500 macro_version=$macro_version
16501 macro_revision=$macro_revision
16502
16503 # Whether or not to build shared libraries.
16504 build_libtool_libs=$enable_shared
16505
16506 # Whether or not to build static libraries.
16507 build_old_libs=$enable_static
16508
16509 # What type of objects to build.
16510 pic_mode=$pic_mode
16511
16512 # Whether or not to optimize for fast installation.
16513 fast_install=$enable_fast_install
16514
16515 # Shell to use when invoking shell scripts.
16516 SHELL=$lt_SHELL
16517
16518 # An echo program that protects backslashes.
16519 ECHO=$lt_ECHO
16520
16521 # The PATH separator for the build system.
16522 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16523
16524 # The host system.
16525 host_alias=$host_alias
16526 host=$host
16527 host_os=$host_os
16528
16529 # The build system.
16530 build_alias=$build_alias
16531 build=$build
16532 build_os=$build_os
16533
16534 # A sed program that does not truncate output.
16535 SED=$lt_SED
16536
16537 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16538 Xsed="\$SED -e 1s/^X//"
16539
16540 # A grep program that handles long lines.
16541 GREP=$lt_GREP
16542
16543 # An ERE matcher.
16544 EGREP=$lt_EGREP
16545
16546 # A literal string matcher.
16547 FGREP=$lt_FGREP
16548
16549 # A BSD- or MS-compatible name lister.
16550 NM=$lt_NM
16551
16552 # Whether we need soft or hard links.
16553 LN_S=$lt_LN_S
16554
16555 # What is the maximum length of a command?
16556 max_cmd_len=$max_cmd_len
16557
16558 # Object file suffix (normally "o").
16559 objext=$ac_objext
16560
16561 # Executable file suffix (normally "").
16562 exeext=$exeext
16563
16564 # whether the shell understands "unset".
16565 lt_unset=$lt_unset
16566
16567 # turn spaces into newlines.
16568 SP2NL=$lt_lt_SP2NL
16569
16570 # turn newlines into spaces.
16571 NL2SP=$lt_lt_NL2SP
16572
16573 # convert \$build file names to \$host format.
16574 to_host_file_cmd=$lt_cv_to_host_file_cmd
16575
16576 # convert \$build files to toolchain format.
16577 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16578
16579 # An object symbol dumper.
16580 OBJDUMP=$lt_OBJDUMP
16581
16582 # Method to check whether dependent libraries are shared objects.
16583 deplibs_check_method=$lt_deplibs_check_method
16584
16585 # Command to use when deplibs_check_method = "file_magic".
16586 file_magic_cmd=$lt_file_magic_cmd
16587
16588 # How to find potential files when deplibs_check_method = "file_magic".
16589 file_magic_glob=$lt_file_magic_glob
16590
16591 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16592 want_nocaseglob=$lt_want_nocaseglob
16593
16594 # DLL creation program.
16595 DLLTOOL=$lt_DLLTOOL
16596
16597 # Command to associate shared and link libraries.
16598 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16599
16600 # The archiver.
16601 AR=$lt_AR
16602
16603 # Flags to create an archive.
16604 AR_FLAGS=$lt_AR_FLAGS
16605
16606 # How to feed a file listing to the archiver.
16607 archiver_list_spec=$lt_archiver_list_spec
16608
16609 # A symbol stripping program.
16610 STRIP=$lt_STRIP
16611
16612 # Commands used to install an old-style archive.
16613 RANLIB=$lt_RANLIB
16614 old_postinstall_cmds=$lt_old_postinstall_cmds
16615 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16616
16617 # Whether to use a lock for old archive extraction.
16618 lock_old_archive_extraction=$lock_old_archive_extraction
16619
16620 # A C compiler.
16621 LTCC=$lt_CC
16622
16623 # LTCC compiler flags.
16624 LTCFLAGS=$lt_CFLAGS
16625
16626 # Take the output of nm and produce a listing of raw symbols and C names.
16627 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16628
16629 # Transform the output of nm in a proper C declaration.
16630 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16631
16632 # Transform the output of nm in a C name address pair.
16633 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16634
16635 # Transform the output of nm in a C name address pair when lib prefix is needed.
16636 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16637
16638 # Specify filename containing input files for \$NM.
16639 nm_file_list_spec=$lt_nm_file_list_spec
16640
16641 # The root where to search for dependent libraries,and in which our libraries should be installed.
16642 lt_sysroot=$lt_sysroot
16643
16644 # The name of the directory that contains temporary libtool files.
16645 objdir=$objdir
16646
16647 # Used to examine libraries when file_magic_cmd begins with "file".
16648 MAGIC_CMD=$MAGIC_CMD
16649
16650 # Must we lock files when doing compilation?
16651 need_locks=$lt_need_locks
16652
16653 # Manifest tool.
16654 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16655
16656 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16657 DSYMUTIL=$lt_DSYMUTIL
16658
16659 # Tool to change global to local symbols on Mac OS X.
16660 NMEDIT=$lt_NMEDIT
16661
16662 # Tool to manipulate fat objects and archives on Mac OS X.
16663 LIPO=$lt_LIPO
16664
16665 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16666 OTOOL=$lt_OTOOL
16667
16668 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16669 OTOOL64=$lt_OTOOL64
16670
16671 # Old archive suffix (normally "a").
16672 libext=$libext
16673
16674 # Shared library suffix (normally ".so").
16675 shrext_cmds=$lt_shrext_cmds
16676
16677 # The commands to extract the exported symbol list from a shared archive.
16678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16679
16680 # Variables whose values should be saved in libtool wrapper scripts and
16681 # restored at link time.
16682 variables_saved_for_relink=$lt_variables_saved_for_relink
16683
16684 # Do we need the "lib" prefix for modules?
16685 need_lib_prefix=$need_lib_prefix
16686
16687 # Do we need a version for libraries?
16688 need_version=$need_version
16689
16690 # Library versioning type.
16691 version_type=$version_type
16692
16693 # Shared library runtime path variable.
16694 runpath_var=$runpath_var
16695
16696 # Shared library path variable.
16697 shlibpath_var=$shlibpath_var
16698
16699 # Is shlibpath searched before the hard-coded library search path?
16700 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16701
16702 # Format of library name prefix.
16703 libname_spec=$lt_libname_spec
16704
16705 # List of archive names.  First name is the real one, the rest are links.
16706 # The last name is the one that the linker finds with -lNAME
16707 library_names_spec=$lt_library_names_spec
16708
16709 # The coded name of the library, if different from the real name.
16710 soname_spec=$lt_soname_spec
16711
16712 # Permission mode override for installation of shared libraries.
16713 install_override_mode=$lt_install_override_mode
16714
16715 # Command to use after installation of a shared archive.
16716 postinstall_cmds=$lt_postinstall_cmds
16717
16718 # Command to use after uninstallation of a shared archive.
16719 postuninstall_cmds=$lt_postuninstall_cmds
16720
16721 # Commands used to finish a libtool library installation in a directory.
16722 finish_cmds=$lt_finish_cmds
16723
16724 # As "finish_cmds", except a single script fragment to be evaled but
16725 # not shown.
16726 finish_eval=$lt_finish_eval
16727
16728 # Whether we should hardcode library paths into libraries.
16729 hardcode_into_libs=$hardcode_into_libs
16730
16731 # Compile-time system search path for libraries.
16732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16733
16734 # Run-time system search path for libraries.
16735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16736
16737 # Whether dlopen is supported.
16738 dlopen_support=$enable_dlopen
16739
16740 # Whether dlopen of programs is supported.
16741 dlopen_self=$enable_dlopen_self
16742
16743 # Whether dlopen of statically linked programs is supported.
16744 dlopen_self_static=$enable_dlopen_self_static
16745
16746 # Commands to strip libraries.
16747 old_striplib=$lt_old_striplib
16748 striplib=$lt_striplib
16749
16750
16751 # The linker used to build libraries.
16752 LD=$lt_LD
16753
16754 # How to create reloadable object files.
16755 reload_flag=$lt_reload_flag
16756 reload_cmds=$lt_reload_cmds
16757
16758 # Commands used to build an old-style archive.
16759 old_archive_cmds=$lt_old_archive_cmds
16760
16761 # A language specific compiler.
16762 CC=$lt_compiler
16763
16764 # Is the compiler the GNU compiler?
16765 with_gcc=$GCC
16766
16767 # Compiler flag to turn off builtin functions.
16768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16769
16770 # Additional compiler flags for building library objects.
16771 pic_flag=$lt_lt_prog_compiler_pic
16772
16773 # How to pass a linker flag through the compiler.
16774 wl=$lt_lt_prog_compiler_wl
16775
16776 # Compiler flag to prevent dynamic linking.
16777 link_static_flag=$lt_lt_prog_compiler_static
16778
16779 # Does compiler simultaneously support -c and -o options?
16780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16781
16782 # Whether or not to add -lc for building shared libraries.
16783 build_libtool_need_lc=$archive_cmds_need_lc
16784
16785 # Whether or not to disallow shared libs when runtime libs are static.
16786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16787
16788 # Compiler flag to allow reflexive dlopens.
16789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16790
16791 # Compiler flag to generate shared objects directly from archives.
16792 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16793
16794 # Whether the compiler copes with passing no objects directly.
16795 compiler_needs_object=$lt_compiler_needs_object
16796
16797 # Create an old-style archive from a shared archive.
16798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16799
16800 # Create a temporary old-style archive to link instead of a shared archive.
16801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16802
16803 # Commands used to build a shared archive.
16804 archive_cmds=$lt_archive_cmds
16805 archive_expsym_cmds=$lt_archive_expsym_cmds
16806
16807 # Commands used to build a loadable module if different from building
16808 # a shared archive.
16809 module_cmds=$lt_module_cmds
16810 module_expsym_cmds=$lt_module_expsym_cmds
16811
16812 # Whether we are building with GNU ld or not.
16813 with_gnu_ld=$lt_with_gnu_ld
16814
16815 # Flag that allows shared libraries with undefined symbols to be built.
16816 allow_undefined_flag=$lt_allow_undefined_flag
16817
16818 # Flag that enforces no undefined symbols.
16819 no_undefined_flag=$lt_no_undefined_flag
16820
16821 # Flag to hardcode \$libdir into a binary during linking.
16822 # This must work even if \$libdir does not exist
16823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16824
16825 # Whether we need a single "-rpath" flag with a separated argument.
16826 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16827
16828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16829 # DIR into the resulting binary.
16830 hardcode_direct=$hardcode_direct
16831
16832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16833 # DIR into the resulting binary and the resulting library dependency is
16834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16835 # library is relocated.
16836 hardcode_direct_absolute=$hardcode_direct_absolute
16837
16838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16839 # into the resulting binary.
16840 hardcode_minus_L=$hardcode_minus_L
16841
16842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16843 # into the resulting binary.
16844 hardcode_shlibpath_var=$hardcode_shlibpath_var
16845
16846 # Set to "yes" if building a shared library automatically hardcodes DIR
16847 # into the library and all subsequent libraries and executables linked
16848 # against it.
16849 hardcode_automatic=$hardcode_automatic
16850
16851 # Set to yes if linker adds runtime paths of dependent libraries
16852 # to runtime path list.
16853 inherit_rpath=$inherit_rpath
16854
16855 # Whether libtool must link a program against all its dependency libraries.
16856 link_all_deplibs=$link_all_deplibs
16857
16858 # Set to "yes" if exported symbols are required.
16859 always_export_symbols=$always_export_symbols
16860
16861 # The commands to list exported symbols.
16862 export_symbols_cmds=$lt_export_symbols_cmds
16863
16864 # Symbols that should not be listed in the preloaded symbols.
16865 exclude_expsyms=$lt_exclude_expsyms
16866
16867 # Symbols that must always be exported.
16868 include_expsyms=$lt_include_expsyms
16869
16870 # Commands necessary for linking programs (against libraries) with templates.
16871 prelink_cmds=$lt_prelink_cmds
16872
16873 # Commands necessary for finishing linking programs.
16874 postlink_cmds=$lt_postlink_cmds
16875
16876 # Specify filename containing input files.
16877 file_list_spec=$lt_file_list_spec
16878
16879 # How to hardcode a shared library path into an executable.
16880 hardcode_action=$hardcode_action
16881
16882 # ### END LIBTOOL CONFIG
16883
16884 _LT_EOF
16885
16886   case $host_os in
16887   aix3*)
16888     cat <<\_LT_EOF >> "$cfgfile"
16889 # AIX sometimes has problems with the GCC collect2 program.  For some
16890 # reason, if we set the COLLECT_NAMES environment variable, the problems
16891 # vanish in a puff of smoke.
16892 if test "X${COLLECT_NAMES+set}" != Xset; then
16893   COLLECT_NAMES=
16894   export COLLECT_NAMES
16895 fi
16896 _LT_EOF
16897     ;;
16898   esac
16899
16900
16901 ltmain="$ac_aux_dir/ltmain.sh"
16902
16903
16904   # We use sed instead of cat because bash on DJGPP gets confused if
16905   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16906   # text mode, it properly converts lines to CR/LF.  This bash problem
16907   # is reportedly fixed, but why not run on old versions too?
16908   sed '$q' "$ltmain" >> "$cfgfile" \
16909      || (rm -f "$cfgfile"; exit 1)
16910
16911   if test x"$xsi_shell" = xyes; then
16912   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16913 func_dirname ()\
16914 {\
16915 \    case ${1} in\
16916 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16917 \      *  ) func_dirname_result="${3}" ;;\
16918 \    esac\
16919 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16920   && mv -f "$cfgfile.tmp" "$cfgfile" \
16921     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16922 test 0 -eq $? || _lt_function_replace_fail=:
16923
16924
16925   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16926 func_basename ()\
16927 {\
16928 \    func_basename_result="${1##*/}"\
16929 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16930   && mv -f "$cfgfile.tmp" "$cfgfile" \
16931     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16932 test 0 -eq $? || _lt_function_replace_fail=:
16933
16934
16935   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16936 func_dirname_and_basename ()\
16937 {\
16938 \    case ${1} in\
16939 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16940 \      *  ) func_dirname_result="${3}" ;;\
16941 \    esac\
16942 \    func_basename_result="${1##*/}"\
16943 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16944   && mv -f "$cfgfile.tmp" "$cfgfile" \
16945     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16946 test 0 -eq $? || _lt_function_replace_fail=:
16947
16948
16949   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16950 func_stripname ()\
16951 {\
16952 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16953 \    # positional parameters, so assign one to ordinary parameter first.\
16954 \    func_stripname_result=${3}\
16955 \    func_stripname_result=${func_stripname_result#"${1}"}\
16956 \    func_stripname_result=${func_stripname_result%"${2}"}\
16957 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16958   && mv -f "$cfgfile.tmp" "$cfgfile" \
16959     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16960 test 0 -eq $? || _lt_function_replace_fail=:
16961
16962
16963   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16964 func_split_long_opt ()\
16965 {\
16966 \    func_split_long_opt_name=${1%%=*}\
16967 \    func_split_long_opt_arg=${1#*=}\
16968 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16969   && mv -f "$cfgfile.tmp" "$cfgfile" \
16970     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16971 test 0 -eq $? || _lt_function_replace_fail=:
16972
16973
16974   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16975 func_split_short_opt ()\
16976 {\
16977 \    func_split_short_opt_arg=${1#??}\
16978 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16979 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16980   && mv -f "$cfgfile.tmp" "$cfgfile" \
16981     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16982 test 0 -eq $? || _lt_function_replace_fail=:
16983
16984
16985   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16986 func_lo2o ()\
16987 {\
16988 \    case ${1} in\
16989 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16990 \      *)    func_lo2o_result=${1} ;;\
16991 \    esac\
16992 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16993   && mv -f "$cfgfile.tmp" "$cfgfile" \
16994     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16995 test 0 -eq $? || _lt_function_replace_fail=:
16996
16997
16998   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16999 func_xform ()\
17000 {\
17001     func_xform_result=${1%.*}.lo\
17002 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17003   && mv -f "$cfgfile.tmp" "$cfgfile" \
17004     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17005 test 0 -eq $? || _lt_function_replace_fail=:
17006
17007
17008   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17009 func_arith ()\
17010 {\
17011     func_arith_result=$(( $* ))\
17012 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17013   && mv -f "$cfgfile.tmp" "$cfgfile" \
17014     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17015 test 0 -eq $? || _lt_function_replace_fail=:
17016
17017
17018   sed -e '/^func_len ()$/,/^} # func_len /c\
17019 func_len ()\
17020 {\
17021     func_len_result=${#1}\
17022 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17023   && mv -f "$cfgfile.tmp" "$cfgfile" \
17024     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17025 test 0 -eq $? || _lt_function_replace_fail=:
17026
17027 fi
17028
17029 if test x"$lt_shell_append" = xyes; then
17030   sed -e '/^func_append ()$/,/^} # func_append /c\
17031 func_append ()\
17032 {\
17033     eval "${1}+=\\${2}"\
17034 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17035   && mv -f "$cfgfile.tmp" "$cfgfile" \
17036     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17037 test 0 -eq $? || _lt_function_replace_fail=:
17038
17039
17040   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17041 func_append_quoted ()\
17042 {\
17043 \    func_quote_for_eval "${2}"\
17044 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17045 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17046   && mv -f "$cfgfile.tmp" "$cfgfile" \
17047     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17048 test 0 -eq $? || _lt_function_replace_fail=:
17049
17050
17051   # Save a `func_append' function call where possible by direct use of '+='
17052   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17053     && mv -f "$cfgfile.tmp" "$cfgfile" \
17054       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17055   test 0 -eq $? || _lt_function_replace_fail=:
17056 else
17057   # Save a `func_append' function call even when '+=' is not available
17058   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17059     && mv -f "$cfgfile.tmp" "$cfgfile" \
17060       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17061   test 0 -eq $? || _lt_function_replace_fail=:
17062 fi
17063
17064 if test x"$_lt_function_replace_fail" = x":"; then
17065   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17066 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17067 fi
17068
17069
17070    mv -f "$cfgfile" "$ofile" ||
17071     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17072   chmod +x "$ofile"
17073
17074  ;;
17075     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17076         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17077       esac ;;
17078     "po/stamp-it":C)
17079     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17080        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17081     fi
17082     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17083     >"po/stamp-it.tmp"
17084     sed '/^#/d
17085          s/^[[].*] *//
17086          /^[    ]*$/d
17087         '"s|^|  $ac_top_srcdir/|" \
17088       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17089
17090     sed '/^POTFILES =/,/[^\\]$/ {
17091                 /^POTFILES =/!d
17092                 r po/POTFILES
17093           }
17094          ' "po/Makefile.in" >"po/Makefile"
17095     rm -f "po/Makefile.tmp"
17096     mv "po/stamp-it.tmp" "po/stamp-it"
17097    ;;
17098
17099   esac
17100 done # for ac_tag
17101
17102
17103 as_fn_exit 0
17104 _ACEOF
17105 ac_clean_files=$ac_clean_files_save
17106
17107 test $ac_write_fail = 0 ||
17108   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17109
17110
17111 # configure is writing to config.log, and then calls config.status.
17112 # config.status does its own redirection, appending to config.log.
17113 # Unfortunately, on DOS this fails, as config.log is still kept open
17114 # by configure, so config.status won't be able to write to it; its
17115 # output is simply discarded.  So we exec the FD to /dev/null,
17116 # effectively closing config.log, so it can be properly (re)opened and
17117 # appended to by config.status.  When coming back to configure, we
17118 # need to make the FD available again.
17119 if test "$no_create" != yes; then
17120   ac_cs_success=:
17121   ac_config_status_args=
17122   test "$silent" = yes &&
17123     ac_config_status_args="$ac_config_status_args --quiet"
17124   exec 5>/dev/null
17125   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17126   exec 5>>config.log
17127   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17128   # would make configure fail if this is the last instruction.
17129   $ac_cs_success || as_fn_exit 1
17130 fi
17131 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17132   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17133 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17134 fi
17135
17136
17137 echo ""
17138 echo     "  Proxy support:     ${proxy_support:-no}"
17139 echo     "  TLS support:       ${tls_support:-no}"
17140 if test "$tls_support" != "no"; then
17141     echo "  PKCS#11 Support:   $pkcs11_support"
17142     echo "  TLS CA file:       ${with_ca_certificates:-(none)}"
17143     if test -n "$with_ca_certificates"; then
17144         if ! test -f "$with_ca_certificates"; then
17145             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified certificate authority file '$with_ca_certificates' does not exist" >&5
17146 $as_echo "$as_me: WARNING: Specified certificate authority file '$with_ca_certificates' does not exist" >&2;}
17147         fi
17148     fi
17149 fi