Add gtklauncher source to support vuplus platform.
[vuplus_webkit] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for WebKit 1.6.1.
4 #
5 # Report bugs to <http://bugs.webkit.org/>.
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://bugs.webkit.org/ about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='WebKit'
572 PACKAGE_TARNAME='webkit'
573 PACKAGE_VERSION='1.6.1'
574 PACKAGE_STRING='WebKit 1.6.1'
575 PACKAGE_BUGREPORT='http://bugs.webkit.org/'
576 PACKAGE_URL=''
577
578 ac_unique_file="Source/WebCore/config.h"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 ENABLE_INTROSPECTION_FALSE
620 ENABLE_INTROSPECTION_TRUE
621 ENABLE_DEVICE_ORIENTATION_FALSE
622 ENABLE_DEVICE_ORIENTATION_TRUE
623 ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE
624 ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE
625 ENABLE_TOUCH_ICON_LOADING_FALSE
626 ENABLE_TOUCH_ICON_LOADING_TRUE
627 ENABLE_ANIMATION_API_FALSE
628 ENABLE_ANIMATION_API_TRUE
629 ENABLE_SPELLCHECK_FALSE
630 ENABLE_SPELLCHECK_TRUE
631 ENABLE_PLUGIN_PROCESS_FALSE
632 ENABLE_PLUGIN_PROCESS_TRUE
633 ENABLE_WEBKIT2_FALSE
634 ENABLE_WEBKIT2_TRUE
635 ENABLE_OPCODE_STATS_FALSE
636 ENABLE_OPCODE_STATS_TRUE
637 ENABLE_WEB_TIMING_FALSE
638 ENABLE_WEB_TIMING_TRUE
639 ENABLE_WEB_AUDIO_FALSE
640 ENABLE_WEB_AUDIO_TRUE
641 ENABLE_WEB_SOCKETS_FALSE
642 ENABLE_WEB_SOCKETS_TRUE
643 HTML_FLAGS_FALSE
644 HTML_FLAGS_TRUE
645 SVG_FLAGS_FALSE
646 SVG_FLAGS_TRUE
647 ENABLE_SHARED_WORKERS_FALSE
648 ENABLE_SHARED_WORKERS_TRUE
649 ENABLE_WORKERS_FALSE
650 ENABLE_WORKERS_TRUE
651 ENABLE_WCSS_FALSE
652 ENABLE_WCSS_TRUE
653 ENABLE_FAST_MALLOC_FALSE
654 ENABLE_FAST_MALLOC_TRUE
655 ENABLE_COVERAGE_FALSE
656 ENABLE_COVERAGE_TRUE
657 ENABLE_SVG_FONTS_FALSE
658 ENABLE_SVG_FONTS_TRUE
659 ENABLE_SVG_FALSE
660 ENABLE_SVG_TRUE
661 ENABLE_ORIENTATION_EVENTS_FALSE
662 ENABLE_ORIENTATION_EVENTS_TRUE
663 ENABLE_NOTIFICATIONS_FALSE
664 ENABLE_NOTIFICATIONS_TRUE
665 ENABLE_MEDIA_STREAM_FALSE
666 ENABLE_MEDIA_STREAM_TRUE
667 ENABLE_FULLSCREEN_API_FALSE
668 ENABLE_FULLSCREEN_API_TRUE
669 ENABLE_VIDEO_TRACK_FALSE
670 ENABLE_VIDEO_TRACK_TRUE
671 ENABLE_MEDIA_STATISTICS_FALSE
672 ENABLE_MEDIA_STATISTICS_TRUE
673 ENABLE_MEDIA_SOURCE_FALSE
674 ENABLE_MEDIA_SOURCE_TRUE
675 ENABLE_ELIS_MEDIA_FALSE
676 ENABLE_ELIS_MEDIA_TRUE
677 ENABLE_VIDEO_FALSE
678 ENABLE_VIDEO_TRUE
679 ENABLE_MHTML_FALSE
680 ENABLE_MHTML_TRUE
681 ENABLE_MATHML_FALSE
682 ENABLE_MATHML_TRUE
683 ENABLE_CLIENT_BASED_GEOLOCATION_FALSE
684 ENABLE_CLIENT_BASED_GEOLOCATION_TRUE
685 ENABLE_GEOLOCATION_FALSE
686 ENABLE_GEOLOCATION_TRUE
687 ENABLE_FILTERS_FALSE
688 ENABLE_FILTERS_TRUE
689 ENABLE_XSLT_FALSE
690 ENABLE_XSLT_TRUE
691 ENABLE_XPATH_FALSE
692 ENABLE_XPATH_TRUE
693 ENABLE_XHTMLMP_FALSE
694 ENABLE_XHTMLMP_TRUE
695 ENABLE_INPUT_SPEECH_FALSE
696 ENABLE_INPUT_SPEECH_TRUE
697 ENABLE_INPUT_COLOR_FALSE
698 ENABLE_INPUT_COLOR_TRUE
699 ENABLE_INDEXED_DATABASE_FALSE
700 ENABLE_INDEXED_DATABASE_TRUE
701 ENABLE_IMAGE_RESIZER_FALSE
702 ENABLE_IMAGE_RESIZER_TRUE
703 ENABLE_ICONDATABASE_FALSE
704 ENABLE_ICONDATABASE_TRUE
705 ENABLE_QUOTA_FALSE
706 ENABLE_QUOTA_TRUE
707 ENABLE_FILE_SYSTEM_FALSE
708 ENABLE_FILE_SYSTEM_TRUE
709 ENABLE_FAST_MOBILE_SCROLLING_FALSE
710 ENABLE_FAST_MOBILE_SCROLLING_TRUE
711 ENABLE_DETAILS_FALSE
712 ENABLE_DETAILS_TRUE
713 ENABLE_DATALIST_FALSE
714 ENABLE_DATALIST_TRUE
715 ENABLE_SQL_DATABASE_FALSE
716 ENABLE_SQL_DATABASE_TRUE
717 ENABLE_DOM_STORAGE_FALSE
718 ENABLE_DOM_STORAGE_TRUE
719 ENABLE_DATA_TRANSFER_ITEMS_FALSE
720 ENABLE_DATA_TRANSFER_ITEMS_TRUE
721 ENABLE_DATAGRID_FALSE
722 ENABLE_DATAGRID_TRUE
723 ENABLE_DIRECTORY_UPLOAD_FALSE
724 ENABLE_DIRECTORY_UPLOAD_TRUE
725 ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE
726 ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE
727 ENABLE_JAVASCRIPT_DEBUGGER_FALSE
728 ENABLE_JAVASCRIPT_DEBUGGER_TRUE
729 ENABLE_CHANNEL_MESSAGING_FALSE
730 ENABLE_CHANNEL_MESSAGING_TRUE
731 ENABLE_PROGRESS_TAG_FALSE
732 ENABLE_PROGRESS_TAG_TRUE
733 ENABLE_PAGE_VISIBILITY_API_FALSE
734 ENABLE_PAGE_VISIBILITY_API_TRUE
735 ENABLE_METER_TAG_FALSE
736 ENABLE_METER_TAG_TRUE
737 ENABLE_BLOB_FALSE
738 ENABLE_BLOB_TRUE
739 ENABLE_WEBGL_FALSE
740 ENABLE_WEBGL_TRUE
741 ENABLE_3D_RENDERING_FALSE
742 ENABLE_3D_RENDERING_TRUE
743 ENABLE_DEBUG_FALSE
744 ENABLE_DEBUG_TRUE
745 USE_GSTREAMER_FALSE
746 USE_GSTREAMER_TRUE
747 USE_PANGO_FALSE
748 USE_PANGO_TRUE
749 USE_FREETYPE_FALSE
750 USE_FREETYPE_TRUE
751 USE_GLIB_UNICODE_FALSE
752 USE_GLIB_UNICODE_TRUE
753 USE_ICU_UNICODE_FALSE
754 USE_ICU_UNICODE_TRUE
755 TARGET_DIRECTFB_FALSE
756 TARGET_DIRECTFB_TRUE
757 TARGET_QUARTZ_FALSE
758 TARGET_QUARTZ_TRUE
759 TARGET_WIN32_FALSE
760 TARGET_WIN32_TRUE
761 TARGET_X11_FALSE
762 TARGET_X11_TRUE
763 OS_FREEBSD_FALSE
764 OS_FREEBSD_TRUE
765 OS_GNU_FALSE
766 OS_GNU_TRUE
767 OS_LINUX_FALSE
768 OS_LINUX_TRUE
769 OS_UNIX_FALSE
770 OS_UNIX_TRUE
771 OS_WIN32_FALSE
772 OS_WIN32_TRUE
773 GTK2_LIBS
774 GTK2_CFLAGS
775 COVERAGE_LDFLAGS
776 COVERAGE_CFLAGS
777 XRENDER_LIBS
778 XRENDER_CFLAGS
779 GEOCLUE_LIBS
780 GEOCLUE_CFLAGS
781 LIBXSLT_LIBS
782 LIBXSLT_CFLAGS
783 SQLITE3_LIBS
784 SQLITE3_CFLAGS
785 FREETYPE_LIBS
786 FREETYPE_CFLAGS
787 LIBSOUP_LIBS
788 LIBSOUP_CFLAGS
789 G_IR_GENERATE
790 G_IR_COMPILER
791 G_IR_SCANNER
792 INTROSPECTION_LIBS
793 INTROSPECTION_CFLAGS
794 OPENGL_LIBS
795 XT_LIBS
796 XT_CFLAGS
797 GTK_LIBS
798 GTK_CFLAGS
799 CAIRO_LIBS
800 CAIRO_CFLAGS
801 GAIL_LIBS
802 GAIL_CFLAGS
803 ENCHANT_LIBS
804 ENCHANT_CFLAGS
805 PANGO_LIBS
806 PANGO_CFLAGS
807 LIBXML_LIBS
808 LIBXML_CFLAGS
809 GETTEXT_PACKAGE
810 ZLIB_LIBS
811 ZLIB_CFLAGS
812 UNICODE_LIBS
813 UNICODE_CFLAGS
814 icu_config
815 GSETTINGS_RULES
816 GLIB_COMPILE_SCHEMAS
817 gsettingsschemadir
818 GSETTINGS_DISABLE_SCHEMAS_COMPILE
819 GLIB_MKENUMS
820 GOBJECT_QUERY
821 GLIB_GENMARSHAL
822 GLIB_LIBS
823 GLIB_CFLAGS
824 HILDON_CPPFLAGS
825 HILDON_LIBS
826 HILDON_CFLAGS
827 PKG_CONFIG_LIBDIR
828 PKG_CONFIG_PATH
829 GTK_API_VERSION_2_FALSE
830 GTK_API_VERSION_2_TRUE
831 GTK_API_VERSION
832 WEBKITGTK_PC_NAME
833 WEBKITGTK_API_VERSION
834 WEBKITGTK_API_MINOR_VERSION
835 WEBKITGTK_API_MAJOR_VERSION
836 OLE32_LIBS
837 SHLWAPI_LIBS
838 WINMM_LIBS
839 PNG_LIBS
840 JPEG_LIBS
841 GPERF
842 FLEX
843 LTCXXCOMPILE
844 LTCOMPILE
845 DOLT_BASH
846 CXXCPP
847 OTOOL64
848 OTOOL
849 LIPO
850 NMEDIT
851 DSYMUTIL
852 MANIFEST_TOOL
853 RANLIB
854 ac_ct_AR
855 AR
856 LN_S
857 NM
858 ac_ct_DUMPBIN
859 DUMPBIN
860 LD
861 FGREP
862 SED
863 LIBTOOL
864 OBJDUMP
865 DLLTOOL
866 AS
867 EGREP
868 GREP
869 CPP
870 am__fastdepCXX_FALSE
871 am__fastdepCXX_TRUE
872 CXXDEPMODE
873 ac_ct_CXX
874 CXXFLAGS
875 CXX
876 MV
877 BISON
878 PYTHON
879 PERL
880 PKG_CONFIG
881 SYMBOL_VISIBILITY_INLINES
882 SYMBOL_VISIBILITY
883 am__fastdepCC_FALSE
884 am__fastdepCC_TRUE
885 CCDEPMODE
886 am__nodep
887 AMDEPBACKSLASH
888 AMDEP_FALSE
889 AMDEP_TRUE
890 am__quote
891 am__include
892 DEPDIR
893 OBJEXT
894 EXEEXT
895 ac_ct_CC
896 CPPFLAGS
897 LDFLAGS
898 CFLAGS
899 CC
900 AM_BACKSLASH
901 AM_DEFAULT_VERBOSITY
902 AM_DEFAULT_V
903 AM_V
904 am__untar
905 am__tar
906 AMTAR
907 am__leading_dot
908 SET_MAKE
909 AWK
910 mkdir_p
911 MKDIR_P
912 INSTALL_STRIP_PROGRAM
913 STRIP
914 install_sh
915 MAKEINFO
916 AUTOHEADER
917 AUTOMAKE
918 AUTOCONF
919 ACLOCAL
920 VERSION
921 PACKAGE
922 CYGPATH_W
923 am__isrc
924 INSTALL_DATA
925 INSTALL_SCRIPT
926 INSTALL_PROGRAM
927 LIBWEBKITGTK_VERSION
928 WEBKIT_USER_AGENT_MINOR_VERSION
929 WEBKIT_USER_AGENT_MAJOR_VERSION
930 WEBKIT_MICRO_VERSION
931 WEBKIT_MINOR_VERSION
932 WEBKIT_MAJOR_VERSION
933 host_os
934 host_vendor
935 host_cpu
936 host
937 build_os
938 build_vendor
939 build_cpu
940 build
941 ACLOCAL_AMFLAGS
942 target_alias
943 host_alias
944 build_alias
945 LIBS
946 ECHO_T
947 ECHO_N
948 ECHO_C
949 DEFS
950 mandir
951 localedir
952 libdir
953 psdir
954 pdfdir
955 dvidir
956 htmldir
957 infodir
958 docdir
959 oldincludedir
960 includedir
961 localstatedir
962 sharedstatedir
963 sysconfdir
964 datadir
965 datarootdir
966 libexecdir
967 sbindir
968 bindir
969 program_transform_name
970 prefix
971 exec_prefix
972 PACKAGE_URL
973 PACKAGE_BUGREPORT
974 PACKAGE_STRING
975 PACKAGE_VERSION
976 PACKAGE_TARNAME
977 PACKAGE_NAME
978 PATH_SEPARATOR
979 SHELL'
980 ac_subst_files=''
981 ac_user_opts='
982 enable_option_checking
983 enable_silent_rules
984 enable_dependency_tracking
985 enable_largefile
986 enable_static
987 enable_shared
988 with_pic
989 enable_fast_install
990 with_gnu_ld
991 with_sysroot
992 enable_libtool_lock
993 with_gtk
994 with_target
995 with_hildon
996 enable_glibtest
997 enable_schemas_compile
998 with_unicode_backend
999 enable_spellcheck
1000 enable_debug
1001 enable_optimizations
1002 enable_3d_rendering
1003 enable_webgl
1004 enable_channel_messaging
1005 enable_notifications
1006 enable_meter_tag
1007 enable_page_visibility_api
1008 enable_progress_tag
1009 enable_javascript_debugger
1010 enable_datagrid
1011 enable_data_transfer_items
1012 enable_offline_web_applications
1013 enable_dom_storage
1014 enable_indexed_database
1015 enable_input_color
1016 enable_input_speech
1017 enable_sql_database
1018 enable_icon_database
1019 enable_image_resizer
1020 enable_datalist
1021 enable_sandbox
1022 enable_video
1023 enable_video_track
1024 enable_media_source
1025 enable_media_statistics
1026 enable_fullscreen_api
1027 enable_media_stream
1028 enable_xhtmlmp
1029 enable_xpath
1030 enable_xslt
1031 enable_geolocation
1032 enable_client_based_geolocation
1033 enable_mathml
1034 enable_svg
1035 enable_wcss
1036 enable_shared_workers
1037 enable_workers
1038 enable_directory_upload
1039 enable_file_system
1040 enable_quota
1041 enable_filters
1042 enable_svg_fonts
1043 enable_web_sockets
1044 enable_web_audio
1045 enable_web_timing
1046 enable_blob
1047 enable_fast_mobile_scrolling
1048 enable_coverage
1049 enable_fast_malloc
1050 enable_debug_symbols
1051 enable_debug_features
1052 enable_jit
1053 enable_opcode_stats
1054 enable_link_prefetch
1055 enable_introspection
1056 enable_animation_api
1057 enable_touch_icon_loading
1058 enable_register_protocol_handler
1059 enable_device_orientation
1060 with_font_backend
1061 enable_webkit2
1062 enable_plugin_process
1063 '
1064       ac_precious_vars='build_alias
1065 host_alias
1066 target_alias
1067 CC
1068 CFLAGS
1069 LDFLAGS
1070 LIBS
1071 CPPFLAGS
1072 CXX
1073 CXXFLAGS
1074 CCC
1075 CPP
1076 CXXCPP
1077 PKG_CONFIG
1078 PKG_CONFIG_PATH
1079 PKG_CONFIG_LIBDIR
1080 HILDON_CFLAGS
1081 HILDON_LIBS
1082 UNICODE_CFLAGS
1083 UNICODE_LIBS
1084 ZLIB_CFLAGS
1085 ZLIB_LIBS
1086 LIBXML_CFLAGS
1087 LIBXML_LIBS
1088 PANGO_CFLAGS
1089 PANGO_LIBS
1090 ENCHANT_CFLAGS
1091 ENCHANT_LIBS
1092 GAIL_CFLAGS
1093 GAIL_LIBS
1094 CAIRO_CFLAGS
1095 CAIRO_LIBS
1096 GTK_CFLAGS
1097 GTK_LIBS
1098 XT_CFLAGS
1099 XT_LIBS
1100 INTROSPECTION_CFLAGS
1101 INTROSPECTION_LIBS
1102 LIBSOUP_CFLAGS
1103 LIBSOUP_LIBS
1104 FREETYPE_CFLAGS
1105 FREETYPE_LIBS
1106 SQLITE3_CFLAGS
1107 SQLITE3_LIBS
1108 LIBXSLT_CFLAGS
1109 LIBXSLT_LIBS
1110 GEOCLUE_CFLAGS
1111 GEOCLUE_LIBS
1112 XRENDER_CFLAGS
1113 XRENDER_LIBS
1114 GTK2_CFLAGS
1115 GTK2_LIBS'
1116
1117
1118 # Initialize some variables set by options.
1119 ac_init_help=
1120 ac_init_version=false
1121 ac_unrecognized_opts=
1122 ac_unrecognized_sep=
1123 # The variables have the same names as the options, with
1124 # dashes changed to underlines.
1125 cache_file=/dev/null
1126 exec_prefix=NONE
1127 no_create=
1128 no_recursion=
1129 prefix=NONE
1130 program_prefix=NONE
1131 program_suffix=NONE
1132 program_transform_name=s,x,x,
1133 silent=
1134 site=
1135 srcdir=
1136 verbose=
1137 x_includes=NONE
1138 x_libraries=NONE
1139
1140 # Installation directory options.
1141 # These are left unexpanded so users can "make install exec_prefix=/foo"
1142 # and all the variables that are supposed to be based on exec_prefix
1143 # by default will actually change.
1144 # Use braces instead of parens because sh, perl, etc. also accept them.
1145 # (The list follows the same order as the GNU Coding Standards.)
1146 bindir='${exec_prefix}/bin'
1147 sbindir='${exec_prefix}/sbin'
1148 libexecdir='${exec_prefix}/libexec'
1149 datarootdir='${prefix}/share'
1150 datadir='${datarootdir}'
1151 sysconfdir='${prefix}/etc'
1152 sharedstatedir='${prefix}/com'
1153 localstatedir='${prefix}/var'
1154 includedir='${prefix}/include'
1155 oldincludedir='/usr/include'
1156 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1157 infodir='${datarootdir}/info'
1158 htmldir='${docdir}'
1159 dvidir='${docdir}'
1160 pdfdir='${docdir}'
1161 psdir='${docdir}'
1162 libdir='${exec_prefix}/lib'
1163 localedir='${datarootdir}/locale'
1164 mandir='${datarootdir}/man'
1165
1166 ac_prev=
1167 ac_dashdash=
1168 for ac_option
1169 do
1170   # If the previous option needs an argument, assign it.
1171   if test -n "$ac_prev"; then
1172     eval $ac_prev=\$ac_option
1173     ac_prev=
1174     continue
1175   fi
1176
1177   case $ac_option in
1178   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1179   *=)   ac_optarg= ;;
1180   *)    ac_optarg=yes ;;
1181   esac
1182
1183   # Accept the important Cygnus configure options, so we can diagnose typos.
1184
1185   case $ac_dashdash$ac_option in
1186   --)
1187     ac_dashdash=yes ;;
1188
1189   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1190     ac_prev=bindir ;;
1191   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1192     bindir=$ac_optarg ;;
1193
1194   -build | --build | --buil | --bui | --bu)
1195     ac_prev=build_alias ;;
1196   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1197     build_alias=$ac_optarg ;;
1198
1199   -cache-file | --cache-file | --cache-fil | --cache-fi \
1200   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1201     ac_prev=cache_file ;;
1202   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1203   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1204     cache_file=$ac_optarg ;;
1205
1206   --config-cache | -C)
1207     cache_file=config.cache ;;
1208
1209   -datadir | --datadir | --datadi | --datad)
1210     ac_prev=datadir ;;
1211   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1212     datadir=$ac_optarg ;;
1213
1214   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1215   | --dataroo | --dataro | --datar)
1216     ac_prev=datarootdir ;;
1217   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1218   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1219     datarootdir=$ac_optarg ;;
1220
1221   -disable-* | --disable-*)
1222     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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 feature 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 "enable_$ac_useropt"
1231 "*) ;;
1232       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1233          ac_unrecognized_sep=', ';;
1234     esac
1235     eval enable_$ac_useropt=no ;;
1236
1237   -docdir | --docdir | --docdi | --doc | --do)
1238     ac_prev=docdir ;;
1239   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1240     docdir=$ac_optarg ;;
1241
1242   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1243     ac_prev=dvidir ;;
1244   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1245     dvidir=$ac_optarg ;;
1246
1247   -enable-* | --enable-*)
1248     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1249     # Reject names that are not valid shell variable names.
1250     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251       as_fn_error $? "invalid feature name: $ac_useropt"
1252     ac_useropt_orig=$ac_useropt
1253     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254     case $ac_user_opts in
1255       *"
1256 "enable_$ac_useropt"
1257 "*) ;;
1258       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1259          ac_unrecognized_sep=', ';;
1260     esac
1261     eval enable_$ac_useropt=\$ac_optarg ;;
1262
1263   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1264   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1265   | --exec | --exe | --ex)
1266     ac_prev=exec_prefix ;;
1267   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1268   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1269   | --exec=* | --exe=* | --ex=*)
1270     exec_prefix=$ac_optarg ;;
1271
1272   -gas | --gas | --ga | --g)
1273     # Obsolete; use --with-gas.
1274     with_gas=yes ;;
1275
1276   -help | --help | --hel | --he | -h)
1277     ac_init_help=long ;;
1278   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1279     ac_init_help=recursive ;;
1280   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1281     ac_init_help=short ;;
1282
1283   -host | --host | --hos | --ho)
1284     ac_prev=host_alias ;;
1285   -host=* | --host=* | --hos=* | --ho=*)
1286     host_alias=$ac_optarg ;;
1287
1288   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1289     ac_prev=htmldir ;;
1290   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1291   | --ht=*)
1292     htmldir=$ac_optarg ;;
1293
1294   -includedir | --includedir | --includedi | --included | --include \
1295   | --includ | --inclu | --incl | --inc)
1296     ac_prev=includedir ;;
1297   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1298   | --includ=* | --inclu=* | --incl=* | --inc=*)
1299     includedir=$ac_optarg ;;
1300
1301   -infodir | --infodir | --infodi | --infod | --info | --inf)
1302     ac_prev=infodir ;;
1303   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1304     infodir=$ac_optarg ;;
1305
1306   -libdir | --libdir | --libdi | --libd)
1307     ac_prev=libdir ;;
1308   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1309     libdir=$ac_optarg ;;
1310
1311   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1312   | --libexe | --libex | --libe)
1313     ac_prev=libexecdir ;;
1314   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1315   | --libexe=* | --libex=* | --libe=*)
1316     libexecdir=$ac_optarg ;;
1317
1318   -localedir | --localedir | --localedi | --localed | --locale)
1319     ac_prev=localedir ;;
1320   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1321     localedir=$ac_optarg ;;
1322
1323   -localstatedir | --localstatedir | --localstatedi | --localstated \
1324   | --localstate | --localstat | --localsta | --localst | --locals)
1325     ac_prev=localstatedir ;;
1326   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1327   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1328     localstatedir=$ac_optarg ;;
1329
1330   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1331     ac_prev=mandir ;;
1332   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1333     mandir=$ac_optarg ;;
1334
1335   -nfp | --nfp | --nf)
1336     # Obsolete; use --without-fp.
1337     with_fp=no ;;
1338
1339   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1340   | --no-cr | --no-c | -n)
1341     no_create=yes ;;
1342
1343   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1344   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1345     no_recursion=yes ;;
1346
1347   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1348   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1349   | --oldin | --oldi | --old | --ol | --o)
1350     ac_prev=oldincludedir ;;
1351   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1352   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1353   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1354     oldincludedir=$ac_optarg ;;
1355
1356   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1357     ac_prev=prefix ;;
1358   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1359     prefix=$ac_optarg ;;
1360
1361   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1362   | --program-pre | --program-pr | --program-p)
1363     ac_prev=program_prefix ;;
1364   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1365   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1366     program_prefix=$ac_optarg ;;
1367
1368   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1369   | --program-suf | --program-su | --program-s)
1370     ac_prev=program_suffix ;;
1371   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1372   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1373     program_suffix=$ac_optarg ;;
1374
1375   -program-transform-name | --program-transform-name \
1376   | --program-transform-nam | --program-transform-na \
1377   | --program-transform-n | --program-transform- \
1378   | --program-transform | --program-transfor \
1379   | --program-transfo | --program-transf \
1380   | --program-trans | --program-tran \
1381   | --progr-tra | --program-tr | --program-t)
1382     ac_prev=program_transform_name ;;
1383   -program-transform-name=* | --program-transform-name=* \
1384   | --program-transform-nam=* | --program-transform-na=* \
1385   | --program-transform-n=* | --program-transform-=* \
1386   | --program-transform=* | --program-transfor=* \
1387   | --program-transfo=* | --program-transf=* \
1388   | --program-trans=* | --program-tran=* \
1389   | --progr-tra=* | --program-tr=* | --program-t=*)
1390     program_transform_name=$ac_optarg ;;
1391
1392   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1393     ac_prev=pdfdir ;;
1394   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1395     pdfdir=$ac_optarg ;;
1396
1397   -psdir | --psdir | --psdi | --psd | --ps)
1398     ac_prev=psdir ;;
1399   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1400     psdir=$ac_optarg ;;
1401
1402   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1403   | -silent | --silent | --silen | --sile | --sil)
1404     silent=yes ;;
1405
1406   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1407     ac_prev=sbindir ;;
1408   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1409   | --sbi=* | --sb=*)
1410     sbindir=$ac_optarg ;;
1411
1412   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1413   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1414   | --sharedst | --shareds | --shared | --share | --shar \
1415   | --sha | --sh)
1416     ac_prev=sharedstatedir ;;
1417   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1418   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1419   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1420   | --sha=* | --sh=*)
1421     sharedstatedir=$ac_optarg ;;
1422
1423   -site | --site | --sit)
1424     ac_prev=site ;;
1425   -site=* | --site=* | --sit=*)
1426     site=$ac_optarg ;;
1427
1428   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1429     ac_prev=srcdir ;;
1430   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1431     srcdir=$ac_optarg ;;
1432
1433   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1434   | --syscon | --sysco | --sysc | --sys | --sy)
1435     ac_prev=sysconfdir ;;
1436   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1437   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1438     sysconfdir=$ac_optarg ;;
1439
1440   -target | --target | --targe | --targ | --tar | --ta | --t)
1441     ac_prev=target_alias ;;
1442   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1443     target_alias=$ac_optarg ;;
1444
1445   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1446     verbose=yes ;;
1447
1448   -version | --version | --versio | --versi | --vers | -V)
1449     ac_init_version=: ;;
1450
1451   -with-* | --with-*)
1452     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1453     # Reject names that are not valid shell variable names.
1454     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1455       as_fn_error $? "invalid package name: $ac_useropt"
1456     ac_useropt_orig=$ac_useropt
1457     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1458     case $ac_user_opts in
1459       *"
1460 "with_$ac_useropt"
1461 "*) ;;
1462       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1463          ac_unrecognized_sep=', ';;
1464     esac
1465     eval with_$ac_useropt=\$ac_optarg ;;
1466
1467   -without-* | --without-*)
1468     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1469     # Reject names that are not valid shell variable names.
1470     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1471       as_fn_error $? "invalid package name: $ac_useropt"
1472     ac_useropt_orig=$ac_useropt
1473     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1474     case $ac_user_opts in
1475       *"
1476 "with_$ac_useropt"
1477 "*) ;;
1478       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1479          ac_unrecognized_sep=', ';;
1480     esac
1481     eval with_$ac_useropt=no ;;
1482
1483   --x)
1484     # Obsolete; use --with-x.
1485     with_x=yes ;;
1486
1487   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1488   | --x-incl | --x-inc | --x-in | --x-i)
1489     ac_prev=x_includes ;;
1490   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1491   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1492     x_includes=$ac_optarg ;;
1493
1494   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1495   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1496     ac_prev=x_libraries ;;
1497   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1498   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1499     x_libraries=$ac_optarg ;;
1500
1501   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1502 Try \`$0 --help' for more information"
1503     ;;
1504
1505   *=*)
1506     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1507     # Reject names that are not valid shell variable names.
1508     case $ac_envvar in #(
1509       '' | [0-9]* | *[!_$as_cr_alnum]* )
1510       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1511     esac
1512     eval $ac_envvar=\$ac_optarg
1513     export $ac_envvar ;;
1514
1515   *)
1516     # FIXME: should be removed in autoconf 3.0.
1517     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1518     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1519       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1520     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1521     ;;
1522
1523   esac
1524 done
1525
1526 if test -n "$ac_prev"; then
1527   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1528   as_fn_error $? "missing argument to $ac_option"
1529 fi
1530
1531 if test -n "$ac_unrecognized_opts"; then
1532   case $enable_option_checking in
1533     no) ;;
1534     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1535     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1536   esac
1537 fi
1538
1539 # Check all directory arguments for consistency.
1540 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1541                 datadir sysconfdir sharedstatedir localstatedir includedir \
1542                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1543                 libdir localedir mandir
1544 do
1545   eval ac_val=\$$ac_var
1546   # Remove trailing slashes.
1547   case $ac_val in
1548     */ )
1549       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1550       eval $ac_var=\$ac_val;;
1551   esac
1552   # Be sure to have absolute directory names.
1553   case $ac_val in
1554     [\\/$]* | ?:[\\/]* )  continue;;
1555     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1556   esac
1557   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1558 done
1559
1560 # There might be people who depend on the old broken behavior: `$host'
1561 # used to hold the argument of --host etc.
1562 # FIXME: To remove some day.
1563 build=$build_alias
1564 host=$host_alias
1565 target=$target_alias
1566
1567 # FIXME: To remove some day.
1568 if test "x$host_alias" != x; then
1569   if test "x$build_alias" = x; then
1570     cross_compiling=maybe
1571     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1572     If a cross compiler is detected then cross compile mode will be used" >&2
1573   elif test "x$build_alias" != "x$host_alias"; then
1574     cross_compiling=yes
1575   fi
1576 fi
1577
1578 ac_tool_prefix=
1579 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1580
1581 test "$silent" = yes && exec 6>/dev/null
1582
1583
1584 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1585 ac_ls_di=`ls -di .` &&
1586 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1587   as_fn_error $? "working directory cannot be determined"
1588 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1589   as_fn_error $? "pwd does not report name of working directory"
1590
1591
1592 # Find the source files, if location was not specified.
1593 if test -z "$srcdir"; then
1594   ac_srcdir_defaulted=yes
1595   # Try the directory containing this script, then the parent directory.
1596   ac_confdir=`$as_dirname -- "$as_myself" ||
1597 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1598          X"$as_myself" : 'X\(//\)[^/]' \| \
1599          X"$as_myself" : 'X\(//\)$' \| \
1600          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1601 $as_echo X"$as_myself" |
1602     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1603             s//\1/
1604             q
1605           }
1606           /^X\(\/\/\)[^/].*/{
1607             s//\1/
1608             q
1609           }
1610           /^X\(\/\/\)$/{
1611             s//\1/
1612             q
1613           }
1614           /^X\(\/\).*/{
1615             s//\1/
1616             q
1617           }
1618           s/.*/./; q'`
1619   srcdir=$ac_confdir
1620   if test ! -r "$srcdir/$ac_unique_file"; then
1621     srcdir=..
1622   fi
1623 else
1624   ac_srcdir_defaulted=no
1625 fi
1626 if test ! -r "$srcdir/$ac_unique_file"; then
1627   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1628   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1629 fi
1630 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1631 ac_abs_confdir=`(
1632         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1633         pwd)`
1634 # When building in place, set srcdir=.
1635 if test "$ac_abs_confdir" = "$ac_pwd"; then
1636   srcdir=.
1637 fi
1638 # Remove unnecessary trailing slashes from srcdir.
1639 # Double slashes in file names in object file debugging info
1640 # mess up M-x gdb in Emacs.
1641 case $srcdir in
1642 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1643 esac
1644 for ac_var in $ac_precious_vars; do
1645   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1646   eval ac_env_${ac_var}_value=\$${ac_var}
1647   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1648   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1649 done
1650
1651 #
1652 # Report the --help message.
1653 #
1654 if test "$ac_init_help" = "long"; then
1655   # Omit some internal or obsolete options to make the list less imposing.
1656   # This message is too long to be a string in the A/UX 3.1 sh.
1657   cat <<_ACEOF
1658 \`configure' configures WebKit 1.6.1 to adapt to many kinds of systems.
1659
1660 Usage: $0 [OPTION]... [VAR=VALUE]...
1661
1662 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1663 VAR=VALUE.  See below for descriptions of some of the useful variables.
1664
1665 Defaults for the options are specified in brackets.
1666
1667 Configuration:
1668   -h, --help              display this help and exit
1669       --help=short        display options specific to this package
1670       --help=recursive    display the short help of all the included packages
1671   -V, --version           display version information and exit
1672   -q, --quiet, --silent   do not print \`checking ...' messages
1673       --cache-file=FILE   cache test results in FILE [disabled]
1674   -C, --config-cache      alias for \`--cache-file=config.cache'
1675   -n, --no-create         do not create output files
1676       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1677
1678 Installation directories:
1679   --prefix=PREFIX         install architecture-independent files in PREFIX
1680                           [$ac_default_prefix]
1681   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1682                           [PREFIX]
1683
1684 By default, \`make install' will install all the files in
1685 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1686 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1687 for instance \`--prefix=\$HOME'.
1688
1689 For better control, use the options below.
1690
1691 Fine tuning of the installation directories:
1692   --bindir=DIR            user executables [EPREFIX/bin]
1693   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1694   --libexecdir=DIR        program executables [EPREFIX/libexec]
1695   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1696   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1697   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1698   --libdir=DIR            object code libraries [EPREFIX/lib]
1699   --includedir=DIR        C header files [PREFIX/include]
1700   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1701   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1702   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1703   --infodir=DIR           info documentation [DATAROOTDIR/info]
1704   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1705   --mandir=DIR            man documentation [DATAROOTDIR/man]
1706   --docdir=DIR            documentation root [DATAROOTDIR/doc/webkit]
1707   --htmldir=DIR           html documentation [DOCDIR]
1708   --dvidir=DIR            dvi documentation [DOCDIR]
1709   --pdfdir=DIR            pdf documentation [DOCDIR]
1710   --psdir=DIR             ps documentation [DOCDIR]
1711 _ACEOF
1712
1713   cat <<\_ACEOF
1714
1715 Program names:
1716   --program-prefix=PREFIX            prepend PREFIX to installed program names
1717   --program-suffix=SUFFIX            append SUFFIX to installed program names
1718   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1719
1720 System types:
1721   --build=BUILD     configure for building on BUILD [guessed]
1722   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1723 _ACEOF
1724 fi
1725
1726 if test -n "$ac_init_help"; then
1727   case $ac_init_help in
1728      short | recursive ) echo "Configuration of WebKit 1.6.1:";;
1729    esac
1730   cat <<\_ACEOF
1731
1732 Optional Features:
1733   --disable-option-checking  ignore unrecognized --enable/--with options
1734   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1735   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1736   --enable-silent-rules          less verbose build output (undo: `make V=1')
1737   --disable-silent-rules         verbose build output (undo: `make V=0')
1738   --disable-dependency-tracking  speeds up one-time build
1739   --enable-dependency-tracking   do not reject slow dependency extractors
1740   --disable-largefile     omit support for large files
1741   --enable-static[=PKGS]  build static libraries [default=no]
1742   --enable-shared[=PKGS]  build shared libraries [default=yes]
1743   --enable-fast-install[=PKGS]
1744                           optimize for fast installation [default=yes]
1745   --disable-libtool-lock  avoid locking (might break parallel builds)
1746   --disable-glibtest      do not try to compile and run a test GLIB program
1747   --disable-schemas-compile
1748                           Disable regeneration of gschemas.compiled on install
1749   --enable-spellcheck     enable support for spellcheck
1750   --enable-debug          turn on debugging [default=no]
1751   --enable-optimizations  turn on optimize builds (GCC only) [default=yes]
1752   --enable-3d-rendering   enable support for 3D Rendering (experimental)
1753                           [default=no]
1754   --enable-webgl          enable support for WebGL (experimental) [default=no]
1755   --enable-channel-messaging
1756                           enable HTML5 channel messaging support [default=yes]
1757   --enable-notifications  enable notifications [default=no]
1758   --enable-meter-tag      enable HTML5 meter [default=yes]
1759   --enable-page-visibility-api
1760                           enable page visibility api[default=no]
1761   --enable-progress-tag   enable HTML5 progress [default=yes]
1762   --enable-javascript-debugger
1763                           enable JavaScript debugger/profiler support
1764                           [default=yes]
1765   --enable-datagrid       enable HTML5 datagrid support [default=no]
1766   --enable-data-transfer-items
1767                           enable HTML5 data transfer items support
1768                           [default=no]
1769   --enable-offline-web-applications
1770                           enable HTML5 offline web applications support
1771                           [default=yes]
1772   --enable-dom-storage    enable HTML5 client-side session and persistent
1773                           storage support [default=yes]
1774   --enable-indexed-database
1775                           enable the indexed database API [default=no]
1776   --enable-input-color    enable the color input [default=no]
1777   --enable-input-speech   enable the speech input API [default=no]
1778   --enable-sql-database   enable SQL client-side database storage support
1779                           [default=yes]
1780   --enable-icon-database  enable icon database [default=yes]
1781   --enable-image-resizer  enable image resizer [default=no]
1782   --enable-datalist       enable HTML5 datalist support [default=yes]
1783   --enable-sandbox        enable HTML5 sandboxed iframe support [default=yes]
1784   --enable-video          enable HTML5 video support [default=yes]
1785   --enable-elis-media     enable Elis Media support [default=no]
1786   --enable-video-track    enable HTML5 video track support [default=yes]
1787   --enable-media-source   enable support for media source [default=no]
1788   --enable-media-statistics
1789                           enable support for media statistics [default=no]
1790   --enable-fullscreen-api enable the Fullscreen API support [default=yes]
1791   --enable-media-stream   enable media stream support (incomplete)
1792                           [default=no]
1793   --enable-xhtmlmp        enable support for XHTML-MP [default=no]
1794   --enable-xpath          enable support for XPath [default=yes]
1795   --enable-xslt           enable support for XSLT [default=yes]
1796   --enable-geolocation    enable support for geolocation [default=no]
1797   --enable-client-based-geolocation
1798                           enable support for client-based geolocation
1799                           [default=no]
1800   --enable-mathml         enable support for MathML [default=no]
1801   --enable-svg            enable support for SVG [default=yes]
1802   --enable-wcss           enable support for WCSS [default=no]
1803   --enable-shared-workers enable support for SharedWorkers [default=yes]
1804   --enable-workers        enable support for Web Workers [default=yes]
1805   --enable-directory-upload
1806                           enable support for directory upload [default=no]
1807   --enable-file-system    enable support for HTML5 FileSystem API [default=no]
1808   --enable-quota          enable support for Quota API [default=no]
1809   --enable-filters        enable support for filters (experimental)
1810                           [default=yes]
1811   --enable-svg-fonts      enable support for SVG fonts (experimental)
1812                           [default=yes]
1813   --enable-web-sockets    enable support for Web Sockets [default=yes]
1814   --enable-web-audio      enable support for Web Audio [default=no]
1815   --enable-web-timing     enable support for Web Timing [default=no]
1816   --enable-blob           enable support for Blob [default=yes]
1817   --enable-fast-mobile-scrolling
1818                           enable support for Fast Mobile Scrolling
1819                           [default=no]
1820   --enable-coverage       enable code coverage support [default=no]
1821   --enable-fast-malloc    enable optimized memory allocator default=yes,
1822                           default=no for debug builds
1823   --enable-debug-symbols  enable debug symbols default=no, default=yes for
1824                           debug builds
1825   --enable-debug-features enable debug features default=no, default=yes for
1826                           debug builds
1827   --enable-jit            Enable JIT compilation default=yes
1828   --enable-opcode-stats   Enable Opcode statistics (default: disabled)
1829   --enable-link-prefetch  Enable Link prefetch support (default: disabled)
1830   --enable-introspection  Enable GObject introspection (default: disabled)
1831   --enable-animation-api  enable support for Animation API (experimental)
1832                           [default=no]
1833   --enable-touch-icon-loading
1834                           enable support for loading touch icons [default=no]
1835   --enable-register-protocol-handler
1836                           enable support for Register Protocol Handler
1837                           (experimental) [default=no]
1838   --enable-device-orientation
1839                           enable support for DeviceOrientation (experimental
1840                           and incomplete) [default=no]
1841   --enable-webkit2        build webkit2 [default=no]
1842   --enable-plugin-process build plugin process for WebKit2 [default=yes]
1843
1844 Optional Packages:
1845   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1846   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1847   --with-pic              try to use only PIC/non-PIC objects [default=use
1848                           both]
1849   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1850   --with-sysroot=DIR Search for dependent libraries within DIR
1851                         (or the compiler's sysroot if not specified).
1852   --with-gtk=2.0|3.0      the GTK+ version to use (default: 3.0)
1853   --with-target=[x11/win32/quartz/directfb]
1854                           Select webkit target [default=x11]
1855   --with-hildon           Use Hildon UI extensions [default=no]
1856   --with-unicode-backend=[icu/glib]
1857                           Select Unicode backend (WARNING: the glib-based
1858                           backend is slow, and incomplete) [default=icu]
1859   --with-font-backend=[freetype/pango]
1860                           Select font backend [default=freetype]
1861
1862 Some influential environment variables:
1863   CC          C compiler command
1864   CFLAGS      C compiler flags
1865   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1866               nonstandard directory <lib dir>
1867   LIBS        libraries to pass to the linker, e.g. -l<library>
1868   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1869               you have headers in a nonstandard directory <include dir>
1870   CXX         C++ compiler command
1871   CXXFLAGS    C++ compiler flags
1872   CPP         C preprocessor
1873   CXXCPP      C++ preprocessor
1874   PKG_CONFIG  path to pkg-config utility
1875   PKG_CONFIG_PATH
1876               directories to add to pkg-config's search path
1877   PKG_CONFIG_LIBDIR
1878               path overriding pkg-config's built-in search path
1879   HILDON_CFLAGS
1880               C compiler flags for HILDON, overriding pkg-config
1881   HILDON_LIBS linker flags for HILDON, overriding pkg-config
1882   UNICODE_CFLAGS
1883               C compiler flags for UNICODE, overriding pkg-config
1884   UNICODE_LIBS
1885               linker flags for UNICODE, overriding pkg-config
1886   ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
1887   ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
1888   LIBXML_CFLAGS
1889               C compiler flags for LIBXML, overriding pkg-config
1890   LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1891   PANGO_CFLAGS
1892               C compiler flags for PANGO, overriding pkg-config
1893   PANGO_LIBS  linker flags for PANGO, overriding pkg-config
1894   ENCHANT_CFLAGS
1895               C compiler flags for ENCHANT, overriding pkg-config
1896   ENCHANT_LIBS
1897               linker flags for ENCHANT, overriding pkg-config
1898   GAIL_CFLAGS C compiler flags for GAIL, overriding pkg-config
1899   GAIL_LIBS   linker flags for GAIL, overriding pkg-config
1900   CAIRO_CFLAGS
1901               C compiler flags for CAIRO, overriding pkg-config
1902   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1903   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1904   GTK_LIBS    linker flags for GTK, overriding pkg-config
1905   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
1906   XT_LIBS     linker flags for XT, overriding pkg-config
1907   INTROSPECTION_CFLAGS
1908               C compiler flags for INTROSPECTION, overriding pkg-config
1909   INTROSPECTION_LIBS
1910               linker flags for INTROSPECTION, overriding pkg-config
1911   LIBSOUP_CFLAGS
1912               C compiler flags for LIBSOUP, overriding pkg-config
1913   LIBSOUP_LIBS
1914               linker flags for LIBSOUP, overriding pkg-config
1915   FREETYPE_CFLAGS
1916               C compiler flags for FREETYPE, overriding pkg-config
1917   FREETYPE_LIBS
1918               linker flags for FREETYPE, overriding pkg-config
1919   SQLITE3_CFLAGS
1920               C compiler flags for SQLITE3, overriding pkg-config
1921   SQLITE3_LIBS
1922               linker flags for SQLITE3, overriding pkg-config
1923   LIBXSLT_CFLAGS
1924               C compiler flags for LIBXSLT, overriding pkg-config
1925   LIBXSLT_LIBS
1926               linker flags for LIBXSLT, overriding pkg-config
1927   GEOCLUE_CFLAGS
1928               C compiler flags for GEOCLUE, overriding pkg-config
1929   GEOCLUE_LIBS
1930               linker flags for GEOCLUE, overriding pkg-config
1931   XRENDER_CFLAGS
1932               C compiler flags for XRENDER, overriding pkg-config
1933   XRENDER_LIBS
1934               linker flags for XRENDER, overriding pkg-config
1935   GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1936   GTK2_LIBS   linker flags for GTK2, overriding pkg-config
1937
1938 Use these variables to override the choices made by `configure' or to help
1939 it to find libraries and programs with nonstandard names/locations.
1940
1941 Report bugs to <http://bugs.webkit.org/>.
1942 _ACEOF
1943 ac_status=$?
1944 fi
1945
1946 if test "$ac_init_help" = "recursive"; then
1947   # If there are subdirs, report their specific --help.
1948   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1949     test -d "$ac_dir" ||
1950       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1951       continue
1952     ac_builddir=.
1953
1954 case "$ac_dir" in
1955 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1956 *)
1957   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1958   # A ".." for each directory in $ac_dir_suffix.
1959   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1960   case $ac_top_builddir_sub in
1961   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1962   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1963   esac ;;
1964 esac
1965 ac_abs_top_builddir=$ac_pwd
1966 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1967 # for backward compatibility:
1968 ac_top_builddir=$ac_top_build_prefix
1969
1970 case $srcdir in
1971   .)  # We are building in place.
1972     ac_srcdir=.
1973     ac_top_srcdir=$ac_top_builddir_sub
1974     ac_abs_top_srcdir=$ac_pwd ;;
1975   [\\/]* | ?:[\\/]* )  # Absolute name.
1976     ac_srcdir=$srcdir$ac_dir_suffix;
1977     ac_top_srcdir=$srcdir
1978     ac_abs_top_srcdir=$srcdir ;;
1979   *) # Relative name.
1980     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1981     ac_top_srcdir=$ac_top_build_prefix$srcdir
1982     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1983 esac
1984 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1985
1986     cd "$ac_dir" || { ac_status=$?; continue; }
1987     # Check for guested configure.
1988     if test -f "$ac_srcdir/configure.gnu"; then
1989       echo &&
1990       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1991     elif test -f "$ac_srcdir/configure"; then
1992       echo &&
1993       $SHELL "$ac_srcdir/configure" --help=recursive
1994     else
1995       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1996     fi || ac_status=$?
1997     cd "$ac_pwd" || { ac_status=$?; break; }
1998   done
1999 fi
2000
2001 test -n "$ac_init_help" && exit $ac_status
2002 if $ac_init_version; then
2003   cat <<\_ACEOF
2004 WebKit configure 1.6.1
2005 generated by GNU Autoconf 2.68
2006
2007 Copyright (C) 2010 Free Software Foundation, Inc.
2008 This configure script is free software; the Free Software Foundation
2009 gives unlimited permission to copy, distribute and modify it.
2010 _ACEOF
2011   exit
2012 fi
2013
2014 ## ------------------------ ##
2015 ## Autoconf initialization. ##
2016 ## ------------------------ ##
2017
2018 # ac_fn_c_try_compile LINENO
2019 # --------------------------
2020 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_c_try_compile ()
2022 {
2023   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024   rm -f conftest.$ac_objext
2025   if { { ac_try="$ac_compile"
2026 case "(($ac_try" in
2027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028   *) ac_try_echo=$ac_try;;
2029 esac
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032   (eval "$ac_compile") 2>conftest.err
2033   ac_status=$?
2034   if test -s conftest.err; then
2035     grep -v '^ *+' conftest.err >conftest.er1
2036     cat conftest.er1 >&5
2037     mv -f conftest.er1 conftest.err
2038   fi
2039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040   test $ac_status = 0; } && {
2041          test -z "$ac_c_werror_flag" ||
2042          test ! -s conftest.err
2043        } && test -s conftest.$ac_objext; then :
2044   ac_retval=0
2045 else
2046   $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.$ac_ext >&5
2048
2049         ac_retval=1
2050 fi
2051   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052   as_fn_set_status $ac_retval
2053
2054 } # ac_fn_c_try_compile
2055
2056 # ac_fn_cxx_try_compile LINENO
2057 # ----------------------------
2058 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2059 ac_fn_cxx_try_compile ()
2060 {
2061   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2062   rm -f conftest.$ac_objext
2063   if { { ac_try="$ac_compile"
2064 case "(($ac_try" in
2065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2066   *) ac_try_echo=$ac_try;;
2067 esac
2068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2069 $as_echo "$ac_try_echo"; } >&5
2070   (eval "$ac_compile") 2>conftest.err
2071   ac_status=$?
2072   if test -s conftest.err; then
2073     grep -v '^ *+' conftest.err >conftest.er1
2074     cat conftest.er1 >&5
2075     mv -f conftest.er1 conftest.err
2076   fi
2077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078   test $ac_status = 0; } && {
2079          test -z "$ac_cxx_werror_flag" ||
2080          test ! -s conftest.err
2081        } && test -s conftest.$ac_objext; then :
2082   ac_retval=0
2083 else
2084   $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2086
2087         ac_retval=1
2088 fi
2089   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090   as_fn_set_status $ac_retval
2091
2092 } # ac_fn_cxx_try_compile
2093
2094 # ac_fn_c_try_cpp LINENO
2095 # ----------------------
2096 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2097 ac_fn_c_try_cpp ()
2098 {
2099   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100   if { { ac_try="$ac_cpp conftest.$ac_ext"
2101 case "(($ac_try" in
2102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2103   *) ac_try_echo=$ac_try;;
2104 esac
2105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2106 $as_echo "$ac_try_echo"; } >&5
2107   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2108   ac_status=$?
2109   if test -s conftest.err; then
2110     grep -v '^ *+' conftest.err >conftest.er1
2111     cat conftest.er1 >&5
2112     mv -f conftest.er1 conftest.err
2113   fi
2114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2115   test $ac_status = 0; } > conftest.i && {
2116          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2117          test ! -s conftest.err
2118        }; then :
2119   ac_retval=0
2120 else
2121   $as_echo "$as_me: failed program was:" >&5
2122 sed 's/^/| /' conftest.$ac_ext >&5
2123
2124     ac_retval=1
2125 fi
2126   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2127   as_fn_set_status $ac_retval
2128
2129 } # ac_fn_c_try_cpp
2130
2131 # ac_fn_c_try_run LINENO
2132 # ----------------------
2133 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2134 # that executables *can* be run.
2135 ac_fn_c_try_run ()
2136 {
2137   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2138   if { { ac_try="$ac_link"
2139 case "(($ac_try" in
2140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141   *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145   (eval "$ac_link") 2>&5
2146   ac_status=$?
2147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2149   { { case "(($ac_try" in
2150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2151   *) ac_try_echo=$ac_try;;
2152 esac
2153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2154 $as_echo "$ac_try_echo"; } >&5
2155   (eval "$ac_try") 2>&5
2156   ac_status=$?
2157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2158   test $ac_status = 0; }; }; then :
2159   ac_retval=0
2160 else
2161   $as_echo "$as_me: program exited with status $ac_status" >&5
2162        $as_echo "$as_me: failed program was:" >&5
2163 sed 's/^/| /' conftest.$ac_ext >&5
2164
2165        ac_retval=$ac_status
2166 fi
2167   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2168   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169   as_fn_set_status $ac_retval
2170
2171 } # ac_fn_c_try_run
2172
2173 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2174 # -------------------------------------------
2175 # Tests whether TYPE exists after having included INCLUDES, setting cache
2176 # variable VAR accordingly.
2177 ac_fn_c_check_type ()
2178 {
2179   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181 $as_echo_n "checking for $2... " >&6; }
2182 if eval \${$3+:} false; then :
2183   $as_echo_n "(cached) " >&6
2184 else
2185   eval "$3=no"
2186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h.  */
2188 $4
2189 int
2190 main ()
2191 {
2192 if (sizeof ($2))
2193          return 0;
2194   ;
2195   return 0;
2196 }
2197 _ACEOF
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h.  */
2201 $4
2202 int
2203 main ()
2204 {
2205 if (sizeof (($2)))
2206             return 0;
2207   ;
2208   return 0;
2209 }
2210 _ACEOF
2211 if ac_fn_c_try_compile "$LINENO"; then :
2212
2213 else
2214   eval "$3=yes"
2215 fi
2216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 fi
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 fi
2220 eval ac_res=\$$3
2221                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2224
2225 } # ac_fn_c_check_type
2226
2227 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2228 # -------------------------------------------------------
2229 # Tests whether HEADER exists and can be compiled using the include files in
2230 # INCLUDES, setting the cache variable VAR accordingly.
2231 ac_fn_c_check_header_compile ()
2232 {
2233   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if eval \${$3+:} false; then :
2237   $as_echo_n "(cached) " >&6
2238 else
2239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h.  */
2241 $4
2242 #include <$2>
2243 _ACEOF
2244 if ac_fn_c_try_compile "$LINENO"; then :
2245   eval "$3=yes"
2246 else
2247   eval "$3=no"
2248 fi
2249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250 fi
2251 eval ac_res=\$$3
2252                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2254   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255
2256 } # ac_fn_c_check_header_compile
2257
2258 # ac_fn_c_try_link LINENO
2259 # -----------------------
2260 # Try to link conftest.$ac_ext, and return whether this succeeded.
2261 ac_fn_c_try_link ()
2262 {
2263   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2264   rm -f conftest.$ac_objext conftest$ac_exeext
2265   if { { ac_try="$ac_link"
2266 case "(($ac_try" in
2267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2268   *) ac_try_echo=$ac_try;;
2269 esac
2270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2271 $as_echo "$ac_try_echo"; } >&5
2272   (eval "$ac_link") 2>conftest.err
2273   ac_status=$?
2274   if test -s conftest.err; then
2275     grep -v '^ *+' conftest.err >conftest.er1
2276     cat conftest.er1 >&5
2277     mv -f conftest.er1 conftest.err
2278   fi
2279   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280   test $ac_status = 0; } && {
2281          test -z "$ac_c_werror_flag" ||
2282          test ! -s conftest.err
2283        } && test -s conftest$ac_exeext && {
2284          test "$cross_compiling" = yes ||
2285          $as_test_x conftest$ac_exeext
2286        }; then :
2287   ac_retval=0
2288 else
2289   $as_echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2291
2292         ac_retval=1
2293 fi
2294   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2295   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2296   # interfere with the next link command; also delete a directory that is
2297   # left behind by Apple's compiler.  We do this before executing the actions.
2298   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2299   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300   as_fn_set_status $ac_retval
2301
2302 } # ac_fn_c_try_link
2303
2304 # ac_fn_c_check_func LINENO FUNC VAR
2305 # ----------------------------------
2306 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2307 ac_fn_c_check_func ()
2308 {
2309   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2311 $as_echo_n "checking for $2... " >&6; }
2312 if eval \${$3+:} false; then :
2313   $as_echo_n "(cached) " >&6
2314 else
2315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2316 /* end confdefs.h.  */
2317 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2319 #define $2 innocuous_$2
2320
2321 /* System header to define __stub macros and hopefully few prototypes,
2322     which can conflict with char $2 (); below.
2323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2324     <limits.h> exists even on freestanding compilers.  */
2325
2326 #ifdef __STDC__
2327 # include <limits.h>
2328 #else
2329 # include <assert.h>
2330 #endif
2331
2332 #undef $2
2333
2334 /* Override any GCC internal prototype to avoid an error.
2335    Use char because int might match the return type of a GCC
2336    builtin and then its argument prototype would still apply.  */
2337 #ifdef __cplusplus
2338 extern "C"
2339 #endif
2340 char $2 ();
2341 /* The GNU C library defines this for functions which it implements
2342     to always fail with ENOSYS.  Some functions are actually named
2343     something starting with __ and the normal name is an alias.  */
2344 #if defined __stub_$2 || defined __stub___$2
2345 choke me
2346 #endif
2347
2348 int
2349 main ()
2350 {
2351 return $2 ();
2352   ;
2353   return 0;
2354 }
2355 _ACEOF
2356 if ac_fn_c_try_link "$LINENO"; then :
2357   eval "$3=yes"
2358 else
2359   eval "$3=no"
2360 fi
2361 rm -f core conftest.err conftest.$ac_objext \
2362     conftest$ac_exeext conftest.$ac_ext
2363 fi
2364 eval ac_res=\$$3
2365                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2366 $as_echo "$ac_res" >&6; }
2367   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2368
2369 } # ac_fn_c_check_func
2370
2371 # ac_fn_cxx_try_cpp LINENO
2372 # ------------------------
2373 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2374 ac_fn_cxx_try_cpp ()
2375 {
2376   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2377   if { { ac_try="$ac_cpp conftest.$ac_ext"
2378 case "(($ac_try" in
2379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380   *) ac_try_echo=$ac_try;;
2381 esac
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2385   ac_status=$?
2386   if test -s conftest.err; then
2387     grep -v '^ *+' conftest.err >conftest.er1
2388     cat conftest.er1 >&5
2389     mv -f conftest.er1 conftest.err
2390   fi
2391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2392   test $ac_status = 0; } > conftest.i && {
2393          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2394          test ! -s conftest.err
2395        }; then :
2396   ac_retval=0
2397 else
2398   $as_echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2400
2401     ac_retval=1
2402 fi
2403   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404   as_fn_set_status $ac_retval
2405
2406 } # ac_fn_cxx_try_cpp
2407
2408 # ac_fn_cxx_try_link LINENO
2409 # -------------------------
2410 # Try to link conftest.$ac_ext, and return whether this succeeded.
2411 ac_fn_cxx_try_link ()
2412 {
2413   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414   rm -f conftest.$ac_objext conftest$ac_exeext
2415   if { { ac_try="$ac_link"
2416 case "(($ac_try" in
2417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418   *) ac_try_echo=$ac_try;;
2419 esac
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422   (eval "$ac_link") 2>conftest.err
2423   ac_status=$?
2424   if test -s conftest.err; then
2425     grep -v '^ *+' conftest.err >conftest.er1
2426     cat conftest.er1 >&5
2427     mv -f conftest.er1 conftest.err
2428   fi
2429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430   test $ac_status = 0; } && {
2431          test -z "$ac_cxx_werror_flag" ||
2432          test ! -s conftest.err
2433        } && test -s conftest$ac_exeext && {
2434          test "$cross_compiling" = yes ||
2435          $as_test_x conftest$ac_exeext
2436        }; then :
2437   ac_retval=0
2438 else
2439   $as_echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.$ac_ext >&5
2441
2442         ac_retval=1
2443 fi
2444   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2445   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2446   # interfere with the next link command; also delete a directory that is
2447   # left behind by Apple's compiler.  We do this before executing the actions.
2448   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2449   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2450   as_fn_set_status $ac_retval
2451
2452 } # ac_fn_cxx_try_link
2453
2454 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2455 # -------------------------------------------------------
2456 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2457 # the include files in INCLUDES and setting the cache variable VAR
2458 # accordingly.
2459 ac_fn_c_check_header_mongrel ()
2460 {
2461   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462   if eval \${$3+:} false; then :
2463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2464 $as_echo_n "checking for $2... " >&6; }
2465 if eval \${$3+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 fi
2468 eval ac_res=\$$3
2469                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471 else
2472   # Is the header compilable?
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2474 $as_echo_n "checking $2 usability... " >&6; }
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h.  */
2477 $4
2478 #include <$2>
2479 _ACEOF
2480 if ac_fn_c_try_compile "$LINENO"; then :
2481   ac_header_compiler=yes
2482 else
2483   ac_header_compiler=no
2484 fi
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2487 $as_echo "$ac_header_compiler" >&6; }
2488
2489 # Is the header present?
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2491 $as_echo_n "checking $2 presence... " >&6; }
2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h.  */
2494 #include <$2>
2495 _ACEOF
2496 if ac_fn_c_try_cpp "$LINENO"; then :
2497   ac_header_preproc=yes
2498 else
2499   ac_header_preproc=no
2500 fi
2501 rm -f conftest.err conftest.i conftest.$ac_ext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2503 $as_echo "$ac_header_preproc" >&6; }
2504
2505 # So?  What about this header?
2506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2507   yes:no: )
2508     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2509 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2510     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2511 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2512     ;;
2513   no:yes:* )
2514     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2515 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2516     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2517 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2518     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2519 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2520     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2521 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2522     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2524 ( $as_echo "## -------------------------------------- ##
2525 ## Report this to http://bugs.webkit.org/ ##
2526 ## -------------------------------------- ##"
2527      ) | sed "s/^/$as_me: WARNING:     /" >&2
2528     ;;
2529 esac
2530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2531 $as_echo_n "checking for $2... " >&6; }
2532 if eval \${$3+:} false; then :
2533   $as_echo_n "(cached) " >&6
2534 else
2535   eval "$3=\$ac_header_compiler"
2536 fi
2537 eval ac_res=\$$3
2538                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2539 $as_echo "$ac_res" >&6; }
2540 fi
2541   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2542
2543 } # ac_fn_c_check_header_mongrel
2544 cat >config.log <<_ACEOF
2545 This file contains any messages produced by compilers while
2546 running configure, to aid debugging if configure makes a mistake.
2547
2548 It was created by WebKit $as_me 1.6.1, which was
2549 generated by GNU Autoconf 2.68.  Invocation command line was
2550
2551   $ $0 $@
2552
2553 _ACEOF
2554 exec 5>>config.log
2555 {
2556 cat <<_ASUNAME
2557 ## --------- ##
2558 ## Platform. ##
2559 ## --------- ##
2560
2561 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2562 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2563 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2564 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2565 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2566
2567 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2568 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2569
2570 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2571 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2572 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2573 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2574 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2575 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2576 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2577
2578 _ASUNAME
2579
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2582 do
2583   IFS=$as_save_IFS
2584   test -z "$as_dir" && as_dir=.
2585     $as_echo "PATH: $as_dir"
2586   done
2587 IFS=$as_save_IFS
2588
2589 } >&5
2590
2591 cat >&5 <<_ACEOF
2592
2593
2594 ## ----------- ##
2595 ## Core tests. ##
2596 ## ----------- ##
2597
2598 _ACEOF
2599
2600
2601 # Keep a trace of the command line.
2602 # Strip out --no-create and --no-recursion so they do not pile up.
2603 # Strip out --silent because we don't want to record it for future runs.
2604 # Also quote any args containing shell meta-characters.
2605 # Make two passes to allow for proper duplicate-argument suppression.
2606 ac_configure_args=
2607 ac_configure_args0=
2608 ac_configure_args1=
2609 ac_must_keep_next=false
2610 for ac_pass in 1 2
2611 do
2612   for ac_arg
2613   do
2614     case $ac_arg in
2615     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2616     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2617     | -silent | --silent | --silen | --sile | --sil)
2618       continue ;;
2619     *\'*)
2620       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2621     esac
2622     case $ac_pass in
2623     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2624     2)
2625       as_fn_append ac_configure_args1 " '$ac_arg'"
2626       if test $ac_must_keep_next = true; then
2627         ac_must_keep_next=false # Got value, back to normal.
2628       else
2629         case $ac_arg in
2630           *=* | --config-cache | -C | -disable-* | --disable-* \
2631           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2632           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2633           | -with-* | --with-* | -without-* | --without-* | --x)
2634             case "$ac_configure_args0 " in
2635               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2636             esac
2637             ;;
2638           -* ) ac_must_keep_next=true ;;
2639         esac
2640       fi
2641       as_fn_append ac_configure_args " '$ac_arg'"
2642       ;;
2643     esac
2644   done
2645 done
2646 { ac_configure_args0=; unset ac_configure_args0;}
2647 { ac_configure_args1=; unset ac_configure_args1;}
2648
2649 # When interrupted or exit'd, cleanup temporary files, and complete
2650 # config.log.  We remove comments because anyway the quotes in there
2651 # would cause problems or look ugly.
2652 # WARNING: Use '\'' to represent an apostrophe within the trap.
2653 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2654 trap 'exit_status=$?
2655   # Save into config.log some information that might help in debugging.
2656   {
2657     echo
2658
2659     $as_echo "## ---------------- ##
2660 ## Cache variables. ##
2661 ## ---------------- ##"
2662     echo
2663     # The following way of writing the cache mishandles newlines in values,
2664 (
2665   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2666     eval ac_val=\$$ac_var
2667     case $ac_val in #(
2668     *${as_nl}*)
2669       case $ac_var in #(
2670       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2671 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2672       esac
2673       case $ac_var in #(
2674       _ | IFS | as_nl) ;; #(
2675       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2676       *) { eval $ac_var=; unset $ac_var;} ;;
2677       esac ;;
2678     esac
2679   done
2680   (set) 2>&1 |
2681     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2682     *${as_nl}ac_space=\ *)
2683       sed -n \
2684         "s/'\''/'\''\\\\'\'''\''/g;
2685           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2686       ;; #(
2687     *)
2688       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2689       ;;
2690     esac |
2691     sort
2692 )
2693     echo
2694
2695     $as_echo "## ----------------- ##
2696 ## Output variables. ##
2697 ## ----------------- ##"
2698     echo
2699     for ac_var in $ac_subst_vars
2700     do
2701       eval ac_val=\$$ac_var
2702       case $ac_val in
2703       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2704       esac
2705       $as_echo "$ac_var='\''$ac_val'\''"
2706     done | sort
2707     echo
2708
2709     if test -n "$ac_subst_files"; then
2710       $as_echo "## ------------------- ##
2711 ## File substitutions. ##
2712 ## ------------------- ##"
2713       echo
2714       for ac_var in $ac_subst_files
2715       do
2716         eval ac_val=\$$ac_var
2717         case $ac_val in
2718         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2719         esac
2720         $as_echo "$ac_var='\''$ac_val'\''"
2721       done | sort
2722       echo
2723     fi
2724
2725     if test -s confdefs.h; then
2726       $as_echo "## ----------- ##
2727 ## confdefs.h. ##
2728 ## ----------- ##"
2729       echo
2730       cat confdefs.h
2731       echo
2732     fi
2733     test "$ac_signal" != 0 &&
2734       $as_echo "$as_me: caught signal $ac_signal"
2735     $as_echo "$as_me: exit $exit_status"
2736   } >&5
2737   rm -f core *.core core.conftest.* &&
2738     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2739     exit $exit_status
2740 ' 0
2741 for ac_signal in 1 2 13 15; do
2742   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2743 done
2744 ac_signal=0
2745
2746 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2747 rm -f -r conftest* confdefs.h
2748
2749 $as_echo "/* confdefs.h */" > confdefs.h
2750
2751 # Predefined preprocessor variables.
2752
2753 cat >>confdefs.h <<_ACEOF
2754 #define PACKAGE_NAME "$PACKAGE_NAME"
2755 _ACEOF
2756
2757 cat >>confdefs.h <<_ACEOF
2758 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2759 _ACEOF
2760
2761 cat >>confdefs.h <<_ACEOF
2762 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2763 _ACEOF
2764
2765 cat >>confdefs.h <<_ACEOF
2766 #define PACKAGE_STRING "$PACKAGE_STRING"
2767 _ACEOF
2768
2769 cat >>confdefs.h <<_ACEOF
2770 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2771 _ACEOF
2772
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_URL "$PACKAGE_URL"
2775 _ACEOF
2776
2777
2778 # Let the site file select an alternate cache file if it wants to.
2779 # Prefer an explicitly selected file to automatically selected ones.
2780 ac_site_file1=NONE
2781 ac_site_file2=NONE
2782 if test -n "$CONFIG_SITE"; then
2783   # We do not want a PATH search for config.site.
2784   case $CONFIG_SITE in #((
2785     -*)  ac_site_file1=./$CONFIG_SITE;;
2786     */*) ac_site_file1=$CONFIG_SITE;;
2787     *)   ac_site_file1=./$CONFIG_SITE;;
2788   esac
2789 elif test "x$prefix" != xNONE; then
2790   ac_site_file1=$prefix/share/config.site
2791   ac_site_file2=$prefix/etc/config.site
2792 else
2793   ac_site_file1=$ac_default_prefix/share/config.site
2794   ac_site_file2=$ac_default_prefix/etc/config.site
2795 fi
2796 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2797 do
2798   test "x$ac_site_file" = xNONE && continue
2799   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2800     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2801 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2802     sed 's/^/| /' "$ac_site_file" >&5
2803     . "$ac_site_file" \
2804       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806 as_fn_error $? "failed to load site script $ac_site_file
2807 See \`config.log' for more details" "$LINENO" 5; }
2808   fi
2809 done
2810
2811 if test -r "$cache_file"; then
2812   # Some versions of bash will fail to source /dev/null (special files
2813   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2814   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2815     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2816 $as_echo "$as_me: loading cache $cache_file" >&6;}
2817     case $cache_file in
2818       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2819       *)                      . "./$cache_file";;
2820     esac
2821   fi
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2824 $as_echo "$as_me: creating cache $cache_file" >&6;}
2825   >$cache_file
2826 fi
2827
2828 # Check that the precious variables saved in the cache have kept the same
2829 # value.
2830 ac_cache_corrupted=false
2831 for ac_var in $ac_precious_vars; do
2832   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2833   eval ac_new_set=\$ac_env_${ac_var}_set
2834   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2835   eval ac_new_val=\$ac_env_${ac_var}_value
2836   case $ac_old_set,$ac_new_set in
2837     set,)
2838       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2839 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2840       ac_cache_corrupted=: ;;
2841     ,set)
2842       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2843 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2844       ac_cache_corrupted=: ;;
2845     ,);;
2846     *)
2847       if test "x$ac_old_val" != "x$ac_new_val"; then
2848         # differences in whitespace do not lead to failure.
2849         ac_old_val_w=`echo x $ac_old_val`
2850         ac_new_val_w=`echo x $ac_new_val`
2851         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2852           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2853 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2854           ac_cache_corrupted=:
2855         else
2856           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2857 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2858           eval $ac_var=\$ac_old_val
2859         fi
2860         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2861 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2862         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2863 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2864       fi;;
2865   esac
2866   # Pass precious variables to config.status.
2867   if test "$ac_new_set" = set; then
2868     case $ac_new_val in
2869     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2870     *) ac_arg=$ac_var=$ac_new_val ;;
2871     esac
2872     case " $ac_configure_args " in
2873       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2874       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2875     esac
2876   fi
2877 done
2878 if $ac_cache_corrupted; then
2879   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2881   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2882 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2883   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2884 fi
2885 ## -------------------- ##
2886 ## Main body of script. ##
2887 ## -------------------- ##
2888
2889 ac_ext=c
2890 ac_cpp='$CPP $CPPFLAGS'
2891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2894
2895
2896
2897
2898 ac_aux_dir=
2899 for ac_dir in Source/autotools "$srcdir"/Source/autotools; do
2900   if test -f "$ac_dir/install-sh"; then
2901     ac_aux_dir=$ac_dir
2902     ac_install_sh="$ac_aux_dir/install-sh -c"
2903     break
2904   elif test -f "$ac_dir/install.sh"; then
2905     ac_aux_dir=$ac_dir
2906     ac_install_sh="$ac_aux_dir/install.sh -c"
2907     break
2908   elif test -f "$ac_dir/shtool"; then
2909     ac_aux_dir=$ac_dir
2910     ac_install_sh="$ac_aux_dir/shtool install -c"
2911     break
2912   fi
2913 done
2914 if test -z "$ac_aux_dir"; then
2915   as_fn_error $? "cannot find install-sh, install.sh, or shtool in Source/autotools \"$srcdir\"/Source/autotools" "$LINENO" 5
2916 fi
2917
2918 # These three variables are undocumented and unsupported,
2919 # and are intended to be withdrawn in a future Autoconf release.
2920 # They can cause serious problems if a builder's source tree is in a directory
2921 # whose full name contains unusual characters.
2922 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2923 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2924 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2925
2926
2927 ACLOCAL_AMFLAGS="-I Source/autotools"
2928
2929
2930 ac_config_headers="$ac_config_headers autotoolsconfig.h"
2931
2932 # Make sure we can run config.sub.
2933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2934   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2935
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2937 $as_echo_n "checking build system type... " >&6; }
2938 if ${ac_cv_build+:} false; then :
2939   $as_echo_n "(cached) " >&6
2940 else
2941   ac_build_alias=$build_alias
2942 test "x$ac_build_alias" = x &&
2943   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2944 test "x$ac_build_alias" = x &&
2945   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2946 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2947   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2948
2949 fi
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2951 $as_echo "$ac_cv_build" >&6; }
2952 case $ac_cv_build in
2953 *-*-*) ;;
2954 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2955 esac
2956 build=$ac_cv_build
2957 ac_save_IFS=$IFS; IFS='-'
2958 set x $ac_cv_build
2959 shift
2960 build_cpu=$1
2961 build_vendor=$2
2962 shift; shift
2963 # Remember, the first character of IFS is used to create $*,
2964 # except with old shells:
2965 build_os=$*
2966 IFS=$ac_save_IFS
2967 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2968
2969
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2971 $as_echo_n "checking host system type... " >&6; }
2972 if ${ac_cv_host+:} false; then :
2973   $as_echo_n "(cached) " >&6
2974 else
2975   if test "x$host_alias" = x; then
2976   ac_cv_host=$ac_cv_build
2977 else
2978   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2979     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2980 fi
2981
2982 fi
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2984 $as_echo "$ac_cv_host" >&6; }
2985 case $ac_cv_host in
2986 *-*-*) ;;
2987 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2988 esac
2989 host=$ac_cv_host
2990 ac_save_IFS=$IFS; IFS='-'
2991 set x $ac_cv_host
2992 shift
2993 host_cpu=$1
2994 host_vendor=$2
2995 shift; shift
2996 # Remember, the first character of IFS is used to create $*,
2997 # except with old shells:
2998 host_os=$*
2999 IFS=$ac_save_IFS
3000 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3001
3002
3003
3004 WEBKIT_MAJOR_VERSION=1
3005 WEBKIT_MINOR_VERSION=6
3006 WEBKIT_MICRO_VERSION=1
3007 WEBKIT_USER_AGENT_MAJOR_VERSION=535
3008 WEBKIT_USER_AGENT_MINOR_VERSION=4
3009
3010
3011
3012
3013
3014
3015
3016
3017 LIBWEBKITGTK_VERSION=11:0:11
3018
3019
3020 am__api_version='1.11'
3021
3022 # Find a good install program.  We prefer a C program (faster),
3023 # so one script is as good as another.  But avoid the broken or
3024 # incompatible versions:
3025 # SysV /etc/install, /usr/sbin/install
3026 # SunOS /usr/etc/install
3027 # IRIX /sbin/install
3028 # AIX /bin/install
3029 # AmigaOS /C/install, which installs bootblocks on floppy discs
3030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3033 # OS/2's system install, which has a completely different semantic
3034 # ./install, which can be erroneously created by make from ./install.sh.
3035 # Reject install programs that cannot install multiple files.
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3037 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3038 if test -z "$INSTALL"; then
3039 if ${ac_cv_path_install+:} false; then :
3040   $as_echo_n "(cached) " >&6
3041 else
3042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 for as_dir in $PATH
3044 do
3045   IFS=$as_save_IFS
3046   test -z "$as_dir" && as_dir=.
3047     # Account for people who put trailing slashes in PATH elements.
3048 case $as_dir/ in #((
3049   ./ | .// | /[cC]/* | \
3050   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3051   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3052   /usr/ucb/* ) ;;
3053   *)
3054     # OSF1 and SCO ODT 3.0 have their own names for install.
3055     # Don't use installbsd from OSF since it installs stuff as root
3056     # by default.
3057     for ac_prog in ginstall scoinst install; do
3058       for ac_exec_ext in '' $ac_executable_extensions; do
3059         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3060           if test $ac_prog = install &&
3061             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3062             # AIX install.  It has an incompatible calling convention.
3063             :
3064           elif test $ac_prog = install &&
3065             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3066             # program-specific install script used by HP pwplus--don't use.
3067             :
3068           else
3069             rm -rf conftest.one conftest.two conftest.dir
3070             echo one > conftest.one
3071             echo two > conftest.two
3072             mkdir conftest.dir
3073             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3074               test -s conftest.one && test -s conftest.two &&
3075               test -s conftest.dir/conftest.one &&
3076               test -s conftest.dir/conftest.two
3077             then
3078               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3079               break 3
3080             fi
3081           fi
3082         fi
3083       done
3084     done
3085     ;;
3086 esac
3087
3088   done
3089 IFS=$as_save_IFS
3090
3091 rm -rf conftest.one conftest.two conftest.dir
3092
3093 fi
3094   if test "${ac_cv_path_install+set}" = set; then
3095     INSTALL=$ac_cv_path_install
3096   else
3097     # As a last resort, use the slow shell script.  Don't cache a
3098     # value for INSTALL within a source directory, because that will
3099     # break other packages using the cache if that directory is
3100     # removed, or if the value is a relative name.
3101     INSTALL=$ac_install_sh
3102   fi
3103 fi
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3105 $as_echo "$INSTALL" >&6; }
3106
3107 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3108 # It thinks the first close brace ends the variable substitution.
3109 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3110
3111 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3112
3113 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3114
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3116 $as_echo_n "checking whether build environment is sane... " >&6; }
3117 # Just in case
3118 sleep 1
3119 echo timestamp > conftest.file
3120 # Reject unsafe characters in $srcdir or the absolute working directory
3121 # name.  Accept space and tab only in the latter.
3122 am_lf='
3123 '
3124 case `pwd` in
3125   *[\\\"\#\$\&\'\`$am_lf]*)
3126     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3127 esac
3128 case $srcdir in
3129   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3130     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3131 esac
3132
3133 # Do `set' in a subshell so we don't clobber the current shell's
3134 # arguments.  Must try -L first in case configure is actually a
3135 # symlink; some systems play weird games with the mod time of symlinks
3136 # (eg FreeBSD returns the mod time of the symlink's containing
3137 # directory).
3138 if (
3139    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3140    if test "$*" = "X"; then
3141       # -L didn't work.
3142       set X `ls -t "$srcdir/configure" conftest.file`
3143    fi
3144    rm -f conftest.file
3145    if test "$*" != "X $srcdir/configure conftest.file" \
3146       && test "$*" != "X conftest.file $srcdir/configure"; then
3147
3148       # If neither matched, then we have a broken ls.  This can happen
3149       # if, for instance, CONFIG_SHELL is bash and it inherits a
3150       # broken ls alias from the environment.  This has actually
3151       # happened.  Such a system could not be considered "sane".
3152       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3153 alias in your environment" "$LINENO" 5
3154    fi
3155
3156    test "$2" = conftest.file
3157    )
3158 then
3159    # Ok.
3160    :
3161 else
3162    as_fn_error $? "newly created file is older than distributed files!
3163 Check your system clock" "$LINENO" 5
3164 fi
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3166 $as_echo "yes" >&6; }
3167 test "$program_prefix" != NONE &&
3168   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3169 # Use a double $ so make ignores it.
3170 test "$program_suffix" != NONE &&
3171   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3172 # Double any \ or $.
3173 # By default was `s,x,x', remove it if useless.
3174 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3175 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3176
3177 # expand $ac_aux_dir to an absolute path
3178 am_aux_dir=`cd $ac_aux_dir && pwd`
3179
3180 if test x"${MISSING+set}" != xset; then
3181   case $am_aux_dir in
3182   *\ * | *\     *)
3183     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3184   *)
3185     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3186   esac
3187 fi
3188 # Use eval to expand $SHELL
3189 if eval "$MISSING --run true"; then
3190   am_missing_run="$MISSING --run "
3191 else
3192   am_missing_run=
3193   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3194 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3195 fi
3196
3197 if test x"${install_sh}" != xset; then
3198   case $am_aux_dir in
3199   *\ * | *\     *)
3200     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3201   *)
3202     install_sh="\${SHELL} $am_aux_dir/install-sh"
3203   esac
3204 fi
3205
3206 # Installed binaries are usually stripped using `strip' when the user
3207 # run `make install-strip'.  However `strip' might not be the right
3208 # tool to use in cross-compilation environments, therefore Automake
3209 # will honor the `STRIP' environment variable to overrule this program.
3210 if test "$cross_compiling" != no; then
3211   if test -n "$ac_tool_prefix"; then
3212   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3213 set dummy ${ac_tool_prefix}strip; ac_word=$2
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215 $as_echo_n "checking for $ac_word... " >&6; }
3216 if ${ac_cv_prog_STRIP+:} false; then :
3217   $as_echo_n "(cached) " >&6
3218 else
3219   if test -n "$STRIP"; then
3220   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3221 else
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 for as_dir in $PATH
3224 do
3225   IFS=$as_save_IFS
3226   test -z "$as_dir" && as_dir=.
3227     for ac_exec_ext in '' $ac_executable_extensions; do
3228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3229     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231     break 2
3232   fi
3233 done
3234   done
3235 IFS=$as_save_IFS
3236
3237 fi
3238 fi
3239 STRIP=$ac_cv_prog_STRIP
3240 if test -n "$STRIP"; then
3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3242 $as_echo "$STRIP" >&6; }
3243 else
3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3246 fi
3247
3248
3249 fi
3250 if test -z "$ac_cv_prog_STRIP"; then
3251   ac_ct_STRIP=$STRIP
3252   # Extract the first word of "strip", so it can be a program name with args.
3253 set dummy strip; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3257   $as_echo_n "(cached) " >&6
3258 else
3259   if test -n "$ac_ct_STRIP"; then
3260   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3261 else
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH
3264 do
3265   IFS=$as_save_IFS
3266   test -z "$as_dir" && as_dir=.
3267     for ac_exec_ext in '' $ac_executable_extensions; do
3268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269     ac_cv_prog_ac_ct_STRIP="strip"
3270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271     break 2
3272   fi
3273 done
3274   done
3275 IFS=$as_save_IFS
3276
3277 fi
3278 fi
3279 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3280 if test -n "$ac_ct_STRIP"; then
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3282 $as_echo "$ac_ct_STRIP" >&6; }
3283 else
3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3286 fi
3287
3288   if test "x$ac_ct_STRIP" = x; then
3289     STRIP=":"
3290   else
3291     case $cross_compiling:$ac_tool_warned in
3292 yes:)
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3295 ac_tool_warned=yes ;;
3296 esac
3297     STRIP=$ac_ct_STRIP
3298   fi
3299 else
3300   STRIP="$ac_cv_prog_STRIP"
3301 fi
3302
3303 fi
3304 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3305
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3307 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3308 if test -z "$MKDIR_P"; then
3309   if ${ac_cv_path_mkdir+:} false; then :
3310   $as_echo_n "(cached) " >&6
3311 else
3312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3314 do
3315   IFS=$as_save_IFS
3316   test -z "$as_dir" && as_dir=.
3317     for ac_prog in mkdir gmkdir; do
3318          for ac_exec_ext in '' $ac_executable_extensions; do
3319            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3320            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3321              'mkdir (GNU coreutils) '* | \
3322              'mkdir (coreutils) '* | \
3323              'mkdir (fileutils) '4.1*)
3324                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3325                break 3;;
3326            esac
3327          done
3328        done
3329   done
3330 IFS=$as_save_IFS
3331
3332 fi
3333
3334   test -d ./--version && rmdir ./--version
3335   if test "${ac_cv_path_mkdir+set}" = set; then
3336     MKDIR_P="$ac_cv_path_mkdir -p"
3337   else
3338     # As a last resort, use the slow shell script.  Don't cache a
3339     # value for MKDIR_P within a source directory, because that will
3340     # break other packages using the cache if that directory is
3341     # removed, or if the value is a relative name.
3342     MKDIR_P="$ac_install_sh -d"
3343   fi
3344 fi
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3346 $as_echo "$MKDIR_P" >&6; }
3347
3348 mkdir_p="$MKDIR_P"
3349 case $mkdir_p in
3350   [\\/$]* | ?:[\\/]*) ;;
3351   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3352 esac
3353
3354 for ac_prog in gawk mawk nawk awk
3355 do
3356   # Extract the first word of "$ac_prog", so it can be a program name with args.
3357 set dummy $ac_prog; ac_word=$2
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3359 $as_echo_n "checking for $ac_word... " >&6; }
3360 if ${ac_cv_prog_AWK+:} false; then :
3361   $as_echo_n "(cached) " >&6
3362 else
3363   if test -n "$AWK"; then
3364   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH
3368 do
3369   IFS=$as_save_IFS
3370   test -z "$as_dir" && as_dir=.
3371     for ac_exec_ext in '' $ac_executable_extensions; do
3372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373     ac_cv_prog_AWK="$ac_prog"
3374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375     break 2
3376   fi
3377 done
3378   done
3379 IFS=$as_save_IFS
3380
3381 fi
3382 fi
3383 AWK=$ac_cv_prog_AWK
3384 if test -n "$AWK"; then
3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3386 $as_echo "$AWK" >&6; }
3387 else
3388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 $as_echo "no" >&6; }
3390 fi
3391
3392
3393   test -n "$AWK" && break
3394 done
3395
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3397 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3398 set x ${MAKE-make}
3399 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3400 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3401   $as_echo_n "(cached) " >&6
3402 else
3403   cat >conftest.make <<\_ACEOF
3404 SHELL = /bin/sh
3405 all:
3406         @echo '@@@%%%=$(MAKE)=@@@%%%'
3407 _ACEOF
3408 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3409 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3410   *@@@%%%=?*=@@@%%%*)
3411     eval ac_cv_prog_make_${ac_make}_set=yes;;
3412   *)
3413     eval ac_cv_prog_make_${ac_make}_set=no;;
3414 esac
3415 rm -f conftest.make
3416 fi
3417 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3419 $as_echo "yes" >&6; }
3420   SET_MAKE=
3421 else
3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3424   SET_MAKE="MAKE=${MAKE-make}"
3425 fi
3426
3427 rm -rf .tst 2>/dev/null
3428 mkdir .tst 2>/dev/null
3429 if test -d .tst; then
3430   am__leading_dot=.
3431 else
3432   am__leading_dot=_
3433 fi
3434 rmdir .tst 2>/dev/null
3435
3436 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3437   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3438   # is not polluted with repeated "-I."
3439   am__isrc=' -I$(srcdir)'
3440   # test to see if srcdir already configured
3441   if test -f $srcdir/config.status; then
3442     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3443   fi
3444 fi
3445
3446 # test whether we have cygpath
3447 if test -z "$CYGPATH_W"; then
3448   if (cygpath --version) >/dev/null 2>/dev/null; then
3449     CYGPATH_W='cygpath -w'
3450   else
3451     CYGPATH_W=echo
3452   fi
3453 fi
3454
3455
3456 # Define the identity of the package.
3457  PACKAGE='webkit'
3458  VERSION='1.6.1'
3459
3460
3461 cat >>confdefs.h <<_ACEOF
3462 #define PACKAGE "$PACKAGE"
3463 _ACEOF
3464
3465
3466 cat >>confdefs.h <<_ACEOF
3467 #define VERSION "$VERSION"
3468 _ACEOF
3469
3470 # Some tools Automake needs.
3471
3472 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3473
3474
3475 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3476
3477
3478 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3479
3480
3481 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3482
3483
3484 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3485
3486 # We need awk for the "check" target.  The system "awk" is bad on
3487 # some platforms.
3488 # Always define AMTAR for backward compatibility.  Yes, it's still used
3489 # in the wild :-(  We should find a proper way to deprecate it ...
3490 AMTAR='$${TAR-tar}'
3491
3492
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3494 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3495 # Loop over all known methods to create a tar archive until one works.
3496 _am_tools='gnutar plaintar pax cpio none'
3497 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3498 # Do not fold the above two line into one, because Tru64 sh and
3499 # Solaris sh will not grok spaces in the rhs of `-'.
3500 for _am_tool in $_am_tools
3501 do
3502   case $_am_tool in
3503   gnutar)
3504     for _am_tar in tar gnutar gtar;
3505     do
3506       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3507    ($_am_tar --version) >&5 2>&5
3508    ac_status=$?
3509    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510    (exit $ac_status); } && break
3511     done
3512     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3513     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3514     am__untar="$_am_tar -xf -"
3515     ;;
3516   plaintar)
3517     # Must skip GNU tar: if it does not support --format= it doesn't create
3518     # ustar tarball either.
3519     (tar --version) >/dev/null 2>&1 && continue
3520     am__tar='tar chf - "$$tardir"'
3521     am__tar_='tar chf - "$tardir"'
3522     am__untar='tar xf -'
3523     ;;
3524   pax)
3525     am__tar='pax -L -x ustar -w "$$tardir"'
3526     am__tar_='pax -L -x ustar -w "$tardir"'
3527     am__untar='pax -r'
3528     ;;
3529   cpio)
3530     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3531     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3532     am__untar='cpio -i -H ustar -d'
3533     ;;
3534   none)
3535     am__tar=false
3536     am__tar_=false
3537     am__untar=false
3538     ;;
3539   esac
3540
3541   # If the value was cached, stop now.  We just wanted to have am__tar
3542   # and am__untar set.
3543   test -n "${am_cv_prog_tar_ustar}" && break
3544
3545   # tar/untar a dummy directory, and stop if the command works
3546   rm -rf conftest.dir
3547   mkdir conftest.dir
3548   echo GrepMe > conftest.dir/file
3549   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3550    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3551    ac_status=$?
3552    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553    (exit $ac_status); }
3554   rm -rf conftest.dir
3555   if test -s conftest.tar; then
3556     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3557    ($am__untar <conftest.tar) >&5 2>&5
3558    ac_status=$?
3559    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560    (exit $ac_status); }
3561     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3562   fi
3563 done
3564 rm -rf conftest.dir
3565
3566 if ${am_cv_prog_tar_ustar+:} false; then :
3567   $as_echo_n "(cached) " >&6
3568 else
3569   am_cv_prog_tar_ustar=$_am_tool
3570 fi
3571
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3573 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3574
3575
3576
3577
3578
3579
3580 # Use AM_SILENT_RULES if present
3581 # Check whether --enable-silent-rules was given.
3582 if test "${enable_silent_rules+set}" = set; then :
3583   enableval=$enable_silent_rules;
3584 fi
3585
3586 case $enable_silent_rules in
3587 yes) AM_DEFAULT_VERBOSITY=0;;
3588 no)  AM_DEFAULT_VERBOSITY=1;;
3589 *)   AM_DEFAULT_VERBOSITY=0;;
3590 esac
3591 am_make=${MAKE-make}
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3593 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3594 if ${am_cv_make_support_nested_variables+:} false; then :
3595   $as_echo_n "(cached) " >&6
3596 else
3597   if $as_echo 'TRUE=$(BAR$(V))
3598 BAR0=false
3599 BAR1=true
3600 V=1
3601 am__doit:
3602         @$(TRUE)
3603 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3604   am_cv_make_support_nested_variables=yes
3605 else
3606   am_cv_make_support_nested_variables=no
3607 fi
3608 fi
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3610 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3611 if test $am_cv_make_support_nested_variables = yes; then
3612     AM_V='$(V)'
3613   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3614 else
3615   AM_V=$AM_DEFAULT_VERBOSITY
3616   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3617 fi
3618 AM_BACKSLASH='\'
3619
3620
3621 # host checking - inspired by the GTK+ configure.in
3622 # TODO: move these to webkit.m4?
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
3624 $as_echo_n "checking for native Win32... " >&6; }
3625 case "$host" in
3626      *-*-mingw*)
3627        os_win32=yes
3628        ;;
3629      *)
3630        os_win32=no
3631        ;;
3632 esac
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
3634 $as_echo "$os_win32" >&6; }
3635
3636 case "$host" in
3637      *-*-linux*)
3638        os_linux=yes
3639        ;;
3640      *-*-freebsd*)
3641        os_freebsd=yes
3642        ;;
3643      *-*-darwin*)
3644        os_darwin=yes
3645        ;;
3646 esac
3647
3648 case "$host_os" in
3649      gnu* | linux* | k*bsd*-gnu)
3650        os_gnu=yes
3651        ;;
3652      *)
3653        os_gnu=no
3654        ;;
3655 esac
3656
3657 # initialize webkit options
3658 # If CXXFLAGS and CFLAGS are unset, default to empty.
3659 # This is to tell automake not to include '-g' if CXXFLAGS is not set
3660 # For more info - http://www.gnu.org/software/automake/manual/autoconf.html#C_002b_002b-Compiler
3661 if test -z "$CXXFLAGS"; then
3662    CXXFLAGS=""
3663 fi
3664 if test -z "$CFLAGS"; then
3665    CFLAGS=""
3666 fi
3667
3668 DEPDIR="${am__leading_dot}deps"
3669
3670 ac_config_commands="$ac_config_commands depfiles"
3671
3672
3673 am_make=${MAKE-make}
3674 cat > confinc << 'END'
3675 am__doit:
3676         @echo this is the am__doit target
3677 .PHONY: am__doit
3678 END
3679 # If we don't find an include directive, just comment out the code.
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3681 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3682 am__include="#"
3683 am__quote=
3684 _am_result=none
3685 # First try GNU make style include.
3686 echo "include confinc" > confmf
3687 # Ignore all kinds of additional output from `make'.
3688 case `$am_make -s -f confmf 2> /dev/null` in #(
3689 *the\ am__doit\ target*)
3690   am__include=include
3691   am__quote=
3692   _am_result=GNU
3693   ;;
3694 esac
3695 # Now try BSD make style include.
3696 if test "$am__include" = "#"; then
3697    echo '.include "confinc"' > confmf
3698    case `$am_make -s -f confmf 2> /dev/null` in #(
3699    *the\ am__doit\ target*)
3700      am__include=.include
3701      am__quote="\""
3702      _am_result=BSD
3703      ;;
3704    esac
3705 fi
3706
3707
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3709 $as_echo "$_am_result" >&6; }
3710 rm -f confinc confmf
3711
3712 # Check whether --enable-dependency-tracking was given.
3713 if test "${enable_dependency_tracking+set}" = set; then :
3714   enableval=$enable_dependency_tracking;
3715 fi
3716
3717 if test "x$enable_dependency_tracking" != xno; then
3718   am_depcomp="$ac_aux_dir/depcomp"
3719   AMDEPBACKSLASH='\'
3720   am__nodep='_no'
3721 fi
3722  if test "x$enable_dependency_tracking" != xno; then
3723   AMDEP_TRUE=
3724   AMDEP_FALSE='#'
3725 else
3726   AMDEP_TRUE='#'
3727   AMDEP_FALSE=
3728 fi
3729
3730
3731 ac_ext=c
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 if test -n "$ac_tool_prefix"; then
3737   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742   $as_echo_n "(cached) " >&6
3743 else
3744   if test -n "$CC"; then
3745   ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3749 do
3750   IFS=$as_save_IFS
3751   test -z "$as_dir" && as_dir=.
3752     for ac_exec_ext in '' $ac_executable_extensions; do
3753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756     break 2
3757   fi
3758 done
3759   done
3760 IFS=$as_save_IFS
3761
3762 fi
3763 fi
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3771 fi
3772
3773
3774 fi
3775 if test -z "$ac_cv_prog_CC"; then
3776   ac_ct_CC=$CC
3777   # Extract the first word of "gcc", so it can be a program name with args.
3778 set dummy gcc; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3782   $as_echo_n "(cached) " >&6
3783 else
3784   if test -n "$ac_ct_CC"; then
3785   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 else
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3789 do
3790   IFS=$as_save_IFS
3791   test -z "$as_dir" && as_dir=.
3792     for ac_exec_ext in '' $ac_executable_extensions; do
3793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794     ac_cv_prog_ac_ct_CC="gcc"
3795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796     break 2
3797   fi
3798 done
3799   done
3800 IFS=$as_save_IFS
3801
3802 fi
3803 fi
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3808 else
3809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3811 fi
3812
3813   if test "x$ac_ct_CC" = x; then
3814     CC=""
3815   else
3816     case $cross_compiling:$ac_tool_warned in
3817 yes:)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3821 esac
3822     CC=$ac_ct_CC
3823   fi
3824 else
3825   CC="$ac_cv_prog_CC"
3826 fi
3827
3828 if test -z "$CC"; then
3829           if test -n "$ac_tool_prefix"; then
3830     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}cc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835   $as_echo_n "(cached) " >&6
3836 else
3837   if test -n "$CC"; then
3838   ac_cv_prog_CC="$CC" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3842 do
3843   IFS=$as_save_IFS
3844   test -z "$as_dir" && as_dir=.
3845     for ac_exec_ext in '' $ac_executable_extensions; do
3846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847     ac_cv_prog_CC="${ac_tool_prefix}cc"
3848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849     break 2
3850   fi
3851 done
3852   done
3853 IFS=$as_save_IFS
3854
3855 fi
3856 fi
3857 CC=$ac_cv_prog_CC
3858 if test -n "$CC"; then
3859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3861 else
3862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3864 fi
3865
3866
3867   fi
3868 fi
3869 if test -z "$CC"; then
3870   # Extract the first word of "cc", so it can be a program name with args.
3871 set dummy cc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875   $as_echo_n "(cached) " >&6
3876 else
3877   if test -n "$CC"; then
3878   ac_cv_prog_CC="$CC" # Let the user override the test.
3879 else
3880   ac_prog_rejected=no
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3883 do
3884   IFS=$as_save_IFS
3885   test -z "$as_dir" && as_dir=.
3886     for ac_exec_ext in '' $ac_executable_extensions; do
3887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3889        ac_prog_rejected=yes
3890        continue
3891      fi
3892     ac_cv_prog_CC="cc"
3893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894     break 2
3895   fi
3896 done
3897   done
3898 IFS=$as_save_IFS
3899
3900 if test $ac_prog_rejected = yes; then
3901   # We found a bogon in the path, so make sure we never use it.
3902   set dummy $ac_cv_prog_CC
3903   shift
3904   if test $# != 0; then
3905     # We chose a different compiler from the bogus one.
3906     # However, it has the same basename, so the bogon will be chosen
3907     # first if we set CC to just the basename; use the full file name.
3908     shift
3909     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3910   fi
3911 fi
3912 fi
3913 fi
3914 CC=$ac_cv_prog_CC
3915 if test -n "$CC"; then
3916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 $as_echo "$CC" >&6; }
3918 else
3919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 fi
3922
3923
3924 fi
3925 if test -z "$CC"; then
3926   if test -n "$ac_tool_prefix"; then
3927   for ac_prog in cl.exe
3928   do
3929     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934   $as_echo_n "(cached) " >&6
3935 else
3936   if test -n "$CC"; then
3937   ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3941 do
3942   IFS=$as_save_IFS
3943   test -z "$as_dir" && as_dir=.
3944     for ac_exec_ext in '' $ac_executable_extensions; do
3945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3946     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948     break 2
3949   fi
3950 done
3951   done
3952 IFS=$as_save_IFS
3953
3954 fi
3955 fi
3956 CC=$ac_cv_prog_CC
3957 if test -n "$CC"; then
3958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3960 else
3961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3963 fi
3964
3965
3966     test -n "$CC" && break
3967   done
3968 fi
3969 if test -z "$CC"; then
3970   ac_ct_CC=$CC
3971   for ac_prog in cl.exe
3972 do
3973   # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy $ac_prog; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978   $as_echo_n "(cached) " >&6
3979 else
3980   if test -n "$ac_ct_CC"; then
3981   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3985 do
3986   IFS=$as_save_IFS
3987   test -z "$as_dir" && as_dir=.
3988     for ac_exec_ext in '' $ac_executable_extensions; do
3989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990     ac_cv_prog_ac_ct_CC="$ac_prog"
3991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992     break 2
3993   fi
3994 done
3995   done
3996 IFS=$as_save_IFS
3997
3998 fi
3999 fi
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4004 else
4005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007 fi
4008
4009
4010   test -n "$ac_ct_CC" && break
4011 done
4012
4013   if test "x$ac_ct_CC" = x; then
4014     CC=""
4015   else
4016     case $cross_compiling:$ac_tool_warned in
4017 yes:)
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned=yes ;;
4021 esac
4022     CC=$ac_ct_CC
4023   fi
4024 fi
4025
4026 fi
4027
4028
4029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "no acceptable C compiler found in \$PATH
4032 See \`config.log' for more details" "$LINENO" 5; }
4033
4034 # Provide some information about the compiler.
4035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4036 set X $ac_compile
4037 ac_compiler=$2
4038 for ac_option in --version -v -V -qversion; do
4039   { { ac_try="$ac_compiler $ac_option >&5"
4040 case "(($ac_try" in
4041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042   *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4047   ac_status=$?
4048   if test -s conftest.err; then
4049     sed '10a\
4050 ... rest of stderr output deleted ...
4051          10q' conftest.err >conftest.er1
4052     cat conftest.er1 >&5
4053   fi
4054   rm -f conftest.er1 conftest.err
4055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056   test $ac_status = 0; }
4057 done
4058
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h.  */
4061
4062 int
4063 main ()
4064 {
4065
4066   ;
4067   return 0;
4068 }
4069 _ACEOF
4070 ac_clean_files_save=$ac_clean_files
4071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4072 # Try to create an executable without -o first, disregard a.out.
4073 # It will help us diagnose broken compilers, and finding out an intuition
4074 # of exeext.
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4076 $as_echo_n "checking whether the C compiler works... " >&6; }
4077 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4078
4079 # The possible output files:
4080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4081
4082 ac_rmfiles=
4083 for ac_file in $ac_files
4084 do
4085   case $ac_file in
4086     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4087     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4088   esac
4089 done
4090 rm -f $ac_rmfiles
4091
4092 if { { ac_try="$ac_link_default"
4093 case "(($ac_try" in
4094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095   *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099   (eval "$ac_link_default") 2>&5
4100   ac_status=$?
4101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102   test $ac_status = 0; }; then :
4103   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4105 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4106 # so that the user can short-circuit this test for compilers unknown to
4107 # Autoconf.
4108 for ac_file in $ac_files ''
4109 do
4110   test -f "$ac_file" || continue
4111   case $ac_file in
4112     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4113         ;;
4114     [ab].out )
4115         # We found the default executable, but exeext='' is most
4116         # certainly right.
4117         break;;
4118     *.* )
4119         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4120         then :; else
4121            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4122         fi
4123         # We set ac_cv_exeext here because the later test for it is not
4124         # safe: cross compilers may not add the suffix if given an `-o'
4125         # argument, so we may need to know it at that point already.
4126         # Even if this section looks crufty: it has the advantage of
4127         # actually working.
4128         break;;
4129     * )
4130         break;;
4131   esac
4132 done
4133 test "$ac_cv_exeext" = no && ac_cv_exeext=
4134
4135 else
4136   ac_file=''
4137 fi
4138 if test -z "$ac_file"; then :
4139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4143
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error 77 "C compiler cannot create executables
4147 See \`config.log' for more details" "$LINENO" 5; }
4148 else
4149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4151 fi
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4153 $as_echo_n "checking for C compiler default output file name... " >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4155 $as_echo "$ac_file" >&6; }
4156 ac_exeext=$ac_cv_exeext
4157
4158 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4159 ac_clean_files=$ac_clean_files_save
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4161 $as_echo_n "checking for suffix of executables... " >&6; }
4162 if { { ac_try="$ac_link"
4163 case "(($ac_try" in
4164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165   *) ac_try_echo=$ac_try;;
4166 esac
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169   (eval "$ac_link") 2>&5
4170   ac_status=$?
4171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172   test $ac_status = 0; }; then :
4173   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4174 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4175 # work properly (i.e., refer to `conftest.exe'), while it won't with
4176 # `rm'.
4177 for ac_file in conftest.exe conftest conftest.*; do
4178   test -f "$ac_file" || continue
4179   case $ac_file in
4180     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4182           break;;
4183     * ) break;;
4184   esac
4185 done
4186 else
4187   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4190 See \`config.log' for more details" "$LINENO" 5; }
4191 fi
4192 rm -f conftest conftest$ac_cv_exeext
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4194 $as_echo "$ac_cv_exeext" >&6; }
4195
4196 rm -f conftest.$ac_ext
4197 EXEEXT=$ac_cv_exeext
4198 ac_exeext=$EXEEXT
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h.  */
4201 #include <stdio.h>
4202 int
4203 main ()
4204 {
4205 FILE *f = fopen ("conftest.out", "w");
4206  return ferror (f) || fclose (f) != 0;
4207
4208   ;
4209   return 0;
4210 }
4211 _ACEOF
4212 ac_clean_files="$ac_clean_files conftest.out"
4213 # Check that the compiler produces executables we can run.  If not, either
4214 # the compiler is broken, or we cross compile.
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4216 $as_echo_n "checking whether we are cross compiling... " >&6; }
4217 if test "$cross_compiling" != yes; then
4218   { { ac_try="$ac_link"
4219 case "(($ac_try" in
4220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221   *) ac_try_echo=$ac_try;;
4222 esac
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225   (eval "$ac_link") 2>&5
4226   ac_status=$?
4227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228   test $ac_status = 0; }
4229   if { ac_try='./conftest$ac_cv_exeext'
4230   { { case "(($ac_try" in
4231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232   *) ac_try_echo=$ac_try;;
4233 esac
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236   (eval "$ac_try") 2>&5
4237   ac_status=$?
4238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239   test $ac_status = 0; }; }; then
4240     cross_compiling=no
4241   else
4242     if test "$cross_compiling" = maybe; then
4243         cross_compiling=yes
4244     else
4245         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error $? "cannot run C compiled programs.
4248 If you meant to cross compile, use \`--host'.
4249 See \`config.log' for more details" "$LINENO" 5; }
4250     fi
4251   fi
4252 fi
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4254 $as_echo "$cross_compiling" >&6; }
4255
4256 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4257 ac_clean_files=$ac_clean_files_save
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4259 $as_echo_n "checking for suffix of object files... " >&6; }
4260 if ${ac_cv_objext+:} false; then :
4261   $as_echo_n "(cached) " >&6
4262 else
4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h.  */
4265
4266 int
4267 main ()
4268 {
4269
4270   ;
4271   return 0;
4272 }
4273 _ACEOF
4274 rm -f conftest.o conftest.obj
4275 if { { ac_try="$ac_compile"
4276 case "(($ac_try" in
4277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4278   *) ac_try_echo=$ac_try;;
4279 esac
4280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4281 $as_echo "$ac_try_echo"; } >&5
4282   (eval "$ac_compile") 2>&5
4283   ac_status=$?
4284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285   test $ac_status = 0; }; then :
4286   for ac_file in conftest.o conftest.obj conftest.*; do
4287   test -f "$ac_file" || continue;
4288   case $ac_file in
4289     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4290     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4291        break;;
4292   esac
4293 done
4294 else
4295   $as_echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4297
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error $? "cannot compute suffix of object files: cannot compile
4301 See \`config.log' for more details" "$LINENO" 5; }
4302 fi
4303 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4304 fi
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4306 $as_echo "$ac_cv_objext" >&6; }
4307 OBJEXT=$ac_cv_objext
4308 ac_objext=$OBJEXT
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4310 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4311 if ${ac_cv_c_compiler_gnu+:} false; then :
4312   $as_echo_n "(cached) " >&6
4313 else
4314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h.  */
4316
4317 int
4318 main ()
4319 {
4320 #ifndef __GNUC__
4321        choke me
4322 #endif
4323
4324   ;
4325   return 0;
4326 }
4327 _ACEOF
4328 if ac_fn_c_try_compile "$LINENO"; then :
4329   ac_compiler_gnu=yes
4330 else
4331   ac_compiler_gnu=no
4332 fi
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4335
4336 fi
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4338 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4339 if test $ac_compiler_gnu = yes; then
4340   GCC=yes
4341 else
4342   GCC=
4343 fi
4344 ac_test_CFLAGS=${CFLAGS+set}
4345 ac_save_CFLAGS=$CFLAGS
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4347 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4348 if ${ac_cv_prog_cc_g+:} false; then :
4349   $as_echo_n "(cached) " >&6
4350 else
4351   ac_save_c_werror_flag=$ac_c_werror_flag
4352    ac_c_werror_flag=yes
4353    ac_cv_prog_cc_g=no
4354    CFLAGS="-g"
4355    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h.  */
4357
4358 int
4359 main ()
4360 {
4361
4362   ;
4363   return 0;
4364 }
4365 _ACEOF
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367   ac_cv_prog_cc_g=yes
4368 else
4369   CFLAGS=""
4370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h.  */
4372
4373 int
4374 main ()
4375 {
4376
4377   ;
4378   return 0;
4379 }
4380 _ACEOF
4381 if ac_fn_c_try_compile "$LINENO"; then :
4382
4383 else
4384   ac_c_werror_flag=$ac_save_c_werror_flag
4385          CFLAGS="-g"
4386          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h.  */
4388
4389 int
4390 main ()
4391 {
4392
4393   ;
4394   return 0;
4395 }
4396 _ACEOF
4397 if ac_fn_c_try_compile "$LINENO"; then :
4398   ac_cv_prog_cc_g=yes
4399 fi
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 fi
4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403 fi
4404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405    ac_c_werror_flag=$ac_save_c_werror_flag
4406 fi
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4408 $as_echo "$ac_cv_prog_cc_g" >&6; }
4409 if test "$ac_test_CFLAGS" = set; then
4410   CFLAGS=$ac_save_CFLAGS
4411 elif test $ac_cv_prog_cc_g = yes; then
4412   if test "$GCC" = yes; then
4413     CFLAGS="-g -O2"
4414   else
4415     CFLAGS="-g"
4416   fi
4417 else
4418   if test "$GCC" = yes; then
4419     CFLAGS="-O2"
4420   else
4421     CFLAGS=
4422   fi
4423 fi
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4425 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4426 if ${ac_cv_prog_cc_c89+:} false; then :
4427   $as_echo_n "(cached) " >&6
4428 else
4429   ac_cv_prog_cc_c89=no
4430 ac_save_CC=$CC
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h.  */
4433 #include <stdarg.h>
4434 #include <stdio.h>
4435 #include <sys/types.h>
4436 #include <sys/stat.h>
4437 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4438 struct buf { int x; };
4439 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4440 static char *e (p, i)
4441      char **p;
4442      int i;
4443 {
4444   return p[i];
4445 }
4446 static char *f (char * (*g) (char **, int), char **p, ...)
4447 {
4448   char *s;
4449   va_list v;
4450   va_start (v,p);
4451   s = g (p, va_arg (v,int));
4452   va_end (v);
4453   return s;
4454 }
4455
4456 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4457    function prototypes and stuff, but not '\xHH' hex character constants.
4458    These don't provoke an error unfortunately, instead are silently treated
4459    as 'x'.  The following induces an error, until -std is added to get
4460    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4461    array size at least.  It's necessary to write '\x00'==0 to get something
4462    that's true only with -std.  */
4463 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4464
4465 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4466    inside strings and character constants.  */
4467 #define FOO(x) 'x'
4468 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4469
4470 int test (int i, double x);
4471 struct s1 {int (*f) (int a);};
4472 struct s2 {int (*f) (double a);};
4473 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4474 int argc;
4475 char **argv;
4476 int
4477 main ()
4478 {
4479 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4480   ;
4481   return 0;
4482 }
4483 _ACEOF
4484 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4485         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4486 do
4487   CC="$ac_save_CC $ac_arg"
4488   if ac_fn_c_try_compile "$LINENO"; then :
4489   ac_cv_prog_cc_c89=$ac_arg
4490 fi
4491 rm -f core conftest.err conftest.$ac_objext
4492   test "x$ac_cv_prog_cc_c89" != "xno" && break
4493 done
4494 rm -f conftest.$ac_ext
4495 CC=$ac_save_CC
4496
4497 fi
4498 # AC_CACHE_VAL
4499 case "x$ac_cv_prog_cc_c89" in
4500   x)
4501     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4502 $as_echo "none needed" >&6; } ;;
4503   xno)
4504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4505 $as_echo "unsupported" >&6; } ;;
4506   *)
4507     CC="$CC $ac_cv_prog_cc_c89"
4508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4509 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4510 esac
4511 if test "x$ac_cv_prog_cc_c89" != xno; then :
4512
4513 fi
4514
4515 ac_ext=c
4516 ac_cpp='$CPP $CPPFLAGS'
4517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4520
4521 depcc="$CC"   am_compiler_list=
4522
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4524 $as_echo_n "checking dependency style of $depcc... " >&6; }
4525 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4526   $as_echo_n "(cached) " >&6
4527 else
4528   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4529   # We make a subdir and do the tests there.  Otherwise we can end up
4530   # making bogus files that we don't know about and never remove.  For
4531   # instance it was reported that on HP-UX the gcc test will end up
4532   # making a dummy file named `D' -- because `-MD' means `put the output
4533   # in D'.
4534   rm -rf conftest.dir
4535   mkdir conftest.dir
4536   # Copy depcomp to subdir because otherwise we won't find it if we're
4537   # using a relative directory.
4538   cp "$am_depcomp" conftest.dir
4539   cd conftest.dir
4540   # We will build objects and dependencies in a subdirectory because
4541   # it helps to detect inapplicable dependency modes.  For instance
4542   # both Tru64's cc and ICC support -MD to output dependencies as a
4543   # side effect of compilation, but ICC will put the dependencies in
4544   # the current directory while Tru64 will put them in the object
4545   # directory.
4546   mkdir sub
4547
4548   am_cv_CC_dependencies_compiler_type=none
4549   if test "$am_compiler_list" = ""; then
4550      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4551   fi
4552   am__universal=false
4553   case " $depcc " in #(
4554      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4555      esac
4556
4557   for depmode in $am_compiler_list; do
4558     # Setup a source with many dependencies, because some compilers
4559     # like to wrap large dependency lists on column 80 (with \), and
4560     # we should not choose a depcomp mode which is confused by this.
4561     #
4562     # We need to recreate these files for each test, as the compiler may
4563     # overwrite some of them when testing with obscure command lines.
4564     # This happens at least with the AIX C compiler.
4565     : > sub/conftest.c
4566     for i in 1 2 3 4 5 6; do
4567       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4568       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4569       # Solaris 8's {/usr,}/bin/sh.
4570       touch sub/conftst$i.h
4571     done
4572     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4573
4574     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4575     # mode.  It turns out that the SunPro C++ compiler does not properly
4576     # handle `-M -o', and we need to detect this.  Also, some Intel
4577     # versions had trouble with output in subdirs
4578     am__obj=sub/conftest.${OBJEXT-o}
4579     am__minus_obj="-o $am__obj"
4580     case $depmode in
4581     gcc)
4582       # This depmode causes a compiler race in universal mode.
4583       test "$am__universal" = false || continue
4584       ;;
4585     nosideeffect)
4586       # after this tag, mechanisms are not by side-effect, so they'll
4587       # only be used when explicitly requested
4588       if test "x$enable_dependency_tracking" = xyes; then
4589         continue
4590       else
4591         break
4592       fi
4593       ;;
4594     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4595       # This compiler won't grok `-c -o', but also, the minuso test has
4596       # not run yet.  These depmodes are late enough in the game, and
4597       # so weak that their functioning should not be impacted.
4598       am__obj=conftest.${OBJEXT-o}
4599       am__minus_obj=
4600       ;;
4601     none) break ;;
4602     esac
4603     if depmode=$depmode \
4604        source=sub/conftest.c object=$am__obj \
4605        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4606        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4607          >/dev/null 2>conftest.err &&
4608        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4609        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4610        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4611        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4612       # icc doesn't choke on unknown options, it will just issue warnings
4613       # or remarks (even with -Werror).  So we grep stderr for any message
4614       # that says an option was ignored or not supported.
4615       # When given -MP, icc 7.0 and 7.1 complain thusly:
4616       #   icc: Command line warning: ignoring option '-M'; no argument required
4617       # The diagnosis changed in icc 8.0:
4618       #   icc: Command line remark: option '-MP' not supported
4619       if (grep 'ignoring option' conftest.err ||
4620           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4621         am_cv_CC_dependencies_compiler_type=$depmode
4622         break
4623       fi
4624     fi
4625   done
4626
4627   cd ..
4628   rm -rf conftest.dir
4629 else
4630   am_cv_CC_dependencies_compiler_type=none
4631 fi
4632
4633 fi
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4635 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4636 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4637
4638  if
4639   test "x$enable_dependency_tracking" != xno \
4640   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4641   am__fastdepCC_TRUE=
4642   am__fastdepCC_FALSE='#'
4643 else
4644   am__fastdepCC_TRUE='#'
4645   am__fastdepCC_FALSE=
4646 fi
4647
4648
4649
4650 ac_ext=cpp
4651 ac_cpp='$CXXCPP $CPPFLAGS'
4652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4655 if test -z "$CXX"; then
4656   if test -n "$CCC"; then
4657     CXX=$CCC
4658   else
4659     if test -n "$ac_tool_prefix"; then
4660   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4661   do
4662     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_CXX+:} false; then :
4667   $as_echo_n "(cached) " >&6
4668 else
4669   if test -n "$CXX"; then
4670   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4671 else
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 for as_dir in $PATH
4674 do
4675   IFS=$as_save_IFS
4676   test -z "$as_dir" && as_dir=.
4677     for ac_exec_ext in '' $ac_executable_extensions; do
4678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4679     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681     break 2
4682   fi
4683 done
4684   done
4685 IFS=$as_save_IFS
4686
4687 fi
4688 fi
4689 CXX=$ac_cv_prog_CXX
4690 if test -n "$CXX"; then
4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4692 $as_echo "$CXX" >&6; }
4693 else
4694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4696 fi
4697
4698
4699     test -n "$CXX" && break
4700   done
4701 fi
4702 if test -z "$CXX"; then
4703   ac_ct_CXX=$CXX
4704   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4705 do
4706   # Extract the first word of "$ac_prog", so it can be a program name with args.
4707 set dummy $ac_prog; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4711   $as_echo_n "(cached) " >&6
4712 else
4713   if test -n "$ac_ct_CXX"; then
4714   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4715 else
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4718 do
4719   IFS=$as_save_IFS
4720   test -z "$as_dir" && as_dir=.
4721     for ac_exec_ext in '' $ac_executable_extensions; do
4722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723     ac_cv_prog_ac_ct_CXX="$ac_prog"
4724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725     break 2
4726   fi
4727 done
4728   done
4729 IFS=$as_save_IFS
4730
4731 fi
4732 fi
4733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4734 if test -n "$ac_ct_CXX"; then
4735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4736 $as_echo "$ac_ct_CXX" >&6; }
4737 else
4738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 fi
4741
4742
4743   test -n "$ac_ct_CXX" && break
4744 done
4745
4746   if test "x$ac_ct_CXX" = x; then
4747     CXX="g++"
4748   else
4749     case $cross_compiling:$ac_tool_warned in
4750 yes:)
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned=yes ;;
4754 esac
4755     CXX=$ac_ct_CXX
4756   fi
4757 fi
4758
4759   fi
4760 fi
4761 # Provide some information about the compiler.
4762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4763 set X $ac_compile
4764 ac_compiler=$2
4765 for ac_option in --version -v -V -qversion; do
4766   { { ac_try="$ac_compiler $ac_option >&5"
4767 case "(($ac_try" in
4768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769   *) ac_try_echo=$ac_try;;
4770 esac
4771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4772 $as_echo "$ac_try_echo"; } >&5
4773   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4774   ac_status=$?
4775   if test -s conftest.err; then
4776     sed '10a\
4777 ... rest of stderr output deleted ...
4778          10q' conftest.err >conftest.er1
4779     cat conftest.er1 >&5
4780   fi
4781   rm -f conftest.er1 conftest.err
4782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783   test $ac_status = 0; }
4784 done
4785
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4787 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4788 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4789   $as_echo_n "(cached) " >&6
4790 else
4791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h.  */
4793
4794 int
4795 main ()
4796 {
4797 #ifndef __GNUC__
4798        choke me
4799 #endif
4800
4801   ;
4802   return 0;
4803 }
4804 _ACEOF
4805 if ac_fn_cxx_try_compile "$LINENO"; then :
4806   ac_compiler_gnu=yes
4807 else
4808   ac_compiler_gnu=no
4809 fi
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4812
4813 fi
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4815 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4816 if test $ac_compiler_gnu = yes; then
4817   GXX=yes
4818 else
4819   GXX=
4820 fi
4821 ac_test_CXXFLAGS=${CXXFLAGS+set}
4822 ac_save_CXXFLAGS=$CXXFLAGS
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4824 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4825 if ${ac_cv_prog_cxx_g+:} false; then :
4826   $as_echo_n "(cached) " >&6
4827 else
4828   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4829    ac_cxx_werror_flag=yes
4830    ac_cv_prog_cxx_g=no
4831    CXXFLAGS="-g"
4832    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h.  */
4834
4835 int
4836 main ()
4837 {
4838
4839   ;
4840   return 0;
4841 }
4842 _ACEOF
4843 if ac_fn_cxx_try_compile "$LINENO"; then :
4844   ac_cv_prog_cxx_g=yes
4845 else
4846   CXXFLAGS=""
4847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h.  */
4849
4850 int
4851 main ()
4852 {
4853
4854   ;
4855   return 0;
4856 }
4857 _ACEOF
4858 if ac_fn_cxx_try_compile "$LINENO"; then :
4859
4860 else
4861   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4862          CXXFLAGS="-g"
4863          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h.  */
4865
4866 int
4867 main ()
4868 {
4869
4870   ;
4871   return 0;
4872 }
4873 _ACEOF
4874 if ac_fn_cxx_try_compile "$LINENO"; then :
4875   ac_cv_prog_cxx_g=yes
4876 fi
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 fi
4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880 fi
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4883 fi
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4885 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4886 if test "$ac_test_CXXFLAGS" = set; then
4887   CXXFLAGS=$ac_save_CXXFLAGS
4888 elif test $ac_cv_prog_cxx_g = yes; then
4889   if test "$GXX" = yes; then
4890     CXXFLAGS="-g -O2"
4891   else
4892     CXXFLAGS="-g"
4893   fi
4894 else
4895   if test "$GXX" = yes; then
4896     CXXFLAGS="-O2"
4897   else
4898     CXXFLAGS=
4899   fi
4900 fi
4901 ac_ext=c
4902 ac_cpp='$CPP $CPPFLAGS'
4903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4906
4907 depcc="$CXX"  am_compiler_list=
4908
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4910 $as_echo_n "checking dependency style of $depcc... " >&6; }
4911 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4912   $as_echo_n "(cached) " >&6
4913 else
4914   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4915   # We make a subdir and do the tests there.  Otherwise we can end up
4916   # making bogus files that we don't know about and never remove.  For
4917   # instance it was reported that on HP-UX the gcc test will end up
4918   # making a dummy file named `D' -- because `-MD' means `put the output
4919   # in D'.
4920   rm -rf conftest.dir
4921   mkdir conftest.dir
4922   # Copy depcomp to subdir because otherwise we won't find it if we're
4923   # using a relative directory.
4924   cp "$am_depcomp" conftest.dir
4925   cd conftest.dir
4926   # We will build objects and dependencies in a subdirectory because
4927   # it helps to detect inapplicable dependency modes.  For instance
4928   # both Tru64's cc and ICC support -MD to output dependencies as a
4929   # side effect of compilation, but ICC will put the dependencies in
4930   # the current directory while Tru64 will put them in the object
4931   # directory.
4932   mkdir sub
4933
4934   am_cv_CXX_dependencies_compiler_type=none
4935   if test "$am_compiler_list" = ""; then
4936      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4937   fi
4938   am__universal=false
4939   case " $depcc " in #(
4940      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4941      esac
4942
4943   for depmode in $am_compiler_list; do
4944     # Setup a source with many dependencies, because some compilers
4945     # like to wrap large dependency lists on column 80 (with \), and
4946     # we should not choose a depcomp mode which is confused by this.
4947     #
4948     # We need to recreate these files for each test, as the compiler may
4949     # overwrite some of them when testing with obscure command lines.
4950     # This happens at least with the AIX C compiler.
4951     : > sub/conftest.c
4952     for i in 1 2 3 4 5 6; do
4953       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4954       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4955       # Solaris 8's {/usr,}/bin/sh.
4956       touch sub/conftst$i.h
4957     done
4958     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4959
4960     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4961     # mode.  It turns out that the SunPro C++ compiler does not properly
4962     # handle `-M -o', and we need to detect this.  Also, some Intel
4963     # versions had trouble with output in subdirs
4964     am__obj=sub/conftest.${OBJEXT-o}
4965     am__minus_obj="-o $am__obj"
4966     case $depmode in
4967     gcc)
4968       # This depmode causes a compiler race in universal mode.
4969       test "$am__universal" = false || continue
4970       ;;
4971     nosideeffect)
4972       # after this tag, mechanisms are not by side-effect, so they'll
4973       # only be used when explicitly requested
4974       if test "x$enable_dependency_tracking" = xyes; then
4975         continue
4976       else
4977         break
4978       fi
4979       ;;
4980     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4981       # This compiler won't grok `-c -o', but also, the minuso test has
4982       # not run yet.  These depmodes are late enough in the game, and
4983       # so weak that their functioning should not be impacted.
4984       am__obj=conftest.${OBJEXT-o}
4985       am__minus_obj=
4986       ;;
4987     none) break ;;
4988     esac
4989     if depmode=$depmode \
4990        source=sub/conftest.c object=$am__obj \
4991        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4992        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4993          >/dev/null 2>conftest.err &&
4994        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4995        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4996        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4997        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4998       # icc doesn't choke on unknown options, it will just issue warnings
4999       # or remarks (even with -Werror).  So we grep stderr for any message
5000       # that says an option was ignored or not supported.
5001       # When given -MP, icc 7.0 and 7.1 complain thusly:
5002       #   icc: Command line warning: ignoring option '-M'; no argument required
5003       # The diagnosis changed in icc 8.0:
5004       #   icc: Command line remark: option '-MP' not supported
5005       if (grep 'ignoring option' conftest.err ||
5006           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5007         am_cv_CXX_dependencies_compiler_type=$depmode
5008         break
5009       fi
5010     fi
5011   done
5012
5013   cd ..
5014   rm -rf conftest.dir
5015 else
5016   am_cv_CXX_dependencies_compiler_type=none
5017 fi
5018
5019 fi
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5021 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5022 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5023
5024  if
5025   test "x$enable_dependency_tracking" != xno \
5026   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5027   am__fastdepCXX_TRUE=
5028   am__fastdepCXX_FALSE='#'
5029 else
5030   am__fastdepCXX_TRUE='#'
5031   am__fastdepCXX_FALSE=
5032 fi
5033
5034
5035 if test "x$CC" != xcc; then
5036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5037 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5038 else
5039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5040 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5041 fi
5042 set dummy $CC; ac_cc=`$as_echo "$2" |
5043                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5044 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5045   $as_echo_n "(cached) " >&6
5046 else
5047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h.  */
5049
5050 int
5051 main ()
5052 {
5053
5054   ;
5055   return 0;
5056 }
5057 _ACEOF
5058 # Make sure it works both with $CC and with simple cc.
5059 # We do the test twice because some compilers refuse to overwrite an
5060 # existing .o file with -o, though they will create one.
5061 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5062 rm -f conftest2.*
5063 if { { case "(($ac_try" in
5064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5065   *) ac_try_echo=$ac_try;;
5066 esac
5067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5068 $as_echo "$ac_try_echo"; } >&5
5069   (eval "$ac_try") 2>&5
5070   ac_status=$?
5071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5072   test $ac_status = 0; } &&
5073    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5075   *) ac_try_echo=$ac_try;;
5076 esac
5077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5078 $as_echo "$ac_try_echo"; } >&5
5079   (eval "$ac_try") 2>&5
5080   ac_status=$?
5081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5082   test $ac_status = 0; };
5083 then
5084   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5085   if test "x$CC" != xcc; then
5086     # Test first that cc exists at all.
5087     if { ac_try='cc -c conftest.$ac_ext >&5'
5088   { { case "(($ac_try" in
5089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090   *) ac_try_echo=$ac_try;;
5091 esac
5092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5093 $as_echo "$ac_try_echo"; } >&5
5094   (eval "$ac_try") 2>&5
5095   ac_status=$?
5096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5097   test $ac_status = 0; }; }; then
5098       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5099       rm -f conftest2.*
5100       if { { case "(($ac_try" in
5101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102   *) ac_try_echo=$ac_try;;
5103 esac
5104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5105 $as_echo "$ac_try_echo"; } >&5
5106   (eval "$ac_try") 2>&5
5107   ac_status=$?
5108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5109   test $ac_status = 0; } &&
5110          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112   *) ac_try_echo=$ac_try;;
5113 esac
5114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5115 $as_echo "$ac_try_echo"; } >&5
5116   (eval "$ac_try") 2>&5
5117   ac_status=$?
5118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5119   test $ac_status = 0; };
5120       then
5121         # cc works too.
5122         :
5123       else
5124         # cc exists but doesn't like -o.
5125         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5126       fi
5127     fi
5128   fi
5129 else
5130   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5131 fi
5132 rm -f core conftest*
5133
5134 fi
5135 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5137 $as_echo "yes" >&6; }
5138 else
5139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141
5142 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5143
5144 fi
5145
5146
5147 ac_ext=c
5148 ac_cpp='$CPP $CPPFLAGS'
5149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5153 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5154 # On Suns, sometimes $CPP names a directory.
5155 if test -n "$CPP" && test -d "$CPP"; then
5156   CPP=
5157 fi
5158 if test -z "$CPP"; then
5159   if ${ac_cv_prog_CPP+:} false; then :
5160   $as_echo_n "(cached) " >&6
5161 else
5162       # Double quotes because CPP needs to be expanded
5163     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5164     do
5165       ac_preproc_ok=false
5166 for ac_c_preproc_warn_flag in '' yes
5167 do
5168   # Use a header file that comes with gcc, so configuring glibc
5169   # with a fresh cross-compiler works.
5170   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171   # <limits.h> exists even on freestanding compilers.
5172   # On the NeXT, cc -E runs the code through the compiler's parser,
5173   # not just through cpp. "Syntax error" is here to catch this case.
5174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h.  */
5176 #ifdef __STDC__
5177 # include <limits.h>
5178 #else
5179 # include <assert.h>
5180 #endif
5181                      Syntax error
5182 _ACEOF
5183 if ac_fn_c_try_cpp "$LINENO"; then :
5184
5185 else
5186   # Broken: fails on valid input.
5187 continue
5188 fi
5189 rm -f conftest.err conftest.i conftest.$ac_ext
5190
5191   # OK, works on sane cases.  Now check whether nonexistent headers
5192   # can be detected and how.
5193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5194 /* end confdefs.h.  */
5195 #include <ac_nonexistent.h>
5196 _ACEOF
5197 if ac_fn_c_try_cpp "$LINENO"; then :
5198   # Broken: success on invalid input.
5199 continue
5200 else
5201   # Passes both tests.
5202 ac_preproc_ok=:
5203 break
5204 fi
5205 rm -f conftest.err conftest.i conftest.$ac_ext
5206
5207 done
5208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5209 rm -f conftest.i conftest.err conftest.$ac_ext
5210 if $ac_preproc_ok; then :
5211   break
5212 fi
5213
5214     done
5215     ac_cv_prog_CPP=$CPP
5216
5217 fi
5218   CPP=$ac_cv_prog_CPP
5219 else
5220   ac_cv_prog_CPP=$CPP
5221 fi
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5223 $as_echo "$CPP" >&6; }
5224 ac_preproc_ok=false
5225 for ac_c_preproc_warn_flag in '' yes
5226 do
5227   # Use a header file that comes with gcc, so configuring glibc
5228   # with a fresh cross-compiler works.
5229   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5230   # <limits.h> exists even on freestanding compilers.
5231   # On the NeXT, cc -E runs the code through the compiler's parser,
5232   # not just through cpp. "Syntax error" is here to catch this case.
5233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234 /* end confdefs.h.  */
5235 #ifdef __STDC__
5236 # include <limits.h>
5237 #else
5238 # include <assert.h>
5239 #endif
5240                      Syntax error
5241 _ACEOF
5242 if ac_fn_c_try_cpp "$LINENO"; then :
5243
5244 else
5245   # Broken: fails on valid input.
5246 continue
5247 fi
5248 rm -f conftest.err conftest.i conftest.$ac_ext
5249
5250   # OK, works on sane cases.  Now check whether nonexistent headers
5251   # can be detected and how.
5252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h.  */
5254 #include <ac_nonexistent.h>
5255 _ACEOF
5256 if ac_fn_c_try_cpp "$LINENO"; then :
5257   # Broken: success on invalid input.
5258 continue
5259 else
5260   # Passes both tests.
5261 ac_preproc_ok=:
5262 break
5263 fi
5264 rm -f conftest.err conftest.i conftest.$ac_ext
5265
5266 done
5267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5268 rm -f conftest.i conftest.err conftest.$ac_ext
5269 if $ac_preproc_ok; then :
5270
5271 else
5272   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5274 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5275 See \`config.log' for more details" "$LINENO" 5; }
5276 fi
5277
5278 ac_ext=c
5279 ac_cpp='$CPP $CPPFLAGS'
5280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5283
5284
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5287 if ${ac_cv_path_GREP+:} false; then :
5288   $as_echo_n "(cached) " >&6
5289 else
5290   if test -z "$GREP"; then
5291   ac_path_GREP_found=false
5292   # Loop through the user's path and test for each of PROGNAME-LIST
5293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5295 do
5296   IFS=$as_save_IFS
5297   test -z "$as_dir" && as_dir=.
5298     for ac_prog in grep ggrep; do
5299     for ac_exec_ext in '' $ac_executable_extensions; do
5300       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5301       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5302 # Check for GNU ac_path_GREP and select it if it is found.
5303   # Check for GNU $ac_path_GREP
5304 case `"$ac_path_GREP" --version 2>&1` in
5305 *GNU*)
5306   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5307 *)
5308   ac_count=0
5309   $as_echo_n 0123456789 >"conftest.in"
5310   while :
5311   do
5312     cat "conftest.in" "conftest.in" >"conftest.tmp"
5313     mv "conftest.tmp" "conftest.in"
5314     cp "conftest.in" "conftest.nl"
5315     $as_echo 'GREP' >> "conftest.nl"
5316     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5317     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5318     as_fn_arith $ac_count + 1 && ac_count=$as_val
5319     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5320       # Best one so far, save it but keep looking for a better one
5321       ac_cv_path_GREP="$ac_path_GREP"
5322       ac_path_GREP_max=$ac_count
5323     fi
5324     # 10*(2^10) chars as input seems more than enough
5325     test $ac_count -gt 10 && break
5326   done
5327   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5328 esac
5329
5330       $ac_path_GREP_found && break 3
5331     done
5332   done
5333   done
5334 IFS=$as_save_IFS
5335   if test -z "$ac_cv_path_GREP"; then
5336     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5337   fi
5338 else
5339   ac_cv_path_GREP=$GREP
5340 fi
5341
5342 fi
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5344 $as_echo "$ac_cv_path_GREP" >&6; }
5345  GREP="$ac_cv_path_GREP"
5346
5347
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5349 $as_echo_n "checking for egrep... " >&6; }
5350 if ${ac_cv_path_EGREP+:} false; then :
5351   $as_echo_n "(cached) " >&6
5352 else
5353   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5354    then ac_cv_path_EGREP="$GREP -E"
5355    else
5356      if test -z "$EGREP"; then
5357   ac_path_EGREP_found=false
5358   # Loop through the user's path and test for each of PROGNAME-LIST
5359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5361 do
5362   IFS=$as_save_IFS
5363   test -z "$as_dir" && as_dir=.
5364     for ac_prog in egrep; do
5365     for ac_exec_ext in '' $ac_executable_extensions; do
5366       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5367       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5368 # Check for GNU ac_path_EGREP and select it if it is found.
5369   # Check for GNU $ac_path_EGREP
5370 case `"$ac_path_EGREP" --version 2>&1` in
5371 *GNU*)
5372   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5373 *)
5374   ac_count=0
5375   $as_echo_n 0123456789 >"conftest.in"
5376   while :
5377   do
5378     cat "conftest.in" "conftest.in" >"conftest.tmp"
5379     mv "conftest.tmp" "conftest.in"
5380     cp "conftest.in" "conftest.nl"
5381     $as_echo 'EGREP' >> "conftest.nl"
5382     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5383     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5384     as_fn_arith $ac_count + 1 && ac_count=$as_val
5385     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5386       # Best one so far, save it but keep looking for a better one
5387       ac_cv_path_EGREP="$ac_path_EGREP"
5388       ac_path_EGREP_max=$ac_count
5389     fi
5390     # 10*(2^10) chars as input seems more than enough
5391     test $ac_count -gt 10 && break
5392   done
5393   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5394 esac
5395
5396       $ac_path_EGREP_found && break 3
5397     done
5398   done
5399   done
5400 IFS=$as_save_IFS
5401   if test -z "$ac_cv_path_EGREP"; then
5402     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5403   fi
5404 else
5405   ac_cv_path_EGREP=$EGREP
5406 fi
5407
5408    fi
5409 fi
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5411 $as_echo "$ac_cv_path_EGREP" >&6; }
5412  EGREP="$ac_cv_path_EGREP"
5413
5414
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5416 $as_echo_n "checking for ANSI C header files... " >&6; }
5417 if ${ac_cv_header_stdc+:} false; then :
5418   $as_echo_n "(cached) " >&6
5419 else
5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h.  */
5422 #include <stdlib.h>
5423 #include <stdarg.h>
5424 #include <string.h>
5425 #include <float.h>
5426
5427 int
5428 main ()
5429 {
5430
5431   ;
5432   return 0;
5433 }
5434 _ACEOF
5435 if ac_fn_c_try_compile "$LINENO"; then :
5436   ac_cv_header_stdc=yes
5437 else
5438   ac_cv_header_stdc=no
5439 fi
5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441
5442 if test $ac_cv_header_stdc = yes; then
5443   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h.  */
5446 #include <string.h>
5447
5448 _ACEOF
5449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5450   $EGREP "memchr" >/dev/null 2>&1; then :
5451
5452 else
5453   ac_cv_header_stdc=no
5454 fi
5455 rm -f conftest*
5456
5457 fi
5458
5459 if test $ac_cv_header_stdc = yes; then
5460   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5462 /* end confdefs.h.  */
5463 #include <stdlib.h>
5464
5465 _ACEOF
5466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5467   $EGREP "free" >/dev/null 2>&1; then :
5468
5469 else
5470   ac_cv_header_stdc=no
5471 fi
5472 rm -f conftest*
5473
5474 fi
5475
5476 if test $ac_cv_header_stdc = yes; then
5477   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5478   if test "$cross_compiling" = yes; then :
5479   :
5480 else
5481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h.  */
5483 #include <ctype.h>
5484 #include <stdlib.h>
5485 #if ((' ' & 0x0FF) == 0x020)
5486 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5487 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5488 #else
5489 # define ISLOWER(c) \
5490                    (('a' <= (c) && (c) <= 'i') \
5491                      || ('j' <= (c) && (c) <= 'r') \
5492                      || ('s' <= (c) && (c) <= 'z'))
5493 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5494 #endif
5495
5496 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5497 int
5498 main ()
5499 {
5500   int i;
5501   for (i = 0; i < 256; i++)
5502     if (XOR (islower (i), ISLOWER (i))
5503         || toupper (i) != TOUPPER (i))
5504       return 2;
5505   return 0;
5506 }
5507 _ACEOF
5508 if ac_fn_c_try_run "$LINENO"; then :
5509
5510 else
5511   ac_cv_header_stdc=no
5512 fi
5513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5514   conftest.$ac_objext conftest.beam conftest.$ac_ext
5515 fi
5516
5517 fi
5518 fi
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5520 $as_echo "$ac_cv_header_stdc" >&6; }
5521 if test $ac_cv_header_stdc = yes; then
5522
5523 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5524
5525 fi
5526
5527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5528 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5529                   inttypes.h stdint.h unistd.h
5530 do :
5531   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5532 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5533 "
5534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5535   cat >>confdefs.h <<_ACEOF
5536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5537 _ACEOF
5538
5539 fi
5540
5541 done
5542
5543
5544 # Make sure CXXFLAGS and CFLAGS are set before expanding AC_PROG_CXX to avoid
5545 # building with '-g -O2' on Release builds.
5546
5547
5548 # check for -fvisibility=hidden compiler support (GCC >= 4)
5549 saved_CFLAGS="$CFLAGS"
5550 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden" >&5
5552 $as_echo_n "checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden... " >&6; }
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h.  */
5555 char foo;
5556 _ACEOF
5557 if ac_fn_c_try_compile "$LINENO"; then :
5558    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5559 $as_echo "yes" >&6; }
5560         SYMBOL_VISIBILITY="-fvisibility=hidden" SYMBOL_VISIBILITY_INLINES="-fvisibility-inlines-hidden"
5561 else
5562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5564 fi
5565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5566 CFLAGS="$saved_CFLAGS"
5567
5568
5569
5570 # check for pkg-config
5571 # Extract the first word of "pkg-config", so it can be a program name with args.
5572 set dummy pkg-config; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5576   $as_echo_n "(cached) " >&6
5577 else
5578   case $PKG_CONFIG in
5579   [\\/]* | ?:[\\/]*)
5580   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5581   ;;
5582   *)
5583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 for as_dir in $PATH
5585 do
5586   IFS=$as_save_IFS
5587   test -z "$as_dir" && as_dir=.
5588     for ac_exec_ext in '' $ac_executable_extensions; do
5589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5590     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
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   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5599   ;;
5600 esac
5601 fi
5602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5603 if test -n "$PKG_CONFIG"; then
5604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5605 $as_echo "$PKG_CONFIG" >&6; }
5606 else
5607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5609 fi
5610
5611
5612 if test "$PKG_CONFIG" = "no"; then
5613    as_fn_error $? "Cannot find pkg-config, make sure it is installed in your PATH" "$LINENO" 5
5614 fi
5615
5616 # Extract the first word of "perl", so it can be a program name with args.
5617 set dummy perl; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_path_PERL+:} false; then :
5621   $as_echo_n "(cached) " >&6
5622 else
5623   case $PERL in
5624   [\\/]* | ?:[\\/]*)
5625   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5626   ;;
5627   *)
5628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH
5630 do
5631   IFS=$as_save_IFS
5632   test -z "$as_dir" && as_dir=.
5633     for ac_exec_ext in '' $ac_executable_extensions; do
5634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637     break 2
5638   fi
5639 done
5640   done
5641 IFS=$as_save_IFS
5642
5643   ;;
5644 esac
5645 fi
5646 PERL=$ac_cv_path_PERL
5647 if test -n "$PERL"; then
5648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5649 $as_echo "$PERL" >&6; }
5650 else
5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5653 fi
5654
5655
5656 if test -z "$PERL"; then
5657    as_fn_error $? "You need 'perl' to compile WebKit" "$LINENO" 5
5658 fi
5659
5660 # Extract the first word of "python", so it can be a program name with args.
5661 set dummy python; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_path_PYTHON+:} false; then :
5665   $as_echo_n "(cached) " >&6
5666 else
5667   case $PYTHON in
5668   [\\/]* | ?:[\\/]*)
5669   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
5670   ;;
5671   *)
5672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5674 do
5675   IFS=$as_save_IFS
5676   test -z "$as_dir" && as_dir=.
5677     for ac_exec_ext in '' $ac_executable_extensions; do
5678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
5680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681     break 2
5682   fi
5683 done
5684   done
5685 IFS=$as_save_IFS
5686
5687   ;;
5688 esac
5689 fi
5690 PYTHON=$ac_cv_path_PYTHON
5691 if test -n "$PYTHON"; then
5692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5693 $as_echo "$PYTHON" >&6; }
5694 else
5695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5697 fi
5698
5699
5700 if test -z "$PYTHON"; then
5701    as_fn_error $? "You need 'python' to compile WebKit" "$LINENO" 5
5702 fi
5703
5704 # Extract the first word of "bison", so it can be a program name with args.
5705 set dummy bison; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_path_BISON+:} false; then :
5709   $as_echo_n "(cached) " >&6
5710 else
5711   case $BISON in
5712   [\\/]* | ?:[\\/]*)
5713   ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5714   ;;
5715   *)
5716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH
5718 do
5719   IFS=$as_save_IFS
5720   test -z "$as_dir" && as_dir=.
5721     for ac_exec_ext in '' $ac_executable_extensions; do
5722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5723     ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725     break 2
5726   fi
5727 done
5728   done
5729 IFS=$as_save_IFS
5730
5731   ;;
5732 esac
5733 fi
5734 BISON=$ac_cv_path_BISON
5735 if test -n "$BISON"; then
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5737 $as_echo "$BISON" >&6; }
5738 else
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5741 fi
5742
5743
5744 if test -z "$BISON"; then
5745    as_fn_error $? "You need the 'bison' parser generator to compile WebKit" "$LINENO" 5
5746 fi
5747
5748 # Extract the first word of "mv", so it can be a program name with args.
5749 set dummy mv; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_path_MV+:} false; then :
5753   $as_echo_n "(cached) " >&6
5754 else
5755   case $MV in
5756   [\\/]* | ?:[\\/]*)
5757   ac_cv_path_MV="$MV" # Let the user override the test with a path.
5758   ;;
5759   *)
5760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5762 do
5763   IFS=$as_save_IFS
5764   test -z "$as_dir" && as_dir=.
5765     for ac_exec_ext in '' $ac_executable_extensions; do
5766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769     break 2
5770   fi
5771 done
5772   done
5773 IFS=$as_save_IFS
5774
5775   ;;
5776 esac
5777 fi
5778 MV=$ac_cv_path_MV
5779 if test -n "$MV"; then
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5781 $as_echo "$MV" >&6; }
5782 else
5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5785 fi
5786
5787
5788 if test -z "$MV"; then
5789    as_fn_error $? "You need 'mv' to compile WebKit" "$LINENO" 5
5790 fi
5791
5792
5793
5794 ac_ext=c
5795 ac_cpp='$CPP $CPPFLAGS'
5796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 if test -n "$ac_tool_prefix"; then
5800   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_CC+:} false; then :
5805   $as_echo_n "(cached) " >&6
5806 else
5807   if test -n "$CC"; then
5808   ac_cv_prog_CC="$CC" # Let the user override the test.
5809 else
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 for as_dir in $PATH
5812 do
5813   IFS=$as_save_IFS
5814   test -z "$as_dir" && as_dir=.
5815     for ac_exec_ext in '' $ac_executable_extensions; do
5816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5817     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819     break 2
5820   fi
5821 done
5822   done
5823 IFS=$as_save_IFS
5824
5825 fi
5826 fi
5827 CC=$ac_cv_prog_CC
5828 if test -n "$CC"; then
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5830 $as_echo "$CC" >&6; }
5831 else
5832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5834 fi
5835
5836
5837 fi
5838 if test -z "$ac_cv_prog_CC"; then
5839   ac_ct_CC=$CC
5840   # Extract the first word of "gcc", so it can be a program name with args.
5841 set dummy gcc; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5845   $as_echo_n "(cached) " >&6
5846 else
5847   if test -n "$ac_ct_CC"; then
5848   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5852 do
5853   IFS=$as_save_IFS
5854   test -z "$as_dir" && as_dir=.
5855     for ac_exec_ext in '' $ac_executable_extensions; do
5856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5857     ac_cv_prog_ac_ct_CC="gcc"
5858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859     break 2
5860   fi
5861 done
5862   done
5863 IFS=$as_save_IFS
5864
5865 fi
5866 fi
5867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5868 if test -n "$ac_ct_CC"; then
5869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5870 $as_echo "$ac_ct_CC" >&6; }
5871 else
5872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5874 fi
5875
5876   if test "x$ac_ct_CC" = x; then
5877     CC=""
5878   else
5879     case $cross_compiling:$ac_tool_warned in
5880 yes:)
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5883 ac_tool_warned=yes ;;
5884 esac
5885     CC=$ac_ct_CC
5886   fi
5887 else
5888   CC="$ac_cv_prog_CC"
5889 fi
5890
5891 if test -z "$CC"; then
5892           if test -n "$ac_tool_prefix"; then
5893     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5894 set dummy ${ac_tool_prefix}cc; ac_word=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if ${ac_cv_prog_CC+:} false; then :
5898   $as_echo_n "(cached) " >&6
5899 else
5900   if test -n "$CC"; then
5901   ac_cv_prog_CC="$CC" # Let the user override the test.
5902 else
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH
5905 do
5906   IFS=$as_save_IFS
5907   test -z "$as_dir" && as_dir=.
5908     for ac_exec_ext in '' $ac_executable_extensions; do
5909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910     ac_cv_prog_CC="${ac_tool_prefix}cc"
5911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912     break 2
5913   fi
5914 done
5915   done
5916 IFS=$as_save_IFS
5917
5918 fi
5919 fi
5920 CC=$ac_cv_prog_CC
5921 if test -n "$CC"; then
5922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5923 $as_echo "$CC" >&6; }
5924 else
5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5927 fi
5928
5929
5930   fi
5931 fi
5932 if test -z "$CC"; then
5933   # Extract the first word of "cc", so it can be a program name with args.
5934 set dummy cc; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_CC+:} false; then :
5938   $as_echo_n "(cached) " >&6
5939 else
5940   if test -n "$CC"; then
5941   ac_cv_prog_CC="$CC" # Let the user override the test.
5942 else
5943   ac_prog_rejected=no
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5946 do
5947   IFS=$as_save_IFS
5948   test -z "$as_dir" && as_dir=.
5949     for ac_exec_ext in '' $ac_executable_extensions; do
5950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5952        ac_prog_rejected=yes
5953        continue
5954      fi
5955     ac_cv_prog_CC="cc"
5956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957     break 2
5958   fi
5959 done
5960   done
5961 IFS=$as_save_IFS
5962
5963 if test $ac_prog_rejected = yes; then
5964   # We found a bogon in the path, so make sure we never use it.
5965   set dummy $ac_cv_prog_CC
5966   shift
5967   if test $# != 0; then
5968     # We chose a different compiler from the bogus one.
5969     # However, it has the same basename, so the bogon will be chosen
5970     # first if we set CC to just the basename; use the full file name.
5971     shift
5972     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5973   fi
5974 fi
5975 fi
5976 fi
5977 CC=$ac_cv_prog_CC
5978 if test -n "$CC"; then
5979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5980 $as_echo "$CC" >&6; }
5981 else
5982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5984 fi
5985
5986
5987 fi
5988 if test -z "$CC"; then
5989   if test -n "$ac_tool_prefix"; then
5990   for ac_prog in cl.exe
5991   do
5992     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_CC+:} false; then :
5997   $as_echo_n "(cached) " >&6
5998 else
5999   if test -n "$CC"; then
6000   ac_cv_prog_CC="$CC" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6004 do
6005   IFS=$as_save_IFS
6006   test -z "$as_dir" && as_dir=.
6007     for ac_exec_ext in '' $ac_executable_extensions; do
6008   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011     break 2
6012   fi
6013 done
6014   done
6015 IFS=$as_save_IFS
6016
6017 fi
6018 fi
6019 CC=$ac_cv_prog_CC
6020 if test -n "$CC"; then
6021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6022 $as_echo "$CC" >&6; }
6023 else
6024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6026 fi
6027
6028
6029     test -n "$CC" && break
6030   done
6031 fi
6032 if test -z "$CC"; then
6033   ac_ct_CC=$CC
6034   for ac_prog in cl.exe
6035 do
6036   # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy $ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6041   $as_echo_n "(cached) " >&6
6042 else
6043   if test -n "$ac_ct_CC"; then
6044   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6045 else
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 for as_dir in $PATH
6048 do
6049   IFS=$as_save_IFS
6050   test -z "$as_dir" && as_dir=.
6051     for ac_exec_ext in '' $ac_executable_extensions; do
6052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6053     ac_cv_prog_ac_ct_CC="$ac_prog"
6054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055     break 2
6056   fi
6057 done
6058   done
6059 IFS=$as_save_IFS
6060
6061 fi
6062 fi
6063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6064 if test -n "$ac_ct_CC"; then
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6066 $as_echo "$ac_ct_CC" >&6; }
6067 else
6068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6070 fi
6071
6072
6073   test -n "$ac_ct_CC" && break
6074 done
6075
6076   if test "x$ac_ct_CC" = x; then
6077     CC=""
6078   else
6079     case $cross_compiling:$ac_tool_warned in
6080 yes:)
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6083 ac_tool_warned=yes ;;
6084 esac
6085     CC=$ac_ct_CC
6086   fi
6087 fi
6088
6089 fi
6090
6091
6092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6094 as_fn_error $? "no acceptable C compiler found in \$PATH
6095 See \`config.log' for more details" "$LINENO" 5; }
6096
6097 # Provide some information about the compiler.
6098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6099 set X $ac_compile
6100 ac_compiler=$2
6101 for ac_option in --version -v -V -qversion; do
6102   { { ac_try="$ac_compiler $ac_option >&5"
6103 case "(($ac_try" in
6104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6105   *) ac_try_echo=$ac_try;;
6106 esac
6107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6108 $as_echo "$ac_try_echo"; } >&5
6109   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6110   ac_status=$?
6111   if test -s conftest.err; then
6112     sed '10a\
6113 ... rest of stderr output deleted ...
6114          10q' conftest.err >conftest.er1
6115     cat conftest.er1 >&5
6116   fi
6117   rm -f conftest.er1 conftest.err
6118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6119   test $ac_status = 0; }
6120 done
6121
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6124 if ${ac_cv_c_compiler_gnu+:} false; then :
6125   $as_echo_n "(cached) " >&6
6126 else
6127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h.  */
6129
6130 int
6131 main ()
6132 {
6133 #ifndef __GNUC__
6134        choke me
6135 #endif
6136
6137   ;
6138   return 0;
6139 }
6140 _ACEOF
6141 if ac_fn_c_try_compile "$LINENO"; then :
6142   ac_compiler_gnu=yes
6143 else
6144   ac_compiler_gnu=no
6145 fi
6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6148
6149 fi
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6152 if test $ac_compiler_gnu = yes; then
6153   GCC=yes
6154 else
6155   GCC=
6156 fi
6157 ac_test_CFLAGS=${CFLAGS+set}
6158 ac_save_CFLAGS=$CFLAGS
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6161 if ${ac_cv_prog_cc_g+:} false; then :
6162   $as_echo_n "(cached) " >&6
6163 else
6164   ac_save_c_werror_flag=$ac_c_werror_flag
6165    ac_c_werror_flag=yes
6166    ac_cv_prog_cc_g=no
6167    CFLAGS="-g"
6168    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6169 /* end confdefs.h.  */
6170
6171 int
6172 main ()
6173 {
6174
6175   ;
6176   return 0;
6177 }
6178 _ACEOF
6179 if ac_fn_c_try_compile "$LINENO"; then :
6180   ac_cv_prog_cc_g=yes
6181 else
6182   CFLAGS=""
6183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h.  */
6185
6186 int
6187 main ()
6188 {
6189
6190   ;
6191   return 0;
6192 }
6193 _ACEOF
6194 if ac_fn_c_try_compile "$LINENO"; then :
6195
6196 else
6197   ac_c_werror_flag=$ac_save_c_werror_flag
6198          CFLAGS="-g"
6199          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h.  */
6201
6202 int
6203 main ()
6204 {
6205
6206   ;
6207   return 0;
6208 }
6209 _ACEOF
6210 if ac_fn_c_try_compile "$LINENO"; then :
6211   ac_cv_prog_cc_g=yes
6212 fi
6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6214 fi
6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6216 fi
6217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6218    ac_c_werror_flag=$ac_save_c_werror_flag
6219 fi
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6221 $as_echo "$ac_cv_prog_cc_g" >&6; }
6222 if test "$ac_test_CFLAGS" = set; then
6223   CFLAGS=$ac_save_CFLAGS
6224 elif test $ac_cv_prog_cc_g = yes; then
6225   if test "$GCC" = yes; then
6226     CFLAGS="-g -O2"
6227   else
6228     CFLAGS="-g"
6229   fi
6230 else
6231   if test "$GCC" = yes; then
6232     CFLAGS="-O2"
6233   else
6234     CFLAGS=
6235   fi
6236 fi
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6239 if ${ac_cv_prog_cc_c89+:} false; then :
6240   $as_echo_n "(cached) " >&6
6241 else
6242   ac_cv_prog_cc_c89=no
6243 ac_save_CC=$CC
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h.  */
6246 #include <stdarg.h>
6247 #include <stdio.h>
6248 #include <sys/types.h>
6249 #include <sys/stat.h>
6250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6251 struct buf { int x; };
6252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6253 static char *e (p, i)
6254      char **p;
6255      int i;
6256 {
6257   return p[i];
6258 }
6259 static char *f (char * (*g) (char **, int), char **p, ...)
6260 {
6261   char *s;
6262   va_list v;
6263   va_start (v,p);
6264   s = g (p, va_arg (v,int));
6265   va_end (v);
6266   return s;
6267 }
6268
6269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6270    function prototypes and stuff, but not '\xHH' hex character constants.
6271    These don't provoke an error unfortunately, instead are silently treated
6272    as 'x'.  The following induces an error, until -std is added to get
6273    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6274    array size at least.  It's necessary to write '\x00'==0 to get something
6275    that's true only with -std.  */
6276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6277
6278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6279    inside strings and character constants.  */
6280 #define FOO(x) 'x'
6281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6282
6283 int test (int i, double x);
6284 struct s1 {int (*f) (int a);};
6285 struct s2 {int (*f) (double a);};
6286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6287 int argc;
6288 char **argv;
6289 int
6290 main ()
6291 {
6292 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6293   ;
6294   return 0;
6295 }
6296 _ACEOF
6297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6298         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6299 do
6300   CC="$ac_save_CC $ac_arg"
6301   if ac_fn_c_try_compile "$LINENO"; then :
6302   ac_cv_prog_cc_c89=$ac_arg
6303 fi
6304 rm -f core conftest.err conftest.$ac_objext
6305   test "x$ac_cv_prog_cc_c89" != "xno" && break
6306 done
6307 rm -f conftest.$ac_ext
6308 CC=$ac_save_CC
6309
6310 fi
6311 # AC_CACHE_VAL
6312 case "x$ac_cv_prog_cc_c89" in
6313   x)
6314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6315 $as_echo "none needed" >&6; } ;;
6316   xno)
6317     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6318 $as_echo "unsupported" >&6; } ;;
6319   *)
6320     CC="$CC $ac_cv_prog_cc_c89"
6321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6323 esac
6324 if test "x$ac_cv_prog_cc_c89" != xno; then :
6325
6326 fi
6327
6328 ac_ext=c
6329 ac_cpp='$CPP $CPPFLAGS'
6330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6333
6334 depcc="$CC"   am_compiler_list=
6335
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6337 $as_echo_n "checking dependency style of $depcc... " >&6; }
6338 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6339   $as_echo_n "(cached) " >&6
6340 else
6341   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6342   # We make a subdir and do the tests there.  Otherwise we can end up
6343   # making bogus files that we don't know about and never remove.  For
6344   # instance it was reported that on HP-UX the gcc test will end up
6345   # making a dummy file named `D' -- because `-MD' means `put the output
6346   # in D'.
6347   rm -rf conftest.dir
6348   mkdir conftest.dir
6349   # Copy depcomp to subdir because otherwise we won't find it if we're
6350   # using a relative directory.
6351   cp "$am_depcomp" conftest.dir
6352   cd conftest.dir
6353   # We will build objects and dependencies in a subdirectory because
6354   # it helps to detect inapplicable dependency modes.  For instance
6355   # both Tru64's cc and ICC support -MD to output dependencies as a
6356   # side effect of compilation, but ICC will put the dependencies in
6357   # the current directory while Tru64 will put them in the object
6358   # directory.
6359   mkdir sub
6360
6361   am_cv_CC_dependencies_compiler_type=none
6362   if test "$am_compiler_list" = ""; then
6363      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6364   fi
6365   am__universal=false
6366   case " $depcc " in #(
6367      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6368      esac
6369
6370   for depmode in $am_compiler_list; do
6371     # Setup a source with many dependencies, because some compilers
6372     # like to wrap large dependency lists on column 80 (with \), and
6373     # we should not choose a depcomp mode which is confused by this.
6374     #
6375     # We need to recreate these files for each test, as the compiler may
6376     # overwrite some of them when testing with obscure command lines.
6377     # This happens at least with the AIX C compiler.
6378     : > sub/conftest.c
6379     for i in 1 2 3 4 5 6; do
6380       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6381       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6382       # Solaris 8's {/usr,}/bin/sh.
6383       touch sub/conftst$i.h
6384     done
6385     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6386
6387     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6388     # mode.  It turns out that the SunPro C++ compiler does not properly
6389     # handle `-M -o', and we need to detect this.  Also, some Intel
6390     # versions had trouble with output in subdirs
6391     am__obj=sub/conftest.${OBJEXT-o}
6392     am__minus_obj="-o $am__obj"
6393     case $depmode in
6394     gcc)
6395       # This depmode causes a compiler race in universal mode.
6396       test "$am__universal" = false || continue
6397       ;;
6398     nosideeffect)
6399       # after this tag, mechanisms are not by side-effect, so they'll
6400       # only be used when explicitly requested
6401       if test "x$enable_dependency_tracking" = xyes; then
6402         continue
6403       else
6404         break
6405       fi
6406       ;;
6407     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6408       # This compiler won't grok `-c -o', but also, the minuso test has
6409       # not run yet.  These depmodes are late enough in the game, and
6410       # so weak that their functioning should not be impacted.
6411       am__obj=conftest.${OBJEXT-o}
6412       am__minus_obj=
6413       ;;
6414     none) break ;;
6415     esac
6416     if depmode=$depmode \
6417        source=sub/conftest.c object=$am__obj \
6418        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6419        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6420          >/dev/null 2>conftest.err &&
6421        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6422        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6423        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6424        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6425       # icc doesn't choke on unknown options, it will just issue warnings
6426       # or remarks (even with -Werror).  So we grep stderr for any message
6427       # that says an option was ignored or not supported.
6428       # When given -MP, icc 7.0 and 7.1 complain thusly:
6429       #   icc: Command line warning: ignoring option '-M'; no argument required
6430       # The diagnosis changed in icc 8.0:
6431       #   icc: Command line remark: option '-MP' not supported
6432       if (grep 'ignoring option' conftest.err ||
6433           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6434         am_cv_CC_dependencies_compiler_type=$depmode
6435         break
6436       fi
6437     fi
6438   done
6439
6440   cd ..
6441   rm -rf conftest.dir
6442 else
6443   am_cv_CC_dependencies_compiler_type=none
6444 fi
6445
6446 fi
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6448 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6449 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6450
6451  if
6452   test "x$enable_dependency_tracking" != xno \
6453   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6454   am__fastdepCC_TRUE=
6455   am__fastdepCC_FALSE='#'
6456 else
6457   am__fastdepCC_TRUE='#'
6458   am__fastdepCC_FALSE=
6459 fi
6460
6461
6462
6463 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6464
6465 # FIXME: we rely on the cache variable name because
6466 # there is no other way.
6467 set dummy $CC
6468 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6469 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6470 if test "$am_t" != yes; then
6471    # Losing compiler, so override with the script.
6472    # FIXME: It is wrong to rewrite CC.
6473    # But if we don't then we get into trouble of one sort or another.
6474    # A longer-term fix would be to have automake use am__CC in this case,
6475    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6476    CC="$am_aux_dir/compile $CC"
6477 fi
6478
6479
6480
6481 # Check whether --enable-largefile was given.
6482 if test "${enable_largefile+set}" = set; then :
6483   enableval=$enable_largefile;
6484 fi
6485
6486 if test "$enable_largefile" != no; then
6487
6488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6489 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6490 if ${ac_cv_sys_largefile_CC+:} false; then :
6491   $as_echo_n "(cached) " >&6
6492 else
6493   ac_cv_sys_largefile_CC=no
6494      if test "$GCC" != yes; then
6495        ac_save_CC=$CC
6496        while :; do
6497          # IRIX 6.2 and later do not support large files by default,
6498          # so use the C compiler's -n32 option if that helps.
6499          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h.  */
6501 #include <sys/types.h>
6502  /* Check that off_t can represent 2**63 - 1 correctly.
6503     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6504     since some C++ compilers masquerading as C compilers
6505     incorrectly reject 9223372036854775807.  */
6506 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6507   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6508                        && LARGE_OFF_T % 2147483647 == 1)
6509                       ? 1 : -1];
6510 int
6511 main ()
6512 {
6513
6514   ;
6515   return 0;
6516 }
6517 _ACEOF
6518          if ac_fn_c_try_compile "$LINENO"; then :
6519   break
6520 fi
6521 rm -f core conftest.err conftest.$ac_objext
6522          CC="$CC -n32"
6523          if ac_fn_c_try_compile "$LINENO"; then :
6524   ac_cv_sys_largefile_CC=' -n32'; break
6525 fi
6526 rm -f core conftest.err conftest.$ac_objext
6527          break
6528        done
6529        CC=$ac_save_CC
6530        rm -f conftest.$ac_ext
6531     fi
6532 fi
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6534 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6535   if test "$ac_cv_sys_largefile_CC" != no; then
6536     CC=$CC$ac_cv_sys_largefile_CC
6537   fi
6538
6539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6540 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6541 if ${ac_cv_sys_file_offset_bits+:} false; then :
6542   $as_echo_n "(cached) " >&6
6543 else
6544   while :; do
6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h.  */
6547 #include <sys/types.h>
6548  /* Check that off_t can represent 2**63 - 1 correctly.
6549     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6550     since some C++ compilers masquerading as C compilers
6551     incorrectly reject 9223372036854775807.  */
6552 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6553   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6554                        && LARGE_OFF_T % 2147483647 == 1)
6555                       ? 1 : -1];
6556 int
6557 main ()
6558 {
6559
6560   ;
6561   return 0;
6562 }
6563 _ACEOF
6564 if ac_fn_c_try_compile "$LINENO"; then :
6565   ac_cv_sys_file_offset_bits=no; break
6566 fi
6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h.  */
6570 #define _FILE_OFFSET_BITS 64
6571 #include <sys/types.h>
6572  /* Check that off_t can represent 2**63 - 1 correctly.
6573     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6574     since some C++ compilers masquerading as C compilers
6575     incorrectly reject 9223372036854775807.  */
6576 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6577   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6578                        && LARGE_OFF_T % 2147483647 == 1)
6579                       ? 1 : -1];
6580 int
6581 main ()
6582 {
6583
6584   ;
6585   return 0;
6586 }
6587 _ACEOF
6588 if ac_fn_c_try_compile "$LINENO"; then :
6589   ac_cv_sys_file_offset_bits=64; break
6590 fi
6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592   ac_cv_sys_file_offset_bits=unknown
6593   break
6594 done
6595 fi
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6597 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6598 case $ac_cv_sys_file_offset_bits in #(
6599   no | unknown) ;;
6600   *)
6601 cat >>confdefs.h <<_ACEOF
6602 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6603 _ACEOF
6604 ;;
6605 esac
6606 rm -rf conftest*
6607   if test $ac_cv_sys_file_offset_bits = unknown; then
6608     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6609 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6610 if ${ac_cv_sys_large_files+:} false; then :
6611   $as_echo_n "(cached) " >&6
6612 else
6613   while :; do
6614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h.  */
6616 #include <sys/types.h>
6617  /* Check that off_t can represent 2**63 - 1 correctly.
6618     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6619     since some C++ compilers masquerading as C compilers
6620     incorrectly reject 9223372036854775807.  */
6621 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6622   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6623                        && LARGE_OFF_T % 2147483647 == 1)
6624                       ? 1 : -1];
6625 int
6626 main ()
6627 {
6628
6629   ;
6630   return 0;
6631 }
6632 _ACEOF
6633 if ac_fn_c_try_compile "$LINENO"; then :
6634   ac_cv_sys_large_files=no; break
6635 fi
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h.  */
6639 #define _LARGE_FILES 1
6640 #include <sys/types.h>
6641  /* Check that off_t can represent 2**63 - 1 correctly.
6642     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6643     since some C++ compilers masquerading as C compilers
6644     incorrectly reject 9223372036854775807.  */
6645 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6646   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6647                        && LARGE_OFF_T % 2147483647 == 1)
6648                       ? 1 : -1];
6649 int
6650 main ()
6651 {
6652
6653   ;
6654   return 0;
6655 }
6656 _ACEOF
6657 if ac_fn_c_try_compile "$LINENO"; then :
6658   ac_cv_sys_large_files=1; break
6659 fi
6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6661   ac_cv_sys_large_files=unknown
6662   break
6663 done
6664 fi
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6666 $as_echo "$ac_cv_sys_large_files" >&6; }
6667 case $ac_cv_sys_large_files in #(
6668   no | unknown) ;;
6669   *)
6670 cat >>confdefs.h <<_ACEOF
6671 #define _LARGE_FILES $ac_cv_sys_large_files
6672 _ACEOF
6673 ;;
6674 esac
6675 rm -rf conftest*
6676   fi
6677 fi
6678
6679
6680 # Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it
6681 # doesn't exist)
6682 ac_ext=cpp
6683 ac_cpp='$CXXCPP $CPPFLAGS'
6684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6687
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h.  */
6690
6691 int
6692 main ()
6693 {
6694
6695   ;
6696   return 0;
6697 }
6698 _ACEOF
6699 if ac_fn_cxx_try_compile "$LINENO"; then :
6700
6701 else
6702   as_fn_error $? "No C++ compiler found" "$LINENO" 5
6703 fi
6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6705 ac_ext=c
6706 ac_cpp='$CPP $CPPFLAGS'
6707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6710
6711
6712 # C/C++ Language Features
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6714 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6715 if ${ac_cv_c_const+:} false; then :
6716   $as_echo_n "(cached) " >&6
6717 else
6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h.  */
6720
6721 int
6722 main ()
6723 {
6724 /* FIXME: Include the comments suggested by Paul. */
6725 #ifndef __cplusplus
6726   /* Ultrix mips cc rejects this.  */
6727   typedef int charset[2];
6728   const charset cs;
6729   /* SunOS 4.1.1 cc rejects this.  */
6730   char const *const *pcpcc;
6731   char **ppc;
6732   /* NEC SVR4.0.2 mips cc rejects this.  */
6733   struct point {int x, y;};
6734   static struct point const zero = {0,0};
6735   /* AIX XL C 1.02.0.0 rejects this.
6736      It does not let you subtract one const X* pointer from another in
6737      an arm of an if-expression whose if-part is not a constant
6738      expression */
6739   const char *g = "string";
6740   pcpcc = &g + (g ? g-g : 0);
6741   /* HPUX 7.0 cc rejects these. */
6742   ++pcpcc;
6743   ppc = (char**) pcpcc;
6744   pcpcc = (char const *const *) ppc;
6745   { /* SCO 3.2v4 cc rejects this.  */
6746     char *t;
6747     char const *s = 0 ? (char *) 0 : (char const *) 0;
6748
6749     *t++ = 0;
6750     if (s) return 0;
6751   }
6752   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6753     int x[] = {25, 17};
6754     const int *foo = &x[0];
6755     ++foo;
6756   }
6757   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6758     typedef const int *iptr;
6759     iptr p = 0;
6760     ++p;
6761   }
6762   { /* AIX XL C 1.02.0.0 rejects this saying
6763        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6764     struct s { int j; const int *ap[3]; };
6765     struct s *b; b->j = 5;
6766   }
6767   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6768     const int foo = 10;
6769     if (!foo) return 0;
6770   }
6771   return !cs[0] && !zero.x;
6772 #endif
6773
6774   ;
6775   return 0;
6776 }
6777 _ACEOF
6778 if ac_fn_c_try_compile "$LINENO"; then :
6779   ac_cv_c_const=yes
6780 else
6781   ac_cv_c_const=no
6782 fi
6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6784 fi
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6786 $as_echo "$ac_cv_c_const" >&6; }
6787 if test $ac_cv_c_const = no; then
6788
6789 $as_echo "#define const /**/" >>confdefs.h
6790
6791 fi
6792
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6794 $as_echo_n "checking for inline... " >&6; }
6795 if ${ac_cv_c_inline+:} false; then :
6796   $as_echo_n "(cached) " >&6
6797 else
6798   ac_cv_c_inline=no
6799 for ac_kw in inline __inline__ __inline; do
6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h.  */
6802 #ifndef __cplusplus
6803 typedef int foo_t;
6804 static $ac_kw foo_t static_foo () {return 0; }
6805 $ac_kw foo_t foo () {return 0; }
6806 #endif
6807
6808 _ACEOF
6809 if ac_fn_c_try_compile "$LINENO"; then :
6810   ac_cv_c_inline=$ac_kw
6811 fi
6812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6813   test "$ac_cv_c_inline" != no && break
6814 done
6815
6816 fi
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6818 $as_echo "$ac_cv_c_inline" >&6; }
6819
6820 case $ac_cv_c_inline in
6821   inline | yes) ;;
6822   *)
6823     case $ac_cv_c_inline in
6824       no) ac_val=;;
6825       *) ac_val=$ac_cv_c_inline;;
6826     esac
6827     cat >>confdefs.h <<_ACEOF
6828 #ifndef __cplusplus
6829 #define inline $ac_val
6830 #endif
6831 _ACEOF
6832     ;;
6833 esac
6834
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6836 $as_echo_n "checking for working volatile... " >&6; }
6837 if ${ac_cv_c_volatile+:} false; then :
6838   $as_echo_n "(cached) " >&6
6839 else
6840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h.  */
6842
6843 int
6844 main ()
6845 {
6846
6847 volatile int x;
6848 int * volatile y = (int *) 0;
6849 return !x && !y;
6850   ;
6851   return 0;
6852 }
6853 _ACEOF
6854 if ac_fn_c_try_compile "$LINENO"; then :
6855   ac_cv_c_volatile=yes
6856 else
6857   ac_cv_c_volatile=no
6858 fi
6859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6860 fi
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
6862 $as_echo "$ac_cv_c_volatile" >&6; }
6863 if test $ac_cv_c_volatile = no; then
6864
6865 $as_echo "#define volatile /**/" >>confdefs.h
6866
6867 fi
6868
6869
6870 # C/C++ Headers
6871
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6873 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6874 if ${ac_cv_header_stdbool_h+:} false; then :
6875   $as_echo_n "(cached) " >&6
6876 else
6877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h.  */
6879
6880 #include <stdbool.h>
6881 #ifndef bool
6882  "error: bool is not defined"
6883 #endif
6884 #ifndef false
6885  "error: false is not defined"
6886 #endif
6887 #if false
6888  "error: false is not 0"
6889 #endif
6890 #ifndef true
6891  "error: true is not defined"
6892 #endif
6893 #if true != 1
6894  "error: true is not 1"
6895 #endif
6896 #ifndef __bool_true_false_are_defined
6897  "error: __bool_true_false_are_defined is not defined"
6898 #endif
6899
6900         struct s { _Bool s: 1; _Bool t; } s;
6901
6902         char a[true == 1 ? 1 : -1];
6903         char b[false == 0 ? 1 : -1];
6904         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6905         char d[(bool) 0.5 == true ? 1 : -1];
6906         /* See body of main program for 'e'.  */
6907         char f[(_Bool) 0.0 == false ? 1 : -1];
6908         char g[true];
6909         char h[sizeof (_Bool)];
6910         char i[sizeof s.t];
6911         enum { j = false, k = true, l = false * true, m = true * 256 };
6912         /* The following fails for
6913            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
6914         _Bool n[m];
6915         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6916         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6917         /* Catch a bug in an HP-UX C compiler.  See
6918            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6919            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6920          */
6921         _Bool q = true;
6922         _Bool *pq = &q;
6923
6924 int
6925 main ()
6926 {
6927
6928         bool e = &s;
6929         *pq |= q;
6930         *pq |= ! q;
6931         /* Refer to every declared value, to avoid compiler optimizations.  */
6932         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6933                 + !m + !n + !o + !p + !q + !pq);
6934
6935   ;
6936   return 0;
6937 }
6938 _ACEOF
6939 if ac_fn_c_try_compile "$LINENO"; then :
6940   ac_cv_header_stdbool_h=yes
6941 else
6942   ac_cv_header_stdbool_h=no
6943 fi
6944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6945 fi
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6947 $as_echo "$ac_cv_header_stdbool_h" >&6; }
6948 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6949 if test "x$ac_cv_type__Bool" = xyes; then :
6950
6951 cat >>confdefs.h <<_ACEOF
6952 #define HAVE__BOOL 1
6953 _ACEOF
6954
6955
6956 fi
6957
6958 if test $ac_cv_header_stdbool_h = yes; then
6959
6960 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
6961
6962 fi
6963
6964
6965
6966
6967 # Check whether --enable-static was given.
6968 if test "${enable_static+set}" = set; then :
6969   enableval=$enable_static; p=${PACKAGE-default}
6970     case $enableval in
6971     yes) enable_static=yes ;;
6972     no) enable_static=no ;;
6973     *)
6974      enable_static=no
6975       # Look at the argument we got.  We use all the common list separators.
6976       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6977       for pkg in $enableval; do
6978         IFS="$lt_save_ifs"
6979         if test "X$pkg" = "X$p"; then
6980           enable_static=yes
6981         fi
6982       done
6983       IFS="$lt_save_ifs"
6984       ;;
6985     esac
6986 else
6987   enable_static=no
6988 fi
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998 enable_win32_dll=yes
6999
7000 case $host in
7001 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7002   if test -n "$ac_tool_prefix"; then
7003   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7004 set dummy ${ac_tool_prefix}as; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_AS+:} false; then :
7008   $as_echo_n "(cached) " >&6
7009 else
7010   if test -n "$AS"; then
7011   ac_cv_prog_AS="$AS" # Let the user override the test.
7012 else
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 for as_dir in $PATH
7015 do
7016   IFS=$as_save_IFS
7017   test -z "$as_dir" && as_dir=.
7018     for ac_exec_ext in '' $ac_executable_extensions; do
7019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7020     ac_cv_prog_AS="${ac_tool_prefix}as"
7021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022     break 2
7023   fi
7024 done
7025   done
7026 IFS=$as_save_IFS
7027
7028 fi
7029 fi
7030 AS=$ac_cv_prog_AS
7031 if test -n "$AS"; then
7032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7033 $as_echo "$AS" >&6; }
7034 else
7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7037 fi
7038
7039
7040 fi
7041 if test -z "$ac_cv_prog_AS"; then
7042   ac_ct_AS=$AS
7043   # Extract the first word of "as", so it can be a program name with args.
7044 set dummy as; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7048   $as_echo_n "(cached) " >&6
7049 else
7050   if test -n "$ac_ct_AS"; then
7051   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7052 else
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in $PATH
7055 do
7056   IFS=$as_save_IFS
7057   test -z "$as_dir" && as_dir=.
7058     for ac_exec_ext in '' $ac_executable_extensions; do
7059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060     ac_cv_prog_ac_ct_AS="as"
7061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062     break 2
7063   fi
7064 done
7065   done
7066 IFS=$as_save_IFS
7067
7068 fi
7069 fi
7070 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7071 if test -n "$ac_ct_AS"; then
7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7073 $as_echo "$ac_ct_AS" >&6; }
7074 else
7075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7077 fi
7078
7079   if test "x$ac_ct_AS" = x; then
7080     AS="false"
7081   else
7082     case $cross_compiling:$ac_tool_warned in
7083 yes:)
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7086 ac_tool_warned=yes ;;
7087 esac
7088     AS=$ac_ct_AS
7089   fi
7090 else
7091   AS="$ac_cv_prog_AS"
7092 fi
7093
7094   if test -n "$ac_tool_prefix"; then
7095   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7096 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if ${ac_cv_prog_DLLTOOL+:} false; then :
7100   $as_echo_n "(cached) " >&6
7101 else
7102   if test -n "$DLLTOOL"; then
7103   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7104 else
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 for as_dir in $PATH
7107 do
7108   IFS=$as_save_IFS
7109   test -z "$as_dir" && as_dir=.
7110     for ac_exec_ext in '' $ac_executable_extensions; do
7111   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114     break 2
7115   fi
7116 done
7117   done
7118 IFS=$as_save_IFS
7119
7120 fi
7121 fi
7122 DLLTOOL=$ac_cv_prog_DLLTOOL
7123 if test -n "$DLLTOOL"; then
7124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7125 $as_echo "$DLLTOOL" >&6; }
7126 else
7127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7129 fi
7130
7131
7132 fi
7133 if test -z "$ac_cv_prog_DLLTOOL"; then
7134   ac_ct_DLLTOOL=$DLLTOOL
7135   # Extract the first word of "dlltool", so it can be a program name with args.
7136 set dummy dlltool; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7140   $as_echo_n "(cached) " >&6
7141 else
7142   if test -n "$ac_ct_DLLTOOL"; then
7143   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7147 do
7148   IFS=$as_save_IFS
7149   test -z "$as_dir" && as_dir=.
7150     for ac_exec_ext in '' $ac_executable_extensions; do
7151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7153     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154     break 2
7155   fi
7156 done
7157   done
7158 IFS=$as_save_IFS
7159
7160 fi
7161 fi
7162 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7163 if test -n "$ac_ct_DLLTOOL"; then
7164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7165 $as_echo "$ac_ct_DLLTOOL" >&6; }
7166 else
7167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7169 fi
7170
7171   if test "x$ac_ct_DLLTOOL" = x; then
7172     DLLTOOL="false"
7173   else
7174     case $cross_compiling:$ac_tool_warned in
7175 yes:)
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7178 ac_tool_warned=yes ;;
7179 esac
7180     DLLTOOL=$ac_ct_DLLTOOL
7181   fi
7182 else
7183   DLLTOOL="$ac_cv_prog_DLLTOOL"
7184 fi
7185
7186   if test -n "$ac_tool_prefix"; then
7187   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_prog_OBJDUMP+:} false; then :
7192   $as_echo_n "(cached) " >&6
7193 else
7194   if test -n "$OBJDUMP"; then
7195   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7199 do
7200   IFS=$as_save_IFS
7201   test -z "$as_dir" && as_dir=.
7202     for ac_exec_ext in '' $ac_executable_extensions; do
7203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7206     break 2
7207   fi
7208 done
7209   done
7210 IFS=$as_save_IFS
7211
7212 fi
7213 fi
7214 OBJDUMP=$ac_cv_prog_OBJDUMP
7215 if test -n "$OBJDUMP"; then
7216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7217 $as_echo "$OBJDUMP" >&6; }
7218 else
7219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7221 fi
7222
7223
7224 fi
7225 if test -z "$ac_cv_prog_OBJDUMP"; then
7226   ac_ct_OBJDUMP=$OBJDUMP
7227   # Extract the first word of "objdump", so it can be a program name with args.
7228 set dummy objdump; ac_word=$2
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7230 $as_echo_n "checking for $ac_word... " >&6; }
7231 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7232   $as_echo_n "(cached) " >&6
7233 else
7234   if test -n "$ac_ct_OBJDUMP"; then
7235   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7236 else
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7238 for as_dir in $PATH
7239 do
7240   IFS=$as_save_IFS
7241   test -z "$as_dir" && as_dir=.
7242     for ac_exec_ext in '' $ac_executable_extensions; do
7243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7246     break 2
7247   fi
7248 done
7249   done
7250 IFS=$as_save_IFS
7251
7252 fi
7253 fi
7254 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7255 if test -n "$ac_ct_OBJDUMP"; then
7256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7257 $as_echo "$ac_ct_OBJDUMP" >&6; }
7258 else
7259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260 $as_echo "no" >&6; }
7261 fi
7262
7263   if test "x$ac_ct_OBJDUMP" = x; then
7264     OBJDUMP="false"
7265   else
7266     case $cross_compiling:$ac_tool_warned in
7267 yes:)
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7270 ac_tool_warned=yes ;;
7271 esac
7272     OBJDUMP=$ac_ct_OBJDUMP
7273   fi
7274 else
7275   OBJDUMP="$ac_cv_prog_OBJDUMP"
7276 fi
7277
7278   ;;
7279 esac
7280
7281 test -z "$AS" && AS=as
7282
7283
7284
7285
7286
7287 test -z "$DLLTOOL" && DLLTOOL=dlltool
7288
7289
7290
7291
7292
7293 test -z "$OBJDUMP" && OBJDUMP=objdump
7294
7295
7296
7297
7298
7299
7300
7301 case `pwd` in
7302   *\ * | *\     *)
7303     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7304 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7305 esac
7306
7307
7308
7309 macro_version='2.4'
7310 macro_revision='1.3293'
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324 ltmain="$ac_aux_dir/ltmain.sh"
7325
7326 # Backslashify metacharacters that are still active within
7327 # double-quoted strings.
7328 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7329
7330 # Same as above, but do not quote variable references.
7331 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7332
7333 # Sed substitution to delay expansion of an escaped shell variable in a
7334 # double_quote_subst'ed string.
7335 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7336
7337 # Sed substitution to delay expansion of an escaped single quote.
7338 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7339
7340 # Sed substitution to avoid accidental globbing in evaled expressions
7341 no_glob_subst='s/\*/\\\*/g'
7342
7343 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7344 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7345 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7346
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7348 $as_echo_n "checking how to print strings... " >&6; }
7349 # Test print first, because it will be a builtin if present.
7350 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7351    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7352   ECHO='print -r --'
7353 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7354   ECHO='printf %s\n'
7355 else
7356   # Use this function as a fallback that always works.
7357   func_fallback_echo ()
7358   {
7359     eval 'cat <<_LTECHO_EOF
7360 $1
7361 _LTECHO_EOF'
7362   }
7363   ECHO='func_fallback_echo'
7364 fi
7365
7366 # func_echo_all arg...
7367 # Invoke $ECHO with all args, space-separated.
7368 func_echo_all ()
7369 {
7370     $ECHO ""
7371 }
7372
7373 case "$ECHO" in
7374   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7375 $as_echo "printf" >&6; } ;;
7376   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7377 $as_echo "print -r" >&6; } ;;
7378   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7379 $as_echo "cat" >&6; } ;;
7380 esac
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7396 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7397 if ${ac_cv_path_SED+:} false; then :
7398   $as_echo_n "(cached) " >&6
7399 else
7400             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7401      for ac_i in 1 2 3 4 5 6 7; do
7402        ac_script="$ac_script$as_nl$ac_script"
7403      done
7404      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7405      { ac_script=; unset ac_script;}
7406      if test -z "$SED"; then
7407   ac_path_SED_found=false
7408   # Loop through the user's path and test for each of PROGNAME-LIST
7409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7411 do
7412   IFS=$as_save_IFS
7413   test -z "$as_dir" && as_dir=.
7414     for ac_prog in sed gsed; do
7415     for ac_exec_ext in '' $ac_executable_extensions; do
7416       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7417       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7418 # Check for GNU ac_path_SED and select it if it is found.
7419   # Check for GNU $ac_path_SED
7420 case `"$ac_path_SED" --version 2>&1` in
7421 *GNU*)
7422   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7423 *)
7424   ac_count=0
7425   $as_echo_n 0123456789 >"conftest.in"
7426   while :
7427   do
7428     cat "conftest.in" "conftest.in" >"conftest.tmp"
7429     mv "conftest.tmp" "conftest.in"
7430     cp "conftest.in" "conftest.nl"
7431     $as_echo '' >> "conftest.nl"
7432     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7433     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7434     as_fn_arith $ac_count + 1 && ac_count=$as_val
7435     if test $ac_count -gt ${ac_path_SED_max-0}; then
7436       # Best one so far, save it but keep looking for a better one
7437       ac_cv_path_SED="$ac_path_SED"
7438       ac_path_SED_max=$ac_count
7439     fi
7440     # 10*(2^10) chars as input seems more than enough
7441     test $ac_count -gt 10 && break
7442   done
7443   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7444 esac
7445
7446       $ac_path_SED_found && break 3
7447     done
7448   done
7449   done
7450 IFS=$as_save_IFS
7451   if test -z "$ac_cv_path_SED"; then
7452     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7453   fi
7454 else
7455   ac_cv_path_SED=$SED
7456 fi
7457
7458 fi
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7460 $as_echo "$ac_cv_path_SED" >&6; }
7461  SED="$ac_cv_path_SED"
7462   rm -f conftest.sed
7463
7464 test -z "$SED" && SED=sed
7465 Xsed="$SED -e 1s/^X//"
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7478 $as_echo_n "checking for fgrep... " >&6; }
7479 if ${ac_cv_path_FGREP+:} false; then :
7480   $as_echo_n "(cached) " >&6
7481 else
7482   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7483    then ac_cv_path_FGREP="$GREP -F"
7484    else
7485      if test -z "$FGREP"; then
7486   ac_path_FGREP_found=false
7487   # Loop through the user's path and test for each of PROGNAME-LIST
7488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7490 do
7491   IFS=$as_save_IFS
7492   test -z "$as_dir" && as_dir=.
7493     for ac_prog in fgrep; do
7494     for ac_exec_ext in '' $ac_executable_extensions; do
7495       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7496       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7497 # Check for GNU ac_path_FGREP and select it if it is found.
7498   # Check for GNU $ac_path_FGREP
7499 case `"$ac_path_FGREP" --version 2>&1` in
7500 *GNU*)
7501   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7502 *)
7503   ac_count=0
7504   $as_echo_n 0123456789 >"conftest.in"
7505   while :
7506   do
7507     cat "conftest.in" "conftest.in" >"conftest.tmp"
7508     mv "conftest.tmp" "conftest.in"
7509     cp "conftest.in" "conftest.nl"
7510     $as_echo 'FGREP' >> "conftest.nl"
7511     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7512     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7513     as_fn_arith $ac_count + 1 && ac_count=$as_val
7514     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7515       # Best one so far, save it but keep looking for a better one
7516       ac_cv_path_FGREP="$ac_path_FGREP"
7517       ac_path_FGREP_max=$ac_count
7518     fi
7519     # 10*(2^10) chars as input seems more than enough
7520     test $ac_count -gt 10 && break
7521   done
7522   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7523 esac
7524
7525       $ac_path_FGREP_found && break 3
7526     done
7527   done
7528   done
7529 IFS=$as_save_IFS
7530   if test -z "$ac_cv_path_FGREP"; then
7531     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7532   fi
7533 else
7534   ac_cv_path_FGREP=$FGREP
7535 fi
7536
7537    fi
7538 fi
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7540 $as_echo "$ac_cv_path_FGREP" >&6; }
7541  FGREP="$ac_cv_path_FGREP"
7542
7543
7544 test -z "$GREP" && GREP=grep
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564 # Check whether --with-gnu-ld was given.
7565 if test "${with_gnu_ld+set}" = set; then :
7566   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7567 else
7568   with_gnu_ld=no
7569 fi
7570
7571 ac_prog=ld
7572 if test "$GCC" = yes; then
7573   # Check if gcc -print-prog-name=ld gives a path.
7574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7575 $as_echo_n "checking for ld used by $CC... " >&6; }
7576   case $host in
7577   *-*-mingw*)
7578     # gcc leaves a trailing carriage return which upsets mingw
7579     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7580   *)
7581     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7582   esac
7583   case $ac_prog in
7584     # Accept absolute paths.
7585     [\\/]* | ?:[\\/]*)
7586       re_direlt='/[^/][^/]*/\.\./'
7587       # Canonicalize the pathname of ld
7588       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7589       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7590         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7591       done
7592       test -z "$LD" && LD="$ac_prog"
7593       ;;
7594   "")
7595     # If it fails, then pretend we aren't using GCC.
7596     ac_prog=ld
7597     ;;
7598   *)
7599     # If it is relative, then search for the first ld in PATH.
7600     with_gnu_ld=unknown
7601     ;;
7602   esac
7603 elif test "$with_gnu_ld" = yes; then
7604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7605 $as_echo_n "checking for GNU ld... " >&6; }
7606 else
7607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7608 $as_echo_n "checking for non-GNU ld... " >&6; }
7609 fi
7610 if ${lt_cv_path_LD+:} false; then :
7611   $as_echo_n "(cached) " >&6
7612 else
7613   if test -z "$LD"; then
7614   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7615   for ac_dir in $PATH; do
7616     IFS="$lt_save_ifs"
7617     test -z "$ac_dir" && ac_dir=.
7618     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7619       lt_cv_path_LD="$ac_dir/$ac_prog"
7620       # Check to see if the program is GNU ld.  I'd rather use --version,
7621       # but apparently some variants of GNU ld only accept -v.
7622       # Break only if it was the GNU/non-GNU ld that we prefer.
7623       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7624       *GNU* | *'with BFD'*)
7625         test "$with_gnu_ld" != no && break
7626         ;;
7627       *)
7628         test "$with_gnu_ld" != yes && break
7629         ;;
7630       esac
7631     fi
7632   done
7633   IFS="$lt_save_ifs"
7634 else
7635   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7636 fi
7637 fi
7638
7639 LD="$lt_cv_path_LD"
7640 if test -n "$LD"; then
7641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7642 $as_echo "$LD" >&6; }
7643 else
7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7646 fi
7647 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7649 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7650 if ${lt_cv_prog_gnu_ld+:} false; then :
7651   $as_echo_n "(cached) " >&6
7652 else
7653   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7654 case `$LD -v 2>&1 </dev/null` in
7655 *GNU* | *'with BFD'*)
7656   lt_cv_prog_gnu_ld=yes
7657   ;;
7658 *)
7659   lt_cv_prog_gnu_ld=no
7660   ;;
7661 esac
7662 fi
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7664 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7665 with_gnu_ld=$lt_cv_prog_gnu_ld
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7676 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7677 if ${lt_cv_path_NM+:} false; then :
7678   $as_echo_n "(cached) " >&6
7679 else
7680   if test -n "$NM"; then
7681   # Let the user override the test.
7682   lt_cv_path_NM="$NM"
7683 else
7684   lt_nm_to_check="${ac_tool_prefix}nm"
7685   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7686     lt_nm_to_check="$lt_nm_to_check nm"
7687   fi
7688   for lt_tmp_nm in $lt_nm_to_check; do
7689     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7690     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7691       IFS="$lt_save_ifs"
7692       test -z "$ac_dir" && ac_dir=.
7693       tmp_nm="$ac_dir/$lt_tmp_nm"
7694       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7695         # Check to see if the nm accepts a BSD-compat flag.
7696         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7697         #   nm: unknown option "B" ignored
7698         # Tru64's nm complains that /dev/null is an invalid object file
7699         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7700         */dev/null* | *'Invalid file or object type'*)
7701           lt_cv_path_NM="$tmp_nm -B"
7702           break
7703           ;;
7704         *)
7705           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7706           */dev/null*)
7707             lt_cv_path_NM="$tmp_nm -p"
7708             break
7709             ;;
7710           *)
7711             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7712             continue # so that we can try to find one that supports BSD flags
7713             ;;
7714           esac
7715           ;;
7716         esac
7717       fi
7718     done
7719     IFS="$lt_save_ifs"
7720   done
7721   : ${lt_cv_path_NM=no}
7722 fi
7723 fi
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7725 $as_echo "$lt_cv_path_NM" >&6; }
7726 if test "$lt_cv_path_NM" != "no"; then
7727   NM="$lt_cv_path_NM"
7728 else
7729   # Didn't find any BSD compatible name lister, look for dumpbin.
7730   if test -n "$DUMPBIN"; then :
7731     # Let the user override the test.
7732   else
7733     if test -n "$ac_tool_prefix"; then
7734   for ac_prog in dumpbin "link -dump"
7735   do
7736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739 $as_echo_n "checking for $ac_word... " >&6; }
7740 if ${ac_cv_prog_DUMPBIN+:} false; then :
7741   $as_echo_n "(cached) " >&6
7742 else
7743   if test -n "$DUMPBIN"; then
7744   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7745 else
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7747 for as_dir in $PATH
7748 do
7749   IFS=$as_save_IFS
7750   test -z "$as_dir" && as_dir=.
7751     for ac_exec_ext in '' $ac_executable_extensions; do
7752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7753     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755     break 2
7756   fi
7757 done
7758   done
7759 IFS=$as_save_IFS
7760
7761 fi
7762 fi
7763 DUMPBIN=$ac_cv_prog_DUMPBIN
7764 if test -n "$DUMPBIN"; then
7765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7766 $as_echo "$DUMPBIN" >&6; }
7767 else
7768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7770 fi
7771
7772
7773     test -n "$DUMPBIN" && break
7774   done
7775 fi
7776 if test -z "$DUMPBIN"; then
7777   ac_ct_DUMPBIN=$DUMPBIN
7778   for ac_prog in dumpbin "link -dump"
7779 do
7780   # Extract the first word of "$ac_prog", so it can be a program name with args.
7781 set dummy $ac_prog; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7785   $as_echo_n "(cached) " >&6
7786 else
7787   if test -n "$ac_ct_DUMPBIN"; then
7788   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7789 else
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 for as_dir in $PATH
7792 do
7793   IFS=$as_save_IFS
7794   test -z "$as_dir" && as_dir=.
7795     for ac_exec_ext in '' $ac_executable_extensions; do
7796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7797     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7799     break 2
7800   fi
7801 done
7802   done
7803 IFS=$as_save_IFS
7804
7805 fi
7806 fi
7807 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7808 if test -n "$ac_ct_DUMPBIN"; then
7809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7810 $as_echo "$ac_ct_DUMPBIN" >&6; }
7811 else
7812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7814 fi
7815
7816
7817   test -n "$ac_ct_DUMPBIN" && break
7818 done
7819
7820   if test "x$ac_ct_DUMPBIN" = x; then
7821     DUMPBIN=":"
7822   else
7823     case $cross_compiling:$ac_tool_warned in
7824 yes:)
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7827 ac_tool_warned=yes ;;
7828 esac
7829     DUMPBIN=$ac_ct_DUMPBIN
7830   fi
7831 fi
7832
7833     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7834     *COFF*)
7835       DUMPBIN="$DUMPBIN -symbols"
7836       ;;
7837     *)
7838       DUMPBIN=:
7839       ;;
7840     esac
7841   fi
7842
7843   if test "$DUMPBIN" != ":"; then
7844     NM="$DUMPBIN"
7845   fi
7846 fi
7847 test -z "$NM" && NM=nm
7848
7849
7850
7851
7852
7853
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7855 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7856 if ${lt_cv_nm_interface+:} false; then :
7857   $as_echo_n "(cached) " >&6
7858 else
7859   lt_cv_nm_interface="BSD nm"
7860   echo "int some_variable = 0;" > conftest.$ac_ext
7861   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7862   (eval "$ac_compile" 2>conftest.err)
7863   cat conftest.err >&5
7864   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7865   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7866   cat conftest.err >&5
7867   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7868   cat conftest.out >&5
7869   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7870     lt_cv_nm_interface="MS dumpbin"
7871   fi
7872   rm -f conftest*
7873 fi
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7875 $as_echo "$lt_cv_nm_interface" >&6; }
7876
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7878 $as_echo_n "checking whether ln -s works... " >&6; }
7879 LN_S=$as_ln_s
7880 if test "$LN_S" = "ln -s"; then
7881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7882 $as_echo "yes" >&6; }
7883 else
7884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7885 $as_echo "no, using $LN_S" >&6; }
7886 fi
7887
7888 # find the maximum length of command line arguments
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7890 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7891 if ${lt_cv_sys_max_cmd_len+:} false; then :
7892   $as_echo_n "(cached) " >&6
7893 else
7894     i=0
7895   teststring="ABCD"
7896
7897   case $build_os in
7898   msdosdjgpp*)
7899     # On DJGPP, this test can blow up pretty badly due to problems in libc
7900     # (any single argument exceeding 2000 bytes causes a buffer overrun
7901     # during glob expansion).  Even if it were fixed, the result of this
7902     # check would be larger than it should be.
7903     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7904     ;;
7905
7906   gnu*)
7907     # Under GNU Hurd, this test is not required because there is
7908     # no limit to the length of command line arguments.
7909     # Libtool will interpret -1 as no limit whatsoever
7910     lt_cv_sys_max_cmd_len=-1;
7911     ;;
7912
7913   cygwin* | mingw* | cegcc*)
7914     # On Win9x/ME, this test blows up -- it succeeds, but takes
7915     # about 5 minutes as the teststring grows exponentially.
7916     # Worse, since 9x/ME are not pre-emptively multitasking,
7917     # you end up with a "frozen" computer, even though with patience
7918     # the test eventually succeeds (with a max line length of 256k).
7919     # Instead, let's just punt: use the minimum linelength reported by
7920     # all of the supported platforms: 8192 (on NT/2K/XP).
7921     lt_cv_sys_max_cmd_len=8192;
7922     ;;
7923
7924   mint*)
7925     # On MiNT this can take a long time and run out of memory.
7926     lt_cv_sys_max_cmd_len=8192;
7927     ;;
7928
7929   amigaos*)
7930     # On AmigaOS with pdksh, this test takes hours, literally.
7931     # So we just punt and use a minimum line length of 8192.
7932     lt_cv_sys_max_cmd_len=8192;
7933     ;;
7934
7935   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7936     # This has been around since 386BSD, at least.  Likely further.
7937     if test -x /sbin/sysctl; then
7938       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7939     elif test -x /usr/sbin/sysctl; then
7940       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7941     else
7942       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7943     fi
7944     # And add a safety zone
7945     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7946     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7947     ;;
7948
7949   interix*)
7950     # We know the value 262144 and hardcode it with a safety zone (like BSD)
7951     lt_cv_sys_max_cmd_len=196608
7952     ;;
7953
7954   osf*)
7955     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7956     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7957     # nice to cause kernel panics so lets avoid the loop below.
7958     # First set a reasonable default.
7959     lt_cv_sys_max_cmd_len=16384
7960     #
7961     if test -x /sbin/sysconfig; then
7962       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7963         *1*) lt_cv_sys_max_cmd_len=-1 ;;
7964       esac
7965     fi
7966     ;;
7967   sco3.2v5*)
7968     lt_cv_sys_max_cmd_len=102400
7969     ;;
7970   sysv5* | sco5v6* | sysv4.2uw2*)
7971     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7972     if test -n "$kargmax"; then
7973       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
7974     else
7975       lt_cv_sys_max_cmd_len=32768
7976     fi
7977     ;;
7978   *)
7979     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7980     if test -n "$lt_cv_sys_max_cmd_len"; then
7981       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7982       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7983     else
7984       # Make teststring a little bigger before we do anything with it.
7985       # a 1K string should be a reasonable start.
7986       for i in 1 2 3 4 5 6 7 8 ; do
7987         teststring=$teststring$teststring
7988       done
7989       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7990       # If test is not a shell built-in, we'll probably end up computing a
7991       # maximum length that is only half of the actual maximum length, but
7992       # we can't tell.
7993       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7994                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7995               test $i != 17 # 1/2 MB should be enough
7996       do
7997         i=`expr $i + 1`
7998         teststring=$teststring$teststring
7999       done
8000       # Only check the string length outside the loop.
8001       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8002       teststring=
8003       # Add a significant safety factor because C++ compilers can tack on
8004       # massive amounts of additional arguments before passing them to the
8005       # linker.  It appears as though 1/2 is a usable value.
8006       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8007     fi
8008     ;;
8009   esac
8010
8011 fi
8012
8013 if test -n $lt_cv_sys_max_cmd_len ; then
8014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8015 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8016 else
8017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8018 $as_echo "none" >&6; }
8019 fi
8020 max_cmd_len=$lt_cv_sys_max_cmd_len
8021
8022
8023
8024
8025
8026
8027 : ${CP="cp -f"}
8028 : ${MV="mv -f"}
8029 : ${RM="rm -f"}
8030
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8032 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8033 # Try some XSI features
8034 xsi_shell=no
8035 ( _lt_dummy="a/b/c"
8036   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8037       = c,a/b,b/c, \
8038     && eval 'test $(( 1 + 1 )) -eq 2 \
8039     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8040   && xsi_shell=yes
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8042 $as_echo "$xsi_shell" >&6; }
8043
8044
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8046 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8047 lt_shell_append=no
8048 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8049     >/dev/null 2>&1 \
8050   && lt_shell_append=yes
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8052 $as_echo "$lt_shell_append" >&6; }
8053
8054
8055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8056   lt_unset=unset
8057 else
8058   lt_unset=false
8059 fi
8060
8061
8062
8063
8064
8065 # test EBCDIC or ASCII
8066 case `echo X|tr X '\101'` in
8067  A) # ASCII based system
8068     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8069   lt_SP2NL='tr \040 \012'
8070   lt_NL2SP='tr \015\012 \040\040'
8071   ;;
8072  *) # EBCDIC based system
8073   lt_SP2NL='tr \100 \n'
8074   lt_NL2SP='tr \r\n \100\100'
8075   ;;
8076 esac
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8087 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8088 if ${lt_cv_to_host_file_cmd+:} false; then :
8089   $as_echo_n "(cached) " >&6
8090 else
8091   case $host in
8092   *-*-mingw* )
8093     case $build in
8094       *-*-mingw* ) # actually msys
8095         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8096         ;;
8097       *-*-cygwin* )
8098         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8099         ;;
8100       * ) # otherwise, assume *nix
8101         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8102         ;;
8103     esac
8104     ;;
8105   *-*-cygwin* )
8106     case $build in
8107       *-*-mingw* ) # actually msys
8108         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8109         ;;
8110       *-*-cygwin* )
8111         lt_cv_to_host_file_cmd=func_convert_file_noop
8112         ;;
8113       * ) # otherwise, assume *nix
8114         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8115         ;;
8116     esac
8117     ;;
8118   * ) # unhandled hosts (and "normal" native builds)
8119     lt_cv_to_host_file_cmd=func_convert_file_noop
8120     ;;
8121 esac
8122
8123 fi
8124
8125 to_host_file_cmd=$lt_cv_to_host_file_cmd
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8127 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8128
8129
8130
8131
8132
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8134 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8135 if ${lt_cv_to_tool_file_cmd+:} false; then :
8136   $as_echo_n "(cached) " >&6
8137 else
8138   #assume ordinary cross tools, or native build.
8139 lt_cv_to_tool_file_cmd=func_convert_file_noop
8140 case $host in
8141   *-*-mingw* )
8142     case $build in
8143       *-*-mingw* ) # actually msys
8144         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8145         ;;
8146     esac
8147     ;;
8148 esac
8149
8150 fi
8151
8152 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8154 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8155
8156
8157
8158
8159
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8161 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8162 if ${lt_cv_ld_reload_flag+:} false; then :
8163   $as_echo_n "(cached) " >&6
8164 else
8165   lt_cv_ld_reload_flag='-r'
8166 fi
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8168 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8169 reload_flag=$lt_cv_ld_reload_flag
8170 case $reload_flag in
8171 "" | " "*) ;;
8172 *) reload_flag=" $reload_flag" ;;
8173 esac
8174 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8175 case $host_os in
8176   cygwin* | mingw* | pw32* | cegcc*)
8177     if test "$GCC" != yes; then
8178       reload_cmds=false
8179     fi
8180     ;;
8181   darwin*)
8182     if test "$GCC" = yes; then
8183       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8184     else
8185       reload_cmds='$LD$reload_flag -o $output$reload_objs'
8186     fi
8187     ;;
8188 esac
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198 if test -n "$ac_tool_prefix"; then
8199   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_OBJDUMP+:} false; then :
8204   $as_echo_n "(cached) " >&6
8205 else
8206   if test -n "$OBJDUMP"; then
8207   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8211 do
8212   IFS=$as_save_IFS
8213   test -z "$as_dir" && as_dir=.
8214     for ac_exec_ext in '' $ac_executable_extensions; do
8215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218     break 2
8219   fi
8220 done
8221   done
8222 IFS=$as_save_IFS
8223
8224 fi
8225 fi
8226 OBJDUMP=$ac_cv_prog_OBJDUMP
8227 if test -n "$OBJDUMP"; then
8228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8229 $as_echo "$OBJDUMP" >&6; }
8230 else
8231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 fi
8234
8235
8236 fi
8237 if test -z "$ac_cv_prog_OBJDUMP"; then
8238   ac_ct_OBJDUMP=$OBJDUMP
8239   # Extract the first word of "objdump", so it can be a program name with args.
8240 set dummy objdump; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8244   $as_echo_n "(cached) " >&6
8245 else
8246   if test -n "$ac_ct_OBJDUMP"; then
8247   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8248 else
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 for as_dir in $PATH
8251 do
8252   IFS=$as_save_IFS
8253   test -z "$as_dir" && as_dir=.
8254     for ac_exec_ext in '' $ac_executable_extensions; do
8255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8256     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258     break 2
8259   fi
8260 done
8261   done
8262 IFS=$as_save_IFS
8263
8264 fi
8265 fi
8266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8267 if test -n "$ac_ct_OBJDUMP"; then
8268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8269 $as_echo "$ac_ct_OBJDUMP" >&6; }
8270 else
8271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 fi
8274
8275   if test "x$ac_ct_OBJDUMP" = x; then
8276     OBJDUMP="false"
8277   else
8278     case $cross_compiling:$ac_tool_warned in
8279 yes:)
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8283 esac
8284     OBJDUMP=$ac_ct_OBJDUMP
8285   fi
8286 else
8287   OBJDUMP="$ac_cv_prog_OBJDUMP"
8288 fi
8289
8290 test -z "$OBJDUMP" && OBJDUMP=objdump
8291
8292
8293
8294
8295
8296
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8298 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8299 if ${lt_cv_deplibs_check_method+:} false; then :
8300   $as_echo_n "(cached) " >&6
8301 else
8302   lt_cv_file_magic_cmd='$MAGIC_CMD'
8303 lt_cv_file_magic_test_file=
8304 lt_cv_deplibs_check_method='unknown'
8305 # Need to set the preceding variable on all platforms that support
8306 # interlibrary dependencies.
8307 # 'none' -- dependencies not supported.
8308 # `unknown' -- same as none, but documents that we really don't know.
8309 # 'pass_all' -- all dependencies passed with no checks.
8310 # 'test_compile' -- check by making test program.
8311 # 'file_magic [[regex]]' -- check by looking for files in library path
8312 # which responds to the $file_magic_cmd with a given extended regex.
8313 # If you have `file' or equivalent on your system and you're not sure
8314 # whether `pass_all' will *always* work, you probably want this one.
8315
8316 case $host_os in
8317 aix[4-9]*)
8318   lt_cv_deplibs_check_method=pass_all
8319   ;;
8320
8321 beos*)
8322   lt_cv_deplibs_check_method=pass_all
8323   ;;
8324
8325 bsdi[45]*)
8326   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8327   lt_cv_file_magic_cmd='/usr/bin/file -L'
8328   lt_cv_file_magic_test_file=/shlib/libc.so
8329   ;;
8330
8331 cygwin*)
8332   # func_win32_libid is a shell function defined in ltmain.sh
8333   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8334   lt_cv_file_magic_cmd='func_win32_libid'
8335   ;;
8336
8337 mingw* | pw32*)
8338   # Base MSYS/MinGW do not provide the 'file' command needed by
8339   # func_win32_libid shell function, so use a weaker test based on 'objdump',
8340   # unless we find 'file', for example because we are cross-compiling.
8341   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8342   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8343     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8344     lt_cv_file_magic_cmd='func_win32_libid'
8345   else
8346     # Keep this pattern in sync with the one in func_win32_libid.
8347     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8348     lt_cv_file_magic_cmd='$OBJDUMP -f'
8349   fi
8350   ;;
8351
8352 cegcc*)
8353   # use the weaker test based on 'objdump'. See mingw*.
8354   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8355   lt_cv_file_magic_cmd='$OBJDUMP -f'
8356   ;;
8357
8358 darwin* | rhapsody*)
8359   lt_cv_deplibs_check_method=pass_all
8360   ;;
8361
8362 freebsd* | dragonfly*)
8363   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8364     case $host_cpu in
8365     i*86 )
8366       # Not sure whether the presence of OpenBSD here was a mistake.
8367       # Let's accept both of them until this is cleared up.
8368       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8369       lt_cv_file_magic_cmd=/usr/bin/file
8370       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8371       ;;
8372     esac
8373   else
8374     lt_cv_deplibs_check_method=pass_all
8375   fi
8376   ;;
8377
8378 gnu*)
8379   lt_cv_deplibs_check_method=pass_all
8380   ;;
8381
8382 haiku*)
8383   lt_cv_deplibs_check_method=pass_all
8384   ;;
8385
8386 hpux10.20* | hpux11*)
8387   lt_cv_file_magic_cmd=/usr/bin/file
8388   case $host_cpu in
8389   ia64*)
8390     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8391     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8392     ;;
8393   hppa*64*)
8394     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]'
8395     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8396     ;;
8397   *)
8398     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8399     lt_cv_file_magic_test_file=/usr/lib/libc.sl
8400     ;;
8401   esac
8402   ;;
8403
8404 interix[3-9]*)
8405   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8406   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8407   ;;
8408
8409 irix5* | irix6* | nonstopux*)
8410   case $LD in
8411   *-32|*"-32 ") libmagic=32-bit;;
8412   *-n32|*"-n32 ") libmagic=N32;;
8413   *-64|*"-64 ") libmagic=64-bit;;
8414   *) libmagic=never-match;;
8415   esac
8416   lt_cv_deplibs_check_method=pass_all
8417   ;;
8418
8419 # This must be Linux ELF.
8420 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8421   lt_cv_deplibs_check_method=pass_all
8422   ;;
8423
8424 netbsd*)
8425   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8426     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8427   else
8428     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8429   fi
8430   ;;
8431
8432 newos6*)
8433   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8434   lt_cv_file_magic_cmd=/usr/bin/file
8435   lt_cv_file_magic_test_file=/usr/lib/libnls.so
8436   ;;
8437
8438 *nto* | *qnx*)
8439   lt_cv_deplibs_check_method=pass_all
8440   ;;
8441
8442 openbsd*)
8443   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8444     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8445   else
8446     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8447   fi
8448   ;;
8449
8450 osf3* | osf4* | osf5*)
8451   lt_cv_deplibs_check_method=pass_all
8452   ;;
8453
8454 rdos*)
8455   lt_cv_deplibs_check_method=pass_all
8456   ;;
8457
8458 solaris*)
8459   lt_cv_deplibs_check_method=pass_all
8460   ;;
8461
8462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8463   lt_cv_deplibs_check_method=pass_all
8464   ;;
8465
8466 sysv4 | sysv4.3*)
8467   case $host_vendor in
8468   motorola)
8469     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]'
8470     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8471     ;;
8472   ncr)
8473     lt_cv_deplibs_check_method=pass_all
8474     ;;
8475   sequent)
8476     lt_cv_file_magic_cmd='/bin/file'
8477     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8478     ;;
8479   sni)
8480     lt_cv_file_magic_cmd='/bin/file'
8481     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8482     lt_cv_file_magic_test_file=/lib/libc.so
8483     ;;
8484   siemens)
8485     lt_cv_deplibs_check_method=pass_all
8486     ;;
8487   pc)
8488     lt_cv_deplibs_check_method=pass_all
8489     ;;
8490   esac
8491   ;;
8492
8493 tpf*)
8494   lt_cv_deplibs_check_method=pass_all
8495   ;;
8496 esac
8497
8498 fi
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8500 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8501
8502 file_magic_glob=
8503 want_nocaseglob=no
8504 if test "$build" = "$host"; then
8505   case $host_os in
8506   mingw* | pw32*)
8507     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8508       want_nocaseglob=yes
8509     else
8510       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8511     fi
8512     ;;
8513   esac
8514 fi
8515
8516 file_magic_cmd=$lt_cv_file_magic_cmd
8517 deplibs_check_method=$lt_cv_deplibs_check_method
8518 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541 if test -n "$ac_tool_prefix"; then
8542   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8543 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8545 $as_echo_n "checking for $ac_word... " >&6; }
8546 if ${ac_cv_prog_DLLTOOL+:} false; then :
8547   $as_echo_n "(cached) " >&6
8548 else
8549   if test -n "$DLLTOOL"; then
8550   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8551 else
8552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8553 for as_dir in $PATH
8554 do
8555   IFS=$as_save_IFS
8556   test -z "$as_dir" && as_dir=.
8557     for ac_exec_ext in '' $ac_executable_extensions; do
8558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8559     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8561     break 2
8562   fi
8563 done
8564   done
8565 IFS=$as_save_IFS
8566
8567 fi
8568 fi
8569 DLLTOOL=$ac_cv_prog_DLLTOOL
8570 if test -n "$DLLTOOL"; then
8571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8572 $as_echo "$DLLTOOL" >&6; }
8573 else
8574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575 $as_echo "no" >&6; }
8576 fi
8577
8578
8579 fi
8580 if test -z "$ac_cv_prog_DLLTOOL"; then
8581   ac_ct_DLLTOOL=$DLLTOOL
8582   # Extract the first word of "dlltool", so it can be a program name with args.
8583 set dummy dlltool; ac_word=$2
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8585 $as_echo_n "checking for $ac_word... " >&6; }
8586 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8587   $as_echo_n "(cached) " >&6
8588 else
8589   if test -n "$ac_ct_DLLTOOL"; then
8590   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8591 else
8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8593 for as_dir in $PATH
8594 do
8595   IFS=$as_save_IFS
8596   test -z "$as_dir" && as_dir=.
8597     for ac_exec_ext in '' $ac_executable_extensions; do
8598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8599     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8601     break 2
8602   fi
8603 done
8604   done
8605 IFS=$as_save_IFS
8606
8607 fi
8608 fi
8609 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8610 if test -n "$ac_ct_DLLTOOL"; then
8611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8612 $as_echo "$ac_ct_DLLTOOL" >&6; }
8613 else
8614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8615 $as_echo "no" >&6; }
8616 fi
8617
8618   if test "x$ac_ct_DLLTOOL" = x; then
8619     DLLTOOL="false"
8620   else
8621     case $cross_compiling:$ac_tool_warned in
8622 yes:)
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8625 ac_tool_warned=yes ;;
8626 esac
8627     DLLTOOL=$ac_ct_DLLTOOL
8628   fi
8629 else
8630   DLLTOOL="$ac_cv_prog_DLLTOOL"
8631 fi
8632
8633 test -z "$DLLTOOL" && DLLTOOL=dlltool
8634
8635
8636
8637
8638
8639
8640
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8642 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8643 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8644   $as_echo_n "(cached) " >&6
8645 else
8646   lt_cv_sharedlib_from_linklib_cmd='unknown'
8647
8648 case $host_os in
8649 cygwin* | mingw* | pw32* | cegcc*)
8650   # two different shell functions defined in ltmain.sh
8651   # decide which to use based on capabilities of $DLLTOOL
8652   case `$DLLTOOL --help 2>&1` in
8653   *--identify-strict*)
8654     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8655     ;;
8656   *)
8657     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8658     ;;
8659   esac
8660   ;;
8661 *)
8662   # fallback: assume linklib IS sharedlib
8663   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8664   ;;
8665 esac
8666
8667 fi
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8669 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8670 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8671 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8672
8673
8674
8675
8676
8677
8678
8679 if test -n "$ac_tool_prefix"; then
8680   for ac_prog in ar
8681   do
8682     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8685 $as_echo_n "checking for $ac_word... " >&6; }
8686 if ${ac_cv_prog_AR+:} false; then :
8687   $as_echo_n "(cached) " >&6
8688 else
8689   if test -n "$AR"; then
8690   ac_cv_prog_AR="$AR" # Let the user override the test.
8691 else
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 for as_dir in $PATH
8694 do
8695   IFS=$as_save_IFS
8696   test -z "$as_dir" && as_dir=.
8697     for ac_exec_ext in '' $ac_executable_extensions; do
8698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8699     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8701     break 2
8702   fi
8703 done
8704   done
8705 IFS=$as_save_IFS
8706
8707 fi
8708 fi
8709 AR=$ac_cv_prog_AR
8710 if test -n "$AR"; then
8711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8712 $as_echo "$AR" >&6; }
8713 else
8714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8716 fi
8717
8718
8719     test -n "$AR" && break
8720   done
8721 fi
8722 if test -z "$AR"; then
8723   ac_ct_AR=$AR
8724   for ac_prog in ar
8725 do
8726   # Extract the first word of "$ac_prog", so it can be a program name with args.
8727 set dummy $ac_prog; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8731   $as_echo_n "(cached) " >&6
8732 else
8733   if test -n "$ac_ct_AR"; then
8734   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8735 else
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737 for as_dir in $PATH
8738 do
8739   IFS=$as_save_IFS
8740   test -z "$as_dir" && as_dir=.
8741     for ac_exec_ext in '' $ac_executable_extensions; do
8742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8743     ac_cv_prog_ac_ct_AR="$ac_prog"
8744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8745     break 2
8746   fi
8747 done
8748   done
8749 IFS=$as_save_IFS
8750
8751 fi
8752 fi
8753 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8754 if test -n "$ac_ct_AR"; then
8755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8756 $as_echo "$ac_ct_AR" >&6; }
8757 else
8758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8759 $as_echo "no" >&6; }
8760 fi
8761
8762
8763   test -n "$ac_ct_AR" && break
8764 done
8765
8766   if test "x$ac_ct_AR" = x; then
8767     AR="false"
8768   else
8769     case $cross_compiling:$ac_tool_warned in
8770 yes:)
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8773 ac_tool_warned=yes ;;
8774 esac
8775     AR=$ac_ct_AR
8776   fi
8777 fi
8778
8779 : ${AR=ar}
8780 : ${AR_FLAGS=cru}
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8793 $as_echo_n "checking for archiver @FILE support... " >&6; }
8794 if ${lt_cv_ar_at_file+:} false; then :
8795   $as_echo_n "(cached) " >&6
8796 else
8797   lt_cv_ar_at_file=no
8798    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h.  */
8800
8801 int
8802 main ()
8803 {
8804
8805   ;
8806   return 0;
8807 }
8808 _ACEOF
8809 if ac_fn_c_try_compile "$LINENO"; then :
8810   echo conftest.$ac_objext > conftest.lst
8811       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8812       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8813   (eval $lt_ar_try) 2>&5
8814   ac_status=$?
8815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8816   test $ac_status = 0; }
8817       if test "$ac_status" -eq 0; then
8818         # Ensure the archiver fails upon bogus file names.
8819         rm -f conftest.$ac_objext libconftest.a
8820         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8821   (eval $lt_ar_try) 2>&5
8822   ac_status=$?
8823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8824   test $ac_status = 0; }
8825         if test "$ac_status" -ne 0; then
8826           lt_cv_ar_at_file=@
8827         fi
8828       fi
8829       rm -f conftest.* libconftest.a
8830
8831 fi
8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8833
8834 fi
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8836 $as_echo "$lt_cv_ar_at_file" >&6; }
8837
8838 if test "x$lt_cv_ar_at_file" = xno; then
8839   archiver_list_spec=
8840 else
8841   archiver_list_spec=$lt_cv_ar_at_file
8842 fi
8843
8844
8845
8846
8847
8848
8849
8850 if test -n "$ac_tool_prefix"; then
8851   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8852 set dummy ${ac_tool_prefix}strip; ac_word=$2
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8854 $as_echo_n "checking for $ac_word... " >&6; }
8855 if ${ac_cv_prog_STRIP+:} false; then :
8856   $as_echo_n "(cached) " >&6
8857 else
8858   if test -n "$STRIP"; then
8859   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8860 else
8861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8862 for as_dir in $PATH
8863 do
8864   IFS=$as_save_IFS
8865   test -z "$as_dir" && as_dir=.
8866     for ac_exec_ext in '' $ac_executable_extensions; do
8867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8868     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8870     break 2
8871   fi
8872 done
8873   done
8874 IFS=$as_save_IFS
8875
8876 fi
8877 fi
8878 STRIP=$ac_cv_prog_STRIP
8879 if test -n "$STRIP"; then
8880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8881 $as_echo "$STRIP" >&6; }
8882 else
8883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8884 $as_echo "no" >&6; }
8885 fi
8886
8887
8888 fi
8889 if test -z "$ac_cv_prog_STRIP"; then
8890   ac_ct_STRIP=$STRIP
8891   # Extract the first word of "strip", so it can be a program name with args.
8892 set dummy strip; ac_word=$2
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8894 $as_echo_n "checking for $ac_word... " >&6; }
8895 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8896   $as_echo_n "(cached) " >&6
8897 else
8898   if test -n "$ac_ct_STRIP"; then
8899   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8900 else
8901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8902 for as_dir in $PATH
8903 do
8904   IFS=$as_save_IFS
8905   test -z "$as_dir" && as_dir=.
8906     for ac_exec_ext in '' $ac_executable_extensions; do
8907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8908     ac_cv_prog_ac_ct_STRIP="strip"
8909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8910     break 2
8911   fi
8912 done
8913   done
8914 IFS=$as_save_IFS
8915
8916 fi
8917 fi
8918 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8919 if test -n "$ac_ct_STRIP"; then
8920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8921 $as_echo "$ac_ct_STRIP" >&6; }
8922 else
8923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8925 fi
8926
8927   if test "x$ac_ct_STRIP" = x; then
8928     STRIP=":"
8929   else
8930     case $cross_compiling:$ac_tool_warned in
8931 yes:)
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8934 ac_tool_warned=yes ;;
8935 esac
8936     STRIP=$ac_ct_STRIP
8937   fi
8938 else
8939   STRIP="$ac_cv_prog_STRIP"
8940 fi
8941
8942 test -z "$STRIP" && STRIP=:
8943
8944
8945
8946
8947
8948
8949 if test -n "$ac_tool_prefix"; then
8950   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8953 $as_echo_n "checking for $ac_word... " >&6; }
8954 if ${ac_cv_prog_RANLIB+:} false; then :
8955   $as_echo_n "(cached) " >&6
8956 else
8957   if test -n "$RANLIB"; then
8958   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8959 else
8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8961 for as_dir in $PATH
8962 do
8963   IFS=$as_save_IFS
8964   test -z "$as_dir" && as_dir=.
8965     for ac_exec_ext in '' $ac_executable_extensions; do
8966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8969     break 2
8970   fi
8971 done
8972   done
8973 IFS=$as_save_IFS
8974
8975 fi
8976 fi
8977 RANLIB=$ac_cv_prog_RANLIB
8978 if test -n "$RANLIB"; then
8979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8980 $as_echo "$RANLIB" >&6; }
8981 else
8982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8983 $as_echo "no" >&6; }
8984 fi
8985
8986
8987 fi
8988 if test -z "$ac_cv_prog_RANLIB"; then
8989   ac_ct_RANLIB=$RANLIB
8990   # Extract the first word of "ranlib", so it can be a program name with args.
8991 set dummy ranlib; ac_word=$2
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8993 $as_echo_n "checking for $ac_word... " >&6; }
8994 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8995   $as_echo_n "(cached) " >&6
8996 else
8997   if test -n "$ac_ct_RANLIB"; then
8998   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8999 else
9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9001 for as_dir in $PATH
9002 do
9003   IFS=$as_save_IFS
9004   test -z "$as_dir" && as_dir=.
9005     for ac_exec_ext in '' $ac_executable_extensions; do
9006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007     ac_cv_prog_ac_ct_RANLIB="ranlib"
9008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9009     break 2
9010   fi
9011 done
9012   done
9013 IFS=$as_save_IFS
9014
9015 fi
9016 fi
9017 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9018 if test -n "$ac_ct_RANLIB"; then
9019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9020 $as_echo "$ac_ct_RANLIB" >&6; }
9021 else
9022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9024 fi
9025
9026   if test "x$ac_ct_RANLIB" = x; then
9027     RANLIB=":"
9028   else
9029     case $cross_compiling:$ac_tool_warned in
9030 yes:)
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9033 ac_tool_warned=yes ;;
9034 esac
9035     RANLIB=$ac_ct_RANLIB
9036   fi
9037 else
9038   RANLIB="$ac_cv_prog_RANLIB"
9039 fi
9040
9041 test -z "$RANLIB" && RANLIB=:
9042
9043
9044
9045
9046
9047
9048 # Determine commands to create old-style static archives.
9049 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9050 old_postinstall_cmds='chmod 644 $oldlib'
9051 old_postuninstall_cmds=
9052
9053 if test -n "$RANLIB"; then
9054   case $host_os in
9055   openbsd*)
9056     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9057     ;;
9058   *)
9059     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9060     ;;
9061   esac
9062   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9063 fi
9064
9065 case $host_os in
9066   darwin*)
9067     lock_old_archive_extraction=yes ;;
9068   *)
9069     lock_old_archive_extraction=no ;;
9070 esac
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110 # If no C compiler was specified, use CC.
9111 LTCC=${LTCC-"$CC"}
9112
9113 # If no C compiler flags were specified, use CFLAGS.
9114 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9115
9116 # Allow CC to be a program name with arguments.
9117 compiler=$CC
9118
9119
9120 # Check for command to grab the raw symbol name followed by C symbol from nm.
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9122 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9123 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9124   $as_echo_n "(cached) " >&6
9125 else
9126
9127 # These are sane defaults that work on at least a few old systems.
9128 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9129
9130 # Character class describing NM global symbol codes.
9131 symcode='[BCDEGRST]'
9132
9133 # Regexp to match symbols that can be accessed directly from C.
9134 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9135
9136 # Define system-specific variables.
9137 case $host_os in
9138 aix*)
9139   symcode='[BCDT]'
9140   ;;
9141 cygwin* | mingw* | pw32* | cegcc*)
9142   symcode='[ABCDGISTW]'
9143   ;;
9144 hpux*)
9145   if test "$host_cpu" = ia64; then
9146     symcode='[ABCDEGRST]'
9147   fi
9148   ;;
9149 irix* | nonstopux*)
9150   symcode='[BCDEGRST]'
9151   ;;
9152 osf*)
9153   symcode='[BCDEGQRST]'
9154   ;;
9155 solaris*)
9156   symcode='[BDRT]'
9157   ;;
9158 sco3.2v5*)
9159   symcode='[DT]'
9160   ;;
9161 sysv4.2uw2*)
9162   symcode='[DT]'
9163   ;;
9164 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9165   symcode='[ABDT]'
9166   ;;
9167 sysv4)
9168   symcode='[DFNSTU]'
9169   ;;
9170 esac
9171
9172 # If we're using GNU nm, then use its standard symbol codes.
9173 case `$NM -V 2>&1` in
9174 *GNU* | *'with BFD'*)
9175   symcode='[ABCDGIRSTW]' ;;
9176 esac
9177
9178 # Transform an extracted symbol line into a proper C declaration.
9179 # Some systems (esp. on ia64) link data and code symbols differently,
9180 # so use this general approach.
9181 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9182
9183 # Transform an extracted symbol line into symbol name and symbol address
9184 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
9185 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'"
9186
9187 # Handle CRLF in mingw tool chain
9188 opt_cr=
9189 case $build_os in
9190 mingw*)
9191   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9192   ;;
9193 esac
9194
9195 # Try without a prefix underscore, then with it.
9196 for ac_symprfx in "" "_"; do
9197
9198   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9199   symxfrm="\\1 $ac_symprfx\\2 \\2"
9200
9201   # Write the raw and C identifiers.
9202   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9203     # Fake it for dumpbin and say T for any non-static function
9204     # and D for any global variable.
9205     # Also find C++ and __fastcall symbols from MSVC++,
9206     # which start with @ or ?.
9207     lt_cv_sys_global_symbol_pipe="$AWK '"\
9208 "     {last_section=section; section=\$ 3};"\
9209 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9210 "     \$ 0!~/External *\|/{next};"\
9211 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9212 "     {if(hide[section]) next};"\
9213 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9214 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9215 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
9216 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9217 "     ' prfx=^$ac_symprfx"
9218   else
9219     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9220   fi
9221   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9222
9223   # Check to see that the pipe works correctly.
9224   pipe_works=no
9225
9226   rm -f conftest*
9227   cat > conftest.$ac_ext <<_LT_EOF
9228 #ifdef __cplusplus
9229 extern "C" {
9230 #endif
9231 char nm_test_var;
9232 void nm_test_func(void);
9233 void nm_test_func(void){}
9234 #ifdef __cplusplus
9235 }
9236 #endif
9237 int main(){nm_test_var='a';nm_test_func();return(0);}
9238 _LT_EOF
9239
9240   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9241   (eval $ac_compile) 2>&5
9242   ac_status=$?
9243   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9244   test $ac_status = 0; }; then
9245     # Now try to grab the symbols.
9246     nlist=conftest.nm
9247     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9248   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9249   ac_status=$?
9250   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9251   test $ac_status = 0; } && test -s "$nlist"; then
9252       # Try sorting and uniquifying the output.
9253       if sort "$nlist" | uniq > "$nlist"T; then
9254         mv -f "$nlist"T "$nlist"
9255       else
9256         rm -f "$nlist"T
9257       fi
9258
9259       # Make sure that we snagged all the symbols we need.
9260       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9261         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9262           cat <<_LT_EOF > conftest.$ac_ext
9263 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
9264 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9265 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9266    relocations are performed -- see ld's documentation on pseudo-relocs.  */
9267 # define LT_DLSYM_CONST
9268 #elif defined(__osf__)
9269 /* This system does not cope well with relocations in const data.  */
9270 # define LT_DLSYM_CONST
9271 #else
9272 # define LT_DLSYM_CONST const
9273 #endif
9274
9275 #ifdef __cplusplus
9276 extern "C" {
9277 #endif
9278
9279 _LT_EOF
9280           # Now generate the symbol file.
9281           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9282
9283           cat <<_LT_EOF >> conftest.$ac_ext
9284
9285 /* The mapping between symbol names and symbols.  */
9286 LT_DLSYM_CONST struct {
9287   const char *name;
9288   void       *address;
9289 }
9290 lt__PROGRAM__LTX_preloaded_symbols[] =
9291 {
9292   { "@PROGRAM@", (void *) 0 },
9293 _LT_EOF
9294           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9295           cat <<\_LT_EOF >> conftest.$ac_ext
9296   {0, (void *) 0}
9297 };
9298
9299 /* This works around a problem in FreeBSD linker */
9300 #ifdef FREEBSD_WORKAROUND
9301 static const void *lt_preloaded_setup() {
9302   return lt__PROGRAM__LTX_preloaded_symbols;
9303 }
9304 #endif
9305
9306 #ifdef __cplusplus
9307 }
9308 #endif
9309 _LT_EOF
9310           # Now try linking the two files.
9311           mv conftest.$ac_objext conftstm.$ac_objext
9312           lt_globsym_save_LIBS=$LIBS
9313           lt_globsym_save_CFLAGS=$CFLAGS
9314           LIBS="conftstm.$ac_objext"
9315           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9316           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9317   (eval $ac_link) 2>&5
9318   ac_status=$?
9319   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9320   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9321             pipe_works=yes
9322           fi
9323           LIBS=$lt_globsym_save_LIBS
9324           CFLAGS=$lt_globsym_save_CFLAGS
9325         else
9326           echo "cannot find nm_test_func in $nlist" >&5
9327         fi
9328       else
9329         echo "cannot find nm_test_var in $nlist" >&5
9330       fi
9331     else
9332       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9333     fi
9334   else
9335     echo "$progname: failed program was:" >&5
9336     cat conftest.$ac_ext >&5
9337   fi
9338   rm -rf conftest* conftst*
9339
9340   # Do not use the global_symbol_pipe unless it works.
9341   if test "$pipe_works" = yes; then
9342     break
9343   else
9344     lt_cv_sys_global_symbol_pipe=
9345   fi
9346 done
9347
9348 fi
9349
9350 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9351   lt_cv_sys_global_symbol_to_cdecl=
9352 fi
9353 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9355 $as_echo "failed" >&6; }
9356 else
9357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9358 $as_echo "ok" >&6; }
9359 fi
9360
9361 # Response file support.
9362 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9363   nm_file_list_spec='@'
9364 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9365   nm_file_list_spec='@'
9366 fi
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9395 $as_echo_n "checking for sysroot... " >&6; }
9396
9397 # Check whether --with-sysroot was given.
9398 if test "${with_sysroot+set}" = set; then :
9399   withval=$with_sysroot;
9400 else
9401   with_sysroot=no
9402 fi
9403
9404
9405 lt_sysroot=
9406 case ${with_sysroot} in #(
9407  yes)
9408    if test "$GCC" = yes; then
9409      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9410    fi
9411    ;; #(
9412  /*)
9413    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9414    ;; #(
9415  no|'')
9416    ;; #(
9417  *)
9418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9419 $as_echo "${with_sysroot}" >&6; }
9420    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9421    ;;
9422 esac
9423
9424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9425 $as_echo "${lt_sysroot:-no}" >&6; }
9426
9427
9428
9429
9430
9431 # Check whether --enable-libtool-lock was given.
9432 if test "${enable_libtool_lock+set}" = set; then :
9433   enableval=$enable_libtool_lock;
9434 fi
9435
9436 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9437
9438 # Some flags need to be propagated to the compiler or linker for good
9439 # libtool support.
9440 case $host in
9441 ia64-*-hpux*)
9442   # Find out which ABI we are using.
9443   echo 'int i;' > conftest.$ac_ext
9444   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9445   (eval $ac_compile) 2>&5
9446   ac_status=$?
9447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9448   test $ac_status = 0; }; then
9449     case `/usr/bin/file conftest.$ac_objext` in
9450       *ELF-32*)
9451         HPUX_IA64_MODE="32"
9452         ;;
9453       *ELF-64*)
9454         HPUX_IA64_MODE="64"
9455         ;;
9456     esac
9457   fi
9458   rm -rf conftest*
9459   ;;
9460 *-*-irix6*)
9461   # Find out which ABI we are using.
9462   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9463   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9464   (eval $ac_compile) 2>&5
9465   ac_status=$?
9466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9467   test $ac_status = 0; }; then
9468     if test "$lt_cv_prog_gnu_ld" = yes; then
9469       case `/usr/bin/file conftest.$ac_objext` in
9470         *32-bit*)
9471           LD="${LD-ld} -melf32bsmip"
9472           ;;
9473         *N32*)
9474           LD="${LD-ld} -melf32bmipn32"
9475           ;;
9476         *64-bit*)
9477           LD="${LD-ld} -melf64bmip"
9478         ;;
9479       esac
9480     else
9481       case `/usr/bin/file conftest.$ac_objext` in
9482         *32-bit*)
9483           LD="${LD-ld} -32"
9484           ;;
9485         *N32*)
9486           LD="${LD-ld} -n32"
9487           ;;
9488         *64-bit*)
9489           LD="${LD-ld} -64"
9490           ;;
9491       esac
9492     fi
9493   fi
9494   rm -rf conftest*
9495   ;;
9496
9497 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9498 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9499   # Find out which ABI we are using.
9500   echo 'int i;' > conftest.$ac_ext
9501   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9502   (eval $ac_compile) 2>&5
9503   ac_status=$?
9504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9505   test $ac_status = 0; }; then
9506     case `/usr/bin/file conftest.o` in
9507       *32-bit*)
9508         case $host in
9509           x86_64-*kfreebsd*-gnu)
9510             LD="${LD-ld} -m elf_i386_fbsd"
9511             ;;
9512           x86_64-*linux*)
9513             LD="${LD-ld} -m elf_i386"
9514             ;;
9515           ppc64-*linux*|powerpc64-*linux*)
9516             LD="${LD-ld} -m elf32ppclinux"
9517             ;;
9518           s390x-*linux*)
9519             LD="${LD-ld} -m elf_s390"
9520             ;;
9521           sparc64-*linux*)
9522             LD="${LD-ld} -m elf32_sparc"
9523             ;;
9524         esac
9525         ;;
9526       *64-bit*)
9527         case $host in
9528           x86_64-*kfreebsd*-gnu)
9529             LD="${LD-ld} -m elf_x86_64_fbsd"
9530             ;;
9531           x86_64-*linux*)
9532             LD="${LD-ld} -m elf_x86_64"
9533             ;;
9534           ppc*-*linux*|powerpc*-*linux*)
9535             LD="${LD-ld} -m elf64ppc"
9536             ;;
9537           s390*-*linux*|s390*-*tpf*)
9538             LD="${LD-ld} -m elf64_s390"
9539             ;;
9540           sparc*-*linux*)
9541             LD="${LD-ld} -m elf64_sparc"
9542             ;;
9543         esac
9544         ;;
9545     esac
9546   fi
9547   rm -rf conftest*
9548   ;;
9549
9550 *-*-sco3.2v5*)
9551   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9552   SAVE_CFLAGS="$CFLAGS"
9553   CFLAGS="$CFLAGS -belf"
9554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9555 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9556 if ${lt_cv_cc_needs_belf+:} false; then :
9557   $as_echo_n "(cached) " >&6
9558 else
9559   ac_ext=c
9560 ac_cpp='$CPP $CPPFLAGS'
9561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9564
9565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h.  */
9567
9568 int
9569 main ()
9570 {
9571
9572   ;
9573   return 0;
9574 }
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577   lt_cv_cc_needs_belf=yes
9578 else
9579   lt_cv_cc_needs_belf=no
9580 fi
9581 rm -f core conftest.err conftest.$ac_objext \
9582     conftest$ac_exeext conftest.$ac_ext
9583      ac_ext=c
9584 ac_cpp='$CPP $CPPFLAGS'
9585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9588
9589 fi
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9591 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9592   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9593     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9594     CFLAGS="$SAVE_CFLAGS"
9595   fi
9596   ;;
9597 sparc*-*solaris*)
9598   # Find out which ABI we are using.
9599   echo 'int i;' > conftest.$ac_ext
9600   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9601   (eval $ac_compile) 2>&5
9602   ac_status=$?
9603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9604   test $ac_status = 0; }; then
9605     case `/usr/bin/file conftest.o` in
9606     *64-bit*)
9607       case $lt_cv_prog_gnu_ld in
9608       yes*) LD="${LD-ld} -m elf64_sparc" ;;
9609       *)
9610         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9611           LD="${LD-ld} -64"
9612         fi
9613         ;;
9614       esac
9615       ;;
9616     esac
9617   fi
9618   rm -rf conftest*
9619   ;;
9620 esac
9621
9622 need_locks="$enable_libtool_lock"
9623
9624 if test -n "$ac_tool_prefix"; then
9625   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9626 set dummy ${ac_tool_prefix}mt; ac_word=$2
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 $as_echo_n "checking for $ac_word... " >&6; }
9629 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9630   $as_echo_n "(cached) " >&6
9631 else
9632   if test -n "$MANIFEST_TOOL"; then
9633   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9634 else
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 for as_dir in $PATH
9637 do
9638   IFS=$as_save_IFS
9639   test -z "$as_dir" && as_dir=.
9640     for ac_exec_ext in '' $ac_executable_extensions; do
9641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9642     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9644     break 2
9645   fi
9646 done
9647   done
9648 IFS=$as_save_IFS
9649
9650 fi
9651 fi
9652 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9653 if test -n "$MANIFEST_TOOL"; then
9654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9655 $as_echo "$MANIFEST_TOOL" >&6; }
9656 else
9657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9658 $as_echo "no" >&6; }
9659 fi
9660
9661
9662 fi
9663 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9664   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9665   # Extract the first word of "mt", so it can be a program name with args.
9666 set dummy mt; ac_word=$2
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9668 $as_echo_n "checking for $ac_word... " >&6; }
9669 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9670   $as_echo_n "(cached) " >&6
9671 else
9672   if test -n "$ac_ct_MANIFEST_TOOL"; then
9673   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9674 else
9675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676 for as_dir in $PATH
9677 do
9678   IFS=$as_save_IFS
9679   test -z "$as_dir" && as_dir=.
9680     for ac_exec_ext in '' $ac_executable_extensions; do
9681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9684     break 2
9685   fi
9686 done
9687   done
9688 IFS=$as_save_IFS
9689
9690 fi
9691 fi
9692 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9693 if test -n "$ac_ct_MANIFEST_TOOL"; then
9694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9695 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9696 else
9697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 $as_echo "no" >&6; }
9699 fi
9700
9701   if test "x$ac_ct_MANIFEST_TOOL" = x; then
9702     MANIFEST_TOOL=":"
9703   else
9704     case $cross_compiling:$ac_tool_warned in
9705 yes:)
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9708 ac_tool_warned=yes ;;
9709 esac
9710     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9711   fi
9712 else
9713   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9714 fi
9715
9716 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9718 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9719 if ${lt_cv_path_mainfest_tool+:} false; then :
9720   $as_echo_n "(cached) " >&6
9721 else
9722   lt_cv_path_mainfest_tool=no
9723   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9724   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9725   cat conftest.err >&5
9726   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9727     lt_cv_path_mainfest_tool=yes
9728   fi
9729   rm -f conftest*
9730 fi
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9732 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9733 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9734   MANIFEST_TOOL=:
9735 fi
9736
9737
9738
9739
9740
9741
9742   case $host_os in
9743     rhapsody* | darwin*)
9744     if test -n "$ac_tool_prefix"; then
9745   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9746 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9748 $as_echo_n "checking for $ac_word... " >&6; }
9749 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9750   $as_echo_n "(cached) " >&6
9751 else
9752   if test -n "$DSYMUTIL"; then
9753   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9754 else
9755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9756 for as_dir in $PATH
9757 do
9758   IFS=$as_save_IFS
9759   test -z "$as_dir" && as_dir=.
9760     for ac_exec_ext in '' $ac_executable_extensions; do
9761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9762     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9764     break 2
9765   fi
9766 done
9767   done
9768 IFS=$as_save_IFS
9769
9770 fi
9771 fi
9772 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9773 if test -n "$DSYMUTIL"; then
9774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9775 $as_echo "$DSYMUTIL" >&6; }
9776 else
9777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9778 $as_echo "no" >&6; }
9779 fi
9780
9781
9782 fi
9783 if test -z "$ac_cv_prog_DSYMUTIL"; then
9784   ac_ct_DSYMUTIL=$DSYMUTIL
9785   # Extract the first word of "dsymutil", so it can be a program name with args.
9786 set dummy dsymutil; ac_word=$2
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9788 $as_echo_n "checking for $ac_word... " >&6; }
9789 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9790   $as_echo_n "(cached) " >&6
9791 else
9792   if test -n "$ac_ct_DSYMUTIL"; then
9793   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9794 else
9795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9796 for as_dir in $PATH
9797 do
9798   IFS=$as_save_IFS
9799   test -z "$as_dir" && as_dir=.
9800     for ac_exec_ext in '' $ac_executable_extensions; do
9801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9802     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9804     break 2
9805   fi
9806 done
9807   done
9808 IFS=$as_save_IFS
9809
9810 fi
9811 fi
9812 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9813 if test -n "$ac_ct_DSYMUTIL"; then
9814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9815 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9816 else
9817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9818 $as_echo "no" >&6; }
9819 fi
9820
9821   if test "x$ac_ct_DSYMUTIL" = x; then
9822     DSYMUTIL=":"
9823   else
9824     case $cross_compiling:$ac_tool_warned in
9825 yes:)
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9828 ac_tool_warned=yes ;;
9829 esac
9830     DSYMUTIL=$ac_ct_DSYMUTIL
9831   fi
9832 else
9833   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9834 fi
9835
9836     if test -n "$ac_tool_prefix"; then
9837   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9838 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9840 $as_echo_n "checking for $ac_word... " >&6; }
9841 if ${ac_cv_prog_NMEDIT+:} false; then :
9842   $as_echo_n "(cached) " >&6
9843 else
9844   if test -n "$NMEDIT"; then
9845   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9846 else
9847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9848 for as_dir in $PATH
9849 do
9850   IFS=$as_save_IFS
9851   test -z "$as_dir" && as_dir=.
9852     for ac_exec_ext in '' $ac_executable_extensions; do
9853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9854     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9856     break 2
9857   fi
9858 done
9859   done
9860 IFS=$as_save_IFS
9861
9862 fi
9863 fi
9864 NMEDIT=$ac_cv_prog_NMEDIT
9865 if test -n "$NMEDIT"; then
9866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9867 $as_echo "$NMEDIT" >&6; }
9868 else
9869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 $as_echo "no" >&6; }
9871 fi
9872
9873
9874 fi
9875 if test -z "$ac_cv_prog_NMEDIT"; then
9876   ac_ct_NMEDIT=$NMEDIT
9877   # Extract the first word of "nmedit", so it can be a program name with args.
9878 set dummy nmedit; ac_word=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9880 $as_echo_n "checking for $ac_word... " >&6; }
9881 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9882   $as_echo_n "(cached) " >&6
9883 else
9884   if test -n "$ac_ct_NMEDIT"; then
9885   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9886 else
9887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9888 for as_dir in $PATH
9889 do
9890   IFS=$as_save_IFS
9891   test -z "$as_dir" && as_dir=.
9892     for ac_exec_ext in '' $ac_executable_extensions; do
9893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9894     ac_cv_prog_ac_ct_NMEDIT="nmedit"
9895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9896     break 2
9897   fi
9898 done
9899   done
9900 IFS=$as_save_IFS
9901
9902 fi
9903 fi
9904 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9905 if test -n "$ac_ct_NMEDIT"; then
9906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9907 $as_echo "$ac_ct_NMEDIT" >&6; }
9908 else
9909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9910 $as_echo "no" >&6; }
9911 fi
9912
9913   if test "x$ac_ct_NMEDIT" = x; then
9914     NMEDIT=":"
9915   else
9916     case $cross_compiling:$ac_tool_warned in
9917 yes:)
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9920 ac_tool_warned=yes ;;
9921 esac
9922     NMEDIT=$ac_ct_NMEDIT
9923   fi
9924 else
9925   NMEDIT="$ac_cv_prog_NMEDIT"
9926 fi
9927
9928     if test -n "$ac_tool_prefix"; then
9929   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9930 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9932 $as_echo_n "checking for $ac_word... " >&6; }
9933 if ${ac_cv_prog_LIPO+:} false; then :
9934   $as_echo_n "(cached) " >&6
9935 else
9936   if test -n "$LIPO"; then
9937   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9938 else
9939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9940 for as_dir in $PATH
9941 do
9942   IFS=$as_save_IFS
9943   test -z "$as_dir" && as_dir=.
9944     for ac_exec_ext in '' $ac_executable_extensions; do
9945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9946     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9948     break 2
9949   fi
9950 done
9951   done
9952 IFS=$as_save_IFS
9953
9954 fi
9955 fi
9956 LIPO=$ac_cv_prog_LIPO
9957 if test -n "$LIPO"; then
9958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9959 $as_echo "$LIPO" >&6; }
9960 else
9961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9962 $as_echo "no" >&6; }
9963 fi
9964
9965
9966 fi
9967 if test -z "$ac_cv_prog_LIPO"; then
9968   ac_ct_LIPO=$LIPO
9969   # Extract the first word of "lipo", so it can be a program name with args.
9970 set dummy lipo; ac_word=$2
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9972 $as_echo_n "checking for $ac_word... " >&6; }
9973 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9974   $as_echo_n "(cached) " >&6
9975 else
9976   if test -n "$ac_ct_LIPO"; then
9977   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9978 else
9979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9980 for as_dir in $PATH
9981 do
9982   IFS=$as_save_IFS
9983   test -z "$as_dir" && as_dir=.
9984     for ac_exec_ext in '' $ac_executable_extensions; do
9985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9986     ac_cv_prog_ac_ct_LIPO="lipo"
9987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9988     break 2
9989   fi
9990 done
9991   done
9992 IFS=$as_save_IFS
9993
9994 fi
9995 fi
9996 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9997 if test -n "$ac_ct_LIPO"; then
9998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9999 $as_echo "$ac_ct_LIPO" >&6; }
10000 else
10001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10002 $as_echo "no" >&6; }
10003 fi
10004
10005   if test "x$ac_ct_LIPO" = x; then
10006     LIPO=":"
10007   else
10008     case $cross_compiling:$ac_tool_warned in
10009 yes:)
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10012 ac_tool_warned=yes ;;
10013 esac
10014     LIPO=$ac_ct_LIPO
10015   fi
10016 else
10017   LIPO="$ac_cv_prog_LIPO"
10018 fi
10019
10020     if test -n "$ac_tool_prefix"; then
10021   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10022 set dummy ${ac_tool_prefix}otool; ac_word=$2
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10024 $as_echo_n "checking for $ac_word... " >&6; }
10025 if ${ac_cv_prog_OTOOL+:} false; then :
10026   $as_echo_n "(cached) " >&6
10027 else
10028   if test -n "$OTOOL"; then
10029   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10030 else
10031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10032 for as_dir in $PATH
10033 do
10034   IFS=$as_save_IFS
10035   test -z "$as_dir" && as_dir=.
10036     for ac_exec_ext in '' $ac_executable_extensions; do
10037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10038     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10040     break 2
10041   fi
10042 done
10043   done
10044 IFS=$as_save_IFS
10045
10046 fi
10047 fi
10048 OTOOL=$ac_cv_prog_OTOOL
10049 if test -n "$OTOOL"; then
10050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10051 $as_echo "$OTOOL" >&6; }
10052 else
10053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10054 $as_echo "no" >&6; }
10055 fi
10056
10057
10058 fi
10059 if test -z "$ac_cv_prog_OTOOL"; then
10060   ac_ct_OTOOL=$OTOOL
10061   # Extract the first word of "otool", so it can be a program name with args.
10062 set dummy otool; ac_word=$2
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10064 $as_echo_n "checking for $ac_word... " >&6; }
10065 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10066   $as_echo_n "(cached) " >&6
10067 else
10068   if test -n "$ac_ct_OTOOL"; then
10069   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10070 else
10071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10072 for as_dir in $PATH
10073 do
10074   IFS=$as_save_IFS
10075   test -z "$as_dir" && as_dir=.
10076     for ac_exec_ext in '' $ac_executable_extensions; do
10077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10078     ac_cv_prog_ac_ct_OTOOL="otool"
10079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10080     break 2
10081   fi
10082 done
10083   done
10084 IFS=$as_save_IFS
10085
10086 fi
10087 fi
10088 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10089 if test -n "$ac_ct_OTOOL"; then
10090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10091 $as_echo "$ac_ct_OTOOL" >&6; }
10092 else
10093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10094 $as_echo "no" >&6; }
10095 fi
10096
10097   if test "x$ac_ct_OTOOL" = x; then
10098     OTOOL=":"
10099   else
10100     case $cross_compiling:$ac_tool_warned in
10101 yes:)
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10104 ac_tool_warned=yes ;;
10105 esac
10106     OTOOL=$ac_ct_OTOOL
10107   fi
10108 else
10109   OTOOL="$ac_cv_prog_OTOOL"
10110 fi
10111
10112     if test -n "$ac_tool_prefix"; then
10113   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10114 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10116 $as_echo_n "checking for $ac_word... " >&6; }
10117 if ${ac_cv_prog_OTOOL64+:} false; then :
10118   $as_echo_n "(cached) " >&6
10119 else
10120   if test -n "$OTOOL64"; then
10121   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10122 else
10123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10124 for as_dir in $PATH
10125 do
10126   IFS=$as_save_IFS
10127   test -z "$as_dir" && as_dir=.
10128     for ac_exec_ext in '' $ac_executable_extensions; do
10129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10130     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10132     break 2
10133   fi
10134 done
10135   done
10136 IFS=$as_save_IFS
10137
10138 fi
10139 fi
10140 OTOOL64=$ac_cv_prog_OTOOL64
10141 if test -n "$OTOOL64"; then
10142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10143 $as_echo "$OTOOL64" >&6; }
10144 else
10145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10146 $as_echo "no" >&6; }
10147 fi
10148
10149
10150 fi
10151 if test -z "$ac_cv_prog_OTOOL64"; then
10152   ac_ct_OTOOL64=$OTOOL64
10153   # Extract the first word of "otool64", so it can be a program name with args.
10154 set dummy otool64; ac_word=$2
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10156 $as_echo_n "checking for $ac_word... " >&6; }
10157 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10158   $as_echo_n "(cached) " >&6
10159 else
10160   if test -n "$ac_ct_OTOOL64"; then
10161   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10162 else
10163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 for as_dir in $PATH
10165 do
10166   IFS=$as_save_IFS
10167   test -z "$as_dir" && as_dir=.
10168     for ac_exec_ext in '' $ac_executable_extensions; do
10169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10170     ac_cv_prog_ac_ct_OTOOL64="otool64"
10171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10172     break 2
10173   fi
10174 done
10175   done
10176 IFS=$as_save_IFS
10177
10178 fi
10179 fi
10180 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10181 if test -n "$ac_ct_OTOOL64"; then
10182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10183 $as_echo "$ac_ct_OTOOL64" >&6; }
10184 else
10185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10186 $as_echo "no" >&6; }
10187 fi
10188
10189   if test "x$ac_ct_OTOOL64" = x; then
10190     OTOOL64=":"
10191   else
10192     case $cross_compiling:$ac_tool_warned in
10193 yes:)
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10196 ac_tool_warned=yes ;;
10197 esac
10198     OTOOL64=$ac_ct_OTOOL64
10199   fi
10200 else
10201   OTOOL64="$ac_cv_prog_OTOOL64"
10202 fi
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10231 $as_echo_n "checking for -single_module linker flag... " >&6; }
10232 if ${lt_cv_apple_cc_single_mod+:} false; then :
10233   $as_echo_n "(cached) " >&6
10234 else
10235   lt_cv_apple_cc_single_mod=no
10236       if test -z "${LT_MULTI_MODULE}"; then
10237         # By default we will add the -single_module flag. You can override
10238         # by either setting the environment variable LT_MULTI_MODULE
10239         # non-empty at configure time, or by adding -multi_module to the
10240         # link flags.
10241         rm -rf libconftest.dylib*
10242         echo "int foo(void){return 1;}" > conftest.c
10243         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10244 -dynamiclib -Wl,-single_module conftest.c" >&5
10245         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10246           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10247         _lt_result=$?
10248         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10249           lt_cv_apple_cc_single_mod=yes
10250         else
10251           cat conftest.err >&5
10252         fi
10253         rm -rf libconftest.dylib*
10254         rm -f conftest.*
10255       fi
10256 fi
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10258 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10260 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10261 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10262   $as_echo_n "(cached) " >&6
10263 else
10264   lt_cv_ld_exported_symbols_list=no
10265       save_LDFLAGS=$LDFLAGS
10266       echo "_main" > conftest.sym
10267       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h.  */
10270
10271 int
10272 main ()
10273 {
10274
10275   ;
10276   return 0;
10277 }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280   lt_cv_ld_exported_symbols_list=yes
10281 else
10282   lt_cv_ld_exported_symbols_list=no
10283 fi
10284 rm -f core conftest.err conftest.$ac_objext \
10285     conftest$ac_exeext conftest.$ac_ext
10286         LDFLAGS="$save_LDFLAGS"
10287
10288 fi
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10290 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10291     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10292 $as_echo_n "checking for -force_load linker flag... " >&6; }
10293 if ${lt_cv_ld_force_load+:} false; then :
10294   $as_echo_n "(cached) " >&6
10295 else
10296   lt_cv_ld_force_load=no
10297       cat > conftest.c << _LT_EOF
10298 int forced_loaded() { return 2;}
10299 _LT_EOF
10300       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10301       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10302       echo "$AR cru libconftest.a conftest.o" >&5
10303       $AR cru libconftest.a conftest.o 2>&5
10304       echo "$RANLIB libconftest.a" >&5
10305       $RANLIB libconftest.a 2>&5
10306       cat > conftest.c << _LT_EOF
10307 int main() { return 0;}
10308 _LT_EOF
10309       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10310       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10311       _lt_result=$?
10312       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
10313         lt_cv_ld_force_load=yes
10314       else
10315         cat conftest.err >&5
10316       fi
10317         rm -f conftest.err libconftest.a conftest conftest.c
10318         rm -rf conftest.dSYM
10319
10320 fi
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10322 $as_echo "$lt_cv_ld_force_load" >&6; }
10323     case $host_os in
10324     rhapsody* | darwin1.[012])
10325       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10326     darwin1.*)
10327       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10328     darwin*) # darwin 5.x on
10329       # if running on 10.5 or later, the deployment target defaults
10330       # to the OS version, if on x86, and 10.4, the deployment
10331       # target defaults to 10.4. Don't you love it?
10332       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10333         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10334           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10335         10.[012]*)
10336           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10337         10.*)
10338           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10339       esac
10340     ;;
10341   esac
10342     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10343       _lt_dar_single_mod='$single_module'
10344     fi
10345     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10346       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10347     else
10348       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10349     fi
10350     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10351       _lt_dsymutil='~$DSYMUTIL $lib || :'
10352     else
10353       _lt_dsymutil=
10354     fi
10355     ;;
10356   esac
10357
10358 for ac_header in dlfcn.h
10359 do :
10360   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10361 "
10362 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10363   cat >>confdefs.h <<_ACEOF
10364 #define HAVE_DLFCN_H 1
10365 _ACEOF
10366
10367 fi
10368
10369 done
10370
10371
10372
10373 func_stripname_cnf ()
10374 {
10375   case ${2} in
10376   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10377   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10378   esac
10379 } # func_stripname_cnf
10380
10381
10382
10383
10384
10385 # Set options
10386
10387
10388
10389         enable_dlopen=no
10390
10391
10392
10393             # Check whether --enable-shared was given.
10394 if test "${enable_shared+set}" = set; then :
10395   enableval=$enable_shared; p=${PACKAGE-default}
10396     case $enableval in
10397     yes) enable_shared=yes ;;
10398     no) enable_shared=no ;;
10399     *)
10400       enable_shared=no
10401       # Look at the argument we got.  We use all the common list separators.
10402       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10403       for pkg in $enableval; do
10404         IFS="$lt_save_ifs"
10405         if test "X$pkg" = "X$p"; then
10406           enable_shared=yes
10407         fi
10408       done
10409       IFS="$lt_save_ifs"
10410       ;;
10411     esac
10412 else
10413   enable_shared=yes
10414 fi
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426 # Check whether --with-pic was given.
10427 if test "${with_pic+set}" = set; then :
10428   withval=$with_pic; pic_mode="$withval"
10429 else
10430   pic_mode=default
10431 fi
10432
10433
10434 test -z "$pic_mode" && pic_mode=default
10435
10436
10437
10438
10439
10440
10441
10442   # Check whether --enable-fast-install was given.
10443 if test "${enable_fast_install+set}" = set; then :
10444   enableval=$enable_fast_install; p=${PACKAGE-default}
10445     case $enableval in
10446     yes) enable_fast_install=yes ;;
10447     no) enable_fast_install=no ;;
10448     *)
10449       enable_fast_install=no
10450       # Look at the argument we got.  We use all the common list separators.
10451       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10452       for pkg in $enableval; do
10453         IFS="$lt_save_ifs"
10454         if test "X$pkg" = "X$p"; then
10455           enable_fast_install=yes
10456         fi
10457       done
10458       IFS="$lt_save_ifs"
10459       ;;
10460     esac
10461 else
10462   enable_fast_install=yes
10463 fi
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475 # This can be used to rebuild libtool when needed
10476 LIBTOOL_DEPS="$ltmain"
10477
10478 # Always use our own libtool.
10479 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506 test -z "$LN_S" && LN_S="ln -s"
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521 if test -n "${ZSH_VERSION+set}" ; then
10522    setopt NO_GLOB_SUBST
10523 fi
10524
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10526 $as_echo_n "checking for objdir... " >&6; }
10527 if ${lt_cv_objdir+:} false; then :
10528   $as_echo_n "(cached) " >&6
10529 else
10530   rm -f .libs 2>/dev/null
10531 mkdir .libs 2>/dev/null
10532 if test -d .libs; then
10533   lt_cv_objdir=.libs
10534 else
10535   # MS-DOS does not allow filenames that begin with a dot.
10536   lt_cv_objdir=_libs
10537 fi
10538 rmdir .libs 2>/dev/null
10539 fi
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10541 $as_echo "$lt_cv_objdir" >&6; }
10542 objdir=$lt_cv_objdir
10543
10544
10545
10546
10547
10548 cat >>confdefs.h <<_ACEOF
10549 #define LT_OBJDIR "$lt_cv_objdir/"
10550 _ACEOF
10551
10552
10553
10554
10555 case $host_os in
10556 aix3*)
10557   # AIX sometimes has problems with the GCC collect2 program.  For some
10558   # reason, if we set the COLLECT_NAMES environment variable, the problems
10559   # vanish in a puff of smoke.
10560   if test "X${COLLECT_NAMES+set}" != Xset; then
10561     COLLECT_NAMES=
10562     export COLLECT_NAMES
10563   fi
10564   ;;
10565 esac
10566
10567 # Global variables:
10568 ofile=libtool
10569 can_build_shared=yes
10570
10571 # All known linkers require a `.a' archive for static linking (except MSVC,
10572 # which needs '.lib').
10573 libext=a
10574
10575 with_gnu_ld="$lt_cv_prog_gnu_ld"
10576
10577 old_CC="$CC"
10578 old_CFLAGS="$CFLAGS"
10579
10580 # Set sane defaults for various variables
10581 test -z "$CC" && CC=cc
10582 test -z "$LTCC" && LTCC=$CC
10583 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10584 test -z "$LD" && LD=ld
10585 test -z "$ac_objext" && ac_objext=o
10586
10587 for cc_temp in $compiler""; do
10588   case $cc_temp in
10589     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10590     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10591     \-*) ;;
10592     *) break;;
10593   esac
10594 done
10595 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10596
10597
10598 # Only perform the check for file, if the check method requires it
10599 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10600 case $deplibs_check_method in
10601 file_magic*)
10602   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10603     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10604 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10605 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10606   $as_echo_n "(cached) " >&6
10607 else
10608   case $MAGIC_CMD in
10609 [\\/*] |  ?:[\\/]*)
10610   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10611   ;;
10612 *)
10613   lt_save_MAGIC_CMD="$MAGIC_CMD"
10614   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10615   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10616   for ac_dir in $ac_dummy; do
10617     IFS="$lt_save_ifs"
10618     test -z "$ac_dir" && ac_dir=.
10619     if test -f $ac_dir/${ac_tool_prefix}file; then
10620       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10621       if test -n "$file_magic_test_file"; then
10622         case $deplibs_check_method in
10623         "file_magic "*)
10624           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10625           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10626           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10627             $EGREP "$file_magic_regex" > /dev/null; then
10628             :
10629           else
10630             cat <<_LT_EOF 1>&2
10631
10632 *** Warning: the command libtool uses to detect shared libraries,
10633 *** $file_magic_cmd, produces output that libtool cannot recognize.
10634 *** The result is that libtool may fail to recognize shared libraries
10635 *** as such.  This will affect the creation of libtool libraries that
10636 *** depend on shared libraries, but programs linked with such libtool
10637 *** libraries will work regardless of this problem.  Nevertheless, you
10638 *** may want to report the problem to your system manager and/or to
10639 *** bug-libtool@gnu.org
10640
10641 _LT_EOF
10642           fi ;;
10643         esac
10644       fi
10645       break
10646     fi
10647   done
10648   IFS="$lt_save_ifs"
10649   MAGIC_CMD="$lt_save_MAGIC_CMD"
10650   ;;
10651 esac
10652 fi
10653
10654 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10655 if test -n "$MAGIC_CMD"; then
10656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10657 $as_echo "$MAGIC_CMD" >&6; }
10658 else
10659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10660 $as_echo "no" >&6; }
10661 fi
10662
10663
10664
10665
10666
10667 if test -z "$lt_cv_path_MAGIC_CMD"; then
10668   if test -n "$ac_tool_prefix"; then
10669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10670 $as_echo_n "checking for file... " >&6; }
10671 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10672   $as_echo_n "(cached) " >&6
10673 else
10674   case $MAGIC_CMD in
10675 [\\/*] |  ?:[\\/]*)
10676   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10677   ;;
10678 *)
10679   lt_save_MAGIC_CMD="$MAGIC_CMD"
10680   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10681   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10682   for ac_dir in $ac_dummy; do
10683     IFS="$lt_save_ifs"
10684     test -z "$ac_dir" && ac_dir=.
10685     if test -f $ac_dir/file; then
10686       lt_cv_path_MAGIC_CMD="$ac_dir/file"
10687       if test -n "$file_magic_test_file"; then
10688         case $deplibs_check_method in
10689         "file_magic "*)
10690           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10691           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10692           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10693             $EGREP "$file_magic_regex" > /dev/null; then
10694             :
10695           else
10696             cat <<_LT_EOF 1>&2
10697
10698 *** Warning: the command libtool uses to detect shared libraries,
10699 *** $file_magic_cmd, produces output that libtool cannot recognize.
10700 *** The result is that libtool may fail to recognize shared libraries
10701 *** as such.  This will affect the creation of libtool libraries that
10702 *** depend on shared libraries, but programs linked with such libtool
10703 *** libraries will work regardless of this problem.  Nevertheless, you
10704 *** may want to report the problem to your system manager and/or to
10705 *** bug-libtool@gnu.org
10706
10707 _LT_EOF
10708           fi ;;
10709         esac
10710       fi
10711       break
10712     fi
10713   done
10714   IFS="$lt_save_ifs"
10715   MAGIC_CMD="$lt_save_MAGIC_CMD"
10716   ;;
10717 esac
10718 fi
10719
10720 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10721 if test -n "$MAGIC_CMD"; then
10722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10723 $as_echo "$MAGIC_CMD" >&6; }
10724 else
10725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10726 $as_echo "no" >&6; }
10727 fi
10728
10729
10730   else
10731     MAGIC_CMD=:
10732   fi
10733 fi
10734
10735   fi
10736   ;;
10737 esac
10738
10739 # Use C for the default configuration in the libtool script
10740
10741 lt_save_CC="$CC"
10742 ac_ext=c
10743 ac_cpp='$CPP $CPPFLAGS'
10744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10747
10748
10749 # Source file extension for C test sources.
10750 ac_ext=c
10751
10752 # Object file extension for compiled C test sources.
10753 objext=o
10754 objext=$objext
10755
10756 # Code to be used in simple compile tests
10757 lt_simple_compile_test_code="int some_variable = 0;"
10758
10759 # Code to be used in simple link tests
10760 lt_simple_link_test_code='int main(){return(0);}'
10761
10762
10763
10764
10765
10766
10767
10768 # If no C compiler was specified, use CC.
10769 LTCC=${LTCC-"$CC"}
10770
10771 # If no C compiler flags were specified, use CFLAGS.
10772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10773
10774 # Allow CC to be a program name with arguments.
10775 compiler=$CC
10776
10777 # Save the default compiler, since it gets overwritten when the other
10778 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10779 compiler_DEFAULT=$CC
10780
10781 # save warnings/boilerplate of simple test code
10782 ac_outfile=conftest.$ac_objext
10783 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10784 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10785 _lt_compiler_boilerplate=`cat conftest.err`
10786 $RM conftest*
10787
10788 ac_outfile=conftest.$ac_objext
10789 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10790 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10791 _lt_linker_boilerplate=`cat conftest.err`
10792 $RM -r conftest*
10793
10794
10795 ## CAVEAT EMPTOR:
10796 ## There is no encapsulation within the following macros, do not change
10797 ## the running order or otherwise move them around unless you know exactly
10798 ## what you are doing...
10799 if test -n "$compiler"; then
10800
10801 lt_prog_compiler_no_builtin_flag=
10802
10803 if test "$GCC" = yes; then
10804   case $cc_basename in
10805   nvcc*)
10806     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10807   *)
10808     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10809   esac
10810
10811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10812 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10813 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10814   $as_echo_n "(cached) " >&6
10815 else
10816   lt_cv_prog_compiler_rtti_exceptions=no
10817    ac_outfile=conftest.$ac_objext
10818    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10819    lt_compiler_flag="-fno-rtti -fno-exceptions"
10820    # Insert the option either (1) after the last *FLAGS variable, or
10821    # (2) before a word containing "conftest.", or (3) at the end.
10822    # Note that $ac_compile itself does not contain backslashes and begins
10823    # with a dollar sign (not a hyphen), so the echo should work correctly.
10824    # The option is referenced via a variable to avoid confusing sed.
10825    lt_compile=`echo "$ac_compile" | $SED \
10826    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10827    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10828    -e 's:$: $lt_compiler_flag:'`
10829    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10830    (eval "$lt_compile" 2>conftest.err)
10831    ac_status=$?
10832    cat conftest.err >&5
10833    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834    if (exit $ac_status) && test -s "$ac_outfile"; then
10835      # The compiler can only warn and ignore the option if not recognized
10836      # So say no if there are warnings other than the usual output.
10837      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10838      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10839      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10840        lt_cv_prog_compiler_rtti_exceptions=yes
10841      fi
10842    fi
10843    $RM conftest*
10844
10845 fi
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10847 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10848
10849 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10850     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10851 else
10852     :
10853 fi
10854
10855 fi
10856
10857
10858
10859
10860
10861
10862   lt_prog_compiler_wl=
10863 lt_prog_compiler_pic=
10864 lt_prog_compiler_static=
10865
10866
10867   if test "$GCC" = yes; then
10868     lt_prog_compiler_wl='-Wl,'
10869     lt_prog_compiler_static='-static'
10870
10871     case $host_os in
10872       aix*)
10873       # All AIX code is PIC.
10874       if test "$host_cpu" = ia64; then
10875         # AIX 5 now supports IA64 processor
10876         lt_prog_compiler_static='-Bstatic'
10877       fi
10878       ;;
10879
10880     amigaos*)
10881       case $host_cpu in
10882       powerpc)
10883             # see comment about AmigaOS4 .so support
10884             lt_prog_compiler_pic='-fPIC'
10885         ;;
10886       m68k)
10887             # FIXME: we need at least 68020 code to build shared libraries, but
10888             # adding the `-m68020' flag to GCC prevents building anything better,
10889             # like `-m68040'.
10890             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10891         ;;
10892       esac
10893       ;;
10894
10895     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10896       # PIC is the default for these OSes.
10897       ;;
10898
10899     mingw* | cygwin* | pw32* | os2* | cegcc*)
10900       # This hack is so that the source file can tell whether it is being
10901       # built for inclusion in a dll (and should export symbols for example).
10902       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10903       # (--disable-auto-import) libraries
10904       lt_prog_compiler_pic='-DDLL_EXPORT'
10905       ;;
10906
10907     darwin* | rhapsody*)
10908       # PIC is the default on this platform
10909       # Common symbols not allowed in MH_DYLIB files
10910       lt_prog_compiler_pic='-fno-common'
10911       ;;
10912
10913     haiku*)
10914       # PIC is the default for Haiku.
10915       # The "-static" flag exists, but is broken.
10916       lt_prog_compiler_static=
10917       ;;
10918
10919     hpux*)
10920       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10921       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10922       # sets the default TLS model and affects inlining.
10923       case $host_cpu in
10924       hppa*64*)
10925         # +Z the default
10926         ;;
10927       *)
10928         lt_prog_compiler_pic='-fPIC'
10929         ;;
10930       esac
10931       ;;
10932
10933     interix[3-9]*)
10934       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10935       # Instead, we relocate shared libraries at runtime.
10936       ;;
10937
10938     msdosdjgpp*)
10939       # Just because we use GCC doesn't mean we suddenly get shared libraries
10940       # on systems that don't support them.
10941       lt_prog_compiler_can_build_shared=no
10942       enable_shared=no
10943       ;;
10944
10945     *nto* | *qnx*)
10946       # QNX uses GNU C++, but need to define -shared option too, otherwise
10947       # it will coredump.
10948       lt_prog_compiler_pic='-fPIC -shared'
10949       ;;
10950
10951     sysv4*MP*)
10952       if test -d /usr/nec; then
10953         lt_prog_compiler_pic=-Kconform_pic
10954       fi
10955       ;;
10956
10957     *)
10958       lt_prog_compiler_pic='-fPIC'
10959       ;;
10960     esac
10961
10962     case $cc_basename in
10963     nvcc*) # Cuda Compiler Driver 2.2
10964       lt_prog_compiler_wl='-Xlinker '
10965       lt_prog_compiler_pic='-Xcompiler -fPIC'
10966       ;;
10967     esac
10968   else
10969     # PORTME Check for flag to pass linker flags through the system compiler.
10970     case $host_os in
10971     aix*)
10972       lt_prog_compiler_wl='-Wl,'
10973       if test "$host_cpu" = ia64; then
10974         # AIX 5 now supports IA64 processor
10975         lt_prog_compiler_static='-Bstatic'
10976       else
10977         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10978       fi
10979       ;;
10980
10981     mingw* | cygwin* | pw32* | os2* | cegcc*)
10982       # This hack is so that the source file can tell whether it is being
10983       # built for inclusion in a dll (and should export symbols for example).
10984       lt_prog_compiler_pic='-DDLL_EXPORT'
10985       ;;
10986
10987     hpux9* | hpux10* | hpux11*)
10988       lt_prog_compiler_wl='-Wl,'
10989       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10990       # not for PA HP-UX.
10991       case $host_cpu in
10992       hppa*64*|ia64*)
10993         # +Z the default
10994         ;;
10995       *)
10996         lt_prog_compiler_pic='+Z'
10997         ;;
10998       esac
10999       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11000       lt_prog_compiler_static='${wl}-a ${wl}archive'
11001       ;;
11002
11003     irix5* | irix6* | nonstopux*)
11004       lt_prog_compiler_wl='-Wl,'
11005       # PIC (with -KPIC) is the default.
11006       lt_prog_compiler_static='-non_shared'
11007       ;;
11008
11009     linux* | k*bsd*-gnu | kopensolaris*-gnu)
11010       case $cc_basename in
11011       # old Intel for x86_64 which still supported -KPIC.
11012       ecc*)
11013         lt_prog_compiler_wl='-Wl,'
11014         lt_prog_compiler_pic='-KPIC'
11015         lt_prog_compiler_static='-static'
11016         ;;
11017       # icc used to be incompatible with GCC.
11018       # ICC 10 doesn't accept -KPIC any more.
11019       icc* | ifort*)
11020         lt_prog_compiler_wl='-Wl,'
11021         lt_prog_compiler_pic='-fPIC'
11022         lt_prog_compiler_static='-static'
11023         ;;
11024       # Lahey Fortran 8.1.
11025       lf95*)
11026         lt_prog_compiler_wl='-Wl,'
11027         lt_prog_compiler_pic='--shared'
11028         lt_prog_compiler_static='--static'
11029         ;;
11030       nagfor*)
11031         # NAG Fortran compiler
11032         lt_prog_compiler_wl='-Wl,-Wl,,'
11033         lt_prog_compiler_pic='-PIC'
11034         lt_prog_compiler_static='-Bstatic'
11035         ;;
11036       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11037         # Portland Group compilers (*not* the Pentium gcc compiler,
11038         # which looks to be a dead project)
11039         lt_prog_compiler_wl='-Wl,'
11040         lt_prog_compiler_pic='-fpic'
11041         lt_prog_compiler_static='-Bstatic'
11042         ;;
11043       ccc*)
11044         lt_prog_compiler_wl='-Wl,'
11045         # All Alpha code is PIC.
11046         lt_prog_compiler_static='-non_shared'
11047         ;;
11048       xl* | bgxl* | bgf* | mpixl*)
11049         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11050         lt_prog_compiler_wl='-Wl,'
11051         lt_prog_compiler_pic='-qpic'
11052         lt_prog_compiler_static='-qstaticlink'
11053         ;;
11054       *)
11055         case `$CC -V 2>&1 | sed 5q` in
11056         *Sun\ F* | *Sun*Fortran*)
11057           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11058           lt_prog_compiler_pic='-KPIC'
11059           lt_prog_compiler_static='-Bstatic'
11060           lt_prog_compiler_wl=''
11061           ;;
11062         *Sun\ C*)
11063           # Sun C 5.9
11064           lt_prog_compiler_pic='-KPIC'
11065           lt_prog_compiler_static='-Bstatic'
11066           lt_prog_compiler_wl='-Wl,'
11067           ;;
11068         esac
11069         ;;
11070       esac
11071       ;;
11072
11073     newsos6)
11074       lt_prog_compiler_pic='-KPIC'
11075       lt_prog_compiler_static='-Bstatic'
11076       ;;
11077
11078     *nto* | *qnx*)
11079       # QNX uses GNU C++, but need to define -shared option too, otherwise
11080       # it will coredump.
11081       lt_prog_compiler_pic='-fPIC -shared'
11082       ;;
11083
11084     osf3* | osf4* | osf5*)
11085       lt_prog_compiler_wl='-Wl,'
11086       # All OSF/1 code is PIC.
11087       lt_prog_compiler_static='-non_shared'
11088       ;;
11089
11090     rdos*)
11091       lt_prog_compiler_static='-non_shared'
11092       ;;
11093
11094     solaris*)
11095       lt_prog_compiler_pic='-KPIC'
11096       lt_prog_compiler_static='-Bstatic'
11097       case $cc_basename in
11098       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11099         lt_prog_compiler_wl='-Qoption ld ';;
11100       *)
11101         lt_prog_compiler_wl='-Wl,';;
11102       esac
11103       ;;
11104
11105     sunos4*)
11106       lt_prog_compiler_wl='-Qoption ld '
11107       lt_prog_compiler_pic='-PIC'
11108       lt_prog_compiler_static='-Bstatic'
11109       ;;
11110
11111     sysv4 | sysv4.2uw2* | sysv4.3*)
11112       lt_prog_compiler_wl='-Wl,'
11113       lt_prog_compiler_pic='-KPIC'
11114       lt_prog_compiler_static='-Bstatic'
11115       ;;
11116
11117     sysv4*MP*)
11118       if test -d /usr/nec ;then
11119         lt_prog_compiler_pic='-Kconform_pic'
11120         lt_prog_compiler_static='-Bstatic'
11121       fi
11122       ;;
11123
11124     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11125       lt_prog_compiler_wl='-Wl,'
11126       lt_prog_compiler_pic='-KPIC'
11127       lt_prog_compiler_static='-Bstatic'
11128       ;;
11129
11130     unicos*)
11131       lt_prog_compiler_wl='-Wl,'
11132       lt_prog_compiler_can_build_shared=no
11133       ;;
11134
11135     uts4*)
11136       lt_prog_compiler_pic='-pic'
11137       lt_prog_compiler_static='-Bstatic'
11138       ;;
11139
11140     *)
11141       lt_prog_compiler_can_build_shared=no
11142       ;;
11143     esac
11144   fi
11145
11146 case $host_os in
11147   # For platforms which do not support PIC, -DPIC is meaningless:
11148   *djgpp*)
11149     lt_prog_compiler_pic=
11150     ;;
11151   *)
11152     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11153     ;;
11154 esac
11155
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11157 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11158 if ${lt_cv_prog_compiler_pic+:} false; then :
11159   $as_echo_n "(cached) " >&6
11160 else
11161   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11162 fi
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11164 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11165 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11166
11167 #
11168 # Check to make sure the PIC flag actually works.
11169 #
11170 if test -n "$lt_prog_compiler_pic"; then
11171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11172 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11173 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11174   $as_echo_n "(cached) " >&6
11175 else
11176   lt_cv_prog_compiler_pic_works=no
11177    ac_outfile=conftest.$ac_objext
11178    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11179    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11180    # Insert the option either (1) after the last *FLAGS variable, or
11181    # (2) before a word containing "conftest.", or (3) at the end.
11182    # Note that $ac_compile itself does not contain backslashes and begins
11183    # with a dollar sign (not a hyphen), so the echo should work correctly.
11184    # The option is referenced via a variable to avoid confusing sed.
11185    lt_compile=`echo "$ac_compile" | $SED \
11186    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11187    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11188    -e 's:$: $lt_compiler_flag:'`
11189    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11190    (eval "$lt_compile" 2>conftest.err)
11191    ac_status=$?
11192    cat conftest.err >&5
11193    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194    if (exit $ac_status) && test -s "$ac_outfile"; then
11195      # The compiler can only warn and ignore the option if not recognized
11196      # So say no if there are warnings other than the usual output.
11197      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11198      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11199      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11200        lt_cv_prog_compiler_pic_works=yes
11201      fi
11202    fi
11203    $RM conftest*
11204
11205 fi
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11207 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11208
11209 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11210     case $lt_prog_compiler_pic in
11211      "" | " "*) ;;
11212      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11213      esac
11214 else
11215     lt_prog_compiler_pic=
11216      lt_prog_compiler_can_build_shared=no
11217 fi
11218
11219 fi
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231 #
11232 # Check to make sure the static flag actually works.
11233 #
11234 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11236 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11237 if ${lt_cv_prog_compiler_static_works+:} false; then :
11238   $as_echo_n "(cached) " >&6
11239 else
11240   lt_cv_prog_compiler_static_works=no
11241    save_LDFLAGS="$LDFLAGS"
11242    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11243    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11244    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11245      # The linker can only warn and ignore the option if not recognized
11246      # So say no if there are warnings
11247      if test -s conftest.err; then
11248        # Append any errors to the config.log.
11249        cat conftest.err 1>&5
11250        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11251        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11252        if diff conftest.exp conftest.er2 >/dev/null; then
11253          lt_cv_prog_compiler_static_works=yes
11254        fi
11255      else
11256        lt_cv_prog_compiler_static_works=yes
11257      fi
11258    fi
11259    $RM -r conftest*
11260    LDFLAGS="$save_LDFLAGS"
11261
11262 fi
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11264 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11265
11266 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11267     :
11268 else
11269     lt_prog_compiler_static=
11270 fi
11271
11272
11273
11274
11275
11276
11277
11278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11279 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11280 if ${lt_cv_prog_compiler_c_o+:} false; then :
11281   $as_echo_n "(cached) " >&6
11282 else
11283   lt_cv_prog_compiler_c_o=no
11284    $RM -r conftest 2>/dev/null
11285    mkdir conftest
11286    cd conftest
11287    mkdir out
11288    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11289
11290    lt_compiler_flag="-o out/conftest2.$ac_objext"
11291    # Insert the option either (1) after the last *FLAGS variable, or
11292    # (2) before a word containing "conftest.", or (3) at the end.
11293    # Note that $ac_compile itself does not contain backslashes and begins
11294    # with a dollar sign (not a hyphen), so the echo should work correctly.
11295    lt_compile=`echo "$ac_compile" | $SED \
11296    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11297    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11298    -e 's:$: $lt_compiler_flag:'`
11299    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11300    (eval "$lt_compile" 2>out/conftest.err)
11301    ac_status=$?
11302    cat out/conftest.err >&5
11303    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11305    then
11306      # The compiler can only warn and ignore the option if not recognized
11307      # So say no if there are warnings
11308      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11309      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11310      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11311        lt_cv_prog_compiler_c_o=yes
11312      fi
11313    fi
11314    chmod u+w . 2>&5
11315    $RM conftest*
11316    # SGI C++ compiler will create directory out/ii_files/ for
11317    # template instantiation
11318    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11319    $RM out/* && rmdir out
11320    cd ..
11321    $RM -r conftest
11322    $RM conftest*
11323
11324 fi
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11326 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11327
11328
11329
11330
11331
11332
11333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11335 if ${lt_cv_prog_compiler_c_o+:} false; then :
11336   $as_echo_n "(cached) " >&6
11337 else
11338   lt_cv_prog_compiler_c_o=no
11339    $RM -r conftest 2>/dev/null
11340    mkdir conftest
11341    cd conftest
11342    mkdir out
11343    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11344
11345    lt_compiler_flag="-o out/conftest2.$ac_objext"
11346    # Insert the option either (1) after the last *FLAGS variable, or
11347    # (2) before a word containing "conftest.", or (3) at the end.
11348    # Note that $ac_compile itself does not contain backslashes and begins
11349    # with a dollar sign (not a hyphen), so the echo should work correctly.
11350    lt_compile=`echo "$ac_compile" | $SED \
11351    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11352    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11353    -e 's:$: $lt_compiler_flag:'`
11354    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11355    (eval "$lt_compile" 2>out/conftest.err)
11356    ac_status=$?
11357    cat out/conftest.err >&5
11358    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11360    then
11361      # The compiler can only warn and ignore the option if not recognized
11362      # So say no if there are warnings
11363      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11364      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11365      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11366        lt_cv_prog_compiler_c_o=yes
11367      fi
11368    fi
11369    chmod u+w . 2>&5
11370    $RM conftest*
11371    # SGI C++ compiler will create directory out/ii_files/ for
11372    # template instantiation
11373    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11374    $RM out/* && rmdir out
11375    cd ..
11376    $RM -r conftest
11377    $RM conftest*
11378
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11381 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11382
11383
11384
11385
11386 hard_links="nottested"
11387 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11388   # do not overwrite the value of need_locks provided by the user
11389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11390 $as_echo_n "checking if we can lock with hard links... " >&6; }
11391   hard_links=yes
11392   $RM conftest*
11393   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11394   touch conftest.a
11395   ln conftest.a conftest.b 2>&5 || hard_links=no
11396   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11398 $as_echo "$hard_links" >&6; }
11399   if test "$hard_links" = no; then
11400     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11401 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11402     need_locks=warn
11403   fi
11404 else
11405   need_locks=no
11406 fi
11407
11408
11409
11410
11411
11412
11413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11414 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11415
11416   runpath_var=
11417   allow_undefined_flag=
11418   always_export_symbols=no
11419   archive_cmds=
11420   archive_expsym_cmds=
11421   compiler_needs_object=no
11422   enable_shared_with_static_runtimes=no
11423   export_dynamic_flag_spec=
11424   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11425   hardcode_automatic=no
11426   hardcode_direct=no
11427   hardcode_direct_absolute=no
11428   hardcode_libdir_flag_spec=
11429   hardcode_libdir_flag_spec_ld=
11430   hardcode_libdir_separator=
11431   hardcode_minus_L=no
11432   hardcode_shlibpath_var=unsupported
11433   inherit_rpath=no
11434   link_all_deplibs=unknown
11435   module_cmds=
11436   module_expsym_cmds=
11437   old_archive_from_new_cmds=
11438   old_archive_from_expsyms_cmds=
11439   thread_safe_flag_spec=
11440   whole_archive_flag_spec=
11441   # include_expsyms should be a list of space-separated symbols to be *always*
11442   # included in the symbol list
11443   include_expsyms=
11444   # exclude_expsyms can be an extended regexp of symbols to exclude
11445   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11446   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11447   # as well as any symbol that contains `d'.
11448   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11449   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11450   # platforms (ab)use it in PIC code, but their linkers get confused if
11451   # the symbol is explicitly referenced.  Since portable code cannot
11452   # rely on this symbol name, it's probably fine to never include it in
11453   # preloaded symbol tables.
11454   # Exclude shared library initialization/finalization symbols.
11455   extract_expsyms_cmds=
11456
11457   case $host_os in
11458   cygwin* | mingw* | pw32* | cegcc*)
11459     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11460     # When not using gcc, we currently assume that we are using
11461     # Microsoft Visual C++.
11462     if test "$GCC" != yes; then
11463       with_gnu_ld=no
11464     fi
11465     ;;
11466   interix*)
11467     # we just hope/assume this is gcc and not c89 (= MSVC++)
11468     with_gnu_ld=yes
11469     ;;
11470   openbsd*)
11471     with_gnu_ld=no
11472     ;;
11473   esac
11474
11475   ld_shlibs=yes
11476
11477   # On some targets, GNU ld is compatible enough with the native linker
11478   # that we're better off using the native interface for both.
11479   lt_use_gnu_ld_interface=no
11480   if test "$with_gnu_ld" = yes; then
11481     case $host_os in
11482       aix*)
11483         # The AIX port of GNU ld has always aspired to compatibility
11484         # with the native linker.  However, as the warning in the GNU ld
11485         # block says, versions before 2.19.5* couldn't really create working
11486         # shared libraries, regardless of the interface used.
11487         case `$LD -v 2>&1` in
11488           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11489           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11490           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11491           *)
11492             lt_use_gnu_ld_interface=yes
11493             ;;
11494         esac
11495         ;;
11496       *)
11497         lt_use_gnu_ld_interface=yes
11498         ;;
11499     esac
11500   fi
11501
11502   if test "$lt_use_gnu_ld_interface" = yes; then
11503     # If archive_cmds runs LD, not CC, wlarc should be empty
11504     wlarc='${wl}'
11505
11506     # Set some defaults for GNU ld with shared library support. These
11507     # are reset later if shared libraries are not supported. Putting them
11508     # here allows them to be overridden if necessary.
11509     runpath_var=LD_RUN_PATH
11510     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11511     export_dynamic_flag_spec='${wl}--export-dynamic'
11512     # ancient GNU ld didn't support --whole-archive et. al.
11513     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11514       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11515     else
11516       whole_archive_flag_spec=
11517     fi
11518     supports_anon_versioning=no
11519     case `$LD -v 2>&1` in
11520       *GNU\ gold*) supports_anon_versioning=yes ;;
11521       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11522       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11523       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11524       *\ 2.11.*) ;; # other 2.11 versions
11525       *) supports_anon_versioning=yes ;;
11526     esac
11527
11528     # See if GNU ld supports shared libraries.
11529     case $host_os in
11530     aix[3-9]*)
11531       # On AIX/PPC, the GNU linker is very broken
11532       if test "$host_cpu" != ia64; then
11533         ld_shlibs=no
11534         cat <<_LT_EOF 1>&2
11535
11536 *** Warning: the GNU linker, at least up to release 2.19, is reported
11537 *** to be unable to reliably create shared libraries on AIX.
11538 *** Therefore, libtool is disabling shared libraries support.  If you
11539 *** really care for shared libraries, you may want to install binutils
11540 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11541 *** You will then need to restart the configuration process.
11542
11543 _LT_EOF
11544       fi
11545       ;;
11546
11547     amigaos*)
11548       case $host_cpu in
11549       powerpc)
11550             # see comment about AmigaOS4 .so support
11551             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11552             archive_expsym_cmds=''
11553         ;;
11554       m68k)
11555             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)'
11556             hardcode_libdir_flag_spec='-L$libdir'
11557             hardcode_minus_L=yes
11558         ;;
11559       esac
11560       ;;
11561
11562     beos*)
11563       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11564         allow_undefined_flag=unsupported
11565         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11566         # support --undefined.  This deserves some investigation.  FIXME
11567         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11568       else
11569         ld_shlibs=no
11570       fi
11571       ;;
11572
11573     cygwin* | mingw* | pw32* | cegcc*)
11574       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11575       # as there is no search path for DLLs.
11576       hardcode_libdir_flag_spec='-L$libdir'
11577       export_dynamic_flag_spec='${wl}--export-all-symbols'
11578       allow_undefined_flag=unsupported
11579       always_export_symbols=no
11580       enable_shared_with_static_runtimes=yes
11581       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'
11582       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11583
11584       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11585         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11586         # If the export-symbols file already is a .def file (1st line
11587         # is EXPORTS), use it as is; otherwise, prepend...
11588         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11589           cp $export_symbols $output_objdir/$soname.def;
11590         else
11591           echo EXPORTS > $output_objdir/$soname.def;
11592           cat $export_symbols >> $output_objdir/$soname.def;
11593         fi~
11594         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11595       else
11596         ld_shlibs=no
11597       fi
11598       ;;
11599
11600     haiku*)
11601       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11602       link_all_deplibs=yes
11603       ;;
11604
11605     interix[3-9]*)
11606       hardcode_direct=no
11607       hardcode_shlibpath_var=no
11608       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11609       export_dynamic_flag_spec='${wl}-E'
11610       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11611       # Instead, shared libraries are loaded at an image base (0x10000000 by
11612       # default) and relocated if they conflict, which is a slow very memory
11613       # consuming and fragmenting process.  To avoid this, we pick a random,
11614       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11615       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11616       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11617       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'
11618       ;;
11619
11620     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11621       tmp_diet=no
11622       if test "$host_os" = linux-dietlibc; then
11623         case $cc_basename in
11624           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11625         esac
11626       fi
11627       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11628          && test "$tmp_diet" = no
11629       then
11630         tmp_addflag=' $pic_flag'
11631         tmp_sharedflag='-shared'
11632         case $cc_basename,$host_cpu in
11633         pgcc*)                          # Portland Group C compiler
11634           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'
11635           tmp_addflag=' $pic_flag'
11636           ;;
11637         pgf77* | pgf90* | pgf95* | pgfortran*)
11638                                         # Portland Group f77 and f90 compilers
11639           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'
11640           tmp_addflag=' $pic_flag -Mnomain' ;;
11641         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11642           tmp_addflag=' -i_dynamic' ;;
11643         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11644           tmp_addflag=' -i_dynamic -nofor_main' ;;
11645         ifc* | ifort*)                  # Intel Fortran compiler
11646           tmp_addflag=' -nofor_main' ;;
11647         lf95*)                          # Lahey Fortran 8.1
11648           whole_archive_flag_spec=
11649           tmp_sharedflag='--shared' ;;
11650         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11651           tmp_sharedflag='-qmkshrobj'
11652           tmp_addflag= ;;
11653         nvcc*)  # Cuda Compiler Driver 2.2
11654           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'
11655           compiler_needs_object=yes
11656           ;;
11657         esac
11658         case `$CC -V 2>&1 | sed 5q` in
11659         *Sun\ C*)                       # Sun C 5.9
11660           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'
11661           compiler_needs_object=yes
11662           tmp_sharedflag='-G' ;;
11663         *Sun\ F*)                       # Sun Fortran 8.3
11664           tmp_sharedflag='-G' ;;
11665         esac
11666         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11667
11668         if test "x$supports_anon_versioning" = xyes; then
11669           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11670             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11671             echo "local: *; };" >> $output_objdir/$libname.ver~
11672             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11673         fi
11674
11675         case $cc_basename in
11676         xlf* | bgf* | bgxlf* | mpixlf*)
11677           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11678           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11679           hardcode_libdir_flag_spec=
11680           hardcode_libdir_flag_spec_ld='-rpath $libdir'
11681           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11682           if test "x$supports_anon_versioning" = xyes; then
11683             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11684               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11685               echo "local: *; };" >> $output_objdir/$libname.ver~
11686               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11687           fi
11688           ;;
11689         esac
11690       else
11691         ld_shlibs=no
11692       fi
11693       ;;
11694
11695     netbsd*)
11696       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11697         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11698         wlarc=
11699       else
11700         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11701         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11702       fi
11703       ;;
11704
11705     solaris*)
11706       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11707         ld_shlibs=no
11708         cat <<_LT_EOF 1>&2
11709
11710 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11711 *** create shared libraries on Solaris systems.  Therefore, libtool
11712 *** is disabling shared libraries support.  We urge you to upgrade GNU
11713 *** binutils to release 2.9.1 or newer.  Another option is to modify
11714 *** your PATH or compiler configuration so that the native linker is
11715 *** used, and then restart.
11716
11717 _LT_EOF
11718       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11719         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11720         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11721       else
11722         ld_shlibs=no
11723       fi
11724       ;;
11725
11726     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11727       case `$LD -v 2>&1` in
11728         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11729         ld_shlibs=no
11730         cat <<_LT_EOF 1>&2
11731
11732 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11733 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11734 *** is disabling shared libraries support.  We urge you to upgrade GNU
11735 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11736 *** your PATH or compiler configuration so that the native linker is
11737 *** used, and then restart.
11738
11739 _LT_EOF
11740         ;;
11741         *)
11742           # For security reasons, it is highly recommended that you always
11743           # use absolute paths for naming shared libraries, and exclude the
11744           # DT_RUNPATH tag from executables and libraries.  But doing so
11745           # requires that you compile everything twice, which is a pain.
11746           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11747             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11748             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11749             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11750           else
11751             ld_shlibs=no
11752           fi
11753         ;;
11754       esac
11755       ;;
11756
11757     sunos4*)
11758       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11759       wlarc=
11760       hardcode_direct=yes
11761       hardcode_shlibpath_var=no
11762       ;;
11763
11764     *)
11765       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11766         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11767         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11768       else
11769         ld_shlibs=no
11770       fi
11771       ;;
11772     esac
11773
11774     if test "$ld_shlibs" = no; then
11775       runpath_var=
11776       hardcode_libdir_flag_spec=
11777       export_dynamic_flag_spec=
11778       whole_archive_flag_spec=
11779     fi
11780   else
11781     # PORTME fill in a description of your system's linker (not GNU ld)
11782     case $host_os in
11783     aix3*)
11784       allow_undefined_flag=unsupported
11785       always_export_symbols=yes
11786       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'
11787       # Note: this linker hardcodes the directories in LIBPATH if there
11788       # are no directories specified by -L.
11789       hardcode_minus_L=yes
11790       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11791         # Neither direct hardcoding nor static linking is supported with a
11792         # broken collect2.
11793         hardcode_direct=unsupported
11794       fi
11795       ;;
11796
11797     aix[4-9]*)
11798       if test "$host_cpu" = ia64; then
11799         # On IA64, the linker does run time linking by default, so we don't
11800         # have to do anything special.
11801         aix_use_runtimelinking=no
11802         exp_sym_flag='-Bexport'
11803         no_entry_flag=""
11804       else
11805         # If we're using GNU nm, then we don't want the "-C" option.
11806         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11807         # Also, AIX nm treats weak defined symbols like other global
11808         # defined symbols, whereas GNU nm marks them as "W".
11809         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11810           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'
11811         else
11812           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'
11813         fi
11814         aix_use_runtimelinking=no
11815
11816         # Test if we are trying to use run time linking or normal
11817         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11818         # need to do runtime linking.
11819         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11820           for ld_flag in $LDFLAGS; do
11821           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11822             aix_use_runtimelinking=yes
11823             break
11824           fi
11825           done
11826           ;;
11827         esac
11828
11829         exp_sym_flag='-bexport'
11830         no_entry_flag='-bnoentry'
11831       fi
11832
11833       # When large executables or shared objects are built, AIX ld can
11834       # have problems creating the table of contents.  If linking a library
11835       # or program results in "error TOC overflow" add -mminimal-toc to
11836       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11837       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11838
11839       archive_cmds=''
11840       hardcode_direct=yes
11841       hardcode_direct_absolute=yes
11842       hardcode_libdir_separator=':'
11843       link_all_deplibs=yes
11844       file_list_spec='${wl}-f,'
11845
11846       if test "$GCC" = yes; then
11847         case $host_os in aix4.[012]|aix4.[012].*)
11848         # We only want to do this on AIX 4.2 and lower, the check
11849         # below for broken collect2 doesn't work under 4.3+
11850           collect2name=`${CC} -print-prog-name=collect2`
11851           if test -f "$collect2name" &&
11852            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11853           then
11854           # We have reworked collect2
11855           :
11856           else
11857           # We have old collect2
11858           hardcode_direct=unsupported
11859           # It fails to find uninstalled libraries when the uninstalled
11860           # path is not listed in the libpath.  Setting hardcode_minus_L
11861           # to unsupported forces relinking
11862           hardcode_minus_L=yes
11863           hardcode_libdir_flag_spec='-L$libdir'
11864           hardcode_libdir_separator=
11865           fi
11866           ;;
11867         esac
11868         shared_flag='-shared'
11869         if test "$aix_use_runtimelinking" = yes; then
11870           shared_flag="$shared_flag "'${wl}-G'
11871         fi
11872       else
11873         # not using gcc
11874         if test "$host_cpu" = ia64; then
11875         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11876         # chokes on -Wl,-G. The following line is correct:
11877           shared_flag='-G'
11878         else
11879           if test "$aix_use_runtimelinking" = yes; then
11880             shared_flag='${wl}-G'
11881           else
11882             shared_flag='${wl}-bM:SRE'
11883           fi
11884         fi
11885       fi
11886
11887       export_dynamic_flag_spec='${wl}-bexpall'
11888       # It seems that -bexpall does not export symbols beginning with
11889       # underscore (_), so it is better to generate a list of symbols to export.
11890       always_export_symbols=yes
11891       if test "$aix_use_runtimelinking" = yes; then
11892         # Warning - without using the other runtime loading flags (-brtl),
11893         # -berok will link without error, but may produce a broken library.
11894         allow_undefined_flag='-berok'
11895         # Determine the default libpath from the value encoded in an
11896         # empty executable.
11897         if test "${lt_cv_aix_libpath+set}" = set; then
11898   aix_libpath=$lt_cv_aix_libpath
11899 else
11900   if ${lt_cv_aix_libpath_+:} false; then :
11901   $as_echo_n "(cached) " >&6
11902 else
11903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h.  */
11905
11906 int
11907 main ()
11908 {
11909
11910   ;
11911   return 0;
11912 }
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"; then :
11915
11916   lt_aix_libpath_sed='
11917       /Import File Strings/,/^$/ {
11918           /^0/ {
11919               s/^0  *\([^ ]*\) *$/\1/
11920               p
11921           }
11922       }'
11923   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11924   # Check for a 64-bit object if we didn't find anything.
11925   if test -z "$lt_cv_aix_libpath_"; then
11926     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11927   fi
11928 fi
11929 rm -f core conftest.err conftest.$ac_objext \
11930     conftest$ac_exeext conftest.$ac_ext
11931   if test -z "$lt_cv_aix_libpath_"; then
11932     lt_cv_aix_libpath_="/usr/lib:/lib"
11933   fi
11934
11935 fi
11936
11937   aix_libpath=$lt_cv_aix_libpath_
11938 fi
11939
11940         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11941         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"
11942       else
11943         if test "$host_cpu" = ia64; then
11944           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11945           allow_undefined_flag="-z nodefs"
11946           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"
11947         else
11948          # Determine the default libpath from the value encoded in an
11949          # empty executable.
11950          if test "${lt_cv_aix_libpath+set}" = set; then
11951   aix_libpath=$lt_cv_aix_libpath
11952 else
11953   if ${lt_cv_aix_libpath_+:} false; then :
11954   $as_echo_n "(cached) " >&6
11955 else
11956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h.  */
11958
11959 int
11960 main ()
11961 {
11962
11963   ;
11964   return 0;
11965 }
11966 _ACEOF
11967 if ac_fn_c_try_link "$LINENO"; then :
11968
11969   lt_aix_libpath_sed='
11970       /Import File Strings/,/^$/ {
11971           /^0/ {
11972               s/^0  *\([^ ]*\) *$/\1/
11973               p
11974           }
11975       }'
11976   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11977   # Check for a 64-bit object if we didn't find anything.
11978   if test -z "$lt_cv_aix_libpath_"; then
11979     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11980   fi
11981 fi
11982 rm -f core conftest.err conftest.$ac_objext \
11983     conftest$ac_exeext conftest.$ac_ext
11984   if test -z "$lt_cv_aix_libpath_"; then
11985     lt_cv_aix_libpath_="/usr/lib:/lib"
11986   fi
11987
11988 fi
11989
11990   aix_libpath=$lt_cv_aix_libpath_
11991 fi
11992
11993          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11994           # Warning - without using the other run time loading flags,
11995           # -berok will link without error, but may produce a broken library.
11996           no_undefined_flag=' ${wl}-bernotok'
11997           allow_undefined_flag=' ${wl}-berok'
11998           if test "$with_gnu_ld" = yes; then
11999             # We only use this code for GNU lds that support --whole-archive.
12000             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12001           else
12002             # Exported symbols can be pulled into shared objects from archives
12003             whole_archive_flag_spec='$convenience'
12004           fi
12005           archive_cmds_need_lc=yes
12006           # This is similar to how AIX traditionally builds its shared libraries.
12007           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'
12008         fi
12009       fi
12010       ;;
12011
12012     amigaos*)
12013       case $host_cpu in
12014       powerpc)
12015             # see comment about AmigaOS4 .so support
12016             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12017             archive_expsym_cmds=''
12018         ;;
12019       m68k)
12020             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)'
12021             hardcode_libdir_flag_spec='-L$libdir'
12022             hardcode_minus_L=yes
12023         ;;
12024       esac
12025       ;;
12026
12027     bsdi[45]*)
12028       export_dynamic_flag_spec=-rdynamic
12029       ;;
12030
12031     cygwin* | mingw* | pw32* | cegcc*)
12032       # When not using gcc, we currently assume that we are using
12033       # Microsoft Visual C++.
12034       # hardcode_libdir_flag_spec is actually meaningless, as there is
12035       # no search path for DLLs.
12036       case $cc_basename in
12037       cl*)
12038         # Native MSVC
12039         hardcode_libdir_flag_spec=' '
12040         allow_undefined_flag=unsupported
12041         always_export_symbols=yes
12042         file_list_spec='@'
12043         # Tell ltmain to make .lib files, not .a files.
12044         libext=lib
12045         # Tell ltmain to make .dll files, not .so files.
12046         shrext_cmds=".dll"
12047         # FIXME: Setting linknames here is a bad hack.
12048         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12049         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12050             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12051           else
12052             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12053           fi~
12054           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12055           linknames='
12056         # The linker will not automatically build a static lib if we build a DLL.
12057         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12058         enable_shared_with_static_runtimes=yes
12059         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12060         # Don't use ranlib
12061         old_postinstall_cmds='chmod 644 $oldlib'
12062         postlink_cmds='lt_outputfile="@OUTPUT@"~
12063           lt_tool_outputfile="@TOOL_OUTPUT@"~
12064           case $lt_outputfile in
12065             *.exe|*.EXE) ;;
12066             *)
12067               lt_outputfile="$lt_outputfile.exe"
12068               lt_tool_outputfile="$lt_tool_outputfile.exe"
12069               ;;
12070           esac~
12071           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12072             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12073             $RM "$lt_outputfile.manifest";
12074           fi'
12075         ;;
12076       *)
12077         # Assume MSVC wrapper
12078         hardcode_libdir_flag_spec=' '
12079         allow_undefined_flag=unsupported
12080         # Tell ltmain to make .lib files, not .a files.
12081         libext=lib
12082         # Tell ltmain to make .dll files, not .so files.
12083         shrext_cmds=".dll"
12084         # FIXME: Setting linknames here is a bad hack.
12085         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12086         # The linker will automatically build a .lib file if we build a DLL.
12087         old_archive_from_new_cmds='true'
12088         # FIXME: Should let the user specify the lib program.
12089         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12090         enable_shared_with_static_runtimes=yes
12091         ;;
12092       esac
12093       ;;
12094
12095     darwin* | rhapsody*)
12096
12097
12098   archive_cmds_need_lc=no
12099   hardcode_direct=no
12100   hardcode_automatic=yes
12101   hardcode_shlibpath_var=unsupported
12102   if test "$lt_cv_ld_force_load" = "yes"; then
12103     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\"`'
12104   else
12105     whole_archive_flag_spec=''
12106   fi
12107   link_all_deplibs=yes
12108   allow_undefined_flag="$_lt_dar_allow_undefined"
12109   case $cc_basename in
12110      ifort*) _lt_dar_can_shared=yes ;;
12111      *) _lt_dar_can_shared=$GCC ;;
12112   esac
12113   if test "$_lt_dar_can_shared" = "yes"; then
12114     output_verbose_link_cmd=func_echo_all
12115     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12116     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12117     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}"
12118     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}"
12119
12120   else
12121   ld_shlibs=no
12122   fi
12123
12124       ;;
12125
12126     dgux*)
12127       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12128       hardcode_libdir_flag_spec='-L$libdir'
12129       hardcode_shlibpath_var=no
12130       ;;
12131
12132     freebsd1*)
12133       ld_shlibs=no
12134       ;;
12135
12136     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12137     # support.  Future versions do this automatically, but an explicit c++rt0.o
12138     # does not break anything, and helps significantly (at the cost of a little
12139     # extra space).
12140     freebsd2.2*)
12141       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12142       hardcode_libdir_flag_spec='-R$libdir'
12143       hardcode_direct=yes
12144       hardcode_shlibpath_var=no
12145       ;;
12146
12147     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12148     freebsd2*)
12149       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12150       hardcode_direct=yes
12151       hardcode_minus_L=yes
12152       hardcode_shlibpath_var=no
12153       ;;
12154
12155     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12156     freebsd* | dragonfly*)
12157       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12158       hardcode_libdir_flag_spec='-R$libdir'
12159       hardcode_direct=yes
12160       hardcode_shlibpath_var=no
12161       ;;
12162
12163     hpux9*)
12164       if test "$GCC" = yes; then
12165         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'
12166       else
12167         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'
12168       fi
12169       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12170       hardcode_libdir_separator=:
12171       hardcode_direct=yes
12172
12173       # hardcode_minus_L: Not really in the search PATH,
12174       # but as the default location of the library.
12175       hardcode_minus_L=yes
12176       export_dynamic_flag_spec='${wl}-E'
12177       ;;
12178
12179     hpux10*)
12180       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12181         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12182       else
12183         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12184       fi
12185       if test "$with_gnu_ld" = no; then
12186         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12187         hardcode_libdir_flag_spec_ld='+b $libdir'
12188         hardcode_libdir_separator=:
12189         hardcode_direct=yes
12190         hardcode_direct_absolute=yes
12191         export_dynamic_flag_spec='${wl}-E'
12192         # hardcode_minus_L: Not really in the search PATH,
12193         # but as the default location of the library.
12194         hardcode_minus_L=yes
12195       fi
12196       ;;
12197
12198     hpux11*)
12199       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12200         case $host_cpu in
12201         hppa*64*)
12202           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12203           ;;
12204         ia64*)
12205           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12206           ;;
12207         *)
12208           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12209           ;;
12210         esac
12211       else
12212         case $host_cpu in
12213         hppa*64*)
12214           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12215           ;;
12216         ia64*)
12217           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12218           ;;
12219         *)
12220
12221           # Older versions of the 11.00 compiler do not understand -b yet
12222           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12223           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12224 $as_echo_n "checking if $CC understands -b... " >&6; }
12225 if ${lt_cv_prog_compiler__b+:} false; then :
12226   $as_echo_n "(cached) " >&6
12227 else
12228   lt_cv_prog_compiler__b=no
12229    save_LDFLAGS="$LDFLAGS"
12230    LDFLAGS="$LDFLAGS -b"
12231    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12232    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12233      # The linker can only warn and ignore the option if not recognized
12234      # So say no if there are warnings
12235      if test -s conftest.err; then
12236        # Append any errors to the config.log.
12237        cat conftest.err 1>&5
12238        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12239        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12240        if diff conftest.exp conftest.er2 >/dev/null; then
12241          lt_cv_prog_compiler__b=yes
12242        fi
12243      else
12244        lt_cv_prog_compiler__b=yes
12245      fi
12246    fi
12247    $RM -r conftest*
12248    LDFLAGS="$save_LDFLAGS"
12249
12250 fi
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12252 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12253
12254 if test x"$lt_cv_prog_compiler__b" = xyes; then
12255     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12256 else
12257     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12258 fi
12259
12260           ;;
12261         esac
12262       fi
12263       if test "$with_gnu_ld" = no; then
12264         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12265         hardcode_libdir_separator=:
12266
12267         case $host_cpu in
12268         hppa*64*|ia64*)
12269           hardcode_direct=no
12270           hardcode_shlibpath_var=no
12271           ;;
12272         *)
12273           hardcode_direct=yes
12274           hardcode_direct_absolute=yes
12275           export_dynamic_flag_spec='${wl}-E'
12276
12277           # hardcode_minus_L: Not really in the search PATH,
12278           # but as the default location of the library.
12279           hardcode_minus_L=yes
12280           ;;
12281         esac
12282       fi
12283       ;;
12284
12285     irix5* | irix6* | nonstopux*)
12286       if test "$GCC" = yes; then
12287         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'
12288         # Try to use the -exported_symbol ld option, if it does not
12289         # work, assume that -exports_file does not work either and
12290         # implicitly export all symbols.
12291         # This should be the same for all languages, so no per-tag cache variable.
12292         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12293 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12294 if ${lt_cv_irix_exported_symbol+:} false; then :
12295   $as_echo_n "(cached) " >&6
12296 else
12297   save_LDFLAGS="$LDFLAGS"
12298            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12299            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h.  */
12301 int foo (void) { return 0; }
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304   lt_cv_irix_exported_symbol=yes
12305 else
12306   lt_cv_irix_exported_symbol=no
12307 fi
12308 rm -f core conftest.err conftest.$ac_objext \
12309     conftest$ac_exeext conftest.$ac_ext
12310            LDFLAGS="$save_LDFLAGS"
12311 fi
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12313 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12314         if test "$lt_cv_irix_exported_symbol" = yes; then
12315           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'
12316         fi
12317       else
12318         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'
12319         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'
12320       fi
12321       archive_cmds_need_lc='no'
12322       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12323       hardcode_libdir_separator=:
12324       inherit_rpath=yes
12325       link_all_deplibs=yes
12326       ;;
12327
12328     netbsd*)
12329       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12330         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12331       else
12332         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12333       fi
12334       hardcode_libdir_flag_spec='-R$libdir'
12335       hardcode_direct=yes
12336       hardcode_shlibpath_var=no
12337       ;;
12338
12339     newsos6)
12340       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12341       hardcode_direct=yes
12342       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12343       hardcode_libdir_separator=:
12344       hardcode_shlibpath_var=no
12345       ;;
12346
12347     *nto* | *qnx*)
12348       ;;
12349
12350     openbsd*)
12351       if test -f /usr/libexec/ld.so; then
12352         hardcode_direct=yes
12353         hardcode_shlibpath_var=no
12354         hardcode_direct_absolute=yes
12355         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12356           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12357           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12358           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12359           export_dynamic_flag_spec='${wl}-E'
12360         else
12361           case $host_os in
12362            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12363              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12364              hardcode_libdir_flag_spec='-R$libdir'
12365              ;;
12366            *)
12367              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12368              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12369              ;;
12370           esac
12371         fi
12372       else
12373         ld_shlibs=no
12374       fi
12375       ;;
12376
12377     os2*)
12378       hardcode_libdir_flag_spec='-L$libdir'
12379       hardcode_minus_L=yes
12380       allow_undefined_flag=unsupported
12381       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'
12382       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12383       ;;
12384
12385     osf3*)
12386       if test "$GCC" = yes; then
12387         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12388         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'
12389       else
12390         allow_undefined_flag=' -expect_unresolved \*'
12391         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'
12392       fi
12393       archive_cmds_need_lc='no'
12394       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12395       hardcode_libdir_separator=:
12396       ;;
12397
12398     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12399       if test "$GCC" = yes; then
12400         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12401         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'
12402         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12403       else
12404         allow_undefined_flag=' -expect_unresolved \*'
12405         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'
12406         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~
12407         $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'
12408
12409         # Both c and cxx compiler support -rpath directly
12410         hardcode_libdir_flag_spec='-rpath $libdir'
12411       fi
12412       archive_cmds_need_lc='no'
12413       hardcode_libdir_separator=:
12414       ;;
12415
12416     solaris*)
12417       no_undefined_flag=' -z defs'
12418       if test "$GCC" = yes; then
12419         wlarc='${wl}'
12420         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12421         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12422           $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'
12423       else
12424         case `$CC -V 2>&1` in
12425         *"Compilers 5.0"*)
12426           wlarc=''
12427           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12428           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12429           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12430           ;;
12431         *)
12432           wlarc='${wl}'
12433           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12434           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12435           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12436           ;;
12437         esac
12438       fi
12439       hardcode_libdir_flag_spec='-R$libdir'
12440       hardcode_shlibpath_var=no
12441       case $host_os in
12442       solaris2.[0-5] | solaris2.[0-5].*) ;;
12443       *)
12444         # The compiler driver will combine and reorder linker options,
12445         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12446         # but is careful enough not to reorder.
12447         # Supported since Solaris 2.6 (maybe 2.5.1?)
12448         if test "$GCC" = yes; then
12449           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12450         else
12451           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12452         fi
12453         ;;
12454       esac
12455       link_all_deplibs=yes
12456       ;;
12457
12458     sunos4*)
12459       if test "x$host_vendor" = xsequent; then
12460         # Use $CC to link under sequent, because it throws in some extra .o
12461         # files that make .init and .fini sections work.
12462         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12463       else
12464         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12465       fi
12466       hardcode_libdir_flag_spec='-L$libdir'
12467       hardcode_direct=yes
12468       hardcode_minus_L=yes
12469       hardcode_shlibpath_var=no
12470       ;;
12471
12472     sysv4)
12473       case $host_vendor in
12474         sni)
12475           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12476           hardcode_direct=yes # is this really true???
12477         ;;
12478         siemens)
12479           ## LD is ld it makes a PLAMLIB
12480           ## CC just makes a GrossModule.
12481           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12482           reload_cmds='$CC -r -o $output$reload_objs'
12483           hardcode_direct=no
12484         ;;
12485         motorola)
12486           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12487           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12488         ;;
12489       esac
12490       runpath_var='LD_RUN_PATH'
12491       hardcode_shlibpath_var=no
12492       ;;
12493
12494     sysv4.3*)
12495       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12496       hardcode_shlibpath_var=no
12497       export_dynamic_flag_spec='-Bexport'
12498       ;;
12499
12500     sysv4*MP*)
12501       if test -d /usr/nec; then
12502         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12503         hardcode_shlibpath_var=no
12504         runpath_var=LD_RUN_PATH
12505         hardcode_runpath_var=yes
12506         ld_shlibs=yes
12507       fi
12508       ;;
12509
12510     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12511       no_undefined_flag='${wl}-z,text'
12512       archive_cmds_need_lc=no
12513       hardcode_shlibpath_var=no
12514       runpath_var='LD_RUN_PATH'
12515
12516       if test "$GCC" = yes; then
12517         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12518         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12519       else
12520         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12521         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12522       fi
12523       ;;
12524
12525     sysv5* | sco3.2v5* | sco5v6*)
12526       # Note: We can NOT use -z defs as we might desire, because we do not
12527       # link with -lc, and that would cause any symbols used from libc to
12528       # always be unresolved, which means just about no library would
12529       # ever link correctly.  If we're not using GNU ld we use -z text
12530       # though, which does catch some bad symbols but isn't as heavy-handed
12531       # as -z defs.
12532       no_undefined_flag='${wl}-z,text'
12533       allow_undefined_flag='${wl}-z,nodefs'
12534       archive_cmds_need_lc=no
12535       hardcode_shlibpath_var=no
12536       hardcode_libdir_flag_spec='${wl}-R,$libdir'
12537       hardcode_libdir_separator=':'
12538       link_all_deplibs=yes
12539       export_dynamic_flag_spec='${wl}-Bexport'
12540       runpath_var='LD_RUN_PATH'
12541
12542       if test "$GCC" = yes; then
12543         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12544         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12545       else
12546         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12547         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12548       fi
12549       ;;
12550
12551     uts4*)
12552       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12553       hardcode_libdir_flag_spec='-L$libdir'
12554       hardcode_shlibpath_var=no
12555       ;;
12556
12557     *)
12558       ld_shlibs=no
12559       ;;
12560     esac
12561
12562     if test x$host_vendor = xsni; then
12563       case $host in
12564       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12565         export_dynamic_flag_spec='${wl}-Blargedynsym'
12566         ;;
12567       esac
12568     fi
12569   fi
12570
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12572 $as_echo "$ld_shlibs" >&6; }
12573 test "$ld_shlibs" = no && can_build_shared=no
12574
12575 with_gnu_ld=$with_gnu_ld
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591 #
12592 # Do we need to explicitly link libc?
12593 #
12594 case "x$archive_cmds_need_lc" in
12595 x|xyes)
12596   # Assume -lc should be added
12597   archive_cmds_need_lc=yes
12598
12599   if test "$enable_shared" = yes && test "$GCC" = yes; then
12600     case $archive_cmds in
12601     *'~'*)
12602       # FIXME: we may have to deal with multi-command sequences.
12603       ;;
12604     '$CC '*)
12605       # Test whether the compiler implicitly links with -lc since on some
12606       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12607       # to ld, don't add -lc before -lgcc.
12608       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12609 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12610 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12611   $as_echo_n "(cached) " >&6
12612 else
12613   $RM conftest*
12614         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12615
12616         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12617   (eval $ac_compile) 2>&5
12618   ac_status=$?
12619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12620   test $ac_status = 0; } 2>conftest.err; then
12621           soname=conftest
12622           lib=conftest
12623           libobjs=conftest.$ac_objext
12624           deplibs=
12625           wl=$lt_prog_compiler_wl
12626           pic_flag=$lt_prog_compiler_pic
12627           compiler_flags=-v
12628           linker_flags=-v
12629           verstring=
12630           output_objdir=.
12631           libname=conftest
12632           lt_save_allow_undefined_flag=$allow_undefined_flag
12633           allow_undefined_flag=
12634           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12635   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12636   ac_status=$?
12637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12638   test $ac_status = 0; }
12639           then
12640             lt_cv_archive_cmds_need_lc=no
12641           else
12642             lt_cv_archive_cmds_need_lc=yes
12643           fi
12644           allow_undefined_flag=$lt_save_allow_undefined_flag
12645         else
12646           cat conftest.err 1>&5
12647         fi
12648         $RM conftest*
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12652 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12653       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12654       ;;
12655     esac
12656   fi
12657   ;;
12658 esac
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12817 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12818
12819 if test "$GCC" = yes; then
12820   case $host_os in
12821     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12822     *) lt_awk_arg="/^libraries:/" ;;
12823   esac
12824   case $host_os in
12825     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12826     *) lt_sed_strip_eq="s,=/,/,g" ;;
12827   esac
12828   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12829   case $lt_search_path_spec in
12830   *\;*)
12831     # if the path contains ";" then we assume it to be the separator
12832     # otherwise default to the standard path separator (i.e. ":") - it is
12833     # assumed that no part of a normal pathname contains ";" but that should
12834     # okay in the real world where ";" in dirpaths is itself problematic.
12835     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12836     ;;
12837   *)
12838     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12839     ;;
12840   esac
12841   # Ok, now we have the path, separated by spaces, we can step through it
12842   # and add multilib dir if necessary.
12843   lt_tmp_lt_search_path_spec=
12844   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12845   for lt_sys_path in $lt_search_path_spec; do
12846     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12847       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12848     else
12849       test -d "$lt_sys_path" && \
12850         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12851     fi
12852   done
12853   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12854 BEGIN {RS=" "; FS="/|\n";} {
12855   lt_foo="";
12856   lt_count=0;
12857   for (lt_i = NF; lt_i > 0; lt_i--) {
12858     if ($lt_i != "" && $lt_i != ".") {
12859       if ($lt_i == "..") {
12860         lt_count++;
12861       } else {
12862         if (lt_count == 0) {
12863           lt_foo="/" $lt_i lt_foo;
12864         } else {
12865           lt_count--;
12866         }
12867       }
12868     }
12869   }
12870   if (lt_foo != "") { lt_freq[lt_foo]++; }
12871   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12872 }'`
12873   # AWK program above erroneously prepends '/' to C:/dos/paths
12874   # for these hosts.
12875   case $host_os in
12876     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12877       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12878   esac
12879   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12880 else
12881   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12882 fi
12883 library_names_spec=
12884 libname_spec='lib$name'
12885 soname_spec=
12886 shrext_cmds=".so"
12887 postinstall_cmds=
12888 postuninstall_cmds=
12889 finish_cmds=
12890 finish_eval=
12891 shlibpath_var=
12892 shlibpath_overrides_runpath=unknown
12893 version_type=none
12894 dynamic_linker="$host_os ld.so"
12895 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12896 need_lib_prefix=unknown
12897 hardcode_into_libs=no
12898
12899 # when you set need_version to no, make sure it does not cause -set_version
12900 # flags to be left without arguments
12901 need_version=unknown
12902
12903 case $host_os in
12904 aix3*)
12905   version_type=linux
12906   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12907   shlibpath_var=LIBPATH
12908
12909   # AIX 3 has no versioning support, so we append a major version to the name.
12910   soname_spec='${libname}${release}${shared_ext}$major'
12911   ;;
12912
12913 aix[4-9]*)
12914   version_type=linux
12915   need_lib_prefix=no
12916   need_version=no
12917   hardcode_into_libs=yes
12918   if test "$host_cpu" = ia64; then
12919     # AIX 5 supports IA64
12920     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12921     shlibpath_var=LD_LIBRARY_PATH
12922   else
12923     # With GCC up to 2.95.x, collect2 would create an import file
12924     # for dependence libraries.  The import file would start with
12925     # the line `#! .'.  This would cause the generated library to
12926     # depend on `.', always an invalid library.  This was fixed in
12927     # development snapshots of GCC prior to 3.0.
12928     case $host_os in
12929       aix4 | aix4.[01] | aix4.[01].*)
12930       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12931            echo ' yes '
12932            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12933         :
12934       else
12935         can_build_shared=no
12936       fi
12937       ;;
12938     esac
12939     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12940     # soname into executable. Probably we can add versioning support to
12941     # collect2, so additional links can be useful in future.
12942     if test "$aix_use_runtimelinking" = yes; then
12943       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12944       # instead of lib<name>.a to let people know that these are not
12945       # typical AIX shared libraries.
12946       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12947     else
12948       # We preserve .a as extension for shared libraries through AIX4.2
12949       # and later when we are not doing run time linking.
12950       library_names_spec='${libname}${release}.a $libname.a'
12951       soname_spec='${libname}${release}${shared_ext}$major'
12952     fi
12953     shlibpath_var=LIBPATH
12954   fi
12955   ;;
12956
12957 amigaos*)
12958   case $host_cpu in
12959   powerpc)
12960     # Since July 2007 AmigaOS4 officially supports .so libraries.
12961     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12962     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12963     ;;
12964   m68k)
12965     library_names_spec='$libname.ixlibrary $libname.a'
12966     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12967     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'
12968     ;;
12969   esac
12970   ;;
12971
12972 beos*)
12973   library_names_spec='${libname}${shared_ext}'
12974   dynamic_linker="$host_os ld.so"
12975   shlibpath_var=LIBRARY_PATH
12976   ;;
12977
12978 bsdi[45]*)
12979   version_type=linux
12980   need_version=no
12981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12982   soname_spec='${libname}${release}${shared_ext}$major'
12983   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12984   shlibpath_var=LD_LIBRARY_PATH
12985   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12986   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12987   # the default ld.so.conf also contains /usr/contrib/lib and
12988   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12989   # libtool to hard-code these into programs
12990   ;;
12991
12992 cygwin* | mingw* | pw32* | cegcc*)
12993   version_type=windows
12994   shrext_cmds=".dll"
12995   need_version=no
12996   need_lib_prefix=no
12997
12998   case $GCC,$cc_basename in
12999   yes,*)
13000     # gcc
13001     library_names_spec='$libname.dll.a'
13002     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13003     postinstall_cmds='base_file=`basename \${file}`~
13004       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13005       dldir=$destdir/`dirname \$dlpath`~
13006       test -d \$dldir || mkdir -p \$dldir~
13007       $install_prog $dir/$dlname \$dldir/$dlname~
13008       chmod a+x \$dldir/$dlname~
13009       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13010         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13011       fi'
13012     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13013       dlpath=$dir/\$dldll~
13014        $RM \$dlpath'
13015     shlibpath_overrides_runpath=yes
13016
13017     case $host_os in
13018     cygwin*)
13019       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13020       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13021
13022       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13023       ;;
13024     mingw* | cegcc*)
13025       # MinGW DLLs use traditional 'lib' prefix
13026       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13027       ;;
13028     pw32*)
13029       # pw32 DLLs use 'pw' prefix rather than 'lib'
13030       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13031       ;;
13032     esac
13033     dynamic_linker='Win32 ld.exe'
13034     ;;
13035
13036   *,cl*)
13037     # Native MSVC
13038     libname_spec='$name'
13039     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13040     library_names_spec='${libname}.dll.lib'
13041
13042     case $build_os in
13043     mingw*)
13044       sys_lib_search_path_spec=
13045       lt_save_ifs=$IFS
13046       IFS=';'
13047       for lt_path in $LIB
13048       do
13049         IFS=$lt_save_ifs
13050         # Let DOS variable expansion print the short 8.3 style file name.
13051         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13052         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13053       done
13054       IFS=$lt_save_ifs
13055       # Convert to MSYS style.
13056       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13057       ;;
13058     cygwin*)
13059       # Convert to unix form, then to dos form, then back to unix form
13060       # but this time dos style (no spaces!) so that the unix form looks
13061       # like /cygdrive/c/PROGRA~1:/cygdr...
13062       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13063       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13064       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13065       ;;
13066     *)
13067       sys_lib_search_path_spec="$LIB"
13068       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13069         # It is most probably a Windows format PATH.
13070         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13071       else
13072         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13073       fi
13074       # FIXME: find the short name or the path components, as spaces are
13075       # common. (e.g. "Program Files" -> "PROGRA~1")
13076       ;;
13077     esac
13078
13079     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13080     postinstall_cmds='base_file=`basename \${file}`~
13081       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13082       dldir=$destdir/`dirname \$dlpath`~
13083       test -d \$dldir || mkdir -p \$dldir~
13084       $install_prog $dir/$dlname \$dldir/$dlname'
13085     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13086       dlpath=$dir/\$dldll~
13087        $RM \$dlpath'
13088     shlibpath_overrides_runpath=yes
13089     dynamic_linker='Win32 link.exe'
13090     ;;
13091
13092   *)
13093     # Assume MSVC wrapper
13094     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13095     dynamic_linker='Win32 ld.exe'
13096     ;;
13097   esac
13098   # FIXME: first we should search . and the directory the executable is in
13099   shlibpath_var=PATH
13100   ;;
13101
13102 darwin* | rhapsody*)
13103   dynamic_linker="$host_os dyld"
13104   version_type=darwin
13105   need_lib_prefix=no
13106   need_version=no
13107   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13108   soname_spec='${libname}${release}${major}$shared_ext'
13109   shlibpath_overrides_runpath=yes
13110   shlibpath_var=DYLD_LIBRARY_PATH
13111   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13112
13113   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13114   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13115   ;;
13116
13117 dgux*)
13118   version_type=linux
13119   need_lib_prefix=no
13120   need_version=no
13121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13122   soname_spec='${libname}${release}${shared_ext}$major'
13123   shlibpath_var=LD_LIBRARY_PATH
13124   ;;
13125
13126 freebsd1*)
13127   dynamic_linker=no
13128   ;;
13129
13130 freebsd* | dragonfly*)
13131   # DragonFly does not have aout.  When/if they implement a new
13132   # versioning mechanism, adjust this.
13133   if test -x /usr/bin/objformat; then
13134     objformat=`/usr/bin/objformat`
13135   else
13136     case $host_os in
13137     freebsd[123]*) objformat=aout ;;
13138     *) objformat=elf ;;
13139     esac
13140   fi
13141   version_type=freebsd-$objformat
13142   case $version_type in
13143     freebsd-elf*)
13144       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13145       need_version=no
13146       need_lib_prefix=no
13147       ;;
13148     freebsd-*)
13149       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13150       need_version=yes
13151       ;;
13152   esac
13153   shlibpath_var=LD_LIBRARY_PATH
13154   case $host_os in
13155   freebsd2*)
13156     shlibpath_overrides_runpath=yes
13157     ;;
13158   freebsd3.[01]* | freebsdelf3.[01]*)
13159     shlibpath_overrides_runpath=yes
13160     hardcode_into_libs=yes
13161     ;;
13162   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13163   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13164     shlibpath_overrides_runpath=no
13165     hardcode_into_libs=yes
13166     ;;
13167   *) # from 4.6 on, and DragonFly
13168     shlibpath_overrides_runpath=yes
13169     hardcode_into_libs=yes
13170     ;;
13171   esac
13172   ;;
13173
13174 gnu*)
13175   version_type=linux
13176   need_lib_prefix=no
13177   need_version=no
13178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13179   soname_spec='${libname}${release}${shared_ext}$major'
13180   shlibpath_var=LD_LIBRARY_PATH
13181   hardcode_into_libs=yes
13182   ;;
13183
13184 haiku*)
13185   version_type=linux
13186   need_lib_prefix=no
13187   need_version=no
13188   dynamic_linker="$host_os runtime_loader"
13189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13190   soname_spec='${libname}${release}${shared_ext}$major'
13191   shlibpath_var=LIBRARY_PATH
13192   shlibpath_overrides_runpath=yes
13193   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13194   hardcode_into_libs=yes
13195   ;;
13196
13197 hpux9* | hpux10* | hpux11*)
13198   # Give a soname corresponding to the major version so that dld.sl refuses to
13199   # link against other versions.
13200   version_type=sunos
13201   need_lib_prefix=no
13202   need_version=no
13203   case $host_cpu in
13204   ia64*)
13205     shrext_cmds='.so'
13206     hardcode_into_libs=yes
13207     dynamic_linker="$host_os dld.so"
13208     shlibpath_var=LD_LIBRARY_PATH
13209     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13210     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13211     soname_spec='${libname}${release}${shared_ext}$major'
13212     if test "X$HPUX_IA64_MODE" = X32; then
13213       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13214     else
13215       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13216     fi
13217     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13218     ;;
13219   hppa*64*)
13220     shrext_cmds='.sl'
13221     hardcode_into_libs=yes
13222     dynamic_linker="$host_os dld.sl"
13223     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13224     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13225     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13226     soname_spec='${libname}${release}${shared_ext}$major'
13227     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13228     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13229     ;;
13230   *)
13231     shrext_cmds='.sl'
13232     dynamic_linker="$host_os dld.sl"
13233     shlibpath_var=SHLIB_PATH
13234     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13235     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236     soname_spec='${libname}${release}${shared_ext}$major'
13237     ;;
13238   esac
13239   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13240   postinstall_cmds='chmod 555 $lib'
13241   # or fails outright, so override atomically:
13242   install_override_mode=555
13243   ;;
13244
13245 interix[3-9]*)
13246   version_type=linux
13247   need_lib_prefix=no
13248   need_version=no
13249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13250   soname_spec='${libname}${release}${shared_ext}$major'
13251   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13252   shlibpath_var=LD_LIBRARY_PATH
13253   shlibpath_overrides_runpath=no
13254   hardcode_into_libs=yes
13255   ;;
13256
13257 irix5* | irix6* | nonstopux*)
13258   case $host_os in
13259     nonstopux*) version_type=nonstopux ;;
13260     *)
13261         if test "$lt_cv_prog_gnu_ld" = yes; then
13262                 version_type=linux
13263         else
13264                 version_type=irix
13265         fi ;;
13266   esac
13267   need_lib_prefix=no
13268   need_version=no
13269   soname_spec='${libname}${release}${shared_ext}$major'
13270   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13271   case $host_os in
13272   irix5* | nonstopux*)
13273     libsuff= shlibsuff=
13274     ;;
13275   *)
13276     case $LD in # libtool.m4 will add one of these switches to LD
13277     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13278       libsuff= shlibsuff= libmagic=32-bit;;
13279     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13280       libsuff=32 shlibsuff=N32 libmagic=N32;;
13281     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13282       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13283     *) libsuff= shlibsuff= libmagic=never-match;;
13284     esac
13285     ;;
13286   esac
13287   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13288   shlibpath_overrides_runpath=no
13289   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13290   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13291   hardcode_into_libs=yes
13292   ;;
13293
13294 # No shared lib support for Linux oldld, aout, or coff.
13295 linux*oldld* | linux*aout* | linux*coff*)
13296   dynamic_linker=no
13297   ;;
13298
13299 # This must be Linux ELF.
13300 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13301   version_type=linux
13302   need_lib_prefix=no
13303   need_version=no
13304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13305   soname_spec='${libname}${release}${shared_ext}$major'
13306   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13307   shlibpath_var=LD_LIBRARY_PATH
13308   shlibpath_overrides_runpath=no
13309
13310   # Some binutils ld are patched to set DT_RUNPATH
13311   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13312   $as_echo_n "(cached) " >&6
13313 else
13314   lt_cv_shlibpath_overrides_runpath=no
13315     save_LDFLAGS=$LDFLAGS
13316     save_libdir=$libdir
13317     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13318          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13319     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h.  */
13321
13322 int
13323 main ()
13324 {
13325
13326   ;
13327   return 0;
13328 }
13329 _ACEOF
13330 if ac_fn_c_try_link "$LINENO"; then :
13331   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13332   lt_cv_shlibpath_overrides_runpath=yes
13333 fi
13334 fi
13335 rm -f core conftest.err conftest.$ac_objext \
13336     conftest$ac_exeext conftest.$ac_ext
13337     LDFLAGS=$save_LDFLAGS
13338     libdir=$save_libdir
13339
13340 fi
13341
13342   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13343
13344   # This implies no fast_install, which is unacceptable.
13345   # Some rework will be needed to allow for fast_install
13346   # before this can be enabled.
13347   hardcode_into_libs=yes
13348
13349   # Add ABI-specific directories to the system library path.
13350   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13351
13352   # Append ld.so.conf contents to the search path
13353   if test -f /etc/ld.so.conf; then
13354     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' ' '`
13355     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13356
13357   fi
13358
13359   # We used to test for /lib/ld.so.1 and disable shared libraries on
13360   # powerpc, because MkLinux only supported shared libraries with the
13361   # GNU dynamic linker.  Since this was broken with cross compilers,
13362   # most powerpc-linux boxes support dynamic linking these days and
13363   # people can always --disable-shared, the test was removed, and we
13364   # assume the GNU/Linux dynamic linker is in use.
13365   dynamic_linker='GNU/Linux ld.so'
13366   ;;
13367
13368 netbsd*)
13369   version_type=sunos
13370   need_lib_prefix=no
13371   need_version=no
13372   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13373     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13374     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13375     dynamic_linker='NetBSD (a.out) ld.so'
13376   else
13377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13378     soname_spec='${libname}${release}${shared_ext}$major'
13379     dynamic_linker='NetBSD ld.elf_so'
13380   fi
13381   shlibpath_var=LD_LIBRARY_PATH
13382   shlibpath_overrides_runpath=yes
13383   hardcode_into_libs=yes
13384   ;;
13385
13386 newsos6)
13387   version_type=linux
13388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13389   shlibpath_var=LD_LIBRARY_PATH
13390   shlibpath_overrides_runpath=yes
13391   ;;
13392
13393 *nto* | *qnx*)
13394   version_type=qnx
13395   need_lib_prefix=no
13396   need_version=no
13397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13398   soname_spec='${libname}${release}${shared_ext}$major'
13399   shlibpath_var=LD_LIBRARY_PATH
13400   shlibpath_overrides_runpath=no
13401   hardcode_into_libs=yes
13402   dynamic_linker='ldqnx.so'
13403   ;;
13404
13405 openbsd*)
13406   version_type=sunos
13407   sys_lib_dlsearch_path_spec="/usr/lib"
13408   need_lib_prefix=no
13409   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13410   case $host_os in
13411     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13412     *)                          need_version=no  ;;
13413   esac
13414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13415   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13416   shlibpath_var=LD_LIBRARY_PATH
13417   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13418     case $host_os in
13419       openbsd2.[89] | openbsd2.[89].*)
13420         shlibpath_overrides_runpath=no
13421         ;;
13422       *)
13423         shlibpath_overrides_runpath=yes
13424         ;;
13425       esac
13426   else
13427     shlibpath_overrides_runpath=yes
13428   fi
13429   ;;
13430
13431 os2*)
13432   libname_spec='$name'
13433   shrext_cmds=".dll"
13434   need_lib_prefix=no
13435   library_names_spec='$libname${shared_ext} $libname.a'
13436   dynamic_linker='OS/2 ld.exe'
13437   shlibpath_var=LIBPATH
13438   ;;
13439
13440 osf3* | osf4* | osf5*)
13441   version_type=osf
13442   need_lib_prefix=no
13443   need_version=no
13444   soname_spec='${libname}${release}${shared_ext}$major'
13445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13446   shlibpath_var=LD_LIBRARY_PATH
13447   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13448   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13449   ;;
13450
13451 rdos*)
13452   dynamic_linker=no
13453   ;;
13454
13455 solaris*)
13456   version_type=linux
13457   need_lib_prefix=no
13458   need_version=no
13459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13460   soname_spec='${libname}${release}${shared_ext}$major'
13461   shlibpath_var=LD_LIBRARY_PATH
13462   shlibpath_overrides_runpath=yes
13463   hardcode_into_libs=yes
13464   # ldd complains unless libraries are executable
13465   postinstall_cmds='chmod +x $lib'
13466   ;;
13467
13468 sunos4*)
13469   version_type=sunos
13470   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13471   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13472   shlibpath_var=LD_LIBRARY_PATH
13473   shlibpath_overrides_runpath=yes
13474   if test "$with_gnu_ld" = yes; then
13475     need_lib_prefix=no
13476   fi
13477   need_version=yes
13478   ;;
13479
13480 sysv4 | sysv4.3*)
13481   version_type=linux
13482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13483   soname_spec='${libname}${release}${shared_ext}$major'
13484   shlibpath_var=LD_LIBRARY_PATH
13485   case $host_vendor in
13486     sni)
13487       shlibpath_overrides_runpath=no
13488       need_lib_prefix=no
13489       runpath_var=LD_RUN_PATH
13490       ;;
13491     siemens)
13492       need_lib_prefix=no
13493       ;;
13494     motorola)
13495       need_lib_prefix=no
13496       need_version=no
13497       shlibpath_overrides_runpath=no
13498       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13499       ;;
13500   esac
13501   ;;
13502
13503 sysv4*MP*)
13504   if test -d /usr/nec ;then
13505     version_type=linux
13506     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13507     soname_spec='$libname${shared_ext}.$major'
13508     shlibpath_var=LD_LIBRARY_PATH
13509   fi
13510   ;;
13511
13512 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13513   version_type=freebsd-elf
13514   need_lib_prefix=no
13515   need_version=no
13516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13517   soname_spec='${libname}${release}${shared_ext}$major'
13518   shlibpath_var=LD_LIBRARY_PATH
13519   shlibpath_overrides_runpath=yes
13520   hardcode_into_libs=yes
13521   if test "$with_gnu_ld" = yes; then
13522     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13523   else
13524     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13525     case $host_os in
13526       sco3.2v5*)
13527         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13528         ;;
13529     esac
13530   fi
13531   sys_lib_dlsearch_path_spec='/usr/lib'
13532   ;;
13533
13534 tpf*)
13535   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13536   version_type=linux
13537   need_lib_prefix=no
13538   need_version=no
13539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13540   shlibpath_var=LD_LIBRARY_PATH
13541   shlibpath_overrides_runpath=no
13542   hardcode_into_libs=yes
13543   ;;
13544
13545 uts4*)
13546   version_type=linux
13547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13548   soname_spec='${libname}${release}${shared_ext}$major'
13549   shlibpath_var=LD_LIBRARY_PATH
13550   ;;
13551
13552 *)
13553   dynamic_linker=no
13554   ;;
13555 esac
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13557 $as_echo "$dynamic_linker" >&6; }
13558 test "$dynamic_linker" = no && can_build_shared=no
13559
13560 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13561 if test "$GCC" = yes; then
13562   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13563 fi
13564
13565 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13566   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13567 fi
13568 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13569   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13570 fi
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13664 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13665 hardcode_action=
13666 if test -n "$hardcode_libdir_flag_spec" ||
13667    test -n "$runpath_var" ||
13668    test "X$hardcode_automatic" = "Xyes" ; then
13669
13670   # We can hardcode non-existent directories.
13671   if test "$hardcode_direct" != no &&
13672      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13673      # have to relink, otherwise we might link with an installed library
13674      # when we should be linking with a yet-to-be-installed one
13675      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13676      test "$hardcode_minus_L" != no; then
13677     # Linking always hardcodes the temporary library directory.
13678     hardcode_action=relink
13679   else
13680     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13681     hardcode_action=immediate
13682   fi
13683 else
13684   # We cannot hardcode anything, or else we can only hardcode existing
13685   # directories.
13686   hardcode_action=unsupported
13687 fi
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13689 $as_echo "$hardcode_action" >&6; }
13690
13691 if test "$hardcode_action" = relink ||
13692    test "$inherit_rpath" = yes; then
13693   # Fast installation is not supported
13694   enable_fast_install=no
13695 elif test "$shlibpath_overrides_runpath" = yes ||
13696      test "$enable_shared" = no; then
13697   # Fast installation is not necessary
13698   enable_fast_install=needless
13699 fi
13700
13701
13702
13703
13704
13705
13706   if test "x$enable_dlopen" != xyes; then
13707   enable_dlopen=unknown
13708   enable_dlopen_self=unknown
13709   enable_dlopen_self_static=unknown
13710 else
13711   lt_cv_dlopen=no
13712   lt_cv_dlopen_libs=
13713
13714   case $host_os in
13715   beos*)
13716     lt_cv_dlopen="load_add_on"
13717     lt_cv_dlopen_libs=
13718     lt_cv_dlopen_self=yes
13719     ;;
13720
13721   mingw* | pw32* | cegcc*)
13722     lt_cv_dlopen="LoadLibrary"
13723     lt_cv_dlopen_libs=
13724     ;;
13725
13726   cygwin*)
13727     lt_cv_dlopen="dlopen"
13728     lt_cv_dlopen_libs=
13729     ;;
13730
13731   darwin*)
13732   # if libdl is installed we need to link against it
13733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13734 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13735 if ${ac_cv_lib_dl_dlopen+:} false; then :
13736   $as_echo_n "(cached) " >&6
13737 else
13738   ac_check_lib_save_LIBS=$LIBS
13739 LIBS="-ldl  $LIBS"
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h.  */
13742
13743 /* Override any GCC internal prototype to avoid an error.
13744    Use char because int might match the return type of a GCC
13745    builtin and then its argument prototype would still apply.  */
13746 #ifdef __cplusplus
13747 extern "C"
13748 #endif
13749 char dlopen ();
13750 int
13751 main ()
13752 {
13753 return dlopen ();
13754   ;
13755   return 0;
13756 }
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759   ac_cv_lib_dl_dlopen=yes
13760 else
13761   ac_cv_lib_dl_dlopen=no
13762 fi
13763 rm -f core conftest.err conftest.$ac_objext \
13764     conftest$ac_exeext conftest.$ac_ext
13765 LIBS=$ac_check_lib_save_LIBS
13766 fi
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13768 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13769 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13770   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13771 else
13772
13773     lt_cv_dlopen="dyld"
13774     lt_cv_dlopen_libs=
13775     lt_cv_dlopen_self=yes
13776
13777 fi
13778
13779     ;;
13780
13781   *)
13782     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13783 if test "x$ac_cv_func_shl_load" = xyes; then :
13784   lt_cv_dlopen="shl_load"
13785 else
13786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13787 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13788 if ${ac_cv_lib_dld_shl_load+:} false; then :
13789   $as_echo_n "(cached) " >&6
13790 else
13791   ac_check_lib_save_LIBS=$LIBS
13792 LIBS="-ldld  $LIBS"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h.  */
13795
13796 /* Override any GCC internal prototype to avoid an error.
13797    Use char because int might match the return type of a GCC
13798    builtin and then its argument prototype would still apply.  */
13799 #ifdef __cplusplus
13800 extern "C"
13801 #endif
13802 char shl_load ();
13803 int
13804 main ()
13805 {
13806 return shl_load ();
13807   ;
13808   return 0;
13809 }
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"; then :
13812   ac_cv_lib_dld_shl_load=yes
13813 else
13814   ac_cv_lib_dld_shl_load=no
13815 fi
13816 rm -f core conftest.err conftest.$ac_objext \
13817     conftest$ac_exeext conftest.$ac_ext
13818 LIBS=$ac_check_lib_save_LIBS
13819 fi
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13821 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13822 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13823   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13824 else
13825   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13826 if test "x$ac_cv_func_dlopen" = xyes; then :
13827   lt_cv_dlopen="dlopen"
13828 else
13829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13830 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13831 if ${ac_cv_lib_dl_dlopen+:} false; then :
13832   $as_echo_n "(cached) " >&6
13833 else
13834   ac_check_lib_save_LIBS=$LIBS
13835 LIBS="-ldl  $LIBS"
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h.  */
13838
13839 /* Override any GCC internal prototype to avoid an error.
13840    Use char because int might match the return type of a GCC
13841    builtin and then its argument prototype would still apply.  */
13842 #ifdef __cplusplus
13843 extern "C"
13844 #endif
13845 char dlopen ();
13846 int
13847 main ()
13848 {
13849 return dlopen ();
13850   ;
13851   return 0;
13852 }
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"; then :
13855   ac_cv_lib_dl_dlopen=yes
13856 else
13857   ac_cv_lib_dl_dlopen=no
13858 fi
13859 rm -f core conftest.err conftest.$ac_objext \
13860     conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_lib_save_LIBS
13862 fi
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13864 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13865 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13866   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13867 else
13868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13869 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13870 if ${ac_cv_lib_svld_dlopen+:} false; then :
13871   $as_echo_n "(cached) " >&6
13872 else
13873   ac_check_lib_save_LIBS=$LIBS
13874 LIBS="-lsvld  $LIBS"
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h.  */
13877
13878 /* Override any GCC internal prototype to avoid an error.
13879    Use char because int might match the return type of a GCC
13880    builtin and then its argument prototype would still apply.  */
13881 #ifdef __cplusplus
13882 extern "C"
13883 #endif
13884 char dlopen ();
13885 int
13886 main ()
13887 {
13888 return dlopen ();
13889   ;
13890   return 0;
13891 }
13892 _ACEOF
13893 if ac_fn_c_try_link "$LINENO"; then :
13894   ac_cv_lib_svld_dlopen=yes
13895 else
13896   ac_cv_lib_svld_dlopen=no
13897 fi
13898 rm -f core conftest.err conftest.$ac_objext \
13899     conftest$ac_exeext conftest.$ac_ext
13900 LIBS=$ac_check_lib_save_LIBS
13901 fi
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13903 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13904 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13905   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13906 else
13907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13908 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13909 if ${ac_cv_lib_dld_dld_link+:} false; then :
13910   $as_echo_n "(cached) " >&6
13911 else
13912   ac_check_lib_save_LIBS=$LIBS
13913 LIBS="-ldld  $LIBS"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h.  */
13916
13917 /* Override any GCC internal prototype to avoid an error.
13918    Use char because int might match the return type of a GCC
13919    builtin and then its argument prototype would still apply.  */
13920 #ifdef __cplusplus
13921 extern "C"
13922 #endif
13923 char dld_link ();
13924 int
13925 main ()
13926 {
13927 return dld_link ();
13928   ;
13929   return 0;
13930 }
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933   ac_cv_lib_dld_dld_link=yes
13934 else
13935   ac_cv_lib_dld_dld_link=no
13936 fi
13937 rm -f core conftest.err conftest.$ac_objext \
13938     conftest$ac_exeext conftest.$ac_ext
13939 LIBS=$ac_check_lib_save_LIBS
13940 fi
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13942 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13943 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13944   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13945 fi
13946
13947
13948 fi
13949
13950
13951 fi
13952
13953
13954 fi
13955
13956
13957 fi
13958
13959
13960 fi
13961
13962     ;;
13963   esac
13964
13965   if test "x$lt_cv_dlopen" != xno; then
13966     enable_dlopen=yes
13967   else
13968     enable_dlopen=no
13969   fi
13970
13971   case $lt_cv_dlopen in
13972   dlopen)
13973     save_CPPFLAGS="$CPPFLAGS"
13974     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13975
13976     save_LDFLAGS="$LDFLAGS"
13977     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13978
13979     save_LIBS="$LIBS"
13980     LIBS="$lt_cv_dlopen_libs $LIBS"
13981
13982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13983 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13984 if ${lt_cv_dlopen_self+:} false; then :
13985   $as_echo_n "(cached) " >&6
13986 else
13987           if test "$cross_compiling" = yes; then :
13988   lt_cv_dlopen_self=cross
13989 else
13990   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13991   lt_status=$lt_dlunknown
13992   cat > conftest.$ac_ext <<_LT_EOF
13993 #line $LINENO "configure"
13994 #include "confdefs.h"
13995
13996 #if HAVE_DLFCN_H
13997 #include <dlfcn.h>
13998 #endif
13999
14000 #include <stdio.h>
14001
14002 #ifdef RTLD_GLOBAL
14003 #  define LT_DLGLOBAL           RTLD_GLOBAL
14004 #else
14005 #  ifdef DL_GLOBAL
14006 #    define LT_DLGLOBAL         DL_GLOBAL
14007 #  else
14008 #    define LT_DLGLOBAL         0
14009 #  endif
14010 #endif
14011
14012 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14013    find out it does not work in some platform. */
14014 #ifndef LT_DLLAZY_OR_NOW
14015 #  ifdef RTLD_LAZY
14016 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14017 #  else
14018 #    ifdef DL_LAZY
14019 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14020 #    else
14021 #      ifdef RTLD_NOW
14022 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14023 #      else
14024 #        ifdef DL_NOW
14025 #          define LT_DLLAZY_OR_NOW      DL_NOW
14026 #        else
14027 #          define LT_DLLAZY_OR_NOW      0
14028 #        endif
14029 #      endif
14030 #    endif
14031 #  endif
14032 #endif
14033
14034 /* When -fvisbility=hidden is used, assume the code has been annotated
14035    correspondingly for the symbols needed.  */
14036 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14037 int fnord () __attribute__((visibility("default")));
14038 #endif
14039
14040 int fnord () { return 42; }
14041 int main ()
14042 {
14043   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14044   int status = $lt_dlunknown;
14045
14046   if (self)
14047     {
14048       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14049       else
14050         {
14051           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14052           else puts (dlerror ());
14053         }
14054       /* dlclose (self); */
14055     }
14056   else
14057     puts (dlerror ());
14058
14059   return status;
14060 }
14061 _LT_EOF
14062   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14063   (eval $ac_link) 2>&5
14064   ac_status=$?
14065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14067     (./conftest; exit; ) >&5 2>/dev/null
14068     lt_status=$?
14069     case x$lt_status in
14070       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14071       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14072       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14073     esac
14074   else :
14075     # compilation failed
14076     lt_cv_dlopen_self=no
14077   fi
14078 fi
14079 rm -fr conftest*
14080
14081
14082 fi
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14084 $as_echo "$lt_cv_dlopen_self" >&6; }
14085
14086     if test "x$lt_cv_dlopen_self" = xyes; then
14087       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14088       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14089 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14090 if ${lt_cv_dlopen_self_static+:} false; then :
14091   $as_echo_n "(cached) " >&6
14092 else
14093           if test "$cross_compiling" = yes; then :
14094   lt_cv_dlopen_self_static=cross
14095 else
14096   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14097   lt_status=$lt_dlunknown
14098   cat > conftest.$ac_ext <<_LT_EOF
14099 #line $LINENO "configure"
14100 #include "confdefs.h"
14101
14102 #if HAVE_DLFCN_H
14103 #include <dlfcn.h>
14104 #endif
14105
14106 #include <stdio.h>
14107
14108 #ifdef RTLD_GLOBAL
14109 #  define LT_DLGLOBAL           RTLD_GLOBAL
14110 #else
14111 #  ifdef DL_GLOBAL
14112 #    define LT_DLGLOBAL         DL_GLOBAL
14113 #  else
14114 #    define LT_DLGLOBAL         0
14115 #  endif
14116 #endif
14117
14118 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14119    find out it does not work in some platform. */
14120 #ifndef LT_DLLAZY_OR_NOW
14121 #  ifdef RTLD_LAZY
14122 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14123 #  else
14124 #    ifdef DL_LAZY
14125 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14126 #    else
14127 #      ifdef RTLD_NOW
14128 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14129 #      else
14130 #        ifdef DL_NOW
14131 #          define LT_DLLAZY_OR_NOW      DL_NOW
14132 #        else
14133 #          define LT_DLLAZY_OR_NOW      0
14134 #        endif
14135 #      endif
14136 #    endif
14137 #  endif
14138 #endif
14139
14140 /* When -fvisbility=hidden is used, assume the code has been annotated
14141    correspondingly for the symbols needed.  */
14142 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14143 int fnord () __attribute__((visibility("default")));
14144 #endif
14145
14146 int fnord () { return 42; }
14147 int main ()
14148 {
14149   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14150   int status = $lt_dlunknown;
14151
14152   if (self)
14153     {
14154       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14155       else
14156         {
14157           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14158           else puts (dlerror ());
14159         }
14160       /* dlclose (self); */
14161     }
14162   else
14163     puts (dlerror ());
14164
14165   return status;
14166 }
14167 _LT_EOF
14168   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14169   (eval $ac_link) 2>&5
14170   ac_status=$?
14171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14172   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14173     (./conftest; exit; ) >&5 2>/dev/null
14174     lt_status=$?
14175     case x$lt_status in
14176       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14177       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14178       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14179     esac
14180   else :
14181     # compilation failed
14182     lt_cv_dlopen_self_static=no
14183   fi
14184 fi
14185 rm -fr conftest*
14186
14187
14188 fi
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14190 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14191     fi
14192
14193     CPPFLAGS="$save_CPPFLAGS"
14194     LDFLAGS="$save_LDFLAGS"
14195     LIBS="$save_LIBS"
14196     ;;
14197   esac
14198
14199   case $lt_cv_dlopen_self in
14200   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14201   *) enable_dlopen_self=unknown ;;
14202   esac
14203
14204   case $lt_cv_dlopen_self_static in
14205   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14206   *) enable_dlopen_self_static=unknown ;;
14207   esac
14208 fi
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226 striplib=
14227 old_striplib=
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14229 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14230 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14231   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14232   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14234 $as_echo "yes" >&6; }
14235 else
14236 # FIXME - insert some real tests, host_os isn't really good enough
14237   case $host_os in
14238   darwin*)
14239     if test -n "$STRIP" ; then
14240       striplib="$STRIP -x"
14241       old_striplib="$STRIP -S"
14242       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14243 $as_echo "yes" >&6; }
14244     else
14245       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14246 $as_echo "no" >&6; }
14247     fi
14248     ;;
14249   *)
14250     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14252     ;;
14253   esac
14254 fi
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267   # Report which library types will actually be built
14268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14269 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14271 $as_echo "$can_build_shared" >&6; }
14272
14273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14274 $as_echo_n "checking whether to build shared libraries... " >&6; }
14275   test "$can_build_shared" = "no" && enable_shared=no
14276
14277   # On AIX, shared libraries and static libraries use the same namespace, and
14278   # are all built from PIC.
14279   case $host_os in
14280   aix3*)
14281     test "$enable_shared" = yes && enable_static=no
14282     if test -n "$RANLIB"; then
14283       archive_cmds="$archive_cmds~\$RANLIB \$lib"
14284       postinstall_cmds='$RANLIB $lib'
14285     fi
14286     ;;
14287
14288   aix[4-9]*)
14289     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14290       test "$enable_shared" = yes && enable_static=no
14291     fi
14292     ;;
14293   esac
14294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14295 $as_echo "$enable_shared" >&6; }
14296
14297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14298 $as_echo_n "checking whether to build static libraries... " >&6; }
14299   # Make sure either enable_shared or enable_static is yes.
14300   test "$enable_shared" = yes || enable_static=yes
14301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14302 $as_echo "$enable_static" >&6; }
14303
14304
14305
14306
14307 fi
14308 ac_ext=c
14309 ac_cpp='$CPP $CPPFLAGS'
14310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14313
14314 CC="$lt_save_CC"
14315
14316       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14317     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14318     (test "X$CXX" != "Xg++"))) ; then
14319   ac_ext=cpp
14320 ac_cpp='$CXXCPP $CPPFLAGS'
14321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14325 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14326 if test -z "$CXXCPP"; then
14327   if ${ac_cv_prog_CXXCPP+:} false; then :
14328   $as_echo_n "(cached) " >&6
14329 else
14330       # Double quotes because CXXCPP needs to be expanded
14331     for CXXCPP in "$CXX -E" "/lib/cpp"
14332     do
14333       ac_preproc_ok=false
14334 for ac_cxx_preproc_warn_flag in '' yes
14335 do
14336   # Use a header file that comes with gcc, so configuring glibc
14337   # with a fresh cross-compiler works.
14338   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339   # <limits.h> exists even on freestanding compilers.
14340   # On the NeXT, cc -E runs the code through the compiler's parser,
14341   # not just through cpp. "Syntax error" is here to catch this case.
14342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h.  */
14344 #ifdef __STDC__
14345 # include <limits.h>
14346 #else
14347 # include <assert.h>
14348 #endif
14349                      Syntax error
14350 _ACEOF
14351 if ac_fn_cxx_try_cpp "$LINENO"; then :
14352
14353 else
14354   # Broken: fails on valid input.
14355 continue
14356 fi
14357 rm -f conftest.err conftest.i conftest.$ac_ext
14358
14359   # OK, works on sane cases.  Now check whether nonexistent headers
14360   # can be detected and how.
14361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h.  */
14363 #include <ac_nonexistent.h>
14364 _ACEOF
14365 if ac_fn_cxx_try_cpp "$LINENO"; then :
14366   # Broken: success on invalid input.
14367 continue
14368 else
14369   # Passes both tests.
14370 ac_preproc_ok=:
14371 break
14372 fi
14373 rm -f conftest.err conftest.i conftest.$ac_ext
14374
14375 done
14376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14377 rm -f conftest.i conftest.err conftest.$ac_ext
14378 if $ac_preproc_ok; then :
14379   break
14380 fi
14381
14382     done
14383     ac_cv_prog_CXXCPP=$CXXCPP
14384
14385 fi
14386   CXXCPP=$ac_cv_prog_CXXCPP
14387 else
14388   ac_cv_prog_CXXCPP=$CXXCPP
14389 fi
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14391 $as_echo "$CXXCPP" >&6; }
14392 ac_preproc_ok=false
14393 for ac_cxx_preproc_warn_flag in '' yes
14394 do
14395   # Use a header file that comes with gcc, so configuring glibc
14396   # with a fresh cross-compiler works.
14397   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14398   # <limits.h> exists even on freestanding compilers.
14399   # On the NeXT, cc -E runs the code through the compiler's parser,
14400   # not just through cpp. "Syntax error" is here to catch this case.
14401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h.  */
14403 #ifdef __STDC__
14404 # include <limits.h>
14405 #else
14406 # include <assert.h>
14407 #endif
14408                      Syntax error
14409 _ACEOF
14410 if ac_fn_cxx_try_cpp "$LINENO"; then :
14411
14412 else
14413   # Broken: fails on valid input.
14414 continue
14415 fi
14416 rm -f conftest.err conftest.i conftest.$ac_ext
14417
14418   # OK, works on sane cases.  Now check whether nonexistent headers
14419   # can be detected and how.
14420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h.  */
14422 #include <ac_nonexistent.h>
14423 _ACEOF
14424 if ac_fn_cxx_try_cpp "$LINENO"; then :
14425   # Broken: success on invalid input.
14426 continue
14427 else
14428   # Passes both tests.
14429 ac_preproc_ok=:
14430 break
14431 fi
14432 rm -f conftest.err conftest.i conftest.$ac_ext
14433
14434 done
14435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14436 rm -f conftest.i conftest.err conftest.$ac_ext
14437 if $ac_preproc_ok; then :
14438
14439 else
14440   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14442 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14443 See \`config.log' for more details" "$LINENO" 5; }
14444 fi
14445
14446 ac_ext=c
14447 ac_cpp='$CPP $CPPFLAGS'
14448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14451
14452 else
14453   _lt_caught_CXX_error=yes
14454 fi
14455
14456 ac_ext=cpp
14457 ac_cpp='$CXXCPP $CPPFLAGS'
14458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14461
14462 archive_cmds_need_lc_CXX=no
14463 allow_undefined_flag_CXX=
14464 always_export_symbols_CXX=no
14465 archive_expsym_cmds_CXX=
14466 compiler_needs_object_CXX=no
14467 export_dynamic_flag_spec_CXX=
14468 hardcode_direct_CXX=no
14469 hardcode_direct_absolute_CXX=no
14470 hardcode_libdir_flag_spec_CXX=
14471 hardcode_libdir_flag_spec_ld_CXX=
14472 hardcode_libdir_separator_CXX=
14473 hardcode_minus_L_CXX=no
14474 hardcode_shlibpath_var_CXX=unsupported
14475 hardcode_automatic_CXX=no
14476 inherit_rpath_CXX=no
14477 module_cmds_CXX=
14478 module_expsym_cmds_CXX=
14479 link_all_deplibs_CXX=unknown
14480 old_archive_cmds_CXX=$old_archive_cmds
14481 reload_flag_CXX=$reload_flag
14482 reload_cmds_CXX=$reload_cmds
14483 no_undefined_flag_CXX=
14484 whole_archive_flag_spec_CXX=
14485 enable_shared_with_static_runtimes_CXX=no
14486
14487 # Source file extension for C++ test sources.
14488 ac_ext=cpp
14489
14490 # Object file extension for compiled C++ test sources.
14491 objext=o
14492 objext_CXX=$objext
14493
14494 # No sense in running all these tests if we already determined that
14495 # the CXX compiler isn't working.  Some variables (like enable_shared)
14496 # are currently assumed to apply to all compilers on this platform,
14497 # and will be corrupted by setting them based on a non-working compiler.
14498 if test "$_lt_caught_CXX_error" != yes; then
14499   # Code to be used in simple compile tests
14500   lt_simple_compile_test_code="int some_variable = 0;"
14501
14502   # Code to be used in simple link tests
14503   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14504
14505   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14506
14507
14508
14509
14510
14511
14512 # If no C compiler was specified, use CC.
14513 LTCC=${LTCC-"$CC"}
14514
14515 # If no C compiler flags were specified, use CFLAGS.
14516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14517
14518 # Allow CC to be a program name with arguments.
14519 compiler=$CC
14520
14521
14522   # save warnings/boilerplate of simple test code
14523   ac_outfile=conftest.$ac_objext
14524 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14525 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14526 _lt_compiler_boilerplate=`cat conftest.err`
14527 $RM conftest*
14528
14529   ac_outfile=conftest.$ac_objext
14530 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14531 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14532 _lt_linker_boilerplate=`cat conftest.err`
14533 $RM -r conftest*
14534
14535
14536   # Allow CC to be a program name with arguments.
14537   lt_save_CC=$CC
14538   lt_save_CFLAGS=$CFLAGS
14539   lt_save_LD=$LD
14540   lt_save_GCC=$GCC
14541   GCC=$GXX
14542   lt_save_with_gnu_ld=$with_gnu_ld
14543   lt_save_path_LD=$lt_cv_path_LD
14544   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14545     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14546   else
14547     $as_unset lt_cv_prog_gnu_ld
14548   fi
14549   if test -n "${lt_cv_path_LDCXX+set}"; then
14550     lt_cv_path_LD=$lt_cv_path_LDCXX
14551   else
14552     $as_unset lt_cv_path_LD
14553   fi
14554   test -z "${LDCXX+set}" || LD=$LDCXX
14555   CC=${CXX-"c++"}
14556   CFLAGS=$CXXFLAGS
14557   compiler=$CC
14558   compiler_CXX=$CC
14559   for cc_temp in $compiler""; do
14560   case $cc_temp in
14561     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14562     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14563     \-*) ;;
14564     *) break;;
14565   esac
14566 done
14567 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14568
14569
14570   if test -n "$compiler"; then
14571     # We don't want -fno-exception when compiling C++ code, so set the
14572     # no_builtin_flag separately
14573     if test "$GXX" = yes; then
14574       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14575     else
14576       lt_prog_compiler_no_builtin_flag_CXX=
14577     fi
14578
14579     if test "$GXX" = yes; then
14580       # Set up default GNU C++ configuration
14581
14582
14583
14584 # Check whether --with-gnu-ld was given.
14585 if test "${with_gnu_ld+set}" = set; then :
14586   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14587 else
14588   with_gnu_ld=no
14589 fi
14590
14591 ac_prog=ld
14592 if test "$GCC" = yes; then
14593   # Check if gcc -print-prog-name=ld gives a path.
14594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14595 $as_echo_n "checking for ld used by $CC... " >&6; }
14596   case $host in
14597   *-*-mingw*)
14598     # gcc leaves a trailing carriage return which upsets mingw
14599     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14600   *)
14601     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14602   esac
14603   case $ac_prog in
14604     # Accept absolute paths.
14605     [\\/]* | ?:[\\/]*)
14606       re_direlt='/[^/][^/]*/\.\./'
14607       # Canonicalize the pathname of ld
14608       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14609       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14610         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14611       done
14612       test -z "$LD" && LD="$ac_prog"
14613       ;;
14614   "")
14615     # If it fails, then pretend we aren't using GCC.
14616     ac_prog=ld
14617     ;;
14618   *)
14619     # If it is relative, then search for the first ld in PATH.
14620     with_gnu_ld=unknown
14621     ;;
14622   esac
14623 elif test "$with_gnu_ld" = yes; then
14624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14625 $as_echo_n "checking for GNU ld... " >&6; }
14626 else
14627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14628 $as_echo_n "checking for non-GNU ld... " >&6; }
14629 fi
14630 if ${lt_cv_path_LD+:} false; then :
14631   $as_echo_n "(cached) " >&6
14632 else
14633   if test -z "$LD"; then
14634   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14635   for ac_dir in $PATH; do
14636     IFS="$lt_save_ifs"
14637     test -z "$ac_dir" && ac_dir=.
14638     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14639       lt_cv_path_LD="$ac_dir/$ac_prog"
14640       # Check to see if the program is GNU ld.  I'd rather use --version,
14641       # but apparently some variants of GNU ld only accept -v.
14642       # Break only if it was the GNU/non-GNU ld that we prefer.
14643       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14644       *GNU* | *'with BFD'*)
14645         test "$with_gnu_ld" != no && break
14646         ;;
14647       *)
14648         test "$with_gnu_ld" != yes && break
14649         ;;
14650       esac
14651     fi
14652   done
14653   IFS="$lt_save_ifs"
14654 else
14655   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14656 fi
14657 fi
14658
14659 LD="$lt_cv_path_LD"
14660 if test -n "$LD"; then
14661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14662 $as_echo "$LD" >&6; }
14663 else
14664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14665 $as_echo "no" >&6; }
14666 fi
14667 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14669 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14670 if ${lt_cv_prog_gnu_ld+:} false; then :
14671   $as_echo_n "(cached) " >&6
14672 else
14673   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14674 case `$LD -v 2>&1 </dev/null` in
14675 *GNU* | *'with BFD'*)
14676   lt_cv_prog_gnu_ld=yes
14677   ;;
14678 *)
14679   lt_cv_prog_gnu_ld=no
14680   ;;
14681 esac
14682 fi
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14684 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14685 with_gnu_ld=$lt_cv_prog_gnu_ld
14686
14687
14688
14689
14690
14691
14692
14693       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14694       # archiving commands below assume that GNU ld is being used.
14695       if test "$with_gnu_ld" = yes; then
14696         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14697         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14698
14699         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14700         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14701
14702         # If archive_cmds runs LD, not CC, wlarc should be empty
14703         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14704         #     investigate it a little bit more. (MM)
14705         wlarc='${wl}'
14706
14707         # ancient GNU ld didn't support --whole-archive et. al.
14708         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14709           $GREP 'no-whole-archive' > /dev/null; then
14710           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14711         else
14712           whole_archive_flag_spec_CXX=
14713         fi
14714       else
14715         with_gnu_ld=no
14716         wlarc=
14717
14718         # A generic and very simple default shared library creation
14719         # command for GNU C++ for the case where it uses the native
14720         # linker, instead of GNU ld.  If possible, this setting should
14721         # overridden to take advantage of the native linker features on
14722         # the platform it is being used on.
14723         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14724       fi
14725
14726       # Commands to make compiler produce verbose output that lists
14727       # what "hidden" libraries, object files and flags are used when
14728       # linking a shared library.
14729       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14730
14731     else
14732       GXX=no
14733       with_gnu_ld=no
14734       wlarc=
14735     fi
14736
14737     # PORTME: fill in a description of your system's C++ link characteristics
14738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14739 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14740     ld_shlibs_CXX=yes
14741     case $host_os in
14742       aix3*)
14743         # FIXME: insert proper C++ library support
14744         ld_shlibs_CXX=no
14745         ;;
14746       aix[4-9]*)
14747         if test "$host_cpu" = ia64; then
14748           # On IA64, the linker does run time linking by default, so we don't
14749           # have to do anything special.
14750           aix_use_runtimelinking=no
14751           exp_sym_flag='-Bexport'
14752           no_entry_flag=""
14753         else
14754           aix_use_runtimelinking=no
14755
14756           # Test if we are trying to use run time linking or normal
14757           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14758           # need to do runtime linking.
14759           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14760             for ld_flag in $LDFLAGS; do
14761               case $ld_flag in
14762               *-brtl*)
14763                 aix_use_runtimelinking=yes
14764                 break
14765                 ;;
14766               esac
14767             done
14768             ;;
14769           esac
14770
14771           exp_sym_flag='-bexport'
14772           no_entry_flag='-bnoentry'
14773         fi
14774
14775         # When large executables or shared objects are built, AIX ld can
14776         # have problems creating the table of contents.  If linking a library
14777         # or program results in "error TOC overflow" add -mminimal-toc to
14778         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14779         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14780
14781         archive_cmds_CXX=''
14782         hardcode_direct_CXX=yes
14783         hardcode_direct_absolute_CXX=yes
14784         hardcode_libdir_separator_CXX=':'
14785         link_all_deplibs_CXX=yes
14786         file_list_spec_CXX='${wl}-f,'
14787
14788         if test "$GXX" = yes; then
14789           case $host_os in aix4.[012]|aix4.[012].*)
14790           # We only want to do this on AIX 4.2 and lower, the check
14791           # below for broken collect2 doesn't work under 4.3+
14792           collect2name=`${CC} -print-prog-name=collect2`
14793           if test -f "$collect2name" &&
14794              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14795           then
14796             # We have reworked collect2
14797             :
14798           else
14799             # We have old collect2
14800             hardcode_direct_CXX=unsupported
14801             # It fails to find uninstalled libraries when the uninstalled
14802             # path is not listed in the libpath.  Setting hardcode_minus_L
14803             # to unsupported forces relinking
14804             hardcode_minus_L_CXX=yes
14805             hardcode_libdir_flag_spec_CXX='-L$libdir'
14806             hardcode_libdir_separator_CXX=
14807           fi
14808           esac
14809           shared_flag='-shared'
14810           if test "$aix_use_runtimelinking" = yes; then
14811             shared_flag="$shared_flag "'${wl}-G'
14812           fi
14813         else
14814           # not using gcc
14815           if test "$host_cpu" = ia64; then
14816           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14817           # chokes on -Wl,-G. The following line is correct:
14818           shared_flag='-G'
14819           else
14820             if test "$aix_use_runtimelinking" = yes; then
14821               shared_flag='${wl}-G'
14822             else
14823               shared_flag='${wl}-bM:SRE'
14824             fi
14825           fi
14826         fi
14827
14828         export_dynamic_flag_spec_CXX='${wl}-bexpall'
14829         # It seems that -bexpall does not export symbols beginning with
14830         # underscore (_), so it is better to generate a list of symbols to
14831         # export.
14832         always_export_symbols_CXX=yes
14833         if test "$aix_use_runtimelinking" = yes; then
14834           # Warning - without using the other runtime loading flags (-brtl),
14835           # -berok will link without error, but may produce a broken library.
14836           allow_undefined_flag_CXX='-berok'
14837           # Determine the default libpath from the value encoded in an empty
14838           # executable.
14839           if test "${lt_cv_aix_libpath+set}" = set; then
14840   aix_libpath=$lt_cv_aix_libpath
14841 else
14842   if ${lt_cv_aix_libpath__CXX+:} false; then :
14843   $as_echo_n "(cached) " >&6
14844 else
14845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h.  */
14847
14848 int
14849 main ()
14850 {
14851
14852   ;
14853   return 0;
14854 }
14855 _ACEOF
14856 if ac_fn_cxx_try_link "$LINENO"; then :
14857
14858   lt_aix_libpath_sed='
14859       /Import File Strings/,/^$/ {
14860           /^0/ {
14861               s/^0  *\([^ ]*\) *$/\1/
14862               p
14863           }
14864       }'
14865   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14866   # Check for a 64-bit object if we didn't find anything.
14867   if test -z "$lt_cv_aix_libpath__CXX"; then
14868     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14869   fi
14870 fi
14871 rm -f core conftest.err conftest.$ac_objext \
14872     conftest$ac_exeext conftest.$ac_ext
14873   if test -z "$lt_cv_aix_libpath__CXX"; then
14874     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14875   fi
14876
14877 fi
14878
14879   aix_libpath=$lt_cv_aix_libpath__CXX
14880 fi
14881
14882           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14883
14884           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14885         else
14886           if test "$host_cpu" = ia64; then
14887             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14888             allow_undefined_flag_CXX="-z nodefs"
14889             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14890           else
14891             # Determine the default libpath from the value encoded in an
14892             # empty executable.
14893             if test "${lt_cv_aix_libpath+set}" = set; then
14894   aix_libpath=$lt_cv_aix_libpath
14895 else
14896   if ${lt_cv_aix_libpath__CXX+:} false; then :
14897   $as_echo_n "(cached) " >&6
14898 else
14899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h.  */
14901
14902 int
14903 main ()
14904 {
14905
14906   ;
14907   return 0;
14908 }
14909 _ACEOF
14910 if ac_fn_cxx_try_link "$LINENO"; then :
14911
14912   lt_aix_libpath_sed='
14913       /Import File Strings/,/^$/ {
14914           /^0/ {
14915               s/^0  *\([^ ]*\) *$/\1/
14916               p
14917           }
14918       }'
14919   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14920   # Check for a 64-bit object if we didn't find anything.
14921   if test -z "$lt_cv_aix_libpath__CXX"; then
14922     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14923   fi
14924 fi
14925 rm -f core conftest.err conftest.$ac_objext \
14926     conftest$ac_exeext conftest.$ac_ext
14927   if test -z "$lt_cv_aix_libpath__CXX"; then
14928     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14929   fi
14930
14931 fi
14932
14933   aix_libpath=$lt_cv_aix_libpath__CXX
14934 fi
14935
14936             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14937             # Warning - without using the other run time loading flags,
14938             # -berok will link without error, but may produce a broken library.
14939             no_undefined_flag_CXX=' ${wl}-bernotok'
14940             allow_undefined_flag_CXX=' ${wl}-berok'
14941             if test "$with_gnu_ld" = yes; then
14942               # We only use this code for GNU lds that support --whole-archive.
14943               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14944             else
14945               # Exported symbols can be pulled into shared objects from archives
14946               whole_archive_flag_spec_CXX='$convenience'
14947             fi
14948             archive_cmds_need_lc_CXX=yes
14949             # This is similar to how AIX traditionally builds its shared
14950             # libraries.
14951             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14952           fi
14953         fi
14954         ;;
14955
14956       beos*)
14957         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14958           allow_undefined_flag_CXX=unsupported
14959           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14960           # support --undefined.  This deserves some investigation.  FIXME
14961           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14962         else
14963           ld_shlibs_CXX=no
14964         fi
14965         ;;
14966
14967       chorus*)
14968         case $cc_basename in
14969           *)
14970           # FIXME: insert proper C++ library support
14971           ld_shlibs_CXX=no
14972           ;;
14973         esac
14974         ;;
14975
14976       cygwin* | mingw* | pw32* | cegcc*)
14977         case $GXX,$cc_basename in
14978         ,cl* | no,cl*)
14979           # Native MSVC
14980           # hardcode_libdir_flag_spec is actually meaningless, as there is
14981           # no search path for DLLs.
14982           hardcode_libdir_flag_spec_CXX=' '
14983           allow_undefined_flag_CXX=unsupported
14984           always_export_symbols_CXX=yes
14985           file_list_spec_CXX='@'
14986           # Tell ltmain to make .lib files, not .a files.
14987           libext=lib
14988           # Tell ltmain to make .dll files, not .so files.
14989           shrext_cmds=".dll"
14990           # FIXME: Setting linknames here is a bad hack.
14991           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14992           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14993               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14994             else
14995               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14996             fi~
14997             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14998             linknames='
14999           # The linker will not automatically build a static lib if we build a DLL.
15000           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15001           enable_shared_with_static_runtimes_CXX=yes
15002           # Don't use ranlib
15003           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15004           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15005             lt_tool_outputfile="@TOOL_OUTPUT@"~
15006             case $lt_outputfile in
15007               *.exe|*.EXE) ;;
15008               *)
15009                 lt_outputfile="$lt_outputfile.exe"
15010                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15011                 ;;
15012             esac~
15013             func_to_tool_file "$lt_outputfile"~
15014             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15015               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15016               $RM "$lt_outputfile.manifest";
15017             fi'
15018           ;;
15019         *)
15020           # g++
15021           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15022           # as there is no search path for DLLs.
15023           hardcode_libdir_flag_spec_CXX='-L$libdir'
15024           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15025           allow_undefined_flag_CXX=unsupported
15026           always_export_symbols_CXX=no
15027           enable_shared_with_static_runtimes_CXX=yes
15028
15029           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15030             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15031             # If the export-symbols file already is a .def file (1st line
15032             # is EXPORTS), use it as is; otherwise, prepend...
15033             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15034               cp $export_symbols $output_objdir/$soname.def;
15035             else
15036               echo EXPORTS > $output_objdir/$soname.def;
15037               cat $export_symbols >> $output_objdir/$soname.def;
15038             fi~
15039             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15040           else
15041             ld_shlibs_CXX=no
15042           fi
15043           ;;
15044         esac
15045         ;;
15046       darwin* | rhapsody*)
15047
15048
15049   archive_cmds_need_lc_CXX=no
15050   hardcode_direct_CXX=no
15051   hardcode_automatic_CXX=yes
15052   hardcode_shlibpath_var_CXX=unsupported
15053   if test "$lt_cv_ld_force_load" = "yes"; then
15054     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15055   else
15056     whole_archive_flag_spec_CXX=''
15057   fi
15058   link_all_deplibs_CXX=yes
15059   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15060   case $cc_basename in
15061      ifort*) _lt_dar_can_shared=yes ;;
15062      *) _lt_dar_can_shared=$GCC ;;
15063   esac
15064   if test "$_lt_dar_can_shared" = "yes"; then
15065     output_verbose_link_cmd=func_echo_all
15066     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15067     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15068     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15069     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15070        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15071       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15072       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15073     fi
15074
15075   else
15076   ld_shlibs_CXX=no
15077   fi
15078
15079         ;;
15080
15081       dgux*)
15082         case $cc_basename in
15083           ec++*)
15084             # FIXME: insert proper C++ library support
15085             ld_shlibs_CXX=no
15086             ;;
15087           ghcx*)
15088             # Green Hills C++ Compiler
15089             # FIXME: insert proper C++ library support
15090             ld_shlibs_CXX=no
15091             ;;
15092           *)
15093             # FIXME: insert proper C++ library support
15094             ld_shlibs_CXX=no
15095             ;;
15096         esac
15097         ;;
15098
15099       freebsd[12]*)
15100         # C++ shared libraries reported to be fairly broken before
15101         # switch to ELF
15102         ld_shlibs_CXX=no
15103         ;;
15104
15105       freebsd-elf*)
15106         archive_cmds_need_lc_CXX=no
15107         ;;
15108
15109       freebsd* | dragonfly*)
15110         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15111         # conventions
15112         ld_shlibs_CXX=yes
15113         ;;
15114
15115       gnu*)
15116         ;;
15117
15118       haiku*)
15119         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15120         link_all_deplibs_CXX=yes
15121         ;;
15122
15123       hpux9*)
15124         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15125         hardcode_libdir_separator_CXX=:
15126         export_dynamic_flag_spec_CXX='${wl}-E'
15127         hardcode_direct_CXX=yes
15128         hardcode_minus_L_CXX=yes # Not in the search PATH,
15129                                              # but as the default
15130                                              # location of the library.
15131
15132         case $cc_basename in
15133           CC*)
15134             # FIXME: insert proper C++ library support
15135             ld_shlibs_CXX=no
15136             ;;
15137           aCC*)
15138             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15139             # Commands to make compiler produce verbose output that lists
15140             # what "hidden" libraries, object files and flags are used when
15141             # linking a shared library.
15142             #
15143             # There doesn't appear to be a way to prevent this compiler from
15144             # explicitly linking system object files so we need to strip them
15145             # from the output so that they don't get included in the library
15146             # dependencies.
15147             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15148             ;;
15149           *)
15150             if test "$GXX" = yes; then
15151               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15152             else
15153               # FIXME: insert proper C++ library support
15154               ld_shlibs_CXX=no
15155             fi
15156             ;;
15157         esac
15158         ;;
15159
15160       hpux10*|hpux11*)
15161         if test $with_gnu_ld = no; then
15162           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15163           hardcode_libdir_separator_CXX=:
15164
15165           case $host_cpu in
15166             hppa*64*|ia64*)
15167               ;;
15168             *)
15169               export_dynamic_flag_spec_CXX='${wl}-E'
15170               ;;
15171           esac
15172         fi
15173         case $host_cpu in
15174           hppa*64*|ia64*)
15175             hardcode_direct_CXX=no
15176             hardcode_shlibpath_var_CXX=no
15177             ;;
15178           *)
15179             hardcode_direct_CXX=yes
15180             hardcode_direct_absolute_CXX=yes
15181             hardcode_minus_L_CXX=yes # Not in the search PATH,
15182                                                  # but as the default
15183                                                  # location of the library.
15184             ;;
15185         esac
15186
15187         case $cc_basename in
15188           CC*)
15189             # FIXME: insert proper C++ library support
15190             ld_shlibs_CXX=no
15191             ;;
15192           aCC*)
15193             case $host_cpu in
15194               hppa*64*)
15195                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15196                 ;;
15197               ia64*)
15198                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15199                 ;;
15200               *)
15201                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15202                 ;;
15203             esac
15204             # Commands to make compiler produce verbose output that lists
15205             # what "hidden" libraries, object files and flags are used when
15206             # linking a shared library.
15207             #
15208             # There doesn't appear to be a way to prevent this compiler from
15209             # explicitly linking system object files so we need to strip them
15210             # from the output so that they don't get included in the library
15211             # dependencies.
15212             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15213             ;;
15214           *)
15215             if test "$GXX" = yes; then
15216               if test $with_gnu_ld = no; then
15217                 case $host_cpu in
15218                   hppa*64*)
15219                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15220                     ;;
15221                   ia64*)
15222                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15223                     ;;
15224                   *)
15225                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15226                     ;;
15227                 esac
15228               fi
15229             else
15230               # FIXME: insert proper C++ library support
15231               ld_shlibs_CXX=no
15232             fi
15233             ;;
15234         esac
15235         ;;
15236
15237       interix[3-9]*)
15238         hardcode_direct_CXX=no
15239         hardcode_shlibpath_var_CXX=no
15240         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15241         export_dynamic_flag_spec_CXX='${wl}-E'
15242         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15243         # Instead, shared libraries are loaded at an image base (0x10000000 by
15244         # default) and relocated if they conflict, which is a slow very memory
15245         # consuming and fragmenting process.  To avoid this, we pick a random,
15246         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15247         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15248         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15249         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15250         ;;
15251       irix5* | irix6*)
15252         case $cc_basename in
15253           CC*)
15254             # SGI C++
15255             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15256
15257             # Archives containing C++ object files must be created using
15258             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15259             # necessary to make sure instantiated templates are included
15260             # in the archive.
15261             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15262             ;;
15263           *)
15264             if test "$GXX" = yes; then
15265               if test "$with_gnu_ld" = no; then
15266                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
15267               else
15268                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15269               fi
15270             fi
15271             link_all_deplibs_CXX=yes
15272             ;;
15273         esac
15274         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15275         hardcode_libdir_separator_CXX=:
15276         inherit_rpath_CXX=yes
15277         ;;
15278
15279       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15280         case $cc_basename in
15281           KCC*)
15282             # Kuck and Associates, Inc. (KAI) C++ Compiler
15283
15284             # KCC will only create a shared library if the output file
15285             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15286             # to its proper name (with version) after linking.
15287             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15288             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15289             # Commands to make compiler produce verbose output that lists
15290             # what "hidden" libraries, object files and flags are used when
15291             # linking a shared library.
15292             #
15293             # There doesn't appear to be a way to prevent this compiler from
15294             # explicitly linking system object files so we need to strip them
15295             # from the output so that they don't get included in the library
15296             # dependencies.
15297             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15298
15299             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15300             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15301
15302             # Archives containing C++ object files must be created using
15303             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15304             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15305             ;;
15306           icpc* | ecpc* )
15307             # Intel C++
15308             with_gnu_ld=yes
15309             # version 8.0 and above of icpc choke on multiply defined symbols
15310             # if we add $predep_objects and $postdep_objects, however 7.1 and
15311             # earlier do not add the objects themselves.
15312             case `$CC -V 2>&1` in
15313               *"Version 7."*)
15314                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15315                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15316                 ;;
15317               *)  # Version 8.0 or newer
15318                 tmp_idyn=
15319                 case $host_cpu in
15320                   ia64*) tmp_idyn=' -i_dynamic';;
15321                 esac
15322                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15323                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15324                 ;;
15325             esac
15326             archive_cmds_need_lc_CXX=no
15327             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15328             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15329             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15330             ;;
15331           pgCC* | pgcpp*)
15332             # Portland Group C++ compiler
15333             case `$CC -V` in
15334             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15335               prelink_cmds_CXX='tpldir=Template.dir~
15336                 rm -rf $tpldir~
15337                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15338                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15339               old_archive_cmds_CXX='tpldir=Template.dir~
15340                 rm -rf $tpldir~
15341                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15342                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15343                 $RANLIB $oldlib'
15344               archive_cmds_CXX='tpldir=Template.dir~
15345                 rm -rf $tpldir~
15346                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15347                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15348               archive_expsym_cmds_CXX='tpldir=Template.dir~
15349                 rm -rf $tpldir~
15350                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15351                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15352               ;;
15353             *) # Version 6 and above use weak symbols
15354               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15355               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15356               ;;
15357             esac
15358
15359             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15360             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15361             whole_archive_flag_spec_CXX='${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'
15362             ;;
15363           cxx*)
15364             # Compaq C++
15365             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15366             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15367
15368             runpath_var=LD_RUN_PATH
15369             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15370             hardcode_libdir_separator_CXX=:
15371
15372             # Commands to make compiler produce verbose output that lists
15373             # what "hidden" libraries, object files and flags are used when
15374             # linking a shared library.
15375             #
15376             # There doesn't appear to be a way to prevent this compiler from
15377             # explicitly linking system object files so we need to strip them
15378             # from the output so that they don't get included in the library
15379             # dependencies.
15380             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15381             ;;
15382           xl* | mpixl* | bgxl*)
15383             # IBM XL 8.0 on PPC, with GNU ld
15384             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15385             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15386             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15387             if test "x$supports_anon_versioning" = xyes; then
15388               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15389                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15390                 echo "local: *; };" >> $output_objdir/$libname.ver~
15391                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15392             fi
15393             ;;
15394           *)
15395             case `$CC -V 2>&1 | sed 5q` in
15396             *Sun\ C*)
15397               # Sun C++ 5.9
15398               no_undefined_flag_CXX=' -zdefs'
15399               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15400               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15401               hardcode_libdir_flag_spec_CXX='-R$libdir'
15402               whole_archive_flag_spec_CXX='${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'
15403               compiler_needs_object_CXX=yes
15404
15405               # Not sure whether something based on
15406               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15407               # would be better.
15408               output_verbose_link_cmd='func_echo_all'
15409
15410               # Archives containing C++ object files must be created using
15411               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15412               # necessary to make sure instantiated templates are included
15413               # in the archive.
15414               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15415               ;;
15416             esac
15417             ;;
15418         esac
15419         ;;
15420
15421       lynxos*)
15422         # FIXME: insert proper C++ library support
15423         ld_shlibs_CXX=no
15424         ;;
15425
15426       m88k*)
15427         # FIXME: insert proper C++ library support
15428         ld_shlibs_CXX=no
15429         ;;
15430
15431       mvs*)
15432         case $cc_basename in
15433           cxx*)
15434             # FIXME: insert proper C++ library support
15435             ld_shlibs_CXX=no
15436             ;;
15437           *)
15438             # FIXME: insert proper C++ library support
15439             ld_shlibs_CXX=no
15440             ;;
15441         esac
15442         ;;
15443
15444       netbsd*)
15445         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15446           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15447           wlarc=
15448           hardcode_libdir_flag_spec_CXX='-R$libdir'
15449           hardcode_direct_CXX=yes
15450           hardcode_shlibpath_var_CXX=no
15451         fi
15452         # Workaround some broken pre-1.5 toolchains
15453         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15454         ;;
15455
15456       *nto* | *qnx*)
15457         ld_shlibs_CXX=yes
15458         ;;
15459
15460       openbsd2*)
15461         # C++ shared libraries are fairly broken
15462         ld_shlibs_CXX=no
15463         ;;
15464
15465       openbsd*)
15466         if test -f /usr/libexec/ld.so; then
15467           hardcode_direct_CXX=yes
15468           hardcode_shlibpath_var_CXX=no
15469           hardcode_direct_absolute_CXX=yes
15470           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15471           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15472           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15473             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15474             export_dynamic_flag_spec_CXX='${wl}-E'
15475             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15476           fi
15477           output_verbose_link_cmd=func_echo_all
15478         else
15479           ld_shlibs_CXX=no
15480         fi
15481         ;;
15482
15483       osf3* | osf4* | osf5*)
15484         case $cc_basename in
15485           KCC*)
15486             # Kuck and Associates, Inc. (KAI) C++ Compiler
15487
15488             # KCC will only create a shared library if the output file
15489             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15490             # to its proper name (with version) after linking.
15491             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15492
15493             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15494             hardcode_libdir_separator_CXX=:
15495
15496             # Archives containing C++ object files must be created using
15497             # the KAI C++ compiler.
15498             case $host in
15499               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15500               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15501             esac
15502             ;;
15503           RCC*)
15504             # Rational C++ 2.4.1
15505             # FIXME: insert proper C++ library support
15506             ld_shlibs_CXX=no
15507             ;;
15508           cxx*)
15509             case $host in
15510               osf3*)
15511                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15512                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15513                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15514                 ;;
15515               *)
15516                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15517                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15518                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15519                   echo "-hidden">> $lib.exp~
15520                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15521                   $RM $lib.exp'
15522                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15523                 ;;
15524             esac
15525
15526             hardcode_libdir_separator_CXX=:
15527
15528             # Commands to make compiler produce verbose output that lists
15529             # what "hidden" libraries, object files and flags are used when
15530             # linking a shared library.
15531             #
15532             # There doesn't appear to be a way to prevent this compiler from
15533             # explicitly linking system object files so we need to strip them
15534             # from the output so that they don't get included in the library
15535             # dependencies.
15536             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15537             ;;
15538           *)
15539             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15540               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15541               case $host in
15542                 osf3*)
15543                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
15544                   ;;
15545                 *)
15546                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
15547                   ;;
15548               esac
15549
15550               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15551               hardcode_libdir_separator_CXX=:
15552
15553               # Commands to make compiler produce verbose output that lists
15554               # what "hidden" libraries, object files and flags are used when
15555               # linking a shared library.
15556               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15557
15558             else
15559               # FIXME: insert proper C++ library support
15560               ld_shlibs_CXX=no
15561             fi
15562             ;;
15563         esac
15564         ;;
15565
15566       psos*)
15567         # FIXME: insert proper C++ library support
15568         ld_shlibs_CXX=no
15569         ;;
15570
15571       sunos4*)
15572         case $cc_basename in
15573           CC*)
15574             # Sun C++ 4.x
15575             # FIXME: insert proper C++ library support
15576             ld_shlibs_CXX=no
15577             ;;
15578           lcc*)
15579             # Lucid
15580             # FIXME: insert proper C++ library support
15581             ld_shlibs_CXX=no
15582             ;;
15583           *)
15584             # FIXME: insert proper C++ library support
15585             ld_shlibs_CXX=no
15586             ;;
15587         esac
15588         ;;
15589
15590       solaris*)
15591         case $cc_basename in
15592           CC* | sunCC*)
15593             # Sun C++ 4.2, 5.x and Centerline C++
15594             archive_cmds_need_lc_CXX=yes
15595             no_undefined_flag_CXX=' -zdefs'
15596             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15597             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15598               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15599
15600             hardcode_libdir_flag_spec_CXX='-R$libdir'
15601             hardcode_shlibpath_var_CXX=no
15602             case $host_os in
15603               solaris2.[0-5] | solaris2.[0-5].*) ;;
15604               *)
15605                 # The compiler driver will combine and reorder linker options,
15606                 # but understands `-z linker_flag'.
15607                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15608                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15609                 ;;
15610             esac
15611             link_all_deplibs_CXX=yes
15612
15613             output_verbose_link_cmd='func_echo_all'
15614
15615             # Archives containing C++ object files must be created using
15616             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15617             # necessary to make sure instantiated templates are included
15618             # in the archive.
15619             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15620             ;;
15621           gcx*)
15622             # Green Hills C++ Compiler
15623             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15624
15625             # The C++ compiler must be used to create the archive.
15626             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15627             ;;
15628           *)
15629             # GNU C++ compiler with Solaris linker
15630             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15631               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15632               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15633                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15634                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15635                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15636
15637                 # Commands to make compiler produce verbose output that lists
15638                 # what "hidden" libraries, object files and flags are used when
15639                 # linking a shared library.
15640                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15641               else
15642                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15643                 # platform.
15644                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15645                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15646                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15647
15648                 # Commands to make compiler produce verbose output that lists
15649                 # what "hidden" libraries, object files and flags are used when
15650                 # linking a shared library.
15651                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15652               fi
15653
15654               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15655               case $host_os in
15656                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15657                 *)
15658                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15659                   ;;
15660               esac
15661             fi
15662             ;;
15663         esac
15664         ;;
15665
15666     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15667       no_undefined_flag_CXX='${wl}-z,text'
15668       archive_cmds_need_lc_CXX=no
15669       hardcode_shlibpath_var_CXX=no
15670       runpath_var='LD_RUN_PATH'
15671
15672       case $cc_basename in
15673         CC*)
15674           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15675           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15676           ;;
15677         *)
15678           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15679           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15680           ;;
15681       esac
15682       ;;
15683
15684       sysv5* | sco3.2v5* | sco5v6*)
15685         # Note: We can NOT use -z defs as we might desire, because we do not
15686         # link with -lc, and that would cause any symbols used from libc to
15687         # always be unresolved, which means just about no library would
15688         # ever link correctly.  If we're not using GNU ld we use -z text
15689         # though, which does catch some bad symbols but isn't as heavy-handed
15690         # as -z defs.
15691         no_undefined_flag_CXX='${wl}-z,text'
15692         allow_undefined_flag_CXX='${wl}-z,nodefs'
15693         archive_cmds_need_lc_CXX=no
15694         hardcode_shlibpath_var_CXX=no
15695         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15696         hardcode_libdir_separator_CXX=':'
15697         link_all_deplibs_CXX=yes
15698         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15699         runpath_var='LD_RUN_PATH'
15700
15701         case $cc_basename in
15702           CC*)
15703             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15704             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15705             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15706               '"$old_archive_cmds_CXX"
15707             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15708               '"$reload_cmds_CXX"
15709             ;;
15710           *)
15711             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15712             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15713             ;;
15714         esac
15715       ;;
15716
15717       tandem*)
15718         case $cc_basename in
15719           NCC*)
15720             # NonStop-UX NCC 3.20
15721             # FIXME: insert proper C++ library support
15722             ld_shlibs_CXX=no
15723             ;;
15724           *)
15725             # FIXME: insert proper C++ library support
15726             ld_shlibs_CXX=no
15727             ;;
15728         esac
15729         ;;
15730
15731       vxworks*)
15732         # FIXME: insert proper C++ library support
15733         ld_shlibs_CXX=no
15734         ;;
15735
15736       *)
15737         # FIXME: insert proper C++ library support
15738         ld_shlibs_CXX=no
15739         ;;
15740     esac
15741
15742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15743 $as_echo "$ld_shlibs_CXX" >&6; }
15744     test "$ld_shlibs_CXX" = no && can_build_shared=no
15745
15746     GCC_CXX="$GXX"
15747     LD_CXX="$LD"
15748
15749     ## CAVEAT EMPTOR:
15750     ## There is no encapsulation within the following macros, do not change
15751     ## the running order or otherwise move them around unless you know exactly
15752     ## what you are doing...
15753     # Dependencies to place before and after the object being linked:
15754 predep_objects_CXX=
15755 postdep_objects_CXX=
15756 predeps_CXX=
15757 postdeps_CXX=
15758 compiler_lib_search_path_CXX=
15759
15760 cat > conftest.$ac_ext <<_LT_EOF
15761 class Foo
15762 {
15763 public:
15764   Foo (void) { a = 0; }
15765 private:
15766   int a;
15767 };
15768 _LT_EOF
15769
15770
15771 _lt_libdeps_save_CFLAGS=$CFLAGS
15772 case "$CC $CFLAGS " in #(
15773 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15774 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15775 esac
15776
15777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15778   (eval $ac_compile) 2>&5
15779   ac_status=$?
15780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781   test $ac_status = 0; }; then
15782   # Parse the compiler output and extract the necessary
15783   # objects, libraries and library flags.
15784
15785   # Sentinel used to keep track of whether or not we are before
15786   # the conftest object file.
15787   pre_test_object_deps_done=no
15788
15789   for p in `eval "$output_verbose_link_cmd"`; do
15790     case ${prev}${p} in
15791
15792     -L* | -R* | -l*)
15793        # Some compilers place space between "-{L,R}" and the path.
15794        # Remove the space.
15795        if test $p = "-L" ||
15796           test $p = "-R"; then
15797          prev=$p
15798          continue
15799        fi
15800
15801        # Expand the sysroot to ease extracting the directories later.
15802        if test -z "$prev"; then
15803          case $p in
15804          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15805          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15806          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15807          esac
15808        fi
15809        case $p in
15810        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15811        esac
15812        if test "$pre_test_object_deps_done" = no; then
15813          case ${prev} in
15814          -L | -R)
15815            # Internal compiler library paths should come after those
15816            # provided the user.  The postdeps already come after the
15817            # user supplied libs so there is no need to process them.
15818            if test -z "$compiler_lib_search_path_CXX"; then
15819              compiler_lib_search_path_CXX="${prev}${p}"
15820            else
15821              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15822            fi
15823            ;;
15824          # The "-l" case would never come before the object being
15825          # linked, so don't bother handling this case.
15826          esac
15827        else
15828          if test -z "$postdeps_CXX"; then
15829            postdeps_CXX="${prev}${p}"
15830          else
15831            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15832          fi
15833        fi
15834        prev=
15835        ;;
15836
15837     *.lto.$objext) ;; # Ignore GCC LTO objects
15838     *.$objext)
15839        # This assumes that the test object file only shows up
15840        # once in the compiler output.
15841        if test "$p" = "conftest.$objext"; then
15842          pre_test_object_deps_done=yes
15843          continue
15844        fi
15845
15846        if test "$pre_test_object_deps_done" = no; then
15847          if test -z "$predep_objects_CXX"; then
15848            predep_objects_CXX="$p"
15849          else
15850            predep_objects_CXX="$predep_objects_CXX $p"
15851          fi
15852        else
15853          if test -z "$postdep_objects_CXX"; then
15854            postdep_objects_CXX="$p"
15855          else
15856            postdep_objects_CXX="$postdep_objects_CXX $p"
15857          fi
15858        fi
15859        ;;
15860
15861     *) ;; # Ignore the rest.
15862
15863     esac
15864   done
15865
15866   # Clean up.
15867   rm -f a.out a.exe
15868 else
15869   echo "libtool.m4: error: problem compiling CXX test program"
15870 fi
15871
15872 $RM -f confest.$objext
15873 CFLAGS=$_lt_libdeps_save_CFLAGS
15874
15875 # PORTME: override above test on systems where it is broken
15876 case $host_os in
15877 interix[3-9]*)
15878   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15879   # hack all around it, let's just trust "g++" to DTRT.
15880   predep_objects_CXX=
15881   postdep_objects_CXX=
15882   postdeps_CXX=
15883   ;;
15884
15885 linux*)
15886   case `$CC -V 2>&1 | sed 5q` in
15887   *Sun\ C*)
15888     # Sun C++ 5.9
15889
15890     # The more standards-conforming stlport4 library is
15891     # incompatible with the Cstd library. Avoid specifying
15892     # it if it's in CXXFLAGS. Ignore libCrun as
15893     # -library=stlport4 depends on it.
15894     case " $CXX $CXXFLAGS " in
15895     *" -library=stlport4 "*)
15896       solaris_use_stlport4=yes
15897       ;;
15898     esac
15899
15900     if test "$solaris_use_stlport4" != yes; then
15901       postdeps_CXX='-library=Cstd -library=Crun'
15902     fi
15903     ;;
15904   esac
15905   ;;
15906
15907 solaris*)
15908   case $cc_basename in
15909   CC* | sunCC*)
15910     # The more standards-conforming stlport4 library is
15911     # incompatible with the Cstd library. Avoid specifying
15912     # it if it's in CXXFLAGS. Ignore libCrun as
15913     # -library=stlport4 depends on it.
15914     case " $CXX $CXXFLAGS " in
15915     *" -library=stlport4 "*)
15916       solaris_use_stlport4=yes
15917       ;;
15918     esac
15919
15920     # Adding this requires a known-good setup of shared libraries for
15921     # Sun compiler versions before 5.6, else PIC objects from an old
15922     # archive will be linked into the output, leading to subtle bugs.
15923     if test "$solaris_use_stlport4" != yes; then
15924       postdeps_CXX='-library=Cstd -library=Crun'
15925     fi
15926     ;;
15927   esac
15928   ;;
15929 esac
15930
15931
15932 case " $postdeps_CXX " in
15933 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15934 esac
15935  compiler_lib_search_dirs_CXX=
15936 if test -n "${compiler_lib_search_path_CXX}"; then
15937  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15938 fi
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970     lt_prog_compiler_wl_CXX=
15971 lt_prog_compiler_pic_CXX=
15972 lt_prog_compiler_static_CXX=
15973
15974
15975   # C++ specific cases for pic, static, wl, etc.
15976   if test "$GXX" = yes; then
15977     lt_prog_compiler_wl_CXX='-Wl,'
15978     lt_prog_compiler_static_CXX='-static'
15979
15980     case $host_os in
15981     aix*)
15982       # All AIX code is PIC.
15983       if test "$host_cpu" = ia64; then
15984         # AIX 5 now supports IA64 processor
15985         lt_prog_compiler_static_CXX='-Bstatic'
15986       fi
15987       ;;
15988
15989     amigaos*)
15990       case $host_cpu in
15991       powerpc)
15992             # see comment about AmigaOS4 .so support
15993             lt_prog_compiler_pic_CXX='-fPIC'
15994         ;;
15995       m68k)
15996             # FIXME: we need at least 68020 code to build shared libraries, but
15997             # adding the `-m68020' flag to GCC prevents building anything better,
15998             # like `-m68040'.
15999             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16000         ;;
16001       esac
16002       ;;
16003
16004     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16005       # PIC is the default for these OSes.
16006       ;;
16007     mingw* | cygwin* | os2* | pw32* | cegcc*)
16008       # This hack is so that the source file can tell whether it is being
16009       # built for inclusion in a dll (and should export symbols for example).
16010       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16011       # (--disable-auto-import) libraries
16012       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16013       ;;
16014     darwin* | rhapsody*)
16015       # PIC is the default on this platform
16016       # Common symbols not allowed in MH_DYLIB files
16017       lt_prog_compiler_pic_CXX='-fno-common'
16018       ;;
16019     *djgpp*)
16020       # DJGPP does not support shared libraries at all
16021       lt_prog_compiler_pic_CXX=
16022       ;;
16023     haiku*)
16024       # PIC is the default for Haiku.
16025       # The "-static" flag exists, but is broken.
16026       lt_prog_compiler_static_CXX=
16027       ;;
16028     interix[3-9]*)
16029       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16030       # Instead, we relocate shared libraries at runtime.
16031       ;;
16032     sysv4*MP*)
16033       if test -d /usr/nec; then
16034         lt_prog_compiler_pic_CXX=-Kconform_pic
16035       fi
16036       ;;
16037     hpux*)
16038       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16039       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16040       # sets the default TLS model and affects inlining.
16041       case $host_cpu in
16042       hppa*64*)
16043         ;;
16044       *)
16045         lt_prog_compiler_pic_CXX='-fPIC'
16046         ;;
16047       esac
16048       ;;
16049     *qnx* | *nto*)
16050       # QNX uses GNU C++, but need to define -shared option too, otherwise
16051       # it will coredump.
16052       lt_prog_compiler_pic_CXX='-fPIC -shared'
16053       ;;
16054     *)
16055       lt_prog_compiler_pic_CXX='-fPIC'
16056       ;;
16057     esac
16058   else
16059     case $host_os in
16060       aix[4-9]*)
16061         # All AIX code is PIC.
16062         if test "$host_cpu" = ia64; then
16063           # AIX 5 now supports IA64 processor
16064           lt_prog_compiler_static_CXX='-Bstatic'
16065         else
16066           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16067         fi
16068         ;;
16069       chorus*)
16070         case $cc_basename in
16071         cxch68*)
16072           # Green Hills C++ Compiler
16073           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16074           ;;
16075         esac
16076         ;;
16077       mingw* | cygwin* | os2* | pw32* | cegcc*)
16078         # This hack is so that the source file can tell whether it is being
16079         # built for inclusion in a dll (and should export symbols for example).
16080         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16081         ;;
16082       dgux*)
16083         case $cc_basename in
16084           ec++*)
16085             lt_prog_compiler_pic_CXX='-KPIC'
16086             ;;
16087           ghcx*)
16088             # Green Hills C++ Compiler
16089             lt_prog_compiler_pic_CXX='-pic'
16090             ;;
16091           *)
16092             ;;
16093         esac
16094         ;;
16095       freebsd* | dragonfly*)
16096         # FreeBSD uses GNU C++
16097         ;;
16098       hpux9* | hpux10* | hpux11*)
16099         case $cc_basename in
16100           CC*)
16101             lt_prog_compiler_wl_CXX='-Wl,'
16102             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16103             if test "$host_cpu" != ia64; then
16104               lt_prog_compiler_pic_CXX='+Z'
16105             fi
16106             ;;
16107           aCC*)
16108             lt_prog_compiler_wl_CXX='-Wl,'
16109             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16110             case $host_cpu in
16111             hppa*64*|ia64*)
16112               # +Z the default
16113               ;;
16114             *)
16115               lt_prog_compiler_pic_CXX='+Z'
16116               ;;
16117             esac
16118             ;;
16119           *)
16120             ;;
16121         esac
16122         ;;
16123       interix*)
16124         # This is c89, which is MS Visual C++ (no shared libs)
16125         # Anyone wants to do a port?
16126         ;;
16127       irix5* | irix6* | nonstopux*)
16128         case $cc_basename in
16129           CC*)
16130             lt_prog_compiler_wl_CXX='-Wl,'
16131             lt_prog_compiler_static_CXX='-non_shared'
16132             # CC pic flag -KPIC is the default.
16133             ;;
16134           *)
16135             ;;
16136         esac
16137         ;;
16138       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16139         case $cc_basename in
16140           KCC*)
16141             # KAI C++ Compiler
16142             lt_prog_compiler_wl_CXX='--backend -Wl,'
16143             lt_prog_compiler_pic_CXX='-fPIC'
16144             ;;
16145           ecpc* )
16146             # old Intel C++ for x86_64 which still supported -KPIC.
16147             lt_prog_compiler_wl_CXX='-Wl,'
16148             lt_prog_compiler_pic_CXX='-KPIC'
16149             lt_prog_compiler_static_CXX='-static'
16150             ;;
16151           icpc* )
16152             # Intel C++, used to be incompatible with GCC.
16153             # ICC 10 doesn't accept -KPIC any more.
16154             lt_prog_compiler_wl_CXX='-Wl,'
16155             lt_prog_compiler_pic_CXX='-fPIC'
16156             lt_prog_compiler_static_CXX='-static'
16157             ;;
16158           pgCC* | pgcpp*)
16159             # Portland Group C++ compiler
16160             lt_prog_compiler_wl_CXX='-Wl,'
16161             lt_prog_compiler_pic_CXX='-fpic'
16162             lt_prog_compiler_static_CXX='-Bstatic'
16163             ;;
16164           cxx*)
16165             # Compaq C++
16166             # Make sure the PIC flag is empty.  It appears that all Alpha
16167             # Linux and Compaq Tru64 Unix objects are PIC.
16168             lt_prog_compiler_pic_CXX=
16169             lt_prog_compiler_static_CXX='-non_shared'
16170             ;;
16171           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16172             # IBM XL 8.0, 9.0 on PPC and BlueGene
16173             lt_prog_compiler_wl_CXX='-Wl,'
16174             lt_prog_compiler_pic_CXX='-qpic'
16175             lt_prog_compiler_static_CXX='-qstaticlink'
16176             ;;
16177           *)
16178             case `$CC -V 2>&1 | sed 5q` in
16179             *Sun\ C*)
16180               # Sun C++ 5.9
16181               lt_prog_compiler_pic_CXX='-KPIC'
16182               lt_prog_compiler_static_CXX='-Bstatic'
16183               lt_prog_compiler_wl_CXX='-Qoption ld '
16184               ;;
16185             esac
16186             ;;
16187         esac
16188         ;;
16189       lynxos*)
16190         ;;
16191       m88k*)
16192         ;;
16193       mvs*)
16194         case $cc_basename in
16195           cxx*)
16196             lt_prog_compiler_pic_CXX='-W c,exportall'
16197             ;;
16198           *)
16199             ;;
16200         esac
16201         ;;
16202       netbsd*)
16203         ;;
16204       *qnx* | *nto*)
16205         # QNX uses GNU C++, but need to define -shared option too, otherwise
16206         # it will coredump.
16207         lt_prog_compiler_pic_CXX='-fPIC -shared'
16208         ;;
16209       osf3* | osf4* | osf5*)
16210         case $cc_basename in
16211           KCC*)
16212             lt_prog_compiler_wl_CXX='--backend -Wl,'
16213             ;;
16214           RCC*)
16215             # Rational C++ 2.4.1
16216             lt_prog_compiler_pic_CXX='-pic'
16217             ;;
16218           cxx*)
16219             # Digital/Compaq C++
16220             lt_prog_compiler_wl_CXX='-Wl,'
16221             # Make sure the PIC flag is empty.  It appears that all Alpha
16222             # Linux and Compaq Tru64 Unix objects are PIC.
16223             lt_prog_compiler_pic_CXX=
16224             lt_prog_compiler_static_CXX='-non_shared'
16225             ;;
16226           *)
16227             ;;
16228         esac
16229         ;;
16230       psos*)
16231         ;;
16232       solaris*)
16233         case $cc_basename in
16234           CC* | sunCC*)
16235             # Sun C++ 4.2, 5.x and Centerline C++
16236             lt_prog_compiler_pic_CXX='-KPIC'
16237             lt_prog_compiler_static_CXX='-Bstatic'
16238             lt_prog_compiler_wl_CXX='-Qoption ld '
16239             ;;
16240           gcx*)
16241             # Green Hills C++ Compiler
16242             lt_prog_compiler_pic_CXX='-PIC'
16243             ;;
16244           *)
16245             ;;
16246         esac
16247         ;;
16248       sunos4*)
16249         case $cc_basename in
16250           CC*)
16251             # Sun C++ 4.x
16252             lt_prog_compiler_pic_CXX='-pic'
16253             lt_prog_compiler_static_CXX='-Bstatic'
16254             ;;
16255           lcc*)
16256             # Lucid
16257             lt_prog_compiler_pic_CXX='-pic'
16258             ;;
16259           *)
16260             ;;
16261         esac
16262         ;;
16263       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16264         case $cc_basename in
16265           CC*)
16266             lt_prog_compiler_wl_CXX='-Wl,'
16267             lt_prog_compiler_pic_CXX='-KPIC'
16268             lt_prog_compiler_static_CXX='-Bstatic'
16269             ;;
16270         esac
16271         ;;
16272       tandem*)
16273         case $cc_basename in
16274           NCC*)
16275             # NonStop-UX NCC 3.20
16276             lt_prog_compiler_pic_CXX='-KPIC'
16277             ;;
16278           *)
16279             ;;
16280         esac
16281         ;;
16282       vxworks*)
16283         ;;
16284       *)
16285         lt_prog_compiler_can_build_shared_CXX=no
16286         ;;
16287     esac
16288   fi
16289
16290 case $host_os in
16291   # For platforms which do not support PIC, -DPIC is meaningless:
16292   *djgpp*)
16293     lt_prog_compiler_pic_CXX=
16294     ;;
16295   *)
16296     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16297     ;;
16298 esac
16299
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16301 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16302 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16303   $as_echo_n "(cached) " >&6
16304 else
16305   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16306 fi
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16308 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16309 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16310
16311 #
16312 # Check to make sure the PIC flag actually works.
16313 #
16314 if test -n "$lt_prog_compiler_pic_CXX"; then
16315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16316 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16317 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16318   $as_echo_n "(cached) " >&6
16319 else
16320   lt_cv_prog_compiler_pic_works_CXX=no
16321    ac_outfile=conftest.$ac_objext
16322    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16323    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16324    # Insert the option either (1) after the last *FLAGS variable, or
16325    # (2) before a word containing "conftest.", or (3) at the end.
16326    # Note that $ac_compile itself does not contain backslashes and begins
16327    # with a dollar sign (not a hyphen), so the echo should work correctly.
16328    # The option is referenced via a variable to avoid confusing sed.
16329    lt_compile=`echo "$ac_compile" | $SED \
16330    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16331    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16332    -e 's:$: $lt_compiler_flag:'`
16333    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16334    (eval "$lt_compile" 2>conftest.err)
16335    ac_status=$?
16336    cat conftest.err >&5
16337    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338    if (exit $ac_status) && test -s "$ac_outfile"; then
16339      # The compiler can only warn and ignore the option if not recognized
16340      # So say no if there are warnings other than the usual output.
16341      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16342      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16343      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16344        lt_cv_prog_compiler_pic_works_CXX=yes
16345      fi
16346    fi
16347    $RM conftest*
16348
16349 fi
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16351 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16352
16353 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16354     case $lt_prog_compiler_pic_CXX in
16355      "" | " "*) ;;
16356      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16357      esac
16358 else
16359     lt_prog_compiler_pic_CXX=
16360      lt_prog_compiler_can_build_shared_CXX=no
16361 fi
16362
16363 fi
16364
16365
16366
16367
16368
16369 #
16370 # Check to make sure the static flag actually works.
16371 #
16372 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16374 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16375 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16376   $as_echo_n "(cached) " >&6
16377 else
16378   lt_cv_prog_compiler_static_works_CXX=no
16379    save_LDFLAGS="$LDFLAGS"
16380    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16381    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16382    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16383      # The linker can only warn and ignore the option if not recognized
16384      # So say no if there are warnings
16385      if test -s conftest.err; then
16386        # Append any errors to the config.log.
16387        cat conftest.err 1>&5
16388        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16389        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16390        if diff conftest.exp conftest.er2 >/dev/null; then
16391          lt_cv_prog_compiler_static_works_CXX=yes
16392        fi
16393      else
16394        lt_cv_prog_compiler_static_works_CXX=yes
16395      fi
16396    fi
16397    $RM -r conftest*
16398    LDFLAGS="$save_LDFLAGS"
16399
16400 fi
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16402 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16403
16404 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16405     :
16406 else
16407     lt_prog_compiler_static_CXX=
16408 fi
16409
16410
16411
16412
16413     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16414 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16415 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16416   $as_echo_n "(cached) " >&6
16417 else
16418   lt_cv_prog_compiler_c_o_CXX=no
16419    $RM -r conftest 2>/dev/null
16420    mkdir conftest
16421    cd conftest
16422    mkdir out
16423    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16424
16425    lt_compiler_flag="-o out/conftest2.$ac_objext"
16426    # Insert the option either (1) after the last *FLAGS variable, or
16427    # (2) before a word containing "conftest.", or (3) at the end.
16428    # Note that $ac_compile itself does not contain backslashes and begins
16429    # with a dollar sign (not a hyphen), so the echo should work correctly.
16430    lt_compile=`echo "$ac_compile" | $SED \
16431    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16432    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16433    -e 's:$: $lt_compiler_flag:'`
16434    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16435    (eval "$lt_compile" 2>out/conftest.err)
16436    ac_status=$?
16437    cat out/conftest.err >&5
16438    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16440    then
16441      # The compiler can only warn and ignore the option if not recognized
16442      # So say no if there are warnings
16443      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16444      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16445      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16446        lt_cv_prog_compiler_c_o_CXX=yes
16447      fi
16448    fi
16449    chmod u+w . 2>&5
16450    $RM conftest*
16451    # SGI C++ compiler will create directory out/ii_files/ for
16452    # template instantiation
16453    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16454    $RM out/* && rmdir out
16455    cd ..
16456    $RM -r conftest
16457    $RM conftest*
16458
16459 fi
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16461 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16462
16463
16464
16465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16466 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16467 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16468   $as_echo_n "(cached) " >&6
16469 else
16470   lt_cv_prog_compiler_c_o_CXX=no
16471    $RM -r conftest 2>/dev/null
16472    mkdir conftest
16473    cd conftest
16474    mkdir out
16475    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16476
16477    lt_compiler_flag="-o out/conftest2.$ac_objext"
16478    # Insert the option either (1) after the last *FLAGS variable, or
16479    # (2) before a word containing "conftest.", or (3) at the end.
16480    # Note that $ac_compile itself does not contain backslashes and begins
16481    # with a dollar sign (not a hyphen), so the echo should work correctly.
16482    lt_compile=`echo "$ac_compile" | $SED \
16483    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16484    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16485    -e 's:$: $lt_compiler_flag:'`
16486    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16487    (eval "$lt_compile" 2>out/conftest.err)
16488    ac_status=$?
16489    cat out/conftest.err >&5
16490    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16492    then
16493      # The compiler can only warn and ignore the option if not recognized
16494      # So say no if there are warnings
16495      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16496      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16497      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16498        lt_cv_prog_compiler_c_o_CXX=yes
16499      fi
16500    fi
16501    chmod u+w . 2>&5
16502    $RM conftest*
16503    # SGI C++ compiler will create directory out/ii_files/ for
16504    # template instantiation
16505    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16506    $RM out/* && rmdir out
16507    cd ..
16508    $RM -r conftest
16509    $RM conftest*
16510
16511 fi
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16513 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16514
16515
16516
16517
16518 hard_links="nottested"
16519 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16520   # do not overwrite the value of need_locks provided by the user
16521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16522 $as_echo_n "checking if we can lock with hard links... " >&6; }
16523   hard_links=yes
16524   $RM conftest*
16525   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16526   touch conftest.a
16527   ln conftest.a conftest.b 2>&5 || hard_links=no
16528   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16530 $as_echo "$hard_links" >&6; }
16531   if test "$hard_links" = no; then
16532     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16533 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16534     need_locks=warn
16535   fi
16536 else
16537   need_locks=no
16538 fi
16539
16540
16541
16542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16543 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16544
16545   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16546   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16547   case $host_os in
16548   aix[4-9]*)
16549     # If we're using GNU nm, then we don't want the "-C" option.
16550     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16551     # Also, AIX nm treats weak defined symbols like other global defined
16552     # symbols, whereas GNU nm marks them as "W".
16553     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16554       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16555     else
16556       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16557     fi
16558     ;;
16559   pw32*)
16560     export_symbols_cmds_CXX="$ltdll_cmds"
16561     ;;
16562   cygwin* | mingw* | cegcc*)
16563     case $cc_basename in
16564     cl*) ;;
16565     *)
16566       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16567       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16568       ;;
16569     esac
16570     ;;
16571   *)
16572     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16573     ;;
16574   esac
16575
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16577 $as_echo "$ld_shlibs_CXX" >&6; }
16578 test "$ld_shlibs_CXX" = no && can_build_shared=no
16579
16580 with_gnu_ld_CXX=$with_gnu_ld
16581
16582
16583
16584
16585
16586
16587 #
16588 # Do we need to explicitly link libc?
16589 #
16590 case "x$archive_cmds_need_lc_CXX" in
16591 x|xyes)
16592   # Assume -lc should be added
16593   archive_cmds_need_lc_CXX=yes
16594
16595   if test "$enable_shared" = yes && test "$GCC" = yes; then
16596     case $archive_cmds_CXX in
16597     *'~'*)
16598       # FIXME: we may have to deal with multi-command sequences.
16599       ;;
16600     '$CC '*)
16601       # Test whether the compiler implicitly links with -lc since on some
16602       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16603       # to ld, don't add -lc before -lgcc.
16604       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16605 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16606 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16607   $as_echo_n "(cached) " >&6
16608 else
16609   $RM conftest*
16610         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16611
16612         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16613   (eval $ac_compile) 2>&5
16614   ac_status=$?
16615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16616   test $ac_status = 0; } 2>conftest.err; then
16617           soname=conftest
16618           lib=conftest
16619           libobjs=conftest.$ac_objext
16620           deplibs=
16621           wl=$lt_prog_compiler_wl_CXX
16622           pic_flag=$lt_prog_compiler_pic_CXX
16623           compiler_flags=-v
16624           linker_flags=-v
16625           verstring=
16626           output_objdir=.
16627           libname=conftest
16628           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16629           allow_undefined_flag_CXX=
16630           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16631   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16632   ac_status=$?
16633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16634   test $ac_status = 0; }
16635           then
16636             lt_cv_archive_cmds_need_lc_CXX=no
16637           else
16638             lt_cv_archive_cmds_need_lc_CXX=yes
16639           fi
16640           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16641         else
16642           cat conftest.err 1>&5
16643         fi
16644         $RM conftest*
16645
16646 fi
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16648 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16649       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16650       ;;
16651     esac
16652   fi
16653   ;;
16654 esac
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16720 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16721
16722 library_names_spec=
16723 libname_spec='lib$name'
16724 soname_spec=
16725 shrext_cmds=".so"
16726 postinstall_cmds=
16727 postuninstall_cmds=
16728 finish_cmds=
16729 finish_eval=
16730 shlibpath_var=
16731 shlibpath_overrides_runpath=unknown
16732 version_type=none
16733 dynamic_linker="$host_os ld.so"
16734 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16735 need_lib_prefix=unknown
16736 hardcode_into_libs=no
16737
16738 # when you set need_version to no, make sure it does not cause -set_version
16739 # flags to be left without arguments
16740 need_version=unknown
16741
16742 case $host_os in
16743 aix3*)
16744   version_type=linux
16745   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16746   shlibpath_var=LIBPATH
16747
16748   # AIX 3 has no versioning support, so we append a major version to the name.
16749   soname_spec='${libname}${release}${shared_ext}$major'
16750   ;;
16751
16752 aix[4-9]*)
16753   version_type=linux
16754   need_lib_prefix=no
16755   need_version=no
16756   hardcode_into_libs=yes
16757   if test "$host_cpu" = ia64; then
16758     # AIX 5 supports IA64
16759     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16760     shlibpath_var=LD_LIBRARY_PATH
16761   else
16762     # With GCC up to 2.95.x, collect2 would create an import file
16763     # for dependence libraries.  The import file would start with
16764     # the line `#! .'.  This would cause the generated library to
16765     # depend on `.', always an invalid library.  This was fixed in
16766     # development snapshots of GCC prior to 3.0.
16767     case $host_os in
16768       aix4 | aix4.[01] | aix4.[01].*)
16769       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16770            echo ' yes '
16771            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16772         :
16773       else
16774         can_build_shared=no
16775       fi
16776       ;;
16777     esac
16778     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16779     # soname into executable. Probably we can add versioning support to
16780     # collect2, so additional links can be useful in future.
16781     if test "$aix_use_runtimelinking" = yes; then
16782       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16783       # instead of lib<name>.a to let people know that these are not
16784       # typical AIX shared libraries.
16785       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16786     else
16787       # We preserve .a as extension for shared libraries through AIX4.2
16788       # and later when we are not doing run time linking.
16789       library_names_spec='${libname}${release}.a $libname.a'
16790       soname_spec='${libname}${release}${shared_ext}$major'
16791     fi
16792     shlibpath_var=LIBPATH
16793   fi
16794   ;;
16795
16796 amigaos*)
16797   case $host_cpu in
16798   powerpc)
16799     # Since July 2007 AmigaOS4 officially supports .so libraries.
16800     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16801     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16802     ;;
16803   m68k)
16804     library_names_spec='$libname.ixlibrary $libname.a'
16805     # Create ${libname}_ixlibrary.a entries in /sys/libs.
16806     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'
16807     ;;
16808   esac
16809   ;;
16810
16811 beos*)
16812   library_names_spec='${libname}${shared_ext}'
16813   dynamic_linker="$host_os ld.so"
16814   shlibpath_var=LIBRARY_PATH
16815   ;;
16816
16817 bsdi[45]*)
16818   version_type=linux
16819   need_version=no
16820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16821   soname_spec='${libname}${release}${shared_ext}$major'
16822   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16823   shlibpath_var=LD_LIBRARY_PATH
16824   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16825   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16826   # the default ld.so.conf also contains /usr/contrib/lib and
16827   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16828   # libtool to hard-code these into programs
16829   ;;
16830
16831 cygwin* | mingw* | pw32* | cegcc*)
16832   version_type=windows
16833   shrext_cmds=".dll"
16834   need_version=no
16835   need_lib_prefix=no
16836
16837   case $GCC,$cc_basename in
16838   yes,*)
16839     # gcc
16840     library_names_spec='$libname.dll.a'
16841     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16842     postinstall_cmds='base_file=`basename \${file}`~
16843       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16844       dldir=$destdir/`dirname \$dlpath`~
16845       test -d \$dldir || mkdir -p \$dldir~
16846       $install_prog $dir/$dlname \$dldir/$dlname~
16847       chmod a+x \$dldir/$dlname~
16848       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16849         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16850       fi'
16851     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16852       dlpath=$dir/\$dldll~
16853        $RM \$dlpath'
16854     shlibpath_overrides_runpath=yes
16855
16856     case $host_os in
16857     cygwin*)
16858       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16859       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16860
16861       ;;
16862     mingw* | cegcc*)
16863       # MinGW DLLs use traditional 'lib' prefix
16864       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16865       ;;
16866     pw32*)
16867       # pw32 DLLs use 'pw' prefix rather than 'lib'
16868       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16869       ;;
16870     esac
16871     dynamic_linker='Win32 ld.exe'
16872     ;;
16873
16874   *,cl*)
16875     # Native MSVC
16876     libname_spec='$name'
16877     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16878     library_names_spec='${libname}.dll.lib'
16879
16880     case $build_os in
16881     mingw*)
16882       sys_lib_search_path_spec=
16883       lt_save_ifs=$IFS
16884       IFS=';'
16885       for lt_path in $LIB
16886       do
16887         IFS=$lt_save_ifs
16888         # Let DOS variable expansion print the short 8.3 style file name.
16889         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16890         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16891       done
16892       IFS=$lt_save_ifs
16893       # Convert to MSYS style.
16894       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16895       ;;
16896     cygwin*)
16897       # Convert to unix form, then to dos form, then back to unix form
16898       # but this time dos style (no spaces!) so that the unix form looks
16899       # like /cygdrive/c/PROGRA~1:/cygdr...
16900       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16901       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16902       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16903       ;;
16904     *)
16905       sys_lib_search_path_spec="$LIB"
16906       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16907         # It is most probably a Windows format PATH.
16908         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16909       else
16910         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16911       fi
16912       # FIXME: find the short name or the path components, as spaces are
16913       # common. (e.g. "Program Files" -> "PROGRA~1")
16914       ;;
16915     esac
16916
16917     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16918     postinstall_cmds='base_file=`basename \${file}`~
16919       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16920       dldir=$destdir/`dirname \$dlpath`~
16921       test -d \$dldir || mkdir -p \$dldir~
16922       $install_prog $dir/$dlname \$dldir/$dlname'
16923     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16924       dlpath=$dir/\$dldll~
16925        $RM \$dlpath'
16926     shlibpath_overrides_runpath=yes
16927     dynamic_linker='Win32 link.exe'
16928     ;;
16929
16930   *)
16931     # Assume MSVC wrapper
16932     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16933     dynamic_linker='Win32 ld.exe'
16934     ;;
16935   esac
16936   # FIXME: first we should search . and the directory the executable is in
16937   shlibpath_var=PATH
16938   ;;
16939
16940 darwin* | rhapsody*)
16941   dynamic_linker="$host_os dyld"
16942   version_type=darwin
16943   need_lib_prefix=no
16944   need_version=no
16945   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16946   soname_spec='${libname}${release}${major}$shared_ext'
16947   shlibpath_overrides_runpath=yes
16948   shlibpath_var=DYLD_LIBRARY_PATH
16949   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16950
16951   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16952   ;;
16953
16954 dgux*)
16955   version_type=linux
16956   need_lib_prefix=no
16957   need_version=no
16958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16959   soname_spec='${libname}${release}${shared_ext}$major'
16960   shlibpath_var=LD_LIBRARY_PATH
16961   ;;
16962
16963 freebsd1*)
16964   dynamic_linker=no
16965   ;;
16966
16967 freebsd* | dragonfly*)
16968   # DragonFly does not have aout.  When/if they implement a new
16969   # versioning mechanism, adjust this.
16970   if test -x /usr/bin/objformat; then
16971     objformat=`/usr/bin/objformat`
16972   else
16973     case $host_os in
16974     freebsd[123]*) objformat=aout ;;
16975     *) objformat=elf ;;
16976     esac
16977   fi
16978   version_type=freebsd-$objformat
16979   case $version_type in
16980     freebsd-elf*)
16981       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16982       need_version=no
16983       need_lib_prefix=no
16984       ;;
16985     freebsd-*)
16986       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16987       need_version=yes
16988       ;;
16989   esac
16990   shlibpath_var=LD_LIBRARY_PATH
16991   case $host_os in
16992   freebsd2*)
16993     shlibpath_overrides_runpath=yes
16994     ;;
16995   freebsd3.[01]* | freebsdelf3.[01]*)
16996     shlibpath_overrides_runpath=yes
16997     hardcode_into_libs=yes
16998     ;;
16999   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17000   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17001     shlibpath_overrides_runpath=no
17002     hardcode_into_libs=yes
17003     ;;
17004   *) # from 4.6 on, and DragonFly
17005     shlibpath_overrides_runpath=yes
17006     hardcode_into_libs=yes
17007     ;;
17008   esac
17009   ;;
17010
17011 gnu*)
17012   version_type=linux
17013   need_lib_prefix=no
17014   need_version=no
17015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17016   soname_spec='${libname}${release}${shared_ext}$major'
17017   shlibpath_var=LD_LIBRARY_PATH
17018   hardcode_into_libs=yes
17019   ;;
17020
17021 haiku*)
17022   version_type=linux
17023   need_lib_prefix=no
17024   need_version=no
17025   dynamic_linker="$host_os runtime_loader"
17026   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17027   soname_spec='${libname}${release}${shared_ext}$major'
17028   shlibpath_var=LIBRARY_PATH
17029   shlibpath_overrides_runpath=yes
17030   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17031   hardcode_into_libs=yes
17032   ;;
17033
17034 hpux9* | hpux10* | hpux11*)
17035   # Give a soname corresponding to the major version so that dld.sl refuses to
17036   # link against other versions.
17037   version_type=sunos
17038   need_lib_prefix=no
17039   need_version=no
17040   case $host_cpu in
17041   ia64*)
17042     shrext_cmds='.so'
17043     hardcode_into_libs=yes
17044     dynamic_linker="$host_os dld.so"
17045     shlibpath_var=LD_LIBRARY_PATH
17046     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17047     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17048     soname_spec='${libname}${release}${shared_ext}$major'
17049     if test "X$HPUX_IA64_MODE" = X32; then
17050       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17051     else
17052       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17053     fi
17054     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17055     ;;
17056   hppa*64*)
17057     shrext_cmds='.sl'
17058     hardcode_into_libs=yes
17059     dynamic_linker="$host_os dld.sl"
17060     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17061     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17062     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17063     soname_spec='${libname}${release}${shared_ext}$major'
17064     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17065     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17066     ;;
17067   *)
17068     shrext_cmds='.sl'
17069     dynamic_linker="$host_os dld.sl"
17070     shlibpath_var=SHLIB_PATH
17071     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17072     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17073     soname_spec='${libname}${release}${shared_ext}$major'
17074     ;;
17075   esac
17076   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17077   postinstall_cmds='chmod 555 $lib'
17078   # or fails outright, so override atomically:
17079   install_override_mode=555
17080   ;;
17081
17082 interix[3-9]*)
17083   version_type=linux
17084   need_lib_prefix=no
17085   need_version=no
17086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17087   soname_spec='${libname}${release}${shared_ext}$major'
17088   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17089   shlibpath_var=LD_LIBRARY_PATH
17090   shlibpath_overrides_runpath=no
17091   hardcode_into_libs=yes
17092   ;;
17093
17094 irix5* | irix6* | nonstopux*)
17095   case $host_os in
17096     nonstopux*) version_type=nonstopux ;;
17097     *)
17098         if test "$lt_cv_prog_gnu_ld" = yes; then
17099                 version_type=linux
17100         else
17101                 version_type=irix
17102         fi ;;
17103   esac
17104   need_lib_prefix=no
17105   need_version=no
17106   soname_spec='${libname}${release}${shared_ext}$major'
17107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17108   case $host_os in
17109   irix5* | nonstopux*)
17110     libsuff= shlibsuff=
17111     ;;
17112   *)
17113     case $LD in # libtool.m4 will add one of these switches to LD
17114     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17115       libsuff= shlibsuff= libmagic=32-bit;;
17116     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17117       libsuff=32 shlibsuff=N32 libmagic=N32;;
17118     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17119       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17120     *) libsuff= shlibsuff= libmagic=never-match;;
17121     esac
17122     ;;
17123   esac
17124   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17125   shlibpath_overrides_runpath=no
17126   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17127   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17128   hardcode_into_libs=yes
17129   ;;
17130
17131 # No shared lib support for Linux oldld, aout, or coff.
17132 linux*oldld* | linux*aout* | linux*coff*)
17133   dynamic_linker=no
17134   ;;
17135
17136 # This must be Linux ELF.
17137 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17138   version_type=linux
17139   need_lib_prefix=no
17140   need_version=no
17141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17142   soname_spec='${libname}${release}${shared_ext}$major'
17143   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17144   shlibpath_var=LD_LIBRARY_PATH
17145   shlibpath_overrides_runpath=no
17146
17147   # Some binutils ld are patched to set DT_RUNPATH
17148   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17149   $as_echo_n "(cached) " >&6
17150 else
17151   lt_cv_shlibpath_overrides_runpath=no
17152     save_LDFLAGS=$LDFLAGS
17153     save_libdir=$libdir
17154     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17155          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17156     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h.  */
17158
17159 int
17160 main ()
17161 {
17162
17163   ;
17164   return 0;
17165 }
17166 _ACEOF
17167 if ac_fn_cxx_try_link "$LINENO"; then :
17168   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17169   lt_cv_shlibpath_overrides_runpath=yes
17170 fi
17171 fi
17172 rm -f core conftest.err conftest.$ac_objext \
17173     conftest$ac_exeext conftest.$ac_ext
17174     LDFLAGS=$save_LDFLAGS
17175     libdir=$save_libdir
17176
17177 fi
17178
17179   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17180
17181   # This implies no fast_install, which is unacceptable.
17182   # Some rework will be needed to allow for fast_install
17183   # before this can be enabled.
17184   hardcode_into_libs=yes
17185
17186   # Add ABI-specific directories to the system library path.
17187   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
17188
17189   # Append ld.so.conf contents to the search path
17190   if test -f /etc/ld.so.conf; then
17191     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' ' '`
17192     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17193
17194   fi
17195
17196   # We used to test for /lib/ld.so.1 and disable shared libraries on
17197   # powerpc, because MkLinux only supported shared libraries with the
17198   # GNU dynamic linker.  Since this was broken with cross compilers,
17199   # most powerpc-linux boxes support dynamic linking these days and
17200   # people can always --disable-shared, the test was removed, and we
17201   # assume the GNU/Linux dynamic linker is in use.
17202   dynamic_linker='GNU/Linux ld.so'
17203   ;;
17204
17205 netbsd*)
17206   version_type=sunos
17207   need_lib_prefix=no
17208   need_version=no
17209   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17210     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17211     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17212     dynamic_linker='NetBSD (a.out) ld.so'
17213   else
17214     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17215     soname_spec='${libname}${release}${shared_ext}$major'
17216     dynamic_linker='NetBSD ld.elf_so'
17217   fi
17218   shlibpath_var=LD_LIBRARY_PATH
17219   shlibpath_overrides_runpath=yes
17220   hardcode_into_libs=yes
17221   ;;
17222
17223 newsos6)
17224   version_type=linux
17225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17226   shlibpath_var=LD_LIBRARY_PATH
17227   shlibpath_overrides_runpath=yes
17228   ;;
17229
17230 *nto* | *qnx*)
17231   version_type=qnx
17232   need_lib_prefix=no
17233   need_version=no
17234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17235   soname_spec='${libname}${release}${shared_ext}$major'
17236   shlibpath_var=LD_LIBRARY_PATH
17237   shlibpath_overrides_runpath=no
17238   hardcode_into_libs=yes
17239   dynamic_linker='ldqnx.so'
17240   ;;
17241
17242 openbsd*)
17243   version_type=sunos
17244   sys_lib_dlsearch_path_spec="/usr/lib"
17245   need_lib_prefix=no
17246   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17247   case $host_os in
17248     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17249     *)                          need_version=no  ;;
17250   esac
17251   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17252   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17253   shlibpath_var=LD_LIBRARY_PATH
17254   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17255     case $host_os in
17256       openbsd2.[89] | openbsd2.[89].*)
17257         shlibpath_overrides_runpath=no
17258         ;;
17259       *)
17260         shlibpath_overrides_runpath=yes
17261         ;;
17262       esac
17263   else
17264     shlibpath_overrides_runpath=yes
17265   fi
17266   ;;
17267
17268 os2*)
17269   libname_spec='$name'
17270   shrext_cmds=".dll"
17271   need_lib_prefix=no
17272   library_names_spec='$libname${shared_ext} $libname.a'
17273   dynamic_linker='OS/2 ld.exe'
17274   shlibpath_var=LIBPATH
17275   ;;
17276
17277 osf3* | osf4* | osf5*)
17278   version_type=osf
17279   need_lib_prefix=no
17280   need_version=no
17281   soname_spec='${libname}${release}${shared_ext}$major'
17282   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17283   shlibpath_var=LD_LIBRARY_PATH
17284   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17285   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17286   ;;
17287
17288 rdos*)
17289   dynamic_linker=no
17290   ;;
17291
17292 solaris*)
17293   version_type=linux
17294   need_lib_prefix=no
17295   need_version=no
17296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17297   soname_spec='${libname}${release}${shared_ext}$major'
17298   shlibpath_var=LD_LIBRARY_PATH
17299   shlibpath_overrides_runpath=yes
17300   hardcode_into_libs=yes
17301   # ldd complains unless libraries are executable
17302   postinstall_cmds='chmod +x $lib'
17303   ;;
17304
17305 sunos4*)
17306   version_type=sunos
17307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17308   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17309   shlibpath_var=LD_LIBRARY_PATH
17310   shlibpath_overrides_runpath=yes
17311   if test "$with_gnu_ld" = yes; then
17312     need_lib_prefix=no
17313   fi
17314   need_version=yes
17315   ;;
17316
17317 sysv4 | sysv4.3*)
17318   version_type=linux
17319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17320   soname_spec='${libname}${release}${shared_ext}$major'
17321   shlibpath_var=LD_LIBRARY_PATH
17322   case $host_vendor in
17323     sni)
17324       shlibpath_overrides_runpath=no
17325       need_lib_prefix=no
17326       runpath_var=LD_RUN_PATH
17327       ;;
17328     siemens)
17329       need_lib_prefix=no
17330       ;;
17331     motorola)
17332       need_lib_prefix=no
17333       need_version=no
17334       shlibpath_overrides_runpath=no
17335       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17336       ;;
17337   esac
17338   ;;
17339
17340 sysv4*MP*)
17341   if test -d /usr/nec ;then
17342     version_type=linux
17343     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17344     soname_spec='$libname${shared_ext}.$major'
17345     shlibpath_var=LD_LIBRARY_PATH
17346   fi
17347   ;;
17348
17349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17350   version_type=freebsd-elf
17351   need_lib_prefix=no
17352   need_version=no
17353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17354   soname_spec='${libname}${release}${shared_ext}$major'
17355   shlibpath_var=LD_LIBRARY_PATH
17356   shlibpath_overrides_runpath=yes
17357   hardcode_into_libs=yes
17358   if test "$with_gnu_ld" = yes; then
17359     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17360   else
17361     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17362     case $host_os in
17363       sco3.2v5*)
17364         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17365         ;;
17366     esac
17367   fi
17368   sys_lib_dlsearch_path_spec='/usr/lib'
17369   ;;
17370
17371 tpf*)
17372   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17373   version_type=linux
17374   need_lib_prefix=no
17375   need_version=no
17376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17377   shlibpath_var=LD_LIBRARY_PATH
17378   shlibpath_overrides_runpath=no
17379   hardcode_into_libs=yes
17380   ;;
17381
17382 uts4*)
17383   version_type=linux
17384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17385   soname_spec='${libname}${release}${shared_ext}$major'
17386   shlibpath_var=LD_LIBRARY_PATH
17387   ;;
17388
17389 *)
17390   dynamic_linker=no
17391   ;;
17392 esac
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17394 $as_echo "$dynamic_linker" >&6; }
17395 test "$dynamic_linker" = no && can_build_shared=no
17396
17397 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17398 if test "$GCC" = yes; then
17399   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17400 fi
17401
17402 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17403   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17404 fi
17405 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17406   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17407 fi
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17447 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17448 hardcode_action_CXX=
17449 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17450    test -n "$runpath_var_CXX" ||
17451    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17452
17453   # We can hardcode non-existent directories.
17454   if test "$hardcode_direct_CXX" != no &&
17455      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17456      # have to relink, otherwise we might link with an installed library
17457      # when we should be linking with a yet-to-be-installed one
17458      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17459      test "$hardcode_minus_L_CXX" != no; then
17460     # Linking always hardcodes the temporary library directory.
17461     hardcode_action_CXX=relink
17462   else
17463     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17464     hardcode_action_CXX=immediate
17465   fi
17466 else
17467   # We cannot hardcode anything, or else we can only hardcode existing
17468   # directories.
17469   hardcode_action_CXX=unsupported
17470 fi
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17472 $as_echo "$hardcode_action_CXX" >&6; }
17473
17474 if test "$hardcode_action_CXX" = relink ||
17475    test "$inherit_rpath_CXX" = yes; then
17476   # Fast installation is not supported
17477   enable_fast_install=no
17478 elif test "$shlibpath_overrides_runpath" = yes ||
17479      test "$enable_shared" = no; then
17480   # Fast installation is not necessary
17481   enable_fast_install=needless
17482 fi
17483
17484
17485
17486
17487
17488
17489
17490   fi # test -n "$compiler"
17491
17492   CC=$lt_save_CC
17493   CFLAGS=$lt_save_CFLAGS
17494   LDCXX=$LD
17495   LD=$lt_save_LD
17496   GCC=$lt_save_GCC
17497   with_gnu_ld=$lt_save_with_gnu_ld
17498   lt_cv_path_LDCXX=$lt_cv_path_LD
17499   lt_cv_path_LD=$lt_save_path_LD
17500   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17501   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17502 fi # test "$_lt_caught_CXX_error" != yes
17503
17504 ac_ext=c
17505 ac_cpp='$CPP $CPPFLAGS'
17506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522         ac_config_commands="$ac_config_commands libtool"
17523
17524
17525
17526
17527 # Only expand once:
17528
17529
17530 # use dolt to speedup the build
17531
17532
17533 # dolt, a replacement for libtool
17534 # Josh Triplett <josh@freedesktop.org>
17535 # Extract the first word of "bash", so it can be a program name with args.
17536 set dummy bash; ac_word=$2
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17538 $as_echo_n "checking for $ac_word... " >&6; }
17539 if ${ac_cv_path_DOLT_BASH+:} false; then :
17540   $as_echo_n "(cached) " >&6
17541 else
17542   case $DOLT_BASH in
17543   [\\/]* | ?:[\\/]*)
17544   ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
17545   ;;
17546   *)
17547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17548 for as_dir in $PATH
17549 do
17550   IFS=$as_save_IFS
17551   test -z "$as_dir" && as_dir=.
17552     for ac_exec_ext in '' $ac_executable_extensions; do
17553   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17554     ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
17555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17556     break 2
17557   fi
17558 done
17559   done
17560 IFS=$as_save_IFS
17561
17562   ;;
17563 esac
17564 fi
17565 DOLT_BASH=$ac_cv_path_DOLT_BASH
17566 if test -n "$DOLT_BASH"; then
17567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5
17568 $as_echo "$DOLT_BASH" >&6; }
17569 else
17570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17571 $as_echo "no" >&6; }
17572 fi
17573
17574
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5
17576 $as_echo_n "checking if dolt supports this host... " >&6; }
17577 dolt_supported=yes
17578 if test x$DOLT_BASH = x; then
17579     dolt_supported=no
17580 fi
17581 if test x$GCC != xyes; then
17582     dolt_supported=no
17583 fi
17584 case $host in
17585 i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
17586 |amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
17587     pic_options='-fPIC'
17588     ;;
17589 i?86-apple-darwin*)
17590     pic_options='-fno-common'
17591     ;;
17592 *mingw32*)
17593     pic_options='-DDLL_EXPORT'
17594     ;;
17595 *)
17596     dolt_supported=no
17597     ;;
17598 esac
17599 if test x$dolt_supported = xno ; then
17600     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5
17601 $as_echo "no, falling back to libtool" >&6; }
17602     LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
17603     LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
17604 else
17605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5
17606 $as_echo "yes, replacing libtool" >&6; }
17607
17608     cat <<__DOLTCOMPILE__EOF__ >doltcompile
17609 #!$DOLT_BASH
17610 __DOLTCOMPILE__EOF__
17611     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17612 args=("$@")
17613 for ((arg=0; arg<${#args[@]}; arg++)) ; do
17614     if test x"${args[$arg]}" = x-o ; then
17615         objarg=$((arg+1))
17616         break
17617     fi
17618 done
17619 if test x$objarg = x ; then
17620     echo 'Error: no -o on compiler command line' 1>&2
17621     exit 1
17622 fi
17623 lo="${args[$objarg]}"
17624 obj="${lo%.lo}"
17625 if test x"$lo" = x"$obj" ; then
17626     echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
17627     exit 1
17628 fi
17629 objbase="${obj##*/}"
17630 __DOLTCOMPILE__EOF__
17631
17632     if test x$enable_shared = xyes; then
17633         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17634 libobjdir="${obj%$objbase}.libs"
17635 if test ! -d "$libobjdir" ; then
17636     mkdir_out="$(mkdir "$libobjdir" 2>&1)"
17637     mkdir_ret=$?
17638     if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
17639         echo "$mkdir_out" 1>&2
17640         exit $mkdir_ret
17641     fi
17642 fi
17643 pic_object="$libobjdir/$objbase.o"
17644 args[$objarg]="$pic_object"
17645 __DOLTCOMPILE__EOF__
17646     cat <<__DOLTCOMPILE__EOF__ >>doltcompile
17647 "\${args[@]}" $pic_options -DPIC || exit \$?
17648 __DOLTCOMPILE__EOF__
17649     fi
17650
17651     if test x$enable_static = xyes; then
17652         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17653 non_pic_object="$obj.o"
17654 args[$objarg]="$non_pic_object"
17655 __DOLTCOMPILE__EOF__
17656         if test x$enable_shared = xyes; then
17657             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17658 "${args[@]}" >/dev/null 2>&1 || exit $?
17659 __DOLTCOMPILE__EOF__
17660         else
17661             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17662 "${args[@]}" || exit $?
17663 __DOLTCOMPILE__EOF__
17664         fi
17665     fi
17666
17667     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17668 {
17669 echo "# $lo - a libtool object file"
17670 echo "# Generated by doltcompile, not libtool"
17671 __DOLTCOMPILE__EOF__
17672
17673     if test x$enable_shared = xyes; then
17674         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17675 echo "pic_object='.libs/${objbase}.o'"
17676 __DOLTCOMPILE__EOF__
17677     else
17678         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17679 echo pic_object=none
17680 __DOLTCOMPILE__EOF__
17681     fi
17682
17683     if test x$enable_static = xyes; then
17684         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17685 echo "non_pic_object='${objbase}.o'"
17686 __DOLTCOMPILE__EOF__
17687     else
17688         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17689 echo non_pic_object=none
17690 __DOLTCOMPILE__EOF__
17691     fi
17692
17693     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17694 } > "$lo"
17695 __DOLTCOMPILE__EOF__
17696
17697     chmod +x doltcompile
17698     LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
17699     LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
17700
17701     cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
17702 #!$DOLT_BASH
17703 __DOLTLIBTOOL__EOF__
17704     cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
17705 top_builddir_slash="${0%%doltlibtool}"
17706 : ${top_builddir_slash:=./}
17707 args=()
17708 modeok=false
17709 tagok=false
17710 for arg in "$@"; do
17711     case "$arg" in
17712         --silent) ;;
17713         --mode=compile) modeok=true ;;
17714         --tag=CC|--tag=CXX) tagok=true ;;
17715         *) args[${#args[@]}]="$arg" ;;
17716     esac
17717 done
17718 if $modeok && $tagok ; then
17719     . ${top_builddir_slash}doltcompile "${args[@]}"
17720 else
17721     exec ${top_builddir_slash}libtool "$@"
17722 fi
17723 __DOLTLIBTOOL__EOF__
17724
17725     chmod +x doltlibtool
17726     LIBTOOL='$(top_builddir)/doltlibtool'
17727 fi
17728
17729
17730 # end dolt
17731
17732
17733 # Extract the first word of "flex", so it can be a program name with args.
17734 set dummy flex; ac_word=$2
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17736 $as_echo_n "checking for $ac_word... " >&6; }
17737 if ${ac_cv_path_FLEX+:} false; then :
17738   $as_echo_n "(cached) " >&6
17739 else
17740   case $FLEX in
17741   [\\/]* | ?:[\\/]*)
17742   ac_cv_path_FLEX="$FLEX" # Let the user override the test with a path.
17743   ;;
17744   *)
17745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17746 for as_dir in $PATH
17747 do
17748   IFS=$as_save_IFS
17749   test -z "$as_dir" && as_dir=.
17750     for ac_exec_ext in '' $ac_executable_extensions; do
17751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17752     ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
17753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17754     break 2
17755   fi
17756 done
17757   done
17758 IFS=$as_save_IFS
17759
17760   ;;
17761 esac
17762 fi
17763 FLEX=$ac_cv_path_FLEX
17764 if test -n "$FLEX"; then
17765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17766 $as_echo "$FLEX" >&6; }
17767 else
17768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17769 $as_echo "no" >&6; }
17770 fi
17771
17772
17773 if test -z "$FLEX"; then
17774    as_fn_error $? "You need the 'flex' lexer generator to compile WebKit" "$LINENO" 5
17775 else
17776    FLEX_VERSION=`$FLEX --version | sed 's,.*\ \(0-9*\.0-9*\.0-9*\)$,\1,'`
17777
17778   for ac_prog in gawk mawk nawk awk
17779 do
17780   # Extract the first word of "$ac_prog", so it can be a program name with args.
17781 set dummy $ac_prog; ac_word=$2
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17783 $as_echo_n "checking for $ac_word... " >&6; }
17784 if ${ac_cv_prog_AWK+:} false; then :
17785   $as_echo_n "(cached) " >&6
17786 else
17787   if test -n "$AWK"; then
17788   ac_cv_prog_AWK="$AWK" # Let the user override the test.
17789 else
17790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17791 for as_dir in $PATH
17792 do
17793   IFS=$as_save_IFS
17794   test -z "$as_dir" && as_dir=.
17795     for ac_exec_ext in '' $ac_executable_extensions; do
17796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17797     ac_cv_prog_AWK="$ac_prog"
17798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17799     break 2
17800   fi
17801 done
17802   done
17803 IFS=$as_save_IFS
17804
17805 fi
17806 fi
17807 AWK=$ac_cv_prog_AWK
17808 if test -n "$AWK"; then
17809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17810 $as_echo "$AWK" >&6; }
17811 else
17812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17813 $as_echo "no" >&6; }
17814 fi
17815
17816
17817   test -n "$AWK" && break
17818 done
17819
17820
17821   # Used to indicate true or false condition
17822   ax_compare_version=false
17823
17824   # Convert the two version strings to be compared into a format that
17825   # allows a simple string comparison.  The end result is that a version
17826   # string of the form 1.12.5-r617 will be converted to the form
17827   # 0001001200050617.  In other words, each number is zero padded to four
17828   # digits, and non digits are removed.
17829
17830   ax_compare_version_A=`echo "2.5.33" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17831                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17832                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17833                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17834                      -e 's/[^0-9]//g'`
17835
17836
17837   ax_compare_version_B=`echo "$FLEX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17838                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17839                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17840                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17841                      -e 's/[^0-9]//g'`
17842
17843
17844     ax_compare_version=`echo "x$ax_compare_version_A
17845 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
17846
17847
17848
17849     if test "$ax_compare_version" = "true" ; then
17850     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly" >&5
17851 $as_echo "$as_me: WARNING: You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly" >&2;}
17852       fi
17853
17854 fi
17855
17856 # Extract the first word of "gperf", so it can be a program name with args.
17857 set dummy gperf; ac_word=$2
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17859 $as_echo_n "checking for $ac_word... " >&6; }
17860 if ${ac_cv_path_GPERF+:} false; then :
17861   $as_echo_n "(cached) " >&6
17862 else
17863   case $GPERF in
17864   [\\/]* | ?:[\\/]*)
17865   ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
17866   ;;
17867   *)
17868   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17869 for as_dir in $PATH
17870 do
17871   IFS=$as_save_IFS
17872   test -z "$as_dir" && as_dir=.
17873     for ac_exec_ext in '' $ac_executable_extensions; do
17874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17875     ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
17876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17877     break 2
17878   fi
17879 done
17880   done
17881 IFS=$as_save_IFS
17882
17883   ;;
17884 esac
17885 fi
17886 GPERF=$ac_cv_path_GPERF
17887 if test -n "$GPERF"; then
17888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17889 $as_echo "$GPERF" >&6; }
17890 else
17891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17892 $as_echo "no" >&6; }
17893 fi
17894
17895
17896 if test -z "$GPERF"; then
17897    as_fn_error $? "You need the 'gperf' hash function generator to compile WebKit" "$LINENO" 5
17898 fi
17899
17900 # Disable C++0x compat warnings for GCC >= 4.6.0 until we build
17901 # cleanly with that.
17902 if test "$CXX" = "g++"; then
17903    CXX_VERSION=`$CXX -dumpversion`
17904
17905   for ac_prog in gawk mawk nawk awk
17906 do
17907   # Extract the first word of "$ac_prog", so it can be a program name with args.
17908 set dummy $ac_prog; ac_word=$2
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17910 $as_echo_n "checking for $ac_word... " >&6; }
17911 if ${ac_cv_prog_AWK+:} false; then :
17912   $as_echo_n "(cached) " >&6
17913 else
17914   if test -n "$AWK"; then
17915   ac_cv_prog_AWK="$AWK" # Let the user override the test.
17916 else
17917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17918 for as_dir in $PATH
17919 do
17920   IFS=$as_save_IFS
17921   test -z "$as_dir" && as_dir=.
17922     for ac_exec_ext in '' $ac_executable_extensions; do
17923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17924     ac_cv_prog_AWK="$ac_prog"
17925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17926     break 2
17927   fi
17928 done
17929   done
17930 IFS=$as_save_IFS
17931
17932 fi
17933 fi
17934 AWK=$ac_cv_prog_AWK
17935 if test -n "$AWK"; then
17936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17937 $as_echo "$AWK" >&6; }
17938 else
17939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17940 $as_echo "no" >&6; }
17941 fi
17942
17943
17944   test -n "$AWK" && break
17945 done
17946
17947
17948   # Used to indicate true or false condition
17949   ax_compare_version=false
17950
17951   # Convert the two version strings to be compared into a format that
17952   # allows a simple string comparison.  The end result is that a version
17953   # string of the form 1.12.5-r617 will be converted to the form
17954   # 0001001200050617.  In other words, each number is zero padded to four
17955   # digits, and non digits are removed.
17956
17957   ax_compare_version_A=`echo "$CXX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17958                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17959                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17960                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17961                      -e 's/[^0-9]//g'`
17962
17963
17964   ax_compare_version_B=`echo "4.6.0" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17965                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17966                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17967                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17968                      -e 's/[^0-9]//g'`
17969
17970
17971     ax_compare_version=`echo "x$ax_compare_version_A
17972 x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
17973
17974
17975
17976     if test "$ax_compare_version" = "true" ; then
17977     CXXFLAGS="$CXXFLAGS -Wno-c++0x-compat"
17978       fi
17979
17980 fi
17981
17982 # pthread (not needed on Windows)
17983 if test "$os_win32" = "no"; then
17984 for ac_header in pthread.h
17985 do :
17986   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
17987 if test "x$ac_cv_header_pthread_h" = xyes; then :
17988   cat >>confdefs.h <<_ACEOF
17989 #define HAVE_PTHREAD_H 1
17990 _ACEOF
17991
17992 $as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h
17993
17994 else
17995   as_fn_error $? "pthread support is required to build WebKit" "$LINENO" 5
17996 fi
17997
17998 done
17999
18000 fi
18001
18002 # check for libjpeg the way Gtk does it.
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
18004 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
18005 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
18006   $as_echo_n "(cached) " >&6
18007 else
18008   ac_check_lib_save_LIBS=$LIBS
18009 LIBS="-ljpeg  $LIBS"
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h.  */
18012
18013 /* Override any GCC internal prototype to avoid an error.
18014    Use char because int might match the return type of a GCC
18015    builtin and then its argument prototype would still apply.  */
18016 #ifdef __cplusplus
18017 extern "C"
18018 #endif
18019 char jpeg_destroy_decompress ();
18020 int
18021 main ()
18022 {
18023 return jpeg_destroy_decompress ();
18024   ;
18025   return 0;
18026 }
18027 _ACEOF
18028 if ac_fn_c_try_link "$LINENO"; then :
18029   ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
18030 else
18031   ac_cv_lib_jpeg_jpeg_destroy_decompress=no
18032 fi
18033 rm -f core conftest.err conftest.$ac_objext \
18034     conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_check_lib_save_LIBS
18036 fi
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
18038 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
18039 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
18040   jpeg_ok=yes
18041 else
18042   jpeg_ok=no
18043                    as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18044 fi
18045
18046 if test "$jpeg_ok" = yes; then
18047    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib" >&5
18048 $as_echo_n "checking for jpeglib... " >&6; }
18049    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h.  */
18051 #include <stdio.h>
18052 #undef PACKAGE
18053 #undef VERSION
18054 #undef HAVE_STDLIB_H
18055 #include <jpeglib.h>
18056 _ACEOF
18057 if ac_fn_c_try_cpp "$LINENO"; then :
18058   jpeg_ok=yes
18059 else
18060   jpeg_ok=no
18061 fi
18062 rm -f conftest.err conftest.i conftest.$ac_ext
18063    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
18064 $as_echo "$jpeg_ok" >&6; }
18065    if test "$jpeg_ok" = yes; then
18066       JPEG_LIBS="-ljpeg"
18067       # should we check for progressive JPEG like GTK+ as well?
18068    else
18069       as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18070    fi
18071 fi
18072
18073
18074 # Check for libpng the way Gtk+ does it
18075 for l in libpng libpng14 libpng12; do
18076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $l" >&5
18077 $as_echo_n "checking for $l... " >&6; }
18078   if $PKG_CONFIG --exists $l ; then
18079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18080 $as_echo "yes" >&6; }
18081     PNG_LIBS=`$PKG_CONFIG --libs $l`
18082     png_ok=yes
18083     break
18084   else
18085     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18086 $as_echo "no" >&6; }
18087     png_ok=no
18088   fi
18089 done
18090 if test "$png_ok" != yes; then
18091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5
18092 $as_echo_n "checking for png_read_info in -lpng... " >&6; }
18093 if ${ac_cv_lib_png_png_read_info+:} false; then :
18094   $as_echo_n "(cached) " >&6
18095 else
18096   ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lpng -lz -lm $LIBS"
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h.  */
18100
18101 /* Override any GCC internal prototype to avoid an error.
18102    Use char because int might match the return type of a GCC
18103    builtin and then its argument prototype would still apply.  */
18104 #ifdef __cplusplus
18105 extern "C"
18106 #endif
18107 char png_read_info ();
18108 int
18109 main ()
18110 {
18111 return png_read_info ();
18112   ;
18113   return 0;
18114 }
18115 _ACEOF
18116 if ac_fn_c_try_link "$LINENO"; then :
18117   ac_cv_lib_png_png_read_info=yes
18118 else
18119   ac_cv_lib_png_png_read_info=no
18120 fi
18121 rm -f core conftest.err conftest.$ac_objext \
18122     conftest$ac_exeext conftest.$ac_ext
18123 LIBS=$ac_check_lib_save_LIBS
18124 fi
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_info" >&5
18126 $as_echo "$ac_cv_lib_png_png_read_info" >&6; }
18127 if test "x$ac_cv_lib_png_png_read_info" = xyes; then :
18128   ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
18129 if test "x$ac_cv_header_png_h" = xyes; then :
18130   png_ok=yes
18131 else
18132   png_ok=no
18133 fi
18134
18135
18136 else
18137   as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18138 fi
18139
18140   if test "$png_ok" = yes; then
18141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_structp in png.h" >&5
18142 $as_echo_n "checking for png_structp in png.h... " >&6; }
18143     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h.  */
18145 #include <png.h>
18146 int
18147 main ()
18148 {
18149 png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
18150   ;
18151   return 0;
18152 }
18153 _ACEOF
18154 if ac_fn_c_try_compile "$LINENO"; then :
18155   png_ok=yes
18156 else
18157   png_ok=no
18158 fi
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5
18161 $as_echo "$png_ok" >&6; }
18162     if test "$png_ok" = yes; then
18163       PNG_LIBS='-lpng -lz'
18164     else
18165       as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18166     fi
18167   else
18168     as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18169   fi
18170 fi
18171
18172
18173
18174 if test "$os_win32" = "yes"; then
18175   WINMM_LIBS=-lwinmm
18176   SHLWAPI_LIBS=-lshlwapi
18177   OLE32_LIBS=-lole32
18178 fi
18179
18180
18181
18182
18183
18184 # determine the GTK+ version to use
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the GTK+ version to use" >&5
18186 $as_echo_n "checking the GTK+ version to use... " >&6; }
18187
18188 # Check whether --with-gtk was given.
18189 if test "${with_gtk+set}" = set; then :
18190   withval=$with_gtk; case "$with_gtk" in
18191         2.0|3.0) ;;
18192         *) as_fn_error $? "invalid GTK+ version specified" "$LINENO" 5 ;;
18193         esac
18194 else
18195   with_gtk=3.0
18196 fi
18197
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
18199 $as_echo "$with_gtk" >&6; }
18200
18201 GTK2_REQUIRED_VERSION=2.10
18202 GAIL2_REQUIRED_VERSION=1.8
18203 GTK3_REQUIRED_VERSION=3.0
18204 GAIL3_REQUIRED_VERSION=3.0
18205
18206 case "$with_gtk" in
18207      2.0) GTK_REQUIRED_VERSION=$GTK2_REQUIRED_VERSION
18208           GTK_API_VERSION=2.0
18209           WEBKITGTK_API_MAJOR_VERSION=1
18210           WEBKITGTK_API_MINOR_VERSION=0
18211           WEBKITGTK_API_VERSION=1.0
18212           WEBKITGTK_PC_NAME=webkit
18213           GAIL_PC_NAME=gail
18214           GAIL_REQUIRED_VERSION=$GAIL2_REQUIRED_VERSION
18215           ;;
18216      3.0) GTK_REQUIRED_VERSION=$GTK3_REQUIRED_VERSION
18217           GTK_API_VERSION=3.0
18218           WEBKITGTK_API_MAJOR_VERSION=3
18219           WEBKITGTK_API_MINOR_VERSION=0
18220           WEBKITGTK_API_VERSION=3.0
18221           WEBKITGTK_PC_NAME=webkitgtk
18222           GAIL_PC_NAME=gail-3.0
18223           GAIL_REQUIRED_VERSION=$GAIL3_REQUIRED_VERSION
18224           ;;
18225 esac
18226
18227
18228
18229
18230
18231
18232  if test "$GTK_API_VERSION" = "2.0"; then
18233   GTK_API_VERSION_2_TRUE=
18234   GTK_API_VERSION_2_FALSE='#'
18235 else
18236   GTK_API_VERSION_2_TRUE='#'
18237   GTK_API_VERSION_2_FALSE=
18238 fi
18239
18240
18241 # determine the GDK/GTK+ target
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the target windowing system" >&5
18243 $as_echo_n "checking the target windowing system... " >&6; }
18244
18245 # Check whether --with-target was given.
18246 if test "${with_target+set}" = set; then :
18247   withval=$with_target;
18248 else
18249   with_target="x11"
18250 fi
18251
18252
18253 case "$with_target" in
18254      x11|win32|quartz|directfb) ;;
18255      *) as_fn_error $? "Invalid target: must be x11, quartz, win32, or directfb." "$LINENO" 5 ;;
18256 esac
18257
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_target" >&5
18259 $as_echo "$with_target" >&6; }
18260
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hildon UI extensions" >&5
18262 $as_echo_n "checking for Hildon UI extensions... " >&6; }
18263
18264 # Check whether --with-hildon was given.
18265 if test "${with_hildon+set}" = set; then :
18266   withval=$with_hildon;
18267 else
18268   with_hildon="no"
18269 fi
18270
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_hildon" >&5
18272 $as_echo "$with_hildon" >&6; }
18273
18274 if test "$with_hildon" = "yes"; then
18275     HILDON_CPPFLAGS="-DMAEMO_CHANGES"
18276
18277
18278
18279
18280
18281
18282 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18283         if test -n "$ac_tool_prefix"; then
18284   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18285 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18287 $as_echo_n "checking for $ac_word... " >&6; }
18288 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18289   $as_echo_n "(cached) " >&6
18290 else
18291   case $PKG_CONFIG in
18292   [\\/]* | ?:[\\/]*)
18293   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18294   ;;
18295   *)
18296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18297 for as_dir in $PATH
18298 do
18299   IFS=$as_save_IFS
18300   test -z "$as_dir" && as_dir=.
18301     for ac_exec_ext in '' $ac_executable_extensions; do
18302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18303     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18305     break 2
18306   fi
18307 done
18308   done
18309 IFS=$as_save_IFS
18310
18311   ;;
18312 esac
18313 fi
18314 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18315 if test -n "$PKG_CONFIG"; then
18316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18317 $as_echo "$PKG_CONFIG" >&6; }
18318 else
18319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18320 $as_echo "no" >&6; }
18321 fi
18322
18323
18324 fi
18325 if test -z "$ac_cv_path_PKG_CONFIG"; then
18326   ac_pt_PKG_CONFIG=$PKG_CONFIG
18327   # Extract the first word of "pkg-config", so it can be a program name with args.
18328 set dummy pkg-config; ac_word=$2
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18330 $as_echo_n "checking for $ac_word... " >&6; }
18331 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18332   $as_echo_n "(cached) " >&6
18333 else
18334   case $ac_pt_PKG_CONFIG in
18335   [\\/]* | ?:[\\/]*)
18336   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18337   ;;
18338   *)
18339   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18340 for as_dir in $PATH
18341 do
18342   IFS=$as_save_IFS
18343   test -z "$as_dir" && as_dir=.
18344     for ac_exec_ext in '' $ac_executable_extensions; do
18345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18346     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18348     break 2
18349   fi
18350 done
18351   done
18352 IFS=$as_save_IFS
18353
18354   ;;
18355 esac
18356 fi
18357 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18358 if test -n "$ac_pt_PKG_CONFIG"; then
18359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18360 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18361 else
18362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18363 $as_echo "no" >&6; }
18364 fi
18365
18366   if test "x$ac_pt_PKG_CONFIG" = x; then
18367     PKG_CONFIG=""
18368   else
18369     case $cross_compiling:$ac_tool_warned in
18370 yes:)
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18373 ac_tool_warned=yes ;;
18374 esac
18375     PKG_CONFIG=$ac_pt_PKG_CONFIG
18376   fi
18377 else
18378   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18379 fi
18380
18381 fi
18382 if test -n "$PKG_CONFIG"; then
18383         _pkg_min_version=0.9.0
18384         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18385 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18386         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18387                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18388 $as_echo "yes" >&6; }
18389         else
18390                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18391 $as_echo "no" >&6; }
18392                 PKG_CONFIG=""
18393         fi
18394 fi
18395
18396 pkg_failed=no
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
18398 $as_echo_n "checking for HILDON... " >&6; }
18399
18400 if test -n "$HILDON_CFLAGS"; then
18401     pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
18402  elif test -n "$PKG_CONFIG"; then
18403     if test -n "$PKG_CONFIG" && \
18404     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18405   ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18406   ac_status=$?
18407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18408   test $ac_status = 0; }; then
18409   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
18410 else
18411   pkg_failed=yes
18412 fi
18413  else
18414     pkg_failed=untried
18415 fi
18416 if test -n "$HILDON_LIBS"; then
18417     pkg_cv_HILDON_LIBS="$HILDON_LIBS"
18418  elif test -n "$PKG_CONFIG"; then
18419     if test -n "$PKG_CONFIG" && \
18420     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18421   ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18422   ac_status=$?
18423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18424   test $ac_status = 0; }; then
18425   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
18426 else
18427   pkg_failed=yes
18428 fi
18429  else
18430     pkg_failed=untried
18431 fi
18432
18433
18434
18435 if test $pkg_failed = yes; then
18436         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18437 $as_echo "no" >&6; }
18438
18439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18440         _pkg_short_errors_supported=yes
18441 else
18442         _pkg_short_errors_supported=no
18443 fi
18444         if test $_pkg_short_errors_supported = yes; then
18445                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hildon-1" 2>&1`
18446         else
18447                 HILDON_PKG_ERRORS=`$PKG_CONFIG --print-errors "hildon-1" 2>&1`
18448         fi
18449         # Put the nasty error message in config.log where it belongs
18450         echo "$HILDON_PKG_ERRORS" >&5
18451
18452         as_fn_error $? "Package requirements (hildon-1) were not met:
18453
18454 $HILDON_PKG_ERRORS
18455
18456 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18457 installed software in a non-standard prefix.
18458
18459 Alternatively, you may set the environment variables HILDON_CFLAGS
18460 and HILDON_LIBS to avoid the need to call pkg-config.
18461 See the pkg-config man page for more details." "$LINENO" 5
18462
18463 elif test $pkg_failed = untried; then
18464         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18465 $as_echo "no" >&6; }
18466         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18468 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18469 is in your PATH or set the PKG_CONFIG environment variable to the full
18470 path to pkg-config.
18471
18472 Alternatively, you may set the environment variables HILDON_CFLAGS
18473 and HILDON_LIBS to avoid the need to call pkg-config.
18474 See the pkg-config man page for more details.
18475
18476 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18477 See \`config.log' for more details" "$LINENO" 5; }
18478
18479 else
18480         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
18481         HILDON_LIBS=$pkg_cv_HILDON_LIBS
18482         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18483 $as_echo "yes" >&6; }
18484
18485 fi
18486
18487
18488
18489 fi
18490
18491 # minimum base dependencies
18492 LIBSOUP_REQUIRED_VERSION=2.33.6
18493 CAIRO_REQUIRED_VERSION=1.10
18494 FONTCONFIG_REQUIRED_VERSION=2.4
18495 FREETYPE2_REQUIRED_VERSION=9.0
18496 LIBXML_REQUIRED_VERSION=2.6
18497
18498 # minimum GTK+ base dependencies
18499 PANGO_REQUIRED_VERSION=1.12
18500
18501 # optional modules
18502 LIBXSLT_REQUIRED_VERSION=1.1.7
18503 SQLITE_REQUIRED_VERSION=3.0
18504 GSTREAMER_REQUIRED_VERSION=0.10
18505 GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.30
18506 ENCHANT_REQUIRED_VERSION=0.22
18507
18508 # Available modules
18509 #
18510 # glib - glib and includes gthread
18511 # unicode - check and identify which unicode backend to use
18512 #
18513 # todo: webcore gtk
18514 # Version requirements
18515 GLIB_REQUIRED_VERSION=2.27.90
18516 # Check whether --enable-glibtest was given.
18517 if test "${enable_glibtest+set}" = set; then :
18518   enableval=$enable_glibtest;
18519 else
18520   enable_glibtest=yes
18521 fi
18522
18523
18524   pkg_config_args=glib-2.0
18525   for module in .
18526   do
18527       case "$module" in
18528          gmodule)
18529              pkg_config_args="$pkg_config_args gmodule-2.0"
18530          ;;
18531          gmodule-no-export)
18532              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
18533          ;;
18534          gobject)
18535              pkg_config_args="$pkg_config_args gobject-2.0"
18536          ;;
18537          gthread)
18538              pkg_config_args="$pkg_config_args gthread-2.0"
18539          ;;
18540          gio*)
18541              pkg_config_args="$pkg_config_args $module-2.0"
18542          ;;
18543       esac
18544   done
18545
18546
18547
18548
18549
18550
18551
18552 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18553         if test -n "$ac_tool_prefix"; then
18554   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18555 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18557 $as_echo_n "checking for $ac_word... " >&6; }
18558 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18559   $as_echo_n "(cached) " >&6
18560 else
18561   case $PKG_CONFIG in
18562   [\\/]* | ?:[\\/]*)
18563   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18564   ;;
18565   *)
18566   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18567 for as_dir in $PATH
18568 do
18569   IFS=$as_save_IFS
18570   test -z "$as_dir" && as_dir=.
18571     for ac_exec_ext in '' $ac_executable_extensions; do
18572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18573     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18575     break 2
18576   fi
18577 done
18578   done
18579 IFS=$as_save_IFS
18580
18581   ;;
18582 esac
18583 fi
18584 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18585 if test -n "$PKG_CONFIG"; then
18586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18587 $as_echo "$PKG_CONFIG" >&6; }
18588 else
18589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18590 $as_echo "no" >&6; }
18591 fi
18592
18593
18594 fi
18595 if test -z "$ac_cv_path_PKG_CONFIG"; then
18596   ac_pt_PKG_CONFIG=$PKG_CONFIG
18597   # Extract the first word of "pkg-config", so it can be a program name with args.
18598 set dummy pkg-config; ac_word=$2
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18600 $as_echo_n "checking for $ac_word... " >&6; }
18601 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18602   $as_echo_n "(cached) " >&6
18603 else
18604   case $ac_pt_PKG_CONFIG in
18605   [\\/]* | ?:[\\/]*)
18606   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18607   ;;
18608   *)
18609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18611 do
18612   IFS=$as_save_IFS
18613   test -z "$as_dir" && as_dir=.
18614     for ac_exec_ext in '' $ac_executable_extensions; do
18615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18616     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18618     break 2
18619   fi
18620 done
18621   done
18622 IFS=$as_save_IFS
18623
18624   ;;
18625 esac
18626 fi
18627 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18628 if test -n "$ac_pt_PKG_CONFIG"; then
18629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18630 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18631 else
18632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18633 $as_echo "no" >&6; }
18634 fi
18635
18636   if test "x$ac_pt_PKG_CONFIG" = x; then
18637     PKG_CONFIG=""
18638   else
18639     case $cross_compiling:$ac_tool_warned in
18640 yes:)
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18643 ac_tool_warned=yes ;;
18644 esac
18645     PKG_CONFIG=$ac_pt_PKG_CONFIG
18646   fi
18647 else
18648   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18649 fi
18650
18651 fi
18652 if test -n "$PKG_CONFIG"; then
18653         _pkg_min_version=0.16
18654         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18655 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18656         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18657                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18658 $as_echo "yes" >&6; }
18659         else
18660                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18661 $as_echo "no" >&6; }
18662                 PKG_CONFIG=""
18663         fi
18664 fi
18665
18666   no_glib=""
18667
18668   if test "x$PKG_CONFIG" = x ; then
18669     no_glib=yes
18670     PKG_CONFIG=no
18671   fi
18672
18673   min_glib_version=$GLIB_REQUIRED_VERSION
18674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
18675 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
18676
18677   if test x$PKG_CONFIG != xno ; then
18678     ## don't try to run the test against uninstalled libtool libs
18679     if $PKG_CONFIG --uninstalled $pkg_config_args; then
18680           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
18681           enable_glibtest=no
18682     fi
18683
18684     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
18685           :
18686     else
18687           no_glib=yes
18688     fi
18689   fi
18690
18691   if test x"$no_glib" = x ; then
18692     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
18693     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
18694     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
18695
18696     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
18697     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
18698     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
18699            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
18700     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
18701            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
18702     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
18703            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
18704     if test "x$enable_glibtest" = "xyes" ; then
18705       ac_save_CFLAGS="$CFLAGS"
18706       ac_save_LIBS="$LIBS"
18707       CFLAGS="$CFLAGS $GLIB_CFLAGS"
18708       LIBS="$GLIB_LIBS $LIBS"
18709       rm -f conf.glibtest
18710       if test "$cross_compiling" = yes; then :
18711   echo $ac_n "cross compiling; assumed OK... $ac_c"
18712 else
18713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h.  */
18715
18716 #include <glib.h>
18717 #include <stdio.h>
18718 #include <stdlib.h>
18719
18720 int
18721 main ()
18722 {
18723   unsigned int major, minor, micro;
18724   char *tmp_version;
18725
18726   fclose (fopen ("conf.glibtest", "w"));
18727
18728   /* HP/UX 9 (%@#!) writes to sscanf strings */
18729   tmp_version = g_strdup("$min_glib_version");
18730   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
18731      printf("%s, bad version string\n", "$min_glib_version");
18732      exit(1);
18733    }
18734
18735   if ((glib_major_version != $glib_config_major_version) ||
18736       (glib_minor_version != $glib_config_minor_version) ||
18737       (glib_micro_version != $glib_config_micro_version))
18738     {
18739       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
18740              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
18741              glib_major_version, glib_minor_version, glib_micro_version);
18742       printf ("*** was found! If pkg-config was correct, then it is best\n");
18743       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
18744       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
18745       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
18746       printf("*** required on your system.\n");
18747       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
18748       printf("*** to point to the correct configuration files\n");
18749     }
18750   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
18751            (glib_minor_version != GLIB_MINOR_VERSION) ||
18752            (glib_micro_version != GLIB_MICRO_VERSION))
18753     {
18754       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
18755              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
18756       printf("*** library (version %d.%d.%d)\n",
18757              glib_major_version, glib_minor_version, glib_micro_version);
18758     }
18759   else
18760     {
18761       if ((glib_major_version > major) ||
18762         ((glib_major_version == major) && (glib_minor_version > minor)) ||
18763         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
18764       {
18765         return 0;
18766        }
18767      else
18768       {
18769         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
18770                glib_major_version, glib_minor_version, glib_micro_version);
18771         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
18772                major, minor, micro);
18773         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
18774         printf("***\n");
18775         printf("*** If you have already installed a sufficiently new version, this error\n");
18776         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
18777         printf("*** being found. The easiest way to fix this is to remove the old version\n");
18778         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
18779         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
18780         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
18781         printf("*** so that the correct libraries are found at run-time))\n");
18782       }
18783     }
18784   return 1;
18785 }
18786
18787 _ACEOF
18788 if ac_fn_c_try_run "$LINENO"; then :
18789
18790 else
18791   no_glib=yes
18792 fi
18793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18794   conftest.$ac_objext conftest.beam conftest.$ac_ext
18795 fi
18796
18797        CFLAGS="$ac_save_CFLAGS"
18798        LIBS="$ac_save_LIBS"
18799      fi
18800   fi
18801   if test "x$no_glib" = x ; then
18802      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
18803 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
18804      :
18805   else
18806      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18807 $as_echo "no" >&6; }
18808      if test "$PKG_CONFIG" = "no" ; then
18809        echo "*** A new enough version of pkg-config was not found."
18810        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
18811      else
18812        if test -f conf.glibtest ; then
18813         :
18814        else
18815           echo "*** Could not run GLIB test program, checking why..."
18816           ac_save_CFLAGS="$CFLAGS"
18817           ac_save_LIBS="$LIBS"
18818           CFLAGS="$CFLAGS $GLIB_CFLAGS"
18819           LIBS="$LIBS $GLIB_LIBS"
18820           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h.  */
18822
18823 #include <glib.h>
18824 #include <stdio.h>
18825
18826 int
18827 main ()
18828 {
18829  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
18830   ;
18831   return 0;
18832 }
18833 _ACEOF
18834 if ac_fn_c_try_link "$LINENO"; then :
18835    echo "*** The test program compiled, but did not run. This usually means"
18836           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
18837           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
18838           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
18839           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
18840           echo "*** is required on your system"
18841           echo "***"
18842           echo "*** If you have an old version installed, it is best to remove it, although"
18843           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
18844 else
18845    echo "*** The test program failed to compile or link. See the file config.log for the"
18846           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
18847 fi
18848 rm -f core conftest.err conftest.$ac_objext \
18849     conftest$ac_exeext conftest.$ac_ext
18850           CFLAGS="$ac_save_CFLAGS"
18851           LIBS="$ac_save_LIBS"
18852        fi
18853      fi
18854      GLIB_CFLAGS=""
18855      GLIB_LIBS=""
18856      GLIB_GENMARSHAL=""
18857      GOBJECT_QUERY=""
18858      GLIB_MKENUMS=""
18859      :
18860   fi
18861
18862
18863
18864
18865
18866   rm -f conf.glibtest
18867
18868 if test -z "$GLIB_GENMARSHAL" || test -z "$GLIB_MKENUMS"; then
18869    as_fn_error $? "You need the GLib dev tools in your path" "$LINENO" 5
18870 fi
18871
18872
18873   # Check whether --enable-schemas-compile was given.
18874 if test "${enable_schemas_compile+set}" = set; then :
18875   enableval=$enable_schemas_compile; case ${enableval} in
18876                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
18877                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
18878                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
18879                  esac
18880 fi
18881
18882
18883
18884
18885
18886
18887
18888
18889 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18890         if test -n "$ac_tool_prefix"; then
18891   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18892 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18894 $as_echo_n "checking for $ac_word... " >&6; }
18895 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18896   $as_echo_n "(cached) " >&6
18897 else
18898   case $PKG_CONFIG in
18899   [\\/]* | ?:[\\/]*)
18900   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18901   ;;
18902   *)
18903   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18904 for as_dir in $PATH
18905 do
18906   IFS=$as_save_IFS
18907   test -z "$as_dir" && as_dir=.
18908     for ac_exec_ext in '' $ac_executable_extensions; do
18909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18910     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18912     break 2
18913   fi
18914 done
18915   done
18916 IFS=$as_save_IFS
18917
18918   ;;
18919 esac
18920 fi
18921 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18922 if test -n "$PKG_CONFIG"; then
18923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18924 $as_echo "$PKG_CONFIG" >&6; }
18925 else
18926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18927 $as_echo "no" >&6; }
18928 fi
18929
18930
18931 fi
18932 if test -z "$ac_cv_path_PKG_CONFIG"; then
18933   ac_pt_PKG_CONFIG=$PKG_CONFIG
18934   # Extract the first word of "pkg-config", so it can be a program name with args.
18935 set dummy pkg-config; ac_word=$2
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18937 $as_echo_n "checking for $ac_word... " >&6; }
18938 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18939   $as_echo_n "(cached) " >&6
18940 else
18941   case $ac_pt_PKG_CONFIG in
18942   [\\/]* | ?:[\\/]*)
18943   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18944   ;;
18945   *)
18946   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18947 for as_dir in $PATH
18948 do
18949   IFS=$as_save_IFS
18950   test -z "$as_dir" && as_dir=.
18951     for ac_exec_ext in '' $ac_executable_extensions; do
18952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18953     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18955     break 2
18956   fi
18957 done
18958   done
18959 IFS=$as_save_IFS
18960
18961   ;;
18962 esac
18963 fi
18964 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18965 if test -n "$ac_pt_PKG_CONFIG"; then
18966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18967 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18968 else
18969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18970 $as_echo "no" >&6; }
18971 fi
18972
18973   if test "x$ac_pt_PKG_CONFIG" = x; then
18974     PKG_CONFIG=""
18975   else
18976     case $cross_compiling:$ac_tool_warned in
18977 yes:)
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18980 ac_tool_warned=yes ;;
18981 esac
18982     PKG_CONFIG=$ac_pt_PKG_CONFIG
18983   fi
18984 else
18985   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18986 fi
18987
18988 fi
18989 if test -n "$PKG_CONFIG"; then
18990         _pkg_min_version=0.16
18991         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18992 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18993         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18994                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18995 $as_echo "yes" >&6; }
18996         else
18997                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18998 $as_echo "no" >&6; }
18999                 PKG_CONFIG=""
19000         fi
19001 fi
19002   gsettingsschemadir=${datadir}/glib-2.0/schemas
19003
19004   if test x$cross_compiling != xyes; then
19005     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
19006   else
19007     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
19008 set dummy glib-compile-schemas; ac_word=$2
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19010 $as_echo_n "checking for $ac_word... " >&6; }
19011 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
19012   $as_echo_n "(cached) " >&6
19013 else
19014   case $GLIB_COMPILE_SCHEMAS in
19015   [\\/]* | ?:[\\/]*)
19016   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
19017   ;;
19018   *)
19019   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19020 for as_dir in $PATH
19021 do
19022   IFS=$as_save_IFS
19023   test -z "$as_dir" && as_dir=.
19024     for ac_exec_ext in '' $ac_executable_extensions; do
19025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19026     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
19027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19028     break 2
19029   fi
19030 done
19031   done
19032 IFS=$as_save_IFS
19033
19034   ;;
19035 esac
19036 fi
19037 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
19038 if test -n "$GLIB_COMPILE_SCHEMAS"; then
19039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
19040 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
19041 else
19042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19043 $as_echo "no" >&6; }
19044 fi
19045
19046
19047   fi
19048
19049   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
19050     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
19051   else
19052     :
19053   fi
19054
19055   GSETTINGS_RULES='
19056 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
19057
19058 mostlyclean-am: clean-gsettings-schemas
19059
19060 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
19061
19062 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
19063         $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
19064
19065 all-am: $(gsettings_SCHEMAS:.xml=.valid)
19066 uninstall-am: uninstall-gsettings-schemas
19067 install-data-am: install-gsettings-schemas
19068
19069 .SECONDARY: $(gsettings_SCHEMAS)
19070
19071 gsettings__base_list = \
19072   sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
19073   sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"
19074
19075 install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19076         @$(NORMAL_INSTALL)
19077         test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"
19078         @list='\''$(gsettings__enum_file) $(gsettings_SCHEMAS)'\''; test -n "$(gsettingsschemadir)" || list=; \
19079         for p in $$list; do \
19080           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
19081           echo "$$d$$p"; \
19082         done | $(gsettings__base_list) | \
19083         while read files; do \
19084           echo " $(INSTALL_DATA) $$files '\''$(DESTDIR)$(gsettingsschemadir)'\''"; \
19085           $(INSTALL_DATA) $$files "$(DESTDIR)$(gsettingsschemadir)" || exit $$?; \
19086         done
19087         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19088
19089 uninstall-gsettings-schemas:
19090         @$(NORMAL_UNINSTALL)
19091         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
19092         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
19093         test -n "$$files" || exit 0; \
19094         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
19095         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
19096         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19097
19098 clean-gsettings-schemas:
19099         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19100
19101 ifdef gsettings_ENUM_NAMESPACE
19102 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
19103         $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $(gsettings_ENUM_FILES) > $@.tmp && mv $@.tmp $@
19104 endif
19105 '
19106
19107
19108
19109
19110
19111
19112
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Unicode backend to use" >&5
19114 $as_echo_n "checking which Unicode backend to use... " >&6; }
19115
19116 # Check whether --with-unicode_backend was given.
19117 if test "${with_unicode_backend+set}" = set; then :
19118   withval=$with_unicode_backend;
19119 else
19120   with_unicode_backend="icu"
19121 fi
19122
19123
19124 case "$with_unicode_backend" in
19125      icu|glib) ;;
19126      *) as_fn_error $? "Invalid Unicode backend: must be icu or glib." "$LINENO" 5 ;;
19127 esac
19128
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_unicode_backend" >&5
19130 $as_echo "$with_unicode_backend" >&6; }
19131
19132 if test "$with_unicode_backend" = "icu"; then
19133         case "$host" in
19134             *-*-darwin*)
19135                 UNICODE_CFLAGS="-I$srcdir/Source/JavaScriptCore/icu -I$srcdir/Source/WebCore/icu"
19136                 UNICODE_LIBS="-licucore"
19137                 ;;
19138             *-*-mingw*)
19139                 UNICODE_CFLAGS=""
19140                 UNICODE_LIBS="-licuin -licuuc"
19141                 ;;
19142             *)
19143                 # Extract the first word of "icu-config", so it can be a program name with args.
19144 set dummy icu-config; ac_word=$2
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19146 $as_echo_n "checking for $ac_word... " >&6; }
19147 if ${ac_cv_path_icu_config+:} false; then :
19148   $as_echo_n "(cached) " >&6
19149 else
19150   case $icu_config in
19151   [\\/]* | ?:[\\/]*)
19152   ac_cv_path_icu_config="$icu_config" # Let the user override the test with a path.
19153   ;;
19154   *)
19155   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19156 for as_dir in $PATH
19157 do
19158   IFS=$as_save_IFS
19159   test -z "$as_dir" && as_dir=.
19160     for ac_exec_ext in '' $ac_executable_extensions; do
19161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19162     ac_cv_path_icu_config="$as_dir/$ac_word$ac_exec_ext"
19163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19164     break 2
19165   fi
19166 done
19167   done
19168 IFS=$as_save_IFS
19169
19170   test -z "$ac_cv_path_icu_config" && ac_cv_path_icu_config="no"
19171   ;;
19172 esac
19173 fi
19174 icu_config=$ac_cv_path_icu_config
19175 if test -n "$icu_config"; then
19176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_config" >&5
19177 $as_echo "$icu_config" >&6; }
19178 else
19179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19180 $as_echo "no" >&6; }
19181 fi
19182
19183
19184                 if test "$icu_config" = "no"; then
19185                         as_fn_error $? "Cannot find icu-config. The ICU library is needed." "$LINENO" 5
19186                 fi
19187
19188                 # We don't use --cflags as this gives us a lot of things that we don't
19189                 # necessarily want, like debugging and optimization flags
19190                 # See man (1) icu-config for more info.
19191                 UNICODE_CFLAGS=`$icu_config --cppflags`
19192                 UNICODE_LIBS=`$icu_config --ldflags-libsonly`
19193                 ;;
19194         esac
19195 fi
19196
19197 if test "$with_unicode_backend" = "glib"; then
19198
19199 pkg_failed=no
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNICODE" >&5
19201 $as_echo_n "checking for UNICODE... " >&6; }
19202
19203 if test -n "$UNICODE_CFLAGS"; then
19204     pkg_cv_UNICODE_CFLAGS="$UNICODE_CFLAGS"
19205  elif test -n "$PKG_CONFIG"; then
19206     if test -n "$PKG_CONFIG" && \
19207     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19208   ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19209   ac_status=$?
19210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19211   test $ac_status = 0; }; then
19212   pkg_cv_UNICODE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19213 else
19214   pkg_failed=yes
19215 fi
19216  else
19217     pkg_failed=untried
19218 fi
19219 if test -n "$UNICODE_LIBS"; then
19220     pkg_cv_UNICODE_LIBS="$UNICODE_LIBS"
19221  elif test -n "$PKG_CONFIG"; then
19222     if test -n "$PKG_CONFIG" && \
19223     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19224   ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19225   ac_status=$?
19226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19227   test $ac_status = 0; }; then
19228   pkg_cv_UNICODE_LIBS=`$PKG_CONFIG --libs "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19229 else
19230   pkg_failed=yes
19231 fi
19232  else
19233     pkg_failed=untried
19234 fi
19235
19236
19237
19238 if test $pkg_failed = yes; then
19239         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19240 $as_echo "no" >&6; }
19241
19242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19243         _pkg_short_errors_supported=yes
19244 else
19245         _pkg_short_errors_supported=no
19246 fi
19247         if test $_pkg_short_errors_supported = yes; then
19248                 UNICODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 pango >= 1.21.0" 2>&1`
19249         else
19250                 UNICODE_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 pango >= 1.21.0" 2>&1`
19251         fi
19252         # Put the nasty error message in config.log where it belongs
19253         echo "$UNICODE_PKG_ERRORS" >&5
19254
19255         as_fn_error $? "Package requirements (glib-2.0 pango >= 1.21.0) were not met:
19256
19257 $UNICODE_PKG_ERRORS
19258
19259 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19260 installed software in a non-standard prefix.
19261
19262 Alternatively, you may set the environment variables UNICODE_CFLAGS
19263 and UNICODE_LIBS to avoid the need to call pkg-config.
19264 See the pkg-config man page for more details." "$LINENO" 5
19265
19266 elif test $pkg_failed = untried; then
19267         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19268 $as_echo "no" >&6; }
19269         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19271 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19272 is in your PATH or set the PKG_CONFIG environment variable to the full
19273 path to pkg-config.
19274
19275 Alternatively, you may set the environment variables UNICODE_CFLAGS
19276 and UNICODE_LIBS to avoid the need to call pkg-config.
19277 See the pkg-config man page for more details.
19278
19279 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19280 See \`config.log' for more details" "$LINENO" 5; }
19281
19282 else
19283         UNICODE_CFLAGS=$pkg_cv_UNICODE_CFLAGS
19284         UNICODE_LIBS=$pkg_cv_UNICODE_LIBS
19285         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19286 $as_echo "yes" >&6; }
19287
19288 fi
19289 fi
19290
19291
19292
19293
19294
19295 pkg_failed=no
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
19297 $as_echo_n "checking for ZLIB... " >&6; }
19298
19299 if test -n "$ZLIB_CFLAGS"; then
19300     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
19301  elif test -n "$PKG_CONFIG"; then
19302     if test -n "$PKG_CONFIG" && \
19303     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19304   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19305   ac_status=$?
19306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19307   test $ac_status = 0; }; then
19308   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
19309 else
19310   pkg_failed=yes
19311 fi
19312  else
19313     pkg_failed=untried
19314 fi
19315 if test -n "$ZLIB_LIBS"; then
19316     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
19317  elif test -n "$PKG_CONFIG"; then
19318     if test -n "$PKG_CONFIG" && \
19319     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19320   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19321   ac_status=$?
19322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19323   test $ac_status = 0; }; then
19324   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
19325 else
19326   pkg_failed=yes
19327 fi
19328  else
19329     pkg_failed=untried
19330 fi
19331
19332
19333
19334 if test $pkg_failed = yes; then
19335         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19336 $as_echo "no" >&6; }
19337
19338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19339         _pkg_short_errors_supported=yes
19340 else
19341         _pkg_short_errors_supported=no
19342 fi
19343         if test $_pkg_short_errors_supported = yes; then
19344                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "zlib" 2>&1`
19345         else
19346                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "zlib" 2>&1`
19347         fi
19348         # Put the nasty error message in config.log where it belongs
19349         echo "$ZLIB_PKG_ERRORS" >&5
19350
19351         as_fn_error $? "Package requirements (zlib) were not met:
19352
19353 $ZLIB_PKG_ERRORS
19354
19355 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19356 installed software in a non-standard prefix.
19357
19358 Alternatively, you may set the environment variables ZLIB_CFLAGS
19359 and ZLIB_LIBS to avoid the need to call pkg-config.
19360 See the pkg-config man page for more details." "$LINENO" 5
19361
19362 elif test $pkg_failed = untried; then
19363         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19364 $as_echo "no" >&6; }
19365         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19367 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19368 is in your PATH or set the PKG_CONFIG environment variable to the full
19369 path to pkg-config.
19370
19371 Alternatively, you may set the environment variables ZLIB_CFLAGS
19372 and ZLIB_LIBS to avoid the need to call pkg-config.
19373 See the pkg-config man page for more details.
19374
19375 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19376 See \`config.log' for more details" "$LINENO" 5; }
19377
19378 else
19379         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
19380         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
19381         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19382 $as_echo "yes" >&6; }
19383
19384 fi
19385
19386
19387
19388
19389 for module in glib unicode
19390 do
19391     case $module in
19392         glib)  ;;
19393         unicode)  ;;
19394         *) as_fn_error $? "I don't support that module. Sorry.." "$LINENO" 5 ;;
19395
19396     esac
19397 done
19398
19399
19400 GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION
19401
19402
19403 cat >>confdefs.h <<_ACEOF
19404 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19405 _ACEOF
19406
19407
19408
19409 pkg_failed=no
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
19411 $as_echo_n "checking for LIBXML... " >&6; }
19412
19413 if test -n "$LIBXML_CFLAGS"; then
19414     pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
19415  elif test -n "$PKG_CONFIG"; then
19416     if test -n "$PKG_CONFIG" && \
19417     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19418   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19419   ac_status=$?
19420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19421   test $ac_status = 0; }; then
19422   pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19423 else
19424   pkg_failed=yes
19425 fi
19426  else
19427     pkg_failed=untried
19428 fi
19429 if test -n "$LIBXML_LIBS"; then
19430     pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
19431  elif test -n "$PKG_CONFIG"; then
19432     if test -n "$PKG_CONFIG" && \
19433     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19434   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19435   ac_status=$?
19436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19437   test $ac_status = 0; }; then
19438   pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19439 else
19440   pkg_failed=yes
19441 fi
19442  else
19443     pkg_failed=untried
19444 fi
19445
19446
19447
19448 if test $pkg_failed = yes; then
19449         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19450 $as_echo "no" >&6; }
19451
19452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19453         _pkg_short_errors_supported=yes
19454 else
19455         _pkg_short_errors_supported=no
19456 fi
19457         if test $_pkg_short_errors_supported = yes; then
19458                 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19459         else
19460                 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19461         fi
19462         # Put the nasty error message in config.log where it belongs
19463         echo "$LIBXML_PKG_ERRORS" >&5
19464
19465         as_fn_error $? "Package requirements (libxml-2.0 >= $LIBXML_REQUIRED_VERSION) were not met:
19466
19467 $LIBXML_PKG_ERRORS
19468
19469 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19470 installed software in a non-standard prefix.
19471
19472 Alternatively, you may set the environment variables LIBXML_CFLAGS
19473 and LIBXML_LIBS to avoid the need to call pkg-config.
19474 See the pkg-config man page for more details." "$LINENO" 5
19475
19476 elif test $pkg_failed = untried; then
19477         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19478 $as_echo "no" >&6; }
19479         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19481 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19482 is in your PATH or set the PKG_CONFIG environment variable to the full
19483 path to pkg-config.
19484
19485 Alternatively, you may set the environment variables LIBXML_CFLAGS
19486 and LIBXML_LIBS to avoid the need to call pkg-config.
19487 See the pkg-config man page for more details.
19488
19489 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19490 See \`config.log' for more details" "$LINENO" 5; }
19491
19492 else
19493         LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
19494         LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
19495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19496 $as_echo "yes" >&6; }
19497
19498 fi
19499
19500
19501
19502
19503 pkg_failed=no
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
19505 $as_echo_n "checking for PANGO... " >&6; }
19506
19507 if test -n "$PANGO_CFLAGS"; then
19508     pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
19509  elif test -n "$PKG_CONFIG"; then
19510     if test -n "$PKG_CONFIG" && \
19511     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19512                    pangoft2\""; } >&5
19513   ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19514                    pangoft2") 2>&5
19515   ac_status=$?
19516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19517   test $ac_status = 0; }; then
19518   pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_REQUIRED_VERSION
19519                    pangoft2" 2>/dev/null`
19520 else
19521   pkg_failed=yes
19522 fi
19523  else
19524     pkg_failed=untried
19525 fi
19526 if test -n "$PANGO_LIBS"; then
19527     pkg_cv_PANGO_LIBS="$PANGO_LIBS"
19528  elif test -n "$PKG_CONFIG"; then
19529     if test -n "$PKG_CONFIG" && \
19530     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19531                    pangoft2\""; } >&5
19532   ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19533                    pangoft2") 2>&5
19534   ac_status=$?
19535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19536   test $ac_status = 0; }; then
19537   pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= $PANGO_REQUIRED_VERSION
19538                    pangoft2" 2>/dev/null`
19539 else
19540   pkg_failed=yes
19541 fi
19542  else
19543     pkg_failed=untried
19544 fi
19545
19546
19547
19548 if test $pkg_failed = yes; then
19549         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19550 $as_echo "no" >&6; }
19551
19552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19553         _pkg_short_errors_supported=yes
19554 else
19555         _pkg_short_errors_supported=no
19556 fi
19557         if test $_pkg_short_errors_supported = yes; then
19558                 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pango >= $PANGO_REQUIRED_VERSION
19559                    pangoft2" 2>&1`
19560         else
19561                 PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pango >= $PANGO_REQUIRED_VERSION
19562                    pangoft2" 2>&1`
19563         fi
19564         # Put the nasty error message in config.log where it belongs
19565         echo "$PANGO_PKG_ERRORS" >&5
19566
19567         as_fn_error $? "Package requirements (pango >= $PANGO_REQUIRED_VERSION
19568                    pangoft2) were not met:
19569
19570 $PANGO_PKG_ERRORS
19571
19572 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19573 installed software in a non-standard prefix.
19574
19575 Alternatively, you may set the environment variables PANGO_CFLAGS
19576 and PANGO_LIBS to avoid the need to call pkg-config.
19577 See the pkg-config man page for more details." "$LINENO" 5
19578
19579 elif test $pkg_failed = untried; then
19580         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19581 $as_echo "no" >&6; }
19582         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19584 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19585 is in your PATH or set the PKG_CONFIG environment variable to the full
19586 path to pkg-config.
19587
19588 Alternatively, you may set the environment variables PANGO_CFLAGS
19589 and PANGO_LIBS to avoid the need to call pkg-config.
19590 See the pkg-config man page for more details.
19591
19592 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19593 See \`config.log' for more details" "$LINENO" 5; }
19594
19595 else
19596         PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
19597         PANGO_LIBS=$pkg_cv_PANGO_LIBS
19598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19599 $as_echo "yes" >&6; }
19600
19601 fi
19602
19603
19604
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable spellcheck support" >&5
19606 $as_echo_n "checking whether to enable spellcheck support... " >&6; }
19607 # Check whether --enable-spellcheck was given.
19608 if test "${enable_spellcheck+set}" = set; then :
19609   enableval=$enable_spellcheck;
19610 else
19611   enable_spellcheck="yes"
19612 fi
19613
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_spellcheck" >&5
19615 $as_echo "$enable_spellcheck" >&6; }
19616
19617 if test "$enable_spellcheck" = "yes"; then
19618
19619 pkg_failed=no
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5
19621 $as_echo_n "checking for ENCHANT... " >&6; }
19622
19623 if test -n "$ENCHANT_CFLAGS"; then
19624     pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
19625  elif test -n "$PKG_CONFIG"; then
19626     if test -n "$PKG_CONFIG" && \
19627     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19628   ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19629   ac_status=$?
19630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19631   test $ac_status = 0; }; then
19632   pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19633 else
19634   pkg_failed=yes
19635 fi
19636  else
19637     pkg_failed=untried
19638 fi
19639 if test -n "$ENCHANT_LIBS"; then
19640     pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
19641  elif test -n "$PKG_CONFIG"; then
19642     if test -n "$PKG_CONFIG" && \
19643     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19644   ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19645   ac_status=$?
19646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19647   test $ac_status = 0; }; then
19648   pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19649 else
19650   pkg_failed=yes
19651 fi
19652  else
19653     pkg_failed=untried
19654 fi
19655
19656
19657
19658 if test $pkg_failed = yes; then
19659         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19660 $as_echo "no" >&6; }
19661
19662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19663         _pkg_short_errors_supported=yes
19664 else
19665         _pkg_short_errors_supported=no
19666 fi
19667         if test $_pkg_short_errors_supported = yes; then
19668                 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19669         else
19670                 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19671         fi
19672         # Put the nasty error message in config.log where it belongs
19673         echo "$ENCHANT_PKG_ERRORS" >&5
19674
19675         enable_spellcheck="no"
19676 elif test $pkg_failed = untried; then
19677         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19678 $as_echo "no" >&6; }
19679         enable_spellcheck="no"
19680 else
19681         ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
19682         ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
19683         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19684 $as_echo "yes" >&6; }
19685
19686 fi
19687
19688
19689 fi
19690
19691
19692 pkg_failed=no
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAIL" >&5
19694 $as_echo_n "checking for GAIL... " >&6; }
19695
19696 if test -n "$GAIL_CFLAGS"; then
19697     pkg_cv_GAIL_CFLAGS="$GAIL_CFLAGS"
19698  elif test -n "$PKG_CONFIG"; then
19699     if test -n "$PKG_CONFIG" && \
19700     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19701   ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19702   ac_status=$?
19703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19704   test $ac_status = 0; }; then
19705   pkg_cv_GAIL_CFLAGS=`$PKG_CONFIG --cflags "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19706 else
19707   pkg_failed=yes
19708 fi
19709  else
19710     pkg_failed=untried
19711 fi
19712 if test -n "$GAIL_LIBS"; then
19713     pkg_cv_GAIL_LIBS="$GAIL_LIBS"
19714  elif test -n "$PKG_CONFIG"; then
19715     if test -n "$PKG_CONFIG" && \
19716     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19717   ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19718   ac_status=$?
19719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19720   test $ac_status = 0; }; then
19721   pkg_cv_GAIL_LIBS=`$PKG_CONFIG --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19722 else
19723   pkg_failed=yes
19724 fi
19725  else
19726     pkg_failed=untried
19727 fi
19728
19729
19730
19731 if test $pkg_failed = yes; then
19732         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19733 $as_echo "no" >&6; }
19734
19735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19736         _pkg_short_errors_supported=yes
19737 else
19738         _pkg_short_errors_supported=no
19739 fi
19740         if test $_pkg_short_errors_supported = yes; then
19741                 GAIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19742         else
19743                 GAIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19744         fi
19745         # Put the nasty error message in config.log where it belongs
19746         echo "$GAIL_PKG_ERRORS" >&5
19747
19748         as_fn_error $? "Package requirements ($GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION) were not met:
19749
19750 $GAIL_PKG_ERRORS
19751
19752 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19753 installed software in a non-standard prefix.
19754
19755 Alternatively, you may set the environment variables GAIL_CFLAGS
19756 and GAIL_LIBS to avoid the need to call pkg-config.
19757 See the pkg-config man page for more details." "$LINENO" 5
19758
19759 elif test $pkg_failed = untried; then
19760         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19761 $as_echo "no" >&6; }
19762         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19764 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19765 is in your PATH or set the PKG_CONFIG environment variable to the full
19766 path to pkg-config.
19767
19768 Alternatively, you may set the environment variables GAIL_CFLAGS
19769 and GAIL_LIBS to avoid the need to call pkg-config.
19770 See the pkg-config man page for more details.
19771
19772 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19773 See \`config.log' for more details" "$LINENO" 5; }
19774
19775 else
19776         GAIL_CFLAGS=$pkg_cv_GAIL_CFLAGS
19777         GAIL_LIBS=$pkg_cv_GAIL_LIBS
19778         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19779 $as_echo "yes" >&6; }
19780
19781 fi
19782
19783
19784
19785 # check for target-specific dependencies
19786 if test "$with_target" = "directfb"; then
19787
19788 pkg_failed=no
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19790 $as_echo_n "checking for CAIRO... " >&6; }
19791
19792 if test -n "$CAIRO_CFLAGS"; then
19793     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19794  elif test -n "$PKG_CONFIG"; then
19795     if test -n "$PKG_CONFIG" && \
19796     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19797   ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19798   ac_status=$?
19799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19800   test $ac_status = 0; }; then
19801   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19802 else
19803   pkg_failed=yes
19804 fi
19805  else
19806     pkg_failed=untried
19807 fi
19808 if test -n "$CAIRO_LIBS"; then
19809     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19810  elif test -n "$PKG_CONFIG"; then
19811     if test -n "$PKG_CONFIG" && \
19812     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19813   ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19814   ac_status=$?
19815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19816   test $ac_status = 0; }; then
19817   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19818 else
19819   pkg_failed=yes
19820 fi
19821  else
19822     pkg_failed=untried
19823 fi
19824
19825
19826
19827 if test $pkg_failed = yes; then
19828         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19829 $as_echo "no" >&6; }
19830
19831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19832         _pkg_short_errors_supported=yes
19833 else
19834         _pkg_short_errors_supported=no
19835 fi
19836         if test $_pkg_short_errors_supported = yes; then
19837                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19838         else
19839                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19840         fi
19841         # Put the nasty error message in config.log where it belongs
19842         echo "$CAIRO_PKG_ERRORS" >&5
19843
19844         as_fn_error $? "Package requirements (cairo-directfb >= $CAIRO_REQUIRED_VERSION) were not met:
19845
19846 $CAIRO_PKG_ERRORS
19847
19848 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19849 installed software in a non-standard prefix.
19850
19851 Alternatively, you may set the environment variables CAIRO_CFLAGS
19852 and CAIRO_LIBS to avoid the need to call pkg-config.
19853 See the pkg-config man page for more details." "$LINENO" 5
19854
19855 elif test $pkg_failed = untried; then
19856         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19857 $as_echo "no" >&6; }
19858         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19860 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19861 is in your PATH or set the PKG_CONFIG environment variable to the full
19862 path to pkg-config.
19863
19864 Alternatively, you may set the environment variables CAIRO_CFLAGS
19865 and CAIRO_LIBS to avoid the need to call pkg-config.
19866 See the pkg-config man page for more details.
19867
19868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19869 See \`config.log' for more details" "$LINENO" 5; }
19870
19871 else
19872         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
19873         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
19874         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19875 $as_echo "yes" >&6; }
19876
19877 fi
19878
19879 pkg_failed=no
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
19881 $as_echo_n "checking for GTK... " >&6; }
19882
19883 if test -n "$GTK_CFLAGS"; then
19884     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
19885  elif test -n "$PKG_CONFIG"; then
19886     if test -n "$PKG_CONFIG" && \
19887     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19888   ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19889   ac_status=$?
19890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19891   test $ac_status = 0; }; then
19892   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19893 else
19894   pkg_failed=yes
19895 fi
19896  else
19897     pkg_failed=untried
19898 fi
19899 if test -n "$GTK_LIBS"; then
19900     pkg_cv_GTK_LIBS="$GTK_LIBS"
19901  elif test -n "$PKG_CONFIG"; then
19902     if test -n "$PKG_CONFIG" && \
19903     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19904   ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19905   ac_status=$?
19906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19907   test $ac_status = 0; }; then
19908   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19909 else
19910   pkg_failed=yes
19911 fi
19912  else
19913     pkg_failed=untried
19914 fi
19915
19916
19917
19918 if test $pkg_failed = yes; then
19919         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19920 $as_echo "no" >&6; }
19921
19922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19923         _pkg_short_errors_supported=yes
19924 else
19925         _pkg_short_errors_supported=no
19926 fi
19927         if test $_pkg_short_errors_supported = yes; then
19928                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
19929         else
19930                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
19931         fi
19932         # Put the nasty error message in config.log where it belongs
19933         echo "$GTK_PKG_ERRORS" >&5
19934
19935         as_fn_error $? "Package requirements (gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION) were not met:
19936
19937 $GTK_PKG_ERRORS
19938
19939 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19940 installed software in a non-standard prefix.
19941
19942 Alternatively, you may set the environment variables GTK_CFLAGS
19943 and GTK_LIBS to avoid the need to call pkg-config.
19944 See the pkg-config man page for more details." "$LINENO" 5
19945
19946 elif test $pkg_failed = untried; then
19947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19948 $as_echo "no" >&6; }
19949         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19951 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19952 is in your PATH or set the PKG_CONFIG environment variable to the full
19953 path to pkg-config.
19954
19955 Alternatively, you may set the environment variables GTK_CFLAGS
19956 and GTK_LIBS to avoid the need to call pkg-config.
19957 See the pkg-config man page for more details.
19958
19959 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19960 See \`config.log' for more details" "$LINENO" 5; }
19961
19962 else
19963         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
19964         GTK_LIBS=$pkg_cv_GTK_LIBS
19965         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19966 $as_echo "yes" >&6; }
19967
19968 fi
19969
19970 $as_echo "#define WTF_PLATFORM_DIRECTFB 1" >>confdefs.h
19971
19972 else
19973
19974 pkg_failed=no
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19976 $as_echo_n "checking for CAIRO... " >&6; }
19977
19978 if test -n "$CAIRO_CFLAGS"; then
19979     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19980  elif test -n "$PKG_CONFIG"; then
19981     if test -n "$PKG_CONFIG" && \
19982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19983   ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
19984   ac_status=$?
19985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19986   test $ac_status = 0; }; then
19987   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19988 else
19989   pkg_failed=yes
19990 fi
19991  else
19992     pkg_failed=untried
19993 fi
19994 if test -n "$CAIRO_LIBS"; then
19995     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19996  elif test -n "$PKG_CONFIG"; then
19997     if test -n "$PKG_CONFIG" && \
19998     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19999   ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
20000   ac_status=$?
20001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20002   test $ac_status = 0; }; then
20003   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
20004 else
20005   pkg_failed=yes
20006 fi
20007  else
20008     pkg_failed=untried
20009 fi
20010
20011
20012
20013 if test $pkg_failed = yes; then
20014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20015 $as_echo "no" >&6; }
20016
20017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20018         _pkg_short_errors_supported=yes
20019 else
20020         _pkg_short_errors_supported=no
20021 fi
20022         if test $_pkg_short_errors_supported = yes; then
20023                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20024         else
20025                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20026         fi
20027         # Put the nasty error message in config.log where it belongs
20028         echo "$CAIRO_PKG_ERRORS" >&5
20029
20030         as_fn_error $? "Package requirements (cairo >= $CAIRO_REQUIRED_VERSION) were not met:
20031
20032 $CAIRO_PKG_ERRORS
20033
20034 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20035 installed software in a non-standard prefix.
20036
20037 Alternatively, you may set the environment variables CAIRO_CFLAGS
20038 and CAIRO_LIBS to avoid the need to call pkg-config.
20039 See the pkg-config man page for more details." "$LINENO" 5
20040
20041 elif test $pkg_failed = untried; then
20042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20043 $as_echo "no" >&6; }
20044         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20046 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20047 is in your PATH or set the PKG_CONFIG environment variable to the full
20048 path to pkg-config.
20049
20050 Alternatively, you may set the environment variables CAIRO_CFLAGS
20051 and CAIRO_LIBS to avoid the need to call pkg-config.
20052 See the pkg-config man page for more details.
20053
20054 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20055 See \`config.log' for more details" "$LINENO" 5; }
20056
20057 else
20058         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
20059         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
20060         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20061 $as_echo "yes" >&6; }
20062
20063 fi
20064
20065 pkg_failed=no
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
20067 $as_echo_n "checking for GTK... " >&6; }
20068
20069 if test -n "$GTK_CFLAGS"; then
20070     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
20071  elif test -n "$PKG_CONFIG"; then
20072     if test -n "$PKG_CONFIG" && \
20073     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20074   ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20075   ac_status=$?
20076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20077   test $ac_status = 0; }; then
20078   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20079 else
20080   pkg_failed=yes
20081 fi
20082  else
20083     pkg_failed=untried
20084 fi
20085 if test -n "$GTK_LIBS"; then
20086     pkg_cv_GTK_LIBS="$GTK_LIBS"
20087  elif test -n "$PKG_CONFIG"; then
20088     if test -n "$PKG_CONFIG" && \
20089     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20090   ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20091   ac_status=$?
20092   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20093   test $ac_status = 0; }; then
20094   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20095 else
20096   pkg_failed=yes
20097 fi
20098  else
20099     pkg_failed=untried
20100 fi
20101
20102
20103
20104 if test $pkg_failed = yes; then
20105         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20106 $as_echo "no" >&6; }
20107
20108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20109         _pkg_short_errors_supported=yes
20110 else
20111         _pkg_short_errors_supported=no
20112 fi
20113         if test $_pkg_short_errors_supported = yes; then
20114                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20115         else
20116                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20117         fi
20118         # Put the nasty error message in config.log where it belongs
20119         echo "$GTK_PKG_ERRORS" >&5
20120
20121         as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION) were not met:
20122
20123 $GTK_PKG_ERRORS
20124
20125 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20126 installed software in a non-standard prefix.
20127
20128 Alternatively, you may set the environment variables GTK_CFLAGS
20129 and GTK_LIBS to avoid the need to call pkg-config.
20130 See the pkg-config man page for more details." "$LINENO" 5
20131
20132 elif test $pkg_failed = untried; then
20133         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20134 $as_echo "no" >&6; }
20135         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20137 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20138 is in your PATH or set the PKG_CONFIG environment variable to the full
20139 path to pkg-config.
20140
20141 Alternatively, you may set the environment variables GTK_CFLAGS
20142 and GTK_LIBS to avoid the need to call pkg-config.
20143 See the pkg-config man page for more details.
20144
20145 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20146 See \`config.log' for more details" "$LINENO" 5; }
20147
20148 else
20149         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
20150         GTK_LIBS=$pkg_cv_GTK_LIBS
20151         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20152 $as_echo "yes" >&6; }
20153
20154 fi
20155
20156    if test "$with_target" = "x11" && test "$os_win32" = "no"; then
20157       # check for XT
20158
20159 pkg_failed=no
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
20161 $as_echo_n "checking for XT... " >&6; }
20162
20163 if test -n "$XT_CFLAGS"; then
20164     pkg_cv_XT_CFLAGS="$XT_CFLAGS"
20165  elif test -n "$PKG_CONFIG"; then
20166     if test -n "$PKG_CONFIG" && \
20167     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20168   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20169   ac_status=$?
20170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20171   test $ac_status = 0; }; then
20172   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
20173 else
20174   pkg_failed=yes
20175 fi
20176  else
20177     pkg_failed=untried
20178 fi
20179 if test -n "$XT_LIBS"; then
20180     pkg_cv_XT_LIBS="$XT_LIBS"
20181  elif test -n "$PKG_CONFIG"; then
20182     if test -n "$PKG_CONFIG" && \
20183     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20184   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20185   ac_status=$?
20186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20187   test $ac_status = 0; }; then
20188   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
20189 else
20190   pkg_failed=yes
20191 fi
20192  else
20193     pkg_failed=untried
20194 fi
20195
20196
20197
20198 if test $pkg_failed = yes; then
20199         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20200 $as_echo "no" >&6; }
20201
20202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20203         _pkg_short_errors_supported=yes
20204 else
20205         _pkg_short_errors_supported=no
20206 fi
20207         if test $_pkg_short_errors_supported = yes; then
20208                 XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
20209         else
20210                 XT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
20211         fi
20212         # Put the nasty error message in config.log where it belongs
20213         echo "$XT_PKG_ERRORS" >&5
20214
20215         xt_has_pkg_config=no
20216 elif test $pkg_failed = untried; then
20217         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20218 $as_echo "no" >&6; }
20219         xt_has_pkg_config=no
20220 else
20221         XT_CFLAGS=$pkg_cv_XT_CFLAGS
20222         XT_LIBS=$pkg_cv_XT_LIBS
20223         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20224 $as_echo "yes" >&6; }
20225         xt_has_pkg_config=yes
20226 fi
20227       # some old versions of Xt do not provide xt.pc, so try to link against Xt
20228       # and if it's installed fall back to just adding -lXt
20229       if test "$xt_has_pkg_config" = "no"; then
20230          # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
20231          # we don't care about the XtOpenDisplay symbol but only about the
20232          # existence of libXt
20233          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtOpenDisplay in -lXt" >&5
20234 $as_echo_n "checking for XtOpenDisplay in -lXt... " >&6; }
20235 if ${ac_cv_lib_Xt_XtOpenDisplay+:} false; then :
20236   $as_echo_n "(cached) " >&6
20237 else
20238   ac_check_lib_save_LIBS=$LIBS
20239 LIBS="-lXt  $LIBS"
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h.  */
20242
20243 /* Override any GCC internal prototype to avoid an error.
20244    Use char because int might match the return type of a GCC
20245    builtin and then its argument prototype would still apply.  */
20246 #ifdef __cplusplus
20247 extern "C"
20248 #endif
20249 char XtOpenDisplay ();
20250 int
20251 main ()
20252 {
20253 return XtOpenDisplay ();
20254   ;
20255   return 0;
20256 }
20257 _ACEOF
20258 if ac_fn_c_try_link "$LINENO"; then :
20259   ac_cv_lib_Xt_XtOpenDisplay=yes
20260 else
20261   ac_cv_lib_Xt_XtOpenDisplay=no
20262 fi
20263 rm -f core conftest.err conftest.$ac_objext \
20264     conftest$ac_exeext conftest.$ac_ext
20265 LIBS=$ac_check_lib_save_LIBS
20266 fi
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5
20268 $as_echo "$ac_cv_lib_Xt_XtOpenDisplay" >&6; }
20269 if test "x$ac_cv_lib_Xt_XtOpenDisplay" = xyes; then :
20270   XT_CFLAGS=""; XT_LIBS="-lXt"
20271 else
20272   as_fn_error $? "X Toolkit Intrinsics library (libXt) not found" "$LINENO" 5
20273 fi
20274
20275       fi
20276
20277
20278
20279 $as_echo "#define WTF_PLATFORM_X11 1" >>confdefs.h
20280
20281    fi
20282 fi
20283
20284
20285
20286
20287
20288 # check whether to build with debugging enabled
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do a debug build" >&5
20290 $as_echo_n "checking whether to do a debug build... " >&6; }
20291 # Check whether --enable-debug was given.
20292 if test "${enable_debug+set}" = set; then :
20293   enableval=$enable_debug;
20294 else
20295   enable_debug="no"
20296 fi
20297
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
20299 $as_echo "$enable_debug" >&6; }
20300
20301 # check whether to enable optimized builds
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized builds" >&5
20303 $as_echo_n "checking whether to enable optimized builds... " >&6; }
20304 # Check whether --enable-optimizations was given.
20305 if test "${enable_optimizations+set}" = set; then :
20306   enableval=$enable_optimizations; enable_optimizations=$enableval
20307 else
20308   if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi
20309 fi
20310
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_optimizations" >&5
20312 $as_echo "$enable_optimizations" >&6; }
20313
20314 # check whether to enable 3D rendering support
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for 3D Rendering" >&5
20316 $as_echo_n "checking whether to enable support for 3D Rendering... " >&6; }
20317 # Check whether --enable-3d_rendering was given.
20318 if test "${enable_3d_rendering+set}" = set; then :
20319   enableval=$enable_3d_rendering;
20320 else
20321   enable_3d_rendering="no"
20322 fi
20323
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_3d_rendering" >&5
20325 $as_echo "$enable_3d_rendering" >&6; }
20326
20327 # check whether to enable WebGL support
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WebGL support" >&5
20329 $as_echo_n "checking whether to enable WebGL support... " >&6; }
20330 # Check whether --enable-webgl was given.
20331 if test "${enable_webgl+set}" = set; then :
20332   enableval=$enable_webgl;
20333 else
20334   enable_webgl="no"
20335 fi
20336
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webgl" >&5
20338 $as_echo "$enable_webgl" >&6; }
20339
20340 if test "$enable_webgl" = "yes"; then
20341     for ac_header in GL/gl.h
20342 do :
20343   ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
20344 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
20345   cat >>confdefs.h <<_ACEOF
20346 #define HAVE_GL_GL_H 1
20347 _ACEOF
20348
20349 else
20350   as_fn_error $? "OpenGL header not found" "$LINENO" 5
20351 fi
20352
20353 done
20354
20355     for ac_header in GL/glx.h
20356 do :
20357   ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
20358 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
20359   cat >>confdefs.h <<_ACEOF
20360 #define HAVE_GL_GLX_H 1
20361 _ACEOF
20362
20363 else
20364   as_fn_error $? "GLX header not found" "$LINENO" 5
20365 fi
20366
20367 done
20368
20369     OPENGL_LIBS=-lGL
20370 fi
20371
20372
20373 # check whether to enable channel messaging support
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 Channel Messaging support" >&5
20375 $as_echo_n "checking whether to enable HTML5 Channel Messaging support... " >&6; }
20376 # Check whether --enable-channel_messaging was given.
20377 if test "${enable_channel_messaging+set}" = set; then :
20378   enableval=$enable_channel_messaging;
20379 else
20380   enable_channel_messaging="yes"
20381 fi
20382
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_channel_messaging" >&5
20384 $as_echo "$enable_channel_messaging" >&6; }
20385
20386 # check whether to enable notifications
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable notifications" >&5
20388 $as_echo_n "checking whether to enable notifications... " >&6; }
20389 # Check whether --enable-notifications was given.
20390 if test "${enable_notifications+set}" = set; then :
20391   enableval=$enable_notifications;
20392 else
20393   enable_notifications="no"
20394 fi
20395
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_notifications" >&5
20397 $as_echo "$enable_notifications" >&6; }
20398
20399 # check whether to enable the meter tag
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 meter tag" >&5
20401 $as_echo_n "checking whether to enable HTML5 meter tag... " >&6; }
20402 # Check whether --enable-meter_tag was given.
20403 if test "${enable_meter_tag+set}" = set; then :
20404   enableval=$enable_meter_tag;
20405 else
20406   enable_meter_tag="yes"
20407 fi
20408
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_meter_tag" >&5
20410 $as_echo "$enable_meter_tag" >&6; }
20411
20412 # check whether to enable page visibility API.
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Page Visibility API support" >&5
20414 $as_echo_n "checking whether to enable Page Visibility API support... " >&6; }
20415 # Check whether --enable-page_visibility_api was given.
20416 if test "${enable_page_visibility_api+set}" = set; then :
20417   enableval=$enable_page_visibility_api;
20418 else
20419   enable_page_visibility_api="no"
20420 fi
20421
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_page_visibility_api" >&5
20423 $as_echo "$enable_page_visibility_api" >&6; }
20424
20425 # check whether to enable the progress tag
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 progress tag" >&5
20427 $as_echo_n "checking whether to enable HTML5 progress tag... " >&6; }
20428 # Check whether --enable-progress_tag was given.
20429 if test "${enable_progress_tag+set}" = set; then :
20430   enableval=$enable_progress_tag;
20431 else
20432   enable_progress_tag="yes"
20433 fi
20434
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_progress_tag" >&5
20436 $as_echo "$enable_progress_tag" >&6; }
20437
20438 # check whether to enable JavaScript debugger/profiler support
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JavaScript debugger/profiler support" >&5
20440 $as_echo_n "checking whether to enable JavaScript debugger/profiler support... " >&6; }
20441 # Check whether --enable-javascript_debugger was given.
20442 if test "${enable_javascript_debugger+set}" = set; then :
20443   enableval=$enable_javascript_debugger;
20444 else
20445   enable_javascript_debugger="yes"
20446 fi
20447
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_javascript_debugger" >&5
20449 $as_echo "$enable_javascript_debugger" >&6; }
20450
20451 # check whether to build with datagrid support
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datagrid support" >&5
20453 $as_echo_n "checking whether to enable HTML5 datagrid support... " >&6; }
20454 # Check whether --enable-datagrid was given.
20455 if test "${enable_datagrid+set}" = set; then :
20456   enableval=$enable_datagrid;
20457 else
20458   enable_datagrid="no"
20459 fi
20460
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datagrid" >&5
20462 $as_echo "$enable_datagrid" >&6; }
20463
20464 # check whether to build with data transfer items support
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 data transfer items support" >&5
20466 $as_echo_n "checking whether to enable HTML5 data transfer items support... " >&6; }
20467 # Check whether --enable-data_transfer_items was given.
20468 if test "${enable_data_transfer_items+set}" = set; then :
20469   enableval=$enable_data_transfer_items;
20470 else
20471   enable_data_transfer_items="no"
20472 fi
20473
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_data_transfer_items" >&5
20475 $as_echo "$enable_data_transfer_items" >&6; }
20476
20477 # check whether to enable HTML5 Offline Web Applications support
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 offline web applications support" >&5
20479 $as_echo_n "checking whether to enable HTML5 offline web applications support... " >&6; }
20480 # Check whether --enable-offline_web_applications was given.
20481 if test "${enable_offline_web_applications+set}" = set; then :
20482   enableval=$enable_offline_web_applications;
20483 else
20484   enable_offline_web_applications="yes"
20485 fi
20486
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_offline_web_applications" >&5
20488 $as_echo "$enable_offline_web_applications" >&6; }
20489
20490 # check whether to enable HTML5 client-side session and persitent storage support
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 client-side session and persistent storage support" >&5
20492 $as_echo_n "checking whether to enable HTML5 client-side session and persistent storage support... " >&6; }
20493 # Check whether --enable-dom_storage was given.
20494 if test "${enable_dom_storage+set}" = set; then :
20495   enableval=$enable_dom_storage;
20496 else
20497   enable_dom_storage="yes"
20498 fi
20499
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dom_storage" >&5
20501 $as_echo "$enable_dom_storage" >&6; }
20502
20503 # check whether to enable the indexed database API
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the indexed database API" >&5
20505 $as_echo_n "checking whether to enable the indexed database API... " >&6; }
20506 # Check whether --enable-indexed_database was given.
20507 if test "${enable_indexed_database+set}" = set; then :
20508   enableval=$enable_indexed_database;
20509 else
20510   enable_indexed_database="no"
20511 fi
20512
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_indexed_database" >&5
20514 $as_echo "$enable_indexed_database" >&6; }
20515
20516 # check whether to enable the color input
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the color input" >&5
20518 $as_echo_n "checking whether to enable the color input... " >&6; }
20519 # Check whether --enable-input_color was given.
20520 if test "${enable_input_color+set}" = set; then :
20521   enableval=$enable_input_color;
20522 else
20523   enable_input_color="no"
20524 fi
20525
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_color" >&5
20527 $as_echo "$enable_input_color" >&6; }
20528
20529 # check whether to enable the speech input API
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the speech input API" >&5
20531 $as_echo_n "checking whether to enable the speech input API... " >&6; }
20532 # Check whether --enable-input_speech was given.
20533 if test "${enable_input_speech+set}" = set; then :
20534   enableval=$enable_input_speech;
20535 else
20536   enable_input_speech="no"
20537 fi
20538
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_speech" >&5
20540 $as_echo "$enable_input_speech" >&6; }
20541
20542 # check whether to build with SQL database support
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SQL client-side database storage support" >&5
20544 $as_echo_n "checking whether to enable SQL client-side database storage support... " >&6; }
20545 # Check whether --enable-sql_database was given.
20546 if test "${enable_sql_database+set}" = set; then :
20547   enableval=$enable_sql_database;
20548 else
20549   enable_sql_database="yes"
20550 fi
20551
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sql_database" >&5
20553 $as_echo "$enable_sql_database" >&6; }
20554
20555 # check whether to build with icon database support
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable icon database support" >&5
20557 $as_echo_n "checking whether to enable icon database support... " >&6; }
20558 # Check whether --enable-icon_database was given.
20559 if test "${enable_icon_database+set}" = set; then :
20560   enableval=$enable_icon_database;
20561 else
20562   enable_icon_database="yes"
20563 fi
20564
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_icon_database" >&5
20566 $as_echo "$enable_icon_database" >&6; }
20567
20568 # check whether to build with image resizer API support
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable image resizer API support" >&5
20570 $as_echo_n "checking whether to enable image resizer API support... " >&6; }
20571 # Check whether --enable-image_resizer was given.
20572 if test "${enable_image_resizer+set}" = set; then :
20573   enableval=$enable_image_resizer;
20574 else
20575   enable_image_resizer="no"
20576 fi
20577
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_image_resizer" >&5
20579 $as_echo "$enable_image_resizer" >&6; }
20580
20581 # check whether to enable HTML5 datalist support
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datalist support" >&5
20583 $as_echo_n "checking whether to enable HTML5 datalist support... " >&6; }
20584 # Check whether --enable-datalist was given.
20585 if test "${enable_datalist+set}" = set; then :
20586   enableval=$enable_datalist;
20587 else
20588   enable_datalist="yes"
20589 fi
20590
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datalist" >&5
20592 $as_echo "$enable_datalist" >&6; }
20593
20594 # check whether to enable HTML5 sandbox iframe support
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 sandboxed iframe support" >&5
20596 $as_echo_n "checking whether to enable HTML5 sandboxed iframe support... " >&6; }
20597 # Check whether --enable-sandbox was given.
20598 if test "${enable_sandbox+set}" = set; then :
20599   enableval=$enable_sandbox;
20600 else
20601   enable_sandbox="yes"
20602 fi
20603
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sandbox" >&5
20605 $as_echo "$enable_sandbox" >&6; }
20606
20607 # check whether to enable HTML5 audio/video support
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video support" >&5
20609 $as_echo_n "checking whether to enable HTML5 video support... " >&6; }
20610 # Check whether --enable-video was given.
20611 if test "${enable_video+set}" = set; then :
20612   enableval=$enable_video;
20613 else
20614   enable_video="yes"
20615 fi
20616
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video" >&5
20618 $as_echo "$enable_video" >&6; }
20619
20620 # check whether to enable HTML5 audio/video support
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable elis media support" >&5
20622 $as_echo_n "checking whether to enable elis media support... " >&6; }
20623 # Check whether --enable-video was given.
20624 if test "${enable_video+set}" = set; then :
20625   enableval=$enable_video;
20626 else
20627   enable_elis_media="no"
20628 fi
20629
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_elis_media" >&5
20631 $as_echo "$enable_elis_media" >&6; }
20632
20633 # turn off video features if --disable-video is requested
20634 if test "$enable_video" = "no"; then
20635    enable_video_track=no
20636 fi
20637
20638 # check whether to enable HTML5 video track support
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video track support" >&5
20640 $as_echo_n "checking whether to enable HTML5 video track support... " >&6; }
20641 # Check whether --enable-video_track was given.
20642 if test "${enable_video_track+set}" = set; then :
20643   enableval=$enable_video_track;
20644 else
20645   enable_video_track="yes"
20646 fi
20647
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video_track" >&5
20649 $as_echo "$enable_video_track" >&6; }
20650
20651 # check whether to enable media source support
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media source support" >&5
20653 $as_echo_n "checking whether to enable media source support... " >&6; }
20654 # Check whether --enable-media_source was given.
20655 if test "${enable_media_source+set}" = set; then :
20656   enableval=$enable_media_source;
20657 else
20658   enable_media_source="no"
20659 fi
20660
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_source" >&5
20662 $as_echo "$enable_media_source" >&6; }
20663
20664 # check whether to enable media statistics support
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media statistics support" >&5
20666 $as_echo_n "checking whether to enable media statistics support... " >&6; }
20667 # Check whether --enable-media_statistics was given.
20668 if test "${enable_media_statistics+set}" = set; then :
20669   enableval=$enable_media_statistics;
20670 else
20671   enable_media_statistics="no"
20672 fi
20673
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_statistics" >&5
20675 $as_echo "$enable_media_statistics" >&6; }
20676
20677 # check whether to enable Javascript Fullscreen API support
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fullscreen API support" >&5
20679 $as_echo_n "checking whether to enable Fullscreen API support... " >&6; }
20680 # Check whether --enable-fullscreen_api was given.
20681 if test "${enable_fullscreen_api+set}" = set; then :
20682   enableval=$enable_fullscreen_api;
20683 else
20684   enable_fullscreen_api="yes"
20685 fi
20686
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fullscreen_api" >&5
20688 $as_echo "$enable_fullscreen_api" >&6; }
20689
20690 # check whether to enable media stream support
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media stream support" >&5
20692 $as_echo_n "checking whether to enable media stream support... " >&6; }
20693 # Check whether --enable-media_stream was given.
20694 if test "${enable_media_stream+set}" = set; then :
20695   enableval=$enable_media_stream;
20696 else
20697   enable_media_stream="no"
20698 fi
20699
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_stream" >&5
20701 $as_echo "$enable_media_stream" >&6; }
20702
20703 # check whether to enable XHTML-MP support
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XHTML-MP support" >&5
20705 $as_echo_n "checking whether to enable XHTML-MP support... " >&6; }
20706 # Check whether --enable-xhtmlmp was given.
20707 if test "${enable_xhtmlmp+set}" = set; then :
20708   enableval=$enable_xhtmlmp;
20709 else
20710   enable_xhtmlmp="no"
20711 fi
20712
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xhtmlmp" >&5
20714 $as_echo "$enable_xhtmlmp" >&6; }
20715
20716 # check whether to enable XPath support
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPath support" >&5
20718 $as_echo_n "checking whether to enable XPath support... " >&6; }
20719 # Check whether --enable-xpath was given.
20720 if test "${enable_xpath+set}" = set; then :
20721   enableval=$enable_xpath;
20722 else
20723   enable_xpath="yes"
20724 fi
20725
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xpath" >&5
20727 $as_echo "$enable_xpath" >&6; }
20728
20729 # check whether to enable XSLT support
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XSLT support" >&5
20731 $as_echo_n "checking whether to enable XSLT support... " >&6; }
20732 # Check whether --enable-xslt was given.
20733 if test "${enable_xslt+set}" = set; then :
20734   enableval=$enable_xslt;
20735 else
20736   enable_xslt="yes"
20737 fi
20738
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xslt" >&5
20740 $as_echo "$enable_xslt" >&6; }
20741
20742 # check whether to enable geolocation support
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable geolocation support" >&5
20744 $as_echo_n "checking whether to enable geolocation support... " >&6; }
20745 # Check whether --enable-geolocation was given.
20746 if test "${enable_geolocation+set}" = set; then :
20747   enableval=$enable_geolocation;
20748 else
20749   enable_geolocation="no"
20750 fi
20751
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_geolocation" >&5
20753 $as_echo "$enable_geolocation" >&6; }
20754
20755 # check whether to enable client-based geolocation support
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable client-based geolocation support" >&5
20757 $as_echo_n "checking whether to enable client-based geolocation support... " >&6; }
20758 # Check whether --enable-client_based_geolocation was given.
20759 if test "${enable_client_based_geolocation+set}" = set; then :
20760   enableval=$enable_client_based_geolocation;
20761 else
20762   enable_client_based_geolocation="no"
20763 fi
20764
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_client_based_geolocation" >&5
20766 $as_echo "$enable_client_based_geolocation" >&6; }
20767
20768 # check whether to enable MathML support
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable MathML support" >&5
20770 $as_echo_n "checking whether to enable MathML support... " >&6; }
20771 # Check whether --enable-mathml was given.
20772 if test "${enable_mathml+set}" = set; then :
20773   enableval=$enable_mathml;
20774 else
20775   enable_mathml="no"
20776 fi
20777
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mathml" >&5
20779 $as_echo "$enable_mathml" >&6; }
20780
20781 # check whether to enable SVG support
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG support" >&5
20783 $as_echo_n "checking whether to enable SVG support... " >&6; }
20784 # Check whether --enable-svg was given.
20785 if test "${enable_svg+set}" = set; then :
20786   enableval=$enable_svg;
20787 else
20788   enable_svg="yes"
20789 fi
20790
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg" >&5
20792 $as_echo "$enable_svg" >&6; }
20793
20794 # check whether to enable WCSS support
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WCSS support" >&5
20796 $as_echo_n "checking whether to enable WCSS support... " >&6; }
20797 # Check whether --enable-wcss was given.
20798 if test "${enable_wcss+set}" = set; then :
20799   enableval=$enable_wcss;
20800 else
20801   enable_wcss="no"
20802 fi
20803
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wcss" >&5
20805 $as_echo "$enable_wcss" >&6; }
20806
20807 # check whether to enable SharedWorkers support
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SharedWorkers support" >&5
20809 $as_echo_n "checking whether to enable SharedWorkers support... " >&6; }
20810 # Check whether --enable-shared_workers was given.
20811 if test "${enable_shared_workers+set}" = set; then :
20812   enableval=$enable_shared_workers;
20813 else
20814   enable_shared_workers="yes"
20815 fi
20816
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared_workers" >&5
20818 $as_echo "$enable_shared_workers" >&6; }
20819
20820 # check whether to enable Web Workers support
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Workers support" >&5
20822 $as_echo_n "checking whether to enable Web Workers support... " >&6; }
20823 # Check whether --enable-workers was given.
20824 if test "${enable_workers+set}" = set; then :
20825   enableval=$enable_workers;
20826 else
20827   enable_workers="yes"
20828 fi
20829
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_workers" >&5
20831 $as_echo "$enable_workers" >&6; }
20832
20833 # check whether to enable directory upload support
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable directory upload support" >&5
20835 $as_echo_n "checking whether to enable directory upload support... " >&6; }
20836 # Check whether --enable-directory_upload was given.
20837 if test "${enable_directory_upload+set}" = set; then :
20838   enableval=$enable_directory_upload;
20839 else
20840   enable_directory_upload="no"
20841 fi
20842
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_directory_upload" >&5
20844 $as_echo "$enable_directory_upload" >&6; }
20845
20846 # check whether to enable HTML5 FileSystem API support
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 FileSystem API support" >&5
20848 $as_echo_n "checking whether to enable HTML5 FileSystem API support... " >&6; }
20849 # Check whether --enable-file_system was given.
20850 if test "${enable_file_system+set}" = set; then :
20851   enableval=$enable_file_system;
20852 else
20853   enable_file_system="no"
20854 fi
20855
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_file_system" >&5
20857 $as_echo "$enable_file_system" >&6; }
20858
20859 # check whether to enable Quota API support
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Quota API support" >&5
20861 $as_echo_n "checking whether to enable Quota API support... " >&6; }
20862 # Check whether --enable-quota was given.
20863 if test "${enable_quota+set}" = set; then :
20864   enableval=$enable_quota;
20865 else
20866   enable_quota="no"
20867 fi
20868
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_quota" >&5
20870 $as_echo "$enable_quota" >&6; }
20871
20872 # turn off svg features if --disable-svg is requested
20873 if test "$enable_svg" = "no"; then
20874    enable_svg_fonts=no
20875 fi
20876
20877 # check whether to enable support for filters
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for filters" >&5
20879 $as_echo_n "checking whether to enable support for filters... " >&6; }
20880 # Check whether --enable-filters was given.
20881 if test "${enable_filters+set}" = set; then :
20882   enableval=$enable_filters;
20883 else
20884   enable_filters="yes"
20885 fi
20886
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_filters" >&5
20888 $as_echo "$enable_filters" >&6; }
20889
20890 # check whether to enable support for SVG fonts
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for SVG fonts" >&5
20892 $as_echo_n "checking whether to enable support for SVG fonts... " >&6; }
20893 # Check whether --enable-svg_fonts was given.
20894 if test "${enable_svg_fonts+set}" = set; then :
20895   enableval=$enable_svg_fonts;
20896 else
20897   enable_svg_fonts="yes"
20898 fi
20899
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg_fonts" >&5
20901 $as_echo "$enable_svg_fonts" >&6; }
20902
20903 # check for SVG features, enabling SVG if necessary
20904 if test "$enable_svg_fonts" = "yes"; then
20905    svg_flags=yes
20906    if test "$enable_svg" = "no"; then
20907        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&5
20908 $as_echo "$as_me: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&2;}
20909        enable_svg=yes
20910    fi
20911 fi
20912
20913 # check whether to enable Web Socket support
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Sockets support" >&5
20915 $as_echo_n "checking whether to enable Web Sockets support... " >&6; }
20916 # Check whether --enable-web_sockets was given.
20917 if test "${enable_web_sockets+set}" = set; then :
20918   enableval=$enable_web_sockets;
20919 else
20920   enable_web_sockets="yes"
20921 fi
20922
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_sockets" >&5
20924 $as_echo "$enable_web_sockets" >&6; }
20925
20926 # check whether to enable Web Audio support
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Audio support" >&5
20928 $as_echo_n "checking whether to enable Web Audio support... " >&6; }
20929 # Check whether --enable-web_audio was given.
20930 if test "${enable_web_audio+set}" = set; then :
20931   enableval=$enable_web_audio;
20932 else
20933   enable_web_audio="no"
20934 fi
20935
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_audio" >&5
20937 $as_echo "$enable_web_audio" >&6; }
20938
20939 # check whether to enable Web Timing support
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Timing support" >&5
20941 $as_echo_n "checking whether to enable Web Timing support... " >&6; }
20942 # Check whether --enable-web_timing was given.
20943 if test "${enable_web_timing+set}" = set; then :
20944   enableval=$enable_web_timing;
20945 else
20946   enable_web_timing="no"
20947 fi
20948
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_timing" >&5
20950 $as_echo "$enable_web_timing" >&6; }
20951
20952 # check whether to enable Blob support
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Blob support" >&5
20954 $as_echo_n "checking whether to enable Blob support... " >&6; }
20955 # Check whether --enable-blob was given.
20956 if test "${enable_blob+set}" = set; then :
20957   enableval=$enable_blob;
20958 else
20959   enable_blob="yes"
20960 fi
20961
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_blob" >&5
20963 $as_echo "$enable_blob" >&6; }
20964
20965 # check whether to enable Fast Mobile Scrolling support
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fast Mobile Scrolling" >&5
20967 $as_echo_n "checking whether to enable Fast Mobile Scrolling... " >&6; }
20968 # Check whether --enable-fast_mobile_scrolling was given.
20969 if test "${enable_fast_mobile_scrolling+set}" = set; then :
20970   enableval=$enable_fast_mobile_scrolling;
20971 else
20972   enable_fast_mobile_scrolling="no"
20973 fi
20974
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_mobile_scrolling" >&5
20976 $as_echo "$enable_fast_mobile_scrolling" >&6; }
20977
20978 # check whether to enable code coverage
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable code coverage support" >&5
20980 $as_echo_n "checking whether to enable code coverage support... " >&6; }
20981 # Check whether --enable-coverage was given.
20982 if test "${enable_coverage+set}" = set; then :
20983   enableval=$enable_coverage;
20984 else
20985   enable_coverage="no"
20986 fi
20987
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
20989 $as_echo "$enable_coverage" >&6; }
20990
20991 # check whether to enable FastMalloc
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized memory allocator" >&5
20993 $as_echo_n "checking whether to enable optimized memory allocator... " >&6; }
20994 # Check whether --enable-fast_malloc was given.
20995 if test "${enable_fast_malloc+set}" = set; then :
20996   enableval=$enable_fast_malloc;
20997 else
20998   if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi
20999 fi
21000
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_malloc" >&5
21002 $as_echo "$enable_fast_malloc" >&6; }
21003
21004 # check whether to enable debug symbols
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug symbols" >&5
21006 $as_echo_n "checking whether to enable debug symbols... " >&6; }
21007 # Check whether --enable-debug_symbols was given.
21008 if test "${enable_debug_symbols+set}" = set; then :
21009   enableval=$enable_debug_symbols;
21010 else
21011   if test "$enable_debug" = "yes"; then enable_debug_symbols="yes"; else enable_debug_symbols="no"; fi
21012 fi
21013
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_symbols" >&5
21015 $as_echo "$enable_debug_symbols" >&6; }
21016
21017 # check whether to enable debug features
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug features" >&5
21019 $as_echo_n "checking whether to enable debug features... " >&6; }
21020 # Check whether --enable-debug_features was given.
21021 if test "${enable_debug_features+set}" = set; then :
21022   enableval=$enable_debug_features;
21023 else
21024   if test "$enable_debug" = "yes"; then enable_debug_features="yes"; else enable_debug_features="no"; fi
21025 fi
21026
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_features" >&5
21028 $as_echo "$enable_debug_features" >&6; }
21029
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JIT compilation" >&5
21031 $as_echo_n "checking whether to enable JIT compilation... " >&6; }
21032 # Check whether --enable-jit was given.
21033 if test "${enable_jit+set}" = set; then :
21034   enableval=$enable_jit;
21035 else
21036   enable_jit="yes"
21037 fi
21038
21039 if test "$enable_jit" = "yes"; then
21040     case "$host_cpu" in
21041         arm*)
21042
21043 $as_echo "#define ENABLE_JIT 1" >>confdefs.h
21044
21045
21046 $as_echo "#define ENABLE_YARR 1" >>confdefs.h
21047
21048
21049 $as_echo "#define ENABLE_YARR_JIT 1" >>confdefs.h
21050
21051         ;;
21052         i*86|x86_64)
21053
21054 $as_echo "#define ENABLE_JIT 1" >>confdefs.h
21055
21056
21057 $as_echo "#define ENABLE_YARR 1" >>confdefs.h
21058
21059
21060 $as_echo "#define ENABLE_YARR_JIT 1" >>confdefs.h
21061
21062
21063 $as_echo "#define ENABLE_JIT_OPTIMIZE_CALL 1" >>confdefs.h
21064
21065
21066 $as_echo "#define ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS 1" >>confdefs.h
21067
21068
21069 $as_echo "#define ENABLE_JIT_OPTIMIZE_ARITHMETIC 1" >>confdefs.h
21070
21071             case "$host_cpu" in
21072                 i*86)
21073
21074 $as_echo "#define WTF_USE_JIT_STUB_ARGUMENT_VA_LIST 1" >>confdefs.h
21075
21076                 ;;
21077                 x86_64)
21078
21079 $as_echo "#define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21080
21081
21082 $as_echo "#define WTF_USE_ALTERNATE_JSIMMEDIATE 1" >>confdefs.h
21083
21084                 ;;
21085             esac
21086         ;;
21087         sh4)
21088
21089 $as_echo "#define ENABLE_YARR 1" >>confdefs.h
21090
21091
21092 $as_echo "#define ENABLE_YARR_JIT 1" >>confdefs.h
21093
21094
21095 $as_echo "#define ENABLE_JIT 1" >>confdefs.h
21096
21097
21098 $as_echo "#define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21099
21100         ;;
21101         *)
21102             enable_jit="no (CPU '$host_cpu' not supported)"
21103         ;;
21104     esac
21105 else
21106
21107 $as_echo "#define ENABLE_JIT 0" >>confdefs.h
21108
21109 fi
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_jit" >&5
21111 $as_echo "$enable_jit" >&6; }
21112
21113 # Opcode stats
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable opcode stats" >&5
21115 $as_echo_n "checking whether to enable opcode stats... " >&6; }
21116 # Check whether --enable-opcode-stats was given.
21117 if test "${enable_opcode_stats+set}" = set; then :
21118   enableval=$enable_opcode_stats;
21119 else
21120   enable_opcode_stats=no
21121 fi
21122
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_opcode_stats" >&5
21124 $as_echo "$enable_opcode_stats" >&6; }
21125
21126 if test "$enable_opcode_stats" = "yes"; then
21127   if test "$enable_jit" = "yes"; then
21128     as_fn_error $? "JIT must be disabled for Opcode stats to work." "$LINENO" 5
21129   fi
21130
21131 $as_echo "#define ENABLE_OPCODE_STATS 1" >>confdefs.h
21132
21133 fi
21134
21135 # Link prefetch
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable link prefetch support" >&5
21137 $as_echo_n "checking whether to enable link prefetch support... " >&6; }
21138 # Check whether --enable-link-prefetch was given.
21139 if test "${enable_link_prefetch+set}" = set; then :
21140   enableval=$enable_link_prefetch;
21141 else
21142   enable_link_prefetch=no
21143 fi
21144
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_link_prefetch" >&5
21146 $as_echo "$enable_link_prefetch" >&6; }
21147
21148 if test "$enable_link_prefetch" = "yes"; then
21149
21150 $as_echo "#define ENABLE_LINK_PREFETCH 1" >>confdefs.h
21151
21152 fi
21153
21154 # GObject Introspection
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GObject introspection support" >&5
21156 $as_echo_n "checking whether to enable GObject introspection support... " >&6; }
21157 # Check whether --enable-introspection was given.
21158 if test "${enable_introspection+set}" = set; then :
21159   enableval=$enable_introspection;
21160 else
21161   enable_introspection=no
21162 fi
21163
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_introspection" >&5
21165 $as_echo "$enable_introspection" >&6; }
21166
21167 # check whether to enable animation API
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Animation API support" >&5
21169 $as_echo_n "checking whether to enable Animation API support... " >&6; }
21170 # Check whether --enable-animation_api was given.
21171 if test "${enable_animation_api+set}" = set; then :
21172   enableval=$enable_animation_api;
21173 else
21174   enable_animation_api="no"
21175 fi
21176
21177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_animation_api" >&5
21178 $as_echo "$enable_animation_api" >&6; }
21179
21180 # check whether to enable touch icon loading
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable touch icon loading" >&5
21182 $as_echo_n "checking whether to enable touch icon loading... " >&6; }
21183 # Check whether --enable-touch_icon_loading was given.
21184 if test "${enable_touch_icon_loading+set}" = set; then :
21185   enableval=$enable_touch_icon_loading;
21186 else
21187   enable_touch_icon_loading="no"
21188 fi
21189
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_touch_icon_loading" >&5
21191 $as_echo "$enable_touch_icon_loading" >&6; }
21192
21193 # check whether to enable Register Protocol Handler support
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Register Protocol Handler" >&5
21195 $as_echo_n "checking whether to enable Register Protocol Handler... " >&6; }
21196 # Check whether --enable-register_protocol_handler was given.
21197 if test "${enable_register_protocol_handler+set}" = set; then :
21198   enableval=$enable_register_protocol_handler;
21199 else
21200   enable_register_protocol_handler="no"
21201 fi
21202
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_register_protocol_handler" >&5
21204 $as_echo "$enable_register_protocol_handler" >&6; }
21205
21206 # check whether to enable DeviceOrientation support
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DeviceOrientation" >&5
21208 $as_echo_n "checking whether to enable DeviceOrientation... " >&6; }
21209 # Check whether --enable-device_orientation was given.
21210 if test "${enable_device_orientation+set}" = set; then :
21211   enableval=$enable_device_orientation;
21212 else
21213   enable_device_orientation="no"
21214 fi
21215
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_device_orientation" >&5
21217 $as_echo "$enable_device_orientation" >&6; }
21218
21219 G_IR_SCANNER=
21220 G_IR_COMPILER=
21221 G_IR_GENERATE=
21222 GIRDIR=
21223 GIRTYPELIBDIR=
21224
21225 if test "$enable_introspection" = "yes"; then
21226   GOBJECT_INTROSPECTION_REQUIRED=0.9.5
21227
21228 pkg_failed=no
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INTROSPECTION" >&5
21230 $as_echo_n "checking for INTROSPECTION... " >&6; }
21231
21232 if test -n "$INTROSPECTION_CFLAGS"; then
21233     pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS"
21234  elif test -n "$PKG_CONFIG"; then
21235     if test -n "$PKG_CONFIG" && \
21236     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21237   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21238   ac_status=$?
21239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21240   test $ac_status = 0; }; then
21241   pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21242 else
21243   pkg_failed=yes
21244 fi
21245  else
21246     pkg_failed=untried
21247 fi
21248 if test -n "$INTROSPECTION_LIBS"; then
21249     pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS"
21250  elif test -n "$PKG_CONFIG"; then
21251     if test -n "$PKG_CONFIG" && \
21252     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21253   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21254   ac_status=$?
21255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21256   test $ac_status = 0; }; then
21257   pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21258 else
21259   pkg_failed=yes
21260 fi
21261  else
21262     pkg_failed=untried
21263 fi
21264
21265
21266
21267 if test $pkg_failed = yes; then
21268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21269 $as_echo "no" >&6; }
21270
21271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21272         _pkg_short_errors_supported=yes
21273 else
21274         _pkg_short_errors_supported=no
21275 fi
21276         if test $_pkg_short_errors_supported = yes; then
21277                 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21278         else
21279                 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21280         fi
21281         # Put the nasty error message in config.log where it belongs
21282         echo "$INTROSPECTION_PKG_ERRORS" >&5
21283
21284         as_fn_error $? "Package requirements (gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED) were not met:
21285
21286 $INTROSPECTION_PKG_ERRORS
21287
21288 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21289 installed software in a non-standard prefix.
21290
21291 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21292 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21293 See the pkg-config man page for more details." "$LINENO" 5
21294
21295 elif test $pkg_failed = untried; then
21296         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21297 $as_echo "no" >&6; }
21298         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21300 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21301 is in your PATH or set the PKG_CONFIG environment variable to the full
21302 path to pkg-config.
21303
21304 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21305 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21306 See the pkg-config man page for more details.
21307
21308 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21309 See \`config.log' for more details" "$LINENO" 5; }
21310
21311 else
21312         INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS
21313         INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS
21314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21315 $as_echo "yes" >&6; }
21316
21317 fi
21318
21319   G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
21320   G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)"
21321   G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)"
21322
21323 $as_echo "#define ENABLE_INTROSPECTION 1" >>confdefs.h
21324
21325 fi
21326
21327
21328
21329
21330
21331 # determine the font backend
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the font backend to use" >&5
21333 $as_echo_n "checking the font backend to use... " >&6; }
21334
21335 # Check whether --with-font_backend was given.
21336 if test "${with_font_backend+set}" = set; then :
21337   withval=$with_font_backend;
21338 else
21339   with_font_backend="freetype"
21340 fi
21341
21342
21343 case "$with_font_backend" in
21344      freetype|pango) ;;
21345      *) as_fn_error $? "Invalid font backend: must be freetype or pango." "$LINENO" 5 ;;
21346 esac
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_font_backend" >&5
21348 $as_echo "$with_font_backend" >&6; }
21349
21350 if test "$host_cpu" = "sh4"; then
21351    CXXFLAGS="$CXXFLAGS -mieee -w"
21352    CFLAGS="$CFLAGS -mieee -w"
21353 fi
21354
21355 # Add '-g' flag to gcc to build with debug symbols
21356 if test "$enable_debug_symbols" = "yes"; then
21357    CXXFLAGS="$CXXFLAGS -g"
21358    CFLAGS="$CFLAGS -g"
21359 fi
21360
21361 if test "$enable_debug_features" = "no"; then
21362
21363 $as_echo "#define NDEBUG 1" >>confdefs.h
21364
21365 fi
21366
21367 # Add the appropriate 'O' level for optimized builds
21368 if test "$enable_optimizations" = "yes"; then
21369    CXXFLAGS="$CXXFLAGS -O2"
21370    CFLAGS="$CFLAGS -O2"
21371 else
21372    CXXFLAGS="$CXXFLAGS -O0"
21373    CFLAGS="$CFLAGS -O0"
21374 fi
21375
21376
21377 pkg_failed=no
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
21379 $as_echo_n "checking for LIBSOUP... " >&6; }
21380
21381 if test -n "$LIBSOUP_CFLAGS"; then
21382     pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
21383  elif test -n "$PKG_CONFIG"; then
21384     if test -n "$PKG_CONFIG" && \
21385     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21386   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21387   ac_status=$?
21388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21389   test $ac_status = 0; }; then
21390   pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21391 else
21392   pkg_failed=yes
21393 fi
21394  else
21395     pkg_failed=untried
21396 fi
21397 if test -n "$LIBSOUP_LIBS"; then
21398     pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
21399  elif test -n "$PKG_CONFIG"; then
21400     if test -n "$PKG_CONFIG" && \
21401     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21402   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21403   ac_status=$?
21404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21405   test $ac_status = 0; }; then
21406   pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21407 else
21408   pkg_failed=yes
21409 fi
21410  else
21411     pkg_failed=untried
21412 fi
21413
21414
21415
21416 if test $pkg_failed = yes; then
21417         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21418 $as_echo "no" >&6; }
21419
21420 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21421         _pkg_short_errors_supported=yes
21422 else
21423         _pkg_short_errors_supported=no
21424 fi
21425         if test $_pkg_short_errors_supported = yes; then
21426                 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21427         else
21428                 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21429         fi
21430         # Put the nasty error message in config.log where it belongs
21431         echo "$LIBSOUP_PKG_ERRORS" >&5
21432
21433         as_fn_error $? "Package requirements (libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION) were not met:
21434
21435 $LIBSOUP_PKG_ERRORS
21436
21437 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21438 installed software in a non-standard prefix.
21439
21440 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21441 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21442 See the pkg-config man page for more details." "$LINENO" 5
21443
21444 elif test $pkg_failed = untried; then
21445         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21446 $as_echo "no" >&6; }
21447         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21449 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21450 is in your PATH or set the PKG_CONFIG environment variable to the full
21451 path to pkg-config.
21452
21453 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21454 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21455 See the pkg-config man page for more details.
21456
21457 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21458 See \`config.log' for more details" "$LINENO" 5; }
21459
21460 else
21461         LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
21462         LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
21463         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21464 $as_echo "yes" >&6; }
21465
21466 fi
21467
21468
21469
21470 # check if FreeType/FontConfig are available
21471 if test "$with_font_backend" = "freetype"; then
21472    if test "$with_target" = "directfb"; then
21473
21474 pkg_failed=no
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21476 $as_echo_n "checking for FREETYPE... " >&6; }
21477
21478 if test -n "$FREETYPE_CFLAGS"; then
21479     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21480  elif test -n "$PKG_CONFIG"; then
21481     if test -n "$PKG_CONFIG" && \
21482     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21483                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21484   ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21485                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21486   ac_status=$?
21487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21488   test $ac_status = 0; }; then
21489   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21490                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21491 else
21492   pkg_failed=yes
21493 fi
21494  else
21495     pkg_failed=untried
21496 fi
21497 if test -n "$FREETYPE_LIBS"; then
21498     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21499  elif test -n "$PKG_CONFIG"; then
21500     if test -n "$PKG_CONFIG" && \
21501     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21502                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21503   ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21504                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21505   ac_status=$?
21506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21507   test $ac_status = 0; }; then
21508   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21509                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21510 else
21511   pkg_failed=yes
21512 fi
21513  else
21514     pkg_failed=untried
21515 fi
21516
21517
21518
21519 if test $pkg_failed = yes; then
21520         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21521 $as_echo "no" >&6; }
21522
21523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21524         _pkg_short_errors_supported=yes
21525 else
21526         _pkg_short_errors_supported=no
21527 fi
21528         if test $_pkg_short_errors_supported = yes; then
21529                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21530                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21531         else
21532                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21533                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21534         fi
21535         # Put the nasty error message in config.log where it belongs
21536         echo "$FREETYPE_PKG_ERRORS" >&5
21537
21538         as_fn_error $? "Package requirements (fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21539                      freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21540
21541 $FREETYPE_PKG_ERRORS
21542
21543 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21544 installed software in a non-standard prefix.
21545
21546 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21547 and FREETYPE_LIBS to avoid the need to call pkg-config.
21548 See the pkg-config man page for more details." "$LINENO" 5
21549
21550 elif test $pkg_failed = untried; then
21551         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21552 $as_echo "no" >&6; }
21553         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21555 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21556 is in your PATH or set the PKG_CONFIG environment variable to the full
21557 path to pkg-config.
21558
21559 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21560 and FREETYPE_LIBS to avoid the need to call pkg-config.
21561 See the pkg-config man page for more details.
21562
21563 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21564 See \`config.log' for more details" "$LINENO" 5; }
21565
21566 else
21567         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21568         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21569         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21570 $as_echo "yes" >&6; }
21571
21572 fi
21573    else
21574
21575 pkg_failed=no
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21577 $as_echo_n "checking for FREETYPE... " >&6; }
21578
21579 if test -n "$FREETYPE_CFLAGS"; then
21580     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21581  elif test -n "$PKG_CONFIG"; then
21582     if test -n "$PKG_CONFIG" && \
21583     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21584                      fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21585                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21586   ($PKG_CONFIG --exists --print-errors "cairo-ft
21587                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21588                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21589   ac_status=$?
21590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21591   test $ac_status = 0; }; then
21592   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft
21593                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21594                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21595 else
21596   pkg_failed=yes
21597 fi
21598  else
21599     pkg_failed=untried
21600 fi
21601 if test -n "$FREETYPE_LIBS"; then
21602     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21603  elif test -n "$PKG_CONFIG"; then
21604     if test -n "$PKG_CONFIG" && \
21605     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21606                      fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21607                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21608   ($PKG_CONFIG --exists --print-errors "cairo-ft
21609                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21610                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21611   ac_status=$?
21612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21613   test $ac_status = 0; }; then
21614   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "cairo-ft
21615                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21616                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21617 else
21618   pkg_failed=yes
21619 fi
21620  else
21621     pkg_failed=untried
21622 fi
21623
21624
21625
21626 if test $pkg_failed = yes; then
21627         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21628 $as_echo "no" >&6; }
21629
21630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21631         _pkg_short_errors_supported=yes
21632 else
21633         _pkg_short_errors_supported=no
21634 fi
21635         if test $_pkg_short_errors_supported = yes; then
21636                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo-ft
21637                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21638                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21639         else
21640                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo-ft
21641                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21642                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21643         fi
21644         # Put the nasty error message in config.log where it belongs
21645         echo "$FREETYPE_PKG_ERRORS" >&5
21646
21647         as_fn_error $? "Package requirements (cairo-ft
21648                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21649                      freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21650
21651 $FREETYPE_PKG_ERRORS
21652
21653 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21654 installed software in a non-standard prefix.
21655
21656 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21657 and FREETYPE_LIBS to avoid the need to call pkg-config.
21658 See the pkg-config man page for more details." "$LINENO" 5
21659
21660 elif test $pkg_failed = untried; then
21661         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21662 $as_echo "no" >&6; }
21663         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21665 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21666 is in your PATH or set the PKG_CONFIG environment variable to the full
21667 path to pkg-config.
21668
21669 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21670 and FREETYPE_LIBS to avoid the need to call pkg-config.
21671 See the pkg-config man page for more details.
21672
21673 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21674 See \`config.log' for more details" "$LINENO" 5; }
21675
21676 else
21677         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21678         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21679         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21680 $as_echo "yes" >&6; }
21681
21682 fi
21683    fi
21684
21685
21686 fi
21687
21688 # check if SQLite3 is available. Error out only if one of the
21689 # features hard-depending on it is enabled while SQLite3 is
21690 # unavailable.
21691
21692 pkg_failed=no
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
21694 $as_echo_n "checking for SQLITE3... " >&6; }
21695
21696 if test -n "$SQLITE3_CFLAGS"; then
21697     pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
21698  elif test -n "$PKG_CONFIG"; then
21699     if test -n "$PKG_CONFIG" && \
21700     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21701   ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21702   ac_status=$?
21703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21704   test $ac_status = 0; }; then
21705   pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21706 else
21707   pkg_failed=yes
21708 fi
21709  else
21710     pkg_failed=untried
21711 fi
21712 if test -n "$SQLITE3_LIBS"; then
21713     pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
21714  elif test -n "$PKG_CONFIG"; then
21715     if test -n "$PKG_CONFIG" && \
21716     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21717   ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21718   ac_status=$?
21719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21720   test $ac_status = 0; }; then
21721   pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21722 else
21723   pkg_failed=yes
21724 fi
21725  else
21726     pkg_failed=untried
21727 fi
21728
21729
21730
21731 if test $pkg_failed = yes; then
21732         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21733 $as_echo "no" >&6; }
21734
21735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21736         _pkg_short_errors_supported=yes
21737 else
21738         _pkg_short_errors_supported=no
21739 fi
21740         if test $_pkg_short_errors_supported = yes; then
21741                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21742         else
21743                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21744         fi
21745         # Put the nasty error message in config.log where it belongs
21746         echo "$SQLITE3_PKG_ERRORS" >&5
21747
21748         sqlite3_has_pkg_config=no
21749 elif test $pkg_failed = untried; then
21750         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21751 $as_echo "no" >&6; }
21752         sqlite3_has_pkg_config=no
21753 else
21754         SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
21755         SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
21756         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21757 $as_echo "yes" >&6; }
21758         sqlite3_has_pkg_config=yes
21759 fi
21760 if test "$sqlite3_has_pkg_config" = "no"; then
21761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open16" >&5
21762 $as_echo_n "checking for library containing sqlite3_open16... " >&6; }
21763 if ${ac_cv_search_sqlite3_open16+:} false; then :
21764   $as_echo_n "(cached) " >&6
21765 else
21766   ac_func_search_save_LIBS=$LIBS
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h.  */
21769
21770 /* Override any GCC internal prototype to avoid an error.
21771    Use char because int might match the return type of a GCC
21772    builtin and then its argument prototype would still apply.  */
21773 #ifdef __cplusplus
21774 extern "C"
21775 #endif
21776 char sqlite3_open16 ();
21777 int
21778 main ()
21779 {
21780 return sqlite3_open16 ();
21781   ;
21782   return 0;
21783 }
21784 _ACEOF
21785 for ac_lib in '' sqlite3; do
21786   if test -z "$ac_lib"; then
21787     ac_res="none required"
21788   else
21789     ac_res=-l$ac_lib
21790     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21791   fi
21792   if ac_fn_c_try_link "$LINENO"; then :
21793   ac_cv_search_sqlite3_open16=$ac_res
21794 fi
21795 rm -f core conftest.err conftest.$ac_objext \
21796     conftest$ac_exeext
21797   if ${ac_cv_search_sqlite3_open16+:} false; then :
21798   break
21799 fi
21800 done
21801 if ${ac_cv_search_sqlite3_open16+:} false; then :
21802
21803 else
21804   ac_cv_search_sqlite3_open16=no
21805 fi
21806 rm conftest.$ac_ext
21807 LIBS=$ac_func_search_save_LIBS
21808 fi
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open16" >&5
21810 $as_echo "$ac_cv_search_sqlite3_open16" >&6; }
21811 ac_res=$ac_cv_search_sqlite3_open16
21812 if test "$ac_res" != no; then :
21813   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21814   sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"
21815 else
21816   sqlite3_found=no
21817 fi
21818
21819 fi
21820
21821
21822
21823 if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \
21824    test "$enable_sql_database" = "yes" || \
21825    test "$enable_offline_web_applications" = "yes" || \
21826    test "$enable_dom_storage" = "yes"); then
21827    as_fn_error $? "SQLite3 is required for the Database related features" "$LINENO" 5
21828 fi
21829
21830 # check if libxslt is available
21831 if test "$enable_xslt" = "yes"; then
21832
21833 pkg_failed=no
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXSLT" >&5
21835 $as_echo_n "checking for LIBXSLT... " >&6; }
21836
21837 if test -n "$LIBXSLT_CFLAGS"; then
21838     pkg_cv_LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS"
21839  elif test -n "$PKG_CONFIG"; then
21840     if test -n "$PKG_CONFIG" && \
21841     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21842   ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 2>&5
21843   ac_status=$?
21844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21845   test $ac_status = 0; }; then
21846   pkg_cv_LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21847 else
21848   pkg_failed=yes
21849 fi
21850  else
21851     pkg_failed=untried
21852 fi
21853 if test -n "$LIBXSLT_LIBS"; then
21854     pkg_cv_LIBXSLT_LIBS="$LIBXSLT_LIBS"
21855  elif test -n "$PKG_CONFIG"; then
21856     if test -n "$PKG_CONFIG" && \
21857     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21858   ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 2>&5
21859   ac_status=$?
21860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21861   test $ac_status = 0; }; then
21862   pkg_cv_LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21863 else
21864   pkg_failed=yes
21865 fi
21866  else
21867     pkg_failed=untried
21868 fi
21869
21870
21871
21872 if test $pkg_failed = yes; then
21873         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21874 $as_echo "no" >&6; }
21875
21876 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21877         _pkg_short_errors_supported=yes
21878 else
21879         _pkg_short_errors_supported=no
21880 fi
21881         if test $_pkg_short_errors_supported = yes; then
21882                 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21883         else
21884                 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21885         fi
21886         # Put the nasty error message in config.log where it belongs
21887         echo "$LIBXSLT_PKG_ERRORS" >&5
21888
21889         as_fn_error $? "Package requirements (libxslt >= $LIBXSLT_REQUIRED_VERSION) were not met:
21890
21891 $LIBXSLT_PKG_ERRORS
21892
21893 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21894 installed software in a non-standard prefix.
21895
21896 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21897 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21898 See the pkg-config man page for more details." "$LINENO" 5
21899
21900 elif test $pkg_failed = untried; then
21901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21902 $as_echo "no" >&6; }
21903         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21905 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21906 is in your PATH or set the PKG_CONFIG environment variable to the full
21907 path to pkg-config.
21908
21909 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21910 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21911 See the pkg-config man page for more details.
21912
21913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21914 See \`config.log' for more details" "$LINENO" 5; }
21915
21916 else
21917         LIBXSLT_CFLAGS=$pkg_cv_LIBXSLT_CFLAGS
21918         LIBXSLT_LIBS=$pkg_cv_LIBXSLT_LIBS
21919         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21920 $as_echo "yes" >&6; }
21921
21922 fi
21923
21924
21925 fi
21926
21927 # check if geoclue is available
21928 if test "$enable_geolocation" = "yes"; then
21929
21930 pkg_failed=no
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEOCLUE" >&5
21932 $as_echo_n "checking for GEOCLUE... " >&6; }
21933
21934 if test -n "$GEOCLUE_CFLAGS"; then
21935     pkg_cv_GEOCLUE_CFLAGS="$GEOCLUE_CFLAGS"
21936  elif test -n "$PKG_CONFIG"; then
21937     if test -n "$PKG_CONFIG" && \
21938     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
21939   ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
21940   ac_status=$?
21941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21942   test $ac_status = 0; }; then
21943   pkg_cv_GEOCLUE_CFLAGS=`$PKG_CONFIG --cflags "geoclue" 2>/dev/null`
21944 else
21945   pkg_failed=yes
21946 fi
21947  else
21948     pkg_failed=untried
21949 fi
21950 if test -n "$GEOCLUE_LIBS"; then
21951     pkg_cv_GEOCLUE_LIBS="$GEOCLUE_LIBS"
21952  elif test -n "$PKG_CONFIG"; then
21953     if test -n "$PKG_CONFIG" && \
21954     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
21955   ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
21956   ac_status=$?
21957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21958   test $ac_status = 0; }; then
21959   pkg_cv_GEOCLUE_LIBS=`$PKG_CONFIG --libs "geoclue" 2>/dev/null`
21960 else
21961   pkg_failed=yes
21962 fi
21963  else
21964     pkg_failed=untried
21965 fi
21966
21967
21968
21969 if test $pkg_failed = yes; then
21970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21971 $as_echo "no" >&6; }
21972
21973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21974         _pkg_short_errors_supported=yes
21975 else
21976         _pkg_short_errors_supported=no
21977 fi
21978         if test $_pkg_short_errors_supported = yes; then
21979                 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "geoclue" 2>&1`
21980         else
21981                 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "geoclue" 2>&1`
21982         fi
21983         # Put the nasty error message in config.log where it belongs
21984         echo "$GEOCLUE_PKG_ERRORS" >&5
21985
21986         as_fn_error $? "Package requirements (geoclue) were not met:
21987
21988 $GEOCLUE_PKG_ERRORS
21989
21990 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21991 installed software in a non-standard prefix.
21992
21993 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
21994 and GEOCLUE_LIBS to avoid the need to call pkg-config.
21995 See the pkg-config man page for more details." "$LINENO" 5
21996
21997 elif test $pkg_failed = untried; then
21998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21999 $as_echo "no" >&6; }
22000         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22002 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22003 is in your PATH or set the PKG_CONFIG environment variable to the full
22004 path to pkg-config.
22005
22006 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
22007 and GEOCLUE_LIBS to avoid the need to call pkg-config.
22008 See the pkg-config man page for more details.
22009
22010 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22011 See \`config.log' for more details" "$LINENO" 5; }
22012
22013 else
22014         GEOCLUE_CFLAGS=$pkg_cv_GEOCLUE_CFLAGS
22015         GEOCLUE_LIBS=$pkg_cv_GEOCLUE_LIBS
22016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22017 $as_echo "yes" >&6; }
22018
22019 fi
22020
22021
22022 fi
22023
22024 # check for XRender under Linux/Unix. Some linkers require explicit
22025 # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
22026 if test "$os_win32" = "no"; then
22027
22028 pkg_failed=no
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
22030 $as_echo_n "checking for XRENDER... " >&6; }
22031
22032 if test -n "$XRENDER_CFLAGS"; then
22033     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
22034  elif test -n "$PKG_CONFIG"; then
22035     if test -n "$PKG_CONFIG" && \
22036     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender\""; } >&5
22037   ($PKG_CONFIG --exists --print-errors "xrender") 2>&5
22038   ac_status=$?
22039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22040   test $ac_status = 0; }; then
22041   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender" 2>/dev/null`
22042 else
22043   pkg_failed=yes
22044 fi
22045  else
22046     pkg_failed=untried
22047 fi
22048 if test -n "$XRENDER_LIBS"; then
22049     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
22050  elif test -n "$PKG_CONFIG"; then
22051     if test -n "$PKG_CONFIG" && \
22052     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender\""; } >&5
22053   ($PKG_CONFIG --exists --print-errors "xrender") 2>&5
22054   ac_status=$?
22055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22056   test $ac_status = 0; }; then
22057   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender" 2>/dev/null`
22058 else
22059   pkg_failed=yes
22060 fi
22061  else
22062     pkg_failed=untried
22063 fi
22064
22065
22066
22067 if test $pkg_failed = yes; then
22068         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22069 $as_echo "no" >&6; }
22070
22071 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22072         _pkg_short_errors_supported=yes
22073 else
22074         _pkg_short_errors_supported=no
22075 fi
22076         if test $_pkg_short_errors_supported = yes; then
22077                 XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender" 2>&1`
22078         else
22079                 XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender" 2>&1`
22080         fi
22081         # Put the nasty error message in config.log where it belongs
22082         echo "$XRENDER_PKG_ERRORS" >&5
22083
22084         as_fn_error $? "Package requirements (xrender) were not met:
22085
22086 $XRENDER_PKG_ERRORS
22087
22088 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22089 installed software in a non-standard prefix.
22090
22091 Alternatively, you may set the environment variables XRENDER_CFLAGS
22092 and XRENDER_LIBS to avoid the need to call pkg-config.
22093 See the pkg-config man page for more details." "$LINENO" 5
22094
22095 elif test $pkg_failed = untried; then
22096         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22097 $as_echo "no" >&6; }
22098         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22100 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22101 is in your PATH or set the PKG_CONFIG environment variable to the full
22102 path to pkg-config.
22103
22104 Alternatively, you may set the environment variables XRENDER_CFLAGS
22105 and XRENDER_LIBS to avoid the need to call pkg-config.
22106 See the pkg-config man page for more details.
22107
22108 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22109 See \`config.log' for more details" "$LINENO" 5; }
22110
22111 else
22112         XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
22113         XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
22114         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22115 $as_echo "yes" >&6; }
22116
22117 fi
22118
22119
22120 fi
22121
22122 # check if gstreamer is available - video is not linked with gstreamer.
22123 #if test "$enable_video" = "yes"; then
22124 #   PKG_CHECK_MODULES([GSTREAMER],
22125 #                     [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
22126 #                     gstreamer-app-0.10
22127 #                     gstreamer-base-0.10
22128 #                     gstreamer-interfaces-0.10
22129 #                     gstreamer-pbutils-0.10
22130 #                     gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
22131 #                     gstreamer-video-0.10],
22132 #                     [have_gstreamer=yes])
22133 #
22134 #   AC_SUBST([GSTREAMER_CFLAGS])
22135 #   AC_SUBST([GSTREAMER_LIBS])
22136 #fi
22137
22138 # check for code coverage support
22139 if test "$enable_coverage" = "yes"; then
22140    COVERAGE_CFLAGS="-MD"
22141    COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
22142
22143
22144 fi
22145
22146 # check for HTML features
22147 if test "$enable_video" = "yes"; then
22148     html_flags=yes
22149 fi
22150
22151 # WebKit2
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Webkit2" >&5
22153 $as_echo_n "checking whether to build Webkit2... " >&6; }
22154 # Check whether --enable-webkit2 was given.
22155 if test "${enable_webkit2+set}" = set; then :
22156   enableval=$enable_webkit2;
22157 else
22158   enable_webkit2="no"
22159 fi
22160
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webkit2" >&5
22162 $as_echo "$enable_webkit2" >&6; }
22163 if test "$enable_webkit2" = "yes"; then
22164    if test "$GTK_API_VERSION" = "2.0"; then
22165       as_fn_error $? "WebKit2 requires GTK+ 3.x, use --with-gtk=3.0" "$LINENO" 5
22166    fi
22167 fi
22168
22169 # Plugin Process
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin process for WebKit2" >&5
22171 $as_echo_n "checking whether to build plugin process for WebKit2... " >&6; }
22172 # Check whether --enable-plugin_process was given.
22173 if test "${enable_plugin_process+set}" = set; then :
22174   enableval=$enable_plugin_process;
22175 else
22176   enable_plugin_process="yes"
22177 fi
22178
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_plugin_process" >&5
22180 $as_echo "$enable_plugin_process" >&6; }
22181
22182 # Build the plugin process only when building Webkit2.
22183 if test "$enable_webkit2" = "no"; then
22184     enable_plugin_process=no
22185 fi
22186
22187 # Make sure we have GTK+ 2.x to build the plugin process.
22188 if test "$enable_plugin_process" = "yes"; then
22189
22190 pkg_failed=no
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
22192 $as_echo_n "checking for GTK2... " >&6; }
22193
22194 if test -n "$GTK2_CFLAGS"; then
22195     pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
22196  elif test -n "$PKG_CONFIG"; then
22197     if test -n "$PKG_CONFIG" && \
22198     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22199   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22200   ac_status=$?
22201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22202   test $ac_status = 0; }; then
22203   pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22204 else
22205   pkg_failed=yes
22206 fi
22207  else
22208     pkg_failed=untried
22209 fi
22210 if test -n "$GTK2_LIBS"; then
22211     pkg_cv_GTK2_LIBS="$GTK2_LIBS"
22212  elif test -n "$PKG_CONFIG"; then
22213     if test -n "$PKG_CONFIG" && \
22214     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22215   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22216   ac_status=$?
22217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22218   test $ac_status = 0; }; then
22219   pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22220 else
22221   pkg_failed=yes
22222 fi
22223  else
22224     pkg_failed=untried
22225 fi
22226
22227
22228
22229 if test $pkg_failed = yes; then
22230         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22231 $as_echo "no" >&6; }
22232
22233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22234         _pkg_short_errors_supported=yes
22235 else
22236         _pkg_short_errors_supported=no
22237 fi
22238         if test $_pkg_short_errors_supported = yes; then
22239                 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22240         else
22241                 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22242         fi
22243         # Put the nasty error message in config.log where it belongs
22244         echo "$GTK2_PKG_ERRORS" >&5
22245
22246         as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION) were not met:
22247
22248 $GTK2_PKG_ERRORS
22249
22250 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22251 installed software in a non-standard prefix.
22252
22253 Alternatively, you may set the environment variables GTK2_CFLAGS
22254 and GTK2_LIBS to avoid the need to call pkg-config.
22255 See the pkg-config man page for more details." "$LINENO" 5
22256
22257 elif test $pkg_failed = untried; then
22258         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22259 $as_echo "no" >&6; }
22260         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22262 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22263 is in your PATH or set the PKG_CONFIG environment variable to the full
22264 path to pkg-config.
22265
22266 Alternatively, you may set the environment variables GTK2_CFLAGS
22267 and GTK2_LIBS to avoid the need to call pkg-config.
22268 See the pkg-config man page for more details.
22269
22270 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22271 See \`config.log' for more details" "$LINENO" 5; }
22272
22273 else
22274         GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
22275         GTK2_LIBS=$pkg_cv_GTK2_LIBS
22276         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22277 $as_echo "yes" >&6; }
22278
22279 fi
22280 fi
22281
22282
22283
22284 #GTK_DOC_CHECK([1.10])
22285
22286 # OS conditionals
22287  if test "$os_win32" = "yes"; then
22288   OS_WIN32_TRUE=
22289   OS_WIN32_FALSE='#'
22290 else
22291   OS_WIN32_TRUE='#'
22292   OS_WIN32_FALSE=
22293 fi
22294
22295  if test "$os_win32" = "no"; then
22296   OS_UNIX_TRUE=
22297   OS_UNIX_FALSE='#'
22298 else
22299   OS_UNIX_TRUE='#'
22300   OS_UNIX_FALSE=
22301 fi
22302
22303  if test "$os_linux" = "yes"; then
22304   OS_LINUX_TRUE=
22305   OS_LINUX_FALSE='#'
22306 else
22307   OS_LINUX_TRUE='#'
22308   OS_LINUX_FALSE=
22309 fi
22310
22311  if test "$os_gnu" = "yes"; then
22312   OS_GNU_TRUE=
22313   OS_GNU_FALSE='#'
22314 else
22315   OS_GNU_TRUE='#'
22316   OS_GNU_FALSE=
22317 fi
22318
22319  if test "$os_freebsd" = "yes"; then
22320   OS_FREEBSD_TRUE=
22321   OS_FREEBSD_FALSE='#'
22322 else
22323   OS_FREEBSD_TRUE='#'
22324   OS_FREEBSD_FALSE=
22325 fi
22326
22327
22328 # target conditionals
22329  if test "$with_target" = "x11"; then
22330   TARGET_X11_TRUE=
22331   TARGET_X11_FALSE='#'
22332 else
22333   TARGET_X11_TRUE='#'
22334   TARGET_X11_FALSE=
22335 fi
22336
22337  if test "$with_target" = "win32"; then
22338   TARGET_WIN32_TRUE=
22339   TARGET_WIN32_FALSE='#'
22340 else
22341   TARGET_WIN32_TRUE='#'
22342   TARGET_WIN32_FALSE=
22343 fi
22344
22345  if test "$with_target" = "quartz"; then
22346   TARGET_QUARTZ_TRUE=
22347   TARGET_QUARTZ_FALSE='#'
22348 else
22349   TARGET_QUARTZ_TRUE='#'
22350   TARGET_QUARTZ_FALSE=
22351 fi
22352
22353  if test "$with_target" = "directfb"; then
22354   TARGET_DIRECTFB_TRUE=
22355   TARGET_DIRECTFB_FALSE='#'
22356 else
22357   TARGET_DIRECTFB_TRUE='#'
22358   TARGET_DIRECTFB_FALSE=
22359 fi
22360
22361
22362 # Unicode backend conditionals
22363  if test "$with_unicode_backend" = "icu"; then
22364   USE_ICU_UNICODE_TRUE=
22365   USE_ICU_UNICODE_FALSE='#'
22366 else
22367   USE_ICU_UNICODE_TRUE='#'
22368   USE_ICU_UNICODE_FALSE=
22369 fi
22370
22371  if test "$with_unicode_backend" = "glib"; then
22372   USE_GLIB_UNICODE_TRUE=
22373   USE_GLIB_UNICODE_FALSE='#'
22374 else
22375   USE_GLIB_UNICODE_TRUE='#'
22376   USE_GLIB_UNICODE_FALSE=
22377 fi
22378
22379
22380 # Font backend conditionals
22381  if test "$with_font_backend" = "freetype"; then
22382   USE_FREETYPE_TRUE=
22383   USE_FREETYPE_FALSE='#'
22384 else
22385   USE_FREETYPE_TRUE='#'
22386   USE_FREETYPE_FALSE=
22387 fi
22388
22389  if test "$with_font_backend" = "pango"; then
22390   USE_PANGO_TRUE=
22391   USE_PANGO_FALSE='#'
22392 else
22393   USE_PANGO_TRUE='#'
22394   USE_PANGO_FALSE=
22395 fi
22396
22397
22398 # GStreamer feature conditional
22399  if test "$have_gstreamer" = "yes"; then
22400   USE_GSTREAMER_TRUE=
22401   USE_GSTREAMER_FALSE='#'
22402 else
22403   USE_GSTREAMER_TRUE='#'
22404   USE_GSTREAMER_FALSE=
22405 fi
22406
22407
22408 # WebKit feature conditionals
22409  if test "$enable_debug_features" = "yes"; then
22410   ENABLE_DEBUG_TRUE=
22411   ENABLE_DEBUG_FALSE='#'
22412 else
22413   ENABLE_DEBUG_TRUE='#'
22414   ENABLE_DEBUG_FALSE=
22415 fi
22416
22417  if test "$enable_3d_rendering" = "yes"; then
22418   ENABLE_3D_RENDERING_TRUE=
22419   ENABLE_3D_RENDERING_FALSE='#'
22420 else
22421   ENABLE_3D_RENDERING_TRUE='#'
22422   ENABLE_3D_RENDERING_FALSE=
22423 fi
22424
22425  if test "$enable_webgl" = "yes"; then
22426   ENABLE_WEBGL_TRUE=
22427   ENABLE_WEBGL_FALSE='#'
22428 else
22429   ENABLE_WEBGL_TRUE='#'
22430   ENABLE_WEBGL_FALSE=
22431 fi
22432
22433  if test "$enable_blob" = "yes"; then
22434   ENABLE_BLOB_TRUE=
22435   ENABLE_BLOB_FALSE='#'
22436 else
22437   ENABLE_BLOB_TRUE='#'
22438   ENABLE_BLOB_FALSE=
22439 fi
22440
22441  if test "$enable_meter_tag" = "yes"; then
22442   ENABLE_METER_TAG_TRUE=
22443   ENABLE_METER_TAG_FALSE='#'
22444 else
22445   ENABLE_METER_TAG_TRUE='#'
22446   ENABLE_METER_TAG_FALSE=
22447 fi
22448
22449  if test "$enable_page_visibility_api" = "yes"; then
22450   ENABLE_PAGE_VISIBILITY_API_TRUE=
22451   ENABLE_PAGE_VISIBILITY_API_FALSE='#'
22452 else
22453   ENABLE_PAGE_VISIBILITY_API_TRUE='#'
22454   ENABLE_PAGE_VISIBILITY_API_FALSE=
22455 fi
22456
22457  if test "$enable_progress_tag" = "yes"; then
22458   ENABLE_PROGRESS_TAG_TRUE=
22459   ENABLE_PROGRESS_TAG_FALSE='#'
22460 else
22461   ENABLE_PROGRESS_TAG_TRUE='#'
22462   ENABLE_PROGRESS_TAG_FALSE=
22463 fi
22464
22465  if test "$enable_channel_messaging" = "yes"; then
22466   ENABLE_CHANNEL_MESSAGING_TRUE=
22467   ENABLE_CHANNEL_MESSAGING_FALSE='#'
22468 else
22469   ENABLE_CHANNEL_MESSAGING_TRUE='#'
22470   ENABLE_CHANNEL_MESSAGING_FALSE=
22471 fi
22472
22473  if test "$enable_javascript_debugger" = "yes"; then
22474   ENABLE_JAVASCRIPT_DEBUGGER_TRUE=
22475   ENABLE_JAVASCRIPT_DEBUGGER_FALSE='#'
22476 else
22477   ENABLE_JAVASCRIPT_DEBUGGER_TRUE='#'
22478   ENABLE_JAVASCRIPT_DEBUGGER_FALSE=
22479 fi
22480
22481  if test "$enable_offline_web_applications" = "yes"; then
22482   ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE=
22483   ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE='#'
22484 else
22485   ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE='#'
22486   ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE=
22487 fi
22488
22489  if test "$enable_directory_upload" = "yes"; then
22490   ENABLE_DIRECTORY_UPLOAD_TRUE=
22491   ENABLE_DIRECTORY_UPLOAD_FALSE='#'
22492 else
22493   ENABLE_DIRECTORY_UPLOAD_TRUE='#'
22494   ENABLE_DIRECTORY_UPLOAD_FALSE=
22495 fi
22496
22497  if test "$enable_datagrid" = "yes"; then
22498   ENABLE_DATAGRID_TRUE=
22499   ENABLE_DATAGRID_FALSE='#'
22500 else
22501   ENABLE_DATAGRID_TRUE='#'
22502   ENABLE_DATAGRID_FALSE=
22503 fi
22504
22505  if test "$enable_data_transfer_items" = "yes"; then
22506   ENABLE_DATA_TRANSFER_ITEMS_TRUE=
22507   ENABLE_DATA_TRANSFER_ITEMS_FALSE='#'
22508 else
22509   ENABLE_DATA_TRANSFER_ITEMS_TRUE='#'
22510   ENABLE_DATA_TRANSFER_ITEMS_FALSE=
22511 fi
22512
22513  if test "$enable_dom_storage" = "yes"; then
22514   ENABLE_DOM_STORAGE_TRUE=
22515   ENABLE_DOM_STORAGE_FALSE='#'
22516 else
22517   ENABLE_DOM_STORAGE_TRUE='#'
22518   ENABLE_DOM_STORAGE_FALSE=
22519 fi
22520
22521  if test "$enable_sql_database" = "yes"; then
22522   ENABLE_SQL_DATABASE_TRUE=
22523   ENABLE_SQL_DATABASE_FALSE='#'
22524 else
22525   ENABLE_SQL_DATABASE_TRUE='#'
22526   ENABLE_SQL_DATABASE_FALSE=
22527 fi
22528
22529  if test "$enable_datalist" = "yes"; then
22530   ENABLE_DATALIST_TRUE=
22531   ENABLE_DATALIST_FALSE='#'
22532 else
22533   ENABLE_DATALIST_TRUE='#'
22534   ENABLE_DATALIST_FALSE=
22535 fi
22536
22537  if test "$enable_details" = "yes"; then
22538   ENABLE_DETAILS_TRUE=
22539   ENABLE_DETAILS_FALSE='#'
22540 else
22541   ENABLE_DETAILS_TRUE='#'
22542   ENABLE_DETAILS_FALSE=
22543 fi
22544
22545  if test "$enable_fast_mobile_scrolling" = "yes"; then
22546   ENABLE_FAST_MOBILE_SCROLLING_TRUE=
22547   ENABLE_FAST_MOBILE_SCROLLING_FALSE='#'
22548 else
22549   ENABLE_FAST_MOBILE_SCROLLING_TRUE='#'
22550   ENABLE_FAST_MOBILE_SCROLLING_FALSE=
22551 fi
22552
22553  if test "$enable_file_system" = "yes"; then
22554   ENABLE_FILE_SYSTEM_TRUE=
22555   ENABLE_FILE_SYSTEM_FALSE='#'
22556 else
22557   ENABLE_FILE_SYSTEM_TRUE='#'
22558   ENABLE_FILE_SYSTEM_FALSE=
22559 fi
22560
22561  if test "$enable_quota" = "yes"; then
22562   ENABLE_QUOTA_TRUE=
22563   ENABLE_QUOTA_FALSE='#'
22564 else
22565   ENABLE_QUOTA_TRUE='#'
22566   ENABLE_QUOTA_FALSE=
22567 fi
22568
22569  if test "$enable_icon_database" = "yes"; then
22570   ENABLE_ICONDATABASE_TRUE=
22571   ENABLE_ICONDATABASE_FALSE='#'
22572 else
22573   ENABLE_ICONDATABASE_TRUE='#'
22574   ENABLE_ICONDATABASE_FALSE=
22575 fi
22576
22577  if test "$enable_image_resizer" = "yes"; then
22578   ENABLE_IMAGE_RESIZER_TRUE=
22579   ENABLE_IMAGE_RESIZER_FALSE='#'
22580 else
22581   ENABLE_IMAGE_RESIZER_TRUE='#'
22582   ENABLE_IMAGE_RESIZER_FALSE=
22583 fi
22584
22585  if test "$enable_indexed_database" = "yes"; then
22586   ENABLE_INDEXED_DATABASE_TRUE=
22587   ENABLE_INDEXED_DATABASE_FALSE='#'
22588 else
22589   ENABLE_INDEXED_DATABASE_TRUE='#'
22590   ENABLE_INDEXED_DATABASE_FALSE=
22591 fi
22592
22593  if test "$enable_input_color" = "yes"; then
22594   ENABLE_INPUT_COLOR_TRUE=
22595   ENABLE_INPUT_COLOR_FALSE='#'
22596 else
22597   ENABLE_INPUT_COLOR_TRUE='#'
22598   ENABLE_INPUT_COLOR_FALSE=
22599 fi
22600
22601  if test "$enable_input_speech" = "yes"; then
22602   ENABLE_INPUT_SPEECH_TRUE=
22603   ENABLE_INPUT_SPEECH_FALSE='#'
22604 else
22605   ENABLE_INPUT_SPEECH_TRUE='#'
22606   ENABLE_INPUT_SPEECH_FALSE=
22607 fi
22608
22609  if test "$enable_xhtmlmp" = "yes"; then
22610   ENABLE_XHTMLMP_TRUE=
22611   ENABLE_XHTMLMP_FALSE='#'
22612 else
22613   ENABLE_XHTMLMP_TRUE='#'
22614   ENABLE_XHTMLMP_FALSE=
22615 fi
22616
22617  if test "$enable_xpath" = "yes"; then
22618   ENABLE_XPATH_TRUE=
22619   ENABLE_XPATH_FALSE='#'
22620 else
22621   ENABLE_XPATH_TRUE='#'
22622   ENABLE_XPATH_FALSE=
22623 fi
22624
22625  if test "$enable_xslt" = "yes"; then
22626   ENABLE_XSLT_TRUE=
22627   ENABLE_XSLT_FALSE='#'
22628 else
22629   ENABLE_XSLT_TRUE='#'
22630   ENABLE_XSLT_FALSE=
22631 fi
22632
22633  if test "$enable_filters" = "yes"; then
22634   ENABLE_FILTERS_TRUE=
22635   ENABLE_FILTERS_FALSE='#'
22636 else
22637   ENABLE_FILTERS_TRUE='#'
22638   ENABLE_FILTERS_FALSE=
22639 fi
22640
22641  if test "$enable_geolocation" = "yes"; then
22642   ENABLE_GEOLOCATION_TRUE=
22643   ENABLE_GEOLOCATION_FALSE='#'
22644 else
22645   ENABLE_GEOLOCATION_TRUE='#'
22646   ENABLE_GEOLOCATION_FALSE=
22647 fi
22648
22649  if test "$enable_client_based_geolocation" = "yes"; then
22650   ENABLE_CLIENT_BASED_GEOLOCATION_TRUE=
22651   ENABLE_CLIENT_BASED_GEOLOCATION_FALSE='#'
22652 else
22653   ENABLE_CLIENT_BASED_GEOLOCATION_TRUE='#'
22654   ENABLE_CLIENT_BASED_GEOLOCATION_FALSE=
22655 fi
22656
22657  if test "$enable_mathml" = "yes"; then
22658   ENABLE_MATHML_TRUE=
22659   ENABLE_MATHML_FALSE='#'
22660 else
22661   ENABLE_MATHML_TRUE='#'
22662   ENABLE_MATHML_FALSE=
22663 fi
22664
22665  if test "$enable_mhtml" = "yes"; then
22666   ENABLE_MHTML_TRUE=
22667   ENABLE_MHTML_FALSE='#'
22668 else
22669   ENABLE_MHTML_TRUE='#'
22670   ENABLE_MHTML_FALSE=
22671 fi
22672
22673  if test "$enable_video" = "yes"; then
22674   ENABLE_VIDEO_TRUE=
22675   ENABLE_VIDEO_FALSE='#'
22676 else
22677   ENABLE_VIDEO_TRUE='#'
22678   ENABLE_VIDEO_FALSE=
22679 fi
22680
22681  if test "$enable_elis_media" = "yes"; then
22682   ENABLE_ELIS_MEDIA_TRUE=
22683   ENABLE_ELIS_MEDIA_FALSE='#'
22684 else
22685   ENABLE_ELIS_MEDIA_TRUE='#'
22686   ENABLE_ELIS_MEDIA_FALSE=
22687 fi
22688
22689  if test "$enable_media_source" = "yes"; then
22690   ENABLE_MEDIA_SOURCE_TRUE=
22691   ENABLE_MEDIA_SOURCE_FALSE='#'
22692 else
22693   ENABLE_MEDIA_SOURCE_TRUE='#'
22694   ENABLE_MEDIA_SOURCE_FALSE=
22695 fi
22696
22697  if test "$enable_media_statistics" = "yes"; then
22698   ENABLE_MEDIA_STATISTICS_TRUE=
22699   ENABLE_MEDIA_STATISTICS_FALSE='#'
22700 else
22701   ENABLE_MEDIA_STATISTICS_TRUE='#'
22702   ENABLE_MEDIA_STATISTICS_FALSE=
22703 fi
22704
22705  if test "$enable_video_track" = "yes"; then
22706   ENABLE_VIDEO_TRACK_TRUE=
22707   ENABLE_VIDEO_TRACK_FALSE='#'
22708 else
22709   ENABLE_VIDEO_TRACK_TRUE='#'
22710   ENABLE_VIDEO_TRACK_FALSE=
22711 fi
22712
22713  if test "$enable_fullscreen_api" = "yes"; then
22714   ENABLE_FULLSCREEN_API_TRUE=
22715   ENABLE_FULLSCREEN_API_FALSE='#'
22716 else
22717   ENABLE_FULLSCREEN_API_TRUE='#'
22718   ENABLE_FULLSCREEN_API_FALSE=
22719 fi
22720
22721  if test "$enable_media_stream" = "yes"; then
22722   ENABLE_MEDIA_STREAM_TRUE=
22723   ENABLE_MEDIA_STREAM_FALSE='#'
22724 else
22725   ENABLE_MEDIA_STREAM_TRUE='#'
22726   ENABLE_MEDIA_STREAM_FALSE=
22727 fi
22728
22729  if test "$enable_notifications" = "yes"; then
22730   ENABLE_NOTIFICATIONS_TRUE=
22731   ENABLE_NOTIFICATIONS_FALSE='#'
22732 else
22733   ENABLE_NOTIFICATIONS_TRUE='#'
22734   ENABLE_NOTIFICATIONS_FALSE=
22735 fi
22736
22737  if test "$enable_orientation_events" = "yes"; then
22738   ENABLE_ORIENTATION_EVENTS_TRUE=
22739   ENABLE_ORIENTATION_EVENTS_FALSE='#'
22740 else
22741   ENABLE_ORIENTATION_EVENTS_TRUE='#'
22742   ENABLE_ORIENTATION_EVENTS_FALSE=
22743 fi
22744
22745  if test "$enable_svg" = "yes"; then
22746   ENABLE_SVG_TRUE=
22747   ENABLE_SVG_FALSE='#'
22748 else
22749   ENABLE_SVG_TRUE='#'
22750   ENABLE_SVG_FALSE=
22751 fi
22752
22753  if test "$enable_svg_fonts" = "yes"; then
22754   ENABLE_SVG_FONTS_TRUE=
22755   ENABLE_SVG_FONTS_FALSE='#'
22756 else
22757   ENABLE_SVG_FONTS_TRUE='#'
22758   ENABLE_SVG_FONTS_FALSE=
22759 fi
22760
22761  if test "$enable_coverage" = "yes"; then
22762   ENABLE_COVERAGE_TRUE=
22763   ENABLE_COVERAGE_FALSE='#'
22764 else
22765   ENABLE_COVERAGE_TRUE='#'
22766   ENABLE_COVERAGE_FALSE=
22767 fi
22768
22769  if test "$enable_fast_malloc" = "yes"; then
22770   ENABLE_FAST_MALLOC_TRUE=
22771   ENABLE_FAST_MALLOC_FALSE='#'
22772 else
22773   ENABLE_FAST_MALLOC_TRUE='#'
22774   ENABLE_FAST_MALLOC_FALSE=
22775 fi
22776
22777  if test "$enable_wcss" = "yes"; then
22778   ENABLE_WCSS_TRUE=
22779   ENABLE_WCSS_FALSE='#'
22780 else
22781   ENABLE_WCSS_TRUE='#'
22782   ENABLE_WCSS_FALSE=
22783 fi
22784
22785  if test "$enable_workers" = "yes"; then
22786   ENABLE_WORKERS_TRUE=
22787   ENABLE_WORKERS_FALSE='#'
22788 else
22789   ENABLE_WORKERS_TRUE='#'
22790   ENABLE_WORKERS_FALSE=
22791 fi
22792
22793  if test "$enable_shared_workers" = "yes"; then
22794   ENABLE_SHARED_WORKERS_TRUE=
22795   ENABLE_SHARED_WORKERS_FALSE='#'
22796 else
22797   ENABLE_SHARED_WORKERS_TRUE='#'
22798   ENABLE_SHARED_WORKERS_FALSE=
22799 fi
22800
22801  if test "$svg_flags" = "yes"; then
22802   SVG_FLAGS_TRUE=
22803   SVG_FLAGS_FALSE='#'
22804 else
22805   SVG_FLAGS_TRUE='#'
22806   SVG_FLAGS_FALSE=
22807 fi
22808
22809  if test "$html_flags" = "yes"; then
22810   HTML_FLAGS_TRUE=
22811   HTML_FLAGS_FALSE='#'
22812 else
22813   HTML_FLAGS_TRUE='#'
22814   HTML_FLAGS_FALSE=
22815 fi
22816
22817  if test "$enable_web_sockets" = "yes"; then
22818   ENABLE_WEB_SOCKETS_TRUE=
22819   ENABLE_WEB_SOCKETS_FALSE='#'
22820 else
22821   ENABLE_WEB_SOCKETS_TRUE='#'
22822   ENABLE_WEB_SOCKETS_FALSE=
22823 fi
22824
22825  if test "$enable_web_audio" = "yes"; then
22826   ENABLE_WEB_AUDIO_TRUE=
22827   ENABLE_WEB_AUDIO_FALSE='#'
22828 else
22829   ENABLE_WEB_AUDIO_TRUE='#'
22830   ENABLE_WEB_AUDIO_FALSE=
22831 fi
22832
22833  if test "$enable_web_timing" = "yes"; then
22834   ENABLE_WEB_TIMING_TRUE=
22835   ENABLE_WEB_TIMING_FALSE='#'
22836 else
22837   ENABLE_WEB_TIMING_TRUE='#'
22838   ENABLE_WEB_TIMING_FALSE=
22839 fi
22840
22841  if test "$enable_opcode_stats" = "yes"; then
22842   ENABLE_OPCODE_STATS_TRUE=
22843   ENABLE_OPCODE_STATS_FALSE='#'
22844 else
22845   ENABLE_OPCODE_STATS_TRUE='#'
22846   ENABLE_OPCODE_STATS_FALSE=
22847 fi
22848
22849  if test "$enable_webkit2" = "yes"; then
22850   ENABLE_WEBKIT2_TRUE=
22851   ENABLE_WEBKIT2_FALSE='#'
22852 else
22853   ENABLE_WEBKIT2_TRUE='#'
22854   ENABLE_WEBKIT2_FALSE=
22855 fi
22856
22857  if test "$enable_plugin_process" = "yes"; then
22858   ENABLE_PLUGIN_PROCESS_TRUE=
22859   ENABLE_PLUGIN_PROCESS_FALSE='#'
22860 else
22861   ENABLE_PLUGIN_PROCESS_TRUE='#'
22862   ENABLE_PLUGIN_PROCESS_FALSE=
22863 fi
22864
22865  if test "$enable_spellcheck" = "yes"; then
22866   ENABLE_SPELLCHECK_TRUE=
22867   ENABLE_SPELLCHECK_FALSE='#'
22868 else
22869   ENABLE_SPELLCHECK_TRUE='#'
22870   ENABLE_SPELLCHECK_FALSE=
22871 fi
22872
22873  if test "$enable_animation_api" = "yes"; then
22874   ENABLE_ANIMATION_API_TRUE=
22875   ENABLE_ANIMATION_API_FALSE='#'
22876 else
22877   ENABLE_ANIMATION_API_TRUE='#'
22878   ENABLE_ANIMATION_API_FALSE=
22879 fi
22880
22881  if test "$enable_touch_icon_loading" = "yes"; then
22882   ENABLE_TOUCH_ICON_LOADING_TRUE=
22883   ENABLE_TOUCH_ICON_LOADING_FALSE='#'
22884 else
22885   ENABLE_TOUCH_ICON_LOADING_TRUE='#'
22886   ENABLE_TOUCH_ICON_LOADING_FALSE=
22887 fi
22888
22889  if test "$enable_register_protocol_handler" = "yes"; then
22890   ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE=
22891   ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE='#'
22892 else
22893   ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE='#'
22894   ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE=
22895 fi
22896
22897  if test "$enable_device_orientation" = "yes"; then
22898   ENABLE_DEVICE_ORIENTATION_TRUE=
22899   ENABLE_DEVICE_ORIENTATION_FALSE='#'
22900 else
22901   ENABLE_DEVICE_ORIENTATION_TRUE='#'
22902   ENABLE_DEVICE_ORIENTATION_FALSE=
22903 fi
22904
22905
22906 # Gtk conditionals
22907  if test "$enable_introspection" = "yes"; then
22908   ENABLE_INTROSPECTION_TRUE=
22909   ENABLE_INTROSPECTION_FALSE='#'
22910 else
22911   ENABLE_INTROSPECTION_TRUE='#'
22912   ENABLE_INTROSPECTION_FALSE=
22913 fi
22914
22915
22916 ac_config_files="$ac_config_files GNUmakefile"
22917
22918
22919
22920 ac_config_files="$ac_config_files Source/WebKit/gtk/webkit/webkitversion.h Source/WebKit/gtk/docs/GNUmakefile Source/WebKit/gtk/docs/version.xml"
22921
22922
22923 ac_config_files="$ac_config_files Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in"
22924
22925
22926
22927 if test "$enable_webkit2" = "yes"; then
22928     ac_config_files="$ac_config_files Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in"
22929
22930 fi
22931
22932 cat >confcache <<\_ACEOF
22933 # This file is a shell script that caches the results of configure
22934 # tests run on this system so they can be shared between configure
22935 # scripts and configure runs, see configure's option --config-cache.
22936 # It is not useful on other systems.  If it contains results you don't
22937 # want to keep, you may remove or edit it.
22938 #
22939 # config.status only pays attention to the cache file if you give it
22940 # the --recheck option to rerun configure.
22941 #
22942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22944 # following values.
22945
22946 _ACEOF
22947
22948 # The following way of writing the cache mishandles newlines in values,
22949 # but we know of no workaround that is simple, portable, and efficient.
22950 # So, we kill variables containing newlines.
22951 # Ultrix sh set writes to stderr and can't be redirected directly,
22952 # and sets the high bit in the cache file unless we assign to the vars.
22953 (
22954   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22955     eval ac_val=\$$ac_var
22956     case $ac_val in #(
22957     *${as_nl}*)
22958       case $ac_var in #(
22959       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22961       esac
22962       case $ac_var in #(
22963       _ | IFS | as_nl) ;; #(
22964       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22965       *) { eval $ac_var=; unset $ac_var;} ;;
22966       esac ;;
22967     esac
22968   done
22969
22970   (set) 2>&1 |
22971     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22972     *${as_nl}ac_space=\ *)
22973       # `set' does not quote correctly, so add quotes: double-quote
22974       # substitution turns \\\\ into \\, and sed turns \\ into \.
22975       sed -n \
22976         "s/'/'\\\\''/g;
22977           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22978       ;; #(
22979     *)
22980       # `set' quotes correctly as required by POSIX, so do not add quotes.
22981       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22982       ;;
22983     esac |
22984     sort
22985 ) |
22986   sed '
22987      /^ac_cv_env_/b end
22988      t clear
22989      :clear
22990      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22991      t end
22992      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22993      :end' >>confcache
22994 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22995   if test -w "$cache_file"; then
22996     if test "x$cache_file" != "x/dev/null"; then
22997       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22998 $as_echo "$as_me: updating cache $cache_file" >&6;}
22999       if test ! -f "$cache_file" || test -h "$cache_file"; then
23000         cat confcache >"$cache_file"
23001       else
23002         case $cache_file in #(
23003         */* | ?:*)
23004           mv -f confcache "$cache_file"$$ &&
23005           mv -f "$cache_file"$$ "$cache_file" ;; #(
23006         *)
23007           mv -f confcache "$cache_file" ;;
23008         esac
23009       fi
23010     fi
23011   else
23012     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23013 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23014   fi
23015 fi
23016 rm -f confcache
23017
23018 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23019 # Let make expand exec_prefix.
23020 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23021
23022 DEFS=-DHAVE_CONFIG_H
23023
23024 ac_libobjs=
23025 ac_ltlibobjs=
23026 U=
23027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23028   # 1. Remove the extension, and $U if already installed.
23029   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23030   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23031   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
23032   #    will be set to the directory where LIBOBJS objects are built.
23033   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23034   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23035 done
23036 LIBOBJS=$ac_libobjs
23037
23038 LTLIBOBJS=$ac_ltlibobjs
23039
23040
23041  if test -n "$EXEEXT"; then
23042   am__EXEEXT_TRUE=
23043   am__EXEEXT_FALSE='#'
23044 else
23045   am__EXEEXT_TRUE='#'
23046   am__EXEEXT_FALSE=
23047 fi
23048
23049 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23050   as_fn_error $? "conditional \"AMDEP\" was never defined.
23051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23052 fi
23053 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23054   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23056 fi
23057 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23058   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
23059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23060 fi
23061 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23062   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23064 fi
23065 if test -z "${GTK_API_VERSION_2_TRUE}" && test -z "${GTK_API_VERSION_2_FALSE}"; then
23066   as_fn_error $? "conditional \"GTK_API_VERSION_2\" was never defined.
23067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23068 fi
23069 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
23070   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
23071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23072 fi
23073 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
23074   as_fn_error $? "conditional \"OS_UNIX\" was never defined.
23075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23076 fi
23077 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
23078   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
23079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23080 fi
23081 if test -z "${OS_GNU_TRUE}" && test -z "${OS_GNU_FALSE}"; then
23082   as_fn_error $? "conditional \"OS_GNU\" was never defined.
23083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23084 fi
23085 if test -z "${OS_FREEBSD_TRUE}" && test -z "${OS_FREEBSD_FALSE}"; then
23086   as_fn_error $? "conditional \"OS_FREEBSD\" was never defined.
23087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23088 fi
23089 if test -z "${TARGET_X11_TRUE}" && test -z "${TARGET_X11_FALSE}"; then
23090   as_fn_error $? "conditional \"TARGET_X11\" was never defined.
23091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23092 fi
23093 if test -z "${TARGET_WIN32_TRUE}" && test -z "${TARGET_WIN32_FALSE}"; then
23094   as_fn_error $? "conditional \"TARGET_WIN32\" was never defined.
23095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23096 fi
23097 if test -z "${TARGET_QUARTZ_TRUE}" && test -z "${TARGET_QUARTZ_FALSE}"; then
23098   as_fn_error $? "conditional \"TARGET_QUARTZ\" was never defined.
23099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23100 fi
23101 if test -z "${TARGET_DIRECTFB_TRUE}" && test -z "${TARGET_DIRECTFB_FALSE}"; then
23102   as_fn_error $? "conditional \"TARGET_DIRECTFB\" was never defined.
23103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23104 fi
23105 if test -z "${USE_ICU_UNICODE_TRUE}" && test -z "${USE_ICU_UNICODE_FALSE}"; then
23106   as_fn_error $? "conditional \"USE_ICU_UNICODE\" was never defined.
23107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23108 fi
23109 if test -z "${USE_GLIB_UNICODE_TRUE}" && test -z "${USE_GLIB_UNICODE_FALSE}"; then
23110   as_fn_error $? "conditional \"USE_GLIB_UNICODE\" was never defined.
23111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23112 fi
23113 if test -z "${USE_FREETYPE_TRUE}" && test -z "${USE_FREETYPE_FALSE}"; then
23114   as_fn_error $? "conditional \"USE_FREETYPE\" was never defined.
23115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23116 fi
23117 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
23118   as_fn_error $? "conditional \"USE_PANGO\" was never defined.
23119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23120 fi
23121 if test -z "${USE_GSTREAMER_TRUE}" && test -z "${USE_GSTREAMER_FALSE}"; then
23122   as_fn_error $? "conditional \"USE_GSTREAMER\" was never defined.
23123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23124 fi
23125 if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
23126   as_fn_error $? "conditional \"ENABLE_DEBUG\" was never defined.
23127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23128 fi
23129 if test -z "${ENABLE_3D_RENDERING_TRUE}" && test -z "${ENABLE_3D_RENDERING_FALSE}"; then
23130   as_fn_error $? "conditional \"ENABLE_3D_RENDERING\" was never defined.
23131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23132 fi
23133 if test -z "${ENABLE_WEBGL_TRUE}" && test -z "${ENABLE_WEBGL_FALSE}"; then
23134   as_fn_error $? "conditional \"ENABLE_WEBGL\" was never defined.
23135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23136 fi
23137 if test -z "${ENABLE_BLOB_TRUE}" && test -z "${ENABLE_BLOB_FALSE}"; then
23138   as_fn_error $? "conditional \"ENABLE_BLOB\" was never defined.
23139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23140 fi
23141 if test -z "${ENABLE_METER_TAG_TRUE}" && test -z "${ENABLE_METER_TAG_FALSE}"; then
23142   as_fn_error $? "conditional \"ENABLE_METER_TAG\" was never defined.
23143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23144 fi
23145 if test -z "${ENABLE_PAGE_VISIBILITY_API_TRUE}" && test -z "${ENABLE_PAGE_VISIBILITY_API_FALSE}"; then
23146   as_fn_error $? "conditional \"ENABLE_PAGE_VISIBILITY_API\" was never defined.
23147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23148 fi
23149 if test -z "${ENABLE_PROGRESS_TAG_TRUE}" && test -z "${ENABLE_PROGRESS_TAG_FALSE}"; then
23150   as_fn_error $? "conditional \"ENABLE_PROGRESS_TAG\" was never defined.
23151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23152 fi
23153 if test -z "${ENABLE_CHANNEL_MESSAGING_TRUE}" && test -z "${ENABLE_CHANNEL_MESSAGING_FALSE}"; then
23154   as_fn_error $? "conditional \"ENABLE_CHANNEL_MESSAGING\" was never defined.
23155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23156 fi
23157 if test -z "${ENABLE_JAVASCRIPT_DEBUGGER_TRUE}" && test -z "${ENABLE_JAVASCRIPT_DEBUGGER_FALSE}"; then
23158   as_fn_error $? "conditional \"ENABLE_JAVASCRIPT_DEBUGGER\" was never defined.
23159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23160 fi
23161 if test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE}" && test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE}"; then
23162   as_fn_error $? "conditional \"ENABLE_OFFLINE_WEB_APPLICATIONS\" was never defined.
23163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23164 fi
23165 if test -z "${ENABLE_DIRECTORY_UPLOAD_TRUE}" && test -z "${ENABLE_DIRECTORY_UPLOAD_FALSE}"; then
23166   as_fn_error $? "conditional \"ENABLE_DIRECTORY_UPLOAD\" was never defined.
23167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23168 fi
23169 if test -z "${ENABLE_DATAGRID_TRUE}" && test -z "${ENABLE_DATAGRID_FALSE}"; then
23170   as_fn_error $? "conditional \"ENABLE_DATAGRID\" was never defined.
23171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23172 fi
23173 if test -z "${ENABLE_DATA_TRANSFER_ITEMS_TRUE}" && test -z "${ENABLE_DATA_TRANSFER_ITEMS_FALSE}"; then
23174   as_fn_error $? "conditional \"ENABLE_DATA_TRANSFER_ITEMS\" was never defined.
23175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23176 fi
23177 if test -z "${ENABLE_DOM_STORAGE_TRUE}" && test -z "${ENABLE_DOM_STORAGE_FALSE}"; then
23178   as_fn_error $? "conditional \"ENABLE_DOM_STORAGE\" was never defined.
23179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23180 fi
23181 if test -z "${ENABLE_SQL_DATABASE_TRUE}" && test -z "${ENABLE_SQL_DATABASE_FALSE}"; then
23182   as_fn_error $? "conditional \"ENABLE_SQL_DATABASE\" was never defined.
23183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23184 fi
23185 if test -z "${ENABLE_DATALIST_TRUE}" && test -z "${ENABLE_DATALIST_FALSE}"; then
23186   as_fn_error $? "conditional \"ENABLE_DATALIST\" was never defined.
23187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23188 fi
23189 if test -z "${ENABLE_DETAILS_TRUE}" && test -z "${ENABLE_DETAILS_FALSE}"; then
23190   as_fn_error $? "conditional \"ENABLE_DETAILS\" was never defined.
23191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23192 fi
23193 if test -z "${ENABLE_FAST_MOBILE_SCROLLING_TRUE}" && test -z "${ENABLE_FAST_MOBILE_SCROLLING_FALSE}"; then
23194   as_fn_error $? "conditional \"ENABLE_FAST_MOBILE_SCROLLING\" was never defined.
23195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23196 fi
23197 if test -z "${ENABLE_FILE_SYSTEM_TRUE}" && test -z "${ENABLE_FILE_SYSTEM_FALSE}"; then
23198   as_fn_error $? "conditional \"ENABLE_FILE_SYSTEM\" was never defined.
23199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23200 fi
23201 if test -z "${ENABLE_QUOTA_TRUE}" && test -z "${ENABLE_QUOTA_FALSE}"; then
23202   as_fn_error $? "conditional \"ENABLE_QUOTA\" was never defined.
23203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23204 fi
23205 if test -z "${ENABLE_ICONDATABASE_TRUE}" && test -z "${ENABLE_ICONDATABASE_FALSE}"; then
23206   as_fn_error $? "conditional \"ENABLE_ICONDATABASE\" was never defined.
23207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23208 fi
23209 if test -z "${ENABLE_IMAGE_RESIZER_TRUE}" && test -z "${ENABLE_IMAGE_RESIZER_FALSE}"; then
23210   as_fn_error $? "conditional \"ENABLE_IMAGE_RESIZER\" was never defined.
23211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23212 fi
23213 if test -z "${ENABLE_INDEXED_DATABASE_TRUE}" && test -z "${ENABLE_INDEXED_DATABASE_FALSE}"; then
23214   as_fn_error $? "conditional \"ENABLE_INDEXED_DATABASE\" was never defined.
23215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23216 fi
23217 if test -z "${ENABLE_INPUT_COLOR_TRUE}" && test -z "${ENABLE_INPUT_COLOR_FALSE}"; then
23218   as_fn_error $? "conditional \"ENABLE_INPUT_COLOR\" was never defined.
23219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23220 fi
23221 if test -z "${ENABLE_INPUT_SPEECH_TRUE}" && test -z "${ENABLE_INPUT_SPEECH_FALSE}"; then
23222   as_fn_error $? "conditional \"ENABLE_INPUT_SPEECH\" was never defined.
23223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23224 fi
23225 if test -z "${ENABLE_XHTMLMP_TRUE}" && test -z "${ENABLE_XHTMLMP_FALSE}"; then
23226   as_fn_error $? "conditional \"ENABLE_XHTMLMP\" was never defined.
23227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23228 fi
23229 if test -z "${ENABLE_XPATH_TRUE}" && test -z "${ENABLE_XPATH_FALSE}"; then
23230   as_fn_error $? "conditional \"ENABLE_XPATH\" was never defined.
23231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23232 fi
23233 if test -z "${ENABLE_XSLT_TRUE}" && test -z "${ENABLE_XSLT_FALSE}"; then
23234   as_fn_error $? "conditional \"ENABLE_XSLT\" was never defined.
23235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23236 fi
23237 if test -z "${ENABLE_FILTERS_TRUE}" && test -z "${ENABLE_FILTERS_FALSE}"; then
23238   as_fn_error $? "conditional \"ENABLE_FILTERS\" was never defined.
23239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23240 fi
23241 if test -z "${ENABLE_GEOLOCATION_TRUE}" && test -z "${ENABLE_GEOLOCATION_FALSE}"; then
23242   as_fn_error $? "conditional \"ENABLE_GEOLOCATION\" was never defined.
23243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23244 fi
23245 if test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_TRUE}" && test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_FALSE}"; then
23246   as_fn_error $? "conditional \"ENABLE_CLIENT_BASED_GEOLOCATION\" was never defined.
23247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23248 fi
23249 if test -z "${ENABLE_MATHML_TRUE}" && test -z "${ENABLE_MATHML_FALSE}"; then
23250   as_fn_error $? "conditional \"ENABLE_MATHML\" was never defined.
23251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23252 fi
23253 if test -z "${ENABLE_MHTML_TRUE}" && test -z "${ENABLE_MHTML_FALSE}"; then
23254   as_fn_error $? "conditional \"ENABLE_MHTML\" was never defined.
23255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23256 fi
23257 if test -z "${ENABLE_VIDEO_TRUE}" && test -z "${ENABLE_VIDEO_FALSE}"; then
23258   as_fn_error $? "conditional \"ENABLE_VIDEO\" was never defined.
23259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23260 fi
23261 if test -z "${ENABLE_ELIS_MEDIA_TRUE}" && test -z "${ENABLE_ELIS_MEDIA_FALSE}"; then
23262   as_fn_error $? "conditional \"ENABLE_ELIS_MEDIA\" was never defined.
23263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23264 fi
23265 if test -z "${ENABLE_MEDIA_SOURCE_TRUE}" && test -z "${ENABLE_MEDIA_SOURCE_FALSE}"; then
23266   as_fn_error $? "conditional \"ENABLE_MEDIA_SOURCE\" was never defined.
23267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23268 fi
23269 if test -z "${ENABLE_MEDIA_STATISTICS_TRUE}" && test -z "${ENABLE_MEDIA_STATISTICS_FALSE}"; then
23270   as_fn_error $? "conditional \"ENABLE_MEDIA_STATISTICS\" was never defined.
23271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23272 fi
23273 if test -z "${ENABLE_VIDEO_TRACK_TRUE}" && test -z "${ENABLE_VIDEO_TRACK_FALSE}"; then
23274   as_fn_error $? "conditional \"ENABLE_VIDEO_TRACK\" was never defined.
23275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23276 fi
23277 if test -z "${ENABLE_FULLSCREEN_API_TRUE}" && test -z "${ENABLE_FULLSCREEN_API_FALSE}"; then
23278   as_fn_error $? "conditional \"ENABLE_FULLSCREEN_API\" was never defined.
23279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23280 fi
23281 if test -z "${ENABLE_MEDIA_STREAM_TRUE}" && test -z "${ENABLE_MEDIA_STREAM_FALSE}"; then
23282   as_fn_error $? "conditional \"ENABLE_MEDIA_STREAM\" was never defined.
23283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23284 fi
23285 if test -z "${ENABLE_NOTIFICATIONS_TRUE}" && test -z "${ENABLE_NOTIFICATIONS_FALSE}"; then
23286   as_fn_error $? "conditional \"ENABLE_NOTIFICATIONS\" was never defined.
23287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23288 fi
23289 if test -z "${ENABLE_ORIENTATION_EVENTS_TRUE}" && test -z "${ENABLE_ORIENTATION_EVENTS_FALSE}"; then
23290   as_fn_error $? "conditional \"ENABLE_ORIENTATION_EVENTS\" was never defined.
23291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23292 fi
23293 if test -z "${ENABLE_SVG_TRUE}" && test -z "${ENABLE_SVG_FALSE}"; then
23294   as_fn_error $? "conditional \"ENABLE_SVG\" was never defined.
23295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23296 fi
23297 if test -z "${ENABLE_SVG_FONTS_TRUE}" && test -z "${ENABLE_SVG_FONTS_FALSE}"; then
23298   as_fn_error $? "conditional \"ENABLE_SVG_FONTS\" was never defined.
23299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23300 fi
23301 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
23302   as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
23303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23304 fi
23305 if test -z "${ENABLE_FAST_MALLOC_TRUE}" && test -z "${ENABLE_FAST_MALLOC_FALSE}"; then
23306   as_fn_error $? "conditional \"ENABLE_FAST_MALLOC\" was never defined.
23307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23308 fi
23309 if test -z "${ENABLE_WCSS_TRUE}" && test -z "${ENABLE_WCSS_FALSE}"; then
23310   as_fn_error $? "conditional \"ENABLE_WCSS\" was never defined.
23311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23312 fi
23313 if test -z "${ENABLE_WORKERS_TRUE}" && test -z "${ENABLE_WORKERS_FALSE}"; then
23314   as_fn_error $? "conditional \"ENABLE_WORKERS\" was never defined.
23315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23316 fi
23317 if test -z "${ENABLE_SHARED_WORKERS_TRUE}" && test -z "${ENABLE_SHARED_WORKERS_FALSE}"; then
23318   as_fn_error $? "conditional \"ENABLE_SHARED_WORKERS\" was never defined.
23319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23320 fi
23321 if test -z "${SVG_FLAGS_TRUE}" && test -z "${SVG_FLAGS_FALSE}"; then
23322   as_fn_error $? "conditional \"SVG_FLAGS\" was never defined.
23323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23324 fi
23325 if test -z "${HTML_FLAGS_TRUE}" && test -z "${HTML_FLAGS_FALSE}"; then
23326   as_fn_error $? "conditional \"HTML_FLAGS\" was never defined.
23327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23328 fi
23329 if test -z "${ENABLE_WEB_SOCKETS_TRUE}" && test -z "${ENABLE_WEB_SOCKETS_FALSE}"; then
23330   as_fn_error $? "conditional \"ENABLE_WEB_SOCKETS\" was never defined.
23331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23332 fi
23333 if test -z "${ENABLE_WEB_AUDIO_TRUE}" && test -z "${ENABLE_WEB_AUDIO_FALSE}"; then
23334   as_fn_error $? "conditional \"ENABLE_WEB_AUDIO\" was never defined.
23335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23336 fi
23337 if test -z "${ENABLE_WEB_TIMING_TRUE}" && test -z "${ENABLE_WEB_TIMING_FALSE}"; then
23338   as_fn_error $? "conditional \"ENABLE_WEB_TIMING\" was never defined.
23339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23340 fi
23341 if test -z "${ENABLE_OPCODE_STATS_TRUE}" && test -z "${ENABLE_OPCODE_STATS_FALSE}"; then
23342   as_fn_error $? "conditional \"ENABLE_OPCODE_STATS\" was never defined.
23343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23344 fi
23345 if test -z "${ENABLE_WEBKIT2_TRUE}" && test -z "${ENABLE_WEBKIT2_FALSE}"; then
23346   as_fn_error $? "conditional \"ENABLE_WEBKIT2\" was never defined.
23347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23348 fi
23349 if test -z "${ENABLE_PLUGIN_PROCESS_TRUE}" && test -z "${ENABLE_PLUGIN_PROCESS_FALSE}"; then
23350   as_fn_error $? "conditional \"ENABLE_PLUGIN_PROCESS\" was never defined.
23351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23352 fi
23353 if test -z "${ENABLE_SPELLCHECK_TRUE}" && test -z "${ENABLE_SPELLCHECK_FALSE}"; then
23354   as_fn_error $? "conditional \"ENABLE_SPELLCHECK\" was never defined.
23355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23356 fi
23357 if test -z "${ENABLE_ANIMATION_API_TRUE}" && test -z "${ENABLE_ANIMATION_API_FALSE}"; then
23358   as_fn_error $? "conditional \"ENABLE_ANIMATION_API\" was never defined.
23359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23360 fi
23361 if test -z "${ENABLE_TOUCH_ICON_LOADING_TRUE}" && test -z "${ENABLE_TOUCH_ICON_LOADING_FALSE}"; then
23362   as_fn_error $? "conditional \"ENABLE_TOUCH_ICON_LOADING\" was never defined.
23363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23364 fi
23365 if test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE}" && test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE}"; then
23366   as_fn_error $? "conditional \"ENABLE_REGISTER_PROTOCOL_HANDLER\" was never defined.
23367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23368 fi
23369 if test -z "${ENABLE_DEVICE_ORIENTATION_TRUE}" && test -z "${ENABLE_DEVICE_ORIENTATION_FALSE}"; then
23370   as_fn_error $? "conditional \"ENABLE_DEVICE_ORIENTATION\" was never defined.
23371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23372 fi
23373 if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
23374   as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
23375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23376 fi
23377
23378 : "${CONFIG_STATUS=./config.status}"
23379 ac_write_fail=0
23380 ac_clean_files_save=$ac_clean_files
23381 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23383 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23384 as_write_fail=0
23385 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23386 #! $SHELL
23387 # Generated by $as_me.
23388 # Run this file to recreate the current configuration.
23389 # Compiler output produced by configure, useful for debugging
23390 # configure, is in config.log if it exists.
23391
23392 debug=false
23393 ac_cs_recheck=false
23394 ac_cs_silent=false
23395
23396 SHELL=\${CONFIG_SHELL-$SHELL}
23397 export SHELL
23398 _ASEOF
23399 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23400 ## -------------------- ##
23401 ## M4sh Initialization. ##
23402 ## -------------------- ##
23403
23404 # Be more Bourne compatible
23405 DUALCASE=1; export DUALCASE # for MKS sh
23406 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23407   emulate sh
23408   NULLCMD=:
23409   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23410   # is contrary to our usage.  Disable this feature.
23411   alias -g '${1+"$@"}'='"$@"'
23412   setopt NO_GLOB_SUBST
23413 else
23414   case `(set -o) 2>/dev/null` in #(
23415   *posix*) :
23416     set -o posix ;; #(
23417   *) :
23418      ;;
23419 esac
23420 fi
23421
23422
23423 as_nl='
23424 '
23425 export as_nl
23426 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23427 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23428 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23430 # Prefer a ksh shell builtin over an external printf program on Solaris,
23431 # but without wasting forks for bash or zsh.
23432 if test -z "$BASH_VERSION$ZSH_VERSION" \
23433     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23434   as_echo='print -r --'
23435   as_echo_n='print -rn --'
23436 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23437   as_echo='printf %s\n'
23438   as_echo_n='printf %s'
23439 else
23440   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23441     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23442     as_echo_n='/usr/ucb/echo -n'
23443   else
23444     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23445     as_echo_n_body='eval
23446       arg=$1;
23447       case $arg in #(
23448       *"$as_nl"*)
23449         expr "X$arg" : "X\\(.*\\)$as_nl";
23450         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23451       esac;
23452       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23453     '
23454     export as_echo_n_body
23455     as_echo_n='sh -c $as_echo_n_body as_echo'
23456   fi
23457   export as_echo_body
23458   as_echo='sh -c $as_echo_body as_echo'
23459 fi
23460
23461 # The user is always right.
23462 if test "${PATH_SEPARATOR+set}" != set; then
23463   PATH_SEPARATOR=:
23464   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23465     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23466       PATH_SEPARATOR=';'
23467   }
23468 fi
23469
23470
23471 # IFS
23472 # We need space, tab and new line, in precisely that order.  Quoting is
23473 # there to prevent editors from complaining about space-tab.
23474 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23475 # splitting by setting IFS to empty value.)
23476 IFS=" ""        $as_nl"
23477
23478 # Find who we are.  Look in the path if we contain no directory separator.
23479 as_myself=
23480 case $0 in #((
23481   *[\\/]* ) as_myself=$0 ;;
23482   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23483 for as_dir in $PATH
23484 do
23485   IFS=$as_save_IFS
23486   test -z "$as_dir" && as_dir=.
23487     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23488   done
23489 IFS=$as_save_IFS
23490
23491      ;;
23492 esac
23493 # We did not find ourselves, most probably we were run as `sh COMMAND'
23494 # in which case we are not to be found in the path.
23495 if test "x$as_myself" = x; then
23496   as_myself=$0
23497 fi
23498 if test ! -f "$as_myself"; then
23499   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23500   exit 1
23501 fi
23502
23503 # Unset variables that we do not need and which cause bugs (e.g. in
23504 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
23505 # suppresses any "Segmentation fault" message there.  '((' could
23506 # trigger a bug in pdksh 5.2.14.
23507 for as_var in BASH_ENV ENV MAIL MAILPATH
23508 do eval test x\${$as_var+set} = xset \
23509   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23510 done
23511 PS1='$ '
23512 PS2='> '
23513 PS4='+ '
23514
23515 # NLS nuisances.
23516 LC_ALL=C
23517 export LC_ALL
23518 LANGUAGE=C
23519 export LANGUAGE
23520
23521 # CDPATH.
23522 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23523
23524
23525 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23526 # ----------------------------------------
23527 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23528 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23529 # script with STATUS, using 1 if that was 0.
23530 as_fn_error ()
23531 {
23532   as_status=$1; test $as_status -eq 0 && as_status=1
23533   if test "$4"; then
23534     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23535     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23536   fi
23537   $as_echo "$as_me: error: $2" >&2
23538   as_fn_exit $as_status
23539 } # as_fn_error
23540
23541
23542 # as_fn_set_status STATUS
23543 # -----------------------
23544 # Set $? to STATUS, without forking.
23545 as_fn_set_status ()
23546 {
23547   return $1
23548 } # as_fn_set_status
23549
23550 # as_fn_exit STATUS
23551 # -----------------
23552 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23553 as_fn_exit ()
23554 {
23555   set +e
23556   as_fn_set_status $1
23557   exit $1
23558 } # as_fn_exit
23559
23560 # as_fn_unset VAR
23561 # ---------------
23562 # Portably unset VAR.
23563 as_fn_unset ()
23564 {
23565   { eval $1=; unset $1;}
23566 }
23567 as_unset=as_fn_unset
23568 # as_fn_append VAR VALUE
23569 # ----------------------
23570 # Append the text in VALUE to the end of the definition contained in VAR. Take
23571 # advantage of any shell optimizations that allow amortized linear growth over
23572 # repeated appends, instead of the typical quadratic growth present in naive
23573 # implementations.
23574 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23575   eval 'as_fn_append ()
23576   {
23577     eval $1+=\$2
23578   }'
23579 else
23580   as_fn_append ()
23581   {
23582     eval $1=\$$1\$2
23583   }
23584 fi # as_fn_append
23585
23586 # as_fn_arith ARG...
23587 # ------------------
23588 # Perform arithmetic evaluation on the ARGs, and store the result in the
23589 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23590 # must be portable across $(()) and expr.
23591 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23592   eval 'as_fn_arith ()
23593   {
23594     as_val=$(( $* ))
23595   }'
23596 else
23597   as_fn_arith ()
23598   {
23599     as_val=`expr "$@" || test $? -eq 1`
23600   }
23601 fi # as_fn_arith
23602
23603
23604 if expr a : '\(a\)' >/dev/null 2>&1 &&
23605    test "X`expr 00001 : '.*\(...\)'`" = X001; then
23606   as_expr=expr
23607 else
23608   as_expr=false
23609 fi
23610
23611 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23612   as_basename=basename
23613 else
23614   as_basename=false
23615 fi
23616
23617 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23618   as_dirname=dirname
23619 else
23620   as_dirname=false
23621 fi
23622
23623 as_me=`$as_basename -- "$0" ||
23624 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23625          X"$0" : 'X\(//\)$' \| \
23626          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23627 $as_echo X/"$0" |
23628     sed '/^.*\/\([^/][^/]*\)\/*$/{
23629             s//\1/
23630             q
23631           }
23632           /^X\/\(\/\/\)$/{
23633             s//\1/
23634             q
23635           }
23636           /^X\/\(\/\).*/{
23637             s//\1/
23638             q
23639           }
23640           s/.*/./; q'`
23641
23642 # Avoid depending upon Character Ranges.
23643 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23644 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23645 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23646 as_cr_digits='0123456789'
23647 as_cr_alnum=$as_cr_Letters$as_cr_digits
23648
23649 ECHO_C= ECHO_N= ECHO_T=
23650 case `echo -n x` in #(((((
23651 -n*)
23652   case `echo 'xy\c'` in
23653   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
23654   xy)  ECHO_C='\c';;
23655   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
23656        ECHO_T=' ';;
23657   esac;;
23658 *)
23659   ECHO_N='-n';;
23660 esac
23661
23662 rm -f conf$$ conf$$.exe conf$$.file
23663 if test -d conf$$.dir; then
23664   rm -f conf$$.dir/conf$$.file
23665 else
23666   rm -f conf$$.dir
23667   mkdir conf$$.dir 2>/dev/null
23668 fi
23669 if (echo >conf$$.file) 2>/dev/null; then
23670   if ln -s conf$$.file conf$$ 2>/dev/null; then
23671     as_ln_s='ln -s'
23672     # ... but there are two gotchas:
23673     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23674     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23675     # In both cases, we have to default to `cp -p'.
23676     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23677       as_ln_s='cp -p'
23678   elif ln conf$$.file conf$$ 2>/dev/null; then
23679     as_ln_s=ln
23680   else
23681     as_ln_s='cp -p'
23682   fi
23683 else
23684   as_ln_s='cp -p'
23685 fi
23686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23687 rmdir conf$$.dir 2>/dev/null
23688
23689
23690 # as_fn_mkdir_p
23691 # -------------
23692 # Create "$as_dir" as a directory, including parents if necessary.
23693 as_fn_mkdir_p ()
23694 {
23695
23696   case $as_dir in #(
23697   -*) as_dir=./$as_dir;;
23698   esac
23699   test -d "$as_dir" || eval $as_mkdir_p || {
23700     as_dirs=
23701     while :; do
23702       case $as_dir in #(
23703       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23704       *) as_qdir=$as_dir;;
23705       esac
23706       as_dirs="'$as_qdir' $as_dirs"
23707       as_dir=`$as_dirname -- "$as_dir" ||
23708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23709          X"$as_dir" : 'X\(//\)[^/]' \| \
23710          X"$as_dir" : 'X\(//\)$' \| \
23711          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23712 $as_echo X"$as_dir" |
23713     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23714             s//\1/
23715             q
23716           }
23717           /^X\(\/\/\)[^/].*/{
23718             s//\1/
23719             q
23720           }
23721           /^X\(\/\/\)$/{
23722             s//\1/
23723             q
23724           }
23725           /^X\(\/\).*/{
23726             s//\1/
23727             q
23728           }
23729           s/.*/./; q'`
23730       test -d "$as_dir" && break
23731     done
23732     test -z "$as_dirs" || eval "mkdir $as_dirs"
23733   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23734
23735
23736 } # as_fn_mkdir_p
23737 if mkdir -p . 2>/dev/null; then
23738   as_mkdir_p='mkdir -p "$as_dir"'
23739 else
23740   test -d ./-p && rmdir ./-p
23741   as_mkdir_p=false
23742 fi
23743
23744 if test -x / >/dev/null 2>&1; then
23745   as_test_x='test -x'
23746 else
23747   if ls -dL / >/dev/null 2>&1; then
23748     as_ls_L_option=L
23749   else
23750     as_ls_L_option=
23751   fi
23752   as_test_x='
23753     eval sh -c '\''
23754       if test -d "$1"; then
23755         test -d "$1/.";
23756       else
23757         case $1 in #(
23758         -*)set "./$1";;
23759         esac;
23760         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
23761         ???[sx]*):;;*)false;;esac;fi
23762     '\'' sh
23763   '
23764 fi
23765 as_executable_p=$as_test_x
23766
23767 # Sed expression to map a string onto a valid CPP name.
23768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23769
23770 # Sed expression to map a string onto a valid variable name.
23771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23772
23773
23774 exec 6>&1
23775 ## ----------------------------------- ##
23776 ## Main body of $CONFIG_STATUS script. ##
23777 ## ----------------------------------- ##
23778 _ASEOF
23779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23780
23781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23782 # Save the log message, to keep $0 and so on meaningful, and to
23783 # report actual input values of CONFIG_FILES etc. instead of their
23784 # values after options handling.
23785 ac_log="
23786 This file was extended by WebKit $as_me 1.6.1, which was
23787 generated by GNU Autoconf 2.68.  Invocation command line was
23788
23789   CONFIG_FILES    = $CONFIG_FILES
23790   CONFIG_HEADERS  = $CONFIG_HEADERS
23791   CONFIG_LINKS    = $CONFIG_LINKS
23792   CONFIG_COMMANDS = $CONFIG_COMMANDS
23793   $ $0 $@
23794
23795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23796 "
23797
23798 _ACEOF
23799
23800 case $ac_config_files in *"
23801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23802 esac
23803
23804 case $ac_config_headers in *"
23805 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23806 esac
23807
23808
23809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23810 # Files that config.status was made for.
23811 config_files="$ac_config_files"
23812 config_headers="$ac_config_headers"
23813 config_commands="$ac_config_commands"
23814
23815 _ACEOF
23816
23817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23818 ac_cs_usage="\
23819 \`$as_me' instantiates files and other configuration actions
23820 from templates according to the current configuration.  Unless the files
23821 and actions are specified as TAGs, all are instantiated by default.
23822
23823 Usage: $0 [OPTION]... [TAG]...
23824
23825   -h, --help       print this help, then exit
23826   -V, --version    print version number and configuration settings, then exit
23827       --config     print configuration, then exit
23828   -q, --quiet, --silent
23829                    do not print progress messages
23830   -d, --debug      don't remove temporary files
23831       --recheck    update $as_me by reconfiguring in the same conditions
23832       --file=FILE[:TEMPLATE]
23833                    instantiate the configuration file FILE
23834       --header=FILE[:TEMPLATE]
23835                    instantiate the configuration header FILE
23836
23837 Configuration files:
23838 $config_files
23839
23840 Configuration headers:
23841 $config_headers
23842
23843 Configuration commands:
23844 $config_commands
23845
23846 Report bugs to <http://bugs.webkit.org/>."
23847
23848 _ACEOF
23849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23850 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23851 ac_cs_version="\\
23852 WebKit config.status 1.6.1
23853 configured by $0, generated by GNU Autoconf 2.68,
23854   with options \\"\$ac_cs_config\\"
23855
23856 Copyright (C) 2010 Free Software Foundation, Inc.
23857 This config.status script is free software; the Free Software Foundation
23858 gives unlimited permission to copy, distribute and modify it."
23859
23860 ac_pwd='$ac_pwd'
23861 srcdir='$srcdir'
23862 INSTALL='$INSTALL'
23863 MKDIR_P='$MKDIR_P'
23864 AWK='$AWK'
23865 test -n "\$AWK" || AWK=awk
23866 _ACEOF
23867
23868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23869 # The default lists apply if the user does not specify any file.
23870 ac_need_defaults=:
23871 while test $# != 0
23872 do
23873   case $1 in
23874   --*=?*)
23875     ac_option=`expr "X$1" : 'X\([^=]*\)='`
23876     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23877     ac_shift=:
23878     ;;
23879   --*=)
23880     ac_option=`expr "X$1" : 'X\([^=]*\)='`
23881     ac_optarg=
23882     ac_shift=:
23883     ;;
23884   *)
23885     ac_option=$1
23886     ac_optarg=$2
23887     ac_shift=shift
23888     ;;
23889   esac
23890
23891   case $ac_option in
23892   # Handling of the options.
23893   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23894     ac_cs_recheck=: ;;
23895   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23896     $as_echo "$ac_cs_version"; exit ;;
23897   --config | --confi | --conf | --con | --co | --c )
23898     $as_echo "$ac_cs_config"; exit ;;
23899   --debug | --debu | --deb | --de | --d | -d )
23900     debug=: ;;
23901   --file | --fil | --fi | --f )
23902     $ac_shift
23903     case $ac_optarg in
23904     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23905     '') as_fn_error $? "missing file argument" ;;
23906     esac
23907     as_fn_append CONFIG_FILES " '$ac_optarg'"
23908     ac_need_defaults=false;;
23909   --header | --heade | --head | --hea )
23910     $ac_shift
23911     case $ac_optarg in
23912     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23913     esac
23914     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23915     ac_need_defaults=false;;
23916   --he | --h)
23917     # Conflict between --help and --header
23918     as_fn_error $? "ambiguous option: \`$1'
23919 Try \`$0 --help' for more information.";;
23920   --help | --hel | -h )
23921     $as_echo "$ac_cs_usage"; exit ;;
23922   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23923   | -silent | --silent | --silen | --sile | --sil | --si | --s)
23924     ac_cs_silent=: ;;
23925
23926   # This is an error.
23927   -*) as_fn_error $? "unrecognized option: \`$1'
23928 Try \`$0 --help' for more information." ;;
23929
23930   *) as_fn_append ac_config_targets " $1"
23931      ac_need_defaults=false ;;
23932
23933   esac
23934   shift
23935 done
23936
23937 ac_configure_extra_args=
23938
23939 if $ac_cs_silent; then
23940   exec 6>/dev/null
23941   ac_configure_extra_args="$ac_configure_extra_args --silent"
23942 fi
23943
23944 _ACEOF
23945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23946 if \$ac_cs_recheck; then
23947   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23948   shift
23949   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23950   CONFIG_SHELL='$SHELL'
23951   export CONFIG_SHELL
23952   exec "\$@"
23953 fi
23954
23955 _ACEOF
23956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23957 exec 5>>config.log
23958 {
23959   echo
23960   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23961 ## Running $as_me. ##
23962 _ASBOX
23963   $as_echo "$ac_log"
23964 } >&5
23965
23966 _ACEOF
23967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23968 #
23969 # INIT-COMMANDS
23970 #
23971 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23972
23973
23974 # The HP-UX ksh and POSIX shell print the target directory to stdout
23975 # if CDPATH is set.
23976 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23977
23978 sed_quote_subst='$sed_quote_subst'
23979 double_quote_subst='$double_quote_subst'
23980 delay_variable_subst='$delay_variable_subst'
23981 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23982 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
23983 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23984 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23985 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23986 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23987 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23988 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23989 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23990 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23991 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23992 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23993 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23994 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23995 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23996 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23997 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23998 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23999 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
24000 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
24001 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
24002 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
24003 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
24004 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
24005 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
24006 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
24007 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
24008 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24009 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24010 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24011 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24012 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24013 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24014 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24015 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24016 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24017 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24018 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24019 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24020 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24021 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24022 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24023 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24024 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24025 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24026 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24027 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24028 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24029 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24030 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24031 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24032 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24033 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24034 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24035 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24036 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24037 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"`'
24038 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24039 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24040 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24041 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24042 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24043 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24044 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24045 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24046 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24047 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24048 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24049 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24050 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24051 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24052 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24053 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24054 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24055 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24056 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24057 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24058 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24059 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24060 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24061 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24062 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24063 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24064 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24065 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24066 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24067 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24068 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24069 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24070 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24071 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24072 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
24073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24105 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
24106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24112 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24113 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24114 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24115 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24116 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24117 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24118 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24119 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24120 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24121 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24122 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24123 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24124 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24125 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24126 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24127 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24128 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24129 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24130 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24131 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24132 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24133 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24134 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24135 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24136 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24137 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24138 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24139 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24140 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24141 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24142 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24143 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24144 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
24145 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24146 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24147 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24148 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24149 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24150 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24151 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24152 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24153 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24154 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24155 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24156 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24157 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24158 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24159 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24160 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24161 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24162 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24163 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24164 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24165 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24166 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24167
24168 LTCC='$LTCC'
24169 LTCFLAGS='$LTCFLAGS'
24170 compiler='$compiler_DEFAULT'
24171
24172 # A function that is used when there is no print builtin or printf.
24173 func_fallback_echo ()
24174 {
24175   eval 'cat <<_LTECHO_EOF
24176 \$1
24177 _LTECHO_EOF'
24178 }
24179
24180 # Quote evaled strings.
24181 for var in AS \
24182 DLLTOOL \
24183 OBJDUMP \
24184 SHELL \
24185 ECHO \
24186 SED \
24187 GREP \
24188 EGREP \
24189 FGREP \
24190 LD \
24191 NM \
24192 LN_S \
24193 lt_SP2NL \
24194 lt_NL2SP \
24195 reload_flag \
24196 deplibs_check_method \
24197 file_magic_cmd \
24198 file_magic_glob \
24199 want_nocaseglob \
24200 sharedlib_from_linklib_cmd \
24201 AR \
24202 AR_FLAGS \
24203 archiver_list_spec \
24204 STRIP \
24205 RANLIB \
24206 CC \
24207 CFLAGS \
24208 compiler \
24209 lt_cv_sys_global_symbol_pipe \
24210 lt_cv_sys_global_symbol_to_cdecl \
24211 lt_cv_sys_global_symbol_to_c_name_address \
24212 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24213 nm_file_list_spec \
24214 lt_prog_compiler_no_builtin_flag \
24215 lt_prog_compiler_pic \
24216 lt_prog_compiler_wl \
24217 lt_prog_compiler_static \
24218 lt_cv_prog_compiler_c_o \
24219 need_locks \
24220 MANIFEST_TOOL \
24221 DSYMUTIL \
24222 NMEDIT \
24223 LIPO \
24224 OTOOL \
24225 OTOOL64 \
24226 shrext_cmds \
24227 export_dynamic_flag_spec \
24228 whole_archive_flag_spec \
24229 compiler_needs_object \
24230 with_gnu_ld \
24231 allow_undefined_flag \
24232 no_undefined_flag \
24233 hardcode_libdir_flag_spec \
24234 hardcode_libdir_flag_spec_ld \
24235 hardcode_libdir_separator \
24236 exclude_expsyms \
24237 include_expsyms \
24238 file_list_spec \
24239 variables_saved_for_relink \
24240 libname_spec \
24241 library_names_spec \
24242 soname_spec \
24243 install_override_mode \
24244 finish_eval \
24245 old_striplib \
24246 striplib \
24247 compiler_lib_search_dirs \
24248 predep_objects \
24249 postdep_objects \
24250 predeps \
24251 postdeps \
24252 compiler_lib_search_path \
24253 LD_CXX \
24254 reload_flag_CXX \
24255 compiler_CXX \
24256 lt_prog_compiler_no_builtin_flag_CXX \
24257 lt_prog_compiler_pic_CXX \
24258 lt_prog_compiler_wl_CXX \
24259 lt_prog_compiler_static_CXX \
24260 lt_cv_prog_compiler_c_o_CXX \
24261 export_dynamic_flag_spec_CXX \
24262 whole_archive_flag_spec_CXX \
24263 compiler_needs_object_CXX \
24264 with_gnu_ld_CXX \
24265 allow_undefined_flag_CXX \
24266 no_undefined_flag_CXX \
24267 hardcode_libdir_flag_spec_CXX \
24268 hardcode_libdir_flag_spec_ld_CXX \
24269 hardcode_libdir_separator_CXX \
24270 exclude_expsyms_CXX \
24271 include_expsyms_CXX \
24272 file_list_spec_CXX \
24273 compiler_lib_search_dirs_CXX \
24274 predep_objects_CXX \
24275 postdep_objects_CXX \
24276 predeps_CXX \
24277 postdeps_CXX \
24278 compiler_lib_search_path_CXX; do
24279     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24280     *[\\\\\\\`\\"\\\$]*)
24281       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24282       ;;
24283     *)
24284       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24285       ;;
24286     esac
24287 done
24288
24289 # Double-quote double-evaled strings.
24290 for var in reload_cmds \
24291 old_postinstall_cmds \
24292 old_postuninstall_cmds \
24293 old_archive_cmds \
24294 extract_expsyms_cmds \
24295 old_archive_from_new_cmds \
24296 old_archive_from_expsyms_cmds \
24297 archive_cmds \
24298 archive_expsym_cmds \
24299 module_cmds \
24300 module_expsym_cmds \
24301 export_symbols_cmds \
24302 prelink_cmds \
24303 postlink_cmds \
24304 postinstall_cmds \
24305 postuninstall_cmds \
24306 finish_cmds \
24307 sys_lib_search_path_spec \
24308 sys_lib_dlsearch_path_spec \
24309 reload_cmds_CXX \
24310 old_archive_cmds_CXX \
24311 old_archive_from_new_cmds_CXX \
24312 old_archive_from_expsyms_cmds_CXX \
24313 archive_cmds_CXX \
24314 archive_expsym_cmds_CXX \
24315 module_cmds_CXX \
24316 module_expsym_cmds_CXX \
24317 export_symbols_cmds_CXX \
24318 prelink_cmds_CXX \
24319 postlink_cmds_CXX; do
24320     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24321     *[\\\\\\\`\\"\\\$]*)
24322       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24323       ;;
24324     *)
24325       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24326       ;;
24327     esac
24328 done
24329
24330 ac_aux_dir='$ac_aux_dir'
24331 xsi_shell='$xsi_shell'
24332 lt_shell_append='$lt_shell_append'
24333
24334 # See if we are running on zsh, and set the options which allow our
24335 # commands through without removal of \ escapes INIT.
24336 if test -n "\${ZSH_VERSION+set}" ; then
24337    setopt NO_GLOB_SUBST
24338 fi
24339
24340
24341     PACKAGE='$PACKAGE'
24342     VERSION='$VERSION'
24343     TIMESTAMP='$TIMESTAMP'
24344     RM='$RM'
24345     ofile='$ofile'
24346
24347
24348
24349
24350
24351
24352 _ACEOF
24353
24354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24355
24356 # Handling of arguments.
24357 for ac_config_target in $ac_config_targets
24358 do
24359   case $ac_config_target in
24360     "autotoolsconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autotoolsconfig.h" ;;
24361     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24362     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24363     "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
24364     "Source/WebKit/gtk/webkit/webkitversion.h") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/webkit/webkitversion.h" ;;
24365     "Source/WebKit/gtk/docs/GNUmakefile") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/GNUmakefile" ;;
24366     "Source/WebKit/gtk/docs/version.xml") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/version.xml" ;;
24367     "Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in" ;;
24368     "Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in" ;;
24369     "Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in" ;;
24370     "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in" ;;
24371     "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in" ;;
24372
24373   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24374   esac
24375 done
24376
24377
24378 # If the user did not use the arguments to specify the items to instantiate,
24379 # then the envvar interface is used.  Set only those that are not.
24380 # We use the long form for the default assignment because of an extremely
24381 # bizarre bug on SunOS 4.1.3.
24382 if $ac_need_defaults; then
24383   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24384   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24385   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24386 fi
24387
24388 # Have a temporary directory for convenience.  Make it in the build tree
24389 # simply because there is no reason against having it here, and in addition,
24390 # creating and moving files from /tmp can sometimes cause problems.
24391 # Hook for its removal unless debugging.
24392 # Note that there is a small window in which the directory will not be cleaned:
24393 # after its creation but before its name has been assigned to `$tmp'.
24394 $debug ||
24395 {
24396   tmp= ac_tmp=
24397   trap 'exit_status=$?
24398   : "${ac_tmp:=$tmp}"
24399   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24400 ' 0
24401   trap 'as_fn_exit 1' 1 2 13 15
24402 }
24403 # Create a (secure) tmp directory for tmp files.
24404
24405 {
24406   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24407   test -d "$tmp"
24408 }  ||
24409 {
24410   tmp=./conf$$-$RANDOM
24411   (umask 077 && mkdir "$tmp")
24412 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24413 ac_tmp=$tmp
24414
24415 # Set up the scripts for CONFIG_FILES section.
24416 # No need to generate them if there are no CONFIG_FILES.
24417 # This happens for instance with `./config.status config.h'.
24418 if test -n "$CONFIG_FILES"; then
24419
24420
24421 ac_cr=`echo X | tr X '\015'`
24422 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24423 # But we know of no other shell where ac_cr would be empty at this
24424 # point, so we can use a bashism as a fallback.
24425 if test "x$ac_cr" = x; then
24426   eval ac_cr=\$\'\\r\'
24427 fi
24428 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24429 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24430   ac_cs_awk_cr='\\r'
24431 else
24432   ac_cs_awk_cr=$ac_cr
24433 fi
24434
24435 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24436 _ACEOF
24437
24438
24439 {
24440   echo "cat >conf$$subs.awk <<_ACEOF" &&
24441   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24442   echo "_ACEOF"
24443 } >conf$$subs.sh ||
24444   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24445 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24446 ac_delim='%!_!# '
24447 for ac_last_try in false false false false false :; do
24448   . ./conf$$subs.sh ||
24449     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24450
24451   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24452   if test $ac_delim_n = $ac_delim_num; then
24453     break
24454   elif $ac_last_try; then
24455     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24456   else
24457     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24458   fi
24459 done
24460 rm -f conf$$subs.sh
24461
24462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24463 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24464 _ACEOF
24465 sed -n '
24466 h
24467 s/^/S["/; s/!.*/"]=/
24468 p
24469 g
24470 s/^[^!]*!//
24471 :repl
24472 t repl
24473 s/'"$ac_delim"'$//
24474 t delim
24475 :nl
24476 h
24477 s/\(.\{148\}\)..*/\1/
24478 t more1
24479 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24480 p
24481 n
24482 b repl
24483 :more1
24484 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24485 p
24486 g
24487 s/.\{148\}//
24488 t nl
24489 :delim
24490 h
24491 s/\(.\{148\}\)..*/\1/
24492 t more2
24493 s/["\\]/\\&/g; s/^/"/; s/$/"/
24494 p
24495 b
24496 :more2
24497 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24498 p
24499 g
24500 s/.\{148\}//
24501 t delim
24502 ' <conf$$subs.awk | sed '
24503 /^[^""]/{
24504   N
24505   s/\n//
24506 }
24507 ' >>$CONFIG_STATUS || ac_write_fail=1
24508 rm -f conf$$subs.awk
24509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24510 _ACAWK
24511 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24512   for (key in S) S_is_set[key] = 1
24513   FS = "\a"
24514
24515 }
24516 {
24517   line = $ 0
24518   nfields = split(line, field, "@")
24519   substed = 0
24520   len = length(field[1])
24521   for (i = 2; i < nfields; i++) {
24522     key = field[i]
24523     keylen = length(key)
24524     if (S_is_set[key]) {
24525       value = S[key]
24526       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24527       len += length(value) + length(field[++i])
24528       substed = 1
24529     } else
24530       len += 1 + keylen
24531   }
24532
24533   print line
24534 }
24535
24536 _ACAWK
24537 _ACEOF
24538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24539 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24540   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24541 else
24542   cat
24543 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24544   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24545 _ACEOF
24546
24547 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24548 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24549 # trailing colons and then remove the whole line if VPATH becomes empty
24550 # (actually we leave an empty line to preserve line numbers).
24551 if test "x$srcdir" = x.; then
24552   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
24553 h
24554 s///
24555 s/^/:/
24556 s/[      ]*$/:/
24557 s/:\$(srcdir):/:/g
24558 s/:\${srcdir}:/:/g
24559 s/:@srcdir@:/:/g
24560 s/^:*//
24561 s/:*$//
24562 x
24563 s/\(=[   ]*\).*/\1/
24564 G
24565 s/\n//
24566 s/^[^=]*=[       ]*$//
24567 }'
24568 fi
24569
24570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24571 fi # test -n "$CONFIG_FILES"
24572
24573 # Set up the scripts for CONFIG_HEADERS section.
24574 # No need to generate them if there are no CONFIG_HEADERS.
24575 # This happens for instance with `./config.status Makefile'.
24576 if test -n "$CONFIG_HEADERS"; then
24577 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24578 BEGIN {
24579 _ACEOF
24580
24581 # Transform confdefs.h into an awk script `defines.awk', embedded as
24582 # here-document in config.status, that substitutes the proper values into
24583 # config.h.in to produce config.h.
24584
24585 # Create a delimiter string that does not exist in confdefs.h, to ease
24586 # handling of long lines.
24587 ac_delim='%!_!# '
24588 for ac_last_try in false false :; do
24589   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24590   if test -z "$ac_tt"; then
24591     break
24592   elif $ac_last_try; then
24593     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24594   else
24595     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24596   fi
24597 done
24598
24599 # For the awk script, D is an array of macro values keyed by name,
24600 # likewise P contains macro parameters if any.  Preserve backslash
24601 # newline sequences.
24602
24603 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24604 sed -n '
24605 s/.\{148\}/&'"$ac_delim"'/g
24606 t rset
24607 :rset
24608 s/^[     ]*#[    ]*define[       ][      ]*/ /
24609 t def
24610 d
24611 :def
24612 s/\\$//
24613 t bsnl
24614 s/["\\]/\\&/g
24615 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
24616 D["\1"]=" \3"/p
24617 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
24618 d
24619 :bsnl
24620 s/["\\]/\\&/g
24621 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
24622 D["\1"]=" \3\\\\\\n"\\/p
24623 t cont
24624 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24625 t cont
24626 d
24627 :cont
24628 n
24629 s/.\{148\}/&'"$ac_delim"'/g
24630 t clear
24631 :clear
24632 s/\\$//
24633 t bsnlc
24634 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24635 d
24636 :bsnlc
24637 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24638 b cont
24639 ' <confdefs.h | sed '
24640 s/'"$ac_delim"'/"\\\
24641 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24642
24643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24644   for (key in D) D_is_set[key] = 1
24645   FS = "\a"
24646 }
24647 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24648   line = \$ 0
24649   split(line, arg, " ")
24650   if (arg[1] == "#") {
24651     defundef = arg[2]
24652     mac1 = arg[3]
24653   } else {
24654     defundef = substr(arg[1], 2)
24655     mac1 = arg[2]
24656   }
24657   split(mac1, mac2, "(") #)
24658   macro = mac2[1]
24659   prefix = substr(line, 1, index(line, defundef) - 1)
24660   if (D_is_set[macro]) {
24661     # Preserve the white space surrounding the "#".
24662     print prefix "define", macro P[macro] D[macro]
24663     next
24664   } else {
24665     # Replace #undef with comments.  This is necessary, for example,
24666     # in the case of _POSIX_SOURCE, which is predefined and required
24667     # on some systems where configure will not decide to define it.
24668     if (defundef == "undef") {
24669       print "/*", prefix defundef, macro, "*/"
24670       next
24671     }
24672   }
24673 }
24674 { print }
24675 _ACAWK
24676 _ACEOF
24677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24678   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24679 fi # test -n "$CONFIG_HEADERS"
24680
24681
24682 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
24683 shift
24684 for ac_tag
24685 do
24686   case $ac_tag in
24687   :[FHLC]) ac_mode=$ac_tag; continue;;
24688   esac
24689   case $ac_mode$ac_tag in
24690   :[FHL]*:*);;
24691   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24692   :[FH]-) ac_tag=-:-;;
24693   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24694   esac
24695   ac_save_IFS=$IFS
24696   IFS=:
24697   set x $ac_tag
24698   IFS=$ac_save_IFS
24699   shift
24700   ac_file=$1
24701   shift
24702
24703   case $ac_mode in
24704   :L) ac_source=$1;;
24705   :[FH])
24706     ac_file_inputs=
24707     for ac_f
24708     do
24709       case $ac_f in
24710       -) ac_f="$ac_tmp/stdin";;
24711       *) # Look for the file first in the build tree, then in the source tree
24712          # (if the path is not absolute).  The absolute path cannot be DOS-style,
24713          # because $ac_f cannot contain `:'.
24714          test -f "$ac_f" ||
24715            case $ac_f in
24716            [\\/$]*) false;;
24717            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24718            esac ||
24719            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24720       esac
24721       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24722       as_fn_append ac_file_inputs " '$ac_f'"
24723     done
24724
24725     # Let's still pretend it is `configure' which instantiates (i.e., don't
24726     # use $as_me), people would be surprised to read:
24727     #    /* config.h.  Generated by config.status.  */
24728     configure_input='Generated from '`
24729           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24730         `' by configure.'
24731     if test x"$ac_file" != x-; then
24732       configure_input="$ac_file.  $configure_input"
24733       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24734 $as_echo "$as_me: creating $ac_file" >&6;}
24735     fi
24736     # Neutralize special characters interpreted by sed in replacement strings.
24737     case $configure_input in #(
24738     *\&* | *\|* | *\\* )
24739        ac_sed_conf_input=`$as_echo "$configure_input" |
24740        sed 's/[\\\\&|]/\\\\&/g'`;; #(
24741     *) ac_sed_conf_input=$configure_input;;
24742     esac
24743
24744     case $ac_tag in
24745     *:-:* | *:-) cat >"$ac_tmp/stdin" \
24746       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24747     esac
24748     ;;
24749   esac
24750
24751   ac_dir=`$as_dirname -- "$ac_file" ||
24752 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24753          X"$ac_file" : 'X\(//\)[^/]' \| \
24754          X"$ac_file" : 'X\(//\)$' \| \
24755          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24756 $as_echo X"$ac_file" |
24757     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24758             s//\1/
24759             q
24760           }
24761           /^X\(\/\/\)[^/].*/{
24762             s//\1/
24763             q
24764           }
24765           /^X\(\/\/\)$/{
24766             s//\1/
24767             q
24768           }
24769           /^X\(\/\).*/{
24770             s//\1/
24771             q
24772           }
24773           s/.*/./; q'`
24774   as_dir="$ac_dir"; as_fn_mkdir_p
24775   ac_builddir=.
24776
24777 case "$ac_dir" in
24778 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24779 *)
24780   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24781   # A ".." for each directory in $ac_dir_suffix.
24782   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24783   case $ac_top_builddir_sub in
24784   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24785   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24786   esac ;;
24787 esac
24788 ac_abs_top_builddir=$ac_pwd
24789 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24790 # for backward compatibility:
24791 ac_top_builddir=$ac_top_build_prefix
24792
24793 case $srcdir in
24794   .)  # We are building in place.
24795     ac_srcdir=.
24796     ac_top_srcdir=$ac_top_builddir_sub
24797     ac_abs_top_srcdir=$ac_pwd ;;
24798   [\\/]* | ?:[\\/]* )  # Absolute name.
24799     ac_srcdir=$srcdir$ac_dir_suffix;
24800     ac_top_srcdir=$srcdir
24801     ac_abs_top_srcdir=$srcdir ;;
24802   *) # Relative name.
24803     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24804     ac_top_srcdir=$ac_top_build_prefix$srcdir
24805     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24806 esac
24807 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24808
24809
24810   case $ac_mode in
24811   :F)
24812   #
24813   # CONFIG_FILE
24814   #
24815
24816   case $INSTALL in
24817   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24818   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24819   esac
24820   ac_MKDIR_P=$MKDIR_P
24821   case $MKDIR_P in
24822   [\\/$]* | ?:[\\/]* ) ;;
24823   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24824   esac
24825 _ACEOF
24826
24827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24828 # If the template does not know about datarootdir, expand it.
24829 # FIXME: This hack should be removed a few years after 2.60.
24830 ac_datarootdir_hack=; ac_datarootdir_seen=
24831 ac_sed_dataroot='
24832 /datarootdir/ {
24833   p
24834   q
24835 }
24836 /@datadir@/p
24837 /@docdir@/p
24838 /@infodir@/p
24839 /@localedir@/p
24840 /@mandir@/p'
24841 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24842 *datarootdir*) ac_datarootdir_seen=yes;;
24843 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24844   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24845 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24846 _ACEOF
24847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24848   ac_datarootdir_hack='
24849   s&@datadir@&$datadir&g
24850   s&@docdir@&$docdir&g
24851   s&@infodir@&$infodir&g
24852   s&@localedir@&$localedir&g
24853   s&@mandir@&$mandir&g
24854   s&\\\${datarootdir}&$datarootdir&g' ;;
24855 esac
24856 _ACEOF
24857
24858 # Neutralize VPATH when `$srcdir' = `.'.
24859 # Shell code in configure.ac might set extrasub.
24860 # FIXME: do we really want to maintain this feature?
24861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24862 ac_sed_extra="$ac_vpsub
24863 $extrasub
24864 _ACEOF
24865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24866 :t
24867 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24868 s|@configure_input@|$ac_sed_conf_input|;t t
24869 s&@top_builddir@&$ac_top_builddir_sub&;t t
24870 s&@top_build_prefix@&$ac_top_build_prefix&;t t
24871 s&@srcdir@&$ac_srcdir&;t t
24872 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24873 s&@top_srcdir@&$ac_top_srcdir&;t t
24874 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24875 s&@builddir@&$ac_builddir&;t t
24876 s&@abs_builddir@&$ac_abs_builddir&;t t
24877 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24878 s&@INSTALL@&$ac_INSTALL&;t t
24879 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24880 $ac_datarootdir_hack
24881 "
24882 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24883   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24884
24885 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24886   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24887   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
24888       "$ac_tmp/out"`; test -z "$ac_out"; } &&
24889   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24890 which seems to be undefined.  Please make sure it is defined" >&5
24891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24892 which seems to be undefined.  Please make sure it is defined" >&2;}
24893
24894   rm -f "$ac_tmp/stdin"
24895   case $ac_file in
24896   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24897   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24898   esac \
24899   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24900  ;;
24901   :H)
24902   #
24903   # CONFIG_HEADER
24904   #
24905   if test x"$ac_file" != x-; then
24906     {
24907       $as_echo "/* $configure_input  */" \
24908       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24909     } >"$ac_tmp/config.h" \
24910       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24911     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24912       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24913 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24914     else
24915       rm -f "$ac_file"
24916       mv "$ac_tmp/config.h" "$ac_file" \
24917         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24918     fi
24919   else
24920     $as_echo "/* $configure_input  */" \
24921       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24922       || as_fn_error $? "could not create -" "$LINENO" 5
24923   fi
24924 # Compute "$ac_file"'s index in $config_headers.
24925 _am_arg="$ac_file"
24926 _am_stamp_count=1
24927 for _am_header in $config_headers :; do
24928   case $_am_header in
24929     $_am_arg | $_am_arg:* )
24930       break ;;
24931     * )
24932       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24933   esac
24934 done
24935 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24936 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24937          X"$_am_arg" : 'X\(//\)[^/]' \| \
24938          X"$_am_arg" : 'X\(//\)$' \| \
24939          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24940 $as_echo X"$_am_arg" |
24941     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24942             s//\1/
24943             q
24944           }
24945           /^X\(\/\/\)[^/].*/{
24946             s//\1/
24947             q
24948           }
24949           /^X\(\/\/\)$/{
24950             s//\1/
24951             q
24952           }
24953           /^X\(\/\).*/{
24954             s//\1/
24955             q
24956           }
24957           s/.*/./; q'`/stamp-h$_am_stamp_count
24958  ;;
24959
24960   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24961 $as_echo "$as_me: executing $ac_file commands" >&6;}
24962  ;;
24963   esac
24964
24965
24966   case $ac_file$ac_mode in
24967     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24968   # Autoconf 2.62 quotes --file arguments for eval, but not when files
24969   # are listed without --file.  Let's play safe and only enable the eval
24970   # if we detect the quoting.
24971   case $CONFIG_FILES in
24972   *\'*) eval set x "$CONFIG_FILES" ;;
24973   *)   set x $CONFIG_FILES ;;
24974   esac
24975   shift
24976   for mf
24977   do
24978     # Strip MF so we end up with the name of the file.
24979     mf=`echo "$mf" | sed -e 's/:.*$//'`
24980     # Check whether this is an Automake generated Makefile or not.
24981     # We used to match only the files named `Makefile.in', but
24982     # some people rename them; so instead we look at the file content.
24983     # Grep'ing the first line is not enough: some people post-process
24984     # each Makefile.in and add a new line on top of each file to say so.
24985     # Grep'ing the whole file is not good either: AIX grep has a line
24986     # limit of 2048, but all sed's we know have understand at least 4000.
24987     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24988       dirpart=`$as_dirname -- "$mf" ||
24989 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24990          X"$mf" : 'X\(//\)[^/]' \| \
24991          X"$mf" : 'X\(//\)$' \| \
24992          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24993 $as_echo X"$mf" |
24994     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24995             s//\1/
24996             q
24997           }
24998           /^X\(\/\/\)[^/].*/{
24999             s//\1/
25000             q
25001           }
25002           /^X\(\/\/\)$/{
25003             s//\1/
25004             q
25005           }
25006           /^X\(\/\).*/{
25007             s//\1/
25008             q
25009           }
25010           s/.*/./; q'`
25011     else
25012       continue
25013     fi
25014     # Extract the definition of DEPDIR, am__include, and am__quote
25015     # from the Makefile without running `make'.
25016     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25017     test -z "$DEPDIR" && continue
25018     am__include=`sed -n 's/^am__include = //p' < "$mf"`
25019     test -z "am__include" && continue
25020     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25021     # When using ansi2knr, U may be empty or an underscore; expand it
25022     U=`sed -n 's/^U = //p' < "$mf"`
25023     # Find all dependency output files, they are included files with
25024     # $(DEPDIR) in their names.  We invoke sed twice because it is the
25025     # simplest approach to changing $(DEPDIR) to its actual value in the
25026     # expansion.
25027     for file in `sed -n "
25028       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25029          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25030       # Make sure the directory exists.
25031       test -f "$dirpart/$file" && continue
25032       fdir=`$as_dirname -- "$file" ||
25033 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25034          X"$file" : 'X\(//\)[^/]' \| \
25035          X"$file" : 'X\(//\)$' \| \
25036          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25037 $as_echo X"$file" |
25038     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25039             s//\1/
25040             q
25041           }
25042           /^X\(\/\/\)[^/].*/{
25043             s//\1/
25044             q
25045           }
25046           /^X\(\/\/\)$/{
25047             s//\1/
25048             q
25049           }
25050           /^X\(\/\).*/{
25051             s//\1/
25052             q
25053           }
25054           s/.*/./; q'`
25055       as_dir=$dirpart/$fdir; as_fn_mkdir_p
25056       # echo "creating $dirpart/$file"
25057       echo '# dummy' > "$dirpart/$file"
25058     done
25059   done
25060 }
25061  ;;
25062     "libtool":C)
25063
25064     # See if we are running on zsh, and set the options which allow our
25065     # commands through without removal of \ escapes.
25066     if test -n "${ZSH_VERSION+set}" ; then
25067       setopt NO_GLOB_SUBST
25068     fi
25069
25070     cfgfile="${ofile}T"
25071     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25072     $RM "$cfgfile"
25073
25074     cat <<_LT_EOF >> "$cfgfile"
25075 #! $SHELL
25076
25077 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25078 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25080 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25081 #
25082 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25083 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
25084 #                 Inc.
25085 #   Written by Gordon Matzigkeit, 1996
25086 #
25087 #   This file is part of GNU Libtool.
25088 #
25089 # GNU Libtool is free software; you can redistribute it and/or
25090 # modify it under the terms of the GNU General Public License as
25091 # published by the Free Software Foundation; either version 2 of
25092 # the License, or (at your option) any later version.
25093 #
25094 # As a special exception to the GNU General Public License,
25095 # if you distribute this file as part of a program or library that
25096 # is built using GNU Libtool, you may include this file under the
25097 # same distribution terms that you use for the rest of that program.
25098 #
25099 # GNU Libtool is distributed in the hope that it will be useful,
25100 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25101 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25102 # GNU General Public License for more details.
25103 #
25104 # You should have received a copy of the GNU General Public License
25105 # along with GNU Libtool; see the file COPYING.  If not, a copy
25106 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25107 # obtained by writing to the Free Software Foundation, Inc.,
25108 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25109
25110
25111 # The names of the tagged configurations supported by this script.
25112 available_tags="CXX "
25113
25114 # ### BEGIN LIBTOOL CONFIG
25115
25116 # Whether or not to build static libraries.
25117 build_old_libs=$enable_static
25118
25119 # Assembler program.
25120 AS=$lt_AS
25121
25122 # DLL creation program.
25123 DLLTOOL=$lt_DLLTOOL
25124
25125 # Object dumper program.
25126 OBJDUMP=$lt_OBJDUMP
25127
25128 # Which release of libtool.m4 was used?
25129 macro_version=$macro_version
25130 macro_revision=$macro_revision
25131
25132 # Whether or not to build shared libraries.
25133 build_libtool_libs=$enable_shared
25134
25135 # What type of objects to build.
25136 pic_mode=$pic_mode
25137
25138 # Whether or not to optimize for fast installation.
25139 fast_install=$enable_fast_install
25140
25141 # Shell to use when invoking shell scripts.
25142 SHELL=$lt_SHELL
25143
25144 # An echo program that protects backslashes.
25145 ECHO=$lt_ECHO
25146
25147 # The host system.
25148 host_alias=$host_alias
25149 host=$host
25150 host_os=$host_os
25151
25152 # The build system.
25153 build_alias=$build_alias
25154 build=$build
25155 build_os=$build_os
25156
25157 # A sed program that does not truncate output.
25158 SED=$lt_SED
25159
25160 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25161 Xsed="\$SED -e 1s/^X//"
25162
25163 # A grep program that handles long lines.
25164 GREP=$lt_GREP
25165
25166 # An ERE matcher.
25167 EGREP=$lt_EGREP
25168
25169 # A literal string matcher.
25170 FGREP=$lt_FGREP
25171
25172 # A BSD- or MS-compatible name lister.
25173 NM=$lt_NM
25174
25175 # Whether we need soft or hard links.
25176 LN_S=$lt_LN_S
25177
25178 # What is the maximum length of a command?
25179 max_cmd_len=$max_cmd_len
25180
25181 # Object file suffix (normally "o").
25182 objext=$ac_objext
25183
25184 # Executable file suffix (normally "").
25185 exeext=$exeext
25186
25187 # whether the shell understands "unset".
25188 lt_unset=$lt_unset
25189
25190 # turn spaces into newlines.
25191 SP2NL=$lt_lt_SP2NL
25192
25193 # turn newlines into spaces.
25194 NL2SP=$lt_lt_NL2SP
25195
25196 # convert \$build file names to \$host format.
25197 to_host_file_cmd=$lt_cv_to_host_file_cmd
25198
25199 # convert \$build files to toolchain format.
25200 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25201
25202 # Method to check whether dependent libraries are shared objects.
25203 deplibs_check_method=$lt_deplibs_check_method
25204
25205 # Command to use when deplibs_check_method = "file_magic".
25206 file_magic_cmd=$lt_file_magic_cmd
25207
25208 # How to find potential files when deplibs_check_method = "file_magic".
25209 file_magic_glob=$lt_file_magic_glob
25210
25211 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25212 want_nocaseglob=$lt_want_nocaseglob
25213
25214 # Command to associate shared and link libraries.
25215 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25216
25217 # The archiver.
25218 AR=$lt_AR
25219
25220 # Flags to create an archive.
25221 AR_FLAGS=$lt_AR_FLAGS
25222
25223 # How to feed a file listing to the archiver.
25224 archiver_list_spec=$lt_archiver_list_spec
25225
25226 # A symbol stripping program.
25227 STRIP=$lt_STRIP
25228
25229 # Commands used to install an old-style archive.
25230 RANLIB=$lt_RANLIB
25231 old_postinstall_cmds=$lt_old_postinstall_cmds
25232 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25233
25234 # Whether to use a lock for old archive extraction.
25235 lock_old_archive_extraction=$lock_old_archive_extraction
25236
25237 # A C compiler.
25238 LTCC=$lt_CC
25239
25240 # LTCC compiler flags.
25241 LTCFLAGS=$lt_CFLAGS
25242
25243 # Take the output of nm and produce a listing of raw symbols and C names.
25244 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25245
25246 # Transform the output of nm in a proper C declaration.
25247 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25248
25249 # Transform the output of nm in a C name address pair.
25250 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25251
25252 # Transform the output of nm in a C name address pair when lib prefix is needed.
25253 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25254
25255 # Specify filename containing input files for \$NM.
25256 nm_file_list_spec=$lt_nm_file_list_spec
25257
25258 # The root where to search for dependent libraries,and in which our libraries should be installed.
25259 lt_sysroot=$lt_sysroot
25260
25261 # The name of the directory that contains temporary libtool files.
25262 objdir=$objdir
25263
25264 # Used to examine libraries when file_magic_cmd begins with "file".
25265 MAGIC_CMD=$MAGIC_CMD
25266
25267 # Must we lock files when doing compilation?
25268 need_locks=$lt_need_locks
25269
25270 # Manifest tool.
25271 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25272
25273 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25274 DSYMUTIL=$lt_DSYMUTIL
25275
25276 # Tool to change global to local symbols on Mac OS X.
25277 NMEDIT=$lt_NMEDIT
25278
25279 # Tool to manipulate fat objects and archives on Mac OS X.
25280 LIPO=$lt_LIPO
25281
25282 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25283 OTOOL=$lt_OTOOL
25284
25285 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25286 OTOOL64=$lt_OTOOL64
25287
25288 # Old archive suffix (normally "a").
25289 libext=$libext
25290
25291 # Shared library suffix (normally ".so").
25292 shrext_cmds=$lt_shrext_cmds
25293
25294 # The commands to extract the exported symbol list from a shared archive.
25295 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25296
25297 # Variables whose values should be saved in libtool wrapper scripts and
25298 # restored at link time.
25299 variables_saved_for_relink=$lt_variables_saved_for_relink
25300
25301 # Do we need the "lib" prefix for modules?
25302 need_lib_prefix=$need_lib_prefix
25303
25304 # Do we need a version for libraries?
25305 need_version=$need_version
25306
25307 # Library versioning type.
25308 version_type=$version_type
25309
25310 # Shared library runtime path variable.
25311 runpath_var=$runpath_var
25312
25313 # Shared library path variable.
25314 shlibpath_var=$shlibpath_var
25315
25316 # Is shlibpath searched before the hard-coded library search path?
25317 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25318
25319 # Format of library name prefix.
25320 libname_spec=$lt_libname_spec
25321
25322 # List of archive names.  First name is the real one, the rest are links.
25323 # The last name is the one that the linker finds with -lNAME
25324 library_names_spec=$lt_library_names_spec
25325
25326 # The coded name of the library, if different from the real name.
25327 soname_spec=$lt_soname_spec
25328
25329 # Permission mode override for installation of shared libraries.
25330 install_override_mode=$lt_install_override_mode
25331
25332 # Command to use after installation of a shared archive.
25333 postinstall_cmds=$lt_postinstall_cmds
25334
25335 # Command to use after uninstallation of a shared archive.
25336 postuninstall_cmds=$lt_postuninstall_cmds
25337
25338 # Commands used to finish a libtool library installation in a directory.
25339 finish_cmds=$lt_finish_cmds
25340
25341 # As "finish_cmds", except a single script fragment to be evaled but
25342 # not shown.
25343 finish_eval=$lt_finish_eval
25344
25345 # Whether we should hardcode library paths into libraries.
25346 hardcode_into_libs=$hardcode_into_libs
25347
25348 # Compile-time system search path for libraries.
25349 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25350
25351 # Run-time system search path for libraries.
25352 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25353
25354 # Whether dlopen is supported.
25355 dlopen_support=$enable_dlopen
25356
25357 # Whether dlopen of programs is supported.
25358 dlopen_self=$enable_dlopen_self
25359
25360 # Whether dlopen of statically linked programs is supported.
25361 dlopen_self_static=$enable_dlopen_self_static
25362
25363 # Commands to strip libraries.
25364 old_striplib=$lt_old_striplib
25365 striplib=$lt_striplib
25366
25367
25368 # The linker used to build libraries.
25369 LD=$lt_LD
25370
25371 # How to create reloadable object files.
25372 reload_flag=$lt_reload_flag
25373 reload_cmds=$lt_reload_cmds
25374
25375 # Commands used to build an old-style archive.
25376 old_archive_cmds=$lt_old_archive_cmds
25377
25378 # A language specific compiler.
25379 CC=$lt_compiler
25380
25381 # Is the compiler the GNU compiler?
25382 with_gcc=$GCC
25383
25384 # Compiler flag to turn off builtin functions.
25385 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25386
25387 # Additional compiler flags for building library objects.
25388 pic_flag=$lt_lt_prog_compiler_pic
25389
25390 # How to pass a linker flag through the compiler.
25391 wl=$lt_lt_prog_compiler_wl
25392
25393 # Compiler flag to prevent dynamic linking.
25394 link_static_flag=$lt_lt_prog_compiler_static
25395
25396 # Does compiler simultaneously support -c and -o options?
25397 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25398
25399 # Whether or not to add -lc for building shared libraries.
25400 build_libtool_need_lc=$archive_cmds_need_lc
25401
25402 # Whether or not to disallow shared libs when runtime libs are static.
25403 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25404
25405 # Compiler flag to allow reflexive dlopens.
25406 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25407
25408 # Compiler flag to generate shared objects directly from archives.
25409 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25410
25411 # Whether the compiler copes with passing no objects directly.
25412 compiler_needs_object=$lt_compiler_needs_object
25413
25414 # Create an old-style archive from a shared archive.
25415 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25416
25417 # Create a temporary old-style archive to link instead of a shared archive.
25418 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25419
25420 # Commands used to build a shared archive.
25421 archive_cmds=$lt_archive_cmds
25422 archive_expsym_cmds=$lt_archive_expsym_cmds
25423
25424 # Commands used to build a loadable module if different from building
25425 # a shared archive.
25426 module_cmds=$lt_module_cmds
25427 module_expsym_cmds=$lt_module_expsym_cmds
25428
25429 # Whether we are building with GNU ld or not.
25430 with_gnu_ld=$lt_with_gnu_ld
25431
25432 # Flag that allows shared libraries with undefined symbols to be built.
25433 allow_undefined_flag=$lt_allow_undefined_flag
25434
25435 # Flag that enforces no undefined symbols.
25436 no_undefined_flag=$lt_no_undefined_flag
25437
25438 # Flag to hardcode \$libdir into a binary during linking.
25439 # This must work even if \$libdir does not exist
25440 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25441
25442 # If ld is used when linking, flag to hardcode \$libdir into a binary
25443 # during linking.  This must work even if \$libdir does not exist.
25444 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
25445
25446 # Whether we need a single "-rpath" flag with a separated argument.
25447 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25448
25449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25450 # DIR into the resulting binary.
25451 hardcode_direct=$hardcode_direct
25452
25453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25454 # DIR into the resulting binary and the resulting library dependency is
25455 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25456 # library is relocated.
25457 hardcode_direct_absolute=$hardcode_direct_absolute
25458
25459 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25460 # into the resulting binary.
25461 hardcode_minus_L=$hardcode_minus_L
25462
25463 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25464 # into the resulting binary.
25465 hardcode_shlibpath_var=$hardcode_shlibpath_var
25466
25467 # Set to "yes" if building a shared library automatically hardcodes DIR
25468 # into the library and all subsequent libraries and executables linked
25469 # against it.
25470 hardcode_automatic=$hardcode_automatic
25471
25472 # Set to yes if linker adds runtime paths of dependent libraries
25473 # to runtime path list.
25474 inherit_rpath=$inherit_rpath
25475
25476 # Whether libtool must link a program against all its dependency libraries.
25477 link_all_deplibs=$link_all_deplibs
25478
25479 # Set to "yes" if exported symbols are required.
25480 always_export_symbols=$always_export_symbols
25481
25482 # The commands to list exported symbols.
25483 export_symbols_cmds=$lt_export_symbols_cmds
25484
25485 # Symbols that should not be listed in the preloaded symbols.
25486 exclude_expsyms=$lt_exclude_expsyms
25487
25488 # Symbols that must always be exported.
25489 include_expsyms=$lt_include_expsyms
25490
25491 # Commands necessary for linking programs (against libraries) with templates.
25492 prelink_cmds=$lt_prelink_cmds
25493
25494 # Commands necessary for finishing linking programs.
25495 postlink_cmds=$lt_postlink_cmds
25496
25497 # Specify filename containing input files.
25498 file_list_spec=$lt_file_list_spec
25499
25500 # How to hardcode a shared library path into an executable.
25501 hardcode_action=$hardcode_action
25502
25503 # The directories searched by this compiler when creating a shared library.
25504 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25505
25506 # Dependencies to place before and after the objects being linked to
25507 # create a shared library.
25508 predep_objects=$lt_predep_objects
25509 postdep_objects=$lt_postdep_objects
25510 predeps=$lt_predeps
25511 postdeps=$lt_postdeps
25512
25513 # The library search path used internally by the compiler when linking
25514 # a shared library.
25515 compiler_lib_search_path=$lt_compiler_lib_search_path
25516
25517 # ### END LIBTOOL CONFIG
25518
25519 _LT_EOF
25520
25521   case $host_os in
25522   aix3*)
25523     cat <<\_LT_EOF >> "$cfgfile"
25524 # AIX sometimes has problems with the GCC collect2 program.  For some
25525 # reason, if we set the COLLECT_NAMES environment variable, the problems
25526 # vanish in a puff of smoke.
25527 if test "X${COLLECT_NAMES+set}" != Xset; then
25528   COLLECT_NAMES=
25529   export COLLECT_NAMES
25530 fi
25531 _LT_EOF
25532     ;;
25533   esac
25534
25535
25536 ltmain="$ac_aux_dir/ltmain.sh"
25537
25538
25539   # We use sed instead of cat because bash on DJGPP gets confused if
25540   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
25541   # text mode, it properly converts lines to CR/LF.  This bash problem
25542   # is reportedly fixed, but why not run on old versions too?
25543   sed '$q' "$ltmain" >> "$cfgfile" \
25544      || (rm -f "$cfgfile"; exit 1)
25545
25546   if test x"$xsi_shell" = xyes; then
25547   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25548 func_dirname ()\
25549 {\
25550 \    case ${1} in\
25551 \      */*) func_dirname_result="${1%/*}${2}" ;;\
25552 \      *  ) func_dirname_result="${3}" ;;\
25553 \    esac\
25554 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25555   && mv -f "$cfgfile.tmp" "$cfgfile" \
25556     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25557 test 0 -eq $? || _lt_function_replace_fail=:
25558
25559
25560   sed -e '/^func_basename ()$/,/^} # func_basename /c\
25561 func_basename ()\
25562 {\
25563 \    func_basename_result="${1##*/}"\
25564 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25565   && mv -f "$cfgfile.tmp" "$cfgfile" \
25566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25567 test 0 -eq $? || _lt_function_replace_fail=:
25568
25569
25570   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25571 func_dirname_and_basename ()\
25572 {\
25573 \    case ${1} in\
25574 \      */*) func_dirname_result="${1%/*}${2}" ;;\
25575 \      *  ) func_dirname_result="${3}" ;;\
25576 \    esac\
25577 \    func_basename_result="${1##*/}"\
25578 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25579   && mv -f "$cfgfile.tmp" "$cfgfile" \
25580     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25581 test 0 -eq $? || _lt_function_replace_fail=:
25582
25583
25584   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25585 func_stripname ()\
25586 {\
25587 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25588 \    # positional parameters, so assign one to ordinary parameter first.\
25589 \    func_stripname_result=${3}\
25590 \    func_stripname_result=${func_stripname_result#"${1}"}\
25591 \    func_stripname_result=${func_stripname_result%"${2}"}\
25592 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25593   && mv -f "$cfgfile.tmp" "$cfgfile" \
25594     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25595 test 0 -eq $? || _lt_function_replace_fail=:
25596
25597
25598   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25599 func_split_long_opt ()\
25600 {\
25601 \    func_split_long_opt_name=${1%%=*}\
25602 \    func_split_long_opt_arg=${1#*=}\
25603 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25604   && mv -f "$cfgfile.tmp" "$cfgfile" \
25605     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25606 test 0 -eq $? || _lt_function_replace_fail=:
25607
25608
25609   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25610 func_split_short_opt ()\
25611 {\
25612 \    func_split_short_opt_arg=${1#??}\
25613 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25614 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25615   && mv -f "$cfgfile.tmp" "$cfgfile" \
25616     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25617 test 0 -eq $? || _lt_function_replace_fail=:
25618
25619
25620   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25621 func_lo2o ()\
25622 {\
25623 \    case ${1} in\
25624 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25625 \      *)    func_lo2o_result=${1} ;;\
25626 \    esac\
25627 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
25628   && mv -f "$cfgfile.tmp" "$cfgfile" \
25629     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25630 test 0 -eq $? || _lt_function_replace_fail=:
25631
25632
25633   sed -e '/^func_xform ()$/,/^} # func_xform /c\
25634 func_xform ()\
25635 {\
25636     func_xform_result=${1%.*}.lo\
25637 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25638   && mv -f "$cfgfile.tmp" "$cfgfile" \
25639     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25640 test 0 -eq $? || _lt_function_replace_fail=:
25641
25642
25643   sed -e '/^func_arith ()$/,/^} # func_arith /c\
25644 func_arith ()\
25645 {\
25646     func_arith_result=$(( $* ))\
25647 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25648   && mv -f "$cfgfile.tmp" "$cfgfile" \
25649     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25650 test 0 -eq $? || _lt_function_replace_fail=:
25651
25652
25653   sed -e '/^func_len ()$/,/^} # func_len /c\
25654 func_len ()\
25655 {\
25656     func_len_result=${#1}\
25657 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25658   && mv -f "$cfgfile.tmp" "$cfgfile" \
25659     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25660 test 0 -eq $? || _lt_function_replace_fail=:
25661
25662 fi
25663
25664 if test x"$lt_shell_append" = xyes; then
25665   sed -e '/^func_append ()$/,/^} # func_append /c\
25666 func_append ()\
25667 {\
25668     eval "${1}+=\\${2}"\
25669 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25670   && mv -f "$cfgfile.tmp" "$cfgfile" \
25671     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25672 test 0 -eq $? || _lt_function_replace_fail=:
25673
25674
25675   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25676 func_append_quoted ()\
25677 {\
25678 \    func_quote_for_eval "${2}"\
25679 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25680 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25681   && mv -f "$cfgfile.tmp" "$cfgfile" \
25682     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25683 test 0 -eq $? || _lt_function_replace_fail=:
25684
25685
25686   # Save a `func_append' function call where possible by direct use of '+='
25687   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25688     && mv -f "$cfgfile.tmp" "$cfgfile" \
25689       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25690   test 0 -eq $? || _lt_function_replace_fail=:
25691 else
25692   # Save a `func_append' function call even when '+=' is not available
25693   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
25694     && mv -f "$cfgfile.tmp" "$cfgfile" \
25695       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25696   test 0 -eq $? || _lt_function_replace_fail=:
25697 fi
25698
25699 if test x"$_lt_function_replace_fail" = x":"; then
25700   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25701 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25702 fi
25703
25704
25705    mv -f "$cfgfile" "$ofile" ||
25706     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25707   chmod +x "$ofile"
25708
25709
25710     cat <<_LT_EOF >> "$ofile"
25711
25712 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25713
25714 # The linker used to build libraries.
25715 LD=$lt_LD_CXX
25716
25717 # How to create reloadable object files.
25718 reload_flag=$lt_reload_flag_CXX
25719 reload_cmds=$lt_reload_cmds_CXX
25720
25721 # Commands used to build an old-style archive.
25722 old_archive_cmds=$lt_old_archive_cmds_CXX
25723
25724 # A language specific compiler.
25725 CC=$lt_compiler_CXX
25726
25727 # Is the compiler the GNU compiler?
25728 with_gcc=$GCC_CXX
25729
25730 # Compiler flag to turn off builtin functions.
25731 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25732
25733 # Additional compiler flags for building library objects.
25734 pic_flag=$lt_lt_prog_compiler_pic_CXX
25735
25736 # How to pass a linker flag through the compiler.
25737 wl=$lt_lt_prog_compiler_wl_CXX
25738
25739 # Compiler flag to prevent dynamic linking.
25740 link_static_flag=$lt_lt_prog_compiler_static_CXX
25741
25742 # Does compiler simultaneously support -c and -o options?
25743 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25744
25745 # Whether or not to add -lc for building shared libraries.
25746 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25747
25748 # Whether or not to disallow shared libs when runtime libs are static.
25749 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25750
25751 # Compiler flag to allow reflexive dlopens.
25752 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25753
25754 # Compiler flag to generate shared objects directly from archives.
25755 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25756
25757 # Whether the compiler copes with passing no objects directly.
25758 compiler_needs_object=$lt_compiler_needs_object_CXX
25759
25760 # Create an old-style archive from a shared archive.
25761 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25762
25763 # Create a temporary old-style archive to link instead of a shared archive.
25764 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25765
25766 # Commands used to build a shared archive.
25767 archive_cmds=$lt_archive_cmds_CXX
25768 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25769
25770 # Commands used to build a loadable module if different from building
25771 # a shared archive.
25772 module_cmds=$lt_module_cmds_CXX
25773 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25774
25775 # Whether we are building with GNU ld or not.
25776 with_gnu_ld=$lt_with_gnu_ld_CXX
25777
25778 # Flag that allows shared libraries with undefined symbols to be built.
25779 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25780
25781 # Flag that enforces no undefined symbols.
25782 no_undefined_flag=$lt_no_undefined_flag_CXX
25783
25784 # Flag to hardcode \$libdir into a binary during linking.
25785 # This must work even if \$libdir does not exist
25786 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25787
25788 # If ld is used when linking, flag to hardcode \$libdir into a binary
25789 # during linking.  This must work even if \$libdir does not exist.
25790 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25791
25792 # Whether we need a single "-rpath" flag with a separated argument.
25793 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25794
25795 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25796 # DIR into the resulting binary.
25797 hardcode_direct=$hardcode_direct_CXX
25798
25799 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25800 # DIR into the resulting binary and the resulting library dependency is
25801 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25802 # library is relocated.
25803 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25804
25805 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25806 # into the resulting binary.
25807 hardcode_minus_L=$hardcode_minus_L_CXX
25808
25809 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25810 # into the resulting binary.
25811 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25812
25813 # Set to "yes" if building a shared library automatically hardcodes DIR
25814 # into the library and all subsequent libraries and executables linked
25815 # against it.
25816 hardcode_automatic=$hardcode_automatic_CXX
25817
25818 # Set to yes if linker adds runtime paths of dependent libraries
25819 # to runtime path list.
25820 inherit_rpath=$inherit_rpath_CXX
25821
25822 # Whether libtool must link a program against all its dependency libraries.
25823 link_all_deplibs=$link_all_deplibs_CXX
25824
25825 # Set to "yes" if exported symbols are required.
25826 always_export_symbols=$always_export_symbols_CXX
25827
25828 # The commands to list exported symbols.
25829 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25830
25831 # Symbols that should not be listed in the preloaded symbols.
25832 exclude_expsyms=$lt_exclude_expsyms_CXX
25833
25834 # Symbols that must always be exported.
25835 include_expsyms=$lt_include_expsyms_CXX
25836
25837 # Commands necessary for linking programs (against libraries) with templates.
25838 prelink_cmds=$lt_prelink_cmds_CXX
25839
25840 # Commands necessary for finishing linking programs.
25841 postlink_cmds=$lt_postlink_cmds_CXX
25842
25843 # Specify filename containing input files.
25844 file_list_spec=$lt_file_list_spec_CXX
25845
25846 # How to hardcode a shared library path into an executable.
25847 hardcode_action=$hardcode_action_CXX
25848
25849 # The directories searched by this compiler when creating a shared library.
25850 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25851
25852 # Dependencies to place before and after the objects being linked to
25853 # create a shared library.
25854 predep_objects=$lt_predep_objects_CXX
25855 postdep_objects=$lt_postdep_objects_CXX
25856 predeps=$lt_predeps_CXX
25857 postdeps=$lt_postdeps_CXX
25858
25859 # The library search path used internally by the compiler when linking
25860 # a shared library.
25861 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25862
25863 # ### END LIBTOOL TAG CONFIG: CXX
25864 _LT_EOF
25865
25866  ;;
25867     "Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25868  ;;
25869     "Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25870  ;;
25871     "Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25872  ;;
25873     "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25874  ;;
25875     "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25876      ;;
25877
25878   esac
25879 done # for ac_tag
25880
25881
25882 as_fn_exit 0
25883 _ACEOF
25884 ac_clean_files=$ac_clean_files_save
25885
25886 test $ac_write_fail = 0 ||
25887   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
25888
25889
25890 # configure is writing to config.log, and then calls config.status.
25891 # config.status does its own redirection, appending to config.log.
25892 # Unfortunately, on DOS this fails, as config.log is still kept open
25893 # by configure, so config.status won't be able to write to it; its
25894 # output is simply discarded.  So we exec the FD to /dev/null,
25895 # effectively closing config.log, so it can be properly (re)opened and
25896 # appended to by config.status.  When coming back to configure, we
25897 # need to make the FD available again.
25898 if test "$no_create" != yes; then
25899   ac_cs_success=:
25900   ac_config_status_args=
25901   test "$silent" = yes &&
25902     ac_config_status_args="$ac_config_status_args --quiet"
25903   exec 5>/dev/null
25904   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25905   exec 5>>config.log
25906   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25907   # would make configure fail if this is the last instruction.
25908   $ac_cs_success || as_fn_exit 1
25909 fi
25910 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25911   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25912 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25913 fi
25914
25915
25916 echo "
25917 WebKit was configured with the following options:
25918
25919 Build configuration:
25920  Enable debugging (slow)                                  : $enable_debug
25921  Compile with debug symbols (slow)                        : $enable_debug_symbols
25922  Enable debug features (slow)                             : $enable_debug_features
25923  Enable GCC build optimization                            : $enable_optimizations
25924  Code coverage support                                    : $enable_coverage
25925  Unicode backend                                          : $with_unicode_backend
25926  Font backend                                             : $with_font_backend
25927  Optimized memory allocator                               : $enable_fast_malloc
25928 Features:
25929  3D Rendering                                             : $enable_3d_rendering
25930  WebGL                                                    : $enable_webgl
25931  Blob support                                             : $enable_blob
25932  DeviceOrientation support                                : $enable_device_orientation
25933  Directory upload                                         : $enable_directory_upload
25934  Fast Mobile Scrolling                                    : $enable_fast_mobile_scrolling
25935  JIT compilation                                          : $enable_jit
25936  Filters support                                          : $enable_filters
25937  Geolocation support                                      : $enable_geolocation
25938  Client-based geolocation support                         : $enable_client_based_geolocation
25939  JavaScript debugger/profiler support                     : $enable_javascript_debugger
25940  MathML support                                           : $enable_mathml
25941  Media source                                             : $enable_media_source
25942  Media statistics                                         : $enable_media_statistics
25943  HTML5 offline web applications support                   : $enable_offline_web_applications
25944  HTML5 channel messaging support                          : $enable_channel_messaging
25945  HTML5 meter element support                              : $enable_meter_tag
25946  Page Visibility API support                              : $enable_page_visibility_api
25947  HTML5 progress element support                           : $enable_progress_tag
25948  HTML5 client-side session and persistent storage support : $enable_dom_storage
25949  SQL client-side database storage support                 : $enable_sql_database
25950  HTML5 datagrid support                                   : $enable_datagrid
25951  HTML5 data transfer items support                        : $enable_data_transfer_items
25952  HTML5 FileSystem API support                             : $enable_file_system
25953  Quota API support                                        : $enable_quota
25954  HTML5 sandboxed iframe support                           : $enable_sandbox
25955  HTML5 video element support                              : $enable_video
25956  HTML5 track element support                              : $enable_video_track
25957  Fullscreen API support                                   : $enable_fullscreen_api
25958  Media stream support                                     : $enable_media_stream
25959  Icon database support                                    : $enable_icon_database
25960  Image resizer support                                    : $enable_image_resizer
25961  Link prefetch support                                    : $enable_link_prefetch
25962  Opcode stats                                             : $enable_opcode_stats
25963  SharedWorkers support                                    : $enable_shared_workers
25964  Color input support                                      : $enable_input_color
25965  Speech input support                                     : $enable_input_speech
25966  SVG support                                              : $enable_svg
25967  SVG fonts support                                        : $enable_svg_fonts
25968  WCSS support                                             : $enable_wcss
25969  Web Audio support                                        : $enable_web_audio
25970  Web Sockets support                                      : $enable_web_sockets
25971  Web Timing support                                       : $enable_web_timing
25972  Web Workers support                                      : $enable_workers
25973  XHTML-MP support                                         : $enable_xhtmlmp
25974  XPATH support                                            : $enable_xpath
25975  XSLT support                                             : $enable_xslt
25976  Spellcheck support                                       : $enable_spellcheck
25977  Animation API                                            : $enable_animation_api
25978  Touch Icon Loading support                               : $enable_touch_icon_loading
25979  Register Protocol Handler support                        : $enable_register_protocol_handler
25980  WebKit2 support                                          : $enable_webkit2
25981  WebKit2 plugin process                                   : $enable_plugin_process
25982
25983 GTK+ configuration:
25984  GTK+ version                                             : $with_gtk
25985  GDK target                                               : $with_target
25986  Hildon UI extensions                                     : $with_hildon
25987  Introspection support                                    : $enable_introspection
25988 "
25989 if test "$with_unicode_backend" = "glib"; then
25990    echo "     >> WARNING: the glib-based unicode backend is slow and incomplete <<"
25991    echo
25992    echo
25993 fi