fix perl
[platform/upstream/libxml2.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in #(
147   *posix*) :
148     set -o posix ;; #(
149   *) :
150      ;;
151 esac
152 fi
153 "
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168   exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     PATH=/empty FPATH=/empty; export PATH FPATH
181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184   if (eval "$as_required") 2>/dev/null; then :
185   as_have_required=yes
186 else
187   as_have_required=no
188 fi
189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
191 else
192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 do
196   IFS=$as_save_IFS
197   test -z "$as_dir" && as_dir=.
198   as_found=:
199   case $as_dir in #(
200          /*)
201            for as_base in sh bash ksh sh5; do
202              # Try only shells that exist, to save several forks.
203              as_shell=$as_dir/$as_base
204              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206   CONFIG_SHELL=$as_shell as_have_required=yes
207                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   break 2
209 fi
210 fi
211            done;;
212        esac
213   as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217   CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
220
221
222       if test "x$CONFIG_SHELL" != x; then :
223   # We cannot yet assume a decent shell, so we have to provide a
224         # neutralization value for shells without unset; and this also
225         # works around shells that cannot unset nonexistent variables.
226         # Preserve -v and -x to the replacement shell.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         case $- in # ((((
232           *v*x* | *x*v* ) as_opts=-vx ;;
233           *v* ) as_opts=-v ;;
234           *x* ) as_opts=-x ;;
235           * ) as_opts= ;;
236         esac
237         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi
239
240     if test x$as_have_required = xno; then :
241   $as_echo "$0: This script requires a shell more modern than all"
242   $as_echo "$0: the shells that I found on your system."
243   if test x${ZSH_VERSION+set} = xset ; then
244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246   else
247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251   fi
252   exit 1
253 fi
254 fi
255 fi
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
261
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
269 {
270   { eval $1=; unset $1;}
271 }
272 as_unset=as_fn_unset
273
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
278 {
279   return $1
280 } # as_fn_set_status
281
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
286 {
287   set +e
288   as_fn_set_status $1
289   exit $1
290 } # as_fn_exit
291
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
296 {
297
298   case $as_dir in #(
299   -*) as_dir=./$as_dir;;
300   esac
301   test -d "$as_dir" || eval $as_mkdir_p || {
302     as_dirs=
303     while :; do
304       case $as_dir in #(
305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306       *) as_qdir=$as_dir;;
307       esac
308       as_dirs="'$as_qdir' $as_dirs"
309       as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311          X"$as_dir" : 'X\(//\)[^/]' \| \
312          X"$as_dir" : 'X\(//\)$' \| \
313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)[^/].*/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)$/{
324             s//\1/
325             q
326           }
327           /^X\(\/\).*/{
328             s//\1/
329             q
330           }
331           s/.*/./; q'`
332       test -d "$as_dir" && break
333     done
334     test -z "$as_dirs" || eval "mkdir $as_dirs"
335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
337
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346   eval 'as_fn_append ()
347   {
348     eval $1+=\$2
349   }'
350 else
351   as_fn_append ()
352   {
353     eval $1=\$$1\$2
354   }
355 fi # as_fn_append
356
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363   eval 'as_fn_arith ()
364   {
365     as_val=$(( $* ))
366   }'
367 else
368   as_fn_arith ()
369   {
370     as_val=`expr "$@" || test $? -eq 1`
371   }
372 fi # as_fn_arith
373
374
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
381 {
382   as_status=$1; test $as_status -eq 0 && as_status=1
383   if test "$4"; then
384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386   fi
387   $as_echo "$as_me: error: $2" >&2
388   as_fn_exit $as_status
389 } # as_fn_error
390
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392    test "X`expr 00001 : '.*\(...\)'`" = X001; then
393   as_expr=expr
394 else
395   as_expr=false
396 fi
397
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399   as_basename=basename
400 else
401   as_basename=false
402 fi
403
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405   as_dirname=dirname
406 else
407   as_dirname=false
408 fi
409
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412          X"$0" : 'X\(//\)$' \| \
413          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415     sed '/^.*\/\([^/][^/]*\)\/*$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\/\)$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\).*/{
424             s//\1/
425             q
426           }
427           s/.*/./; q'`
428
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
435
436
437   as_lineno_1=$LINENO as_lineno_1a=$LINENO
438   as_lineno_2=$LINENO as_lineno_2a=$LINENO
439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442   sed -n '
443     p
444     /[$]LINENO/=
445   ' <$as_myself |
446     sed '
447       s/[$]LINENO.*/&-/
448       t lineno
449       b
450       :lineno
451       N
452       :loop
453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454       t loop
455       s/-\n.*//
456     ' >$as_me.lineno &&
457   chmod +x "$as_me.lineno" ||
458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
460   # Don't try to exec as it changes $[0], causing all sort of problems
461   # (the dirname of $[0] is not the place where we might find the
462   # original and so on.  Autoconf is especially sensitive to this).
463   . "./$as_me.lineno"
464   # Exit status is that of the last command.
465   exit
466 }
467
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471   case `echo 'xy\c'` in
472   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473   xy)  ECHO_C='\c';;
474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475        ECHO_T=' ';;
476   esac;;
477 *)
478   ECHO_N='-n';;
479 esac
480
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483   rm -f conf$$.dir/conf$$.file
484 else
485   rm -f conf$$.dir
486   mkdir conf$$.dir 2>/dev/null
487 fi
488 if (echo >conf$$.file) 2>/dev/null; then
489   if ln -s conf$$.file conf$$ 2>/dev/null; then
490     as_ln_s='ln -s'
491     # ... but there are two gotchas:
492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494     # In both cases, we have to default to `cp -p'.
495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496       as_ln_s='cp -p'
497   elif ln conf$$.file conf$$ 2>/dev/null; then
498     as_ln_s=ln
499   else
500     as_ln_s='cp -p'
501   fi
502 else
503   as_ln_s='cp -p'
504 fi
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
507
508 if mkdir -p . 2>/dev/null; then
509   as_mkdir_p='mkdir -p "$as_dir"'
510 else
511   test -d ./-p && rmdir ./-p
512   as_mkdir_p=false
513 fi
514
515 if test -x / >/dev/null 2>&1; then
516   as_test_x='test -x'
517 else
518   if ls -dL / >/dev/null 2>&1; then
519     as_ls_L_option=L
520   else
521     as_ls_L_option=
522   fi
523   as_test_x='
524     eval sh -c '\''
525       if test -d "$1"; then
526         test -d "$1/.";
527       else
528         case $1 in #(
529         -*)set "./$1";;
530         esac;
531         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532         ???[sx]*):;;*)false;;esac;fi
533     '\'' sh
534   '
535 fi
536 as_executable_p=$as_test_x
537
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
544 SHELL=${CONFIG_SHELL-/bin/sh}
545
546
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
549
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
555 #
556 # Initializations.
557 #
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
566
567 # Identity of this package.
568 PACKAGE_NAME=
569 PACKAGE_TARNAME=
570 PACKAGE_VERSION=
571 PACKAGE_STRING=
572 PACKAGE_BUGREPORT=
573 PACKAGE_URL=
574
575 ac_unique_file="entities.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
578 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
581 #endif
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
584 #endif
585 #ifdef STDC_HEADERS
586 # include <stdlib.h>
587 # include <stddef.h>
588 #else
589 # ifdef HAVE_STDLIB_H
590 #  include <stdlib.h>
591 # endif
592 #endif
593 #ifdef HAVE_STRING_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #  include <memory.h>
596 # endif
597 # include <string.h>
598 #endif
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
601 #endif
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
604 #endif
605 #ifdef HAVE_STDINT_H
606 # include <stdint.h>
607 #endif
608 #ifdef HAVE_UNISTD_H
609 # include <unistd.h>
610 #endif"
611
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIBOBJS
616 PYTHON_TESTS
617 RELDATE
618 RDL_LIBS
619 M_LIBS
620 PYTHON_SITE_PACKAGES
621 PYTHON_INCLUDES
622 PYTHON_VERSION
623 HAVE_ISINF
624 HAVE_ISNAN
625 XML_INCLUDEDIR
626 ICONV_LIBS
627 XML_LIBTOOLLIBS
628 XML_LIBS
629 XML_LIBDIR
630 XML_CFLAGS
631 CYGWIN_EXTRA_PYTHON_LIBADD
632 CYGWIN_EXTRA_LDFLAGS
633 WIN32_EXTRA_PYTHON_LIBADD
634 WIN32_EXTRA_LDFLAGS
635 WIN32_EXTRA_LIBADD
636 WITH_RUN_DEBUG
637 WITH_MEM_DEBUG
638 TEST_DEBUG
639 DEBUG_OBJ
640 WITH_DEBUG
641 TEST_REGEXPS
642 WITH_REGEXPS
643 TEST_SCHEMAS
644 WITH_SCHEMAS
645 TEST_SCHEMATRON
646 WITH_SCHEMATRON
647 WITH_ISO8859X
648 WITH_ICU
649 WITH_ICONV
650 WITH_OUTPUT
651 TEST_XPATH
652 XPATH_OBJ
653 WITH_XPATH
654 TEST_XINCLUDE
655 XINCLUDE_OBJ
656 WITH_XINCLUDE
657 TEST_C14N
658 C14N_OBJ
659 WITH_C14N
660 TEST_XPTR
661 XPTR_OBJ
662 WITH_XPTR
663 DOCB_OBJ
664 WITH_DOCB
665 TEST_CATALOG
666 CATALOG_OBJ
667 WITH_CATALOG
668 TEST_VTIME
669 TEST_VALID
670 WITH_VALID
671 TEST_PHTML
672 TEST_HTML
673 HTML_OBJ
674 WITH_HTML
675 TEST_PUSH
676 WITH_PUSH
677 TEST_SAX
678 WITH_SAX1
679 TEST_PATTERN
680 WITH_PATTERN
681 WITH_WRITER
682 READER_TEST
683 WITH_READER
684 WITH_LEGACY
685 HTTP_OBJ
686 WITH_HTTP
687 FTP_OBJ
688 WITH_FTP
689 WITH_TREE
690 THREADS_W32
691 TEST_THREADS
692 THREAD_CFLAGS
693 WITH_THREADS
694 BASE_THREAD_LIBS
695 THREAD_LIBS
696 WITH_TRIO
697 WITH_TRIO_SOURCES_FALSE
698 WITH_TRIO_SOURCES_TRUE
699 STATIC_BINARIES
700 TEST_MODULES
701 MODULE_EXTENSION
702 MODULE_PLATFORM_LIBS
703 WITH_MODULES
704 PYTHON_LIBS
705 PYTHON_SUBDIR
706 pythondir
707 WITH_PYTHON_FALSE
708 WITH_PYTHON_TRUE
709 PYTHON
710 WITH_LZMA
711 LZMA_LIBS
712 LZMA_CFLAGS
713 WITH_ZLIB
714 Z_LIBS
715 Z_CFLAGS
716 REBUILD_DOCS_FALSE
717 REBUILD_DOCS_TRUE
718 HTML_DIR
719 USE_VERSION_SCRIPT_FALSE
720 USE_VERSION_SCRIPT_TRUE
721 VERSION_SCRIPT_FLAGS
722 OTOOL64
723 OTOOL
724 LIPO
725 NMEDIT
726 DSYMUTIL
727 MANIFEST_TOOL
728 RANLIB
729 ac_ct_AR
730 AR
731 LN_S
732 NM
733 ac_ct_DUMPBIN
734 DUMPBIN
735 LD
736 FGREP
737 EGREP
738 GREP
739 SED
740 LIBTOOL
741 OBJDUMP
742 DLLTOOL
743 AS
744 XSLTPROC
745 XMLLINT
746 WGET
747 PERL
748 TAR
749 MV
750 RM
751 CPP
752 am__fastdepCC_FALSE
753 am__fastdepCC_TRUE
754 CCDEPMODE
755 AMDEPBACKSLASH
756 AMDEP_FALSE
757 AMDEP_TRUE
758 am__quote
759 am__include
760 DEPDIR
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
767 CC
768 AM_BACKSLASH
769 AM_DEFAULT_VERBOSITY
770 am__untar
771 am__tar
772 AMTAR
773 am__leading_dot
774 SET_MAKE
775 AWK
776 mkdir_p
777 MKDIR_P
778 INSTALL_STRIP_PROGRAM
779 STRIP
780 install_sh
781 MAKEINFO
782 AUTOHEADER
783 AUTOMAKE
784 AUTOCONF
785 ACLOCAL
786 VERSION
787 PACKAGE
788 CYGPATH_W
789 am__isrc
790 INSTALL_DATA
791 INSTALL_SCRIPT
792 INSTALL_PROGRAM
793 LIBXML_VERSION_EXTRA
794 LIBXML_VERSION_NUMBER
795 LIBXML_VERSION_INFO
796 LIBXML_VERSION
797 LIBXML_MICRO_VERSION
798 LIBXML_MINOR_VERSION
799 LIBXML_MAJOR_VERSION
800 host_os
801 host_vendor
802 host_cpu
803 host
804 build_os
805 build_vendor
806 build_cpu
807 build
808 target_alias
809 host_alias
810 build_alias
811 LIBS
812 ECHO_T
813 ECHO_N
814 ECHO_C
815 DEFS
816 mandir
817 localedir
818 libdir
819 psdir
820 pdfdir
821 dvidir
822 htmldir
823 infodir
824 docdir
825 oldincludedir
826 includedir
827 localstatedir
828 sharedstatedir
829 sysconfdir
830 datadir
831 datarootdir
832 libexecdir
833 sbindir
834 bindir
835 program_transform_name
836 prefix
837 exec_prefix
838 PACKAGE_URL
839 PACKAGE_BUGREPORT
840 PACKAGE_STRING
841 PACKAGE_VERSION
842 PACKAGE_TARNAME
843 PACKAGE_NAME
844 PATH_SEPARATOR
845 SHELL'
846 ac_subst_files=''
847 ac_user_opts='
848 enable_option_checking
849 enable_silent_rules
850 enable_dependency_tracking
851 enable_shared
852 enable_static
853 with_pic
854 enable_fast_install
855 with_gnu_ld
856 with_sysroot
857 enable_libtool_lock
858 with_c14n
859 with_catalog
860 with_debug
861 with_docbook
862 with_fexceptions
863 with_ftp
864 with_history
865 with_html
866 with_html_dir
867 with_html_subdir
868 with_http
869 with_iconv
870 with_icu
871 with_iso8859x
872 with_legacy
873 with_mem_debug
874 with_minimum
875 with_output
876 with_pattern
877 with_push
878 with_python
879 with_reader
880 with_readline
881 with_regexps
882 with_run_debug
883 with_sax1
884 with_schemas
885 with_schematron
886 with_threads
887 with_thread_alloc
888 with_tree
889 with_valid
890 with_writer
891 with_xinclude
892 with_xpath
893 with_xptr
894 with_modules
895 with_zlib
896 with_lzma
897 with_coverage
898 enable_rebuild_docs
899 enable_ipv6
900 '
901       ac_precious_vars='build_alias
902 host_alias
903 target_alias
904 CC
905 CFLAGS
906 LDFLAGS
907 LIBS
908 CPPFLAGS
909 CPP'
910
911
912 # Initialize some variables set by options.
913 ac_init_help=
914 ac_init_version=false
915 ac_unrecognized_opts=
916 ac_unrecognized_sep=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
919 cache_file=/dev/null
920 exec_prefix=NONE
921 no_create=
922 no_recursion=
923 prefix=NONE
924 program_prefix=NONE
925 program_suffix=NONE
926 program_transform_name=s,x,x,
927 silent=
928 site=
929 srcdir=
930 verbose=
931 x_includes=NONE
932 x_libraries=NONE
933
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE}'
951 infodir='${datarootdir}/info'
952 htmldir='${docdir}'
953 dvidir='${docdir}'
954 pdfdir='${docdir}'
955 psdir='${docdir}'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
959
960 ac_prev=
961 ac_dashdash=
962 for ac_option
963 do
964   # If the previous option needs an argument, assign it.
965   if test -n "$ac_prev"; then
966     eval $ac_prev=\$ac_option
967     ac_prev=
968     continue
969   fi
970
971   case $ac_option in
972   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973   *=)   ac_optarg= ;;
974   *)    ac_optarg=yes ;;
975   esac
976
977   # Accept the important Cygnus configure options, so we can diagnose typos.
978
979   case $ac_dashdash$ac_option in
980   --)
981     ac_dashdash=yes ;;
982
983   -bindir | --bindir | --bindi | --bind | --bin | --bi)
984     ac_prev=bindir ;;
985   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
986     bindir=$ac_optarg ;;
987
988   -build | --build | --buil | --bui | --bu)
989     ac_prev=build_alias ;;
990   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
991     build_alias=$ac_optarg ;;
992
993   -cache-file | --cache-file | --cache-fil | --cache-fi \
994   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
995     ac_prev=cache_file ;;
996   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
997   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
998     cache_file=$ac_optarg ;;
999
1000   --config-cache | -C)
1001     cache_file=config.cache ;;
1002
1003   -datadir | --datadir | --datadi | --datad)
1004     ac_prev=datadir ;;
1005   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1006     datadir=$ac_optarg ;;
1007
1008   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1009   | --dataroo | --dataro | --datar)
1010     ac_prev=datarootdir ;;
1011   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1012   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1013     datarootdir=$ac_optarg ;;
1014
1015   -disable-* | --disable-*)
1016     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017     # Reject names that are not valid shell variable names.
1018     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019       as_fn_error $? "invalid feature name: $ac_useropt"
1020     ac_useropt_orig=$ac_useropt
1021     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022     case $ac_user_opts in
1023       *"
1024 "enable_$ac_useropt"
1025 "*) ;;
1026       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1027          ac_unrecognized_sep=', ';;
1028     esac
1029     eval enable_$ac_useropt=no ;;
1030
1031   -docdir | --docdir | --docdi | --doc | --do)
1032     ac_prev=docdir ;;
1033   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1034     docdir=$ac_optarg ;;
1035
1036   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1037     ac_prev=dvidir ;;
1038   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1039     dvidir=$ac_optarg ;;
1040
1041   -enable-* | --enable-*)
1042     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1043     # Reject names that are not valid shell variable names.
1044     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045       as_fn_error $? "invalid feature name: $ac_useropt"
1046     ac_useropt_orig=$ac_useropt
1047     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048     case $ac_user_opts in
1049       *"
1050 "enable_$ac_useropt"
1051 "*) ;;
1052       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1053          ac_unrecognized_sep=', ';;
1054     esac
1055     eval enable_$ac_useropt=\$ac_optarg ;;
1056
1057   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1058   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1059   | --exec | --exe | --ex)
1060     ac_prev=exec_prefix ;;
1061   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1062   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1063   | --exec=* | --exe=* | --ex=*)
1064     exec_prefix=$ac_optarg ;;
1065
1066   -gas | --gas | --ga | --g)
1067     # Obsolete; use --with-gas.
1068     with_gas=yes ;;
1069
1070   -help | --help | --hel | --he | -h)
1071     ac_init_help=long ;;
1072   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1073     ac_init_help=recursive ;;
1074   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1075     ac_init_help=short ;;
1076
1077   -host | --host | --hos | --ho)
1078     ac_prev=host_alias ;;
1079   -host=* | --host=* | --hos=* | --ho=*)
1080     host_alias=$ac_optarg ;;
1081
1082   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1083     ac_prev=htmldir ;;
1084   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1085   | --ht=*)
1086     htmldir=$ac_optarg ;;
1087
1088   -includedir | --includedir | --includedi | --included | --include \
1089   | --includ | --inclu | --incl | --inc)
1090     ac_prev=includedir ;;
1091   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1092   | --includ=* | --inclu=* | --incl=* | --inc=*)
1093     includedir=$ac_optarg ;;
1094
1095   -infodir | --infodir | --infodi | --infod | --info | --inf)
1096     ac_prev=infodir ;;
1097   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1098     infodir=$ac_optarg ;;
1099
1100   -libdir | --libdir | --libdi | --libd)
1101     ac_prev=libdir ;;
1102   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1103     libdir=$ac_optarg ;;
1104
1105   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1106   | --libexe | --libex | --libe)
1107     ac_prev=libexecdir ;;
1108   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1109   | --libexe=* | --libex=* | --libe=*)
1110     libexecdir=$ac_optarg ;;
1111
1112   -localedir | --localedir | --localedi | --localed | --locale)
1113     ac_prev=localedir ;;
1114   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1115     localedir=$ac_optarg ;;
1116
1117   -localstatedir | --localstatedir | --localstatedi | --localstated \
1118   | --localstate | --localstat | --localsta | --localst | --locals)
1119     ac_prev=localstatedir ;;
1120   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1121   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1122     localstatedir=$ac_optarg ;;
1123
1124   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1125     ac_prev=mandir ;;
1126   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1127     mandir=$ac_optarg ;;
1128
1129   -nfp | --nfp | --nf)
1130     # Obsolete; use --without-fp.
1131     with_fp=no ;;
1132
1133   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1134   | --no-cr | --no-c | -n)
1135     no_create=yes ;;
1136
1137   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1138   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1139     no_recursion=yes ;;
1140
1141   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1142   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1143   | --oldin | --oldi | --old | --ol | --o)
1144     ac_prev=oldincludedir ;;
1145   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1146   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1147   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1148     oldincludedir=$ac_optarg ;;
1149
1150   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1151     ac_prev=prefix ;;
1152   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1153     prefix=$ac_optarg ;;
1154
1155   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1156   | --program-pre | --program-pr | --program-p)
1157     ac_prev=program_prefix ;;
1158   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1159   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1160     program_prefix=$ac_optarg ;;
1161
1162   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1163   | --program-suf | --program-su | --program-s)
1164     ac_prev=program_suffix ;;
1165   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1166   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1167     program_suffix=$ac_optarg ;;
1168
1169   -program-transform-name | --program-transform-name \
1170   | --program-transform-nam | --program-transform-na \
1171   | --program-transform-n | --program-transform- \
1172   | --program-transform | --program-transfor \
1173   | --program-transfo | --program-transf \
1174   | --program-trans | --program-tran \
1175   | --progr-tra | --program-tr | --program-t)
1176     ac_prev=program_transform_name ;;
1177   -program-transform-name=* | --program-transform-name=* \
1178   | --program-transform-nam=* | --program-transform-na=* \
1179   | --program-transform-n=* | --program-transform-=* \
1180   | --program-transform=* | --program-transfor=* \
1181   | --program-transfo=* | --program-transf=* \
1182   | --program-trans=* | --program-tran=* \
1183   | --progr-tra=* | --program-tr=* | --program-t=*)
1184     program_transform_name=$ac_optarg ;;
1185
1186   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1187     ac_prev=pdfdir ;;
1188   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1189     pdfdir=$ac_optarg ;;
1190
1191   -psdir | --psdir | --psdi | --psd | --ps)
1192     ac_prev=psdir ;;
1193   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1194     psdir=$ac_optarg ;;
1195
1196   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1197   | -silent | --silent | --silen | --sile | --sil)
1198     silent=yes ;;
1199
1200   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1201     ac_prev=sbindir ;;
1202   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1203   | --sbi=* | --sb=*)
1204     sbindir=$ac_optarg ;;
1205
1206   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1207   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1208   | --sharedst | --shareds | --shared | --share | --shar \
1209   | --sha | --sh)
1210     ac_prev=sharedstatedir ;;
1211   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1212   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1213   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1214   | --sha=* | --sh=*)
1215     sharedstatedir=$ac_optarg ;;
1216
1217   -site | --site | --sit)
1218     ac_prev=site ;;
1219   -site=* | --site=* | --sit=*)
1220     site=$ac_optarg ;;
1221
1222   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1223     ac_prev=srcdir ;;
1224   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1225     srcdir=$ac_optarg ;;
1226
1227   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1228   | --syscon | --sysco | --sysc | --sys | --sy)
1229     ac_prev=sysconfdir ;;
1230   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1231   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1232     sysconfdir=$ac_optarg ;;
1233
1234   -target | --target | --targe | --targ | --tar | --ta | --t)
1235     ac_prev=target_alias ;;
1236   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1237     target_alias=$ac_optarg ;;
1238
1239   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1240     verbose=yes ;;
1241
1242   -version | --version | --versio | --versi | --vers | -V)
1243     ac_init_version=: ;;
1244
1245   -with-* | --with-*)
1246     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247     # Reject names that are not valid shell variable names.
1248     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249       as_fn_error $? "invalid package name: $ac_useropt"
1250     ac_useropt_orig=$ac_useropt
1251     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252     case $ac_user_opts in
1253       *"
1254 "with_$ac_useropt"
1255 "*) ;;
1256       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1257          ac_unrecognized_sep=', ';;
1258     esac
1259     eval with_$ac_useropt=\$ac_optarg ;;
1260
1261   -without-* | --without-*)
1262     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1263     # Reject names that are not valid shell variable names.
1264     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265       as_fn_error $? "invalid package name: $ac_useropt"
1266     ac_useropt_orig=$ac_useropt
1267     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268     case $ac_user_opts in
1269       *"
1270 "with_$ac_useropt"
1271 "*) ;;
1272       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1273          ac_unrecognized_sep=', ';;
1274     esac
1275     eval with_$ac_useropt=no ;;
1276
1277   --x)
1278     # Obsolete; use --with-x.
1279     with_x=yes ;;
1280
1281   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1282   | --x-incl | --x-inc | --x-in | --x-i)
1283     ac_prev=x_includes ;;
1284   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1285   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1286     x_includes=$ac_optarg ;;
1287
1288   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1289   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1290     ac_prev=x_libraries ;;
1291   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1292   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1293     x_libraries=$ac_optarg ;;
1294
1295   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1296 Try \`$0 --help' for more information"
1297     ;;
1298
1299   *=*)
1300     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1301     # Reject names that are not valid shell variable names.
1302     case $ac_envvar in #(
1303       '' | [0-9]* | *[!_$as_cr_alnum]* )
1304       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1305     esac
1306     eval $ac_envvar=\$ac_optarg
1307     export $ac_envvar ;;
1308
1309   *)
1310     # FIXME: should be removed in autoconf 3.0.
1311     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1312     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1313       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1314     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1315     ;;
1316
1317   esac
1318 done
1319
1320 if test -n "$ac_prev"; then
1321   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1322   as_fn_error $? "missing argument to $ac_option"
1323 fi
1324
1325 if test -n "$ac_unrecognized_opts"; then
1326   case $enable_option_checking in
1327     no) ;;
1328     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1329     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1330   esac
1331 fi
1332
1333 # Check all directory arguments for consistency.
1334 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335                 datadir sysconfdir sharedstatedir localstatedir includedir \
1336                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337                 libdir localedir mandir
1338 do
1339   eval ac_val=\$$ac_var
1340   # Remove trailing slashes.
1341   case $ac_val in
1342     */ )
1343       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1344       eval $ac_var=\$ac_val;;
1345   esac
1346   # Be sure to have absolute directory names.
1347   case $ac_val in
1348     [\\/$]* | ?:[\\/]* )  continue;;
1349     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1350   esac
1351   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1352 done
1353
1354 # There might be people who depend on the old broken behavior: `$host'
1355 # used to hold the argument of --host etc.
1356 # FIXME: To remove some day.
1357 build=$build_alias
1358 host=$host_alias
1359 target=$target_alias
1360
1361 # FIXME: To remove some day.
1362 if test "x$host_alias" != x; then
1363   if test "x$build_alias" = x; then
1364     cross_compiling=maybe
1365     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1366     If a cross compiler is detected then cross compile mode will be used" >&2
1367   elif test "x$build_alias" != "x$host_alias"; then
1368     cross_compiling=yes
1369   fi
1370 fi
1371
1372 ac_tool_prefix=
1373 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374
1375 test "$silent" = yes && exec 6>/dev/null
1376
1377
1378 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1379 ac_ls_di=`ls -di .` &&
1380 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1381   as_fn_error $? "working directory cannot be determined"
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383   as_fn_error $? "pwd does not report name of working directory"
1384
1385
1386 # Find the source files, if location was not specified.
1387 if test -z "$srcdir"; then
1388   ac_srcdir_defaulted=yes
1389   # Try the directory containing this script, then the parent directory.
1390   ac_confdir=`$as_dirname -- "$as_myself" ||
1391 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1392          X"$as_myself" : 'X\(//\)[^/]' \| \
1393          X"$as_myself" : 'X\(//\)$' \| \
1394          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1395 $as_echo X"$as_myself" |
1396     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397             s//\1/
1398             q
1399           }
1400           /^X\(\/\/\)[^/].*/{
1401             s//\1/
1402             q
1403           }
1404           /^X\(\/\/\)$/{
1405             s//\1/
1406             q
1407           }
1408           /^X\(\/\).*/{
1409             s//\1/
1410             q
1411           }
1412           s/.*/./; q'`
1413   srcdir=$ac_confdir
1414   if test ! -r "$srcdir/$ac_unique_file"; then
1415     srcdir=..
1416   fi
1417 else
1418   ac_srcdir_defaulted=no
1419 fi
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1422   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1423 fi
1424 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1425 ac_abs_confdir=`(
1426         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1427         pwd)`
1428 # When building in place, set srcdir=.
1429 if test "$ac_abs_confdir" = "$ac_pwd"; then
1430   srcdir=.
1431 fi
1432 # Remove unnecessary trailing slashes from srcdir.
1433 # Double slashes in file names in object file debugging info
1434 # mess up M-x gdb in Emacs.
1435 case $srcdir in
1436 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1437 esac
1438 for ac_var in $ac_precious_vars; do
1439   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1440   eval ac_env_${ac_var}_value=\$${ac_var}
1441   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1442   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1443 done
1444
1445 #
1446 # Report the --help message.
1447 #
1448 if test "$ac_init_help" = "long"; then
1449   # Omit some internal or obsolete options to make the list less imposing.
1450   # This message is too long to be a string in the A/UX 3.1 sh.
1451   cat <<_ACEOF
1452 \`configure' configures this package to adapt to many kinds of systems.
1453
1454 Usage: $0 [OPTION]... [VAR=VALUE]...
1455
1456 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1457 VAR=VALUE.  See below for descriptions of some of the useful variables.
1458
1459 Defaults for the options are specified in brackets.
1460
1461 Configuration:
1462   -h, --help              display this help and exit
1463       --help=short        display options specific to this package
1464       --help=recursive    display the short help of all the included packages
1465   -V, --version           display version information and exit
1466   -q, --quiet, --silent   do not print \`checking ...' messages
1467       --cache-file=FILE   cache test results in FILE [disabled]
1468   -C, --config-cache      alias for \`--cache-file=config.cache'
1469   -n, --no-create         do not create output files
1470       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1471
1472 Installation directories:
1473   --prefix=PREFIX         install architecture-independent files in PREFIX
1474                           [$ac_default_prefix]
1475   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1476                           [PREFIX]
1477
1478 By default, \`make install' will install all the files in
1479 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1480 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1481 for instance \`--prefix=\$HOME'.
1482
1483 For better control, use the options below.
1484
1485 Fine tuning of the installation directories:
1486   --bindir=DIR            user executables [EPREFIX/bin]
1487   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1488   --libexecdir=DIR        program executables [EPREFIX/libexec]
1489   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1490   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1491   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1492   --libdir=DIR            object code libraries [EPREFIX/lib]
1493   --includedir=DIR        C header files [PREFIX/include]
1494   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1495   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1496   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1497   --infodir=DIR           info documentation [DATAROOTDIR/info]
1498   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1499   --mandir=DIR            man documentation [DATAROOTDIR/man]
1500   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1501   --htmldir=DIR           html documentation [DOCDIR]
1502   --dvidir=DIR            dvi documentation [DOCDIR]
1503   --pdfdir=DIR            pdf documentation [DOCDIR]
1504   --psdir=DIR             ps documentation [DOCDIR]
1505 _ACEOF
1506
1507   cat <<\_ACEOF
1508
1509 Program names:
1510   --program-prefix=PREFIX            prepend PREFIX to installed program names
1511   --program-suffix=SUFFIX            append SUFFIX to installed program names
1512   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1513
1514 System types:
1515   --build=BUILD     configure for building on BUILD [guessed]
1516   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1517 _ACEOF
1518 fi
1519
1520 if test -n "$ac_init_help"; then
1521
1522   cat <<\_ACEOF
1523
1524 Optional Features:
1525   --disable-option-checking  ignore unrecognized --enable/--with options
1526   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1527   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1528   --enable-silent-rules          less verbose build output (undo: `make V=1')
1529   --disable-silent-rules         verbose build output (undo: `make V=0')
1530   --disable-dependency-tracking  speeds up one-time build
1531   --enable-dependency-tracking   do not reject slow dependency extractors
1532   --enable-shared[=PKGS]  build shared libraries [default=yes]
1533   --enable-static[=PKGS]  build static libraries [default=yes]
1534   --enable-fast-install[=PKGS]
1535                           optimize for fast installation [default=yes]
1536   --disable-libtool-lock  avoid locking (might break parallel builds)
1537   --enable-rebuild-docs[=yes/no]  rebuild some generated docs [default=yes]
1538   --enable-ipv6[=yes/no]  enables compilation of IPv6 code [default=yes]
1539
1540 Optional Packages:
1541   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1542   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1543   --with-pic              try to use only PIC/non-PIC objects [default=use
1544                           both]
1545   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1546   --with-sysroot=DIR Search for dependent libraries within DIR
1547                         (or the compiler's sysroot if not specified).
1548   --with-c14n             add the Canonicalization support (on)
1549   --with-catalog          add the Catalog support (on)
1550   --with-debug            add the debugging module (on)
1551   --with-docbook          add Docbook SGML support (on)
1552   --with-fexceptions      add GCC flag -fexceptions for C++ exceptions (off)
1553   --with-ftp              add the FTP support (on)
1554   --with-history          add history support to xmllint shell(off)
1555   --with-html             add the HTML support (on)
1556   --with-html-dir=path    path to base html directory, default
1557                           $datadir/doc/html
1558   --with-html-subdir=path directory used under html-dir, default
1559                           $PACKAGE-$VERSION/html
1560   --with-http             add the HTTP support (on)
1561   --with-iconv[=DIR]      add ICONV support (on)
1562   --with-icu                add ICU support (off)
1563   --with-iso8859x         add ISO8859X support if no iconv (on)
1564   --with-legacy           add deprecated APIs for compatibility (on)
1565   --with-mem-debug        add the memory debugging module (off)
1566   --with-minimum          build a minimally sized library (off)
1567   --with-output           add the serialization support (on)
1568   --with-pattern          add the xmlPattern selection interface (on)
1569   --with-push             add the PUSH parser interfaces (on)
1570   --with-python[=DIR]     build Python bindings if found
1571   --with-reader           add the xmlReader parsing interface (on)
1572   --with-readline=DIR     use readline in DIR
1573   --with-regexps          add Regular Expressions support (on)
1574   --with-run-debug        add the runtime debugging module (off)
1575   --with-sax1             add the older SAX1 interface (on)
1576   --with-schemas          add Relax-NG and Schemas support (on)
1577   --with-schematron       add Schematron support (on)
1578   --with-threads          add multithread support(on)
1579   --with-thread-alloc     add per-thread memory(off)
1580   --with-tree             add the DOM like tree manipulation APIs (on)
1581   --with-valid            add the DTD validation support (on)
1582   --with-writer           add the xmlWriter saving interface (on)
1583   --with-xinclude         add the XInclude support (on)
1584   --with-xpath            add the XPATH support (on)
1585   --with-xptr             add the XPointer support (on)
1586   --with-modules          add the dynamic modules support (on)
1587   --with-zlib[=DIR]       use libz in DIR
1588   --with-lzma[=DIR]       use liblzma in DIR
1589   --with-coverage         build for code coverage with GCC (off)
1590
1591 Some influential environment variables:
1592   CC          C compiler command
1593   CFLAGS      C compiler flags
1594   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1595               nonstandard directory <lib dir>
1596   LIBS        libraries to pass to the linker, e.g. -l<library>
1597   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1598               you have headers in a nonstandard directory <include dir>
1599   CPP         C preprocessor
1600
1601 Use these variables to override the choices made by `configure' or to help
1602 it to find libraries and programs with nonstandard names/locations.
1603
1604 Report bugs to the package provider.
1605 _ACEOF
1606 ac_status=$?
1607 fi
1608
1609 if test "$ac_init_help" = "recursive"; then
1610   # If there are subdirs, report their specific --help.
1611   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1612     test -d "$ac_dir" ||
1613       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614       continue
1615     ac_builddir=.
1616
1617 case "$ac_dir" in
1618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *)
1620   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1621   # A ".." for each directory in $ac_dir_suffix.
1622   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1623   case $ac_top_builddir_sub in
1624   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1626   esac ;;
1627 esac
1628 ac_abs_top_builddir=$ac_pwd
1629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1630 # for backward compatibility:
1631 ac_top_builddir=$ac_top_build_prefix
1632
1633 case $srcdir in
1634   .)  # We are building in place.
1635     ac_srcdir=.
1636     ac_top_srcdir=$ac_top_builddir_sub
1637     ac_abs_top_srcdir=$ac_pwd ;;
1638   [\\/]* | ?:[\\/]* )  # Absolute name.
1639     ac_srcdir=$srcdir$ac_dir_suffix;
1640     ac_top_srcdir=$srcdir
1641     ac_abs_top_srcdir=$srcdir ;;
1642   *) # Relative name.
1643     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1644     ac_top_srcdir=$ac_top_build_prefix$srcdir
1645     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1646 esac
1647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1648
1649     cd "$ac_dir" || { ac_status=$?; continue; }
1650     # Check for guested configure.
1651     if test -f "$ac_srcdir/configure.gnu"; then
1652       echo &&
1653       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1654     elif test -f "$ac_srcdir/configure"; then
1655       echo &&
1656       $SHELL "$ac_srcdir/configure" --help=recursive
1657     else
1658       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1659     fi || ac_status=$?
1660     cd "$ac_pwd" || { ac_status=$?; break; }
1661   done
1662 fi
1663
1664 test -n "$ac_init_help" && exit $ac_status
1665 if $ac_init_version; then
1666   cat <<\_ACEOF
1667 configure
1668 generated by GNU Autoconf 2.68
1669
1670 Copyright (C) 2010 Free Software Foundation, Inc.
1671 This configure script is free software; the Free Software Foundation
1672 gives unlimited permission to copy, distribute and modify it.
1673 _ACEOF
1674   exit
1675 fi
1676
1677 ## ------------------------ ##
1678 ## Autoconf initialization. ##
1679 ## ------------------------ ##
1680
1681 # ac_fn_c_try_compile LINENO
1682 # --------------------------
1683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1684 ac_fn_c_try_compile ()
1685 {
1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687   rm -f conftest.$ac_objext
1688   if { { ac_try="$ac_compile"
1689 case "(($ac_try" in
1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691   *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695   (eval "$ac_compile") 2>conftest.err
1696   ac_status=$?
1697   if test -s conftest.err; then
1698     grep -v '^ *+' conftest.err >conftest.er1
1699     cat conftest.er1 >&5
1700     mv -f conftest.er1 conftest.err
1701   fi
1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703   test $ac_status = 0; } && {
1704          test -z "$ac_c_werror_flag" ||
1705          test ! -s conftest.err
1706        } && test -s conftest.$ac_objext; then :
1707   ac_retval=0
1708 else
1709   $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1711
1712         ac_retval=1
1713 fi
1714   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715   as_fn_set_status $ac_retval
1716
1717 } # ac_fn_c_try_compile
1718
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_cpp ()
1723 {
1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725   if { { ac_try="$ac_cpp conftest.$ac_ext"
1726 case "(($ac_try" in
1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728   *) ac_try_echo=$ac_try;;
1729 esac
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733   ac_status=$?
1734   if test -s conftest.err; then
1735     grep -v '^ *+' conftest.err >conftest.er1
1736     cat conftest.er1 >&5
1737     mv -f conftest.er1 conftest.err
1738   fi
1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740   test $ac_status = 0; } > conftest.i && {
1741          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742          test ! -s conftest.err
1743        }; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749     ac_retval=1
1750 fi
1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752   as_fn_set_status $ac_retval
1753
1754 } # ac_fn_c_try_cpp
1755
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_c_try_link ()
1760 {
1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762   rm -f conftest.$ac_objext conftest$ac_exeext
1763   if { { ac_try="$ac_link"
1764 case "(($ac_try" in
1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766   *) ac_try_echo=$ac_try;;
1767 esac
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770   (eval "$ac_link") 2>conftest.err
1771   ac_status=$?
1772   if test -s conftest.err; then
1773     grep -v '^ *+' conftest.err >conftest.er1
1774     cat conftest.er1 >&5
1775     mv -f conftest.er1 conftest.err
1776   fi
1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778   test $ac_status = 0; } && {
1779          test -z "$ac_c_werror_flag" ||
1780          test ! -s conftest.err
1781        } && test -s conftest$ac_exeext && {
1782          test "$cross_compiling" = yes ||
1783          $as_test_x conftest$ac_exeext
1784        }; then :
1785   ac_retval=0
1786 else
1787   $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790         ac_retval=1
1791 fi
1792   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794   # interfere with the next link command; also delete a directory that is
1795   # left behind by Apple's compiler.  We do this before executing the actions.
1796   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798   as_fn_set_status $ac_retval
1799
1800 } # ac_fn_c_try_link
1801
1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1803 # -------------------------------------------------------
1804 # Tests whether HEADER exists and can be compiled using the include files in
1805 # INCLUDES, setting the cache variable VAR accordingly.
1806 ac_fn_c_check_header_compile ()
1807 {
1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if eval \${$3+:} false; then :
1812   $as_echo_n "(cached) " >&6
1813 else
1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h.  */
1816 $4
1817 #include <$2>
1818 _ACEOF
1819 if ac_fn_c_try_compile "$LINENO"; then :
1820   eval "$3=yes"
1821 else
1822   eval "$3=no"
1823 fi
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 fi
1826 eval ac_res=\$$3
1827                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1829   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830
1831 } # ac_fn_c_check_header_compile
1832
1833 # ac_fn_c_try_run LINENO
1834 # ----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1836 # that executables *can* be run.
1837 ac_fn_c_try_run ()
1838 {
1839   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840   if { { ac_try="$ac_link"
1841 case "(($ac_try" in
1842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843   *) ac_try_echo=$ac_try;;
1844 esac
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847   (eval "$ac_link") 2>&5
1848   ac_status=$?
1849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1851   { { case "(($ac_try" in
1852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853   *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857   (eval "$ac_try") 2>&5
1858   ac_status=$?
1859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860   test $ac_status = 0; }; }; then :
1861   ac_retval=0
1862 else
1863   $as_echo "$as_me: program exited with status $ac_status" >&5
1864        $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1866
1867        ac_retval=$ac_status
1868 fi
1869   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871   as_fn_set_status $ac_retval
1872
1873 } # ac_fn_c_try_run
1874
1875 # ac_fn_c_check_func LINENO FUNC VAR
1876 # ----------------------------------
1877 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1878 ac_fn_c_check_func ()
1879 {
1880   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884   $as_echo_n "(cached) " >&6
1885 else
1886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h.  */
1888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1890 #define $2 innocuous_$2
1891
1892 /* System header to define __stub macros and hopefully few prototypes,
1893     which can conflict with char $2 (); below.
1894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1895     <limits.h> exists even on freestanding compilers.  */
1896
1897 #ifdef __STDC__
1898 # include <limits.h>
1899 #else
1900 # include <assert.h>
1901 #endif
1902
1903 #undef $2
1904
1905 /* Override any GCC internal prototype to avoid an error.
1906    Use char because int might match the return type of a GCC
1907    builtin and then its argument prototype would still apply.  */
1908 #ifdef __cplusplus
1909 extern "C"
1910 #endif
1911 char $2 ();
1912 /* The GNU C library defines this for functions which it implements
1913     to always fail with ENOSYS.  Some functions are actually named
1914     something starting with __ and the normal name is an alias.  */
1915 #if defined __stub_$2 || defined __stub___$2
1916 choke me
1917 #endif
1918
1919 int
1920 main ()
1921 {
1922 return $2 ();
1923   ;
1924   return 0;
1925 }
1926 _ACEOF
1927 if ac_fn_c_try_link "$LINENO"; then :
1928   eval "$3=yes"
1929 else
1930   eval "$3=no"
1931 fi
1932 rm -f core conftest.err conftest.$ac_objext \
1933     conftest$ac_exeext conftest.$ac_ext
1934 fi
1935 eval ac_res=\$$3
1936                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939
1940 } # ac_fn_c_check_func
1941
1942 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943 # -------------------------------------------------------
1944 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1945 # the include files in INCLUDES and setting the cache variable VAR
1946 # accordingly.
1947 ac_fn_c_check_header_mongrel ()
1948 {
1949   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950   if eval \${$3+:} false; then :
1951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954   $as_echo_n "(cached) " >&6
1955 fi
1956 eval ac_res=\$$3
1957                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1959 else
1960   # Is the header compilable?
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1962 $as_echo_n "checking $2 usability... " >&6; }
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h.  */
1965 $4
1966 #include <$2>
1967 _ACEOF
1968 if ac_fn_c_try_compile "$LINENO"; then :
1969   ac_header_compiler=yes
1970 else
1971   ac_header_compiler=no
1972 fi
1973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1975 $as_echo "$ac_header_compiler" >&6; }
1976
1977 # Is the header present?
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1979 $as_echo_n "checking $2 presence... " >&6; }
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h.  */
1982 #include <$2>
1983 _ACEOF
1984 if ac_fn_c_try_cpp "$LINENO"; then :
1985   ac_header_preproc=yes
1986 else
1987   ac_header_preproc=no
1988 fi
1989 rm -f conftest.err conftest.i conftest.$ac_ext
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1991 $as_echo "$ac_header_preproc" >&6; }
1992
1993 # So?  What about this header?
1994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1995   yes:no: )
1996     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1997 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1998     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1999 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2000     ;;
2001   no:yes:* )
2002     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2003 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2004     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2005 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2006     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2007 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2008     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2009 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2010     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2012     ;;
2013 esac
2014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval \${$3+:} false; then :
2017   $as_echo_n "(cached) " >&6
2018 else
2019   eval "$3=\$ac_header_compiler"
2020 fi
2021 eval ac_res=\$$3
2022                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 fi
2025   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026
2027 } # ac_fn_c_check_header_mongrel
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2031
2032 It was created by $as_me, which was
2033 generated by GNU Autoconf 2.68.  Invocation command line was
2034
2035   $ $0 $@
2036
2037 _ACEOF
2038 exec 5>>config.log
2039 {
2040 cat <<_ASUNAME
2041 ## --------- ##
2042 ## Platform. ##
2043 ## --------- ##
2044
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2050
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2053
2054 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2055 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2058 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2059 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2060 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2061
2062 _ASUNAME
2063
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067   IFS=$as_save_IFS
2068   test -z "$as_dir" && as_dir=.
2069     $as_echo "PATH: $as_dir"
2070   done
2071 IFS=$as_save_IFS
2072
2073 } >&5
2074
2075 cat >&5 <<_ACEOF
2076
2077
2078 ## ----------- ##
2079 ## Core tests. ##
2080 ## ----------- ##
2081
2082 _ACEOF
2083
2084
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2090 ac_configure_args=
2091 ac_configure_args0=
2092 ac_configure_args1=
2093 ac_must_keep_next=false
2094 for ac_pass in 1 2
2095 do
2096   for ac_arg
2097   do
2098     case $ac_arg in
2099     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101     | -silent | --silent | --silen | --sile | --sil)
2102       continue ;;
2103     *\'*)
2104       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105     esac
2106     case $ac_pass in
2107     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2108     2)
2109       as_fn_append ac_configure_args1 " '$ac_arg'"
2110       if test $ac_must_keep_next = true; then
2111         ac_must_keep_next=false # Got value, back to normal.
2112       else
2113         case $ac_arg in
2114           *=* | --config-cache | -C | -disable-* | --disable-* \
2115           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117           | -with-* | --with-* | -without-* | --without-* | --x)
2118             case "$ac_configure_args0 " in
2119               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120             esac
2121             ;;
2122           -* ) ac_must_keep_next=true ;;
2123         esac
2124       fi
2125       as_fn_append ac_configure_args " '$ac_arg'"
2126       ;;
2127     esac
2128   done
2129 done
2130 { ac_configure_args0=; unset ac_configure_args0;}
2131 { ac_configure_args1=; unset ac_configure_args1;}
2132
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log.  We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139   # Save into config.log some information that might help in debugging.
2140   {
2141     echo
2142
2143     $as_echo "## ---------------- ##
2144 ## Cache variables. ##
2145 ## ---------------- ##"
2146     echo
2147     # The following way of writing the cache mishandles newlines in values,
2148 (
2149   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150     eval ac_val=\$$ac_var
2151     case $ac_val in #(
2152     *${as_nl}*)
2153       case $ac_var in #(
2154       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2156       esac
2157       case $ac_var in #(
2158       _ | IFS | as_nl) ;; #(
2159       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2160       *) { eval $ac_var=; unset $ac_var;} ;;
2161       esac ;;
2162     esac
2163   done
2164   (set) 2>&1 |
2165     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2166     *${as_nl}ac_space=\ *)
2167       sed -n \
2168         "s/'\''/'\''\\\\'\'''\''/g;
2169           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170       ;; #(
2171     *)
2172       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173       ;;
2174     esac |
2175     sort
2176 )
2177     echo
2178
2179     $as_echo "## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##"
2182     echo
2183     for ac_var in $ac_subst_vars
2184     do
2185       eval ac_val=\$$ac_var
2186       case $ac_val in
2187       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188       esac
2189       $as_echo "$ac_var='\''$ac_val'\''"
2190     done | sort
2191     echo
2192
2193     if test -n "$ac_subst_files"; then
2194       $as_echo "## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##"
2197       echo
2198       for ac_var in $ac_subst_files
2199       do
2200         eval ac_val=\$$ac_var
2201         case $ac_val in
2202         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203         esac
2204         $as_echo "$ac_var='\''$ac_val'\''"
2205       done | sort
2206       echo
2207     fi
2208
2209     if test -s confdefs.h; then
2210       $as_echo "## ----------- ##
2211 ## confdefs.h. ##
2212 ## ----------- ##"
2213       echo
2214       cat confdefs.h
2215       echo
2216     fi
2217     test "$ac_signal" != 0 &&
2218       $as_echo "$as_me: caught signal $ac_signal"
2219     $as_echo "$as_me: exit $exit_status"
2220   } >&5
2221   rm -f core *.core core.conftest.* &&
2222     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2223     exit $exit_status
2224 ' 0
2225 for ac_signal in 1 2 13 15; do
2226   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2227 done
2228 ac_signal=0
2229
2230 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2231 rm -f -r conftest* confdefs.h
2232
2233 $as_echo "/* confdefs.h */" > confdefs.h
2234
2235 # Predefined preprocessor variables.
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_NAME "$PACKAGE_NAME"
2239 _ACEOF
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2243 _ACEOF
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2247 _ACEOF
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2251 _ACEOF
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2255 _ACEOF
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_URL "$PACKAGE_URL"
2259 _ACEOF
2260
2261
2262 # Let the site file select an alternate cache file if it wants to.
2263 # Prefer an explicitly selected file to automatically selected ones.
2264 ac_site_file1=NONE
2265 ac_site_file2=NONE
2266 if test -n "$CONFIG_SITE"; then
2267   # We do not want a PATH search for config.site.
2268   case $CONFIG_SITE in #((
2269     -*)  ac_site_file1=./$CONFIG_SITE;;
2270     */*) ac_site_file1=$CONFIG_SITE;;
2271     *)   ac_site_file1=./$CONFIG_SITE;;
2272   esac
2273 elif test "x$prefix" != xNONE; then
2274   ac_site_file1=$prefix/share/config.site
2275   ac_site_file2=$prefix/etc/config.site
2276 else
2277   ac_site_file1=$ac_default_prefix/share/config.site
2278   ac_site_file2=$ac_default_prefix/etc/config.site
2279 fi
2280 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2281 do
2282   test "x$ac_site_file" = xNONE && continue
2283   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2284     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2285 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2286     sed 's/^/| /' "$ac_site_file" >&5
2287     . "$ac_site_file" \
2288       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 as_fn_error $? "failed to load site script $ac_site_file
2291 See \`config.log' for more details" "$LINENO" 5; }
2292   fi
2293 done
2294
2295 if test -r "$cache_file"; then
2296   # Some versions of bash will fail to source /dev/null (special files
2297   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2298   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2299     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2300 $as_echo "$as_me: loading cache $cache_file" >&6;}
2301     case $cache_file in
2302       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2303       *)                      . "./$cache_file";;
2304     esac
2305   fi
2306 else
2307   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2308 $as_echo "$as_me: creating cache $cache_file" >&6;}
2309   >$cache_file
2310 fi
2311
2312 # Check that the precious variables saved in the cache have kept the same
2313 # value.
2314 ac_cache_corrupted=false
2315 for ac_var in $ac_precious_vars; do
2316   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2317   eval ac_new_set=\$ac_env_${ac_var}_set
2318   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2319   eval ac_new_val=\$ac_env_${ac_var}_value
2320   case $ac_old_set,$ac_new_set in
2321     set,)
2322       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2323 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2324       ac_cache_corrupted=: ;;
2325     ,set)
2326       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2327 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2328       ac_cache_corrupted=: ;;
2329     ,);;
2330     *)
2331       if test "x$ac_old_val" != "x$ac_new_val"; then
2332         # differences in whitespace do not lead to failure.
2333         ac_old_val_w=`echo x $ac_old_val`
2334         ac_new_val_w=`echo x $ac_new_val`
2335         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2336           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2337 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2338           ac_cache_corrupted=:
2339         else
2340           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2341 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2342           eval $ac_var=\$ac_old_val
2343         fi
2344         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2345 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2346         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2347 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2348       fi;;
2349   esac
2350   # Pass precious variables to config.status.
2351   if test "$ac_new_set" = set; then
2352     case $ac_new_val in
2353     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2354     *) ac_arg=$ac_var=$ac_new_val ;;
2355     esac
2356     case " $ac_configure_args " in
2357       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2358       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2359     esac
2360   fi
2361 done
2362 if $ac_cache_corrupted; then
2363   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2366 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2367   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2368 fi
2369 ## -------------------- ##
2370 ## Main body of script. ##
2371 ## -------------------- ##
2372
2373 ac_ext=c
2374 ac_cpp='$CPP $CPPFLAGS'
2375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2378
2379
2380 ac_config_headers="$ac_config_headers config.h"
2381
2382
2383 ac_aux_dir=
2384 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2385   if test -f "$ac_dir/install-sh"; then
2386     ac_aux_dir=$ac_dir
2387     ac_install_sh="$ac_aux_dir/install-sh -c"
2388     break
2389   elif test -f "$ac_dir/install.sh"; then
2390     ac_aux_dir=$ac_dir
2391     ac_install_sh="$ac_aux_dir/install.sh -c"
2392     break
2393   elif test -f "$ac_dir/shtool"; then
2394     ac_aux_dir=$ac_dir
2395     ac_install_sh="$ac_aux_dir/shtool install -c"
2396     break
2397   fi
2398 done
2399 if test -z "$ac_aux_dir"; then
2400   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2401 fi
2402
2403 # These three variables are undocumented and unsupported,
2404 # and are intended to be withdrawn in a future Autoconf release.
2405 # They can cause serious problems if a builder's source tree is in a directory
2406 # whose full name contains unusual characters.
2407 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2408 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2409 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2410
2411
2412 # Make sure we can run config.sub.
2413 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2414   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2415
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2417 $as_echo_n "checking build system type... " >&6; }
2418 if ${ac_cv_build+:} false; then :
2419   $as_echo_n "(cached) " >&6
2420 else
2421   ac_build_alias=$build_alias
2422 test "x$ac_build_alias" = x &&
2423   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2424 test "x$ac_build_alias" = x &&
2425   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2426 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2427   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2428
2429 fi
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2431 $as_echo "$ac_cv_build" >&6; }
2432 case $ac_cv_build in
2433 *-*-*) ;;
2434 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2435 esac
2436 build=$ac_cv_build
2437 ac_save_IFS=$IFS; IFS='-'
2438 set x $ac_cv_build
2439 shift
2440 build_cpu=$1
2441 build_vendor=$2
2442 shift; shift
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2445 build_os=$*
2446 IFS=$ac_save_IFS
2447 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2448
2449
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2451 $as_echo_n "checking host system type... " >&6; }
2452 if ${ac_cv_host+:} false; then :
2453   $as_echo_n "(cached) " >&6
2454 else
2455   if test "x$host_alias" = x; then
2456   ac_cv_host=$ac_cv_build
2457 else
2458   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2459     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2460 fi
2461
2462 fi
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2464 $as_echo "$ac_cv_host" >&6; }
2465 case $ac_cv_host in
2466 *-*-*) ;;
2467 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2468 esac
2469 host=$ac_cv_host
2470 ac_save_IFS=$IFS; IFS='-'
2471 set x $ac_cv_host
2472 shift
2473 host_cpu=$1
2474 host_vendor=$2
2475 shift; shift
2476 # Remember, the first character of IFS is used to create $*,
2477 # except with old shells:
2478 host_os=$*
2479 IFS=$ac_save_IFS
2480 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2481
2482
2483
2484 LIBXML_MAJOR_VERSION=2
2485 LIBXML_MINOR_VERSION=8
2486 LIBXML_MICRO_VERSION=0
2487 LIBXML_MICRO_VERSION_SUFFIX=
2488 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2489 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2490
2491 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2492
2493 if test -f CVS/Entries ; then
2494   extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2495   echo extra=$extra
2496   if test "$extra" != ""
2497   then
2498       LIBXML_VERSION_EXTRA="-CVS$extra"
2499   fi
2500 else if test -d .svn ; then
2501   extra=`svn info | grep Revision | sed 's+Revision: ++'`
2502   echo extra=$extra
2503   if test "$extra" != ""
2504   then
2505       LIBXML_VERSION_EXTRA="-SVN$extra"
2506   fi
2507 else if test -d .git ; then
2508   extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'`
2509   echo extra=$extra
2510   if test "$extra" != ""
2511   then
2512       LIBXML_VERSION_EXTRA="-GIT$extra"
2513   fi
2514 fi
2515 fi
2516 fi
2517
2518
2519
2520
2521
2522
2523
2524
2525 VERSION=${LIBXML_VERSION}
2526
2527 am__api_version='1.11'
2528
2529 # Find a good install program.  We prefer a C program (faster),
2530 # so one script is as good as another.  But avoid the broken or
2531 # incompatible versions:
2532 # SysV /etc/install, /usr/sbin/install
2533 # SunOS /usr/etc/install
2534 # IRIX /sbin/install
2535 # AIX /bin/install
2536 # AmigaOS /C/install, which installs bootblocks on floppy discs
2537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2540 # OS/2's system install, which has a completely different semantic
2541 # ./install, which can be erroneously created by make from ./install.sh.
2542 # Reject install programs that cannot install multiple files.
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2544 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2545 if test -z "$INSTALL"; then
2546 if ${ac_cv_path_install+:} false; then :
2547   $as_echo_n "(cached) " >&6
2548 else
2549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2551 do
2552   IFS=$as_save_IFS
2553   test -z "$as_dir" && as_dir=.
2554     # Account for people who put trailing slashes in PATH elements.
2555 case $as_dir/ in #((
2556   ./ | .// | /[cC]/* | \
2557   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2558   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2559   /usr/ucb/* ) ;;
2560   *)
2561     # OSF1 and SCO ODT 3.0 have their own names for install.
2562     # Don't use installbsd from OSF since it installs stuff as root
2563     # by default.
2564     for ac_prog in ginstall scoinst install; do
2565       for ac_exec_ext in '' $ac_executable_extensions; do
2566         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2567           if test $ac_prog = install &&
2568             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2569             # AIX install.  It has an incompatible calling convention.
2570             :
2571           elif test $ac_prog = install &&
2572             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2573             # program-specific install script used by HP pwplus--don't use.
2574             :
2575           else
2576             rm -rf conftest.one conftest.two conftest.dir
2577             echo one > conftest.one
2578             echo two > conftest.two
2579             mkdir conftest.dir
2580             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2581               test -s conftest.one && test -s conftest.two &&
2582               test -s conftest.dir/conftest.one &&
2583               test -s conftest.dir/conftest.two
2584             then
2585               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2586               break 3
2587             fi
2588           fi
2589         fi
2590       done
2591     done
2592     ;;
2593 esac
2594
2595   done
2596 IFS=$as_save_IFS
2597
2598 rm -rf conftest.one conftest.two conftest.dir
2599
2600 fi
2601   if test "${ac_cv_path_install+set}" = set; then
2602     INSTALL=$ac_cv_path_install
2603   else
2604     # As a last resort, use the slow shell script.  Don't cache a
2605     # value for INSTALL within a source directory, because that will
2606     # break other packages using the cache if that directory is
2607     # removed, or if the value is a relative name.
2608     INSTALL=$ac_install_sh
2609   fi
2610 fi
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2612 $as_echo "$INSTALL" >&6; }
2613
2614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2615 # It thinks the first close brace ends the variable substitution.
2616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2617
2618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2619
2620 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2621
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2623 $as_echo_n "checking whether build environment is sane... " >&6; }
2624 # Just in case
2625 sleep 1
2626 echo timestamp > conftest.file
2627 # Reject unsafe characters in $srcdir or the absolute working directory
2628 # name.  Accept space and tab only in the latter.
2629 am_lf='
2630 '
2631 case `pwd` in
2632   *[\\\"\#\$\&\'\`$am_lf]*)
2633     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2634 esac
2635 case $srcdir in
2636   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2637     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2638 esac
2639
2640 # Do `set' in a subshell so we don't clobber the current shell's
2641 # arguments.  Must try -L first in case configure is actually a
2642 # symlink; some systems play weird games with the mod time of symlinks
2643 # (eg FreeBSD returns the mod time of the symlink's containing
2644 # directory).
2645 if (
2646    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2647    if test "$*" = "X"; then
2648       # -L didn't work.
2649       set X `ls -t "$srcdir/configure" conftest.file`
2650    fi
2651    rm -f conftest.file
2652    if test "$*" != "X $srcdir/configure conftest.file" \
2653       && test "$*" != "X conftest.file $srcdir/configure"; then
2654
2655       # If neither matched, then we have a broken ls.  This can happen
2656       # if, for instance, CONFIG_SHELL is bash and it inherits a
2657       # broken ls alias from the environment.  This has actually
2658       # happened.  Such a system could not be considered "sane".
2659       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2660 alias in your environment" "$LINENO" 5
2661    fi
2662
2663    test "$2" = conftest.file
2664    )
2665 then
2666    # Ok.
2667    :
2668 else
2669    as_fn_error $? "newly created file is older than distributed files!
2670 Check your system clock" "$LINENO" 5
2671 fi
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2673 $as_echo "yes" >&6; }
2674 test "$program_prefix" != NONE &&
2675   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2676 # Use a double $ so make ignores it.
2677 test "$program_suffix" != NONE &&
2678   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2679 # Double any \ or $.
2680 # By default was `s,x,x', remove it if useless.
2681 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2682 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2683
2684 # expand $ac_aux_dir to an absolute path
2685 am_aux_dir=`cd $ac_aux_dir && pwd`
2686
2687 if test x"${MISSING+set}" != xset; then
2688   case $am_aux_dir in
2689   *\ * | *\     *)
2690     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2691   *)
2692     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2693   esac
2694 fi
2695 # Use eval to expand $SHELL
2696 if eval "$MISSING --run true"; then
2697   am_missing_run="$MISSING --run "
2698 else
2699   am_missing_run=
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2701 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2702 fi
2703
2704 if test x"${install_sh}" != xset; then
2705   case $am_aux_dir in
2706   *\ * | *\     *)
2707     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2708   *)
2709     install_sh="\${SHELL} $am_aux_dir/install-sh"
2710   esac
2711 fi
2712
2713 # Installed binaries are usually stripped using `strip' when the user
2714 # run `make install-strip'.  However `strip' might not be the right
2715 # tool to use in cross-compilation environments, therefore Automake
2716 # will honor the `STRIP' environment variable to overrule this program.
2717 if test "$cross_compiling" != no; then
2718   if test -n "$ac_tool_prefix"; then
2719   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}strip; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_STRIP+:} false; then :
2724   $as_echo_n "(cached) " >&6
2725 else
2726   if test -n "$STRIP"; then
2727   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2731 do
2732   IFS=$as_save_IFS
2733   test -z "$as_dir" && as_dir=.
2734     for ac_exec_ext in '' $ac_executable_extensions; do
2735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738     break 2
2739   fi
2740 done
2741   done
2742 IFS=$as_save_IFS
2743
2744 fi
2745 fi
2746 STRIP=$ac_cv_prog_STRIP
2747 if test -n "$STRIP"; then
2748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2749 $as_echo "$STRIP" >&6; }
2750 else
2751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2753 fi
2754
2755
2756 fi
2757 if test -z "$ac_cv_prog_STRIP"; then
2758   ac_ct_STRIP=$STRIP
2759   # Extract the first word of "strip", so it can be a program name with args.
2760 set dummy strip; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2764   $as_echo_n "(cached) " >&6
2765 else
2766   if test -n "$ac_ct_STRIP"; then
2767   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2768 else
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH
2771 do
2772   IFS=$as_save_IFS
2773   test -z "$as_dir" && as_dir=.
2774     for ac_exec_ext in '' $ac_executable_extensions; do
2775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776     ac_cv_prog_ac_ct_STRIP="strip"
2777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778     break 2
2779   fi
2780 done
2781   done
2782 IFS=$as_save_IFS
2783
2784 fi
2785 fi
2786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2787 if test -n "$ac_ct_STRIP"; then
2788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2789 $as_echo "$ac_ct_STRIP" >&6; }
2790 else
2791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2793 fi
2794
2795   if test "x$ac_ct_STRIP" = x; then
2796     STRIP=":"
2797   else
2798     case $cross_compiling:$ac_tool_warned in
2799 yes:)
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802 ac_tool_warned=yes ;;
2803 esac
2804     STRIP=$ac_ct_STRIP
2805   fi
2806 else
2807   STRIP="$ac_cv_prog_STRIP"
2808 fi
2809
2810 fi
2811 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2812
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2814 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2815 if test -z "$MKDIR_P"; then
2816   if ${ac_cv_path_mkdir+:} false; then :
2817   $as_echo_n "(cached) " >&6
2818 else
2819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2821 do
2822   IFS=$as_save_IFS
2823   test -z "$as_dir" && as_dir=.
2824     for ac_prog in mkdir gmkdir; do
2825          for ac_exec_ext in '' $ac_executable_extensions; do
2826            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2827            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2828              'mkdir (GNU coreutils) '* | \
2829              'mkdir (coreutils) '* | \
2830              'mkdir (fileutils) '4.1*)
2831                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2832                break 3;;
2833            esac
2834          done
2835        done
2836   done
2837 IFS=$as_save_IFS
2838
2839 fi
2840
2841   test -d ./--version && rmdir ./--version
2842   if test "${ac_cv_path_mkdir+set}" = set; then
2843     MKDIR_P="$ac_cv_path_mkdir -p"
2844   else
2845     # As a last resort, use the slow shell script.  Don't cache a
2846     # value for MKDIR_P within a source directory, because that will
2847     # break other packages using the cache if that directory is
2848     # removed, or if the value is a relative name.
2849     MKDIR_P="$ac_install_sh -d"
2850   fi
2851 fi
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2853 $as_echo "$MKDIR_P" >&6; }
2854
2855 mkdir_p="$MKDIR_P"
2856 case $mkdir_p in
2857   [\\/$]* | ?:[\\/]*) ;;
2858   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2859 esac
2860
2861 for ac_prog in gawk mawk nawk awk
2862 do
2863   # Extract the first word of "$ac_prog", so it can be a program name with args.
2864 set dummy $ac_prog; ac_word=$2
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if ${ac_cv_prog_AWK+:} false; then :
2868   $as_echo_n "(cached) " >&6
2869 else
2870   if test -n "$AWK"; then
2871   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2872 else
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 for as_dir in $PATH
2875 do
2876   IFS=$as_save_IFS
2877   test -z "$as_dir" && as_dir=.
2878     for ac_exec_ext in '' $ac_executable_extensions; do
2879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880     ac_cv_prog_AWK="$ac_prog"
2881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882     break 2
2883   fi
2884 done
2885   done
2886 IFS=$as_save_IFS
2887
2888 fi
2889 fi
2890 AWK=$ac_cv_prog_AWK
2891 if test -n "$AWK"; then
2892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2893 $as_echo "$AWK" >&6; }
2894 else
2895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2897 fi
2898
2899
2900   test -n "$AWK" && break
2901 done
2902
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2904 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2905 set x ${MAKE-make}
2906 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2907 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2908   $as_echo_n "(cached) " >&6
2909 else
2910   cat >conftest.make <<\_ACEOF
2911 SHELL = /bin/sh
2912 all:
2913         @echo '@@@%%%=$(MAKE)=@@@%%%'
2914 _ACEOF
2915 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2917   *@@@%%%=?*=@@@%%%*)
2918     eval ac_cv_prog_make_${ac_make}_set=yes;;
2919   *)
2920     eval ac_cv_prog_make_${ac_make}_set=no;;
2921 esac
2922 rm -f conftest.make
2923 fi
2924 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2926 $as_echo "yes" >&6; }
2927   SET_MAKE=
2928 else
2929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2931   SET_MAKE="MAKE=${MAKE-make}"
2932 fi
2933
2934 rm -rf .tst 2>/dev/null
2935 mkdir .tst 2>/dev/null
2936 if test -d .tst; then
2937   am__leading_dot=.
2938 else
2939   am__leading_dot=_
2940 fi
2941 rmdir .tst 2>/dev/null
2942
2943 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2944   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2945   # is not polluted with repeated "-I."
2946   am__isrc=' -I$(srcdir)'
2947   # test to see if srcdir already configured
2948   if test -f $srcdir/config.status; then
2949     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2950   fi
2951 fi
2952
2953 # test whether we have cygpath
2954 if test -z "$CYGPATH_W"; then
2955   if (cygpath --version) >/dev/null 2>/dev/null; then
2956     CYGPATH_W='cygpath -w'
2957   else
2958     CYGPATH_W=echo
2959   fi
2960 fi
2961
2962
2963 # Define the identity of the package.
2964  PACKAGE=libxml2
2965  VERSION=$VERSION
2966
2967
2968 cat >>confdefs.h <<_ACEOF
2969 #define PACKAGE "$PACKAGE"
2970 _ACEOF
2971
2972
2973 cat >>confdefs.h <<_ACEOF
2974 #define VERSION "$VERSION"
2975 _ACEOF
2976
2977 # Some tools Automake needs.
2978
2979 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2980
2981
2982 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2983
2984
2985 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2986
2987
2988 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2989
2990
2991 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2992
2993 # We need awk for the "check" target.  The system "awk" is bad on
2994 # some platforms.
2995 # Always define AMTAR for backward compatibility.
2996
2997 AMTAR=${AMTAR-"${am_missing_run}tar"}
2998
2999 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3000
3001
3002
3003
3004
3005
3006 # Support silent build rules, requires at least automake-1.11. Disable
3007 # by either passing --disable-silent-rules to configure or passing V=1
3008 # to make
3009 # Check whether --enable-silent-rules was given.
3010 if test "${enable_silent_rules+set}" = set; then :
3011   enableval=$enable_silent_rules;
3012 fi
3013
3014 case $enable_silent_rules in
3015 yes) AM_DEFAULT_VERBOSITY=0;;
3016 no)  AM_DEFAULT_VERBOSITY=1;;
3017 *)   AM_DEFAULT_VERBOSITY=0;;
3018 esac
3019 AM_BACKSLASH='\'
3020
3021
3022 ac_ext=c
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 if test -n "$ac_tool_prefix"; then
3028   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false; then :
3033   $as_echo_n "(cached) " >&6
3034 else
3035   if test -n "$CC"; then
3036   ac_cv_prog_CC="$CC" # Let the user override the test.
3037 else
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 for as_dir in $PATH
3040 do
3041   IFS=$as_save_IFS
3042   test -z "$as_dir" && as_dir=.
3043     for ac_exec_ext in '' $ac_executable_extensions; do
3044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047     break 2
3048   fi
3049 done
3050   done
3051 IFS=$as_save_IFS
3052
3053 fi
3054 fi
3055 CC=$ac_cv_prog_CC
3056 if test -n "$CC"; then
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3059 else
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3062 fi
3063
3064
3065 fi
3066 if test -z "$ac_cv_prog_CC"; then
3067   ac_ct_CC=$CC
3068   # Extract the first word of "gcc", so it can be a program name with args.
3069 set dummy gcc; ac_word=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3073   $as_echo_n "(cached) " >&6
3074 else
3075   if test -n "$ac_ct_CC"; then
3076   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3077 else
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH
3080 do
3081   IFS=$as_save_IFS
3082   test -z "$as_dir" && as_dir=.
3083     for ac_exec_ext in '' $ac_executable_extensions; do
3084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085     ac_cv_prog_ac_ct_CC="gcc"
3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087     break 2
3088   fi
3089 done
3090   done
3091 IFS=$as_save_IFS
3092
3093 fi
3094 fi
3095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3098 $as_echo "$ac_ct_CC" >&6; }
3099 else
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3102 fi
3103
3104   if test "x$ac_ct_CC" = x; then
3105     CC=""
3106   else
3107     case $cross_compiling:$ac_tool_warned in
3108 yes:)
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned=yes ;;
3112 esac
3113     CC=$ac_ct_CC
3114   fi
3115 else
3116   CC="$ac_cv_prog_CC"
3117 fi
3118
3119 if test -z "$CC"; then
3120           if test -n "$ac_tool_prefix"; then
3121     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122 set dummy ${ac_tool_prefix}cc; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false; then :
3126   $as_echo_n "(cached) " >&6
3127 else
3128   if test -n "$CC"; then
3129   ac_cv_prog_CC="$CC" # Let the user override the test.
3130 else
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3133 do
3134   IFS=$as_save_IFS
3135   test -z "$as_dir" && as_dir=.
3136     for ac_exec_ext in '' $ac_executable_extensions; do
3137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138     ac_cv_prog_CC="${ac_tool_prefix}cc"
3139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140     break 2
3141   fi
3142 done
3143   done
3144 IFS=$as_save_IFS
3145
3146 fi
3147 fi
3148 CC=$ac_cv_prog_CC
3149 if test -n "$CC"; then
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3152 else
3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3155 fi
3156
3157
3158   fi
3159 fi
3160 if test -z "$CC"; then
3161   # Extract the first word of "cc", so it can be a program name with args.
3162 set dummy cc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166   $as_echo_n "(cached) " >&6
3167 else
3168   if test -n "$CC"; then
3169   ac_cv_prog_CC="$CC" # Let the user override the test.
3170 else
3171   ac_prog_rejected=no
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH
3174 do
3175   IFS=$as_save_IFS
3176   test -z "$as_dir" && as_dir=.
3177     for ac_exec_ext in '' $ac_executable_extensions; do
3178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180        ac_prog_rejected=yes
3181        continue
3182      fi
3183     ac_cv_prog_CC="cc"
3184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185     break 2
3186   fi
3187 done
3188   done
3189 IFS=$as_save_IFS
3190
3191 if test $ac_prog_rejected = yes; then
3192   # We found a bogon in the path, so make sure we never use it.
3193   set dummy $ac_cv_prog_CC
3194   shift
3195   if test $# != 0; then
3196     # We chose a different compiler from the bogus one.
3197     # However, it has the same basename, so the bogon will be chosen
3198     # first if we set CC to just the basename; use the full file name.
3199     shift
3200     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3201   fi
3202 fi
3203 fi
3204 fi
3205 CC=$ac_cv_prog_CC
3206 if test -n "$CC"; then
3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3209 else
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3212 fi
3213
3214
3215 fi
3216 if test -z "$CC"; then
3217   if test -n "$ac_tool_prefix"; then
3218   for ac_prog in cl.exe
3219   do
3220     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_CC+:} false; then :
3225   $as_echo_n "(cached) " >&6
3226 else
3227   if test -n "$CC"; then
3228   ac_cv_prog_CC="$CC" # Let the user override the test.
3229 else
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 for as_dir in $PATH
3232 do
3233   IFS=$as_save_IFS
3234   test -z "$as_dir" && as_dir=.
3235     for ac_exec_ext in '' $ac_executable_extensions; do
3236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239     break 2
3240   fi
3241 done
3242   done
3243 IFS=$as_save_IFS
3244
3245 fi
3246 fi
3247 CC=$ac_cv_prog_CC
3248 if test -n "$CC"; then
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3251 else
3252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 fi
3255
3256
3257     test -n "$CC" && break
3258   done
3259 fi
3260 if test -z "$CC"; then
3261   ac_ct_CC=$CC
3262   for ac_prog in cl.exe
3263 do
3264   # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy $ac_prog; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3269   $as_echo_n "(cached) " >&6
3270 else
3271   if test -n "$ac_ct_CC"; then
3272   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3273 else
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 for as_dir in $PATH
3276 do
3277   IFS=$as_save_IFS
3278   test -z "$as_dir" && as_dir=.
3279     for ac_exec_ext in '' $ac_executable_extensions; do
3280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281     ac_cv_prog_ac_ct_CC="$ac_prog"
3282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283     break 2
3284   fi
3285 done
3286   done
3287 IFS=$as_save_IFS
3288
3289 fi
3290 fi
3291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294 $as_echo "$ac_ct_CC" >&6; }
3295 else
3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3298 fi
3299
3300
3301   test -n "$ac_ct_CC" && break
3302 done
3303
3304   if test "x$ac_ct_CC" = x; then
3305     CC=""
3306   else
3307     case $cross_compiling:$ac_tool_warned in
3308 yes:)
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned=yes ;;
3312 esac
3313     CC=$ac_ct_CC
3314   fi
3315 fi
3316
3317 fi
3318
3319
3320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $? "no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details" "$LINENO" 5; }
3324
3325 # Provide some information about the compiler.
3326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3327 set X $ac_compile
3328 ac_compiler=$2
3329 for ac_option in --version -v -V -qversion; do
3330   { { ac_try="$ac_compiler $ac_option >&5"
3331 case "(($ac_try" in
3332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333   *) ac_try_echo=$ac_try;;
3334 esac
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3338   ac_status=$?
3339   if test -s conftest.err; then
3340     sed '10a\
3341 ... rest of stderr output deleted ...
3342          10q' conftest.err >conftest.er1
3343     cat conftest.er1 >&5
3344   fi
3345   rm -f conftest.er1 conftest.err
3346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347   test $ac_status = 0; }
3348 done
3349
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h.  */
3352
3353 int
3354 main ()
3355 {
3356
3357   ;
3358   return 0;
3359 }
3360 _ACEOF
3361 ac_clean_files_save=$ac_clean_files
3362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363 # Try to create an executable without -o first, disregard a.out.
3364 # It will help us diagnose broken compilers, and finding out an intuition
3365 # of exeext.
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367 $as_echo_n "checking whether the C compiler works... " >&6; }
3368 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3369
3370 # The possible output files:
3371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3372
3373 ac_rmfiles=
3374 for ac_file in $ac_files
3375 do
3376   case $ac_file in
3377     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3379   esac
3380 done
3381 rm -f $ac_rmfiles
3382
3383 if { { ac_try="$ac_link_default"
3384 case "(($ac_try" in
3385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386   *) ac_try_echo=$ac_try;;
3387 esac
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390   (eval "$ac_link_default") 2>&5
3391   ac_status=$?
3392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393   test $ac_status = 0; }; then :
3394   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3397 # so that the user can short-circuit this test for compilers unknown to
3398 # Autoconf.
3399 for ac_file in $ac_files ''
3400 do
3401   test -f "$ac_file" || continue
3402   case $ac_file in
3403     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3404         ;;
3405     [ab].out )
3406         # We found the default executable, but exeext='' is most
3407         # certainly right.
3408         break;;
3409     *.* )
3410         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3411         then :; else
3412            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3413         fi
3414         # We set ac_cv_exeext here because the later test for it is not
3415         # safe: cross compilers may not add the suffix if given an `-o'
3416         # argument, so we may need to know it at that point already.
3417         # Even if this section looks crufty: it has the advantage of
3418         # actually working.
3419         break;;
3420     * )
3421         break;;
3422   esac
3423 done
3424 test "$ac_cv_exeext" = no && ac_cv_exeext=
3425
3426 else
3427   ac_file=''
3428 fi
3429 if test -z "$ac_file"; then :
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.$ac_ext >&5
3434
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error 77 "C compiler cannot create executables
3438 See \`config.log' for more details" "$LINENO" 5; }
3439 else
3440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3442 fi
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3444 $as_echo_n "checking for C compiler default output file name... " >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446 $as_echo "$ac_file" >&6; }
3447 ac_exeext=$ac_cv_exeext
3448
3449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3450 ac_clean_files=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452 $as_echo_n "checking for suffix of executables... " >&6; }
3453 if { { ac_try="$ac_link"
3454 case "(($ac_try" in
3455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456   *) ac_try_echo=$ac_try;;
3457 esac
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460   (eval "$ac_link") 2>&5
3461   ac_status=$?
3462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463   test $ac_status = 0; }; then :
3464   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3465 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3466 # work properly (i.e., refer to `conftest.exe'), while it won't with
3467 # `rm'.
3468 for ac_file in conftest.exe conftest conftest.*; do
3469   test -f "$ac_file" || continue
3470   case $ac_file in
3471     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3472     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3473           break;;
3474     * ) break;;
3475   esac
3476 done
3477 else
3478   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3481 See \`config.log' for more details" "$LINENO" 5; }
3482 fi
3483 rm -f conftest conftest$ac_cv_exeext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3485 $as_echo "$ac_cv_exeext" >&6; }
3486
3487 rm -f conftest.$ac_ext
3488 EXEEXT=$ac_cv_exeext
3489 ac_exeext=$EXEEXT
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h.  */
3492 #include <stdio.h>
3493 int
3494 main ()
3495 {
3496 FILE *f = fopen ("conftest.out", "w");
3497  return ferror (f) || fclose (f) != 0;
3498
3499   ;
3500   return 0;
3501 }
3502 _ACEOF
3503 ac_clean_files="$ac_clean_files conftest.out"
3504 # Check that the compiler produces executables we can run.  If not, either
3505 # the compiler is broken, or we cross compile.
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3507 $as_echo_n "checking whether we are cross compiling... " >&6; }
3508 if test "$cross_compiling" != yes; then
3509   { { ac_try="$ac_link"
3510 case "(($ac_try" in
3511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512   *) ac_try_echo=$ac_try;;
3513 esac
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516   (eval "$ac_link") 2>&5
3517   ac_status=$?
3518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519   test $ac_status = 0; }
3520   if { ac_try='./conftest$ac_cv_exeext'
3521   { { case "(($ac_try" in
3522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523   *) ac_try_echo=$ac_try;;
3524 esac
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527   (eval "$ac_try") 2>&5
3528   ac_status=$?
3529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530   test $ac_status = 0; }; }; then
3531     cross_compiling=no
3532   else
3533     if test "$cross_compiling" = maybe; then
3534         cross_compiling=yes
3535     else
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 $? "cannot run C compiled programs.
3539 If you meant to cross compile, use \`--host'.
3540 See \`config.log' for more details" "$LINENO" 5; }
3541     fi
3542   fi
3543 fi
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3545 $as_echo "$cross_compiling" >&6; }
3546
3547 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3548 ac_clean_files=$ac_clean_files_save
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3550 $as_echo_n "checking for suffix of object files... " >&6; }
3551 if ${ac_cv_objext+:} false; then :
3552   $as_echo_n "(cached) " >&6
3553 else
3554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h.  */
3556
3557 int
3558 main ()
3559 {
3560
3561   ;
3562   return 0;
3563 }
3564 _ACEOF
3565 rm -f conftest.o conftest.obj
3566 if { { ac_try="$ac_compile"
3567 case "(($ac_try" in
3568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569   *) ac_try_echo=$ac_try;;
3570 esac
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573   (eval "$ac_compile") 2>&5
3574   ac_status=$?
3575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576   test $ac_status = 0; }; then :
3577   for ac_file in conftest.o conftest.obj conftest.*; do
3578   test -f "$ac_file" || continue;
3579   case $ac_file in
3580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3581     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3582        break;;
3583   esac
3584 done
3585 else
3586   $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3588
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "cannot compute suffix of object files: cannot compile
3592 See \`config.log' for more details" "$LINENO" 5; }
3593 fi
3594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3595 fi
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3597 $as_echo "$ac_cv_objext" >&6; }
3598 OBJEXT=$ac_cv_objext
3599 ac_objext=$OBJEXT
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3602 if ${ac_cv_c_compiler_gnu+:} false; then :
3603   $as_echo_n "(cached) " >&6
3604 else
3605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h.  */
3607
3608 int
3609 main ()
3610 {
3611 #ifndef __GNUC__
3612        choke me
3613 #endif
3614
3615   ;
3616   return 0;
3617 }
3618 _ACEOF
3619 if ac_fn_c_try_compile "$LINENO"; then :
3620   ac_compiler_gnu=yes
3621 else
3622   ac_compiler_gnu=no
3623 fi
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3626
3627 fi
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3630 if test $ac_compiler_gnu = yes; then
3631   GCC=yes
3632 else
3633   GCC=
3634 fi
3635 ac_test_CFLAGS=${CFLAGS+set}
3636 ac_save_CFLAGS=$CFLAGS
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3639 if ${ac_cv_prog_cc_g+:} false; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   ac_save_c_werror_flag=$ac_c_werror_flag
3643    ac_c_werror_flag=yes
3644    ac_cv_prog_cc_g=no
3645    CFLAGS="-g"
3646    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h.  */
3648
3649 int
3650 main ()
3651 {
3652
3653   ;
3654   return 0;
3655 }
3656 _ACEOF
3657 if ac_fn_c_try_compile "$LINENO"; then :
3658   ac_cv_prog_cc_g=yes
3659 else
3660   CFLAGS=""
3661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h.  */
3663
3664 int
3665 main ()
3666 {
3667
3668   ;
3669   return 0;
3670 }
3671 _ACEOF
3672 if ac_fn_c_try_compile "$LINENO"; then :
3673
3674 else
3675   ac_c_werror_flag=$ac_save_c_werror_flag
3676          CFLAGS="-g"
3677          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h.  */
3679
3680 int
3681 main ()
3682 {
3683
3684   ;
3685   return 0;
3686 }
3687 _ACEOF
3688 if ac_fn_c_try_compile "$LINENO"; then :
3689   ac_cv_prog_cc_g=yes
3690 fi
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 fi
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 fi
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696    ac_c_werror_flag=$ac_save_c_werror_flag
3697 fi
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3699 $as_echo "$ac_cv_prog_cc_g" >&6; }
3700 if test "$ac_test_CFLAGS" = set; then
3701   CFLAGS=$ac_save_CFLAGS
3702 elif test $ac_cv_prog_cc_g = yes; then
3703   if test "$GCC" = yes; then
3704     CFLAGS="-g -O2"
3705   else
3706     CFLAGS="-g"
3707   fi
3708 else
3709   if test "$GCC" = yes; then
3710     CFLAGS="-O2"
3711   else
3712     CFLAGS=
3713   fi
3714 fi
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3717 if ${ac_cv_prog_cc_c89+:} false; then :
3718   $as_echo_n "(cached) " >&6
3719 else
3720   ac_cv_prog_cc_c89=no
3721 ac_save_CC=$CC
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h.  */
3724 #include <stdarg.h>
3725 #include <stdio.h>
3726 #include <sys/types.h>
3727 #include <sys/stat.h>
3728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3729 struct buf { int x; };
3730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3731 static char *e (p, i)
3732      char **p;
3733      int i;
3734 {
3735   return p[i];
3736 }
3737 static char *f (char * (*g) (char **, int), char **p, ...)
3738 {
3739   char *s;
3740   va_list v;
3741   va_start (v,p);
3742   s = g (p, va_arg (v,int));
3743   va_end (v);
3744   return s;
3745 }
3746
3747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3748    function prototypes and stuff, but not '\xHH' hex character constants.
3749    These don't provoke an error unfortunately, instead are silently treated
3750    as 'x'.  The following induces an error, until -std is added to get
3751    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3752    array size at least.  It's necessary to write '\x00'==0 to get something
3753    that's true only with -std.  */
3754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3755
3756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3757    inside strings and character constants.  */
3758 #define FOO(x) 'x'
3759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3760
3761 int test (int i, double x);
3762 struct s1 {int (*f) (int a);};
3763 struct s2 {int (*f) (double a);};
3764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3765 int argc;
3766 char **argv;
3767 int
3768 main ()
3769 {
3770 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3771   ;
3772   return 0;
3773 }
3774 _ACEOF
3775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3776         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3777 do
3778   CC="$ac_save_CC $ac_arg"
3779   if ac_fn_c_try_compile "$LINENO"; then :
3780   ac_cv_prog_cc_c89=$ac_arg
3781 fi
3782 rm -f core conftest.err conftest.$ac_objext
3783   test "x$ac_cv_prog_cc_c89" != "xno" && break
3784 done
3785 rm -f conftest.$ac_ext
3786 CC=$ac_save_CC
3787
3788 fi
3789 # AC_CACHE_VAL
3790 case "x$ac_cv_prog_cc_c89" in
3791   x)
3792     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3793 $as_echo "none needed" >&6; } ;;
3794   xno)
3795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3796 $as_echo "unsupported" >&6; } ;;
3797   *)
3798     CC="$CC $ac_cv_prog_cc_c89"
3799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3801 esac
3802 if test "x$ac_cv_prog_cc_c89" != xno; then :
3803
3804 fi
3805
3806 ac_ext=c
3807 ac_cpp='$CPP $CPPFLAGS'
3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 DEPDIR="${am__leading_dot}deps"
3812
3813 ac_config_commands="$ac_config_commands depfiles"
3814
3815
3816 am_make=${MAKE-make}
3817 cat > confinc << 'END'
3818 am__doit:
3819         @echo this is the am__doit target
3820 .PHONY: am__doit
3821 END
3822 # If we don't find an include directive, just comment out the code.
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3824 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3825 am__include="#"
3826 am__quote=
3827 _am_result=none
3828 # First try GNU make style include.
3829 echo "include confinc" > confmf
3830 # Ignore all kinds of additional output from `make'.
3831 case `$am_make -s -f confmf 2> /dev/null` in #(
3832 *the\ am__doit\ target*)
3833   am__include=include
3834   am__quote=
3835   _am_result=GNU
3836   ;;
3837 esac
3838 # Now try BSD make style include.
3839 if test "$am__include" = "#"; then
3840    echo '.include "confinc"' > confmf
3841    case `$am_make -s -f confmf 2> /dev/null` in #(
3842    *the\ am__doit\ target*)
3843      am__include=.include
3844      am__quote="\""
3845      _am_result=BSD
3846      ;;
3847    esac
3848 fi
3849
3850
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3852 $as_echo "$_am_result" >&6; }
3853 rm -f confinc confmf
3854
3855 # Check whether --enable-dependency-tracking was given.
3856 if test "${enable_dependency_tracking+set}" = set; then :
3857   enableval=$enable_dependency_tracking;
3858 fi
3859
3860 if test "x$enable_dependency_tracking" != xno; then
3861   am_depcomp="$ac_aux_dir/depcomp"
3862   AMDEPBACKSLASH='\'
3863 fi
3864  if test "x$enable_dependency_tracking" != xno; then
3865   AMDEP_TRUE=
3866   AMDEP_FALSE='#'
3867 else
3868   AMDEP_TRUE='#'
3869   AMDEP_FALSE=
3870 fi
3871
3872
3873
3874 depcc="$CC"   am_compiler_list=
3875
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3877 $as_echo_n "checking dependency style of $depcc... " >&6; }
3878 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3879   $as_echo_n "(cached) " >&6
3880 else
3881   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3882   # We make a subdir and do the tests there.  Otherwise we can end up
3883   # making bogus files that we don't know about and never remove.  For
3884   # instance it was reported that on HP-UX the gcc test will end up
3885   # making a dummy file named `D' -- because `-MD' means `put the output
3886   # in D'.
3887   mkdir conftest.dir
3888   # Copy depcomp to subdir because otherwise we won't find it if we're
3889   # using a relative directory.
3890   cp "$am_depcomp" conftest.dir
3891   cd conftest.dir
3892   # We will build objects and dependencies in a subdirectory because
3893   # it helps to detect inapplicable dependency modes.  For instance
3894   # both Tru64's cc and ICC support -MD to output dependencies as a
3895   # side effect of compilation, but ICC will put the dependencies in
3896   # the current directory while Tru64 will put them in the object
3897   # directory.
3898   mkdir sub
3899
3900   am_cv_CC_dependencies_compiler_type=none
3901   if test "$am_compiler_list" = ""; then
3902      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3903   fi
3904   am__universal=false
3905   case " $depcc " in #(
3906      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3907      esac
3908
3909   for depmode in $am_compiler_list; do
3910     # Setup a source with many dependencies, because some compilers
3911     # like to wrap large dependency lists on column 80 (with \), and
3912     # we should not choose a depcomp mode which is confused by this.
3913     #
3914     # We need to recreate these files for each test, as the compiler may
3915     # overwrite some of them when testing with obscure command lines.
3916     # This happens at least with the AIX C compiler.
3917     : > sub/conftest.c
3918     for i in 1 2 3 4 5 6; do
3919       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3920       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3921       # Solaris 8's {/usr,}/bin/sh.
3922       touch sub/conftst$i.h
3923     done
3924     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3925
3926     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3927     # mode.  It turns out that the SunPro C++ compiler does not properly
3928     # handle `-M -o', and we need to detect this.  Also, some Intel
3929     # versions had trouble with output in subdirs
3930     am__obj=sub/conftest.${OBJEXT-o}
3931     am__minus_obj="-o $am__obj"
3932     case $depmode in
3933     gcc)
3934       # This depmode causes a compiler race in universal mode.
3935       test "$am__universal" = false || continue
3936       ;;
3937     nosideeffect)
3938       # after this tag, mechanisms are not by side-effect, so they'll
3939       # only be used when explicitly requested
3940       if test "x$enable_dependency_tracking" = xyes; then
3941         continue
3942       else
3943         break
3944       fi
3945       ;;
3946     msvisualcpp | msvcmsys)
3947       # This compiler won't grok `-c -o', but also, the minuso test has
3948       # not run yet.  These depmodes are late enough in the game, and
3949       # so weak that their functioning should not be impacted.
3950       am__obj=conftest.${OBJEXT-o}
3951       am__minus_obj=
3952       ;;
3953     none) break ;;
3954     esac
3955     if depmode=$depmode \
3956        source=sub/conftest.c object=$am__obj \
3957        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3958        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3959          >/dev/null 2>conftest.err &&
3960        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3961        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3962        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3963        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3964       # icc doesn't choke on unknown options, it will just issue warnings
3965       # or remarks (even with -Werror).  So we grep stderr for any message
3966       # that says an option was ignored or not supported.
3967       # When given -MP, icc 7.0 and 7.1 complain thusly:
3968       #   icc: Command line warning: ignoring option '-M'; no argument required
3969       # The diagnosis changed in icc 8.0:
3970       #   icc: Command line remark: option '-MP' not supported
3971       if (grep 'ignoring option' conftest.err ||
3972           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3973         am_cv_CC_dependencies_compiler_type=$depmode
3974         break
3975       fi
3976     fi
3977   done
3978
3979   cd ..
3980   rm -rf conftest.dir
3981 else
3982   am_cv_CC_dependencies_compiler_type=none
3983 fi
3984
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3987 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3988 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3989
3990  if
3991   test "x$enable_dependency_tracking" != xno \
3992   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3993   am__fastdepCC_TRUE=
3994   am__fastdepCC_FALSE='#'
3995 else
3996   am__fastdepCC_TRUE='#'
3997   am__fastdepCC_FALSE=
3998 fi
3999
4000
4001
4002
4003 ac_ext=c
4004 ac_cpp='$CPP $CPPFLAGS'
4005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4009 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4010 # On Suns, sometimes $CPP names a directory.
4011 if test -n "$CPP" && test -d "$CPP"; then
4012   CPP=
4013 fi
4014 if test -z "$CPP"; then
4015   if ${ac_cv_prog_CPP+:} false; then :
4016   $as_echo_n "(cached) " >&6
4017 else
4018       # Double quotes because CPP needs to be expanded
4019     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4020     do
4021       ac_preproc_ok=false
4022 for ac_c_preproc_warn_flag in '' yes
4023 do
4024   # Use a header file that comes with gcc, so configuring glibc
4025   # with a fresh cross-compiler works.
4026   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4027   # <limits.h> exists even on freestanding compilers.
4028   # On the NeXT, cc -E runs the code through the compiler's parser,
4029   # not just through cpp. "Syntax error" is here to catch this case.
4030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h.  */
4032 #ifdef __STDC__
4033 # include <limits.h>
4034 #else
4035 # include <assert.h>
4036 #endif
4037                      Syntax error
4038 _ACEOF
4039 if ac_fn_c_try_cpp "$LINENO"; then :
4040
4041 else
4042   # Broken: fails on valid input.
4043 continue
4044 fi
4045 rm -f conftest.err conftest.i conftest.$ac_ext
4046
4047   # OK, works on sane cases.  Now check whether nonexistent headers
4048   # can be detected and how.
4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h.  */
4051 #include <ac_nonexistent.h>
4052 _ACEOF
4053 if ac_fn_c_try_cpp "$LINENO"; then :
4054   # Broken: success on invalid input.
4055 continue
4056 else
4057   # Passes both tests.
4058 ac_preproc_ok=:
4059 break
4060 fi
4061 rm -f conftest.err conftest.i conftest.$ac_ext
4062
4063 done
4064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4065 rm -f conftest.i conftest.err conftest.$ac_ext
4066 if $ac_preproc_ok; then :
4067   break
4068 fi
4069
4070     done
4071     ac_cv_prog_CPP=$CPP
4072
4073 fi
4074   CPP=$ac_cv_prog_CPP
4075 else
4076   ac_cv_prog_CPP=$CPP
4077 fi
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4079 $as_echo "$CPP" >&6; }
4080 ac_preproc_ok=false
4081 for ac_c_preproc_warn_flag in '' yes
4082 do
4083   # Use a header file that comes with gcc, so configuring glibc
4084   # with a fresh cross-compiler works.
4085   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4086   # <limits.h> exists even on freestanding compilers.
4087   # On the NeXT, cc -E runs the code through the compiler's parser,
4088   # not just through cpp. "Syntax error" is here to catch this case.
4089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h.  */
4091 #ifdef __STDC__
4092 # include <limits.h>
4093 #else
4094 # include <assert.h>
4095 #endif
4096                      Syntax error
4097 _ACEOF
4098 if ac_fn_c_try_cpp "$LINENO"; then :
4099
4100 else
4101   # Broken: fails on valid input.
4102 continue
4103 fi
4104 rm -f conftest.err conftest.i conftest.$ac_ext
4105
4106   # OK, works on sane cases.  Now check whether nonexistent headers
4107   # can be detected and how.
4108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h.  */
4110 #include <ac_nonexistent.h>
4111 _ACEOF
4112 if ac_fn_c_try_cpp "$LINENO"; then :
4113   # Broken: success on invalid input.
4114 continue
4115 else
4116   # Passes both tests.
4117 ac_preproc_ok=:
4118 break
4119 fi
4120 rm -f conftest.err conftest.i conftest.$ac_ext
4121
4122 done
4123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4124 rm -f conftest.i conftest.err conftest.$ac_ext
4125 if $ac_preproc_ok; then :
4126
4127 else
4128   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4131 See \`config.log' for more details" "$LINENO" 5; }
4132 fi
4133
4134 ac_ext=c
4135 ac_cpp='$CPP $CPPFLAGS'
4136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4139
4140 # Extract the first word of "rm", so it can be a program name with args.
4141 set dummy rm; ac_word=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if ${ac_cv_path_RM+:} false; then :
4145   $as_echo_n "(cached) " >&6
4146 else
4147   case $RM in
4148   [\\/]* | ?:[\\/]*)
4149   ac_cv_path_RM="$RM" # Let the user override the test with a path.
4150   ;;
4151   *)
4152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153 for as_dir in $PATH
4154 do
4155   IFS=$as_save_IFS
4156   test -z "$as_dir" && as_dir=.
4157     for ac_exec_ext in '' $ac_executable_extensions; do
4158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4159     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4161     break 2
4162   fi
4163 done
4164   done
4165 IFS=$as_save_IFS
4166
4167   test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4168   ;;
4169 esac
4170 fi
4171 RM=$ac_cv_path_RM
4172 if test -n "$RM"; then
4173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4174 $as_echo "$RM" >&6; }
4175 else
4176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4178 fi
4179
4180
4181 # Extract the first word of "mv", so it can be a program name with args.
4182 set dummy mv; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if ${ac_cv_path_MV+:} false; then :
4186   $as_echo_n "(cached) " >&6
4187 else
4188   case $MV in
4189   [\\/]* | ?:[\\/]*)
4190   ac_cv_path_MV="$MV" # Let the user override the test with a path.
4191   ;;
4192   *)
4193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4195 do
4196   IFS=$as_save_IFS
4197   test -z "$as_dir" && as_dir=.
4198     for ac_exec_ext in '' $ac_executable_extensions; do
4199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4200     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202     break 2
4203   fi
4204 done
4205   done
4206 IFS=$as_save_IFS
4207
4208   test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4209   ;;
4210 esac
4211 fi
4212 MV=$ac_cv_path_MV
4213 if test -n "$MV"; then
4214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4215 $as_echo "$MV" >&6; }
4216 else
4217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4218 $as_echo "no" >&6; }
4219 fi
4220
4221
4222 # Extract the first word of "tar", so it can be a program name with args.
4223 set dummy tar; ac_word=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if ${ac_cv_path_TAR+:} false; then :
4227   $as_echo_n "(cached) " >&6
4228 else
4229   case $TAR in
4230   [\\/]* | ?:[\\/]*)
4231   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4232   ;;
4233   *)
4234   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 for as_dir in $PATH
4236 do
4237   IFS=$as_save_IFS
4238   test -z "$as_dir" && as_dir=.
4239     for ac_exec_ext in '' $ac_executable_extensions; do
4240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4241     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243     break 2
4244   fi
4245 done
4246   done
4247 IFS=$as_save_IFS
4248
4249   test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4250   ;;
4251 esac
4252 fi
4253 TAR=$ac_cv_path_TAR
4254 if test -n "$TAR"; then
4255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4256 $as_echo "$TAR" >&6; }
4257 else
4258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4260 fi
4261
4262
4263 # Extract the first word of "perl", so it can be a program name with args.
4264 set dummy perl; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_path_PERL+:} false; then :
4268   $as_echo_n "(cached) " >&6
4269 else
4270   case $PERL in
4271   [\\/]* | ?:[\\/]*)
4272   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4273   ;;
4274   *)
4275   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 for as_dir in $PATH
4277 do
4278   IFS=$as_save_IFS
4279   test -z "$as_dir" && as_dir=.
4280     for ac_exec_ext in '' $ac_executable_extensions; do
4281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4282     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284     break 2
4285   fi
4286 done
4287   done
4288 IFS=$as_save_IFS
4289
4290   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
4291   ;;
4292 esac
4293 fi
4294 PERL=$ac_cv_path_PERL
4295 if test -n "$PERL"; then
4296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4297 $as_echo "$PERL" >&6; }
4298 else
4299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4301 fi
4302
4303
4304 # Extract the first word of "wget", so it can be a program name with args.
4305 set dummy wget; ac_word=$2
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4307 $as_echo_n "checking for $ac_word... " >&6; }
4308 if ${ac_cv_path_WGET+:} false; then :
4309   $as_echo_n "(cached) " >&6
4310 else
4311   case $WGET in
4312   [\\/]* | ?:[\\/]*)
4313   ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
4314   ;;
4315   *)
4316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4318 do
4319   IFS=$as_save_IFS
4320   test -z "$as_dir" && as_dir=.
4321     for ac_exec_ext in '' $ac_executable_extensions; do
4322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323     ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
4324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325     break 2
4326   fi
4327 done
4328   done
4329 IFS=$as_save_IFS
4330
4331   test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
4332   ;;
4333 esac
4334 fi
4335 WGET=$ac_cv_path_WGET
4336 if test -n "$WGET"; then
4337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
4338 $as_echo "$WGET" >&6; }
4339 else
4340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4342 fi
4343
4344
4345 # Extract the first word of "xmllint", so it can be a program name with args.
4346 set dummy xmllint; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_path_XMLLINT+:} false; then :
4350   $as_echo_n "(cached) " >&6
4351 else
4352   case $XMLLINT in
4353   [\\/]* | ?:[\\/]*)
4354   ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4355   ;;
4356   *)
4357   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358 for as_dir in $PATH
4359 do
4360   IFS=$as_save_IFS
4361   test -z "$as_dir" && as_dir=.
4362     for ac_exec_ext in '' $ac_executable_extensions; do
4363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4364     ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
4365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366     break 2
4367   fi
4368 done
4369   done
4370 IFS=$as_save_IFS
4371
4372   test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
4373   ;;
4374 esac
4375 fi
4376 XMLLINT=$ac_cv_path_XMLLINT
4377 if test -n "$XMLLINT"; then
4378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4379 $as_echo "$XMLLINT" >&6; }
4380 else
4381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4383 fi
4384
4385
4386 # Extract the first word of "xsltproc", so it can be a program name with args.
4387 set dummy xsltproc; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_path_XSLTPROC+:} false; then :
4391   $as_echo_n "(cached) " >&6
4392 else
4393   case $XSLTPROC in
4394   [\\/]* | ?:[\\/]*)
4395   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4396   ;;
4397   *)
4398   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH
4400 do
4401   IFS=$as_save_IFS
4402   test -z "$as_dir" && as_dir=.
4403     for ac_exec_ext in '' $ac_executable_extensions; do
4404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407     break 2
4408   fi
4409 done
4410   done
4411 IFS=$as_save_IFS
4412
4413   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
4414   ;;
4415 esac
4416 fi
4417 XSLTPROC=$ac_cv_path_XSLTPROC
4418 if test -n "$XSLTPROC"; then
4419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4420 $as_echo "$XSLTPROC" >&6; }
4421 else
4422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4424 fi
4425
4426
4427
4428 enable_win32_dll=yes
4429
4430 case $host in
4431 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4432   if test -n "$ac_tool_prefix"; then
4433   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4434 set dummy ${ac_tool_prefix}as; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_AS+:} false; then :
4438   $as_echo_n "(cached) " >&6
4439 else
4440   if test -n "$AS"; then
4441   ac_cv_prog_AS="$AS" # Let the user override the test.
4442 else
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4445 do
4446   IFS=$as_save_IFS
4447   test -z "$as_dir" && as_dir=.
4448     for ac_exec_ext in '' $ac_executable_extensions; do
4449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4450     ac_cv_prog_AS="${ac_tool_prefix}as"
4451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452     break 2
4453   fi
4454 done
4455   done
4456 IFS=$as_save_IFS
4457
4458 fi
4459 fi
4460 AS=$ac_cv_prog_AS
4461 if test -n "$AS"; then
4462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4463 $as_echo "$AS" >&6; }
4464 else
4465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4467 fi
4468
4469
4470 fi
4471 if test -z "$ac_cv_prog_AS"; then
4472   ac_ct_AS=$AS
4473   # Extract the first word of "as", so it can be a program name with args.
4474 set dummy as; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4478   $as_echo_n "(cached) " >&6
4479 else
4480   if test -n "$ac_ct_AS"; then
4481   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4485 do
4486   IFS=$as_save_IFS
4487   test -z "$as_dir" && as_dir=.
4488     for ac_exec_ext in '' $ac_executable_extensions; do
4489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4490     ac_cv_prog_ac_ct_AS="as"
4491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492     break 2
4493   fi
4494 done
4495   done
4496 IFS=$as_save_IFS
4497
4498 fi
4499 fi
4500 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4501 if test -n "$ac_ct_AS"; then
4502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4503 $as_echo "$ac_ct_AS" >&6; }
4504 else
4505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4507 fi
4508
4509   if test "x$ac_ct_AS" = x; then
4510     AS="false"
4511   else
4512     case $cross_compiling:$ac_tool_warned in
4513 yes:)
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned=yes ;;
4517 esac
4518     AS=$ac_ct_AS
4519   fi
4520 else
4521   AS="$ac_cv_prog_AS"
4522 fi
4523
4524   if test -n "$ac_tool_prefix"; then
4525   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4526 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_DLLTOOL+:} false; then :
4530   $as_echo_n "(cached) " >&6
4531 else
4532   if test -n "$DLLTOOL"; then
4533   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4534 else
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 for as_dir in $PATH
4537 do
4538   IFS=$as_save_IFS
4539   test -z "$as_dir" && as_dir=.
4540     for ac_exec_ext in '' $ac_executable_extensions; do
4541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544     break 2
4545   fi
4546 done
4547   done
4548 IFS=$as_save_IFS
4549
4550 fi
4551 fi
4552 DLLTOOL=$ac_cv_prog_DLLTOOL
4553 if test -n "$DLLTOOL"; then
4554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4555 $as_echo "$DLLTOOL" >&6; }
4556 else
4557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4559 fi
4560
4561
4562 fi
4563 if test -z "$ac_cv_prog_DLLTOOL"; then
4564   ac_ct_DLLTOOL=$DLLTOOL
4565   # Extract the first word of "dlltool", so it can be a program name with args.
4566 set dummy dlltool; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4570   $as_echo_n "(cached) " >&6
4571 else
4572   if test -n "$ac_ct_DLLTOOL"; then
4573   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4574 else
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH
4577 do
4578   IFS=$as_save_IFS
4579   test -z "$as_dir" && as_dir=.
4580     for ac_exec_ext in '' $ac_executable_extensions; do
4581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584     break 2
4585   fi
4586 done
4587   done
4588 IFS=$as_save_IFS
4589
4590 fi
4591 fi
4592 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4593 if test -n "$ac_ct_DLLTOOL"; then
4594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4595 $as_echo "$ac_ct_DLLTOOL" >&6; }
4596 else
4597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4599 fi
4600
4601   if test "x$ac_ct_DLLTOOL" = x; then
4602     DLLTOOL="false"
4603   else
4604     case $cross_compiling:$ac_tool_warned in
4605 yes:)
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4608 ac_tool_warned=yes ;;
4609 esac
4610     DLLTOOL=$ac_ct_DLLTOOL
4611   fi
4612 else
4613   DLLTOOL="$ac_cv_prog_DLLTOOL"
4614 fi
4615
4616   if test -n "$ac_tool_prefix"; then
4617   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4618 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_OBJDUMP+:} false; then :
4622   $as_echo_n "(cached) " >&6
4623 else
4624   if test -n "$OBJDUMP"; then
4625   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4626 else
4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 for as_dir in $PATH
4629 do
4630   IFS=$as_save_IFS
4631   test -z "$as_dir" && as_dir=.
4632     for ac_exec_ext in '' $ac_executable_extensions; do
4633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636     break 2
4637   fi
4638 done
4639   done
4640 IFS=$as_save_IFS
4641
4642 fi
4643 fi
4644 OBJDUMP=$ac_cv_prog_OBJDUMP
4645 if test -n "$OBJDUMP"; then
4646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4647 $as_echo "$OBJDUMP" >&6; }
4648 else
4649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4651 fi
4652
4653
4654 fi
4655 if test -z "$ac_cv_prog_OBJDUMP"; then
4656   ac_ct_OBJDUMP=$OBJDUMP
4657   # Extract the first word of "objdump", so it can be a program name with args.
4658 set dummy objdump; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4662   $as_echo_n "(cached) " >&6
4663 else
4664   if test -n "$ac_ct_OBJDUMP"; then
4665   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4666 else
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH
4669 do
4670   IFS=$as_save_IFS
4671   test -z "$as_dir" && as_dir=.
4672     for ac_exec_ext in '' $ac_executable_extensions; do
4673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676     break 2
4677   fi
4678 done
4679   done
4680 IFS=$as_save_IFS
4681
4682 fi
4683 fi
4684 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4685 if test -n "$ac_ct_OBJDUMP"; then
4686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4687 $as_echo "$ac_ct_OBJDUMP" >&6; }
4688 else
4689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4691 fi
4692
4693   if test "x$ac_ct_OBJDUMP" = x; then
4694     OBJDUMP="false"
4695   else
4696     case $cross_compiling:$ac_tool_warned in
4697 yes:)
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4701 esac
4702     OBJDUMP=$ac_ct_OBJDUMP
4703   fi
4704 else
4705   OBJDUMP="$ac_cv_prog_OBJDUMP"
4706 fi
4707
4708   ;;
4709 esac
4710
4711 test -z "$AS" && AS=as
4712
4713
4714
4715
4716
4717 test -z "$DLLTOOL" && DLLTOOL=dlltool
4718
4719
4720
4721
4722
4723 test -z "$OBJDUMP" && OBJDUMP=objdump
4724
4725
4726
4727
4728
4729
4730
4731 case `pwd` in
4732   *\ * | *\     *)
4733     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4734 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4735 esac
4736
4737
4738
4739 macro_version='2.4'
4740 macro_revision='1.3293'
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754 ltmain="$ac_aux_dir/ltmain.sh"
4755
4756 # Backslashify metacharacters that are still active within
4757 # double-quoted strings.
4758 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4759
4760 # Same as above, but do not quote variable references.
4761 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4762
4763 # Sed substitution to delay expansion of an escaped shell variable in a
4764 # double_quote_subst'ed string.
4765 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4766
4767 # Sed substitution to delay expansion of an escaped single quote.
4768 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4769
4770 # Sed substitution to avoid accidental globbing in evaled expressions
4771 no_glob_subst='s/\*/\\\*/g'
4772
4773 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4774 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4775 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4776
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4778 $as_echo_n "checking how to print strings... " >&6; }
4779 # Test print first, because it will be a builtin if present.
4780 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4781    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4782   ECHO='print -r --'
4783 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4784   ECHO='printf %s\n'
4785 else
4786   # Use this function as a fallback that always works.
4787   func_fallback_echo ()
4788   {
4789     eval 'cat <<_LTECHO_EOF
4790 $1
4791 _LTECHO_EOF'
4792   }
4793   ECHO='func_fallback_echo'
4794 fi
4795
4796 # func_echo_all arg...
4797 # Invoke $ECHO with all args, space-separated.
4798 func_echo_all ()
4799 {
4800     $ECHO ""
4801 }
4802
4803 case "$ECHO" in
4804   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4805 $as_echo "printf" >&6; } ;;
4806   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4807 $as_echo "print -r" >&6; } ;;
4808   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4809 $as_echo "cat" >&6; } ;;
4810 esac
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4826 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4827 if ${ac_cv_path_SED+:} false; then :
4828   $as_echo_n "(cached) " >&6
4829 else
4830             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4831      for ac_i in 1 2 3 4 5 6 7; do
4832        ac_script="$ac_script$as_nl$ac_script"
4833      done
4834      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4835      { ac_script=; unset ac_script;}
4836      if test -z "$SED"; then
4837   ac_path_SED_found=false
4838   # Loop through the user's path and test for each of PROGNAME-LIST
4839   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH
4841 do
4842   IFS=$as_save_IFS
4843   test -z "$as_dir" && as_dir=.
4844     for ac_prog in sed gsed; do
4845     for ac_exec_ext in '' $ac_executable_extensions; do
4846       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4847       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4848 # Check for GNU ac_path_SED and select it if it is found.
4849   # Check for GNU $ac_path_SED
4850 case `"$ac_path_SED" --version 2>&1` in
4851 *GNU*)
4852   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4853 *)
4854   ac_count=0
4855   $as_echo_n 0123456789 >"conftest.in"
4856   while :
4857   do
4858     cat "conftest.in" "conftest.in" >"conftest.tmp"
4859     mv "conftest.tmp" "conftest.in"
4860     cp "conftest.in" "conftest.nl"
4861     $as_echo '' >> "conftest.nl"
4862     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4863     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4864     as_fn_arith $ac_count + 1 && ac_count=$as_val
4865     if test $ac_count -gt ${ac_path_SED_max-0}; then
4866       # Best one so far, save it but keep looking for a better one
4867       ac_cv_path_SED="$ac_path_SED"
4868       ac_path_SED_max=$ac_count
4869     fi
4870     # 10*(2^10) chars as input seems more than enough
4871     test $ac_count -gt 10 && break
4872   done
4873   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4874 esac
4875
4876       $ac_path_SED_found && break 3
4877     done
4878   done
4879   done
4880 IFS=$as_save_IFS
4881   if test -z "$ac_cv_path_SED"; then
4882     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4883   fi
4884 else
4885   ac_cv_path_SED=$SED
4886 fi
4887
4888 fi
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4890 $as_echo "$ac_cv_path_SED" >&6; }
4891  SED="$ac_cv_path_SED"
4892   rm -f conftest.sed
4893
4894 test -z "$SED" && SED=sed
4895 Xsed="$SED -e 1s/^X//"
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4908 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4909 if ${ac_cv_path_GREP+:} false; then :
4910   $as_echo_n "(cached) " >&6
4911 else
4912   if test -z "$GREP"; then
4913   ac_path_GREP_found=false
4914   # Loop through the user's path and test for each of PROGNAME-LIST
4915   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4917 do
4918   IFS=$as_save_IFS
4919   test -z "$as_dir" && as_dir=.
4920     for ac_prog in grep ggrep; do
4921     for ac_exec_ext in '' $ac_executable_extensions; do
4922       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4923       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4924 # Check for GNU ac_path_GREP and select it if it is found.
4925   # Check for GNU $ac_path_GREP
4926 case `"$ac_path_GREP" --version 2>&1` in
4927 *GNU*)
4928   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4929 *)
4930   ac_count=0
4931   $as_echo_n 0123456789 >"conftest.in"
4932   while :
4933   do
4934     cat "conftest.in" "conftest.in" >"conftest.tmp"
4935     mv "conftest.tmp" "conftest.in"
4936     cp "conftest.in" "conftest.nl"
4937     $as_echo 'GREP' >> "conftest.nl"
4938     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4939     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4940     as_fn_arith $ac_count + 1 && ac_count=$as_val
4941     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4942       # Best one so far, save it but keep looking for a better one
4943       ac_cv_path_GREP="$ac_path_GREP"
4944       ac_path_GREP_max=$ac_count
4945     fi
4946     # 10*(2^10) chars as input seems more than enough
4947     test $ac_count -gt 10 && break
4948   done
4949   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4950 esac
4951
4952       $ac_path_GREP_found && break 3
4953     done
4954   done
4955   done
4956 IFS=$as_save_IFS
4957   if test -z "$ac_cv_path_GREP"; then
4958     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4959   fi
4960 else
4961   ac_cv_path_GREP=$GREP
4962 fi
4963
4964 fi
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4966 $as_echo "$ac_cv_path_GREP" >&6; }
4967  GREP="$ac_cv_path_GREP"
4968
4969
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4971 $as_echo_n "checking for egrep... " >&6; }
4972 if ${ac_cv_path_EGREP+:} false; then :
4973   $as_echo_n "(cached) " >&6
4974 else
4975   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4976    then ac_cv_path_EGREP="$GREP -E"
4977    else
4978      if test -z "$EGREP"; then
4979   ac_path_EGREP_found=false
4980   # Loop through the user's path and test for each of PROGNAME-LIST
4981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4983 do
4984   IFS=$as_save_IFS
4985   test -z "$as_dir" && as_dir=.
4986     for ac_prog in egrep; do
4987     for ac_exec_ext in '' $ac_executable_extensions; do
4988       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4989       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4990 # Check for GNU ac_path_EGREP and select it if it is found.
4991   # Check for GNU $ac_path_EGREP
4992 case `"$ac_path_EGREP" --version 2>&1` in
4993 *GNU*)
4994   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4995 *)
4996   ac_count=0
4997   $as_echo_n 0123456789 >"conftest.in"
4998   while :
4999   do
5000     cat "conftest.in" "conftest.in" >"conftest.tmp"
5001     mv "conftest.tmp" "conftest.in"
5002     cp "conftest.in" "conftest.nl"
5003     $as_echo 'EGREP' >> "conftest.nl"
5004     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5005     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5006     as_fn_arith $ac_count + 1 && ac_count=$as_val
5007     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5008       # Best one so far, save it but keep looking for a better one
5009       ac_cv_path_EGREP="$ac_path_EGREP"
5010       ac_path_EGREP_max=$ac_count
5011     fi
5012     # 10*(2^10) chars as input seems more than enough
5013     test $ac_count -gt 10 && break
5014   done
5015   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5016 esac
5017
5018       $ac_path_EGREP_found && break 3
5019     done
5020   done
5021   done
5022 IFS=$as_save_IFS
5023   if test -z "$ac_cv_path_EGREP"; then
5024     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5025   fi
5026 else
5027   ac_cv_path_EGREP=$EGREP
5028 fi
5029
5030    fi
5031 fi
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5033 $as_echo "$ac_cv_path_EGREP" >&6; }
5034  EGREP="$ac_cv_path_EGREP"
5035
5036
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5038 $as_echo_n "checking for fgrep... " >&6; }
5039 if ${ac_cv_path_FGREP+:} false; then :
5040   $as_echo_n "(cached) " >&6
5041 else
5042   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5043    then ac_cv_path_FGREP="$GREP -F"
5044    else
5045      if test -z "$FGREP"; then
5046   ac_path_FGREP_found=false
5047   # Loop through the user's path and test for each of PROGNAME-LIST
5048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5050 do
5051   IFS=$as_save_IFS
5052   test -z "$as_dir" && as_dir=.
5053     for ac_prog in fgrep; do
5054     for ac_exec_ext in '' $ac_executable_extensions; do
5055       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5056       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5057 # Check for GNU ac_path_FGREP and select it if it is found.
5058   # Check for GNU $ac_path_FGREP
5059 case `"$ac_path_FGREP" --version 2>&1` in
5060 *GNU*)
5061   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5062 *)
5063   ac_count=0
5064   $as_echo_n 0123456789 >"conftest.in"
5065   while :
5066   do
5067     cat "conftest.in" "conftest.in" >"conftest.tmp"
5068     mv "conftest.tmp" "conftest.in"
5069     cp "conftest.in" "conftest.nl"
5070     $as_echo 'FGREP' >> "conftest.nl"
5071     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5072     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5073     as_fn_arith $ac_count + 1 && ac_count=$as_val
5074     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5075       # Best one so far, save it but keep looking for a better one
5076       ac_cv_path_FGREP="$ac_path_FGREP"
5077       ac_path_FGREP_max=$ac_count
5078     fi
5079     # 10*(2^10) chars as input seems more than enough
5080     test $ac_count -gt 10 && break
5081   done
5082   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5083 esac
5084
5085       $ac_path_FGREP_found && break 3
5086     done
5087   done
5088   done
5089 IFS=$as_save_IFS
5090   if test -z "$ac_cv_path_FGREP"; then
5091     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5092   fi
5093 else
5094   ac_cv_path_FGREP=$FGREP
5095 fi
5096
5097    fi
5098 fi
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5100 $as_echo "$ac_cv_path_FGREP" >&6; }
5101  FGREP="$ac_cv_path_FGREP"
5102
5103
5104 test -z "$GREP" && GREP=grep
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124 # Check whether --with-gnu-ld was given.
5125 if test "${with_gnu_ld+set}" = set; then :
5126   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5127 else
5128   with_gnu_ld=no
5129 fi
5130
5131 ac_prog=ld
5132 if test "$GCC" = yes; then
5133   # Check if gcc -print-prog-name=ld gives a path.
5134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5135 $as_echo_n "checking for ld used by $CC... " >&6; }
5136   case $host in
5137   *-*-mingw*)
5138     # gcc leaves a trailing carriage return which upsets mingw
5139     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5140   *)
5141     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5142   esac
5143   case $ac_prog in
5144     # Accept absolute paths.
5145     [\\/]* | ?:[\\/]*)
5146       re_direlt='/[^/][^/]*/\.\./'
5147       # Canonicalize the pathname of ld
5148       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5149       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5150         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5151       done
5152       test -z "$LD" && LD="$ac_prog"
5153       ;;
5154   "")
5155     # If it fails, then pretend we aren't using GCC.
5156     ac_prog=ld
5157     ;;
5158   *)
5159     # If it is relative, then search for the first ld in PATH.
5160     with_gnu_ld=unknown
5161     ;;
5162   esac
5163 elif test "$with_gnu_ld" = yes; then
5164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5165 $as_echo_n "checking for GNU ld... " >&6; }
5166 else
5167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5168 $as_echo_n "checking for non-GNU ld... " >&6; }
5169 fi
5170 if ${lt_cv_path_LD+:} false; then :
5171   $as_echo_n "(cached) " >&6
5172 else
5173   if test -z "$LD"; then
5174   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5175   for ac_dir in $PATH; do
5176     IFS="$lt_save_ifs"
5177     test -z "$ac_dir" && ac_dir=.
5178     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5179       lt_cv_path_LD="$ac_dir/$ac_prog"
5180       # Check to see if the program is GNU ld.  I'd rather use --version,
5181       # but apparently some variants of GNU ld only accept -v.
5182       # Break only if it was the GNU/non-GNU ld that we prefer.
5183       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5184       *GNU* | *'with BFD'*)
5185         test "$with_gnu_ld" != no && break
5186         ;;
5187       *)
5188         test "$with_gnu_ld" != yes && break
5189         ;;
5190       esac
5191     fi
5192   done
5193   IFS="$lt_save_ifs"
5194 else
5195   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5196 fi
5197 fi
5198
5199 LD="$lt_cv_path_LD"
5200 if test -n "$LD"; then
5201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5202 $as_echo "$LD" >&6; }
5203 else
5204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 fi
5207 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5209 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5210 if ${lt_cv_prog_gnu_ld+:} false; then :
5211   $as_echo_n "(cached) " >&6
5212 else
5213   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5214 case `$LD -v 2>&1 </dev/null` in
5215 *GNU* | *'with BFD'*)
5216   lt_cv_prog_gnu_ld=yes
5217   ;;
5218 *)
5219   lt_cv_prog_gnu_ld=no
5220   ;;
5221 esac
5222 fi
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5224 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5225 with_gnu_ld=$lt_cv_prog_gnu_ld
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5236 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5237 if ${lt_cv_path_NM+:} false; then :
5238   $as_echo_n "(cached) " >&6
5239 else
5240   if test -n "$NM"; then
5241   # Let the user override the test.
5242   lt_cv_path_NM="$NM"
5243 else
5244   lt_nm_to_check="${ac_tool_prefix}nm"
5245   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5246     lt_nm_to_check="$lt_nm_to_check nm"
5247   fi
5248   for lt_tmp_nm in $lt_nm_to_check; do
5249     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5250     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5251       IFS="$lt_save_ifs"
5252       test -z "$ac_dir" && ac_dir=.
5253       tmp_nm="$ac_dir/$lt_tmp_nm"
5254       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5255         # Check to see if the nm accepts a BSD-compat flag.
5256         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5257         #   nm: unknown option "B" ignored
5258         # Tru64's nm complains that /dev/null is an invalid object file
5259         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5260         */dev/null* | *'Invalid file or object type'*)
5261           lt_cv_path_NM="$tmp_nm -B"
5262           break
5263           ;;
5264         *)
5265           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5266           */dev/null*)
5267             lt_cv_path_NM="$tmp_nm -p"
5268             break
5269             ;;
5270           *)
5271             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5272             continue # so that we can try to find one that supports BSD flags
5273             ;;
5274           esac
5275           ;;
5276         esac
5277       fi
5278     done
5279     IFS="$lt_save_ifs"
5280   done
5281   : ${lt_cv_path_NM=no}
5282 fi
5283 fi
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5285 $as_echo "$lt_cv_path_NM" >&6; }
5286 if test "$lt_cv_path_NM" != "no"; then
5287   NM="$lt_cv_path_NM"
5288 else
5289   # Didn't find any BSD compatible name lister, look for dumpbin.
5290   if test -n "$DUMPBIN"; then :
5291     # Let the user override the test.
5292   else
5293     if test -n "$ac_tool_prefix"; then
5294   for ac_prog in dumpbin "link -dump"
5295   do
5296     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_DUMPBIN+:} false; then :
5301   $as_echo_n "(cached) " >&6
5302 else
5303   if test -n "$DUMPBIN"; then
5304   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5308 do
5309   IFS=$as_save_IFS
5310   test -z "$as_dir" && as_dir=.
5311     for ac_exec_ext in '' $ac_executable_extensions; do
5312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315     break 2
5316   fi
5317 done
5318   done
5319 IFS=$as_save_IFS
5320
5321 fi
5322 fi
5323 DUMPBIN=$ac_cv_prog_DUMPBIN
5324 if test -n "$DUMPBIN"; then
5325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5326 $as_echo "$DUMPBIN" >&6; }
5327 else
5328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5330 fi
5331
5332
5333     test -n "$DUMPBIN" && break
5334   done
5335 fi
5336 if test -z "$DUMPBIN"; then
5337   ac_ct_DUMPBIN=$DUMPBIN
5338   for ac_prog in dumpbin "link -dump"
5339 do
5340   # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5345   $as_echo_n "(cached) " >&6
5346 else
5347   if test -n "$ac_ct_DUMPBIN"; then
5348   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5349 else
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 for as_dir in $PATH
5352 do
5353   IFS=$as_save_IFS
5354   test -z "$as_dir" && as_dir=.
5355     for ac_exec_ext in '' $ac_executable_extensions; do
5356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359     break 2
5360   fi
5361 done
5362   done
5363 IFS=$as_save_IFS
5364
5365 fi
5366 fi
5367 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5368 if test -n "$ac_ct_DUMPBIN"; then
5369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5370 $as_echo "$ac_ct_DUMPBIN" >&6; }
5371 else
5372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5374 fi
5375
5376
5377   test -n "$ac_ct_DUMPBIN" && break
5378 done
5379
5380   if test "x$ac_ct_DUMPBIN" = x; then
5381     DUMPBIN=":"
5382   else
5383     case $cross_compiling:$ac_tool_warned in
5384 yes:)
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5387 ac_tool_warned=yes ;;
5388 esac
5389     DUMPBIN=$ac_ct_DUMPBIN
5390   fi
5391 fi
5392
5393     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5394     *COFF*)
5395       DUMPBIN="$DUMPBIN -symbols"
5396       ;;
5397     *)
5398       DUMPBIN=:
5399       ;;
5400     esac
5401   fi
5402
5403   if test "$DUMPBIN" != ":"; then
5404     NM="$DUMPBIN"
5405   fi
5406 fi
5407 test -z "$NM" && NM=nm
5408
5409
5410
5411
5412
5413
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5415 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5416 if ${lt_cv_nm_interface+:} false; then :
5417   $as_echo_n "(cached) " >&6
5418 else
5419   lt_cv_nm_interface="BSD nm"
5420   echo "int some_variable = 0;" > conftest.$ac_ext
5421   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5422   (eval "$ac_compile" 2>conftest.err)
5423   cat conftest.err >&5
5424   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5425   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5426   cat conftest.err >&5
5427   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5428   cat conftest.out >&5
5429   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5430     lt_cv_nm_interface="MS dumpbin"
5431   fi
5432   rm -f conftest*
5433 fi
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5435 $as_echo "$lt_cv_nm_interface" >&6; }
5436
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5438 $as_echo_n "checking whether ln -s works... " >&6; }
5439 LN_S=$as_ln_s
5440 if test "$LN_S" = "ln -s"; then
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5442 $as_echo "yes" >&6; }
5443 else
5444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5445 $as_echo "no, using $LN_S" >&6; }
5446 fi
5447
5448 # find the maximum length of command line arguments
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5450 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5451 if ${lt_cv_sys_max_cmd_len+:} false; then :
5452   $as_echo_n "(cached) " >&6
5453 else
5454     i=0
5455   teststring="ABCD"
5456
5457   case $build_os in
5458   msdosdjgpp*)
5459     # On DJGPP, this test can blow up pretty badly due to problems in libc
5460     # (any single argument exceeding 2000 bytes causes a buffer overrun
5461     # during glob expansion).  Even if it were fixed, the result of this
5462     # check would be larger than it should be.
5463     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5464     ;;
5465
5466   gnu*)
5467     # Under GNU Hurd, this test is not required because there is
5468     # no limit to the length of command line arguments.
5469     # Libtool will interpret -1 as no limit whatsoever
5470     lt_cv_sys_max_cmd_len=-1;
5471     ;;
5472
5473   cygwin* | mingw* | cegcc*)
5474     # On Win9x/ME, this test blows up -- it succeeds, but takes
5475     # about 5 minutes as the teststring grows exponentially.
5476     # Worse, since 9x/ME are not pre-emptively multitasking,
5477     # you end up with a "frozen" computer, even though with patience
5478     # the test eventually succeeds (with a max line length of 256k).
5479     # Instead, let's just punt: use the minimum linelength reported by
5480     # all of the supported platforms: 8192 (on NT/2K/XP).
5481     lt_cv_sys_max_cmd_len=8192;
5482     ;;
5483
5484   mint*)
5485     # On MiNT this can take a long time and run out of memory.
5486     lt_cv_sys_max_cmd_len=8192;
5487     ;;
5488
5489   amigaos*)
5490     # On AmigaOS with pdksh, this test takes hours, literally.
5491     # So we just punt and use a minimum line length of 8192.
5492     lt_cv_sys_max_cmd_len=8192;
5493     ;;
5494
5495   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5496     # This has been around since 386BSD, at least.  Likely further.
5497     if test -x /sbin/sysctl; then
5498       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5499     elif test -x /usr/sbin/sysctl; then
5500       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5501     else
5502       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5503     fi
5504     # And add a safety zone
5505     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5506     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5507     ;;
5508
5509   interix*)
5510     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5511     lt_cv_sys_max_cmd_len=196608
5512     ;;
5513
5514   osf*)
5515     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5516     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5517     # nice to cause kernel panics so lets avoid the loop below.
5518     # First set a reasonable default.
5519     lt_cv_sys_max_cmd_len=16384
5520     #
5521     if test -x /sbin/sysconfig; then
5522       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5523         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5524       esac
5525     fi
5526     ;;
5527   sco3.2v5*)
5528     lt_cv_sys_max_cmd_len=102400
5529     ;;
5530   sysv5* | sco5v6* | sysv4.2uw2*)
5531     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5532     if test -n "$kargmax"; then
5533       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5534     else
5535       lt_cv_sys_max_cmd_len=32768
5536     fi
5537     ;;
5538   *)
5539     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5540     if test -n "$lt_cv_sys_max_cmd_len"; then
5541       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5542       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5543     else
5544       # Make teststring a little bigger before we do anything with it.
5545       # a 1K string should be a reasonable start.
5546       for i in 1 2 3 4 5 6 7 8 ; do
5547         teststring=$teststring$teststring
5548       done
5549       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5550       # If test is not a shell built-in, we'll probably end up computing a
5551       # maximum length that is only half of the actual maximum length, but
5552       # we can't tell.
5553       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5554                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5555               test $i != 17 # 1/2 MB should be enough
5556       do
5557         i=`expr $i + 1`
5558         teststring=$teststring$teststring
5559       done
5560       # Only check the string length outside the loop.
5561       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5562       teststring=
5563       # Add a significant safety factor because C++ compilers can tack on
5564       # massive amounts of additional arguments before passing them to the
5565       # linker.  It appears as though 1/2 is a usable value.
5566       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5567     fi
5568     ;;
5569   esac
5570
5571 fi
5572
5573 if test -n $lt_cv_sys_max_cmd_len ; then
5574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5575 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5576 else
5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5578 $as_echo "none" >&6; }
5579 fi
5580 max_cmd_len=$lt_cv_sys_max_cmd_len
5581
5582
5583
5584
5585
5586
5587 : ${CP="cp -f"}
5588 : ${MV="mv -f"}
5589 : ${RM="rm -f"}
5590
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5592 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5593 # Try some XSI features
5594 xsi_shell=no
5595 ( _lt_dummy="a/b/c"
5596   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5597       = c,a/b,b/c, \
5598     && eval 'test $(( 1 + 1 )) -eq 2 \
5599     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5600   && xsi_shell=yes
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5602 $as_echo "$xsi_shell" >&6; }
5603
5604
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5606 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5607 lt_shell_append=no
5608 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5609     >/dev/null 2>&1 \
5610   && lt_shell_append=yes
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5612 $as_echo "$lt_shell_append" >&6; }
5613
5614
5615 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5616   lt_unset=unset
5617 else
5618   lt_unset=false
5619 fi
5620
5621
5622
5623
5624
5625 # test EBCDIC or ASCII
5626 case `echo X|tr X '\101'` in
5627  A) # ASCII based system
5628     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5629   lt_SP2NL='tr \040 \012'
5630   lt_NL2SP='tr \015\012 \040\040'
5631   ;;
5632  *) # EBCDIC based system
5633   lt_SP2NL='tr \100 \n'
5634   lt_NL2SP='tr \r\n \100\100'
5635   ;;
5636 esac
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5647 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5648 if ${lt_cv_to_host_file_cmd+:} false; then :
5649   $as_echo_n "(cached) " >&6
5650 else
5651   case $host in
5652   *-*-mingw* )
5653     case $build in
5654       *-*-mingw* ) # actually msys
5655         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5656         ;;
5657       *-*-cygwin* )
5658         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5659         ;;
5660       * ) # otherwise, assume *nix
5661         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5662         ;;
5663     esac
5664     ;;
5665   *-*-cygwin* )
5666     case $build in
5667       *-*-mingw* ) # actually msys
5668         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5669         ;;
5670       *-*-cygwin* )
5671         lt_cv_to_host_file_cmd=func_convert_file_noop
5672         ;;
5673       * ) # otherwise, assume *nix
5674         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5675         ;;
5676     esac
5677     ;;
5678   * ) # unhandled hosts (and "normal" native builds)
5679     lt_cv_to_host_file_cmd=func_convert_file_noop
5680     ;;
5681 esac
5682
5683 fi
5684
5685 to_host_file_cmd=$lt_cv_to_host_file_cmd
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5687 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5688
5689
5690
5691
5692
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5694 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5695 if ${lt_cv_to_tool_file_cmd+:} false; then :
5696   $as_echo_n "(cached) " >&6
5697 else
5698   #assume ordinary cross tools, or native build.
5699 lt_cv_to_tool_file_cmd=func_convert_file_noop
5700 case $host in
5701   *-*-mingw* )
5702     case $build in
5703       *-*-mingw* ) # actually msys
5704         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5705         ;;
5706     esac
5707     ;;
5708 esac
5709
5710 fi
5711
5712 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5714 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5715
5716
5717
5718
5719
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5721 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5722 if ${lt_cv_ld_reload_flag+:} false; then :
5723   $as_echo_n "(cached) " >&6
5724 else
5725   lt_cv_ld_reload_flag='-r'
5726 fi
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5728 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5729 reload_flag=$lt_cv_ld_reload_flag
5730 case $reload_flag in
5731 "" | " "*) ;;
5732 *) reload_flag=" $reload_flag" ;;
5733 esac
5734 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5735 case $host_os in
5736   cygwin* | mingw* | pw32* | cegcc*)
5737     if test "$GCC" != yes; then
5738       reload_cmds=false
5739     fi
5740     ;;
5741   darwin*)
5742     if test "$GCC" = yes; then
5743       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5744     else
5745       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5746     fi
5747     ;;
5748 esac
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758 if test -n "$ac_tool_prefix"; then
5759   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5760 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_OBJDUMP+:} false; then :
5764   $as_echo_n "(cached) " >&6
5765 else
5766   if test -n "$OBJDUMP"; then
5767   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5771 do
5772   IFS=$as_save_IFS
5773   test -z "$as_dir" && as_dir=.
5774     for ac_exec_ext in '' $ac_executable_extensions; do
5775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778     break 2
5779   fi
5780 done
5781   done
5782 IFS=$as_save_IFS
5783
5784 fi
5785 fi
5786 OBJDUMP=$ac_cv_prog_OBJDUMP
5787 if test -n "$OBJDUMP"; then
5788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5789 $as_echo "$OBJDUMP" >&6; }
5790 else
5791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5793 fi
5794
5795
5796 fi
5797 if test -z "$ac_cv_prog_OBJDUMP"; then
5798   ac_ct_OBJDUMP=$OBJDUMP
5799   # Extract the first word of "objdump", so it can be a program name with args.
5800 set dummy objdump; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5804   $as_echo_n "(cached) " >&6
5805 else
5806   if test -n "$ac_ct_OBJDUMP"; then
5807   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5811 do
5812   IFS=$as_save_IFS
5813   test -z "$as_dir" && as_dir=.
5814     for ac_exec_ext in '' $ac_executable_extensions; do
5815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818     break 2
5819   fi
5820 done
5821   done
5822 IFS=$as_save_IFS
5823
5824 fi
5825 fi
5826 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5827 if test -n "$ac_ct_OBJDUMP"; then
5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5829 $as_echo "$ac_ct_OBJDUMP" >&6; }
5830 else
5831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5833 fi
5834
5835   if test "x$ac_ct_OBJDUMP" = x; then
5836     OBJDUMP="false"
5837   else
5838     case $cross_compiling:$ac_tool_warned in
5839 yes:)
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842 ac_tool_warned=yes ;;
5843 esac
5844     OBJDUMP=$ac_ct_OBJDUMP
5845   fi
5846 else
5847   OBJDUMP="$ac_cv_prog_OBJDUMP"
5848 fi
5849
5850 test -z "$OBJDUMP" && OBJDUMP=objdump
5851
5852
5853
5854
5855
5856
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5858 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5859 if ${lt_cv_deplibs_check_method+:} false; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   lt_cv_file_magic_cmd='$MAGIC_CMD'
5863 lt_cv_file_magic_test_file=
5864 lt_cv_deplibs_check_method='unknown'
5865 # Need to set the preceding variable on all platforms that support
5866 # interlibrary dependencies.
5867 # 'none' -- dependencies not supported.
5868 # `unknown' -- same as none, but documents that we really don't know.
5869 # 'pass_all' -- all dependencies passed with no checks.
5870 # 'test_compile' -- check by making test program.
5871 # 'file_magic [[regex]]' -- check by looking for files in library path
5872 # which responds to the $file_magic_cmd with a given extended regex.
5873 # If you have `file' or equivalent on your system and you're not sure
5874 # whether `pass_all' will *always* work, you probably want this one.
5875
5876 case $host_os in
5877 aix[4-9]*)
5878   lt_cv_deplibs_check_method=pass_all
5879   ;;
5880
5881 beos*)
5882   lt_cv_deplibs_check_method=pass_all
5883   ;;
5884
5885 bsdi[45]*)
5886   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5887   lt_cv_file_magic_cmd='/usr/bin/file -L'
5888   lt_cv_file_magic_test_file=/shlib/libc.so
5889   ;;
5890
5891 cygwin*)
5892   # func_win32_libid is a shell function defined in ltmain.sh
5893   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5894   lt_cv_file_magic_cmd='func_win32_libid'
5895   ;;
5896
5897 mingw* | pw32*)
5898   # Base MSYS/MinGW do not provide the 'file' command needed by
5899   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5900   # unless we find 'file', for example because we are cross-compiling.
5901   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5902   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5903     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5904     lt_cv_file_magic_cmd='func_win32_libid'
5905   else
5906     # Keep this pattern in sync with the one in func_win32_libid.
5907     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5908     lt_cv_file_magic_cmd='$OBJDUMP -f'
5909   fi
5910   ;;
5911
5912 cegcc*)
5913   # use the weaker test based on 'objdump'. See mingw*.
5914   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5915   lt_cv_file_magic_cmd='$OBJDUMP -f'
5916   ;;
5917
5918 darwin* | rhapsody*)
5919   lt_cv_deplibs_check_method=pass_all
5920   ;;
5921
5922 freebsd* | dragonfly*)
5923   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5924     case $host_cpu in
5925     i*86 )
5926       # Not sure whether the presence of OpenBSD here was a mistake.
5927       # Let's accept both of them until this is cleared up.
5928       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5929       lt_cv_file_magic_cmd=/usr/bin/file
5930       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5931       ;;
5932     esac
5933   else
5934     lt_cv_deplibs_check_method=pass_all
5935   fi
5936   ;;
5937
5938 gnu*)
5939   lt_cv_deplibs_check_method=pass_all
5940   ;;
5941
5942 haiku*)
5943   lt_cv_deplibs_check_method=pass_all
5944   ;;
5945
5946 hpux10.20* | hpux11*)
5947   lt_cv_file_magic_cmd=/usr/bin/file
5948   case $host_cpu in
5949   ia64*)
5950     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5951     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5952     ;;
5953   hppa*64*)
5954     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]'
5955     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5956     ;;
5957   *)
5958     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5959     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5960     ;;
5961   esac
5962   ;;
5963
5964 interix[3-9]*)
5965   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5966   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5967   ;;
5968
5969 irix5* | irix6* | nonstopux*)
5970   case $LD in
5971   *-32|*"-32 ") libmagic=32-bit;;
5972   *-n32|*"-n32 ") libmagic=N32;;
5973   *-64|*"-64 ") libmagic=64-bit;;
5974   *) libmagic=never-match;;
5975   esac
5976   lt_cv_deplibs_check_method=pass_all
5977   ;;
5978
5979 # This must be Linux ELF.
5980 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5981   lt_cv_deplibs_check_method=pass_all
5982   ;;
5983
5984 netbsd*)
5985   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5986     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5987   else
5988     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5989   fi
5990   ;;
5991
5992 newos6*)
5993   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5994   lt_cv_file_magic_cmd=/usr/bin/file
5995   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5996   ;;
5997
5998 *nto* | *qnx*)
5999   lt_cv_deplibs_check_method=pass_all
6000   ;;
6001
6002 openbsd*)
6003   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6004     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6005   else
6006     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6007   fi
6008   ;;
6009
6010 osf3* | osf4* | osf5*)
6011   lt_cv_deplibs_check_method=pass_all
6012   ;;
6013
6014 rdos*)
6015   lt_cv_deplibs_check_method=pass_all
6016   ;;
6017
6018 solaris*)
6019   lt_cv_deplibs_check_method=pass_all
6020   ;;
6021
6022 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6023   lt_cv_deplibs_check_method=pass_all
6024   ;;
6025
6026 sysv4 | sysv4.3*)
6027   case $host_vendor in
6028   motorola)
6029     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]'
6030     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6031     ;;
6032   ncr)
6033     lt_cv_deplibs_check_method=pass_all
6034     ;;
6035   sequent)
6036     lt_cv_file_magic_cmd='/bin/file'
6037     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6038     ;;
6039   sni)
6040     lt_cv_file_magic_cmd='/bin/file'
6041     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6042     lt_cv_file_magic_test_file=/lib/libc.so
6043     ;;
6044   siemens)
6045     lt_cv_deplibs_check_method=pass_all
6046     ;;
6047   pc)
6048     lt_cv_deplibs_check_method=pass_all
6049     ;;
6050   esac
6051   ;;
6052
6053 tpf*)
6054   lt_cv_deplibs_check_method=pass_all
6055   ;;
6056 esac
6057
6058 fi
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6060 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6061
6062 file_magic_glob=
6063 want_nocaseglob=no
6064 if test "$build" = "$host"; then
6065   case $host_os in
6066   mingw* | pw32*)
6067     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6068       want_nocaseglob=yes
6069     else
6070       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6071     fi
6072     ;;
6073   esac
6074 fi
6075
6076 file_magic_cmd=$lt_cv_file_magic_cmd
6077 deplibs_check_method=$lt_cv_deplibs_check_method
6078 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101 if test -n "$ac_tool_prefix"; then
6102   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_DLLTOOL+:} false; then :
6107   $as_echo_n "(cached) " >&6
6108 else
6109   if test -n "$DLLTOOL"; then
6110   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6111 else
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 for as_dir in $PATH
6114 do
6115   IFS=$as_save_IFS
6116   test -z "$as_dir" && as_dir=.
6117     for ac_exec_ext in '' $ac_executable_extensions; do
6118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121     break 2
6122   fi
6123 done
6124   done
6125 IFS=$as_save_IFS
6126
6127 fi
6128 fi
6129 DLLTOOL=$ac_cv_prog_DLLTOOL
6130 if test -n "$DLLTOOL"; then
6131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6132 $as_echo "$DLLTOOL" >&6; }
6133 else
6134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6136 fi
6137
6138
6139 fi
6140 if test -z "$ac_cv_prog_DLLTOOL"; then
6141   ac_ct_DLLTOOL=$DLLTOOL
6142   # Extract the first word of "dlltool", so it can be a program name with args.
6143 set dummy dlltool; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6147   $as_echo_n "(cached) " >&6
6148 else
6149   if test -n "$ac_ct_DLLTOOL"; then
6150   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6154 do
6155   IFS=$as_save_IFS
6156   test -z "$as_dir" && as_dir=.
6157     for ac_exec_ext in '' $ac_executable_extensions; do
6158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161     break 2
6162   fi
6163 done
6164   done
6165 IFS=$as_save_IFS
6166
6167 fi
6168 fi
6169 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6170 if test -n "$ac_ct_DLLTOOL"; then
6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6172 $as_echo "$ac_ct_DLLTOOL" >&6; }
6173 else
6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6176 fi
6177
6178   if test "x$ac_ct_DLLTOOL" = x; then
6179     DLLTOOL="false"
6180   else
6181     case $cross_compiling:$ac_tool_warned in
6182 yes:)
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185 ac_tool_warned=yes ;;
6186 esac
6187     DLLTOOL=$ac_ct_DLLTOOL
6188   fi
6189 else
6190   DLLTOOL="$ac_cv_prog_DLLTOOL"
6191 fi
6192
6193 test -z "$DLLTOOL" && DLLTOOL=dlltool
6194
6195
6196
6197
6198
6199
6200
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6202 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6203 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6204   $as_echo_n "(cached) " >&6
6205 else
6206   lt_cv_sharedlib_from_linklib_cmd='unknown'
6207
6208 case $host_os in
6209 cygwin* | mingw* | pw32* | cegcc*)
6210   # two different shell functions defined in ltmain.sh
6211   # decide which to use based on capabilities of $DLLTOOL
6212   case `$DLLTOOL --help 2>&1` in
6213   *--identify-strict*)
6214     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6215     ;;
6216   *)
6217     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6218     ;;
6219   esac
6220   ;;
6221 *)
6222   # fallback: assume linklib IS sharedlib
6223   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6224   ;;
6225 esac
6226
6227 fi
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6229 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6230 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6231 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6232
6233
6234
6235
6236
6237
6238
6239
6240 if test -n "$ac_tool_prefix"; then
6241   for ac_prog in ar
6242   do
6243     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_prog_AR+:} false; then :
6248   $as_echo_n "(cached) " >&6
6249 else
6250   if test -n "$AR"; then
6251   ac_cv_prog_AR="$AR" # Let the user override the test.
6252 else
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 for as_dir in $PATH
6255 do
6256   IFS=$as_save_IFS
6257   test -z "$as_dir" && as_dir=.
6258     for ac_exec_ext in '' $ac_executable_extensions; do
6259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262     break 2
6263   fi
6264 done
6265   done
6266 IFS=$as_save_IFS
6267
6268 fi
6269 fi
6270 AR=$ac_cv_prog_AR
6271 if test -n "$AR"; then
6272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6273 $as_echo "$AR" >&6; }
6274 else
6275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6277 fi
6278
6279
6280     test -n "$AR" && break
6281   done
6282 fi
6283 if test -z "$AR"; then
6284   ac_ct_AR=$AR
6285   for ac_prog in ar
6286 do
6287   # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6292   $as_echo_n "(cached) " >&6
6293 else
6294   if test -n "$ac_ct_AR"; then
6295   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6299 do
6300   IFS=$as_save_IFS
6301   test -z "$as_dir" && as_dir=.
6302     for ac_exec_ext in '' $ac_executable_extensions; do
6303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304     ac_cv_prog_ac_ct_AR="$ac_prog"
6305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306     break 2
6307   fi
6308 done
6309   done
6310 IFS=$as_save_IFS
6311
6312 fi
6313 fi
6314 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6315 if test -n "$ac_ct_AR"; then
6316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6317 $as_echo "$ac_ct_AR" >&6; }
6318 else
6319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6321 fi
6322
6323
6324   test -n "$ac_ct_AR" && break
6325 done
6326
6327   if test "x$ac_ct_AR" = x; then
6328     AR="false"
6329   else
6330     case $cross_compiling:$ac_tool_warned in
6331 yes:)
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6334 ac_tool_warned=yes ;;
6335 esac
6336     AR=$ac_ct_AR
6337   fi
6338 fi
6339
6340 : ${AR=ar}
6341 : ${AR_FLAGS=cru}
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6354 $as_echo_n "checking for archiver @FILE support... " >&6; }
6355 if ${lt_cv_ar_at_file+:} false; then :
6356   $as_echo_n "(cached) " >&6
6357 else
6358   lt_cv_ar_at_file=no
6359    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h.  */
6361
6362 int
6363 main ()
6364 {
6365
6366   ;
6367   return 0;
6368 }
6369 _ACEOF
6370 if ac_fn_c_try_compile "$LINENO"; then :
6371   echo conftest.$ac_objext > conftest.lst
6372       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6373       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6374   (eval $lt_ar_try) 2>&5
6375   ac_status=$?
6376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6377   test $ac_status = 0; }
6378       if test "$ac_status" -eq 0; then
6379         # Ensure the archiver fails upon bogus file names.
6380         rm -f conftest.$ac_objext libconftest.a
6381         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6382   (eval $lt_ar_try) 2>&5
6383   ac_status=$?
6384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6385   test $ac_status = 0; }
6386         if test "$ac_status" -ne 0; then
6387           lt_cv_ar_at_file=@
6388         fi
6389       fi
6390       rm -f conftest.* libconftest.a
6391
6392 fi
6393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6394
6395 fi
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6397 $as_echo "$lt_cv_ar_at_file" >&6; }
6398
6399 if test "x$lt_cv_ar_at_file" = xno; then
6400   archiver_list_spec=
6401 else
6402   archiver_list_spec=$lt_cv_ar_at_file
6403 fi
6404
6405
6406
6407
6408
6409
6410
6411 if test -n "$ac_tool_prefix"; then
6412   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6413 set dummy ${ac_tool_prefix}strip; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_STRIP+:} false; then :
6417   $as_echo_n "(cached) " >&6
6418 else
6419   if test -n "$STRIP"; then
6420   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6421 else
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH
6424 do
6425   IFS=$as_save_IFS
6426   test -z "$as_dir" && as_dir=.
6427     for ac_exec_ext in '' $ac_executable_extensions; do
6428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431     break 2
6432   fi
6433 done
6434   done
6435 IFS=$as_save_IFS
6436
6437 fi
6438 fi
6439 STRIP=$ac_cv_prog_STRIP
6440 if test -n "$STRIP"; then
6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6442 $as_echo "$STRIP" >&6; }
6443 else
6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6446 fi
6447
6448
6449 fi
6450 if test -z "$ac_cv_prog_STRIP"; then
6451   ac_ct_STRIP=$STRIP
6452   # Extract the first word of "strip", so it can be a program name with args.
6453 set dummy strip; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6457   $as_echo_n "(cached) " >&6
6458 else
6459   if test -n "$ac_ct_STRIP"; then
6460   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6464 do
6465   IFS=$as_save_IFS
6466   test -z "$as_dir" && as_dir=.
6467     for ac_exec_ext in '' $ac_executable_extensions; do
6468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469     ac_cv_prog_ac_ct_STRIP="strip"
6470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471     break 2
6472   fi
6473 done
6474   done
6475 IFS=$as_save_IFS
6476
6477 fi
6478 fi
6479 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6480 if test -n "$ac_ct_STRIP"; then
6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6482 $as_echo "$ac_ct_STRIP" >&6; }
6483 else
6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6486 fi
6487
6488   if test "x$ac_ct_STRIP" = x; then
6489     STRIP=":"
6490   else
6491     case $cross_compiling:$ac_tool_warned in
6492 yes:)
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495 ac_tool_warned=yes ;;
6496 esac
6497     STRIP=$ac_ct_STRIP
6498   fi
6499 else
6500   STRIP="$ac_cv_prog_STRIP"
6501 fi
6502
6503 test -z "$STRIP" && STRIP=:
6504
6505
6506
6507
6508
6509
6510 if test -n "$ac_tool_prefix"; then
6511   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_RANLIB+:} false; then :
6516   $as_echo_n "(cached) " >&6
6517 else
6518   if test -n "$RANLIB"; then
6519   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524   IFS=$as_save_IFS
6525   test -z "$as_dir" && as_dir=.
6526     for ac_exec_ext in '' $ac_executable_extensions; do
6527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530     break 2
6531   fi
6532 done
6533   done
6534 IFS=$as_save_IFS
6535
6536 fi
6537 fi
6538 RANLIB=$ac_cv_prog_RANLIB
6539 if test -n "$RANLIB"; then
6540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6541 $as_echo "$RANLIB" >&6; }
6542 else
6543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546
6547
6548 fi
6549 if test -z "$ac_cv_prog_RANLIB"; then
6550   ac_ct_RANLIB=$RANLIB
6551   # Extract the first word of "ranlib", so it can be a program name with args.
6552 set dummy ranlib; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6556   $as_echo_n "(cached) " >&6
6557 else
6558   if test -n "$ac_ct_RANLIB"; then
6559   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6563 do
6564   IFS=$as_save_IFS
6565   test -z "$as_dir" && as_dir=.
6566     for ac_exec_ext in '' $ac_executable_extensions; do
6567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568     ac_cv_prog_ac_ct_RANLIB="ranlib"
6569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570     break 2
6571   fi
6572 done
6573   done
6574 IFS=$as_save_IFS
6575
6576 fi
6577 fi
6578 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6579 if test -n "$ac_ct_RANLIB"; then
6580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6581 $as_echo "$ac_ct_RANLIB" >&6; }
6582 else
6583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6585 fi
6586
6587   if test "x$ac_ct_RANLIB" = x; then
6588     RANLIB=":"
6589   else
6590     case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6595 esac
6596     RANLIB=$ac_ct_RANLIB
6597   fi
6598 else
6599   RANLIB="$ac_cv_prog_RANLIB"
6600 fi
6601
6602 test -z "$RANLIB" && RANLIB=:
6603
6604
6605
6606
6607
6608
6609 # Determine commands to create old-style static archives.
6610 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6611 old_postinstall_cmds='chmod 644 $oldlib'
6612 old_postuninstall_cmds=
6613
6614 if test -n "$RANLIB"; then
6615   case $host_os in
6616   openbsd*)
6617     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6618     ;;
6619   *)
6620     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6621     ;;
6622   esac
6623   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6624 fi
6625
6626 case $host_os in
6627   darwin*)
6628     lock_old_archive_extraction=yes ;;
6629   *)
6630     lock_old_archive_extraction=no ;;
6631 esac
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671 # If no C compiler was specified, use CC.
6672 LTCC=${LTCC-"$CC"}
6673
6674 # If no C compiler flags were specified, use CFLAGS.
6675 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6676
6677 # Allow CC to be a program name with arguments.
6678 compiler=$CC
6679
6680
6681 # Check for command to grab the raw symbol name followed by C symbol from nm.
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6683 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6684 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6685   $as_echo_n "(cached) " >&6
6686 else
6687
6688 # These are sane defaults that work on at least a few old systems.
6689 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6690
6691 # Character class describing NM global symbol codes.
6692 symcode='[BCDEGRST]'
6693
6694 # Regexp to match symbols that can be accessed directly from C.
6695 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6696
6697 # Define system-specific variables.
6698 case $host_os in
6699 aix*)
6700   symcode='[BCDT]'
6701   ;;
6702 cygwin* | mingw* | pw32* | cegcc*)
6703   symcode='[ABCDGISTW]'
6704   ;;
6705 hpux*)
6706   if test "$host_cpu" = ia64; then
6707     symcode='[ABCDEGRST]'
6708   fi
6709   ;;
6710 irix* | nonstopux*)
6711   symcode='[BCDEGRST]'
6712   ;;
6713 osf*)
6714   symcode='[BCDEGQRST]'
6715   ;;
6716 solaris*)
6717   symcode='[BDRT]'
6718   ;;
6719 sco3.2v5*)
6720   symcode='[DT]'
6721   ;;
6722 sysv4.2uw2*)
6723   symcode='[DT]'
6724   ;;
6725 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6726   symcode='[ABDT]'
6727   ;;
6728 sysv4)
6729   symcode='[DFNSTU]'
6730   ;;
6731 esac
6732
6733 # If we're using GNU nm, then use its standard symbol codes.
6734 case `$NM -V 2>&1` in
6735 *GNU* | *'with BFD'*)
6736   symcode='[ABCDGIRSTW]' ;;
6737 esac
6738
6739 # Transform an extracted symbol line into a proper C declaration.
6740 # Some systems (esp. on ia64) link data and code symbols differently,
6741 # so use this general approach.
6742 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6743
6744 # Transform an extracted symbol line into symbol name and symbol address
6745 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6746 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'"
6747
6748 # Handle CRLF in mingw tool chain
6749 opt_cr=
6750 case $build_os in
6751 mingw*)
6752   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6753   ;;
6754 esac
6755
6756 # Try without a prefix underscore, then with it.
6757 for ac_symprfx in "" "_"; do
6758
6759   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6760   symxfrm="\\1 $ac_symprfx\\2 \\2"
6761
6762   # Write the raw and C identifiers.
6763   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6764     # Fake it for dumpbin and say T for any non-static function
6765     # and D for any global variable.
6766     # Also find C++ and __fastcall symbols from MSVC++,
6767     # which start with @ or ?.
6768     lt_cv_sys_global_symbol_pipe="$AWK '"\
6769 "     {last_section=section; section=\$ 3};"\
6770 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6771 "     \$ 0!~/External *\|/{next};"\
6772 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6773 "     {if(hide[section]) next};"\
6774 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6775 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6776 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6777 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6778 "     ' prfx=^$ac_symprfx"
6779   else
6780     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6781   fi
6782   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6783
6784   # Check to see that the pipe works correctly.
6785   pipe_works=no
6786
6787   rm -f conftest*
6788   cat > conftest.$ac_ext <<_LT_EOF
6789 #ifdef __cplusplus
6790 extern "C" {
6791 #endif
6792 char nm_test_var;
6793 void nm_test_func(void);
6794 void nm_test_func(void){}
6795 #ifdef __cplusplus
6796 }
6797 #endif
6798 int main(){nm_test_var='a';nm_test_func();return(0);}
6799 _LT_EOF
6800
6801   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6802   (eval $ac_compile) 2>&5
6803   ac_status=$?
6804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6805   test $ac_status = 0; }; then
6806     # Now try to grab the symbols.
6807     nlist=conftest.nm
6808     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6809   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6810   ac_status=$?
6811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812   test $ac_status = 0; } && test -s "$nlist"; then
6813       # Try sorting and uniquifying the output.
6814       if sort "$nlist" | uniq > "$nlist"T; then
6815         mv -f "$nlist"T "$nlist"
6816       else
6817         rm -f "$nlist"T
6818       fi
6819
6820       # Make sure that we snagged all the symbols we need.
6821       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6822         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6823           cat <<_LT_EOF > conftest.$ac_ext
6824 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6825 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6826 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6827    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6828 # define LT_DLSYM_CONST
6829 #elif defined(__osf__)
6830 /* This system does not cope well with relocations in const data.  */
6831 # define LT_DLSYM_CONST
6832 #else
6833 # define LT_DLSYM_CONST const
6834 #endif
6835
6836 #ifdef __cplusplus
6837 extern "C" {
6838 #endif
6839
6840 _LT_EOF
6841           # Now generate the symbol file.
6842           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6843
6844           cat <<_LT_EOF >> conftest.$ac_ext
6845
6846 /* The mapping between symbol names and symbols.  */
6847 LT_DLSYM_CONST struct {
6848   const char *name;
6849   void       *address;
6850 }
6851 lt__PROGRAM__LTX_preloaded_symbols[] =
6852 {
6853   { "@PROGRAM@", (void *) 0 },
6854 _LT_EOF
6855           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6856           cat <<\_LT_EOF >> conftest.$ac_ext
6857   {0, (void *) 0}
6858 };
6859
6860 /* This works around a problem in FreeBSD linker */
6861 #ifdef FREEBSD_WORKAROUND
6862 static const void *lt_preloaded_setup() {
6863   return lt__PROGRAM__LTX_preloaded_symbols;
6864 }
6865 #endif
6866
6867 #ifdef __cplusplus
6868 }
6869 #endif
6870 _LT_EOF
6871           # Now try linking the two files.
6872           mv conftest.$ac_objext conftstm.$ac_objext
6873           lt_globsym_save_LIBS=$LIBS
6874           lt_globsym_save_CFLAGS=$CFLAGS
6875           LIBS="conftstm.$ac_objext"
6876           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6877           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6878   (eval $ac_link) 2>&5
6879   ac_status=$?
6880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6881   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6882             pipe_works=yes
6883           fi
6884           LIBS=$lt_globsym_save_LIBS
6885           CFLAGS=$lt_globsym_save_CFLAGS
6886         else
6887           echo "cannot find nm_test_func in $nlist" >&5
6888         fi
6889       else
6890         echo "cannot find nm_test_var in $nlist" >&5
6891       fi
6892     else
6893       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6894     fi
6895   else
6896     echo "$progname: failed program was:" >&5
6897     cat conftest.$ac_ext >&5
6898   fi
6899   rm -rf conftest* conftst*
6900
6901   # Do not use the global_symbol_pipe unless it works.
6902   if test "$pipe_works" = yes; then
6903     break
6904   else
6905     lt_cv_sys_global_symbol_pipe=
6906   fi
6907 done
6908
6909 fi
6910
6911 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6912   lt_cv_sys_global_symbol_to_cdecl=
6913 fi
6914 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6916 $as_echo "failed" >&6; }
6917 else
6918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6919 $as_echo "ok" >&6; }
6920 fi
6921
6922 # Response file support.
6923 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6924   nm_file_list_spec='@'
6925 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6926   nm_file_list_spec='@'
6927 fi
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6956 $as_echo_n "checking for sysroot... " >&6; }
6957
6958 # Check whether --with-sysroot was given.
6959 if test "${with_sysroot+set}" = set; then :
6960   withval=$with_sysroot;
6961 else
6962   with_sysroot=no
6963 fi
6964
6965
6966 lt_sysroot=
6967 case ${with_sysroot} in #(
6968  yes)
6969    if test "$GCC" = yes; then
6970      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6971    fi
6972    ;; #(
6973  /*)
6974    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6975    ;; #(
6976  no|'')
6977    ;; #(
6978  *)
6979    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6980 $as_echo "${with_sysroot}" >&6; }
6981    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6982    ;;
6983 esac
6984
6985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6986 $as_echo "${lt_sysroot:-no}" >&6; }
6987
6988
6989
6990
6991
6992 # Check whether --enable-libtool-lock was given.
6993 if test "${enable_libtool_lock+set}" = set; then :
6994   enableval=$enable_libtool_lock;
6995 fi
6996
6997 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6998
6999 # Some flags need to be propagated to the compiler or linker for good
7000 # libtool support.
7001 case $host in
7002 ia64-*-hpux*)
7003   # Find out which ABI we are using.
7004   echo 'int i;' > conftest.$ac_ext
7005   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7006   (eval $ac_compile) 2>&5
7007   ac_status=$?
7008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7009   test $ac_status = 0; }; then
7010     case `/usr/bin/file conftest.$ac_objext` in
7011       *ELF-32*)
7012         HPUX_IA64_MODE="32"
7013         ;;
7014       *ELF-64*)
7015         HPUX_IA64_MODE="64"
7016         ;;
7017     esac
7018   fi
7019   rm -rf conftest*
7020   ;;
7021 *-*-irix6*)
7022   # Find out which ABI we are using.
7023   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7024   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7025   (eval $ac_compile) 2>&5
7026   ac_status=$?
7027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7028   test $ac_status = 0; }; then
7029     if test "$lt_cv_prog_gnu_ld" = yes; then
7030       case `/usr/bin/file conftest.$ac_objext` in
7031         *32-bit*)
7032           LD="${LD-ld} -melf32bsmip"
7033           ;;
7034         *N32*)
7035           LD="${LD-ld} -melf32bmipn32"
7036           ;;
7037         *64-bit*)
7038           LD="${LD-ld} -melf64bmip"
7039         ;;
7040       esac
7041     else
7042       case `/usr/bin/file conftest.$ac_objext` in
7043         *32-bit*)
7044           LD="${LD-ld} -32"
7045           ;;
7046         *N32*)
7047           LD="${LD-ld} -n32"
7048           ;;
7049         *64-bit*)
7050           LD="${LD-ld} -64"
7051           ;;
7052       esac
7053     fi
7054   fi
7055   rm -rf conftest*
7056   ;;
7057
7058 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7059 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7060   # Find out which ABI we are using.
7061   echo 'int i;' > conftest.$ac_ext
7062   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7063   (eval $ac_compile) 2>&5
7064   ac_status=$?
7065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7066   test $ac_status = 0; }; then
7067     case `/usr/bin/file conftest.o` in
7068       *32-bit*)
7069         case $host in
7070           x86_64-*kfreebsd*-gnu)
7071             LD="${LD-ld} -m elf_i386_fbsd"
7072             ;;
7073           x86_64-*linux*)
7074             LD="${LD-ld} -m elf_i386"
7075             ;;
7076           ppc64-*linux*|powerpc64-*linux*)
7077             LD="${LD-ld} -m elf32ppclinux"
7078             ;;
7079           s390x-*linux*)
7080             LD="${LD-ld} -m elf_s390"
7081             ;;
7082           sparc64-*linux*)
7083             LD="${LD-ld} -m elf32_sparc"
7084             ;;
7085         esac
7086         ;;
7087       *64-bit*)
7088         case $host in
7089           x86_64-*kfreebsd*-gnu)
7090             LD="${LD-ld} -m elf_x86_64_fbsd"
7091             ;;
7092           x86_64-*linux*)
7093             LD="${LD-ld} -m elf_x86_64"
7094             ;;
7095           ppc*-*linux*|powerpc*-*linux*)
7096             LD="${LD-ld} -m elf64ppc"
7097             ;;
7098           s390*-*linux*|s390*-*tpf*)
7099             LD="${LD-ld} -m elf64_s390"
7100             ;;
7101           sparc*-*linux*)
7102             LD="${LD-ld} -m elf64_sparc"
7103             ;;
7104         esac
7105         ;;
7106     esac
7107   fi
7108   rm -rf conftest*
7109   ;;
7110
7111 *-*-sco3.2v5*)
7112   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7113   SAVE_CFLAGS="$CFLAGS"
7114   CFLAGS="$CFLAGS -belf"
7115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7116 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7117 if ${lt_cv_cc_needs_belf+:} false; then :
7118   $as_echo_n "(cached) " >&6
7119 else
7120   ac_ext=c
7121 ac_cpp='$CPP $CPPFLAGS'
7122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7125
7126      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h.  */
7128
7129 int
7130 main ()
7131 {
7132
7133   ;
7134   return 0;
7135 }
7136 _ACEOF
7137 if ac_fn_c_try_link "$LINENO"; then :
7138   lt_cv_cc_needs_belf=yes
7139 else
7140   lt_cv_cc_needs_belf=no
7141 fi
7142 rm -f core conftest.err conftest.$ac_objext \
7143     conftest$ac_exeext conftest.$ac_ext
7144      ac_ext=c
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7149
7150 fi
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7152 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7153   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7154     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7155     CFLAGS="$SAVE_CFLAGS"
7156   fi
7157   ;;
7158 sparc*-*solaris*)
7159   # Find out which ABI we are using.
7160   echo 'int i;' > conftest.$ac_ext
7161   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7162   (eval $ac_compile) 2>&5
7163   ac_status=$?
7164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7165   test $ac_status = 0; }; then
7166     case `/usr/bin/file conftest.o` in
7167     *64-bit*)
7168       case $lt_cv_prog_gnu_ld in
7169       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7170       *)
7171         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7172           LD="${LD-ld} -64"
7173         fi
7174         ;;
7175       esac
7176       ;;
7177     esac
7178   fi
7179   rm -rf conftest*
7180   ;;
7181 esac
7182
7183 need_locks="$enable_libtool_lock"
7184
7185 if test -n "$ac_tool_prefix"; then
7186   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7187 set dummy ${ac_tool_prefix}mt; ac_word=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7191   $as_echo_n "(cached) " >&6
7192 else
7193   if test -n "$MANIFEST_TOOL"; then
7194   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7198 do
7199   IFS=$as_save_IFS
7200   test -z "$as_dir" && as_dir=.
7201     for ac_exec_ext in '' $ac_executable_extensions; do
7202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205     break 2
7206   fi
7207 done
7208   done
7209 IFS=$as_save_IFS
7210
7211 fi
7212 fi
7213 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7214 if test -n "$MANIFEST_TOOL"; then
7215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7216 $as_echo "$MANIFEST_TOOL" >&6; }
7217 else
7218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7220 fi
7221
7222
7223 fi
7224 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7225   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7226   # Extract the first word of "mt", so it can be a program name with args.
7227 set dummy mt; ac_word=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7231   $as_echo_n "(cached) " >&6
7232 else
7233   if test -n "$ac_ct_MANIFEST_TOOL"; then
7234   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7235 else
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 for as_dir in $PATH
7238 do
7239   IFS=$as_save_IFS
7240   test -z "$as_dir" && as_dir=.
7241     for ac_exec_ext in '' $ac_executable_extensions; do
7242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245     break 2
7246   fi
7247 done
7248   done
7249 IFS=$as_save_IFS
7250
7251 fi
7252 fi
7253 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7254 if test -n "$ac_ct_MANIFEST_TOOL"; then
7255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7256 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7257 else
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7260 fi
7261
7262   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7263     MANIFEST_TOOL=":"
7264   else
7265     case $cross_compiling:$ac_tool_warned in
7266 yes:)
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7269 ac_tool_warned=yes ;;
7270 esac
7271     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7272   fi
7273 else
7274   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7275 fi
7276
7277 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7279 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7280 if ${lt_cv_path_mainfest_tool+:} false; then :
7281   $as_echo_n "(cached) " >&6
7282 else
7283   lt_cv_path_mainfest_tool=no
7284   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7285   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7286   cat conftest.err >&5
7287   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7288     lt_cv_path_mainfest_tool=yes
7289   fi
7290   rm -f conftest*
7291 fi
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7293 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7294 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7295   MANIFEST_TOOL=:
7296 fi
7297
7298
7299
7300
7301
7302
7303   case $host_os in
7304     rhapsody* | darwin*)
7305     if test -n "$ac_tool_prefix"; then
7306   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7307 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7311   $as_echo_n "(cached) " >&6
7312 else
7313   if test -n "$DSYMUTIL"; then
7314   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7315 else
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 for as_dir in $PATH
7318 do
7319   IFS=$as_save_IFS
7320   test -z "$as_dir" && as_dir=.
7321     for ac_exec_ext in '' $ac_executable_extensions; do
7322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7323     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325     break 2
7326   fi
7327 done
7328   done
7329 IFS=$as_save_IFS
7330
7331 fi
7332 fi
7333 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7334 if test -n "$DSYMUTIL"; then
7335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7336 $as_echo "$DSYMUTIL" >&6; }
7337 else
7338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 $as_echo "no" >&6; }
7340 fi
7341
7342
7343 fi
7344 if test -z "$ac_cv_prog_DSYMUTIL"; then
7345   ac_ct_DSYMUTIL=$DSYMUTIL
7346   # Extract the first word of "dsymutil", so it can be a program name with args.
7347 set dummy dsymutil; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7351   $as_echo_n "(cached) " >&6
7352 else
7353   if test -n "$ac_ct_DSYMUTIL"; then
7354   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7355 else
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 for as_dir in $PATH
7358 do
7359   IFS=$as_save_IFS
7360   test -z "$as_dir" && as_dir=.
7361     for ac_exec_ext in '' $ac_executable_extensions; do
7362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365     break 2
7366   fi
7367 done
7368   done
7369 IFS=$as_save_IFS
7370
7371 fi
7372 fi
7373 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7374 if test -n "$ac_ct_DSYMUTIL"; then
7375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7376 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7377 else
7378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7380 fi
7381
7382   if test "x$ac_ct_DSYMUTIL" = x; then
7383     DSYMUTIL=":"
7384   else
7385     case $cross_compiling:$ac_tool_warned in
7386 yes:)
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7389 ac_tool_warned=yes ;;
7390 esac
7391     DSYMUTIL=$ac_ct_DSYMUTIL
7392   fi
7393 else
7394   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7395 fi
7396
7397     if test -n "$ac_tool_prefix"; then
7398   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 $as_echo_n "checking for $ac_word... " >&6; }
7402 if ${ac_cv_prog_NMEDIT+:} false; then :
7403   $as_echo_n "(cached) " >&6
7404 else
7405   if test -n "$NMEDIT"; then
7406   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7407 else
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 for as_dir in $PATH
7410 do
7411   IFS=$as_save_IFS
7412   test -z "$as_dir" && as_dir=.
7413     for ac_exec_ext in '' $ac_executable_extensions; do
7414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417     break 2
7418   fi
7419 done
7420   done
7421 IFS=$as_save_IFS
7422
7423 fi
7424 fi
7425 NMEDIT=$ac_cv_prog_NMEDIT
7426 if test -n "$NMEDIT"; then
7427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7428 $as_echo "$NMEDIT" >&6; }
7429 else
7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7432 fi
7433
7434
7435 fi
7436 if test -z "$ac_cv_prog_NMEDIT"; then
7437   ac_ct_NMEDIT=$NMEDIT
7438   # Extract the first word of "nmedit", so it can be a program name with args.
7439 set dummy nmedit; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7443   $as_echo_n "(cached) " >&6
7444 else
7445   if test -n "$ac_ct_NMEDIT"; then
7446   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7450 do
7451   IFS=$as_save_IFS
7452   test -z "$as_dir" && as_dir=.
7453     for ac_exec_ext in '' $ac_executable_extensions; do
7454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457     break 2
7458   fi
7459 done
7460   done
7461 IFS=$as_save_IFS
7462
7463 fi
7464 fi
7465 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7466 if test -n "$ac_ct_NMEDIT"; then
7467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7468 $as_echo "$ac_ct_NMEDIT" >&6; }
7469 else
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7472 fi
7473
7474   if test "x$ac_ct_NMEDIT" = x; then
7475     NMEDIT=":"
7476   else
7477     case $cross_compiling:$ac_tool_warned in
7478 yes:)
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7481 ac_tool_warned=yes ;;
7482 esac
7483     NMEDIT=$ac_ct_NMEDIT
7484   fi
7485 else
7486   NMEDIT="$ac_cv_prog_NMEDIT"
7487 fi
7488
7489     if test -n "$ac_tool_prefix"; then
7490   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7491 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_LIPO+:} false; then :
7495   $as_echo_n "(cached) " >&6
7496 else
7497   if test -n "$LIPO"; then
7498   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7499 else
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 for as_dir in $PATH
7502 do
7503   IFS=$as_save_IFS
7504   test -z "$as_dir" && as_dir=.
7505     for ac_exec_ext in '' $ac_executable_extensions; do
7506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509     break 2
7510   fi
7511 done
7512   done
7513 IFS=$as_save_IFS
7514
7515 fi
7516 fi
7517 LIPO=$ac_cv_prog_LIPO
7518 if test -n "$LIPO"; then
7519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7520 $as_echo "$LIPO" >&6; }
7521 else
7522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7524 fi
7525
7526
7527 fi
7528 if test -z "$ac_cv_prog_LIPO"; then
7529   ac_ct_LIPO=$LIPO
7530   # Extract the first word of "lipo", so it can be a program name with args.
7531 set dummy lipo; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7535   $as_echo_n "(cached) " >&6
7536 else
7537   if test -n "$ac_ct_LIPO"; then
7538   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7539 else
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 for as_dir in $PATH
7542 do
7543   IFS=$as_save_IFS
7544   test -z "$as_dir" && as_dir=.
7545     for ac_exec_ext in '' $ac_executable_extensions; do
7546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547     ac_cv_prog_ac_ct_LIPO="lipo"
7548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549     break 2
7550   fi
7551 done
7552   done
7553 IFS=$as_save_IFS
7554
7555 fi
7556 fi
7557 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7558 if test -n "$ac_ct_LIPO"; then
7559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7560 $as_echo "$ac_ct_LIPO" >&6; }
7561 else
7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7564 fi
7565
7566   if test "x$ac_ct_LIPO" = x; then
7567     LIPO=":"
7568   else
7569     case $cross_compiling:$ac_tool_warned in
7570 yes:)
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7573 ac_tool_warned=yes ;;
7574 esac
7575     LIPO=$ac_ct_LIPO
7576   fi
7577 else
7578   LIPO="$ac_cv_prog_LIPO"
7579 fi
7580
7581     if test -n "$ac_tool_prefix"; then
7582   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7583 set dummy ${ac_tool_prefix}otool; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_OTOOL+:} false; then :
7587   $as_echo_n "(cached) " >&6
7588 else
7589   if test -n "$OTOOL"; then
7590   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7591 else
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 for as_dir in $PATH
7594 do
7595   IFS=$as_save_IFS
7596   test -z "$as_dir" && as_dir=.
7597     for ac_exec_ext in '' $ac_executable_extensions; do
7598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7599     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601     break 2
7602   fi
7603 done
7604   done
7605 IFS=$as_save_IFS
7606
7607 fi
7608 fi
7609 OTOOL=$ac_cv_prog_OTOOL
7610 if test -n "$OTOOL"; then
7611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7612 $as_echo "$OTOOL" >&6; }
7613 else
7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7616 fi
7617
7618
7619 fi
7620 if test -z "$ac_cv_prog_OTOOL"; then
7621   ac_ct_OTOOL=$OTOOL
7622   # Extract the first word of "otool", so it can be a program name with args.
7623 set dummy otool; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7627   $as_echo_n "(cached) " >&6
7628 else
7629   if test -n "$ac_ct_OTOOL"; then
7630   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7631 else
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 for as_dir in $PATH
7634 do
7635   IFS=$as_save_IFS
7636   test -z "$as_dir" && as_dir=.
7637     for ac_exec_ext in '' $ac_executable_extensions; do
7638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639     ac_cv_prog_ac_ct_OTOOL="otool"
7640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641     break 2
7642   fi
7643 done
7644   done
7645 IFS=$as_save_IFS
7646
7647 fi
7648 fi
7649 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7650 if test -n "$ac_ct_OTOOL"; then
7651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7652 $as_echo "$ac_ct_OTOOL" >&6; }
7653 else
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7656 fi
7657
7658   if test "x$ac_ct_OTOOL" = x; then
7659     OTOOL=":"
7660   else
7661     case $cross_compiling:$ac_tool_warned in
7662 yes:)
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665 ac_tool_warned=yes ;;
7666 esac
7667     OTOOL=$ac_ct_OTOOL
7668   fi
7669 else
7670   OTOOL="$ac_cv_prog_OTOOL"
7671 fi
7672
7673     if test -n "$ac_tool_prefix"; then
7674   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7675 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 $as_echo_n "checking for $ac_word... " >&6; }
7678 if ${ac_cv_prog_OTOOL64+:} false; then :
7679   $as_echo_n "(cached) " >&6
7680 else
7681   if test -n "$OTOOL64"; then
7682   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7683 else
7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685 for as_dir in $PATH
7686 do
7687   IFS=$as_save_IFS
7688   test -z "$as_dir" && as_dir=.
7689     for ac_exec_ext in '' $ac_executable_extensions; do
7690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7691     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7693     break 2
7694   fi
7695 done
7696   done
7697 IFS=$as_save_IFS
7698
7699 fi
7700 fi
7701 OTOOL64=$ac_cv_prog_OTOOL64
7702 if test -n "$OTOOL64"; then
7703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7704 $as_echo "$OTOOL64" >&6; }
7705 else
7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7707 $as_echo "no" >&6; }
7708 fi
7709
7710
7711 fi
7712 if test -z "$ac_cv_prog_OTOOL64"; then
7713   ac_ct_OTOOL64=$OTOOL64
7714   # Extract the first word of "otool64", so it can be a program name with args.
7715 set dummy otool64; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7719   $as_echo_n "(cached) " >&6
7720 else
7721   if test -n "$ac_ct_OTOOL64"; then
7722   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7723 else
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 for as_dir in $PATH
7726 do
7727   IFS=$as_save_IFS
7728   test -z "$as_dir" && as_dir=.
7729     for ac_exec_ext in '' $ac_executable_extensions; do
7730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7731     ac_cv_prog_ac_ct_OTOOL64="otool64"
7732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733     break 2
7734   fi
7735 done
7736   done
7737 IFS=$as_save_IFS
7738
7739 fi
7740 fi
7741 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7742 if test -n "$ac_ct_OTOOL64"; then
7743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7744 $as_echo "$ac_ct_OTOOL64" >&6; }
7745 else
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7748 fi
7749
7750   if test "x$ac_ct_OTOOL64" = x; then
7751     OTOOL64=":"
7752   else
7753     case $cross_compiling:$ac_tool_warned in
7754 yes:)
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7757 ac_tool_warned=yes ;;
7758 esac
7759     OTOOL64=$ac_ct_OTOOL64
7760   fi
7761 else
7762   OTOOL64="$ac_cv_prog_OTOOL64"
7763 fi
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7792 $as_echo_n "checking for -single_module linker flag... " >&6; }
7793 if ${lt_cv_apple_cc_single_mod+:} false; then :
7794   $as_echo_n "(cached) " >&6
7795 else
7796   lt_cv_apple_cc_single_mod=no
7797       if test -z "${LT_MULTI_MODULE}"; then
7798         # By default we will add the -single_module flag. You can override
7799         # by either setting the environment variable LT_MULTI_MODULE
7800         # non-empty at configure time, or by adding -multi_module to the
7801         # link flags.
7802         rm -rf libconftest.dylib*
7803         echo "int foo(void){return 1;}" > conftest.c
7804         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7805 -dynamiclib -Wl,-single_module conftest.c" >&5
7806         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7807           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7808         _lt_result=$?
7809         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7810           lt_cv_apple_cc_single_mod=yes
7811         else
7812           cat conftest.err >&5
7813         fi
7814         rm -rf libconftest.dylib*
7815         rm -f conftest.*
7816       fi
7817 fi
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7819 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7820     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7821 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7822 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7823   $as_echo_n "(cached) " >&6
7824 else
7825   lt_cv_ld_exported_symbols_list=no
7826       save_LDFLAGS=$LDFLAGS
7827       echo "_main" > conftest.sym
7828       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h.  */
7831
7832 int
7833 main ()
7834 {
7835
7836   ;
7837   return 0;
7838 }
7839 _ACEOF
7840 if ac_fn_c_try_link "$LINENO"; then :
7841   lt_cv_ld_exported_symbols_list=yes
7842 else
7843   lt_cv_ld_exported_symbols_list=no
7844 fi
7845 rm -f core conftest.err conftest.$ac_objext \
7846     conftest$ac_exeext conftest.$ac_ext
7847         LDFLAGS="$save_LDFLAGS"
7848
7849 fi
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7851 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7852     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7853 $as_echo_n "checking for -force_load linker flag... " >&6; }
7854 if ${lt_cv_ld_force_load+:} false; then :
7855   $as_echo_n "(cached) " >&6
7856 else
7857   lt_cv_ld_force_load=no
7858       cat > conftest.c << _LT_EOF
7859 int forced_loaded() { return 2;}
7860 _LT_EOF
7861       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7862       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7863       echo "$AR cru libconftest.a conftest.o" >&5
7864       $AR cru libconftest.a conftest.o 2>&5
7865       echo "$RANLIB libconftest.a" >&5
7866       $RANLIB libconftest.a 2>&5
7867       cat > conftest.c << _LT_EOF
7868 int main() { return 0;}
7869 _LT_EOF
7870       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7871       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7872       _lt_result=$?
7873       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7874         lt_cv_ld_force_load=yes
7875       else
7876         cat conftest.err >&5
7877       fi
7878         rm -f conftest.err libconftest.a conftest conftest.c
7879         rm -rf conftest.dSYM
7880
7881 fi
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7883 $as_echo "$lt_cv_ld_force_load" >&6; }
7884     case $host_os in
7885     rhapsody* | darwin1.[012])
7886       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7887     darwin1.*)
7888       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7889     darwin*) # darwin 5.x on
7890       # if running on 10.5 or later, the deployment target defaults
7891       # to the OS version, if on x86, and 10.4, the deployment
7892       # target defaults to 10.4. Don't you love it?
7893       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7894         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7895           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7896         10.[012]*)
7897           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7898         10.*)
7899           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7900       esac
7901     ;;
7902   esac
7903     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7904       _lt_dar_single_mod='$single_module'
7905     fi
7906     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7907       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7908     else
7909       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7910     fi
7911     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7912       _lt_dsymutil='~$DSYMUTIL $lib || :'
7913     else
7914       _lt_dsymutil=
7915     fi
7916     ;;
7917   esac
7918
7919
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7921 $as_echo_n "checking for ANSI C header files... " >&6; }
7922 if ${ac_cv_header_stdc+:} false; then :
7923   $as_echo_n "(cached) " >&6
7924 else
7925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7926 /* end confdefs.h.  */
7927 #include <stdlib.h>
7928 #include <stdarg.h>
7929 #include <string.h>
7930 #include <float.h>
7931
7932 int
7933 main ()
7934 {
7935
7936   ;
7937   return 0;
7938 }
7939 _ACEOF
7940 if ac_fn_c_try_compile "$LINENO"; then :
7941   ac_cv_header_stdc=yes
7942 else
7943   ac_cv_header_stdc=no
7944 fi
7945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7946
7947 if test $ac_cv_header_stdc = yes; then
7948   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h.  */
7951 #include <string.h>
7952
7953 _ACEOF
7954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7955   $EGREP "memchr" >/dev/null 2>&1; then :
7956
7957 else
7958   ac_cv_header_stdc=no
7959 fi
7960 rm -f conftest*
7961
7962 fi
7963
7964 if test $ac_cv_header_stdc = yes; then
7965   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h.  */
7968 #include <stdlib.h>
7969
7970 _ACEOF
7971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7972   $EGREP "free" >/dev/null 2>&1; then :
7973
7974 else
7975   ac_cv_header_stdc=no
7976 fi
7977 rm -f conftest*
7978
7979 fi
7980
7981 if test $ac_cv_header_stdc = yes; then
7982   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7983   if test "$cross_compiling" = yes; then :
7984   :
7985 else
7986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h.  */
7988 #include <ctype.h>
7989 #include <stdlib.h>
7990 #if ((' ' & 0x0FF) == 0x020)
7991 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7992 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7993 #else
7994 # define ISLOWER(c) \
7995                    (('a' <= (c) && (c) <= 'i') \
7996                      || ('j' <= (c) && (c) <= 'r') \
7997                      || ('s' <= (c) && (c) <= 'z'))
7998 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7999 #endif
8000
8001 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8002 int
8003 main ()
8004 {
8005   int i;
8006   for (i = 0; i < 256; i++)
8007     if (XOR (islower (i), ISLOWER (i))
8008         || toupper (i) != TOUPPER (i))
8009       return 2;
8010   return 0;
8011 }
8012 _ACEOF
8013 if ac_fn_c_try_run "$LINENO"; then :
8014
8015 else
8016   ac_cv_header_stdc=no
8017 fi
8018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8019   conftest.$ac_objext conftest.beam conftest.$ac_ext
8020 fi
8021
8022 fi
8023 fi
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8025 $as_echo "$ac_cv_header_stdc" >&6; }
8026 if test $ac_cv_header_stdc = yes; then
8027
8028 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8029
8030 fi
8031
8032 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8033 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8034                   inttypes.h stdint.h unistd.h
8035 do :
8036   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8037 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8038 "
8039 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8040   cat >>confdefs.h <<_ACEOF
8041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8042 _ACEOF
8043
8044 fi
8045
8046 done
8047
8048
8049 for ac_header in dlfcn.h
8050 do :
8051   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8052 "
8053 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8054   cat >>confdefs.h <<_ACEOF
8055 #define HAVE_DLFCN_H 1
8056 _ACEOF
8057
8058 fi
8059
8060 done
8061
8062
8063
8064
8065
8066 # Set options
8067
8068
8069
8070         enable_dlopen=no
8071
8072
8073
8074             # Check whether --enable-shared was given.
8075 if test "${enable_shared+set}" = set; then :
8076   enableval=$enable_shared; p=${PACKAGE-default}
8077     case $enableval in
8078     yes) enable_shared=yes ;;
8079     no) enable_shared=no ;;
8080     *)
8081       enable_shared=no
8082       # Look at the argument we got.  We use all the common list separators.
8083       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084       for pkg in $enableval; do
8085         IFS="$lt_save_ifs"
8086         if test "X$pkg" = "X$p"; then
8087           enable_shared=yes
8088         fi
8089       done
8090       IFS="$lt_save_ifs"
8091       ;;
8092     esac
8093 else
8094   enable_shared=yes
8095 fi
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105   # Check whether --enable-static was given.
8106 if test "${enable_static+set}" = set; then :
8107   enableval=$enable_static; p=${PACKAGE-default}
8108     case $enableval in
8109     yes) enable_static=yes ;;
8110     no) enable_static=no ;;
8111     *)
8112      enable_static=no
8113       # Look at the argument we got.  We use all the common list separators.
8114       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8115       for pkg in $enableval; do
8116         IFS="$lt_save_ifs"
8117         if test "X$pkg" = "X$p"; then
8118           enable_static=yes
8119         fi
8120       done
8121       IFS="$lt_save_ifs"
8122       ;;
8123     esac
8124 else
8125   enable_static=yes
8126 fi
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # Check whether --with-pic was given.
8138 if test "${with_pic+set}" = set; then :
8139   withval=$with_pic; pic_mode="$withval"
8140 else
8141   pic_mode=default
8142 fi
8143
8144
8145 test -z "$pic_mode" && pic_mode=default
8146
8147
8148
8149
8150
8151
8152
8153   # Check whether --enable-fast-install was given.
8154 if test "${enable_fast_install+set}" = set; then :
8155   enableval=$enable_fast_install; p=${PACKAGE-default}
8156     case $enableval in
8157     yes) enable_fast_install=yes ;;
8158     no) enable_fast_install=no ;;
8159     *)
8160       enable_fast_install=no
8161       # Look at the argument we got.  We use all the common list separators.
8162       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8163       for pkg in $enableval; do
8164         IFS="$lt_save_ifs"
8165         if test "X$pkg" = "X$p"; then
8166           enable_fast_install=yes
8167         fi
8168       done
8169       IFS="$lt_save_ifs"
8170       ;;
8171     esac
8172 else
8173   enable_fast_install=yes
8174 fi
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186 # This can be used to rebuild libtool when needed
8187 LIBTOOL_DEPS="$ltmain"
8188
8189 # Always use our own libtool.
8190 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217 test -z "$LN_S" && LN_S="ln -s"
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232 if test -n "${ZSH_VERSION+set}" ; then
8233    setopt NO_GLOB_SUBST
8234 fi
8235
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8237 $as_echo_n "checking for objdir... " >&6; }
8238 if ${lt_cv_objdir+:} false; then :
8239   $as_echo_n "(cached) " >&6
8240 else
8241   rm -f .libs 2>/dev/null
8242 mkdir .libs 2>/dev/null
8243 if test -d .libs; then
8244   lt_cv_objdir=.libs
8245 else
8246   # MS-DOS does not allow filenames that begin with a dot.
8247   lt_cv_objdir=_libs
8248 fi
8249 rmdir .libs 2>/dev/null
8250 fi
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8252 $as_echo "$lt_cv_objdir" >&6; }
8253 objdir=$lt_cv_objdir
8254
8255
8256
8257
8258
8259 cat >>confdefs.h <<_ACEOF
8260 #define LT_OBJDIR "$lt_cv_objdir/"
8261 _ACEOF
8262
8263
8264
8265
8266 case $host_os in
8267 aix3*)
8268   # AIX sometimes has problems with the GCC collect2 program.  For some
8269   # reason, if we set the COLLECT_NAMES environment variable, the problems
8270   # vanish in a puff of smoke.
8271   if test "X${COLLECT_NAMES+set}" != Xset; then
8272     COLLECT_NAMES=
8273     export COLLECT_NAMES
8274   fi
8275   ;;
8276 esac
8277
8278 # Global variables:
8279 ofile=libtool
8280 can_build_shared=yes
8281
8282 # All known linkers require a `.a' archive for static linking (except MSVC,
8283 # which needs '.lib').
8284 libext=a
8285
8286 with_gnu_ld="$lt_cv_prog_gnu_ld"
8287
8288 old_CC="$CC"
8289 old_CFLAGS="$CFLAGS"
8290
8291 # Set sane defaults for various variables
8292 test -z "$CC" && CC=cc
8293 test -z "$LTCC" && LTCC=$CC
8294 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8295 test -z "$LD" && LD=ld
8296 test -z "$ac_objext" && ac_objext=o
8297
8298 for cc_temp in $compiler""; do
8299   case $cc_temp in
8300     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8301     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8302     \-*) ;;
8303     *) break;;
8304   esac
8305 done
8306 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8307
8308
8309 # Only perform the check for file, if the check method requires it
8310 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8311 case $deplibs_check_method in
8312 file_magic*)
8313   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8315 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8316 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8317   $as_echo_n "(cached) " >&6
8318 else
8319   case $MAGIC_CMD in
8320 [\\/*] |  ?:[\\/]*)
8321   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8322   ;;
8323 *)
8324   lt_save_MAGIC_CMD="$MAGIC_CMD"
8325   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8326   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8327   for ac_dir in $ac_dummy; do
8328     IFS="$lt_save_ifs"
8329     test -z "$ac_dir" && ac_dir=.
8330     if test -f $ac_dir/${ac_tool_prefix}file; then
8331       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8332       if test -n "$file_magic_test_file"; then
8333         case $deplibs_check_method in
8334         "file_magic "*)
8335           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8336           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8337           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8338             $EGREP "$file_magic_regex" > /dev/null; then
8339             :
8340           else
8341             cat <<_LT_EOF 1>&2
8342
8343 *** Warning: the command libtool uses to detect shared libraries,
8344 *** $file_magic_cmd, produces output that libtool cannot recognize.
8345 *** The result is that libtool may fail to recognize shared libraries
8346 *** as such.  This will affect the creation of libtool libraries that
8347 *** depend on shared libraries, but programs linked with such libtool
8348 *** libraries will work regardless of this problem.  Nevertheless, you
8349 *** may want to report the problem to your system manager and/or to
8350 *** bug-libtool@gnu.org
8351
8352 _LT_EOF
8353           fi ;;
8354         esac
8355       fi
8356       break
8357     fi
8358   done
8359   IFS="$lt_save_ifs"
8360   MAGIC_CMD="$lt_save_MAGIC_CMD"
8361   ;;
8362 esac
8363 fi
8364
8365 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8366 if test -n "$MAGIC_CMD"; then
8367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8368 $as_echo "$MAGIC_CMD" >&6; }
8369 else
8370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8372 fi
8373
8374
8375
8376
8377
8378 if test -z "$lt_cv_path_MAGIC_CMD"; then
8379   if test -n "$ac_tool_prefix"; then
8380     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8381 $as_echo_n "checking for file... " >&6; }
8382 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8383   $as_echo_n "(cached) " >&6
8384 else
8385   case $MAGIC_CMD in
8386 [\\/*] |  ?:[\\/]*)
8387   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8388   ;;
8389 *)
8390   lt_save_MAGIC_CMD="$MAGIC_CMD"
8391   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8392   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8393   for ac_dir in $ac_dummy; do
8394     IFS="$lt_save_ifs"
8395     test -z "$ac_dir" && ac_dir=.
8396     if test -f $ac_dir/file; then
8397       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8398       if test -n "$file_magic_test_file"; then
8399         case $deplibs_check_method in
8400         "file_magic "*)
8401           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8402           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8403           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8404             $EGREP "$file_magic_regex" > /dev/null; then
8405             :
8406           else
8407             cat <<_LT_EOF 1>&2
8408
8409 *** Warning: the command libtool uses to detect shared libraries,
8410 *** $file_magic_cmd, produces output that libtool cannot recognize.
8411 *** The result is that libtool may fail to recognize shared libraries
8412 *** as such.  This will affect the creation of libtool libraries that
8413 *** depend on shared libraries, but programs linked with such libtool
8414 *** libraries will work regardless of this problem.  Nevertheless, you
8415 *** may want to report the problem to your system manager and/or to
8416 *** bug-libtool@gnu.org
8417
8418 _LT_EOF
8419           fi ;;
8420         esac
8421       fi
8422       break
8423     fi
8424   done
8425   IFS="$lt_save_ifs"
8426   MAGIC_CMD="$lt_save_MAGIC_CMD"
8427   ;;
8428 esac
8429 fi
8430
8431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8432 if test -n "$MAGIC_CMD"; then
8433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8434 $as_echo "$MAGIC_CMD" >&6; }
8435 else
8436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8437 $as_echo "no" >&6; }
8438 fi
8439
8440
8441   else
8442     MAGIC_CMD=:
8443   fi
8444 fi
8445
8446   fi
8447   ;;
8448 esac
8449
8450 # Use C for the default configuration in the libtool script
8451
8452 lt_save_CC="$CC"
8453 ac_ext=c
8454 ac_cpp='$CPP $CPPFLAGS'
8455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8458
8459
8460 # Source file extension for C test sources.
8461 ac_ext=c
8462
8463 # Object file extension for compiled C test sources.
8464 objext=o
8465 objext=$objext
8466
8467 # Code to be used in simple compile tests
8468 lt_simple_compile_test_code="int some_variable = 0;"
8469
8470 # Code to be used in simple link tests
8471 lt_simple_link_test_code='int main(){return(0);}'
8472
8473
8474
8475
8476
8477
8478
8479 # If no C compiler was specified, use CC.
8480 LTCC=${LTCC-"$CC"}
8481
8482 # If no C compiler flags were specified, use CFLAGS.
8483 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8484
8485 # Allow CC to be a program name with arguments.
8486 compiler=$CC
8487
8488 # Save the default compiler, since it gets overwritten when the other
8489 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8490 compiler_DEFAULT=$CC
8491
8492 # save warnings/boilerplate of simple test code
8493 ac_outfile=conftest.$ac_objext
8494 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8495 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8496 _lt_compiler_boilerplate=`cat conftest.err`
8497 $RM conftest*
8498
8499 ac_outfile=conftest.$ac_objext
8500 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8501 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8502 _lt_linker_boilerplate=`cat conftest.err`
8503 $RM -r conftest*
8504
8505
8506 ## CAVEAT EMPTOR:
8507 ## There is no encapsulation within the following macros, do not change
8508 ## the running order or otherwise move them around unless you know exactly
8509 ## what you are doing...
8510 if test -n "$compiler"; then
8511
8512 lt_prog_compiler_no_builtin_flag=
8513
8514 if test "$GCC" = yes; then
8515   case $cc_basename in
8516   nvcc*)
8517     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8518   *)
8519     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8520   esac
8521
8522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8523 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8524 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8525   $as_echo_n "(cached) " >&6
8526 else
8527   lt_cv_prog_compiler_rtti_exceptions=no
8528    ac_outfile=conftest.$ac_objext
8529    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8530    lt_compiler_flag="-fno-rtti -fno-exceptions"
8531    # Insert the option either (1) after the last *FLAGS variable, or
8532    # (2) before a word containing "conftest.", or (3) at the end.
8533    # Note that $ac_compile itself does not contain backslashes and begins
8534    # with a dollar sign (not a hyphen), so the echo should work correctly.
8535    # The option is referenced via a variable to avoid confusing sed.
8536    lt_compile=`echo "$ac_compile" | $SED \
8537    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8538    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8539    -e 's:$: $lt_compiler_flag:'`
8540    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8541    (eval "$lt_compile" 2>conftest.err)
8542    ac_status=$?
8543    cat conftest.err >&5
8544    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545    if (exit $ac_status) && test -s "$ac_outfile"; then
8546      # The compiler can only warn and ignore the option if not recognized
8547      # So say no if there are warnings other than the usual output.
8548      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8549      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8550      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8551        lt_cv_prog_compiler_rtti_exceptions=yes
8552      fi
8553    fi
8554    $RM conftest*
8555
8556 fi
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8558 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8559
8560 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8561     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8562 else
8563     :
8564 fi
8565
8566 fi
8567
8568
8569
8570
8571
8572
8573   lt_prog_compiler_wl=
8574 lt_prog_compiler_pic=
8575 lt_prog_compiler_static=
8576
8577
8578   if test "$GCC" = yes; then
8579     lt_prog_compiler_wl='-Wl,'
8580     lt_prog_compiler_static='-static'
8581
8582     case $host_os in
8583       aix*)
8584       # All AIX code is PIC.
8585       if test "$host_cpu" = ia64; then
8586         # AIX 5 now supports IA64 processor
8587         lt_prog_compiler_static='-Bstatic'
8588       fi
8589       ;;
8590
8591     amigaos*)
8592       case $host_cpu in
8593       powerpc)
8594             # see comment about AmigaOS4 .so support
8595             lt_prog_compiler_pic='-fPIC'
8596         ;;
8597       m68k)
8598             # FIXME: we need at least 68020 code to build shared libraries, but
8599             # adding the `-m68020' flag to GCC prevents building anything better,
8600             # like `-m68040'.
8601             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8602         ;;
8603       esac
8604       ;;
8605
8606     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8607       # PIC is the default for these OSes.
8608       ;;
8609
8610     mingw* | cygwin* | pw32* | os2* | cegcc*)
8611       # This hack is so that the source file can tell whether it is being
8612       # built for inclusion in a dll (and should export symbols for example).
8613       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8614       # (--disable-auto-import) libraries
8615       lt_prog_compiler_pic='-DDLL_EXPORT'
8616       ;;
8617
8618     darwin* | rhapsody*)
8619       # PIC is the default on this platform
8620       # Common symbols not allowed in MH_DYLIB files
8621       lt_prog_compiler_pic='-fno-common'
8622       ;;
8623
8624     haiku*)
8625       # PIC is the default for Haiku.
8626       # The "-static" flag exists, but is broken.
8627       lt_prog_compiler_static=
8628       ;;
8629
8630     hpux*)
8631       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8632       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8633       # sets the default TLS model and affects inlining.
8634       case $host_cpu in
8635       hppa*64*)
8636         # +Z the default
8637         ;;
8638       *)
8639         lt_prog_compiler_pic='-fPIC'
8640         ;;
8641       esac
8642       ;;
8643
8644     interix[3-9]*)
8645       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8646       # Instead, we relocate shared libraries at runtime.
8647       ;;
8648
8649     msdosdjgpp*)
8650       # Just because we use GCC doesn't mean we suddenly get shared libraries
8651       # on systems that don't support them.
8652       lt_prog_compiler_can_build_shared=no
8653       enable_shared=no
8654       ;;
8655
8656     *nto* | *qnx*)
8657       # QNX uses GNU C++, but need to define -shared option too, otherwise
8658       # it will coredump.
8659       lt_prog_compiler_pic='-fPIC -shared'
8660       ;;
8661
8662     sysv4*MP*)
8663       if test -d /usr/nec; then
8664         lt_prog_compiler_pic=-Kconform_pic
8665       fi
8666       ;;
8667
8668     *)
8669       lt_prog_compiler_pic='-fPIC'
8670       ;;
8671     esac
8672
8673     case $cc_basename in
8674     nvcc*) # Cuda Compiler Driver 2.2
8675       lt_prog_compiler_wl='-Xlinker '
8676       lt_prog_compiler_pic='-Xcompiler -fPIC'
8677       ;;
8678     esac
8679   else
8680     # PORTME Check for flag to pass linker flags through the system compiler.
8681     case $host_os in
8682     aix*)
8683       lt_prog_compiler_wl='-Wl,'
8684       if test "$host_cpu" = ia64; then
8685         # AIX 5 now supports IA64 processor
8686         lt_prog_compiler_static='-Bstatic'
8687       else
8688         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8689       fi
8690       ;;
8691
8692     mingw* | cygwin* | pw32* | os2* | cegcc*)
8693       # This hack is so that the source file can tell whether it is being
8694       # built for inclusion in a dll (and should export symbols for example).
8695       lt_prog_compiler_pic='-DDLL_EXPORT'
8696       ;;
8697
8698     hpux9* | hpux10* | hpux11*)
8699       lt_prog_compiler_wl='-Wl,'
8700       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8701       # not for PA HP-UX.
8702       case $host_cpu in
8703       hppa*64*|ia64*)
8704         # +Z the default
8705         ;;
8706       *)
8707         lt_prog_compiler_pic='+Z'
8708         ;;
8709       esac
8710       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8711       lt_prog_compiler_static='${wl}-a ${wl}archive'
8712       ;;
8713
8714     irix5* | irix6* | nonstopux*)
8715       lt_prog_compiler_wl='-Wl,'
8716       # PIC (with -KPIC) is the default.
8717       lt_prog_compiler_static='-non_shared'
8718       ;;
8719
8720     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8721       case $cc_basename in
8722       # old Intel for x86_64 which still supported -KPIC.
8723       ecc*)
8724         lt_prog_compiler_wl='-Wl,'
8725         lt_prog_compiler_pic='-KPIC'
8726         lt_prog_compiler_static='-static'
8727         ;;
8728       # icc used to be incompatible with GCC.
8729       # ICC 10 doesn't accept -KPIC any more.
8730       icc* | ifort*)
8731         lt_prog_compiler_wl='-Wl,'
8732         lt_prog_compiler_pic='-fPIC'
8733         lt_prog_compiler_static='-static'
8734         ;;
8735       # Lahey Fortran 8.1.
8736       lf95*)
8737         lt_prog_compiler_wl='-Wl,'
8738         lt_prog_compiler_pic='--shared'
8739         lt_prog_compiler_static='--static'
8740         ;;
8741       nagfor*)
8742         # NAG Fortran compiler
8743         lt_prog_compiler_wl='-Wl,-Wl,,'
8744         lt_prog_compiler_pic='-PIC'
8745         lt_prog_compiler_static='-Bstatic'
8746         ;;
8747       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8748         # Portland Group compilers (*not* the Pentium gcc compiler,
8749         # which looks to be a dead project)
8750         lt_prog_compiler_wl='-Wl,'
8751         lt_prog_compiler_pic='-fpic'
8752         lt_prog_compiler_static='-Bstatic'
8753         ;;
8754       ccc*)
8755         lt_prog_compiler_wl='-Wl,'
8756         # All Alpha code is PIC.
8757         lt_prog_compiler_static='-non_shared'
8758         ;;
8759       xl* | bgxl* | bgf* | mpixl*)
8760         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8761         lt_prog_compiler_wl='-Wl,'
8762         lt_prog_compiler_pic='-qpic'
8763         lt_prog_compiler_static='-qstaticlink'
8764         ;;
8765       *)
8766         case `$CC -V 2>&1 | sed 5q` in
8767         *Sun\ F* | *Sun*Fortran*)
8768           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8769           lt_prog_compiler_pic='-KPIC'
8770           lt_prog_compiler_static='-Bstatic'
8771           lt_prog_compiler_wl=''
8772           ;;
8773         *Sun\ C*)
8774           # Sun C 5.9
8775           lt_prog_compiler_pic='-KPIC'
8776           lt_prog_compiler_static='-Bstatic'
8777           lt_prog_compiler_wl='-Wl,'
8778           ;;
8779         esac
8780         ;;
8781       esac
8782       ;;
8783
8784     newsos6)
8785       lt_prog_compiler_pic='-KPIC'
8786       lt_prog_compiler_static='-Bstatic'
8787       ;;
8788
8789     *nto* | *qnx*)
8790       # QNX uses GNU C++, but need to define -shared option too, otherwise
8791       # it will coredump.
8792       lt_prog_compiler_pic='-fPIC -shared'
8793       ;;
8794
8795     osf3* | osf4* | osf5*)
8796       lt_prog_compiler_wl='-Wl,'
8797       # All OSF/1 code is PIC.
8798       lt_prog_compiler_static='-non_shared'
8799       ;;
8800
8801     rdos*)
8802       lt_prog_compiler_static='-non_shared'
8803       ;;
8804
8805     solaris*)
8806       lt_prog_compiler_pic='-KPIC'
8807       lt_prog_compiler_static='-Bstatic'
8808       case $cc_basename in
8809       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8810         lt_prog_compiler_wl='-Qoption ld ';;
8811       *)
8812         lt_prog_compiler_wl='-Wl,';;
8813       esac
8814       ;;
8815
8816     sunos4*)
8817       lt_prog_compiler_wl='-Qoption ld '
8818       lt_prog_compiler_pic='-PIC'
8819       lt_prog_compiler_static='-Bstatic'
8820       ;;
8821
8822     sysv4 | sysv4.2uw2* | sysv4.3*)
8823       lt_prog_compiler_wl='-Wl,'
8824       lt_prog_compiler_pic='-KPIC'
8825       lt_prog_compiler_static='-Bstatic'
8826       ;;
8827
8828     sysv4*MP*)
8829       if test -d /usr/nec ;then
8830         lt_prog_compiler_pic='-Kconform_pic'
8831         lt_prog_compiler_static='-Bstatic'
8832       fi
8833       ;;
8834
8835     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8836       lt_prog_compiler_wl='-Wl,'
8837       lt_prog_compiler_pic='-KPIC'
8838       lt_prog_compiler_static='-Bstatic'
8839       ;;
8840
8841     unicos*)
8842       lt_prog_compiler_wl='-Wl,'
8843       lt_prog_compiler_can_build_shared=no
8844       ;;
8845
8846     uts4*)
8847       lt_prog_compiler_pic='-pic'
8848       lt_prog_compiler_static='-Bstatic'
8849       ;;
8850
8851     *)
8852       lt_prog_compiler_can_build_shared=no
8853       ;;
8854     esac
8855   fi
8856
8857 case $host_os in
8858   # For platforms which do not support PIC, -DPIC is meaningless:
8859   *djgpp*)
8860     lt_prog_compiler_pic=
8861     ;;
8862   *)
8863     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8864     ;;
8865 esac
8866
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8868 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8869 if ${lt_cv_prog_compiler_pic+:} false; then :
8870   $as_echo_n "(cached) " >&6
8871 else
8872   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8873 fi
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8876 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8877
8878 #
8879 # Check to make sure the PIC flag actually works.
8880 #
8881 if test -n "$lt_prog_compiler_pic"; then
8882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8883 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8884 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8885   $as_echo_n "(cached) " >&6
8886 else
8887   lt_cv_prog_compiler_pic_works=no
8888    ac_outfile=conftest.$ac_objext
8889    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8890    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8891    # Insert the option either (1) after the last *FLAGS variable, or
8892    # (2) before a word containing "conftest.", or (3) at the end.
8893    # Note that $ac_compile itself does not contain backslashes and begins
8894    # with a dollar sign (not a hyphen), so the echo should work correctly.
8895    # The option is referenced via a variable to avoid confusing sed.
8896    lt_compile=`echo "$ac_compile" | $SED \
8897    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8898    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8899    -e 's:$: $lt_compiler_flag:'`
8900    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8901    (eval "$lt_compile" 2>conftest.err)
8902    ac_status=$?
8903    cat conftest.err >&5
8904    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905    if (exit $ac_status) && test -s "$ac_outfile"; then
8906      # The compiler can only warn and ignore the option if not recognized
8907      # So say no if there are warnings other than the usual output.
8908      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8909      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8910      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8911        lt_cv_prog_compiler_pic_works=yes
8912      fi
8913    fi
8914    $RM conftest*
8915
8916 fi
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8918 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8919
8920 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8921     case $lt_prog_compiler_pic in
8922      "" | " "*) ;;
8923      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8924      esac
8925 else
8926     lt_prog_compiler_pic=
8927      lt_prog_compiler_can_build_shared=no
8928 fi
8929
8930 fi
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942 #
8943 # Check to make sure the static flag actually works.
8944 #
8945 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8947 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8948 if ${lt_cv_prog_compiler_static_works+:} false; then :
8949   $as_echo_n "(cached) " >&6
8950 else
8951   lt_cv_prog_compiler_static_works=no
8952    save_LDFLAGS="$LDFLAGS"
8953    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8954    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8955    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8956      # The linker can only warn and ignore the option if not recognized
8957      # So say no if there are warnings
8958      if test -s conftest.err; then
8959        # Append any errors to the config.log.
8960        cat conftest.err 1>&5
8961        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8962        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8963        if diff conftest.exp conftest.er2 >/dev/null; then
8964          lt_cv_prog_compiler_static_works=yes
8965        fi
8966      else
8967        lt_cv_prog_compiler_static_works=yes
8968      fi
8969    fi
8970    $RM -r conftest*
8971    LDFLAGS="$save_LDFLAGS"
8972
8973 fi
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8975 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8976
8977 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8978     :
8979 else
8980     lt_prog_compiler_static=
8981 fi
8982
8983
8984
8985
8986
8987
8988
8989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8990 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8991 if ${lt_cv_prog_compiler_c_o+:} false; then :
8992   $as_echo_n "(cached) " >&6
8993 else
8994   lt_cv_prog_compiler_c_o=no
8995    $RM -r conftest 2>/dev/null
8996    mkdir conftest
8997    cd conftest
8998    mkdir out
8999    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9000
9001    lt_compiler_flag="-o out/conftest2.$ac_objext"
9002    # Insert the option either (1) after the last *FLAGS variable, or
9003    # (2) before a word containing "conftest.", or (3) at the end.
9004    # Note that $ac_compile itself does not contain backslashes and begins
9005    # with a dollar sign (not a hyphen), so the echo should work correctly.
9006    lt_compile=`echo "$ac_compile" | $SED \
9007    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9008    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9009    -e 's:$: $lt_compiler_flag:'`
9010    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9011    (eval "$lt_compile" 2>out/conftest.err)
9012    ac_status=$?
9013    cat out/conftest.err >&5
9014    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9016    then
9017      # The compiler can only warn and ignore the option if not recognized
9018      # So say no if there are warnings
9019      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9020      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9021      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9022        lt_cv_prog_compiler_c_o=yes
9023      fi
9024    fi
9025    chmod u+w . 2>&5
9026    $RM conftest*
9027    # SGI C++ compiler will create directory out/ii_files/ for
9028    # template instantiation
9029    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9030    $RM out/* && rmdir out
9031    cd ..
9032    $RM -r conftest
9033    $RM conftest*
9034
9035 fi
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9037 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9038
9039
9040
9041
9042
9043
9044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9045 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9046 if ${lt_cv_prog_compiler_c_o+:} false; then :
9047   $as_echo_n "(cached) " >&6
9048 else
9049   lt_cv_prog_compiler_c_o=no
9050    $RM -r conftest 2>/dev/null
9051    mkdir conftest
9052    cd conftest
9053    mkdir out
9054    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9055
9056    lt_compiler_flag="-o out/conftest2.$ac_objext"
9057    # Insert the option either (1) after the last *FLAGS variable, or
9058    # (2) before a word containing "conftest.", or (3) at the end.
9059    # Note that $ac_compile itself does not contain backslashes and begins
9060    # with a dollar sign (not a hyphen), so the echo should work correctly.
9061    lt_compile=`echo "$ac_compile" | $SED \
9062    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9063    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9064    -e 's:$: $lt_compiler_flag:'`
9065    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9066    (eval "$lt_compile" 2>out/conftest.err)
9067    ac_status=$?
9068    cat out/conftest.err >&5
9069    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9071    then
9072      # The compiler can only warn and ignore the option if not recognized
9073      # So say no if there are warnings
9074      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9075      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9076      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9077        lt_cv_prog_compiler_c_o=yes
9078      fi
9079    fi
9080    chmod u+w . 2>&5
9081    $RM conftest*
9082    # SGI C++ compiler will create directory out/ii_files/ for
9083    # template instantiation
9084    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9085    $RM out/* && rmdir out
9086    cd ..
9087    $RM -r conftest
9088    $RM conftest*
9089
9090 fi
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9092 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9093
9094
9095
9096
9097 hard_links="nottested"
9098 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9099   # do not overwrite the value of need_locks provided by the user
9100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9101 $as_echo_n "checking if we can lock with hard links... " >&6; }
9102   hard_links=yes
9103   $RM conftest*
9104   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9105   touch conftest.a
9106   ln conftest.a conftest.b 2>&5 || hard_links=no
9107   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9109 $as_echo "$hard_links" >&6; }
9110   if test "$hard_links" = no; then
9111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9112 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9113     need_locks=warn
9114   fi
9115 else
9116   need_locks=no
9117 fi
9118
9119
9120
9121
9122
9123
9124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9125 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9126
9127   runpath_var=
9128   allow_undefined_flag=
9129   always_export_symbols=no
9130   archive_cmds=
9131   archive_expsym_cmds=
9132   compiler_needs_object=no
9133   enable_shared_with_static_runtimes=no
9134   export_dynamic_flag_spec=
9135   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9136   hardcode_automatic=no
9137   hardcode_direct=no
9138   hardcode_direct_absolute=no
9139   hardcode_libdir_flag_spec=
9140   hardcode_libdir_flag_spec_ld=
9141   hardcode_libdir_separator=
9142   hardcode_minus_L=no
9143   hardcode_shlibpath_var=unsupported
9144   inherit_rpath=no
9145   link_all_deplibs=unknown
9146   module_cmds=
9147   module_expsym_cmds=
9148   old_archive_from_new_cmds=
9149   old_archive_from_expsyms_cmds=
9150   thread_safe_flag_spec=
9151   whole_archive_flag_spec=
9152   # include_expsyms should be a list of space-separated symbols to be *always*
9153   # included in the symbol list
9154   include_expsyms=
9155   # exclude_expsyms can be an extended regexp of symbols to exclude
9156   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9157   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9158   # as well as any symbol that contains `d'.
9159   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9160   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9161   # platforms (ab)use it in PIC code, but their linkers get confused if
9162   # the symbol is explicitly referenced.  Since portable code cannot
9163   # rely on this symbol name, it's probably fine to never include it in
9164   # preloaded symbol tables.
9165   # Exclude shared library initialization/finalization symbols.
9166   extract_expsyms_cmds=
9167
9168   case $host_os in
9169   cygwin* | mingw* | pw32* | cegcc*)
9170     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9171     # When not using gcc, we currently assume that we are using
9172     # Microsoft Visual C++.
9173     if test "$GCC" != yes; then
9174       with_gnu_ld=no
9175     fi
9176     ;;
9177   interix*)
9178     # we just hope/assume this is gcc and not c89 (= MSVC++)
9179     with_gnu_ld=yes
9180     ;;
9181   openbsd*)
9182     with_gnu_ld=no
9183     ;;
9184   esac
9185
9186   ld_shlibs=yes
9187
9188   # On some targets, GNU ld is compatible enough with the native linker
9189   # that we're better off using the native interface for both.
9190   lt_use_gnu_ld_interface=no
9191   if test "$with_gnu_ld" = yes; then
9192     case $host_os in
9193       aix*)
9194         # The AIX port of GNU ld has always aspired to compatibility
9195         # with the native linker.  However, as the warning in the GNU ld
9196         # block says, versions before 2.19.5* couldn't really create working
9197         # shared libraries, regardless of the interface used.
9198         case `$LD -v 2>&1` in
9199           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9200           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9201           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9202           *)
9203             lt_use_gnu_ld_interface=yes
9204             ;;
9205         esac
9206         ;;
9207       *)
9208         lt_use_gnu_ld_interface=yes
9209         ;;
9210     esac
9211   fi
9212
9213   if test "$lt_use_gnu_ld_interface" = yes; then
9214     # If archive_cmds runs LD, not CC, wlarc should be empty
9215     wlarc='${wl}'
9216
9217     # Set some defaults for GNU ld with shared library support. These
9218     # are reset later if shared libraries are not supported. Putting them
9219     # here allows them to be overridden if necessary.
9220     runpath_var=LD_RUN_PATH
9221     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9222     export_dynamic_flag_spec='${wl}--export-dynamic'
9223     # ancient GNU ld didn't support --whole-archive et. al.
9224     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9225       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9226     else
9227       whole_archive_flag_spec=
9228     fi
9229     supports_anon_versioning=no
9230     case `$LD -v 2>&1` in
9231       *GNU\ gold*) supports_anon_versioning=yes ;;
9232       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9233       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9234       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9235       *\ 2.11.*) ;; # other 2.11 versions
9236       *) supports_anon_versioning=yes ;;
9237     esac
9238
9239     # See if GNU ld supports shared libraries.
9240     case $host_os in
9241     aix[3-9]*)
9242       # On AIX/PPC, the GNU linker is very broken
9243       if test "$host_cpu" != ia64; then
9244         ld_shlibs=no
9245         cat <<_LT_EOF 1>&2
9246
9247 *** Warning: the GNU linker, at least up to release 2.19, is reported
9248 *** to be unable to reliably create shared libraries on AIX.
9249 *** Therefore, libtool is disabling shared libraries support.  If you
9250 *** really care for shared libraries, you may want to install binutils
9251 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9252 *** You will then need to restart the configuration process.
9253
9254 _LT_EOF
9255       fi
9256       ;;
9257
9258     amigaos*)
9259       case $host_cpu in
9260       powerpc)
9261             # see comment about AmigaOS4 .so support
9262             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263             archive_expsym_cmds=''
9264         ;;
9265       m68k)
9266             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)'
9267             hardcode_libdir_flag_spec='-L$libdir'
9268             hardcode_minus_L=yes
9269         ;;
9270       esac
9271       ;;
9272
9273     beos*)
9274       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9275         allow_undefined_flag=unsupported
9276         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9277         # support --undefined.  This deserves some investigation.  FIXME
9278         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9279       else
9280         ld_shlibs=no
9281       fi
9282       ;;
9283
9284     cygwin* | mingw* | pw32* | cegcc*)
9285       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9286       # as there is no search path for DLLs.
9287       hardcode_libdir_flag_spec='-L$libdir'
9288       export_dynamic_flag_spec='${wl}--export-all-symbols'
9289       allow_undefined_flag=unsupported
9290       always_export_symbols=no
9291       enable_shared_with_static_runtimes=yes
9292       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'
9293       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9294
9295       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9296         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9297         # If the export-symbols file already is a .def file (1st line
9298         # is EXPORTS), use it as is; otherwise, prepend...
9299         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9300           cp $export_symbols $output_objdir/$soname.def;
9301         else
9302           echo EXPORTS > $output_objdir/$soname.def;
9303           cat $export_symbols >> $output_objdir/$soname.def;
9304         fi~
9305         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9306       else
9307         ld_shlibs=no
9308       fi
9309       ;;
9310
9311     haiku*)
9312       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313       link_all_deplibs=yes
9314       ;;
9315
9316     interix[3-9]*)
9317       hardcode_direct=no
9318       hardcode_shlibpath_var=no
9319       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9320       export_dynamic_flag_spec='${wl}-E'
9321       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9322       # Instead, shared libraries are loaded at an image base (0x10000000 by
9323       # default) and relocated if they conflict, which is a slow very memory
9324       # consuming and fragmenting process.  To avoid this, we pick a random,
9325       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9326       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9327       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9328       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'
9329       ;;
9330
9331     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9332       tmp_diet=no
9333       if test "$host_os" = linux-dietlibc; then
9334         case $cc_basename in
9335           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9336         esac
9337       fi
9338       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9339          && test "$tmp_diet" = no
9340       then
9341         tmp_addflag=' $pic_flag'
9342         tmp_sharedflag='-shared'
9343         case $cc_basename,$host_cpu in
9344         pgcc*)                          # Portland Group C compiler
9345           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'
9346           tmp_addflag=' $pic_flag'
9347           ;;
9348         pgf77* | pgf90* | pgf95* | pgfortran*)
9349                                         # Portland Group f77 and f90 compilers
9350           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'
9351           tmp_addflag=' $pic_flag -Mnomain' ;;
9352         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9353           tmp_addflag=' -i_dynamic' ;;
9354         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9355           tmp_addflag=' -i_dynamic -nofor_main' ;;
9356         ifc* | ifort*)                  # Intel Fortran compiler
9357           tmp_addflag=' -nofor_main' ;;
9358         lf95*)                          # Lahey Fortran 8.1
9359           whole_archive_flag_spec=
9360           tmp_sharedflag='--shared' ;;
9361         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9362           tmp_sharedflag='-qmkshrobj'
9363           tmp_addflag= ;;
9364         nvcc*)  # Cuda Compiler Driver 2.2
9365           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'
9366           compiler_needs_object=yes
9367           ;;
9368         esac
9369         case `$CC -V 2>&1 | sed 5q` in
9370         *Sun\ C*)                       # Sun C 5.9
9371           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'
9372           compiler_needs_object=yes
9373           tmp_sharedflag='-G' ;;
9374         *Sun\ F*)                       # Sun Fortran 8.3
9375           tmp_sharedflag='-G' ;;
9376         esac
9377         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9378
9379         if test "x$supports_anon_versioning" = xyes; then
9380           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9381             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9382             echo "local: *; };" >> $output_objdir/$libname.ver~
9383             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9384         fi
9385
9386         case $cc_basename in
9387         xlf* | bgf* | bgxlf* | mpixlf*)
9388           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9389           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9390           hardcode_libdir_flag_spec=
9391           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9392           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9393           if test "x$supports_anon_versioning" = xyes; then
9394             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9395               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9396               echo "local: *; };" >> $output_objdir/$libname.ver~
9397               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9398           fi
9399           ;;
9400         esac
9401       else
9402         ld_shlibs=no
9403       fi
9404       ;;
9405
9406     netbsd*)
9407       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9408         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9409         wlarc=
9410       else
9411         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9413       fi
9414       ;;
9415
9416     solaris*)
9417       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9418         ld_shlibs=no
9419         cat <<_LT_EOF 1>&2
9420
9421 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9422 *** create shared libraries on Solaris systems.  Therefore, libtool
9423 *** is disabling shared libraries support.  We urge you to upgrade GNU
9424 *** binutils to release 2.9.1 or newer.  Another option is to modify
9425 *** your PATH or compiler configuration so that the native linker is
9426 *** used, and then restart.
9427
9428 _LT_EOF
9429       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432       else
9433         ld_shlibs=no
9434       fi
9435       ;;
9436
9437     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9438       case `$LD -v 2>&1` in
9439         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9440         ld_shlibs=no
9441         cat <<_LT_EOF 1>&2
9442
9443 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9444 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9445 *** is disabling shared libraries support.  We urge you to upgrade GNU
9446 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9449
9450 _LT_EOF
9451         ;;
9452         *)
9453           # For security reasons, it is highly recommended that you always
9454           # use absolute paths for naming shared libraries, and exclude the
9455           # DT_RUNPATH tag from executables and libraries.  But doing so
9456           # requires that you compile everything twice, which is a pain.
9457           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9461           else
9462             ld_shlibs=no
9463           fi
9464         ;;
9465       esac
9466       ;;
9467
9468     sunos4*)
9469       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9470       wlarc=
9471       hardcode_direct=yes
9472       hardcode_shlibpath_var=no
9473       ;;
9474
9475     *)
9476       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9478         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9479       else
9480         ld_shlibs=no
9481       fi
9482       ;;
9483     esac
9484
9485     if test "$ld_shlibs" = no; then
9486       runpath_var=
9487       hardcode_libdir_flag_spec=
9488       export_dynamic_flag_spec=
9489       whole_archive_flag_spec=
9490     fi
9491   else
9492     # PORTME fill in a description of your system's linker (not GNU ld)
9493     case $host_os in
9494     aix3*)
9495       allow_undefined_flag=unsupported
9496       always_export_symbols=yes
9497       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'
9498       # Note: this linker hardcodes the directories in LIBPATH if there
9499       # are no directories specified by -L.
9500       hardcode_minus_L=yes
9501       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9502         # Neither direct hardcoding nor static linking is supported with a
9503         # broken collect2.
9504         hardcode_direct=unsupported
9505       fi
9506       ;;
9507
9508     aix[4-9]*)
9509       if test "$host_cpu" = ia64; then
9510         # On IA64, the linker does run time linking by default, so we don't
9511         # have to do anything special.
9512         aix_use_runtimelinking=no
9513         exp_sym_flag='-Bexport'
9514         no_entry_flag=""
9515       else
9516         # If we're using GNU nm, then we don't want the "-C" option.
9517         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9518         # Also, AIX nm treats weak defined symbols like other global
9519         # defined symbols, whereas GNU nm marks them as "W".
9520         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9521           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'
9522         else
9523           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'
9524         fi
9525         aix_use_runtimelinking=no
9526
9527         # Test if we are trying to use run time linking or normal
9528         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9529         # need to do runtime linking.
9530         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9531           for ld_flag in $LDFLAGS; do
9532           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9533             aix_use_runtimelinking=yes
9534             break
9535           fi
9536           done
9537           ;;
9538         esac
9539
9540         exp_sym_flag='-bexport'
9541         no_entry_flag='-bnoentry'
9542       fi
9543
9544       # When large executables or shared objects are built, AIX ld can
9545       # have problems creating the table of contents.  If linking a library
9546       # or program results in "error TOC overflow" add -mminimal-toc to
9547       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9548       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9549
9550       archive_cmds=''
9551       hardcode_direct=yes
9552       hardcode_direct_absolute=yes
9553       hardcode_libdir_separator=':'
9554       link_all_deplibs=yes
9555       file_list_spec='${wl}-f,'
9556
9557       if test "$GCC" = yes; then
9558         case $host_os in aix4.[012]|aix4.[012].*)
9559         # We only want to do this on AIX 4.2 and lower, the check
9560         # below for broken collect2 doesn't work under 4.3+
9561           collect2name=`${CC} -print-prog-name=collect2`
9562           if test -f "$collect2name" &&
9563            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9564           then
9565           # We have reworked collect2
9566           :
9567           else
9568           # We have old collect2
9569           hardcode_direct=unsupported
9570           # It fails to find uninstalled libraries when the uninstalled
9571           # path is not listed in the libpath.  Setting hardcode_minus_L
9572           # to unsupported forces relinking
9573           hardcode_minus_L=yes
9574           hardcode_libdir_flag_spec='-L$libdir'
9575           hardcode_libdir_separator=
9576           fi
9577           ;;
9578         esac
9579         shared_flag='-shared'
9580         if test "$aix_use_runtimelinking" = yes; then
9581           shared_flag="$shared_flag "'${wl}-G'
9582         fi
9583       else
9584         # not using gcc
9585         if test "$host_cpu" = ia64; then
9586         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9587         # chokes on -Wl,-G. The following line is correct:
9588           shared_flag='-G'
9589         else
9590           if test "$aix_use_runtimelinking" = yes; then
9591             shared_flag='${wl}-G'
9592           else
9593             shared_flag='${wl}-bM:SRE'
9594           fi
9595         fi
9596       fi
9597
9598       export_dynamic_flag_spec='${wl}-bexpall'
9599       # It seems that -bexpall does not export symbols beginning with
9600       # underscore (_), so it is better to generate a list of symbols to export.
9601       always_export_symbols=yes
9602       if test "$aix_use_runtimelinking" = yes; then
9603         # Warning - without using the other runtime loading flags (-brtl),
9604         # -berok will link without error, but may produce a broken library.
9605         allow_undefined_flag='-berok'
9606         # Determine the default libpath from the value encoded in an
9607         # empty executable.
9608         if test "${lt_cv_aix_libpath+set}" = set; then
9609   aix_libpath=$lt_cv_aix_libpath
9610 else
9611   if ${lt_cv_aix_libpath_+:} false; then :
9612   $as_echo_n "(cached) " >&6
9613 else
9614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h.  */
9616
9617 int
9618 main ()
9619 {
9620
9621   ;
9622   return 0;
9623 }
9624 _ACEOF
9625 if ac_fn_c_try_link "$LINENO"; then :
9626
9627   lt_aix_libpath_sed='
9628       /Import File Strings/,/^$/ {
9629           /^0/ {
9630               s/^0  *\([^ ]*\) *$/\1/
9631               p
9632           }
9633       }'
9634   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9635   # Check for a 64-bit object if we didn't find anything.
9636   if test -z "$lt_cv_aix_libpath_"; then
9637     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9638   fi
9639 fi
9640 rm -f core conftest.err conftest.$ac_objext \
9641     conftest$ac_exeext conftest.$ac_ext
9642   if test -z "$lt_cv_aix_libpath_"; then
9643     lt_cv_aix_libpath_="/usr/lib:/lib"
9644   fi
9645
9646 fi
9647
9648   aix_libpath=$lt_cv_aix_libpath_
9649 fi
9650
9651         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9652         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"
9653       else
9654         if test "$host_cpu" = ia64; then
9655           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9656           allow_undefined_flag="-z nodefs"
9657           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"
9658         else
9659          # Determine the default libpath from the value encoded in an
9660          # empty executable.
9661          if test "${lt_cv_aix_libpath+set}" = set; then
9662   aix_libpath=$lt_cv_aix_libpath
9663 else
9664   if ${lt_cv_aix_libpath_+:} false; then :
9665   $as_echo_n "(cached) " >&6
9666 else
9667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h.  */
9669
9670 int
9671 main ()
9672 {
9673
9674   ;
9675   return 0;
9676 }
9677 _ACEOF
9678 if ac_fn_c_try_link "$LINENO"; then :
9679
9680   lt_aix_libpath_sed='
9681       /Import File Strings/,/^$/ {
9682           /^0/ {
9683               s/^0  *\([^ ]*\) *$/\1/
9684               p
9685           }
9686       }'
9687   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9688   # Check for a 64-bit object if we didn't find anything.
9689   if test -z "$lt_cv_aix_libpath_"; then
9690     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9691   fi
9692 fi
9693 rm -f core conftest.err conftest.$ac_objext \
9694     conftest$ac_exeext conftest.$ac_ext
9695   if test -z "$lt_cv_aix_libpath_"; then
9696     lt_cv_aix_libpath_="/usr/lib:/lib"
9697   fi
9698
9699 fi
9700
9701   aix_libpath=$lt_cv_aix_libpath_
9702 fi
9703
9704          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9705           # Warning - without using the other run time loading flags,
9706           # -berok will link without error, but may produce a broken library.
9707           no_undefined_flag=' ${wl}-bernotok'
9708           allow_undefined_flag=' ${wl}-berok'
9709           if test "$with_gnu_ld" = yes; then
9710             # We only use this code for GNU lds that support --whole-archive.
9711             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9712           else
9713             # Exported symbols can be pulled into shared objects from archives
9714             whole_archive_flag_spec='$convenience'
9715           fi
9716           archive_cmds_need_lc=yes
9717           # This is similar to how AIX traditionally builds its shared libraries.
9718           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'
9719         fi
9720       fi
9721       ;;
9722
9723     amigaos*)
9724       case $host_cpu in
9725       powerpc)
9726             # see comment about AmigaOS4 .so support
9727             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728             archive_expsym_cmds=''
9729         ;;
9730       m68k)
9731             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)'
9732             hardcode_libdir_flag_spec='-L$libdir'
9733             hardcode_minus_L=yes
9734         ;;
9735       esac
9736       ;;
9737
9738     bsdi[45]*)
9739       export_dynamic_flag_spec=-rdynamic
9740       ;;
9741
9742     cygwin* | mingw* | pw32* | cegcc*)
9743       # When not using gcc, we currently assume that we are using
9744       # Microsoft Visual C++.
9745       # hardcode_libdir_flag_spec is actually meaningless, as there is
9746       # no search path for DLLs.
9747       case $cc_basename in
9748       cl*)
9749         # Native MSVC
9750         hardcode_libdir_flag_spec=' '
9751         allow_undefined_flag=unsupported
9752         always_export_symbols=yes
9753         file_list_spec='@'
9754         # Tell ltmain to make .lib files, not .a files.
9755         libext=lib
9756         # Tell ltmain to make .dll files, not .so files.
9757         shrext_cmds=".dll"
9758         # FIXME: Setting linknames here is a bad hack.
9759         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9760         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9761             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9762           else
9763             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9764           fi~
9765           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9766           linknames='
9767         # The linker will not automatically build a static lib if we build a DLL.
9768         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9769         enable_shared_with_static_runtimes=yes
9770         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9771         # Don't use ranlib
9772         old_postinstall_cmds='chmod 644 $oldlib'
9773         postlink_cmds='lt_outputfile="@OUTPUT@"~
9774           lt_tool_outputfile="@TOOL_OUTPUT@"~
9775           case $lt_outputfile in
9776             *.exe|*.EXE) ;;
9777             *)
9778               lt_outputfile="$lt_outputfile.exe"
9779               lt_tool_outputfile="$lt_tool_outputfile.exe"
9780               ;;
9781           esac~
9782           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9783             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9784             $RM "$lt_outputfile.manifest";
9785           fi'
9786         ;;
9787       *)
9788         # Assume MSVC wrapper
9789         hardcode_libdir_flag_spec=' '
9790         allow_undefined_flag=unsupported
9791         # Tell ltmain to make .lib files, not .a files.
9792         libext=lib
9793         # Tell ltmain to make .dll files, not .so files.
9794         shrext_cmds=".dll"
9795         # FIXME: Setting linknames here is a bad hack.
9796         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9797         # The linker will automatically build a .lib file if we build a DLL.
9798         old_archive_from_new_cmds='true'
9799         # FIXME: Should let the user specify the lib program.
9800         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9801         enable_shared_with_static_runtimes=yes
9802         ;;
9803       esac
9804       ;;
9805
9806     darwin* | rhapsody*)
9807
9808
9809   archive_cmds_need_lc=no
9810   hardcode_direct=no
9811   hardcode_automatic=yes
9812   hardcode_shlibpath_var=unsupported
9813   if test "$lt_cv_ld_force_load" = "yes"; then
9814     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\"`'
9815   else
9816     whole_archive_flag_spec=''
9817   fi
9818   link_all_deplibs=yes
9819   allow_undefined_flag="$_lt_dar_allow_undefined"
9820   case $cc_basename in
9821      ifort*) _lt_dar_can_shared=yes ;;
9822      *) _lt_dar_can_shared=$GCC ;;
9823   esac
9824   if test "$_lt_dar_can_shared" = "yes"; then
9825     output_verbose_link_cmd=func_echo_all
9826     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9827     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9828     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}"
9829     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}"
9830
9831   else
9832   ld_shlibs=no
9833   fi
9834
9835       ;;
9836
9837     dgux*)
9838       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839       hardcode_libdir_flag_spec='-L$libdir'
9840       hardcode_shlibpath_var=no
9841       ;;
9842
9843     freebsd1*)
9844       ld_shlibs=no
9845       ;;
9846
9847     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9848     # support.  Future versions do this automatically, but an explicit c++rt0.o
9849     # does not break anything, and helps significantly (at the cost of a little
9850     # extra space).
9851     freebsd2.2*)
9852       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9853       hardcode_libdir_flag_spec='-R$libdir'
9854       hardcode_direct=yes
9855       hardcode_shlibpath_var=no
9856       ;;
9857
9858     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9859     freebsd2*)
9860       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861       hardcode_direct=yes
9862       hardcode_minus_L=yes
9863       hardcode_shlibpath_var=no
9864       ;;
9865
9866     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9867     freebsd* | dragonfly*)
9868       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9869       hardcode_libdir_flag_spec='-R$libdir'
9870       hardcode_direct=yes
9871       hardcode_shlibpath_var=no
9872       ;;
9873
9874     hpux9*)
9875       if test "$GCC" = yes; then
9876         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'
9877       else
9878         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'
9879       fi
9880       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9881       hardcode_libdir_separator=:
9882       hardcode_direct=yes
9883
9884       # hardcode_minus_L: Not really in the search PATH,
9885       # but as the default location of the library.
9886       hardcode_minus_L=yes
9887       export_dynamic_flag_spec='${wl}-E'
9888       ;;
9889
9890     hpux10*)
9891       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9892         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9893       else
9894         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9895       fi
9896       if test "$with_gnu_ld" = no; then
9897         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9898         hardcode_libdir_flag_spec_ld='+b $libdir'
9899         hardcode_libdir_separator=:
9900         hardcode_direct=yes
9901         hardcode_direct_absolute=yes
9902         export_dynamic_flag_spec='${wl}-E'
9903         # hardcode_minus_L: Not really in the search PATH,
9904         # but as the default location of the library.
9905         hardcode_minus_L=yes
9906       fi
9907       ;;
9908
9909     hpux11*)
9910       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9911         case $host_cpu in
9912         hppa*64*)
9913           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9914           ;;
9915         ia64*)
9916           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9917           ;;
9918         *)
9919           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9920           ;;
9921         esac
9922       else
9923         case $host_cpu in
9924         hppa*64*)
9925           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9926           ;;
9927         ia64*)
9928           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9929           ;;
9930         *)
9931
9932           # Older versions of the 11.00 compiler do not understand -b yet
9933           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9934           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9935 $as_echo_n "checking if $CC understands -b... " >&6; }
9936 if ${lt_cv_prog_compiler__b+:} false; then :
9937   $as_echo_n "(cached) " >&6
9938 else
9939   lt_cv_prog_compiler__b=no
9940    save_LDFLAGS="$LDFLAGS"
9941    LDFLAGS="$LDFLAGS -b"
9942    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9943    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9944      # The linker can only warn and ignore the option if not recognized
9945      # So say no if there are warnings
9946      if test -s conftest.err; then
9947        # Append any errors to the config.log.
9948        cat conftest.err 1>&5
9949        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9950        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9951        if diff conftest.exp conftest.er2 >/dev/null; then
9952          lt_cv_prog_compiler__b=yes
9953        fi
9954      else
9955        lt_cv_prog_compiler__b=yes
9956      fi
9957    fi
9958    $RM -r conftest*
9959    LDFLAGS="$save_LDFLAGS"
9960
9961 fi
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9963 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9964
9965 if test x"$lt_cv_prog_compiler__b" = xyes; then
9966     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9967 else
9968     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9969 fi
9970
9971           ;;
9972         esac
9973       fi
9974       if test "$with_gnu_ld" = no; then
9975         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9976         hardcode_libdir_separator=:
9977
9978         case $host_cpu in
9979         hppa*64*|ia64*)
9980           hardcode_direct=no
9981           hardcode_shlibpath_var=no
9982           ;;
9983         *)
9984           hardcode_direct=yes
9985           hardcode_direct_absolute=yes
9986           export_dynamic_flag_spec='${wl}-E'
9987
9988           # hardcode_minus_L: Not really in the search PATH,
9989           # but as the default location of the library.
9990           hardcode_minus_L=yes
9991           ;;
9992         esac
9993       fi
9994       ;;
9995
9996     irix5* | irix6* | nonstopux*)
9997       if test "$GCC" = yes; then
9998         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'
9999         # Try to use the -exported_symbol ld option, if it does not
10000         # work, assume that -exports_file does not work either and
10001         # implicitly export all symbols.
10002         # This should be the same for all languages, so no per-tag cache variable.
10003         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10004 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10005 if ${lt_cv_irix_exported_symbol+:} false; then :
10006   $as_echo_n "(cached) " >&6
10007 else
10008   save_LDFLAGS="$LDFLAGS"
10009            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10010            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h.  */
10012 int foo (void) { return 0; }
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015   lt_cv_irix_exported_symbol=yes
10016 else
10017   lt_cv_irix_exported_symbol=no
10018 fi
10019 rm -f core conftest.err conftest.$ac_objext \
10020     conftest$ac_exeext conftest.$ac_ext
10021            LDFLAGS="$save_LDFLAGS"
10022 fi
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10024 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10025         if test "$lt_cv_irix_exported_symbol" = yes; then
10026           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'
10027         fi
10028       else
10029         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'
10030         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'
10031       fi
10032       archive_cmds_need_lc='no'
10033       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10034       hardcode_libdir_separator=:
10035       inherit_rpath=yes
10036       link_all_deplibs=yes
10037       ;;
10038
10039     netbsd*)
10040       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10041         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10042       else
10043         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10044       fi
10045       hardcode_libdir_flag_spec='-R$libdir'
10046       hardcode_direct=yes
10047       hardcode_shlibpath_var=no
10048       ;;
10049
10050     newsos6)
10051       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052       hardcode_direct=yes
10053       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10054       hardcode_libdir_separator=:
10055       hardcode_shlibpath_var=no
10056       ;;
10057
10058     *nto* | *qnx*)
10059       ;;
10060
10061     openbsd*)
10062       if test -f /usr/libexec/ld.so; then
10063         hardcode_direct=yes
10064         hardcode_shlibpath_var=no
10065         hardcode_direct_absolute=yes
10066         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10067           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10068           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10069           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10070           export_dynamic_flag_spec='${wl}-E'
10071         else
10072           case $host_os in
10073            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10074              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10075              hardcode_libdir_flag_spec='-R$libdir'
10076              ;;
10077            *)
10078              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10079              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10080              ;;
10081           esac
10082         fi
10083       else
10084         ld_shlibs=no
10085       fi
10086       ;;
10087
10088     os2*)
10089       hardcode_libdir_flag_spec='-L$libdir'
10090       hardcode_minus_L=yes
10091       allow_undefined_flag=unsupported
10092       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'
10093       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10094       ;;
10095
10096     osf3*)
10097       if test "$GCC" = yes; then
10098         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10099         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'
10100       else
10101         allow_undefined_flag=' -expect_unresolved \*'
10102         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'
10103       fi
10104       archive_cmds_need_lc='no'
10105       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10106       hardcode_libdir_separator=:
10107       ;;
10108
10109     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10110       if test "$GCC" = yes; then
10111         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10112         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'
10113         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10114       else
10115         allow_undefined_flag=' -expect_unresolved \*'
10116         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'
10117         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~
10118         $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'
10119
10120         # Both c and cxx compiler support -rpath directly
10121         hardcode_libdir_flag_spec='-rpath $libdir'
10122       fi
10123       archive_cmds_need_lc='no'
10124       hardcode_libdir_separator=:
10125       ;;
10126
10127     solaris*)
10128       no_undefined_flag=' -z defs'
10129       if test "$GCC" = yes; then
10130         wlarc='${wl}'
10131         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10132         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10133           $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'
10134       else
10135         case `$CC -V 2>&1` in
10136         *"Compilers 5.0"*)
10137           wlarc=''
10138           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10140           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10141           ;;
10142         *)
10143           wlarc='${wl}'
10144           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10145           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10146           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10147           ;;
10148         esac
10149       fi
10150       hardcode_libdir_flag_spec='-R$libdir'
10151       hardcode_shlibpath_var=no
10152       case $host_os in
10153       solaris2.[0-5] | solaris2.[0-5].*) ;;
10154       *)
10155         # The compiler driver will combine and reorder linker options,
10156         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10157         # but is careful enough not to reorder.
10158         # Supported since Solaris 2.6 (maybe 2.5.1?)
10159         if test "$GCC" = yes; then
10160           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10161         else
10162           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10163         fi
10164         ;;
10165       esac
10166       link_all_deplibs=yes
10167       ;;
10168
10169     sunos4*)
10170       if test "x$host_vendor" = xsequent; then
10171         # Use $CC to link under sequent, because it throws in some extra .o
10172         # files that make .init and .fini sections work.
10173         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10174       else
10175         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10176       fi
10177       hardcode_libdir_flag_spec='-L$libdir'
10178       hardcode_direct=yes
10179       hardcode_minus_L=yes
10180       hardcode_shlibpath_var=no
10181       ;;
10182
10183     sysv4)
10184       case $host_vendor in
10185         sni)
10186           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10187           hardcode_direct=yes # is this really true???
10188         ;;
10189         siemens)
10190           ## LD is ld it makes a PLAMLIB
10191           ## CC just makes a GrossModule.
10192           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10193           reload_cmds='$CC -r -o $output$reload_objs'
10194           hardcode_direct=no
10195         ;;
10196         motorola)
10197           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10198           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10199         ;;
10200       esac
10201       runpath_var='LD_RUN_PATH'
10202       hardcode_shlibpath_var=no
10203       ;;
10204
10205     sysv4.3*)
10206       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10207       hardcode_shlibpath_var=no
10208       export_dynamic_flag_spec='-Bexport'
10209       ;;
10210
10211     sysv4*MP*)
10212       if test -d /usr/nec; then
10213         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10214         hardcode_shlibpath_var=no
10215         runpath_var=LD_RUN_PATH
10216         hardcode_runpath_var=yes
10217         ld_shlibs=yes
10218       fi
10219       ;;
10220
10221     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10222       no_undefined_flag='${wl}-z,text'
10223       archive_cmds_need_lc=no
10224       hardcode_shlibpath_var=no
10225       runpath_var='LD_RUN_PATH'
10226
10227       if test "$GCC" = yes; then
10228         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10229         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230       else
10231         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233       fi
10234       ;;
10235
10236     sysv5* | sco3.2v5* | sco5v6*)
10237       # Note: We can NOT use -z defs as we might desire, because we do not
10238       # link with -lc, and that would cause any symbols used from libc to
10239       # always be unresolved, which means just about no library would
10240       # ever link correctly.  If we're not using GNU ld we use -z text
10241       # though, which does catch some bad symbols but isn't as heavy-handed
10242       # as -z defs.
10243       no_undefined_flag='${wl}-z,text'
10244       allow_undefined_flag='${wl}-z,nodefs'
10245       archive_cmds_need_lc=no
10246       hardcode_shlibpath_var=no
10247       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10248       hardcode_libdir_separator=':'
10249       link_all_deplibs=yes
10250       export_dynamic_flag_spec='${wl}-Bexport'
10251       runpath_var='LD_RUN_PATH'
10252
10253       if test "$GCC" = yes; then
10254         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10255         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10256       else
10257         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10258         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259       fi
10260       ;;
10261
10262     uts4*)
10263       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10264       hardcode_libdir_flag_spec='-L$libdir'
10265       hardcode_shlibpath_var=no
10266       ;;
10267
10268     *)
10269       ld_shlibs=no
10270       ;;
10271     esac
10272
10273     if test x$host_vendor = xsni; then
10274       case $host in
10275       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10276         export_dynamic_flag_spec='${wl}-Blargedynsym'
10277         ;;
10278       esac
10279     fi
10280   fi
10281
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10283 $as_echo "$ld_shlibs" >&6; }
10284 test "$ld_shlibs" = no && can_build_shared=no
10285
10286 with_gnu_ld=$with_gnu_ld
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302 #
10303 # Do we need to explicitly link libc?
10304 #
10305 case "x$archive_cmds_need_lc" in
10306 x|xyes)
10307   # Assume -lc should be added
10308   archive_cmds_need_lc=yes
10309
10310   if test "$enable_shared" = yes && test "$GCC" = yes; then
10311     case $archive_cmds in
10312     *'~'*)
10313       # FIXME: we may have to deal with multi-command sequences.
10314       ;;
10315     '$CC '*)
10316       # Test whether the compiler implicitly links with -lc since on some
10317       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10318       # to ld, don't add -lc before -lgcc.
10319       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10320 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10321 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10322   $as_echo_n "(cached) " >&6
10323 else
10324   $RM conftest*
10325         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10326
10327         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10328   (eval $ac_compile) 2>&5
10329   ac_status=$?
10330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10331   test $ac_status = 0; } 2>conftest.err; then
10332           soname=conftest
10333           lib=conftest
10334           libobjs=conftest.$ac_objext
10335           deplibs=
10336           wl=$lt_prog_compiler_wl
10337           pic_flag=$lt_prog_compiler_pic
10338           compiler_flags=-v
10339           linker_flags=-v
10340           verstring=
10341           output_objdir=.
10342           libname=conftest
10343           lt_save_allow_undefined_flag=$allow_undefined_flag
10344           allow_undefined_flag=
10345           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10346   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10347   ac_status=$?
10348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10349   test $ac_status = 0; }
10350           then
10351             lt_cv_archive_cmds_need_lc=no
10352           else
10353             lt_cv_archive_cmds_need_lc=yes
10354           fi
10355           allow_undefined_flag=$lt_save_allow_undefined_flag
10356         else
10357           cat conftest.err 1>&5
10358         fi
10359         $RM conftest*
10360
10361 fi
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10363 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10364       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10365       ;;
10366     esac
10367   fi
10368   ;;
10369 esac
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10528 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10529
10530 if test "$GCC" = yes; then
10531   case $host_os in
10532     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10533     *) lt_awk_arg="/^libraries:/" ;;
10534   esac
10535   case $host_os in
10536     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10537     *) lt_sed_strip_eq="s,=/,/,g" ;;
10538   esac
10539   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10540   case $lt_search_path_spec in
10541   *\;*)
10542     # if the path contains ";" then we assume it to be the separator
10543     # otherwise default to the standard path separator (i.e. ":") - it is
10544     # assumed that no part of a normal pathname contains ";" but that should
10545     # okay in the real world where ";" in dirpaths is itself problematic.
10546     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10547     ;;
10548   *)
10549     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10550     ;;
10551   esac
10552   # Ok, now we have the path, separated by spaces, we can step through it
10553   # and add multilib dir if necessary.
10554   lt_tmp_lt_search_path_spec=
10555   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10556   for lt_sys_path in $lt_search_path_spec; do
10557     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10558       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10559     else
10560       test -d "$lt_sys_path" && \
10561         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10562     fi
10563   done
10564   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10565 BEGIN {RS=" "; FS="/|\n";} {
10566   lt_foo="";
10567   lt_count=0;
10568   for (lt_i = NF; lt_i > 0; lt_i--) {
10569     if ($lt_i != "" && $lt_i != ".") {
10570       if ($lt_i == "..") {
10571         lt_count++;
10572       } else {
10573         if (lt_count == 0) {
10574           lt_foo="/" $lt_i lt_foo;
10575         } else {
10576           lt_count--;
10577         }
10578       }
10579     }
10580   }
10581   if (lt_foo != "") { lt_freq[lt_foo]++; }
10582   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10583 }'`
10584   # AWK program above erroneously prepends '/' to C:/dos/paths
10585   # for these hosts.
10586   case $host_os in
10587     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10588       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10589   esac
10590   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10591 else
10592   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10593 fi
10594 library_names_spec=
10595 libname_spec='lib$name'
10596 soname_spec=
10597 shrext_cmds=".so"
10598 postinstall_cmds=
10599 postuninstall_cmds=
10600 finish_cmds=
10601 finish_eval=
10602 shlibpath_var=
10603 shlibpath_overrides_runpath=unknown
10604 version_type=none
10605 dynamic_linker="$host_os ld.so"
10606 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10607 need_lib_prefix=unknown
10608 hardcode_into_libs=no
10609
10610 # when you set need_version to no, make sure it does not cause -set_version
10611 # flags to be left without arguments
10612 need_version=unknown
10613
10614 case $host_os in
10615 aix3*)
10616   version_type=linux
10617   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10618   shlibpath_var=LIBPATH
10619
10620   # AIX 3 has no versioning support, so we append a major version to the name.
10621   soname_spec='${libname}${release}${shared_ext}$major'
10622   ;;
10623
10624 aix[4-9]*)
10625   version_type=linux
10626   need_lib_prefix=no
10627   need_version=no
10628   hardcode_into_libs=yes
10629   if test "$host_cpu" = ia64; then
10630     # AIX 5 supports IA64
10631     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10632     shlibpath_var=LD_LIBRARY_PATH
10633   else
10634     # With GCC up to 2.95.x, collect2 would create an import file
10635     # for dependence libraries.  The import file would start with
10636     # the line `#! .'.  This would cause the generated library to
10637     # depend on `.', always an invalid library.  This was fixed in
10638     # development snapshots of GCC prior to 3.0.
10639     case $host_os in
10640       aix4 | aix4.[01] | aix4.[01].*)
10641       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10642            echo ' yes '
10643            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10644         :
10645       else
10646         can_build_shared=no
10647       fi
10648       ;;
10649     esac
10650     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10651     # soname into executable. Probably we can add versioning support to
10652     # collect2, so additional links can be useful in future.
10653     if test "$aix_use_runtimelinking" = yes; then
10654       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10655       # instead of lib<name>.a to let people know that these are not
10656       # typical AIX shared libraries.
10657       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658     else
10659       # We preserve .a as extension for shared libraries through AIX4.2
10660       # and later when we are not doing run time linking.
10661       library_names_spec='${libname}${release}.a $libname.a'
10662       soname_spec='${libname}${release}${shared_ext}$major'
10663     fi
10664     shlibpath_var=LIBPATH
10665   fi
10666   ;;
10667
10668 amigaos*)
10669   case $host_cpu in
10670   powerpc)
10671     # Since July 2007 AmigaOS4 officially supports .so libraries.
10672     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10673     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674     ;;
10675   m68k)
10676     library_names_spec='$libname.ixlibrary $libname.a'
10677     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10678     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'
10679     ;;
10680   esac
10681   ;;
10682
10683 beos*)
10684   library_names_spec='${libname}${shared_ext}'
10685   dynamic_linker="$host_os ld.so"
10686   shlibpath_var=LIBRARY_PATH
10687   ;;
10688
10689 bsdi[45]*)
10690   version_type=linux
10691   need_version=no
10692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693   soname_spec='${libname}${release}${shared_ext}$major'
10694   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10695   shlibpath_var=LD_LIBRARY_PATH
10696   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10697   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10698   # the default ld.so.conf also contains /usr/contrib/lib and
10699   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10700   # libtool to hard-code these into programs
10701   ;;
10702
10703 cygwin* | mingw* | pw32* | cegcc*)
10704   version_type=windows
10705   shrext_cmds=".dll"
10706   need_version=no
10707   need_lib_prefix=no
10708
10709   case $GCC,$cc_basename in
10710   yes,*)
10711     # gcc
10712     library_names_spec='$libname.dll.a'
10713     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10714     postinstall_cmds='base_file=`basename \${file}`~
10715       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10716       dldir=$destdir/`dirname \$dlpath`~
10717       test -d \$dldir || mkdir -p \$dldir~
10718       $install_prog $dir/$dlname \$dldir/$dlname~
10719       chmod a+x \$dldir/$dlname~
10720       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10721         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10722       fi'
10723     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10724       dlpath=$dir/\$dldll~
10725        $RM \$dlpath'
10726     shlibpath_overrides_runpath=yes
10727
10728     case $host_os in
10729     cygwin*)
10730       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10731       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10732
10733       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10734       ;;
10735     mingw* | cegcc*)
10736       # MinGW DLLs use traditional 'lib' prefix
10737       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10738       ;;
10739     pw32*)
10740       # pw32 DLLs use 'pw' prefix rather than 'lib'
10741       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10742       ;;
10743     esac
10744     dynamic_linker='Win32 ld.exe'
10745     ;;
10746
10747   *,cl*)
10748     # Native MSVC
10749     libname_spec='$name'
10750     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10751     library_names_spec='${libname}.dll.lib'
10752
10753     case $build_os in
10754     mingw*)
10755       sys_lib_search_path_spec=
10756       lt_save_ifs=$IFS
10757       IFS=';'
10758       for lt_path in $LIB
10759       do
10760         IFS=$lt_save_ifs
10761         # Let DOS variable expansion print the short 8.3 style file name.
10762         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10763         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10764       done
10765       IFS=$lt_save_ifs
10766       # Convert to MSYS style.
10767       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10768       ;;
10769     cygwin*)
10770       # Convert to unix form, then to dos form, then back to unix form
10771       # but this time dos style (no spaces!) so that the unix form looks
10772       # like /cygdrive/c/PROGRA~1:/cygdr...
10773       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10774       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10775       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10776       ;;
10777     *)
10778       sys_lib_search_path_spec="$LIB"
10779       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10780         # It is most probably a Windows format PATH.
10781         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10782       else
10783         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10784       fi
10785       # FIXME: find the short name or the path components, as spaces are
10786       # common. (e.g. "Program Files" -> "PROGRA~1")
10787       ;;
10788     esac
10789
10790     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10791     postinstall_cmds='base_file=`basename \${file}`~
10792       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10793       dldir=$destdir/`dirname \$dlpath`~
10794       test -d \$dldir || mkdir -p \$dldir~
10795       $install_prog $dir/$dlname \$dldir/$dlname'
10796     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10797       dlpath=$dir/\$dldll~
10798        $RM \$dlpath'
10799     shlibpath_overrides_runpath=yes
10800     dynamic_linker='Win32 link.exe'
10801     ;;
10802
10803   *)
10804     # Assume MSVC wrapper
10805     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10806     dynamic_linker='Win32 ld.exe'
10807     ;;
10808   esac
10809   # FIXME: first we should search . and the directory the executable is in
10810   shlibpath_var=PATH
10811   ;;
10812
10813 darwin* | rhapsody*)
10814   dynamic_linker="$host_os dyld"
10815   version_type=darwin
10816   need_lib_prefix=no
10817   need_version=no
10818   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10819   soname_spec='${libname}${release}${major}$shared_ext'
10820   shlibpath_overrides_runpath=yes
10821   shlibpath_var=DYLD_LIBRARY_PATH
10822   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10823
10824   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10825   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10826   ;;
10827
10828 dgux*)
10829   version_type=linux
10830   need_lib_prefix=no
10831   need_version=no
10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10833   soname_spec='${libname}${release}${shared_ext}$major'
10834   shlibpath_var=LD_LIBRARY_PATH
10835   ;;
10836
10837 freebsd1*)
10838   dynamic_linker=no
10839   ;;
10840
10841 freebsd* | dragonfly*)
10842   # DragonFly does not have aout.  When/if they implement a new
10843   # versioning mechanism, adjust this.
10844   if test -x /usr/bin/objformat; then
10845     objformat=`/usr/bin/objformat`
10846   else
10847     case $host_os in
10848     freebsd[123]*) objformat=aout ;;
10849     *) objformat=elf ;;
10850     esac
10851   fi
10852   version_type=freebsd-$objformat
10853   case $version_type in
10854     freebsd-elf*)
10855       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10856       need_version=no
10857       need_lib_prefix=no
10858       ;;
10859     freebsd-*)
10860       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10861       need_version=yes
10862       ;;
10863   esac
10864   shlibpath_var=LD_LIBRARY_PATH
10865   case $host_os in
10866   freebsd2*)
10867     shlibpath_overrides_runpath=yes
10868     ;;
10869   freebsd3.[01]* | freebsdelf3.[01]*)
10870     shlibpath_overrides_runpath=yes
10871     hardcode_into_libs=yes
10872     ;;
10873   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10874   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10875     shlibpath_overrides_runpath=no
10876     hardcode_into_libs=yes
10877     ;;
10878   *) # from 4.6 on, and DragonFly
10879     shlibpath_overrides_runpath=yes
10880     hardcode_into_libs=yes
10881     ;;
10882   esac
10883   ;;
10884
10885 gnu*)
10886   version_type=linux
10887   need_lib_prefix=no
10888   need_version=no
10889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10890   soname_spec='${libname}${release}${shared_ext}$major'
10891   shlibpath_var=LD_LIBRARY_PATH
10892   hardcode_into_libs=yes
10893   ;;
10894
10895 haiku*)
10896   version_type=linux
10897   need_lib_prefix=no
10898   need_version=no
10899   dynamic_linker="$host_os runtime_loader"
10900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10901   soname_spec='${libname}${release}${shared_ext}$major'
10902   shlibpath_var=LIBRARY_PATH
10903   shlibpath_overrides_runpath=yes
10904   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10905   hardcode_into_libs=yes
10906   ;;
10907
10908 hpux9* | hpux10* | hpux11*)
10909   # Give a soname corresponding to the major version so that dld.sl refuses to
10910   # link against other versions.
10911   version_type=sunos
10912   need_lib_prefix=no
10913   need_version=no
10914   case $host_cpu in
10915   ia64*)
10916     shrext_cmds='.so'
10917     hardcode_into_libs=yes
10918     dynamic_linker="$host_os dld.so"
10919     shlibpath_var=LD_LIBRARY_PATH
10920     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10921     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922     soname_spec='${libname}${release}${shared_ext}$major'
10923     if test "X$HPUX_IA64_MODE" = X32; then
10924       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10925     else
10926       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10927     fi
10928     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10929     ;;
10930   hppa*64*)
10931     shrext_cmds='.sl'
10932     hardcode_into_libs=yes
10933     dynamic_linker="$host_os dld.sl"
10934     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10935     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10936     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10937     soname_spec='${libname}${release}${shared_ext}$major'
10938     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10939     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10940     ;;
10941   *)
10942     shrext_cmds='.sl'
10943     dynamic_linker="$host_os dld.sl"
10944     shlibpath_var=SHLIB_PATH
10945     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10946     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947     soname_spec='${libname}${release}${shared_ext}$major'
10948     ;;
10949   esac
10950   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10951   postinstall_cmds='chmod 555 $lib'
10952   # or fails outright, so override atomically:
10953   install_override_mode=555
10954   ;;
10955
10956 interix[3-9]*)
10957   version_type=linux
10958   need_lib_prefix=no
10959   need_version=no
10960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10961   soname_spec='${libname}${release}${shared_ext}$major'
10962   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10963   shlibpath_var=LD_LIBRARY_PATH
10964   shlibpath_overrides_runpath=no
10965   hardcode_into_libs=yes
10966   ;;
10967
10968 irix5* | irix6* | nonstopux*)
10969   case $host_os in
10970     nonstopux*) version_type=nonstopux ;;
10971     *)
10972         if test "$lt_cv_prog_gnu_ld" = yes; then
10973                 version_type=linux
10974         else
10975                 version_type=irix
10976         fi ;;
10977   esac
10978   need_lib_prefix=no
10979   need_version=no
10980   soname_spec='${libname}${release}${shared_ext}$major'
10981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10982   case $host_os in
10983   irix5* | nonstopux*)
10984     libsuff= shlibsuff=
10985     ;;
10986   *)
10987     case $LD in # libtool.m4 will add one of these switches to LD
10988     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10989       libsuff= shlibsuff= libmagic=32-bit;;
10990     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10991       libsuff=32 shlibsuff=N32 libmagic=N32;;
10992     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10993       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10994     *) libsuff= shlibsuff= libmagic=never-match;;
10995     esac
10996     ;;
10997   esac
10998   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10999   shlibpath_overrides_runpath=no
11000   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11001   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11002   hardcode_into_libs=yes
11003   ;;
11004
11005 # No shared lib support for Linux oldld, aout, or coff.
11006 linux*oldld* | linux*aout* | linux*coff*)
11007   dynamic_linker=no
11008   ;;
11009
11010 # This must be Linux ELF.
11011 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11012   version_type=linux
11013   need_lib_prefix=no
11014   need_version=no
11015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016   soname_spec='${libname}${release}${shared_ext}$major'
11017   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11018   shlibpath_var=LD_LIBRARY_PATH
11019   shlibpath_overrides_runpath=no
11020
11021   # Some binutils ld are patched to set DT_RUNPATH
11022   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11023   $as_echo_n "(cached) " >&6
11024 else
11025   lt_cv_shlibpath_overrides_runpath=no
11026     save_LDFLAGS=$LDFLAGS
11027     save_libdir=$libdir
11028     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11029          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11030     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h.  */
11032
11033 int
11034 main ()
11035 {
11036
11037   ;
11038   return 0;
11039 }
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11043   lt_cv_shlibpath_overrides_runpath=yes
11044 fi
11045 fi
11046 rm -f core conftest.err conftest.$ac_objext \
11047     conftest$ac_exeext conftest.$ac_ext
11048     LDFLAGS=$save_LDFLAGS
11049     libdir=$save_libdir
11050
11051 fi
11052
11053   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11054
11055   # This implies no fast_install, which is unacceptable.
11056   # Some rework will be needed to allow for fast_install
11057   # before this can be enabled.
11058   hardcode_into_libs=yes
11059
11060   # Add ABI-specific directories to the system library path.
11061   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11062
11063   # Append ld.so.conf contents to the search path
11064   if test -f /etc/ld.so.conf; then
11065     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' ' '`
11066     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11067
11068   fi
11069
11070   # We used to test for /lib/ld.so.1 and disable shared libraries on
11071   # powerpc, because MkLinux only supported shared libraries with the
11072   # GNU dynamic linker.  Since this was broken with cross compilers,
11073   # most powerpc-linux boxes support dynamic linking these days and
11074   # people can always --disable-shared, the test was removed, and we
11075   # assume the GNU/Linux dynamic linker is in use.
11076   dynamic_linker='GNU/Linux ld.so'
11077   ;;
11078
11079 netbsd*)
11080   version_type=sunos
11081   need_lib_prefix=no
11082   need_version=no
11083   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11084     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11085     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11086     dynamic_linker='NetBSD (a.out) ld.so'
11087   else
11088     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11089     soname_spec='${libname}${release}${shared_ext}$major'
11090     dynamic_linker='NetBSD ld.elf_so'
11091   fi
11092   shlibpath_var=LD_LIBRARY_PATH
11093   shlibpath_overrides_runpath=yes
11094   hardcode_into_libs=yes
11095   ;;
11096
11097 newsos6)
11098   version_type=linux
11099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11100   shlibpath_var=LD_LIBRARY_PATH
11101   shlibpath_overrides_runpath=yes
11102   ;;
11103
11104 *nto* | *qnx*)
11105   version_type=qnx
11106   need_lib_prefix=no
11107   need_version=no
11108   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11109   soname_spec='${libname}${release}${shared_ext}$major'
11110   shlibpath_var=LD_LIBRARY_PATH
11111   shlibpath_overrides_runpath=no
11112   hardcode_into_libs=yes
11113   dynamic_linker='ldqnx.so'
11114   ;;
11115
11116 openbsd*)
11117   version_type=sunos
11118   sys_lib_dlsearch_path_spec="/usr/lib"
11119   need_lib_prefix=no
11120   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11121   case $host_os in
11122     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11123     *)                          need_version=no  ;;
11124   esac
11125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11126   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11127   shlibpath_var=LD_LIBRARY_PATH
11128   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11129     case $host_os in
11130       openbsd2.[89] | openbsd2.[89].*)
11131         shlibpath_overrides_runpath=no
11132         ;;
11133       *)
11134         shlibpath_overrides_runpath=yes
11135         ;;
11136       esac
11137   else
11138     shlibpath_overrides_runpath=yes
11139   fi
11140   ;;
11141
11142 os2*)
11143   libname_spec='$name'
11144   shrext_cmds=".dll"
11145   need_lib_prefix=no
11146   library_names_spec='$libname${shared_ext} $libname.a'
11147   dynamic_linker='OS/2 ld.exe'
11148   shlibpath_var=LIBPATH
11149   ;;
11150
11151 osf3* | osf4* | osf5*)
11152   version_type=osf
11153   need_lib_prefix=no
11154   need_version=no
11155   soname_spec='${libname}${release}${shared_ext}$major'
11156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157   shlibpath_var=LD_LIBRARY_PATH
11158   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11159   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11160   ;;
11161
11162 rdos*)
11163   dynamic_linker=no
11164   ;;
11165
11166 solaris*)
11167   version_type=linux
11168   need_lib_prefix=no
11169   need_version=no
11170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171   soname_spec='${libname}${release}${shared_ext}$major'
11172   shlibpath_var=LD_LIBRARY_PATH
11173   shlibpath_overrides_runpath=yes
11174   hardcode_into_libs=yes
11175   # ldd complains unless libraries are executable
11176   postinstall_cmds='chmod +x $lib'
11177   ;;
11178
11179 sunos4*)
11180   version_type=sunos
11181   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11182   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11183   shlibpath_var=LD_LIBRARY_PATH
11184   shlibpath_overrides_runpath=yes
11185   if test "$with_gnu_ld" = yes; then
11186     need_lib_prefix=no
11187   fi
11188   need_version=yes
11189   ;;
11190
11191 sysv4 | sysv4.3*)
11192   version_type=linux
11193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11194   soname_spec='${libname}${release}${shared_ext}$major'
11195   shlibpath_var=LD_LIBRARY_PATH
11196   case $host_vendor in
11197     sni)
11198       shlibpath_overrides_runpath=no
11199       need_lib_prefix=no
11200       runpath_var=LD_RUN_PATH
11201       ;;
11202     siemens)
11203       need_lib_prefix=no
11204       ;;
11205     motorola)
11206       need_lib_prefix=no
11207       need_version=no
11208       shlibpath_overrides_runpath=no
11209       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11210       ;;
11211   esac
11212   ;;
11213
11214 sysv4*MP*)
11215   if test -d /usr/nec ;then
11216     version_type=linux
11217     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11218     soname_spec='$libname${shared_ext}.$major'
11219     shlibpath_var=LD_LIBRARY_PATH
11220   fi
11221   ;;
11222
11223 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11224   version_type=freebsd-elf
11225   need_lib_prefix=no
11226   need_version=no
11227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11228   soname_spec='${libname}${release}${shared_ext}$major'
11229   shlibpath_var=LD_LIBRARY_PATH
11230   shlibpath_overrides_runpath=yes
11231   hardcode_into_libs=yes
11232   if test "$with_gnu_ld" = yes; then
11233     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11234   else
11235     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11236     case $host_os in
11237       sco3.2v5*)
11238         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11239         ;;
11240     esac
11241   fi
11242   sys_lib_dlsearch_path_spec='/usr/lib'
11243   ;;
11244
11245 tpf*)
11246   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11247   version_type=linux
11248   need_lib_prefix=no
11249   need_version=no
11250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11251   shlibpath_var=LD_LIBRARY_PATH
11252   shlibpath_overrides_runpath=no
11253   hardcode_into_libs=yes
11254   ;;
11255
11256 uts4*)
11257   version_type=linux
11258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11259   soname_spec='${libname}${release}${shared_ext}$major'
11260   shlibpath_var=LD_LIBRARY_PATH
11261   ;;
11262
11263 *)
11264   dynamic_linker=no
11265   ;;
11266 esac
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11268 $as_echo "$dynamic_linker" >&6; }
11269 test "$dynamic_linker" = no && can_build_shared=no
11270
11271 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11272 if test "$GCC" = yes; then
11273   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11274 fi
11275
11276 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11277   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11278 fi
11279 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11280   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11281 fi
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11375 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11376 hardcode_action=
11377 if test -n "$hardcode_libdir_flag_spec" ||
11378    test -n "$runpath_var" ||
11379    test "X$hardcode_automatic" = "Xyes" ; then
11380
11381   # We can hardcode non-existent directories.
11382   if test "$hardcode_direct" != no &&
11383      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11384      # have to relink, otherwise we might link with an installed library
11385      # when we should be linking with a yet-to-be-installed one
11386      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11387      test "$hardcode_minus_L" != no; then
11388     # Linking always hardcodes the temporary library directory.
11389     hardcode_action=relink
11390   else
11391     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11392     hardcode_action=immediate
11393   fi
11394 else
11395   # We cannot hardcode anything, or else we can only hardcode existing
11396   # directories.
11397   hardcode_action=unsupported
11398 fi
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11400 $as_echo "$hardcode_action" >&6; }
11401
11402 if test "$hardcode_action" = relink ||
11403    test "$inherit_rpath" = yes; then
11404   # Fast installation is not supported
11405   enable_fast_install=no
11406 elif test "$shlibpath_overrides_runpath" = yes ||
11407      test "$enable_shared" = no; then
11408   # Fast installation is not necessary
11409   enable_fast_install=needless
11410 fi
11411
11412
11413
11414
11415
11416
11417   if test "x$enable_dlopen" != xyes; then
11418   enable_dlopen=unknown
11419   enable_dlopen_self=unknown
11420   enable_dlopen_self_static=unknown
11421 else
11422   lt_cv_dlopen=no
11423   lt_cv_dlopen_libs=
11424
11425   case $host_os in
11426   beos*)
11427     lt_cv_dlopen="load_add_on"
11428     lt_cv_dlopen_libs=
11429     lt_cv_dlopen_self=yes
11430     ;;
11431
11432   mingw* | pw32* | cegcc*)
11433     lt_cv_dlopen="LoadLibrary"
11434     lt_cv_dlopen_libs=
11435     ;;
11436
11437   cygwin*)
11438     lt_cv_dlopen="dlopen"
11439     lt_cv_dlopen_libs=
11440     ;;
11441
11442   darwin*)
11443   # if libdl is installed we need to link against it
11444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11445 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11446 if ${ac_cv_lib_dl_dlopen+:} false; then :
11447   $as_echo_n "(cached) " >&6
11448 else
11449   ac_check_lib_save_LIBS=$LIBS
11450 LIBS="-ldl  $LIBS"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h.  */
11453
11454 /* Override any GCC internal prototype to avoid an error.
11455    Use char because int might match the return type of a GCC
11456    builtin and then its argument prototype would still apply.  */
11457 #ifdef __cplusplus
11458 extern "C"
11459 #endif
11460 char dlopen ();
11461 int
11462 main ()
11463 {
11464 return dlopen ();
11465   ;
11466   return 0;
11467 }
11468 _ACEOF
11469 if ac_fn_c_try_link "$LINENO"; then :
11470   ac_cv_lib_dl_dlopen=yes
11471 else
11472   ac_cv_lib_dl_dlopen=no
11473 fi
11474 rm -f core conftest.err conftest.$ac_objext \
11475     conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_lib_save_LIBS
11477 fi
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11479 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11480 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11481   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11482 else
11483
11484     lt_cv_dlopen="dyld"
11485     lt_cv_dlopen_libs=
11486     lt_cv_dlopen_self=yes
11487
11488 fi
11489
11490     ;;
11491
11492   *)
11493     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11494 if test "x$ac_cv_func_shl_load" = xyes; then :
11495   lt_cv_dlopen="shl_load"
11496 else
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11498 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11499 if ${ac_cv_lib_dld_shl_load+:} false; then :
11500   $as_echo_n "(cached) " >&6
11501 else
11502   ac_check_lib_save_LIBS=$LIBS
11503 LIBS="-ldld  $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h.  */
11506
11507 /* Override any GCC internal prototype to avoid an error.
11508    Use char because int might match the return type of a GCC
11509    builtin and then its argument prototype would still apply.  */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char shl_load ();
11514 int
11515 main ()
11516 {
11517 return shl_load ();
11518   ;
11519   return 0;
11520 }
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523   ac_cv_lib_dld_shl_load=yes
11524 else
11525   ac_cv_lib_dld_shl_load=no
11526 fi
11527 rm -f core conftest.err conftest.$ac_objext \
11528     conftest$ac_exeext conftest.$ac_ext
11529 LIBS=$ac_check_lib_save_LIBS
11530 fi
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11532 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11533 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11534   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11535 else
11536   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11537 if test "x$ac_cv_func_dlopen" = xyes; then :
11538   lt_cv_dlopen="dlopen"
11539 else
11540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11541 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11542 if ${ac_cv_lib_dl_dlopen+:} false; then :
11543   $as_echo_n "(cached) " >&6
11544 else
11545   ac_check_lib_save_LIBS=$LIBS
11546 LIBS="-ldl  $LIBS"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h.  */
11549
11550 /* Override any GCC internal prototype to avoid an error.
11551    Use char because int might match the return type of a GCC
11552    builtin and then its argument prototype would still apply.  */
11553 #ifdef __cplusplus
11554 extern "C"
11555 #endif
11556 char dlopen ();
11557 int
11558 main ()
11559 {
11560 return dlopen ();
11561   ;
11562   return 0;
11563 }
11564 _ACEOF
11565 if ac_fn_c_try_link "$LINENO"; then :
11566   ac_cv_lib_dl_dlopen=yes
11567 else
11568   ac_cv_lib_dl_dlopen=no
11569 fi
11570 rm -f core conftest.err conftest.$ac_objext \
11571     conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_lib_save_LIBS
11573 fi
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11575 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11576 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11577   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11578 else
11579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11580 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11581 if ${ac_cv_lib_svld_dlopen+:} false; then :
11582   $as_echo_n "(cached) " >&6
11583 else
11584   ac_check_lib_save_LIBS=$LIBS
11585 LIBS="-lsvld  $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h.  */
11588
11589 /* Override any GCC internal prototype to avoid an error.
11590    Use char because int might match the return type of a GCC
11591    builtin and then its argument prototype would still apply.  */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char dlopen ();
11596 int
11597 main ()
11598 {
11599 return dlopen ();
11600   ;
11601   return 0;
11602 }
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605   ac_cv_lib_svld_dlopen=yes
11606 else
11607   ac_cv_lib_svld_dlopen=no
11608 fi
11609 rm -f core conftest.err conftest.$ac_objext \
11610     conftest$ac_exeext conftest.$ac_ext
11611 LIBS=$ac_check_lib_save_LIBS
11612 fi
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11614 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11615 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11616   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11617 else
11618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11619 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11620 if ${ac_cv_lib_dld_dld_link+:} false; then :
11621   $as_echo_n "(cached) " >&6
11622 else
11623   ac_check_lib_save_LIBS=$LIBS
11624 LIBS="-ldld  $LIBS"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h.  */
11627
11628 /* Override any GCC internal prototype to avoid an error.
11629    Use char because int might match the return type of a GCC
11630    builtin and then its argument prototype would still apply.  */
11631 #ifdef __cplusplus
11632 extern "C"
11633 #endif
11634 char dld_link ();
11635 int
11636 main ()
11637 {
11638 return dld_link ();
11639   ;
11640   return 0;
11641 }
11642 _ACEOF
11643 if ac_fn_c_try_link "$LINENO"; then :
11644   ac_cv_lib_dld_dld_link=yes
11645 else
11646   ac_cv_lib_dld_dld_link=no
11647 fi
11648 rm -f core conftest.err conftest.$ac_objext \
11649     conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_lib_save_LIBS
11651 fi
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11653 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11654 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11655   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11656 fi
11657
11658
11659 fi
11660
11661
11662 fi
11663
11664
11665 fi
11666
11667
11668 fi
11669
11670
11671 fi
11672
11673     ;;
11674   esac
11675
11676   if test "x$lt_cv_dlopen" != xno; then
11677     enable_dlopen=yes
11678   else
11679     enable_dlopen=no
11680   fi
11681
11682   case $lt_cv_dlopen in
11683   dlopen)
11684     save_CPPFLAGS="$CPPFLAGS"
11685     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11686
11687     save_LDFLAGS="$LDFLAGS"
11688     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11689
11690     save_LIBS="$LIBS"
11691     LIBS="$lt_cv_dlopen_libs $LIBS"
11692
11693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11694 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11695 if ${lt_cv_dlopen_self+:} false; then :
11696   $as_echo_n "(cached) " >&6
11697 else
11698           if test "$cross_compiling" = yes; then :
11699   lt_cv_dlopen_self=cross
11700 else
11701   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11702   lt_status=$lt_dlunknown
11703   cat > conftest.$ac_ext <<_LT_EOF
11704 #line $LINENO "configure"
11705 #include "confdefs.h"
11706
11707 #if HAVE_DLFCN_H
11708 #include <dlfcn.h>
11709 #endif
11710
11711 #include <stdio.h>
11712
11713 #ifdef RTLD_GLOBAL
11714 #  define LT_DLGLOBAL           RTLD_GLOBAL
11715 #else
11716 #  ifdef DL_GLOBAL
11717 #    define LT_DLGLOBAL         DL_GLOBAL
11718 #  else
11719 #    define LT_DLGLOBAL         0
11720 #  endif
11721 #endif
11722
11723 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11724    find out it does not work in some platform. */
11725 #ifndef LT_DLLAZY_OR_NOW
11726 #  ifdef RTLD_LAZY
11727 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11728 #  else
11729 #    ifdef DL_LAZY
11730 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11731 #    else
11732 #      ifdef RTLD_NOW
11733 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11734 #      else
11735 #        ifdef DL_NOW
11736 #          define LT_DLLAZY_OR_NOW      DL_NOW
11737 #        else
11738 #          define LT_DLLAZY_OR_NOW      0
11739 #        endif
11740 #      endif
11741 #    endif
11742 #  endif
11743 #endif
11744
11745 /* When -fvisbility=hidden is used, assume the code has been annotated
11746    correspondingly for the symbols needed.  */
11747 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11748 int fnord () __attribute__((visibility("default")));
11749 #endif
11750
11751 int fnord () { return 42; }
11752 int main ()
11753 {
11754   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11755   int status = $lt_dlunknown;
11756
11757   if (self)
11758     {
11759       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11760       else
11761         {
11762           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11763           else puts (dlerror ());
11764         }
11765       /* dlclose (self); */
11766     }
11767   else
11768     puts (dlerror ());
11769
11770   return status;
11771 }
11772 _LT_EOF
11773   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11774   (eval $ac_link) 2>&5
11775   ac_status=$?
11776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11777   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11778     (./conftest; exit; ) >&5 2>/dev/null
11779     lt_status=$?
11780     case x$lt_status in
11781       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11782       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11783       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11784     esac
11785   else :
11786     # compilation failed
11787     lt_cv_dlopen_self=no
11788   fi
11789 fi
11790 rm -fr conftest*
11791
11792
11793 fi
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11795 $as_echo "$lt_cv_dlopen_self" >&6; }
11796
11797     if test "x$lt_cv_dlopen_self" = xyes; then
11798       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11799       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11800 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11801 if ${lt_cv_dlopen_self_static+:} false; then :
11802   $as_echo_n "(cached) " >&6
11803 else
11804           if test "$cross_compiling" = yes; then :
11805   lt_cv_dlopen_self_static=cross
11806 else
11807   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11808   lt_status=$lt_dlunknown
11809   cat > conftest.$ac_ext <<_LT_EOF
11810 #line $LINENO "configure"
11811 #include "confdefs.h"
11812
11813 #if HAVE_DLFCN_H
11814 #include <dlfcn.h>
11815 #endif
11816
11817 #include <stdio.h>
11818
11819 #ifdef RTLD_GLOBAL
11820 #  define LT_DLGLOBAL           RTLD_GLOBAL
11821 #else
11822 #  ifdef DL_GLOBAL
11823 #    define LT_DLGLOBAL         DL_GLOBAL
11824 #  else
11825 #    define LT_DLGLOBAL         0
11826 #  endif
11827 #endif
11828
11829 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11830    find out it does not work in some platform. */
11831 #ifndef LT_DLLAZY_OR_NOW
11832 #  ifdef RTLD_LAZY
11833 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11834 #  else
11835 #    ifdef DL_LAZY
11836 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11837 #    else
11838 #      ifdef RTLD_NOW
11839 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11840 #      else
11841 #        ifdef DL_NOW
11842 #          define LT_DLLAZY_OR_NOW      DL_NOW
11843 #        else
11844 #          define LT_DLLAZY_OR_NOW      0
11845 #        endif
11846 #      endif
11847 #    endif
11848 #  endif
11849 #endif
11850
11851 /* When -fvisbility=hidden is used, assume the code has been annotated
11852    correspondingly for the symbols needed.  */
11853 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11854 int fnord () __attribute__((visibility("default")));
11855 #endif
11856
11857 int fnord () { return 42; }
11858 int main ()
11859 {
11860   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11861   int status = $lt_dlunknown;
11862
11863   if (self)
11864     {
11865       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11866       else
11867         {
11868           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11869           else puts (dlerror ());
11870         }
11871       /* dlclose (self); */
11872     }
11873   else
11874     puts (dlerror ());
11875
11876   return status;
11877 }
11878 _LT_EOF
11879   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11880   (eval $ac_link) 2>&5
11881   ac_status=$?
11882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11883   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11884     (./conftest; exit; ) >&5 2>/dev/null
11885     lt_status=$?
11886     case x$lt_status in
11887       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11888       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11889       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11890     esac
11891   else :
11892     # compilation failed
11893     lt_cv_dlopen_self_static=no
11894   fi
11895 fi
11896 rm -fr conftest*
11897
11898
11899 fi
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11901 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11902     fi
11903
11904     CPPFLAGS="$save_CPPFLAGS"
11905     LDFLAGS="$save_LDFLAGS"
11906     LIBS="$save_LIBS"
11907     ;;
11908   esac
11909
11910   case $lt_cv_dlopen_self in
11911   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11912   *) enable_dlopen_self=unknown ;;
11913   esac
11914
11915   case $lt_cv_dlopen_self_static in
11916   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11917   *) enable_dlopen_self_static=unknown ;;
11918   esac
11919 fi
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937 striplib=
11938 old_striplib=
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11940 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11941 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11942   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11943   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11945 $as_echo "yes" >&6; }
11946 else
11947 # FIXME - insert some real tests, host_os isn't really good enough
11948   case $host_os in
11949   darwin*)
11950     if test -n "$STRIP" ; then
11951       striplib="$STRIP -x"
11952       old_striplib="$STRIP -S"
11953       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11954 $as_echo "yes" >&6; }
11955     else
11956       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11957 $as_echo "no" >&6; }
11958     fi
11959     ;;
11960   *)
11961     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11962 $as_echo "no" >&6; }
11963     ;;
11964   esac
11965 fi
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978   # Report which library types will actually be built
11979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11980 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11982 $as_echo "$can_build_shared" >&6; }
11983
11984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11985 $as_echo_n "checking whether to build shared libraries... " >&6; }
11986   test "$can_build_shared" = "no" && enable_shared=no
11987
11988   # On AIX, shared libraries and static libraries use the same namespace, and
11989   # are all built from PIC.
11990   case $host_os in
11991   aix3*)
11992     test "$enable_shared" = yes && enable_static=no
11993     if test -n "$RANLIB"; then
11994       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11995       postinstall_cmds='$RANLIB $lib'
11996     fi
11997     ;;
11998
11999   aix[4-9]*)
12000     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12001       test "$enable_shared" = yes && enable_static=no
12002     fi
12003     ;;
12004   esac
12005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12006 $as_echo "$enable_shared" >&6; }
12007
12008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12009 $as_echo_n "checking whether to build static libraries... " >&6; }
12010   # Make sure either enable_shared or enable_static is yes.
12011   test "$enable_shared" = yes || enable_static=yes
12012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12013 $as_echo "$enable_static" >&6; }
12014
12015
12016
12017
12018 fi
12019 ac_ext=c
12020 ac_cpp='$CPP $CPPFLAGS'
12021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12024
12025 CC="$lt_save_CC"
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039         ac_config_commands="$ac_config_commands libtool"
12040
12041
12042
12043
12044 # Only expand once:
12045
12046
12047
12048 VERSION_SCRIPT_FLAGS=
12049 # lt_cv_prog_gnu_ld is from libtool 2.+
12050 if test "$lt_cv_prog_gnu_ld" = yes; then
12051   VERSION_SCRIPT_FLAGS=-Wl,--version-script=
12052 else
12053   case $host in
12054   *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
12055   esac
12056 fi
12057
12058  if test -n "$VERSION_SCRIPT_FLAGS"; then
12059   USE_VERSION_SCRIPT_TRUE=
12060   USE_VERSION_SCRIPT_FALSE='#'
12061 else
12062   USE_VERSION_SCRIPT_TRUE='#'
12063   USE_VERSION_SCRIPT_FALSE=
12064 fi
12065
12066
12067
12068 _cppflags="${CPPFLAGS}"
12069 _ldflags="${LDFLAGS}"
12070
12071
12072 # Check whether --with-c14n was given.
12073 if test "${with_c14n+set}" = set; then :
12074   withval=$with_c14n;
12075 fi
12076
12077
12078 # Check whether --with-catalog was given.
12079 if test "${with_catalog+set}" = set; then :
12080   withval=$with_catalog;
12081 fi
12082
12083
12084 # Check whether --with-debug was given.
12085 if test "${with_debug+set}" = set; then :
12086   withval=$with_debug;
12087 fi
12088
12089
12090 # Check whether --with-docbook was given.
12091 if test "${with_docbook+set}" = set; then :
12092   withval=$with_docbook;
12093 fi
12094
12095
12096 # Check whether --with-fexceptions was given.
12097 if test "${with_fexceptions+set}" = set; then :
12098   withval=$with_fexceptions;
12099 fi
12100
12101
12102 # Check whether --with-ftp was given.
12103 if test "${with_ftp+set}" = set; then :
12104   withval=$with_ftp;
12105 fi
12106
12107
12108 # Check whether --with-history was given.
12109 if test "${with_history+set}" = set; then :
12110   withval=$with_history;
12111 fi
12112
12113
12114 # Check whether --with-html was given.
12115 if test "${with_html+set}" = set; then :
12116   withval=$with_html;
12117 fi
12118
12119
12120 # Check whether --with-html-dir was given.
12121 if test "${with_html_dir+set}" = set; then :
12122   withval=$with_html_dir; HTML_DIR=$withval
12123 else
12124   HTML_DIR='$(datadir)/doc'
12125 fi
12126
12127
12128
12129 # Check whether --with-html-subdir was given.
12130 if test "${with_html_subdir+set}" = set; then :
12131   withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
12132 else
12133   HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
12134 fi
12135
12136
12137
12138 # Check whether --with-http was given.
12139 if test "${with_http+set}" = set; then :
12140   withval=$with_http;
12141 fi
12142
12143
12144 # Check whether --with-iconv was given.
12145 if test "${with_iconv+set}" = set; then :
12146   withval=$with_iconv;
12147 fi
12148
12149
12150 # Check whether --with-icu was given.
12151 if test "${with_icu+set}" = set; then :
12152   withval=$with_icu;
12153 fi
12154
12155
12156 # Check whether --with-iso8859x was given.
12157 if test "${with_iso8859x+set}" = set; then :
12158   withval=$with_iso8859x;
12159 fi
12160
12161
12162 # Check whether --with-legacy was given.
12163 if test "${with_legacy+set}" = set; then :
12164   withval=$with_legacy;
12165 fi
12166
12167
12168 # Check whether --with-mem_debug was given.
12169 if test "${with_mem_debug+set}" = set; then :
12170   withval=$with_mem_debug;
12171 fi
12172
12173
12174 # Check whether --with-minimum was given.
12175 if test "${with_minimum+set}" = set; then :
12176   withval=$with_minimum;
12177 fi
12178
12179
12180 # Check whether --with-output was given.
12181 if test "${with_output+set}" = set; then :
12182   withval=$with_output;
12183 fi
12184
12185
12186 # Check whether --with-pattern was given.
12187 if test "${with_pattern+set}" = set; then :
12188   withval=$with_pattern;
12189 fi
12190
12191
12192 # Check whether --with-push was given.
12193 if test "${with_push+set}" = set; then :
12194   withval=$with_push;
12195 fi
12196
12197
12198 # Check whether --with-python was given.
12199 if test "${with_python+set}" = set; then :
12200   withval=$with_python;
12201 fi
12202
12203
12204 # Check whether --with-reader was given.
12205 if test "${with_reader+set}" = set; then :
12206   withval=$with_reader;
12207 fi
12208
12209
12210 # Check whether --with-readline was given.
12211 if test "${with_readline+set}" = set; then :
12212   withval=$with_readline;
12213   if test "$withval" != "no" -a "$withval" != "yes"; then
12214     RDL_DIR=$withval
12215     CPPFLAGS="${CPPFLAGS} -I$withval/include"
12216     LDFLAGS="${LDFLAGS} -L$withval/lib"
12217   fi
12218
12219 fi
12220
12221
12222 # Check whether --with-regexps was given.
12223 if test "${with_regexps+set}" = set; then :
12224   withval=$with_regexps;
12225 fi
12226
12227
12228 # Check whether --with-run_debug was given.
12229 if test "${with_run_debug+set}" = set; then :
12230   withval=$with_run_debug;
12231 fi
12232
12233
12234 # Check whether --with-sax1 was given.
12235 if test "${with_sax1+set}" = set; then :
12236   withval=$with_sax1;
12237 fi
12238
12239
12240 # Check whether --with-schemas was given.
12241 if test "${with_schemas+set}" = set; then :
12242   withval=$with_schemas;
12243 fi
12244
12245
12246 # Check whether --with-schematron was given.
12247 if test "${with_schematron+set}" = set; then :
12248   withval=$with_schematron;
12249 fi
12250
12251
12252 # Check whether --with-threads was given.
12253 if test "${with_threads+set}" = set; then :
12254   withval=$with_threads;
12255 fi
12256
12257
12258 # Check whether --with-thread-alloc was given.
12259 if test "${with_thread_alloc+set}" = set; then :
12260   withval=$with_thread_alloc;
12261 fi
12262
12263
12264 # Check whether --with-tree was given.
12265 if test "${with_tree+set}" = set; then :
12266   withval=$with_tree;
12267 fi
12268
12269
12270 # Check whether --with-valid was given.
12271 if test "${with_valid+set}" = set; then :
12272   withval=$with_valid;
12273 fi
12274
12275
12276 # Check whether --with-writer was given.
12277 if test "${with_writer+set}" = set; then :
12278   withval=$with_writer;
12279 fi
12280
12281
12282 # Check whether --with-xinclude was given.
12283 if test "${with_xinclude+set}" = set; then :
12284   withval=$with_xinclude;
12285 fi
12286
12287
12288 # Check whether --with-xpath was given.
12289 if test "${with_xpath+set}" = set; then :
12290   withval=$with_xpath;
12291 fi
12292
12293
12294 # Check whether --with-xptr was given.
12295 if test "${with_xptr+set}" = set; then :
12296   withval=$with_xptr;
12297 fi
12298
12299
12300 # Check whether --with-modules was given.
12301 if test "${with_modules+set}" = set; then :
12302   withval=$with_modules;
12303 fi
12304
12305
12306 # Check whether --with-zlib was given.
12307 if test "${with_zlib+set}" = set; then :
12308   withval=$with_zlib;
12309   if test "$withval" != "no" -a "$withval" != "yes"; then
12310     Z_DIR=$withval
12311     CPPFLAGS="${CPPFLAGS} -I$withval/include"
12312     LDFLAGS="${LDFLAGS} -L$withval/lib"
12313   fi
12314
12315 fi
12316
12317
12318 # Check whether --with-lzma was given.
12319 if test "${with_lzma+set}" = set; then :
12320   withval=$with_lzma;
12321   if test "$withval" != "no" -a "$withval" != "yes"; then
12322     LZMA_DIR=$withval
12323     CPPFLAGS="${CPPFLAGS} -I$withval/include"
12324     LDFLAGS="${LDFLAGS} -L$withval/lib"
12325   fi
12326
12327 fi
12328
12329
12330 # Check whether --with-coverage was given.
12331 if test "${with_coverage+set}" = set; then :
12332   withval=$with_coverage;
12333 fi
12334
12335
12336 # Check whether --enable-rebuild-docs was given.
12337 if test "${enable_rebuild_docs+set}" = set; then :
12338   enableval=$enable_rebuild_docs;
12339 fi
12340
12341  if test "$enable_rebuild_docs" = "no"; then
12342   REBUILD_DOCS_TRUE=
12343   REBUILD_DOCS_FALSE='#'
12344 else
12345   REBUILD_DOCS_TRUE='#'
12346   REBUILD_DOCS_FALSE=
12347 fi
12348
12349
12350 if test "$with_schemas" = "yes"
12351 then
12352     with_pattern=yes
12353     with_regexps=yes
12354 fi
12355 if test "$with_schematron" = "yes"
12356 then
12357     with_pattern=yes
12358     with_xpath=yes
12359 fi
12360 if test "$with_reader" = "yes"
12361 then
12362     with_push=yes
12363 fi
12364 if test "$with_xptr" = "yes"
12365 then
12366     with_xpath=yes
12367 fi
12368 if test "$with_minimum" = "yes"
12369 then
12370     echo "Configuring for a minimal library"
12371     if test "$with_c14n" = ""
12372     then
12373       with_c14n=no
12374     fi
12375     if test "$with_catalog" = ""
12376     then
12377       with_catalog=no
12378     fi
12379     echo So far so good!
12380     if test "$with_debug" = ""
12381     then
12382       with_debug=no
12383     fi
12384     if test "$with_docbook" = ""
12385     then
12386       with_docbook=no
12387     fi
12388     if test "$with_fexceptions" = ""
12389     then
12390       with_fexceptions=no
12391     fi
12392     if test "$with_ftp" = ""
12393     then
12394       with_ftp=no
12395     fi
12396     if test "$with_history" = ""
12397     then
12398       with_history=no
12399     fi
12400     if test "$with_html" = ""
12401     then
12402       with_html=no
12403     fi
12404     if test "$with_http" = ""
12405     then
12406       with_http=no
12407     fi
12408     if test "$with_iconv" = ""
12409     then
12410       with_iconv=no
12411     fi
12412     if test "$with_iso8859x" = ""
12413     then
12414       with_iso8859x=no
12415     fi
12416     if test "$with_legacy" = ""
12417     then
12418       with_legacy=no
12419     fi
12420     if test "$with_mem_debug" = ""
12421     then
12422       with_mem_debug=no
12423     fi
12424     if test "$with_output" = ""
12425     then
12426       with_output=no
12427     fi
12428     if test "$with_pattern" = ""
12429     then
12430       with_pattern=no
12431     fi
12432     if test "$with_push" = ""
12433     then
12434       with_push=no
12435     fi
12436     if test "$with_python" = ""
12437     then
12438       with_python=no
12439     fi
12440     if test "$with_reader" = ""
12441     then
12442       with_reader=no
12443     fi
12444     if test "$with_readline" = ""
12445     then
12446       with_readline=no
12447     fi
12448     if test "$with_regexps" = ""
12449     then
12450       with_regexps=no
12451     fi
12452     if test "$with_run_debug" = ""
12453     then
12454       with_run_debug=no
12455     fi
12456     if test "$with_sax1" = ""
12457     then
12458       with_sax1=no
12459     fi
12460     if test "$with_schemas" = ""
12461     then
12462       with_schemas=no
12463     fi
12464     if test "$with_schematron" = ""
12465     then
12466       with_schematron=no
12467     fi
12468     if test "$with_threads" = ""
12469     then
12470       with_threads=no
12471     fi
12472     if test "$with_thread_alloc" = ""
12473     then
12474       with_thread_alloc=no
12475    fi
12476     if test "$with_tree" = ""
12477     then
12478       with_tree=no
12479     fi
12480     if test "$with_valid" = ""
12481     then
12482       with_valid=no
12483     fi
12484     if test "$with_writer" = ""
12485     then
12486       with_writer=no
12487     fi
12488     if test "$with_xinclude" = ""
12489     then
12490       with_xinclude=no
12491     fi
12492     if test "$with_xpath" = ""
12493     then
12494       with_xpath=no
12495     fi
12496     if test "$with_xptr" = ""
12497     then
12498       with_xptr=no
12499     fi
12500     if test "$with_zlib" = ""
12501     then
12502       with_zlib=no
12503     fi
12504     if test "$with_modules" = ""
12505     then
12506       with_modules=no
12507     fi
12508 fi
12509
12510 echo Checking zlib
12511
12512
12513 WITH_ZLIB=0
12514 if test "$with_zlib" = "no"; then
12515     echo "Disabling compression support"
12516 else
12517     for ac_header in zlib.h
12518 do :
12519   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12520 if test "x$ac_cv_header_zlib_h" = xyes; then :
12521   cat >>confdefs.h <<_ACEOF
12522 #define HAVE_ZLIB_H 1
12523 _ACEOF
12524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
12525 $as_echo_n "checking for gzread in -lz... " >&6; }
12526 if ${ac_cv_lib_z_gzread+:} false; then :
12527   $as_echo_n "(cached) " >&6
12528 else
12529   ac_check_lib_save_LIBS=$LIBS
12530 LIBS="-lz  $LIBS"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h.  */
12533
12534 /* Override any GCC internal prototype to avoid an error.
12535    Use char because int might match the return type of a GCC
12536    builtin and then its argument prototype would still apply.  */
12537 #ifdef __cplusplus
12538 extern "C"
12539 #endif
12540 char gzread ();
12541 int
12542 main ()
12543 {
12544 return gzread ();
12545   ;
12546   return 0;
12547 }
12548 _ACEOF
12549 if ac_fn_c_try_link "$LINENO"; then :
12550   ac_cv_lib_z_gzread=yes
12551 else
12552   ac_cv_lib_z_gzread=no
12553 fi
12554 rm -f core conftest.err conftest.$ac_objext \
12555     conftest$ac_exeext conftest.$ac_ext
12556 LIBS=$ac_check_lib_save_LIBS
12557 fi
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
12559 $as_echo "$ac_cv_lib_z_gzread" >&6; }
12560 if test "x$ac_cv_lib_z_gzread" = xyes; then :
12561
12562
12563 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12564
12565             WITH_ZLIB=1
12566             if test "x${Z_DIR}" != "x"; then
12567                 Z_CFLAGS="-I${Z_DIR}/include"
12568                 Z_LIBS="-L${Z_DIR}/lib -lz"
12569                 case ${host} in
12570                     *-*-solaris*)
12571                         Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
12572                         ;;
12573                 esac
12574             else
12575                 Z_LIBS="-lz"
12576             fi
12577 fi
12578
12579 fi
12580
12581 done
12582
12583 fi
12584
12585
12586
12587
12588
12589 echo Checking lzma
12590
12591
12592 WITH_LZMA=0
12593 if test "$with_lzma" = "no"; then
12594     echo "Disabling compression support"
12595 else
12596     for ac_header in lzma.h
12597 do :
12598   ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
12599 if test "x$ac_cv_header_lzma_h" = xyes; then :
12600   cat >>confdefs.h <<_ACEOF
12601 #define HAVE_LZMA_H 1
12602 _ACEOF
12603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
12604 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
12605 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
12606   $as_echo_n "(cached) " >&6
12607 else
12608   ac_check_lib_save_LIBS=$LIBS
12609 LIBS="-llzma  $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h.  */
12612
12613 /* Override any GCC internal prototype to avoid an error.
12614    Use char because int might match the return type of a GCC
12615    builtin and then its argument prototype would still apply.  */
12616 #ifdef __cplusplus
12617 extern "C"
12618 #endif
12619 char lzma_code ();
12620 int
12621 main ()
12622 {
12623 return lzma_code ();
12624   ;
12625   return 0;
12626 }
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629   ac_cv_lib_lzma_lzma_code=yes
12630 else
12631   ac_cv_lib_lzma_lzma_code=no
12632 fi
12633 rm -f core conftest.err conftest.$ac_objext \
12634     conftest$ac_exeext conftest.$ac_ext
12635 LIBS=$ac_check_lib_save_LIBS
12636 fi
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
12638 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
12639 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
12640
12641
12642 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
12643
12644             WITH_LZMA=1
12645             if test "x${LZMA_DIR}" != "x"; then
12646                 LZMA_CFLAGS="-I${LZMA_DIR}/include"
12647                 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma"
12648             else
12649                 LZMA_LIBS="-llzma"
12650             fi
12651 fi
12652
12653 fi
12654
12655 done
12656
12657 fi
12658
12659
12660
12661
12662
12663 CPPFLAGS=${_cppflags}
12664 LDFLAGS=${_ldflags}
12665
12666 echo Checking headers
12667
12668 ac_header_dirent=no
12669 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12670   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12672 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12673 if eval \${$as_ac_Header+:} false; then :
12674   $as_echo_n "(cached) " >&6
12675 else
12676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h.  */
12678 #include <sys/types.h>
12679 #include <$ac_hdr>
12680
12681 int
12682 main ()
12683 {
12684 if ((DIR *) 0)
12685 return 0;
12686   ;
12687   return 0;
12688 }
12689 _ACEOF
12690 if ac_fn_c_try_compile "$LINENO"; then :
12691   eval "$as_ac_Header=yes"
12692 else
12693   eval "$as_ac_Header=no"
12694 fi
12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12696 fi
12697 eval ac_res=\$$as_ac_Header
12698                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12699 $as_echo "$ac_res" >&6; }
12700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12701   cat >>confdefs.h <<_ACEOF
12702 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12703 _ACEOF
12704
12705 ac_header_dirent=$ac_hdr; break
12706 fi
12707
12708 done
12709 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12710 if test $ac_header_dirent = dirent.h; then
12711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12712 $as_echo_n "checking for library containing opendir... " >&6; }
12713 if ${ac_cv_search_opendir+:} false; then :
12714   $as_echo_n "(cached) " >&6
12715 else
12716   ac_func_search_save_LIBS=$LIBS
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h.  */
12719
12720 /* Override any GCC internal prototype to avoid an error.
12721    Use char because int might match the return type of a GCC
12722    builtin and then its argument prototype would still apply.  */
12723 #ifdef __cplusplus
12724 extern "C"
12725 #endif
12726 char opendir ();
12727 int
12728 main ()
12729 {
12730 return opendir ();
12731   ;
12732   return 0;
12733 }
12734 _ACEOF
12735 for ac_lib in '' dir; do
12736   if test -z "$ac_lib"; then
12737     ac_res="none required"
12738   else
12739     ac_res=-l$ac_lib
12740     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12741   fi
12742   if ac_fn_c_try_link "$LINENO"; then :
12743   ac_cv_search_opendir=$ac_res
12744 fi
12745 rm -f core conftest.err conftest.$ac_objext \
12746     conftest$ac_exeext
12747   if ${ac_cv_search_opendir+:} false; then :
12748   break
12749 fi
12750 done
12751 if ${ac_cv_search_opendir+:} false; then :
12752
12753 else
12754   ac_cv_search_opendir=no
12755 fi
12756 rm conftest.$ac_ext
12757 LIBS=$ac_func_search_save_LIBS
12758 fi
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12760 $as_echo "$ac_cv_search_opendir" >&6; }
12761 ac_res=$ac_cv_search_opendir
12762 if test "$ac_res" != no; then :
12763   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12764
12765 fi
12766
12767 else
12768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12769 $as_echo_n "checking for library containing opendir... " >&6; }
12770 if ${ac_cv_search_opendir+:} false; then :
12771   $as_echo_n "(cached) " >&6
12772 else
12773   ac_func_search_save_LIBS=$LIBS
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h.  */
12776
12777 /* Override any GCC internal prototype to avoid an error.
12778    Use char because int might match the return type of a GCC
12779    builtin and then its argument prototype would still apply.  */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char opendir ();
12784 int
12785 main ()
12786 {
12787 return opendir ();
12788   ;
12789   return 0;
12790 }
12791 _ACEOF
12792 for ac_lib in '' x; do
12793   if test -z "$ac_lib"; then
12794     ac_res="none required"
12795   else
12796     ac_res=-l$ac_lib
12797     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12798   fi
12799   if ac_fn_c_try_link "$LINENO"; then :
12800   ac_cv_search_opendir=$ac_res
12801 fi
12802 rm -f core conftest.err conftest.$ac_objext \
12803     conftest$ac_exeext
12804   if ${ac_cv_search_opendir+:} false; then :
12805   break
12806 fi
12807 done
12808 if ${ac_cv_search_opendir+:} false; then :
12809
12810 else
12811   ac_cv_search_opendir=no
12812 fi
12813 rm conftest.$ac_ext
12814 LIBS=$ac_func_search_save_LIBS
12815 fi
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12817 $as_echo "$ac_cv_search_opendir" >&6; }
12818 ac_res=$ac_cv_search_opendir
12819 if test "$ac_res" != no; then :
12820   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12821
12822 fi
12823
12824 fi
12825
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12827 $as_echo_n "checking for ANSI C header files... " >&6; }
12828 if ${ac_cv_header_stdc+:} false; then :
12829   $as_echo_n "(cached) " >&6
12830 else
12831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h.  */
12833 #include <stdlib.h>
12834 #include <stdarg.h>
12835 #include <string.h>
12836 #include <float.h>
12837
12838 int
12839 main ()
12840 {
12841
12842   ;
12843   return 0;
12844 }
12845 _ACEOF
12846 if ac_fn_c_try_compile "$LINENO"; then :
12847   ac_cv_header_stdc=yes
12848 else
12849   ac_cv_header_stdc=no
12850 fi
12851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12852
12853 if test $ac_cv_header_stdc = yes; then
12854   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h.  */
12857 #include <string.h>
12858
12859 _ACEOF
12860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12861   $EGREP "memchr" >/dev/null 2>&1; then :
12862
12863 else
12864   ac_cv_header_stdc=no
12865 fi
12866 rm -f conftest*
12867
12868 fi
12869
12870 if test $ac_cv_header_stdc = yes; then
12871   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h.  */
12874 #include <stdlib.h>
12875
12876 _ACEOF
12877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12878   $EGREP "free" >/dev/null 2>&1; then :
12879
12880 else
12881   ac_cv_header_stdc=no
12882 fi
12883 rm -f conftest*
12884
12885 fi
12886
12887 if test $ac_cv_header_stdc = yes; then
12888   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12889   if test "$cross_compiling" = yes; then :
12890   :
12891 else
12892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h.  */
12894 #include <ctype.h>
12895 #include <stdlib.h>
12896 #if ((' ' & 0x0FF) == 0x020)
12897 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12898 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12899 #else
12900 # define ISLOWER(c) \
12901                    (('a' <= (c) && (c) <= 'i') \
12902                      || ('j' <= (c) && (c) <= 'r') \
12903                      || ('s' <= (c) && (c) <= 'z'))
12904 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12905 #endif
12906
12907 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12908 int
12909 main ()
12910 {
12911   int i;
12912   for (i = 0; i < 256; i++)
12913     if (XOR (islower (i), ISLOWER (i))
12914         || toupper (i) != TOUPPER (i))
12915       return 2;
12916   return 0;
12917 }
12918 _ACEOF
12919 if ac_fn_c_try_run "$LINENO"; then :
12920
12921 else
12922   ac_cv_header_stdc=no
12923 fi
12924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12925   conftest.$ac_objext conftest.beam conftest.$ac_ext
12926 fi
12927
12928 fi
12929 fi
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12931 $as_echo "$ac_cv_header_stdc" >&6; }
12932 if test $ac_cv_header_stdc = yes; then
12933
12934 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12935
12936 fi
12937
12938 for ac_header in fcntl.h
12939 do :
12940   ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
12941 if test "x$ac_cv_header_fcntl_h" = xyes; then :
12942   cat >>confdefs.h <<_ACEOF
12943 #define HAVE_FCNTL_H 1
12944 _ACEOF
12945
12946 fi
12947
12948 done
12949
12950 for ac_header in unistd.h
12951 do :
12952   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12953 if test "x$ac_cv_header_unistd_h" = xyes; then :
12954   cat >>confdefs.h <<_ACEOF
12955 #define HAVE_UNISTD_H 1
12956 _ACEOF
12957
12958 fi
12959
12960 done
12961
12962 for ac_header in ctype.h
12963 do :
12964   ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
12965 if test "x$ac_cv_header_ctype_h" = xyes; then :
12966   cat >>confdefs.h <<_ACEOF
12967 #define HAVE_CTYPE_H 1
12968 _ACEOF
12969
12970 fi
12971
12972 done
12973
12974 for ac_header in dirent.h
12975 do :
12976   ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
12977 if test "x$ac_cv_header_dirent_h" = xyes; then :
12978   cat >>confdefs.h <<_ACEOF
12979 #define HAVE_DIRENT_H 1
12980 _ACEOF
12981
12982 fi
12983
12984 done
12985
12986 for ac_header in errno.h
12987 do :
12988   ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
12989 if test "x$ac_cv_header_errno_h" = xyes; then :
12990   cat >>confdefs.h <<_ACEOF
12991 #define HAVE_ERRNO_H 1
12992 _ACEOF
12993
12994 fi
12995
12996 done
12997
12998 for ac_header in malloc.h
12999 do :
13000   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
13001 if test "x$ac_cv_header_malloc_h" = xyes; then :
13002   cat >>confdefs.h <<_ACEOF
13003 #define HAVE_MALLOC_H 1
13004 _ACEOF
13005
13006 fi
13007
13008 done
13009
13010 for ac_header in stdarg.h
13011 do :
13012   ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
13013 if test "x$ac_cv_header_stdarg_h" = xyes; then :
13014   cat >>confdefs.h <<_ACEOF
13015 #define HAVE_STDARG_H 1
13016 _ACEOF
13017
13018 fi
13019
13020 done
13021
13022 for ac_header in sys/stat.h
13023 do :
13024   ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
13025 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
13026   cat >>confdefs.h <<_ACEOF
13027 #define HAVE_SYS_STAT_H 1
13028 _ACEOF
13029
13030 fi
13031
13032 done
13033
13034 for ac_header in sys/types.h
13035 do :
13036   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
13037 if test "x$ac_cv_header_sys_types_h" = xyes; then :
13038   cat >>confdefs.h <<_ACEOF
13039 #define HAVE_SYS_TYPES_H 1
13040 _ACEOF
13041
13042 fi
13043
13044 done
13045
13046 for ac_header in stdint.h
13047 do :
13048   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
13049 if test "x$ac_cv_header_stdint_h" = xyes; then :
13050   cat >>confdefs.h <<_ACEOF
13051 #define HAVE_STDINT_H 1
13052 _ACEOF
13053
13054 fi
13055
13056 done
13057
13058 for ac_header in inttypes.h
13059 do :
13060   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
13061 if test "x$ac_cv_header_inttypes_h" = xyes; then :
13062   cat >>confdefs.h <<_ACEOF
13063 #define HAVE_INTTYPES_H 1
13064 _ACEOF
13065
13066 fi
13067
13068 done
13069
13070 for ac_header in time.h
13071 do :
13072   ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
13073 if test "x$ac_cv_header_time_h" = xyes; then :
13074   cat >>confdefs.h <<_ACEOF
13075 #define HAVE_TIME_H 1
13076 _ACEOF
13077
13078 fi
13079
13080 done
13081
13082 for ac_header in ansidecl.h
13083 do :
13084   ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
13085 if test "x$ac_cv_header_ansidecl_h" = xyes; then :
13086   cat >>confdefs.h <<_ACEOF
13087 #define HAVE_ANSIDECL_H 1
13088 _ACEOF
13089
13090 fi
13091
13092 done
13093
13094 for ac_header in ieeefp.h
13095 do :
13096   ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
13097 if test "x$ac_cv_header_ieeefp_h" = xyes; then :
13098   cat >>confdefs.h <<_ACEOF
13099 #define HAVE_IEEEFP_H 1
13100 _ACEOF
13101
13102 fi
13103
13104 done
13105
13106 for ac_header in nan.h
13107 do :
13108   ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
13109 if test "x$ac_cv_header_nan_h" = xyes; then :
13110   cat >>confdefs.h <<_ACEOF
13111 #define HAVE_NAN_H 1
13112 _ACEOF
13113
13114 fi
13115
13116 done
13117
13118 for ac_header in math.h
13119 do :
13120   ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
13121 if test "x$ac_cv_header_math_h" = xyes; then :
13122   cat >>confdefs.h <<_ACEOF
13123 #define HAVE_MATH_H 1
13124 _ACEOF
13125
13126 fi
13127
13128 done
13129
13130 for ac_header in limits.h
13131 do :
13132   ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
13133 if test "x$ac_cv_header_limits_h" = xyes; then :
13134   cat >>confdefs.h <<_ACEOF
13135 #define HAVE_LIMITS_H 1
13136 _ACEOF
13137
13138 fi
13139
13140 done
13141
13142 for ac_header in fp_class.h
13143 do :
13144   ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
13145 if test "x$ac_cv_header_fp_class_h" = xyes; then :
13146   cat >>confdefs.h <<_ACEOF
13147 #define HAVE_FP_CLASS_H 1
13148 _ACEOF
13149
13150 fi
13151
13152 done
13153
13154 for ac_header in float.h
13155 do :
13156   ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
13157 if test "x$ac_cv_header_float_h" = xyes; then :
13158   cat >>confdefs.h <<_ACEOF
13159 #define HAVE_FLOAT_H 1
13160 _ACEOF
13161
13162 fi
13163
13164 done
13165
13166 for ac_header in stdlib.h
13167 do :
13168   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13169 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13170   cat >>confdefs.h <<_ACEOF
13171 #define HAVE_STDLIB_H 1
13172 _ACEOF
13173
13174 fi
13175
13176 done
13177
13178 for ac_header in sys/socket.h
13179 do :
13180   ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
13181 # include <sys/types.h>
13182 # endif
13183
13184 "
13185 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
13186   cat >>confdefs.h <<_ACEOF
13187 #define HAVE_SYS_SOCKET_H 1
13188 _ACEOF
13189
13190 fi
13191
13192 done
13193
13194 for ac_header in netinet/in.h
13195 do :
13196   ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
13197 # include <sys/types.h>
13198 # endif
13199
13200 "
13201 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13202   cat >>confdefs.h <<_ACEOF
13203 #define HAVE_NETINET_IN_H 1
13204 _ACEOF
13205
13206 fi
13207
13208 done
13209
13210 for ac_header in arpa/inet.h
13211 do :
13212   ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
13213 # include <sys/types.h>
13214 # endif
13215 #if HAVE_ARPA_INET_H
13216 # include <arpa/inet.h>
13217 # endif
13218
13219 "
13220 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
13221   cat >>confdefs.h <<_ACEOF
13222 #define HAVE_ARPA_INET_H 1
13223 _ACEOF
13224
13225 fi
13226
13227 done
13228
13229 for ac_header in netdb.h
13230 do :
13231   ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
13232 if test "x$ac_cv_header_netdb_h" = xyes; then :
13233   cat >>confdefs.h <<_ACEOF
13234 #define HAVE_NETDB_H 1
13235 _ACEOF
13236
13237 fi
13238
13239 done
13240
13241 for ac_header in sys/time.h
13242 do :
13243   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13244 if test "x$ac_cv_header_sys_time_h" = xyes; then :
13245   cat >>confdefs.h <<_ACEOF
13246 #define HAVE_SYS_TIME_H 1
13247 _ACEOF
13248
13249 fi
13250
13251 done
13252
13253 for ac_header in sys/select.h
13254 do :
13255   ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
13256 if test "x$ac_cv_header_sys_select_h" = xyes; then :
13257   cat >>confdefs.h <<_ACEOF
13258 #define HAVE_SYS_SELECT_H 1
13259 _ACEOF
13260
13261 fi
13262
13263 done
13264
13265 for ac_header in poll.h
13266 do :
13267   ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
13268 if test "x$ac_cv_header_poll_h" = xyes; then :
13269   cat >>confdefs.h <<_ACEOF
13270 #define HAVE_POLL_H 1
13271 _ACEOF
13272
13273 fi
13274
13275 done
13276
13277 for ac_header in sys/mman.h
13278 do :
13279   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13280 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
13281   cat >>confdefs.h <<_ACEOF
13282 #define HAVE_SYS_MMAN_H 1
13283 _ACEOF
13284
13285 fi
13286
13287 done
13288
13289 for ac_header in sys/timeb.h
13290 do :
13291   ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
13292 if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
13293   cat >>confdefs.h <<_ACEOF
13294 #define HAVE_SYS_TIMEB_H 1
13295 _ACEOF
13296
13297 fi
13298
13299 done
13300
13301 for ac_header in signal.h
13302 do :
13303   ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
13304 if test "x$ac_cv_header_signal_h" = xyes; then :
13305   cat >>confdefs.h <<_ACEOF
13306 #define HAVE_SIGNAL_H 1
13307 _ACEOF
13308
13309 fi
13310
13311 done
13312
13313 for ac_header in arpa/nameser.h
13314 do :
13315   ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
13316 # include <sys/types.h>
13317 # endif
13318
13319 "
13320 if test "x$ac_cv_header_arpa_nameser_h" = xyes; then :
13321   cat >>confdefs.h <<_ACEOF
13322 #define HAVE_ARPA_NAMESER_H 1
13323 _ACEOF
13324
13325 fi
13326
13327 done
13328
13329 for ac_header in resolv.h
13330 do :
13331   ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
13332 # include <sys/types.h>
13333 # endif
13334 #if HAVE_NETINET_IN_H
13335 # include <netinet/in.h>
13336 # endif
13337 #if HAVE_ARPA_NAMESER_H
13338 # include <arpa/nameser.h>
13339 # endif
13340
13341 "
13342 if test "x$ac_cv_header_resolv_h" = xyes; then :
13343   cat >>confdefs.h <<_ACEOF
13344 #define HAVE_RESOLV_H 1
13345 _ACEOF
13346
13347 fi
13348
13349 done
13350
13351 for ac_header in dl.h
13352 do :
13353   ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
13354 if test "x$ac_cv_header_dl_h" = xyes; then :
13355   cat >>confdefs.h <<_ACEOF
13356 #define HAVE_DL_H 1
13357 _ACEOF
13358
13359 fi
13360
13361 done
13362
13363 for ac_header in dlfcn.h
13364 do :
13365   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
13366 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
13367   cat >>confdefs.h <<_ACEOF
13368 #define HAVE_DLFCN_H 1
13369 _ACEOF
13370
13371 fi
13372
13373 done
13374
13375
13376
13377 echo Checking libraries
13378
13379 for ac_func in strftime
13380 do :
13381   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
13382 if test "x$ac_cv_func_strftime" = xyes; then :
13383   cat >>confdefs.h <<_ACEOF
13384 #define HAVE_STRFTIME 1
13385 _ACEOF
13386
13387 else
13388   # strftime is in -lintl on SCO UNIX.
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
13390 $as_echo_n "checking for strftime in -lintl... " >&6; }
13391 if ${ac_cv_lib_intl_strftime+:} false; then :
13392   $as_echo_n "(cached) " >&6
13393 else
13394   ac_check_lib_save_LIBS=$LIBS
13395 LIBS="-lintl  $LIBS"
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h.  */
13398
13399 /* Override any GCC internal prototype to avoid an error.
13400    Use char because int might match the return type of a GCC
13401    builtin and then its argument prototype would still apply.  */
13402 #ifdef __cplusplus
13403 extern "C"
13404 #endif
13405 char strftime ();
13406 int
13407 main ()
13408 {
13409 return strftime ();
13410   ;
13411   return 0;
13412 }
13413 _ACEOF
13414 if ac_fn_c_try_link "$LINENO"; then :
13415   ac_cv_lib_intl_strftime=yes
13416 else
13417   ac_cv_lib_intl_strftime=no
13418 fi
13419 rm -f core conftest.err conftest.$ac_objext \
13420     conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_lib_save_LIBS
13422 fi
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
13424 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
13425 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
13426   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
13427
13428 LIBS="-lintl $LIBS"
13429 fi
13430
13431 fi
13432 done
13433
13434 for ac_func in strdup strndup strerror
13435 do :
13436   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13439   cat >>confdefs.h <<_ACEOF
13440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13441 _ACEOF
13442
13443 fi
13444 done
13445
13446 for ac_func in finite isnand fp_class class fpclass
13447 do :
13448   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13450 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13451   cat >>confdefs.h <<_ACEOF
13452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13453 _ACEOF
13454
13455 fi
13456 done
13457
13458 for ac_func in strftime localtime gettimeofday ftime
13459 do :
13460   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13463   cat >>confdefs.h <<_ACEOF
13464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13465 _ACEOF
13466
13467 fi
13468 done
13469
13470 for ac_func in stat _stat signal
13471 do :
13472   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13474 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13475   cat >>confdefs.h <<_ACEOF
13476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13477 _ACEOF
13478
13479 fi
13480 done
13481
13482 for ac_func in rand rand_r srand time
13483 do :
13484   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13487   cat >>confdefs.h <<_ACEOF
13488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13489 _ACEOF
13490
13491 fi
13492 done
13493
13494
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
13496 $as_echo_n "checking for va_copy... " >&6; }
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h.  */
13499 #include <stdarg.h>
13500 va_list ap1,ap2;
13501 int
13502 main ()
13503 {
13504 va_copy(ap1,ap2);
13505   ;
13506   return 0;
13507 }
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510   have_va_copy=yes
13511 else
13512   have_va_copy=no
13513 fi
13514 rm -f core conftest.err conftest.$ac_objext \
13515     conftest$ac_exeext conftest.$ac_ext
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
13517 $as_echo "$have_va_copy" >&6; }
13518 if test x"$have_va_copy" = x"yes"; then
13519
13520 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
13521
13522 else
13523     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
13524 $as_echo_n "checking for __va_copy... " >&6; }
13525     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h.  */
13527 #include <stdarg.h>
13528     va_list ap1,ap2;
13529 int
13530 main ()
13531 {
13532 __va_copy(ap1,ap2);
13533   ;
13534   return 0;
13535 }
13536 _ACEOF
13537 if ac_fn_c_try_link "$LINENO"; then :
13538   have___va_copy=yes
13539 else
13540   have___va_copy=no
13541 fi
13542 rm -f core conftest.err conftest.$ac_objext \
13543     conftest$ac_exeext conftest.$ac_ext
13544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
13545 $as_echo "$have___va_copy" >&6; }
13546     if test x"$have___va_copy" = x"yes"; then
13547
13548 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
13549
13550     fi
13551 fi
13552
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
13554 $as_echo_n "checking for library containing gethostent... " >&6; }
13555 if ${ac_cv_search_gethostent+:} false; then :
13556   $as_echo_n "(cached) " >&6
13557 else
13558   ac_func_search_save_LIBS=$LIBS
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h.  */
13561
13562 /* Override any GCC internal prototype to avoid an error.
13563    Use char because int might match the return type of a GCC
13564    builtin and then its argument prototype would still apply.  */
13565 #ifdef __cplusplus
13566 extern "C"
13567 #endif
13568 char gethostent ();
13569 int
13570 main ()
13571 {
13572 return gethostent ();
13573   ;
13574   return 0;
13575 }
13576 _ACEOF
13577 for ac_lib in '' nsl; do
13578   if test -z "$ac_lib"; then
13579     ac_res="none required"
13580   else
13581     ac_res=-l$ac_lib
13582     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13583   fi
13584   if ac_fn_c_try_link "$LINENO"; then :
13585   ac_cv_search_gethostent=$ac_res
13586 fi
13587 rm -f core conftest.err conftest.$ac_objext \
13588     conftest$ac_exeext
13589   if ${ac_cv_search_gethostent+:} false; then :
13590   break
13591 fi
13592 done
13593 if ${ac_cv_search_gethostent+:} false; then :
13594
13595 else
13596   ac_cv_search_gethostent=no
13597 fi
13598 rm conftest.$ac_ext
13599 LIBS=$ac_func_search_save_LIBS
13600 fi
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
13602 $as_echo "$ac_cv_search_gethostent" >&6; }
13603 ac_res=$ac_cv_search_gethostent
13604 if test "$ac_res" != no; then :
13605   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13606
13607 fi
13608
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
13610 $as_echo_n "checking for library containing setsockopt... " >&6; }
13611 if ${ac_cv_search_setsockopt+:} false; then :
13612   $as_echo_n "(cached) " >&6
13613 else
13614   ac_func_search_save_LIBS=$LIBS
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h.  */
13617
13618 /* Override any GCC internal prototype to avoid an error.
13619    Use char because int might match the return type of a GCC
13620    builtin and then its argument prototype would still apply.  */
13621 #ifdef __cplusplus
13622 extern "C"
13623 #endif
13624 char setsockopt ();
13625 int
13626 main ()
13627 {
13628 return setsockopt ();
13629   ;
13630   return 0;
13631 }
13632 _ACEOF
13633 for ac_lib in '' socket net network; do
13634   if test -z "$ac_lib"; then
13635     ac_res="none required"
13636   else
13637     ac_res=-l$ac_lib
13638     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13639   fi
13640   if ac_fn_c_try_link "$LINENO"; then :
13641   ac_cv_search_setsockopt=$ac_res
13642 fi
13643 rm -f core conftest.err conftest.$ac_objext \
13644     conftest$ac_exeext
13645   if ${ac_cv_search_setsockopt+:} false; then :
13646   break
13647 fi
13648 done
13649 if ${ac_cv_search_setsockopt+:} false; then :
13650
13651 else
13652   ac_cv_search_setsockopt=no
13653 fi
13654 rm conftest.$ac_ext
13655 LIBS=$ac_func_search_save_LIBS
13656 fi
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
13658 $as_echo "$ac_cv_search_setsockopt" >&6; }
13659 ac_res=$ac_cv_search_setsockopt
13660 if test "$ac_res" != no; then :
13661   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13662
13663 fi
13664
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13666 $as_echo_n "checking for library containing connect... " >&6; }
13667 if ${ac_cv_search_connect+:} false; then :
13668   $as_echo_n "(cached) " >&6
13669 else
13670   ac_func_search_save_LIBS=$LIBS
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h.  */
13673
13674 /* Override any GCC internal prototype to avoid an error.
13675    Use char because int might match the return type of a GCC
13676    builtin and then its argument prototype would still apply.  */
13677 #ifdef __cplusplus
13678 extern "C"
13679 #endif
13680 char connect ();
13681 int
13682 main ()
13683 {
13684 return connect ();
13685   ;
13686   return 0;
13687 }
13688 _ACEOF
13689 for ac_lib in '' inet; do
13690   if test -z "$ac_lib"; then
13691     ac_res="none required"
13692   else
13693     ac_res=-l$ac_lib
13694     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13695   fi
13696   if ac_fn_c_try_link "$LINENO"; then :
13697   ac_cv_search_connect=$ac_res
13698 fi
13699 rm -f core conftest.err conftest.$ac_objext \
13700     conftest$ac_exeext
13701   if ${ac_cv_search_connect+:} false; then :
13702   break
13703 fi
13704 done
13705 if ${ac_cv_search_connect+:} false; then :
13706
13707 else
13708   ac_cv_search_connect=no
13709 fi
13710 rm conftest.$ac_ext
13711 LIBS=$ac_func_search_save_LIBS
13712 fi
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13714 $as_echo "$ac_cv_search_connect" >&6; }
13715 ac_res=$ac_cv_search_connect
13716 if test "$ac_res" != no; then :
13717   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13718
13719 fi
13720
13721
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
13723 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
13724 cat > conftest.$ac_ext <<EOF
13725 #line 13725 "configure"
13726 #include "confdefs.h"
13727
13728 #include <stddef.h>
13729 #include <sys/types.h>
13730 #include <sys/socket.h>
13731 int main(void) {
13732
13733 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
13734 ; return 0; }
13735 EOF
13736 if { (eval echo configure:13736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13737   rm -rf conftest*
13738
13739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
13740 $as_echo "socklen_t *" >&6; }
13741   XML_SOCKLEN_T=socklen_t
13742 else
13743   echo "configure: failed program was:" >&5
13744   cat conftest.$ac_ext >&5
13745   rm -rf conftest*
13746
13747   cat > conftest.$ac_ext <<EOF
13748 #line 13748 "configure"
13749 #include "confdefs.h"
13750
13751 #include <stddef.h>
13752 #include <sys/types.h>
13753 #include <sys/socket.h>
13754 int main(void) {
13755
13756 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
13757 ; return 0; }
13758 EOF
13759 if { (eval echo configure:13759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13760   rm -rf conftest*
13761
13762     { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
13763 $as_echo "size_t *" >&6; }
13764     XML_SOCKLEN_T=size_t
13765 else
13766   echo "configure: failed program was:" >&5
13767   cat conftest.$ac_ext >&5
13768   rm -rf conftest*
13769
13770     cat > conftest.$ac_ext <<EOF
13771 #line 13771 "configure"
13772 #include "confdefs.h"
13773
13774 #include <stddef.h>
13775 #include <sys/types.h>
13776 #include <sys/socket.h>
13777 int main(void) {
13778
13779 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
13780 ; return 0; }
13781 EOF
13782 if { (eval echo configure:13782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13783   rm -rf conftest*
13784
13785       { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
13786 $as_echo "int *" >&6; }
13787       XML_SOCKLEN_T=int
13788 else
13789   echo "configure: failed program was:" >&5
13790   cat conftest.$ac_ext >&5
13791   rm -rf conftest*
13792
13793       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
13794 $as_echo "$as_me: WARNING: could not determine" >&2;}
13795       XML_SOCKLEN_T="int"
13796 fi
13797 rm -f conftest*
13798 fi
13799 rm -f conftest*
13800 fi
13801 rm -f conftest*
13802
13803 cat >>confdefs.h <<_ACEOF
13804 #define XML_SOCKLEN_T $XML_SOCKLEN_T
13805 _ACEOF
13806
13807
13808
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
13810 $as_echo_n "checking whether to enable IPv6... " >&6; }
13811 # Check whether --enable-ipv6 was given.
13812 if test "${enable_ipv6+set}" = set; then :
13813   enableval=$enable_ipv6;
13814 else
13815   enable_ipv6=yes
13816 fi
13817
13818 if test "$with_minimum" = "yes"
13819 then
13820     enable_ipv6=no
13821 fi
13822 if test $enable_ipv6 = yes; then
13823   have_ipv6=no
13824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h.  */
13826
13827     #include <sys/types.h>
13828     #include <sys/socket.h>
13829
13830 int
13831 main ()
13832 {
13833
13834     struct sockaddr_storage ss;
13835     socket(AF_INET6, SOCK_STREAM, 0)
13836
13837   ;
13838   return 0;
13839 }
13840 _ACEOF
13841 if ac_fn_c_try_compile "$LINENO"; then :
13842   have_ipv6=yes
13843 else
13844   have_ipv6=no
13845
13846 fi
13847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
13849 $as_echo "$have_ipv6" >&6; }
13850
13851   if test $have_ipv6 = yes; then
13852
13853 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
13854
13855     have_broken_ss_family=no
13856
13857                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
13858 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
13859     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h.  */
13861
13862       #include <sys/types.h>
13863       #include <sys/socket.h>
13864
13865 int
13866 main ()
13867 {
13868
13869       struct sockaddr_storage ss ;
13870       ss.ss_family = 0 ;
13871
13872   ;
13873   return 0;
13874 }
13875 _ACEOF
13876 if ac_fn_c_try_compile "$LINENO"; then :
13877   have_ss_family=yes
13878 else
13879   have_ss_family=no
13880
13881 fi
13882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13883     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
13884 $as_echo "$have_ss_family" >&6; }
13885     if test x$have_ss_family = xno ; then
13886       { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
13887 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
13888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h.  */
13890
13891         #include <sys/types.h>
13892         #include <sys/socket.h>
13893
13894 int
13895 main ()
13896 {
13897
13898         struct sockaddr_storage ss ;
13899         ss.__ss_family = 0 ;
13900
13901   ;
13902   return 0;
13903 }
13904 _ACEOF
13905 if ac_fn_c_try_compile "$LINENO"; then :
13906   have_broken_ss_family=yes
13907 else
13908   have_broken_ss_family=no
13909
13910 fi
13911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
13913 $as_echo "$have_broken_ss_family" >&6; }
13914       if test x$have_broken_ss_family = xyes ; then
13915
13916 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
13917
13918
13919 $as_echo "#define ss_family __ss_family" >>confdefs.h
13920
13921       else
13922         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
13923 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
13924       fi
13925     fi
13926
13927     have_getaddrinfo=no
13928     ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13929 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13930   have_getaddrinfo=yes
13931 fi
13932
13933     if test $have_getaddrinfo != yes; then
13934       for lib in bsd socket inet; do
13935         as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
13937 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
13938 if eval \${$as_ac_Lib+:} false; then :
13939   $as_echo_n "(cached) " >&6
13940 else
13941   ac_check_lib_save_LIBS=$LIBS
13942 LIBS="-l$lib  $LIBS"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h.  */
13945
13946 /* Override any GCC internal prototype to avoid an error.
13947    Use char because int might match the return type of a GCC
13948    builtin and then its argument prototype would still apply.  */
13949 #ifdef __cplusplus
13950 extern "C"
13951 #endif
13952 char getaddrinfo ();
13953 int
13954 main ()
13955 {
13956 return getaddrinfo ();
13957   ;
13958   return 0;
13959 }
13960 _ACEOF
13961 if ac_fn_c_try_link "$LINENO"; then :
13962   eval "$as_ac_Lib=yes"
13963 else
13964   eval "$as_ac_Lib=no"
13965 fi
13966 rm -f core conftest.err conftest.$ac_objext \
13967     conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13969 fi
13970 eval ac_res=\$$as_ac_Lib
13971                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13972 $as_echo "$ac_res" >&6; }
13973 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
13974   LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
13975 fi
13976
13977       done
13978     fi
13979
13980     if test $have_getaddrinfo = yes; then
13981
13982 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
13983
13984     fi
13985   fi
13986 fi
13987
13988
13989 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
13990 if test "x$ac_cv_func_isnan" = xyes; then :
13991
13992 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13993
13994 else
13995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
13996 $as_echo_n "checking for isnan in -lm... " >&6; }
13997 if ${ac_cv_lib_m_isnan+:} false; then :
13998   $as_echo_n "(cached) " >&6
13999 else
14000   ac_check_lib_save_LIBS=$LIBS
14001 LIBS="-lm  $LIBS"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h.  */
14004
14005 /* Override any GCC internal prototype to avoid an error.
14006    Use char because int might match the return type of a GCC
14007    builtin and then its argument prototype would still apply.  */
14008 #ifdef __cplusplus
14009 extern "C"
14010 #endif
14011 char isnan ();
14012 int
14013 main ()
14014 {
14015 return isnan ();
14016   ;
14017   return 0;
14018 }
14019 _ACEOF
14020 if ac_fn_c_try_link "$LINENO"; then :
14021   ac_cv_lib_m_isnan=yes
14022 else
14023   ac_cv_lib_m_isnan=no
14024 fi
14025 rm -f core conftest.err conftest.$ac_objext \
14026     conftest$ac_exeext conftest.$ac_ext
14027 LIBS=$ac_check_lib_save_LIBS
14028 fi
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
14030 $as_echo "$ac_cv_lib_m_isnan" >&6; }
14031 if test "x$ac_cv_lib_m_isnan" = xyes; then :
14032
14033 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
14034
14035 fi
14036
14037 fi
14038
14039
14040 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
14041 if test "x$ac_cv_func_isinf" = xyes; then :
14042
14043 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
14044
14045 else
14046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
14047 $as_echo_n "checking for isinf in -lm... " >&6; }
14048 if ${ac_cv_lib_m_isinf+:} false; then :
14049   $as_echo_n "(cached) " >&6
14050 else
14051   ac_check_lib_save_LIBS=$LIBS
14052 LIBS="-lm  $LIBS"
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h.  */
14055
14056 /* Override any GCC internal prototype to avoid an error.
14057    Use char because int might match the return type of a GCC
14058    builtin and then its argument prototype would still apply.  */
14059 #ifdef __cplusplus
14060 extern "C"
14061 #endif
14062 char isinf ();
14063 int
14064 main ()
14065 {
14066 return isinf ();
14067   ;
14068   return 0;
14069 }
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"; then :
14072   ac_cv_lib_m_isinf=yes
14073 else
14074   ac_cv_lib_m_isinf=no
14075 fi
14076 rm -f core conftest.err conftest.$ac_objext \
14077     conftest$ac_exeext conftest.$ac_ext
14078 LIBS=$ac_check_lib_save_LIBS
14079 fi
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
14081 $as_echo "$ac_cv_lib_m_isinf" >&6; }
14082 if test "x$ac_cv_lib_m_isinf" = xyes; then :
14083
14084 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
14085
14086 fi
14087
14088 fi
14089
14090
14091 XML_LIBDIR='-L${libdir}'
14092 XML_INCLUDEDIR='-I${includedir}/libxml2'
14093
14094 XML_CFLAGS=""
14095 RDL_LIBS=""
14096
14097 if test "${GCC}" != "yes" ; then
14098     case "${host}" in
14099           hppa*-*-hpux* )
14100                CFLAGS="${CFLAGS} -Wp,-H30000"
14101                ;;
14102           *-dec-osf* )
14103                CFLAGS="${CFLAGS} -ieee"
14104                ;;
14105           alpha*-*-linux* )
14106                CFLAGS="${CFLAGS} -ieee"
14107                ;;
14108     esac
14109 else
14110     if test "$with_fexceptions" = "yes"
14111     then
14112         #
14113         # Not activated by default because this inflates the code size
14114         # Used to allow propagation of C++ exceptions through the library
14115         #
14116         CFLAGS="${CFLAGS} -fexceptions"
14117     fi
14118
14119     # warnings we'd like to see
14120     CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
14121     # warnings we'd like to supress
14122     CFLAGS="${CFLAGS} -Wno-long-long"
14123     case "${host}" in
14124           alpha*-*-linux* )
14125                CFLAGS="${CFLAGS} -mieee"
14126                ;;
14127           alpha*-*-osf* )
14128                CFLAGS="${CFLAGS} -mieee"
14129                ;;
14130     esac
14131 fi
14132 case ${host} in
14133     *-*-solaris*)
14134         XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
14135         ;;
14136     hppa*-hp-mpeix)
14137         NEED_TRIO=1
14138         ;;
14139     *-*-mingw* | *-*-cygwin* | *-*-msvc* )
14140         # If the host is Windows, and shared libraries are disabled, we
14141         # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
14142         # work properly (without it, xmlexports.h would force the use of
14143         # DLL imports, which obviously aren't present in a static
14144         # library).
14145         if test "x$enable_shared" = "xno"; then
14146             XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
14147             CFLAGS="$CFLAGS -DLIBXML_STATIC"
14148         fi
14149         ;;
14150 esac
14151
14152
14153
14154 PYTHON_VERSION=
14155 PYTHON_INCLUDES=
14156 PYTHON_SITE_PACKAGES=
14157 PYTHON_TESTS=
14158 pythondir=
14159 if test "$with_python" != "no" ; then
14160     if test -x "$with_python/bin/python"
14161     then
14162         echo Found python in $with_python/bin/python
14163         PYTHON="$with_python/bin/python"
14164     else
14165         if test -x "$with_python/python.exe"
14166         then
14167             echo Found python in $with_python/python.exe
14168             PYTHON="$with_python/python.exe"
14169         else
14170             if test -x "$with_python"
14171             then
14172                 echo Found python in $with_python
14173                 PYTHON="$with_python"
14174             else
14175                 if test -x "$PYTHON"
14176                 then
14177                     echo Found python in environment PYTHON=$PYTHON
14178                     with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
14179                 else
14180                     # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
14181 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14183 $as_echo_n "checking for $ac_word... " >&6; }
14184 if ${ac_cv_path_PYTHON+:} false; then :
14185   $as_echo_n "(cached) " >&6
14186 else
14187   case $PYTHON in
14188   [\\/]* | ?:[\\/]*)
14189   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14190   ;;
14191   *)
14192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14193 for as_dir in $PATH
14194 do
14195   IFS=$as_save_IFS
14196   test -z "$as_dir" && as_dir=.
14197     for ac_exec_ext in '' $ac_executable_extensions; do
14198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14199     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14201     break 2
14202   fi
14203 done
14204   done
14205 IFS=$as_save_IFS
14206
14207   ;;
14208 esac
14209 fi
14210 PYTHON=$ac_cv_path_PYTHON
14211 if test -n "$PYTHON"; then
14212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14213 $as_echo "$PYTHON" >&6; }
14214 else
14215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14216 $as_echo "no" >&6; }
14217 fi
14218
14219
14220                 fi
14221             fi
14222         fi
14223     fi
14224     if test "$PYTHON" != ""
14225     then
14226         PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
14227         echo Found Python version $PYTHON_VERSION
14228     fi
14229     if test "$PYTHON_VERSION" != ""
14230     then
14231         if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
14232            -d $with_python/lib/python$PYTHON_VERSION/site-packages
14233         then
14234             PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
14235             PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
14236         else
14237             if test -r $prefix/include/python$PYTHON_VERSION/Python.h
14238             then
14239                 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
14240                 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
14241             else
14242                 if test -r /usr/include/python$PYTHON_VERSION/Python.h
14243                 then
14244                     PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
14245                     PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
14246                 else
14247                     if test -r $with_python/include/Python.h -a \
14248                        -d $with_python/lib/site-packages
14249                     then
14250                         PYTHON_INCLUDES=$with_python/include
14251                         PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
14252                     else
14253                         echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
14254                     fi
14255                 fi
14256             fi
14257             if test ! -d "$PYTHON_SITE_PACKAGES"
14258             then
14259                     PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
14260             fi
14261         fi
14262         PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
14263     fi
14264     if test "$with_python" != ""
14265     then
14266         pythondir='$(PYTHON_SITE_PACKAGES)'
14267     else
14268         pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14269     fi
14270 else
14271     PYTHON=
14272 fi
14273  if test "$PYTHON_INCLUDES" != ""; then
14274   WITH_PYTHON_TRUE=
14275   WITH_PYTHON_FALSE='#'
14276 else
14277   WITH_PYTHON_TRUE='#'
14278   WITH_PYTHON_FALSE=
14279 fi
14280
14281 if test "$PYTHON_INCLUDES" != ""
14282 then
14283     PYTHON_SUBDIR=python
14284 else
14285     PYTHON_SUBDIR=
14286 fi
14287
14288
14289
14290
14291 WITH_MODULES=0
14292 TEST_MODULES=
14293
14294 if test "$with_modules" != "no" ; then
14295  case "$host" in
14296   *-*-cygwin*)
14297   MODULE_EXTENSION=".dll"
14298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
14299 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
14300 if ${ac_cv_lib_cygwin_dlopen+:} false; then :
14301   $as_echo_n "(cached) " >&6
14302 else
14303   ac_check_lib_save_LIBS=$LIBS
14304 LIBS="-lcygwin  $LIBS"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h.  */
14307
14308 /* Override any GCC internal prototype to avoid an error.
14309    Use char because int might match the return type of a GCC
14310    builtin and then its argument prototype would still apply.  */
14311 #ifdef __cplusplus
14312 extern "C"
14313 #endif
14314 char dlopen ();
14315 int
14316 main ()
14317 {
14318 return dlopen ();
14319   ;
14320   return 0;
14321 }
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324   ac_cv_lib_cygwin_dlopen=yes
14325 else
14326   ac_cv_lib_cygwin_dlopen=no
14327 fi
14328 rm -f core conftest.err conftest.$ac_objext \
14329     conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_lib_save_LIBS
14331 fi
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
14333 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
14334 if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then :
14335
14336     WITH_MODULES=1
14337     MODULE_PLATFORM_LIBS=
14338
14339 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
14340
14341
14342 fi
14343
14344   ;;
14345   *-*-mingw*)
14346   MODULE_EXTENSION=".dll"
14347   WITH_MODULES=1
14348   ;;
14349   *)
14350   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14351 if test "x$ac_cv_func_shl_load" = xyes; then :
14352   libxml_have_shl_load=yes
14353 else
14354
14355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14356 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14357 if ${ac_cv_lib_dld_shl_load+:} false; then :
14358   $as_echo_n "(cached) " >&6
14359 else
14360   ac_check_lib_save_LIBS=$LIBS
14361 LIBS="-ldld  $LIBS"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h.  */
14364
14365 /* Override any GCC internal prototype to avoid an error.
14366    Use char because int might match the return type of a GCC
14367    builtin and then its argument prototype would still apply.  */
14368 #ifdef __cplusplus
14369 extern "C"
14370 #endif
14371 char shl_load ();
14372 int
14373 main ()
14374 {
14375 return shl_load ();
14376   ;
14377   return 0;
14378 }
14379 _ACEOF
14380 if ac_fn_c_try_link "$LINENO"; then :
14381   ac_cv_lib_dld_shl_load=yes
14382 else
14383   ac_cv_lib_dld_shl_load=no
14384 fi
14385 rm -f core conftest.err conftest.$ac_objext \
14386     conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_check_lib_save_LIBS
14388 fi
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14390 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14391 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14392
14393       MODULE_PLATFORM_LIBS="-ldld"
14394       libxml_have_shl_load=yes
14395 else
14396
14397       ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14398 if test "x$ac_cv_func_dlopen" = xyes; then :
14399   libxml_have_dlopen=yes
14400 else
14401
14402         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14403 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14404 if ${ac_cv_lib_dl_dlopen+:} false; then :
14405   $as_echo_n "(cached) " >&6
14406 else
14407   ac_check_lib_save_LIBS=$LIBS
14408 LIBS="-ldl  $LIBS"
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h.  */
14411
14412 /* Override any GCC internal prototype to avoid an error.
14413    Use char because int might match the return type of a GCC
14414    builtin and then its argument prototype would still apply.  */
14415 #ifdef __cplusplus
14416 extern "C"
14417 #endif
14418 char dlopen ();
14419 int
14420 main ()
14421 {
14422 return dlopen ();
14423   ;
14424   return 0;
14425 }
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428   ac_cv_lib_dl_dlopen=yes
14429 else
14430   ac_cv_lib_dl_dlopen=no
14431 fi
14432 rm -f core conftest.err conftest.$ac_objext \
14433     conftest$ac_exeext conftest.$ac_ext
14434 LIBS=$ac_check_lib_save_LIBS
14435 fi
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14437 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14438 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14439
14440           MODULE_PLATFORM_LIBS="-ldl"
14441           libxml_have_dlopen=yes
14442 fi
14443
14444 fi
14445
14446 fi
14447
14448 fi
14449
14450
14451   if test "${libxml_have_shl_load}" = "yes"; then
14452     MODULE_EXTENSION=".sl"
14453     WITH_MODULES=1
14454
14455 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
14456
14457   fi
14458
14459   if test "${libxml_have_dlopen}" = "yes"; then
14460     case "${host}" in
14461       *-*-hpux* )
14462         MODULE_EXTENSION=".sl"
14463         ;;
14464       * )
14465         MODULE_EXTENSION=".so"
14466         ;;
14467     esac
14468
14469     WITH_MODULES=1
14470
14471 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
14472
14473   fi
14474  ;;
14475  esac
14476 fi
14477
14478 if test "${WITH_MODULES}" = "1"; then
14479   TEST_MODULES="ModuleTests"
14480 fi
14481
14482
14483
14484
14485
14486
14487
14488 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
14489    [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
14490    [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
14491    then
14492     if test "$with_minimum" != "yes"
14493     then
14494         if test "${with_mem_debug}" = "" ; then
14495             echo Activating memory debugging
14496             with_mem_debug="yes"
14497             with_run_debug="yes"
14498         fi
14499         if test "${with_docbook}" = "" ; then
14500             with_docbook="yes"
14501         fi
14502     fi
14503     if test "${GCC}" = "yes" ; then
14504     CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
14505     fi
14506     STATIC_BINARIES="-static"
14507 else
14508     STATIC_BINARIES=
14509 fi
14510
14511
14512
14513 if test "${NEED_TRIO}" = "1" ; then
14514     echo Adding trio library for string functions
14515     WITH_TRIO=1
14516 else
14517     WITH_TRIO=0
14518 fi
14519  if test "${NEED_TRIO}" = "1"; then
14520   WITH_TRIO_SOURCES_TRUE=
14521   WITH_TRIO_SOURCES_FALSE='#'
14522 else
14523   WITH_TRIO_SOURCES_TRUE='#'
14524   WITH_TRIO_SOURCES_FALSE=
14525 fi
14526
14527
14528
14529 echo Checking configuration requirements
14530
14531 THREAD_LIBS=""
14532 BASE_THREAD_LIBS=""
14533 WITH_THREADS=0
14534 THREAD_CFLAGS=""
14535 TEST_THREADS=""
14536 THREADS_W32=""
14537
14538 if test "$with_threads" = "no" ; then
14539     echo Disabling multithreaded support
14540 else
14541     echo Enabling multithreaded support
14542
14543         case $host_os in
14544        *mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
14545                WITH_THREADS="1"
14546                THREADS_W32="Win32"
14547                THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
14548            fi
14549        ;;
14550     esac
14551
14552         if test -z "$THREADS_W32"; then
14553         if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
14554             ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14555 if test "x$ac_cv_header_pthread_h" = xyes; then :
14556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
14557 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
14558 if ${ac_cv_lib_pthread_pthread_join+:} false; then :
14559   $as_echo_n "(cached) " >&6
14560 else
14561   ac_check_lib_save_LIBS=$LIBS
14562 LIBS="-lpthread  $LIBS"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h.  */
14565
14566 /* Override any GCC internal prototype to avoid an error.
14567    Use char because int might match the return type of a GCC
14568    builtin and then its argument prototype would still apply.  */
14569 #ifdef __cplusplus
14570 extern "C"
14571 #endif
14572 char pthread_join ();
14573 int
14574 main ()
14575 {
14576 return pthread_join ();
14577   ;
14578   return 0;
14579 }
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"; then :
14582   ac_cv_lib_pthread_pthread_join=yes
14583 else
14584   ac_cv_lib_pthread_pthread_join=no
14585 fi
14586 rm -f core conftest.err conftest.$ac_objext \
14587     conftest$ac_exeext conftest.$ac_ext
14588 LIBS=$ac_check_lib_save_LIBS
14589 fi
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
14591 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
14592 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
14593
14594                 THREAD_LIBS="-lpthread"
14595
14596 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
14597
14598
14599 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
14600
14601                 WITH_THREADS="1"
14602 fi
14603
14604 fi
14605
14606
14607         fi
14608     fi
14609
14610     case $host_os in
14611        *cygwin*) THREAD_LIBS=""
14612        ;;
14613        *beos*) WITH_THREADS="1"
14614            THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
14615        ;;
14616        *linux*)
14617            if test "${GCC}" = "yes" ; then
14618                GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
14619                GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
14620                GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
14621                if test "${THREAD_LIBS}" = "-lpthread" ; then
14622                    if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
14623                    then
14624                        THREAD_LIBS=""
14625                        BASE_THREAD_LIBS="-lpthread"
14626                    else
14627                    if expr ${GCC_MAJOR} \> 3 > /dev/null
14628                    then
14629                        THREAD_LIBS=""
14630                        BASE_THREAD_LIBS="-lpthread"
14631                    else
14632                        echo old GCC disabling weak symbols for pthread
14633                    fi
14634                    fi
14635                fi
14636            fi
14637        ;;
14638     esac
14639     if test "$WITH_THREADS" = "1" ; then
14640         THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
14641         TEST_THREADS="Threadtests"
14642     fi
14643 fi
14644 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
14645     THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
14646 fi
14647
14648
14649
14650
14651
14652
14653
14654
14655 if test "$with_history" = "yes" ; then
14656     echo Enabling xmllint shell history
14657             unset tcap
14658     for termlib in ncurses curses termcap terminfo termlib; do
14659         as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
14661 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
14662 if eval \${$as_ac_Lib+:} false; then :
14663   $as_echo_n "(cached) " >&6
14664 else
14665   ac_check_lib_save_LIBS=$LIBS
14666 LIBS="-l${termlib}  $LIBS"
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h.  */
14669
14670 /* Override any GCC internal prototype to avoid an error.
14671    Use char because int might match the return type of a GCC
14672    builtin and then its argument prototype would still apply.  */
14673 #ifdef __cplusplus
14674 extern "C"
14675 #endif
14676 char tputs ();
14677 int
14678 main ()
14679 {
14680 return tputs ();
14681   ;
14682   return 0;
14683 }
14684 _ACEOF
14685 if ac_fn_c_try_link "$LINENO"; then :
14686   eval "$as_ac_Lib=yes"
14687 else
14688   eval "$as_ac_Lib=no"
14689 fi
14690 rm -f core conftest.err conftest.$ac_objext \
14691     conftest$ac_exeext conftest.$ac_ext
14692 LIBS=$ac_check_lib_save_LIBS
14693 fi
14694 eval ac_res=\$$as_ac_Lib
14695                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14696 $as_echo "$ac_res" >&6; }
14697 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
14698   tcap="-l$termlib"
14699 fi
14700
14701         test -n "$tcap" && break
14702     done
14703
14704     ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
14705 if test "x$ac_cv_header_readline_history_h" = xyes; then :
14706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
14707 $as_echo_n "checking for append_history in -lhistory... " >&6; }
14708 if ${ac_cv_lib_history_append_history+:} false; then :
14709   $as_echo_n "(cached) " >&6
14710 else
14711   ac_check_lib_save_LIBS=$LIBS
14712 LIBS="-lhistory  $LIBS"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h.  */
14715
14716 /* Override any GCC internal prototype to avoid an error.
14717    Use char because int might match the return type of a GCC
14718    builtin and then its argument prototype would still apply.  */
14719 #ifdef __cplusplus
14720 extern "C"
14721 #endif
14722 char append_history ();
14723 int
14724 main ()
14725 {
14726 return append_history ();
14727   ;
14728   return 0;
14729 }
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732   ac_cv_lib_history_append_history=yes
14733 else
14734   ac_cv_lib_history_append_history=no
14735 fi
14736 rm -f core conftest.err conftest.$ac_objext \
14737     conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_lib_save_LIBS
14739 fi
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
14741 $as_echo "$ac_cv_lib_history_append_history" >&6; }
14742 if test "x$ac_cv_lib_history_append_history" = xyes; then :
14743
14744            RDL_LIBS="-lhistory"
14745
14746 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
14747
14748 fi
14749
14750 fi
14751
14752
14753     ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
14754 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
14755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14756 $as_echo_n "checking for readline in -lreadline... " >&6; }
14757 if ${ac_cv_lib_readline_readline+:} false; then :
14758   $as_echo_n "(cached) " >&6
14759 else
14760   ac_check_lib_save_LIBS=$LIBS
14761 LIBS="-lreadline $tcap $LIBS"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h.  */
14764
14765 /* Override any GCC internal prototype to avoid an error.
14766    Use char because int might match the return type of a GCC
14767    builtin and then its argument prototype would still apply.  */
14768 #ifdef __cplusplus
14769 extern "C"
14770 #endif
14771 char readline ();
14772 int
14773 main ()
14774 {
14775 return readline ();
14776   ;
14777   return 0;
14778 }
14779 _ACEOF
14780 if ac_fn_c_try_link "$LINENO"; then :
14781   ac_cv_lib_readline_readline=yes
14782 else
14783   ac_cv_lib_readline_readline=no
14784 fi
14785 rm -f core conftest.err conftest.$ac_objext \
14786     conftest$ac_exeext conftest.$ac_ext
14787 LIBS=$ac_check_lib_save_LIBS
14788 fi
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14790 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14791 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14792
14793            RDL_LIBS="-lreadline $RDL_LIBS $tcap"
14794
14795 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
14796
14797 fi
14798
14799 fi
14800
14801
14802     if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
14803         CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
14804         RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
14805     fi
14806 fi
14807
14808 if test "$with_tree" = "no" ; then
14809     echo Disabling DOM like tree manipulation APIs
14810     WITH_TREE=0
14811 else
14812     WITH_TREE=1
14813 fi
14814
14815
14816 if test "$with_ftp" = "no" ; then
14817     echo Disabling FTP support
14818     WITH_FTP=0
14819     FTP_OBJ=
14820 else
14821     WITH_FTP=1
14822     FTP_OBJ=nanoftp.o
14823 fi
14824
14825
14826
14827 if test "$with_http" = "no" ; then
14828     echo Disabling HTTP support
14829     WITH_HTTP=0
14830     HTTP_OBJ=
14831 else
14832     WITH_HTTP=1
14833     HTTP_OBJ=nanohttp.o
14834 fi
14835
14836
14837
14838 if test "$with_legacy" = "no" ; then
14839     echo Disabling deprecated APIs
14840     WITH_LEGACY=0
14841 else
14842     WITH_LEGACY=1
14843 fi
14844
14845
14846 if test "$with_reader" = "no" ; then
14847     echo Disabling the xmlReader parsing interface
14848     WITH_READER=0
14849     READER_TEST=
14850 else
14851     WITH_READER=1
14852     READER_TEST=Readertests
14853     if test "$with_push" = "no" ; then
14854         echo xmlReader requires Push interface - enabling it
14855         with_push=yes
14856     fi
14857 fi
14858
14859
14860
14861 if test "$with_writer" = "no" ; then
14862     echo Disabling the xmlWriter saving interface
14863     WITH_WRITER=0
14864 #    WRITER_TEST=
14865 else
14866     WITH_WRITER=1
14867 #    WRITER_TEST=Writertests
14868     if test "$with_push" = "no" ; then
14869         echo xmlWriter requires Push interface - enabling it
14870         with_push=yes
14871     fi
14872     if test "$with_output" = "no" ; then
14873         echo xmlWriter requires Output interface - enabling it
14874         with_output=yes
14875     fi
14876 fi
14877
14878 #AC_SUBST(WRITER_TEST)
14879
14880 if test "$with_pattern" = "no" ; then
14881     echo Disabling the xmlPattern parsing interface
14882     WITH_PATTERN=0
14883     TEST_PATTERN=
14884 else
14885     WITH_PATTERN=1
14886     TEST_PATTERN=Patterntests
14887 fi
14888
14889
14890
14891 if test "$with_sax1" = "no" ; then
14892     echo Disabling the older SAX1 interface
14893     WITH_SAX1=0
14894     TEST_SAX=
14895 else
14896     WITH_SAX1=1
14897     TEST_SAX=SAXtests
14898 fi
14899
14900
14901
14902 if test "$with_push" = "no" ; then
14903     echo Disabling the PUSH parser interfaces
14904     WITH_PUSH=0
14905     TEST_PUSH=
14906 else
14907     WITH_PUSH=1
14908     TEST_PUSH="XMLPushtests"
14909 fi
14910
14911
14912
14913 if test "$with_html" = "no" ; then
14914     echo Disabling HTML support
14915     WITH_HTML=0
14916     HTML_OBJ=
14917     TEST_HTML=
14918 else
14919     WITH_HTML=1
14920     HTML_OBJ="HTMLparser.o HTMLtree.o"
14921     TEST_HTML=HTMLtests
14922     if test "$with_push" != "no" ; then
14923         TEST_PHTML=HTMLPushtests
14924     else
14925         TEST_PHTML=
14926     fi
14927 fi
14928
14929
14930
14931
14932
14933 if test "$with_valid" = "no" ; then
14934     echo Disabling DTD validation support
14935     WITH_VALID=0
14936     TEST_VALID=
14937     TEST_VTIME=
14938 else
14939     WITH_VALID=1
14940     TEST_VALID=Validtests
14941     TEST_VTIME=VTimingtests
14942 fi
14943
14944
14945
14946
14947 if test "$with_catalog" = "no" ; then
14948     echo Disabling Catalog support
14949     WITH_CATALOG=0
14950     CATALOG_OBJ=
14951     TEST_CATALOG=
14952 else
14953     WITH_CATALOG=1
14954     CATALOG_OBJ="catalog.o"
14955     TEST_CATALOG=Catatests
14956 fi
14957
14958
14959
14960
14961 if test "$with_docbook" = "no" ; then
14962     echo Disabling Docbook support
14963     WITH_DOCB=0
14964     DOCB_OBJ=
14965 else
14966     WITH_DOCB=1
14967     DOCB_OBJ="DOCBparser.o"
14968 fi
14969
14970
14971
14972
14973 if test "$with_xptr" = "no" ; then
14974     echo Disabling XPointer support
14975     WITH_XPTR=0
14976     XPTR_OBJ=
14977     TEST_XPTR=
14978 else
14979     WITH_XPTR=1
14980     XPTR_OBJ=xpointer.o
14981     TEST_XPTR=XPtrtests
14982     if test "$with_xpath" = "no" ; then
14983         echo XPointer requires XPath support - enabling it
14984         with_xpath=yes
14985     fi
14986 fi
14987
14988
14989
14990
14991 if test "$with_c14n" = "no" ; then
14992     echo Disabling C14N support
14993     WITH_C14N=0
14994     C14N_OBJ=
14995     TEST_C14N=
14996 else
14997     WITH_C14N=1
14998     C14N_OBJ="c14n.c"
14999     TEST_C14N=C14Ntests
15000     if test "$with_xpath" = "no" ; then
15001         echo C14N requires XPath support - enabling it
15002         with_xpath=yes
15003     fi
15004 fi
15005
15006
15007
15008
15009 if test "$with_xinclude" = "no" ; then
15010     echo Disabling XInclude support
15011     WITH_XINCLUDE=0
15012     XINCLUDE_OBJ=
15013     with_xinclude="no"
15014     TEST_XINCLUDE=
15015 else
15016     WITH_XINCLUDE=1
15017     XINCLUDE_OBJ=xinclude.o
15018     TEST_XINCLUDE=XIncludetests
15019     if test "$with_xpath" = "no" ; then
15020         echo XInclude requires XPath support - enabling it
15021         with_xpath=yes
15022     fi
15023 fi
15024
15025
15026
15027
15028 if test "$with_xpath" = "no" ; then
15029     echo Disabling XPATH support
15030     WITH_XPATH=0
15031     XPATH_OBJ=
15032     TEST_XPATH=
15033 else
15034     WITH_XPATH=1
15035     XPATH_OBJ=xpath.o
15036     TEST_XPATH=XPathtests
15037 fi
15038
15039
15040
15041
15042 if test "$with_output" = "no" ; then
15043     echo Disabling serialization/saving support
15044     WITH_OUTPUT=0
15045 else
15046     WITH_OUTPUT=1
15047 fi
15048
15049
15050 WITH_ICONV=0
15051 if test "$with_iconv" = "no" ; then
15052     echo Disabling ICONV support
15053 else
15054     if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
15055         CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
15056         # Export this since our headers include iconv.h
15057         XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
15058         ICONV_LIBS="-L$with_iconv/lib"
15059     fi
15060
15061     ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
15062 if test "x$ac_cv_header_iconv_h" = xyes; then :
15063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15064 $as_echo_n "checking for iconv... " >&6; }
15065         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h.  */
15067 #include <stdlib.h>
15068 #include <iconv.h>
15069 int
15070 main ()
15071 {
15072
15073 iconv_t cd = iconv_open ("","");
15074 iconv (cd, NULL, NULL, NULL, NULL);
15075   ;
15076   return 0;
15077 }
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"; then :
15080
15081             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15082 $as_echo "yes" >&6; }
15083             WITH_ICONV=1
15084 else
15085
15086             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15087 $as_echo "no" >&6; }
15088             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
15089 $as_echo_n "checking for iconv in -liconv... " >&6; }
15090
15091             _ldflags="${LDFLAGS}"
15092             _libs="${LIBS}"
15093             LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
15094             LIBS="${LIBS} -liconv"
15095
15096             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h.  */
15098 #include <stdlib.h>
15099 #include <iconv.h>
15100 int
15101 main ()
15102 {
15103
15104 iconv_t cd = iconv_open ("","");
15105 iconv (cd, NULL, NULL, NULL, NULL);
15106   ;
15107   return 0;
15108 }
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"; then :
15111
15112                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15113 $as_echo "yes" >&6; }
15114                 WITH_ICONV=1
15115                 ICONV_LIBS="${ICONV_LIBS} -liconv"
15116                 LIBS="${_libs}"
15117                 LDFLAGS="${_ldflags}"
15118 else
15119
15120                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15121 $as_echo "no" >&6; }
15122                 LIBS="${_libs}"
15123                 LDFLAGS="${_ldflags}"
15124 fi
15125 rm -f core conftest.err conftest.$ac_objext \
15126     conftest$ac_exeext conftest.$ac_ext
15127 fi
15128 rm -f core conftest.err conftest.$ac_objext \
15129     conftest$ac_exeext conftest.$ac_ext
15130 fi
15131
15132
15133
15134         if test "$WITH_ICONV" = "1" ; then
15135                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15136 $as_echo_n "checking for iconv declaration... " >&6; }
15137                 if ${xml_cv_iconv_arg2+:} false; then :
15138   $as_echo_n "(cached) " >&6
15139 else
15140
15141                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h.  */
15143 #include <stdlib.h>
15144 #include <iconv.h>
15145 extern
15146 #ifdef __cplusplus
15147 "C"
15148 #endif
15149 #if defined(__STDC__) || defined(__cplusplus)
15150 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15151 #else
15152 size_t iconv();
15153 #endif
15154
15155 int
15156 main ()
15157 {
15158
15159   ;
15160   return 0;
15161 }
15162 _ACEOF
15163 if ac_fn_c_try_compile "$LINENO"; then :
15164   xml_cv_iconv_arg2=""
15165 else
15166   xml_cv_iconv_arg2="const"
15167 fi
15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15169 fi
15170
15171
15172                 xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
15173                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
15174         }$xml_cv_iconv_decl" >&5
15175 $as_echo "${xml_xxx:-
15176         }$xml_cv_iconv_decl" >&6; }
15177
15178 cat >>confdefs.h <<_ACEOF
15179 #define ICONV_CONST $xml_cv_iconv_arg2
15180 _ACEOF
15181
15182         fi
15183 fi
15184 case "$host" in
15185         *mingw*) M_LIBS=""
15186         ;;
15187         *beos*) M_LIBS=""
15188         ;;
15189         *haiku*) M_LIBS=""
15190         ;;
15191         *) M_LIBS="-lm"
15192         ;;
15193 esac
15194 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
15195 XML_LIBTOOLLIBS="libxml2.la"
15196
15197
15198 WITH_ICU=0
15199 if test "$with_icu" != "yes" ; then
15200     echo Disabling ICU support
15201 else
15202     ICU_CONFIG=icu-config
15203     if ${ICU_CONFIG} --cflags >/dev/null 2>&1
15204     then
15205         ICU_LIBS=`icu-config --ldflags`
15206         LDFLAGS="$LDFLAGS $ICU_LIBS"
15207         WITH_ICU=1
15208         echo Enabling ICU support
15209     else
15210         as_fn_error $? "libicu config program icu-config not found" "$LINENO" 5
15211     fi
15212 fi
15213
15214
15215 WITH_ISO8859X=1
15216 if test "$WITH_ICONV" != "1" ; then
15217 if test "$with_iso8859x" = "no" ; then
15218     echo Disabling ISO8859X support
15219     WITH_ISO8859X=0
15220 fi
15221 fi
15222
15223
15224 if test "$with_schematron" = "no" ; then
15225     echo "Disabling Schematron support"
15226     WITH_SCHEMATRON=0
15227     TEST_SCHEMATRON=
15228 else
15229     echo "Enabled Schematron support"
15230     WITH_SCHEMATRON=1
15231     TEST_SCHEMATRON="Schematrontests"
15232     with_xpath=yes
15233     with_pattern=yes
15234 fi
15235
15236
15237
15238 if test "$with_schemas" = "no" ; then
15239     echo "Disabling Schemas/Relax-NG support"
15240     WITH_SCHEMAS=0
15241     TEST_SCHEMAS=
15242 else
15243     echo "Enabled Schemas/Relax-NG support"
15244     WITH_SCHEMAS=1
15245     TEST_SCHEMAS="Schemastests Relaxtests"
15246     if test "$PYTHON_INCLUDES" != "" ; then
15247         PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
15248     fi
15249     with_regexps=yes
15250 fi
15251
15252
15253
15254 if test "$with_regexps" = "no" ; then
15255     echo Disabling Regexps support
15256     WITH_REGEXPS=0
15257     TEST_REGEXPS=
15258 else
15259     WITH_REGEXPS=1
15260     TEST_REGEXPS="Regexptests Automatatests"
15261 fi
15262
15263
15264
15265 if test "$with_debug" = "no" ; then
15266     echo Disabling DEBUG support
15267     WITH_DEBUG=0
15268     DEBUG_OBJ=
15269     TEST_DEBUG=
15270 else
15271     WITH_DEBUG=1
15272     DEBUG_OBJ=debugXML.o
15273     TEST_DEBUG=Scripttests
15274 fi
15275
15276
15277
15278
15279 if test "$with_mem_debug" = "yes" ; then
15280     if test "$with_thread_alloc" = "yes" ; then
15281         echo Disabling memory debug - cannot use mem-debug with thread-alloc!
15282         WITH_MEM_DEBUG=0
15283     else
15284         echo Enabling memory debug support
15285         WITH_MEM_DEBUG=1
15286     fi
15287 else
15288     WITH_MEM_DEBUG=0
15289 fi
15290
15291
15292 if test "$with_run_debug" = "yes" ; then
15293     echo Enabling runtime debug support
15294     WITH_RUN_DEBUG=1
15295 else
15296     WITH_RUN_DEBUG=0
15297 fi
15298
15299
15300 WIN32_EXTRA_LIBADD=
15301 WIN32_EXTRA_LDFLAGS=
15302 CYGWIN_EXTRA_LDFLAGS=
15303 CYGWIN_EXTRA_PYTHON_LIBADD=
15304 WIN32_EXTRA_PYTHON_LIBADD=
15305 case "$host" in
15306  *-*-mingw*)
15307  CPPFLAGS="$CPPFLAGS -DWIN32"
15308  WIN32_EXTRA_LIBADD="-lws2_32"
15309  WIN32_EXTRA_LDFLAGS="-no-undefined"
15310
15311 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
15312
15313  if test "${PYTHON}" != ""
15314  then
15315    WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
15316  fi
15317  ;;
15318  *-*-cygwin*)
15319  CYGWIN_EXTRA_LDFLAGS="-no-undefined"
15320  if test "${PYTHON}" != ""
15321  then
15322    CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
15323  fi
15324  ;;
15325 esac
15326
15327
15328
15329
15330
15331
15332 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
15333 do :
15334   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15337   cat >>confdefs.h <<_ACEOF
15338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15339 _ACEOF
15340
15341 else
15342   NEED_TRIO=1
15343 fi
15344 done
15345
15346
15347 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
15348 then
15349     echo Enabling code coverage for GCC
15350     CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
15351     LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
15352 else
15353     echo Disabling code coverage for GCC
15354 fi
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377 RELDATE=`date +'%a %b %e %Y'`
15378
15379
15380
15381 rm -f COPYING.LIB COPYING
15382 ln -s Copyright COPYING
15383
15384 # keep on one line for cygwin c.f. #130896
15385 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py"
15386
15387 cat >confcache <<\_ACEOF
15388 # This file is a shell script that caches the results of configure
15389 # tests run on this system so they can be shared between configure
15390 # scripts and configure runs, see configure's option --config-cache.
15391 # It is not useful on other systems.  If it contains results you don't
15392 # want to keep, you may remove or edit it.
15393 #
15394 # config.status only pays attention to the cache file if you give it
15395 # the --recheck option to rerun configure.
15396 #
15397 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15398 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15399 # following values.
15400
15401 _ACEOF
15402
15403 # The following way of writing the cache mishandles newlines in values,
15404 # but we know of no workaround that is simple, portable, and efficient.
15405 # So, we kill variables containing newlines.
15406 # Ultrix sh set writes to stderr and can't be redirected directly,
15407 # and sets the high bit in the cache file unless we assign to the vars.
15408 (
15409   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15410     eval ac_val=\$$ac_var
15411     case $ac_val in #(
15412     *${as_nl}*)
15413       case $ac_var in #(
15414       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15415 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15416       esac
15417       case $ac_var in #(
15418       _ | IFS | as_nl) ;; #(
15419       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15420       *) { eval $ac_var=; unset $ac_var;} ;;
15421       esac ;;
15422     esac
15423   done
15424
15425   (set) 2>&1 |
15426     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15427     *${as_nl}ac_space=\ *)
15428       # `set' does not quote correctly, so add quotes: double-quote
15429       # substitution turns \\\\ into \\, and sed turns \\ into \.
15430       sed -n \
15431         "s/'/'\\\\''/g;
15432           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15433       ;; #(
15434     *)
15435       # `set' quotes correctly as required by POSIX, so do not add quotes.
15436       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15437       ;;
15438     esac |
15439     sort
15440 ) |
15441   sed '
15442      /^ac_cv_env_/b end
15443      t clear
15444      :clear
15445      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15446      t end
15447      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15448      :end' >>confcache
15449 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15450   if test -w "$cache_file"; then
15451     if test "x$cache_file" != "x/dev/null"; then
15452       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15453 $as_echo "$as_me: updating cache $cache_file" >&6;}
15454       if test ! -f "$cache_file" || test -h "$cache_file"; then
15455         cat confcache >"$cache_file"
15456       else
15457         case $cache_file in #(
15458         */* | ?:*)
15459           mv -f confcache "$cache_file"$$ &&
15460           mv -f "$cache_file"$$ "$cache_file" ;; #(
15461         *)
15462           mv -f confcache "$cache_file" ;;
15463         esac
15464       fi
15465     fi
15466   else
15467     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15468 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15469   fi
15470 fi
15471 rm -f confcache
15472
15473 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15474 # Let make expand exec_prefix.
15475 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15476
15477 DEFS=-DHAVE_CONFIG_H
15478
15479 ac_libobjs=
15480 ac_ltlibobjs=
15481 U=
15482 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15483   # 1. Remove the extension, and $U if already installed.
15484   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15485   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15486   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15487   #    will be set to the directory where LIBOBJS objects are built.
15488   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15489   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15490 done
15491 LIBOBJS=$ac_libobjs
15492
15493 LTLIBOBJS=$ac_ltlibobjs
15494
15495
15496  if test -n "$EXEEXT"; then
15497   am__EXEEXT_TRUE=
15498   am__EXEEXT_FALSE='#'
15499 else
15500   am__EXEEXT_TRUE='#'
15501   am__EXEEXT_FALSE=
15502 fi
15503
15504 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15505   as_fn_error $? "conditional \"AMDEP\" was never defined.
15506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15507 fi
15508 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15509   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15511 fi
15512 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
15513   as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined.
15514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15515 fi
15516 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
15517   as_fn_error $? "conditional \"REBUILD_DOCS\" was never defined.
15518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15519 fi
15520 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
15521   as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
15522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15523 fi
15524 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
15525   as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined.
15526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15527 fi
15528
15529 : "${CONFIG_STATUS=./config.status}"
15530 ac_write_fail=0
15531 ac_clean_files_save=$ac_clean_files
15532 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15534 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15535 as_write_fail=0
15536 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15537 #! $SHELL
15538 # Generated by $as_me.
15539 # Run this file to recreate the current configuration.
15540 # Compiler output produced by configure, useful for debugging
15541 # configure, is in config.log if it exists.
15542
15543 debug=false
15544 ac_cs_recheck=false
15545 ac_cs_silent=false
15546
15547 SHELL=\${CONFIG_SHELL-$SHELL}
15548 export SHELL
15549 _ASEOF
15550 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15551 ## -------------------- ##
15552 ## M4sh Initialization. ##
15553 ## -------------------- ##
15554
15555 # Be more Bourne compatible
15556 DUALCASE=1; export DUALCASE # for MKS sh
15557 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15558   emulate sh
15559   NULLCMD=:
15560   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15561   # is contrary to our usage.  Disable this feature.
15562   alias -g '${1+"$@"}'='"$@"'
15563   setopt NO_GLOB_SUBST
15564 else
15565   case `(set -o) 2>/dev/null` in #(
15566   *posix*) :
15567     set -o posix ;; #(
15568   *) :
15569      ;;
15570 esac
15571 fi
15572
15573
15574 as_nl='
15575 '
15576 export as_nl
15577 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15578 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15580 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15581 # Prefer a ksh shell builtin over an external printf program on Solaris,
15582 # but without wasting forks for bash or zsh.
15583 if test -z "$BASH_VERSION$ZSH_VERSION" \
15584     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15585   as_echo='print -r --'
15586   as_echo_n='print -rn --'
15587 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15588   as_echo='printf %s\n'
15589   as_echo_n='printf %s'
15590 else
15591   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15592     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15593     as_echo_n='/usr/ucb/echo -n'
15594   else
15595     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15596     as_echo_n_body='eval
15597       arg=$1;
15598       case $arg in #(
15599       *"$as_nl"*)
15600         expr "X$arg" : "X\\(.*\\)$as_nl";
15601         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15602       esac;
15603       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15604     '
15605     export as_echo_n_body
15606     as_echo_n='sh -c $as_echo_n_body as_echo'
15607   fi
15608   export as_echo_body
15609   as_echo='sh -c $as_echo_body as_echo'
15610 fi
15611
15612 # The user is always right.
15613 if test "${PATH_SEPARATOR+set}" != set; then
15614   PATH_SEPARATOR=:
15615   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15616     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15617       PATH_SEPARATOR=';'
15618   }
15619 fi
15620
15621
15622 # IFS
15623 # We need space, tab and new line, in precisely that order.  Quoting is
15624 # there to prevent editors from complaining about space-tab.
15625 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15626 # splitting by setting IFS to empty value.)
15627 IFS=" ""        $as_nl"
15628
15629 # Find who we are.  Look in the path if we contain no directory separator.
15630 as_myself=
15631 case $0 in #((
15632   *[\\/]* ) as_myself=$0 ;;
15633   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15634 for as_dir in $PATH
15635 do
15636   IFS=$as_save_IFS
15637   test -z "$as_dir" && as_dir=.
15638     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15639   done
15640 IFS=$as_save_IFS
15641
15642      ;;
15643 esac
15644 # We did not find ourselves, most probably we were run as `sh COMMAND'
15645 # in which case we are not to be found in the path.
15646 if test "x$as_myself" = x; then
15647   as_myself=$0
15648 fi
15649 if test ! -f "$as_myself"; then
15650   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15651   exit 1
15652 fi
15653
15654 # Unset variables that we do not need and which cause bugs (e.g. in
15655 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15656 # suppresses any "Segmentation fault" message there.  '((' could
15657 # trigger a bug in pdksh 5.2.14.
15658 for as_var in BASH_ENV ENV MAIL MAILPATH
15659 do eval test x\${$as_var+set} = xset \
15660   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15661 done
15662 PS1='$ '
15663 PS2='> '
15664 PS4='+ '
15665
15666 # NLS nuisances.
15667 LC_ALL=C
15668 export LC_ALL
15669 LANGUAGE=C
15670 export LANGUAGE
15671
15672 # CDPATH.
15673 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15674
15675
15676 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15677 # ----------------------------------------
15678 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15679 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15680 # script with STATUS, using 1 if that was 0.
15681 as_fn_error ()
15682 {
15683   as_status=$1; test $as_status -eq 0 && as_status=1
15684   if test "$4"; then
15685     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15686     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15687   fi
15688   $as_echo "$as_me: error: $2" >&2
15689   as_fn_exit $as_status
15690 } # as_fn_error
15691
15692
15693 # as_fn_set_status STATUS
15694 # -----------------------
15695 # Set $? to STATUS, without forking.
15696 as_fn_set_status ()
15697 {
15698   return $1
15699 } # as_fn_set_status
15700
15701 # as_fn_exit STATUS
15702 # -----------------
15703 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15704 as_fn_exit ()
15705 {
15706   set +e
15707   as_fn_set_status $1
15708   exit $1
15709 } # as_fn_exit
15710
15711 # as_fn_unset VAR
15712 # ---------------
15713 # Portably unset VAR.
15714 as_fn_unset ()
15715 {
15716   { eval $1=; unset $1;}
15717 }
15718 as_unset=as_fn_unset
15719 # as_fn_append VAR VALUE
15720 # ----------------------
15721 # Append the text in VALUE to the end of the definition contained in VAR. Take
15722 # advantage of any shell optimizations that allow amortized linear growth over
15723 # repeated appends, instead of the typical quadratic growth present in naive
15724 # implementations.
15725 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15726   eval 'as_fn_append ()
15727   {
15728     eval $1+=\$2
15729   }'
15730 else
15731   as_fn_append ()
15732   {
15733     eval $1=\$$1\$2
15734   }
15735 fi # as_fn_append
15736
15737 # as_fn_arith ARG...
15738 # ------------------
15739 # Perform arithmetic evaluation on the ARGs, and store the result in the
15740 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15741 # must be portable across $(()) and expr.
15742 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15743   eval 'as_fn_arith ()
15744   {
15745     as_val=$(( $* ))
15746   }'
15747 else
15748   as_fn_arith ()
15749   {
15750     as_val=`expr "$@" || test $? -eq 1`
15751   }
15752 fi # as_fn_arith
15753
15754
15755 if expr a : '\(a\)' >/dev/null 2>&1 &&
15756    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15757   as_expr=expr
15758 else
15759   as_expr=false
15760 fi
15761
15762 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15763   as_basename=basename
15764 else
15765   as_basename=false
15766 fi
15767
15768 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15769   as_dirname=dirname
15770 else
15771   as_dirname=false
15772 fi
15773
15774 as_me=`$as_basename -- "$0" ||
15775 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15776          X"$0" : 'X\(//\)$' \| \
15777          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15778 $as_echo X/"$0" |
15779     sed '/^.*\/\([^/][^/]*\)\/*$/{
15780             s//\1/
15781             q
15782           }
15783           /^X\/\(\/\/\)$/{
15784             s//\1/
15785             q
15786           }
15787           /^X\/\(\/\).*/{
15788             s//\1/
15789             q
15790           }
15791           s/.*/./; q'`
15792
15793 # Avoid depending upon Character Ranges.
15794 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15795 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15796 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15797 as_cr_digits='0123456789'
15798 as_cr_alnum=$as_cr_Letters$as_cr_digits
15799
15800 ECHO_C= ECHO_N= ECHO_T=
15801 case `echo -n x` in #(((((
15802 -n*)
15803   case `echo 'xy\c'` in
15804   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15805   xy)  ECHO_C='\c';;
15806   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15807        ECHO_T=' ';;
15808   esac;;
15809 *)
15810   ECHO_N='-n';;
15811 esac
15812
15813 rm -f conf$$ conf$$.exe conf$$.file
15814 if test -d conf$$.dir; then
15815   rm -f conf$$.dir/conf$$.file
15816 else
15817   rm -f conf$$.dir
15818   mkdir conf$$.dir 2>/dev/null
15819 fi
15820 if (echo >conf$$.file) 2>/dev/null; then
15821   if ln -s conf$$.file conf$$ 2>/dev/null; then
15822     as_ln_s='ln -s'
15823     # ... but there are two gotchas:
15824     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15825     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15826     # In both cases, we have to default to `cp -p'.
15827     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15828       as_ln_s='cp -p'
15829   elif ln conf$$.file conf$$ 2>/dev/null; then
15830     as_ln_s=ln
15831   else
15832     as_ln_s='cp -p'
15833   fi
15834 else
15835   as_ln_s='cp -p'
15836 fi
15837 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15838 rmdir conf$$.dir 2>/dev/null
15839
15840
15841 # as_fn_mkdir_p
15842 # -------------
15843 # Create "$as_dir" as a directory, including parents if necessary.
15844 as_fn_mkdir_p ()
15845 {
15846
15847   case $as_dir in #(
15848   -*) as_dir=./$as_dir;;
15849   esac
15850   test -d "$as_dir" || eval $as_mkdir_p || {
15851     as_dirs=
15852     while :; do
15853       case $as_dir in #(
15854       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15855       *) as_qdir=$as_dir;;
15856       esac
15857       as_dirs="'$as_qdir' $as_dirs"
15858       as_dir=`$as_dirname -- "$as_dir" ||
15859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15860          X"$as_dir" : 'X\(//\)[^/]' \| \
15861          X"$as_dir" : 'X\(//\)$' \| \
15862          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15863 $as_echo X"$as_dir" |
15864     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15865             s//\1/
15866             q
15867           }
15868           /^X\(\/\/\)[^/].*/{
15869             s//\1/
15870             q
15871           }
15872           /^X\(\/\/\)$/{
15873             s//\1/
15874             q
15875           }
15876           /^X\(\/\).*/{
15877             s//\1/
15878             q
15879           }
15880           s/.*/./; q'`
15881       test -d "$as_dir" && break
15882     done
15883     test -z "$as_dirs" || eval "mkdir $as_dirs"
15884   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15885
15886
15887 } # as_fn_mkdir_p
15888 if mkdir -p . 2>/dev/null; then
15889   as_mkdir_p='mkdir -p "$as_dir"'
15890 else
15891   test -d ./-p && rmdir ./-p
15892   as_mkdir_p=false
15893 fi
15894
15895 if test -x / >/dev/null 2>&1; then
15896   as_test_x='test -x'
15897 else
15898   if ls -dL / >/dev/null 2>&1; then
15899     as_ls_L_option=L
15900   else
15901     as_ls_L_option=
15902   fi
15903   as_test_x='
15904     eval sh -c '\''
15905       if test -d "$1"; then
15906         test -d "$1/.";
15907       else
15908         case $1 in #(
15909         -*)set "./$1";;
15910         esac;
15911         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15912         ???[sx]*):;;*)false;;esac;fi
15913     '\'' sh
15914   '
15915 fi
15916 as_executable_p=$as_test_x
15917
15918 # Sed expression to map a string onto a valid CPP name.
15919 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15920
15921 # Sed expression to map a string onto a valid variable name.
15922 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15923
15924
15925 exec 6>&1
15926 ## ----------------------------------- ##
15927 ## Main body of $CONFIG_STATUS script. ##
15928 ## ----------------------------------- ##
15929 _ASEOF
15930 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15931
15932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15933 # Save the log message, to keep $0 and so on meaningful, and to
15934 # report actual input values of CONFIG_FILES etc. instead of their
15935 # values after options handling.
15936 ac_log="
15937 This file was extended by $as_me, which was
15938 generated by GNU Autoconf 2.68.  Invocation command line was
15939
15940   CONFIG_FILES    = $CONFIG_FILES
15941   CONFIG_HEADERS  = $CONFIG_HEADERS
15942   CONFIG_LINKS    = $CONFIG_LINKS
15943   CONFIG_COMMANDS = $CONFIG_COMMANDS
15944   $ $0 $@
15945
15946 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15947 "
15948
15949 _ACEOF
15950
15951 case $ac_config_files in *"
15952 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15953 esac
15954
15955 case $ac_config_headers in *"
15956 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15957 esac
15958
15959
15960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15961 # Files that config.status was made for.
15962 config_files="$ac_config_files"
15963 config_headers="$ac_config_headers"
15964 config_commands="$ac_config_commands"
15965
15966 _ACEOF
15967
15968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15969 ac_cs_usage="\
15970 \`$as_me' instantiates files and other configuration actions
15971 from templates according to the current configuration.  Unless the files
15972 and actions are specified as TAGs, all are instantiated by default.
15973
15974 Usage: $0 [OPTION]... [TAG]...
15975
15976   -h, --help       print this help, then exit
15977   -V, --version    print version number and configuration settings, then exit
15978       --config     print configuration, then exit
15979   -q, --quiet, --silent
15980                    do not print progress messages
15981   -d, --debug      don't remove temporary files
15982       --recheck    update $as_me by reconfiguring in the same conditions
15983       --file=FILE[:TEMPLATE]
15984                    instantiate the configuration file FILE
15985       --header=FILE[:TEMPLATE]
15986                    instantiate the configuration header FILE
15987
15988 Configuration files:
15989 $config_files
15990
15991 Configuration headers:
15992 $config_headers
15993
15994 Configuration commands:
15995 $config_commands
15996
15997 Report bugs to the package provider."
15998
15999 _ACEOF
16000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16002 ac_cs_version="\\
16003 config.status
16004 configured by $0, generated by GNU Autoconf 2.68,
16005   with options \\"\$ac_cs_config\\"
16006
16007 Copyright (C) 2010 Free Software Foundation, Inc.
16008 This config.status script is free software; the Free Software Foundation
16009 gives unlimited permission to copy, distribute and modify it."
16010
16011 ac_pwd='$ac_pwd'
16012 srcdir='$srcdir'
16013 INSTALL='$INSTALL'
16014 MKDIR_P='$MKDIR_P'
16015 AWK='$AWK'
16016 test -n "\$AWK" || AWK=awk
16017 _ACEOF
16018
16019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16020 # The default lists apply if the user does not specify any file.
16021 ac_need_defaults=:
16022 while test $# != 0
16023 do
16024   case $1 in
16025   --*=?*)
16026     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16027     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16028     ac_shift=:
16029     ;;
16030   --*=)
16031     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16032     ac_optarg=
16033     ac_shift=:
16034     ;;
16035   *)
16036     ac_option=$1
16037     ac_optarg=$2
16038     ac_shift=shift
16039     ;;
16040   esac
16041
16042   case $ac_option in
16043   # Handling of the options.
16044   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16045     ac_cs_recheck=: ;;
16046   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16047     $as_echo "$ac_cs_version"; exit ;;
16048   --config | --confi | --conf | --con | --co | --c )
16049     $as_echo "$ac_cs_config"; exit ;;
16050   --debug | --debu | --deb | --de | --d | -d )
16051     debug=: ;;
16052   --file | --fil | --fi | --f )
16053     $ac_shift
16054     case $ac_optarg in
16055     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16056     '') as_fn_error $? "missing file argument" ;;
16057     esac
16058     as_fn_append CONFIG_FILES " '$ac_optarg'"
16059     ac_need_defaults=false;;
16060   --header | --heade | --head | --hea )
16061     $ac_shift
16062     case $ac_optarg in
16063     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16064     esac
16065     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16066     ac_need_defaults=false;;
16067   --he | --h)
16068     # Conflict between --help and --header
16069     as_fn_error $? "ambiguous option: \`$1'
16070 Try \`$0 --help' for more information.";;
16071   --help | --hel | -h )
16072     $as_echo "$ac_cs_usage"; exit ;;
16073   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16074   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16075     ac_cs_silent=: ;;
16076
16077   # This is an error.
16078   -*) as_fn_error $? "unrecognized option: \`$1'
16079 Try \`$0 --help' for more information." ;;
16080
16081   *) as_fn_append ac_config_targets " $1"
16082      ac_need_defaults=false ;;
16083
16084   esac
16085   shift
16086 done
16087
16088 ac_configure_extra_args=
16089
16090 if $ac_cs_silent; then
16091   exec 6>/dev/null
16092   ac_configure_extra_args="$ac_configure_extra_args --silent"
16093 fi
16094
16095 _ACEOF
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 if \$ac_cs_recheck; then
16098   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16099   shift
16100   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16101   CONFIG_SHELL='$SHELL'
16102   export CONFIG_SHELL
16103   exec "\$@"
16104 fi
16105
16106 _ACEOF
16107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16108 exec 5>>config.log
16109 {
16110   echo
16111   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16112 ## Running $as_me. ##
16113 _ASBOX
16114   $as_echo "$ac_log"
16115 } >&5
16116
16117 _ACEOF
16118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16119 #
16120 # INIT-COMMANDS
16121 #
16122 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16123
16124
16125 # The HP-UX ksh and POSIX shell print the target directory to stdout
16126 # if CDPATH is set.
16127 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16128
16129 sed_quote_subst='$sed_quote_subst'
16130 double_quote_subst='$double_quote_subst'
16131 delay_variable_subst='$delay_variable_subst'
16132 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16133 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16134 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16135 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16136 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16137 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16138 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16139 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16140 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16141 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16142 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16143 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16144 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16145 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16146 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16147 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16148 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16149 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16150 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16151 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16152 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16153 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16154 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16155 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16156 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16157 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16158 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16159 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16160 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16161 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16162 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16163 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16164 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16165 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16166 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16167 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16168 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16169 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16170 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16171 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16172 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16173 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16174 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16175 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16176 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16177 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16178 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16179 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16180 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16181 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16182 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16183 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16184 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16185 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16186 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16187 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16188 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"`'
16189 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16190 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16191 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16192 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16193 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16194 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16195 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16196 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16197 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16198 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16199 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16200 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16201 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16202 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16203 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16204 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16205 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16206 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16207 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16208 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16209 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16210 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16211 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16212 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16213 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16214 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16215 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16216 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16217 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16218 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16219 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16220 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16221 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16222 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16223 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16224 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16225 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16226 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16227 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16228 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16229 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16230 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16231 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16232 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16233 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16234 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16235 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16236 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16237 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16238 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16239 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16240 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16241 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16242 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16243 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16244 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16245 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16246 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16247 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16248 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16249 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16250 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16251 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16252 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16253 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16254 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16255 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16256 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16257 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16258 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16259 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16260 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16261 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16262 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16263
16264 LTCC='$LTCC'
16265 LTCFLAGS='$LTCFLAGS'
16266 compiler='$compiler_DEFAULT'
16267
16268 # A function that is used when there is no print builtin or printf.
16269 func_fallback_echo ()
16270 {
16271   eval 'cat <<_LTECHO_EOF
16272 \$1
16273 _LTECHO_EOF'
16274 }
16275
16276 # Quote evaled strings.
16277 for var in AS \
16278 DLLTOOL \
16279 OBJDUMP \
16280 SHELL \
16281 ECHO \
16282 SED \
16283 GREP \
16284 EGREP \
16285 FGREP \
16286 LD \
16287 NM \
16288 LN_S \
16289 lt_SP2NL \
16290 lt_NL2SP \
16291 reload_flag \
16292 deplibs_check_method \
16293 file_magic_cmd \
16294 file_magic_glob \
16295 want_nocaseglob \
16296 sharedlib_from_linklib_cmd \
16297 AR \
16298 AR_FLAGS \
16299 archiver_list_spec \
16300 STRIP \
16301 RANLIB \
16302 CC \
16303 CFLAGS \
16304 compiler \
16305 lt_cv_sys_global_symbol_pipe \
16306 lt_cv_sys_global_symbol_to_cdecl \
16307 lt_cv_sys_global_symbol_to_c_name_address \
16308 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16309 nm_file_list_spec \
16310 lt_prog_compiler_no_builtin_flag \
16311 lt_prog_compiler_pic \
16312 lt_prog_compiler_wl \
16313 lt_prog_compiler_static \
16314 lt_cv_prog_compiler_c_o \
16315 need_locks \
16316 MANIFEST_TOOL \
16317 DSYMUTIL \
16318 NMEDIT \
16319 LIPO \
16320 OTOOL \
16321 OTOOL64 \
16322 shrext_cmds \
16323 export_dynamic_flag_spec \
16324 whole_archive_flag_spec \
16325 compiler_needs_object \
16326 with_gnu_ld \
16327 allow_undefined_flag \
16328 no_undefined_flag \
16329 hardcode_libdir_flag_spec \
16330 hardcode_libdir_flag_spec_ld \
16331 hardcode_libdir_separator \
16332 exclude_expsyms \
16333 include_expsyms \
16334 file_list_spec \
16335 variables_saved_for_relink \
16336 libname_spec \
16337 library_names_spec \
16338 soname_spec \
16339 install_override_mode \
16340 finish_eval \
16341 old_striplib \
16342 striplib; do
16343     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16344     *[\\\\\\\`\\"\\\$]*)
16345       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16346       ;;
16347     *)
16348       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16349       ;;
16350     esac
16351 done
16352
16353 # Double-quote double-evaled strings.
16354 for var in reload_cmds \
16355 old_postinstall_cmds \
16356 old_postuninstall_cmds \
16357 old_archive_cmds \
16358 extract_expsyms_cmds \
16359 old_archive_from_new_cmds \
16360 old_archive_from_expsyms_cmds \
16361 archive_cmds \
16362 archive_expsym_cmds \
16363 module_cmds \
16364 module_expsym_cmds \
16365 export_symbols_cmds \
16366 prelink_cmds \
16367 postlink_cmds \
16368 postinstall_cmds \
16369 postuninstall_cmds \
16370 finish_cmds \
16371 sys_lib_search_path_spec \
16372 sys_lib_dlsearch_path_spec; do
16373     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16374     *[\\\\\\\`\\"\\\$]*)
16375       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16376       ;;
16377     *)
16378       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16379       ;;
16380     esac
16381 done
16382
16383 ac_aux_dir='$ac_aux_dir'
16384 xsi_shell='$xsi_shell'
16385 lt_shell_append='$lt_shell_append'
16386
16387 # See if we are running on zsh, and set the options which allow our
16388 # commands through without removal of \ escapes INIT.
16389 if test -n "\${ZSH_VERSION+set}" ; then
16390    setopt NO_GLOB_SUBST
16391 fi
16392
16393
16394     PACKAGE='$PACKAGE'
16395     VERSION='$VERSION'
16396     TIMESTAMP='$TIMESTAMP'
16397     RM='$RM'
16398     ofile='$ofile'
16399
16400
16401
16402
16403 _ACEOF
16404
16405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16406
16407 # Handling of arguments.
16408 for ac_config_target in $ac_config_targets
16409 do
16410   case $ac_config_target in
16411     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16412     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16413     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16414     "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
16415     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16416     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16417     "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
16418     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16419     "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
16420     "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
16421     "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
16422     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
16423     "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
16424     "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
16425     "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
16426     "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
16427     "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
16428     "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
16429     "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
16430
16431   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16432   esac
16433 done
16434
16435
16436 # If the user did not use the arguments to specify the items to instantiate,
16437 # then the envvar interface is used.  Set only those that are not.
16438 # We use the long form for the default assignment because of an extremely
16439 # bizarre bug on SunOS 4.1.3.
16440 if $ac_need_defaults; then
16441   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16442   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16443   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16444 fi
16445
16446 # Have a temporary directory for convenience.  Make it in the build tree
16447 # simply because there is no reason against having it here, and in addition,
16448 # creating and moving files from /tmp can sometimes cause problems.
16449 # Hook for its removal unless debugging.
16450 # Note that there is a small window in which the directory will not be cleaned:
16451 # after its creation but before its name has been assigned to `$tmp'.
16452 $debug ||
16453 {
16454   tmp= ac_tmp=
16455   trap 'exit_status=$?
16456   : "${ac_tmp:=$tmp}"
16457   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16458 ' 0
16459   trap 'as_fn_exit 1' 1 2 13 15
16460 }
16461 # Create a (secure) tmp directory for tmp files.
16462
16463 {
16464   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16465   test -d "$tmp"
16466 }  ||
16467 {
16468   tmp=./conf$$-$RANDOM
16469   (umask 077 && mkdir "$tmp")
16470 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16471 ac_tmp=$tmp
16472
16473 # Set up the scripts for CONFIG_FILES section.
16474 # No need to generate them if there are no CONFIG_FILES.
16475 # This happens for instance with `./config.status config.h'.
16476 if test -n "$CONFIG_FILES"; then
16477
16478
16479 ac_cr=`echo X | tr X '\015'`
16480 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16481 # But we know of no other shell where ac_cr would be empty at this
16482 # point, so we can use a bashism as a fallback.
16483 if test "x$ac_cr" = x; then
16484   eval ac_cr=\$\'\\r\'
16485 fi
16486 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16487 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16488   ac_cs_awk_cr='\\r'
16489 else
16490   ac_cs_awk_cr=$ac_cr
16491 fi
16492
16493 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16494 _ACEOF
16495
16496
16497 {
16498   echo "cat >conf$$subs.awk <<_ACEOF" &&
16499   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16500   echo "_ACEOF"
16501 } >conf$$subs.sh ||
16502   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16503 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16504 ac_delim='%!_!# '
16505 for ac_last_try in false false false false false :; do
16506   . ./conf$$subs.sh ||
16507     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16508
16509   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16510   if test $ac_delim_n = $ac_delim_num; then
16511     break
16512   elif $ac_last_try; then
16513     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16514   else
16515     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16516   fi
16517 done
16518 rm -f conf$$subs.sh
16519
16520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16521 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16522 _ACEOF
16523 sed -n '
16524 h
16525 s/^/S["/; s/!.*/"]=/
16526 p
16527 g
16528 s/^[^!]*!//
16529 :repl
16530 t repl
16531 s/'"$ac_delim"'$//
16532 t delim
16533 :nl
16534 h
16535 s/\(.\{148\}\)..*/\1/
16536 t more1
16537 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16538 p
16539 n
16540 b repl
16541 :more1
16542 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16543 p
16544 g
16545 s/.\{148\}//
16546 t nl
16547 :delim
16548 h
16549 s/\(.\{148\}\)..*/\1/
16550 t more2
16551 s/["\\]/\\&/g; s/^/"/; s/$/"/
16552 p
16553 b
16554 :more2
16555 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16556 p
16557 g
16558 s/.\{148\}//
16559 t delim
16560 ' <conf$$subs.awk | sed '
16561 /^[^""]/{
16562   N
16563   s/\n//
16564 }
16565 ' >>$CONFIG_STATUS || ac_write_fail=1
16566 rm -f conf$$subs.awk
16567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16568 _ACAWK
16569 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16570   for (key in S) S_is_set[key] = 1
16571   FS = "\a"
16572
16573 }
16574 {
16575   line = $ 0
16576   nfields = split(line, field, "@")
16577   substed = 0
16578   len = length(field[1])
16579   for (i = 2; i < nfields; i++) {
16580     key = field[i]
16581     keylen = length(key)
16582     if (S_is_set[key]) {
16583       value = S[key]
16584       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16585       len += length(value) + length(field[++i])
16586       substed = 1
16587     } else
16588       len += 1 + keylen
16589   }
16590
16591   print line
16592 }
16593
16594 _ACAWK
16595 _ACEOF
16596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16597 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16598   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16599 else
16600   cat
16601 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16602   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16603 _ACEOF
16604
16605 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16606 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16607 # trailing colons and then remove the whole line if VPATH becomes empty
16608 # (actually we leave an empty line to preserve line numbers).
16609 if test "x$srcdir" = x.; then
16610   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16611 h
16612 s///
16613 s/^/:/
16614 s/[      ]*$/:/
16615 s/:\$(srcdir):/:/g
16616 s/:\${srcdir}:/:/g
16617 s/:@srcdir@:/:/g
16618 s/^:*//
16619 s/:*$//
16620 x
16621 s/\(=[   ]*\).*/\1/
16622 G
16623 s/\n//
16624 s/^[^=]*=[       ]*$//
16625 }'
16626 fi
16627
16628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16629 fi # test -n "$CONFIG_FILES"
16630
16631 # Set up the scripts for CONFIG_HEADERS section.
16632 # No need to generate them if there are no CONFIG_HEADERS.
16633 # This happens for instance with `./config.status Makefile'.
16634 if test -n "$CONFIG_HEADERS"; then
16635 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16636 BEGIN {
16637 _ACEOF
16638
16639 # Transform confdefs.h into an awk script `defines.awk', embedded as
16640 # here-document in config.status, that substitutes the proper values into
16641 # config.h.in to produce config.h.
16642
16643 # Create a delimiter string that does not exist in confdefs.h, to ease
16644 # handling of long lines.
16645 ac_delim='%!_!# '
16646 for ac_last_try in false false :; do
16647   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16648   if test -z "$ac_tt"; then
16649     break
16650   elif $ac_last_try; then
16651     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16652   else
16653     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16654   fi
16655 done
16656
16657 # For the awk script, D is an array of macro values keyed by name,
16658 # likewise P contains macro parameters if any.  Preserve backslash
16659 # newline sequences.
16660
16661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16662 sed -n '
16663 s/.\{148\}/&'"$ac_delim"'/g
16664 t rset
16665 :rset
16666 s/^[     ]*#[    ]*define[       ][      ]*/ /
16667 t def
16668 d
16669 :def
16670 s/\\$//
16671 t bsnl
16672 s/["\\]/\\&/g
16673 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16674 D["\1"]=" \3"/p
16675 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16676 d
16677 :bsnl
16678 s/["\\]/\\&/g
16679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16680 D["\1"]=" \3\\\\\\n"\\/p
16681 t cont
16682 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16683 t cont
16684 d
16685 :cont
16686 n
16687 s/.\{148\}/&'"$ac_delim"'/g
16688 t clear
16689 :clear
16690 s/\\$//
16691 t bsnlc
16692 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16693 d
16694 :bsnlc
16695 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16696 b cont
16697 ' <confdefs.h | sed '
16698 s/'"$ac_delim"'/"\\\
16699 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16700
16701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16702   for (key in D) D_is_set[key] = 1
16703   FS = "\a"
16704 }
16705 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16706   line = \$ 0
16707   split(line, arg, " ")
16708   if (arg[1] == "#") {
16709     defundef = arg[2]
16710     mac1 = arg[3]
16711   } else {
16712     defundef = substr(arg[1], 2)
16713     mac1 = arg[2]
16714   }
16715   split(mac1, mac2, "(") #)
16716   macro = mac2[1]
16717   prefix = substr(line, 1, index(line, defundef) - 1)
16718   if (D_is_set[macro]) {
16719     # Preserve the white space surrounding the "#".
16720     print prefix "define", macro P[macro] D[macro]
16721     next
16722   } else {
16723     # Replace #undef with comments.  This is necessary, for example,
16724     # in the case of _POSIX_SOURCE, which is predefined and required
16725     # on some systems where configure will not decide to define it.
16726     if (defundef == "undef") {
16727       print "/*", prefix defundef, macro, "*/"
16728       next
16729     }
16730   }
16731 }
16732 { print }
16733 _ACAWK
16734 _ACEOF
16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16736   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16737 fi # test -n "$CONFIG_HEADERS"
16738
16739
16740 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16741 shift
16742 for ac_tag
16743 do
16744   case $ac_tag in
16745   :[FHLC]) ac_mode=$ac_tag; continue;;
16746   esac
16747   case $ac_mode$ac_tag in
16748   :[FHL]*:*);;
16749   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16750   :[FH]-) ac_tag=-:-;;
16751   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16752   esac
16753   ac_save_IFS=$IFS
16754   IFS=:
16755   set x $ac_tag
16756   IFS=$ac_save_IFS
16757   shift
16758   ac_file=$1
16759   shift
16760
16761   case $ac_mode in
16762   :L) ac_source=$1;;
16763   :[FH])
16764     ac_file_inputs=
16765     for ac_f
16766     do
16767       case $ac_f in
16768       -) ac_f="$ac_tmp/stdin";;
16769       *) # Look for the file first in the build tree, then in the source tree
16770          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16771          # because $ac_f cannot contain `:'.
16772          test -f "$ac_f" ||
16773            case $ac_f in
16774            [\\/$]*) false;;
16775            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16776            esac ||
16777            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16778       esac
16779       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16780       as_fn_append ac_file_inputs " '$ac_f'"
16781     done
16782
16783     # Let's still pretend it is `configure' which instantiates (i.e., don't
16784     # use $as_me), people would be surprised to read:
16785     #    /* config.h.  Generated by config.status.  */
16786     configure_input='Generated from '`
16787           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16788         `' by configure.'
16789     if test x"$ac_file" != x-; then
16790       configure_input="$ac_file.  $configure_input"
16791       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16792 $as_echo "$as_me: creating $ac_file" >&6;}
16793     fi
16794     # Neutralize special characters interpreted by sed in replacement strings.
16795     case $configure_input in #(
16796     *\&* | *\|* | *\\* )
16797        ac_sed_conf_input=`$as_echo "$configure_input" |
16798        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16799     *) ac_sed_conf_input=$configure_input;;
16800     esac
16801
16802     case $ac_tag in
16803     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16804       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16805     esac
16806     ;;
16807   esac
16808
16809   ac_dir=`$as_dirname -- "$ac_file" ||
16810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16811          X"$ac_file" : 'X\(//\)[^/]' \| \
16812          X"$ac_file" : 'X\(//\)$' \| \
16813          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16814 $as_echo X"$ac_file" |
16815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16816             s//\1/
16817             q
16818           }
16819           /^X\(\/\/\)[^/].*/{
16820             s//\1/
16821             q
16822           }
16823           /^X\(\/\/\)$/{
16824             s//\1/
16825             q
16826           }
16827           /^X\(\/\).*/{
16828             s//\1/
16829             q
16830           }
16831           s/.*/./; q'`
16832   as_dir="$ac_dir"; as_fn_mkdir_p
16833   ac_builddir=.
16834
16835 case "$ac_dir" in
16836 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16837 *)
16838   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16839   # A ".." for each directory in $ac_dir_suffix.
16840   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16841   case $ac_top_builddir_sub in
16842   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16843   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16844   esac ;;
16845 esac
16846 ac_abs_top_builddir=$ac_pwd
16847 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16848 # for backward compatibility:
16849 ac_top_builddir=$ac_top_build_prefix
16850
16851 case $srcdir in
16852   .)  # We are building in place.
16853     ac_srcdir=.
16854     ac_top_srcdir=$ac_top_builddir_sub
16855     ac_abs_top_srcdir=$ac_pwd ;;
16856   [\\/]* | ?:[\\/]* )  # Absolute name.
16857     ac_srcdir=$srcdir$ac_dir_suffix;
16858     ac_top_srcdir=$srcdir
16859     ac_abs_top_srcdir=$srcdir ;;
16860   *) # Relative name.
16861     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16862     ac_top_srcdir=$ac_top_build_prefix$srcdir
16863     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16864 esac
16865 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16866
16867
16868   case $ac_mode in
16869   :F)
16870   #
16871   # CONFIG_FILE
16872   #
16873
16874   case $INSTALL in
16875   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16876   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16877   esac
16878   ac_MKDIR_P=$MKDIR_P
16879   case $MKDIR_P in
16880   [\\/$]* | ?:[\\/]* ) ;;
16881   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16882   esac
16883 _ACEOF
16884
16885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16886 # If the template does not know about datarootdir, expand it.
16887 # FIXME: This hack should be removed a few years after 2.60.
16888 ac_datarootdir_hack=; ac_datarootdir_seen=
16889 ac_sed_dataroot='
16890 /datarootdir/ {
16891   p
16892   q
16893 }
16894 /@datadir@/p
16895 /@docdir@/p
16896 /@infodir@/p
16897 /@localedir@/p
16898 /@mandir@/p'
16899 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16900 *datarootdir*) ac_datarootdir_seen=yes;;
16901 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16902   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16903 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16904 _ACEOF
16905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16906   ac_datarootdir_hack='
16907   s&@datadir@&$datadir&g
16908   s&@docdir@&$docdir&g
16909   s&@infodir@&$infodir&g
16910   s&@localedir@&$localedir&g
16911   s&@mandir@&$mandir&g
16912   s&\\\${datarootdir}&$datarootdir&g' ;;
16913 esac
16914 _ACEOF
16915
16916 # Neutralize VPATH when `$srcdir' = `.'.
16917 # Shell code in configure.ac might set extrasub.
16918 # FIXME: do we really want to maintain this feature?
16919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16920 ac_sed_extra="$ac_vpsub
16921 $extrasub
16922 _ACEOF
16923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16924 :t
16925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16926 s|@configure_input@|$ac_sed_conf_input|;t t
16927 s&@top_builddir@&$ac_top_builddir_sub&;t t
16928 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16929 s&@srcdir@&$ac_srcdir&;t t
16930 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16931 s&@top_srcdir@&$ac_top_srcdir&;t t
16932 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16933 s&@builddir@&$ac_builddir&;t t
16934 s&@abs_builddir@&$ac_abs_builddir&;t t
16935 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16936 s&@INSTALL@&$ac_INSTALL&;t t
16937 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16938 $ac_datarootdir_hack
16939 "
16940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16941   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16942
16943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16944   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16945   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16946       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16947   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16948 which seems to be undefined.  Please make sure it is defined" >&5
16949 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16950 which seems to be undefined.  Please make sure it is defined" >&2;}
16951
16952   rm -f "$ac_tmp/stdin"
16953   case $ac_file in
16954   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16955   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16956   esac \
16957   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16958  ;;
16959   :H)
16960   #
16961   # CONFIG_HEADER
16962   #
16963   if test x"$ac_file" != x-; then
16964     {
16965       $as_echo "/* $configure_input  */" \
16966       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16967     } >"$ac_tmp/config.h" \
16968       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16969     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16970       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16971 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16972     else
16973       rm -f "$ac_file"
16974       mv "$ac_tmp/config.h" "$ac_file" \
16975         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16976     fi
16977   else
16978     $as_echo "/* $configure_input  */" \
16979       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16980       || as_fn_error $? "could not create -" "$LINENO" 5
16981   fi
16982 # Compute "$ac_file"'s index in $config_headers.
16983 _am_arg="$ac_file"
16984 _am_stamp_count=1
16985 for _am_header in $config_headers :; do
16986   case $_am_header in
16987     $_am_arg | $_am_arg:* )
16988       break ;;
16989     * )
16990       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16991   esac
16992 done
16993 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16994 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16995          X"$_am_arg" : 'X\(//\)[^/]' \| \
16996          X"$_am_arg" : 'X\(//\)$' \| \
16997          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16998 $as_echo X"$_am_arg" |
16999     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17000             s//\1/
17001             q
17002           }
17003           /^X\(\/\/\)[^/].*/{
17004             s//\1/
17005             q
17006           }
17007           /^X\(\/\/\)$/{
17008             s//\1/
17009             q
17010           }
17011           /^X\(\/\).*/{
17012             s//\1/
17013             q
17014           }
17015           s/.*/./; q'`/stamp-h$_am_stamp_count
17016  ;;
17017
17018   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17019 $as_echo "$as_me: executing $ac_file commands" >&6;}
17020  ;;
17021   esac
17022
17023
17024   case $ac_file$ac_mode in
17025     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17026   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17027   # are listed without --file.  Let's play safe and only enable the eval
17028   # if we detect the quoting.
17029   case $CONFIG_FILES in
17030   *\'*) eval set x "$CONFIG_FILES" ;;
17031   *)   set x $CONFIG_FILES ;;
17032   esac
17033   shift
17034   for mf
17035   do
17036     # Strip MF so we end up with the name of the file.
17037     mf=`echo "$mf" | sed -e 's/:.*$//'`
17038     # Check whether this is an Automake generated Makefile or not.
17039     # We used to match only the files named `Makefile.in', but
17040     # some people rename them; so instead we look at the file content.
17041     # Grep'ing the first line is not enough: some people post-process
17042     # each Makefile.in and add a new line on top of each file to say so.
17043     # Grep'ing the whole file is not good either: AIX grep has a line
17044     # limit of 2048, but all sed's we know have understand at least 4000.
17045     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17046       dirpart=`$as_dirname -- "$mf" ||
17047 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17048          X"$mf" : 'X\(//\)[^/]' \| \
17049          X"$mf" : 'X\(//\)$' \| \
17050          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17051 $as_echo X"$mf" |
17052     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17053             s//\1/
17054             q
17055           }
17056           /^X\(\/\/\)[^/].*/{
17057             s//\1/
17058             q
17059           }
17060           /^X\(\/\/\)$/{
17061             s//\1/
17062             q
17063           }
17064           /^X\(\/\).*/{
17065             s//\1/
17066             q
17067           }
17068           s/.*/./; q'`
17069     else
17070       continue
17071     fi
17072     # Extract the definition of DEPDIR, am__include, and am__quote
17073     # from the Makefile without running `make'.
17074     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17075     test -z "$DEPDIR" && continue
17076     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17077     test -z "am__include" && continue
17078     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17079     # When using ansi2knr, U may be empty or an underscore; expand it
17080     U=`sed -n 's/^U = //p' < "$mf"`
17081     # Find all dependency output files, they are included files with
17082     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17083     # simplest approach to changing $(DEPDIR) to its actual value in the
17084     # expansion.
17085     for file in `sed -n "
17086       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17087          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17088       # Make sure the directory exists.
17089       test -f "$dirpart/$file" && continue
17090       fdir=`$as_dirname -- "$file" ||
17091 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17092          X"$file" : 'X\(//\)[^/]' \| \
17093          X"$file" : 'X\(//\)$' \| \
17094          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17095 $as_echo X"$file" |
17096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17097             s//\1/
17098             q
17099           }
17100           /^X\(\/\/\)[^/].*/{
17101             s//\1/
17102             q
17103           }
17104           /^X\(\/\/\)$/{
17105             s//\1/
17106             q
17107           }
17108           /^X\(\/\).*/{
17109             s//\1/
17110             q
17111           }
17112           s/.*/./; q'`
17113       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17114       # echo "creating $dirpart/$file"
17115       echo '# dummy' > "$dirpart/$file"
17116     done
17117   done
17118 }
17119  ;;
17120     "libtool":C)
17121
17122     # See if we are running on zsh, and set the options which allow our
17123     # commands through without removal of \ escapes.
17124     if test -n "${ZSH_VERSION+set}" ; then
17125       setopt NO_GLOB_SUBST
17126     fi
17127
17128     cfgfile="${ofile}T"
17129     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17130     $RM "$cfgfile"
17131
17132     cat <<_LT_EOF >> "$cfgfile"
17133 #! $SHELL
17134
17135 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17136 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17137 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17138 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17139 #
17140 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17141 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17142 #                 Inc.
17143 #   Written by Gordon Matzigkeit, 1996
17144 #
17145 #   This file is part of GNU Libtool.
17146 #
17147 # GNU Libtool is free software; you can redistribute it and/or
17148 # modify it under the terms of the GNU General Public License as
17149 # published by the Free Software Foundation; either version 2 of
17150 # the License, or (at your option) any later version.
17151 #
17152 # As a special exception to the GNU General Public License,
17153 # if you distribute this file as part of a program or library that
17154 # is built using GNU Libtool, you may include this file under the
17155 # same distribution terms that you use for the rest of that program.
17156 #
17157 # GNU Libtool is distributed in the hope that it will be useful,
17158 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17159 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17160 # GNU General Public License for more details.
17161 #
17162 # You should have received a copy of the GNU General Public License
17163 # along with GNU Libtool; see the file COPYING.  If not, a copy
17164 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17165 # obtained by writing to the Free Software Foundation, Inc.,
17166 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17167
17168
17169 # The names of the tagged configurations supported by this script.
17170 available_tags=""
17171
17172 # ### BEGIN LIBTOOL CONFIG
17173
17174 # Assembler program.
17175 AS=$lt_AS
17176
17177 # DLL creation program.
17178 DLLTOOL=$lt_DLLTOOL
17179
17180 # Object dumper program.
17181 OBJDUMP=$lt_OBJDUMP
17182
17183 # Which release of libtool.m4 was used?
17184 macro_version=$macro_version
17185 macro_revision=$macro_revision
17186
17187 # Whether or not to build shared libraries.
17188 build_libtool_libs=$enable_shared
17189
17190 # Whether or not to build static libraries.
17191 build_old_libs=$enable_static
17192
17193 # What type of objects to build.
17194 pic_mode=$pic_mode
17195
17196 # Whether or not to optimize for fast installation.
17197 fast_install=$enable_fast_install
17198
17199 # Shell to use when invoking shell scripts.
17200 SHELL=$lt_SHELL
17201
17202 # An echo program that protects backslashes.
17203 ECHO=$lt_ECHO
17204
17205 # The host system.
17206 host_alias=$host_alias
17207 host=$host
17208 host_os=$host_os
17209
17210 # The build system.
17211 build_alias=$build_alias
17212 build=$build
17213 build_os=$build_os
17214
17215 # A sed program that does not truncate output.
17216 SED=$lt_SED
17217
17218 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17219 Xsed="\$SED -e 1s/^X//"
17220
17221 # A grep program that handles long lines.
17222 GREP=$lt_GREP
17223
17224 # An ERE matcher.
17225 EGREP=$lt_EGREP
17226
17227 # A literal string matcher.
17228 FGREP=$lt_FGREP
17229
17230 # A BSD- or MS-compatible name lister.
17231 NM=$lt_NM
17232
17233 # Whether we need soft or hard links.
17234 LN_S=$lt_LN_S
17235
17236 # What is the maximum length of a command?
17237 max_cmd_len=$max_cmd_len
17238
17239 # Object file suffix (normally "o").
17240 objext=$ac_objext
17241
17242 # Executable file suffix (normally "").
17243 exeext=$exeext
17244
17245 # whether the shell understands "unset".
17246 lt_unset=$lt_unset
17247
17248 # turn spaces into newlines.
17249 SP2NL=$lt_lt_SP2NL
17250
17251 # turn newlines into spaces.
17252 NL2SP=$lt_lt_NL2SP
17253
17254 # convert \$build file names to \$host format.
17255 to_host_file_cmd=$lt_cv_to_host_file_cmd
17256
17257 # convert \$build files to toolchain format.
17258 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17259
17260 # Method to check whether dependent libraries are shared objects.
17261 deplibs_check_method=$lt_deplibs_check_method
17262
17263 # Command to use when deplibs_check_method = "file_magic".
17264 file_magic_cmd=$lt_file_magic_cmd
17265
17266 # How to find potential files when deplibs_check_method = "file_magic".
17267 file_magic_glob=$lt_file_magic_glob
17268
17269 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17270 want_nocaseglob=$lt_want_nocaseglob
17271
17272 # Command to associate shared and link libraries.
17273 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17274
17275 # The archiver.
17276 AR=$lt_AR
17277
17278 # Flags to create an archive.
17279 AR_FLAGS=$lt_AR_FLAGS
17280
17281 # How to feed a file listing to the archiver.
17282 archiver_list_spec=$lt_archiver_list_spec
17283
17284 # A symbol stripping program.
17285 STRIP=$lt_STRIP
17286
17287 # Commands used to install an old-style archive.
17288 RANLIB=$lt_RANLIB
17289 old_postinstall_cmds=$lt_old_postinstall_cmds
17290 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17291
17292 # Whether to use a lock for old archive extraction.
17293 lock_old_archive_extraction=$lock_old_archive_extraction
17294
17295 # A C compiler.
17296 LTCC=$lt_CC
17297
17298 # LTCC compiler flags.
17299 LTCFLAGS=$lt_CFLAGS
17300
17301 # Take the output of nm and produce a listing of raw symbols and C names.
17302 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17303
17304 # Transform the output of nm in a proper C declaration.
17305 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17306
17307 # Transform the output of nm in a C name address pair.
17308 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17309
17310 # Transform the output of nm in a C name address pair when lib prefix is needed.
17311 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17312
17313 # Specify filename containing input files for \$NM.
17314 nm_file_list_spec=$lt_nm_file_list_spec
17315
17316 # The root where to search for dependent libraries,and in which our libraries should be installed.
17317 lt_sysroot=$lt_sysroot
17318
17319 # The name of the directory that contains temporary libtool files.
17320 objdir=$objdir
17321
17322 # Used to examine libraries when file_magic_cmd begins with "file".
17323 MAGIC_CMD=$MAGIC_CMD
17324
17325 # Must we lock files when doing compilation?
17326 need_locks=$lt_need_locks
17327
17328 # Manifest tool.
17329 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17330
17331 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17332 DSYMUTIL=$lt_DSYMUTIL
17333
17334 # Tool to change global to local symbols on Mac OS X.
17335 NMEDIT=$lt_NMEDIT
17336
17337 # Tool to manipulate fat objects and archives on Mac OS X.
17338 LIPO=$lt_LIPO
17339
17340 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17341 OTOOL=$lt_OTOOL
17342
17343 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17344 OTOOL64=$lt_OTOOL64
17345
17346 # Old archive suffix (normally "a").
17347 libext=$libext
17348
17349 # Shared library suffix (normally ".so").
17350 shrext_cmds=$lt_shrext_cmds
17351
17352 # The commands to extract the exported symbol list from a shared archive.
17353 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17354
17355 # Variables whose values should be saved in libtool wrapper scripts and
17356 # restored at link time.
17357 variables_saved_for_relink=$lt_variables_saved_for_relink
17358
17359 # Do we need the "lib" prefix for modules?
17360 need_lib_prefix=$need_lib_prefix
17361
17362 # Do we need a version for libraries?
17363 need_version=$need_version
17364
17365 # Library versioning type.
17366 version_type=$version_type
17367
17368 # Shared library runtime path variable.
17369 runpath_var=$runpath_var
17370
17371 # Shared library path variable.
17372 shlibpath_var=$shlibpath_var
17373
17374 # Is shlibpath searched before the hard-coded library search path?
17375 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17376
17377 # Format of library name prefix.
17378 libname_spec=$lt_libname_spec
17379
17380 # List of archive names.  First name is the real one, the rest are links.
17381 # The last name is the one that the linker finds with -lNAME
17382 library_names_spec=$lt_library_names_spec
17383
17384 # The coded name of the library, if different from the real name.
17385 soname_spec=$lt_soname_spec
17386
17387 # Permission mode override for installation of shared libraries.
17388 install_override_mode=$lt_install_override_mode
17389
17390 # Command to use after installation of a shared archive.
17391 postinstall_cmds=$lt_postinstall_cmds
17392
17393 # Command to use after uninstallation of a shared archive.
17394 postuninstall_cmds=$lt_postuninstall_cmds
17395
17396 # Commands used to finish a libtool library installation in a directory.
17397 finish_cmds=$lt_finish_cmds
17398
17399 # As "finish_cmds", except a single script fragment to be evaled but
17400 # not shown.
17401 finish_eval=$lt_finish_eval
17402
17403 # Whether we should hardcode library paths into libraries.
17404 hardcode_into_libs=$hardcode_into_libs
17405
17406 # Compile-time system search path for libraries.
17407 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17408
17409 # Run-time system search path for libraries.
17410 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17411
17412 # Whether dlopen is supported.
17413 dlopen_support=$enable_dlopen
17414
17415 # Whether dlopen of programs is supported.
17416 dlopen_self=$enable_dlopen_self
17417
17418 # Whether dlopen of statically linked programs is supported.
17419 dlopen_self_static=$enable_dlopen_self_static
17420
17421 # Commands to strip libraries.
17422 old_striplib=$lt_old_striplib
17423 striplib=$lt_striplib
17424
17425
17426 # The linker used to build libraries.
17427 LD=$lt_LD
17428
17429 # How to create reloadable object files.
17430 reload_flag=$lt_reload_flag
17431 reload_cmds=$lt_reload_cmds
17432
17433 # Commands used to build an old-style archive.
17434 old_archive_cmds=$lt_old_archive_cmds
17435
17436 # A language specific compiler.
17437 CC=$lt_compiler
17438
17439 # Is the compiler the GNU compiler?
17440 with_gcc=$GCC
17441
17442 # Compiler flag to turn off builtin functions.
17443 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17444
17445 # Additional compiler flags for building library objects.
17446 pic_flag=$lt_lt_prog_compiler_pic
17447
17448 # How to pass a linker flag through the compiler.
17449 wl=$lt_lt_prog_compiler_wl
17450
17451 # Compiler flag to prevent dynamic linking.
17452 link_static_flag=$lt_lt_prog_compiler_static
17453
17454 # Does compiler simultaneously support -c and -o options?
17455 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17456
17457 # Whether or not to add -lc for building shared libraries.
17458 build_libtool_need_lc=$archive_cmds_need_lc
17459
17460 # Whether or not to disallow shared libs when runtime libs are static.
17461 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17462
17463 # Compiler flag to allow reflexive dlopens.
17464 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17465
17466 # Compiler flag to generate shared objects directly from archives.
17467 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17468
17469 # Whether the compiler copes with passing no objects directly.
17470 compiler_needs_object=$lt_compiler_needs_object
17471
17472 # Create an old-style archive from a shared archive.
17473 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17474
17475 # Create a temporary old-style archive to link instead of a shared archive.
17476 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17477
17478 # Commands used to build a shared archive.
17479 archive_cmds=$lt_archive_cmds
17480 archive_expsym_cmds=$lt_archive_expsym_cmds
17481
17482 # Commands used to build a loadable module if different from building
17483 # a shared archive.
17484 module_cmds=$lt_module_cmds
17485 module_expsym_cmds=$lt_module_expsym_cmds
17486
17487 # Whether we are building with GNU ld or not.
17488 with_gnu_ld=$lt_with_gnu_ld
17489
17490 # Flag that allows shared libraries with undefined symbols to be built.
17491 allow_undefined_flag=$lt_allow_undefined_flag
17492
17493 # Flag that enforces no undefined symbols.
17494 no_undefined_flag=$lt_no_undefined_flag
17495
17496 # Flag to hardcode \$libdir into a binary during linking.
17497 # This must work even if \$libdir does not exist
17498 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17499
17500 # If ld is used when linking, flag to hardcode \$libdir into a binary
17501 # during linking.  This must work even if \$libdir does not exist.
17502 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17503
17504 # Whether we need a single "-rpath" flag with a separated argument.
17505 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17506
17507 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17508 # DIR into the resulting binary.
17509 hardcode_direct=$hardcode_direct
17510
17511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17512 # DIR into the resulting binary and the resulting library dependency is
17513 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17514 # library is relocated.
17515 hardcode_direct_absolute=$hardcode_direct_absolute
17516
17517 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17518 # into the resulting binary.
17519 hardcode_minus_L=$hardcode_minus_L
17520
17521 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17522 # into the resulting binary.
17523 hardcode_shlibpath_var=$hardcode_shlibpath_var
17524
17525 # Set to "yes" if building a shared library automatically hardcodes DIR
17526 # into the library and all subsequent libraries and executables linked
17527 # against it.
17528 hardcode_automatic=$hardcode_automatic
17529
17530 # Set to yes if linker adds runtime paths of dependent libraries
17531 # to runtime path list.
17532 inherit_rpath=$inherit_rpath
17533
17534 # Whether libtool must link a program against all its dependency libraries.
17535 link_all_deplibs=$link_all_deplibs
17536
17537 # Set to "yes" if exported symbols are required.
17538 always_export_symbols=$always_export_symbols
17539
17540 # The commands to list exported symbols.
17541 export_symbols_cmds=$lt_export_symbols_cmds
17542
17543 # Symbols that should not be listed in the preloaded symbols.
17544 exclude_expsyms=$lt_exclude_expsyms
17545
17546 # Symbols that must always be exported.
17547 include_expsyms=$lt_include_expsyms
17548
17549 # Commands necessary for linking programs (against libraries) with templates.
17550 prelink_cmds=$lt_prelink_cmds
17551
17552 # Commands necessary for finishing linking programs.
17553 postlink_cmds=$lt_postlink_cmds
17554
17555 # Specify filename containing input files.
17556 file_list_spec=$lt_file_list_spec
17557
17558 # How to hardcode a shared library path into an executable.
17559 hardcode_action=$hardcode_action
17560
17561 # ### END LIBTOOL CONFIG
17562
17563 _LT_EOF
17564
17565   case $host_os in
17566   aix3*)
17567     cat <<\_LT_EOF >> "$cfgfile"
17568 # AIX sometimes has problems with the GCC collect2 program.  For some
17569 # reason, if we set the COLLECT_NAMES environment variable, the problems
17570 # vanish in a puff of smoke.
17571 if test "X${COLLECT_NAMES+set}" != Xset; then
17572   COLLECT_NAMES=
17573   export COLLECT_NAMES
17574 fi
17575 _LT_EOF
17576     ;;
17577   esac
17578
17579
17580 ltmain="$ac_aux_dir/ltmain.sh"
17581
17582
17583   # We use sed instead of cat because bash on DJGPP gets confused if
17584   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17585   # text mode, it properly converts lines to CR/LF.  This bash problem
17586   # is reportedly fixed, but why not run on old versions too?
17587   sed '$q' "$ltmain" >> "$cfgfile" \
17588      || (rm -f "$cfgfile"; exit 1)
17589
17590   if test x"$xsi_shell" = xyes; then
17591   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17592 func_dirname ()\
17593 {\
17594 \    case ${1} in\
17595 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17596 \      *  ) func_dirname_result="${3}" ;;\
17597 \    esac\
17598 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17599   && mv -f "$cfgfile.tmp" "$cfgfile" \
17600     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17601 test 0 -eq $? || _lt_function_replace_fail=:
17602
17603
17604   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17605 func_basename ()\
17606 {\
17607 \    func_basename_result="${1##*/}"\
17608 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17609   && mv -f "$cfgfile.tmp" "$cfgfile" \
17610     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17611 test 0 -eq $? || _lt_function_replace_fail=:
17612
17613
17614   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17615 func_dirname_and_basename ()\
17616 {\
17617 \    case ${1} in\
17618 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17619 \      *  ) func_dirname_result="${3}" ;;\
17620 \    esac\
17621 \    func_basename_result="${1##*/}"\
17622 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17623   && mv -f "$cfgfile.tmp" "$cfgfile" \
17624     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17625 test 0 -eq $? || _lt_function_replace_fail=:
17626
17627
17628   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17629 func_stripname ()\
17630 {\
17631 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17632 \    # positional parameters, so assign one to ordinary parameter first.\
17633 \    func_stripname_result=${3}\
17634 \    func_stripname_result=${func_stripname_result#"${1}"}\
17635 \    func_stripname_result=${func_stripname_result%"${2}"}\
17636 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17637   && mv -f "$cfgfile.tmp" "$cfgfile" \
17638     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17639 test 0 -eq $? || _lt_function_replace_fail=:
17640
17641
17642   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17643 func_split_long_opt ()\
17644 {\
17645 \    func_split_long_opt_name=${1%%=*}\
17646 \    func_split_long_opt_arg=${1#*=}\
17647 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17648   && mv -f "$cfgfile.tmp" "$cfgfile" \
17649     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17650 test 0 -eq $? || _lt_function_replace_fail=:
17651
17652
17653   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17654 func_split_short_opt ()\
17655 {\
17656 \    func_split_short_opt_arg=${1#??}\
17657 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17658 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17659   && mv -f "$cfgfile.tmp" "$cfgfile" \
17660     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17661 test 0 -eq $? || _lt_function_replace_fail=:
17662
17663
17664   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17665 func_lo2o ()\
17666 {\
17667 \    case ${1} in\
17668 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17669 \      *)    func_lo2o_result=${1} ;;\
17670 \    esac\
17671 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17672   && mv -f "$cfgfile.tmp" "$cfgfile" \
17673     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17674 test 0 -eq $? || _lt_function_replace_fail=:
17675
17676
17677   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17678 func_xform ()\
17679 {\
17680     func_xform_result=${1%.*}.lo\
17681 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17682   && mv -f "$cfgfile.tmp" "$cfgfile" \
17683     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17684 test 0 -eq $? || _lt_function_replace_fail=:
17685
17686
17687   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17688 func_arith ()\
17689 {\
17690     func_arith_result=$(( $* ))\
17691 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17692   && mv -f "$cfgfile.tmp" "$cfgfile" \
17693     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17694 test 0 -eq $? || _lt_function_replace_fail=:
17695
17696
17697   sed -e '/^func_len ()$/,/^} # func_len /c\
17698 func_len ()\
17699 {\
17700     func_len_result=${#1}\
17701 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17702   && mv -f "$cfgfile.tmp" "$cfgfile" \
17703     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17704 test 0 -eq $? || _lt_function_replace_fail=:
17705
17706 fi
17707
17708 if test x"$lt_shell_append" = xyes; then
17709   sed -e '/^func_append ()$/,/^} # func_append /c\
17710 func_append ()\
17711 {\
17712     eval "${1}+=\\${2}"\
17713 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17714   && mv -f "$cfgfile.tmp" "$cfgfile" \
17715     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17716 test 0 -eq $? || _lt_function_replace_fail=:
17717
17718
17719   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17720 func_append_quoted ()\
17721 {\
17722 \    func_quote_for_eval "${2}"\
17723 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17724 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17725   && mv -f "$cfgfile.tmp" "$cfgfile" \
17726     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17727 test 0 -eq $? || _lt_function_replace_fail=:
17728
17729
17730   # Save a `func_append' function call where possible by direct use of '+='
17731   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17732     && mv -f "$cfgfile.tmp" "$cfgfile" \
17733       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17734   test 0 -eq $? || _lt_function_replace_fail=:
17735 else
17736   # Save a `func_append' function call even when '+=' is not available
17737   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17738     && mv -f "$cfgfile.tmp" "$cfgfile" \
17739       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17740   test 0 -eq $? || _lt_function_replace_fail=:
17741 fi
17742
17743 if test x"$_lt_function_replace_fail" = x":"; then
17744   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17745 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17746 fi
17747
17748
17749    mv -f "$cfgfile" "$ofile" ||
17750     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17751   chmod +x "$ofile"
17752
17753  ;;
17754
17755   esac
17756 done # for ac_tag
17757
17758
17759 as_fn_exit 0
17760 _ACEOF
17761 ac_clean_files=$ac_clean_files_save
17762
17763 test $ac_write_fail = 0 ||
17764   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17765
17766
17767 # configure is writing to config.log, and then calls config.status.
17768 # config.status does its own redirection, appending to config.log.
17769 # Unfortunately, on DOS this fails, as config.log is still kept open
17770 # by configure, so config.status won't be able to write to it; its
17771 # output is simply discarded.  So we exec the FD to /dev/null,
17772 # effectively closing config.log, so it can be properly (re)opened and
17773 # appended to by config.status.  When coming back to configure, we
17774 # need to make the FD available again.
17775 if test "$no_create" != yes; then
17776   ac_cs_success=:
17777   ac_config_status_args=
17778   test "$silent" = yes &&
17779     ac_config_status_args="$ac_config_status_args --quiet"
17780   exec 5>/dev/null
17781   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17782   exec 5>>config.log
17783   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17784   # would make configure fail if this is the last instruction.
17785   $ac_cs_success || as_fn_exit 1
17786 fi
17787 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17788   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17789 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17790 fi
17791
17792
17793 chmod +x xml2-config python/setup.py
17794 echo Done configuring