Initialize the gmime for upstream
[platform/upstream/gmime.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gmime 2.6.15.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gmime>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gmime
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='gmime'
573 PACKAGE_TARNAME='gmime'
574 PACKAGE_VERSION='2.6.15'
575 PACKAGE_STRING='gmime 2.6.15'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gmime'
577 PACKAGE_URL=''
578
579 ac_unique_file="README"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_header_list=
617 ac_subst_vars='am__EXEEXT_FALSE
618 am__EXEEXT_TRUE
619 LTLIBOBJS
620 LIBOBJS
621 GMIME_LIBS
622 GMIME_CFLAGS
623 GMIME_LIBS_PRIVATE
624 GMIME_INCLUDEDIR
625 GMIME_LIBDIR
626 gacdir
627 API_VERSION
628 GAPI_PARSER
629 GAPI_FIXUP
630 GAPI_CODEGEN
631 GAPI_TOOLS_LIBS
632 GAPI_TOOLS_CFLAGS
633 GLIB_SHARP_LIBS
634 GLIB_SHARP_CFLAGS
635 GACUTIL
636 ENABLE_MONO_FALSE
637 ENABLE_MONO_TRUE
638 CSC
639 GPGME_PTHREAD_LIBS
640 GPGME_PTHREAD_CFLAGS
641 GPGME_CONFIG
642 ENABLE_LARGEFILE_FALSE
643 ENABLE_LARGEFILE_TRUE
644 SYSTEM_GETOPT_FALSE
645 SYSTEM_GETOPT_TRUE
646 LTLIBICONV
647 LIBICONV
648 GLIB_COMPILE_RESOURCES
649 GLIB_MKENUMS
650 GOBJECT_QUERY
651 GLIB_GENMARSHAL
652 GLIB_LIBS
653 GLIB_CFLAGS
654 ENABLE_CRYPTOGRAPHY_FALSE
655 ENABLE_CRYPTOGRAPHY_TRUE
656 HAVE_DOCBOOK_FALSE
657 HAVE_DOCBOOK_TRUE
658 DB2HTML
659 GTK_DOC_USE_REBASE_FALSE
660 GTK_DOC_USE_REBASE_TRUE
661 GTK_DOC_USE_LIBTOOL_FALSE
662 GTK_DOC_USE_LIBTOOL_TRUE
663 GTK_DOC_BUILD_PDF_FALSE
664 GTK_DOC_BUILD_PDF_TRUE
665 GTK_DOC_BUILD_HTML_FALSE
666 GTK_DOC_BUILD_HTML_TRUE
667 ENABLE_GTK_DOC_FALSE
668 ENABLE_GTK_DOC_TRUE
669 GTKDOC_DEPS_LIBS
670 GTKDOC_DEPS_CFLAGS
671 HTML_DIR
672 GTKDOC_MKPDF
673 GTKDOC_REBASE
674 GTKDOC_CHECK
675 PKG_CONFIG_LIBDIR
676 PKG_CONFIG_PATH
677 PKG_CONFIG
678 LTCXXCOMPILE
679 LTCOMPILE
680 DOLT_BASH
681 OTOOL64
682 OTOOL
683 LIPO
684 NMEDIT
685 DSYMUTIL
686 MANIFEST_TOOL
687 ac_ct_AR
688 AR
689 DLLTOOL
690 OBJDUMP
691 ac_ct_DUMPBIN
692 DUMPBIN
693 LD
694 FGREP
695 SED
696 LIBTOOL
697 TAR
698 MV
699 RM
700 LN_S
701 EGREP
702 GREP
703 CPP
704 am__fastdepCC_FALSE
705 am__fastdepCC_TRUE
706 CCDEPMODE
707 am__nodep
708 AMDEPBACKSLASH
709 AMDEP_FALSE
710 AMDEP_TRUE
711 am__quote
712 am__include
713 DEPDIR
714 OBJEXT
715 EXEEXT
716 ac_ct_CC
717 CPPFLAGS
718 LDFLAGS
719 CFLAGS
720 CC
721 MS_LIB_AVAILABLE_FALSE
722 MS_LIB_AVAILABLE_TRUE
723 ms_librarian
724 RANLIB
725 NM
726 WINDRES
727 OS_WIN32_X64_FALSE
728 OS_WIN32_X64_TRUE
729 OS_WIN32_FALSE
730 OS_WIN32_TRUE
731 PLATFORM_WIN32_FALSE
732 PLATFORM_WIN32_TRUE
733 LIB_EXE_MACHINE_FLAG
734 LT_CURRENT_MINUS_AGE
735 LT_AGE
736 LT_REVISION
737 LT_CURRENT
738 LT_RELEASE
739 GMIME_BINARY_AGE
740 GMIME_INTERFACE_AGE
741 GMIME_VERSION
742 GMIME_API_VERSION
743 GMIME_MICRO_VERSION
744 GMIME_MINOR_VERSION
745 GMIME_MAJOR_VERSION
746 MAINT
747 MAINTAINER_MODE_FALSE
748 MAINTAINER_MODE_TRUE
749 ACLOCAL_AMFLAGS
750 am__untar
751 am__tar
752 AMTAR
753 am__leading_dot
754 SET_MAKE
755 AWK
756 mkdir_p
757 MKDIR_P
758 INSTALL_STRIP_PROGRAM
759 STRIP
760 install_sh
761 MAKEINFO
762 AUTOHEADER
763 AUTOMAKE
764 AUTOCONF
765 ACLOCAL
766 VERSION
767 PACKAGE
768 CYGPATH_W
769 am__isrc
770 INSTALL_DATA
771 INSTALL_SCRIPT
772 INSTALL_PROGRAM
773 target_os
774 target_vendor
775 target_cpu
776 target
777 host_os
778 host_vendor
779 host_cpu
780 host
781 build_os
782 build_vendor
783 build_cpu
784 build
785 target_alias
786 host_alias
787 build_alias
788 LIBS
789 ECHO_T
790 ECHO_N
791 ECHO_C
792 DEFS
793 mandir
794 localedir
795 libdir
796 psdir
797 pdfdir
798 dvidir
799 htmldir
800 infodir
801 docdir
802 oldincludedir
803 includedir
804 localstatedir
805 sharedstatedir
806 sysconfdir
807 datadir
808 datarootdir
809 libexecdir
810 sbindir
811 bindir
812 program_transform_name
813 prefix
814 exec_prefix
815 PACKAGE_URL
816 PACKAGE_BUGREPORT
817 PACKAGE_STRING
818 PACKAGE_VERSION
819 PACKAGE_TARNAME
820 PACKAGE_NAME
821 PATH_SEPARATOR
822 SHELL'
823 ac_subst_files=''
824 ac_user_opts='
825 enable_option_checking
826 enable_maintainer_mode
827 enable_dependency_tracking
828 enable_shared
829 enable_static
830 with_pic
831 enable_fast_install
832 with_gnu_ld
833 with_sysroot
834 enable_libtool_lock
835 with_html_dir
836 enable_gtk_doc
837 enable_gtk_doc_html
838 enable_gtk_doc_pdf
839 enable_profiling
840 enable_warnings
841 enable_strict_parser
842 enable_cryptography
843 enable_glibtest
844 enable_rpath
845 with_libiconv_prefix
846 enable_largefile
847 enable_smime
848 with_gpgme_prefix
849 enable_mono
850 with_gacdir
851 '
852       ac_precious_vars='build_alias
853 host_alias
854 target_alias
855 CC
856 CFLAGS
857 LDFLAGS
858 LIBS
859 CPPFLAGS
860 CPP
861 PKG_CONFIG
862 PKG_CONFIG_PATH
863 PKG_CONFIG_LIBDIR
864 GTKDOC_DEPS_CFLAGS
865 GTKDOC_DEPS_LIBS
866 GLIB_SHARP_CFLAGS
867 GLIB_SHARP_LIBS
868 GAPI_TOOLS_CFLAGS
869 GAPI_TOOLS_LIBS'
870
871
872 # Initialize some variables set by options.
873 ac_init_help=
874 ac_init_version=false
875 ac_unrecognized_opts=
876 ac_unrecognized_sep=
877 # The variables have the same names as the options, with
878 # dashes changed to underlines.
879 cache_file=/dev/null
880 exec_prefix=NONE
881 no_create=
882 no_recursion=
883 prefix=NONE
884 program_prefix=NONE
885 program_suffix=NONE
886 program_transform_name=s,x,x,
887 silent=
888 site=
889 srcdir=
890 verbose=
891 x_includes=NONE
892 x_libraries=NONE
893
894 # Installation directory options.
895 # These are left unexpanded so users can "make install exec_prefix=/foo"
896 # and all the variables that are supposed to be based on exec_prefix
897 # by default will actually change.
898 # Use braces instead of parens because sh, perl, etc. also accept them.
899 # (The list follows the same order as the GNU Coding Standards.)
900 bindir='${exec_prefix}/bin'
901 sbindir='${exec_prefix}/sbin'
902 libexecdir='${exec_prefix}/libexec'
903 datarootdir='${prefix}/share'
904 datadir='${datarootdir}'
905 sysconfdir='${prefix}/etc'
906 sharedstatedir='${prefix}/com'
907 localstatedir='${prefix}/var'
908 includedir='${prefix}/include'
909 oldincludedir='/usr/include'
910 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
911 infodir='${datarootdir}/info'
912 htmldir='${docdir}'
913 dvidir='${docdir}'
914 pdfdir='${docdir}'
915 psdir='${docdir}'
916 libdir='${exec_prefix}/lib'
917 localedir='${datarootdir}/locale'
918 mandir='${datarootdir}/man'
919
920 ac_prev=
921 ac_dashdash=
922 for ac_option
923 do
924   # If the previous option needs an argument, assign it.
925   if test -n "$ac_prev"; then
926     eval $ac_prev=\$ac_option
927     ac_prev=
928     continue
929   fi
930
931   case $ac_option in
932   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
933   *=)   ac_optarg= ;;
934   *)    ac_optarg=yes ;;
935   esac
936
937   # Accept the important Cygnus configure options, so we can diagnose typos.
938
939   case $ac_dashdash$ac_option in
940   --)
941     ac_dashdash=yes ;;
942
943   -bindir | --bindir | --bindi | --bind | --bin | --bi)
944     ac_prev=bindir ;;
945   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
946     bindir=$ac_optarg ;;
947
948   -build | --build | --buil | --bui | --bu)
949     ac_prev=build_alias ;;
950   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
951     build_alias=$ac_optarg ;;
952
953   -cache-file | --cache-file | --cache-fil | --cache-fi \
954   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
955     ac_prev=cache_file ;;
956   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
957   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
958     cache_file=$ac_optarg ;;
959
960   --config-cache | -C)
961     cache_file=config.cache ;;
962
963   -datadir | --datadir | --datadi | --datad)
964     ac_prev=datadir ;;
965   -datadir=* | --datadir=* | --datadi=* | --datad=*)
966     datadir=$ac_optarg ;;
967
968   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
969   | --dataroo | --dataro | --datar)
970     ac_prev=datarootdir ;;
971   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
972   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
973     datarootdir=$ac_optarg ;;
974
975   -disable-* | --disable-*)
976     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
977     # Reject names that are not valid shell variable names.
978     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979       as_fn_error $? "invalid feature name: $ac_useropt"
980     ac_useropt_orig=$ac_useropt
981     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982     case $ac_user_opts in
983       *"
984 "enable_$ac_useropt"
985 "*) ;;
986       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
987          ac_unrecognized_sep=', ';;
988     esac
989     eval enable_$ac_useropt=no ;;
990
991   -docdir | --docdir | --docdi | --doc | --do)
992     ac_prev=docdir ;;
993   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
994     docdir=$ac_optarg ;;
995
996   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
997     ac_prev=dvidir ;;
998   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
999     dvidir=$ac_optarg ;;
1000
1001   -enable-* | --enable-*)
1002     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1003     # Reject names that are not valid shell variable names.
1004     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005       as_fn_error $? "invalid feature name: $ac_useropt"
1006     ac_useropt_orig=$ac_useropt
1007     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008     case $ac_user_opts in
1009       *"
1010 "enable_$ac_useropt"
1011 "*) ;;
1012       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1013          ac_unrecognized_sep=', ';;
1014     esac
1015     eval enable_$ac_useropt=\$ac_optarg ;;
1016
1017   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1018   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1019   | --exec | --exe | --ex)
1020     ac_prev=exec_prefix ;;
1021   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1022   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1023   | --exec=* | --exe=* | --ex=*)
1024     exec_prefix=$ac_optarg ;;
1025
1026   -gas | --gas | --ga | --g)
1027     # Obsolete; use --with-gas.
1028     with_gas=yes ;;
1029
1030   -help | --help | --hel | --he | -h)
1031     ac_init_help=long ;;
1032   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1033     ac_init_help=recursive ;;
1034   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1035     ac_init_help=short ;;
1036
1037   -host | --host | --hos | --ho)
1038     ac_prev=host_alias ;;
1039   -host=* | --host=* | --hos=* | --ho=*)
1040     host_alias=$ac_optarg ;;
1041
1042   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1043     ac_prev=htmldir ;;
1044   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1045   | --ht=*)
1046     htmldir=$ac_optarg ;;
1047
1048   -includedir | --includedir | --includedi | --included | --include \
1049   | --includ | --inclu | --incl | --inc)
1050     ac_prev=includedir ;;
1051   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1052   | --includ=* | --inclu=* | --incl=* | --inc=*)
1053     includedir=$ac_optarg ;;
1054
1055   -infodir | --infodir | --infodi | --infod | --info | --inf)
1056     ac_prev=infodir ;;
1057   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1058     infodir=$ac_optarg ;;
1059
1060   -libdir | --libdir | --libdi | --libd)
1061     ac_prev=libdir ;;
1062   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1063     libdir=$ac_optarg ;;
1064
1065   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1066   | --libexe | --libex | --libe)
1067     ac_prev=libexecdir ;;
1068   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1069   | --libexe=* | --libex=* | --libe=*)
1070     libexecdir=$ac_optarg ;;
1071
1072   -localedir | --localedir | --localedi | --localed | --locale)
1073     ac_prev=localedir ;;
1074   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1075     localedir=$ac_optarg ;;
1076
1077   -localstatedir | --localstatedir | --localstatedi | --localstated \
1078   | --localstate | --localstat | --localsta | --localst | --locals)
1079     ac_prev=localstatedir ;;
1080   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1081   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1082     localstatedir=$ac_optarg ;;
1083
1084   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1085     ac_prev=mandir ;;
1086   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1087     mandir=$ac_optarg ;;
1088
1089   -nfp | --nfp | --nf)
1090     # Obsolete; use --without-fp.
1091     with_fp=no ;;
1092
1093   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1094   | --no-cr | --no-c | -n)
1095     no_create=yes ;;
1096
1097   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1098   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1099     no_recursion=yes ;;
1100
1101   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1102   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1103   | --oldin | --oldi | --old | --ol | --o)
1104     ac_prev=oldincludedir ;;
1105   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1106   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1107   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1108     oldincludedir=$ac_optarg ;;
1109
1110   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1111     ac_prev=prefix ;;
1112   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1113     prefix=$ac_optarg ;;
1114
1115   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1116   | --program-pre | --program-pr | --program-p)
1117     ac_prev=program_prefix ;;
1118   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1119   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1120     program_prefix=$ac_optarg ;;
1121
1122   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1123   | --program-suf | --program-su | --program-s)
1124     ac_prev=program_suffix ;;
1125   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1126   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1127     program_suffix=$ac_optarg ;;
1128
1129   -program-transform-name | --program-transform-name \
1130   | --program-transform-nam | --program-transform-na \
1131   | --program-transform-n | --program-transform- \
1132   | --program-transform | --program-transfor \
1133   | --program-transfo | --program-transf \
1134   | --program-trans | --program-tran \
1135   | --progr-tra | --program-tr | --program-t)
1136     ac_prev=program_transform_name ;;
1137   -program-transform-name=* | --program-transform-name=* \
1138   | --program-transform-nam=* | --program-transform-na=* \
1139   | --program-transform-n=* | --program-transform-=* \
1140   | --program-transform=* | --program-transfor=* \
1141   | --program-transfo=* | --program-transf=* \
1142   | --program-trans=* | --program-tran=* \
1143   | --progr-tra=* | --program-tr=* | --program-t=*)
1144     program_transform_name=$ac_optarg ;;
1145
1146   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1147     ac_prev=pdfdir ;;
1148   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1149     pdfdir=$ac_optarg ;;
1150
1151   -psdir | --psdir | --psdi | --psd | --ps)
1152     ac_prev=psdir ;;
1153   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1154     psdir=$ac_optarg ;;
1155
1156   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1157   | -silent | --silent | --silen | --sile | --sil)
1158     silent=yes ;;
1159
1160   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1161     ac_prev=sbindir ;;
1162   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1163   | --sbi=* | --sb=*)
1164     sbindir=$ac_optarg ;;
1165
1166   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1167   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1168   | --sharedst | --shareds | --shared | --share | --shar \
1169   | --sha | --sh)
1170     ac_prev=sharedstatedir ;;
1171   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1172   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1173   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1174   | --sha=* | --sh=*)
1175     sharedstatedir=$ac_optarg ;;
1176
1177   -site | --site | --sit)
1178     ac_prev=site ;;
1179   -site=* | --site=* | --sit=*)
1180     site=$ac_optarg ;;
1181
1182   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1183     ac_prev=srcdir ;;
1184   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1185     srcdir=$ac_optarg ;;
1186
1187   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1188   | --syscon | --sysco | --sysc | --sys | --sy)
1189     ac_prev=sysconfdir ;;
1190   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1191   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1192     sysconfdir=$ac_optarg ;;
1193
1194   -target | --target | --targe | --targ | --tar | --ta | --t)
1195     ac_prev=target_alias ;;
1196   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1197     target_alias=$ac_optarg ;;
1198
1199   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1200     verbose=yes ;;
1201
1202   -version | --version | --versio | --versi | --vers | -V)
1203     ac_init_version=: ;;
1204
1205   -with-* | --with-*)
1206     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1207     # Reject names that are not valid shell variable names.
1208     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209       as_fn_error $? "invalid package name: $ac_useropt"
1210     ac_useropt_orig=$ac_useropt
1211     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212     case $ac_user_opts in
1213       *"
1214 "with_$ac_useropt"
1215 "*) ;;
1216       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1217          ac_unrecognized_sep=', ';;
1218     esac
1219     eval with_$ac_useropt=\$ac_optarg ;;
1220
1221   -without-* | --without-*)
1222     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223     # Reject names that are not valid shell variable names.
1224     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225       as_fn_error $? "invalid package name: $ac_useropt"
1226     ac_useropt_orig=$ac_useropt
1227     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228     case $ac_user_opts in
1229       *"
1230 "with_$ac_useropt"
1231 "*) ;;
1232       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1233          ac_unrecognized_sep=', ';;
1234     esac
1235     eval with_$ac_useropt=no ;;
1236
1237   --x)
1238     # Obsolete; use --with-x.
1239     with_x=yes ;;
1240
1241   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1242   | --x-incl | --x-inc | --x-in | --x-i)
1243     ac_prev=x_includes ;;
1244   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1245   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1246     x_includes=$ac_optarg ;;
1247
1248   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1249   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1250     ac_prev=x_libraries ;;
1251   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1252   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1253     x_libraries=$ac_optarg ;;
1254
1255   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1256 Try \`$0 --help' for more information"
1257     ;;
1258
1259   *=*)
1260     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1261     # Reject names that are not valid shell variable names.
1262     case $ac_envvar in #(
1263       '' | [0-9]* | *[!_$as_cr_alnum]* )
1264       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1265     esac
1266     eval $ac_envvar=\$ac_optarg
1267     export $ac_envvar ;;
1268
1269   *)
1270     # FIXME: should be removed in autoconf 3.0.
1271     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1273       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1275     ;;
1276
1277   esac
1278 done
1279
1280 if test -n "$ac_prev"; then
1281   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1282   as_fn_error $? "missing argument to $ac_option"
1283 fi
1284
1285 if test -n "$ac_unrecognized_opts"; then
1286   case $enable_option_checking in
1287     no) ;;
1288     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1289     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1290   esac
1291 fi
1292
1293 # Check all directory arguments for consistency.
1294 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1295                 datadir sysconfdir sharedstatedir localstatedir includedir \
1296                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1297                 libdir localedir mandir
1298 do
1299   eval ac_val=\$$ac_var
1300   # Remove trailing slashes.
1301   case $ac_val in
1302     */ )
1303       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1304       eval $ac_var=\$ac_val;;
1305   esac
1306   # Be sure to have absolute directory names.
1307   case $ac_val in
1308     [\\/$]* | ?:[\\/]* )  continue;;
1309     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1310   esac
1311   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1312 done
1313
1314 # There might be people who depend on the old broken behavior: `$host'
1315 # used to hold the argument of --host etc.
1316 # FIXME: To remove some day.
1317 build=$build_alias
1318 host=$host_alias
1319 target=$target_alias
1320
1321 # FIXME: To remove some day.
1322 if test "x$host_alias" != x; then
1323   if test "x$build_alias" = x; then
1324     cross_compiling=maybe
1325     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1326     If a cross compiler is detected then cross compile mode will be used" >&2
1327   elif test "x$build_alias" != "x$host_alias"; then
1328     cross_compiling=yes
1329   fi
1330 fi
1331
1332 ac_tool_prefix=
1333 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1334
1335 test "$silent" = yes && exec 6>/dev/null
1336
1337
1338 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1339 ac_ls_di=`ls -di .` &&
1340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1341   as_fn_error $? "working directory cannot be determined"
1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1343   as_fn_error $? "pwd does not report name of working directory"
1344
1345
1346 # Find the source files, if location was not specified.
1347 if test -z "$srcdir"; then
1348   ac_srcdir_defaulted=yes
1349   # Try the directory containing this script, then the parent directory.
1350   ac_confdir=`$as_dirname -- "$as_myself" ||
1351 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1352          X"$as_myself" : 'X\(//\)[^/]' \| \
1353          X"$as_myself" : 'X\(//\)$' \| \
1354          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1355 $as_echo X"$as_myself" |
1356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357             s//\1/
1358             q
1359           }
1360           /^X\(\/\/\)[^/].*/{
1361             s//\1/
1362             q
1363           }
1364           /^X\(\/\/\)$/{
1365             s//\1/
1366             q
1367           }
1368           /^X\(\/\).*/{
1369             s//\1/
1370             q
1371           }
1372           s/.*/./; q'`
1373   srcdir=$ac_confdir
1374   if test ! -r "$srcdir/$ac_unique_file"; then
1375     srcdir=..
1376   fi
1377 else
1378   ac_srcdir_defaulted=no
1379 fi
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1381   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1382   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1383 fi
1384 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1385 ac_abs_confdir=`(
1386         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1387         pwd)`
1388 # When building in place, set srcdir=.
1389 if test "$ac_abs_confdir" = "$ac_pwd"; then
1390   srcdir=.
1391 fi
1392 # Remove unnecessary trailing slashes from srcdir.
1393 # Double slashes in file names in object file debugging info
1394 # mess up M-x gdb in Emacs.
1395 case $srcdir in
1396 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1397 esac
1398 for ac_var in $ac_precious_vars; do
1399   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1400   eval ac_env_${ac_var}_value=\$${ac_var}
1401   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1402   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1403 done
1404
1405 #
1406 # Report the --help message.
1407 #
1408 if test "$ac_init_help" = "long"; then
1409   # Omit some internal or obsolete options to make the list less imposing.
1410   # This message is too long to be a string in the A/UX 3.1 sh.
1411   cat <<_ACEOF
1412 \`configure' configures gmime 2.6.15 to adapt to many kinds of systems.
1413
1414 Usage: $0 [OPTION]... [VAR=VALUE]...
1415
1416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1417 VAR=VALUE.  See below for descriptions of some of the useful variables.
1418
1419 Defaults for the options are specified in brackets.
1420
1421 Configuration:
1422   -h, --help              display this help and exit
1423       --help=short        display options specific to this package
1424       --help=recursive    display the short help of all the included packages
1425   -V, --version           display version information and exit
1426   -q, --quiet, --silent   do not print \`checking ...' messages
1427       --cache-file=FILE   cache test results in FILE [disabled]
1428   -C, --config-cache      alias for \`--cache-file=config.cache'
1429   -n, --no-create         do not create output files
1430       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1431
1432 Installation directories:
1433   --prefix=PREFIX         install architecture-independent files in PREFIX
1434                           [$ac_default_prefix]
1435   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1436                           [PREFIX]
1437
1438 By default, \`make install' will install all the files in
1439 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1440 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1441 for instance \`--prefix=\$HOME'.
1442
1443 For better control, use the options below.
1444
1445 Fine tuning of the installation directories:
1446   --bindir=DIR            user executables [EPREFIX/bin]
1447   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1448   --libexecdir=DIR        program executables [EPREFIX/libexec]
1449   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1450   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1451   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1452   --libdir=DIR            object code libraries [EPREFIX/lib]
1453   --includedir=DIR        C header files [PREFIX/include]
1454   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1455   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1456   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1457   --infodir=DIR           info documentation [DATAROOTDIR/info]
1458   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1459   --mandir=DIR            man documentation [DATAROOTDIR/man]
1460   --docdir=DIR            documentation root [DATAROOTDIR/doc/gmime]
1461   --htmldir=DIR           html documentation [DOCDIR]
1462   --dvidir=DIR            dvi documentation [DOCDIR]
1463   --pdfdir=DIR            pdf documentation [DOCDIR]
1464   --psdir=DIR             ps documentation [DOCDIR]
1465 _ACEOF
1466
1467   cat <<\_ACEOF
1468
1469 Program names:
1470   --program-prefix=PREFIX            prepend PREFIX to installed program names
1471   --program-suffix=SUFFIX            append SUFFIX to installed program names
1472   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1473
1474 System types:
1475   --build=BUILD     configure for building on BUILD [guessed]
1476   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1477   --target=TARGET   configure for building compilers for TARGET [HOST]
1478 _ACEOF
1479 fi
1480
1481 if test -n "$ac_init_help"; then
1482   case $ac_init_help in
1483      short | recursive ) echo "Configuration of gmime 2.6.15:";;
1484    esac
1485   cat <<\_ACEOF
1486
1487 Optional Features:
1488   --disable-option-checking  ignore unrecognized --enable/--with options
1489   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1490   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1491   --enable-maintainer-mode  enable make rules and dependencies not useful
1492                           (and sometimes confusing) to the casual installer
1493   --disable-dependency-tracking  speeds up one-time build
1494   --enable-dependency-tracking   do not reject slow dependency extractors
1495   --enable-shared[=PKGS]  build shared libraries [default=yes]
1496   --enable-static[=PKGS]  build static libraries [default=yes]
1497   --enable-fast-install[=PKGS]
1498                           optimize for fast installation [default=yes]
1499   --disable-libtool-lock  avoid locking (might break parallel builds)
1500   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1501   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1502   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1503   --enable-profiling      enable profiling compile flags [[default=no]]
1504   --enable-warnings       enable g_warning output when invalid MIME is
1505                           encountered [[default=no]]
1506   --enable-strict-parser  enable stricter MIME parser rules [[default=no]]
1507   --enable-cryptography   enable cryptography support [[default=yes]]
1508   --disable-glibtest      do not try to compile and run a test GLIB program
1509   --disable-rpath         do not hardcode runtime library paths
1510   --enable-largefile      enable support for large files [[default=yes]]
1511   --disable-largefile     omit support for large files
1512   --enable-smime          enable S/MIME support [[default=no]]
1513   --enable-mono           enable Mono bindings [[default=auto]]
1514
1515 Optional Packages:
1516   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1517   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1518   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1519                           both]
1520   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1521   --with-sysroot=DIR Search for dependent libraries within DIR
1522                         (or the compiler's sysroot if not specified).
1523   --with-html-dir=PATH    path to installed docs
1524   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1525   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1526   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1527   --with-gpgme-prefix=PFX prefix where GPGME is installed (optional)
1528   --with-gacdir           Specify the Global Assembly Cache root directory
1529
1530 Some influential environment variables:
1531   CC          C compiler command
1532   CFLAGS      C compiler flags
1533   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1534               nonstandard directory <lib dir>
1535   LIBS        libraries to pass to the linker, e.g. -l<library>
1536   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1537               you have headers in a nonstandard directory <include dir>
1538   CPP         C preprocessor
1539   PKG_CONFIG  path to pkg-config utility
1540   PKG_CONFIG_PATH
1541               directories to add to pkg-config's search path
1542   PKG_CONFIG_LIBDIR
1543               path overriding pkg-config's built-in search path
1544   GTKDOC_DEPS_CFLAGS
1545               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1546   GTKDOC_DEPS_LIBS
1547               linker flags for GTKDOC_DEPS, overriding pkg-config
1548   GLIB_SHARP_CFLAGS
1549               C compiler flags for GLIB_SHARP, overriding pkg-config
1550   GLIB_SHARP_LIBS
1551               linker flags for GLIB_SHARP, overriding pkg-config
1552   GAPI_TOOLS_CFLAGS
1553               C compiler flags for GAPI_TOOLS, overriding pkg-config
1554   GAPI_TOOLS_LIBS
1555               linker flags for GAPI_TOOLS, overriding pkg-config
1556
1557 Use these variables to override the choices made by `configure' or to help
1558 it to find libraries and programs with nonstandard names/locations.
1559
1560 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gmime>.
1561 _ACEOF
1562 ac_status=$?
1563 fi
1564
1565 if test "$ac_init_help" = "recursive"; then
1566   # If there are subdirs, report their specific --help.
1567   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568     test -d "$ac_dir" ||
1569       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570       continue
1571     ac_builddir=.
1572
1573 case "$ac_dir" in
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *)
1576   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577   # A ".." for each directory in $ac_dir_suffix.
1578   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579   case $ac_top_builddir_sub in
1580   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582   esac ;;
1583 esac
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1588
1589 case $srcdir in
1590   .)  # We are building in place.
1591     ac_srcdir=.
1592     ac_top_srcdir=$ac_top_builddir_sub
1593     ac_abs_top_srcdir=$ac_pwd ;;
1594   [\\/]* | ?:[\\/]* )  # Absolute name.
1595     ac_srcdir=$srcdir$ac_dir_suffix;
1596     ac_top_srcdir=$srcdir
1597     ac_abs_top_srcdir=$srcdir ;;
1598   *) # Relative name.
1599     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600     ac_top_srcdir=$ac_top_build_prefix$srcdir
1601     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 esac
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605     cd "$ac_dir" || { ac_status=$?; continue; }
1606     # Check for guested configure.
1607     if test -f "$ac_srcdir/configure.gnu"; then
1608       echo &&
1609       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610     elif test -f "$ac_srcdir/configure"; then
1611       echo &&
1612       $SHELL "$ac_srcdir/configure" --help=recursive
1613     else
1614       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615     fi || ac_status=$?
1616     cd "$ac_pwd" || { ac_status=$?; break; }
1617   done
1618 fi
1619
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1622   cat <<\_ACEOF
1623 gmime configure 2.6.15
1624 generated by GNU Autoconf 2.68
1625
1626 Copyright (C) 2010 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1629 _ACEOF
1630   exit
1631 fi
1632
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1636
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1641 {
1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643   rm -f conftest.$ac_objext
1644   if { { ac_try="$ac_compile"
1645 case "(($ac_try" in
1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647   *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651   (eval "$ac_compile") 2>conftest.err
1652   ac_status=$?
1653   if test -s conftest.err; then
1654     grep -v '^ *+' conftest.err >conftest.er1
1655     cat conftest.er1 >&5
1656     mv -f conftest.er1 conftest.err
1657   fi
1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659   test $ac_status = 0; } && {
1660          test -z "$ac_c_werror_flag" ||
1661          test ! -s conftest.err
1662        } && test -s conftest.$ac_objext; then :
1663   ac_retval=0
1664 else
1665   $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668         ac_retval=1
1669 fi
1670   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671   as_fn_set_status $ac_retval
1672
1673 } # ac_fn_c_try_compile
1674
1675 # ac_fn_c_try_link LINENO
1676 # -----------------------
1677 # Try to link conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_link ()
1679 {
1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681   rm -f conftest.$ac_objext conftest$ac_exeext
1682   if { { ac_try="$ac_link"
1683 case "(($ac_try" in
1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685   *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689   (eval "$ac_link") 2>conftest.err
1690   ac_status=$?
1691   if test -s conftest.err; then
1692     grep -v '^ *+' conftest.err >conftest.er1
1693     cat conftest.er1 >&5
1694     mv -f conftest.er1 conftest.err
1695   fi
1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697   test $ac_status = 0; } && {
1698          test -z "$ac_c_werror_flag" ||
1699          test ! -s conftest.err
1700        } && test -s conftest$ac_exeext && {
1701          test "$cross_compiling" = yes ||
1702          $as_test_x conftest$ac_exeext
1703        }; then :
1704   ac_retval=0
1705 else
1706   $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1708
1709         ac_retval=1
1710 fi
1711   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1712   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1713   # interfere with the next link command; also delete a directory that is
1714   # left behind by Apple's compiler.  We do this before executing the actions.
1715   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717   as_fn_set_status $ac_retval
1718
1719 } # ac_fn_c_try_link
1720
1721 # ac_fn_c_try_cpp LINENO
1722 # ----------------------
1723 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 ac_fn_c_try_cpp ()
1725 {
1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727   if { { ac_try="$ac_cpp conftest.$ac_ext"
1728 case "(($ac_try" in
1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730   *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1735   ac_status=$?
1736   if test -s conftest.err; then
1737     grep -v '^ *+' conftest.err >conftest.er1
1738     cat conftest.er1 >&5
1739     mv -f conftest.er1 conftest.err
1740   fi
1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742   test $ac_status = 0; } > conftest.i && {
1743          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1744          test ! -s conftest.err
1745        }; then :
1746   ac_retval=0
1747 else
1748   $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751     ac_retval=1
1752 fi
1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754   as_fn_set_status $ac_retval
1755
1756 } # ac_fn_c_try_cpp
1757
1758 # ac_fn_c_try_run LINENO
1759 # ----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1761 # that executables *can* be run.
1762 ac_fn_c_try_run ()
1763 {
1764   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765   if { { ac_try="$ac_link"
1766 case "(($ac_try" in
1767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768   *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772   (eval "$ac_link") 2>&5
1773   ac_status=$?
1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1776   { { case "(($ac_try" in
1777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778   *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782   (eval "$ac_try") 2>&5
1783   ac_status=$?
1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785   test $ac_status = 0; }; }; then :
1786   ac_retval=0
1787 else
1788   $as_echo "$as_me: program exited with status $ac_status" >&5
1789        $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1791
1792        ac_retval=$ac_status
1793 fi
1794   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796   as_fn_set_status $ac_retval
1797
1798 } # ac_fn_c_try_run
1799
1800 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1801 # -------------------------------------------------------
1802 # Tests whether HEADER exists and can be compiled using the include files in
1803 # INCLUDES, setting the cache variable VAR accordingly.
1804 ac_fn_c_check_header_compile ()
1805 {
1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval \${$3+:} false; then :
1810   $as_echo_n "(cached) " >&6
1811 else
1812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h.  */
1814 $4
1815 #include <$2>
1816 _ACEOF
1817 if ac_fn_c_try_compile "$LINENO"; then :
1818   eval "$3=yes"
1819 else
1820   eval "$3=no"
1821 fi
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 fi
1824 eval ac_res=\$$3
1825                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1829 } # ac_fn_c_check_header_compile
1830
1831 # ac_fn_c_check_func LINENO FUNC VAR
1832 # ----------------------------------
1833 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1834 ac_fn_c_check_func ()
1835 {
1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838 $as_echo_n "checking for $2... " >&6; }
1839 if eval \${$3+:} false; then :
1840   $as_echo_n "(cached) " >&6
1841 else
1842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h.  */
1844 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1846 #define $2 innocuous_$2
1847
1848 /* System header to define __stub macros and hopefully few prototypes,
1849     which can conflict with char $2 (); below.
1850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1851     <limits.h> exists even on freestanding compilers.  */
1852
1853 #ifdef __STDC__
1854 # include <limits.h>
1855 #else
1856 # include <assert.h>
1857 #endif
1858
1859 #undef $2
1860
1861 /* Override any GCC internal prototype to avoid an error.
1862    Use char because int might match the return type of a GCC
1863    builtin and then its argument prototype would still apply.  */
1864 #ifdef __cplusplus
1865 extern "C"
1866 #endif
1867 char $2 ();
1868 /* The GNU C library defines this for functions which it implements
1869     to always fail with ENOSYS.  Some functions are actually named
1870     something starting with __ and the normal name is an alias.  */
1871 #if defined __stub_$2 || defined __stub___$2
1872 choke me
1873 #endif
1874
1875 int
1876 main ()
1877 {
1878 return $2 ();
1879   ;
1880   return 0;
1881 }
1882 _ACEOF
1883 if ac_fn_c_try_link "$LINENO"; then :
1884   eval "$3=yes"
1885 else
1886   eval "$3=no"
1887 fi
1888 rm -f core conftest.err conftest.$ac_objext \
1889     conftest$ac_exeext conftest.$ac_ext
1890 fi
1891 eval ac_res=\$$3
1892                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
1896 } # ac_fn_c_check_func
1897
1898 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1899 # -------------------------------------------------------
1900 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1901 # the include files in INCLUDES and setting the cache variable VAR
1902 # accordingly.
1903 ac_fn_c_check_header_mongrel ()
1904 {
1905   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906   if eval \${$3+:} false; then :
1907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908 $as_echo_n "checking for $2... " >&6; }
1909 if eval \${$3+:} false; then :
1910   $as_echo_n "(cached) " >&6
1911 fi
1912 eval ac_res=\$$3
1913                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 else
1916   # Is the header compilable?
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1918 $as_echo_n "checking $2 usability... " >&6; }
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h.  */
1921 $4
1922 #include <$2>
1923 _ACEOF
1924 if ac_fn_c_try_compile "$LINENO"; then :
1925   ac_header_compiler=yes
1926 else
1927   ac_header_compiler=no
1928 fi
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1931 $as_echo "$ac_header_compiler" >&6; }
1932
1933 # Is the header present?
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1935 $as_echo_n "checking $2 presence... " >&6; }
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h.  */
1938 #include <$2>
1939 _ACEOF
1940 if ac_fn_c_try_cpp "$LINENO"; then :
1941   ac_header_preproc=yes
1942 else
1943   ac_header_preproc=no
1944 fi
1945 rm -f conftest.err conftest.i conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1947 $as_echo "$ac_header_preproc" >&6; }
1948
1949 # So?  What about this header?
1950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1951   yes:no: )
1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1953 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1955 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1956     ;;
1957   no:yes:* )
1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1959 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1961 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1963 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1965 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1967 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1968 ( $as_echo "## -------------------------------------------------------------------- ##
1969 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gmime ##
1970 ## -------------------------------------------------------------------- ##"
1971      ) | sed "s/^/$as_me: WARNING:     /" >&2
1972     ;;
1973 esac
1974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if eval \${$3+:} false; then :
1977   $as_echo_n "(cached) " >&6
1978 else
1979   eval "$3=\$ac_header_compiler"
1980 fi
1981 eval ac_res=\$$3
1982                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 fi
1985   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986
1987 } # ac_fn_c_check_header_mongrel
1988
1989 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1990 # -------------------------------------------
1991 # Tests whether TYPE exists after having included INCLUDES, setting cache
1992 # variable VAR accordingly.
1993 ac_fn_c_check_type ()
1994 {
1995   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \${$3+:} false; then :
1999   $as_echo_n "(cached) " >&6
2000 else
2001   eval "$3=no"
2002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h.  */
2004 $4
2005 int
2006 main ()
2007 {
2008 if (sizeof ($2))
2009          return 0;
2010   ;
2011   return 0;
2012 }
2013 _ACEOF
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h.  */
2017 $4
2018 int
2019 main ()
2020 {
2021 if (sizeof (($2)))
2022             return 0;
2023   ;
2024   return 0;
2025 }
2026 _ACEOF
2027 if ac_fn_c_try_compile "$LINENO"; then :
2028
2029 else
2030   eval "$3=yes"
2031 fi
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 fi
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 fi
2036 eval ac_res=\$$3
2037                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040
2041 } # ac_fn_c_check_type
2042
2043 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2044 # --------------------------------------------
2045 # Tries to find the compile-time value of EXPR in a program that includes
2046 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2047 # computed
2048 ac_fn_c_compute_int ()
2049 {
2050   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051   if test "$cross_compiling" = yes; then
2052     # Depending upon the size, compute the lo and hi bounds.
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h.  */
2055 $4
2056 int
2057 main ()
2058 {
2059 static int test_array [1 - 2 * !(($2) >= 0)];
2060 test_array [0] = 0
2061
2062   ;
2063   return 0;
2064 }
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2067   ac_lo=0 ac_mid=0
2068   while :; do
2069     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h.  */
2071 $4
2072 int
2073 main ()
2074 {
2075 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2076 test_array [0] = 0
2077
2078   ;
2079   return 0;
2080 }
2081 _ACEOF
2082 if ac_fn_c_try_compile "$LINENO"; then :
2083   ac_hi=$ac_mid; break
2084 else
2085   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2086                         if test $ac_lo -le $ac_mid; then
2087                           ac_lo= ac_hi=
2088                           break
2089                         fi
2090                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2091 fi
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093   done
2094 else
2095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h.  */
2097 $4
2098 int
2099 main ()
2100 {
2101 static int test_array [1 - 2 * !(($2) < 0)];
2102 test_array [0] = 0
2103
2104   ;
2105   return 0;
2106 }
2107 _ACEOF
2108 if ac_fn_c_try_compile "$LINENO"; then :
2109   ac_hi=-1 ac_mid=-1
2110   while :; do
2111     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h.  */
2113 $4
2114 int
2115 main ()
2116 {
2117 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2118 test_array [0] = 0
2119
2120   ;
2121   return 0;
2122 }
2123 _ACEOF
2124 if ac_fn_c_try_compile "$LINENO"; then :
2125   ac_lo=$ac_mid; break
2126 else
2127   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2128                         if test $ac_mid -le $ac_hi; then
2129                           ac_lo= ac_hi=
2130                           break
2131                         fi
2132                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2133 fi
2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2135   done
2136 else
2137   ac_lo= ac_hi=
2138 fi
2139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2140 fi
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 # Binary search between lo and hi bounds.
2143 while test "x$ac_lo" != "x$ac_hi"; do
2144   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h.  */
2147 $4
2148 int
2149 main ()
2150 {
2151 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2152 test_array [0] = 0
2153
2154   ;
2155   return 0;
2156 }
2157 _ACEOF
2158 if ac_fn_c_try_compile "$LINENO"; then :
2159   ac_hi=$ac_mid
2160 else
2161   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2162 fi
2163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164 done
2165 case $ac_lo in #((
2166 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2167 '') ac_retval=1 ;;
2168 esac
2169   else
2170     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h.  */
2172 $4
2173 static long int longval () { return $2; }
2174 static unsigned long int ulongval () { return $2; }
2175 #include <stdio.h>
2176 #include <stdlib.h>
2177 int
2178 main ()
2179 {
2180
2181   FILE *f = fopen ("conftest.val", "w");
2182   if (! f)
2183     return 1;
2184   if (($2) < 0)
2185     {
2186       long int i = longval ();
2187       if (i != ($2))
2188         return 1;
2189       fprintf (f, "%ld", i);
2190     }
2191   else
2192     {
2193       unsigned long int i = ulongval ();
2194       if (i != ($2))
2195         return 1;
2196       fprintf (f, "%lu", i);
2197     }
2198   /* Do not output a trailing newline, as this causes \r\n confusion
2199      on some platforms.  */
2200   return ferror (f) || fclose (f) != 0;
2201
2202   ;
2203   return 0;
2204 }
2205 _ACEOF
2206 if ac_fn_c_try_run "$LINENO"; then :
2207   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2208 else
2209   ac_retval=1
2210 fi
2211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2212   conftest.$ac_objext conftest.beam conftest.$ac_ext
2213 rm -f conftest.val
2214
2215   fi
2216   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2217   as_fn_set_status $ac_retval
2218
2219 } # ac_fn_c_compute_int
2220 cat >config.log <<_ACEOF
2221 This file contains any messages produced by compilers while
2222 running configure, to aid debugging if configure makes a mistake.
2223
2224 It was created by gmime $as_me 2.6.15, which was
2225 generated by GNU Autoconf 2.68.  Invocation command line was
2226
2227   $ $0 $@
2228
2229 _ACEOF
2230 exec 5>>config.log
2231 {
2232 cat <<_ASUNAME
2233 ## --------- ##
2234 ## Platform. ##
2235 ## --------- ##
2236
2237 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2238 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2239 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2240 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2241 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2242
2243 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2244 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2245
2246 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2247 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2248 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2249 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2250 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2251 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2252 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2253
2254 _ASUNAME
2255
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 for as_dir in $PATH
2258 do
2259   IFS=$as_save_IFS
2260   test -z "$as_dir" && as_dir=.
2261     $as_echo "PATH: $as_dir"
2262   done
2263 IFS=$as_save_IFS
2264
2265 } >&5
2266
2267 cat >&5 <<_ACEOF
2268
2269
2270 ## ----------- ##
2271 ## Core tests. ##
2272 ## ----------- ##
2273
2274 _ACEOF
2275
2276
2277 # Keep a trace of the command line.
2278 # Strip out --no-create and --no-recursion so they do not pile up.
2279 # Strip out --silent because we don't want to record it for future runs.
2280 # Also quote any args containing shell meta-characters.
2281 # Make two passes to allow for proper duplicate-argument suppression.
2282 ac_configure_args=
2283 ac_configure_args0=
2284 ac_configure_args1=
2285 ac_must_keep_next=false
2286 for ac_pass in 1 2
2287 do
2288   for ac_arg
2289   do
2290     case $ac_arg in
2291     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2292     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2293     | -silent | --silent | --silen | --sile | --sil)
2294       continue ;;
2295     *\'*)
2296       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2297     esac
2298     case $ac_pass in
2299     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2300     2)
2301       as_fn_append ac_configure_args1 " '$ac_arg'"
2302       if test $ac_must_keep_next = true; then
2303         ac_must_keep_next=false # Got value, back to normal.
2304       else
2305         case $ac_arg in
2306           *=* | --config-cache | -C | -disable-* | --disable-* \
2307           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2308           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2309           | -with-* | --with-* | -without-* | --without-* | --x)
2310             case "$ac_configure_args0 " in
2311               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2312             esac
2313             ;;
2314           -* ) ac_must_keep_next=true ;;
2315         esac
2316       fi
2317       as_fn_append ac_configure_args " '$ac_arg'"
2318       ;;
2319     esac
2320   done
2321 done
2322 { ac_configure_args0=; unset ac_configure_args0;}
2323 { ac_configure_args1=; unset ac_configure_args1;}
2324
2325 # When interrupted or exit'd, cleanup temporary files, and complete
2326 # config.log.  We remove comments because anyway the quotes in there
2327 # would cause problems or look ugly.
2328 # WARNING: Use '\'' to represent an apostrophe within the trap.
2329 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2330 trap 'exit_status=$?
2331   # Save into config.log some information that might help in debugging.
2332   {
2333     echo
2334
2335     $as_echo "## ---------------- ##
2336 ## Cache variables. ##
2337 ## ---------------- ##"
2338     echo
2339     # The following way of writing the cache mishandles newlines in values,
2340 (
2341   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2342     eval ac_val=\$$ac_var
2343     case $ac_val in #(
2344     *${as_nl}*)
2345       case $ac_var in #(
2346       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2347 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2348       esac
2349       case $ac_var in #(
2350       _ | IFS | as_nl) ;; #(
2351       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2352       *) { eval $ac_var=; unset $ac_var;} ;;
2353       esac ;;
2354     esac
2355   done
2356   (set) 2>&1 |
2357     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2358     *${as_nl}ac_space=\ *)
2359       sed -n \
2360         "s/'\''/'\''\\\\'\'''\''/g;
2361           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2362       ;; #(
2363     *)
2364       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2365       ;;
2366     esac |
2367     sort
2368 )
2369     echo
2370
2371     $as_echo "## ----------------- ##
2372 ## Output variables. ##
2373 ## ----------------- ##"
2374     echo
2375     for ac_var in $ac_subst_vars
2376     do
2377       eval ac_val=\$$ac_var
2378       case $ac_val in
2379       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2380       esac
2381       $as_echo "$ac_var='\''$ac_val'\''"
2382     done | sort
2383     echo
2384
2385     if test -n "$ac_subst_files"; then
2386       $as_echo "## ------------------- ##
2387 ## File substitutions. ##
2388 ## ------------------- ##"
2389       echo
2390       for ac_var in $ac_subst_files
2391       do
2392         eval ac_val=\$$ac_var
2393         case $ac_val in
2394         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2395         esac
2396         $as_echo "$ac_var='\''$ac_val'\''"
2397       done | sort
2398       echo
2399     fi
2400
2401     if test -s confdefs.h; then
2402       $as_echo "## ----------- ##
2403 ## confdefs.h. ##
2404 ## ----------- ##"
2405       echo
2406       cat confdefs.h
2407       echo
2408     fi
2409     test "$ac_signal" != 0 &&
2410       $as_echo "$as_me: caught signal $ac_signal"
2411     $as_echo "$as_me: exit $exit_status"
2412   } >&5
2413   rm -f core *.core core.conftest.* &&
2414     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2415     exit $exit_status
2416 ' 0
2417 for ac_signal in 1 2 13 15; do
2418   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2419 done
2420 ac_signal=0
2421
2422 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2423 rm -f -r conftest* confdefs.h
2424
2425 $as_echo "/* confdefs.h */" > confdefs.h
2426
2427 # Predefined preprocessor variables.
2428
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE_NAME "$PACKAGE_NAME"
2431 _ACEOF
2432
2433 cat >>confdefs.h <<_ACEOF
2434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2435 _ACEOF
2436
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2439 _ACEOF
2440
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_STRING "$PACKAGE_STRING"
2443 _ACEOF
2444
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2447 _ACEOF
2448
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_URL "$PACKAGE_URL"
2451 _ACEOF
2452
2453
2454 # Let the site file select an alternate cache file if it wants to.
2455 # Prefer an explicitly selected file to automatically selected ones.
2456 ac_site_file1=NONE
2457 ac_site_file2=NONE
2458 if test -n "$CONFIG_SITE"; then
2459   # We do not want a PATH search for config.site.
2460   case $CONFIG_SITE in #((
2461     -*)  ac_site_file1=./$CONFIG_SITE;;
2462     */*) ac_site_file1=$CONFIG_SITE;;
2463     *)   ac_site_file1=./$CONFIG_SITE;;
2464   esac
2465 elif test "x$prefix" != xNONE; then
2466   ac_site_file1=$prefix/share/config.site
2467   ac_site_file2=$prefix/etc/config.site
2468 else
2469   ac_site_file1=$ac_default_prefix/share/config.site
2470   ac_site_file2=$ac_default_prefix/etc/config.site
2471 fi
2472 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2473 do
2474   test "x$ac_site_file" = xNONE && continue
2475   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2476     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2477 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2478     sed 's/^/| /' "$ac_site_file" >&5
2479     . "$ac_site_file" \
2480       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $? "failed to load site script $ac_site_file
2483 See \`config.log' for more details" "$LINENO" 5; }
2484   fi
2485 done
2486
2487 if test -r "$cache_file"; then
2488   # Some versions of bash will fail to source /dev/null (special files
2489   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2490   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2491     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2492 $as_echo "$as_me: loading cache $cache_file" >&6;}
2493     case $cache_file in
2494       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2495       *)                      . "./$cache_file";;
2496     esac
2497   fi
2498 else
2499   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2500 $as_echo "$as_me: creating cache $cache_file" >&6;}
2501   >$cache_file
2502 fi
2503
2504 as_fn_append ac_header_list " stdlib.h"
2505 as_fn_append ac_header_list " unistd.h"
2506 as_fn_append ac_header_list " sys/param.h"
2507 # Check that the precious variables saved in the cache have kept the same
2508 # value.
2509 ac_cache_corrupted=false
2510 for ac_var in $ac_precious_vars; do
2511   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2512   eval ac_new_set=\$ac_env_${ac_var}_set
2513   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2514   eval ac_new_val=\$ac_env_${ac_var}_value
2515   case $ac_old_set,$ac_new_set in
2516     set,)
2517       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2519       ac_cache_corrupted=: ;;
2520     ,set)
2521       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2523       ac_cache_corrupted=: ;;
2524     ,);;
2525     *)
2526       if test "x$ac_old_val" != "x$ac_new_val"; then
2527         # differences in whitespace do not lead to failure.
2528         ac_old_val_w=`echo x $ac_old_val`
2529         ac_new_val_w=`echo x $ac_new_val`
2530         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2531           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2532 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2533           ac_cache_corrupted=:
2534         else
2535           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2536 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2537           eval $ac_var=\$ac_old_val
2538         fi
2539         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2540 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2541         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2542 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2543       fi;;
2544   esac
2545   # Pass precious variables to config.status.
2546   if test "$ac_new_set" = set; then
2547     case $ac_new_val in
2548     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2549     *) ac_arg=$ac_var=$ac_new_val ;;
2550     esac
2551     case " $ac_configure_args " in
2552       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2553       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2554     esac
2555   fi
2556 done
2557 if $ac_cache_corrupted; then
2558   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2561 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2562   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2563 fi
2564 ## -------------------- ##
2565 ## Main body of script. ##
2566 ## -------------------- ##
2567
2568 ac_ext=c
2569 ac_cpp='$CPP $CPPFLAGS'
2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2573
2574
2575
2576
2577
2578 ac_aux_dir=
2579 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2580   if test -f "$ac_dir/install-sh"; then
2581     ac_aux_dir=$ac_dir
2582     ac_install_sh="$ac_aux_dir/install-sh -c"
2583     break
2584   elif test -f "$ac_dir/install.sh"; then
2585     ac_aux_dir=$ac_dir
2586     ac_install_sh="$ac_aux_dir/install.sh -c"
2587     break
2588   elif test -f "$ac_dir/shtool"; then
2589     ac_aux_dir=$ac_dir
2590     ac_install_sh="$ac_aux_dir/shtool install -c"
2591     break
2592   fi
2593 done
2594 if test -z "$ac_aux_dir"; then
2595   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2596 fi
2597
2598 # These three variables are undocumented and unsupported,
2599 # and are intended to be withdrawn in a future Autoconf release.
2600 # They can cause serious problems if a builder's source tree is in a directory
2601 # whose full name contains unusual characters.
2602 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2603 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2604 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2605
2606
2607 # Make sure we can run config.sub.
2608 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2609   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2610
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2612 $as_echo_n "checking build system type... " >&6; }
2613 if ${ac_cv_build+:} false; then :
2614   $as_echo_n "(cached) " >&6
2615 else
2616   ac_build_alias=$build_alias
2617 test "x$ac_build_alias" = x &&
2618   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2619 test "x$ac_build_alias" = x &&
2620   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2621 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2622   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2623
2624 fi
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2626 $as_echo "$ac_cv_build" >&6; }
2627 case $ac_cv_build in
2628 *-*-*) ;;
2629 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2630 esac
2631 build=$ac_cv_build
2632 ac_save_IFS=$IFS; IFS='-'
2633 set x $ac_cv_build
2634 shift
2635 build_cpu=$1
2636 build_vendor=$2
2637 shift; shift
2638 # Remember, the first character of IFS is used to create $*,
2639 # except with old shells:
2640 build_os=$*
2641 IFS=$ac_save_IFS
2642 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2643
2644
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2646 $as_echo_n "checking host system type... " >&6; }
2647 if ${ac_cv_host+:} false; then :
2648   $as_echo_n "(cached) " >&6
2649 else
2650   if test "x$host_alias" = x; then
2651   ac_cv_host=$ac_cv_build
2652 else
2653   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2654     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2655 fi
2656
2657 fi
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2659 $as_echo "$ac_cv_host" >&6; }
2660 case $ac_cv_host in
2661 *-*-*) ;;
2662 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2663 esac
2664 host=$ac_cv_host
2665 ac_save_IFS=$IFS; IFS='-'
2666 set x $ac_cv_host
2667 shift
2668 host_cpu=$1
2669 host_vendor=$2
2670 shift; shift
2671 # Remember, the first character of IFS is used to create $*,
2672 # except with old shells:
2673 host_os=$*
2674 IFS=$ac_save_IFS
2675 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2676
2677
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2679 $as_echo_n "checking target system type... " >&6; }
2680 if ${ac_cv_target+:} false; then :
2681   $as_echo_n "(cached) " >&6
2682 else
2683   if test "x$target_alias" = x; then
2684   ac_cv_target=$ac_cv_host
2685 else
2686   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2687     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2688 fi
2689
2690 fi
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2692 $as_echo "$ac_cv_target" >&6; }
2693 case $ac_cv_target in
2694 *-*-*) ;;
2695 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2696 esac
2697 target=$ac_cv_target
2698 ac_save_IFS=$IFS; IFS='-'
2699 set x $ac_cv_target
2700 shift
2701 target_cpu=$1
2702 target_vendor=$2
2703 shift; shift
2704 # Remember, the first character of IFS is used to create $*,
2705 # except with old shells:
2706 target_os=$*
2707 IFS=$ac_save_IFS
2708 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2709
2710
2711 # The aliases save the names the user supplied, while $host etc.
2712 # will get canonicalized.
2713 test -n "$target_alias" &&
2714   test "$program_prefix$program_suffix$program_transform_name" = \
2715     NONENONEs,x,x, &&
2716   program_prefix=${target_alias}-
2717
2718
2719
2720 # Save this value here, since automake will set cflags later
2721 cflags_set=${CFLAGS+set}
2722
2723 am__api_version='1.11'
2724
2725 # Find a good install program.  We prefer a C program (faster),
2726 # so one script is as good as another.  But avoid the broken or
2727 # incompatible versions:
2728 # SysV /etc/install, /usr/sbin/install
2729 # SunOS /usr/etc/install
2730 # IRIX /sbin/install
2731 # AIX /bin/install
2732 # AmigaOS /C/install, which installs bootblocks on floppy discs
2733 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2734 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2735 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2736 # OS/2's system install, which has a completely different semantic
2737 # ./install, which can be erroneously created by make from ./install.sh.
2738 # Reject install programs that cannot install multiple files.
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2740 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2741 if test -z "$INSTALL"; then
2742 if ${ac_cv_path_install+:} false; then :
2743   $as_echo_n "(cached) " >&6
2744 else
2745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 for as_dir in $PATH
2747 do
2748   IFS=$as_save_IFS
2749   test -z "$as_dir" && as_dir=.
2750     # Account for people who put trailing slashes in PATH elements.
2751 case $as_dir/ in #((
2752   ./ | .// | /[cC]/* | \
2753   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2754   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2755   /usr/ucb/* ) ;;
2756   *)
2757     # OSF1 and SCO ODT 3.0 have their own names for install.
2758     # Don't use installbsd from OSF since it installs stuff as root
2759     # by default.
2760     for ac_prog in ginstall scoinst install; do
2761       for ac_exec_ext in '' $ac_executable_extensions; do
2762         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2763           if test $ac_prog = install &&
2764             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2765             # AIX install.  It has an incompatible calling convention.
2766             :
2767           elif test $ac_prog = install &&
2768             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2769             # program-specific install script used by HP pwplus--don't use.
2770             :
2771           else
2772             rm -rf conftest.one conftest.two conftest.dir
2773             echo one > conftest.one
2774             echo two > conftest.two
2775             mkdir conftest.dir
2776             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2777               test -s conftest.one && test -s conftest.two &&
2778               test -s conftest.dir/conftest.one &&
2779               test -s conftest.dir/conftest.two
2780             then
2781               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2782               break 3
2783             fi
2784           fi
2785         fi
2786       done
2787     done
2788     ;;
2789 esac
2790
2791   done
2792 IFS=$as_save_IFS
2793
2794 rm -rf conftest.one conftest.two conftest.dir
2795
2796 fi
2797   if test "${ac_cv_path_install+set}" = set; then
2798     INSTALL=$ac_cv_path_install
2799   else
2800     # As a last resort, use the slow shell script.  Don't cache a
2801     # value for INSTALL within a source directory, because that will
2802     # break other packages using the cache if that directory is
2803     # removed, or if the value is a relative name.
2804     INSTALL=$ac_install_sh
2805   fi
2806 fi
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2808 $as_echo "$INSTALL" >&6; }
2809
2810 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2811 # It thinks the first close brace ends the variable substitution.
2812 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2813
2814 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2815
2816 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2817
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2819 $as_echo_n "checking whether build environment is sane... " >&6; }
2820 # Just in case
2821 sleep 1
2822 echo timestamp > conftest.file
2823 # Reject unsafe characters in $srcdir or the absolute working directory
2824 # name.  Accept space and tab only in the latter.
2825 am_lf='
2826 '
2827 case `pwd` in
2828   *[\\\"\#\$\&\'\`$am_lf]*)
2829     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2830 esac
2831 case $srcdir in
2832   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2833     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2834 esac
2835
2836 # Do `set' in a subshell so we don't clobber the current shell's
2837 # arguments.  Must try -L first in case configure is actually a
2838 # symlink; some systems play weird games with the mod time of symlinks
2839 # (eg FreeBSD returns the mod time of the symlink's containing
2840 # directory).
2841 if (
2842    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2843    if test "$*" = "X"; then
2844       # -L didn't work.
2845       set X `ls -t "$srcdir/configure" conftest.file`
2846    fi
2847    rm -f conftest.file
2848    if test "$*" != "X $srcdir/configure conftest.file" \
2849       && test "$*" != "X conftest.file $srcdir/configure"; then
2850
2851       # If neither matched, then we have a broken ls.  This can happen
2852       # if, for instance, CONFIG_SHELL is bash and it inherits a
2853       # broken ls alias from the environment.  This has actually
2854       # happened.  Such a system could not be considered "sane".
2855       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2856 alias in your environment" "$LINENO" 5
2857    fi
2858
2859    test "$2" = conftest.file
2860    )
2861 then
2862    # Ok.
2863    :
2864 else
2865    as_fn_error $? "newly created file is older than distributed files!
2866 Check your system clock" "$LINENO" 5
2867 fi
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2869 $as_echo "yes" >&6; }
2870 test "$program_prefix" != NONE &&
2871   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2872 # Use a double $ so make ignores it.
2873 test "$program_suffix" != NONE &&
2874   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2875 # Double any \ or $.
2876 # By default was `s,x,x', remove it if useless.
2877 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2878 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2879
2880 # expand $ac_aux_dir to an absolute path
2881 am_aux_dir=`cd $ac_aux_dir && pwd`
2882
2883 if test x"${MISSING+set}" != xset; then
2884   case $am_aux_dir in
2885   *\ * | *\     *)
2886     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2887   *)
2888     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2889   esac
2890 fi
2891 # Use eval to expand $SHELL
2892 if eval "$MISSING --run true"; then
2893   am_missing_run="$MISSING --run "
2894 else
2895   am_missing_run=
2896   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2897 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2898 fi
2899
2900 if test x"${install_sh}" != xset; then
2901   case $am_aux_dir in
2902   *\ * | *\     *)
2903     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2904   *)
2905     install_sh="\${SHELL} $am_aux_dir/install-sh"
2906   esac
2907 fi
2908
2909 # Installed binaries are usually stripped using `strip' when the user
2910 # run `make install-strip'.  However `strip' might not be the right
2911 # tool to use in cross-compilation environments, therefore Automake
2912 # will honor the `STRIP' environment variable to overrule this program.
2913 if test "$cross_compiling" != no; then
2914   if test -n "$ac_tool_prefix"; then
2915   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2916 set dummy ${ac_tool_prefix}strip; ac_word=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if ${ac_cv_prog_STRIP+:} false; then :
2920   $as_echo_n "(cached) " >&6
2921 else
2922   if test -n "$STRIP"; then
2923   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2924 else
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 for as_dir in $PATH
2927 do
2928   IFS=$as_save_IFS
2929   test -z "$as_dir" && as_dir=.
2930     for ac_exec_ext in '' $ac_executable_extensions; do
2931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934     break 2
2935   fi
2936 done
2937   done
2938 IFS=$as_save_IFS
2939
2940 fi
2941 fi
2942 STRIP=$ac_cv_prog_STRIP
2943 if test -n "$STRIP"; then
2944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2945 $as_echo "$STRIP" >&6; }
2946 else
2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2949 fi
2950
2951
2952 fi
2953 if test -z "$ac_cv_prog_STRIP"; then
2954   ac_ct_STRIP=$STRIP
2955   # Extract the first word of "strip", so it can be a program name with args.
2956 set dummy strip; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2960   $as_echo_n "(cached) " >&6
2961 else
2962   if test -n "$ac_ct_STRIP"; then
2963   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2964 else
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 for as_dir in $PATH
2967 do
2968   IFS=$as_save_IFS
2969   test -z "$as_dir" && as_dir=.
2970     for ac_exec_ext in '' $ac_executable_extensions; do
2971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972     ac_cv_prog_ac_ct_STRIP="strip"
2973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974     break 2
2975   fi
2976 done
2977   done
2978 IFS=$as_save_IFS
2979
2980 fi
2981 fi
2982 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2983 if test -n "$ac_ct_STRIP"; then
2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2985 $as_echo "$ac_ct_STRIP" >&6; }
2986 else
2987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2989 fi
2990
2991   if test "x$ac_ct_STRIP" = x; then
2992     STRIP=":"
2993   else
2994     case $cross_compiling:$ac_tool_warned in
2995 yes:)
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2998 ac_tool_warned=yes ;;
2999 esac
3000     STRIP=$ac_ct_STRIP
3001   fi
3002 else
3003   STRIP="$ac_cv_prog_STRIP"
3004 fi
3005
3006 fi
3007 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3008
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3010 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3011 if test -z "$MKDIR_P"; then
3012   if ${ac_cv_path_mkdir+:} false; then :
3013   $as_echo_n "(cached) " >&6
3014 else
3015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3017 do
3018   IFS=$as_save_IFS
3019   test -z "$as_dir" && as_dir=.
3020     for ac_prog in mkdir gmkdir; do
3021          for ac_exec_ext in '' $ac_executable_extensions; do
3022            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3023            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3024              'mkdir (GNU coreutils) '* | \
3025              'mkdir (coreutils) '* | \
3026              'mkdir (fileutils) '4.1*)
3027                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3028                break 3;;
3029            esac
3030          done
3031        done
3032   done
3033 IFS=$as_save_IFS
3034
3035 fi
3036
3037   test -d ./--version && rmdir ./--version
3038   if test "${ac_cv_path_mkdir+set}" = set; then
3039     MKDIR_P="$ac_cv_path_mkdir -p"
3040   else
3041     # As a last resort, use the slow shell script.  Don't cache a
3042     # value for MKDIR_P within a source directory, because that will
3043     # break other packages using the cache if that directory is
3044     # removed, or if the value is a relative name.
3045     MKDIR_P="$ac_install_sh -d"
3046   fi
3047 fi
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3049 $as_echo "$MKDIR_P" >&6; }
3050
3051 mkdir_p="$MKDIR_P"
3052 case $mkdir_p in
3053   [\\/$]* | ?:[\\/]*) ;;
3054   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3055 esac
3056
3057 for ac_prog in gawk mawk nawk awk
3058 do
3059   # Extract the first word of "$ac_prog", so it can be a program name with args.
3060 set dummy $ac_prog; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_AWK+:} false; then :
3064   $as_echo_n "(cached) " >&6
3065 else
3066   if test -n "$AWK"; then
3067   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3071 do
3072   IFS=$as_save_IFS
3073   test -z "$as_dir" && as_dir=.
3074     for ac_exec_ext in '' $ac_executable_extensions; do
3075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076     ac_cv_prog_AWK="$ac_prog"
3077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078     break 2
3079   fi
3080 done
3081   done
3082 IFS=$as_save_IFS
3083
3084 fi
3085 fi
3086 AWK=$ac_cv_prog_AWK
3087 if test -n "$AWK"; then
3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3089 $as_echo "$AWK" >&6; }
3090 else
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3093 fi
3094
3095
3096   test -n "$AWK" && break
3097 done
3098
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3100 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3101 set x ${MAKE-make}
3102 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3103 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3104   $as_echo_n "(cached) " >&6
3105 else
3106   cat >conftest.make <<\_ACEOF
3107 SHELL = /bin/sh
3108 all:
3109         @echo '@@@%%%=$(MAKE)=@@@%%%'
3110 _ACEOF
3111 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3112 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3113   *@@@%%%=?*=@@@%%%*)
3114     eval ac_cv_prog_make_${ac_make}_set=yes;;
3115   *)
3116     eval ac_cv_prog_make_${ac_make}_set=no;;
3117 esac
3118 rm -f conftest.make
3119 fi
3120 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3122 $as_echo "yes" >&6; }
3123   SET_MAKE=
3124 else
3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3127   SET_MAKE="MAKE=${MAKE-make}"
3128 fi
3129
3130 rm -rf .tst 2>/dev/null
3131 mkdir .tst 2>/dev/null
3132 if test -d .tst; then
3133   am__leading_dot=.
3134 else
3135   am__leading_dot=_
3136 fi
3137 rmdir .tst 2>/dev/null
3138
3139 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3140   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3141   # is not polluted with repeated "-I."
3142   am__isrc=' -I$(srcdir)'
3143   # test to see if srcdir already configured
3144   if test -f $srcdir/config.status; then
3145     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3146   fi
3147 fi
3148
3149 # test whether we have cygpath
3150 if test -z "$CYGPATH_W"; then
3151   if (cygpath --version) >/dev/null 2>/dev/null; then
3152     CYGPATH_W='cygpath -w'
3153   else
3154     CYGPATH_W=echo
3155   fi
3156 fi
3157
3158
3159 # Define the identity of the package.
3160  PACKAGE='gmime'
3161  VERSION='2.6.15'
3162
3163
3164 cat >>confdefs.h <<_ACEOF
3165 #define PACKAGE "$PACKAGE"
3166 _ACEOF
3167
3168
3169 cat >>confdefs.h <<_ACEOF
3170 #define VERSION "$VERSION"
3171 _ACEOF
3172
3173 # Some tools Automake needs.
3174
3175 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3176
3177
3178 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3179
3180
3181 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3182
3183
3184 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3185
3186
3187 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3188
3189 # We need awk for the "check" target.  The system "awk" is bad on
3190 # some platforms.
3191 # Always define AMTAR for backward compatibility.  Yes, it's still used
3192 # in the wild :-(  We should find a proper way to deprecate it ...
3193 AMTAR='$${TAR-tar}'
3194
3195
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3197 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3198 # Loop over all known methods to create a tar archive until one works.
3199 _am_tools='gnutar plaintar pax cpio none'
3200 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3201 # Do not fold the above two line into one, because Tru64 sh and
3202 # Solaris sh will not grok spaces in the rhs of `-'.
3203 for _am_tool in $_am_tools
3204 do
3205   case $_am_tool in
3206   gnutar)
3207     for _am_tar in tar gnutar gtar;
3208     do
3209       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3210    ($_am_tar --version) >&5 2>&5
3211    ac_status=$?
3212    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213    (exit $ac_status); } && break
3214     done
3215     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3216     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3217     am__untar="$_am_tar -xf -"
3218     ;;
3219   plaintar)
3220     # Must skip GNU tar: if it does not support --format= it doesn't create
3221     # ustar tarball either.
3222     (tar --version) >/dev/null 2>&1 && continue
3223     am__tar='tar chf - "$$tardir"'
3224     am__tar_='tar chf - "$tardir"'
3225     am__untar='tar xf -'
3226     ;;
3227   pax)
3228     am__tar='pax -L -x ustar -w "$$tardir"'
3229     am__tar_='pax -L -x ustar -w "$tardir"'
3230     am__untar='pax -r'
3231     ;;
3232   cpio)
3233     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3234     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3235     am__untar='cpio -i -H ustar -d'
3236     ;;
3237   none)
3238     am__tar=false
3239     am__tar_=false
3240     am__untar=false
3241     ;;
3242   esac
3243
3244   # If the value was cached, stop now.  We just wanted to have am__tar
3245   # and am__untar set.
3246   test -n "${am_cv_prog_tar_ustar}" && break
3247
3248   # tar/untar a dummy directory, and stop if the command works
3249   rm -rf conftest.dir
3250   mkdir conftest.dir
3251   echo GrepMe > conftest.dir/file
3252   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3253    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3254    ac_status=$?
3255    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256    (exit $ac_status); }
3257   rm -rf conftest.dir
3258   if test -s conftest.tar; then
3259     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3260    ($am__untar <conftest.tar) >&5 2>&5
3261    ac_status=$?
3262    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263    (exit $ac_status); }
3264     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3265   fi
3266 done
3267 rm -rf conftest.dir
3268
3269 if ${am_cv_prog_tar_ustar+:} false; then :
3270   $as_echo_n "(cached) " >&6
3271 else
3272   am_cv_prog_tar_ustar=$_am_tool
3273 fi
3274
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3276 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3277
3278
3279
3280
3281
3282 ACLOCAL_AMFLAGS="-I m4 \${ACLOCAL_FLAGS}"
3283
3284 ac_config_headers="$ac_config_headers config.h"
3285
3286
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3288 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3289     # Check whether --enable-maintainer-mode was given.
3290 if test "${enable_maintainer_mode+set}" = set; then :
3291   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3292 else
3293   USE_MAINTAINER_MODE=no
3294 fi
3295
3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3297 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3298    if test $USE_MAINTAINER_MODE = yes; then
3299   MAINTAINER_MODE_TRUE=
3300   MAINTAINER_MODE_FALSE='#'
3301 else
3302   MAINTAINER_MODE_TRUE='#'
3303   MAINTAINER_MODE_FALSE=
3304 fi
3305
3306   MAINT=$MAINTAINER_MODE_TRUE
3307
3308
3309
3310
3311 GMIME_MAJOR_VERSION=2
3312 GMIME_MINOR_VERSION=6
3313 GMIME_MICRO_VERSION=15
3314 GMIME_INTERFACE_AGE=15
3315 GMIME_BINARY_AGE=615
3316 GMIME_API_VERSION=2.6
3317 GMIME_VERSION=2.6.15
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328 $as_echo "#define GMIME_VERSION \"2.6.15\"" >>confdefs.h
3329
3330
3331 # libtool versioning
3332 LT_RELEASE=2.6
3333 LT_CURRENT=600
3334 LT_REVISION=15
3335 LT_AGE=600
3336 LT_CURRENT_MINUS_AGE=0
3337
3338
3339
3340
3341
3342
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for Win32" >&5
3344 $as_echo_n "checking if building for Win32... " >&6; }
3345 LIB_EXE_MACHINE_FLAG=X86
3346 case "$host" in
3347   *-*-mingw*)
3348     platform_win32="yes"
3349     native_win32="yes"
3350     case "$host" in
3351     x86_64-*-*)
3352       LIB_EXE_MACHINE_FLAG=X64
3353       ;;
3354     esac
3355     ;;
3356   *)
3357     platform_win32="no"
3358     native_win32="no"
3359     ;;
3360 esac
3361
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
3363 $as_echo "$platform_win32" >&6; }
3364
3365
3366
3367  if test "x$platform_win32" = "xyes"; then
3368   PLATFORM_WIN32_TRUE=
3369   PLATFORM_WIN32_FALSE='#'
3370 else
3371   PLATFORM_WIN32_TRUE='#'
3372   PLATFORM_WIN32_FALSE=
3373 fi
3374
3375  if test "$native_win32" = "xyes"; then
3376   OS_WIN32_TRUE=
3377   OS_WIN32_FALSE='#'
3378 else
3379   OS_WIN32_TRUE='#'
3380   OS_WIN32_FALSE=
3381 fi
3382
3383  if test "$LIB_EXE_MACHINE_FLAG" = "X64"; then
3384   OS_WIN32_X64_TRUE=
3385   OS_WIN32_X64_FALSE='#'
3386 else
3387   OS_WIN32_X64_TRUE='#'
3388   OS_WIN32_X64_FALSE=
3389 fi
3390
3391
3392 if test "$glib_native_win32" = "yes"; then
3393   if test -n "$ac_tool_prefix"; then
3394   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
3395 set dummy ${ac_tool_prefix}windres; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if ${ac_cv_prog_WINDRES+:} false; then :
3399   $as_echo_n "(cached) " >&6
3400 else
3401   if test -n "$WINDRES"; then
3402   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3406 do
3407   IFS=$as_save_IFS
3408   test -z "$as_dir" && as_dir=.
3409     for ac_exec_ext in '' $ac_executable_extensions; do
3410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
3412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413     break 2
3414   fi
3415 done
3416   done
3417 IFS=$as_save_IFS
3418
3419 fi
3420 fi
3421 WINDRES=$ac_cv_prog_WINDRES
3422 if test -n "$WINDRES"; then
3423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
3424 $as_echo "$WINDRES" >&6; }
3425 else
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 fi
3429
3430
3431 fi
3432 if test -z "$ac_cv_prog_WINDRES"; then
3433   ac_ct_WINDRES=$WINDRES
3434   # Extract the first word of "windres", so it can be a program name with args.
3435 set dummy windres; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
3439   $as_echo_n "(cached) " >&6
3440 else
3441   if test -n "$ac_ct_WINDRES"; then
3442   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
3443 else
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH
3446 do
3447   IFS=$as_save_IFS
3448   test -z "$as_dir" && as_dir=.
3449     for ac_exec_ext in '' $ac_executable_extensions; do
3450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3451     ac_cv_prog_ac_ct_WINDRES="windres"
3452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453     break 2
3454   fi
3455 done
3456   done
3457 IFS=$as_save_IFS
3458
3459 fi
3460 fi
3461 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
3462 if test -n "$ac_ct_WINDRES"; then
3463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
3464 $as_echo "$ac_ct_WINDRES" >&6; }
3465 else
3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3468 fi
3469
3470   if test "x$ac_ct_WINDRES" = x; then
3471     WINDRES="no"
3472   else
3473     case $cross_compiling:$ac_tool_warned in
3474 yes:)
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3477 ac_tool_warned=yes ;;
3478 esac
3479     WINDRES=$ac_ct_WINDRES
3480   fi
3481 else
3482   WINDRES="$ac_cv_prog_WINDRES"
3483 fi
3484
3485   if test "$WINDRES" = no; then
3486     as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
3487   fi
3488   if test -n "$ac_tool_prefix"; then
3489   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3490 set dummy ${ac_tool_prefix}nm; ac_word=$2
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3492 $as_echo_n "checking for $ac_word... " >&6; }
3493 if ${ac_cv_prog_NM+:} false; then :
3494   $as_echo_n "(cached) " >&6
3495 else
3496   if test -n "$NM"; then
3497   ac_cv_prog_NM="$NM" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3501 do
3502   IFS=$as_save_IFS
3503   test -z "$as_dir" && as_dir=.
3504     for ac_exec_ext in '' $ac_executable_extensions; do
3505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3506     ac_cv_prog_NM="${ac_tool_prefix}nm"
3507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3508     break 2
3509   fi
3510 done
3511   done
3512 IFS=$as_save_IFS
3513
3514 fi
3515 fi
3516 NM=$ac_cv_prog_NM
3517 if test -n "$NM"; then
3518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3519 $as_echo "$NM" >&6; }
3520 else
3521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522 $as_echo "no" >&6; }
3523 fi
3524
3525
3526 fi
3527 if test -z "$ac_cv_prog_NM"; then
3528   ac_ct_NM=$NM
3529   # Extract the first word of "nm", so it can be a program name with args.
3530 set dummy nm; ac_word=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if ${ac_cv_prog_ac_ct_NM+:} false; then :
3534   $as_echo_n "(cached) " >&6
3535 else
3536   if test -n "$ac_ct_NM"; then
3537   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
3538 else
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 for as_dir in $PATH
3541 do
3542   IFS=$as_save_IFS
3543   test -z "$as_dir" && as_dir=.
3544     for ac_exec_ext in '' $ac_executable_extensions; do
3545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3546     ac_cv_prog_ac_ct_NM="nm"
3547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548     break 2
3549   fi
3550 done
3551   done
3552 IFS=$as_save_IFS
3553
3554 fi
3555 fi
3556 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3557 if test -n "$ac_ct_NM"; then
3558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3559 $as_echo "$ac_ct_NM" >&6; }
3560 else
3561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3563 fi
3564
3565   if test "x$ac_ct_NM" = x; then
3566     NM="no"
3567   else
3568     case $cross_compiling:$ac_tool_warned in
3569 yes:)
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3572 ac_tool_warned=yes ;;
3573 esac
3574     NM=$ac_ct_NM
3575   fi
3576 else
3577   NM="$ac_cv_prog_NM"
3578 fi
3579
3580   if test "$NM" = no; then
3581     as_fn_error $? "*** Could not find an implementation of nm in your PATH." "$LINENO" 5
3582   fi
3583   if test -n "$ac_tool_prefix"; then
3584   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if ${ac_cv_prog_RANLIB+:} false; then :
3589   $as_echo_n "(cached) " >&6
3590 else
3591   if test -n "$RANLIB"; then
3592   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3596 do
3597   IFS=$as_save_IFS
3598   test -z "$as_dir" && as_dir=.
3599     for ac_exec_ext in '' $ac_executable_extensions; do
3600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603     break 2
3604   fi
3605 done
3606   done
3607 IFS=$as_save_IFS
3608
3609 fi
3610 fi
3611 RANLIB=$ac_cv_prog_RANLIB
3612 if test -n "$RANLIB"; then
3613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3614 $as_echo "$RANLIB" >&6; }
3615 else
3616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3618 fi
3619
3620
3621 fi
3622 if test -z "$ac_cv_prog_RANLIB"; then
3623   ac_ct_RANLIB=$RANLIB
3624   # Extract the first word of "ranlib", so it can be a program name with args.
3625 set dummy ranlib; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3629   $as_echo_n "(cached) " >&6
3630 else
3631   if test -n "$ac_ct_RANLIB"; then
3632   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3633 else
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 for as_dir in $PATH
3636 do
3637   IFS=$as_save_IFS
3638   test -z "$as_dir" && as_dir=.
3639     for ac_exec_ext in '' $ac_executable_extensions; do
3640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641     ac_cv_prog_ac_ct_RANLIB="ranlib"
3642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643     break 2
3644   fi
3645 done
3646   done
3647 IFS=$as_save_IFS
3648
3649 fi
3650 fi
3651 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3652 if test -n "$ac_ct_RANLIB"; then
3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3654 $as_echo "$ac_ct_RANLIB" >&6; }
3655 else
3656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 fi
3659
3660   if test "x$ac_ct_RANLIB" = x; then
3661     RANLIB=":"
3662   else
3663     case $cross_compiling:$ac_tool_warned in
3664 yes:)
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3667 ac_tool_warned=yes ;;
3668 esac
3669     RANLIB=$ac_ct_RANLIB
3670   fi
3671 else
3672   RANLIB="$ac_cv_prog_RANLIB"
3673 fi
3674
3675   # Extract the first word of "lib.exe", so it can be a program name with args.
3676 set dummy lib.exe; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if ${ac_cv_prog_ms_librarian+:} false; then :
3680   $as_echo_n "(cached) " >&6
3681 else
3682   if test -n "$ms_librarian"; then
3683   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3687 do
3688   IFS=$as_save_IFS
3689   test -z "$as_dir" && as_dir=.
3690     for ac_exec_ext in '' $ac_executable_extensions; do
3691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692     ac_cv_prog_ms_librarian="yes"
3693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694     break 2
3695   fi
3696 done
3697   done
3698 IFS=$as_save_IFS
3699
3700   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
3701 fi
3702 fi
3703 ms_librarian=$ac_cv_prog_ms_librarian
3704 if test -n "$ms_librarian"; then
3705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
3706 $as_echo "$ms_librarian" >&6; }
3707 else
3708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3710 fi
3711
3712
3713 fi
3714  if test x$ms_librarian = xyes; then
3715   MS_LIB_AVAILABLE_TRUE=
3716   MS_LIB_AVAILABLE_FALSE='#'
3717 else
3718   MS_LIB_AVAILABLE_TRUE='#'
3719   MS_LIB_AVAILABLE_FALSE=
3720 fi
3721
3722
3723 DEPDIR="${am__leading_dot}deps"
3724
3725 ac_config_commands="$ac_config_commands depfiles"
3726
3727
3728 am_make=${MAKE-make}
3729 cat > confinc << 'END'
3730 am__doit:
3731         @echo this is the am__doit target
3732 .PHONY: am__doit
3733 END
3734 # If we don't find an include directive, just comment out the code.
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3736 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3737 am__include="#"
3738 am__quote=
3739 _am_result=none
3740 # First try GNU make style include.
3741 echo "include confinc" > confmf
3742 # Ignore all kinds of additional output from `make'.
3743 case `$am_make -s -f confmf 2> /dev/null` in #(
3744 *the\ am__doit\ target*)
3745   am__include=include
3746   am__quote=
3747   _am_result=GNU
3748   ;;
3749 esac
3750 # Now try BSD make style include.
3751 if test "$am__include" = "#"; then
3752    echo '.include "confinc"' > confmf
3753    case `$am_make -s -f confmf 2> /dev/null` in #(
3754    *the\ am__doit\ target*)
3755      am__include=.include
3756      am__quote="\""
3757      _am_result=BSD
3758      ;;
3759    esac
3760 fi
3761
3762
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3764 $as_echo "$_am_result" >&6; }
3765 rm -f confinc confmf
3766
3767 # Check whether --enable-dependency-tracking was given.
3768 if test "${enable_dependency_tracking+set}" = set; then :
3769   enableval=$enable_dependency_tracking;
3770 fi
3771
3772 if test "x$enable_dependency_tracking" != xno; then
3773   am_depcomp="$ac_aux_dir/depcomp"
3774   AMDEPBACKSLASH='\'
3775   am__nodep='_no'
3776 fi
3777  if test "x$enable_dependency_tracking" != xno; then
3778   AMDEP_TRUE=
3779   AMDEP_FALSE='#'
3780 else
3781   AMDEP_TRUE='#'
3782   AMDEP_FALSE=
3783 fi
3784
3785
3786 ac_ext=c
3787 ac_cpp='$CPP $CPPFLAGS'
3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791 if test -n "$ac_tool_prefix"; then
3792   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3793 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if ${ac_cv_prog_CC+:} false; then :
3797   $as_echo_n "(cached) " >&6
3798 else
3799   if test -n "$CC"; then
3800   ac_cv_prog_CC="$CC" # Let the user override the test.
3801 else
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 for as_dir in $PATH
3804 do
3805   IFS=$as_save_IFS
3806   test -z "$as_dir" && as_dir=.
3807     for ac_exec_ext in '' $ac_executable_extensions; do
3808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3809     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811     break 2
3812   fi
3813 done
3814   done
3815 IFS=$as_save_IFS
3816
3817 fi
3818 fi
3819 CC=$ac_cv_prog_CC
3820 if test -n "$CC"; then
3821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3822 $as_echo "$CC" >&6; }
3823 else
3824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3826 fi
3827
3828
3829 fi
3830 if test -z "$ac_cv_prog_CC"; then
3831   ac_ct_CC=$CC
3832   # Extract the first word of "gcc", so it can be a program name with args.
3833 set dummy gcc; ac_word=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3837   $as_echo_n "(cached) " >&6
3838 else
3839   if test -n "$ac_ct_CC"; then
3840   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3841 else
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3844 do
3845   IFS=$as_save_IFS
3846   test -z "$as_dir" && as_dir=.
3847     for ac_exec_ext in '' $ac_executable_extensions; do
3848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849     ac_cv_prog_ac_ct_CC="gcc"
3850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851     break 2
3852   fi
3853 done
3854   done
3855 IFS=$as_save_IFS
3856
3857 fi
3858 fi
3859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3860 if test -n "$ac_ct_CC"; then
3861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3862 $as_echo "$ac_ct_CC" >&6; }
3863 else
3864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3866 fi
3867
3868   if test "x$ac_ct_CC" = x; then
3869     CC=""
3870   else
3871     case $cross_compiling:$ac_tool_warned in
3872 yes:)
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3875 ac_tool_warned=yes ;;
3876 esac
3877     CC=$ac_ct_CC
3878   fi
3879 else
3880   CC="$ac_cv_prog_CC"
3881 fi
3882
3883 if test -z "$CC"; then
3884           if test -n "$ac_tool_prefix"; then
3885     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3886 set dummy ${ac_tool_prefix}cc; ac_word=$2
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if ${ac_cv_prog_CC+:} false; then :
3890   $as_echo_n "(cached) " >&6
3891 else
3892   if test -n "$CC"; then
3893   ac_cv_prog_CC="$CC" # Let the user override the test.
3894 else
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 for as_dir in $PATH
3897 do
3898   IFS=$as_save_IFS
3899   test -z "$as_dir" && as_dir=.
3900     for ac_exec_ext in '' $ac_executable_extensions; do
3901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3902     ac_cv_prog_CC="${ac_tool_prefix}cc"
3903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904     break 2
3905   fi
3906 done
3907   done
3908 IFS=$as_save_IFS
3909
3910 fi
3911 fi
3912 CC=$ac_cv_prog_CC
3913 if test -n "$CC"; then
3914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3915 $as_echo "$CC" >&6; }
3916 else
3917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3919 fi
3920
3921
3922   fi
3923 fi
3924 if test -z "$CC"; then
3925   # Extract the first word of "cc", so it can be a program name with args.
3926 set dummy cc; ac_word=$2
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928 $as_echo_n "checking for $ac_word... " >&6; }
3929 if ${ac_cv_prog_CC+:} false; then :
3930   $as_echo_n "(cached) " >&6
3931 else
3932   if test -n "$CC"; then
3933   ac_cv_prog_CC="$CC" # Let the user override the test.
3934 else
3935   ac_prog_rejected=no
3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 for as_dir in $PATH
3938 do
3939   IFS=$as_save_IFS
3940   test -z "$as_dir" && as_dir=.
3941     for ac_exec_ext in '' $ac_executable_extensions; do
3942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3943     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3944        ac_prog_rejected=yes
3945        continue
3946      fi
3947     ac_cv_prog_CC="cc"
3948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949     break 2
3950   fi
3951 done
3952   done
3953 IFS=$as_save_IFS
3954
3955 if test $ac_prog_rejected = yes; then
3956   # We found a bogon in the path, so make sure we never use it.
3957   set dummy $ac_cv_prog_CC
3958   shift
3959   if test $# != 0; then
3960     # We chose a different compiler from the bogus one.
3961     # However, it has the same basename, so the bogon will be chosen
3962     # first if we set CC to just the basename; use the full file name.
3963     shift
3964     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3965   fi
3966 fi
3967 fi
3968 fi
3969 CC=$ac_cv_prog_CC
3970 if test -n "$CC"; then
3971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3972 $as_echo "$CC" >&6; }
3973 else
3974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3976 fi
3977
3978
3979 fi
3980 if test -z "$CC"; then
3981   if test -n "$ac_tool_prefix"; then
3982   for ac_prog in cl.exe
3983   do
3984     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_CC+:} false; then :
3989   $as_echo_n "(cached) " >&6
3990 else
3991   if test -n "$CC"; then
3992   ac_cv_prog_CC="$CC" # Let the user override the test.
3993 else
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 for as_dir in $PATH
3996 do
3997   IFS=$as_save_IFS
3998   test -z "$as_dir" && as_dir=.
3999     for ac_exec_ext in '' $ac_executable_extensions; do
4000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4001     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003     break 2
4004   fi
4005 done
4006   done
4007 IFS=$as_save_IFS
4008
4009 fi
4010 fi
4011 CC=$ac_cv_prog_CC
4012 if test -n "$CC"; then
4013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4015 else
4016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4018 fi
4019
4020
4021     test -n "$CC" && break
4022   done
4023 fi
4024 if test -z "$CC"; then
4025   ac_ct_CC=$CC
4026   for ac_prog in cl.exe
4027 do
4028   # Extract the first word of "$ac_prog", so it can be a program name with args.
4029 set dummy $ac_prog; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4033   $as_echo_n "(cached) " >&6
4034 else
4035   if test -n "$ac_ct_CC"; then
4036   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4037 else
4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 for as_dir in $PATH
4040 do
4041   IFS=$as_save_IFS
4042   test -z "$as_dir" && as_dir=.
4043     for ac_exec_ext in '' $ac_executable_extensions; do
4044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4045     ac_cv_prog_ac_ct_CC="$ac_prog"
4046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047     break 2
4048   fi
4049 done
4050   done
4051 IFS=$as_save_IFS
4052
4053 fi
4054 fi
4055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4056 if test -n "$ac_ct_CC"; then
4057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4058 $as_echo "$ac_ct_CC" >&6; }
4059 else
4060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4062 fi
4063
4064
4065   test -n "$ac_ct_CC" && break
4066 done
4067
4068   if test "x$ac_ct_CC" = x; then
4069     CC=""
4070   else
4071     case $cross_compiling:$ac_tool_warned in
4072 yes:)
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4075 ac_tool_warned=yes ;;
4076 esac
4077     CC=$ac_ct_CC
4078   fi
4079 fi
4080
4081 fi
4082
4083
4084 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 as_fn_error $? "no acceptable C compiler found in \$PATH
4087 See \`config.log' for more details" "$LINENO" 5; }
4088
4089 # Provide some information about the compiler.
4090 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4091 set X $ac_compile
4092 ac_compiler=$2
4093 for ac_option in --version -v -V -qversion; do
4094   { { ac_try="$ac_compiler $ac_option >&5"
4095 case "(($ac_try" in
4096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097   *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4102   ac_status=$?
4103   if test -s conftest.err; then
4104     sed '10a\
4105 ... rest of stderr output deleted ...
4106          10q' conftest.err >conftest.er1
4107     cat conftest.er1 >&5
4108   fi
4109   rm -f conftest.er1 conftest.err
4110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111   test $ac_status = 0; }
4112 done
4113
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h.  */
4116
4117 int
4118 main ()
4119 {
4120
4121   ;
4122   return 0;
4123 }
4124 _ACEOF
4125 ac_clean_files_save=$ac_clean_files
4126 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4127 # Try to create an executable without -o first, disregard a.out.
4128 # It will help us diagnose broken compilers, and finding out an intuition
4129 # of exeext.
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4131 $as_echo_n "checking whether the C compiler works... " >&6; }
4132 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4133
4134 # The possible output files:
4135 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4136
4137 ac_rmfiles=
4138 for ac_file in $ac_files
4139 do
4140   case $ac_file in
4141     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4142     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4143   esac
4144 done
4145 rm -f $ac_rmfiles
4146
4147 if { { ac_try="$ac_link_default"
4148 case "(($ac_try" in
4149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150   *) ac_try_echo=$ac_try;;
4151 esac
4152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4153 $as_echo "$ac_try_echo"; } >&5
4154   (eval "$ac_link_default") 2>&5
4155   ac_status=$?
4156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4157   test $ac_status = 0; }; then :
4158   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4159 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4160 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4161 # so that the user can short-circuit this test for compilers unknown to
4162 # Autoconf.
4163 for ac_file in $ac_files ''
4164 do
4165   test -f "$ac_file" || continue
4166   case $ac_file in
4167     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4168         ;;
4169     [ab].out )
4170         # We found the default executable, but exeext='' is most
4171         # certainly right.
4172         break;;
4173     *.* )
4174         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4175         then :; else
4176            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4177         fi
4178         # We set ac_cv_exeext here because the later test for it is not
4179         # safe: cross compilers may not add the suffix if given an `-o'
4180         # argument, so we may need to know it at that point already.
4181         # Even if this section looks crufty: it has the advantage of
4182         # actually working.
4183         break;;
4184     * )
4185         break;;
4186   esac
4187 done
4188 test "$ac_cv_exeext" = no && ac_cv_exeext=
4189
4190 else
4191   ac_file=''
4192 fi
4193 if test -z "$ac_file"; then :
4194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 $as_echo "no" >&6; }
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4198
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error 77 "C compiler cannot create executables
4202 See \`config.log' for more details" "$LINENO" 5; }
4203 else
4204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4205 $as_echo "yes" >&6; }
4206 fi
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4208 $as_echo_n "checking for C compiler default output file name... " >&6; }
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4210 $as_echo "$ac_file" >&6; }
4211 ac_exeext=$ac_cv_exeext
4212
4213 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4214 ac_clean_files=$ac_clean_files_save
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4216 $as_echo_n "checking for suffix of executables... " >&6; }
4217 if { { ac_try="$ac_link"
4218 case "(($ac_try" in
4219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220   *) ac_try_echo=$ac_try;;
4221 esac
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224   (eval "$ac_link") 2>&5
4225   ac_status=$?
4226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227   test $ac_status = 0; }; then :
4228   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4229 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4230 # work properly (i.e., refer to `conftest.exe'), while it won't with
4231 # `rm'.
4232 for ac_file in conftest.exe conftest conftest.*; do
4233   test -f "$ac_file" || continue
4234   case $ac_file in
4235     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4236     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4237           break;;
4238     * ) break;;
4239   esac
4240 done
4241 else
4242   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4244 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4245 See \`config.log' for more details" "$LINENO" 5; }
4246 fi
4247 rm -f conftest conftest$ac_cv_exeext
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4249 $as_echo "$ac_cv_exeext" >&6; }
4250
4251 rm -f conftest.$ac_ext
4252 EXEEXT=$ac_cv_exeext
4253 ac_exeext=$EXEEXT
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h.  */
4256 #include <stdio.h>
4257 int
4258 main ()
4259 {
4260 FILE *f = fopen ("conftest.out", "w");
4261  return ferror (f) || fclose (f) != 0;
4262
4263   ;
4264   return 0;
4265 }
4266 _ACEOF
4267 ac_clean_files="$ac_clean_files conftest.out"
4268 # Check that the compiler produces executables we can run.  If not, either
4269 # the compiler is broken, or we cross compile.
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4271 $as_echo_n "checking whether we are cross compiling... " >&6; }
4272 if test "$cross_compiling" != yes; then
4273   { { ac_try="$ac_link"
4274 case "(($ac_try" in
4275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4276   *) ac_try_echo=$ac_try;;
4277 esac
4278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4279 $as_echo "$ac_try_echo"; } >&5
4280   (eval "$ac_link") 2>&5
4281   ac_status=$?
4282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4283   test $ac_status = 0; }
4284   if { ac_try='./conftest$ac_cv_exeext'
4285   { { case "(($ac_try" in
4286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287   *) ac_try_echo=$ac_try;;
4288 esac
4289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4290 $as_echo "$ac_try_echo"; } >&5
4291   (eval "$ac_try") 2>&5
4292   ac_status=$?
4293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294   test $ac_status = 0; }; }; then
4295     cross_compiling=no
4296   else
4297     if test "$cross_compiling" = maybe; then
4298         cross_compiling=yes
4299     else
4300         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4302 as_fn_error $? "cannot run C compiled programs.
4303 If you meant to cross compile, use \`--host'.
4304 See \`config.log' for more details" "$LINENO" 5; }
4305     fi
4306   fi
4307 fi
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4309 $as_echo "$cross_compiling" >&6; }
4310
4311 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4312 ac_clean_files=$ac_clean_files_save
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4314 $as_echo_n "checking for suffix of object files... " >&6; }
4315 if ${ac_cv_objext+:} false; then :
4316   $as_echo_n "(cached) " >&6
4317 else
4318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h.  */
4320
4321 int
4322 main ()
4323 {
4324
4325   ;
4326   return 0;
4327 }
4328 _ACEOF
4329 rm -f conftest.o conftest.obj
4330 if { { ac_try="$ac_compile"
4331 case "(($ac_try" in
4332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333   *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337   (eval "$ac_compile") 2>&5
4338   ac_status=$?
4339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340   test $ac_status = 0; }; then :
4341   for ac_file in conftest.o conftest.obj conftest.*; do
4342   test -f "$ac_file" || continue;
4343   case $ac_file in
4344     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4345     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4346        break;;
4347   esac
4348 done
4349 else
4350   $as_echo "$as_me: failed program was:" >&5
4351 sed 's/^/| /' conftest.$ac_ext >&5
4352
4353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4355 as_fn_error $? "cannot compute suffix of object files: cannot compile
4356 See \`config.log' for more details" "$LINENO" 5; }
4357 fi
4358 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4359 fi
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4361 $as_echo "$ac_cv_objext" >&6; }
4362 OBJEXT=$ac_cv_objext
4363 ac_objext=$OBJEXT
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4365 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4366 if ${ac_cv_c_compiler_gnu+:} false; then :
4367   $as_echo_n "(cached) " >&6
4368 else
4369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h.  */
4371
4372 int
4373 main ()
4374 {
4375 #ifndef __GNUC__
4376        choke me
4377 #endif
4378
4379   ;
4380   return 0;
4381 }
4382 _ACEOF
4383 if ac_fn_c_try_compile "$LINENO"; then :
4384   ac_compiler_gnu=yes
4385 else
4386   ac_compiler_gnu=no
4387 fi
4388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4390
4391 fi
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4393 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4394 if test $ac_compiler_gnu = yes; then
4395   GCC=yes
4396 else
4397   GCC=
4398 fi
4399 ac_test_CFLAGS=${CFLAGS+set}
4400 ac_save_CFLAGS=$CFLAGS
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4402 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4403 if ${ac_cv_prog_cc_g+:} false; then :
4404   $as_echo_n "(cached) " >&6
4405 else
4406   ac_save_c_werror_flag=$ac_c_werror_flag
4407    ac_c_werror_flag=yes
4408    ac_cv_prog_cc_g=no
4409    CFLAGS="-g"
4410    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411 /* end confdefs.h.  */
4412
4413 int
4414 main ()
4415 {
4416
4417   ;
4418   return 0;
4419 }
4420 _ACEOF
4421 if ac_fn_c_try_compile "$LINENO"; then :
4422   ac_cv_prog_cc_g=yes
4423 else
4424   CFLAGS=""
4425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h.  */
4427
4428 int
4429 main ()
4430 {
4431
4432   ;
4433   return 0;
4434 }
4435 _ACEOF
4436 if ac_fn_c_try_compile "$LINENO"; then :
4437
4438 else
4439   ac_c_werror_flag=$ac_save_c_werror_flag
4440          CFLAGS="-g"
4441          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h.  */
4443
4444 int
4445 main ()
4446 {
4447
4448   ;
4449   return 0;
4450 }
4451 _ACEOF
4452 if ac_fn_c_try_compile "$LINENO"; then :
4453   ac_cv_prog_cc_g=yes
4454 fi
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 fi
4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 fi
4459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460    ac_c_werror_flag=$ac_save_c_werror_flag
4461 fi
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4463 $as_echo "$ac_cv_prog_cc_g" >&6; }
4464 if test "$ac_test_CFLAGS" = set; then
4465   CFLAGS=$ac_save_CFLAGS
4466 elif test $ac_cv_prog_cc_g = yes; then
4467   if test "$GCC" = yes; then
4468     CFLAGS="-g -O2"
4469   else
4470     CFLAGS="-g"
4471   fi
4472 else
4473   if test "$GCC" = yes; then
4474     CFLAGS="-O2"
4475   else
4476     CFLAGS=
4477   fi
4478 fi
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4480 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4481 if ${ac_cv_prog_cc_c89+:} false; then :
4482   $as_echo_n "(cached) " >&6
4483 else
4484   ac_cv_prog_cc_c89=no
4485 ac_save_CC=$CC
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h.  */
4488 #include <stdarg.h>
4489 #include <stdio.h>
4490 #include <sys/types.h>
4491 #include <sys/stat.h>
4492 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4493 struct buf { int x; };
4494 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4495 static char *e (p, i)
4496      char **p;
4497      int i;
4498 {
4499   return p[i];
4500 }
4501 static char *f (char * (*g) (char **, int), char **p, ...)
4502 {
4503   char *s;
4504   va_list v;
4505   va_start (v,p);
4506   s = g (p, va_arg (v,int));
4507   va_end (v);
4508   return s;
4509 }
4510
4511 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4512    function prototypes and stuff, but not '\xHH' hex character constants.
4513    These don't provoke an error unfortunately, instead are silently treated
4514    as 'x'.  The following induces an error, until -std is added to get
4515    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4516    array size at least.  It's necessary to write '\x00'==0 to get something
4517    that's true only with -std.  */
4518 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4519
4520 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4521    inside strings and character constants.  */
4522 #define FOO(x) 'x'
4523 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4524
4525 int test (int i, double x);
4526 struct s1 {int (*f) (int a);};
4527 struct s2 {int (*f) (double a);};
4528 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4529 int argc;
4530 char **argv;
4531 int
4532 main ()
4533 {
4534 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4535   ;
4536   return 0;
4537 }
4538 _ACEOF
4539 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4540         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4541 do
4542   CC="$ac_save_CC $ac_arg"
4543   if ac_fn_c_try_compile "$LINENO"; then :
4544   ac_cv_prog_cc_c89=$ac_arg
4545 fi
4546 rm -f core conftest.err conftest.$ac_objext
4547   test "x$ac_cv_prog_cc_c89" != "xno" && break
4548 done
4549 rm -f conftest.$ac_ext
4550 CC=$ac_save_CC
4551
4552 fi
4553 # AC_CACHE_VAL
4554 case "x$ac_cv_prog_cc_c89" in
4555   x)
4556     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4557 $as_echo "none needed" >&6; } ;;
4558   xno)
4559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4560 $as_echo "unsupported" >&6; } ;;
4561   *)
4562     CC="$CC $ac_cv_prog_cc_c89"
4563     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4564 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4565 esac
4566 if test "x$ac_cv_prog_cc_c89" != xno; then :
4567
4568 fi
4569
4570 ac_ext=c
4571 ac_cpp='$CPP $CPPFLAGS'
4572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4575
4576 depcc="$CC"   am_compiler_list=
4577
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4579 $as_echo_n "checking dependency style of $depcc... " >&6; }
4580 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4581   $as_echo_n "(cached) " >&6
4582 else
4583   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4584   # We make a subdir and do the tests there.  Otherwise we can end up
4585   # making bogus files that we don't know about and never remove.  For
4586   # instance it was reported that on HP-UX the gcc test will end up
4587   # making a dummy file named `D' -- because `-MD' means `put the output
4588   # in D'.
4589   rm -rf conftest.dir
4590   mkdir conftest.dir
4591   # Copy depcomp to subdir because otherwise we won't find it if we're
4592   # using a relative directory.
4593   cp "$am_depcomp" conftest.dir
4594   cd conftest.dir
4595   # We will build objects and dependencies in a subdirectory because
4596   # it helps to detect inapplicable dependency modes.  For instance
4597   # both Tru64's cc and ICC support -MD to output dependencies as a
4598   # side effect of compilation, but ICC will put the dependencies in
4599   # the current directory while Tru64 will put them in the object
4600   # directory.
4601   mkdir sub
4602
4603   am_cv_CC_dependencies_compiler_type=none
4604   if test "$am_compiler_list" = ""; then
4605      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4606   fi
4607   am__universal=false
4608   case " $depcc " in #(
4609      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4610      esac
4611
4612   for depmode in $am_compiler_list; do
4613     # Setup a source with many dependencies, because some compilers
4614     # like to wrap large dependency lists on column 80 (with \), and
4615     # we should not choose a depcomp mode which is confused by this.
4616     #
4617     # We need to recreate these files for each test, as the compiler may
4618     # overwrite some of them when testing with obscure command lines.
4619     # This happens at least with the AIX C compiler.
4620     : > sub/conftest.c
4621     for i in 1 2 3 4 5 6; do
4622       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4623       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4624       # Solaris 8's {/usr,}/bin/sh.
4625       touch sub/conftst$i.h
4626     done
4627     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4628
4629     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4630     # mode.  It turns out that the SunPro C++ compiler does not properly
4631     # handle `-M -o', and we need to detect this.  Also, some Intel
4632     # versions had trouble with output in subdirs
4633     am__obj=sub/conftest.${OBJEXT-o}
4634     am__minus_obj="-o $am__obj"
4635     case $depmode in
4636     gcc)
4637       # This depmode causes a compiler race in universal mode.
4638       test "$am__universal" = false || continue
4639       ;;
4640     nosideeffect)
4641       # after this tag, mechanisms are not by side-effect, so they'll
4642       # only be used when explicitly requested
4643       if test "x$enable_dependency_tracking" = xyes; then
4644         continue
4645       else
4646         break
4647       fi
4648       ;;
4649     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4650       # This compiler won't grok `-c -o', but also, the minuso test has
4651       # not run yet.  These depmodes are late enough in the game, and
4652       # so weak that their functioning should not be impacted.
4653       am__obj=conftest.${OBJEXT-o}
4654       am__minus_obj=
4655       ;;
4656     none) break ;;
4657     esac
4658     if depmode=$depmode \
4659        source=sub/conftest.c object=$am__obj \
4660        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4661        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4662          >/dev/null 2>conftest.err &&
4663        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4664        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4665        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4666        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4667       # icc doesn't choke on unknown options, it will just issue warnings
4668       # or remarks (even with -Werror).  So we grep stderr for any message
4669       # that says an option was ignored or not supported.
4670       # When given -MP, icc 7.0 and 7.1 complain thusly:
4671       #   icc: Command line warning: ignoring option '-M'; no argument required
4672       # The diagnosis changed in icc 8.0:
4673       #   icc: Command line remark: option '-MP' not supported
4674       if (grep 'ignoring option' conftest.err ||
4675           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4676         am_cv_CC_dependencies_compiler_type=$depmode
4677         break
4678       fi
4679     fi
4680   done
4681
4682   cd ..
4683   rm -rf conftest.dir
4684 else
4685   am_cv_CC_dependencies_compiler_type=none
4686 fi
4687
4688 fi
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4690 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4691 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4692
4693  if
4694   test "x$enable_dependency_tracking" != xno \
4695   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4696   am__fastdepCC_TRUE=
4697   am__fastdepCC_FALSE='#'
4698 else
4699   am__fastdepCC_TRUE='#'
4700   am__fastdepCC_FALSE=
4701 fi
4702
4703
4704
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4706 $as_echo_n "checking for library containing strerror... " >&6; }
4707 if ${ac_cv_search_strerror+:} false; then :
4708   $as_echo_n "(cached) " >&6
4709 else
4710   ac_func_search_save_LIBS=$LIBS
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h.  */
4713
4714 /* Override any GCC internal prototype to avoid an error.
4715    Use char because int might match the return type of a GCC
4716    builtin and then its argument prototype would still apply.  */
4717 #ifdef __cplusplus
4718 extern "C"
4719 #endif
4720 char strerror ();
4721 int
4722 main ()
4723 {
4724 return strerror ();
4725   ;
4726   return 0;
4727 }
4728 _ACEOF
4729 for ac_lib in '' cposix; do
4730   if test -z "$ac_lib"; then
4731     ac_res="none required"
4732   else
4733     ac_res=-l$ac_lib
4734     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4735   fi
4736   if ac_fn_c_try_link "$LINENO"; then :
4737   ac_cv_search_strerror=$ac_res
4738 fi
4739 rm -f core conftest.err conftest.$ac_objext \
4740     conftest$ac_exeext
4741   if ${ac_cv_search_strerror+:} false; then :
4742   break
4743 fi
4744 done
4745 if ${ac_cv_search_strerror+:} false; then :
4746
4747 else
4748   ac_cv_search_strerror=no
4749 fi
4750 rm conftest.$ac_ext
4751 LIBS=$ac_func_search_save_LIBS
4752 fi
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4754 $as_echo "$ac_cv_search_strerror" >&6; }
4755 ac_res=$ac_cv_search_strerror
4756 if test "$ac_res" != no; then :
4757   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4758
4759 fi
4760
4761 ac_ext=c
4762 ac_cpp='$CPP $CPPFLAGS'
4763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4766 if test -n "$ac_tool_prefix"; then
4767   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4768 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if ${ac_cv_prog_CC+:} false; then :
4772   $as_echo_n "(cached) " >&6
4773 else
4774   if test -n "$CC"; then
4775   ac_cv_prog_CC="$CC" # Let the user override the test.
4776 else
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH
4779 do
4780   IFS=$as_save_IFS
4781   test -z "$as_dir" && as_dir=.
4782     for ac_exec_ext in '' $ac_executable_extensions; do
4783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4784     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786     break 2
4787   fi
4788 done
4789   done
4790 IFS=$as_save_IFS
4791
4792 fi
4793 fi
4794 CC=$ac_cv_prog_CC
4795 if test -n "$CC"; then
4796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4797 $as_echo "$CC" >&6; }
4798 else
4799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 fi
4802
4803
4804 fi
4805 if test -z "$ac_cv_prog_CC"; then
4806   ac_ct_CC=$CC
4807   # Extract the first word of "gcc", so it can be a program name with args.
4808 set dummy gcc; ac_word=$2
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810 $as_echo_n "checking for $ac_word... " >&6; }
4811 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4812   $as_echo_n "(cached) " >&6
4813 else
4814   if test -n "$ac_ct_CC"; then
4815   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4816 else
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 for as_dir in $PATH
4819 do
4820   IFS=$as_save_IFS
4821   test -z "$as_dir" && as_dir=.
4822     for ac_exec_ext in '' $ac_executable_extensions; do
4823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4824     ac_cv_prog_ac_ct_CC="gcc"
4825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4826     break 2
4827   fi
4828 done
4829   done
4830 IFS=$as_save_IFS
4831
4832 fi
4833 fi
4834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4835 if test -n "$ac_ct_CC"; then
4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4837 $as_echo "$ac_ct_CC" >&6; }
4838 else
4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4841 fi
4842
4843   if test "x$ac_ct_CC" = x; then
4844     CC=""
4845   else
4846     case $cross_compiling:$ac_tool_warned in
4847 yes:)
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4850 ac_tool_warned=yes ;;
4851 esac
4852     CC=$ac_ct_CC
4853   fi
4854 else
4855   CC="$ac_cv_prog_CC"
4856 fi
4857
4858 if test -z "$CC"; then
4859           if test -n "$ac_tool_prefix"; then
4860     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4861 set dummy ${ac_tool_prefix}cc; ac_word=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if ${ac_cv_prog_CC+:} false; then :
4865   $as_echo_n "(cached) " >&6
4866 else
4867   if test -n "$CC"; then
4868   ac_cv_prog_CC="$CC" # Let the user override the test.
4869 else
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $PATH
4872 do
4873   IFS=$as_save_IFS
4874   test -z "$as_dir" && as_dir=.
4875     for ac_exec_ext in '' $ac_executable_extensions; do
4876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877     ac_cv_prog_CC="${ac_tool_prefix}cc"
4878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879     break 2
4880   fi
4881 done
4882   done
4883 IFS=$as_save_IFS
4884
4885 fi
4886 fi
4887 CC=$ac_cv_prog_CC
4888 if test -n "$CC"; then
4889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4890 $as_echo "$CC" >&6; }
4891 else
4892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4894 fi
4895
4896
4897   fi
4898 fi
4899 if test -z "$CC"; then
4900   # Extract the first word of "cc", so it can be a program name with args.
4901 set dummy cc; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_CC+:} false; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   if test -n "$CC"; then
4908   ac_cv_prog_CC="$CC" # Let the user override the test.
4909 else
4910   ac_prog_rejected=no
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 for as_dir in $PATH
4913 do
4914   IFS=$as_save_IFS
4915   test -z "$as_dir" && as_dir=.
4916     for ac_exec_ext in '' $ac_executable_extensions; do
4917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4918     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4919        ac_prog_rejected=yes
4920        continue
4921      fi
4922     ac_cv_prog_CC="cc"
4923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924     break 2
4925   fi
4926 done
4927   done
4928 IFS=$as_save_IFS
4929
4930 if test $ac_prog_rejected = yes; then
4931   # We found a bogon in the path, so make sure we never use it.
4932   set dummy $ac_cv_prog_CC
4933   shift
4934   if test $# != 0; then
4935     # We chose a different compiler from the bogus one.
4936     # However, it has the same basename, so the bogon will be chosen
4937     # first if we set CC to just the basename; use the full file name.
4938     shift
4939     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4940   fi
4941 fi
4942 fi
4943 fi
4944 CC=$ac_cv_prog_CC
4945 if test -n "$CC"; then
4946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4947 $as_echo "$CC" >&6; }
4948 else
4949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4951 fi
4952
4953
4954 fi
4955 if test -z "$CC"; then
4956   if test -n "$ac_tool_prefix"; then
4957   for ac_prog in cl.exe
4958   do
4959     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if ${ac_cv_prog_CC+:} false; then :
4964   $as_echo_n "(cached) " >&6
4965 else
4966   if test -n "$CC"; then
4967   ac_cv_prog_CC="$CC" # Let the user override the test.
4968 else
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH
4971 do
4972   IFS=$as_save_IFS
4973   test -z "$as_dir" && as_dir=.
4974     for ac_exec_ext in '' $ac_executable_extensions; do
4975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4976     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978     break 2
4979   fi
4980 done
4981   done
4982 IFS=$as_save_IFS
4983
4984 fi
4985 fi
4986 CC=$ac_cv_prog_CC
4987 if test -n "$CC"; then
4988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4989 $as_echo "$CC" >&6; }
4990 else
4991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4993 fi
4994
4995
4996     test -n "$CC" && break
4997   done
4998 fi
4999 if test -z "$CC"; then
5000   ac_ct_CC=$CC
5001   for ac_prog in cl.exe
5002 do
5003   # Extract the first word of "$ac_prog", so it can be a program name with args.
5004 set dummy $ac_prog; ac_word=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5008   $as_echo_n "(cached) " >&6
5009 else
5010   if test -n "$ac_ct_CC"; then
5011   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5012 else
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 for as_dir in $PATH
5015 do
5016   IFS=$as_save_IFS
5017   test -z "$as_dir" && as_dir=.
5018     for ac_exec_ext in '' $ac_executable_extensions; do
5019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5020     ac_cv_prog_ac_ct_CC="$ac_prog"
5021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022     break 2
5023   fi
5024 done
5025   done
5026 IFS=$as_save_IFS
5027
5028 fi
5029 fi
5030 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5031 if test -n "$ac_ct_CC"; then
5032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5033 $as_echo "$ac_ct_CC" >&6; }
5034 else
5035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5037 fi
5038
5039
5040   test -n "$ac_ct_CC" && break
5041 done
5042
5043   if test "x$ac_ct_CC" = x; then
5044     CC=""
5045   else
5046     case $cross_compiling:$ac_tool_warned in
5047 yes:)
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5050 ac_tool_warned=yes ;;
5051 esac
5052     CC=$ac_ct_CC
5053   fi
5054 fi
5055
5056 fi
5057
5058
5059 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5061 as_fn_error $? "no acceptable C compiler found in \$PATH
5062 See \`config.log' for more details" "$LINENO" 5; }
5063
5064 # Provide some information about the compiler.
5065 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5066 set X $ac_compile
5067 ac_compiler=$2
5068 for ac_option in --version -v -V -qversion; do
5069   { { ac_try="$ac_compiler $ac_option >&5"
5070 case "(($ac_try" in
5071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5072   *) ac_try_echo=$ac_try;;
5073 esac
5074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5075 $as_echo "$ac_try_echo"; } >&5
5076   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5077   ac_status=$?
5078   if test -s conftest.err; then
5079     sed '10a\
5080 ... rest of stderr output deleted ...
5081          10q' conftest.err >conftest.er1
5082     cat conftest.er1 >&5
5083   fi
5084   rm -f conftest.er1 conftest.err
5085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5086   test $ac_status = 0; }
5087 done
5088
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5090 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5091 if ${ac_cv_c_compiler_gnu+:} false; then :
5092   $as_echo_n "(cached) " >&6
5093 else
5094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h.  */
5096
5097 int
5098 main ()
5099 {
5100 #ifndef __GNUC__
5101        choke me
5102 #endif
5103
5104   ;
5105   return 0;
5106 }
5107 _ACEOF
5108 if ac_fn_c_try_compile "$LINENO"; then :
5109   ac_compiler_gnu=yes
5110 else
5111   ac_compiler_gnu=no
5112 fi
5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5115
5116 fi
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5118 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5119 if test $ac_compiler_gnu = yes; then
5120   GCC=yes
5121 else
5122   GCC=
5123 fi
5124 ac_test_CFLAGS=${CFLAGS+set}
5125 ac_save_CFLAGS=$CFLAGS
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5127 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5128 if ${ac_cv_prog_cc_g+:} false; then :
5129   $as_echo_n "(cached) " >&6
5130 else
5131   ac_save_c_werror_flag=$ac_c_werror_flag
5132    ac_c_werror_flag=yes
5133    ac_cv_prog_cc_g=no
5134    CFLAGS="-g"
5135    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h.  */
5137
5138 int
5139 main ()
5140 {
5141
5142   ;
5143   return 0;
5144 }
5145 _ACEOF
5146 if ac_fn_c_try_compile "$LINENO"; then :
5147   ac_cv_prog_cc_g=yes
5148 else
5149   CFLAGS=""
5150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5151 /* end confdefs.h.  */
5152
5153 int
5154 main ()
5155 {
5156
5157   ;
5158   return 0;
5159 }
5160 _ACEOF
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162
5163 else
5164   ac_c_werror_flag=$ac_save_c_werror_flag
5165          CFLAGS="-g"
5166          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h.  */
5168
5169 int
5170 main ()
5171 {
5172
5173   ;
5174   return 0;
5175 }
5176 _ACEOF
5177 if ac_fn_c_try_compile "$LINENO"; then :
5178   ac_cv_prog_cc_g=yes
5179 fi
5180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5181 fi
5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183 fi
5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5185    ac_c_werror_flag=$ac_save_c_werror_flag
5186 fi
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5188 $as_echo "$ac_cv_prog_cc_g" >&6; }
5189 if test "$ac_test_CFLAGS" = set; then
5190   CFLAGS=$ac_save_CFLAGS
5191 elif test $ac_cv_prog_cc_g = yes; then
5192   if test "$GCC" = yes; then
5193     CFLAGS="-g -O2"
5194   else
5195     CFLAGS="-g"
5196   fi
5197 else
5198   if test "$GCC" = yes; then
5199     CFLAGS="-O2"
5200   else
5201     CFLAGS=
5202   fi
5203 fi
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5205 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5206 if ${ac_cv_prog_cc_c89+:} false; then :
5207   $as_echo_n "(cached) " >&6
5208 else
5209   ac_cv_prog_cc_c89=no
5210 ac_save_CC=$CC
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h.  */
5213 #include <stdarg.h>
5214 #include <stdio.h>
5215 #include <sys/types.h>
5216 #include <sys/stat.h>
5217 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5218 struct buf { int x; };
5219 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5220 static char *e (p, i)
5221      char **p;
5222      int i;
5223 {
5224   return p[i];
5225 }
5226 static char *f (char * (*g) (char **, int), char **p, ...)
5227 {
5228   char *s;
5229   va_list v;
5230   va_start (v,p);
5231   s = g (p, va_arg (v,int));
5232   va_end (v);
5233   return s;
5234 }
5235
5236 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5237    function prototypes and stuff, but not '\xHH' hex character constants.
5238    These don't provoke an error unfortunately, instead are silently treated
5239    as 'x'.  The following induces an error, until -std is added to get
5240    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5241    array size at least.  It's necessary to write '\x00'==0 to get something
5242    that's true only with -std.  */
5243 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5244
5245 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5246    inside strings and character constants.  */
5247 #define FOO(x) 'x'
5248 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5249
5250 int test (int i, double x);
5251 struct s1 {int (*f) (int a);};
5252 struct s2 {int (*f) (double a);};
5253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5254 int argc;
5255 char **argv;
5256 int
5257 main ()
5258 {
5259 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5260   ;
5261   return 0;
5262 }
5263 _ACEOF
5264 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5265         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5266 do
5267   CC="$ac_save_CC $ac_arg"
5268   if ac_fn_c_try_compile "$LINENO"; then :
5269   ac_cv_prog_cc_c89=$ac_arg
5270 fi
5271 rm -f core conftest.err conftest.$ac_objext
5272   test "x$ac_cv_prog_cc_c89" != "xno" && break
5273 done
5274 rm -f conftest.$ac_ext
5275 CC=$ac_save_CC
5276
5277 fi
5278 # AC_CACHE_VAL
5279 case "x$ac_cv_prog_cc_c89" in
5280   x)
5281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5282 $as_echo "none needed" >&6; } ;;
5283   xno)
5284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5285 $as_echo "unsupported" >&6; } ;;
5286   *)
5287     CC="$CC $ac_cv_prog_cc_c89"
5288     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5289 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5290 esac
5291 if test "x$ac_cv_prog_cc_c89" != xno; then :
5292
5293 fi
5294
5295 ac_ext=c
5296 ac_cpp='$CPP $CPPFLAGS'
5297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5300
5301 depcc="$CC"   am_compiler_list=
5302
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5304 $as_echo_n "checking dependency style of $depcc... " >&6; }
5305 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5309   # We make a subdir and do the tests there.  Otherwise we can end up
5310   # making bogus files that we don't know about and never remove.  For
5311   # instance it was reported that on HP-UX the gcc test will end up
5312   # making a dummy file named `D' -- because `-MD' means `put the output
5313   # in D'.
5314   rm -rf conftest.dir
5315   mkdir conftest.dir
5316   # Copy depcomp to subdir because otherwise we won't find it if we're
5317   # using a relative directory.
5318   cp "$am_depcomp" conftest.dir
5319   cd conftest.dir
5320   # We will build objects and dependencies in a subdirectory because
5321   # it helps to detect inapplicable dependency modes.  For instance
5322   # both Tru64's cc and ICC support -MD to output dependencies as a
5323   # side effect of compilation, but ICC will put the dependencies in
5324   # the current directory while Tru64 will put them in the object
5325   # directory.
5326   mkdir sub
5327
5328   am_cv_CC_dependencies_compiler_type=none
5329   if test "$am_compiler_list" = ""; then
5330      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5331   fi
5332   am__universal=false
5333   case " $depcc " in #(
5334      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5335      esac
5336
5337   for depmode in $am_compiler_list; do
5338     # Setup a source with many dependencies, because some compilers
5339     # like to wrap large dependency lists on column 80 (with \), and
5340     # we should not choose a depcomp mode which is confused by this.
5341     #
5342     # We need to recreate these files for each test, as the compiler may
5343     # overwrite some of them when testing with obscure command lines.
5344     # This happens at least with the AIX C compiler.
5345     : > sub/conftest.c
5346     for i in 1 2 3 4 5 6; do
5347       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5348       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5349       # Solaris 8's {/usr,}/bin/sh.
5350       touch sub/conftst$i.h
5351     done
5352     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5353
5354     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5355     # mode.  It turns out that the SunPro C++ compiler does not properly
5356     # handle `-M -o', and we need to detect this.  Also, some Intel
5357     # versions had trouble with output in subdirs
5358     am__obj=sub/conftest.${OBJEXT-o}
5359     am__minus_obj="-o $am__obj"
5360     case $depmode in
5361     gcc)
5362       # This depmode causes a compiler race in universal mode.
5363       test "$am__universal" = false || continue
5364       ;;
5365     nosideeffect)
5366       # after this tag, mechanisms are not by side-effect, so they'll
5367       # only be used when explicitly requested
5368       if test "x$enable_dependency_tracking" = xyes; then
5369         continue
5370       else
5371         break
5372       fi
5373       ;;
5374     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5375       # This compiler won't grok `-c -o', but also, the minuso test has
5376       # not run yet.  These depmodes are late enough in the game, and
5377       # so weak that their functioning should not be impacted.
5378       am__obj=conftest.${OBJEXT-o}
5379       am__minus_obj=
5380       ;;
5381     none) break ;;
5382     esac
5383     if depmode=$depmode \
5384        source=sub/conftest.c object=$am__obj \
5385        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5386        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5387          >/dev/null 2>conftest.err &&
5388        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5389        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5390        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5391        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5392       # icc doesn't choke on unknown options, it will just issue warnings
5393       # or remarks (even with -Werror).  So we grep stderr for any message
5394       # that says an option was ignored or not supported.
5395       # When given -MP, icc 7.0 and 7.1 complain thusly:
5396       #   icc: Command line warning: ignoring option '-M'; no argument required
5397       # The diagnosis changed in icc 8.0:
5398       #   icc: Command line remark: option '-MP' not supported
5399       if (grep 'ignoring option' conftest.err ||
5400           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5401         am_cv_CC_dependencies_compiler_type=$depmode
5402         break
5403       fi
5404     fi
5405   done
5406
5407   cd ..
5408   rm -rf conftest.dir
5409 else
5410   am_cv_CC_dependencies_compiler_type=none
5411 fi
5412
5413 fi
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5415 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5416 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5417
5418  if
5419   test "x$enable_dependency_tracking" != xno \
5420   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5421   am__fastdepCC_TRUE=
5422   am__fastdepCC_FALSE='#'
5423 else
5424   am__fastdepCC_TRUE='#'
5425   am__fastdepCC_FALSE=
5426 fi
5427
5428
5429 ac_ext=c
5430 ac_cpp='$CPP $CPPFLAGS'
5431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5434 if test -n "$ac_tool_prefix"; then
5435   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_CC+:} false; then :
5440   $as_echo_n "(cached) " >&6
5441 else
5442   if test -n "$CC"; then
5443   ac_cv_prog_CC="$CC" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5447 do
5448   IFS=$as_save_IFS
5449   test -z "$as_dir" && as_dir=.
5450     for ac_exec_ext in '' $ac_executable_extensions; do
5451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5452     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454     break 2
5455   fi
5456 done
5457   done
5458 IFS=$as_save_IFS
5459
5460 fi
5461 fi
5462 CC=$ac_cv_prog_CC
5463 if test -n "$CC"; then
5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5465 $as_echo "$CC" >&6; }
5466 else
5467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5469 fi
5470
5471
5472 fi
5473 if test -z "$ac_cv_prog_CC"; then
5474   ac_ct_CC=$CC
5475   # Extract the first word of "gcc", so it can be a program name with args.
5476 set dummy gcc; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5480   $as_echo_n "(cached) " >&6
5481 else
5482   if test -n "$ac_ct_CC"; then
5483   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5487 do
5488   IFS=$as_save_IFS
5489   test -z "$as_dir" && as_dir=.
5490     for ac_exec_ext in '' $ac_executable_extensions; do
5491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5492     ac_cv_prog_ac_ct_CC="gcc"
5493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494     break 2
5495   fi
5496 done
5497   done
5498 IFS=$as_save_IFS
5499
5500 fi
5501 fi
5502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5503 if test -n "$ac_ct_CC"; then
5504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5505 $as_echo "$ac_ct_CC" >&6; }
5506 else
5507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5509 fi
5510
5511   if test "x$ac_ct_CC" = x; then
5512     CC=""
5513   else
5514     case $cross_compiling:$ac_tool_warned in
5515 yes:)
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5518 ac_tool_warned=yes ;;
5519 esac
5520     CC=$ac_ct_CC
5521   fi
5522 else
5523   CC="$ac_cv_prog_CC"
5524 fi
5525
5526 if test -z "$CC"; then
5527           if test -n "$ac_tool_prefix"; then
5528     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5529 set dummy ${ac_tool_prefix}cc; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_CC+:} false; then :
5533   $as_echo_n "(cached) " >&6
5534 else
5535   if test -n "$CC"; then
5536   ac_cv_prog_CC="$CC" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5540 do
5541   IFS=$as_save_IFS
5542   test -z "$as_dir" && as_dir=.
5543     for ac_exec_ext in '' $ac_executable_extensions; do
5544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545     ac_cv_prog_CC="${ac_tool_prefix}cc"
5546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547     break 2
5548   fi
5549 done
5550   done
5551 IFS=$as_save_IFS
5552
5553 fi
5554 fi
5555 CC=$ac_cv_prog_CC
5556 if test -n "$CC"; then
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5558 $as_echo "$CC" >&6; }
5559 else
5560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5562 fi
5563
5564
5565   fi
5566 fi
5567 if test -z "$CC"; then
5568   # Extract the first word of "cc", so it can be a program name with args.
5569 set dummy cc; ac_word=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if ${ac_cv_prog_CC+:} false; then :
5573   $as_echo_n "(cached) " >&6
5574 else
5575   if test -n "$CC"; then
5576   ac_cv_prog_CC="$CC" # Let the user override the test.
5577 else
5578   ac_prog_rejected=no
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH
5581 do
5582   IFS=$as_save_IFS
5583   test -z "$as_dir" && as_dir=.
5584     for ac_exec_ext in '' $ac_executable_extensions; do
5585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5587        ac_prog_rejected=yes
5588        continue
5589      fi
5590     ac_cv_prog_CC="cc"
5591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592     break 2
5593   fi
5594 done
5595   done
5596 IFS=$as_save_IFS
5597
5598 if test $ac_prog_rejected = yes; then
5599   # We found a bogon in the path, so make sure we never use it.
5600   set dummy $ac_cv_prog_CC
5601   shift
5602   if test $# != 0; then
5603     # We chose a different compiler from the bogus one.
5604     # However, it has the same basename, so the bogon will be chosen
5605     # first if we set CC to just the basename; use the full file name.
5606     shift
5607     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5608   fi
5609 fi
5610 fi
5611 fi
5612 CC=$ac_cv_prog_CC
5613 if test -n "$CC"; then
5614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5615 $as_echo "$CC" >&6; }
5616 else
5617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5619 fi
5620
5621
5622 fi
5623 if test -z "$CC"; then
5624   if test -n "$ac_tool_prefix"; then
5625   for ac_prog in cl.exe
5626   do
5627     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if ${ac_cv_prog_CC+:} false; then :
5632   $as_echo_n "(cached) " >&6
5633 else
5634   if test -n "$CC"; then
5635   ac_cv_prog_CC="$CC" # Let the user override the test.
5636 else
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 for as_dir in $PATH
5639 do
5640   IFS=$as_save_IFS
5641   test -z "$as_dir" && as_dir=.
5642     for ac_exec_ext in '' $ac_executable_extensions; do
5643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646     break 2
5647   fi
5648 done
5649   done
5650 IFS=$as_save_IFS
5651
5652 fi
5653 fi
5654 CC=$ac_cv_prog_CC
5655 if test -n "$CC"; then
5656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5657 $as_echo "$CC" >&6; }
5658 else
5659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5661 fi
5662
5663
5664     test -n "$CC" && break
5665   done
5666 fi
5667 if test -z "$CC"; then
5668   ac_ct_CC=$CC
5669   for ac_prog in cl.exe
5670 do
5671   # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy $ac_prog; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5676   $as_echo_n "(cached) " >&6
5677 else
5678   if test -n "$ac_ct_CC"; then
5679   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5683 do
5684   IFS=$as_save_IFS
5685   test -z "$as_dir" && as_dir=.
5686     for ac_exec_ext in '' $ac_executable_extensions; do
5687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688     ac_cv_prog_ac_ct_CC="$ac_prog"
5689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690     break 2
5691   fi
5692 done
5693   done
5694 IFS=$as_save_IFS
5695
5696 fi
5697 fi
5698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5699 if test -n "$ac_ct_CC"; then
5700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5701 $as_echo "$ac_ct_CC" >&6; }
5702 else
5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5705 fi
5706
5707
5708   test -n "$ac_ct_CC" && break
5709 done
5710
5711   if test "x$ac_ct_CC" = x; then
5712     CC=""
5713   else
5714     case $cross_compiling:$ac_tool_warned in
5715 yes:)
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5718 ac_tool_warned=yes ;;
5719 esac
5720     CC=$ac_ct_CC
5721   fi
5722 fi
5723
5724 fi
5725
5726
5727 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5729 as_fn_error $? "no acceptable C compiler found in \$PATH
5730 See \`config.log' for more details" "$LINENO" 5; }
5731
5732 # Provide some information about the compiler.
5733 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5734 set X $ac_compile
5735 ac_compiler=$2
5736 for ac_option in --version -v -V -qversion; do
5737   { { ac_try="$ac_compiler $ac_option >&5"
5738 case "(($ac_try" in
5739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5740   *) ac_try_echo=$ac_try;;
5741 esac
5742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5743 $as_echo "$ac_try_echo"; } >&5
5744   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5745   ac_status=$?
5746   if test -s conftest.err; then
5747     sed '10a\
5748 ... rest of stderr output deleted ...
5749          10q' conftest.err >conftest.er1
5750     cat conftest.er1 >&5
5751   fi
5752   rm -f conftest.er1 conftest.err
5753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5754   test $ac_status = 0; }
5755 done
5756
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5758 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5759 if ${ac_cv_c_compiler_gnu+:} false; then :
5760   $as_echo_n "(cached) " >&6
5761 else
5762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5763 /* end confdefs.h.  */
5764
5765 int
5766 main ()
5767 {
5768 #ifndef __GNUC__
5769        choke me
5770 #endif
5771
5772   ;
5773   return 0;
5774 }
5775 _ACEOF
5776 if ac_fn_c_try_compile "$LINENO"; then :
5777   ac_compiler_gnu=yes
5778 else
5779   ac_compiler_gnu=no
5780 fi
5781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5782 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5783
5784 fi
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5786 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5787 if test $ac_compiler_gnu = yes; then
5788   GCC=yes
5789 else
5790   GCC=
5791 fi
5792 ac_test_CFLAGS=${CFLAGS+set}
5793 ac_save_CFLAGS=$CFLAGS
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5795 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5796 if ${ac_cv_prog_cc_g+:} false; then :
5797   $as_echo_n "(cached) " >&6
5798 else
5799   ac_save_c_werror_flag=$ac_c_werror_flag
5800    ac_c_werror_flag=yes
5801    ac_cv_prog_cc_g=no
5802    CFLAGS="-g"
5803    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h.  */
5805
5806 int
5807 main ()
5808 {
5809
5810   ;
5811   return 0;
5812 }
5813 _ACEOF
5814 if ac_fn_c_try_compile "$LINENO"; then :
5815   ac_cv_prog_cc_g=yes
5816 else
5817   CFLAGS=""
5818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h.  */
5820
5821 int
5822 main ()
5823 {
5824
5825   ;
5826   return 0;
5827 }
5828 _ACEOF
5829 if ac_fn_c_try_compile "$LINENO"; then :
5830
5831 else
5832   ac_c_werror_flag=$ac_save_c_werror_flag
5833          CFLAGS="-g"
5834          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h.  */
5836
5837 int
5838 main ()
5839 {
5840
5841   ;
5842   return 0;
5843 }
5844 _ACEOF
5845 if ac_fn_c_try_compile "$LINENO"; then :
5846   ac_cv_prog_cc_g=yes
5847 fi
5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5849 fi
5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5851 fi
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5853    ac_c_werror_flag=$ac_save_c_werror_flag
5854 fi
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5856 $as_echo "$ac_cv_prog_cc_g" >&6; }
5857 if test "$ac_test_CFLAGS" = set; then
5858   CFLAGS=$ac_save_CFLAGS
5859 elif test $ac_cv_prog_cc_g = yes; then
5860   if test "$GCC" = yes; then
5861     CFLAGS="-g -O2"
5862   else
5863     CFLAGS="-g"
5864   fi
5865 else
5866   if test "$GCC" = yes; then
5867     CFLAGS="-O2"
5868   else
5869     CFLAGS=
5870   fi
5871 fi
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5873 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5874 if ${ac_cv_prog_cc_c89+:} false; then :
5875   $as_echo_n "(cached) " >&6
5876 else
5877   ac_cv_prog_cc_c89=no
5878 ac_save_CC=$CC
5879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h.  */
5881 #include <stdarg.h>
5882 #include <stdio.h>
5883 #include <sys/types.h>
5884 #include <sys/stat.h>
5885 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5886 struct buf { int x; };
5887 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5888 static char *e (p, i)
5889      char **p;
5890      int i;
5891 {
5892   return p[i];
5893 }
5894 static char *f (char * (*g) (char **, int), char **p, ...)
5895 {
5896   char *s;
5897   va_list v;
5898   va_start (v,p);
5899   s = g (p, va_arg (v,int));
5900   va_end (v);
5901   return s;
5902 }
5903
5904 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5905    function prototypes and stuff, but not '\xHH' hex character constants.
5906    These don't provoke an error unfortunately, instead are silently treated
5907    as 'x'.  The following induces an error, until -std is added to get
5908    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5909    array size at least.  It's necessary to write '\x00'==0 to get something
5910    that's true only with -std.  */
5911 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5912
5913 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5914    inside strings and character constants.  */
5915 #define FOO(x) 'x'
5916 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5917
5918 int test (int i, double x);
5919 struct s1 {int (*f) (int a);};
5920 struct s2 {int (*f) (double a);};
5921 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5922 int argc;
5923 char **argv;
5924 int
5925 main ()
5926 {
5927 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5928   ;
5929   return 0;
5930 }
5931 _ACEOF
5932 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5933         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5934 do
5935   CC="$ac_save_CC $ac_arg"
5936   if ac_fn_c_try_compile "$LINENO"; then :
5937   ac_cv_prog_cc_c89=$ac_arg
5938 fi
5939 rm -f core conftest.err conftest.$ac_objext
5940   test "x$ac_cv_prog_cc_c89" != "xno" && break
5941 done
5942 rm -f conftest.$ac_ext
5943 CC=$ac_save_CC
5944
5945 fi
5946 # AC_CACHE_VAL
5947 case "x$ac_cv_prog_cc_c89" in
5948   x)
5949     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5950 $as_echo "none needed" >&6; } ;;
5951   xno)
5952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5953 $as_echo "unsupported" >&6; } ;;
5954   *)
5955     CC="$CC $ac_cv_prog_cc_c89"
5956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5957 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5958 esac
5959 if test "x$ac_cv_prog_cc_c89" != xno; then :
5960
5961 fi
5962
5963 ac_ext=c
5964 ac_cpp='$CPP $CPPFLAGS'
5965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5968
5969 depcc="$CC"   am_compiler_list=
5970
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5972 $as_echo_n "checking dependency style of $depcc... " >&6; }
5973 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5974   $as_echo_n "(cached) " >&6
5975 else
5976   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5977   # We make a subdir and do the tests there.  Otherwise we can end up
5978   # making bogus files that we don't know about and never remove.  For
5979   # instance it was reported that on HP-UX the gcc test will end up
5980   # making a dummy file named `D' -- because `-MD' means `put the output
5981   # in D'.
5982   rm -rf conftest.dir
5983   mkdir conftest.dir
5984   # Copy depcomp to subdir because otherwise we won't find it if we're
5985   # using a relative directory.
5986   cp "$am_depcomp" conftest.dir
5987   cd conftest.dir
5988   # We will build objects and dependencies in a subdirectory because
5989   # it helps to detect inapplicable dependency modes.  For instance
5990   # both Tru64's cc and ICC support -MD to output dependencies as a
5991   # side effect of compilation, but ICC will put the dependencies in
5992   # the current directory while Tru64 will put them in the object
5993   # directory.
5994   mkdir sub
5995
5996   am_cv_CC_dependencies_compiler_type=none
5997   if test "$am_compiler_list" = ""; then
5998      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5999   fi
6000   am__universal=false
6001   case " $depcc " in #(
6002      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6003      esac
6004
6005   for depmode in $am_compiler_list; do
6006     # Setup a source with many dependencies, because some compilers
6007     # like to wrap large dependency lists on column 80 (with \), and
6008     # we should not choose a depcomp mode which is confused by this.
6009     #
6010     # We need to recreate these files for each test, as the compiler may
6011     # overwrite some of them when testing with obscure command lines.
6012     # This happens at least with the AIX C compiler.
6013     : > sub/conftest.c
6014     for i in 1 2 3 4 5 6; do
6015       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6016       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6017       # Solaris 8's {/usr,}/bin/sh.
6018       touch sub/conftst$i.h
6019     done
6020     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6021
6022     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6023     # mode.  It turns out that the SunPro C++ compiler does not properly
6024     # handle `-M -o', and we need to detect this.  Also, some Intel
6025     # versions had trouble with output in subdirs
6026     am__obj=sub/conftest.${OBJEXT-o}
6027     am__minus_obj="-o $am__obj"
6028     case $depmode in
6029     gcc)
6030       # This depmode causes a compiler race in universal mode.
6031       test "$am__universal" = false || continue
6032       ;;
6033     nosideeffect)
6034       # after this tag, mechanisms are not by side-effect, so they'll
6035       # only be used when explicitly requested
6036       if test "x$enable_dependency_tracking" = xyes; then
6037         continue
6038       else
6039         break
6040       fi
6041       ;;
6042     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6043       # This compiler won't grok `-c -o', but also, the minuso test has
6044       # not run yet.  These depmodes are late enough in the game, and
6045       # so weak that their functioning should not be impacted.
6046       am__obj=conftest.${OBJEXT-o}
6047       am__minus_obj=
6048       ;;
6049     none) break ;;
6050     esac
6051     if depmode=$depmode \
6052        source=sub/conftest.c object=$am__obj \
6053        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6054        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6055          >/dev/null 2>conftest.err &&
6056        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6057        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6058        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6059        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6060       # icc doesn't choke on unknown options, it will just issue warnings
6061       # or remarks (even with -Werror).  So we grep stderr for any message
6062       # that says an option was ignored or not supported.
6063       # When given -MP, icc 7.0 and 7.1 complain thusly:
6064       #   icc: Command line warning: ignoring option '-M'; no argument required
6065       # The diagnosis changed in icc 8.0:
6066       #   icc: Command line remark: option '-MP' not supported
6067       if (grep 'ignoring option' conftest.err ||
6068           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6069         am_cv_CC_dependencies_compiler_type=$depmode
6070         break
6071       fi
6072     fi
6073   done
6074
6075   cd ..
6076   rm -rf conftest.dir
6077 else
6078   am_cv_CC_dependencies_compiler_type=none
6079 fi
6080
6081 fi
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6083 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6084 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6085
6086  if
6087   test "x$enable_dependency_tracking" != xno \
6088   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6089   am__fastdepCC_TRUE=
6090   am__fastdepCC_FALSE='#'
6091 else
6092   am__fastdepCC_TRUE='#'
6093   am__fastdepCC_FALSE=
6094 fi
6095
6096
6097
6098 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6099
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6101 $as_echo_n "checking for inline... " >&6; }
6102 if ${ac_cv_c_inline+:} false; then :
6103   $as_echo_n "(cached) " >&6
6104 else
6105   ac_cv_c_inline=no
6106 for ac_kw in inline __inline__ __inline; do
6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h.  */
6109 #ifndef __cplusplus
6110 typedef int foo_t;
6111 static $ac_kw foo_t static_foo () {return 0; }
6112 $ac_kw foo_t foo () {return 0; }
6113 #endif
6114
6115 _ACEOF
6116 if ac_fn_c_try_compile "$LINENO"; then :
6117   ac_cv_c_inline=$ac_kw
6118 fi
6119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6120   test "$ac_cv_c_inline" != no && break
6121 done
6122
6123 fi
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6125 $as_echo "$ac_cv_c_inline" >&6; }
6126
6127 case $ac_cv_c_inline in
6128   inline | yes) ;;
6129   *)
6130     case $ac_cv_c_inline in
6131       no) ac_val=;;
6132       *) ac_val=$ac_cv_c_inline;;
6133     esac
6134     cat >>confdefs.h <<_ACEOF
6135 #ifndef __cplusplus
6136 #define inline $ac_val
6137 #endif
6138 _ACEOF
6139     ;;
6140 esac
6141
6142 ac_ext=c
6143 ac_cpp='$CPP $CPPFLAGS'
6144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6148 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6149 # On Suns, sometimes $CPP names a directory.
6150 if test -n "$CPP" && test -d "$CPP"; then
6151   CPP=
6152 fi
6153 if test -z "$CPP"; then
6154   if ${ac_cv_prog_CPP+:} false; then :
6155   $as_echo_n "(cached) " >&6
6156 else
6157       # Double quotes because CPP needs to be expanded
6158     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6159     do
6160       ac_preproc_ok=false
6161 for ac_c_preproc_warn_flag in '' yes
6162 do
6163   # Use a header file that comes with gcc, so configuring glibc
6164   # with a fresh cross-compiler works.
6165   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6166   # <limits.h> exists even on freestanding compilers.
6167   # On the NeXT, cc -E runs the code through the compiler's parser,
6168   # not just through cpp. "Syntax error" is here to catch this case.
6169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h.  */
6171 #ifdef __STDC__
6172 # include <limits.h>
6173 #else
6174 # include <assert.h>
6175 #endif
6176                      Syntax error
6177 _ACEOF
6178 if ac_fn_c_try_cpp "$LINENO"; then :
6179
6180 else
6181   # Broken: fails on valid input.
6182 continue
6183 fi
6184 rm -f conftest.err conftest.i conftest.$ac_ext
6185
6186   # OK, works on sane cases.  Now check whether nonexistent headers
6187   # can be detected and how.
6188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h.  */
6190 #include <ac_nonexistent.h>
6191 _ACEOF
6192 if ac_fn_c_try_cpp "$LINENO"; then :
6193   # Broken: success on invalid input.
6194 continue
6195 else
6196   # Passes both tests.
6197 ac_preproc_ok=:
6198 break
6199 fi
6200 rm -f conftest.err conftest.i conftest.$ac_ext
6201
6202 done
6203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6204 rm -f conftest.i conftest.err conftest.$ac_ext
6205 if $ac_preproc_ok; then :
6206   break
6207 fi
6208
6209     done
6210     ac_cv_prog_CPP=$CPP
6211
6212 fi
6213   CPP=$ac_cv_prog_CPP
6214 else
6215   ac_cv_prog_CPP=$CPP
6216 fi
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6218 $as_echo "$CPP" >&6; }
6219 ac_preproc_ok=false
6220 for ac_c_preproc_warn_flag in '' yes
6221 do
6222   # Use a header file that comes with gcc, so configuring glibc
6223   # with a fresh cross-compiler works.
6224   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6225   # <limits.h> exists even on freestanding compilers.
6226   # On the NeXT, cc -E runs the code through the compiler's parser,
6227   # not just through cpp. "Syntax error" is here to catch this case.
6228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h.  */
6230 #ifdef __STDC__
6231 # include <limits.h>
6232 #else
6233 # include <assert.h>
6234 #endif
6235                      Syntax error
6236 _ACEOF
6237 if ac_fn_c_try_cpp "$LINENO"; then :
6238
6239 else
6240   # Broken: fails on valid input.
6241 continue
6242 fi
6243 rm -f conftest.err conftest.i conftest.$ac_ext
6244
6245   # OK, works on sane cases.  Now check whether nonexistent headers
6246   # can be detected and how.
6247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h.  */
6249 #include <ac_nonexistent.h>
6250 _ACEOF
6251 if ac_fn_c_try_cpp "$LINENO"; then :
6252   # Broken: success on invalid input.
6253 continue
6254 else
6255   # Passes both tests.
6256 ac_preproc_ok=:
6257 break
6258 fi
6259 rm -f conftest.err conftest.i conftest.$ac_ext
6260
6261 done
6262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6263 rm -f conftest.i conftest.err conftest.$ac_ext
6264 if $ac_preproc_ok; then :
6265
6266 else
6267   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6269 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6270 See \`config.log' for more details" "$LINENO" 5; }
6271 fi
6272
6273 ac_ext=c
6274 ac_cpp='$CPP $CPPFLAGS'
6275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6278
6279
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6281 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6282 if ${ac_cv_path_GREP+:} false; then :
6283   $as_echo_n "(cached) " >&6
6284 else
6285   if test -z "$GREP"; then
6286   ac_path_GREP_found=false
6287   # Loop through the user's path and test for each of PROGNAME-LIST
6288   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6290 do
6291   IFS=$as_save_IFS
6292   test -z "$as_dir" && as_dir=.
6293     for ac_prog in grep ggrep; do
6294     for ac_exec_ext in '' $ac_executable_extensions; do
6295       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6296       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6297 # Check for GNU ac_path_GREP and select it if it is found.
6298   # Check for GNU $ac_path_GREP
6299 case `"$ac_path_GREP" --version 2>&1` in
6300 *GNU*)
6301   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6302 *)
6303   ac_count=0
6304   $as_echo_n 0123456789 >"conftest.in"
6305   while :
6306   do
6307     cat "conftest.in" "conftest.in" >"conftest.tmp"
6308     mv "conftest.tmp" "conftest.in"
6309     cp "conftest.in" "conftest.nl"
6310     $as_echo 'GREP' >> "conftest.nl"
6311     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6312     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6313     as_fn_arith $ac_count + 1 && ac_count=$as_val
6314     if test $ac_count -gt ${ac_path_GREP_max-0}; then
6315       # Best one so far, save it but keep looking for a better one
6316       ac_cv_path_GREP="$ac_path_GREP"
6317       ac_path_GREP_max=$ac_count
6318     fi
6319     # 10*(2^10) chars as input seems more than enough
6320     test $ac_count -gt 10 && break
6321   done
6322   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6323 esac
6324
6325       $ac_path_GREP_found && break 3
6326     done
6327   done
6328   done
6329 IFS=$as_save_IFS
6330   if test -z "$ac_cv_path_GREP"; then
6331     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6332   fi
6333 else
6334   ac_cv_path_GREP=$GREP
6335 fi
6336
6337 fi
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6339 $as_echo "$ac_cv_path_GREP" >&6; }
6340  GREP="$ac_cv_path_GREP"
6341
6342
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6344 $as_echo_n "checking for egrep... " >&6; }
6345 if ${ac_cv_path_EGREP+:} false; then :
6346   $as_echo_n "(cached) " >&6
6347 else
6348   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6349    then ac_cv_path_EGREP="$GREP -E"
6350    else
6351      if test -z "$EGREP"; then
6352   ac_path_EGREP_found=false
6353   # Loop through the user's path and test for each of PROGNAME-LIST
6354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6356 do
6357   IFS=$as_save_IFS
6358   test -z "$as_dir" && as_dir=.
6359     for ac_prog in egrep; do
6360     for ac_exec_ext in '' $ac_executable_extensions; do
6361       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6362       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6363 # Check for GNU ac_path_EGREP and select it if it is found.
6364   # Check for GNU $ac_path_EGREP
6365 case `"$ac_path_EGREP" --version 2>&1` in
6366 *GNU*)
6367   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6368 *)
6369   ac_count=0
6370   $as_echo_n 0123456789 >"conftest.in"
6371   while :
6372   do
6373     cat "conftest.in" "conftest.in" >"conftest.tmp"
6374     mv "conftest.tmp" "conftest.in"
6375     cp "conftest.in" "conftest.nl"
6376     $as_echo 'EGREP' >> "conftest.nl"
6377     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6378     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6379     as_fn_arith $ac_count + 1 && ac_count=$as_val
6380     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6381       # Best one so far, save it but keep looking for a better one
6382       ac_cv_path_EGREP="$ac_path_EGREP"
6383       ac_path_EGREP_max=$ac_count
6384     fi
6385     # 10*(2^10) chars as input seems more than enough
6386     test $ac_count -gt 10 && break
6387   done
6388   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6389 esac
6390
6391       $ac_path_EGREP_found && break 3
6392     done
6393   done
6394   done
6395 IFS=$as_save_IFS
6396   if test -z "$ac_cv_path_EGREP"; then
6397     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6398   fi
6399 else
6400   ac_cv_path_EGREP=$EGREP
6401 fi
6402
6403    fi
6404 fi
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6406 $as_echo "$ac_cv_path_EGREP" >&6; }
6407  EGREP="$ac_cv_path_EGREP"
6408
6409
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6411 $as_echo_n "checking for ANSI C header files... " >&6; }
6412 if ${ac_cv_header_stdc+:} false; then :
6413   $as_echo_n "(cached) " >&6
6414 else
6415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h.  */
6417 #include <stdlib.h>
6418 #include <stdarg.h>
6419 #include <string.h>
6420 #include <float.h>
6421
6422 int
6423 main ()
6424 {
6425
6426   ;
6427   return 0;
6428 }
6429 _ACEOF
6430 if ac_fn_c_try_compile "$LINENO"; then :
6431   ac_cv_header_stdc=yes
6432 else
6433   ac_cv_header_stdc=no
6434 fi
6435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6436
6437 if test $ac_cv_header_stdc = yes; then
6438   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h.  */
6441 #include <string.h>
6442
6443 _ACEOF
6444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6445   $EGREP "memchr" >/dev/null 2>&1; then :
6446
6447 else
6448   ac_cv_header_stdc=no
6449 fi
6450 rm -f conftest*
6451
6452 fi
6453
6454 if test $ac_cv_header_stdc = yes; then
6455   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6457 /* end confdefs.h.  */
6458 #include <stdlib.h>
6459
6460 _ACEOF
6461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6462   $EGREP "free" >/dev/null 2>&1; then :
6463
6464 else
6465   ac_cv_header_stdc=no
6466 fi
6467 rm -f conftest*
6468
6469 fi
6470
6471 if test $ac_cv_header_stdc = yes; then
6472   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6473   if test "$cross_compiling" = yes; then :
6474   :
6475 else
6476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h.  */
6478 #include <ctype.h>
6479 #include <stdlib.h>
6480 #if ((' ' & 0x0FF) == 0x020)
6481 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6482 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6483 #else
6484 # define ISLOWER(c) \
6485                    (('a' <= (c) && (c) <= 'i') \
6486                      || ('j' <= (c) && (c) <= 'r') \
6487                      || ('s' <= (c) && (c) <= 'z'))
6488 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6489 #endif
6490
6491 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6492 int
6493 main ()
6494 {
6495   int i;
6496   for (i = 0; i < 256; i++)
6497     if (XOR (islower (i), ISLOWER (i))
6498         || toupper (i) != TOUPPER (i))
6499       return 2;
6500   return 0;
6501 }
6502 _ACEOF
6503 if ac_fn_c_try_run "$LINENO"; then :
6504
6505 else
6506   ac_cv_header_stdc=no
6507 fi
6508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6509   conftest.$ac_objext conftest.beam conftest.$ac_ext
6510 fi
6511
6512 fi
6513 fi
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6515 $as_echo "$ac_cv_header_stdc" >&6; }
6516 if test $ac_cv_header_stdc = yes; then
6517
6518 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6519
6520 fi
6521
6522
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6524 $as_echo_n "checking whether ln -s works... " >&6; }
6525 LN_S=$as_ln_s
6526 if test "$LN_S" = "ln -s"; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6528 $as_echo "yes" >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6531 $as_echo "no, using $LN_S" >&6; }
6532 fi
6533
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6535 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6536 set x ${MAKE-make}
6537 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6538 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6539   $as_echo_n "(cached) " >&6
6540 else
6541   cat >conftest.make <<\_ACEOF
6542 SHELL = /bin/sh
6543 all:
6544         @echo '@@@%%%=$(MAKE)=@@@%%%'
6545 _ACEOF
6546 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6547 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6548   *@@@%%%=?*=@@@%%%*)
6549     eval ac_cv_prog_make_${ac_make}_set=yes;;
6550   *)
6551     eval ac_cv_prog_make_${ac_make}_set=no;;
6552 esac
6553 rm -f conftest.make
6554 fi
6555 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6557 $as_echo "yes" >&6; }
6558   SET_MAKE=
6559 else
6560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561 $as_echo "no" >&6; }
6562   SET_MAKE="MAKE=${MAKE-make}"
6563 fi
6564
6565 # Extract the first word of "rm", so it can be a program name with args.
6566 set dummy rm; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if ${ac_cv_path_RM+:} false; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   case $RM in
6573   [\\/]* | ?:[\\/]*)
6574   ac_cv_path_RM="$RM" # Let the user override the test with a path.
6575   ;;
6576   *)
6577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 for as_dir in $PATH
6579 do
6580   IFS=$as_save_IFS
6581   test -z "$as_dir" && as_dir=.
6582     for ac_exec_ext in '' $ac_executable_extensions; do
6583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
6585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586     break 2
6587   fi
6588 done
6589   done
6590 IFS=$as_save_IFS
6591
6592   test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
6593   ;;
6594 esac
6595 fi
6596 RM=$ac_cv_path_RM
6597 if test -n "$RM"; then
6598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
6599 $as_echo "$RM" >&6; }
6600 else
6601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6603 fi
6604
6605
6606 # Extract the first word of "mv", so it can be a program name with args.
6607 set dummy mv; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_path_MV+:} false; then :
6611   $as_echo_n "(cached) " >&6
6612 else
6613   case $MV in
6614   [\\/]* | ?:[\\/]*)
6615   ac_cv_path_MV="$MV" # Let the user override the test with a path.
6616   ;;
6617   *)
6618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 for as_dir in $PATH
6620 do
6621   IFS=$as_save_IFS
6622   test -z "$as_dir" && as_dir=.
6623     for ac_exec_ext in '' $ac_executable_extensions; do
6624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6625     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
6626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627     break 2
6628   fi
6629 done
6630   done
6631 IFS=$as_save_IFS
6632
6633   test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
6634   ;;
6635 esac
6636 fi
6637 MV=$ac_cv_path_MV
6638 if test -n "$MV"; then
6639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
6640 $as_echo "$MV" >&6; }
6641 else
6642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6644 fi
6645
6646
6647 # Extract the first word of "tar", so it can be a program name with args.
6648 set dummy tar; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if ${ac_cv_path_TAR+:} false; then :
6652   $as_echo_n "(cached) " >&6
6653 else
6654   case $TAR in
6655   [\\/]* | ?:[\\/]*)
6656   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6657   ;;
6658   *)
6659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6661 do
6662   IFS=$as_save_IFS
6663   test -z "$as_dir" && as_dir=.
6664     for ac_exec_ext in '' $ac_executable_extensions; do
6665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6666     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668     break 2
6669   fi
6670 done
6671   done
6672 IFS=$as_save_IFS
6673
6674   test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
6675   ;;
6676 esac
6677 fi
6678 TAR=$ac_cv_path_TAR
6679 if test -n "$TAR"; then
6680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
6681 $as_echo "$TAR" >&6; }
6682 else
6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6685 fi
6686
6687
6688
6689
6690 case `pwd` in
6691   *\ * | *\     *)
6692     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6693 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6694 esac
6695
6696
6697
6698 macro_version='2.4.2'
6699 macro_revision='1.3337'
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713 ltmain="$ac_aux_dir/ltmain.sh"
6714
6715 # Backslashify metacharacters that are still active within
6716 # double-quoted strings.
6717 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6718
6719 # Same as above, but do not quote variable references.
6720 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6721
6722 # Sed substitution to delay expansion of an escaped shell variable in a
6723 # double_quote_subst'ed string.
6724 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6725
6726 # Sed substitution to delay expansion of an escaped single quote.
6727 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6728
6729 # Sed substitution to avoid accidental globbing in evaled expressions
6730 no_glob_subst='s/\*/\\\*/g'
6731
6732 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6733 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6734 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6735
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6737 $as_echo_n "checking how to print strings... " >&6; }
6738 # Test print first, because it will be a builtin if present.
6739 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6740    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6741   ECHO='print -r --'
6742 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6743   ECHO='printf %s\n'
6744 else
6745   # Use this function as a fallback that always works.
6746   func_fallback_echo ()
6747   {
6748     eval 'cat <<_LTECHO_EOF
6749 $1
6750 _LTECHO_EOF'
6751   }
6752   ECHO='func_fallback_echo'
6753 fi
6754
6755 # func_echo_all arg...
6756 # Invoke $ECHO with all args, space-separated.
6757 func_echo_all ()
6758 {
6759     $ECHO ""
6760 }
6761
6762 case "$ECHO" in
6763   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6764 $as_echo "printf" >&6; } ;;
6765   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6766 $as_echo "print -r" >&6; } ;;
6767   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6768 $as_echo "cat" >&6; } ;;
6769 esac
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6785 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6786 if ${ac_cv_path_SED+:} false; then :
6787   $as_echo_n "(cached) " >&6
6788 else
6789             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6790      for ac_i in 1 2 3 4 5 6 7; do
6791        ac_script="$ac_script$as_nl$ac_script"
6792      done
6793      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6794      { ac_script=; unset ac_script;}
6795      if test -z "$SED"; then
6796   ac_path_SED_found=false
6797   # Loop through the user's path and test for each of PROGNAME-LIST
6798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 for as_dir in $PATH
6800 do
6801   IFS=$as_save_IFS
6802   test -z "$as_dir" && as_dir=.
6803     for ac_prog in sed gsed; do
6804     for ac_exec_ext in '' $ac_executable_extensions; do
6805       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6806       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6807 # Check for GNU ac_path_SED and select it if it is found.
6808   # Check for GNU $ac_path_SED
6809 case `"$ac_path_SED" --version 2>&1` in
6810 *GNU*)
6811   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6812 *)
6813   ac_count=0
6814   $as_echo_n 0123456789 >"conftest.in"
6815   while :
6816   do
6817     cat "conftest.in" "conftest.in" >"conftest.tmp"
6818     mv "conftest.tmp" "conftest.in"
6819     cp "conftest.in" "conftest.nl"
6820     $as_echo '' >> "conftest.nl"
6821     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6822     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6823     as_fn_arith $ac_count + 1 && ac_count=$as_val
6824     if test $ac_count -gt ${ac_path_SED_max-0}; then
6825       # Best one so far, save it but keep looking for a better one
6826       ac_cv_path_SED="$ac_path_SED"
6827       ac_path_SED_max=$ac_count
6828     fi
6829     # 10*(2^10) chars as input seems more than enough
6830     test $ac_count -gt 10 && break
6831   done
6832   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6833 esac
6834
6835       $ac_path_SED_found && break 3
6836     done
6837   done
6838   done
6839 IFS=$as_save_IFS
6840   if test -z "$ac_cv_path_SED"; then
6841     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6842   fi
6843 else
6844   ac_cv_path_SED=$SED
6845 fi
6846
6847 fi
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6849 $as_echo "$ac_cv_path_SED" >&6; }
6850  SED="$ac_cv_path_SED"
6851   rm -f conftest.sed
6852
6853 test -z "$SED" && SED=sed
6854 Xsed="$SED -e 1s/^X//"
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6867 $as_echo_n "checking for fgrep... " >&6; }
6868 if ${ac_cv_path_FGREP+:} false; then :
6869   $as_echo_n "(cached) " >&6
6870 else
6871   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6872    then ac_cv_path_FGREP="$GREP -F"
6873    else
6874      if test -z "$FGREP"; then
6875   ac_path_FGREP_found=false
6876   # Loop through the user's path and test for each of PROGNAME-LIST
6877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6879 do
6880   IFS=$as_save_IFS
6881   test -z "$as_dir" && as_dir=.
6882     for ac_prog in fgrep; do
6883     for ac_exec_ext in '' $ac_executable_extensions; do
6884       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6885       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6886 # Check for GNU ac_path_FGREP and select it if it is found.
6887   # Check for GNU $ac_path_FGREP
6888 case `"$ac_path_FGREP" --version 2>&1` in
6889 *GNU*)
6890   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6891 *)
6892   ac_count=0
6893   $as_echo_n 0123456789 >"conftest.in"
6894   while :
6895   do
6896     cat "conftest.in" "conftest.in" >"conftest.tmp"
6897     mv "conftest.tmp" "conftest.in"
6898     cp "conftest.in" "conftest.nl"
6899     $as_echo 'FGREP' >> "conftest.nl"
6900     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6901     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6902     as_fn_arith $ac_count + 1 && ac_count=$as_val
6903     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6904       # Best one so far, save it but keep looking for a better one
6905       ac_cv_path_FGREP="$ac_path_FGREP"
6906       ac_path_FGREP_max=$ac_count
6907     fi
6908     # 10*(2^10) chars as input seems more than enough
6909     test $ac_count -gt 10 && break
6910   done
6911   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6912 esac
6913
6914       $ac_path_FGREP_found && break 3
6915     done
6916   done
6917   done
6918 IFS=$as_save_IFS
6919   if test -z "$ac_cv_path_FGREP"; then
6920     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6921   fi
6922 else
6923   ac_cv_path_FGREP=$FGREP
6924 fi
6925
6926    fi
6927 fi
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6929 $as_echo "$ac_cv_path_FGREP" >&6; }
6930  FGREP="$ac_cv_path_FGREP"
6931
6932
6933 test -z "$GREP" && GREP=grep
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953 # Check whether --with-gnu-ld was given.
6954 if test "${with_gnu_ld+set}" = set; then :
6955   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6956 else
6957   with_gnu_ld=no
6958 fi
6959
6960 ac_prog=ld
6961 if test "$GCC" = yes; then
6962   # Check if gcc -print-prog-name=ld gives a path.
6963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6964 $as_echo_n "checking for ld used by $CC... " >&6; }
6965   case $host in
6966   *-*-mingw*)
6967     # gcc leaves a trailing carriage return which upsets mingw
6968     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6969   *)
6970     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6971   esac
6972   case $ac_prog in
6973     # Accept absolute paths.
6974     [\\/]* | ?:[\\/]*)
6975       re_direlt='/[^/][^/]*/\.\./'
6976       # Canonicalize the pathname of ld
6977       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6978       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6979         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6980       done
6981       test -z "$LD" && LD="$ac_prog"
6982       ;;
6983   "")
6984     # If it fails, then pretend we aren't using GCC.
6985     ac_prog=ld
6986     ;;
6987   *)
6988     # If it is relative, then search for the first ld in PATH.
6989     with_gnu_ld=unknown
6990     ;;
6991   esac
6992 elif test "$with_gnu_ld" = yes; then
6993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6994 $as_echo_n "checking for GNU ld... " >&6; }
6995 else
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6997 $as_echo_n "checking for non-GNU ld... " >&6; }
6998 fi
6999 if ${lt_cv_path_LD+:} false; then :
7000   $as_echo_n "(cached) " >&6
7001 else
7002   if test -z "$LD"; then
7003   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7004   for ac_dir in $PATH; do
7005     IFS="$lt_save_ifs"
7006     test -z "$ac_dir" && ac_dir=.
7007     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7008       lt_cv_path_LD="$ac_dir/$ac_prog"
7009       # Check to see if the program is GNU ld.  I'd rather use --version,
7010       # but apparently some variants of GNU ld only accept -v.
7011       # Break only if it was the GNU/non-GNU ld that we prefer.
7012       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7013       *GNU* | *'with BFD'*)
7014         test "$with_gnu_ld" != no && break
7015         ;;
7016       *)
7017         test "$with_gnu_ld" != yes && break
7018         ;;
7019       esac
7020     fi
7021   done
7022   IFS="$lt_save_ifs"
7023 else
7024   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7025 fi
7026 fi
7027
7028 LD="$lt_cv_path_LD"
7029 if test -n "$LD"; then
7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7031 $as_echo "$LD" >&6; }
7032 else
7033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7035 fi
7036 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7038 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7039 if ${lt_cv_prog_gnu_ld+:} false; then :
7040   $as_echo_n "(cached) " >&6
7041 else
7042   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7043 case `$LD -v 2>&1 </dev/null` in
7044 *GNU* | *'with BFD'*)
7045   lt_cv_prog_gnu_ld=yes
7046   ;;
7047 *)
7048   lt_cv_prog_gnu_ld=no
7049   ;;
7050 esac
7051 fi
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7053 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7054 with_gnu_ld=$lt_cv_prog_gnu_ld
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7065 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7066 if ${lt_cv_path_NM+:} false; then :
7067   $as_echo_n "(cached) " >&6
7068 else
7069   if test -n "$NM"; then
7070   # Let the user override the test.
7071   lt_cv_path_NM="$NM"
7072 else
7073   lt_nm_to_check="${ac_tool_prefix}nm"
7074   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7075     lt_nm_to_check="$lt_nm_to_check nm"
7076   fi
7077   for lt_tmp_nm in $lt_nm_to_check; do
7078     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7079     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7080       IFS="$lt_save_ifs"
7081       test -z "$ac_dir" && ac_dir=.
7082       tmp_nm="$ac_dir/$lt_tmp_nm"
7083       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7084         # Check to see if the nm accepts a BSD-compat flag.
7085         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7086         #   nm: unknown option "B" ignored
7087         # Tru64's nm complains that /dev/null is an invalid object file
7088         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7089         */dev/null* | *'Invalid file or object type'*)
7090           lt_cv_path_NM="$tmp_nm -B"
7091           break
7092           ;;
7093         *)
7094           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7095           */dev/null*)
7096             lt_cv_path_NM="$tmp_nm -p"
7097             break
7098             ;;
7099           *)
7100             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7101             continue # so that we can try to find one that supports BSD flags
7102             ;;
7103           esac
7104           ;;
7105         esac
7106       fi
7107     done
7108     IFS="$lt_save_ifs"
7109   done
7110   : ${lt_cv_path_NM=no}
7111 fi
7112 fi
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7114 $as_echo "$lt_cv_path_NM" >&6; }
7115 if test "$lt_cv_path_NM" != "no"; then
7116   NM="$lt_cv_path_NM"
7117 else
7118   # Didn't find any BSD compatible name lister, look for dumpbin.
7119   if test -n "$DUMPBIN"; then :
7120     # Let the user override the test.
7121   else
7122     if test -n "$ac_tool_prefix"; then
7123   for ac_prog in dumpbin "link -dump"
7124   do
7125     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_DUMPBIN+:} false; then :
7130   $as_echo_n "(cached) " >&6
7131 else
7132   if test -n "$DUMPBIN"; then
7133   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7134 else
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 for as_dir in $PATH
7137 do
7138   IFS=$as_save_IFS
7139   test -z "$as_dir" && as_dir=.
7140     for ac_exec_ext in '' $ac_executable_extensions; do
7141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144     break 2
7145   fi
7146 done
7147   done
7148 IFS=$as_save_IFS
7149
7150 fi
7151 fi
7152 DUMPBIN=$ac_cv_prog_DUMPBIN
7153 if test -n "$DUMPBIN"; then
7154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7155 $as_echo "$DUMPBIN" >&6; }
7156 else
7157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7159 fi
7160
7161
7162     test -n "$DUMPBIN" && break
7163   done
7164 fi
7165 if test -z "$DUMPBIN"; then
7166   ac_ct_DUMPBIN=$DUMPBIN
7167   for ac_prog in dumpbin "link -dump"
7168 do
7169   # Extract the first word of "$ac_prog", so it can be a program name with args.
7170 set dummy $ac_prog; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7174   $as_echo_n "(cached) " >&6
7175 else
7176   if test -n "$ac_ct_DUMPBIN"; then
7177   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7181 do
7182   IFS=$as_save_IFS
7183   test -z "$as_dir" && as_dir=.
7184     for ac_exec_ext in '' $ac_executable_extensions; do
7185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188     break 2
7189   fi
7190 done
7191   done
7192 IFS=$as_save_IFS
7193
7194 fi
7195 fi
7196 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7197 if test -n "$ac_ct_DUMPBIN"; then
7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7199 $as_echo "$ac_ct_DUMPBIN" >&6; }
7200 else
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7203 fi
7204
7205
7206   test -n "$ac_ct_DUMPBIN" && break
7207 done
7208
7209   if test "x$ac_ct_DUMPBIN" = x; then
7210     DUMPBIN=":"
7211   else
7212     case $cross_compiling:$ac_tool_warned in
7213 yes:)
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7216 ac_tool_warned=yes ;;
7217 esac
7218     DUMPBIN=$ac_ct_DUMPBIN
7219   fi
7220 fi
7221
7222     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7223     *COFF*)
7224       DUMPBIN="$DUMPBIN -symbols"
7225       ;;
7226     *)
7227       DUMPBIN=:
7228       ;;
7229     esac
7230   fi
7231
7232   if test "$DUMPBIN" != ":"; then
7233     NM="$DUMPBIN"
7234   fi
7235 fi
7236 test -z "$NM" && NM=nm
7237
7238
7239
7240
7241
7242
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7244 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7245 if ${lt_cv_nm_interface+:} false; then :
7246   $as_echo_n "(cached) " >&6
7247 else
7248   lt_cv_nm_interface="BSD nm"
7249   echo "int some_variable = 0;" > conftest.$ac_ext
7250   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7251   (eval "$ac_compile" 2>conftest.err)
7252   cat conftest.err >&5
7253   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7254   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7255   cat conftest.err >&5
7256   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7257   cat conftest.out >&5
7258   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7259     lt_cv_nm_interface="MS dumpbin"
7260   fi
7261   rm -f conftest*
7262 fi
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7264 $as_echo "$lt_cv_nm_interface" >&6; }
7265
7266 # find the maximum length of command line arguments
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7268 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7269 if ${lt_cv_sys_max_cmd_len+:} false; then :
7270   $as_echo_n "(cached) " >&6
7271 else
7272     i=0
7273   teststring="ABCD"
7274
7275   case $build_os in
7276   msdosdjgpp*)
7277     # On DJGPP, this test can blow up pretty badly due to problems in libc
7278     # (any single argument exceeding 2000 bytes causes a buffer overrun
7279     # during glob expansion).  Even if it were fixed, the result of this
7280     # check would be larger than it should be.
7281     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7282     ;;
7283
7284   gnu*)
7285     # Under GNU Hurd, this test is not required because there is
7286     # no limit to the length of command line arguments.
7287     # Libtool will interpret -1 as no limit whatsoever
7288     lt_cv_sys_max_cmd_len=-1;
7289     ;;
7290
7291   cygwin* | mingw* | cegcc*)
7292     # On Win9x/ME, this test blows up -- it succeeds, but takes
7293     # about 5 minutes as the teststring grows exponentially.
7294     # Worse, since 9x/ME are not pre-emptively multitasking,
7295     # you end up with a "frozen" computer, even though with patience
7296     # the test eventually succeeds (with a max line length of 256k).
7297     # Instead, let's just punt: use the minimum linelength reported by
7298     # all of the supported platforms: 8192 (on NT/2K/XP).
7299     lt_cv_sys_max_cmd_len=8192;
7300     ;;
7301
7302   mint*)
7303     # On MiNT this can take a long time and run out of memory.
7304     lt_cv_sys_max_cmd_len=8192;
7305     ;;
7306
7307   amigaos*)
7308     # On AmigaOS with pdksh, this test takes hours, literally.
7309     # So we just punt and use a minimum line length of 8192.
7310     lt_cv_sys_max_cmd_len=8192;
7311     ;;
7312
7313   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7314     # This has been around since 386BSD, at least.  Likely further.
7315     if test -x /sbin/sysctl; then
7316       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7317     elif test -x /usr/sbin/sysctl; then
7318       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7319     else
7320       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7321     fi
7322     # And add a safety zone
7323     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7324     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7325     ;;
7326
7327   interix*)
7328     # We know the value 262144 and hardcode it with a safety zone (like BSD)
7329     lt_cv_sys_max_cmd_len=196608
7330     ;;
7331
7332   os2*)
7333     # The test takes a long time on OS/2.
7334     lt_cv_sys_max_cmd_len=8192
7335     ;;
7336
7337   osf*)
7338     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7339     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7340     # nice to cause kernel panics so lets avoid the loop below.
7341     # First set a reasonable default.
7342     lt_cv_sys_max_cmd_len=16384
7343     #
7344     if test -x /sbin/sysconfig; then
7345       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7346         *1*) lt_cv_sys_max_cmd_len=-1 ;;
7347       esac
7348     fi
7349     ;;
7350   sco3.2v5*)
7351     lt_cv_sys_max_cmd_len=102400
7352     ;;
7353   sysv5* | sco5v6* | sysv4.2uw2*)
7354     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7355     if test -n "$kargmax"; then
7356       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
7357     else
7358       lt_cv_sys_max_cmd_len=32768
7359     fi
7360     ;;
7361   *)
7362     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7363     if test -n "$lt_cv_sys_max_cmd_len"; then
7364       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7365       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7366     else
7367       # Make teststring a little bigger before we do anything with it.
7368       # a 1K string should be a reasonable start.
7369       for i in 1 2 3 4 5 6 7 8 ; do
7370         teststring=$teststring$teststring
7371       done
7372       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7373       # If test is not a shell built-in, we'll probably end up computing a
7374       # maximum length that is only half of the actual maximum length, but
7375       # we can't tell.
7376       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7377                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7378               test $i != 17 # 1/2 MB should be enough
7379       do
7380         i=`expr $i + 1`
7381         teststring=$teststring$teststring
7382       done
7383       # Only check the string length outside the loop.
7384       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7385       teststring=
7386       # Add a significant safety factor because C++ compilers can tack on
7387       # massive amounts of additional arguments before passing them to the
7388       # linker.  It appears as though 1/2 is a usable value.
7389       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7390     fi
7391     ;;
7392   esac
7393
7394 fi
7395
7396 if test -n $lt_cv_sys_max_cmd_len ; then
7397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7398 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7399 else
7400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7401 $as_echo "none" >&6; }
7402 fi
7403 max_cmd_len=$lt_cv_sys_max_cmd_len
7404
7405
7406
7407
7408
7409
7410 : ${CP="cp -f"}
7411 : ${MV="mv -f"}
7412 : ${RM="rm -f"}
7413
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7415 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7416 # Try some XSI features
7417 xsi_shell=no
7418 ( _lt_dummy="a/b/c"
7419   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7420       = c,a/b,b/c, \
7421     && eval 'test $(( 1 + 1 )) -eq 2 \
7422     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7423   && xsi_shell=yes
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7425 $as_echo "$xsi_shell" >&6; }
7426
7427
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7429 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7430 lt_shell_append=no
7431 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7432     >/dev/null 2>&1 \
7433   && lt_shell_append=yes
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7435 $as_echo "$lt_shell_append" >&6; }
7436
7437
7438 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7439   lt_unset=unset
7440 else
7441   lt_unset=false
7442 fi
7443
7444
7445
7446
7447
7448 # test EBCDIC or ASCII
7449 case `echo X|tr X '\101'` in
7450  A) # ASCII based system
7451     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7452   lt_SP2NL='tr \040 \012'
7453   lt_NL2SP='tr \015\012 \040\040'
7454   ;;
7455  *) # EBCDIC based system
7456   lt_SP2NL='tr \100 \n'
7457   lt_NL2SP='tr \r\n \100\100'
7458   ;;
7459 esac
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7470 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7471 if ${lt_cv_to_host_file_cmd+:} false; then :
7472   $as_echo_n "(cached) " >&6
7473 else
7474   case $host in
7475   *-*-mingw* )
7476     case $build in
7477       *-*-mingw* ) # actually msys
7478         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7479         ;;
7480       *-*-cygwin* )
7481         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7482         ;;
7483       * ) # otherwise, assume *nix
7484         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7485         ;;
7486     esac
7487     ;;
7488   *-*-cygwin* )
7489     case $build in
7490       *-*-mingw* ) # actually msys
7491         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7492         ;;
7493       *-*-cygwin* )
7494         lt_cv_to_host_file_cmd=func_convert_file_noop
7495         ;;
7496       * ) # otherwise, assume *nix
7497         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7498         ;;
7499     esac
7500     ;;
7501   * ) # unhandled hosts (and "normal" native builds)
7502     lt_cv_to_host_file_cmd=func_convert_file_noop
7503     ;;
7504 esac
7505
7506 fi
7507
7508 to_host_file_cmd=$lt_cv_to_host_file_cmd
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7510 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7511
7512
7513
7514
7515
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7517 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7518 if ${lt_cv_to_tool_file_cmd+:} false; then :
7519   $as_echo_n "(cached) " >&6
7520 else
7521   #assume ordinary cross tools, or native build.
7522 lt_cv_to_tool_file_cmd=func_convert_file_noop
7523 case $host in
7524   *-*-mingw* )
7525     case $build in
7526       *-*-mingw* ) # actually msys
7527         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7528         ;;
7529     esac
7530     ;;
7531 esac
7532
7533 fi
7534
7535 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7537 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7538
7539
7540
7541
7542
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7544 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7545 if ${lt_cv_ld_reload_flag+:} false; then :
7546   $as_echo_n "(cached) " >&6
7547 else
7548   lt_cv_ld_reload_flag='-r'
7549 fi
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7551 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7552 reload_flag=$lt_cv_ld_reload_flag
7553 case $reload_flag in
7554 "" | " "*) ;;
7555 *) reload_flag=" $reload_flag" ;;
7556 esac
7557 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7558 case $host_os in
7559   cygwin* | mingw* | pw32* | cegcc*)
7560     if test "$GCC" != yes; then
7561       reload_cmds=false
7562     fi
7563     ;;
7564   darwin*)
7565     if test "$GCC" = yes; then
7566       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7567     else
7568       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7569     fi
7570     ;;
7571 esac
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581 if test -n "$ac_tool_prefix"; then
7582   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7583 set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+:} false; then :
7587   $as_echo_n "(cached) " >&6
7588 else
7589   if test -n "$OBJDUMP"; then
7590   ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump"
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 OBJDUMP=$ac_cv_prog_OBJDUMP
7610 if test -n "$OBJDUMP"; then
7611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7612 $as_echo "$OBJDUMP" >&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_OBJDUMP"; then
7621   ac_ct_OBJDUMP=$OBJDUMP
7622   # Extract the first word of "objdump", so it can be a program name with args.
7623 set dummy objdump; 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_OBJDUMP+:} false; then :
7627   $as_echo_n "(cached) " >&6
7628 else
7629   if test -n "$ac_ct_OBJDUMP"; then
7630   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_OBJDUMP="objdump"
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_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7650 if test -n "$ac_ct_OBJDUMP"; then
7651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7652 $as_echo "$ac_ct_OBJDUMP" >&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_OBJDUMP" = x; then
7659     OBJDUMP="false"
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     OBJDUMP=$ac_ct_OBJDUMP
7668   fi
7669 else
7670   OBJDUMP="$ac_cv_prog_OBJDUMP"
7671 fi
7672
7673 test -z "$OBJDUMP" && OBJDUMP=objdump
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7684 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7685 if ${lt_cv_deplibs_check_method+:} false; then :
7686   $as_echo_n "(cached) " >&6
7687 else
7688   lt_cv_file_magic_cmd='$MAGIC_CMD'
7689 lt_cv_file_magic_test_file=
7690 lt_cv_deplibs_check_method='unknown'
7691 # Need to set the preceding variable on all platforms that support
7692 # interlibrary dependencies.
7693 # 'none' -- dependencies not supported.
7694 # `unknown' -- same as none, but documents that we really don't know.
7695 # 'pass_all' -- all dependencies passed with no checks.
7696 # 'test_compile' -- check by making test program.
7697 # 'file_magic [[regex]]' -- check by looking for files in library path
7698 # which responds to the $file_magic_cmd with a given extended regex.
7699 # If you have `file' or equivalent on your system and you're not sure
7700 # whether `pass_all' will *always* work, you probably want this one.
7701
7702 case $host_os in
7703 aix[4-9]*)
7704   lt_cv_deplibs_check_method=pass_all
7705   ;;
7706
7707 beos*)
7708   lt_cv_deplibs_check_method=pass_all
7709   ;;
7710
7711 bsdi[45]*)
7712   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7713   lt_cv_file_magic_cmd='/usr/bin/file -L'
7714   lt_cv_file_magic_test_file=/shlib/libc.so
7715   ;;
7716
7717 cygwin*)
7718   # func_win32_libid is a shell function defined in ltmain.sh
7719   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7720   lt_cv_file_magic_cmd='func_win32_libid'
7721   ;;
7722
7723 mingw* | pw32*)
7724   # Base MSYS/MinGW do not provide the 'file' command needed by
7725   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7726   # unless we find 'file', for example because we are cross-compiling.
7727   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7728   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7729     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7730     lt_cv_file_magic_cmd='func_win32_libid'
7731   else
7732     # Keep this pattern in sync with the one in func_win32_libid.
7733     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7734     lt_cv_file_magic_cmd='$OBJDUMP -f'
7735   fi
7736   ;;
7737
7738 cegcc*)
7739   # use the weaker test based on 'objdump'. See mingw*.
7740   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7741   lt_cv_file_magic_cmd='$OBJDUMP -f'
7742   ;;
7743
7744 darwin* | rhapsody*)
7745   lt_cv_deplibs_check_method=pass_all
7746   ;;
7747
7748 freebsd* | dragonfly*)
7749   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7750     case $host_cpu in
7751     i*86 )
7752       # Not sure whether the presence of OpenBSD here was a mistake.
7753       # Let's accept both of them until this is cleared up.
7754       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7755       lt_cv_file_magic_cmd=/usr/bin/file
7756       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7757       ;;
7758     esac
7759   else
7760     lt_cv_deplibs_check_method=pass_all
7761   fi
7762   ;;
7763
7764 gnu*)
7765   lt_cv_deplibs_check_method=pass_all
7766   ;;
7767
7768 haiku*)
7769   lt_cv_deplibs_check_method=pass_all
7770   ;;
7771
7772 hpux10.20* | hpux11*)
7773   lt_cv_file_magic_cmd=/usr/bin/file
7774   case $host_cpu in
7775   ia64*)
7776     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7777     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7778     ;;
7779   hppa*64*)
7780     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]'
7781     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7782     ;;
7783   *)
7784     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7785     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7786     ;;
7787   esac
7788   ;;
7789
7790 interix[3-9]*)
7791   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7792   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7793   ;;
7794
7795 irix5* | irix6* | nonstopux*)
7796   case $LD in
7797   *-32|*"-32 ") libmagic=32-bit;;
7798   *-n32|*"-n32 ") libmagic=N32;;
7799   *-64|*"-64 ") libmagic=64-bit;;
7800   *) libmagic=never-match;;
7801   esac
7802   lt_cv_deplibs_check_method=pass_all
7803   ;;
7804
7805 # This must be glibc/ELF.
7806 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7807   lt_cv_deplibs_check_method=pass_all
7808   ;;
7809
7810 netbsd* | netbsdelf*-gnu)
7811   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7812     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7813   else
7814     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7815   fi
7816   ;;
7817
7818 newos6*)
7819   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7820   lt_cv_file_magic_cmd=/usr/bin/file
7821   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7822   ;;
7823
7824 *nto* | *qnx*)
7825   lt_cv_deplibs_check_method=pass_all
7826   ;;
7827
7828 openbsd*)
7829   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7830     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7831   else
7832     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7833   fi
7834   ;;
7835
7836 osf3* | osf4* | osf5*)
7837   lt_cv_deplibs_check_method=pass_all
7838   ;;
7839
7840 rdos*)
7841   lt_cv_deplibs_check_method=pass_all
7842   ;;
7843
7844 solaris*)
7845   lt_cv_deplibs_check_method=pass_all
7846   ;;
7847
7848 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7849   lt_cv_deplibs_check_method=pass_all
7850   ;;
7851
7852 sysv4 | sysv4.3*)
7853   case $host_vendor in
7854   motorola)
7855     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]'
7856     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7857     ;;
7858   ncr)
7859     lt_cv_deplibs_check_method=pass_all
7860     ;;
7861   sequent)
7862     lt_cv_file_magic_cmd='/bin/file'
7863     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7864     ;;
7865   sni)
7866     lt_cv_file_magic_cmd='/bin/file'
7867     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7868     lt_cv_file_magic_test_file=/lib/libc.so
7869     ;;
7870   siemens)
7871     lt_cv_deplibs_check_method=pass_all
7872     ;;
7873   pc)
7874     lt_cv_deplibs_check_method=pass_all
7875     ;;
7876   esac
7877   ;;
7878
7879 tpf*)
7880   lt_cv_deplibs_check_method=pass_all
7881   ;;
7882 esac
7883
7884 fi
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7886 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7887
7888 file_magic_glob=
7889 want_nocaseglob=no
7890 if test "$build" = "$host"; then
7891   case $host_os in
7892   mingw* | pw32*)
7893     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7894       want_nocaseglob=yes
7895     else
7896       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7897     fi
7898     ;;
7899   esac
7900 fi
7901
7902 file_magic_cmd=$lt_cv_file_magic_cmd
7903 deplibs_check_method=$lt_cv_deplibs_check_method
7904 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927 if test -n "$ac_tool_prefix"; then
7928   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7929 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7931 $as_echo_n "checking for $ac_word... " >&6; }
7932 if ${ac_cv_prog_DLLTOOL+:} false; then :
7933   $as_echo_n "(cached) " >&6
7934 else
7935   if test -n "$DLLTOOL"; then
7936   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7937 else
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 for as_dir in $PATH
7940 do
7941   IFS=$as_save_IFS
7942   test -z "$as_dir" && as_dir=.
7943     for ac_exec_ext in '' $ac_executable_extensions; do
7944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947     break 2
7948   fi
7949 done
7950   done
7951 IFS=$as_save_IFS
7952
7953 fi
7954 fi
7955 DLLTOOL=$ac_cv_prog_DLLTOOL
7956 if test -n "$DLLTOOL"; then
7957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7958 $as_echo "$DLLTOOL" >&6; }
7959 else
7960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7961 $as_echo "no" >&6; }
7962 fi
7963
7964
7965 fi
7966 if test -z "$ac_cv_prog_DLLTOOL"; then
7967   ac_ct_DLLTOOL=$DLLTOOL
7968   # Extract the first word of "dlltool", so it can be a program name with args.
7969 set dummy dlltool; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7973   $as_echo_n "(cached) " >&6
7974 else
7975   if test -n "$ac_ct_DLLTOOL"; then
7976   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
7980 do
7981   IFS=$as_save_IFS
7982   test -z "$as_dir" && as_dir=.
7983     for ac_exec_ext in '' $ac_executable_extensions; do
7984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7985     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987     break 2
7988   fi
7989 done
7990   done
7991 IFS=$as_save_IFS
7992
7993 fi
7994 fi
7995 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7996 if test -n "$ac_ct_DLLTOOL"; then
7997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7998 $as_echo "$ac_ct_DLLTOOL" >&6; }
7999 else
8000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8002 fi
8003
8004   if test "x$ac_ct_DLLTOOL" = x; then
8005     DLLTOOL="false"
8006   else
8007     case $cross_compiling:$ac_tool_warned in
8008 yes:)
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8011 ac_tool_warned=yes ;;
8012 esac
8013     DLLTOOL=$ac_ct_DLLTOOL
8014   fi
8015 else
8016   DLLTOOL="$ac_cv_prog_DLLTOOL"
8017 fi
8018
8019 test -z "$DLLTOOL" && DLLTOOL=dlltool
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8031 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8032 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8033   $as_echo_n "(cached) " >&6
8034 else
8035   lt_cv_sharedlib_from_linklib_cmd='unknown'
8036
8037 case $host_os in
8038 cygwin* | mingw* | pw32* | cegcc*)
8039   # two different shell functions defined in ltmain.sh
8040   # decide which to use based on capabilities of $DLLTOOL
8041   case `$DLLTOOL --help 2>&1` in
8042   *--identify-strict*)
8043     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8044     ;;
8045   *)
8046     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8047     ;;
8048   esac
8049   ;;
8050 *)
8051   # fallback: assume linklib IS sharedlib
8052   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8053   ;;
8054 esac
8055
8056 fi
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8058 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8059 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8060 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8061
8062
8063
8064
8065
8066
8067
8068 if test -n "$ac_tool_prefix"; then
8069   for ac_prog in ar
8070   do
8071     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8074 $as_echo_n "checking for $ac_word... " >&6; }
8075 if ${ac_cv_prog_AR+:} false; then :
8076   $as_echo_n "(cached) " >&6
8077 else
8078   if test -n "$AR"; then
8079   ac_cv_prog_AR="$AR" # Let the user override the test.
8080 else
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082 for as_dir in $PATH
8083 do
8084   IFS=$as_save_IFS
8085   test -z "$as_dir" && as_dir=.
8086     for ac_exec_ext in '' $ac_executable_extensions; do
8087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090     break 2
8091   fi
8092 done
8093   done
8094 IFS=$as_save_IFS
8095
8096 fi
8097 fi
8098 AR=$ac_cv_prog_AR
8099 if test -n "$AR"; then
8100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8101 $as_echo "$AR" >&6; }
8102 else
8103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104 $as_echo "no" >&6; }
8105 fi
8106
8107
8108     test -n "$AR" && break
8109   done
8110 fi
8111 if test -z "$AR"; then
8112   ac_ct_AR=$AR
8113   for ac_prog in ar
8114 do
8115   # Extract the first word of "$ac_prog", so it can be a program name with args.
8116 set dummy $ac_prog; ac_word=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8118 $as_echo_n "checking for $ac_word... " >&6; }
8119 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8120   $as_echo_n "(cached) " >&6
8121 else
8122   if test -n "$ac_ct_AR"; then
8123   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8124 else
8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 for as_dir in $PATH
8127 do
8128   IFS=$as_save_IFS
8129   test -z "$as_dir" && as_dir=.
8130     for ac_exec_ext in '' $ac_executable_extensions; do
8131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8132     ac_cv_prog_ac_ct_AR="$ac_prog"
8133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134     break 2
8135   fi
8136 done
8137   done
8138 IFS=$as_save_IFS
8139
8140 fi
8141 fi
8142 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8143 if test -n "$ac_ct_AR"; then
8144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8145 $as_echo "$ac_ct_AR" >&6; }
8146 else
8147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8149 fi
8150
8151
8152   test -n "$ac_ct_AR" && break
8153 done
8154
8155   if test "x$ac_ct_AR" = x; then
8156     AR="false"
8157   else
8158     case $cross_compiling:$ac_tool_warned in
8159 yes:)
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8162 ac_tool_warned=yes ;;
8163 esac
8164     AR=$ac_ct_AR
8165   fi
8166 fi
8167
8168 : ${AR=ar}
8169 : ${AR_FLAGS=cru}
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8182 $as_echo_n "checking for archiver @FILE support... " >&6; }
8183 if ${lt_cv_ar_at_file+:} false; then :
8184   $as_echo_n "(cached) " >&6
8185 else
8186   lt_cv_ar_at_file=no
8187    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h.  */
8189
8190 int
8191 main ()
8192 {
8193
8194   ;
8195   return 0;
8196 }
8197 _ACEOF
8198 if ac_fn_c_try_compile "$LINENO"; then :
8199   echo conftest.$ac_objext > conftest.lst
8200       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8201       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8202   (eval $lt_ar_try) 2>&5
8203   ac_status=$?
8204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8205   test $ac_status = 0; }
8206       if test "$ac_status" -eq 0; then
8207         # Ensure the archiver fails upon bogus file names.
8208         rm -f conftest.$ac_objext libconftest.a
8209         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8210   (eval $lt_ar_try) 2>&5
8211   ac_status=$?
8212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8213   test $ac_status = 0; }
8214         if test "$ac_status" -ne 0; then
8215           lt_cv_ar_at_file=@
8216         fi
8217       fi
8218       rm -f conftest.* libconftest.a
8219
8220 fi
8221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8222
8223 fi
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8225 $as_echo "$lt_cv_ar_at_file" >&6; }
8226
8227 if test "x$lt_cv_ar_at_file" = xno; then
8228   archiver_list_spec=
8229 else
8230   archiver_list_spec=$lt_cv_ar_at_file
8231 fi
8232
8233
8234
8235
8236
8237
8238
8239 if test -n "$ac_tool_prefix"; then
8240   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8241 set dummy ${ac_tool_prefix}strip; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_prog_STRIP+:} false; then :
8245   $as_echo_n "(cached) " >&6
8246 else
8247   if test -n "$STRIP"; then
8248   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8249 else
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 for as_dir in $PATH
8252 do
8253   IFS=$as_save_IFS
8254   test -z "$as_dir" && as_dir=.
8255     for ac_exec_ext in '' $ac_executable_extensions; do
8256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8257     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259     break 2
8260   fi
8261 done
8262   done
8263 IFS=$as_save_IFS
8264
8265 fi
8266 fi
8267 STRIP=$ac_cv_prog_STRIP
8268 if test -n "$STRIP"; then
8269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8270 $as_echo "$STRIP" >&6; }
8271 else
8272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8274 fi
8275
8276
8277 fi
8278 if test -z "$ac_cv_prog_STRIP"; then
8279   ac_ct_STRIP=$STRIP
8280   # Extract the first word of "strip", so it can be a program name with args.
8281 set dummy strip; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8285   $as_echo_n "(cached) " >&6
8286 else
8287   if test -n "$ac_ct_STRIP"; then
8288   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8289 else
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $PATH
8292 do
8293   IFS=$as_save_IFS
8294   test -z "$as_dir" && as_dir=.
8295     for ac_exec_ext in '' $ac_executable_extensions; do
8296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297     ac_cv_prog_ac_ct_STRIP="strip"
8298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299     break 2
8300   fi
8301 done
8302   done
8303 IFS=$as_save_IFS
8304
8305 fi
8306 fi
8307 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8308 if test -n "$ac_ct_STRIP"; then
8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8310 $as_echo "$ac_ct_STRIP" >&6; }
8311 else
8312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8314 fi
8315
8316   if test "x$ac_ct_STRIP" = x; then
8317     STRIP=":"
8318   else
8319     case $cross_compiling:$ac_tool_warned in
8320 yes:)
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325     STRIP=$ac_ct_STRIP
8326   fi
8327 else
8328   STRIP="$ac_cv_prog_STRIP"
8329 fi
8330
8331 test -z "$STRIP" && STRIP=:
8332
8333
8334
8335
8336
8337
8338 if test -n "$ac_tool_prefix"; then
8339   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8340 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342 $as_echo_n "checking for $ac_word... " >&6; }
8343 if ${ac_cv_prog_RANLIB+:} false; then :
8344   $as_echo_n "(cached) " >&6
8345 else
8346   if test -n "$RANLIB"; then
8347   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8348 else
8349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350 for as_dir in $PATH
8351 do
8352   IFS=$as_save_IFS
8353   test -z "$as_dir" && as_dir=.
8354     for ac_exec_ext in '' $ac_executable_extensions; do
8355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8356     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358     break 2
8359   fi
8360 done
8361   done
8362 IFS=$as_save_IFS
8363
8364 fi
8365 fi
8366 RANLIB=$ac_cv_prog_RANLIB
8367 if test -n "$RANLIB"; then
8368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8369 $as_echo "$RANLIB" >&6; }
8370 else
8371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8373 fi
8374
8375
8376 fi
8377 if test -z "$ac_cv_prog_RANLIB"; then
8378   ac_ct_RANLIB=$RANLIB
8379   # Extract the first word of "ranlib", so it can be a program name with args.
8380 set dummy ranlib; ac_word=$2
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382 $as_echo_n "checking for $ac_word... " >&6; }
8383 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8384   $as_echo_n "(cached) " >&6
8385 else
8386   if test -n "$ac_ct_RANLIB"; then
8387   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8388 else
8389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390 for as_dir in $PATH
8391 do
8392   IFS=$as_save_IFS
8393   test -z "$as_dir" && as_dir=.
8394     for ac_exec_ext in '' $ac_executable_extensions; do
8395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8396     ac_cv_prog_ac_ct_RANLIB="ranlib"
8397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398     break 2
8399   fi
8400 done
8401   done
8402 IFS=$as_save_IFS
8403
8404 fi
8405 fi
8406 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8407 if test -n "$ac_ct_RANLIB"; then
8408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8409 $as_echo "$ac_ct_RANLIB" >&6; }
8410 else
8411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8413 fi
8414
8415   if test "x$ac_ct_RANLIB" = x; then
8416     RANLIB=":"
8417   else
8418     case $cross_compiling:$ac_tool_warned in
8419 yes:)
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8422 ac_tool_warned=yes ;;
8423 esac
8424     RANLIB=$ac_ct_RANLIB
8425   fi
8426 else
8427   RANLIB="$ac_cv_prog_RANLIB"
8428 fi
8429
8430 test -z "$RANLIB" && RANLIB=:
8431
8432
8433
8434
8435
8436
8437 # Determine commands to create old-style static archives.
8438 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8439 old_postinstall_cmds='chmod 644 $oldlib'
8440 old_postuninstall_cmds=
8441
8442 if test -n "$RANLIB"; then
8443   case $host_os in
8444   openbsd*)
8445     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8446     ;;
8447   *)
8448     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8449     ;;
8450   esac
8451   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8452 fi
8453
8454 case $host_os in
8455   darwin*)
8456     lock_old_archive_extraction=yes ;;
8457   *)
8458     lock_old_archive_extraction=no ;;
8459 esac
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499 # If no C compiler was specified, use CC.
8500 LTCC=${LTCC-"$CC"}
8501
8502 # If no C compiler flags were specified, use CFLAGS.
8503 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8504
8505 # Allow CC to be a program name with arguments.
8506 compiler=$CC
8507
8508
8509 # Check for command to grab the raw symbol name followed by C symbol from nm.
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8511 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8512 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8513   $as_echo_n "(cached) " >&6
8514 else
8515
8516 # These are sane defaults that work on at least a few old systems.
8517 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8518
8519 # Character class describing NM global symbol codes.
8520 symcode='[BCDEGRST]'
8521
8522 # Regexp to match symbols that can be accessed directly from C.
8523 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8524
8525 # Define system-specific variables.
8526 case $host_os in
8527 aix*)
8528   symcode='[BCDT]'
8529   ;;
8530 cygwin* | mingw* | pw32* | cegcc*)
8531   symcode='[ABCDGISTW]'
8532   ;;
8533 hpux*)
8534   if test "$host_cpu" = ia64; then
8535     symcode='[ABCDEGRST]'
8536   fi
8537   ;;
8538 irix* | nonstopux*)
8539   symcode='[BCDEGRST]'
8540   ;;
8541 osf*)
8542   symcode='[BCDEGQRST]'
8543   ;;
8544 solaris*)
8545   symcode='[BDRT]'
8546   ;;
8547 sco3.2v5*)
8548   symcode='[DT]'
8549   ;;
8550 sysv4.2uw2*)
8551   symcode='[DT]'
8552   ;;
8553 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8554   symcode='[ABDT]'
8555   ;;
8556 sysv4)
8557   symcode='[DFNSTU]'
8558   ;;
8559 esac
8560
8561 # If we're using GNU nm, then use its standard symbol codes.
8562 case `$NM -V 2>&1` in
8563 *GNU* | *'with BFD'*)
8564   symcode='[ABCDGIRSTW]' ;;
8565 esac
8566
8567 # Transform an extracted symbol line into a proper C declaration.
8568 # Some systems (esp. on ia64) link data and code symbols differently,
8569 # so use this general approach.
8570 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8571
8572 # Transform an extracted symbol line into symbol name and symbol address
8573 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8574 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'"
8575
8576 # Handle CRLF in mingw tool chain
8577 opt_cr=
8578 case $build_os in
8579 mingw*)
8580   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8581   ;;
8582 esac
8583
8584 # Try without a prefix underscore, then with it.
8585 for ac_symprfx in "" "_"; do
8586
8587   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8588   symxfrm="\\1 $ac_symprfx\\2 \\2"
8589
8590   # Write the raw and C identifiers.
8591   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8592     # Fake it for dumpbin and say T for any non-static function
8593     # and D for any global variable.
8594     # Also find C++ and __fastcall symbols from MSVC++,
8595     # which start with @ or ?.
8596     lt_cv_sys_global_symbol_pipe="$AWK '"\
8597 "     {last_section=section; section=\$ 3};"\
8598 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8599 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8600 "     \$ 0!~/External *\|/{next};"\
8601 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8602 "     {if(hide[section]) next};"\
8603 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8604 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8605 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8606 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8607 "     ' prfx=^$ac_symprfx"
8608   else
8609     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8610   fi
8611   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8612
8613   # Check to see that the pipe works correctly.
8614   pipe_works=no
8615
8616   rm -f conftest*
8617   cat > conftest.$ac_ext <<_LT_EOF
8618 #ifdef __cplusplus
8619 extern "C" {
8620 #endif
8621 char nm_test_var;
8622 void nm_test_func(void);
8623 void nm_test_func(void){}
8624 #ifdef __cplusplus
8625 }
8626 #endif
8627 int main(){nm_test_var='a';nm_test_func();return(0);}
8628 _LT_EOF
8629
8630   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8631   (eval $ac_compile) 2>&5
8632   ac_status=$?
8633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8634   test $ac_status = 0; }; then
8635     # Now try to grab the symbols.
8636     nlist=conftest.nm
8637     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8638   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8639   ac_status=$?
8640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8641   test $ac_status = 0; } && test -s "$nlist"; then
8642       # Try sorting and uniquifying the output.
8643       if sort "$nlist" | uniq > "$nlist"T; then
8644         mv -f "$nlist"T "$nlist"
8645       else
8646         rm -f "$nlist"T
8647       fi
8648
8649       # Make sure that we snagged all the symbols we need.
8650       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8651         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8652           cat <<_LT_EOF > conftest.$ac_ext
8653 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8654 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8655 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8656    relocations are performed -- see ld's documentation on pseudo-relocs.  */
8657 # define LT_DLSYM_CONST
8658 #elif defined(__osf__)
8659 /* This system does not cope well with relocations in const data.  */
8660 # define LT_DLSYM_CONST
8661 #else
8662 # define LT_DLSYM_CONST const
8663 #endif
8664
8665 #ifdef __cplusplus
8666 extern "C" {
8667 #endif
8668
8669 _LT_EOF
8670           # Now generate the symbol file.
8671           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8672
8673           cat <<_LT_EOF >> conftest.$ac_ext
8674
8675 /* The mapping between symbol names and symbols.  */
8676 LT_DLSYM_CONST struct {
8677   const char *name;
8678   void       *address;
8679 }
8680 lt__PROGRAM__LTX_preloaded_symbols[] =
8681 {
8682   { "@PROGRAM@", (void *) 0 },
8683 _LT_EOF
8684           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8685           cat <<\_LT_EOF >> conftest.$ac_ext
8686   {0, (void *) 0}
8687 };
8688
8689 /* This works around a problem in FreeBSD linker */
8690 #ifdef FREEBSD_WORKAROUND
8691 static const void *lt_preloaded_setup() {
8692   return lt__PROGRAM__LTX_preloaded_symbols;
8693 }
8694 #endif
8695
8696 #ifdef __cplusplus
8697 }
8698 #endif
8699 _LT_EOF
8700           # Now try linking the two files.
8701           mv conftest.$ac_objext conftstm.$ac_objext
8702           lt_globsym_save_LIBS=$LIBS
8703           lt_globsym_save_CFLAGS=$CFLAGS
8704           LIBS="conftstm.$ac_objext"
8705           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8706           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8707   (eval $ac_link) 2>&5
8708   ac_status=$?
8709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8710   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8711             pipe_works=yes
8712           fi
8713           LIBS=$lt_globsym_save_LIBS
8714           CFLAGS=$lt_globsym_save_CFLAGS
8715         else
8716           echo "cannot find nm_test_func in $nlist" >&5
8717         fi
8718       else
8719         echo "cannot find nm_test_var in $nlist" >&5
8720       fi
8721     else
8722       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8723     fi
8724   else
8725     echo "$progname: failed program was:" >&5
8726     cat conftest.$ac_ext >&5
8727   fi
8728   rm -rf conftest* conftst*
8729
8730   # Do not use the global_symbol_pipe unless it works.
8731   if test "$pipe_works" = yes; then
8732     break
8733   else
8734     lt_cv_sys_global_symbol_pipe=
8735   fi
8736 done
8737
8738 fi
8739
8740 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8741   lt_cv_sys_global_symbol_to_cdecl=
8742 fi
8743 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8745 $as_echo "failed" >&6; }
8746 else
8747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8748 $as_echo "ok" >&6; }
8749 fi
8750
8751 # Response file support.
8752 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8753   nm_file_list_spec='@'
8754 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8755   nm_file_list_spec='@'
8756 fi
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8785 $as_echo_n "checking for sysroot... " >&6; }
8786
8787 # Check whether --with-sysroot was given.
8788 if test "${with_sysroot+set}" = set; then :
8789   withval=$with_sysroot;
8790 else
8791   with_sysroot=no
8792 fi
8793
8794
8795 lt_sysroot=
8796 case ${with_sysroot} in #(
8797  yes)
8798    if test "$GCC" = yes; then
8799      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8800    fi
8801    ;; #(
8802  /*)
8803    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8804    ;; #(
8805  no|'')
8806    ;; #(
8807  *)
8808    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8809 $as_echo "${with_sysroot}" >&6; }
8810    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8811    ;;
8812 esac
8813
8814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8815 $as_echo "${lt_sysroot:-no}" >&6; }
8816
8817
8818
8819
8820
8821 # Check whether --enable-libtool-lock was given.
8822 if test "${enable_libtool_lock+set}" = set; then :
8823   enableval=$enable_libtool_lock;
8824 fi
8825
8826 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8827
8828 # Some flags need to be propagated to the compiler or linker for good
8829 # libtool support.
8830 case $host in
8831 ia64-*-hpux*)
8832   # Find out which ABI we are using.
8833   echo 'int i;' > conftest.$ac_ext
8834   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8835   (eval $ac_compile) 2>&5
8836   ac_status=$?
8837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8838   test $ac_status = 0; }; then
8839     case `/usr/bin/file conftest.$ac_objext` in
8840       *ELF-32*)
8841         HPUX_IA64_MODE="32"
8842         ;;
8843       *ELF-64*)
8844         HPUX_IA64_MODE="64"
8845         ;;
8846     esac
8847   fi
8848   rm -rf conftest*
8849   ;;
8850 *-*-irix6*)
8851   # Find out which ABI we are using.
8852   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8853   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8854   (eval $ac_compile) 2>&5
8855   ac_status=$?
8856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8857   test $ac_status = 0; }; then
8858     if test "$lt_cv_prog_gnu_ld" = yes; then
8859       case `/usr/bin/file conftest.$ac_objext` in
8860         *32-bit*)
8861           LD="${LD-ld} -melf32bsmip"
8862           ;;
8863         *N32*)
8864           LD="${LD-ld} -melf32bmipn32"
8865           ;;
8866         *64-bit*)
8867           LD="${LD-ld} -melf64bmip"
8868         ;;
8869       esac
8870     else
8871       case `/usr/bin/file conftest.$ac_objext` in
8872         *32-bit*)
8873           LD="${LD-ld} -32"
8874           ;;
8875         *N32*)
8876           LD="${LD-ld} -n32"
8877           ;;
8878         *64-bit*)
8879           LD="${LD-ld} -64"
8880           ;;
8881       esac
8882     fi
8883   fi
8884   rm -rf conftest*
8885   ;;
8886
8887 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8888 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8889   # Find out which ABI we are using.
8890   echo 'int i;' > conftest.$ac_ext
8891   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8892   (eval $ac_compile) 2>&5
8893   ac_status=$?
8894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8895   test $ac_status = 0; }; then
8896     case `/usr/bin/file conftest.o` in
8897       *32-bit*)
8898         case $host in
8899           x86_64-*kfreebsd*-gnu)
8900             LD="${LD-ld} -m elf_i386_fbsd"
8901             ;;
8902           x86_64-*linux*)
8903             LD="${LD-ld} -m elf_i386"
8904             ;;
8905           ppc64-*linux*|powerpc64-*linux*)
8906             LD="${LD-ld} -m elf32ppclinux"
8907             ;;
8908           s390x-*linux*)
8909             LD="${LD-ld} -m elf_s390"
8910             ;;
8911           sparc64-*linux*)
8912             LD="${LD-ld} -m elf32_sparc"
8913             ;;
8914         esac
8915         ;;
8916       *64-bit*)
8917         case $host in
8918           x86_64-*kfreebsd*-gnu)
8919             LD="${LD-ld} -m elf_x86_64_fbsd"
8920             ;;
8921           x86_64-*linux*)
8922             LD="${LD-ld} -m elf_x86_64"
8923             ;;
8924           ppc*-*linux*|powerpc*-*linux*)
8925             LD="${LD-ld} -m elf64ppc"
8926             ;;
8927           s390*-*linux*|s390*-*tpf*)
8928             LD="${LD-ld} -m elf64_s390"
8929             ;;
8930           sparc*-*linux*)
8931             LD="${LD-ld} -m elf64_sparc"
8932             ;;
8933         esac
8934         ;;
8935     esac
8936   fi
8937   rm -rf conftest*
8938   ;;
8939
8940 *-*-sco3.2v5*)
8941   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8942   SAVE_CFLAGS="$CFLAGS"
8943   CFLAGS="$CFLAGS -belf"
8944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8945 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8946 if ${lt_cv_cc_needs_belf+:} false; then :
8947   $as_echo_n "(cached) " >&6
8948 else
8949   ac_ext=c
8950 ac_cpp='$CPP $CPPFLAGS'
8951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8954
8955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h.  */
8957
8958 int
8959 main ()
8960 {
8961
8962   ;
8963   return 0;
8964 }
8965 _ACEOF
8966 if ac_fn_c_try_link "$LINENO"; then :
8967   lt_cv_cc_needs_belf=yes
8968 else
8969   lt_cv_cc_needs_belf=no
8970 fi
8971 rm -f core conftest.err conftest.$ac_objext \
8972     conftest$ac_exeext conftest.$ac_ext
8973      ac_ext=c
8974 ac_cpp='$CPP $CPPFLAGS'
8975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8978
8979 fi
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8981 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8982   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8983     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8984     CFLAGS="$SAVE_CFLAGS"
8985   fi
8986   ;;
8987 *-*solaris*)
8988   # Find out which ABI we are using.
8989   echo 'int i;' > conftest.$ac_ext
8990   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8991   (eval $ac_compile) 2>&5
8992   ac_status=$?
8993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8994   test $ac_status = 0; }; then
8995     case `/usr/bin/file conftest.o` in
8996     *64-bit*)
8997       case $lt_cv_prog_gnu_ld in
8998       yes*)
8999         case $host in
9000         i?86-*-solaris*)
9001           LD="${LD-ld} -m elf_x86_64"
9002           ;;
9003         sparc*-*-solaris*)
9004           LD="${LD-ld} -m elf64_sparc"
9005           ;;
9006         esac
9007         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9008         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9009           LD="${LD-ld}_sol2"
9010         fi
9011         ;;
9012       *)
9013         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9014           LD="${LD-ld} -64"
9015         fi
9016         ;;
9017       esac
9018       ;;
9019     esac
9020   fi
9021   rm -rf conftest*
9022   ;;
9023 esac
9024
9025 need_locks="$enable_libtool_lock"
9026
9027 if test -n "$ac_tool_prefix"; then
9028   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9029 set dummy ${ac_tool_prefix}mt; ac_word=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9031 $as_echo_n "checking for $ac_word... " >&6; }
9032 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9033   $as_echo_n "(cached) " >&6
9034 else
9035   if test -n "$MANIFEST_TOOL"; then
9036   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9037 else
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9039 for as_dir in $PATH
9040 do
9041   IFS=$as_save_IFS
9042   test -z "$as_dir" && as_dir=.
9043     for ac_exec_ext in '' $ac_executable_extensions; do
9044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9047     break 2
9048   fi
9049 done
9050   done
9051 IFS=$as_save_IFS
9052
9053 fi
9054 fi
9055 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9056 if test -n "$MANIFEST_TOOL"; then
9057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9058 $as_echo "$MANIFEST_TOOL" >&6; }
9059 else
9060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9062 fi
9063
9064
9065 fi
9066 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9067   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9068   # Extract the first word of "mt", so it can be a program name with args.
9069 set dummy mt; ac_word=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9071 $as_echo_n "checking for $ac_word... " >&6; }
9072 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9073   $as_echo_n "(cached) " >&6
9074 else
9075   if test -n "$ac_ct_MANIFEST_TOOL"; then
9076   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9077 else
9078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9079 for as_dir in $PATH
9080 do
9081   IFS=$as_save_IFS
9082   test -z "$as_dir" && as_dir=.
9083     for ac_exec_ext in '' $ac_executable_extensions; do
9084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9085     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9087     break 2
9088   fi
9089 done
9090   done
9091 IFS=$as_save_IFS
9092
9093 fi
9094 fi
9095 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9096 if test -n "$ac_ct_MANIFEST_TOOL"; then
9097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9098 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9099 else
9100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9101 $as_echo "no" >&6; }
9102 fi
9103
9104   if test "x$ac_ct_MANIFEST_TOOL" = x; then
9105     MANIFEST_TOOL=":"
9106   else
9107     case $cross_compiling:$ac_tool_warned in
9108 yes:)
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9111 ac_tool_warned=yes ;;
9112 esac
9113     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9114   fi
9115 else
9116   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9117 fi
9118
9119 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9121 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9122 if ${lt_cv_path_mainfest_tool+:} false; then :
9123   $as_echo_n "(cached) " >&6
9124 else
9125   lt_cv_path_mainfest_tool=no
9126   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9127   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9128   cat conftest.err >&5
9129   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9130     lt_cv_path_mainfest_tool=yes
9131   fi
9132   rm -f conftest*
9133 fi
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9135 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9136 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9137   MANIFEST_TOOL=:
9138 fi
9139
9140
9141
9142
9143
9144
9145   case $host_os in
9146     rhapsody* | darwin*)
9147     if test -n "$ac_tool_prefix"; then
9148   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9149 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9151 $as_echo_n "checking for $ac_word... " >&6; }
9152 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9153   $as_echo_n "(cached) " >&6
9154 else
9155   if test -n "$DSYMUTIL"; then
9156   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9157 else
9158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9159 for as_dir in $PATH
9160 do
9161   IFS=$as_save_IFS
9162   test -z "$as_dir" && as_dir=.
9163     for ac_exec_ext in '' $ac_executable_extensions; do
9164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9165     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167     break 2
9168   fi
9169 done
9170   done
9171 IFS=$as_save_IFS
9172
9173 fi
9174 fi
9175 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9176 if test -n "$DSYMUTIL"; then
9177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9178 $as_echo "$DSYMUTIL" >&6; }
9179 else
9180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 $as_echo "no" >&6; }
9182 fi
9183
9184
9185 fi
9186 if test -z "$ac_cv_prog_DSYMUTIL"; then
9187   ac_ct_DSYMUTIL=$DSYMUTIL
9188   # Extract the first word of "dsymutil", so it can be a program name with args.
9189 set dummy dsymutil; ac_word=$2
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 $as_echo_n "checking for $ac_word... " >&6; }
9192 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9193   $as_echo_n "(cached) " >&6
9194 else
9195   if test -n "$ac_ct_DSYMUTIL"; then
9196   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9197 else
9198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199 for as_dir in $PATH
9200 do
9201   IFS=$as_save_IFS
9202   test -z "$as_dir" && as_dir=.
9203     for ac_exec_ext in '' $ac_executable_extensions; do
9204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9205     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9207     break 2
9208   fi
9209 done
9210   done
9211 IFS=$as_save_IFS
9212
9213 fi
9214 fi
9215 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9216 if test -n "$ac_ct_DSYMUTIL"; then
9217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9218 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9219 else
9220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221 $as_echo "no" >&6; }
9222 fi
9223
9224   if test "x$ac_ct_DSYMUTIL" = x; then
9225     DSYMUTIL=":"
9226   else
9227     case $cross_compiling:$ac_tool_warned in
9228 yes:)
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9231 ac_tool_warned=yes ;;
9232 esac
9233     DSYMUTIL=$ac_ct_DSYMUTIL
9234   fi
9235 else
9236   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9237 fi
9238
9239     if test -n "$ac_tool_prefix"; then
9240   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9241 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9243 $as_echo_n "checking for $ac_word... " >&6; }
9244 if ${ac_cv_prog_NMEDIT+:} false; then :
9245   $as_echo_n "(cached) " >&6
9246 else
9247   if test -n "$NMEDIT"; then
9248   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9249 else
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9251 for as_dir in $PATH
9252 do
9253   IFS=$as_save_IFS
9254   test -z "$as_dir" && as_dir=.
9255     for ac_exec_ext in '' $ac_executable_extensions; do
9256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9259     break 2
9260   fi
9261 done
9262   done
9263 IFS=$as_save_IFS
9264
9265 fi
9266 fi
9267 NMEDIT=$ac_cv_prog_NMEDIT
9268 if test -n "$NMEDIT"; then
9269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9270 $as_echo "$NMEDIT" >&6; }
9271 else
9272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9273 $as_echo "no" >&6; }
9274 fi
9275
9276
9277 fi
9278 if test -z "$ac_cv_prog_NMEDIT"; then
9279   ac_ct_NMEDIT=$NMEDIT
9280   # Extract the first word of "nmedit", so it can be a program name with args.
9281 set dummy nmedit; ac_word=$2
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9283 $as_echo_n "checking for $ac_word... " >&6; }
9284 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9285   $as_echo_n "(cached) " >&6
9286 else
9287   if test -n "$ac_ct_NMEDIT"; then
9288   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9289 else
9290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9291 for as_dir in $PATH
9292 do
9293   IFS=$as_save_IFS
9294   test -z "$as_dir" && as_dir=.
9295     for ac_exec_ext in '' $ac_executable_extensions; do
9296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9297     ac_cv_prog_ac_ct_NMEDIT="nmedit"
9298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9299     break 2
9300   fi
9301 done
9302   done
9303 IFS=$as_save_IFS
9304
9305 fi
9306 fi
9307 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9308 if test -n "$ac_ct_NMEDIT"; then
9309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9310 $as_echo "$ac_ct_NMEDIT" >&6; }
9311 else
9312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9313 $as_echo "no" >&6; }
9314 fi
9315
9316   if test "x$ac_ct_NMEDIT" = x; then
9317     NMEDIT=":"
9318   else
9319     case $cross_compiling:$ac_tool_warned in
9320 yes:)
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9323 ac_tool_warned=yes ;;
9324 esac
9325     NMEDIT=$ac_ct_NMEDIT
9326   fi
9327 else
9328   NMEDIT="$ac_cv_prog_NMEDIT"
9329 fi
9330
9331     if test -n "$ac_tool_prefix"; then
9332   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9333 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9335 $as_echo_n "checking for $ac_word... " >&6; }
9336 if ${ac_cv_prog_LIPO+:} false; then :
9337   $as_echo_n "(cached) " >&6
9338 else
9339   if test -n "$LIPO"; then
9340   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9341 else
9342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9343 for as_dir in $PATH
9344 do
9345   IFS=$as_save_IFS
9346   test -z "$as_dir" && as_dir=.
9347     for ac_exec_ext in '' $ac_executable_extensions; do
9348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9351     break 2
9352   fi
9353 done
9354   done
9355 IFS=$as_save_IFS
9356
9357 fi
9358 fi
9359 LIPO=$ac_cv_prog_LIPO
9360 if test -n "$LIPO"; then
9361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9362 $as_echo "$LIPO" >&6; }
9363 else
9364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9365 $as_echo "no" >&6; }
9366 fi
9367
9368
9369 fi
9370 if test -z "$ac_cv_prog_LIPO"; then
9371   ac_ct_LIPO=$LIPO
9372   # Extract the first word of "lipo", so it can be a program name with args.
9373 set dummy lipo; ac_word=$2
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9375 $as_echo_n "checking for $ac_word... " >&6; }
9376 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9377   $as_echo_n "(cached) " >&6
9378 else
9379   if test -n "$ac_ct_LIPO"; then
9380   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9381 else
9382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9383 for as_dir in $PATH
9384 do
9385   IFS=$as_save_IFS
9386   test -z "$as_dir" && as_dir=.
9387     for ac_exec_ext in '' $ac_executable_extensions; do
9388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9389     ac_cv_prog_ac_ct_LIPO="lipo"
9390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9391     break 2
9392   fi
9393 done
9394   done
9395 IFS=$as_save_IFS
9396
9397 fi
9398 fi
9399 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9400 if test -n "$ac_ct_LIPO"; then
9401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9402 $as_echo "$ac_ct_LIPO" >&6; }
9403 else
9404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9405 $as_echo "no" >&6; }
9406 fi
9407
9408   if test "x$ac_ct_LIPO" = x; then
9409     LIPO=":"
9410   else
9411     case $cross_compiling:$ac_tool_warned in
9412 yes:)
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9415 ac_tool_warned=yes ;;
9416 esac
9417     LIPO=$ac_ct_LIPO
9418   fi
9419 else
9420   LIPO="$ac_cv_prog_LIPO"
9421 fi
9422
9423     if test -n "$ac_tool_prefix"; then
9424   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9425 set dummy ${ac_tool_prefix}otool; ac_word=$2
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9427 $as_echo_n "checking for $ac_word... " >&6; }
9428 if ${ac_cv_prog_OTOOL+:} false; then :
9429   $as_echo_n "(cached) " >&6
9430 else
9431   if test -n "$OTOOL"; then
9432   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9433 else
9434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 for as_dir in $PATH
9436 do
9437   IFS=$as_save_IFS
9438   test -z "$as_dir" && as_dir=.
9439     for ac_exec_ext in '' $ac_executable_extensions; do
9440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9441     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9443     break 2
9444   fi
9445 done
9446   done
9447 IFS=$as_save_IFS
9448
9449 fi
9450 fi
9451 OTOOL=$ac_cv_prog_OTOOL
9452 if test -n "$OTOOL"; then
9453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9454 $as_echo "$OTOOL" >&6; }
9455 else
9456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9457 $as_echo "no" >&6; }
9458 fi
9459
9460
9461 fi
9462 if test -z "$ac_cv_prog_OTOOL"; then
9463   ac_ct_OTOOL=$OTOOL
9464   # Extract the first word of "otool", so it can be a program name with args.
9465 set dummy otool; ac_word=$2
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9467 $as_echo_n "checking for $ac_word... " >&6; }
9468 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9469   $as_echo_n "(cached) " >&6
9470 else
9471   if test -n "$ac_ct_OTOOL"; then
9472   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9473 else
9474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9475 for as_dir in $PATH
9476 do
9477   IFS=$as_save_IFS
9478   test -z "$as_dir" && as_dir=.
9479     for ac_exec_ext in '' $ac_executable_extensions; do
9480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9481     ac_cv_prog_ac_ct_OTOOL="otool"
9482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9483     break 2
9484   fi
9485 done
9486   done
9487 IFS=$as_save_IFS
9488
9489 fi
9490 fi
9491 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9492 if test -n "$ac_ct_OTOOL"; then
9493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9494 $as_echo "$ac_ct_OTOOL" >&6; }
9495 else
9496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9497 $as_echo "no" >&6; }
9498 fi
9499
9500   if test "x$ac_ct_OTOOL" = x; then
9501     OTOOL=":"
9502   else
9503     case $cross_compiling:$ac_tool_warned in
9504 yes:)
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9507 ac_tool_warned=yes ;;
9508 esac
9509     OTOOL=$ac_ct_OTOOL
9510   fi
9511 else
9512   OTOOL="$ac_cv_prog_OTOOL"
9513 fi
9514
9515     if test -n "$ac_tool_prefix"; then
9516   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9517 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9519 $as_echo_n "checking for $ac_word... " >&6; }
9520 if ${ac_cv_prog_OTOOL64+:} false; then :
9521   $as_echo_n "(cached) " >&6
9522 else
9523   if test -n "$OTOOL64"; then
9524   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9525 else
9526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 for as_dir in $PATH
9528 do
9529   IFS=$as_save_IFS
9530   test -z "$as_dir" && as_dir=.
9531     for ac_exec_ext in '' $ac_executable_extensions; do
9532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9533     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9535     break 2
9536   fi
9537 done
9538   done
9539 IFS=$as_save_IFS
9540
9541 fi
9542 fi
9543 OTOOL64=$ac_cv_prog_OTOOL64
9544 if test -n "$OTOOL64"; then
9545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9546 $as_echo "$OTOOL64" >&6; }
9547 else
9548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9549 $as_echo "no" >&6; }
9550 fi
9551
9552
9553 fi
9554 if test -z "$ac_cv_prog_OTOOL64"; then
9555   ac_ct_OTOOL64=$OTOOL64
9556   # Extract the first word of "otool64", so it can be a program name with args.
9557 set dummy otool64; ac_word=$2
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9559 $as_echo_n "checking for $ac_word... " >&6; }
9560 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9561   $as_echo_n "(cached) " >&6
9562 else
9563   if test -n "$ac_ct_OTOOL64"; then
9564   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9565 else
9566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9567 for as_dir in $PATH
9568 do
9569   IFS=$as_save_IFS
9570   test -z "$as_dir" && as_dir=.
9571     for ac_exec_ext in '' $ac_executable_extensions; do
9572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9573     ac_cv_prog_ac_ct_OTOOL64="otool64"
9574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9575     break 2
9576   fi
9577 done
9578   done
9579 IFS=$as_save_IFS
9580
9581 fi
9582 fi
9583 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9584 if test -n "$ac_ct_OTOOL64"; then
9585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9586 $as_echo "$ac_ct_OTOOL64" >&6; }
9587 else
9588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9589 $as_echo "no" >&6; }
9590 fi
9591
9592   if test "x$ac_ct_OTOOL64" = x; then
9593     OTOOL64=":"
9594   else
9595     case $cross_compiling:$ac_tool_warned in
9596 yes:)
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9599 ac_tool_warned=yes ;;
9600 esac
9601     OTOOL64=$ac_ct_OTOOL64
9602   fi
9603 else
9604   OTOOL64="$ac_cv_prog_OTOOL64"
9605 fi
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9634 $as_echo_n "checking for -single_module linker flag... " >&6; }
9635 if ${lt_cv_apple_cc_single_mod+:} false; then :
9636   $as_echo_n "(cached) " >&6
9637 else
9638   lt_cv_apple_cc_single_mod=no
9639       if test -z "${LT_MULTI_MODULE}"; then
9640         # By default we will add the -single_module flag. You can override
9641         # by either setting the environment variable LT_MULTI_MODULE
9642         # non-empty at configure time, or by adding -multi_module to the
9643         # link flags.
9644         rm -rf libconftest.dylib*
9645         echo "int foo(void){return 1;}" > conftest.c
9646         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9647 -dynamiclib -Wl,-single_module conftest.c" >&5
9648         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9649           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9650         _lt_result=$?
9651         # If there is a non-empty error log, and "single_module"
9652         # appears in it, assume the flag caused a linker warning
9653         if test -s conftest.err && $GREP single_module conftest.err; then
9654           cat conftest.err >&5
9655         # Otherwise, if the output was created with a 0 exit code from
9656         # the compiler, it worked.
9657         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9658           lt_cv_apple_cc_single_mod=yes
9659         else
9660           cat conftest.err >&5
9661         fi
9662         rm -rf libconftest.dylib*
9663         rm -f conftest.*
9664       fi
9665 fi
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9667 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9668
9669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9670 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9671 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9672   $as_echo_n "(cached) " >&6
9673 else
9674   lt_cv_ld_exported_symbols_list=no
9675       save_LDFLAGS=$LDFLAGS
9676       echo "_main" > conftest.sym
9677       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h.  */
9680
9681 int
9682 main ()
9683 {
9684
9685   ;
9686   return 0;
9687 }
9688 _ACEOF
9689 if ac_fn_c_try_link "$LINENO"; then :
9690   lt_cv_ld_exported_symbols_list=yes
9691 else
9692   lt_cv_ld_exported_symbols_list=no
9693 fi
9694 rm -f core conftest.err conftest.$ac_objext \
9695     conftest$ac_exeext conftest.$ac_ext
9696         LDFLAGS="$save_LDFLAGS"
9697
9698 fi
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9700 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9701
9702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9703 $as_echo_n "checking for -force_load linker flag... " >&6; }
9704 if ${lt_cv_ld_force_load+:} false; then :
9705   $as_echo_n "(cached) " >&6
9706 else
9707   lt_cv_ld_force_load=no
9708       cat > conftest.c << _LT_EOF
9709 int forced_loaded() { return 2;}
9710 _LT_EOF
9711       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9712       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9713       echo "$AR cru libconftest.a conftest.o" >&5
9714       $AR cru libconftest.a conftest.o 2>&5
9715       echo "$RANLIB libconftest.a" >&5
9716       $RANLIB libconftest.a 2>&5
9717       cat > conftest.c << _LT_EOF
9718 int main() { return 0;}
9719 _LT_EOF
9720       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9721       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9722       _lt_result=$?
9723       if test -s conftest.err && $GREP force_load conftest.err; then
9724         cat conftest.err >&5
9725       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9726         lt_cv_ld_force_load=yes
9727       else
9728         cat conftest.err >&5
9729       fi
9730         rm -f conftest.err libconftest.a conftest conftest.c
9731         rm -rf conftest.dSYM
9732
9733 fi
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9735 $as_echo "$lt_cv_ld_force_load" >&6; }
9736     case $host_os in
9737     rhapsody* | darwin1.[012])
9738       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9739     darwin1.*)
9740       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9741     darwin*) # darwin 5.x on
9742       # if running on 10.5 or later, the deployment target defaults
9743       # to the OS version, if on x86, and 10.4, the deployment
9744       # target defaults to 10.4. Don't you love it?
9745       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9746         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9747           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9748         10.[012]*)
9749           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9750         10.*)
9751           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9752       esac
9753     ;;
9754   esac
9755     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9756       _lt_dar_single_mod='$single_module'
9757     fi
9758     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9759       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9760     else
9761       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9762     fi
9763     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9764       _lt_dsymutil='~$DSYMUTIL $lib || :'
9765     else
9766       _lt_dsymutil=
9767     fi
9768     ;;
9769   esac
9770
9771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9772 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9773                   inttypes.h stdint.h unistd.h
9774 do :
9775   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9776 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9777 "
9778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9779   cat >>confdefs.h <<_ACEOF
9780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9781 _ACEOF
9782
9783 fi
9784
9785 done
9786
9787
9788 for ac_header in dlfcn.h
9789 do :
9790   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9791 "
9792 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9793   cat >>confdefs.h <<_ACEOF
9794 #define HAVE_DLFCN_H 1
9795 _ACEOF
9796
9797 fi
9798
9799 done
9800
9801
9802
9803
9804
9805 # Set options
9806
9807
9808
9809         enable_dlopen=no
9810
9811
9812   enable_win32_dll=no
9813
9814
9815             # Check whether --enable-shared was given.
9816 if test "${enable_shared+set}" = set; then :
9817   enableval=$enable_shared; p=${PACKAGE-default}
9818     case $enableval in
9819     yes) enable_shared=yes ;;
9820     no) enable_shared=no ;;
9821     *)
9822       enable_shared=no
9823       # Look at the argument we got.  We use all the common list separators.
9824       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9825       for pkg in $enableval; do
9826         IFS="$lt_save_ifs"
9827         if test "X$pkg" = "X$p"; then
9828           enable_shared=yes
9829         fi
9830       done
9831       IFS="$lt_save_ifs"
9832       ;;
9833     esac
9834 else
9835   enable_shared=yes
9836 fi
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846   # Check whether --enable-static was given.
9847 if test "${enable_static+set}" = set; then :
9848   enableval=$enable_static; p=${PACKAGE-default}
9849     case $enableval in
9850     yes) enable_static=yes ;;
9851     no) enable_static=no ;;
9852     *)
9853      enable_static=no
9854       # Look at the argument we got.  We use all the common list separators.
9855       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9856       for pkg in $enableval; do
9857         IFS="$lt_save_ifs"
9858         if test "X$pkg" = "X$p"; then
9859           enable_static=yes
9860         fi
9861       done
9862       IFS="$lt_save_ifs"
9863       ;;
9864     esac
9865 else
9866   enable_static=yes
9867 fi
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878 # Check whether --with-pic was given.
9879 if test "${with_pic+set}" = set; then :
9880   withval=$with_pic; lt_p=${PACKAGE-default}
9881     case $withval in
9882     yes|no) pic_mode=$withval ;;
9883     *)
9884       pic_mode=default
9885       # Look at the argument we got.  We use all the common list separators.
9886       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9887       for lt_pkg in $withval; do
9888         IFS="$lt_save_ifs"
9889         if test "X$lt_pkg" = "X$lt_p"; then
9890           pic_mode=yes
9891         fi
9892       done
9893       IFS="$lt_save_ifs"
9894       ;;
9895     esac
9896 else
9897   pic_mode=default
9898 fi
9899
9900
9901 test -z "$pic_mode" && pic_mode=default
9902
9903
9904
9905
9906
9907
9908
9909   # Check whether --enable-fast-install was given.
9910 if test "${enable_fast_install+set}" = set; then :
9911   enableval=$enable_fast_install; p=${PACKAGE-default}
9912     case $enableval in
9913     yes) enable_fast_install=yes ;;
9914     no) enable_fast_install=no ;;
9915     *)
9916       enable_fast_install=no
9917       # Look at the argument we got.  We use all the common list separators.
9918       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9919       for pkg in $enableval; do
9920         IFS="$lt_save_ifs"
9921         if test "X$pkg" = "X$p"; then
9922           enable_fast_install=yes
9923         fi
9924       done
9925       IFS="$lt_save_ifs"
9926       ;;
9927     esac
9928 else
9929   enable_fast_install=yes
9930 fi
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942 # This can be used to rebuild libtool when needed
9943 LIBTOOL_DEPS="$ltmain"
9944
9945 # Always use our own libtool.
9946 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977 test -z "$LN_S" && LN_S="ln -s"
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992 if test -n "${ZSH_VERSION+set}" ; then
9993    setopt NO_GLOB_SUBST
9994 fi
9995
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9997 $as_echo_n "checking for objdir... " >&6; }
9998 if ${lt_cv_objdir+:} false; then :
9999   $as_echo_n "(cached) " >&6
10000 else
10001   rm -f .libs 2>/dev/null
10002 mkdir .libs 2>/dev/null
10003 if test -d .libs; then
10004   lt_cv_objdir=.libs
10005 else
10006   # MS-DOS does not allow filenames that begin with a dot.
10007   lt_cv_objdir=_libs
10008 fi
10009 rmdir .libs 2>/dev/null
10010 fi
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10012 $as_echo "$lt_cv_objdir" >&6; }
10013 objdir=$lt_cv_objdir
10014
10015
10016
10017
10018
10019 cat >>confdefs.h <<_ACEOF
10020 #define LT_OBJDIR "$lt_cv_objdir/"
10021 _ACEOF
10022
10023
10024
10025
10026 case $host_os in
10027 aix3*)
10028   # AIX sometimes has problems with the GCC collect2 program.  For some
10029   # reason, if we set the COLLECT_NAMES environment variable, the problems
10030   # vanish in a puff of smoke.
10031   if test "X${COLLECT_NAMES+set}" != Xset; then
10032     COLLECT_NAMES=
10033     export COLLECT_NAMES
10034   fi
10035   ;;
10036 esac
10037
10038 # Global variables:
10039 ofile=libtool
10040 can_build_shared=yes
10041
10042 # All known linkers require a `.a' archive for static linking (except MSVC,
10043 # which needs '.lib').
10044 libext=a
10045
10046 with_gnu_ld="$lt_cv_prog_gnu_ld"
10047
10048 old_CC="$CC"
10049 old_CFLAGS="$CFLAGS"
10050
10051 # Set sane defaults for various variables
10052 test -z "$CC" && CC=cc
10053 test -z "$LTCC" && LTCC=$CC
10054 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10055 test -z "$LD" && LD=ld
10056 test -z "$ac_objext" && ac_objext=o
10057
10058 for cc_temp in $compiler""; do
10059   case $cc_temp in
10060     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10061     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10062     \-*) ;;
10063     *) break;;
10064   esac
10065 done
10066 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10067
10068
10069 # Only perform the check for file, if the check method requires it
10070 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10071 case $deplibs_check_method in
10072 file_magic*)
10073   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10075 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10076 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10077   $as_echo_n "(cached) " >&6
10078 else
10079   case $MAGIC_CMD in
10080 [\\/*] |  ?:[\\/]*)
10081   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10082   ;;
10083 *)
10084   lt_save_MAGIC_CMD="$MAGIC_CMD"
10085   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10086   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10087   for ac_dir in $ac_dummy; do
10088     IFS="$lt_save_ifs"
10089     test -z "$ac_dir" && ac_dir=.
10090     if test -f $ac_dir/${ac_tool_prefix}file; then
10091       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10092       if test -n "$file_magic_test_file"; then
10093         case $deplibs_check_method in
10094         "file_magic "*)
10095           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10096           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10097           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10098             $EGREP "$file_magic_regex" > /dev/null; then
10099             :
10100           else
10101             cat <<_LT_EOF 1>&2
10102
10103 *** Warning: the command libtool uses to detect shared libraries,
10104 *** $file_magic_cmd, produces output that libtool cannot recognize.
10105 *** The result is that libtool may fail to recognize shared libraries
10106 *** as such.  This will affect the creation of libtool libraries that
10107 *** depend on shared libraries, but programs linked with such libtool
10108 *** libraries will work regardless of this problem.  Nevertheless, you
10109 *** may want to report the problem to your system manager and/or to
10110 *** bug-libtool@gnu.org
10111
10112 _LT_EOF
10113           fi ;;
10114         esac
10115       fi
10116       break
10117     fi
10118   done
10119   IFS="$lt_save_ifs"
10120   MAGIC_CMD="$lt_save_MAGIC_CMD"
10121   ;;
10122 esac
10123 fi
10124
10125 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10126 if test -n "$MAGIC_CMD"; then
10127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10128 $as_echo "$MAGIC_CMD" >&6; }
10129 else
10130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10131 $as_echo "no" >&6; }
10132 fi
10133
10134
10135
10136
10137
10138 if test -z "$lt_cv_path_MAGIC_CMD"; then
10139   if test -n "$ac_tool_prefix"; then
10140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10141 $as_echo_n "checking for file... " >&6; }
10142 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10143   $as_echo_n "(cached) " >&6
10144 else
10145   case $MAGIC_CMD in
10146 [\\/*] |  ?:[\\/]*)
10147   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10148   ;;
10149 *)
10150   lt_save_MAGIC_CMD="$MAGIC_CMD"
10151   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10152   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10153   for ac_dir in $ac_dummy; do
10154     IFS="$lt_save_ifs"
10155     test -z "$ac_dir" && ac_dir=.
10156     if test -f $ac_dir/file; then
10157       lt_cv_path_MAGIC_CMD="$ac_dir/file"
10158       if test -n "$file_magic_test_file"; then
10159         case $deplibs_check_method in
10160         "file_magic "*)
10161           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10162           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10163           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10164             $EGREP "$file_magic_regex" > /dev/null; then
10165             :
10166           else
10167             cat <<_LT_EOF 1>&2
10168
10169 *** Warning: the command libtool uses to detect shared libraries,
10170 *** $file_magic_cmd, produces output that libtool cannot recognize.
10171 *** The result is that libtool may fail to recognize shared libraries
10172 *** as such.  This will affect the creation of libtool libraries that
10173 *** depend on shared libraries, but programs linked with such libtool
10174 *** libraries will work regardless of this problem.  Nevertheless, you
10175 *** may want to report the problem to your system manager and/or to
10176 *** bug-libtool@gnu.org
10177
10178 _LT_EOF
10179           fi ;;
10180         esac
10181       fi
10182       break
10183     fi
10184   done
10185   IFS="$lt_save_ifs"
10186   MAGIC_CMD="$lt_save_MAGIC_CMD"
10187   ;;
10188 esac
10189 fi
10190
10191 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10192 if test -n "$MAGIC_CMD"; then
10193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10194 $as_echo "$MAGIC_CMD" >&6; }
10195 else
10196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10197 $as_echo "no" >&6; }
10198 fi
10199
10200
10201   else
10202     MAGIC_CMD=:
10203   fi
10204 fi
10205
10206   fi
10207   ;;
10208 esac
10209
10210 # Use C for the default configuration in the libtool script
10211
10212 lt_save_CC="$CC"
10213 ac_ext=c
10214 ac_cpp='$CPP $CPPFLAGS'
10215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10218
10219
10220 # Source file extension for C test sources.
10221 ac_ext=c
10222
10223 # Object file extension for compiled C test sources.
10224 objext=o
10225 objext=$objext
10226
10227 # Code to be used in simple compile tests
10228 lt_simple_compile_test_code="int some_variable = 0;"
10229
10230 # Code to be used in simple link tests
10231 lt_simple_link_test_code='int main(){return(0);}'
10232
10233
10234
10235
10236
10237
10238
10239 # If no C compiler was specified, use CC.
10240 LTCC=${LTCC-"$CC"}
10241
10242 # If no C compiler flags were specified, use CFLAGS.
10243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10244
10245 # Allow CC to be a program name with arguments.
10246 compiler=$CC
10247
10248 # Save the default compiler, since it gets overwritten when the other
10249 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10250 compiler_DEFAULT=$CC
10251
10252 # save warnings/boilerplate of simple test code
10253 ac_outfile=conftest.$ac_objext
10254 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10255 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10256 _lt_compiler_boilerplate=`cat conftest.err`
10257 $RM conftest*
10258
10259 ac_outfile=conftest.$ac_objext
10260 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10261 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10262 _lt_linker_boilerplate=`cat conftest.err`
10263 $RM -r conftest*
10264
10265
10266 if test -n "$compiler"; then
10267
10268 lt_prog_compiler_no_builtin_flag=
10269
10270 if test "$GCC" = yes; then
10271   case $cc_basename in
10272   nvcc*)
10273     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10274   *)
10275     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10276   esac
10277
10278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10279 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10280 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10281   $as_echo_n "(cached) " >&6
10282 else
10283   lt_cv_prog_compiler_rtti_exceptions=no
10284    ac_outfile=conftest.$ac_objext
10285    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10286    lt_compiler_flag="-fno-rtti -fno-exceptions"
10287    # Insert the option either (1) after the last *FLAGS variable, or
10288    # (2) before a word containing "conftest.", or (3) at the end.
10289    # Note that $ac_compile itself does not contain backslashes and begins
10290    # with a dollar sign (not a hyphen), so the echo should work correctly.
10291    # The option is referenced via a variable to avoid confusing sed.
10292    lt_compile=`echo "$ac_compile" | $SED \
10293    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10294    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10295    -e 's:$: $lt_compiler_flag:'`
10296    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10297    (eval "$lt_compile" 2>conftest.err)
10298    ac_status=$?
10299    cat conftest.err >&5
10300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301    if (exit $ac_status) && test -s "$ac_outfile"; then
10302      # The compiler can only warn and ignore the option if not recognized
10303      # So say no if there are warnings other than the usual output.
10304      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10305      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10306      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10307        lt_cv_prog_compiler_rtti_exceptions=yes
10308      fi
10309    fi
10310    $RM conftest*
10311
10312 fi
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10314 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10315
10316 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10317     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10318 else
10319     :
10320 fi
10321
10322 fi
10323
10324
10325
10326
10327
10328
10329   lt_prog_compiler_wl=
10330 lt_prog_compiler_pic=
10331 lt_prog_compiler_static=
10332
10333
10334   if test "$GCC" = yes; then
10335     lt_prog_compiler_wl='-Wl,'
10336     lt_prog_compiler_static='-static'
10337
10338     case $host_os in
10339       aix*)
10340       # All AIX code is PIC.
10341       if test "$host_cpu" = ia64; then
10342         # AIX 5 now supports IA64 processor
10343         lt_prog_compiler_static='-Bstatic'
10344       fi
10345       ;;
10346
10347     amigaos*)
10348       case $host_cpu in
10349       powerpc)
10350             # see comment about AmigaOS4 .so support
10351             lt_prog_compiler_pic='-fPIC'
10352         ;;
10353       m68k)
10354             # FIXME: we need at least 68020 code to build shared libraries, but
10355             # adding the `-m68020' flag to GCC prevents building anything better,
10356             # like `-m68040'.
10357             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10358         ;;
10359       esac
10360       ;;
10361
10362     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10363       # PIC is the default for these OSes.
10364       ;;
10365
10366     mingw* | cygwin* | pw32* | os2* | cegcc*)
10367       # This hack is so that the source file can tell whether it is being
10368       # built for inclusion in a dll (and should export symbols for example).
10369       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10370       # (--disable-auto-import) libraries
10371       lt_prog_compiler_pic='-DDLL_EXPORT'
10372       ;;
10373
10374     darwin* | rhapsody*)
10375       # PIC is the default on this platform
10376       # Common symbols not allowed in MH_DYLIB files
10377       lt_prog_compiler_pic='-fno-common'
10378       ;;
10379
10380     haiku*)
10381       # PIC is the default for Haiku.
10382       # The "-static" flag exists, but is broken.
10383       lt_prog_compiler_static=
10384       ;;
10385
10386     hpux*)
10387       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10388       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10389       # sets the default TLS model and affects inlining.
10390       case $host_cpu in
10391       hppa*64*)
10392         # +Z the default
10393         ;;
10394       *)
10395         lt_prog_compiler_pic='-fPIC'
10396         ;;
10397       esac
10398       ;;
10399
10400     interix[3-9]*)
10401       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10402       # Instead, we relocate shared libraries at runtime.
10403       ;;
10404
10405     msdosdjgpp*)
10406       # Just because we use GCC doesn't mean we suddenly get shared libraries
10407       # on systems that don't support them.
10408       lt_prog_compiler_can_build_shared=no
10409       enable_shared=no
10410       ;;
10411
10412     *nto* | *qnx*)
10413       # QNX uses GNU C++, but need to define -shared option too, otherwise
10414       # it will coredump.
10415       lt_prog_compiler_pic='-fPIC -shared'
10416       ;;
10417
10418     sysv4*MP*)
10419       if test -d /usr/nec; then
10420         lt_prog_compiler_pic=-Kconform_pic
10421       fi
10422       ;;
10423
10424     *)
10425       lt_prog_compiler_pic='-fPIC'
10426       ;;
10427     esac
10428
10429     case $cc_basename in
10430     nvcc*) # Cuda Compiler Driver 2.2
10431       lt_prog_compiler_wl='-Xlinker '
10432       if test -n "$lt_prog_compiler_pic"; then
10433         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10434       fi
10435       ;;
10436     esac
10437   else
10438     # PORTME Check for flag to pass linker flags through the system compiler.
10439     case $host_os in
10440     aix*)
10441       lt_prog_compiler_wl='-Wl,'
10442       if test "$host_cpu" = ia64; then
10443         # AIX 5 now supports IA64 processor
10444         lt_prog_compiler_static='-Bstatic'
10445       else
10446         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10447       fi
10448       ;;
10449
10450     mingw* | cygwin* | pw32* | os2* | cegcc*)
10451       # This hack is so that the source file can tell whether it is being
10452       # built for inclusion in a dll (and should export symbols for example).
10453       lt_prog_compiler_pic='-DDLL_EXPORT'
10454       ;;
10455
10456     hpux9* | hpux10* | hpux11*)
10457       lt_prog_compiler_wl='-Wl,'
10458       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10459       # not for PA HP-UX.
10460       case $host_cpu in
10461       hppa*64*|ia64*)
10462         # +Z the default
10463         ;;
10464       *)
10465         lt_prog_compiler_pic='+Z'
10466         ;;
10467       esac
10468       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10469       lt_prog_compiler_static='${wl}-a ${wl}archive'
10470       ;;
10471
10472     irix5* | irix6* | nonstopux*)
10473       lt_prog_compiler_wl='-Wl,'
10474       # PIC (with -KPIC) is the default.
10475       lt_prog_compiler_static='-non_shared'
10476       ;;
10477
10478     linux* | k*bsd*-gnu | kopensolaris*-gnu)
10479       case $cc_basename in
10480       # old Intel for x86_64 which still supported -KPIC.
10481       ecc*)
10482         lt_prog_compiler_wl='-Wl,'
10483         lt_prog_compiler_pic='-KPIC'
10484         lt_prog_compiler_static='-static'
10485         ;;
10486       # icc used to be incompatible with GCC.
10487       # ICC 10 doesn't accept -KPIC any more.
10488       icc* | ifort*)
10489         lt_prog_compiler_wl='-Wl,'
10490         lt_prog_compiler_pic='-fPIC'
10491         lt_prog_compiler_static='-static'
10492         ;;
10493       # Lahey Fortran 8.1.
10494       lf95*)
10495         lt_prog_compiler_wl='-Wl,'
10496         lt_prog_compiler_pic='--shared'
10497         lt_prog_compiler_static='--static'
10498         ;;
10499       nagfor*)
10500         # NAG Fortran compiler
10501         lt_prog_compiler_wl='-Wl,-Wl,,'
10502         lt_prog_compiler_pic='-PIC'
10503         lt_prog_compiler_static='-Bstatic'
10504         ;;
10505       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10506         # Portland Group compilers (*not* the Pentium gcc compiler,
10507         # which looks to be a dead project)
10508         lt_prog_compiler_wl='-Wl,'
10509         lt_prog_compiler_pic='-fpic'
10510         lt_prog_compiler_static='-Bstatic'
10511         ;;
10512       ccc*)
10513         lt_prog_compiler_wl='-Wl,'
10514         # All Alpha code is PIC.
10515         lt_prog_compiler_static='-non_shared'
10516         ;;
10517       xl* | bgxl* | bgf* | mpixl*)
10518         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10519         lt_prog_compiler_wl='-Wl,'
10520         lt_prog_compiler_pic='-qpic'
10521         lt_prog_compiler_static='-qstaticlink'
10522         ;;
10523       *)
10524         case `$CC -V 2>&1 | sed 5q` in
10525         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10526           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10527           lt_prog_compiler_pic='-KPIC'
10528           lt_prog_compiler_static='-Bstatic'
10529           lt_prog_compiler_wl=''
10530           ;;
10531         *Sun\ F* | *Sun*Fortran*)
10532           lt_prog_compiler_pic='-KPIC'
10533           lt_prog_compiler_static='-Bstatic'
10534           lt_prog_compiler_wl='-Qoption ld '
10535           ;;
10536         *Sun\ C*)
10537           # Sun C 5.9
10538           lt_prog_compiler_pic='-KPIC'
10539           lt_prog_compiler_static='-Bstatic'
10540           lt_prog_compiler_wl='-Wl,'
10541           ;;
10542         *Intel*\ [CF]*Compiler*)
10543           lt_prog_compiler_wl='-Wl,'
10544           lt_prog_compiler_pic='-fPIC'
10545           lt_prog_compiler_static='-static'
10546           ;;
10547         *Portland\ Group*)
10548           lt_prog_compiler_wl='-Wl,'
10549           lt_prog_compiler_pic='-fpic'
10550           lt_prog_compiler_static='-Bstatic'
10551           ;;
10552         esac
10553         ;;
10554       esac
10555       ;;
10556
10557     newsos6)
10558       lt_prog_compiler_pic='-KPIC'
10559       lt_prog_compiler_static='-Bstatic'
10560       ;;
10561
10562     *nto* | *qnx*)
10563       # QNX uses GNU C++, but need to define -shared option too, otherwise
10564       # it will coredump.
10565       lt_prog_compiler_pic='-fPIC -shared'
10566       ;;
10567
10568     osf3* | osf4* | osf5*)
10569       lt_prog_compiler_wl='-Wl,'
10570       # All OSF/1 code is PIC.
10571       lt_prog_compiler_static='-non_shared'
10572       ;;
10573
10574     rdos*)
10575       lt_prog_compiler_static='-non_shared'
10576       ;;
10577
10578     solaris*)
10579       lt_prog_compiler_pic='-KPIC'
10580       lt_prog_compiler_static='-Bstatic'
10581       case $cc_basename in
10582       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10583         lt_prog_compiler_wl='-Qoption ld ';;
10584       *)
10585         lt_prog_compiler_wl='-Wl,';;
10586       esac
10587       ;;
10588
10589     sunos4*)
10590       lt_prog_compiler_wl='-Qoption ld '
10591       lt_prog_compiler_pic='-PIC'
10592       lt_prog_compiler_static='-Bstatic'
10593       ;;
10594
10595     sysv4 | sysv4.2uw2* | sysv4.3*)
10596       lt_prog_compiler_wl='-Wl,'
10597       lt_prog_compiler_pic='-KPIC'
10598       lt_prog_compiler_static='-Bstatic'
10599       ;;
10600
10601     sysv4*MP*)
10602       if test -d /usr/nec ;then
10603         lt_prog_compiler_pic='-Kconform_pic'
10604         lt_prog_compiler_static='-Bstatic'
10605       fi
10606       ;;
10607
10608     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10609       lt_prog_compiler_wl='-Wl,'
10610       lt_prog_compiler_pic='-KPIC'
10611       lt_prog_compiler_static='-Bstatic'
10612       ;;
10613
10614     unicos*)
10615       lt_prog_compiler_wl='-Wl,'
10616       lt_prog_compiler_can_build_shared=no
10617       ;;
10618
10619     uts4*)
10620       lt_prog_compiler_pic='-pic'
10621       lt_prog_compiler_static='-Bstatic'
10622       ;;
10623
10624     *)
10625       lt_prog_compiler_can_build_shared=no
10626       ;;
10627     esac
10628   fi
10629
10630 case $host_os in
10631   # For platforms which do not support PIC, -DPIC is meaningless:
10632   *djgpp*)
10633     lt_prog_compiler_pic=
10634     ;;
10635   *)
10636     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10637     ;;
10638 esac
10639
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10641 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10642 if ${lt_cv_prog_compiler_pic+:} false; then :
10643   $as_echo_n "(cached) " >&6
10644 else
10645   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10646 fi
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10648 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10649 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10650
10651 #
10652 # Check to make sure the PIC flag actually works.
10653 #
10654 if test -n "$lt_prog_compiler_pic"; then
10655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10656 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10657 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10658   $as_echo_n "(cached) " >&6
10659 else
10660   lt_cv_prog_compiler_pic_works=no
10661    ac_outfile=conftest.$ac_objext
10662    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10663    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10664    # Insert the option either (1) after the last *FLAGS variable, or
10665    # (2) before a word containing "conftest.", or (3) at the end.
10666    # Note that $ac_compile itself does not contain backslashes and begins
10667    # with a dollar sign (not a hyphen), so the echo should work correctly.
10668    # The option is referenced via a variable to avoid confusing sed.
10669    lt_compile=`echo "$ac_compile" | $SED \
10670    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10671    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10672    -e 's:$: $lt_compiler_flag:'`
10673    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10674    (eval "$lt_compile" 2>conftest.err)
10675    ac_status=$?
10676    cat conftest.err >&5
10677    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678    if (exit $ac_status) && test -s "$ac_outfile"; then
10679      # The compiler can only warn and ignore the option if not recognized
10680      # So say no if there are warnings other than the usual output.
10681      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10682      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10683      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10684        lt_cv_prog_compiler_pic_works=yes
10685      fi
10686    fi
10687    $RM conftest*
10688
10689 fi
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10691 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10692
10693 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10694     case $lt_prog_compiler_pic in
10695      "" | " "*) ;;
10696      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10697      esac
10698 else
10699     lt_prog_compiler_pic=
10700      lt_prog_compiler_can_build_shared=no
10701 fi
10702
10703 fi
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715 #
10716 # Check to make sure the static flag actually works.
10717 #
10718 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10720 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10721 if ${lt_cv_prog_compiler_static_works+:} false; then :
10722   $as_echo_n "(cached) " >&6
10723 else
10724   lt_cv_prog_compiler_static_works=no
10725    save_LDFLAGS="$LDFLAGS"
10726    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10727    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10728    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10729      # The linker can only warn and ignore the option if not recognized
10730      # So say no if there are warnings
10731      if test -s conftest.err; then
10732        # Append any errors to the config.log.
10733        cat conftest.err 1>&5
10734        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10735        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10736        if diff conftest.exp conftest.er2 >/dev/null; then
10737          lt_cv_prog_compiler_static_works=yes
10738        fi
10739      else
10740        lt_cv_prog_compiler_static_works=yes
10741      fi
10742    fi
10743    $RM -r conftest*
10744    LDFLAGS="$save_LDFLAGS"
10745
10746 fi
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10748 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10749
10750 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10751     :
10752 else
10753     lt_prog_compiler_static=
10754 fi
10755
10756
10757
10758
10759
10760
10761
10762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10764 if ${lt_cv_prog_compiler_c_o+:} false; then :
10765   $as_echo_n "(cached) " >&6
10766 else
10767   lt_cv_prog_compiler_c_o=no
10768    $RM -r conftest 2>/dev/null
10769    mkdir conftest
10770    cd conftest
10771    mkdir out
10772    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10773
10774    lt_compiler_flag="-o out/conftest2.$ac_objext"
10775    # Insert the option either (1) after the last *FLAGS variable, or
10776    # (2) before a word containing "conftest.", or (3) at the end.
10777    # Note that $ac_compile itself does not contain backslashes and begins
10778    # with a dollar sign (not a hyphen), so the echo should work correctly.
10779    lt_compile=`echo "$ac_compile" | $SED \
10780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10782    -e 's:$: $lt_compiler_flag:'`
10783    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10784    (eval "$lt_compile" 2>out/conftest.err)
10785    ac_status=$?
10786    cat out/conftest.err >&5
10787    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10789    then
10790      # The compiler can only warn and ignore the option if not recognized
10791      # So say no if there are warnings
10792      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10793      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10794      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10795        lt_cv_prog_compiler_c_o=yes
10796      fi
10797    fi
10798    chmod u+w . 2>&5
10799    $RM conftest*
10800    # SGI C++ compiler will create directory out/ii_files/ for
10801    # template instantiation
10802    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10803    $RM out/* && rmdir out
10804    cd ..
10805    $RM -r conftest
10806    $RM conftest*
10807
10808 fi
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10810 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10811
10812
10813
10814
10815
10816
10817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10818 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10819 if ${lt_cv_prog_compiler_c_o+:} false; then :
10820   $as_echo_n "(cached) " >&6
10821 else
10822   lt_cv_prog_compiler_c_o=no
10823    $RM -r conftest 2>/dev/null
10824    mkdir conftest
10825    cd conftest
10826    mkdir out
10827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10828
10829    lt_compiler_flag="-o out/conftest2.$ac_objext"
10830    # Insert the option either (1) after the last *FLAGS variable, or
10831    # (2) before a word containing "conftest.", or (3) at the end.
10832    # Note that $ac_compile itself does not contain backslashes and begins
10833    # with a dollar sign (not a hyphen), so the echo should work correctly.
10834    lt_compile=`echo "$ac_compile" | $SED \
10835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10837    -e 's:$: $lt_compiler_flag:'`
10838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10839    (eval "$lt_compile" 2>out/conftest.err)
10840    ac_status=$?
10841    cat out/conftest.err >&5
10842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10844    then
10845      # The compiler can only warn and ignore the option if not recognized
10846      # So say no if there are warnings
10847      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10848      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10849      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10850        lt_cv_prog_compiler_c_o=yes
10851      fi
10852    fi
10853    chmod u+w . 2>&5
10854    $RM conftest*
10855    # SGI C++ compiler will create directory out/ii_files/ for
10856    # template instantiation
10857    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10858    $RM out/* && rmdir out
10859    cd ..
10860    $RM -r conftest
10861    $RM conftest*
10862
10863 fi
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10865 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10866
10867
10868
10869
10870 hard_links="nottested"
10871 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10872   # do not overwrite the value of need_locks provided by the user
10873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10874 $as_echo_n "checking if we can lock with hard links... " >&6; }
10875   hard_links=yes
10876   $RM conftest*
10877   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10878   touch conftest.a
10879   ln conftest.a conftest.b 2>&5 || hard_links=no
10880   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10882 $as_echo "$hard_links" >&6; }
10883   if test "$hard_links" = no; then
10884     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10885 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10886     need_locks=warn
10887   fi
10888 else
10889   need_locks=no
10890 fi
10891
10892
10893
10894
10895
10896
10897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10898 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10899
10900   runpath_var=
10901   allow_undefined_flag=
10902   always_export_symbols=no
10903   archive_cmds=
10904   archive_expsym_cmds=
10905   compiler_needs_object=no
10906   enable_shared_with_static_runtimes=no
10907   export_dynamic_flag_spec=
10908   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10909   hardcode_automatic=no
10910   hardcode_direct=no
10911   hardcode_direct_absolute=no
10912   hardcode_libdir_flag_spec=
10913   hardcode_libdir_separator=
10914   hardcode_minus_L=no
10915   hardcode_shlibpath_var=unsupported
10916   inherit_rpath=no
10917   link_all_deplibs=unknown
10918   module_cmds=
10919   module_expsym_cmds=
10920   old_archive_from_new_cmds=
10921   old_archive_from_expsyms_cmds=
10922   thread_safe_flag_spec=
10923   whole_archive_flag_spec=
10924   # include_expsyms should be a list of space-separated symbols to be *always*
10925   # included in the symbol list
10926   include_expsyms=
10927   # exclude_expsyms can be an extended regexp of symbols to exclude
10928   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10929   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10930   # as well as any symbol that contains `d'.
10931   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10932   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10933   # platforms (ab)use it in PIC code, but their linkers get confused if
10934   # the symbol is explicitly referenced.  Since portable code cannot
10935   # rely on this symbol name, it's probably fine to never include it in
10936   # preloaded symbol tables.
10937   # Exclude shared library initialization/finalization symbols.
10938   extract_expsyms_cmds=
10939
10940   case $host_os in
10941   cygwin* | mingw* | pw32* | cegcc*)
10942     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10943     # When not using gcc, we currently assume that we are using
10944     # Microsoft Visual C++.
10945     if test "$GCC" != yes; then
10946       with_gnu_ld=no
10947     fi
10948     ;;
10949   interix*)
10950     # we just hope/assume this is gcc and not c89 (= MSVC++)
10951     with_gnu_ld=yes
10952     ;;
10953   openbsd*)
10954     with_gnu_ld=no
10955     ;;
10956   linux* | k*bsd*-gnu | gnu*)
10957     link_all_deplibs=no
10958     ;;
10959   esac
10960
10961   ld_shlibs=yes
10962
10963   # On some targets, GNU ld is compatible enough with the native linker
10964   # that we're better off using the native interface for both.
10965   lt_use_gnu_ld_interface=no
10966   if test "$with_gnu_ld" = yes; then
10967     case $host_os in
10968       aix*)
10969         # The AIX port of GNU ld has always aspired to compatibility
10970         # with the native linker.  However, as the warning in the GNU ld
10971         # block says, versions before 2.19.5* couldn't really create working
10972         # shared libraries, regardless of the interface used.
10973         case `$LD -v 2>&1` in
10974           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10975           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10976           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10977           *)
10978             lt_use_gnu_ld_interface=yes
10979             ;;
10980         esac
10981         ;;
10982       *)
10983         lt_use_gnu_ld_interface=yes
10984         ;;
10985     esac
10986   fi
10987
10988   if test "$lt_use_gnu_ld_interface" = yes; then
10989     # If archive_cmds runs LD, not CC, wlarc should be empty
10990     wlarc='${wl}'
10991
10992     # Set some defaults for GNU ld with shared library support. These
10993     # are reset later if shared libraries are not supported. Putting them
10994     # here allows them to be overridden if necessary.
10995     runpath_var=LD_RUN_PATH
10996     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10997     export_dynamic_flag_spec='${wl}--export-dynamic'
10998     # ancient GNU ld didn't support --whole-archive et. al.
10999     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11000       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11001     else
11002       whole_archive_flag_spec=
11003     fi
11004     supports_anon_versioning=no
11005     case `$LD -v 2>&1` in
11006       *GNU\ gold*) supports_anon_versioning=yes ;;
11007       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11008       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11009       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11010       *\ 2.11.*) ;; # other 2.11 versions
11011       *) supports_anon_versioning=yes ;;
11012     esac
11013
11014     # See if GNU ld supports shared libraries.
11015     case $host_os in
11016     aix[3-9]*)
11017       # On AIX/PPC, the GNU linker is very broken
11018       if test "$host_cpu" != ia64; then
11019         ld_shlibs=no
11020         cat <<_LT_EOF 1>&2
11021
11022 *** Warning: the GNU linker, at least up to release 2.19, is reported
11023 *** to be unable to reliably create shared libraries on AIX.
11024 *** Therefore, libtool is disabling shared libraries support.  If you
11025 *** really care for shared libraries, you may want to install binutils
11026 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11027 *** You will then need to restart the configuration process.
11028
11029 _LT_EOF
11030       fi
11031       ;;
11032
11033     amigaos*)
11034       case $host_cpu in
11035       powerpc)
11036             # see comment about AmigaOS4 .so support
11037             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11038             archive_expsym_cmds=''
11039         ;;
11040       m68k)
11041             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)'
11042             hardcode_libdir_flag_spec='-L$libdir'
11043             hardcode_minus_L=yes
11044         ;;
11045       esac
11046       ;;
11047
11048     beos*)
11049       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11050         allow_undefined_flag=unsupported
11051         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11052         # support --undefined.  This deserves some investigation.  FIXME
11053         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11054       else
11055         ld_shlibs=no
11056       fi
11057       ;;
11058
11059     cygwin* | mingw* | pw32* | cegcc*)
11060       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11061       # as there is no search path for DLLs.
11062       hardcode_libdir_flag_spec='-L$libdir'
11063       export_dynamic_flag_spec='${wl}--export-all-symbols'
11064       allow_undefined_flag=unsupported
11065       always_export_symbols=no
11066       enable_shared_with_static_runtimes=yes
11067       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'
11068       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11069
11070       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11071         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11072         # If the export-symbols file already is a .def file (1st line
11073         # is EXPORTS), use it as is; otherwise, prepend...
11074         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11075           cp $export_symbols $output_objdir/$soname.def;
11076         else
11077           echo EXPORTS > $output_objdir/$soname.def;
11078           cat $export_symbols >> $output_objdir/$soname.def;
11079         fi~
11080         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11081       else
11082         ld_shlibs=no
11083       fi
11084       ;;
11085
11086     haiku*)
11087       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11088       link_all_deplibs=yes
11089       ;;
11090
11091     interix[3-9]*)
11092       hardcode_direct=no
11093       hardcode_shlibpath_var=no
11094       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11095       export_dynamic_flag_spec='${wl}-E'
11096       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11097       # Instead, shared libraries are loaded at an image base (0x10000000 by
11098       # default) and relocated if they conflict, which is a slow very memory
11099       # consuming and fragmenting process.  To avoid this, we pick a random,
11100       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11101       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11102       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11103       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'
11104       ;;
11105
11106     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11107       tmp_diet=no
11108       if test "$host_os" = linux-dietlibc; then
11109         case $cc_basename in
11110           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11111         esac
11112       fi
11113       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11114          && test "$tmp_diet" = no
11115       then
11116         tmp_addflag=' $pic_flag'
11117         tmp_sharedflag='-shared'
11118         case $cc_basename,$host_cpu in
11119         pgcc*)                          # Portland Group C compiler
11120           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'
11121           tmp_addflag=' $pic_flag'
11122           ;;
11123         pgf77* | pgf90* | pgf95* | pgfortran*)
11124                                         # Portland Group f77 and f90 compilers
11125           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'
11126           tmp_addflag=' $pic_flag -Mnomain' ;;
11127         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11128           tmp_addflag=' -i_dynamic' ;;
11129         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11130           tmp_addflag=' -i_dynamic -nofor_main' ;;
11131         ifc* | ifort*)                  # Intel Fortran compiler
11132           tmp_addflag=' -nofor_main' ;;
11133         lf95*)                          # Lahey Fortran 8.1
11134           whole_archive_flag_spec=
11135           tmp_sharedflag='--shared' ;;
11136         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11137           tmp_sharedflag='-qmkshrobj'
11138           tmp_addflag= ;;
11139         nvcc*)  # Cuda Compiler Driver 2.2
11140           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'
11141           compiler_needs_object=yes
11142           ;;
11143         esac
11144         case `$CC -V 2>&1 | sed 5q` in
11145         *Sun\ C*)                       # Sun C 5.9
11146           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'
11147           compiler_needs_object=yes
11148           tmp_sharedflag='-G' ;;
11149         *Sun\ F*)                       # Sun Fortran 8.3
11150           tmp_sharedflag='-G' ;;
11151         esac
11152         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11153
11154         if test "x$supports_anon_versioning" = xyes; then
11155           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11156             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11157             echo "local: *; };" >> $output_objdir/$libname.ver~
11158             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11159         fi
11160
11161         case $cc_basename in
11162         xlf* | bgf* | bgxlf* | mpixlf*)
11163           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11164           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11165           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11166           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11167           if test "x$supports_anon_versioning" = xyes; then
11168             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11169               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11170               echo "local: *; };" >> $output_objdir/$libname.ver~
11171               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11172           fi
11173           ;;
11174         esac
11175       else
11176         ld_shlibs=no
11177       fi
11178       ;;
11179
11180     netbsd* | netbsdelf*-gnu)
11181       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11182         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11183         wlarc=
11184       else
11185         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11186         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11187       fi
11188       ;;
11189
11190     solaris*)
11191       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11192         ld_shlibs=no
11193         cat <<_LT_EOF 1>&2
11194
11195 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11196 *** create shared libraries on Solaris systems.  Therefore, libtool
11197 *** is disabling shared libraries support.  We urge you to upgrade GNU
11198 *** binutils to release 2.9.1 or newer.  Another option is to modify
11199 *** your PATH or compiler configuration so that the native linker is
11200 *** used, and then restart.
11201
11202 _LT_EOF
11203       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11204         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11205         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11206       else
11207         ld_shlibs=no
11208       fi
11209       ;;
11210
11211     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11212       case `$LD -v 2>&1` in
11213         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11214         ld_shlibs=no
11215         cat <<_LT_EOF 1>&2
11216
11217 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11218 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11219 *** is disabling shared libraries support.  We urge you to upgrade GNU
11220 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11221 *** your PATH or compiler configuration so that the native linker is
11222 *** used, and then restart.
11223
11224 _LT_EOF
11225         ;;
11226         *)
11227           # For security reasons, it is highly recommended that you always
11228           # use absolute paths for naming shared libraries, and exclude the
11229           # DT_RUNPATH tag from executables and libraries.  But doing so
11230           # requires that you compile everything twice, which is a pain.
11231           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11232             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11233             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11234             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11235           else
11236             ld_shlibs=no
11237           fi
11238         ;;
11239       esac
11240       ;;
11241
11242     sunos4*)
11243       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11244       wlarc=
11245       hardcode_direct=yes
11246       hardcode_shlibpath_var=no
11247       ;;
11248
11249     *)
11250       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11251         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11252         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11253       else
11254         ld_shlibs=no
11255       fi
11256       ;;
11257     esac
11258
11259     if test "$ld_shlibs" = no; then
11260       runpath_var=
11261       hardcode_libdir_flag_spec=
11262       export_dynamic_flag_spec=
11263       whole_archive_flag_spec=
11264     fi
11265   else
11266     # PORTME fill in a description of your system's linker (not GNU ld)
11267     case $host_os in
11268     aix3*)
11269       allow_undefined_flag=unsupported
11270       always_export_symbols=yes
11271       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'
11272       # Note: this linker hardcodes the directories in LIBPATH if there
11273       # are no directories specified by -L.
11274       hardcode_minus_L=yes
11275       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11276         # Neither direct hardcoding nor static linking is supported with a
11277         # broken collect2.
11278         hardcode_direct=unsupported
11279       fi
11280       ;;
11281
11282     aix[4-9]*)
11283       if test "$host_cpu" = ia64; then
11284         # On IA64, the linker does run time linking by default, so we don't
11285         # have to do anything special.
11286         aix_use_runtimelinking=no
11287         exp_sym_flag='-Bexport'
11288         no_entry_flag=""
11289       else
11290         # If we're using GNU nm, then we don't want the "-C" option.
11291         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11292         # Also, AIX nm treats weak defined symbols like other global
11293         # defined symbols, whereas GNU nm marks them as "W".
11294         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11295           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'
11296         else
11297           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'
11298         fi
11299         aix_use_runtimelinking=no
11300
11301         # Test if we are trying to use run time linking or normal
11302         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11303         # need to do runtime linking.
11304         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11305           for ld_flag in $LDFLAGS; do
11306           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11307             aix_use_runtimelinking=yes
11308             break
11309           fi
11310           done
11311           ;;
11312         esac
11313
11314         exp_sym_flag='-bexport'
11315         no_entry_flag='-bnoentry'
11316       fi
11317
11318       # When large executables or shared objects are built, AIX ld can
11319       # have problems creating the table of contents.  If linking a library
11320       # or program results in "error TOC overflow" add -mminimal-toc to
11321       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11322       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11323
11324       archive_cmds=''
11325       hardcode_direct=yes
11326       hardcode_direct_absolute=yes
11327       hardcode_libdir_separator=':'
11328       link_all_deplibs=yes
11329       file_list_spec='${wl}-f,'
11330
11331       if test "$GCC" = yes; then
11332         case $host_os in aix4.[012]|aix4.[012].*)
11333         # We only want to do this on AIX 4.2 and lower, the check
11334         # below for broken collect2 doesn't work under 4.3+
11335           collect2name=`${CC} -print-prog-name=collect2`
11336           if test -f "$collect2name" &&
11337            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11338           then
11339           # We have reworked collect2
11340           :
11341           else
11342           # We have old collect2
11343           hardcode_direct=unsupported
11344           # It fails to find uninstalled libraries when the uninstalled
11345           # path is not listed in the libpath.  Setting hardcode_minus_L
11346           # to unsupported forces relinking
11347           hardcode_minus_L=yes
11348           hardcode_libdir_flag_spec='-L$libdir'
11349           hardcode_libdir_separator=
11350           fi
11351           ;;
11352         esac
11353         shared_flag='-shared'
11354         if test "$aix_use_runtimelinking" = yes; then
11355           shared_flag="$shared_flag "'${wl}-G'
11356         fi
11357         link_all_deplibs=no
11358       else
11359         # not using gcc
11360         if test "$host_cpu" = ia64; then
11361         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11362         # chokes on -Wl,-G. The following line is correct:
11363           shared_flag='-G'
11364         else
11365           if test "$aix_use_runtimelinking" = yes; then
11366             shared_flag='${wl}-G'
11367           else
11368             shared_flag='${wl}-bM:SRE'
11369           fi
11370         fi
11371       fi
11372
11373       export_dynamic_flag_spec='${wl}-bexpall'
11374       # It seems that -bexpall does not export symbols beginning with
11375       # underscore (_), so it is better to generate a list of symbols to export.
11376       always_export_symbols=yes
11377       if test "$aix_use_runtimelinking" = yes; then
11378         # Warning - without using the other runtime loading flags (-brtl),
11379         # -berok will link without error, but may produce a broken library.
11380         allow_undefined_flag='-berok'
11381         # Determine the default libpath from the value encoded in an
11382         # empty executable.
11383         if test "${lt_cv_aix_libpath+set}" = set; then
11384   aix_libpath=$lt_cv_aix_libpath
11385 else
11386   if ${lt_cv_aix_libpath_+:} false; then :
11387   $as_echo_n "(cached) " >&6
11388 else
11389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h.  */
11391
11392 int
11393 main ()
11394 {
11395
11396   ;
11397   return 0;
11398 }
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401
11402   lt_aix_libpath_sed='
11403       /Import File Strings/,/^$/ {
11404           /^0/ {
11405               s/^0  *\([^ ]*\) *$/\1/
11406               p
11407           }
11408       }'
11409   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11410   # Check for a 64-bit object if we didn't find anything.
11411   if test -z "$lt_cv_aix_libpath_"; then
11412     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11413   fi
11414 fi
11415 rm -f core conftest.err conftest.$ac_objext \
11416     conftest$ac_exeext conftest.$ac_ext
11417   if test -z "$lt_cv_aix_libpath_"; then
11418     lt_cv_aix_libpath_="/usr/lib:/lib"
11419   fi
11420
11421 fi
11422
11423   aix_libpath=$lt_cv_aix_libpath_
11424 fi
11425
11426         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11427         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"
11428       else
11429         if test "$host_cpu" = ia64; then
11430           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11431           allow_undefined_flag="-z nodefs"
11432           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"
11433         else
11434          # Determine the default libpath from the value encoded in an
11435          # empty executable.
11436          if test "${lt_cv_aix_libpath+set}" = set; then
11437   aix_libpath=$lt_cv_aix_libpath
11438 else
11439   if ${lt_cv_aix_libpath_+:} false; then :
11440   $as_echo_n "(cached) " >&6
11441 else
11442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h.  */
11444
11445 int
11446 main ()
11447 {
11448
11449   ;
11450   return 0;
11451 }
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454
11455   lt_aix_libpath_sed='
11456       /Import File Strings/,/^$/ {
11457           /^0/ {
11458               s/^0  *\([^ ]*\) *$/\1/
11459               p
11460           }
11461       }'
11462   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11463   # Check for a 64-bit object if we didn't find anything.
11464   if test -z "$lt_cv_aix_libpath_"; then
11465     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11466   fi
11467 fi
11468 rm -f core conftest.err conftest.$ac_objext \
11469     conftest$ac_exeext conftest.$ac_ext
11470   if test -z "$lt_cv_aix_libpath_"; then
11471     lt_cv_aix_libpath_="/usr/lib:/lib"
11472   fi
11473
11474 fi
11475
11476   aix_libpath=$lt_cv_aix_libpath_
11477 fi
11478
11479          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11480           # Warning - without using the other run time loading flags,
11481           # -berok will link without error, but may produce a broken library.
11482           no_undefined_flag=' ${wl}-bernotok'
11483           allow_undefined_flag=' ${wl}-berok'
11484           if test "$with_gnu_ld" = yes; then
11485             # We only use this code for GNU lds that support --whole-archive.
11486             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11487           else
11488             # Exported symbols can be pulled into shared objects from archives
11489             whole_archive_flag_spec='$convenience'
11490           fi
11491           archive_cmds_need_lc=yes
11492           # This is similar to how AIX traditionally builds its shared libraries.
11493           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'
11494         fi
11495       fi
11496       ;;
11497
11498     amigaos*)
11499       case $host_cpu in
11500       powerpc)
11501             # see comment about AmigaOS4 .so support
11502             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11503             archive_expsym_cmds=''
11504         ;;
11505       m68k)
11506             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)'
11507             hardcode_libdir_flag_spec='-L$libdir'
11508             hardcode_minus_L=yes
11509         ;;
11510       esac
11511       ;;
11512
11513     bsdi[45]*)
11514       export_dynamic_flag_spec=-rdynamic
11515       ;;
11516
11517     cygwin* | mingw* | pw32* | cegcc*)
11518       # When not using gcc, we currently assume that we are using
11519       # Microsoft Visual C++.
11520       # hardcode_libdir_flag_spec is actually meaningless, as there is
11521       # no search path for DLLs.
11522       case $cc_basename in
11523       cl*)
11524         # Native MSVC
11525         hardcode_libdir_flag_spec=' '
11526         allow_undefined_flag=unsupported
11527         always_export_symbols=yes
11528         file_list_spec='@'
11529         # Tell ltmain to make .lib files, not .a files.
11530         libext=lib
11531         # Tell ltmain to make .dll files, not .so files.
11532         shrext_cmds=".dll"
11533         # FIXME: Setting linknames here is a bad hack.
11534         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11535         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11536             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11537           else
11538             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11539           fi~
11540           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11541           linknames='
11542         # The linker will not automatically build a static lib if we build a DLL.
11543         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11544         enable_shared_with_static_runtimes=yes
11545         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11546         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11547         # Don't use ranlib
11548         old_postinstall_cmds='chmod 644 $oldlib'
11549         postlink_cmds='lt_outputfile="@OUTPUT@"~
11550           lt_tool_outputfile="@TOOL_OUTPUT@"~
11551           case $lt_outputfile in
11552             *.exe|*.EXE) ;;
11553             *)
11554               lt_outputfile="$lt_outputfile.exe"
11555               lt_tool_outputfile="$lt_tool_outputfile.exe"
11556               ;;
11557           esac~
11558           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11559             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11560             $RM "$lt_outputfile.manifest";
11561           fi'
11562         ;;
11563       *)
11564         # Assume MSVC wrapper
11565         hardcode_libdir_flag_spec=' '
11566         allow_undefined_flag=unsupported
11567         # Tell ltmain to make .lib files, not .a files.
11568         libext=lib
11569         # Tell ltmain to make .dll files, not .so files.
11570         shrext_cmds=".dll"
11571         # FIXME: Setting linknames here is a bad hack.
11572         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11573         # The linker will automatically build a .lib file if we build a DLL.
11574         old_archive_from_new_cmds='true'
11575         # FIXME: Should let the user specify the lib program.
11576         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11577         enable_shared_with_static_runtimes=yes
11578         ;;
11579       esac
11580       ;;
11581
11582     darwin* | rhapsody*)
11583
11584
11585   archive_cmds_need_lc=no
11586   hardcode_direct=no
11587   hardcode_automatic=yes
11588   hardcode_shlibpath_var=unsupported
11589   if test "$lt_cv_ld_force_load" = "yes"; then
11590     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\"`'
11591
11592   else
11593     whole_archive_flag_spec=''
11594   fi
11595   link_all_deplibs=yes
11596   allow_undefined_flag="$_lt_dar_allow_undefined"
11597   case $cc_basename in
11598      ifort*) _lt_dar_can_shared=yes ;;
11599      *) _lt_dar_can_shared=$GCC ;;
11600   esac
11601   if test "$_lt_dar_can_shared" = "yes"; then
11602     output_verbose_link_cmd=func_echo_all
11603     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11604     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11605     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}"
11606     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}"
11607
11608   else
11609   ld_shlibs=no
11610   fi
11611
11612       ;;
11613
11614     dgux*)
11615       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11616       hardcode_libdir_flag_spec='-L$libdir'
11617       hardcode_shlibpath_var=no
11618       ;;
11619
11620     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11621     # support.  Future versions do this automatically, but an explicit c++rt0.o
11622     # does not break anything, and helps significantly (at the cost of a little
11623     # extra space).
11624     freebsd2.2*)
11625       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11626       hardcode_libdir_flag_spec='-R$libdir'
11627       hardcode_direct=yes
11628       hardcode_shlibpath_var=no
11629       ;;
11630
11631     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11632     freebsd2.*)
11633       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11634       hardcode_direct=yes
11635       hardcode_minus_L=yes
11636       hardcode_shlibpath_var=no
11637       ;;
11638
11639     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11640     freebsd* | dragonfly*)
11641       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11642       hardcode_libdir_flag_spec='-R$libdir'
11643       hardcode_direct=yes
11644       hardcode_shlibpath_var=no
11645       ;;
11646
11647     hpux9*)
11648       if test "$GCC" = yes; then
11649         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'
11650       else
11651         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'
11652       fi
11653       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11654       hardcode_libdir_separator=:
11655       hardcode_direct=yes
11656
11657       # hardcode_minus_L: Not really in the search PATH,
11658       # but as the default location of the library.
11659       hardcode_minus_L=yes
11660       export_dynamic_flag_spec='${wl}-E'
11661       ;;
11662
11663     hpux10*)
11664       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11665         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11666       else
11667         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11668       fi
11669       if test "$with_gnu_ld" = no; then
11670         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11671         hardcode_libdir_separator=:
11672         hardcode_direct=yes
11673         hardcode_direct_absolute=yes
11674         export_dynamic_flag_spec='${wl}-E'
11675         # hardcode_minus_L: Not really in the search PATH,
11676         # but as the default location of the library.
11677         hardcode_minus_L=yes
11678       fi
11679       ;;
11680
11681     hpux11*)
11682       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11683         case $host_cpu in
11684         hppa*64*)
11685           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11686           ;;
11687         ia64*)
11688           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11689           ;;
11690         *)
11691           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11692           ;;
11693         esac
11694       else
11695         case $host_cpu in
11696         hppa*64*)
11697           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11698           ;;
11699         ia64*)
11700           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11701           ;;
11702         *)
11703
11704           # Older versions of the 11.00 compiler do not understand -b yet
11705           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11706           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11707 $as_echo_n "checking if $CC understands -b... " >&6; }
11708 if ${lt_cv_prog_compiler__b+:} false; then :
11709   $as_echo_n "(cached) " >&6
11710 else
11711   lt_cv_prog_compiler__b=no
11712    save_LDFLAGS="$LDFLAGS"
11713    LDFLAGS="$LDFLAGS -b"
11714    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11715    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11716      # The linker can only warn and ignore the option if not recognized
11717      # So say no if there are warnings
11718      if test -s conftest.err; then
11719        # Append any errors to the config.log.
11720        cat conftest.err 1>&5
11721        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11722        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11723        if diff conftest.exp conftest.er2 >/dev/null; then
11724          lt_cv_prog_compiler__b=yes
11725        fi
11726      else
11727        lt_cv_prog_compiler__b=yes
11728      fi
11729    fi
11730    $RM -r conftest*
11731    LDFLAGS="$save_LDFLAGS"
11732
11733 fi
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11735 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11736
11737 if test x"$lt_cv_prog_compiler__b" = xyes; then
11738     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11739 else
11740     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11741 fi
11742
11743           ;;
11744         esac
11745       fi
11746       if test "$with_gnu_ld" = no; then
11747         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11748         hardcode_libdir_separator=:
11749
11750         case $host_cpu in
11751         hppa*64*|ia64*)
11752           hardcode_direct=no
11753           hardcode_shlibpath_var=no
11754           ;;
11755         *)
11756           hardcode_direct=yes
11757           hardcode_direct_absolute=yes
11758           export_dynamic_flag_spec='${wl}-E'
11759
11760           # hardcode_minus_L: Not really in the search PATH,
11761           # but as the default location of the library.
11762           hardcode_minus_L=yes
11763           ;;
11764         esac
11765       fi
11766       ;;
11767
11768     irix5* | irix6* | nonstopux*)
11769       if test "$GCC" = yes; then
11770         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'
11771         # Try to use the -exported_symbol ld option, if it does not
11772         # work, assume that -exports_file does not work either and
11773         # implicitly export all symbols.
11774         # This should be the same for all languages, so no per-tag cache variable.
11775         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11776 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11777 if ${lt_cv_irix_exported_symbol+:} false; then :
11778   $as_echo_n "(cached) " >&6
11779 else
11780   save_LDFLAGS="$LDFLAGS"
11781            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11782            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h.  */
11784 int foo (void) { return 0; }
11785 _ACEOF
11786 if ac_fn_c_try_link "$LINENO"; then :
11787   lt_cv_irix_exported_symbol=yes
11788 else
11789   lt_cv_irix_exported_symbol=no
11790 fi
11791 rm -f core conftest.err conftest.$ac_objext \
11792     conftest$ac_exeext conftest.$ac_ext
11793            LDFLAGS="$save_LDFLAGS"
11794 fi
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11796 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11797         if test "$lt_cv_irix_exported_symbol" = yes; then
11798           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'
11799         fi
11800       else
11801         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'
11802         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'
11803       fi
11804       archive_cmds_need_lc='no'
11805       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11806       hardcode_libdir_separator=:
11807       inherit_rpath=yes
11808       link_all_deplibs=yes
11809       ;;
11810
11811     netbsd* | netbsdelf*-gnu)
11812       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11813         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11814       else
11815         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11816       fi
11817       hardcode_libdir_flag_spec='-R$libdir'
11818       hardcode_direct=yes
11819       hardcode_shlibpath_var=no
11820       ;;
11821
11822     newsos6)
11823       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11824       hardcode_direct=yes
11825       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11826       hardcode_libdir_separator=:
11827       hardcode_shlibpath_var=no
11828       ;;
11829
11830     *nto* | *qnx*)
11831       ;;
11832
11833     openbsd*)
11834       if test -f /usr/libexec/ld.so; then
11835         hardcode_direct=yes
11836         hardcode_shlibpath_var=no
11837         hardcode_direct_absolute=yes
11838         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11839           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11840           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11841           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11842           export_dynamic_flag_spec='${wl}-E'
11843         else
11844           case $host_os in
11845            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11846              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11847              hardcode_libdir_flag_spec='-R$libdir'
11848              ;;
11849            *)
11850              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11851              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11852              ;;
11853           esac
11854         fi
11855       else
11856         ld_shlibs=no
11857       fi
11858       ;;
11859
11860     os2*)
11861       hardcode_libdir_flag_spec='-L$libdir'
11862       hardcode_minus_L=yes
11863       allow_undefined_flag=unsupported
11864       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'
11865       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11866       ;;
11867
11868     osf3*)
11869       if test "$GCC" = yes; then
11870         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11871         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'
11872       else
11873         allow_undefined_flag=' -expect_unresolved \*'
11874         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'
11875       fi
11876       archive_cmds_need_lc='no'
11877       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11878       hardcode_libdir_separator=:
11879       ;;
11880
11881     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11882       if test "$GCC" = yes; then
11883         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11884         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'
11885         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11886       else
11887         allow_undefined_flag=' -expect_unresolved \*'
11888         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'
11889         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~
11890         $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'
11891
11892         # Both c and cxx compiler support -rpath directly
11893         hardcode_libdir_flag_spec='-rpath $libdir'
11894       fi
11895       archive_cmds_need_lc='no'
11896       hardcode_libdir_separator=:
11897       ;;
11898
11899     solaris*)
11900       no_undefined_flag=' -z defs'
11901       if test "$GCC" = yes; then
11902         wlarc='${wl}'
11903         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11904         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11905           $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'
11906       else
11907         case `$CC -V 2>&1` in
11908         *"Compilers 5.0"*)
11909           wlarc=''
11910           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11911           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11912           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11913           ;;
11914         *)
11915           wlarc='${wl}'
11916           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11917           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11918           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11919           ;;
11920         esac
11921       fi
11922       hardcode_libdir_flag_spec='-R$libdir'
11923       hardcode_shlibpath_var=no
11924       case $host_os in
11925       solaris2.[0-5] | solaris2.[0-5].*) ;;
11926       *)
11927         # The compiler driver will combine and reorder linker options,
11928         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11929         # but is careful enough not to reorder.
11930         # Supported since Solaris 2.6 (maybe 2.5.1?)
11931         if test "$GCC" = yes; then
11932           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11933         else
11934           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11935         fi
11936         ;;
11937       esac
11938       link_all_deplibs=yes
11939       ;;
11940
11941     sunos4*)
11942       if test "x$host_vendor" = xsequent; then
11943         # Use $CC to link under sequent, because it throws in some extra .o
11944         # files that make .init and .fini sections work.
11945         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11946       else
11947         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11948       fi
11949       hardcode_libdir_flag_spec='-L$libdir'
11950       hardcode_direct=yes
11951       hardcode_minus_L=yes
11952       hardcode_shlibpath_var=no
11953       ;;
11954
11955     sysv4)
11956       case $host_vendor in
11957         sni)
11958           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11959           hardcode_direct=yes # is this really true???
11960         ;;
11961         siemens)
11962           ## LD is ld it makes a PLAMLIB
11963           ## CC just makes a GrossModule.
11964           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11965           reload_cmds='$CC -r -o $output$reload_objs'
11966           hardcode_direct=no
11967         ;;
11968         motorola)
11969           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11970           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11971         ;;
11972       esac
11973       runpath_var='LD_RUN_PATH'
11974       hardcode_shlibpath_var=no
11975       ;;
11976
11977     sysv4.3*)
11978       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11979       hardcode_shlibpath_var=no
11980       export_dynamic_flag_spec='-Bexport'
11981       ;;
11982
11983     sysv4*MP*)
11984       if test -d /usr/nec; then
11985         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11986         hardcode_shlibpath_var=no
11987         runpath_var=LD_RUN_PATH
11988         hardcode_runpath_var=yes
11989         ld_shlibs=yes
11990       fi
11991       ;;
11992
11993     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11994       no_undefined_flag='${wl}-z,text'
11995       archive_cmds_need_lc=no
11996       hardcode_shlibpath_var=no
11997       runpath_var='LD_RUN_PATH'
11998
11999       if test "$GCC" = yes; then
12000         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12001         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12002       else
12003         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12004         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12005       fi
12006       ;;
12007
12008     sysv5* | sco3.2v5* | sco5v6*)
12009       # Note: We can NOT use -z defs as we might desire, because we do not
12010       # link with -lc, and that would cause any symbols used from libc to
12011       # always be unresolved, which means just about no library would
12012       # ever link correctly.  If we're not using GNU ld we use -z text
12013       # though, which does catch some bad symbols but isn't as heavy-handed
12014       # as -z defs.
12015       no_undefined_flag='${wl}-z,text'
12016       allow_undefined_flag='${wl}-z,nodefs'
12017       archive_cmds_need_lc=no
12018       hardcode_shlibpath_var=no
12019       hardcode_libdir_flag_spec='${wl}-R,$libdir'
12020       hardcode_libdir_separator=':'
12021       link_all_deplibs=yes
12022       export_dynamic_flag_spec='${wl}-Bexport'
12023       runpath_var='LD_RUN_PATH'
12024
12025       if test "$GCC" = yes; then
12026         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12027         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12028       else
12029         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12031       fi
12032       ;;
12033
12034     uts4*)
12035       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12036       hardcode_libdir_flag_spec='-L$libdir'
12037       hardcode_shlibpath_var=no
12038       ;;
12039
12040     *)
12041       ld_shlibs=no
12042       ;;
12043     esac
12044
12045     if test x$host_vendor = xsni; then
12046       case $host in
12047       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12048         export_dynamic_flag_spec='${wl}-Blargedynsym'
12049         ;;
12050       esac
12051     fi
12052   fi
12053
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12055 $as_echo "$ld_shlibs" >&6; }
12056 test "$ld_shlibs" = no && can_build_shared=no
12057
12058 with_gnu_ld=$with_gnu_ld
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074 #
12075 # Do we need to explicitly link libc?
12076 #
12077 case "x$archive_cmds_need_lc" in
12078 x|xyes)
12079   # Assume -lc should be added
12080   archive_cmds_need_lc=yes
12081
12082   if test "$enable_shared" = yes && test "$GCC" = yes; then
12083     case $archive_cmds in
12084     *'~'*)
12085       # FIXME: we may have to deal with multi-command sequences.
12086       ;;
12087     '$CC '*)
12088       # Test whether the compiler implicitly links with -lc since on some
12089       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12090       # to ld, don't add -lc before -lgcc.
12091       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12092 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12093 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12094   $as_echo_n "(cached) " >&6
12095 else
12096   $RM conftest*
12097         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12098
12099         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12100   (eval $ac_compile) 2>&5
12101   ac_status=$?
12102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12103   test $ac_status = 0; } 2>conftest.err; then
12104           soname=conftest
12105           lib=conftest
12106           libobjs=conftest.$ac_objext
12107           deplibs=
12108           wl=$lt_prog_compiler_wl
12109           pic_flag=$lt_prog_compiler_pic
12110           compiler_flags=-v
12111           linker_flags=-v
12112           verstring=
12113           output_objdir=.
12114           libname=conftest
12115           lt_save_allow_undefined_flag=$allow_undefined_flag
12116           allow_undefined_flag=
12117           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12118   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12119   ac_status=$?
12120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12121   test $ac_status = 0; }
12122           then
12123             lt_cv_archive_cmds_need_lc=no
12124           else
12125             lt_cv_archive_cmds_need_lc=yes
12126           fi
12127           allow_undefined_flag=$lt_save_allow_undefined_flag
12128         else
12129           cat conftest.err 1>&5
12130         fi
12131         $RM conftest*
12132
12133 fi
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12135 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12136       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12137       ;;
12138     esac
12139   fi
12140   ;;
12141 esac
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12295 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12296
12297 if test "$GCC" = yes; then
12298   case $host_os in
12299     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12300     *) lt_awk_arg="/^libraries:/" ;;
12301   esac
12302   case $host_os in
12303     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12304     *) lt_sed_strip_eq="s,=/,/,g" ;;
12305   esac
12306   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12307   case $lt_search_path_spec in
12308   *\;*)
12309     # if the path contains ";" then we assume it to be the separator
12310     # otherwise default to the standard path separator (i.e. ":") - it is
12311     # assumed that no part of a normal pathname contains ";" but that should
12312     # okay in the real world where ";" in dirpaths is itself problematic.
12313     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12314     ;;
12315   *)
12316     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12317     ;;
12318   esac
12319   # Ok, now we have the path, separated by spaces, we can step through it
12320   # and add multilib dir if necessary.
12321   lt_tmp_lt_search_path_spec=
12322   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12323   for lt_sys_path in $lt_search_path_spec; do
12324     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12325       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12326     else
12327       test -d "$lt_sys_path" && \
12328         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12329     fi
12330   done
12331   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12332 BEGIN {RS=" "; FS="/|\n";} {
12333   lt_foo="";
12334   lt_count=0;
12335   for (lt_i = NF; lt_i > 0; lt_i--) {
12336     if ($lt_i != "" && $lt_i != ".") {
12337       if ($lt_i == "..") {
12338         lt_count++;
12339       } else {
12340         if (lt_count == 0) {
12341           lt_foo="/" $lt_i lt_foo;
12342         } else {
12343           lt_count--;
12344         }
12345       }
12346     }
12347   }
12348   if (lt_foo != "") { lt_freq[lt_foo]++; }
12349   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12350 }'`
12351   # AWK program above erroneously prepends '/' to C:/dos/paths
12352   # for these hosts.
12353   case $host_os in
12354     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12355       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12356   esac
12357   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12358 else
12359   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12360 fi
12361 library_names_spec=
12362 libname_spec='lib$name'
12363 soname_spec=
12364 shrext_cmds=".so"
12365 postinstall_cmds=
12366 postuninstall_cmds=
12367 finish_cmds=
12368 finish_eval=
12369 shlibpath_var=
12370 shlibpath_overrides_runpath=unknown
12371 version_type=none
12372 dynamic_linker="$host_os ld.so"
12373 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12374 need_lib_prefix=unknown
12375 hardcode_into_libs=no
12376
12377 # when you set need_version to no, make sure it does not cause -set_version
12378 # flags to be left without arguments
12379 need_version=unknown
12380
12381 case $host_os in
12382 aix3*)
12383   version_type=linux # correct to gnu/linux during the next big refactor
12384   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12385   shlibpath_var=LIBPATH
12386
12387   # AIX 3 has no versioning support, so we append a major version to the name.
12388   soname_spec='${libname}${release}${shared_ext}$major'
12389   ;;
12390
12391 aix[4-9]*)
12392   version_type=linux # correct to gnu/linux during the next big refactor
12393   need_lib_prefix=no
12394   need_version=no
12395   hardcode_into_libs=yes
12396   if test "$host_cpu" = ia64; then
12397     # AIX 5 supports IA64
12398     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12399     shlibpath_var=LD_LIBRARY_PATH
12400   else
12401     # With GCC up to 2.95.x, collect2 would create an import file
12402     # for dependence libraries.  The import file would start with
12403     # the line `#! .'.  This would cause the generated library to
12404     # depend on `.', always an invalid library.  This was fixed in
12405     # development snapshots of GCC prior to 3.0.
12406     case $host_os in
12407       aix4 | aix4.[01] | aix4.[01].*)
12408       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12409            echo ' yes '
12410            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12411         :
12412       else
12413         can_build_shared=no
12414       fi
12415       ;;
12416     esac
12417     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12418     # soname into executable. Probably we can add versioning support to
12419     # collect2, so additional links can be useful in future.
12420     if test "$aix_use_runtimelinking" = yes; then
12421       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12422       # instead of lib<name>.a to let people know that these are not
12423       # typical AIX shared libraries.
12424       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12425     else
12426       # We preserve .a as extension for shared libraries through AIX4.2
12427       # and later when we are not doing run time linking.
12428       library_names_spec='${libname}${release}.a $libname.a'
12429       soname_spec='${libname}${release}${shared_ext}$major'
12430     fi
12431     shlibpath_var=LIBPATH
12432   fi
12433   ;;
12434
12435 amigaos*)
12436   case $host_cpu in
12437   powerpc)
12438     # Since July 2007 AmigaOS4 officially supports .so libraries.
12439     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12440     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12441     ;;
12442   m68k)
12443     library_names_spec='$libname.ixlibrary $libname.a'
12444     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12445     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'
12446     ;;
12447   esac
12448   ;;
12449
12450 beos*)
12451   library_names_spec='${libname}${shared_ext}'
12452   dynamic_linker="$host_os ld.so"
12453   shlibpath_var=LIBRARY_PATH
12454   ;;
12455
12456 bsdi[45]*)
12457   version_type=linux # correct to gnu/linux during the next big refactor
12458   need_version=no
12459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12460   soname_spec='${libname}${release}${shared_ext}$major'
12461   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12462   shlibpath_var=LD_LIBRARY_PATH
12463   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12464   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12465   # the default ld.so.conf also contains /usr/contrib/lib and
12466   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12467   # libtool to hard-code these into programs
12468   ;;
12469
12470 cygwin* | mingw* | pw32* | cegcc*)
12471   version_type=windows
12472   shrext_cmds=".dll"
12473   need_version=no
12474   need_lib_prefix=no
12475
12476   case $GCC,$cc_basename in
12477   yes,*)
12478     # gcc
12479     library_names_spec='$libname.dll.a'
12480     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12481     postinstall_cmds='base_file=`basename \${file}`~
12482       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12483       dldir=$destdir/`dirname \$dlpath`~
12484       test -d \$dldir || mkdir -p \$dldir~
12485       $install_prog $dir/$dlname \$dldir/$dlname~
12486       chmod a+x \$dldir/$dlname~
12487       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12488         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12489       fi'
12490     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12491       dlpath=$dir/\$dldll~
12492        $RM \$dlpath'
12493     shlibpath_overrides_runpath=yes
12494
12495     case $host_os in
12496     cygwin*)
12497       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12498       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12499
12500       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12501       ;;
12502     mingw* | cegcc*)
12503       # MinGW DLLs use traditional 'lib' prefix
12504       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12505       ;;
12506     pw32*)
12507       # pw32 DLLs use 'pw' prefix rather than 'lib'
12508       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12509       ;;
12510     esac
12511     dynamic_linker='Win32 ld.exe'
12512     ;;
12513
12514   *,cl*)
12515     # Native MSVC
12516     libname_spec='$name'
12517     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12518     library_names_spec='${libname}.dll.lib'
12519
12520     case $build_os in
12521     mingw*)
12522       sys_lib_search_path_spec=
12523       lt_save_ifs=$IFS
12524       IFS=';'
12525       for lt_path in $LIB
12526       do
12527         IFS=$lt_save_ifs
12528         # Let DOS variable expansion print the short 8.3 style file name.
12529         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12530         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12531       done
12532       IFS=$lt_save_ifs
12533       # Convert to MSYS style.
12534       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12535       ;;
12536     cygwin*)
12537       # Convert to unix form, then to dos form, then back to unix form
12538       # but this time dos style (no spaces!) so that the unix form looks
12539       # like /cygdrive/c/PROGRA~1:/cygdr...
12540       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12541       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12542       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12543       ;;
12544     *)
12545       sys_lib_search_path_spec="$LIB"
12546       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12547         # It is most probably a Windows format PATH.
12548         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12549       else
12550         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12551       fi
12552       # FIXME: find the short name or the path components, as spaces are
12553       # common. (e.g. "Program Files" -> "PROGRA~1")
12554       ;;
12555     esac
12556
12557     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12558     postinstall_cmds='base_file=`basename \${file}`~
12559       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12560       dldir=$destdir/`dirname \$dlpath`~
12561       test -d \$dldir || mkdir -p \$dldir~
12562       $install_prog $dir/$dlname \$dldir/$dlname'
12563     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12564       dlpath=$dir/\$dldll~
12565        $RM \$dlpath'
12566     shlibpath_overrides_runpath=yes
12567     dynamic_linker='Win32 link.exe'
12568     ;;
12569
12570   *)
12571     # Assume MSVC wrapper
12572     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12573     dynamic_linker='Win32 ld.exe'
12574     ;;
12575   esac
12576   # FIXME: first we should search . and the directory the executable is in
12577   shlibpath_var=PATH
12578   ;;
12579
12580 darwin* | rhapsody*)
12581   dynamic_linker="$host_os dyld"
12582   version_type=darwin
12583   need_lib_prefix=no
12584   need_version=no
12585   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12586   soname_spec='${libname}${release}${major}$shared_ext'
12587   shlibpath_overrides_runpath=yes
12588   shlibpath_var=DYLD_LIBRARY_PATH
12589   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12590
12591   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12592   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12593   ;;
12594
12595 dgux*)
12596   version_type=linux # correct to gnu/linux during the next big refactor
12597   need_lib_prefix=no
12598   need_version=no
12599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12600   soname_spec='${libname}${release}${shared_ext}$major'
12601   shlibpath_var=LD_LIBRARY_PATH
12602   ;;
12603
12604 freebsd* | dragonfly*)
12605   # DragonFly does not have aout.  When/if they implement a new
12606   # versioning mechanism, adjust this.
12607   if test -x /usr/bin/objformat; then
12608     objformat=`/usr/bin/objformat`
12609   else
12610     case $host_os in
12611     freebsd[23].*) objformat=aout ;;
12612     *) objformat=elf ;;
12613     esac
12614   fi
12615   version_type=freebsd-$objformat
12616   case $version_type in
12617     freebsd-elf*)
12618       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12619       need_version=no
12620       need_lib_prefix=no
12621       ;;
12622     freebsd-*)
12623       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12624       need_version=yes
12625       ;;
12626   esac
12627   shlibpath_var=LD_LIBRARY_PATH
12628   case $host_os in
12629   freebsd2.*)
12630     shlibpath_overrides_runpath=yes
12631     ;;
12632   freebsd3.[01]* | freebsdelf3.[01]*)
12633     shlibpath_overrides_runpath=yes
12634     hardcode_into_libs=yes
12635     ;;
12636   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12637   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12638     shlibpath_overrides_runpath=no
12639     hardcode_into_libs=yes
12640     ;;
12641   *) # from 4.6 on, and DragonFly
12642     shlibpath_overrides_runpath=yes
12643     hardcode_into_libs=yes
12644     ;;
12645   esac
12646   ;;
12647
12648 gnu*)
12649   version_type=linux # correct to gnu/linux during the next big refactor
12650   need_lib_prefix=no
12651   need_version=no
12652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12653   soname_spec='${libname}${release}${shared_ext}$major'
12654   shlibpath_var=LD_LIBRARY_PATH
12655   shlibpath_overrides_runpath=no
12656   hardcode_into_libs=yes
12657   ;;
12658
12659 haiku*)
12660   version_type=linux # correct to gnu/linux during the next big refactor
12661   need_lib_prefix=no
12662   need_version=no
12663   dynamic_linker="$host_os runtime_loader"
12664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12665   soname_spec='${libname}${release}${shared_ext}$major'
12666   shlibpath_var=LIBRARY_PATH
12667   shlibpath_overrides_runpath=yes
12668   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12669   hardcode_into_libs=yes
12670   ;;
12671
12672 hpux9* | hpux10* | hpux11*)
12673   # Give a soname corresponding to the major version so that dld.sl refuses to
12674   # link against other versions.
12675   version_type=sunos
12676   need_lib_prefix=no
12677   need_version=no
12678   case $host_cpu in
12679   ia64*)
12680     shrext_cmds='.so'
12681     hardcode_into_libs=yes
12682     dynamic_linker="$host_os dld.so"
12683     shlibpath_var=LD_LIBRARY_PATH
12684     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12685     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12686     soname_spec='${libname}${release}${shared_ext}$major'
12687     if test "X$HPUX_IA64_MODE" = X32; then
12688       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12689     else
12690       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12691     fi
12692     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12693     ;;
12694   hppa*64*)
12695     shrext_cmds='.sl'
12696     hardcode_into_libs=yes
12697     dynamic_linker="$host_os dld.sl"
12698     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12699     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12700     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12701     soname_spec='${libname}${release}${shared_ext}$major'
12702     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12703     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12704     ;;
12705   *)
12706     shrext_cmds='.sl'
12707     dynamic_linker="$host_os dld.sl"
12708     shlibpath_var=SHLIB_PATH
12709     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12710     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12711     soname_spec='${libname}${release}${shared_ext}$major'
12712     ;;
12713   esac
12714   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12715   postinstall_cmds='chmod 555 $lib'
12716   # or fails outright, so override atomically:
12717   install_override_mode=555
12718   ;;
12719
12720 interix[3-9]*)
12721   version_type=linux # correct to gnu/linux during the next big refactor
12722   need_lib_prefix=no
12723   need_version=no
12724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12725   soname_spec='${libname}${release}${shared_ext}$major'
12726   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12727   shlibpath_var=LD_LIBRARY_PATH
12728   shlibpath_overrides_runpath=no
12729   hardcode_into_libs=yes
12730   ;;
12731
12732 irix5* | irix6* | nonstopux*)
12733   case $host_os in
12734     nonstopux*) version_type=nonstopux ;;
12735     *)
12736         if test "$lt_cv_prog_gnu_ld" = yes; then
12737                 version_type=linux # correct to gnu/linux during the next big refactor
12738         else
12739                 version_type=irix
12740         fi ;;
12741   esac
12742   need_lib_prefix=no
12743   need_version=no
12744   soname_spec='${libname}${release}${shared_ext}$major'
12745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12746   case $host_os in
12747   irix5* | nonstopux*)
12748     libsuff= shlibsuff=
12749     ;;
12750   *)
12751     case $LD in # libtool.m4 will add one of these switches to LD
12752     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12753       libsuff= shlibsuff= libmagic=32-bit;;
12754     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12755       libsuff=32 shlibsuff=N32 libmagic=N32;;
12756     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12757       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12758     *) libsuff= shlibsuff= libmagic=never-match;;
12759     esac
12760     ;;
12761   esac
12762   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12763   shlibpath_overrides_runpath=no
12764   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12765   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12766   hardcode_into_libs=yes
12767   ;;
12768
12769 # No shared lib support for Linux oldld, aout, or coff.
12770 linux*oldld* | linux*aout* | linux*coff*)
12771   dynamic_linker=no
12772   ;;
12773
12774 # This must be glibc/ELF.
12775 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12776   version_type=linux # correct to gnu/linux during the next big refactor
12777   need_lib_prefix=no
12778   need_version=no
12779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12780   soname_spec='${libname}${release}${shared_ext}$major'
12781   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12782   shlibpath_var=LD_LIBRARY_PATH
12783   shlibpath_overrides_runpath=no
12784
12785   # Some binutils ld are patched to set DT_RUNPATH
12786   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12787   $as_echo_n "(cached) " >&6
12788 else
12789   lt_cv_shlibpath_overrides_runpath=no
12790     save_LDFLAGS=$LDFLAGS
12791     save_libdir=$libdir
12792     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12793          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12794     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h.  */
12796
12797 int
12798 main ()
12799 {
12800
12801   ;
12802   return 0;
12803 }
12804 _ACEOF
12805 if ac_fn_c_try_link "$LINENO"; then :
12806   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12807   lt_cv_shlibpath_overrides_runpath=yes
12808 fi
12809 fi
12810 rm -f core conftest.err conftest.$ac_objext \
12811     conftest$ac_exeext conftest.$ac_ext
12812     LDFLAGS=$save_LDFLAGS
12813     libdir=$save_libdir
12814
12815 fi
12816
12817   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12818
12819   # This implies no fast_install, which is unacceptable.
12820   # Some rework will be needed to allow for fast_install
12821   # before this can be enabled.
12822   hardcode_into_libs=yes
12823
12824   # Append ld.so.conf contents to the search path
12825   if test -f /etc/ld.so.conf; then
12826     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' ' '`
12827     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12828   fi
12829
12830   # We used to test for /lib/ld.so.1 and disable shared libraries on
12831   # powerpc, because MkLinux only supported shared libraries with the
12832   # GNU dynamic linker.  Since this was broken with cross compilers,
12833   # most powerpc-linux boxes support dynamic linking these days and
12834   # people can always --disable-shared, the test was removed, and we
12835   # assume the GNU/Linux dynamic linker is in use.
12836   dynamic_linker='GNU/Linux ld.so'
12837   ;;
12838
12839 netbsdelf*-gnu)
12840   version_type=linux
12841   need_lib_prefix=no
12842   need_version=no
12843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12844   soname_spec='${libname}${release}${shared_ext}$major'
12845   shlibpath_var=LD_LIBRARY_PATH
12846   shlibpath_overrides_runpath=no
12847   hardcode_into_libs=yes
12848   dynamic_linker='NetBSD ld.elf_so'
12849   ;;
12850
12851 netbsd*)
12852   version_type=sunos
12853   need_lib_prefix=no
12854   need_version=no
12855   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12856     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12857     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12858     dynamic_linker='NetBSD (a.out) ld.so'
12859   else
12860     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12861     soname_spec='${libname}${release}${shared_ext}$major'
12862     dynamic_linker='NetBSD ld.elf_so'
12863   fi
12864   shlibpath_var=LD_LIBRARY_PATH
12865   shlibpath_overrides_runpath=yes
12866   hardcode_into_libs=yes
12867   ;;
12868
12869 newsos6)
12870   version_type=linux # correct to gnu/linux during the next big refactor
12871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12872   shlibpath_var=LD_LIBRARY_PATH
12873   shlibpath_overrides_runpath=yes
12874   ;;
12875
12876 *nto* | *qnx*)
12877   version_type=qnx
12878   need_lib_prefix=no
12879   need_version=no
12880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12881   soname_spec='${libname}${release}${shared_ext}$major'
12882   shlibpath_var=LD_LIBRARY_PATH
12883   shlibpath_overrides_runpath=no
12884   hardcode_into_libs=yes
12885   dynamic_linker='ldqnx.so'
12886   ;;
12887
12888 openbsd*)
12889   version_type=sunos
12890   sys_lib_dlsearch_path_spec="/usr/lib"
12891   need_lib_prefix=no
12892   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12893   case $host_os in
12894     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12895     *)                          need_version=no  ;;
12896   esac
12897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12898   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12899   shlibpath_var=LD_LIBRARY_PATH
12900   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12901     case $host_os in
12902       openbsd2.[89] | openbsd2.[89].*)
12903         shlibpath_overrides_runpath=no
12904         ;;
12905       *)
12906         shlibpath_overrides_runpath=yes
12907         ;;
12908       esac
12909   else
12910     shlibpath_overrides_runpath=yes
12911   fi
12912   ;;
12913
12914 os2*)
12915   libname_spec='$name'
12916   shrext_cmds=".dll"
12917   need_lib_prefix=no
12918   library_names_spec='$libname${shared_ext} $libname.a'
12919   dynamic_linker='OS/2 ld.exe'
12920   shlibpath_var=LIBPATH
12921   ;;
12922
12923 osf3* | osf4* | osf5*)
12924   version_type=osf
12925   need_lib_prefix=no
12926   need_version=no
12927   soname_spec='${libname}${release}${shared_ext}$major'
12928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12929   shlibpath_var=LD_LIBRARY_PATH
12930   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12931   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12932   ;;
12933
12934 rdos*)
12935   dynamic_linker=no
12936   ;;
12937
12938 solaris*)
12939   version_type=linux # correct to gnu/linux during the next big refactor
12940   need_lib_prefix=no
12941   need_version=no
12942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12943   soname_spec='${libname}${release}${shared_ext}$major'
12944   shlibpath_var=LD_LIBRARY_PATH
12945   shlibpath_overrides_runpath=yes
12946   hardcode_into_libs=yes
12947   # ldd complains unless libraries are executable
12948   postinstall_cmds='chmod +x $lib'
12949   ;;
12950
12951 sunos4*)
12952   version_type=sunos
12953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12954   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12955   shlibpath_var=LD_LIBRARY_PATH
12956   shlibpath_overrides_runpath=yes
12957   if test "$with_gnu_ld" = yes; then
12958     need_lib_prefix=no
12959   fi
12960   need_version=yes
12961   ;;
12962
12963 sysv4 | sysv4.3*)
12964   version_type=linux # correct to gnu/linux during the next big refactor
12965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12966   soname_spec='${libname}${release}${shared_ext}$major'
12967   shlibpath_var=LD_LIBRARY_PATH
12968   case $host_vendor in
12969     sni)
12970       shlibpath_overrides_runpath=no
12971       need_lib_prefix=no
12972       runpath_var=LD_RUN_PATH
12973       ;;
12974     siemens)
12975       need_lib_prefix=no
12976       ;;
12977     motorola)
12978       need_lib_prefix=no
12979       need_version=no
12980       shlibpath_overrides_runpath=no
12981       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12982       ;;
12983   esac
12984   ;;
12985
12986 sysv4*MP*)
12987   if test -d /usr/nec ;then
12988     version_type=linux # correct to gnu/linux during the next big refactor
12989     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12990     soname_spec='$libname${shared_ext}.$major'
12991     shlibpath_var=LD_LIBRARY_PATH
12992   fi
12993   ;;
12994
12995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12996   version_type=freebsd-elf
12997   need_lib_prefix=no
12998   need_version=no
12999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13000   soname_spec='${libname}${release}${shared_ext}$major'
13001   shlibpath_var=LD_LIBRARY_PATH
13002   shlibpath_overrides_runpath=yes
13003   hardcode_into_libs=yes
13004   if test "$with_gnu_ld" = yes; then
13005     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13006   else
13007     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13008     case $host_os in
13009       sco3.2v5*)
13010         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13011         ;;
13012     esac
13013   fi
13014   sys_lib_dlsearch_path_spec='/usr/lib'
13015   ;;
13016
13017 tpf*)
13018   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13019   version_type=linux # correct to gnu/linux during the next big refactor
13020   need_lib_prefix=no
13021   need_version=no
13022   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13023   shlibpath_var=LD_LIBRARY_PATH
13024   shlibpath_overrides_runpath=no
13025   hardcode_into_libs=yes
13026   ;;
13027
13028 uts4*)
13029   version_type=linux # correct to gnu/linux during the next big refactor
13030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13031   soname_spec='${libname}${release}${shared_ext}$major'
13032   shlibpath_var=LD_LIBRARY_PATH
13033   ;;
13034
13035 *)
13036   dynamic_linker=no
13037   ;;
13038 esac
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13040 $as_echo "$dynamic_linker" >&6; }
13041 test "$dynamic_linker" = no && can_build_shared=no
13042
13043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13044 if test "$GCC" = yes; then
13045   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13046 fi
13047
13048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13049   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13050 fi
13051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13052   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13053 fi
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13148 hardcode_action=
13149 if test -n "$hardcode_libdir_flag_spec" ||
13150    test -n "$runpath_var" ||
13151    test "X$hardcode_automatic" = "Xyes" ; then
13152
13153   # We can hardcode non-existent directories.
13154   if test "$hardcode_direct" != no &&
13155      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13156      # have to relink, otherwise we might link with an installed library
13157      # when we should be linking with a yet-to-be-installed one
13158      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13159      test "$hardcode_minus_L" != no; then
13160     # Linking always hardcodes the temporary library directory.
13161     hardcode_action=relink
13162   else
13163     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13164     hardcode_action=immediate
13165   fi
13166 else
13167   # We cannot hardcode anything, or else we can only hardcode existing
13168   # directories.
13169   hardcode_action=unsupported
13170 fi
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13172 $as_echo "$hardcode_action" >&6; }
13173
13174 if test "$hardcode_action" = relink ||
13175    test "$inherit_rpath" = yes; then
13176   # Fast installation is not supported
13177   enable_fast_install=no
13178 elif test "$shlibpath_overrides_runpath" = yes ||
13179      test "$enable_shared" = no; then
13180   # Fast installation is not necessary
13181   enable_fast_install=needless
13182 fi
13183
13184
13185
13186
13187
13188
13189   if test "x$enable_dlopen" != xyes; then
13190   enable_dlopen=unknown
13191   enable_dlopen_self=unknown
13192   enable_dlopen_self_static=unknown
13193 else
13194   lt_cv_dlopen=no
13195   lt_cv_dlopen_libs=
13196
13197   case $host_os in
13198   beos*)
13199     lt_cv_dlopen="load_add_on"
13200     lt_cv_dlopen_libs=
13201     lt_cv_dlopen_self=yes
13202     ;;
13203
13204   mingw* | pw32* | cegcc*)
13205     lt_cv_dlopen="LoadLibrary"
13206     lt_cv_dlopen_libs=
13207     ;;
13208
13209   cygwin*)
13210     lt_cv_dlopen="dlopen"
13211     lt_cv_dlopen_libs=
13212     ;;
13213
13214   darwin*)
13215   # if libdl is installed we need to link against it
13216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13218 if ${ac_cv_lib_dl_dlopen+:} false; then :
13219   $as_echo_n "(cached) " >&6
13220 else
13221   ac_check_lib_save_LIBS=$LIBS
13222 LIBS="-ldl  $LIBS"
13223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h.  */
13225
13226 /* Override any GCC internal prototype to avoid an error.
13227    Use char because int might match the return type of a GCC
13228    builtin and then its argument prototype would still apply.  */
13229 #ifdef __cplusplus
13230 extern "C"
13231 #endif
13232 char dlopen ();
13233 int
13234 main ()
13235 {
13236 return dlopen ();
13237   ;
13238   return 0;
13239 }
13240 _ACEOF
13241 if ac_fn_c_try_link "$LINENO"; then :
13242   ac_cv_lib_dl_dlopen=yes
13243 else
13244   ac_cv_lib_dl_dlopen=no
13245 fi
13246 rm -f core conftest.err conftest.$ac_objext \
13247     conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_lib_save_LIBS
13249 fi
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13251 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13252 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13253   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13254 else
13255
13256     lt_cv_dlopen="dyld"
13257     lt_cv_dlopen_libs=
13258     lt_cv_dlopen_self=yes
13259
13260 fi
13261
13262     ;;
13263
13264   *)
13265     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13266 if test "x$ac_cv_func_shl_load" = xyes; then :
13267   lt_cv_dlopen="shl_load"
13268 else
13269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13270 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13271 if ${ac_cv_lib_dld_shl_load+:} false; then :
13272   $as_echo_n "(cached) " >&6
13273 else
13274   ac_check_lib_save_LIBS=$LIBS
13275 LIBS="-ldld  $LIBS"
13276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13277 /* end confdefs.h.  */
13278
13279 /* Override any GCC internal prototype to avoid an error.
13280    Use char because int might match the return type of a GCC
13281    builtin and then its argument prototype would still apply.  */
13282 #ifdef __cplusplus
13283 extern "C"
13284 #endif
13285 char shl_load ();
13286 int
13287 main ()
13288 {
13289 return shl_load ();
13290   ;
13291   return 0;
13292 }
13293 _ACEOF
13294 if ac_fn_c_try_link "$LINENO"; then :
13295   ac_cv_lib_dld_shl_load=yes
13296 else
13297   ac_cv_lib_dld_shl_load=no
13298 fi
13299 rm -f core conftest.err conftest.$ac_objext \
13300     conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_lib_save_LIBS
13302 fi
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13304 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13305 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13306   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13307 else
13308   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13309 if test "x$ac_cv_func_dlopen" = xyes; then :
13310   lt_cv_dlopen="dlopen"
13311 else
13312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13313 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13314 if ${ac_cv_lib_dl_dlopen+:} false; then :
13315   $as_echo_n "(cached) " >&6
13316 else
13317   ac_check_lib_save_LIBS=$LIBS
13318 LIBS="-ldl  $LIBS"
13319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h.  */
13321
13322 /* Override any GCC internal prototype to avoid an error.
13323    Use char because int might match the return type of a GCC
13324    builtin and then its argument prototype would still apply.  */
13325 #ifdef __cplusplus
13326 extern "C"
13327 #endif
13328 char dlopen ();
13329 int
13330 main ()
13331 {
13332 return dlopen ();
13333   ;
13334   return 0;
13335 }
13336 _ACEOF
13337 if ac_fn_c_try_link "$LINENO"; then :
13338   ac_cv_lib_dl_dlopen=yes
13339 else
13340   ac_cv_lib_dl_dlopen=no
13341 fi
13342 rm -f core conftest.err conftest.$ac_objext \
13343     conftest$ac_exeext conftest.$ac_ext
13344 LIBS=$ac_check_lib_save_LIBS
13345 fi
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13347 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13348 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13349   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13350 else
13351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13352 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13353 if ${ac_cv_lib_svld_dlopen+:} false; then :
13354   $as_echo_n "(cached) " >&6
13355 else
13356   ac_check_lib_save_LIBS=$LIBS
13357 LIBS="-lsvld  $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h.  */
13360
13361 /* Override any GCC internal prototype to avoid an error.
13362    Use char because int might match the return type of a GCC
13363    builtin and then its argument prototype would still apply.  */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char dlopen ();
13368 int
13369 main ()
13370 {
13371 return dlopen ();
13372   ;
13373   return 0;
13374 }
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377   ac_cv_lib_svld_dlopen=yes
13378 else
13379   ac_cv_lib_svld_dlopen=no
13380 fi
13381 rm -f core conftest.err conftest.$ac_objext \
13382     conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_lib_save_LIBS
13384 fi
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13386 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13387 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13388   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13389 else
13390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13391 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13392 if ${ac_cv_lib_dld_dld_link+:} false; then :
13393   $as_echo_n "(cached) " >&6
13394 else
13395   ac_check_lib_save_LIBS=$LIBS
13396 LIBS="-ldld  $LIBS"
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h.  */
13399
13400 /* Override any GCC internal prototype to avoid an error.
13401    Use char because int might match the return type of a GCC
13402    builtin and then its argument prototype would still apply.  */
13403 #ifdef __cplusplus
13404 extern "C"
13405 #endif
13406 char dld_link ();
13407 int
13408 main ()
13409 {
13410 return dld_link ();
13411   ;
13412   return 0;
13413 }
13414 _ACEOF
13415 if ac_fn_c_try_link "$LINENO"; then :
13416   ac_cv_lib_dld_dld_link=yes
13417 else
13418   ac_cv_lib_dld_dld_link=no
13419 fi
13420 rm -f core conftest.err conftest.$ac_objext \
13421     conftest$ac_exeext conftest.$ac_ext
13422 LIBS=$ac_check_lib_save_LIBS
13423 fi
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13425 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13426 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13427   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13428 fi
13429
13430
13431 fi
13432
13433
13434 fi
13435
13436
13437 fi
13438
13439
13440 fi
13441
13442
13443 fi
13444
13445     ;;
13446   esac
13447
13448   if test "x$lt_cv_dlopen" != xno; then
13449     enable_dlopen=yes
13450   else
13451     enable_dlopen=no
13452   fi
13453
13454   case $lt_cv_dlopen in
13455   dlopen)
13456     save_CPPFLAGS="$CPPFLAGS"
13457     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13458
13459     save_LDFLAGS="$LDFLAGS"
13460     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13461
13462     save_LIBS="$LIBS"
13463     LIBS="$lt_cv_dlopen_libs $LIBS"
13464
13465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13466 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13467 if ${lt_cv_dlopen_self+:} false; then :
13468   $as_echo_n "(cached) " >&6
13469 else
13470           if test "$cross_compiling" = yes; then :
13471   lt_cv_dlopen_self=cross
13472 else
13473   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13474   lt_status=$lt_dlunknown
13475   cat > conftest.$ac_ext <<_LT_EOF
13476 #line $LINENO "configure"
13477 #include "confdefs.h"
13478
13479 #if HAVE_DLFCN_H
13480 #include <dlfcn.h>
13481 #endif
13482
13483 #include <stdio.h>
13484
13485 #ifdef RTLD_GLOBAL
13486 #  define LT_DLGLOBAL           RTLD_GLOBAL
13487 #else
13488 #  ifdef DL_GLOBAL
13489 #    define LT_DLGLOBAL         DL_GLOBAL
13490 #  else
13491 #    define LT_DLGLOBAL         0
13492 #  endif
13493 #endif
13494
13495 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13496    find out it does not work in some platform. */
13497 #ifndef LT_DLLAZY_OR_NOW
13498 #  ifdef RTLD_LAZY
13499 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13500 #  else
13501 #    ifdef DL_LAZY
13502 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13503 #    else
13504 #      ifdef RTLD_NOW
13505 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13506 #      else
13507 #        ifdef DL_NOW
13508 #          define LT_DLLAZY_OR_NOW      DL_NOW
13509 #        else
13510 #          define LT_DLLAZY_OR_NOW      0
13511 #        endif
13512 #      endif
13513 #    endif
13514 #  endif
13515 #endif
13516
13517 /* When -fvisbility=hidden is used, assume the code has been annotated
13518    correspondingly for the symbols needed.  */
13519 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13520 int fnord () __attribute__((visibility("default")));
13521 #endif
13522
13523 int fnord () { return 42; }
13524 int main ()
13525 {
13526   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13527   int status = $lt_dlunknown;
13528
13529   if (self)
13530     {
13531       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13532       else
13533         {
13534           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13535           else puts (dlerror ());
13536         }
13537       /* dlclose (self); */
13538     }
13539   else
13540     puts (dlerror ());
13541
13542   return status;
13543 }
13544 _LT_EOF
13545   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13546   (eval $ac_link) 2>&5
13547   ac_status=$?
13548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13549   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13550     (./conftest; exit; ) >&5 2>/dev/null
13551     lt_status=$?
13552     case x$lt_status in
13553       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13554       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13555       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13556     esac
13557   else :
13558     # compilation failed
13559     lt_cv_dlopen_self=no
13560   fi
13561 fi
13562 rm -fr conftest*
13563
13564
13565 fi
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13567 $as_echo "$lt_cv_dlopen_self" >&6; }
13568
13569     if test "x$lt_cv_dlopen_self" = xyes; then
13570       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13571       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13572 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13573 if ${lt_cv_dlopen_self_static+:} false; then :
13574   $as_echo_n "(cached) " >&6
13575 else
13576           if test "$cross_compiling" = yes; then :
13577   lt_cv_dlopen_self_static=cross
13578 else
13579   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13580   lt_status=$lt_dlunknown
13581   cat > conftest.$ac_ext <<_LT_EOF
13582 #line $LINENO "configure"
13583 #include "confdefs.h"
13584
13585 #if HAVE_DLFCN_H
13586 #include <dlfcn.h>
13587 #endif
13588
13589 #include <stdio.h>
13590
13591 #ifdef RTLD_GLOBAL
13592 #  define LT_DLGLOBAL           RTLD_GLOBAL
13593 #else
13594 #  ifdef DL_GLOBAL
13595 #    define LT_DLGLOBAL         DL_GLOBAL
13596 #  else
13597 #    define LT_DLGLOBAL         0
13598 #  endif
13599 #endif
13600
13601 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13602    find out it does not work in some platform. */
13603 #ifndef LT_DLLAZY_OR_NOW
13604 #  ifdef RTLD_LAZY
13605 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13606 #  else
13607 #    ifdef DL_LAZY
13608 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13609 #    else
13610 #      ifdef RTLD_NOW
13611 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13612 #      else
13613 #        ifdef DL_NOW
13614 #          define LT_DLLAZY_OR_NOW      DL_NOW
13615 #        else
13616 #          define LT_DLLAZY_OR_NOW      0
13617 #        endif
13618 #      endif
13619 #    endif
13620 #  endif
13621 #endif
13622
13623 /* When -fvisbility=hidden is used, assume the code has been annotated
13624    correspondingly for the symbols needed.  */
13625 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13626 int fnord () __attribute__((visibility("default")));
13627 #endif
13628
13629 int fnord () { return 42; }
13630 int main ()
13631 {
13632   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13633   int status = $lt_dlunknown;
13634
13635   if (self)
13636     {
13637       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13638       else
13639         {
13640           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13641           else puts (dlerror ());
13642         }
13643       /* dlclose (self); */
13644     }
13645   else
13646     puts (dlerror ());
13647
13648   return status;
13649 }
13650 _LT_EOF
13651   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13652   (eval $ac_link) 2>&5
13653   ac_status=$?
13654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13655   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13656     (./conftest; exit; ) >&5 2>/dev/null
13657     lt_status=$?
13658     case x$lt_status in
13659       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13660       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13661       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13662     esac
13663   else :
13664     # compilation failed
13665     lt_cv_dlopen_self_static=no
13666   fi
13667 fi
13668 rm -fr conftest*
13669
13670
13671 fi
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13673 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13674     fi
13675
13676     CPPFLAGS="$save_CPPFLAGS"
13677     LDFLAGS="$save_LDFLAGS"
13678     LIBS="$save_LIBS"
13679     ;;
13680   esac
13681
13682   case $lt_cv_dlopen_self in
13683   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13684   *) enable_dlopen_self=unknown ;;
13685   esac
13686
13687   case $lt_cv_dlopen_self_static in
13688   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13689   *) enable_dlopen_self_static=unknown ;;
13690   esac
13691 fi
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709 striplib=
13710 old_striplib=
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13712 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13713 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13714   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13715   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13717 $as_echo "yes" >&6; }
13718 else
13719 # FIXME - insert some real tests, host_os isn't really good enough
13720   case $host_os in
13721   darwin*)
13722     if test -n "$STRIP" ; then
13723       striplib="$STRIP -x"
13724       old_striplib="$STRIP -S"
13725       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13726 $as_echo "yes" >&6; }
13727     else
13728       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13729 $as_echo "no" >&6; }
13730     fi
13731     ;;
13732   *)
13733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13734 $as_echo "no" >&6; }
13735     ;;
13736   esac
13737 fi
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750   # Report which library types will actually be built
13751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13752 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13754 $as_echo "$can_build_shared" >&6; }
13755
13756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13757 $as_echo_n "checking whether to build shared libraries... " >&6; }
13758   test "$can_build_shared" = "no" && enable_shared=no
13759
13760   # On AIX, shared libraries and static libraries use the same namespace, and
13761   # are all built from PIC.
13762   case $host_os in
13763   aix3*)
13764     test "$enable_shared" = yes && enable_static=no
13765     if test -n "$RANLIB"; then
13766       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13767       postinstall_cmds='$RANLIB $lib'
13768     fi
13769     ;;
13770
13771   aix[4-9]*)
13772     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13773       test "$enable_shared" = yes && enable_static=no
13774     fi
13775     ;;
13776   esac
13777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13778 $as_echo "$enable_shared" >&6; }
13779
13780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13781 $as_echo_n "checking whether to build static libraries... " >&6; }
13782   # Make sure either enable_shared or enable_static is yes.
13783   test "$enable_shared" = yes || enable_static=yes
13784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13785 $as_echo "$enable_static" >&6; }
13786
13787
13788
13789
13790 fi
13791 ac_ext=c
13792 ac_cpp='$CPP $CPPFLAGS'
13793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13796
13797 CC="$lt_save_CC"
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813         ac_config_commands="$ac_config_commands libtool"
13814
13815
13816
13817
13818 # Only expand once:
13819
13820
13821 : ${CONFIG_LT=./config.lt}
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
13823 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
13824 as_write_fail=0
13825 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
13826 #! $SHELL
13827 # Generated by $as_me.
13828 # Run this file to recreate a libtool stub with the current configuration.
13829 SHELL=\${CONFIG_SHELL-$SHELL}
13830 export SHELL
13831 _ASEOF
13832 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
13833 ## -------------------- ##
13834 ## M4sh Initialization. ##
13835 ## -------------------- ##
13836
13837 # Be more Bourne compatible
13838 DUALCASE=1; export DUALCASE # for MKS sh
13839 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13840   emulate sh
13841   NULLCMD=:
13842   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13843   # is contrary to our usage.  Disable this feature.
13844   alias -g '${1+"$@"}'='"$@"'
13845   setopt NO_GLOB_SUBST
13846 else
13847   case `(set -o) 2>/dev/null` in #(
13848   *posix*) :
13849     set -o posix ;; #(
13850   *) :
13851      ;;
13852 esac
13853 fi
13854
13855
13856 as_nl='
13857 '
13858 export as_nl
13859 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13860 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13861 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13863 # Prefer a ksh shell builtin over an external printf program on Solaris,
13864 # but without wasting forks for bash or zsh.
13865 if test -z "$BASH_VERSION$ZSH_VERSION" \
13866     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13867   as_echo='print -r --'
13868   as_echo_n='print -rn --'
13869 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13870   as_echo='printf %s\n'
13871   as_echo_n='printf %s'
13872 else
13873   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13874     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13875     as_echo_n='/usr/ucb/echo -n'
13876   else
13877     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13878     as_echo_n_body='eval
13879       arg=$1;
13880       case $arg in #(
13881       *"$as_nl"*)
13882         expr "X$arg" : "X\\(.*\\)$as_nl";
13883         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13884       esac;
13885       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13886     '
13887     export as_echo_n_body
13888     as_echo_n='sh -c $as_echo_n_body as_echo'
13889   fi
13890   export as_echo_body
13891   as_echo='sh -c $as_echo_body as_echo'
13892 fi
13893
13894 # The user is always right.
13895 if test "${PATH_SEPARATOR+set}" != set; then
13896   PATH_SEPARATOR=:
13897   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13898     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13899       PATH_SEPARATOR=';'
13900   }
13901 fi
13902
13903
13904 # IFS
13905 # We need space, tab and new line, in precisely that order.  Quoting is
13906 # there to prevent editors from complaining about space-tab.
13907 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13908 # splitting by setting IFS to empty value.)
13909 IFS=" ""        $as_nl"
13910
13911 # Find who we are.  Look in the path if we contain no directory separator.
13912 as_myself=
13913 case $0 in #((
13914   *[\\/]* ) as_myself=$0 ;;
13915   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13916 for as_dir in $PATH
13917 do
13918   IFS=$as_save_IFS
13919   test -z "$as_dir" && as_dir=.
13920     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13921   done
13922 IFS=$as_save_IFS
13923
13924      ;;
13925 esac
13926 # We did not find ourselves, most probably we were run as `sh COMMAND'
13927 # in which case we are not to be found in the path.
13928 if test "x$as_myself" = x; then
13929   as_myself=$0
13930 fi
13931 if test ! -f "$as_myself"; then
13932   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13933   exit 1
13934 fi
13935
13936 # Unset variables that we do not need and which cause bugs (e.g. in
13937 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13938 # suppresses any "Segmentation fault" message there.  '((' could
13939 # trigger a bug in pdksh 5.2.14.
13940 for as_var in BASH_ENV ENV MAIL MAILPATH
13941 do eval test x\${$as_var+set} = xset \
13942   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13943 done
13944 PS1='$ '
13945 PS2='> '
13946 PS4='+ '
13947
13948 # NLS nuisances.
13949 LC_ALL=C
13950 export LC_ALL
13951 LANGUAGE=C
13952 export LANGUAGE
13953
13954 # CDPATH.
13955 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13956
13957
13958 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13959 # ----------------------------------------
13960 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13961 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13962 # script with STATUS, using 1 if that was 0.
13963 as_fn_error ()
13964 {
13965   as_status=$1; test $as_status -eq 0 && as_status=1
13966   if test "$4"; then
13967     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13968     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13969   fi
13970   $as_echo "$as_me: error: $2" >&2
13971   as_fn_exit $as_status
13972 } # as_fn_error
13973
13974
13975 # as_fn_set_status STATUS
13976 # -----------------------
13977 # Set $? to STATUS, without forking.
13978 as_fn_set_status ()
13979 {
13980   return $1
13981 } # as_fn_set_status
13982
13983 # as_fn_exit STATUS
13984 # -----------------
13985 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13986 as_fn_exit ()
13987 {
13988   set +e
13989   as_fn_set_status $1
13990   exit $1
13991 } # as_fn_exit
13992
13993 # as_fn_unset VAR
13994 # ---------------
13995 # Portably unset VAR.
13996 as_fn_unset ()
13997 {
13998   { eval $1=; unset $1;}
13999 }
14000 as_unset=as_fn_unset
14001 # as_fn_append VAR VALUE
14002 # ----------------------
14003 # Append the text in VALUE to the end of the definition contained in VAR. Take
14004 # advantage of any shell optimizations that allow amortized linear growth over
14005 # repeated appends, instead of the typical quadratic growth present in naive
14006 # implementations.
14007 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14008   eval 'as_fn_append ()
14009   {
14010     eval $1+=\$2
14011   }'
14012 else
14013   as_fn_append ()
14014   {
14015     eval $1=\$$1\$2
14016   }
14017 fi # as_fn_append
14018
14019 # as_fn_arith ARG...
14020 # ------------------
14021 # Perform arithmetic evaluation on the ARGs, and store the result in the
14022 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14023 # must be portable across $(()) and expr.
14024 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14025   eval 'as_fn_arith ()
14026   {
14027     as_val=$(( $* ))
14028   }'
14029 else
14030   as_fn_arith ()
14031   {
14032     as_val=`expr "$@" || test $? -eq 1`
14033   }
14034 fi # as_fn_arith
14035
14036
14037 if expr a : '\(a\)' >/dev/null 2>&1 &&
14038    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14039   as_expr=expr
14040 else
14041   as_expr=false
14042 fi
14043
14044 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14045   as_basename=basename
14046 else
14047   as_basename=false
14048 fi
14049
14050 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14051   as_dirname=dirname
14052 else
14053   as_dirname=false
14054 fi
14055
14056 as_me=`$as_basename -- "$0" ||
14057 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14058          X"$0" : 'X\(//\)$' \| \
14059          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14060 $as_echo X/"$0" |
14061     sed '/^.*\/\([^/][^/]*\)\/*$/{
14062             s//\1/
14063             q
14064           }
14065           /^X\/\(\/\/\)$/{
14066             s//\1/
14067             q
14068           }
14069           /^X\/\(\/\).*/{
14070             s//\1/
14071             q
14072           }
14073           s/.*/./; q'`
14074
14075 # Avoid depending upon Character Ranges.
14076 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14077 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14078 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14079 as_cr_digits='0123456789'
14080 as_cr_alnum=$as_cr_Letters$as_cr_digits
14081
14082 ECHO_C= ECHO_N= ECHO_T=
14083 case `echo -n x` in #(((((
14084 -n*)
14085   case `echo 'xy\c'` in
14086   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14087   xy)  ECHO_C='\c';;
14088   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14089        ECHO_T=' ';;
14090   esac;;
14091 *)
14092   ECHO_N='-n';;
14093 esac
14094
14095 rm -f conf$$ conf$$.exe conf$$.file
14096 if test -d conf$$.dir; then
14097   rm -f conf$$.dir/conf$$.file
14098 else
14099   rm -f conf$$.dir
14100   mkdir conf$$.dir 2>/dev/null
14101 fi
14102 if (echo >conf$$.file) 2>/dev/null; then
14103   if ln -s conf$$.file conf$$ 2>/dev/null; then
14104     as_ln_s='ln -s'
14105     # ... but there are two gotchas:
14106     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14107     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14108     # In both cases, we have to default to `cp -p'.
14109     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14110       as_ln_s='cp -p'
14111   elif ln conf$$.file conf$$ 2>/dev/null; then
14112     as_ln_s=ln
14113   else
14114     as_ln_s='cp -p'
14115   fi
14116 else
14117   as_ln_s='cp -p'
14118 fi
14119 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14120 rmdir conf$$.dir 2>/dev/null
14121
14122
14123 # as_fn_mkdir_p
14124 # -------------
14125 # Create "$as_dir" as a directory, including parents if necessary.
14126 as_fn_mkdir_p ()
14127 {
14128
14129   case $as_dir in #(
14130   -*) as_dir=./$as_dir;;
14131   esac
14132   test -d "$as_dir" || eval $as_mkdir_p || {
14133     as_dirs=
14134     while :; do
14135       case $as_dir in #(
14136       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14137       *) as_qdir=$as_dir;;
14138       esac
14139       as_dirs="'$as_qdir' $as_dirs"
14140       as_dir=`$as_dirname -- "$as_dir" ||
14141 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14142          X"$as_dir" : 'X\(//\)[^/]' \| \
14143          X"$as_dir" : 'X\(//\)$' \| \
14144          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14145 $as_echo X"$as_dir" |
14146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14147             s//\1/
14148             q
14149           }
14150           /^X\(\/\/\)[^/].*/{
14151             s//\1/
14152             q
14153           }
14154           /^X\(\/\/\)$/{
14155             s//\1/
14156             q
14157           }
14158           /^X\(\/\).*/{
14159             s//\1/
14160             q
14161           }
14162           s/.*/./; q'`
14163       test -d "$as_dir" && break
14164     done
14165     test -z "$as_dirs" || eval "mkdir $as_dirs"
14166   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14167
14168
14169 } # as_fn_mkdir_p
14170 if mkdir -p . 2>/dev/null; then
14171   as_mkdir_p='mkdir -p "$as_dir"'
14172 else
14173   test -d ./-p && rmdir ./-p
14174   as_mkdir_p=false
14175 fi
14176
14177 if test -x / >/dev/null 2>&1; then
14178   as_test_x='test -x'
14179 else
14180   if ls -dL / >/dev/null 2>&1; then
14181     as_ls_L_option=L
14182   else
14183     as_ls_L_option=
14184   fi
14185   as_test_x='
14186     eval sh -c '\''
14187       if test -d "$1"; then
14188         test -d "$1/.";
14189       else
14190         case $1 in #(
14191         -*)set "./$1";;
14192         esac;
14193         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14194         ???[sx]*):;;*)false;;esac;fi
14195     '\'' sh
14196   '
14197 fi
14198 as_executable_p=$as_test_x
14199
14200 # Sed expression to map a string onto a valid CPP name.
14201 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14202
14203 # Sed expression to map a string onto a valid variable name.
14204 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14205
14206
14207 exec 6>&1
14208 ## --------------------------------- ##
14209 ## Main body of "$CONFIG_LT" script. ##
14210 ## --------------------------------- ##
14211 _ASEOF
14212 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
14213
14214 cat >>"$CONFIG_LT" <<\_LTEOF
14215 lt_cl_silent=false
14216 exec 5>>config.log
14217 {
14218   echo
14219   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14220 ## Running $as_me. ##
14221 _ASBOX
14222 } >&5
14223
14224 lt_cl_help="\
14225 \`$as_me' creates a local libtool stub from the current configuration,
14226 for use in further configure time tests before the real libtool is
14227 generated.
14228
14229 Usage: $0 [OPTIONS]
14230
14231   -h, --help      print this help, then exit
14232   -V, --version   print version number, then exit
14233   -q, --quiet     do not print progress messages
14234   -d, --debug     don't remove temporary files
14235
14236 Report bugs to <bug-libtool@gnu.org>."
14237
14238 lt_cl_version="\
14239 gmime config.lt 2.6.15
14240 configured by $0, generated by GNU Autoconf 2.68.
14241
14242 Copyright (C) 2011 Free Software Foundation, Inc.
14243 This config.lt script is free software; the Free Software Foundation
14244 gives unlimited permision to copy, distribute and modify it."
14245
14246 while test $# != 0
14247 do
14248   case $1 in
14249     --version | --v* | -V )
14250       echo "$lt_cl_version"; exit 0 ;;
14251     --help | --h* | -h )
14252       echo "$lt_cl_help"; exit 0 ;;
14253     --debug | --d* | -d )
14254       debug=: ;;
14255     --quiet | --q* | --silent | --s* | -q )
14256       lt_cl_silent=: ;;
14257
14258     -*) as_fn_error $? "unrecognized option: $1
14259 Try \`$0 --help' for more information." "$LINENO" 5 ;;
14260
14261     *) as_fn_error $? "unrecognized argument: $1
14262 Try \`$0 --help' for more information." "$LINENO" 5 ;;
14263   esac
14264   shift
14265 done
14266
14267 if $lt_cl_silent; then
14268   exec 6>/dev/null
14269 fi
14270 _LTEOF
14271
14272 cat >>"$CONFIG_LT" <<_LTEOF
14273
14274
14275 # The HP-UX ksh and POSIX shell print the target directory to stdout
14276 # if CDPATH is set.
14277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14278
14279 sed_quote_subst='$sed_quote_subst'
14280 double_quote_subst='$double_quote_subst'
14281 delay_variable_subst='$delay_variable_subst'
14282 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14283 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14284 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14285 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14286 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14287 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14288 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14289 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14290 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14291 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14292 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14293 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14294 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14295 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14296 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14297 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14298 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14299 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14300 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14301 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14302 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14303 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14304 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14305 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14306 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14307 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14308 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14309 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14310 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14311 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14312 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14313 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14314 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14315 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14316 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14317 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14318 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14319 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14320 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14321 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14322 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14323 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14324 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14325 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14326 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14327 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14328 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14329 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14330 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14331 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14332 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14333 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14334 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14335 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14336 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14337 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14338 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"`'
14339 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14340 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14341 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14342 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14343 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14344 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14345 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14346 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14347 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14348 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14349 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14350 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14351 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14352 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14353 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14354 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14355 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14356 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14357 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14358 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14359 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14360 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14361 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14362 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14363 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14364 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14365 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14366 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14367 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14368 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14369 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14370 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14371 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14372 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14373 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14374 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14375 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14376 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14377 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14378 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14379 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14380 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14381 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14382 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14383 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14384 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14385 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14386 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14387 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14388 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14389 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14390 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14391 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14392 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14393 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14394 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14395 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14396 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14397 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14398 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14399 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14400 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14401 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14402 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14403 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14404 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14405 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14406 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14407 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14408 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14409 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14410 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14411 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14412
14413 LTCC='$LTCC'
14414 LTCFLAGS='$LTCFLAGS'
14415 compiler='$compiler_DEFAULT'
14416
14417 # A function that is used when there is no print builtin or printf.
14418 func_fallback_echo ()
14419 {
14420   eval 'cat <<_LTECHO_EOF
14421 \$1
14422 _LTECHO_EOF'
14423 }
14424
14425 # Quote evaled strings.
14426 for var in SHELL \
14427 ECHO \
14428 PATH_SEPARATOR \
14429 SED \
14430 GREP \
14431 EGREP \
14432 FGREP \
14433 LD \
14434 NM \
14435 LN_S \
14436 lt_SP2NL \
14437 lt_NL2SP \
14438 reload_flag \
14439 OBJDUMP \
14440 deplibs_check_method \
14441 file_magic_cmd \
14442 file_magic_glob \
14443 want_nocaseglob \
14444 DLLTOOL \
14445 sharedlib_from_linklib_cmd \
14446 AR \
14447 AR_FLAGS \
14448 archiver_list_spec \
14449 STRIP \
14450 RANLIB \
14451 CC \
14452 CFLAGS \
14453 compiler \
14454 lt_cv_sys_global_symbol_pipe \
14455 lt_cv_sys_global_symbol_to_cdecl \
14456 lt_cv_sys_global_symbol_to_c_name_address \
14457 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14458 nm_file_list_spec \
14459 lt_prog_compiler_no_builtin_flag \
14460 lt_prog_compiler_pic \
14461 lt_prog_compiler_wl \
14462 lt_prog_compiler_static \
14463 lt_cv_prog_compiler_c_o \
14464 need_locks \
14465 MANIFEST_TOOL \
14466 DSYMUTIL \
14467 NMEDIT \
14468 LIPO \
14469 OTOOL \
14470 OTOOL64 \
14471 shrext_cmds \
14472 export_dynamic_flag_spec \
14473 whole_archive_flag_spec \
14474 compiler_needs_object \
14475 with_gnu_ld \
14476 allow_undefined_flag \
14477 no_undefined_flag \
14478 hardcode_libdir_flag_spec \
14479 hardcode_libdir_separator \
14480 exclude_expsyms \
14481 include_expsyms \
14482 file_list_spec \
14483 variables_saved_for_relink \
14484 libname_spec \
14485 library_names_spec \
14486 soname_spec \
14487 install_override_mode \
14488 finish_eval \
14489 old_striplib \
14490 striplib; do
14491     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14492     *[\\\\\\\`\\"\\\$]*)
14493       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14494       ;;
14495     *)
14496       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14497       ;;
14498     esac
14499 done
14500
14501 # Double-quote double-evaled strings.
14502 for var in reload_cmds \
14503 old_postinstall_cmds \
14504 old_postuninstall_cmds \
14505 old_archive_cmds \
14506 extract_expsyms_cmds \
14507 old_archive_from_new_cmds \
14508 old_archive_from_expsyms_cmds \
14509 archive_cmds \
14510 archive_expsym_cmds \
14511 module_cmds \
14512 module_expsym_cmds \
14513 export_symbols_cmds \
14514 prelink_cmds \
14515 postlink_cmds \
14516 postinstall_cmds \
14517 postuninstall_cmds \
14518 finish_cmds \
14519 sys_lib_search_path_spec \
14520 sys_lib_dlsearch_path_spec; do
14521     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14522     *[\\\\\\\`\\"\\\$]*)
14523       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14524       ;;
14525     *)
14526       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14527       ;;
14528     esac
14529 done
14530
14531 ac_aux_dir='$ac_aux_dir'
14532 xsi_shell='$xsi_shell'
14533 lt_shell_append='$lt_shell_append'
14534
14535 # See if we are running on zsh, and set the options which allow our
14536 # commands through without removal of \ escapes INIT.
14537 if test -n "\${ZSH_VERSION+set}" ; then
14538    setopt NO_GLOB_SUBST
14539 fi
14540
14541
14542     PACKAGE='$PACKAGE'
14543     VERSION='$VERSION'
14544     TIMESTAMP='$TIMESTAMP'
14545     RM='$RM'
14546     ofile='$ofile'
14547
14548
14549
14550 _LTEOF
14551
14552 cat >>"$CONFIG_LT" <<\_LTEOF
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
14554 $as_echo "$as_me: creating $ofile" >&6;}
14555
14556
14557     # See if we are running on zsh, and set the options which allow our
14558     # commands through without removal of \ escapes.
14559     if test -n "${ZSH_VERSION+set}" ; then
14560       setopt NO_GLOB_SUBST
14561     fi
14562
14563     cfgfile="${ofile}T"
14564     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14565     $RM "$cfgfile"
14566
14567     cat <<_LT_EOF >> "$cfgfile"
14568 #! $SHELL
14569
14570 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14571 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14572 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14573 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14574 #
14575 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14576 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14577 #                 Foundation, Inc.
14578 #   Written by Gordon Matzigkeit, 1996
14579 #
14580 #   This file is part of GNU Libtool.
14581 #
14582 # GNU Libtool is free software; you can redistribute it and/or
14583 # modify it under the terms of the GNU General Public License as
14584 # published by the Free Software Foundation; either version 2 of
14585 # the License, or (at your option) any later version.
14586 #
14587 # As a special exception to the GNU General Public License,
14588 # if you distribute this file as part of a program or library that
14589 # is built using GNU Libtool, you may include this file under the
14590 # same distribution terms that you use for the rest of that program.
14591 #
14592 # GNU Libtool is distributed in the hope that it will be useful,
14593 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14594 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14595 # GNU General Public License for more details.
14596 #
14597 # You should have received a copy of the GNU General Public License
14598 # along with GNU Libtool; see the file COPYING.  If not, a copy
14599 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14600 # obtained by writing to the Free Software Foundation, Inc.,
14601 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14602
14603
14604 # The names of the tagged configurations supported by this script.
14605 available_tags=""
14606
14607 # ### BEGIN LIBTOOL CONFIG
14608
14609 # Which release of libtool.m4 was used?
14610 macro_version=$macro_version
14611 macro_revision=$macro_revision
14612
14613 # Whether or not to build shared libraries.
14614 build_libtool_libs=$enable_shared
14615
14616 # Whether or not to build static libraries.
14617 build_old_libs=$enable_static
14618
14619 # What type of objects to build.
14620 pic_mode=$pic_mode
14621
14622 # Whether or not to optimize for fast installation.
14623 fast_install=$enable_fast_install
14624
14625 # Shell to use when invoking shell scripts.
14626 SHELL=$lt_SHELL
14627
14628 # An echo program that protects backslashes.
14629 ECHO=$lt_ECHO
14630
14631 # The PATH separator for the build system.
14632 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14633
14634 # The host system.
14635 host_alias=$host_alias
14636 host=$host
14637 host_os=$host_os
14638
14639 # The build system.
14640 build_alias=$build_alias
14641 build=$build
14642 build_os=$build_os
14643
14644 # A sed program that does not truncate output.
14645 SED=$lt_SED
14646
14647 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14648 Xsed="\$SED -e 1s/^X//"
14649
14650 # A grep program that handles long lines.
14651 GREP=$lt_GREP
14652
14653 # An ERE matcher.
14654 EGREP=$lt_EGREP
14655
14656 # A literal string matcher.
14657 FGREP=$lt_FGREP
14658
14659 # A BSD- or MS-compatible name lister.
14660 NM=$lt_NM
14661
14662 # Whether we need soft or hard links.
14663 LN_S=$lt_LN_S
14664
14665 # What is the maximum length of a command?
14666 max_cmd_len=$max_cmd_len
14667
14668 # Object file suffix (normally "o").
14669 objext=$ac_objext
14670
14671 # Executable file suffix (normally "").
14672 exeext=$exeext
14673
14674 # whether the shell understands "unset".
14675 lt_unset=$lt_unset
14676
14677 # turn spaces into newlines.
14678 SP2NL=$lt_lt_SP2NL
14679
14680 # turn newlines into spaces.
14681 NL2SP=$lt_lt_NL2SP
14682
14683 # convert \$build file names to \$host format.
14684 to_host_file_cmd=$lt_cv_to_host_file_cmd
14685
14686 # convert \$build files to toolchain format.
14687 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14688
14689 # An object symbol dumper.
14690 OBJDUMP=$lt_OBJDUMP
14691
14692 # Method to check whether dependent libraries are shared objects.
14693 deplibs_check_method=$lt_deplibs_check_method
14694
14695 # Command to use when deplibs_check_method = "file_magic".
14696 file_magic_cmd=$lt_file_magic_cmd
14697
14698 # How to find potential files when deplibs_check_method = "file_magic".
14699 file_magic_glob=$lt_file_magic_glob
14700
14701 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14702 want_nocaseglob=$lt_want_nocaseglob
14703
14704 # DLL creation program.
14705 DLLTOOL=$lt_DLLTOOL
14706
14707 # Command to associate shared and link libraries.
14708 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14709
14710 # The archiver.
14711 AR=$lt_AR
14712
14713 # Flags to create an archive.
14714 AR_FLAGS=$lt_AR_FLAGS
14715
14716 # How to feed a file listing to the archiver.
14717 archiver_list_spec=$lt_archiver_list_spec
14718
14719 # A symbol stripping program.
14720 STRIP=$lt_STRIP
14721
14722 # Commands used to install an old-style archive.
14723 RANLIB=$lt_RANLIB
14724 old_postinstall_cmds=$lt_old_postinstall_cmds
14725 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14726
14727 # Whether to use a lock for old archive extraction.
14728 lock_old_archive_extraction=$lock_old_archive_extraction
14729
14730 # A C compiler.
14731 LTCC=$lt_CC
14732
14733 # LTCC compiler flags.
14734 LTCFLAGS=$lt_CFLAGS
14735
14736 # Take the output of nm and produce a listing of raw symbols and C names.
14737 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14738
14739 # Transform the output of nm in a proper C declaration.
14740 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14741
14742 # Transform the output of nm in a C name address pair.
14743 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14744
14745 # Transform the output of nm in a C name address pair when lib prefix is needed.
14746 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14747
14748 # Specify filename containing input files for \$NM.
14749 nm_file_list_spec=$lt_nm_file_list_spec
14750
14751 # The root where to search for dependent libraries,and in which our libraries should be installed.
14752 lt_sysroot=$lt_sysroot
14753
14754 # The name of the directory that contains temporary libtool files.
14755 objdir=$objdir
14756
14757 # Used to examine libraries when file_magic_cmd begins with "file".
14758 MAGIC_CMD=$MAGIC_CMD
14759
14760 # Must we lock files when doing compilation?
14761 need_locks=$lt_need_locks
14762
14763 # Manifest tool.
14764 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14765
14766 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14767 DSYMUTIL=$lt_DSYMUTIL
14768
14769 # Tool to change global to local symbols on Mac OS X.
14770 NMEDIT=$lt_NMEDIT
14771
14772 # Tool to manipulate fat objects and archives on Mac OS X.
14773 LIPO=$lt_LIPO
14774
14775 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14776 OTOOL=$lt_OTOOL
14777
14778 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14779 OTOOL64=$lt_OTOOL64
14780
14781 # Old archive suffix (normally "a").
14782 libext=$libext
14783
14784 # Shared library suffix (normally ".so").
14785 shrext_cmds=$lt_shrext_cmds
14786
14787 # The commands to extract the exported symbol list from a shared archive.
14788 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14789
14790 # Variables whose values should be saved in libtool wrapper scripts and
14791 # restored at link time.
14792 variables_saved_for_relink=$lt_variables_saved_for_relink
14793
14794 # Do we need the "lib" prefix for modules?
14795 need_lib_prefix=$need_lib_prefix
14796
14797 # Do we need a version for libraries?
14798 need_version=$need_version
14799
14800 # Library versioning type.
14801 version_type=$version_type
14802
14803 # Shared library runtime path variable.
14804 runpath_var=$runpath_var
14805
14806 # Shared library path variable.
14807 shlibpath_var=$shlibpath_var
14808
14809 # Is shlibpath searched before the hard-coded library search path?
14810 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14811
14812 # Format of library name prefix.
14813 libname_spec=$lt_libname_spec
14814
14815 # List of archive names.  First name is the real one, the rest are links.
14816 # The last name is the one that the linker finds with -lNAME
14817 library_names_spec=$lt_library_names_spec
14818
14819 # The coded name of the library, if different from the real name.
14820 soname_spec=$lt_soname_spec
14821
14822 # Permission mode override for installation of shared libraries.
14823 install_override_mode=$lt_install_override_mode
14824
14825 # Command to use after installation of a shared archive.
14826 postinstall_cmds=$lt_postinstall_cmds
14827
14828 # Command to use after uninstallation of a shared archive.
14829 postuninstall_cmds=$lt_postuninstall_cmds
14830
14831 # Commands used to finish a libtool library installation in a directory.
14832 finish_cmds=$lt_finish_cmds
14833
14834 # As "finish_cmds", except a single script fragment to be evaled but
14835 # not shown.
14836 finish_eval=$lt_finish_eval
14837
14838 # Whether we should hardcode library paths into libraries.
14839 hardcode_into_libs=$hardcode_into_libs
14840
14841 # Compile-time system search path for libraries.
14842 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14843
14844 # Run-time system search path for libraries.
14845 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14846
14847 # Whether dlopen is supported.
14848 dlopen_support=$enable_dlopen
14849
14850 # Whether dlopen of programs is supported.
14851 dlopen_self=$enable_dlopen_self
14852
14853 # Whether dlopen of statically linked programs is supported.
14854 dlopen_self_static=$enable_dlopen_self_static
14855
14856 # Commands to strip libraries.
14857 old_striplib=$lt_old_striplib
14858 striplib=$lt_striplib
14859
14860
14861 # The linker used to build libraries.
14862 LD=$lt_LD
14863
14864 # How to create reloadable object files.
14865 reload_flag=$lt_reload_flag
14866 reload_cmds=$lt_reload_cmds
14867
14868 # Commands used to build an old-style archive.
14869 old_archive_cmds=$lt_old_archive_cmds
14870
14871 # A language specific compiler.
14872 CC=$lt_compiler
14873
14874 # Is the compiler the GNU compiler?
14875 with_gcc=$GCC
14876
14877 # Compiler flag to turn off builtin functions.
14878 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14879
14880 # Additional compiler flags for building library objects.
14881 pic_flag=$lt_lt_prog_compiler_pic
14882
14883 # How to pass a linker flag through the compiler.
14884 wl=$lt_lt_prog_compiler_wl
14885
14886 # Compiler flag to prevent dynamic linking.
14887 link_static_flag=$lt_lt_prog_compiler_static
14888
14889 # Does compiler simultaneously support -c and -o options?
14890 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14891
14892 # Whether or not to add -lc for building shared libraries.
14893 build_libtool_need_lc=$archive_cmds_need_lc
14894
14895 # Whether or not to disallow shared libs when runtime libs are static.
14896 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14897
14898 # Compiler flag to allow reflexive dlopens.
14899 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14900
14901 # Compiler flag to generate shared objects directly from archives.
14902 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14903
14904 # Whether the compiler copes with passing no objects directly.
14905 compiler_needs_object=$lt_compiler_needs_object
14906
14907 # Create an old-style archive from a shared archive.
14908 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14909
14910 # Create a temporary old-style archive to link instead of a shared archive.
14911 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14912
14913 # Commands used to build a shared archive.
14914 archive_cmds=$lt_archive_cmds
14915 archive_expsym_cmds=$lt_archive_expsym_cmds
14916
14917 # Commands used to build a loadable module if different from building
14918 # a shared archive.
14919 module_cmds=$lt_module_cmds
14920 module_expsym_cmds=$lt_module_expsym_cmds
14921
14922 # Whether we are building with GNU ld or not.
14923 with_gnu_ld=$lt_with_gnu_ld
14924
14925 # Flag that allows shared libraries with undefined symbols to be built.
14926 allow_undefined_flag=$lt_allow_undefined_flag
14927
14928 # Flag that enforces no undefined symbols.
14929 no_undefined_flag=$lt_no_undefined_flag
14930
14931 # Flag to hardcode \$libdir into a binary during linking.
14932 # This must work even if \$libdir does not exist
14933 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14934
14935 # Whether we need a single "-rpath" flag with a separated argument.
14936 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14937
14938 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14939 # DIR into the resulting binary.
14940 hardcode_direct=$hardcode_direct
14941
14942 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14943 # DIR into the resulting binary and the resulting library dependency is
14944 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14945 # library is relocated.
14946 hardcode_direct_absolute=$hardcode_direct_absolute
14947
14948 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14949 # into the resulting binary.
14950 hardcode_minus_L=$hardcode_minus_L
14951
14952 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14953 # into the resulting binary.
14954 hardcode_shlibpath_var=$hardcode_shlibpath_var
14955
14956 # Set to "yes" if building a shared library automatically hardcodes DIR
14957 # into the library and all subsequent libraries and executables linked
14958 # against it.
14959 hardcode_automatic=$hardcode_automatic
14960
14961 # Set to yes if linker adds runtime paths of dependent libraries
14962 # to runtime path list.
14963 inherit_rpath=$inherit_rpath
14964
14965 # Whether libtool must link a program against all its dependency libraries.
14966 link_all_deplibs=$link_all_deplibs
14967
14968 # Set to "yes" if exported symbols are required.
14969 always_export_symbols=$always_export_symbols
14970
14971 # The commands to list exported symbols.
14972 export_symbols_cmds=$lt_export_symbols_cmds
14973
14974 # Symbols that should not be listed in the preloaded symbols.
14975 exclude_expsyms=$lt_exclude_expsyms
14976
14977 # Symbols that must always be exported.
14978 include_expsyms=$lt_include_expsyms
14979
14980 # Commands necessary for linking programs (against libraries) with templates.
14981 prelink_cmds=$lt_prelink_cmds
14982
14983 # Commands necessary for finishing linking programs.
14984 postlink_cmds=$lt_postlink_cmds
14985
14986 # Specify filename containing input files.
14987 file_list_spec=$lt_file_list_spec
14988
14989 # How to hardcode a shared library path into an executable.
14990 hardcode_action=$hardcode_action
14991
14992 # ### END LIBTOOL CONFIG
14993
14994 _LT_EOF
14995
14996   case $host_os in
14997   aix3*)
14998     cat <<\_LT_EOF >> "$cfgfile"
14999 # AIX sometimes has problems with the GCC collect2 program.  For some
15000 # reason, if we set the COLLECT_NAMES environment variable, the problems
15001 # vanish in a puff of smoke.
15002 if test "X${COLLECT_NAMES+set}" != Xset; then
15003   COLLECT_NAMES=
15004   export COLLECT_NAMES
15005 fi
15006 _LT_EOF
15007     ;;
15008   esac
15009
15010
15011 ltmain="$ac_aux_dir/ltmain.sh"
15012
15013
15014   # We use sed instead of cat because bash on DJGPP gets confused if
15015   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15016   # text mode, it properly converts lines to CR/LF.  This bash problem
15017   # is reportedly fixed, but why not run on old versions too?
15018   sed '$q' "$ltmain" >> "$cfgfile" \
15019      || (rm -f "$cfgfile"; exit 1)
15020
15021   if test x"$xsi_shell" = xyes; then
15022   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15023 func_dirname ()\
15024 {\
15025 \    case ${1} in\
15026 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15027 \      *  ) func_dirname_result="${3}" ;;\
15028 \    esac\
15029 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15030   && mv -f "$cfgfile.tmp" "$cfgfile" \
15031     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15032 test 0 -eq $? || _lt_function_replace_fail=:
15033
15034
15035   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15036 func_basename ()\
15037 {\
15038 \    func_basename_result="${1##*/}"\
15039 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15040   && mv -f "$cfgfile.tmp" "$cfgfile" \
15041     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15042 test 0 -eq $? || _lt_function_replace_fail=:
15043
15044
15045   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15046 func_dirname_and_basename ()\
15047 {\
15048 \    case ${1} in\
15049 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15050 \      *  ) func_dirname_result="${3}" ;;\
15051 \    esac\
15052 \    func_basename_result="${1##*/}"\
15053 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15054   && mv -f "$cfgfile.tmp" "$cfgfile" \
15055     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15056 test 0 -eq $? || _lt_function_replace_fail=:
15057
15058
15059   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15060 func_stripname ()\
15061 {\
15062 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15063 \    # positional parameters, so assign one to ordinary parameter first.\
15064 \    func_stripname_result=${3}\
15065 \    func_stripname_result=${func_stripname_result#"${1}"}\
15066 \    func_stripname_result=${func_stripname_result%"${2}"}\
15067 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15068   && mv -f "$cfgfile.tmp" "$cfgfile" \
15069     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15070 test 0 -eq $? || _lt_function_replace_fail=:
15071
15072
15073   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15074 func_split_long_opt ()\
15075 {\
15076 \    func_split_long_opt_name=${1%%=*}\
15077 \    func_split_long_opt_arg=${1#*=}\
15078 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15079   && mv -f "$cfgfile.tmp" "$cfgfile" \
15080     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15081 test 0 -eq $? || _lt_function_replace_fail=:
15082
15083
15084   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15085 func_split_short_opt ()\
15086 {\
15087 \    func_split_short_opt_arg=${1#??}\
15088 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15089 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15090   && mv -f "$cfgfile.tmp" "$cfgfile" \
15091     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15092 test 0 -eq $? || _lt_function_replace_fail=:
15093
15094
15095   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15096 func_lo2o ()\
15097 {\
15098 \    case ${1} in\
15099 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15100 \      *)    func_lo2o_result=${1} ;;\
15101 \    esac\
15102 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15103   && mv -f "$cfgfile.tmp" "$cfgfile" \
15104     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15105 test 0 -eq $? || _lt_function_replace_fail=:
15106
15107
15108   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15109 func_xform ()\
15110 {\
15111     func_xform_result=${1%.*}.lo\
15112 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15113   && mv -f "$cfgfile.tmp" "$cfgfile" \
15114     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15115 test 0 -eq $? || _lt_function_replace_fail=:
15116
15117
15118   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15119 func_arith ()\
15120 {\
15121     func_arith_result=$(( $* ))\
15122 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15123   && mv -f "$cfgfile.tmp" "$cfgfile" \
15124     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15125 test 0 -eq $? || _lt_function_replace_fail=:
15126
15127
15128   sed -e '/^func_len ()$/,/^} # func_len /c\
15129 func_len ()\
15130 {\
15131     func_len_result=${#1}\
15132 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15133   && mv -f "$cfgfile.tmp" "$cfgfile" \
15134     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15135 test 0 -eq $? || _lt_function_replace_fail=:
15136
15137 fi
15138
15139 if test x"$lt_shell_append" = xyes; then
15140   sed -e '/^func_append ()$/,/^} # func_append /c\
15141 func_append ()\
15142 {\
15143     eval "${1}+=\\${2}"\
15144 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15145   && mv -f "$cfgfile.tmp" "$cfgfile" \
15146     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15147 test 0 -eq $? || _lt_function_replace_fail=:
15148
15149
15150   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15151 func_append_quoted ()\
15152 {\
15153 \    func_quote_for_eval "${2}"\
15154 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15155 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15156   && mv -f "$cfgfile.tmp" "$cfgfile" \
15157     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15158 test 0 -eq $? || _lt_function_replace_fail=:
15159
15160
15161   # Save a `func_append' function call where possible by direct use of '+='
15162   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15163     && mv -f "$cfgfile.tmp" "$cfgfile" \
15164       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15165   test 0 -eq $? || _lt_function_replace_fail=:
15166 else
15167   # Save a `func_append' function call even when '+=' is not available
15168   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15169     && mv -f "$cfgfile.tmp" "$cfgfile" \
15170       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15171   test 0 -eq $? || _lt_function_replace_fail=:
15172 fi
15173
15174 if test x"$_lt_function_replace_fail" = x":"; then
15175   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15176 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15177 fi
15178
15179
15180    mv -f "$cfgfile" "$ofile" ||
15181     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15182   chmod +x "$ofile"
15183
15184
15185 as_fn_exit 0
15186 _LTEOF
15187 chmod +x "$CONFIG_LT"
15188
15189 # configure is writing to config.log, but config.lt does its own redirection,
15190 # appending to config.log, which fails on DOS, as config.log is still kept
15191 # open by configure.  Here we exec the FD to /dev/null, effectively closing
15192 # config.log, so it can be properly (re)opened and appended to by config.lt.
15193 lt_cl_success=:
15194 test "$silent" = yes &&
15195   lt_config_lt_args="$lt_config_lt_args --quiet"
15196 exec 5>/dev/null
15197 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
15198 exec 5>>config.log
15199 $lt_cl_success || as_fn_exit 1
15200
15201
15202
15203 # dolt, a replacement for libtool
15204 # Josh Triplett <josh@freedesktop.org>
15205 # Extract the first word of "bash", so it can be a program name with args.
15206 set dummy bash; ac_word=$2
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15208 $as_echo_n "checking for $ac_word... " >&6; }
15209 if ${ac_cv_path_DOLT_BASH+:} false; then :
15210   $as_echo_n "(cached) " >&6
15211 else
15212   case $DOLT_BASH in
15213   [\\/]* | ?:[\\/]*)
15214   ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
15215   ;;
15216   *)
15217   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15218 for as_dir in $PATH
15219 do
15220   IFS=$as_save_IFS
15221   test -z "$as_dir" && as_dir=.
15222     for ac_exec_ext in '' $ac_executable_extensions; do
15223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15224     ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
15225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15226     break 2
15227   fi
15228 done
15229   done
15230 IFS=$as_save_IFS
15231
15232   ;;
15233 esac
15234 fi
15235 DOLT_BASH=$ac_cv_path_DOLT_BASH
15236 if test -n "$DOLT_BASH"; then
15237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5
15238 $as_echo "$DOLT_BASH" >&6; }
15239 else
15240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15241 $as_echo "no" >&6; }
15242 fi
15243
15244
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5
15246 $as_echo_n "checking if dolt supports this host... " >&6; }
15247 dolt_supported=yes
15248 if test x$DOLT_BASH = x; then
15249     dolt_supported=no
15250 fi
15251 if test x$GCC != xyes; then
15252     dolt_supported=no
15253 fi
15254 case $host in
15255 i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
15256 |amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
15257     pic_options='-fPIC'
15258     ;;
15259 i?86-apple-darwin*)
15260     pic_options='-fno-common'
15261     ;;
15262 *)
15263     dolt_supported=no
15264     ;;
15265 esac
15266 if test x$dolt_supported = xno ; then
15267     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5
15268 $as_echo "no, falling back to libtool" >&6; }
15269     LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
15270     LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
15271 else
15272     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5
15273 $as_echo "yes, replacing libtool" >&6; }
15274
15275     cat <<__DOLTCOMPILE__EOF__ >doltcompile
15276 #!$DOLT_BASH
15277 __DOLTCOMPILE__EOF__
15278     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15279 args=("$@")
15280 for ((arg=0; arg<${#args[@]}; arg++)) ; do
15281     if test x"${args[$arg]}" = x-o ; then
15282         objarg=$((arg+1))
15283         break
15284     fi
15285 done
15286 if test x$objarg = x ; then
15287     echo 'Error: no -o on compiler command line' 1>&2
15288     exit 1
15289 fi
15290 lo="${args[$objarg]}"
15291 obj="${lo%.lo}"
15292 if test x"$lo" = x"$obj" ; then
15293     echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
15294     exit 1
15295 fi
15296 objbase="${obj##*/}"
15297 __DOLTCOMPILE__EOF__
15298
15299     if test x$enable_shared = xyes; then
15300         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15301 libobjdir="${obj%$objbase}.libs"
15302 if test ! -d "$libobjdir" ; then
15303     mkdir_out="$(mkdir "$libobjdir" 2>&1)"
15304     mkdir_ret=$?
15305     if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
15306         echo "$mkdir_out" 1>&2
15307         exit $mkdir_ret
15308     fi
15309 fi
15310 pic_object="$libobjdir/$objbase.o"
15311 args[$objarg]="$pic_object"
15312 __DOLTCOMPILE__EOF__
15313     cat <<__DOLTCOMPILE__EOF__ >>doltcompile
15314 "\${args[@]}" $pic_options -DPIC || exit \$?
15315 __DOLTCOMPILE__EOF__
15316     fi
15317
15318     if test x$enable_static = xyes; then
15319         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15320 non_pic_object="$obj.o"
15321 args[$objarg]="$non_pic_object"
15322 __DOLTCOMPILE__EOF__
15323         if test x$enable_shared = xyes; then
15324             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15325 "${args[@]}" >/dev/null 2>&1 || exit $?
15326 __DOLTCOMPILE__EOF__
15327         else
15328             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15329 "${args[@]}" || exit $?
15330 __DOLTCOMPILE__EOF__
15331         fi
15332     fi
15333
15334     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15335 {
15336 echo "# $lo - a libtool object file"
15337 echo "# Generated by doltcompile, not libtool"
15338 __DOLTCOMPILE__EOF__
15339
15340     if test x$enable_shared = xyes; then
15341         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15342 echo "pic_object='.libs/${objbase}.o'"
15343 __DOLTCOMPILE__EOF__
15344     else
15345         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15346 echo pic_object=none
15347 __DOLTCOMPILE__EOF__
15348     fi
15349
15350     if test x$enable_static = xyes; then
15351         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15352 echo "non_pic_object='${objbase}.o'"
15353 __DOLTCOMPILE__EOF__
15354     else
15355         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15356 echo non_pic_object=none
15357 __DOLTCOMPILE__EOF__
15358     fi
15359
15360     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
15361 } > "$lo"
15362 __DOLTCOMPILE__EOF__
15363
15364     chmod +x doltcompile
15365     LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
15366     LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
15367
15368     cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
15369 #!$DOLT_BASH
15370 __DOLTLIBTOOL__EOF__
15371     cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
15372 top_builddir_slash="${0%%doltlibtool}"
15373 : ${top_builddir_slash:=./}
15374 args=()
15375 modeok=false
15376 tagok=false
15377 for arg in "$@"; do
15378     case "$arg" in
15379         --mode=compile) modeok=true ;;
15380         --tag=CC|--tag=CXX) tagok=true ;;
15381         *) args[${#args[@]}]="$arg" ;;
15382     esac
15383 done
15384 if $modeok && $tagok ; then
15385     . ${top_builddir_slash}doltcompile "${args[@]}"
15386 else
15387     exec ${top_builddir_slash}libtool "$@"
15388 fi
15389 __DOLTLIBTOOL__EOF__
15390
15391     chmod +x doltlibtool
15392     LIBTOOL='$(top_builddir)/doltlibtool'
15393 fi
15394
15395
15396 # end dolt
15397
15398
15399 for ac_header in sys/mman.h
15400 do :
15401   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
15402 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
15403   cat >>confdefs.h <<_ACEOF
15404 #define HAVE_SYS_MMAN_H 1
15405 _ACEOF
15406
15407 fi
15408
15409 done
15410
15411 for ac_header in sys/param.h
15412 do :
15413   ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
15414 if test "x$ac_cv_header_sys_param_h" = xyes; then :
15415   cat >>confdefs.h <<_ACEOF
15416 #define HAVE_SYS_PARAM_H 1
15417 _ACEOF
15418
15419 fi
15420
15421 done
15422
15423 for ac_header in winsock2.h
15424 do :
15425   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
15426 if test "x$ac_cv_header_winsock2_h" = xyes; then :
15427   cat >>confdefs.h <<_ACEOF
15428 #define HAVE_WINSOCK2_H 1
15429 _ACEOF
15430
15431 fi
15432
15433 done
15434
15435 for ac_header in string.h
15436 do :
15437   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15438 if test "x$ac_cv_header_string_h" = xyes; then :
15439   cat >>confdefs.h <<_ACEOF
15440 #define HAVE_STRING_H 1
15441 _ACEOF
15442
15443 fi
15444
15445 done
15446
15447 for ac_header in stdlib.h
15448 do :
15449   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
15450 if test "x$ac_cv_header_stdlib_h" = xyes; then :
15451   cat >>confdefs.h <<_ACEOF
15452 #define HAVE_STDLIB_H 1
15453 _ACEOF
15454
15455 fi
15456
15457 done
15458
15459 for ac_header in netdb.h
15460 do :
15461   ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
15462 if test "x$ac_cv_header_netdb_h" = xyes; then :
15463   cat >>confdefs.h <<_ACEOF
15464 #define HAVE_NETDB_H 1
15465 _ACEOF
15466
15467 fi
15468
15469 done
15470
15471 for ac_header in regex.h
15472 do :
15473   ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
15474 if test "x$ac_cv_header_regex_h" = xyes; then :
15475   cat >>confdefs.h <<_ACEOF
15476 #define HAVE_REGEX_H 1
15477 _ACEOF
15478
15479 fi
15480
15481 done
15482
15483 for ac_header in time.h
15484 do :
15485   ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
15486 if test "x$ac_cv_header_time_h" = xyes; then :
15487   cat >>confdefs.h <<_ACEOF
15488 #define HAVE_TIME_H 1
15489 _ACEOF
15490
15491 fi
15492
15493 done
15494
15495 for ac_header in poll.h
15496 do :
15497   ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
15498 if test "x$ac_cv_header_poll_h" = xyes; then :
15499   cat >>confdefs.h <<_ACEOF
15500 #define HAVE_POLL_H 1
15501 _ACEOF
15502
15503 fi
15504
15505 done
15506
15507
15508 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15509 if test "x$ac_cv_type_off_t" = xyes; then :
15510
15511 else
15512
15513 cat >>confdefs.h <<_ACEOF
15514 #define off_t long int
15515 _ACEOF
15516
15517 fi
15518
15519 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15520 if test "x$ac_cv_type_size_t" = xyes; then :
15521
15522 else
15523
15524 cat >>confdefs.h <<_ACEOF
15525 #define size_t unsigned int
15526 _ACEOF
15527
15528 fi
15529
15530 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15531 if test "x$ac_cv_type_ssize_t" = xyes; then :
15532
15533 else
15534
15535 cat >>confdefs.h <<_ACEOF
15536 #define ssize_t int
15537 _ACEOF
15538
15539 fi
15540
15541 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15542 if test "x$ac_cv_type_mode_t" = xyes; then :
15543
15544 else
15545
15546 cat >>confdefs.h <<_ACEOF
15547 #define mode_t int
15548 _ACEOF
15549
15550 fi
15551
15552
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nfds_t" >&5
15554 $as_echo_n "checking for nfds_t... " >&6; }
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h.  */
15557
15558         #include <sys/types.h>
15559         #include <poll.h>
15560
15561 int
15562 main ()
15563 {
15564
15565         nfds_t nfds = 1;
15566         return nfds;
15567
15568
15569   ;
15570   return 0;
15571 }
15572 _ACEOF
15573 if ac_fn_c_try_compile "$LINENO"; then :
15574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15575 $as_echo "yes" >&6; }
15576
15577 else
15578
15579 $as_echo "#define nfds_t unsigned long int" >>confdefs.h
15580
15581         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15582 $as_echo "no" >&6; }
15583
15584 fi
15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15586
15587 for ac_func in strftime localtime gmtime_r gmtime_s
15588 do :
15589   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15592   cat >>confdefs.h <<_ACEOF
15593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15594 _ACEOF
15595
15596 fi
15597 done
15598
15599
15600
15601
15602
15603   for ac_header in $ac_header_list
15604 do :
15605   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15606 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15607 "
15608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15609   cat >>confdefs.h <<_ACEOF
15610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15611 _ACEOF
15612
15613 fi
15614
15615 done
15616
15617
15618
15619
15620
15621
15622
15623
15624 for ac_func in getpagesize
15625 do :
15626   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
15627 if test "x$ac_cv_func_getpagesize" = xyes; then :
15628   cat >>confdefs.h <<_ACEOF
15629 #define HAVE_GETPAGESIZE 1
15630 _ACEOF
15631
15632 fi
15633 done
15634
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
15636 $as_echo_n "checking for working mmap... " >&6; }
15637 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
15638   $as_echo_n "(cached) " >&6
15639 else
15640   if test "$cross_compiling" = yes; then :
15641   ac_cv_func_mmap_fixed_mapped=no
15642 else
15643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h.  */
15645 $ac_includes_default
15646 /* malloc might have been renamed as rpl_malloc. */
15647 #undef malloc
15648
15649 /* Thanks to Mike Haertel and Jim Avera for this test.
15650    Here is a matrix of mmap possibilities:
15651         mmap private not fixed
15652         mmap private fixed at somewhere currently unmapped
15653         mmap private fixed at somewhere already mapped
15654         mmap shared not fixed
15655         mmap shared fixed at somewhere currently unmapped
15656         mmap shared fixed at somewhere already mapped
15657    For private mappings, we should verify that changes cannot be read()
15658    back from the file, nor mmap's back from the file at a different
15659    address.  (There have been systems where private was not correctly
15660    implemented like the infamous i386 svr4.0, and systems where the
15661    VM page cache was not coherent with the file system buffer cache
15662    like early versions of FreeBSD and possibly contemporary NetBSD.)
15663    For shared mappings, we should conversely verify that changes get
15664    propagated back to all the places they're supposed to be.
15665
15666    Grep wants private fixed already mapped.
15667    The main things grep needs to know about mmap are:
15668    * does it exist and is it safe to write into the mmap'd area
15669    * how to use it (BSD variants)  */
15670
15671 #include <fcntl.h>
15672 #include <sys/mman.h>
15673
15674 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
15675 char *malloc ();
15676 #endif
15677
15678 /* This mess was copied from the GNU getpagesize.h.  */
15679 #ifndef HAVE_GETPAGESIZE
15680 # ifdef _SC_PAGESIZE
15681 #  define getpagesize() sysconf(_SC_PAGESIZE)
15682 # else /* no _SC_PAGESIZE */
15683 #  ifdef HAVE_SYS_PARAM_H
15684 #   include <sys/param.h>
15685 #   ifdef EXEC_PAGESIZE
15686 #    define getpagesize() EXEC_PAGESIZE
15687 #   else /* no EXEC_PAGESIZE */
15688 #    ifdef NBPG
15689 #     define getpagesize() NBPG * CLSIZE
15690 #     ifndef CLSIZE
15691 #      define CLSIZE 1
15692 #     endif /* no CLSIZE */
15693 #    else /* no NBPG */
15694 #     ifdef NBPC
15695 #      define getpagesize() NBPC
15696 #     else /* no NBPC */
15697 #      ifdef PAGESIZE
15698 #       define getpagesize() PAGESIZE
15699 #      endif /* PAGESIZE */
15700 #     endif /* no NBPC */
15701 #    endif /* no NBPG */
15702 #   endif /* no EXEC_PAGESIZE */
15703 #  else /* no HAVE_SYS_PARAM_H */
15704 #   define getpagesize() 8192   /* punt totally */
15705 #  endif /* no HAVE_SYS_PARAM_H */
15706 # endif /* no _SC_PAGESIZE */
15707
15708 #endif /* no HAVE_GETPAGESIZE */
15709
15710 int
15711 main ()
15712 {
15713   char *data, *data2, *data3;
15714   const char *cdata2;
15715   int i, pagesize;
15716   int fd, fd2;
15717
15718   pagesize = getpagesize ();
15719
15720   /* First, make a file with some known garbage in it. */
15721   data = (char *) malloc (pagesize);
15722   if (!data)
15723     return 1;
15724   for (i = 0; i < pagesize; ++i)
15725     *(data + i) = rand ();
15726   umask (0);
15727   fd = creat ("conftest.mmap", 0600);
15728   if (fd < 0)
15729     return 2;
15730   if (write (fd, data, pagesize) != pagesize)
15731     return 3;
15732   close (fd);
15733
15734   /* Next, check that the tail of a page is zero-filled.  File must have
15735      non-zero length, otherwise we risk SIGBUS for entire page.  */
15736   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
15737   if (fd2 < 0)
15738     return 4;
15739   cdata2 = "";
15740   if (write (fd2, cdata2, 1) != 1)
15741     return 5;
15742   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
15743   if (data2 == MAP_FAILED)
15744     return 6;
15745   for (i = 0; i < pagesize; ++i)
15746     if (*(data2 + i))
15747       return 7;
15748   close (fd2);
15749   if (munmap (data2, pagesize))
15750     return 8;
15751
15752   /* Next, try to mmap the file at a fixed address which already has
15753      something else allocated at it.  If we can, also make sure that
15754      we see the same garbage.  */
15755   fd = open ("conftest.mmap", O_RDWR);
15756   if (fd < 0)
15757     return 9;
15758   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15759                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
15760     return 10;
15761   for (i = 0; i < pagesize; ++i)
15762     if (*(data + i) != *(data2 + i))
15763       return 11;
15764
15765   /* Finally, make sure that changes to the mapped area do not
15766      percolate back to the file as seen by read().  (This is a bug on
15767      some variants of i386 svr4.0.)  */
15768   for (i = 0; i < pagesize; ++i)
15769     *(data2 + i) = *(data2 + i) + 1;
15770   data3 = (char *) malloc (pagesize);
15771   if (!data3)
15772     return 12;
15773   if (read (fd, data3, pagesize) != pagesize)
15774     return 13;
15775   for (i = 0; i < pagesize; ++i)
15776     if (*(data + i) != *(data3 + i))
15777       return 14;
15778   close (fd);
15779   return 0;
15780 }
15781 _ACEOF
15782 if ac_fn_c_try_run "$LINENO"; then :
15783   ac_cv_func_mmap_fixed_mapped=yes
15784 else
15785   ac_cv_func_mmap_fixed_mapped=no
15786 fi
15787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15788   conftest.$ac_objext conftest.beam conftest.$ac_ext
15789 fi
15790
15791 fi
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
15793 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
15794 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15795
15796 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
15797
15798 fi
15799 rm -f conftest.mmap conftest.txt
15800
15801 for ac_func in munmap msync
15802 do :
15803   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15805 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15806   cat >>confdefs.h <<_ACEOF
15807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15808 _ACEOF
15809
15810 fi
15811 done
15812
15813
15814 for ac_func in select poll
15815 do :
15816   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15819   cat >>confdefs.h <<_ACEOF
15820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15821 _ACEOF
15822
15823 fi
15824 done
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15836         if test -n "$ac_tool_prefix"; then
15837   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15838 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15840 $as_echo_n "checking for $ac_word... " >&6; }
15841 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15842   $as_echo_n "(cached) " >&6
15843 else
15844   case $PKG_CONFIG in
15845   [\\/]* | ?:[\\/]*)
15846   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15847   ;;
15848   *)
15849   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15850 for as_dir in $PATH
15851 do
15852   IFS=$as_save_IFS
15853   test -z "$as_dir" && as_dir=.
15854     for ac_exec_ext in '' $ac_executable_extensions; do
15855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15856     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15858     break 2
15859   fi
15860 done
15861   done
15862 IFS=$as_save_IFS
15863
15864   ;;
15865 esac
15866 fi
15867 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15868 if test -n "$PKG_CONFIG"; then
15869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15870 $as_echo "$PKG_CONFIG" >&6; }
15871 else
15872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15873 $as_echo "no" >&6; }
15874 fi
15875
15876
15877 fi
15878 if test -z "$ac_cv_path_PKG_CONFIG"; then
15879   ac_pt_PKG_CONFIG=$PKG_CONFIG
15880   # Extract the first word of "pkg-config", so it can be a program name with args.
15881 set dummy pkg-config; ac_word=$2
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15883 $as_echo_n "checking for $ac_word... " >&6; }
15884 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15885   $as_echo_n "(cached) " >&6
15886 else
15887   case $ac_pt_PKG_CONFIG in
15888   [\\/]* | ?:[\\/]*)
15889   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15890   ;;
15891   *)
15892   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15893 for as_dir in $PATH
15894 do
15895   IFS=$as_save_IFS
15896   test -z "$as_dir" && as_dir=.
15897     for ac_exec_ext in '' $ac_executable_extensions; do
15898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15899     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15901     break 2
15902   fi
15903 done
15904   done
15905 IFS=$as_save_IFS
15906
15907   ;;
15908 esac
15909 fi
15910 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15911 if test -n "$ac_pt_PKG_CONFIG"; then
15912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15913 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15914 else
15915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15916 $as_echo "no" >&6; }
15917 fi
15918
15919   if test "x$ac_pt_PKG_CONFIG" = x; then
15920     PKG_CONFIG=""
15921   else
15922     case $cross_compiling:$ac_tool_warned in
15923 yes:)
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15926 ac_tool_warned=yes ;;
15927 esac
15928     PKG_CONFIG=$ac_pt_PKG_CONFIG
15929   fi
15930 else
15931   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15932 fi
15933
15934 fi
15935 if test -n "$PKG_CONFIG"; then
15936         _pkg_min_version=0.9.0
15937         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15938 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15939         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15941 $as_echo "yes" >&6; }
15942         else
15943                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15944 $as_echo "no" >&6; }
15945                 PKG_CONFIG=""
15946         fi
15947 fi
15948
15949
15950
15951     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
15952 set dummy gtkdoc-check; ac_word=$2
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15954 $as_echo_n "checking for $ac_word... " >&6; }
15955 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
15956   $as_echo_n "(cached) " >&6
15957 else
15958   case $GTKDOC_CHECK in
15959   [\\/]* | ?:[\\/]*)
15960   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15961   ;;
15962   *)
15963   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15964 for as_dir in $PATH
15965 do
15966   IFS=$as_save_IFS
15967   test -z "$as_dir" && as_dir=.
15968     for ac_exec_ext in '' $ac_executable_extensions; do
15969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15970     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15972     break 2
15973   fi
15974 done
15975   done
15976 IFS=$as_save_IFS
15977
15978   ;;
15979 esac
15980 fi
15981 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15982 if test -n "$GTKDOC_CHECK"; then
15983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15984 $as_echo "$GTKDOC_CHECK" >&6; }
15985 else
15986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15987 $as_echo "no" >&6; }
15988 fi
15989
15990
15991   for ac_prog in gtkdoc-rebase
15992 do
15993   # Extract the first word of "$ac_prog", so it can be a program name with args.
15994 set dummy $ac_prog; ac_word=$2
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15996 $as_echo_n "checking for $ac_word... " >&6; }
15997 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15998   $as_echo_n "(cached) " >&6
15999 else
16000   case $GTKDOC_REBASE in
16001   [\\/]* | ?:[\\/]*)
16002   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
16003   ;;
16004   *)
16005   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16006 for as_dir in $PATH
16007 do
16008   IFS=$as_save_IFS
16009   test -z "$as_dir" && as_dir=.
16010     for ac_exec_ext in '' $ac_executable_extensions; do
16011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16012     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
16013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16014     break 2
16015   fi
16016 done
16017   done
16018 IFS=$as_save_IFS
16019
16020   ;;
16021 esac
16022 fi
16023 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
16024 if test -n "$GTKDOC_REBASE"; then
16025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
16026 $as_echo "$GTKDOC_REBASE" >&6; }
16027 else
16028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16029 $as_echo "no" >&6; }
16030 fi
16031
16032
16033   test -n "$GTKDOC_REBASE" && break
16034 done
16035 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
16036
16037   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
16038 set dummy gtkdoc-mkpdf; ac_word=$2
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16040 $as_echo_n "checking for $ac_word... " >&6; }
16041 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
16042   $as_echo_n "(cached) " >&6
16043 else
16044   case $GTKDOC_MKPDF in
16045   [\\/]* | ?:[\\/]*)
16046   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
16047   ;;
16048   *)
16049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16050 for as_dir in $PATH
16051 do
16052   IFS=$as_save_IFS
16053   test -z "$as_dir" && as_dir=.
16054     for ac_exec_ext in '' $ac_executable_extensions; do
16055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16056     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
16057     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16058     break 2
16059   fi
16060 done
16061   done
16062 IFS=$as_save_IFS
16063
16064   ;;
16065 esac
16066 fi
16067 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
16068 if test -n "$GTKDOC_MKPDF"; then
16069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
16070 $as_echo "$GTKDOC_MKPDF" >&6; }
16071 else
16072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16073 $as_echo "no" >&6; }
16074 fi
16075
16076
16077
16078
16079 # Check whether --with-html-dir was given.
16080 if test "${with_html_dir+set}" = set; then :
16081   withval=$with_html_dir;
16082 else
16083   with_html_dir='${datadir}/gtk-doc/html'
16084 fi
16085
16086   HTML_DIR="$with_html_dir"
16087
16088
16089     # Check whether --enable-gtk-doc was given.
16090 if test "${enable_gtk_doc+set}" = set; then :
16091   enableval=$enable_gtk_doc;
16092 else
16093   enable_gtk_doc=no
16094 fi
16095
16096
16097   if test x$enable_gtk_doc = xyes; then
16098     if test -n "$PKG_CONFIG" && \
16099     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.8\""; } >&5
16100   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.8") 2>&5
16101   ac_status=$?
16102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16103   test $ac_status = 0; }; then
16104   :
16105 else
16106   as_fn_error $? "You need to have gtk-doc >= 1.8 installed to build $PACKAGE_NAME" "$LINENO" 5
16107 fi
16108         if test "x$PACKAGE_NAME" != "xglib"; then
16109
16110 pkg_failed=no
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
16112 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
16113
16114 if test -n "$GTKDOC_DEPS_CFLAGS"; then
16115     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
16116  elif test -n "$PKG_CONFIG"; then
16117     if test -n "$PKG_CONFIG" && \
16118     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
16119   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
16120   ac_status=$?
16121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16122   test $ac_status = 0; }; then
16123   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
16124                       test "x$?" != "x0" && pkg_failed=yes
16125 else
16126   pkg_failed=yes
16127 fi
16128  else
16129     pkg_failed=untried
16130 fi
16131 if test -n "$GTKDOC_DEPS_LIBS"; then
16132     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
16133  elif test -n "$PKG_CONFIG"; then
16134     if test -n "$PKG_CONFIG" && \
16135     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
16136   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
16137   ac_status=$?
16138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16139   test $ac_status = 0; }; then
16140   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
16141                       test "x$?" != "x0" && pkg_failed=yes
16142 else
16143   pkg_failed=yes
16144 fi
16145  else
16146     pkg_failed=untried
16147 fi
16148
16149
16150
16151 if test $pkg_failed = yes; then
16152         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16153 $as_echo "no" >&6; }
16154
16155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16156         _pkg_short_errors_supported=yes
16157 else
16158         _pkg_short_errors_supported=no
16159 fi
16160         if test $_pkg_short_errors_supported = yes; then
16161                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
16162         else
16163                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
16164         fi
16165         # Put the nasty error message in config.log where it belongs
16166         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
16167
16168         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
16169
16170 $GTKDOC_DEPS_PKG_ERRORS
16171
16172 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16173 installed software in a non-standard prefix.
16174
16175 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
16176 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
16177 See the pkg-config man page for more details." "$LINENO" 5
16178 elif test $pkg_failed = untried; then
16179         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16180 $as_echo "no" >&6; }
16181         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16183 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16184 is in your PATH or set the PKG_CONFIG environment variable to the full
16185 path to pkg-config.
16186
16187 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
16188 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
16189 See the pkg-config man page for more details.
16190
16191 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16192 See \`config.log' for more details" "$LINENO" 5; }
16193 else
16194         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
16195         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
16196         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16197 $as_echo "yes" >&6; }
16198
16199 fi
16200     fi
16201   fi
16202
16203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
16204 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
16205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
16206 $as_echo "$enable_gtk_doc" >&6; }
16207
16208     # Check whether --enable-gtk-doc-html was given.
16209 if test "${enable_gtk_doc_html+set}" = set; then :
16210   enableval=$enable_gtk_doc_html;
16211 else
16212   enable_gtk_doc_html=yes
16213 fi
16214
16215     # Check whether --enable-gtk-doc-pdf was given.
16216 if test "${enable_gtk_doc_pdf+set}" = set; then :
16217   enableval=$enable_gtk_doc_pdf;
16218 else
16219   enable_gtk_doc_pdf=no
16220 fi
16221
16222
16223   if test -z "$GTKDOC_MKPDF"; then
16224     enable_gtk_doc_pdf=no
16225   fi
16226
16227
16228    if test x$enable_gtk_doc = xyes; then
16229   ENABLE_GTK_DOC_TRUE=
16230   ENABLE_GTK_DOC_FALSE='#'
16231 else
16232   ENABLE_GTK_DOC_TRUE='#'
16233   ENABLE_GTK_DOC_FALSE=
16234 fi
16235
16236    if test x$enable_gtk_doc_html = xyes; then
16237   GTK_DOC_BUILD_HTML_TRUE=
16238   GTK_DOC_BUILD_HTML_FALSE='#'
16239 else
16240   GTK_DOC_BUILD_HTML_TRUE='#'
16241   GTK_DOC_BUILD_HTML_FALSE=
16242 fi
16243
16244    if test x$enable_gtk_doc_pdf = xyes; then
16245   GTK_DOC_BUILD_PDF_TRUE=
16246   GTK_DOC_BUILD_PDF_FALSE='#'
16247 else
16248   GTK_DOC_BUILD_PDF_TRUE='#'
16249   GTK_DOC_BUILD_PDF_FALSE=
16250 fi
16251
16252    if test -n "$LIBTOOL"; then
16253   GTK_DOC_USE_LIBTOOL_TRUE=
16254   GTK_DOC_USE_LIBTOOL_FALSE='#'
16255 else
16256   GTK_DOC_USE_LIBTOOL_TRUE='#'
16257   GTK_DOC_USE_LIBTOOL_FALSE=
16258 fi
16259
16260    if test -n "$GTKDOC_REBASE"; then
16261   GTK_DOC_USE_REBASE_TRUE=
16262   GTK_DOC_USE_REBASE_FALSE='#'
16263 else
16264   GTK_DOC_USE_REBASE_TRUE='#'
16265   GTK_DOC_USE_REBASE_FALSE=
16266 fi
16267
16268
16269
16270 for ac_prog in db2html docbook2html
16271 do
16272   # Extract the first word of "$ac_prog", so it can be a program name with args.
16273 set dummy $ac_prog; ac_word=$2
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16275 $as_echo_n "checking for $ac_word... " >&6; }
16276 if ${ac_cv_path_DB2HTML+:} false; then :
16277   $as_echo_n "(cached) " >&6
16278 else
16279   case $DB2HTML in
16280   [\\/]* | ?:[\\/]*)
16281   ac_cv_path_DB2HTML="$DB2HTML" # Let the user override the test with a path.
16282   ;;
16283   *)
16284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16285 for as_dir in $PATH
16286 do
16287   IFS=$as_save_IFS
16288   test -z "$as_dir" && as_dir=.
16289     for ac_exec_ext in '' $ac_executable_extensions; do
16290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16291     ac_cv_path_DB2HTML="$as_dir/$ac_word$ac_exec_ext"
16292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16293     break 2
16294   fi
16295 done
16296   done
16297 IFS=$as_save_IFS
16298
16299   ;;
16300 esac
16301 fi
16302 DB2HTML=$ac_cv_path_DB2HTML
16303 if test -n "$DB2HTML"; then
16304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2HTML" >&5
16305 $as_echo "$DB2HTML" >&6; }
16306 else
16307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16308 $as_echo "no" >&6; }
16309 fi
16310
16311
16312   test -n "$DB2HTML" && break
16313 done
16314
16315  if test -n "$DB2HTML"; then
16316   HAVE_DOCBOOK_TRUE=
16317   HAVE_DOCBOOK_FALSE='#'
16318 else
16319   HAVE_DOCBOOK_TRUE='#'
16320   HAVE_DOCBOOK_FALSE=
16321 fi
16322
16323
16324  if test "x$enable_gtk_doc" = "xyes"; then
16325   ENABLE_GTK_DOC_TRUE=
16326   ENABLE_GTK_DOC_FALSE='#'
16327 else
16328   ENABLE_GTK_DOC_TRUE='#'
16329   ENABLE_GTK_DOC_FALSE=
16330 fi
16331
16332
16333 # Check whether --enable-profiling was given.
16334 if test "${enable_profiling+set}" = set; then :
16335   enableval=$enable_profiling;
16336 else
16337   enable_profiling="no"
16338 fi
16339
16340 if test "x$enable_profiling" = "xyes"; then
16341 # CFLAGS="-O0 -g -pg -fprofile-arcs -ftest-coverage"
16342   CFLAGS="-O0 -g -pg"
16343 fi
16344
16345 # Check whether --enable-warnings was given.
16346 if test "${enable_warnings+set}" = set; then :
16347   enableval=$enable_warnings;
16348 else
16349   enable_warnings="no"
16350 fi
16351
16352 if test "x$enable_warnings" = "xyes"; then
16353
16354 $as_echo "#define ENABLE_WARNINGS 1" >>confdefs.h
16355
16356 fi
16357
16358 # Check whether --enable-strict-parser was given.
16359 if test "${enable_strict_parser+set}" = set; then :
16360   enableval=$enable_strict_parser;
16361 else
16362   enable_strict_parser="no"
16363 fi
16364
16365 if test "x$enable_strict_parser" = "xyes"; then
16366
16367 $as_echo "#define STRICT_PARSER 1" >>confdefs.h
16368
16369 fi
16370
16371 # Check whether --enable-cryptography was given.
16372 if test "${enable_cryptography+set}" = set; then :
16373   enableval=$enable_cryptography;
16374 else
16375   enable_cryptography="yes"
16376 fi
16377
16378  if test "x$enable_cryptography" = "xyes"; then
16379   ENABLE_CRYPTOGRAPHY_TRUE=
16380   ENABLE_CRYPTOGRAPHY_FALSE='#'
16381 else
16382   ENABLE_CRYPTOGRAPHY_TRUE='#'
16383   ENABLE_CRYPTOGRAPHY_FALSE=
16384 fi
16385
16386 if test "x$enable_cryptography" = "xyes"; then
16387
16388 $as_echo "#define ENABLE_CRYPTOGRAPHY 1" >>confdefs.h
16389
16390 fi
16391
16392
16393 # Check whether --enable-glibtest was given.
16394 if test "${enable_glibtest+set}" = set; then :
16395   enableval=$enable_glibtest;
16396 else
16397   enable_glibtest=yes
16398 fi
16399
16400
16401   pkg_config_args=glib-2.0
16402   for module in . gobject gmodule gthread gio
16403   do
16404       case "$module" in
16405          gmodule)
16406              pkg_config_args="$pkg_config_args gmodule-2.0"
16407          ;;
16408          gmodule-no-export)
16409              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
16410          ;;
16411          gobject)
16412              pkg_config_args="$pkg_config_args gobject-2.0"
16413          ;;
16414          gthread)
16415              pkg_config_args="$pkg_config_args gthread-2.0"
16416          ;;
16417          gio*)
16418              pkg_config_args="$pkg_config_args $module-2.0"
16419          ;;
16420       esac
16421   done
16422
16423
16424
16425
16426
16427
16428
16429
16430 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16431         if test -n "$ac_tool_prefix"; then
16432   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16433 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16435 $as_echo_n "checking for $ac_word... " >&6; }
16436 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16437   $as_echo_n "(cached) " >&6
16438 else
16439   case $PKG_CONFIG in
16440   [\\/]* | ?:[\\/]*)
16441   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16442   ;;
16443   *)
16444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16445 for as_dir in $PATH
16446 do
16447   IFS=$as_save_IFS
16448   test -z "$as_dir" && as_dir=.
16449     for ac_exec_ext in '' $ac_executable_extensions; do
16450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16451     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16453     break 2
16454   fi
16455 done
16456   done
16457 IFS=$as_save_IFS
16458
16459   ;;
16460 esac
16461 fi
16462 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16463 if test -n "$PKG_CONFIG"; then
16464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16465 $as_echo "$PKG_CONFIG" >&6; }
16466 else
16467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16468 $as_echo "no" >&6; }
16469 fi
16470
16471
16472 fi
16473 if test -z "$ac_cv_path_PKG_CONFIG"; then
16474   ac_pt_PKG_CONFIG=$PKG_CONFIG
16475   # Extract the first word of "pkg-config", so it can be a program name with args.
16476 set dummy pkg-config; ac_word=$2
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16478 $as_echo_n "checking for $ac_word... " >&6; }
16479 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16480   $as_echo_n "(cached) " >&6
16481 else
16482   case $ac_pt_PKG_CONFIG in
16483   [\\/]* | ?:[\\/]*)
16484   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16485   ;;
16486   *)
16487   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16488 for as_dir in $PATH
16489 do
16490   IFS=$as_save_IFS
16491   test -z "$as_dir" && as_dir=.
16492     for ac_exec_ext in '' $ac_executable_extensions; do
16493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16494     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16496     break 2
16497   fi
16498 done
16499   done
16500 IFS=$as_save_IFS
16501
16502   ;;
16503 esac
16504 fi
16505 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16506 if test -n "$ac_pt_PKG_CONFIG"; then
16507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16508 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16509 else
16510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16511 $as_echo "no" >&6; }
16512 fi
16513
16514   if test "x$ac_pt_PKG_CONFIG" = x; then
16515     PKG_CONFIG=""
16516   else
16517     case $cross_compiling:$ac_tool_warned in
16518 yes:)
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16521 ac_tool_warned=yes ;;
16522 esac
16523     PKG_CONFIG=$ac_pt_PKG_CONFIG
16524   fi
16525 else
16526   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16527 fi
16528
16529 fi
16530 if test -n "$PKG_CONFIG"; then
16531         _pkg_min_version=0.16
16532         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16533 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16534         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16535                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16536 $as_echo "yes" >&6; }
16537         else
16538                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16539 $as_echo "no" >&6; }
16540                 PKG_CONFIG=""
16541         fi
16542 fi
16543
16544   no_glib=""
16545
16546   if test "x$PKG_CONFIG" = x ; then
16547     no_glib=yes
16548     PKG_CONFIG=no
16549   fi
16550
16551   min_glib_version=2.18.0
16552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
16553 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
16554
16555   if test x$PKG_CONFIG != xno ; then
16556     ## don't try to run the test against uninstalled libtool libs
16557     if $PKG_CONFIG --uninstalled $pkg_config_args; then
16558           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
16559           enable_glibtest=no
16560     fi
16561
16562     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
16563           :
16564     else
16565           no_glib=yes
16566     fi
16567   fi
16568
16569   if test x"$no_glib" = x ; then
16570     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
16571     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
16572     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
16573     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
16574
16575     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
16576     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
16577     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
16578            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
16579     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
16580            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
16581     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
16582            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
16583     if test "x$enable_glibtest" = "xyes" ; then
16584       ac_save_CFLAGS="$CFLAGS"
16585       ac_save_LIBS="$LIBS"
16586       CFLAGS="$CFLAGS $GLIB_CFLAGS"
16587       LIBS="$GLIB_LIBS $LIBS"
16588       rm -f conf.glibtest
16589       if test "$cross_compiling" = yes; then :
16590   echo $ac_n "cross compiling; assumed OK... $ac_c"
16591 else
16592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h.  */
16594
16595 #include <glib.h>
16596 #include <stdio.h>
16597 #include <stdlib.h>
16598
16599 int
16600 main ()
16601 {
16602   unsigned int major, minor, micro;
16603   char *tmp_version;
16604
16605   fclose (fopen ("conf.glibtest", "w"));
16606
16607   /* HP/UX 9 (%@#!) writes to sscanf strings */
16608   tmp_version = g_strdup("$min_glib_version");
16609   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
16610      printf("%s, bad version string\n", "$min_glib_version");
16611      exit(1);
16612    }
16613
16614   if ((glib_major_version != $glib_config_major_version) ||
16615       (glib_minor_version != $glib_config_minor_version) ||
16616       (glib_micro_version != $glib_config_micro_version))
16617     {
16618       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
16619              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
16620              glib_major_version, glib_minor_version, glib_micro_version);
16621       printf ("*** was found! If pkg-config was correct, then it is best\n");
16622       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
16623       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
16624       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
16625       printf("*** required on your system.\n");
16626       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
16627       printf("*** to point to the correct configuration files\n");
16628     }
16629   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
16630            (glib_minor_version != GLIB_MINOR_VERSION) ||
16631            (glib_micro_version != GLIB_MICRO_VERSION))
16632     {
16633       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
16634              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
16635       printf("*** library (version %d.%d.%d)\n",
16636              glib_major_version, glib_minor_version, glib_micro_version);
16637     }
16638   else
16639     {
16640       if ((glib_major_version > major) ||
16641         ((glib_major_version == major) && (glib_minor_version > minor)) ||
16642         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
16643       {
16644         return 0;
16645        }
16646      else
16647       {
16648         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
16649                glib_major_version, glib_minor_version, glib_micro_version);
16650         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
16651                major, minor, micro);
16652         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
16653         printf("***\n");
16654         printf("*** If you have already installed a sufficiently new version, this error\n");
16655         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
16656         printf("*** being found. The easiest way to fix this is to remove the old version\n");
16657         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
16658         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
16659         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
16660         printf("*** so that the correct libraries are found at run-time))\n");
16661       }
16662     }
16663   return 1;
16664 }
16665
16666 _ACEOF
16667 if ac_fn_c_try_run "$LINENO"; then :
16668
16669 else
16670   no_glib=yes
16671 fi
16672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16673   conftest.$ac_objext conftest.beam conftest.$ac_ext
16674 fi
16675
16676        CFLAGS="$ac_save_CFLAGS"
16677        LIBS="$ac_save_LIBS"
16678      fi
16679   fi
16680   if test "x$no_glib" = x ; then
16681      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
16682 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
16683      :
16684   else
16685      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16686 $as_echo "no" >&6; }
16687      if test "$PKG_CONFIG" = "no" ; then
16688        echo "*** A new enough version of pkg-config was not found."
16689        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
16690      else
16691        if test -f conf.glibtest ; then
16692         :
16693        else
16694           echo "*** Could not run GLIB test program, checking why..."
16695           ac_save_CFLAGS="$CFLAGS"
16696           ac_save_LIBS="$LIBS"
16697           CFLAGS="$CFLAGS $GLIB_CFLAGS"
16698           LIBS="$LIBS $GLIB_LIBS"
16699           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h.  */
16701
16702 #include <glib.h>
16703 #include <stdio.h>
16704
16705 int
16706 main ()
16707 {
16708  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
16709   ;
16710   return 0;
16711 }
16712 _ACEOF
16713 if ac_fn_c_try_link "$LINENO"; then :
16714    echo "*** The test program compiled, but did not run. This usually means"
16715           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
16716           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
16717           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
16718           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
16719           echo "*** is required on your system"
16720           echo "***"
16721           echo "*** If you have an old version installed, it is best to remove it, although"
16722           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
16723 else
16724    echo "*** The test program failed to compile or link. See the file config.log for the"
16725           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
16726 fi
16727 rm -f core conftest.err conftest.$ac_objext \
16728     conftest$ac_exeext conftest.$ac_ext
16729           CFLAGS="$ac_save_CFLAGS"
16730           LIBS="$ac_save_LIBS"
16731        fi
16732      fi
16733      GLIB_CFLAGS=""
16734      GLIB_LIBS=""
16735      GLIB_GENMARSHAL=""
16736      GOBJECT_QUERY=""
16737      GLIB_MKENUMS=""
16738      GLIB_COMPILE_RESOURCES=""
16739      as_fn_error $? "Cannot find GLIB: Is pkg-config in your path?" "$LINENO" 5
16740   fi
16741
16742
16743
16744
16745
16746
16747   rm -f conf.glibtest
16748
16749
16750 for ac_header in zlib.h
16751 do :
16752   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16753 if test "x$ac_cv_header_zlib_h" = xyes; then :
16754   cat >>confdefs.h <<_ACEOF
16755 #define HAVE_ZLIB_H 1
16756 _ACEOF
16757
16758 fi
16759
16760 done
16761
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
16763 $as_echo_n "checking for inflate in -lz... " >&6; }
16764 if ${ac_cv_lib_z_inflate+:} false; then :
16765   $as_echo_n "(cached) " >&6
16766 else
16767   ac_check_lib_save_LIBS=$LIBS
16768 LIBS="-lz  $LIBS"
16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h.  */
16771
16772 /* Override any GCC internal prototype to avoid an error.
16773    Use char because int might match the return type of a GCC
16774    builtin and then its argument prototype would still apply.  */
16775 #ifdef __cplusplus
16776 extern "C"
16777 #endif
16778 char inflate ();
16779 int
16780 main ()
16781 {
16782 return inflate ();
16783   ;
16784   return 0;
16785 }
16786 _ACEOF
16787 if ac_fn_c_try_link "$LINENO"; then :
16788   ac_cv_lib_z_inflate=yes
16789 else
16790   ac_cv_lib_z_inflate=no
16791 fi
16792 rm -f core conftest.err conftest.$ac_objext \
16793     conftest$ac_exeext conftest.$ac_ext
16794 LIBS=$ac_check_lib_save_LIBS
16795 fi
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
16797 $as_echo "$ac_cv_lib_z_inflate" >&6; }
16798 if test "x$ac_cv_lib_z_inflate" = xyes; then :
16799   ZLIB="-lz"
16800 fi
16801
16802
16803
16804       if test "X$prefix" = "XNONE"; then
16805     acl_final_prefix="$ac_default_prefix"
16806   else
16807     acl_final_prefix="$prefix"
16808   fi
16809   if test "X$exec_prefix" = "XNONE"; then
16810     acl_final_exec_prefix='${prefix}'
16811   else
16812     acl_final_exec_prefix="$exec_prefix"
16813   fi
16814   acl_save_prefix="$prefix"
16815   prefix="$acl_final_prefix"
16816   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16817   prefix="$acl_save_prefix"
16818
16819
16820 # Check whether --with-gnu-ld was given.
16821 if test "${with_gnu_ld+set}" = set; then :
16822   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16823 else
16824   with_gnu_ld=no
16825 fi
16826
16827 # Prepare PATH_SEPARATOR.
16828 # The user is always right.
16829 if test "${PATH_SEPARATOR+set}" != set; then
16830   echo "#! /bin/sh" >conf$$.sh
16831   echo  "exit 0"   >>conf$$.sh
16832   chmod +x conf$$.sh
16833   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16834     PATH_SEPARATOR=';'
16835   else
16836     PATH_SEPARATOR=:
16837   fi
16838   rm -f conf$$.sh
16839 fi
16840 ac_prog=ld
16841 if test "$GCC" = yes; then
16842   # Check if gcc -print-prog-name=ld gives a path.
16843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16844 $as_echo_n "checking for ld used by GCC... " >&6; }
16845   case $host in
16846   *-*-mingw*)
16847     # gcc leaves a trailing carriage return which upsets mingw
16848     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16849   *)
16850     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16851   esac
16852   case $ac_prog in
16853     # Accept absolute paths.
16854     [\\/]* | [A-Za-z]:[\\/]*)
16855       re_direlt='/[^/][^/]*/\.\./'
16856       # Canonicalize the path of ld
16857       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16858       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16859         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16860       done
16861       test -z "$LD" && LD="$ac_prog"
16862       ;;
16863   "")
16864     # If it fails, then pretend we aren't using GCC.
16865     ac_prog=ld
16866     ;;
16867   *)
16868     # If it is relative, then search for the first ld in PATH.
16869     with_gnu_ld=unknown
16870     ;;
16871   esac
16872 elif test "$with_gnu_ld" = yes; then
16873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16874 $as_echo_n "checking for GNU ld... " >&6; }
16875 else
16876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16877 $as_echo_n "checking for non-GNU ld... " >&6; }
16878 fi
16879 if ${acl_cv_path_LD+:} false; then :
16880   $as_echo_n "(cached) " >&6
16881 else
16882   if test -z "$LD"; then
16883   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16884   for ac_dir in $PATH; do
16885     test -z "$ac_dir" && ac_dir=.
16886     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16887       acl_cv_path_LD="$ac_dir/$ac_prog"
16888       # Check to see if the program is GNU ld.  I'd rather use --version,
16889       # but apparently some GNU ld's only accept -v.
16890       # Break only if it was the GNU/non-GNU ld that we prefer.
16891       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16892       *GNU* | *'with BFD'*)
16893         test "$with_gnu_ld" != no && break ;;
16894       *)
16895         test "$with_gnu_ld" != yes && break ;;
16896       esac
16897     fi
16898   done
16899   IFS="$ac_save_ifs"
16900 else
16901   acl_cv_path_LD="$LD" # Let the user override the test with a path.
16902 fi
16903 fi
16904
16905 LD="$acl_cv_path_LD"
16906 if test -n "$LD"; then
16907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16908 $as_echo "$LD" >&6; }
16909 else
16910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16911 $as_echo "no" >&6; }
16912 fi
16913 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16916 if ${acl_cv_prog_gnu_ld+:} false; then :
16917   $as_echo_n "(cached) " >&6
16918 else
16919   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16920 case `$LD -v 2>&1 </dev/null` in
16921 *GNU* | *'with BFD'*)
16922   acl_cv_prog_gnu_ld=yes ;;
16923 *)
16924   acl_cv_prog_gnu_ld=no ;;
16925 esac
16926 fi
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16928 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16929 with_gnu_ld=$acl_cv_prog_gnu_ld
16930
16931
16932
16933
16934                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16935 $as_echo_n "checking for shared library run path origin... " >&6; }
16936 if ${acl_cv_rpath+:} false; then :
16937   $as_echo_n "(cached) " >&6
16938 else
16939
16940     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16941     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16942     . ./conftest.sh
16943     rm -f ./conftest.sh
16944     acl_cv_rpath=done
16945
16946 fi
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16948 $as_echo "$acl_cv_rpath" >&6; }
16949   wl="$acl_cv_wl"
16950   acl_libext="$acl_cv_libext"
16951   acl_shlibext="$acl_cv_shlibext"
16952   acl_libname_spec="$acl_cv_libname_spec"
16953   acl_library_names_spec="$acl_cv_library_names_spec"
16954   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16955   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16956   acl_hardcode_direct="$acl_cv_hardcode_direct"
16957   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16958     # Check whether --enable-rpath was given.
16959 if test "${enable_rpath+set}" = set; then :
16960   enableval=$enable_rpath; :
16961 else
16962   enable_rpath=yes
16963 fi
16964
16965
16966
16967
16968   acl_libdirstem=lib
16969   acl_libdirstem2=
16970   case "$host_os" in
16971     solaris*)
16972                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
16973 $as_echo_n "checking for 64-bit host... " >&6; }
16974 if ${gl_cv_solaris_64bit+:} false; then :
16975   $as_echo_n "(cached) " >&6
16976 else
16977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h.  */
16979
16980 #ifdef _LP64
16981 sixtyfour bits
16982 #endif
16983
16984 _ACEOF
16985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16986   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
16987   gl_cv_solaris_64bit=yes
16988 else
16989   gl_cv_solaris_64bit=no
16990 fi
16991 rm -f conftest*
16992
16993
16994 fi
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
16996 $as_echo "$gl_cv_solaris_64bit" >&6; }
16997       if test $gl_cv_solaris_64bit = yes; then
16998         acl_libdirstem=lib/64
16999         case "$host_cpu" in
17000           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
17001           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17002         esac
17003       fi
17004       ;;
17005     *)
17006       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17007       if test -n "$searchpath"; then
17008         acl_save_IFS="${IFS=    }"; IFS=":"
17009         for searchdir in $searchpath; do
17010           if test -d "$searchdir"; then
17011             case "$searchdir" in
17012               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17013               */../ | */.. )
17014                 # Better ignore directories of this form. They are misleading.
17015                 ;;
17016               *) searchdir=`cd "$searchdir" && pwd`
17017                  case "$searchdir" in
17018                    */lib64 ) acl_libdirstem=lib64 ;;
17019                  esac ;;
17020             esac
17021           fi
17022         done
17023         IFS="$acl_save_IFS"
17024       fi
17025       ;;
17026   esac
17027   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040     use_additional=yes
17041
17042   acl_save_prefix="$prefix"
17043   prefix="$acl_final_prefix"
17044   acl_save_exec_prefix="$exec_prefix"
17045   exec_prefix="$acl_final_exec_prefix"
17046
17047     eval additional_includedir=\"$includedir\"
17048     eval additional_libdir=\"$libdir\"
17049
17050   exec_prefix="$acl_save_exec_prefix"
17051   prefix="$acl_save_prefix"
17052
17053
17054 # Check whether --with-libiconv-prefix was given.
17055 if test "${with_libiconv_prefix+set}" = set; then :
17056   withval=$with_libiconv_prefix;
17057     if test "X$withval" = "Xno"; then
17058       use_additional=no
17059     else
17060       if test "X$withval" = "X"; then
17061
17062   acl_save_prefix="$prefix"
17063   prefix="$acl_final_prefix"
17064   acl_save_exec_prefix="$exec_prefix"
17065   exec_prefix="$acl_final_exec_prefix"
17066
17067           eval additional_includedir=\"$includedir\"
17068           eval additional_libdir=\"$libdir\"
17069
17070   exec_prefix="$acl_save_exec_prefix"
17071   prefix="$acl_save_prefix"
17072
17073       else
17074         additional_includedir="$withval/include"
17075         additional_libdir="$withval/$acl_libdirstem"
17076         if test "$acl_libdirstem2" != "$acl_libdirstem" \
17077            && ! test -d "$withval/$acl_libdirstem"; then
17078           additional_libdir="$withval/$acl_libdirstem2"
17079         fi
17080       fi
17081     fi
17082
17083 fi
17084
17085       LIBICONV=
17086   LTLIBICONV=
17087   INCICONV=
17088   LIBICONV_PREFIX=
17089       HAVE_LIBICONV=
17090   rpathdirs=
17091   ltrpathdirs=
17092   names_already_handled=
17093   names_next_round='iconv '
17094   while test -n "$names_next_round"; do
17095     names_this_round="$names_next_round"
17096     names_next_round=
17097     for name in $names_this_round; do
17098       already_handled=
17099       for n in $names_already_handled; do
17100         if test "$n" = "$name"; then
17101           already_handled=yes
17102           break
17103         fi
17104       done
17105       if test -z "$already_handled"; then
17106         names_already_handled="$names_already_handled $name"
17107                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17108         eval value=\"\$HAVE_LIB$uppername\"
17109         if test -n "$value"; then
17110           if test "$value" = yes; then
17111             eval value=\"\$LIB$uppername\"
17112             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17113             eval value=\"\$LTLIB$uppername\"
17114             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17115           else
17116                                     :
17117           fi
17118         else
17119                               found_dir=
17120           found_la=
17121           found_so=
17122           found_a=
17123           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17124           if test -n "$acl_shlibext"; then
17125             shrext=".$acl_shlibext"             # typically: shrext=.so
17126           else
17127             shrext=
17128           fi
17129           if test $use_additional = yes; then
17130             dir="$additional_libdir"
17131                                     if test -n "$acl_shlibext"; then
17132               if test -f "$dir/$libname$shrext"; then
17133                 found_dir="$dir"
17134                 found_so="$dir/$libname$shrext"
17135               else
17136                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17137                   ver=`(cd "$dir" && \
17138                         for f in "$libname$shrext".*; do echo "$f"; done \
17139                         | sed -e "s,^$libname$shrext\\\\.,," \
17140                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17141                         | sed 1q ) 2>/dev/null`
17142                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17143                     found_dir="$dir"
17144                     found_so="$dir/$libname$shrext.$ver"
17145                   fi
17146                 else
17147                   eval library_names=\"$acl_library_names_spec\"
17148                   for f in $library_names; do
17149                     if test -f "$dir/$f"; then
17150                       found_dir="$dir"
17151                       found_so="$dir/$f"
17152                       break
17153                     fi
17154                   done
17155                 fi
17156               fi
17157             fi
17158                         if test "X$found_dir" = "X"; then
17159               if test -f "$dir/$libname.$acl_libext"; then
17160                 found_dir="$dir"
17161                 found_a="$dir/$libname.$acl_libext"
17162               fi
17163             fi
17164             if test "X$found_dir" != "X"; then
17165               if test -f "$dir/$libname.la"; then
17166                 found_la="$dir/$libname.la"
17167               fi
17168             fi
17169           fi
17170           if test "X$found_dir" = "X"; then
17171             for x in $LDFLAGS $LTLIBICONV; do
17172
17173   acl_save_prefix="$prefix"
17174   prefix="$acl_final_prefix"
17175   acl_save_exec_prefix="$exec_prefix"
17176   exec_prefix="$acl_final_exec_prefix"
17177   eval x=\"$x\"
17178   exec_prefix="$acl_save_exec_prefix"
17179   prefix="$acl_save_prefix"
17180
17181               case "$x" in
17182                 -L*)
17183                   dir=`echo "X$x" | sed -e 's/^X-L//'`
17184                                     if test -n "$acl_shlibext"; then
17185                     if test -f "$dir/$libname$shrext"; then
17186                       found_dir="$dir"
17187                       found_so="$dir/$libname$shrext"
17188                     else
17189                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17190                         ver=`(cd "$dir" && \
17191                               for f in "$libname$shrext".*; do echo "$f"; done \
17192                               | sed -e "s,^$libname$shrext\\\\.,," \
17193                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17194                               | sed 1q ) 2>/dev/null`
17195                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17196                           found_dir="$dir"
17197                           found_so="$dir/$libname$shrext.$ver"
17198                         fi
17199                       else
17200                         eval library_names=\"$acl_library_names_spec\"
17201                         for f in $library_names; do
17202                           if test -f "$dir/$f"; then
17203                             found_dir="$dir"
17204                             found_so="$dir/$f"
17205                             break
17206                           fi
17207                         done
17208                       fi
17209                     fi
17210                   fi
17211                                     if test "X$found_dir" = "X"; then
17212                     if test -f "$dir/$libname.$acl_libext"; then
17213                       found_dir="$dir"
17214                       found_a="$dir/$libname.$acl_libext"
17215                     fi
17216                   fi
17217                   if test "X$found_dir" != "X"; then
17218                     if test -f "$dir/$libname.la"; then
17219                       found_la="$dir/$libname.la"
17220                     fi
17221                   fi
17222                   ;;
17223               esac
17224               if test "X$found_dir" != "X"; then
17225                 break
17226               fi
17227             done
17228           fi
17229           if test "X$found_dir" != "X"; then
17230                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17231             if test "X$found_so" != "X"; then
17232                                                         if test "$enable_rpath" = no \
17233                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17234                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17235                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17236               else
17237                                                                                 haveit=
17238                 for x in $ltrpathdirs; do
17239                   if test "X$x" = "X$found_dir"; then
17240                     haveit=yes
17241                     break
17242                   fi
17243                 done
17244                 if test -z "$haveit"; then
17245                   ltrpathdirs="$ltrpathdirs $found_dir"
17246                 fi
17247                                 if test "$acl_hardcode_direct" = yes; then
17248                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17249                 else
17250                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17251                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17252                                                             haveit=
17253                     for x in $rpathdirs; do
17254                       if test "X$x" = "X$found_dir"; then
17255                         haveit=yes
17256                         break
17257                       fi
17258                     done
17259                     if test -z "$haveit"; then
17260                       rpathdirs="$rpathdirs $found_dir"
17261                     fi
17262                   else
17263                                                                                 haveit=
17264                     for x in $LDFLAGS $LIBICONV; do
17265
17266   acl_save_prefix="$prefix"
17267   prefix="$acl_final_prefix"
17268   acl_save_exec_prefix="$exec_prefix"
17269   exec_prefix="$acl_final_exec_prefix"
17270   eval x=\"$x\"
17271   exec_prefix="$acl_save_exec_prefix"
17272   prefix="$acl_save_prefix"
17273
17274                       if test "X$x" = "X-L$found_dir"; then
17275                         haveit=yes
17276                         break
17277                       fi
17278                     done
17279                     if test -z "$haveit"; then
17280                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17281                     fi
17282                     if test "$acl_hardcode_minus_L" != no; then
17283                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17284                     else
17285                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17286                     fi
17287                   fi
17288                 fi
17289               fi
17290             else
17291               if test "X$found_a" != "X"; then
17292                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17293               else
17294                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17295               fi
17296             fi
17297                         additional_includedir=
17298             case "$found_dir" in
17299               */$acl_libdirstem | */$acl_libdirstem/)
17300                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17301                 if test "$name" = 'iconv'; then
17302                   LIBICONV_PREFIX="$basedir"
17303                 fi
17304                 additional_includedir="$basedir/include"
17305                 ;;
17306               */$acl_libdirstem2 | */$acl_libdirstem2/)
17307                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17308                 if test "$name" = 'iconv'; then
17309                   LIBICONV_PREFIX="$basedir"
17310                 fi
17311                 additional_includedir="$basedir/include"
17312                 ;;
17313             esac
17314             if test "X$additional_includedir" != "X"; then
17315                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
17316                 haveit=
17317                 if test "X$additional_includedir" = "X/usr/local/include"; then
17318                   if test -n "$GCC"; then
17319                     case $host_os in
17320                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17321                     esac
17322                   fi
17323                 fi
17324                 if test -z "$haveit"; then
17325                   for x in $CPPFLAGS $INCICONV; do
17326
17327   acl_save_prefix="$prefix"
17328   prefix="$acl_final_prefix"
17329   acl_save_exec_prefix="$exec_prefix"
17330   exec_prefix="$acl_final_exec_prefix"
17331   eval x=\"$x\"
17332   exec_prefix="$acl_save_exec_prefix"
17333   prefix="$acl_save_prefix"
17334
17335                     if test "X$x" = "X-I$additional_includedir"; then
17336                       haveit=yes
17337                       break
17338                     fi
17339                   done
17340                   if test -z "$haveit"; then
17341                     if test -d "$additional_includedir"; then
17342                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
17343                     fi
17344                   fi
17345                 fi
17346               fi
17347             fi
17348                         if test -n "$found_la"; then
17349                                                         save_libdir="$libdir"
17350               case "$found_la" in
17351                 */* | *\\*) . "$found_la" ;;
17352                 *) . "./$found_la" ;;
17353               esac
17354               libdir="$save_libdir"
17355                             for dep in $dependency_libs; do
17356                 case "$dep" in
17357                   -L*)
17358                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17359                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
17360                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
17361                       haveit=
17362                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
17363                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
17364                         if test -n "$GCC"; then
17365                           case $host_os in
17366                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17367                           esac
17368                         fi
17369                       fi
17370                       if test -z "$haveit"; then
17371                         haveit=
17372                         for x in $LDFLAGS $LIBICONV; do
17373
17374   acl_save_prefix="$prefix"
17375   prefix="$acl_final_prefix"
17376   acl_save_exec_prefix="$exec_prefix"
17377   exec_prefix="$acl_final_exec_prefix"
17378   eval x=\"$x\"
17379   exec_prefix="$acl_save_exec_prefix"
17380   prefix="$acl_save_prefix"
17381
17382                           if test "X$x" = "X-L$additional_libdir"; then
17383                             haveit=yes
17384                             break
17385                           fi
17386                         done
17387                         if test -z "$haveit"; then
17388                           if test -d "$additional_libdir"; then
17389                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
17390                           fi
17391                         fi
17392                         haveit=
17393                         for x in $LDFLAGS $LTLIBICONV; do
17394
17395   acl_save_prefix="$prefix"
17396   prefix="$acl_final_prefix"
17397   acl_save_exec_prefix="$exec_prefix"
17398   exec_prefix="$acl_final_exec_prefix"
17399   eval x=\"$x\"
17400   exec_prefix="$acl_save_exec_prefix"
17401   prefix="$acl_save_prefix"
17402
17403                           if test "X$x" = "X-L$additional_libdir"; then
17404                             haveit=yes
17405                             break
17406                           fi
17407                         done
17408                         if test -z "$haveit"; then
17409                           if test -d "$additional_libdir"; then
17410                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
17411                           fi
17412                         fi
17413                       fi
17414                     fi
17415                     ;;
17416                   -R*)
17417                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
17418                     if test "$enable_rpath" != no; then
17419                                                                   haveit=
17420                       for x in $rpathdirs; do
17421                         if test "X$x" = "X$dir"; then
17422                           haveit=yes
17423                           break
17424                         fi
17425                       done
17426                       if test -z "$haveit"; then
17427                         rpathdirs="$rpathdirs $dir"
17428                       fi
17429                                                                   haveit=
17430                       for x in $ltrpathdirs; do
17431                         if test "X$x" = "X$dir"; then
17432                           haveit=yes
17433                           break
17434                         fi
17435                       done
17436                       if test -z "$haveit"; then
17437                         ltrpathdirs="$ltrpathdirs $dir"
17438                       fi
17439                     fi
17440                     ;;
17441                   -l*)
17442                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17443                     ;;
17444                   *.la)
17445                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17446                     ;;
17447                   *)
17448                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
17449                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
17450                     ;;
17451                 esac
17452               done
17453             fi
17454           else
17455                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17456             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
17457           fi
17458         fi
17459       fi
17460     done
17461   done
17462   if test "X$rpathdirs" != "X"; then
17463     if test -n "$acl_hardcode_libdir_separator"; then
17464                         alldirs=
17465       for found_dir in $rpathdirs; do
17466         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17467       done
17468             acl_save_libdir="$libdir"
17469       libdir="$alldirs"
17470       eval flag=\"$acl_hardcode_libdir_flag_spec\"
17471       libdir="$acl_save_libdir"
17472       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17473     else
17474             for found_dir in $rpathdirs; do
17475         acl_save_libdir="$libdir"
17476         libdir="$found_dir"
17477         eval flag=\"$acl_hardcode_libdir_flag_spec\"
17478         libdir="$acl_save_libdir"
17479         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17480       done
17481     fi
17482   fi
17483   if test "X$ltrpathdirs" != "X"; then
17484             for found_dir in $ltrpathdirs; do
17485       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
17486     done
17487   fi
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500           am_save_CPPFLAGS="$CPPFLAGS"
17501
17502   for element in $INCICONV; do
17503     haveit=
17504     for x in $CPPFLAGS; do
17505
17506   acl_save_prefix="$prefix"
17507   prefix="$acl_final_prefix"
17508   acl_save_exec_prefix="$exec_prefix"
17509   exec_prefix="$acl_final_exec_prefix"
17510   eval x=\"$x\"
17511   exec_prefix="$acl_save_exec_prefix"
17512   prefix="$acl_save_prefix"
17513
17514       if test "X$x" = "X$element"; then
17515         haveit=yes
17516         break
17517       fi
17518     done
17519     if test -z "$haveit"; then
17520       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17521     fi
17522   done
17523
17524
17525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17526 $as_echo_n "checking for iconv... " >&6; }
17527 if ${am_cv_func_iconv+:} false; then :
17528   $as_echo_n "(cached) " >&6
17529 else
17530
17531     am_cv_func_iconv="no, consider installing GNU libiconv"
17532     am_cv_lib_iconv=no
17533     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h.  */
17535 #include <stdlib.h>
17536 #include <iconv.h>
17537 int
17538 main ()
17539 {
17540 iconv_t cd = iconv_open("","");
17541        iconv(cd,NULL,NULL,NULL,NULL);
17542        iconv_close(cd);
17543   ;
17544   return 0;
17545 }
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548   am_cv_func_iconv=yes
17549 fi
17550 rm -f core conftest.err conftest.$ac_objext \
17551     conftest$ac_exeext conftest.$ac_ext
17552     if test "$am_cv_func_iconv" != yes; then
17553       am_save_LIBS="$LIBS"
17554       LIBS="$LIBS $LIBICONV"
17555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h.  */
17557 #include <stdlib.h>
17558 #include <iconv.h>
17559 int
17560 main ()
17561 {
17562 iconv_t cd = iconv_open("","");
17563          iconv(cd,NULL,NULL,NULL,NULL);
17564          iconv_close(cd);
17565   ;
17566   return 0;
17567 }
17568 _ACEOF
17569 if ac_fn_c_try_link "$LINENO"; then :
17570   am_cv_lib_iconv=yes
17571         am_cv_func_iconv=yes
17572 fi
17573 rm -f core conftest.err conftest.$ac_objext \
17574     conftest$ac_exeext conftest.$ac_ext
17575       LIBS="$am_save_LIBS"
17576     fi
17577
17578 fi
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17580 $as_echo "$am_cv_func_iconv" >&6; }
17581   if test "$am_cv_func_iconv" = yes; then
17582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17583 $as_echo_n "checking for working iconv... " >&6; }
17584 if ${am_cv_func_iconv_works+:} false; then :
17585   $as_echo_n "(cached) " >&6
17586 else
17587
17588             am_save_LIBS="$LIBS"
17589       if test $am_cv_lib_iconv = yes; then
17590         LIBS="$LIBS $LIBICONV"
17591       fi
17592       if test "$cross_compiling" = yes; then :
17593   case "$host_os" in
17594            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17595            *)            am_cv_func_iconv_works="guessing yes" ;;
17596          esac
17597 else
17598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h.  */
17600
17601 #include <iconv.h>
17602 #include <string.h>
17603 int main ()
17604 {
17605   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17606      returns.  */
17607   {
17608     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17609     if (cd_utf8_to_88591 != (iconv_t)(-1))
17610       {
17611         static const char input[] = "\342\202\254"; /* EURO SIGN */
17612         char buf[10];
17613         const char *inptr = input;
17614         size_t inbytesleft = strlen (input);
17615         char *outptr = buf;
17616         size_t outbytesleft = sizeof (buf);
17617         size_t res = iconv (cd_utf8_to_88591,
17618                             (char **) &inptr, &inbytesleft,
17619                             &outptr, &outbytesleft);
17620         if (res == 0)
17621           return 1;
17622       }
17623   }
17624   /* Test against Solaris 10 bug: Failures are not distinguishable from
17625      successful returns.  */
17626   {
17627     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17628     if (cd_ascii_to_88591 != (iconv_t)(-1))
17629       {
17630         static const char input[] = "\263";
17631         char buf[10];
17632         const char *inptr = input;
17633         size_t inbytesleft = strlen (input);
17634         char *outptr = buf;
17635         size_t outbytesleft = sizeof (buf);
17636         size_t res = iconv (cd_ascii_to_88591,
17637                             (char **) &inptr, &inbytesleft,
17638                             &outptr, &outbytesleft);
17639         if (res == 0)
17640           return 1;
17641       }
17642   }
17643 #if 0 /* This bug could be worked around by the caller.  */
17644   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
17645   {
17646     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17647     if (cd_88591_to_utf8 != (iconv_t)(-1))
17648       {
17649         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17650         char buf[50];
17651         const char *inptr = input;
17652         size_t inbytesleft = strlen (input);
17653         char *outptr = buf;
17654         size_t outbytesleft = sizeof (buf);
17655         size_t res = iconv (cd_88591_to_utf8,
17656                             (char **) &inptr, &inbytesleft,
17657                             &outptr, &outbytesleft);
17658         if ((int)res > 0)
17659           return 1;
17660       }
17661   }
17662 #endif
17663   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17664      provided.  */
17665   if (/* Try standardized names.  */
17666       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17667       /* Try IRIX, OSF/1 names.  */
17668       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17669       /* Try AIX names.  */
17670       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17671       /* Try HP-UX names.  */
17672       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17673     return 1;
17674   return 0;
17675 }
17676 _ACEOF
17677 if ac_fn_c_try_run "$LINENO"; then :
17678   am_cv_func_iconv_works=yes
17679 else
17680   am_cv_func_iconv_works=no
17681 fi
17682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17683   conftest.$ac_objext conftest.beam conftest.$ac_ext
17684 fi
17685
17686       LIBS="$am_save_LIBS"
17687
17688 fi
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17690 $as_echo "$am_cv_func_iconv_works" >&6; }
17691     case "$am_cv_func_iconv_works" in
17692       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17693       *)   am_func_iconv=yes ;;
17694     esac
17695   else
17696     am_func_iconv=no am_cv_lib_iconv=no
17697   fi
17698   if test "$am_func_iconv" = yes; then
17699
17700 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17701
17702   fi
17703   if test "$am_cv_lib_iconv" = yes; then
17704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17705 $as_echo_n "checking how to link with libiconv... " >&6; }
17706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17707 $as_echo "$LIBICONV" >&6; }
17708   else
17709             CPPFLAGS="$am_save_CPPFLAGS"
17710     LIBICONV=
17711     LTLIBICONV=
17712   fi
17713
17714
17715
17716   if test "$am_cv_func_iconv" = yes; then
17717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
17718 $as_echo_n "checking for iconv declaration... " >&6; }
17719     if ${am_cv_proto_iconv+:} false; then :
17720   $as_echo_n "(cached) " >&6
17721 else
17722
17723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h.  */
17725
17726 #include <stdlib.h>
17727 #include <iconv.h>
17728 extern
17729 #ifdef __cplusplus
17730 "C"
17731 #endif
17732 #if defined(__STDC__) || defined(__cplusplus)
17733 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17734 #else
17735 size_t iconv();
17736 #endif
17737
17738 int
17739 main ()
17740 {
17741
17742   ;
17743   return 0;
17744 }
17745 _ACEOF
17746 if ac_fn_c_try_compile "$LINENO"; then :
17747   am_cv_proto_iconv_arg1=""
17748 else
17749   am_cv_proto_iconv_arg1="const"
17750 fi
17751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17752       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
17753 fi
17754
17755     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17756     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17757          $am_cv_proto_iconv" >&5
17758 $as_echo "
17759          $am_cv_proto_iconv" >&6; }
17760
17761 cat >>confdefs.h <<_ACEOF
17762 #define ICONV_CONST $am_cv_proto_iconv_arg1
17763 _ACEOF
17764
17765   fi
17766
17767
17768 CFLAGS_save="$CFLAGS"
17769 CFLAGS="$CFLAGS -I$srcdir"
17770 LIBS_save="$LIBS"
17771 LIBS="$LIBS $LIBICONV"
17772
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking preferred charset formats for system iconv" >&5
17774 $as_echo_n "checking preferred charset formats for system iconv... " >&6; }
17775 if ${ac_cv_have_iconv_detect_h+:} false; then :
17776   $as_echo_n "(cached) " >&6
17777 else
17778
17779         if test "$cross_compiling" = yes; then :
17780
17781                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot run test program while cross compiling" >&5
17782 $as_echo "cannot run test program while cross compiling" >&6; }
17783                 as_fn_error $? "Copy target system's iconv-detect.h to . and configure with ac_cv_have_iconv_detect_h=yes" "$LINENO" 5
17784
17785 else
17786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h.  */
17788
17789                 #define CONFIGURE_IN
17790                 #include "iconv-detect.c"
17791
17792 _ACEOF
17793 if ac_fn_c_try_run "$LINENO"; then :
17794   ac_cv_have_iconv_detect_h=yes
17795 else
17796   ac_cv_have_iconv_detect_h=no
17797 fi
17798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17799   conftest.$ac_objext conftest.beam conftest.$ac_ext
17800 fi
17801
17802
17803 fi
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_iconv_detect_h" >&5
17805 $as_echo "$ac_cv_have_iconv_detect_h" >&6; }
17806 if test "x$ac_cv_have_iconv_detect_h" = xyes; then
17807         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
17808 $as_echo "found" >&6; }
17809
17810 $as_echo "#define HAVE_ICONV_DETECT_H 1" >>confdefs.h
17811
17812 else
17813         { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found
17814         *** The iconv-detect program was unable to determine the
17815         *** preferred charset formats recognized by your system
17816         *** iconv library. It is suggested that you install a
17817         *** working iconv library such as the one found at
17818         *** ftp://ftp.gnu.org/pub/gnu/libiconv
17819         ***
17820         *** Default charset formats will be used.
17821         " >&5
17822 $as_echo "not found
17823         *** The iconv-detect program was unable to determine the
17824         *** preferred charset formats recognized by your system
17825         *** iconv library. It is suggested that you install a
17826         *** working iconv library such as the one found at
17827         *** ftp://ftp.gnu.org/pub/gnu/libiconv
17828         ***
17829         *** Default charset formats will be used.
17830         " >&6; }
17831 fi
17832
17833 CFLAGS="$CFLAGS_save"
17834 LIBS="$LIBS_save"
17835
17836 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
17837 if test "x$ac_cv_header_getopt_h" = xyes; then :
17838
17839 fi
17840
17841
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU getopt_long" >&5
17843 $as_echo_n "checking for GNU getopt_long... " >&6; }
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h.  */
17846
17847         #include <string.h>
17848         #include <unistd.h>
17849         #define _GNU_SOURCE
17850         #include <getopt.h>
17851
17852 int
17853 main ()
17854 {
17855
17856         return getopt_long (0, NULL, NULL, NULL, NULL);
17857
17858
17859   ;
17860   return 0;
17861 }
17862 _ACEOF
17863 if ac_fn_c_try_link "$LINENO"; then :
17864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17865 $as_echo "yes" >&6; }
17866
17867 $as_echo "#define HAVE_GETOPT_H 1" >>confdefs.h
17868
17869         have_getopt="yes"
17870
17871 else
17872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17873 $as_echo "no" >&6; }
17874         have_getopt="no"
17875
17876 fi
17877 rm -f core conftest.err conftest.$ac_objext \
17878     conftest$ac_exeext conftest.$ac_ext
17879  if test "x$have_getopt" = "xyes"; then
17880   SYSTEM_GETOPT_TRUE=
17881   SYSTEM_GETOPT_FALSE='#'
17882 else
17883   SYSTEM_GETOPT_TRUE='#'
17884   SYSTEM_GETOPT_FALSE=
17885 fi
17886
17887
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
17889 $as_echo_n "checking for fsync... " >&6; }
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h.  */
17892
17893         #include <unistd.h>
17894
17895 int
17896 main ()
17897 {
17898
17899         fsync(0);
17900
17901
17902   ;
17903   return 0;
17904 }
17905 _ACEOF
17906 if ac_fn_c_try_link "$LINENO"; then :
17907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17908 $as_echo "yes" >&6; }
17909
17910 $as_echo "#define HAVE_FSYNC 1" >>confdefs.h
17911
17912
17913 else
17914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17915 $as_echo "no" >&6; }
17916
17917 fi
17918 rm -f core conftest.err conftest.$ac_objext \
17919     conftest$ac_exeext conftest.$ac_ext
17920
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAXHOSTNAMELEN" >&5
17922 $as_echo_n "checking for MAXHOSTNAMELEN... " >&6; }
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h.  */
17925
17926         #include <sys/param.h>
17927
17928 int
17929 main ()
17930 {
17931
17932         return MAXHOSTNAMELEN;
17933
17934
17935   ;
17936   return 0;
17937 }
17938 _ACEOF
17939 if ac_fn_c_try_compile "$LINENO"; then :
17940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17941 $as_echo "yes" >&6; }
17942
17943 else
17944
17945 $as_echo "#define MAXHOSTNAMELEN 64" >>confdefs.h
17946
17947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; defined as 64" >&5
17948 $as_echo "no; defined as 64" >&6; }
17949
17950 fi
17951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17952
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for domainname in struct utsname" >&5
17954 $as_echo_n "checking for domainname in struct utsname... " >&6; }
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h.  */
17957
17958         #define _GNU_SOURCE
17959         #include <sys/utsname.h>
17960
17961 int
17962 main ()
17963 {
17964
17965         struct utsname unam;
17966
17967         unam.domainname[0] = '\0';
17968
17969         return unam.domainname[0];
17970
17971   ;
17972   return 0;
17973 }
17974 _ACEOF
17975 if ac_fn_c_try_compile "$LINENO"; then :
17976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17977 $as_echo "yes" >&6; }
17978
17979 $as_echo "#define HAVE_UTSNAME_DOMAINNAME 1" >>confdefs.h
17980
17981
17982 else
17983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17984 $as_echo "no" >&6; }
17985
17986 fi
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17990 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17991 if ${ac_cv_struct_tm_gmtoff+:} false; then :
17992   $as_echo_n "(cached) " >&6
17993 else
17994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h.  */
17996
17997                 #include <time.h>
17998
17999 int
18000 main ()
18001 {
18002
18003                 struct tm tm;
18004                 tm.tm_gmtoff = 1;
18005                 return tm.tm_gmtoff;
18006
18007   ;
18008   return 0;
18009 }
18010 _ACEOF
18011 if ac_fn_c_try_compile "$LINENO"; then :
18012   ac_cv_struct_tm_gmtoff="yes"
18013 else
18014   ac_cv_struct_tm_gmtoff="no"
18015 fi
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017 fi
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
18019 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
18020 if test "$ac_cv_struct_tm_gmtoff" = "yes"; then
18021
18022 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
18023
18024 else
18025         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18026 $as_echo_n "checking for timezone variable... " >&6; }
18027 if ${ac_cv_var_timezone+:} false; then :
18028   $as_echo_n "(cached) " >&6
18029 else
18030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18031 /* end confdefs.h.  */
18032
18033                         #include <time.h>
18034
18035 int
18036 main ()
18037 {
18038
18039                         timezone = 1;
18040
18041   ;
18042   return 0;
18043 }
18044 _ACEOF
18045 if ac_fn_c_try_compile "$LINENO"; then :
18046   ac_cv_var_timezone="yes"
18047 else
18048   ac_cv_var_timezone="no"
18049 fi
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051 fi
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
18053 $as_echo "$ac_cv_var_timezone" >&6; }
18054         if test "$ac_cv_var_timezone" = "yes"; then
18055
18056 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18057
18058                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for altzone variable" >&5
18059 $as_echo_n "checking for altzone variable... " >&6; }
18060 if ${ac_cv_var_altzone+:} false; then :
18061   $as_echo_n "(cached) " >&6
18062 else
18063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h.  */
18065
18066                                 #include <time.h>
18067
18068 int
18069 main ()
18070 {
18071
18072                                 altzone = 1;
18073
18074   ;
18075   return 0;
18076 }
18077 _ACEOF
18078 if ac_fn_c_try_compile "$LINENO"; then :
18079   ac_cv_var_altzone="yes"
18080 else
18081   ac_cv_var_altzone="no"
18082 fi
18083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084 fi
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_altzone" >&5
18086 $as_echo "$ac_cv_var_altzone" >&6; }
18087                 if test "$ac_cv_var_altzone" = "yes"; then
18088
18089 $as_echo "#define HAVE_ALTZONE 1" >>confdefs.h
18090
18091                 fi
18092         else
18093                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _timezone variable" >&5
18094 $as_echo_n "checking for _timezone variable... " >&6; }
18095 if ${ac_cv_var__timezone+:} false; then :
18096   $as_echo_n "(cached) " >&6
18097 else
18098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h.  */
18100
18101                                 #include <time.h>
18102
18103 int
18104 main ()
18105 {
18106
18107                                 _timezone = 1;
18108
18109   ;
18110   return 0;
18111 }
18112 _ACEOF
18113 if ac_fn_c_try_compile "$LINENO"; then :
18114   ac_cv_var__timezone="yes"
18115 else
18116   ac_cv_var__timezone="no"
18117 fi
18118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 fi
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__timezone" >&5
18121 $as_echo "$ac_cv_var__timezone" >&6; }
18122                 if test "$ac_cv_var__timezone" = "yes"; then
18123
18124 $as_echo "#define HAVE__TIMEZONE 1" >>confdefs.h
18125
18126                 else
18127                         as_fn_error $? "unable to find a way to determine timezone" "$LINENO" 5
18128                 fi
18129         fi
18130 fi
18131
18132 # Check whether --enable-largefile was given.
18133 if test "${enable_largefile+set}" = set; then :
18134   enableval=$enable_largefile;
18135 else
18136   enable_largefile="yes"
18137 fi
18138
18139 if test "x$enable_largefile" != "xno"; then
18140     # Check whether --enable-largefile was given.
18141 if test "${enable_largefile+set}" = set; then :
18142   enableval=$enable_largefile;
18143 fi
18144
18145 if test "$enable_largefile" != no; then
18146
18147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
18148 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
18149 if ${ac_cv_sys_largefile_CC+:} false; then :
18150   $as_echo_n "(cached) " >&6
18151 else
18152   ac_cv_sys_largefile_CC=no
18153      if test "$GCC" != yes; then
18154        ac_save_CC=$CC
18155        while :; do
18156          # IRIX 6.2 and later do not support large files by default,
18157          # so use the C compiler's -n32 option if that helps.
18158          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h.  */
18160 #include <sys/types.h>
18161  /* Check that off_t can represent 2**63 - 1 correctly.
18162     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18163     since some C++ compilers masquerading as C compilers
18164     incorrectly reject 9223372036854775807.  */
18165 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18166   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18167                        && LARGE_OFF_T % 2147483647 == 1)
18168                       ? 1 : -1];
18169 int
18170 main ()
18171 {
18172
18173   ;
18174   return 0;
18175 }
18176 _ACEOF
18177          if ac_fn_c_try_compile "$LINENO"; then :
18178   break
18179 fi
18180 rm -f core conftest.err conftest.$ac_objext
18181          CC="$CC -n32"
18182          if ac_fn_c_try_compile "$LINENO"; then :
18183   ac_cv_sys_largefile_CC=' -n32'; break
18184 fi
18185 rm -f core conftest.err conftest.$ac_objext
18186          break
18187        done
18188        CC=$ac_save_CC
18189        rm -f conftest.$ac_ext
18190     fi
18191 fi
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
18193 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
18194   if test "$ac_cv_sys_largefile_CC" != no; then
18195     CC=$CC$ac_cv_sys_largefile_CC
18196   fi
18197
18198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18199 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
18200 if ${ac_cv_sys_file_offset_bits+:} false; then :
18201   $as_echo_n "(cached) " >&6
18202 else
18203   while :; do
18204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h.  */
18206 #include <sys/types.h>
18207  /* Check that off_t can represent 2**63 - 1 correctly.
18208     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18209     since some C++ compilers masquerading as C compilers
18210     incorrectly reject 9223372036854775807.  */
18211 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18212   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18213                        && LARGE_OFF_T % 2147483647 == 1)
18214                       ? 1 : -1];
18215 int
18216 main ()
18217 {
18218
18219   ;
18220   return 0;
18221 }
18222 _ACEOF
18223 if ac_fn_c_try_compile "$LINENO"; then :
18224   ac_cv_sys_file_offset_bits=no; break
18225 fi
18226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h.  */
18229 #define _FILE_OFFSET_BITS 64
18230 #include <sys/types.h>
18231  /* Check that off_t can represent 2**63 - 1 correctly.
18232     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18233     since some C++ compilers masquerading as C compilers
18234     incorrectly reject 9223372036854775807.  */
18235 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18236   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18237                        && LARGE_OFF_T % 2147483647 == 1)
18238                       ? 1 : -1];
18239 int
18240 main ()
18241 {
18242
18243   ;
18244   return 0;
18245 }
18246 _ACEOF
18247 if ac_fn_c_try_compile "$LINENO"; then :
18248   ac_cv_sys_file_offset_bits=64; break
18249 fi
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251   ac_cv_sys_file_offset_bits=unknown
18252   break
18253 done
18254 fi
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
18256 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
18257 case $ac_cv_sys_file_offset_bits in #(
18258   no | unknown) ;;
18259   *)
18260 cat >>confdefs.h <<_ACEOF
18261 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18262 _ACEOF
18263 ;;
18264 esac
18265 rm -rf conftest*
18266   if test $ac_cv_sys_file_offset_bits = unknown; then
18267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
18268 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
18269 if ${ac_cv_sys_large_files+:} false; then :
18270   $as_echo_n "(cached) " >&6
18271 else
18272   while :; do
18273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h.  */
18275 #include <sys/types.h>
18276  /* Check that off_t can represent 2**63 - 1 correctly.
18277     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18278     since some C++ compilers masquerading as C compilers
18279     incorrectly reject 9223372036854775807.  */
18280 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18281   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18282                        && LARGE_OFF_T % 2147483647 == 1)
18283                       ? 1 : -1];
18284 int
18285 main ()
18286 {
18287
18288   ;
18289   return 0;
18290 }
18291 _ACEOF
18292 if ac_fn_c_try_compile "$LINENO"; then :
18293   ac_cv_sys_large_files=no; break
18294 fi
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18297 /* end confdefs.h.  */
18298 #define _LARGE_FILES 1
18299 #include <sys/types.h>
18300  /* Check that off_t can represent 2**63 - 1 correctly.
18301     We can't simply define LARGE_OFF_T to be 9223372036854775807,
18302     since some C++ compilers masquerading as C compilers
18303     incorrectly reject 9223372036854775807.  */
18304 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18305   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18306                        && LARGE_OFF_T % 2147483647 == 1)
18307                       ? 1 : -1];
18308 int
18309 main ()
18310 {
18311
18312   ;
18313   return 0;
18314 }
18315 _ACEOF
18316 if ac_fn_c_try_compile "$LINENO"; then :
18317   ac_cv_sys_large_files=1; break
18318 fi
18319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320   ac_cv_sys_large_files=unknown
18321   break
18322 done
18323 fi
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
18325 $as_echo "$ac_cv_sys_large_files" >&6; }
18326 case $ac_cv_sys_large_files in #(
18327   no | unknown) ;;
18328   *)
18329 cat >>confdefs.h <<_ACEOF
18330 #define _LARGE_FILES $ac_cv_sys_large_files
18331 _ACEOF
18332 ;;
18333 esac
18334 rm -rf conftest*
18335   fi
18336 fi
18337
18338     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE64_SOURCE value needed for large files" >&5
18339 $as_echo_n "checking for _LARGEFILE64_SOURCE value needed for large files... " >&6; }
18340 if ${ac_cv_largefile64_source+:} false; then :
18341   $as_echo_n "(cached) " >&6
18342 else
18343
18344         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h.  */
18346
18347                 #include <sys/types.h>
18348                 #include <sys/stat.h>
18349                 #include <fcntl.h>
18350
18351 int
18352 main ()
18353 {
18354
18355                 return open ("__o_largefile", O_CREAT | O_RDWR | O_LARGEFILE, 0644);
18356
18357   ;
18358   return 0;
18359 }
18360 _ACEOF
18361 if ac_fn_c_try_compile "$LINENO"; then :
18362
18363                 ac_cv_largefile64_source="no"
18364
18365 else
18366
18367                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h.  */
18369
18370                         #define _LARGEFILE64_SOURCE
18371                         #include <sys/types.h>
18372                         #include <sys/stat.h>
18373                         #include <fcntl.h>
18374
18375 int
18376 main ()
18377 {
18378
18379                         return open ("__o_largefile", O_CREAT | O_RDWR | O_LARGEFILE, 0644);
18380
18381   ;
18382   return 0;
18383 }
18384 _ACEOF
18385 if ac_fn_c_try_compile "$LINENO"; then :
18386
18387                         ac_cv_largefile64_source="yes"
18388
18389 else
18390
18391                         ac_cv_largefile64_source="unknown"
18392
18393 fi
18394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18395
18396 fi
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398
18399 fi
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_largefile64_source" >&5
18401 $as_echo "$ac_cv_largefile64_source" >&6; }
18402
18403     enable_largefile="no"
18404
18405     if test "x$ac_cv_largefile64_source" = "xyes"; then
18406         LFS_CFLAGS="-D_LARGEFILE64_SOURCE"
18407         enable_largefile="yes"
18408     elif test "x$ac_cv_largefile64_source" = "xunknown"; then
18409
18410 $as_echo "#define O_LARGEFILE 0" >>confdefs.h
18411
18412     fi
18413
18414     if test -n "$ac_cv_sys_large_files" -a "x$ac_cv_sys_large_files" != "xno"; then
18415         LFS_CFLAGS="$LFS_CFLAGS -D_LARGE_FILES"
18416         enable_largefile="yes"
18417     fi
18418
18419     if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
18420         LFS_CFLAGS="$LFS_CFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
18421         enable_largefile="yes"
18422     fi
18423 else
18424     LFS_CFLAGS=""
18425 fi
18426  if test "x$enable_largefile" = "xyes"; then
18427   ENABLE_LARGEFILE_TRUE=
18428   ENABLE_LARGEFILE_FALSE='#'
18429 else
18430   ENABLE_LARGEFILE_TRUE='#'
18431   ENABLE_LARGEFILE_FALSE=
18432 fi
18433
18434
18435 CFLAGS_save="$CFLAGS"
18436 CFLAGS="$CFLAGS $LFS_CFLAGS"
18437 # The cast to long int works around a bug in the HP C Compiler
18438 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18439 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18440 # This bug is HP SR number 8606223364.
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
18442 $as_echo_n "checking size of ssize_t... " >&6; }
18443 if ${ac_cv_sizeof_ssize_t+:} false; then :
18444   $as_echo_n "(cached) " >&6
18445 else
18446   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t"        "$ac_includes_default"; then :
18447
18448 else
18449   if test "$ac_cv_type_ssize_t" = yes; then
18450      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18452 as_fn_error 77 "cannot compute sizeof (ssize_t)
18453 See \`config.log' for more details" "$LINENO" 5; }
18454    else
18455      ac_cv_sizeof_ssize_t=0
18456    fi
18457 fi
18458
18459 fi
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
18461 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
18462
18463
18464
18465 cat >>confdefs.h <<_ACEOF
18466 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
18467 _ACEOF
18468
18469
18470 # The cast to long int works around a bug in the HP C Compiler
18471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18473 # This bug is HP SR number 8606223364.
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
18475 $as_echo_n "checking size of size_t... " >&6; }
18476 if ${ac_cv_sizeof_size_t+:} false; then :
18477   $as_echo_n "(cached) " >&6
18478 else
18479   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
18480
18481 else
18482   if test "$ac_cv_type_size_t" = yes; then
18483      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18485 as_fn_error 77 "cannot compute sizeof (size_t)
18486 See \`config.log' for more details" "$LINENO" 5; }
18487    else
18488      ac_cv_sizeof_size_t=0
18489    fi
18490 fi
18491
18492 fi
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
18494 $as_echo "$ac_cv_sizeof_size_t" >&6; }
18495
18496
18497
18498 cat >>confdefs.h <<_ACEOF
18499 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18500 _ACEOF
18501
18502
18503 # The cast to long int works around a bug in the HP C Compiler
18504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18506 # This bug is HP SR number 8606223364.
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
18508 $as_echo_n "checking size of off_t... " >&6; }
18509 if ${ac_cv_sizeof_off_t+:} false; then :
18510   $as_echo_n "(cached) " >&6
18511 else
18512   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
18513
18514 else
18515   if test "$ac_cv_type_off_t" = yes; then
18516      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18518 as_fn_error 77 "cannot compute sizeof (off_t)
18519 See \`config.log' for more details" "$LINENO" 5; }
18520    else
18521      ac_cv_sizeof_off_t=0
18522    fi
18523 fi
18524
18525 fi
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
18527 $as_echo "$ac_cv_sizeof_off_t" >&6; }
18528
18529
18530
18531 cat >>confdefs.h <<_ACEOF
18532 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
18533 _ACEOF
18534
18535
18536 CFLAGS="$CFLAGS_save"
18537
18538 for ac_func in gethostname getdomainname getaddrinfo
18539 do :
18540   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18542 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18543   cat >>confdefs.h <<_ACEOF
18544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18545 _ACEOF
18546
18547 fi
18548 done
18549
18550
18551 LIBSOCKET=""
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lsocket" >&5
18553 $as_echo_n "checking for getaddrinfo in -lsocket... " >&6; }
18554 if ${ac_cv_lib_socket_getaddrinfo+:} false; then :
18555   $as_echo_n "(cached) " >&6
18556 else
18557   ac_check_lib_save_LIBS=$LIBS
18558 LIBS="-lsocket  $LIBS"
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h.  */
18561
18562 /* Override any GCC internal prototype to avoid an error.
18563    Use char because int might match the return type of a GCC
18564    builtin and then its argument prototype would still apply.  */
18565 #ifdef __cplusplus
18566 extern "C"
18567 #endif
18568 char getaddrinfo ();
18569 int
18570 main ()
18571 {
18572 return getaddrinfo ();
18573   ;
18574   return 0;
18575 }
18576 _ACEOF
18577 if ac_fn_c_try_link "$LINENO"; then :
18578   ac_cv_lib_socket_getaddrinfo=yes
18579 else
18580   ac_cv_lib_socket_getaddrinfo=no
18581 fi
18582 rm -f core conftest.err conftest.$ac_objext \
18583     conftest$ac_exeext conftest.$ac_ext
18584 LIBS=$ac_check_lib_save_LIBS
18585 fi
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_getaddrinfo" >&5
18587 $as_echo "$ac_cv_lib_socket_getaddrinfo" >&6; }
18588 if test "x$ac_cv_lib_socket_getaddrinfo" = xyes; then :
18589   LIBSOCKET="-lsocket"
18590 fi
18591
18592
18593 LIBNSL=""
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lnsl" >&5
18595 $as_echo_n "checking for getaddrinfo in -lnsl... " >&6; }
18596 if ${ac_cv_lib_nsl_getaddrinfo+:} false; then :
18597   $as_echo_n "(cached) " >&6
18598 else
18599   ac_check_lib_save_LIBS=$LIBS
18600 LIBS="-lnsl  $LIBS"
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h.  */
18603
18604 /* Override any GCC internal prototype to avoid an error.
18605    Use char because int might match the return type of a GCC
18606    builtin and then its argument prototype would still apply.  */
18607 #ifdef __cplusplus
18608 extern "C"
18609 #endif
18610 char getaddrinfo ();
18611 int
18612 main ()
18613 {
18614 return getaddrinfo ();
18615   ;
18616   return 0;
18617 }
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"; then :
18620   ac_cv_lib_nsl_getaddrinfo=yes
18621 else
18622   ac_cv_lib_nsl_getaddrinfo=no
18623 fi
18624 rm -f core conftest.err conftest.$ac_objext \
18625     conftest$ac_exeext conftest.$ac_ext
18626 LIBS=$ac_check_lib_save_LIBS
18627 fi
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_getaddrinfo" >&5
18629 $as_echo "$ac_cv_lib_nsl_getaddrinfo" >&6; }
18630 if test "x$ac_cv_lib_nsl_getaddrinfo" = xyes; then :
18631   LIBNSL="-lnsl"
18632 fi
18633
18634
18635 # Check whether --enable-smime was given.
18636 if test "${enable_smime+set}" = set; then :
18637   enableval=$enable_smime;
18638 else
18639   enable_smime="no"
18640 fi
18641
18642
18643 if test "x$enable_cryptography" != "xyes"; then
18644    enable_smime="no"
18645 fi
18646
18647 if test "x$enable_smime" = "xyes"; then
18648
18649 # Check whether --with-gpgme-prefix was given.
18650 if test "${with_gpgme_prefix+set}" = set; then :
18651   withval=$with_gpgme_prefix; gpgme_config_prefix="$withval"
18652 else
18653   gpgme_config_prefix=""
18654 fi
18655
18656   if test "x$gpgme_config_prefix" != x ; then
18657       GPGME_CONFIG="$gpgme_config_prefix/bin/gpgme-config"
18658   fi
18659   # Extract the first word of "gpgme-config", so it can be a program name with args.
18660 set dummy gpgme-config; ac_word=$2
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18662 $as_echo_n "checking for $ac_word... " >&6; }
18663 if ${ac_cv_path_GPGME_CONFIG+:} false; then :
18664   $as_echo_n "(cached) " >&6
18665 else
18666   case $GPGME_CONFIG in
18667   [\\/]* | ?:[\\/]*)
18668   ac_cv_path_GPGME_CONFIG="$GPGME_CONFIG" # Let the user override the test with a path.
18669   ;;
18670   *)
18671   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18672 for as_dir in $PATH
18673 do
18674   IFS=$as_save_IFS
18675   test -z "$as_dir" && as_dir=.
18676     for ac_exec_ext in '' $ac_executable_extensions; do
18677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18678     ac_cv_path_GPGME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18680     break 2
18681   fi
18682 done
18683   done
18684 IFS=$as_save_IFS
18685
18686   test -z "$ac_cv_path_GPGME_CONFIG" && ac_cv_path_GPGME_CONFIG="no"
18687   ;;
18688 esac
18689 fi
18690 GPGME_CONFIG=$ac_cv_path_GPGME_CONFIG
18691 if test -n "$GPGME_CONFIG"; then
18692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPGME_CONFIG" >&5
18693 $as_echo "$GPGME_CONFIG" >&6; }
18694 else
18695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18696 $as_echo "no" >&6; }
18697 fi
18698
18699
18700
18701   if test "$GPGME_CONFIG" != "no" ; then
18702     gpgme_version=`$GPGME_CONFIG --version`
18703   fi
18704   gpgme_version_major=`echo $gpgme_version | \
18705                sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
18706   gpgme_version_minor=`echo $gpgme_version | \
18707                sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
18708   gpgme_version_micro=`echo $gpgme_version | \
18709                sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
18710
18711    tmp=1.1.6
18712   if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
18713      req_gpgme_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
18714      min_gpgme_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
18715   else
18716      req_gpgme_api=0
18717      min_gpgme_version="$tmp"
18718   fi
18719
18720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPGME pthread - version >= $min_gpgme_version" >&5
18721 $as_echo_n "checking for GPGME pthread - version >= $min_gpgme_version... " >&6; }
18722   ok=no
18723   if test "$GPGME_CONFIG" != "no" ; then
18724     if `$GPGME_CONFIG --thread=pthread 2> /dev/null` ; then
18725       req_major=`echo $min_gpgme_version | \
18726                sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
18727       req_minor=`echo $min_gpgme_version | \
18728                sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
18729       req_micro=`echo $min_gpgme_version | \
18730                sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
18731       if test "$gpgme_version_major" -gt "$req_major"; then
18732         ok=yes
18733       else
18734         if test "$gpgme_version_major" -eq "$req_major"; then
18735           if test "$gpgme_version_minor" -gt "$req_minor"; then
18736             ok=yes
18737           else
18738             if test "$gpgme_version_minor" -eq "$req_minor"; then
18739               if test "$gpgme_version_micro" -ge "$req_micro"; then
18740                 ok=yes
18741               fi
18742             fi
18743           fi
18744         fi
18745       fi
18746     fi
18747   fi
18748   if test $ok = yes; then
18749      # If we have a recent GPGME, we should also check that the
18750      # API is compatible.
18751      if test "$req_gpgme_api" -gt 0 ; then
18752         tmp=`$GPGME_CONFIG --api-version 2>/dev/null || echo 0`
18753         if test "$tmp" -gt 0 ; then
18754            if test "$req_gpgme_api" -ne "$tmp" ; then
18755              ok=no
18756            fi
18757         fi
18758      fi
18759   fi
18760   if test $ok = yes; then
18761     GPGME_PTHREAD_CFLAGS=`$GPGME_CONFIG --thread=pthread --cflags`
18762     GPGME_PTHREAD_LIBS=`$GPGME_CONFIG --thread=pthread --libs`
18763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18764 $as_echo "yes" >&6; }
18765     enable_smime="yes (via GpgME)"
18766   else
18767     GPGME_PTHREAD_CFLAGS=""
18768     GPGME_PTHREAD_LIBS=""
18769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18770 $as_echo "no" >&6; }
18771     enable_smime="no"
18772   fi
18773
18774
18775
18776    if test "x$enable_smime" != "xno"; then
18777
18778 $as_echo "#define ENABLE_SMIME 1" >>confdefs.h
18779
18780    fi
18781 fi
18782
18783 # Check whether --enable-mono was given.
18784 if test "${enable_mono+set}" = set; then :
18785   enableval=$enable_mono;
18786 else
18787   enable_mono="auto"
18788 fi
18789
18790 if test "x$enable_mono" != "xno"; then
18791         # Extract the first word of "mcs", so it can be a program name with args.
18792 set dummy mcs; ac_word=$2
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18794 $as_echo_n "checking for $ac_word... " >&6; }
18795 if ${ac_cv_path_CSC+:} false; then :
18796   $as_echo_n "(cached) " >&6
18797 else
18798   case $CSC in
18799   [\\/]* | ?:[\\/]*)
18800   ac_cv_path_CSC="$CSC" # Let the user override the test with a path.
18801   ;;
18802   *)
18803   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18804 for as_dir in $PATH
18805 do
18806   IFS=$as_save_IFS
18807   test -z "$as_dir" && as_dir=.
18808     for ac_exec_ext in '' $ac_executable_extensions; do
18809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18810     ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext"
18811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18812     break 2
18813   fi
18814 done
18815   done
18816 IFS=$as_save_IFS
18817
18818   test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no"
18819   ;;
18820 esac
18821 fi
18822 CSC=$ac_cv_path_CSC
18823 if test -n "$CSC"; then
18824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC" >&5
18825 $as_echo "$CSC" >&6; }
18826 else
18827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18828 $as_echo "no" >&6; }
18829 fi
18830
18831
18832         # if we found mcs, make sure it's mono and not something else named
18833         # mcs, such as Tru64's /usr/bin/mcs, for manipulating object file
18834         # comment sections of eCOFF object files.
18835         if test "x$CSC" != "xno"; then
18836                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CSC is GNU Mono" >&5
18837 $as_echo_n "checking whether $CSC is GNU Mono... " >&6; }
18838                 $CSC --version > /dev/null 2>&1
18839                 if test $? -ne 0; then
18840                         CSC=no
18841                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18842 $as_echo "no" >&6; }
18843                 else
18844                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18845 $as_echo "yes" >&6; }
18846                 fi
18847         fi
18848 else
18849         CSC="no"
18850 fi
18851
18852 if test "x$CSC" = "xno"; then
18853                 if test "x$enable_mono" = "xyes"; then
18854                 as_fn_error $? "Could not find mcs" "$LINENO" 5
18855         fi
18856
18857         enable_mono="no"
18858          if false; then
18859   ENABLE_MONO_TRUE=
18860   ENABLE_MONO_FALSE='#'
18861 else
18862   ENABLE_MONO_TRUE='#'
18863   ENABLE_MONO_FALSE=
18864 fi
18865
18866 else
18867         enable_mono="yes"
18868          if true; then
18869   ENABLE_MONO_TRUE=
18870   ENABLE_MONO_FALSE='#'
18871 else
18872   ENABLE_MONO_TRUE='#'
18873   ENABLE_MONO_FALSE=
18874 fi
18875
18876 fi
18877
18878 if test "x$enable_mono" = "xyes"; then
18879         # Extract the first word of "gacutil", so it can be a program name with args.
18880 set dummy gacutil; ac_word=$2
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18882 $as_echo_n "checking for $ac_word... " >&6; }
18883 if ${ac_cv_path_GACUTIL+:} false; then :
18884   $as_echo_n "(cached) " >&6
18885 else
18886   case $GACUTIL in
18887   [\\/]* | ?:[\\/]*)
18888   ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path.
18889   ;;
18890   *)
18891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18892 for as_dir in $PATH
18893 do
18894   IFS=$as_save_IFS
18895   test -z "$as_dir" && as_dir=.
18896     for ac_exec_ext in '' $ac_executable_extensions; do
18897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18898     ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext"
18899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18900     break 2
18901   fi
18902 done
18903   done
18904 IFS=$as_save_IFS
18905
18906   test -z "$ac_cv_path_GACUTIL" && ac_cv_path_GACUTIL="no"
18907   ;;
18908 esac
18909 fi
18910 GACUTIL=$ac_cv_path_GACUTIL
18911 if test -n "$GACUTIL"; then
18912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GACUTIL" >&5
18913 $as_echo "$GACUTIL" >&6; }
18914 else
18915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18916 $as_echo "no" >&6; }
18917 fi
18918
18919
18920         if test "x$GACUTIL" = "xno"; then
18921                 as_fn_error $? "Your mono installation doesn't expose gacutil" "$LINENO" 5
18922         fi
18923
18924
18925
18926
18927
18928 pkg_failed=no
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB_SHARP" >&5
18930 $as_echo_n "checking for GLIB_SHARP... " >&6; }
18931
18932 if test -n "$GLIB_SHARP_CFLAGS"; then
18933     pkg_cv_GLIB_SHARP_CFLAGS="$GLIB_SHARP_CFLAGS"
18934  elif test -n "$PKG_CONFIG"; then
18935     if test -n "$PKG_CONFIG" && \
18936     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0 >= 2.4.0\""; } >&5
18937   ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0 >= 2.4.0") 2>&5
18938   ac_status=$?
18939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18940   test $ac_status = 0; }; then
18941   pkg_cv_GLIB_SHARP_CFLAGS=`$PKG_CONFIG --cflags "glib-sharp-2.0 >= 2.4.0" 2>/dev/null`
18942                       test "x$?" != "x0" && pkg_failed=yes
18943 else
18944   pkg_failed=yes
18945 fi
18946  else
18947     pkg_failed=untried
18948 fi
18949 if test -n "$GLIB_SHARP_LIBS"; then
18950     pkg_cv_GLIB_SHARP_LIBS="$GLIB_SHARP_LIBS"
18951  elif test -n "$PKG_CONFIG"; then
18952     if test -n "$PKG_CONFIG" && \
18953     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0 >= 2.4.0\""; } >&5
18954   ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0 >= 2.4.0") 2>&5
18955   ac_status=$?
18956   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18957   test $ac_status = 0; }; then
18958   pkg_cv_GLIB_SHARP_LIBS=`$PKG_CONFIG --libs "glib-sharp-2.0 >= 2.4.0" 2>/dev/null`
18959                       test "x$?" != "x0" && pkg_failed=yes
18960 else
18961   pkg_failed=yes
18962 fi
18963  else
18964     pkg_failed=untried
18965 fi
18966
18967
18968
18969 if test $pkg_failed = yes; then
18970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18971 $as_echo "no" >&6; }
18972
18973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18974         _pkg_short_errors_supported=yes
18975 else
18976         _pkg_short_errors_supported=no
18977 fi
18978         if test $_pkg_short_errors_supported = yes; then
18979                 GLIB_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-sharp-2.0 >= 2.4.0" 2>&1`
18980         else
18981                 GLIB_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-sharp-2.0 >= 2.4.0" 2>&1`
18982         fi
18983         # Put the nasty error message in config.log where it belongs
18984         echo "$GLIB_SHARP_PKG_ERRORS" >&5
18985
18986         as_fn_error $? "Package requirements (glib-sharp-2.0 >= 2.4.0) were not met:
18987
18988 $GLIB_SHARP_PKG_ERRORS
18989
18990 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18991 installed software in a non-standard prefix.
18992
18993 Alternatively, you may set the environment variables GLIB_SHARP_CFLAGS
18994 and GLIB_SHARP_LIBS to avoid the need to call pkg-config.
18995 See the pkg-config man page for more details." "$LINENO" 5
18996 elif test $pkg_failed = untried; then
18997         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18998 $as_echo "no" >&6; }
18999         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19001 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19002 is in your PATH or set the PKG_CONFIG environment variable to the full
19003 path to pkg-config.
19004
19005 Alternatively, you may set the environment variables GLIB_SHARP_CFLAGS
19006 and GLIB_SHARP_LIBS to avoid the need to call pkg-config.
19007 See the pkg-config man page for more details.
19008
19009 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19010 See \`config.log' for more details" "$LINENO" 5; }
19011 else
19012         GLIB_SHARP_CFLAGS=$pkg_cv_GLIB_SHARP_CFLAGS
19013         GLIB_SHARP_LIBS=$pkg_cv_GLIB_SHARP_LIBS
19014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19015 $as_echo "yes" >&6; }
19016
19017 fi
19018
19019
19020
19021 pkg_failed=no
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAPI_TOOLS" >&5
19023 $as_echo_n "checking for GAPI_TOOLS... " >&6; }
19024
19025 if test -n "$GAPI_TOOLS_CFLAGS"; then
19026     pkg_cv_GAPI_TOOLS_CFLAGS="$GAPI_TOOLS_CFLAGS"
19027  elif test -n "$PKG_CONFIG"; then
19028     if test -n "$PKG_CONFIG" && \
19029     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gapi-2.0\""; } >&5
19030   ($PKG_CONFIG --exists --print-errors "gapi-2.0") 2>&5
19031   ac_status=$?
19032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19033   test $ac_status = 0; }; then
19034   pkg_cv_GAPI_TOOLS_CFLAGS=`$PKG_CONFIG --cflags "gapi-2.0" 2>/dev/null`
19035                       test "x$?" != "x0" && pkg_failed=yes
19036 else
19037   pkg_failed=yes
19038 fi
19039  else
19040     pkg_failed=untried
19041 fi
19042 if test -n "$GAPI_TOOLS_LIBS"; then
19043     pkg_cv_GAPI_TOOLS_LIBS="$GAPI_TOOLS_LIBS"
19044  elif test -n "$PKG_CONFIG"; then
19045     if test -n "$PKG_CONFIG" && \
19046     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gapi-2.0\""; } >&5
19047   ($PKG_CONFIG --exists --print-errors "gapi-2.0") 2>&5
19048   ac_status=$?
19049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19050   test $ac_status = 0; }; then
19051   pkg_cv_GAPI_TOOLS_LIBS=`$PKG_CONFIG --libs "gapi-2.0" 2>/dev/null`
19052                       test "x$?" != "x0" && pkg_failed=yes
19053 else
19054   pkg_failed=yes
19055 fi
19056  else
19057     pkg_failed=untried
19058 fi
19059
19060
19061
19062 if test $pkg_failed = yes; then
19063         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19064 $as_echo "no" >&6; }
19065
19066 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19067         _pkg_short_errors_supported=yes
19068 else
19069         _pkg_short_errors_supported=no
19070 fi
19071         if test $_pkg_short_errors_supported = yes; then
19072                 GAPI_TOOLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gapi-2.0" 2>&1`
19073         else
19074                 GAPI_TOOLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gapi-2.0" 2>&1`
19075         fi
19076         # Put the nasty error message in config.log where it belongs
19077         echo "$GAPI_TOOLS_PKG_ERRORS" >&5
19078
19079         as_fn_error $? "Package requirements (gapi-2.0) were not met:
19080
19081 $GAPI_TOOLS_PKG_ERRORS
19082
19083 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19084 installed software in a non-standard prefix.
19085
19086 Alternatively, you may set the environment variables GAPI_TOOLS_CFLAGS
19087 and GAPI_TOOLS_LIBS to avoid the need to call pkg-config.
19088 See the pkg-config man page for more details." "$LINENO" 5
19089 elif test $pkg_failed = untried; then
19090         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19091 $as_echo "no" >&6; }
19092         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19094 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19095 is in your PATH or set the PKG_CONFIG environment variable to the full
19096 path to pkg-config.
19097
19098 Alternatively, you may set the environment variables GAPI_TOOLS_CFLAGS
19099 and GAPI_TOOLS_LIBS to avoid the need to call pkg-config.
19100 See the pkg-config man page for more details.
19101
19102 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19103 See \`config.log' for more details" "$LINENO" 5; }
19104 else
19105         GAPI_TOOLS_CFLAGS=$pkg_cv_GAPI_TOOLS_CFLAGS
19106         GAPI_TOOLS_LIBS=$pkg_cv_GAPI_TOOLS_LIBS
19107         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19108 $as_echo "yes" >&6; }
19109
19110 fi
19111         # Extract the first word of "gapi2-codegen", so it can be a program name with args.
19112 set dummy gapi2-codegen; ac_word=$2
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19114 $as_echo_n "checking for $ac_word... " >&6; }
19115 if ${ac_cv_path_GAPI_CODEGEN+:} false; then :
19116   $as_echo_n "(cached) " >&6
19117 else
19118   case $GAPI_CODEGEN in
19119   [\\/]* | ?:[\\/]*)
19120   ac_cv_path_GAPI_CODEGEN="$GAPI_CODEGEN" # Let the user override the test with a path.
19121   ;;
19122   *)
19123   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19124 for as_dir in $PATH
19125 do
19126   IFS=$as_save_IFS
19127   test -z "$as_dir" && as_dir=.
19128     for ac_exec_ext in '' $ac_executable_extensions; do
19129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19130     ac_cv_path_GAPI_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
19131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19132     break 2
19133   fi
19134 done
19135   done
19136 IFS=$as_save_IFS
19137
19138   test -z "$ac_cv_path_GAPI_CODEGEN" && ac_cv_path_GAPI_CODEGEN="no"
19139   ;;
19140 esac
19141 fi
19142 GAPI_CODEGEN=$ac_cv_path_GAPI_CODEGEN
19143 if test -n "$GAPI_CODEGEN"; then
19144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAPI_CODEGEN" >&5
19145 $as_echo "$GAPI_CODEGEN" >&6; }
19146 else
19147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19148 $as_echo "no" >&6; }
19149 fi
19150
19151
19152         if test "x$GAPI_CODEGEN" = "xno"; then
19153                 as_fn_error $? "You need to install gtk-sharp2-gapi" "$LINENO" 5
19154         fi
19155
19156         # Extract the first word of "gapi2-fixup", so it can be a program name with args.
19157 set dummy gapi2-fixup; ac_word=$2
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19159 $as_echo_n "checking for $ac_word... " >&6; }
19160 if ${ac_cv_path_GAPI_FIXUP+:} false; then :
19161   $as_echo_n "(cached) " >&6
19162 else
19163   case $GAPI_FIXUP in
19164   [\\/]* | ?:[\\/]*)
19165   ac_cv_path_GAPI_FIXUP="$GAPI_FIXUP" # Let the user override the test with a path.
19166   ;;
19167   *)
19168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19169 for as_dir in $PATH
19170 do
19171   IFS=$as_save_IFS
19172   test -z "$as_dir" && as_dir=.
19173     for ac_exec_ext in '' $ac_executable_extensions; do
19174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19175     ac_cv_path_GAPI_FIXUP="$as_dir/$ac_word$ac_exec_ext"
19176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19177     break 2
19178   fi
19179 done
19180   done
19181 IFS=$as_save_IFS
19182
19183   test -z "$ac_cv_path_GAPI_FIXUP" && ac_cv_path_GAPI_FIXUP="no"
19184   ;;
19185 esac
19186 fi
19187 GAPI_FIXUP=$ac_cv_path_GAPI_FIXUP
19188 if test -n "$GAPI_FIXUP"; then
19189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAPI_FIXUP" >&5
19190 $as_echo "$GAPI_FIXUP" >&6; }
19191 else
19192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19193 $as_echo "no" >&6; }
19194 fi
19195
19196
19197         if test "x$GAPI_FIXUP" = "xno"; then
19198                 as_fn_error $? "You need to install gtk-sharp2-gapi" "$LINENO" 5
19199         fi
19200
19201         # Extract the first word of "gapi2-parser", so it can be a program name with args.
19202 set dummy gapi2-parser; ac_word=$2
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19204 $as_echo_n "checking for $ac_word... " >&6; }
19205 if ${ac_cv_path_GAPI_PARSER+:} false; then :
19206   $as_echo_n "(cached) " >&6
19207 else
19208   case $GAPI_PARSER in
19209   [\\/]* | ?:[\\/]*)
19210   ac_cv_path_GAPI_PARSER="$GAPI_PARSER" # Let the user override the test with a path.
19211   ;;
19212   *)
19213   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19214 for as_dir in $PATH
19215 do
19216   IFS=$as_save_IFS
19217   test -z "$as_dir" && as_dir=.
19218     for ac_exec_ext in '' $ac_executable_extensions; do
19219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19220     ac_cv_path_GAPI_PARSER="$as_dir/$ac_word$ac_exec_ext"
19221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19222     break 2
19223   fi
19224 done
19225   done
19226 IFS=$as_save_IFS
19227
19228   test -z "$ac_cv_path_GAPI_PARSER" && ac_cv_path_GAPI_PARSER="no"
19229   ;;
19230 esac
19231 fi
19232 GAPI_PARSER=$ac_cv_path_GAPI_PARSER
19233 if test -n "$GAPI_PARSER"; then
19234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAPI_PARSER" >&5
19235 $as_echo "$GAPI_PARSER" >&6; }
19236 else
19237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19238 $as_echo "no" >&6; }
19239 fi
19240
19241
19242         if test "x$GAPI_PARSER" = "xno"; then
19243                 as_fn_error $? "You need to install gtk-sharp2-gapi" "$LINENO" 5
19244         fi
19245
19246                                                 MONO_INTERFACE_VERSION=0
19247         API_VERSION="$GMIME_MAJOR_VERSION.$GMIME_MINOR_VERSION.0.$MONO_INTERFACE_VERSION"
19248
19249 fi
19250
19251
19252 # Check whether --with-gacdir was given.
19253 if test "${with_gacdir+set}" = set; then :
19254   withval=$with_gacdir; with_gacdir=$withval
19255 else
19256   with_gacdir=\${prefix}/lib
19257 fi
19258
19259 gacdir=$with_gacdir
19260
19261
19262 EXTRA_LIBS="$ZLIB"
19263 if test "x$LIBSOCKET" != "x"; then
19264         EXTRA_LIBS="$EXTRA_LIBS $LIBSOCKET"
19265 fi
19266 if test "x$LIBNSL" != "x"; then
19267         EXTRA_LIBS="$EXTRA_LIBS $LIBNSL"
19268 fi
19269 if test "x$LIBICONV" != "x"; then
19270         EXTRA_LIBS="$EXTRA_LIBS $LIBICONV"
19271 fi
19272 if test "x$GPGME_PTHREAD_LIBS" != "x"; then
19273         EXTRA_LIBS="$EXTRA_LIBS $GPGME_PTHREAD_LIBS"
19274 fi
19275
19276 CFLAGS="$CFLAGS -fno-strict-aliasing"
19277 LIBS="$LIBS $EXTRA_LIBS"
19278
19279
19280
19281
19282 GMIME_CFLAGS="$LFS_CFLAGS $GPGME_PTHREAD_CFLAGS"
19283 GMIME_LIBDIR="-L${libdir}"
19284 GMIME_INCLUDEDIR="-I${includedir}/gmime-$GMIME_API_VERSION"
19285 GMIME_LIBS_PRIVATE="$EXTRA_LIBS"
19286 GMIME_LIBS="-lgmime-$GMIME_API_VERSION"
19287
19288
19289
19290
19291
19292
19293
19294
19295 ac_config_files="$ac_config_files Makefile m4/Makefile build/Makefile build/vs2008/Makefile build/vs2008/config-win32.h build/vs2010/Makefile build/vs2010/config-win32.h docs/Makefile docs/reference/Makefile docs/tutorial/Makefile util/Makefile gmime/Makefile gmime/gmime-version.h mono/Makefile mono/AssemblyInfo.cs mono/gmime-sharp.dll.config mono/gmime-sharp.pc tools/Makefile gmime.spec gmime.pc"
19296
19297 cat >confcache <<\_ACEOF
19298 # This file is a shell script that caches the results of configure
19299 # tests run on this system so they can be shared between configure
19300 # scripts and configure runs, see configure's option --config-cache.
19301 # It is not useful on other systems.  If it contains results you don't
19302 # want to keep, you may remove or edit it.
19303 #
19304 # config.status only pays attention to the cache file if you give it
19305 # the --recheck option to rerun configure.
19306 #
19307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19309 # following values.
19310
19311 _ACEOF
19312
19313 # The following way of writing the cache mishandles newlines in values,
19314 # but we know of no workaround that is simple, portable, and efficient.
19315 # So, we kill variables containing newlines.
19316 # Ultrix sh set writes to stderr and can't be redirected directly,
19317 # and sets the high bit in the cache file unless we assign to the vars.
19318 (
19319   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19320     eval ac_val=\$$ac_var
19321     case $ac_val in #(
19322     *${as_nl}*)
19323       case $ac_var in #(
19324       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19325 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19326       esac
19327       case $ac_var in #(
19328       _ | IFS | as_nl) ;; #(
19329       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19330       *) { eval $ac_var=; unset $ac_var;} ;;
19331       esac ;;
19332     esac
19333   done
19334
19335   (set) 2>&1 |
19336     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19337     *${as_nl}ac_space=\ *)
19338       # `set' does not quote correctly, so add quotes: double-quote
19339       # substitution turns \\\\ into \\, and sed turns \\ into \.
19340       sed -n \
19341         "s/'/'\\\\''/g;
19342           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19343       ;; #(
19344     *)
19345       # `set' quotes correctly as required by POSIX, so do not add quotes.
19346       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19347       ;;
19348     esac |
19349     sort
19350 ) |
19351   sed '
19352      /^ac_cv_env_/b end
19353      t clear
19354      :clear
19355      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19356      t end
19357      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19358      :end' >>confcache
19359 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19360   if test -w "$cache_file"; then
19361     if test "x$cache_file" != "x/dev/null"; then
19362       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19363 $as_echo "$as_me: updating cache $cache_file" >&6;}
19364       if test ! -f "$cache_file" || test -h "$cache_file"; then
19365         cat confcache >"$cache_file"
19366       else
19367         case $cache_file in #(
19368         */* | ?:*)
19369           mv -f confcache "$cache_file"$$ &&
19370           mv -f "$cache_file"$$ "$cache_file" ;; #(
19371         *)
19372           mv -f confcache "$cache_file" ;;
19373         esac
19374       fi
19375     fi
19376   else
19377     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19378 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19379   fi
19380 fi
19381 rm -f confcache
19382
19383 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19384 # Let make expand exec_prefix.
19385 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19386
19387 DEFS=-DHAVE_CONFIG_H
19388
19389 ac_libobjs=
19390 ac_ltlibobjs=
19391 U=
19392 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19393   # 1. Remove the extension, and $U if already installed.
19394   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19395   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19396   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19397   #    will be set to the directory where LIBOBJS objects are built.
19398   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19399   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19400 done
19401 LIBOBJS=$ac_libobjs
19402
19403 LTLIBOBJS=$ac_ltlibobjs
19404
19405
19406  if test -n "$EXEEXT"; then
19407   am__EXEEXT_TRUE=
19408   am__EXEEXT_FALSE='#'
19409 else
19410   am__EXEEXT_TRUE='#'
19411   am__EXEEXT_FALSE=
19412 fi
19413
19414 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19415   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19417 fi
19418 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
19419   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
19420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19421 fi
19422 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
19423   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
19424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19425 fi
19426 if test -z "${OS_WIN32_X64_TRUE}" && test -z "${OS_WIN32_X64_FALSE}"; then
19427   as_fn_error $? "conditional \"OS_WIN32_X64\" was never defined.
19428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19429 fi
19430 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
19431   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
19432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19433 fi
19434 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19435   as_fn_error $? "conditional \"AMDEP\" was never defined.
19436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19437 fi
19438 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19439   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19441 fi
19442 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19443   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19445 fi
19446 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19447   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19449 fi
19450 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19451   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19453 fi
19454 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19455   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19457 fi
19458 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19459   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19461 fi
19462 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19463   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19465 fi
19466 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19467   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19469 fi
19470 if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then
19471   as_fn_error $? "conditional \"HAVE_DOCBOOK\" was never defined.
19472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19473 fi
19474 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19475   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19477 fi
19478 if test -z "${ENABLE_CRYPTOGRAPHY_TRUE}" && test -z "${ENABLE_CRYPTOGRAPHY_FALSE}"; then
19479   as_fn_error $? "conditional \"ENABLE_CRYPTOGRAPHY\" was never defined.
19480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19481 fi
19482 if test -z "${SYSTEM_GETOPT_TRUE}" && test -z "${SYSTEM_GETOPT_FALSE}"; then
19483   as_fn_error $? "conditional \"SYSTEM_GETOPT\" was never defined.
19484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19485 fi
19486 if test -z "${ENABLE_LARGEFILE_TRUE}" && test -z "${ENABLE_LARGEFILE_FALSE}"; then
19487   as_fn_error $? "conditional \"ENABLE_LARGEFILE\" was never defined.
19488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19489 fi
19490 if test -z "${ENABLE_MONO_TRUE}" && test -z "${ENABLE_MONO_FALSE}"; then
19491   as_fn_error $? "conditional \"ENABLE_MONO\" was never defined.
19492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19493 fi
19494 if test -z "${ENABLE_MONO_TRUE}" && test -z "${ENABLE_MONO_FALSE}"; then
19495   as_fn_error $? "conditional \"ENABLE_MONO\" was never defined.
19496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19497 fi
19498
19499 : "${CONFIG_STATUS=./config.status}"
19500 ac_write_fail=0
19501 ac_clean_files_save=$ac_clean_files
19502 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19504 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19505 as_write_fail=0
19506 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19507 #! $SHELL
19508 # Generated by $as_me.
19509 # Run this file to recreate the current configuration.
19510 # Compiler output produced by configure, useful for debugging
19511 # configure, is in config.log if it exists.
19512
19513 debug=false
19514 ac_cs_recheck=false
19515 ac_cs_silent=false
19516
19517 SHELL=\${CONFIG_SHELL-$SHELL}
19518 export SHELL
19519 _ASEOF
19520 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19521 ## -------------------- ##
19522 ## M4sh Initialization. ##
19523 ## -------------------- ##
19524
19525 # Be more Bourne compatible
19526 DUALCASE=1; export DUALCASE # for MKS sh
19527 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19528   emulate sh
19529   NULLCMD=:
19530   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19531   # is contrary to our usage.  Disable this feature.
19532   alias -g '${1+"$@"}'='"$@"'
19533   setopt NO_GLOB_SUBST
19534 else
19535   case `(set -o) 2>/dev/null` in #(
19536   *posix*) :
19537     set -o posix ;; #(
19538   *) :
19539      ;;
19540 esac
19541 fi
19542
19543
19544 as_nl='
19545 '
19546 export as_nl
19547 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19548 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19549 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19550 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19551 # Prefer a ksh shell builtin over an external printf program on Solaris,
19552 # but without wasting forks for bash or zsh.
19553 if test -z "$BASH_VERSION$ZSH_VERSION" \
19554     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19555   as_echo='print -r --'
19556   as_echo_n='print -rn --'
19557 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19558   as_echo='printf %s\n'
19559   as_echo_n='printf %s'
19560 else
19561   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19562     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19563     as_echo_n='/usr/ucb/echo -n'
19564   else
19565     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19566     as_echo_n_body='eval
19567       arg=$1;
19568       case $arg in #(
19569       *"$as_nl"*)
19570         expr "X$arg" : "X\\(.*\\)$as_nl";
19571         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19572       esac;
19573       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19574     '
19575     export as_echo_n_body
19576     as_echo_n='sh -c $as_echo_n_body as_echo'
19577   fi
19578   export as_echo_body
19579   as_echo='sh -c $as_echo_body as_echo'
19580 fi
19581
19582 # The user is always right.
19583 if test "${PATH_SEPARATOR+set}" != set; then
19584   PATH_SEPARATOR=:
19585   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19586     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19587       PATH_SEPARATOR=';'
19588   }
19589 fi
19590
19591
19592 # IFS
19593 # We need space, tab and new line, in precisely that order.  Quoting is
19594 # there to prevent editors from complaining about space-tab.
19595 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19596 # splitting by setting IFS to empty value.)
19597 IFS=" ""        $as_nl"
19598
19599 # Find who we are.  Look in the path if we contain no directory separator.
19600 as_myself=
19601 case $0 in #((
19602   *[\\/]* ) as_myself=$0 ;;
19603   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19604 for as_dir in $PATH
19605 do
19606   IFS=$as_save_IFS
19607   test -z "$as_dir" && as_dir=.
19608     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19609   done
19610 IFS=$as_save_IFS
19611
19612      ;;
19613 esac
19614 # We did not find ourselves, most probably we were run as `sh COMMAND'
19615 # in which case we are not to be found in the path.
19616 if test "x$as_myself" = x; then
19617   as_myself=$0
19618 fi
19619 if test ! -f "$as_myself"; then
19620   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19621   exit 1
19622 fi
19623
19624 # Unset variables that we do not need and which cause bugs (e.g. in
19625 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19626 # suppresses any "Segmentation fault" message there.  '((' could
19627 # trigger a bug in pdksh 5.2.14.
19628 for as_var in BASH_ENV ENV MAIL MAILPATH
19629 do eval test x\${$as_var+set} = xset \
19630   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19631 done
19632 PS1='$ '
19633 PS2='> '
19634 PS4='+ '
19635
19636 # NLS nuisances.
19637 LC_ALL=C
19638 export LC_ALL
19639 LANGUAGE=C
19640 export LANGUAGE
19641
19642 # CDPATH.
19643 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19644
19645
19646 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19647 # ----------------------------------------
19648 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19649 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19650 # script with STATUS, using 1 if that was 0.
19651 as_fn_error ()
19652 {
19653   as_status=$1; test $as_status -eq 0 && as_status=1
19654   if test "$4"; then
19655     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19656     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19657   fi
19658   $as_echo "$as_me: error: $2" >&2
19659   as_fn_exit $as_status
19660 } # as_fn_error
19661
19662
19663 # as_fn_set_status STATUS
19664 # -----------------------
19665 # Set $? to STATUS, without forking.
19666 as_fn_set_status ()
19667 {
19668   return $1
19669 } # as_fn_set_status
19670
19671 # as_fn_exit STATUS
19672 # -----------------
19673 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19674 as_fn_exit ()
19675 {
19676   set +e
19677   as_fn_set_status $1
19678   exit $1
19679 } # as_fn_exit
19680
19681 # as_fn_unset VAR
19682 # ---------------
19683 # Portably unset VAR.
19684 as_fn_unset ()
19685 {
19686   { eval $1=; unset $1;}
19687 }
19688 as_unset=as_fn_unset
19689 # as_fn_append VAR VALUE
19690 # ----------------------
19691 # Append the text in VALUE to the end of the definition contained in VAR. Take
19692 # advantage of any shell optimizations that allow amortized linear growth over
19693 # repeated appends, instead of the typical quadratic growth present in naive
19694 # implementations.
19695 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19696   eval 'as_fn_append ()
19697   {
19698     eval $1+=\$2
19699   }'
19700 else
19701   as_fn_append ()
19702   {
19703     eval $1=\$$1\$2
19704   }
19705 fi # as_fn_append
19706
19707 # as_fn_arith ARG...
19708 # ------------------
19709 # Perform arithmetic evaluation on the ARGs, and store the result in the
19710 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19711 # must be portable across $(()) and expr.
19712 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19713   eval 'as_fn_arith ()
19714   {
19715     as_val=$(( $* ))
19716   }'
19717 else
19718   as_fn_arith ()
19719   {
19720     as_val=`expr "$@" || test $? -eq 1`
19721   }
19722 fi # as_fn_arith
19723
19724
19725 if expr a : '\(a\)' >/dev/null 2>&1 &&
19726    test "X`expr 00001 : '.*\(...\)'`" = X001; then
19727   as_expr=expr
19728 else
19729   as_expr=false
19730 fi
19731
19732 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19733   as_basename=basename
19734 else
19735   as_basename=false
19736 fi
19737
19738 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19739   as_dirname=dirname
19740 else
19741   as_dirname=false
19742 fi
19743
19744 as_me=`$as_basename -- "$0" ||
19745 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19746          X"$0" : 'X\(//\)$' \| \
19747          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19748 $as_echo X/"$0" |
19749     sed '/^.*\/\([^/][^/]*\)\/*$/{
19750             s//\1/
19751             q
19752           }
19753           /^X\/\(\/\/\)$/{
19754             s//\1/
19755             q
19756           }
19757           /^X\/\(\/\).*/{
19758             s//\1/
19759             q
19760           }
19761           s/.*/./; q'`
19762
19763 # Avoid depending upon Character Ranges.
19764 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19765 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19766 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19767 as_cr_digits='0123456789'
19768 as_cr_alnum=$as_cr_Letters$as_cr_digits
19769
19770 ECHO_C= ECHO_N= ECHO_T=
19771 case `echo -n x` in #(((((
19772 -n*)
19773   case `echo 'xy\c'` in
19774   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19775   xy)  ECHO_C='\c';;
19776   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19777        ECHO_T=' ';;
19778   esac;;
19779 *)
19780   ECHO_N='-n';;
19781 esac
19782
19783 rm -f conf$$ conf$$.exe conf$$.file
19784 if test -d conf$$.dir; then
19785   rm -f conf$$.dir/conf$$.file
19786 else
19787   rm -f conf$$.dir
19788   mkdir conf$$.dir 2>/dev/null
19789 fi
19790 if (echo >conf$$.file) 2>/dev/null; then
19791   if ln -s conf$$.file conf$$ 2>/dev/null; then
19792     as_ln_s='ln -s'
19793     # ... but there are two gotchas:
19794     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19795     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19796     # In both cases, we have to default to `cp -p'.
19797     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19798       as_ln_s='cp -p'
19799   elif ln conf$$.file conf$$ 2>/dev/null; then
19800     as_ln_s=ln
19801   else
19802     as_ln_s='cp -p'
19803   fi
19804 else
19805   as_ln_s='cp -p'
19806 fi
19807 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19808 rmdir conf$$.dir 2>/dev/null
19809
19810
19811 # as_fn_mkdir_p
19812 # -------------
19813 # Create "$as_dir" as a directory, including parents if necessary.
19814 as_fn_mkdir_p ()
19815 {
19816
19817   case $as_dir in #(
19818   -*) as_dir=./$as_dir;;
19819   esac
19820   test -d "$as_dir" || eval $as_mkdir_p || {
19821     as_dirs=
19822     while :; do
19823       case $as_dir in #(
19824       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19825       *) as_qdir=$as_dir;;
19826       esac
19827       as_dirs="'$as_qdir' $as_dirs"
19828       as_dir=`$as_dirname -- "$as_dir" ||
19829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19830          X"$as_dir" : 'X\(//\)[^/]' \| \
19831          X"$as_dir" : 'X\(//\)$' \| \
19832          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19833 $as_echo X"$as_dir" |
19834     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19835             s//\1/
19836             q
19837           }
19838           /^X\(\/\/\)[^/].*/{
19839             s//\1/
19840             q
19841           }
19842           /^X\(\/\/\)$/{
19843             s//\1/
19844             q
19845           }
19846           /^X\(\/\).*/{
19847             s//\1/
19848             q
19849           }
19850           s/.*/./; q'`
19851       test -d "$as_dir" && break
19852     done
19853     test -z "$as_dirs" || eval "mkdir $as_dirs"
19854   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19855
19856
19857 } # as_fn_mkdir_p
19858 if mkdir -p . 2>/dev/null; then
19859   as_mkdir_p='mkdir -p "$as_dir"'
19860 else
19861   test -d ./-p && rmdir ./-p
19862   as_mkdir_p=false
19863 fi
19864
19865 if test -x / >/dev/null 2>&1; then
19866   as_test_x='test -x'
19867 else
19868   if ls -dL / >/dev/null 2>&1; then
19869     as_ls_L_option=L
19870   else
19871     as_ls_L_option=
19872   fi
19873   as_test_x='
19874     eval sh -c '\''
19875       if test -d "$1"; then
19876         test -d "$1/.";
19877       else
19878         case $1 in #(
19879         -*)set "./$1";;
19880         esac;
19881         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19882         ???[sx]*):;;*)false;;esac;fi
19883     '\'' sh
19884   '
19885 fi
19886 as_executable_p=$as_test_x
19887
19888 # Sed expression to map a string onto a valid CPP name.
19889 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19890
19891 # Sed expression to map a string onto a valid variable name.
19892 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19893
19894
19895 exec 6>&1
19896 ## ----------------------------------- ##
19897 ## Main body of $CONFIG_STATUS script. ##
19898 ## ----------------------------------- ##
19899 _ASEOF
19900 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19901
19902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19903 # Save the log message, to keep $0 and so on meaningful, and to
19904 # report actual input values of CONFIG_FILES etc. instead of their
19905 # values after options handling.
19906 ac_log="
19907 This file was extended by gmime $as_me 2.6.15, which was
19908 generated by GNU Autoconf 2.68.  Invocation command line was
19909
19910   CONFIG_FILES    = $CONFIG_FILES
19911   CONFIG_HEADERS  = $CONFIG_HEADERS
19912   CONFIG_LINKS    = $CONFIG_LINKS
19913   CONFIG_COMMANDS = $CONFIG_COMMANDS
19914   $ $0 $@
19915
19916 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19917 "
19918
19919 _ACEOF
19920
19921 case $ac_config_files in *"
19922 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19923 esac
19924
19925 case $ac_config_headers in *"
19926 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19927 esac
19928
19929
19930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19931 # Files that config.status was made for.
19932 config_files="$ac_config_files"
19933 config_headers="$ac_config_headers"
19934 config_commands="$ac_config_commands"
19935
19936 _ACEOF
19937
19938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19939 ac_cs_usage="\
19940 \`$as_me' instantiates files and other configuration actions
19941 from templates according to the current configuration.  Unless the files
19942 and actions are specified as TAGs, all are instantiated by default.
19943
19944 Usage: $0 [OPTION]... [TAG]...
19945
19946   -h, --help       print this help, then exit
19947   -V, --version    print version number and configuration settings, then exit
19948       --config     print configuration, then exit
19949   -q, --quiet, --silent
19950                    do not print progress messages
19951   -d, --debug      don't remove temporary files
19952       --recheck    update $as_me by reconfiguring in the same conditions
19953       --file=FILE[:TEMPLATE]
19954                    instantiate the configuration file FILE
19955       --header=FILE[:TEMPLATE]
19956                    instantiate the configuration header FILE
19957
19958 Configuration files:
19959 $config_files
19960
19961 Configuration headers:
19962 $config_headers
19963
19964 Configuration commands:
19965 $config_commands
19966
19967 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gmime>."
19968
19969 _ACEOF
19970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19971 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19972 ac_cs_version="\\
19973 gmime config.status 2.6.15
19974 configured by $0, generated by GNU Autoconf 2.68,
19975   with options \\"\$ac_cs_config\\"
19976
19977 Copyright (C) 2010 Free Software Foundation, Inc.
19978 This config.status script is free software; the Free Software Foundation
19979 gives unlimited permission to copy, distribute and modify it."
19980
19981 ac_pwd='$ac_pwd'
19982 srcdir='$srcdir'
19983 INSTALL='$INSTALL'
19984 MKDIR_P='$MKDIR_P'
19985 AWK='$AWK'
19986 test -n "\$AWK" || AWK=awk
19987 _ACEOF
19988
19989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19990 # The default lists apply if the user does not specify any file.
19991 ac_need_defaults=:
19992 while test $# != 0
19993 do
19994   case $1 in
19995   --*=?*)
19996     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19997     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19998     ac_shift=:
19999     ;;
20000   --*=)
20001     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20002     ac_optarg=
20003     ac_shift=:
20004     ;;
20005   *)
20006     ac_option=$1
20007     ac_optarg=$2
20008     ac_shift=shift
20009     ;;
20010   esac
20011
20012   case $ac_option in
20013   # Handling of the options.
20014   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20015     ac_cs_recheck=: ;;
20016   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20017     $as_echo "$ac_cs_version"; exit ;;
20018   --config | --confi | --conf | --con | --co | --c )
20019     $as_echo "$ac_cs_config"; exit ;;
20020   --debug | --debu | --deb | --de | --d | -d )
20021     debug=: ;;
20022   --file | --fil | --fi | --f )
20023     $ac_shift
20024     case $ac_optarg in
20025     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20026     '') as_fn_error $? "missing file argument" ;;
20027     esac
20028     as_fn_append CONFIG_FILES " '$ac_optarg'"
20029     ac_need_defaults=false;;
20030   --header | --heade | --head | --hea )
20031     $ac_shift
20032     case $ac_optarg in
20033     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20034     esac
20035     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20036     ac_need_defaults=false;;
20037   --he | --h)
20038     # Conflict between --help and --header
20039     as_fn_error $? "ambiguous option: \`$1'
20040 Try \`$0 --help' for more information.";;
20041   --help | --hel | -h )
20042     $as_echo "$ac_cs_usage"; exit ;;
20043   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20044   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20045     ac_cs_silent=: ;;
20046
20047   # This is an error.
20048   -*) as_fn_error $? "unrecognized option: \`$1'
20049 Try \`$0 --help' for more information." ;;
20050
20051   *) as_fn_append ac_config_targets " $1"
20052      ac_need_defaults=false ;;
20053
20054   esac
20055   shift
20056 done
20057
20058 ac_configure_extra_args=
20059
20060 if $ac_cs_silent; then
20061   exec 6>/dev/null
20062   ac_configure_extra_args="$ac_configure_extra_args --silent"
20063 fi
20064
20065 _ACEOF
20066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20067 if \$ac_cs_recheck; then
20068   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20069   shift
20070   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20071   CONFIG_SHELL='$SHELL'
20072   export CONFIG_SHELL
20073   exec "\$@"
20074 fi
20075
20076 _ACEOF
20077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20078 exec 5>>config.log
20079 {
20080   echo
20081   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20082 ## Running $as_me. ##
20083 _ASBOX
20084   $as_echo "$ac_log"
20085 } >&5
20086
20087 _ACEOF
20088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20089 #
20090 # INIT-COMMANDS
20091 #
20092 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20093
20094
20095 # The HP-UX ksh and POSIX shell print the target directory to stdout
20096 # if CDPATH is set.
20097 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20098
20099 sed_quote_subst='$sed_quote_subst'
20100 double_quote_subst='$double_quote_subst'
20101 delay_variable_subst='$delay_variable_subst'
20102 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20103 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20104 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20105 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20106 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20107 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20108 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20109 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20110 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20111 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20112 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20113 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20114 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20115 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20116 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20117 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20118 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20119 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20120 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20121 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20122 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20123 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20124 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20125 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20126 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20127 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20128 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20129 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20130 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20131 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20132 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20133 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20134 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20135 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20136 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20137 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20138 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20139 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20140 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20141 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20142 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20143 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20144 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20145 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20146 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20147 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20148 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20149 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20150 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20151 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20152 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20153 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20154 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20155 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20156 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20157 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20158 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"`'
20159 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20160 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20161 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20162 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20163 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20164 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20165 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20166 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20167 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20168 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20169 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20170 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20171 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20172 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20173 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20174 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20175 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20176 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20177 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20178 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20179 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20180 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20181 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20182 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20183 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20184 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20185 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20186 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20187 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20188 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20189 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20190 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20191 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20192 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20193 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20194 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20195 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20196 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20197 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20198 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20199 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20200 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20201 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20202 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20203 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20204 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20205 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20206 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20207 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20208 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20209 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20210 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20211 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20212 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20213 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20214 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20215 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20216 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20217 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20218 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20219 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20220 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20221 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20222 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20223 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20224 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20225 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20226 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20227 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20228 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20229 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20230 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20231 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20232
20233 LTCC='$LTCC'
20234 LTCFLAGS='$LTCFLAGS'
20235 compiler='$compiler_DEFAULT'
20236
20237 # A function that is used when there is no print builtin or printf.
20238 func_fallback_echo ()
20239 {
20240   eval 'cat <<_LTECHO_EOF
20241 \$1
20242 _LTECHO_EOF'
20243 }
20244
20245 # Quote evaled strings.
20246 for var in SHELL \
20247 ECHO \
20248 PATH_SEPARATOR \
20249 SED \
20250 GREP \
20251 EGREP \
20252 FGREP \
20253 LD \
20254 NM \
20255 LN_S \
20256 lt_SP2NL \
20257 lt_NL2SP \
20258 reload_flag \
20259 OBJDUMP \
20260 deplibs_check_method \
20261 file_magic_cmd \
20262 file_magic_glob \
20263 want_nocaseglob \
20264 DLLTOOL \
20265 sharedlib_from_linklib_cmd \
20266 AR \
20267 AR_FLAGS \
20268 archiver_list_spec \
20269 STRIP \
20270 RANLIB \
20271 CC \
20272 CFLAGS \
20273 compiler \
20274 lt_cv_sys_global_symbol_pipe \
20275 lt_cv_sys_global_symbol_to_cdecl \
20276 lt_cv_sys_global_symbol_to_c_name_address \
20277 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20278 nm_file_list_spec \
20279 lt_prog_compiler_no_builtin_flag \
20280 lt_prog_compiler_pic \
20281 lt_prog_compiler_wl \
20282 lt_prog_compiler_static \
20283 lt_cv_prog_compiler_c_o \
20284 need_locks \
20285 MANIFEST_TOOL \
20286 DSYMUTIL \
20287 NMEDIT \
20288 LIPO \
20289 OTOOL \
20290 OTOOL64 \
20291 shrext_cmds \
20292 export_dynamic_flag_spec \
20293 whole_archive_flag_spec \
20294 compiler_needs_object \
20295 with_gnu_ld \
20296 allow_undefined_flag \
20297 no_undefined_flag \
20298 hardcode_libdir_flag_spec \
20299 hardcode_libdir_separator \
20300 exclude_expsyms \
20301 include_expsyms \
20302 file_list_spec \
20303 variables_saved_for_relink \
20304 libname_spec \
20305 library_names_spec \
20306 soname_spec \
20307 install_override_mode \
20308 finish_eval \
20309 old_striplib \
20310 striplib; do
20311     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20312     *[\\\\\\\`\\"\\\$]*)
20313       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20314       ;;
20315     *)
20316       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20317       ;;
20318     esac
20319 done
20320
20321 # Double-quote double-evaled strings.
20322 for var in reload_cmds \
20323 old_postinstall_cmds \
20324 old_postuninstall_cmds \
20325 old_archive_cmds \
20326 extract_expsyms_cmds \
20327 old_archive_from_new_cmds \
20328 old_archive_from_expsyms_cmds \
20329 archive_cmds \
20330 archive_expsym_cmds \
20331 module_cmds \
20332 module_expsym_cmds \
20333 export_symbols_cmds \
20334 prelink_cmds \
20335 postlink_cmds \
20336 postinstall_cmds \
20337 postuninstall_cmds \
20338 finish_cmds \
20339 sys_lib_search_path_spec \
20340 sys_lib_dlsearch_path_spec; do
20341     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20342     *[\\\\\\\`\\"\\\$]*)
20343       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20344       ;;
20345     *)
20346       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20347       ;;
20348     esac
20349 done
20350
20351 ac_aux_dir='$ac_aux_dir'
20352 xsi_shell='$xsi_shell'
20353 lt_shell_append='$lt_shell_append'
20354
20355 # See if we are running on zsh, and set the options which allow our
20356 # commands through without removal of \ escapes INIT.
20357 if test -n "\${ZSH_VERSION+set}" ; then
20358    setopt NO_GLOB_SUBST
20359 fi
20360
20361
20362     PACKAGE='$PACKAGE'
20363     VERSION='$VERSION'
20364     TIMESTAMP='$TIMESTAMP'
20365     RM='$RM'
20366     ofile='$ofile'
20367
20368 ac_aux_dir='$ac_aux_dir'
20369
20370
20371
20372 _ACEOF
20373
20374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20375
20376 # Handling of arguments.
20377 for ac_config_target in $ac_config_targets
20378 do
20379   case $ac_config_target in
20380     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20381     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20382     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20383     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20384     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
20385     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
20386     "build/vs2008/Makefile") CONFIG_FILES="$CONFIG_FILES build/vs2008/Makefile" ;;
20387     "build/vs2008/config-win32.h") CONFIG_FILES="$CONFIG_FILES build/vs2008/config-win32.h" ;;
20388     "build/vs2010/Makefile") CONFIG_FILES="$CONFIG_FILES build/vs2010/Makefile" ;;
20389     "build/vs2010/config-win32.h") CONFIG_FILES="$CONFIG_FILES build/vs2010/config-win32.h" ;;
20390     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
20391     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
20392     "docs/tutorial/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/Makefile" ;;
20393     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
20394     "gmime/Makefile") CONFIG_FILES="$CONFIG_FILES gmime/Makefile" ;;
20395     "gmime/gmime-version.h") CONFIG_FILES="$CONFIG_FILES gmime/gmime-version.h" ;;
20396     "mono/Makefile") CONFIG_FILES="$CONFIG_FILES mono/Makefile" ;;
20397     "mono/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES mono/AssemblyInfo.cs" ;;
20398     "mono/gmime-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES mono/gmime-sharp.dll.config" ;;
20399     "mono/gmime-sharp.pc") CONFIG_FILES="$CONFIG_FILES mono/gmime-sharp.pc" ;;
20400     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20401     "gmime.spec") CONFIG_FILES="$CONFIG_FILES gmime.spec" ;;
20402     "gmime.pc") CONFIG_FILES="$CONFIG_FILES gmime.pc" ;;
20403
20404   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20405   esac
20406 done
20407
20408
20409 # If the user did not use the arguments to specify the items to instantiate,
20410 # then the envvar interface is used.  Set only those that are not.
20411 # We use the long form for the default assignment because of an extremely
20412 # bizarre bug on SunOS 4.1.3.
20413 if $ac_need_defaults; then
20414   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20415   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20416   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20417 fi
20418
20419 # Have a temporary directory for convenience.  Make it in the build tree
20420 # simply because there is no reason against having it here, and in addition,
20421 # creating and moving files from /tmp can sometimes cause problems.
20422 # Hook for its removal unless debugging.
20423 # Note that there is a small window in which the directory will not be cleaned:
20424 # after its creation but before its name has been assigned to `$tmp'.
20425 $debug ||
20426 {
20427   tmp= ac_tmp=
20428   trap 'exit_status=$?
20429   : "${ac_tmp:=$tmp}"
20430   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20431 ' 0
20432   trap 'as_fn_exit 1' 1 2 13 15
20433 }
20434 # Create a (secure) tmp directory for tmp files.
20435
20436 {
20437   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20438   test -d "$tmp"
20439 }  ||
20440 {
20441   tmp=./conf$$-$RANDOM
20442   (umask 077 && mkdir "$tmp")
20443 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20444 ac_tmp=$tmp
20445
20446 # Set up the scripts for CONFIG_FILES section.
20447 # No need to generate them if there are no CONFIG_FILES.
20448 # This happens for instance with `./config.status config.h'.
20449 if test -n "$CONFIG_FILES"; then
20450
20451
20452 ac_cr=`echo X | tr X '\015'`
20453 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20454 # But we know of no other shell where ac_cr would be empty at this
20455 # point, so we can use a bashism as a fallback.
20456 if test "x$ac_cr" = x; then
20457   eval ac_cr=\$\'\\r\'
20458 fi
20459 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20460 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20461   ac_cs_awk_cr='\\r'
20462 else
20463   ac_cs_awk_cr=$ac_cr
20464 fi
20465
20466 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20467 _ACEOF
20468
20469
20470 {
20471   echo "cat >conf$$subs.awk <<_ACEOF" &&
20472   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20473   echo "_ACEOF"
20474 } >conf$$subs.sh ||
20475   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20476 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20477 ac_delim='%!_!# '
20478 for ac_last_try in false false false false false :; do
20479   . ./conf$$subs.sh ||
20480     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20481
20482   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20483   if test $ac_delim_n = $ac_delim_num; then
20484     break
20485   elif $ac_last_try; then
20486     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20487   else
20488     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20489   fi
20490 done
20491 rm -f conf$$subs.sh
20492
20493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20494 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20495 _ACEOF
20496 sed -n '
20497 h
20498 s/^/S["/; s/!.*/"]=/
20499 p
20500 g
20501 s/^[^!]*!//
20502 :repl
20503 t repl
20504 s/'"$ac_delim"'$//
20505 t delim
20506 :nl
20507 h
20508 s/\(.\{148\}\)..*/\1/
20509 t more1
20510 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20511 p
20512 n
20513 b repl
20514 :more1
20515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20516 p
20517 g
20518 s/.\{148\}//
20519 t nl
20520 :delim
20521 h
20522 s/\(.\{148\}\)..*/\1/
20523 t more2
20524 s/["\\]/\\&/g; s/^/"/; s/$/"/
20525 p
20526 b
20527 :more2
20528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20529 p
20530 g
20531 s/.\{148\}//
20532 t delim
20533 ' <conf$$subs.awk | sed '
20534 /^[^""]/{
20535   N
20536   s/\n//
20537 }
20538 ' >>$CONFIG_STATUS || ac_write_fail=1
20539 rm -f conf$$subs.awk
20540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20541 _ACAWK
20542 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20543   for (key in S) S_is_set[key] = 1
20544   FS = "\a"
20545
20546 }
20547 {
20548   line = $ 0
20549   nfields = split(line, field, "@")
20550   substed = 0
20551   len = length(field[1])
20552   for (i = 2; i < nfields; i++) {
20553     key = field[i]
20554     keylen = length(key)
20555     if (S_is_set[key]) {
20556       value = S[key]
20557       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20558       len += length(value) + length(field[++i])
20559       substed = 1
20560     } else
20561       len += 1 + keylen
20562   }
20563
20564   print line
20565 }
20566
20567 _ACAWK
20568 _ACEOF
20569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20570 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20571   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20572 else
20573   cat
20574 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20575   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20576 _ACEOF
20577
20578 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20579 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20580 # trailing colons and then remove the whole line if VPATH becomes empty
20581 # (actually we leave an empty line to preserve line numbers).
20582 if test "x$srcdir" = x.; then
20583   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20584 h
20585 s///
20586 s/^/:/
20587 s/[      ]*$/:/
20588 s/:\$(srcdir):/:/g
20589 s/:\${srcdir}:/:/g
20590 s/:@srcdir@:/:/g
20591 s/^:*//
20592 s/:*$//
20593 x
20594 s/\(=[   ]*\).*/\1/
20595 G
20596 s/\n//
20597 s/^[^=]*=[       ]*$//
20598 }'
20599 fi
20600
20601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20602 fi # test -n "$CONFIG_FILES"
20603
20604 # Set up the scripts for CONFIG_HEADERS section.
20605 # No need to generate them if there are no CONFIG_HEADERS.
20606 # This happens for instance with `./config.status Makefile'.
20607 if test -n "$CONFIG_HEADERS"; then
20608 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20609 BEGIN {
20610 _ACEOF
20611
20612 # Transform confdefs.h into an awk script `defines.awk', embedded as
20613 # here-document in config.status, that substitutes the proper values into
20614 # config.h.in to produce config.h.
20615
20616 # Create a delimiter string that does not exist in confdefs.h, to ease
20617 # handling of long lines.
20618 ac_delim='%!_!# '
20619 for ac_last_try in false false :; do
20620   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20621   if test -z "$ac_tt"; then
20622     break
20623   elif $ac_last_try; then
20624     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20625   else
20626     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20627   fi
20628 done
20629
20630 # For the awk script, D is an array of macro values keyed by name,
20631 # likewise P contains macro parameters if any.  Preserve backslash
20632 # newline sequences.
20633
20634 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20635 sed -n '
20636 s/.\{148\}/&'"$ac_delim"'/g
20637 t rset
20638 :rset
20639 s/^[     ]*#[    ]*define[       ][      ]*/ /
20640 t def
20641 d
20642 :def
20643 s/\\$//
20644 t bsnl
20645 s/["\\]/\\&/g
20646 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20647 D["\1"]=" \3"/p
20648 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20649 d
20650 :bsnl
20651 s/["\\]/\\&/g
20652 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20653 D["\1"]=" \3\\\\\\n"\\/p
20654 t cont
20655 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20656 t cont
20657 d
20658 :cont
20659 n
20660 s/.\{148\}/&'"$ac_delim"'/g
20661 t clear
20662 :clear
20663 s/\\$//
20664 t bsnlc
20665 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20666 d
20667 :bsnlc
20668 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20669 b cont
20670 ' <confdefs.h | sed '
20671 s/'"$ac_delim"'/"\\\
20672 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20673
20674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20675   for (key in D) D_is_set[key] = 1
20676   FS = "\a"
20677 }
20678 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20679   line = \$ 0
20680   split(line, arg, " ")
20681   if (arg[1] == "#") {
20682     defundef = arg[2]
20683     mac1 = arg[3]
20684   } else {
20685     defundef = substr(arg[1], 2)
20686     mac1 = arg[2]
20687   }
20688   split(mac1, mac2, "(") #)
20689   macro = mac2[1]
20690   prefix = substr(line, 1, index(line, defundef) - 1)
20691   if (D_is_set[macro]) {
20692     # Preserve the white space surrounding the "#".
20693     print prefix "define", macro P[macro] D[macro]
20694     next
20695   } else {
20696     # Replace #undef with comments.  This is necessary, for example,
20697     # in the case of _POSIX_SOURCE, which is predefined and required
20698     # on some systems where configure will not decide to define it.
20699     if (defundef == "undef") {
20700       print "/*", prefix defundef, macro, "*/"
20701       next
20702     }
20703   }
20704 }
20705 { print }
20706 _ACAWK
20707 _ACEOF
20708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20709   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20710 fi # test -n "$CONFIG_HEADERS"
20711
20712
20713 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20714 shift
20715 for ac_tag
20716 do
20717   case $ac_tag in
20718   :[FHLC]) ac_mode=$ac_tag; continue;;
20719   esac
20720   case $ac_mode$ac_tag in
20721   :[FHL]*:*);;
20722   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20723   :[FH]-) ac_tag=-:-;;
20724   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20725   esac
20726   ac_save_IFS=$IFS
20727   IFS=:
20728   set x $ac_tag
20729   IFS=$ac_save_IFS
20730   shift
20731   ac_file=$1
20732   shift
20733
20734   case $ac_mode in
20735   :L) ac_source=$1;;
20736   :[FH])
20737     ac_file_inputs=
20738     for ac_f
20739     do
20740       case $ac_f in
20741       -) ac_f="$ac_tmp/stdin";;
20742       *) # Look for the file first in the build tree, then in the source tree
20743          # (if the path is not absolute).  The absolute path cannot be DOS-style,
20744          # because $ac_f cannot contain `:'.
20745          test -f "$ac_f" ||
20746            case $ac_f in
20747            [\\/$]*) false;;
20748            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20749            esac ||
20750            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20751       esac
20752       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20753       as_fn_append ac_file_inputs " '$ac_f'"
20754     done
20755
20756     # Let's still pretend it is `configure' which instantiates (i.e., don't
20757     # use $as_me), people would be surprised to read:
20758     #    /* config.h.  Generated by config.status.  */
20759     configure_input='Generated from '`
20760           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20761         `' by configure.'
20762     if test x"$ac_file" != x-; then
20763       configure_input="$ac_file.  $configure_input"
20764       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20765 $as_echo "$as_me: creating $ac_file" >&6;}
20766     fi
20767     # Neutralize special characters interpreted by sed in replacement strings.
20768     case $configure_input in #(
20769     *\&* | *\|* | *\\* )
20770        ac_sed_conf_input=`$as_echo "$configure_input" |
20771        sed 's/[\\\\&|]/\\\\&/g'`;; #(
20772     *) ac_sed_conf_input=$configure_input;;
20773     esac
20774
20775     case $ac_tag in
20776     *:-:* | *:-) cat >"$ac_tmp/stdin" \
20777       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20778     esac
20779     ;;
20780   esac
20781
20782   ac_dir=`$as_dirname -- "$ac_file" ||
20783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20784          X"$ac_file" : 'X\(//\)[^/]' \| \
20785          X"$ac_file" : 'X\(//\)$' \| \
20786          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20787 $as_echo X"$ac_file" |
20788     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20789             s//\1/
20790             q
20791           }
20792           /^X\(\/\/\)[^/].*/{
20793             s//\1/
20794             q
20795           }
20796           /^X\(\/\/\)$/{
20797             s//\1/
20798             q
20799           }
20800           /^X\(\/\).*/{
20801             s//\1/
20802             q
20803           }
20804           s/.*/./; q'`
20805   as_dir="$ac_dir"; as_fn_mkdir_p
20806   ac_builddir=.
20807
20808 case "$ac_dir" in
20809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20810 *)
20811   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20812   # A ".." for each directory in $ac_dir_suffix.
20813   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20814   case $ac_top_builddir_sub in
20815   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20816   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20817   esac ;;
20818 esac
20819 ac_abs_top_builddir=$ac_pwd
20820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20821 # for backward compatibility:
20822 ac_top_builddir=$ac_top_build_prefix
20823
20824 case $srcdir in
20825   .)  # We are building in place.
20826     ac_srcdir=.
20827     ac_top_srcdir=$ac_top_builddir_sub
20828     ac_abs_top_srcdir=$ac_pwd ;;
20829   [\\/]* | ?:[\\/]* )  # Absolute name.
20830     ac_srcdir=$srcdir$ac_dir_suffix;
20831     ac_top_srcdir=$srcdir
20832     ac_abs_top_srcdir=$srcdir ;;
20833   *) # Relative name.
20834     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20835     ac_top_srcdir=$ac_top_build_prefix$srcdir
20836     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20837 esac
20838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20839
20840
20841   case $ac_mode in
20842   :F)
20843   #
20844   # CONFIG_FILE
20845   #
20846
20847   case $INSTALL in
20848   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20849   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20850   esac
20851   ac_MKDIR_P=$MKDIR_P
20852   case $MKDIR_P in
20853   [\\/$]* | ?:[\\/]* ) ;;
20854   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20855   esac
20856 _ACEOF
20857
20858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20859 # If the template does not know about datarootdir, expand it.
20860 # FIXME: This hack should be removed a few years after 2.60.
20861 ac_datarootdir_hack=; ac_datarootdir_seen=
20862 ac_sed_dataroot='
20863 /datarootdir/ {
20864   p
20865   q
20866 }
20867 /@datadir@/p
20868 /@docdir@/p
20869 /@infodir@/p
20870 /@localedir@/p
20871 /@mandir@/p'
20872 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20873 *datarootdir*) ac_datarootdir_seen=yes;;
20874 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20875   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20876 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20877 _ACEOF
20878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20879   ac_datarootdir_hack='
20880   s&@datadir@&$datadir&g
20881   s&@docdir@&$docdir&g
20882   s&@infodir@&$infodir&g
20883   s&@localedir@&$localedir&g
20884   s&@mandir@&$mandir&g
20885   s&\\\${datarootdir}&$datarootdir&g' ;;
20886 esac
20887 _ACEOF
20888
20889 # Neutralize VPATH when `$srcdir' = `.'.
20890 # Shell code in configure.ac might set extrasub.
20891 # FIXME: do we really want to maintain this feature?
20892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20893 ac_sed_extra="$ac_vpsub
20894 $extrasub
20895 _ACEOF
20896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20897 :t
20898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20899 s|@configure_input@|$ac_sed_conf_input|;t t
20900 s&@top_builddir@&$ac_top_builddir_sub&;t t
20901 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20902 s&@srcdir@&$ac_srcdir&;t t
20903 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20904 s&@top_srcdir@&$ac_top_srcdir&;t t
20905 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20906 s&@builddir@&$ac_builddir&;t t
20907 s&@abs_builddir@&$ac_abs_builddir&;t t
20908 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20909 s&@INSTALL@&$ac_INSTALL&;t t
20910 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20911 $ac_datarootdir_hack
20912 "
20913 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20914   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20915
20916 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20917   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20918   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
20919       "$ac_tmp/out"`; test -z "$ac_out"; } &&
20920   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20921 which seems to be undefined.  Please make sure it is defined" >&5
20922 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20923 which seems to be undefined.  Please make sure it is defined" >&2;}
20924
20925   rm -f "$ac_tmp/stdin"
20926   case $ac_file in
20927   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20928   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20929   esac \
20930   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20931  ;;
20932   :H)
20933   #
20934   # CONFIG_HEADER
20935   #
20936   if test x"$ac_file" != x-; then
20937     {
20938       $as_echo "/* $configure_input  */" \
20939       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20940     } >"$ac_tmp/config.h" \
20941       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20942     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20943       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20944 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20945     else
20946       rm -f "$ac_file"
20947       mv "$ac_tmp/config.h" "$ac_file" \
20948         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20949     fi
20950   else
20951     $as_echo "/* $configure_input  */" \
20952       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20953       || as_fn_error $? "could not create -" "$LINENO" 5
20954   fi
20955 # Compute "$ac_file"'s index in $config_headers.
20956 _am_arg="$ac_file"
20957 _am_stamp_count=1
20958 for _am_header in $config_headers :; do
20959   case $_am_header in
20960     $_am_arg | $_am_arg:* )
20961       break ;;
20962     * )
20963       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20964   esac
20965 done
20966 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20967 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20968          X"$_am_arg" : 'X\(//\)[^/]' \| \
20969          X"$_am_arg" : 'X\(//\)$' \| \
20970          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20971 $as_echo X"$_am_arg" |
20972     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20973             s//\1/
20974             q
20975           }
20976           /^X\(\/\/\)[^/].*/{
20977             s//\1/
20978             q
20979           }
20980           /^X\(\/\/\)$/{
20981             s//\1/
20982             q
20983           }
20984           /^X\(\/\).*/{
20985             s//\1/
20986             q
20987           }
20988           s/.*/./; q'`/stamp-h$_am_stamp_count
20989  ;;
20990
20991   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20992 $as_echo "$as_me: executing $ac_file commands" >&6;}
20993  ;;
20994   esac
20995
20996
20997   case $ac_file$ac_mode in
20998     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20999   # Autoconf 2.62 quotes --file arguments for eval, but not when files
21000   # are listed without --file.  Let's play safe and only enable the eval
21001   # if we detect the quoting.
21002   case $CONFIG_FILES in
21003   *\'*) eval set x "$CONFIG_FILES" ;;
21004   *)   set x $CONFIG_FILES ;;
21005   esac
21006   shift
21007   for mf
21008   do
21009     # Strip MF so we end up with the name of the file.
21010     mf=`echo "$mf" | sed -e 's/:.*$//'`
21011     # Check whether this is an Automake generated Makefile or not.
21012     # We used to match only the files named `Makefile.in', but
21013     # some people rename them; so instead we look at the file content.
21014     # Grep'ing the first line is not enough: some people post-process
21015     # each Makefile.in and add a new line on top of each file to say so.
21016     # Grep'ing the whole file is not good either: AIX grep has a line
21017     # limit of 2048, but all sed's we know have understand at least 4000.
21018     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21019       dirpart=`$as_dirname -- "$mf" ||
21020 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21021          X"$mf" : 'X\(//\)[^/]' \| \
21022          X"$mf" : 'X\(//\)$' \| \
21023          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21024 $as_echo X"$mf" |
21025     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21026             s//\1/
21027             q
21028           }
21029           /^X\(\/\/\)[^/].*/{
21030             s//\1/
21031             q
21032           }
21033           /^X\(\/\/\)$/{
21034             s//\1/
21035             q
21036           }
21037           /^X\(\/\).*/{
21038             s//\1/
21039             q
21040           }
21041           s/.*/./; q'`
21042     else
21043       continue
21044     fi
21045     # Extract the definition of DEPDIR, am__include, and am__quote
21046     # from the Makefile without running `make'.
21047     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21048     test -z "$DEPDIR" && continue
21049     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21050     test -z "am__include" && continue
21051     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21052     # When using ansi2knr, U may be empty or an underscore; expand it
21053     U=`sed -n 's/^U = //p' < "$mf"`
21054     # Find all dependency output files, they are included files with
21055     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21056     # simplest approach to changing $(DEPDIR) to its actual value in the
21057     # expansion.
21058     for file in `sed -n "
21059       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21060          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21061       # Make sure the directory exists.
21062       test -f "$dirpart/$file" && continue
21063       fdir=`$as_dirname -- "$file" ||
21064 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21065          X"$file" : 'X\(//\)[^/]' \| \
21066          X"$file" : 'X\(//\)$' \| \
21067          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21068 $as_echo X"$file" |
21069     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21070             s//\1/
21071             q
21072           }
21073           /^X\(\/\/\)[^/].*/{
21074             s//\1/
21075             q
21076           }
21077           /^X\(\/\/\)$/{
21078             s//\1/
21079             q
21080           }
21081           /^X\(\/\).*/{
21082             s//\1/
21083             q
21084           }
21085           s/.*/./; q'`
21086       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21087       # echo "creating $dirpart/$file"
21088       echo '# dummy' > "$dirpart/$file"
21089     done
21090   done
21091 }
21092  ;;
21093     "libtool":C)
21094
21095     # See if we are running on zsh, and set the options which allow our
21096     # commands through without removal of \ escapes.
21097     if test -n "${ZSH_VERSION+set}" ; then
21098       setopt NO_GLOB_SUBST
21099     fi
21100
21101     cfgfile="${ofile}T"
21102     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21103     $RM "$cfgfile"
21104
21105     cat <<_LT_EOF >> "$cfgfile"
21106 #! $SHELL
21107
21108 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21109 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21110 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21111 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21112 #
21113 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21114 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21115 #                 Foundation, Inc.
21116 #   Written by Gordon Matzigkeit, 1996
21117 #
21118 #   This file is part of GNU Libtool.
21119 #
21120 # GNU Libtool is free software; you can redistribute it and/or
21121 # modify it under the terms of the GNU General Public License as
21122 # published by the Free Software Foundation; either version 2 of
21123 # the License, or (at your option) any later version.
21124 #
21125 # As a special exception to the GNU General Public License,
21126 # if you distribute this file as part of a program or library that
21127 # is built using GNU Libtool, you may include this file under the
21128 # same distribution terms that you use for the rest of that program.
21129 #
21130 # GNU Libtool is distributed in the hope that it will be useful,
21131 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21132 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21133 # GNU General Public License for more details.
21134 #
21135 # You should have received a copy of the GNU General Public License
21136 # along with GNU Libtool; see the file COPYING.  If not, a copy
21137 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21138 # obtained by writing to the Free Software Foundation, Inc.,
21139 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21140
21141
21142 # The names of the tagged configurations supported by this script.
21143 available_tags=""
21144
21145 # ### BEGIN LIBTOOL CONFIG
21146
21147 # Which release of libtool.m4 was used?
21148 macro_version=$macro_version
21149 macro_revision=$macro_revision
21150
21151 # Whether or not to build shared libraries.
21152 build_libtool_libs=$enable_shared
21153
21154 # Whether or not to build static libraries.
21155 build_old_libs=$enable_static
21156
21157 # What type of objects to build.
21158 pic_mode=$pic_mode
21159
21160 # Whether or not to optimize for fast installation.
21161 fast_install=$enable_fast_install
21162
21163 # Shell to use when invoking shell scripts.
21164 SHELL=$lt_SHELL
21165
21166 # An echo program that protects backslashes.
21167 ECHO=$lt_ECHO
21168
21169 # The PATH separator for the build system.
21170 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21171
21172 # The host system.
21173 host_alias=$host_alias
21174 host=$host
21175 host_os=$host_os
21176
21177 # The build system.
21178 build_alias=$build_alias
21179 build=$build
21180 build_os=$build_os
21181
21182 # A sed program that does not truncate output.
21183 SED=$lt_SED
21184
21185 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21186 Xsed="\$SED -e 1s/^X//"
21187
21188 # A grep program that handles long lines.
21189 GREP=$lt_GREP
21190
21191 # An ERE matcher.
21192 EGREP=$lt_EGREP
21193
21194 # A literal string matcher.
21195 FGREP=$lt_FGREP
21196
21197 # A BSD- or MS-compatible name lister.
21198 NM=$lt_NM
21199
21200 # Whether we need soft or hard links.
21201 LN_S=$lt_LN_S
21202
21203 # What is the maximum length of a command?
21204 max_cmd_len=$max_cmd_len
21205
21206 # Object file suffix (normally "o").
21207 objext=$ac_objext
21208
21209 # Executable file suffix (normally "").
21210 exeext=$exeext
21211
21212 # whether the shell understands "unset".
21213 lt_unset=$lt_unset
21214
21215 # turn spaces into newlines.
21216 SP2NL=$lt_lt_SP2NL
21217
21218 # turn newlines into spaces.
21219 NL2SP=$lt_lt_NL2SP
21220
21221 # convert \$build file names to \$host format.
21222 to_host_file_cmd=$lt_cv_to_host_file_cmd
21223
21224 # convert \$build files to toolchain format.
21225 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21226
21227 # An object symbol dumper.
21228 OBJDUMP=$lt_OBJDUMP
21229
21230 # Method to check whether dependent libraries are shared objects.
21231 deplibs_check_method=$lt_deplibs_check_method
21232
21233 # Command to use when deplibs_check_method = "file_magic".
21234 file_magic_cmd=$lt_file_magic_cmd
21235
21236 # How to find potential files when deplibs_check_method = "file_magic".
21237 file_magic_glob=$lt_file_magic_glob
21238
21239 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21240 want_nocaseglob=$lt_want_nocaseglob
21241
21242 # DLL creation program.
21243 DLLTOOL=$lt_DLLTOOL
21244
21245 # Command to associate shared and link libraries.
21246 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21247
21248 # The archiver.
21249 AR=$lt_AR
21250
21251 # Flags to create an archive.
21252 AR_FLAGS=$lt_AR_FLAGS
21253
21254 # How to feed a file listing to the archiver.
21255 archiver_list_spec=$lt_archiver_list_spec
21256
21257 # A symbol stripping program.
21258 STRIP=$lt_STRIP
21259
21260 # Commands used to install an old-style archive.
21261 RANLIB=$lt_RANLIB
21262 old_postinstall_cmds=$lt_old_postinstall_cmds
21263 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21264
21265 # Whether to use a lock for old archive extraction.
21266 lock_old_archive_extraction=$lock_old_archive_extraction
21267
21268 # A C compiler.
21269 LTCC=$lt_CC
21270
21271 # LTCC compiler flags.
21272 LTCFLAGS=$lt_CFLAGS
21273
21274 # Take the output of nm and produce a listing of raw symbols and C names.
21275 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21276
21277 # Transform the output of nm in a proper C declaration.
21278 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21279
21280 # Transform the output of nm in a C name address pair.
21281 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21282
21283 # Transform the output of nm in a C name address pair when lib prefix is needed.
21284 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21285
21286 # Specify filename containing input files for \$NM.
21287 nm_file_list_spec=$lt_nm_file_list_spec
21288
21289 # The root where to search for dependent libraries,and in which our libraries should be installed.
21290 lt_sysroot=$lt_sysroot
21291
21292 # The name of the directory that contains temporary libtool files.
21293 objdir=$objdir
21294
21295 # Used to examine libraries when file_magic_cmd begins with "file".
21296 MAGIC_CMD=$MAGIC_CMD
21297
21298 # Must we lock files when doing compilation?
21299 need_locks=$lt_need_locks
21300
21301 # Manifest tool.
21302 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21303
21304 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21305 DSYMUTIL=$lt_DSYMUTIL
21306
21307 # Tool to change global to local symbols on Mac OS X.
21308 NMEDIT=$lt_NMEDIT
21309
21310 # Tool to manipulate fat objects and archives on Mac OS X.
21311 LIPO=$lt_LIPO
21312
21313 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21314 OTOOL=$lt_OTOOL
21315
21316 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21317 OTOOL64=$lt_OTOOL64
21318
21319 # Old archive suffix (normally "a").
21320 libext=$libext
21321
21322 # Shared library suffix (normally ".so").
21323 shrext_cmds=$lt_shrext_cmds
21324
21325 # The commands to extract the exported symbol list from a shared archive.
21326 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21327
21328 # Variables whose values should be saved in libtool wrapper scripts and
21329 # restored at link time.
21330 variables_saved_for_relink=$lt_variables_saved_for_relink
21331
21332 # Do we need the "lib" prefix for modules?
21333 need_lib_prefix=$need_lib_prefix
21334
21335 # Do we need a version for libraries?
21336 need_version=$need_version
21337
21338 # Library versioning type.
21339 version_type=$version_type
21340
21341 # Shared library runtime path variable.
21342 runpath_var=$runpath_var
21343
21344 # Shared library path variable.
21345 shlibpath_var=$shlibpath_var
21346
21347 # Is shlibpath searched before the hard-coded library search path?
21348 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21349
21350 # Format of library name prefix.
21351 libname_spec=$lt_libname_spec
21352
21353 # List of archive names.  First name is the real one, the rest are links.
21354 # The last name is the one that the linker finds with -lNAME
21355 library_names_spec=$lt_library_names_spec
21356
21357 # The coded name of the library, if different from the real name.
21358 soname_spec=$lt_soname_spec
21359
21360 # Permission mode override for installation of shared libraries.
21361 install_override_mode=$lt_install_override_mode
21362
21363 # Command to use after installation of a shared archive.
21364 postinstall_cmds=$lt_postinstall_cmds
21365
21366 # Command to use after uninstallation of a shared archive.
21367 postuninstall_cmds=$lt_postuninstall_cmds
21368
21369 # Commands used to finish a libtool library installation in a directory.
21370 finish_cmds=$lt_finish_cmds
21371
21372 # As "finish_cmds", except a single script fragment to be evaled but
21373 # not shown.
21374 finish_eval=$lt_finish_eval
21375
21376 # Whether we should hardcode library paths into libraries.
21377 hardcode_into_libs=$hardcode_into_libs
21378
21379 # Compile-time system search path for libraries.
21380 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21381
21382 # Run-time system search path for libraries.
21383 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21384
21385 # Whether dlopen is supported.
21386 dlopen_support=$enable_dlopen
21387
21388 # Whether dlopen of programs is supported.
21389 dlopen_self=$enable_dlopen_self
21390
21391 # Whether dlopen of statically linked programs is supported.
21392 dlopen_self_static=$enable_dlopen_self_static
21393
21394 # Commands to strip libraries.
21395 old_striplib=$lt_old_striplib
21396 striplib=$lt_striplib
21397
21398
21399 # The linker used to build libraries.
21400 LD=$lt_LD
21401
21402 # How to create reloadable object files.
21403 reload_flag=$lt_reload_flag
21404 reload_cmds=$lt_reload_cmds
21405
21406 # Commands used to build an old-style archive.
21407 old_archive_cmds=$lt_old_archive_cmds
21408
21409 # A language specific compiler.
21410 CC=$lt_compiler
21411
21412 # Is the compiler the GNU compiler?
21413 with_gcc=$GCC
21414
21415 # Compiler flag to turn off builtin functions.
21416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21417
21418 # Additional compiler flags for building library objects.
21419 pic_flag=$lt_lt_prog_compiler_pic
21420
21421 # How to pass a linker flag through the compiler.
21422 wl=$lt_lt_prog_compiler_wl
21423
21424 # Compiler flag to prevent dynamic linking.
21425 link_static_flag=$lt_lt_prog_compiler_static
21426
21427 # Does compiler simultaneously support -c and -o options?
21428 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21429
21430 # Whether or not to add -lc for building shared libraries.
21431 build_libtool_need_lc=$archive_cmds_need_lc
21432
21433 # Whether or not to disallow shared libs when runtime libs are static.
21434 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21435
21436 # Compiler flag to allow reflexive dlopens.
21437 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21438
21439 # Compiler flag to generate shared objects directly from archives.
21440 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21441
21442 # Whether the compiler copes with passing no objects directly.
21443 compiler_needs_object=$lt_compiler_needs_object
21444
21445 # Create an old-style archive from a shared archive.
21446 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21447
21448 # Create a temporary old-style archive to link instead of a shared archive.
21449 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21450
21451 # Commands used to build a shared archive.
21452 archive_cmds=$lt_archive_cmds
21453 archive_expsym_cmds=$lt_archive_expsym_cmds
21454
21455 # Commands used to build a loadable module if different from building
21456 # a shared archive.
21457 module_cmds=$lt_module_cmds
21458 module_expsym_cmds=$lt_module_expsym_cmds
21459
21460 # Whether we are building with GNU ld or not.
21461 with_gnu_ld=$lt_with_gnu_ld
21462
21463 # Flag that allows shared libraries with undefined symbols to be built.
21464 allow_undefined_flag=$lt_allow_undefined_flag
21465
21466 # Flag that enforces no undefined symbols.
21467 no_undefined_flag=$lt_no_undefined_flag
21468
21469 # Flag to hardcode \$libdir into a binary during linking.
21470 # This must work even if \$libdir does not exist
21471 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21472
21473 # Whether we need a single "-rpath" flag with a separated argument.
21474 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21475
21476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21477 # DIR into the resulting binary.
21478 hardcode_direct=$hardcode_direct
21479
21480 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21481 # DIR into the resulting binary and the resulting library dependency is
21482 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21483 # library is relocated.
21484 hardcode_direct_absolute=$hardcode_direct_absolute
21485
21486 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21487 # into the resulting binary.
21488 hardcode_minus_L=$hardcode_minus_L
21489
21490 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21491 # into the resulting binary.
21492 hardcode_shlibpath_var=$hardcode_shlibpath_var
21493
21494 # Set to "yes" if building a shared library automatically hardcodes DIR
21495 # into the library and all subsequent libraries and executables linked
21496 # against it.
21497 hardcode_automatic=$hardcode_automatic
21498
21499 # Set to yes if linker adds runtime paths of dependent libraries
21500 # to runtime path list.
21501 inherit_rpath=$inherit_rpath
21502
21503 # Whether libtool must link a program against all its dependency libraries.
21504 link_all_deplibs=$link_all_deplibs
21505
21506 # Set to "yes" if exported symbols are required.
21507 always_export_symbols=$always_export_symbols
21508
21509 # The commands to list exported symbols.
21510 export_symbols_cmds=$lt_export_symbols_cmds
21511
21512 # Symbols that should not be listed in the preloaded symbols.
21513 exclude_expsyms=$lt_exclude_expsyms
21514
21515 # Symbols that must always be exported.
21516 include_expsyms=$lt_include_expsyms
21517
21518 # Commands necessary for linking programs (against libraries) with templates.
21519 prelink_cmds=$lt_prelink_cmds
21520
21521 # Commands necessary for finishing linking programs.
21522 postlink_cmds=$lt_postlink_cmds
21523
21524 # Specify filename containing input files.
21525 file_list_spec=$lt_file_list_spec
21526
21527 # How to hardcode a shared library path into an executable.
21528 hardcode_action=$hardcode_action
21529
21530 # ### END LIBTOOL CONFIG
21531
21532 _LT_EOF
21533
21534   case $host_os in
21535   aix3*)
21536     cat <<\_LT_EOF >> "$cfgfile"
21537 # AIX sometimes has problems with the GCC collect2 program.  For some
21538 # reason, if we set the COLLECT_NAMES environment variable, the problems
21539 # vanish in a puff of smoke.
21540 if test "X${COLLECT_NAMES+set}" != Xset; then
21541   COLLECT_NAMES=
21542   export COLLECT_NAMES
21543 fi
21544 _LT_EOF
21545     ;;
21546   esac
21547
21548
21549 ltmain="$ac_aux_dir/ltmain.sh"
21550
21551
21552   # We use sed instead of cat because bash on DJGPP gets confused if
21553   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21554   # text mode, it properly converts lines to CR/LF.  This bash problem
21555   # is reportedly fixed, but why not run on old versions too?
21556   sed '$q' "$ltmain" >> "$cfgfile" \
21557      || (rm -f "$cfgfile"; exit 1)
21558
21559   if test x"$xsi_shell" = xyes; then
21560   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21561 func_dirname ()\
21562 {\
21563 \    case ${1} in\
21564 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21565 \      *  ) func_dirname_result="${3}" ;;\
21566 \    esac\
21567 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21568   && mv -f "$cfgfile.tmp" "$cfgfile" \
21569     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21570 test 0 -eq $? || _lt_function_replace_fail=:
21571
21572
21573   sed -e '/^func_basename ()$/,/^} # func_basename /c\
21574 func_basename ()\
21575 {\
21576 \    func_basename_result="${1##*/}"\
21577 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21578   && mv -f "$cfgfile.tmp" "$cfgfile" \
21579     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21580 test 0 -eq $? || _lt_function_replace_fail=:
21581
21582
21583   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21584 func_dirname_and_basename ()\
21585 {\
21586 \    case ${1} in\
21587 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21588 \      *  ) func_dirname_result="${3}" ;;\
21589 \    esac\
21590 \    func_basename_result="${1##*/}"\
21591 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21592   && mv -f "$cfgfile.tmp" "$cfgfile" \
21593     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21594 test 0 -eq $? || _lt_function_replace_fail=:
21595
21596
21597   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21598 func_stripname ()\
21599 {\
21600 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21601 \    # positional parameters, so assign one to ordinary parameter first.\
21602 \    func_stripname_result=${3}\
21603 \    func_stripname_result=${func_stripname_result#"${1}"}\
21604 \    func_stripname_result=${func_stripname_result%"${2}"}\
21605 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21606   && mv -f "$cfgfile.tmp" "$cfgfile" \
21607     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21608 test 0 -eq $? || _lt_function_replace_fail=:
21609
21610
21611   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21612 func_split_long_opt ()\
21613 {\
21614 \    func_split_long_opt_name=${1%%=*}\
21615 \    func_split_long_opt_arg=${1#*=}\
21616 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21617   && mv -f "$cfgfile.tmp" "$cfgfile" \
21618     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21619 test 0 -eq $? || _lt_function_replace_fail=:
21620
21621
21622   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21623 func_split_short_opt ()\
21624 {\
21625 \    func_split_short_opt_arg=${1#??}\
21626 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21627 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21628   && mv -f "$cfgfile.tmp" "$cfgfile" \
21629     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21630 test 0 -eq $? || _lt_function_replace_fail=:
21631
21632
21633   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21634 func_lo2o ()\
21635 {\
21636 \    case ${1} in\
21637 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21638 \      *)    func_lo2o_result=${1} ;;\
21639 \    esac\
21640 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21641   && mv -f "$cfgfile.tmp" "$cfgfile" \
21642     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21643 test 0 -eq $? || _lt_function_replace_fail=:
21644
21645
21646   sed -e '/^func_xform ()$/,/^} # func_xform /c\
21647 func_xform ()\
21648 {\
21649     func_xform_result=${1%.*}.lo\
21650 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21651   && mv -f "$cfgfile.tmp" "$cfgfile" \
21652     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21653 test 0 -eq $? || _lt_function_replace_fail=:
21654
21655
21656   sed -e '/^func_arith ()$/,/^} # func_arith /c\
21657 func_arith ()\
21658 {\
21659     func_arith_result=$(( $* ))\
21660 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21661   && mv -f "$cfgfile.tmp" "$cfgfile" \
21662     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21663 test 0 -eq $? || _lt_function_replace_fail=:
21664
21665
21666   sed -e '/^func_len ()$/,/^} # func_len /c\
21667 func_len ()\
21668 {\
21669     func_len_result=${#1}\
21670 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21671   && mv -f "$cfgfile.tmp" "$cfgfile" \
21672     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21673 test 0 -eq $? || _lt_function_replace_fail=:
21674
21675 fi
21676
21677 if test x"$lt_shell_append" = xyes; then
21678   sed -e '/^func_append ()$/,/^} # func_append /c\
21679 func_append ()\
21680 {\
21681     eval "${1}+=\\${2}"\
21682 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21683   && mv -f "$cfgfile.tmp" "$cfgfile" \
21684     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21685 test 0 -eq $? || _lt_function_replace_fail=:
21686
21687
21688   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21689 func_append_quoted ()\
21690 {\
21691 \    func_quote_for_eval "${2}"\
21692 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21693 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21694   && mv -f "$cfgfile.tmp" "$cfgfile" \
21695     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21696 test 0 -eq $? || _lt_function_replace_fail=:
21697
21698
21699   # Save a `func_append' function call where possible by direct use of '+='
21700   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21701     && mv -f "$cfgfile.tmp" "$cfgfile" \
21702       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21703   test 0 -eq $? || _lt_function_replace_fail=:
21704 else
21705   # Save a `func_append' function call even when '+=' is not available
21706   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21707     && mv -f "$cfgfile.tmp" "$cfgfile" \
21708       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21709   test 0 -eq $? || _lt_function_replace_fail=:
21710 fi
21711
21712 if test x"$_lt_function_replace_fail" = x":"; then
21713   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21714 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21715 fi
21716
21717
21718    mv -f "$cfgfile" "$ofile" ||
21719     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21720   chmod +x "$ofile"
21721
21722  ;;
21723
21724   esac
21725 done # for ac_tag
21726
21727
21728 as_fn_exit 0
21729 _ACEOF
21730 ac_clean_files=$ac_clean_files_save
21731
21732 test $ac_write_fail = 0 ||
21733   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21734
21735
21736 # configure is writing to config.log, and then calls config.status.
21737 # config.status does its own redirection, appending to config.log.
21738 # Unfortunately, on DOS this fails, as config.log is still kept open
21739 # by configure, so config.status won't be able to write to it; its
21740 # output is simply discarded.  So we exec the FD to /dev/null,
21741 # effectively closing config.log, so it can be properly (re)opened and
21742 # appended to by config.status.  When coming back to configure, we
21743 # need to make the FD available again.
21744 if test "$no_create" != yes; then
21745   ac_cs_success=:
21746   ac_config_status_args=
21747   test "$silent" = yes &&
21748     ac_config_status_args="$ac_config_status_args --quiet"
21749   exec 5>/dev/null
21750   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21751   exec 5>>config.log
21752   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21753   # would make configure fail if this is the last instruction.
21754   $ac_cs_success || as_fn_exit 1
21755 fi
21756 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21757   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21758 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21759 fi
21760
21761
21762 echo "
21763
21764 Configuration:
21765
21766   Source code location: ${srcdir}
21767   Install prefix:       ${prefix}
21768   Compiler:             ${CC}
21769
21770   Profiling enabled:    ${enable_profiling}
21771
21772   Large file support:   ${enable_largefile}
21773   Console warnings:     ${enable_warnings}
21774   PGP/MIME support:     ${enable_cryptography}
21775   S/MIME support:       ${enable_smime}
21776   Strict parser:        ${enable_strict_parser}
21777
21778   Mono bindings:        ${enable_mono}
21779 "