Fix segmentation fault bug.
[vuplus_webkit] / autom4te.cache / output.1
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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364 @%:@ must be portable across @S|@(()) 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 @S|@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 LIB@&t@OBJS=
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 LIB@&t@OBJS
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 GEOCLUE_LIBS
778 GEOCLUE_CFLAGS
779 LIBXSLT_LIBS
780 LIBXSLT_CFLAGS
781 SQLITE3_LIBS
782 SQLITE3_CFLAGS
783 FREETYPE_LIBS
784 FREETYPE_CFLAGS
785 LIBSOUP_LIBS
786 LIBSOUP_CFLAGS
787 G_IR_GENERATE
788 G_IR_COMPILER
789 G_IR_SCANNER
790 INTROSPECTION_LIBS
791 INTROSPECTION_CFLAGS
792 OPENGL_LIBS
793 XT_LIBS
794 XT_CFLAGS
795 GTK_LIBS
796 GTK_CFLAGS
797 CAIRO_LIBS
798 CAIRO_CFLAGS
799 GAIL_LIBS
800 GAIL_CFLAGS
801 ENCHANT_LIBS
802 ENCHANT_CFLAGS
803 PANGO_LIBS
804 PANGO_CFLAGS
805 LIBXML_LIBS
806 LIBXML_CFLAGS
807 GETTEXT_PACKAGE
808 ZLIB_LIBS
809 ZLIB_CFLAGS
810 UNICODE_LIBS
811 UNICODE_CFLAGS
812 icu_config
813 GSETTINGS_RULES
814 GLIB_COMPILE_SCHEMAS
815 gsettingsschemadir
816 GSETTINGS_DISABLE_SCHEMAS_COMPILE
817 GLIB_COMPILE_RESOURCES
818 GLIB_MKENUMS
819 GOBJECT_QUERY
820 GLIB_GENMARSHAL
821 GLIB_LIBS
822 GLIB_CFLAGS
823 HILDON_CPPFLAGS
824 HILDON_LIBS
825 HILDON_CFLAGS
826 PKG_CONFIG_LIBDIR
827 PKG_CONFIG_PATH
828 GTK_API_VERSION_2_FALSE
829 GTK_API_VERSION_2_TRUE
830 GTK_API_VERSION
831 WEBKITGTK_PC_NAME
832 WEBKITGTK_API_VERSION
833 WEBKITGTK_API_MINOR_VERSION
834 WEBKITGTK_API_MAJOR_VERSION
835 OLE32_LIBS
836 SHLWAPI_LIBS
837 WINMM_LIBS
838 PNG_LIBS
839 JPEG_LIBS
840 GPERF
841 FLEX
842 LTCXXCOMPILE
843 LTCOMPILE
844 DOLT_BASH
845 CXXCPP
846 OTOOL64
847 OTOOL
848 LIPO
849 NMEDIT
850 DSYMUTIL
851 MANIFEST_TOOL
852 RANLIB
853 ac_ct_AR
854 AR
855 LN_S
856 NM
857 ac_ct_DUMPBIN
858 DUMPBIN
859 LD
860 FGREP
861 SED
862 LIBTOOL
863 OBJDUMP
864 DLLTOOL
865 AS
866 EGREP
867 GREP
868 CPP
869 am__fastdepCXX_FALSE
870 am__fastdepCXX_TRUE
871 CXXDEPMODE
872 ac_ct_CXX
873 CXXFLAGS
874 CXX
875 MV
876 BISON
877 PYTHON
878 PERL
879 PKG_CONFIG
880 SYMBOL_VISIBILITY_INLINES
881 SYMBOL_VISIBILITY
882 am__fastdepCC_FALSE
883 am__fastdepCC_TRUE
884 CCDEPMODE
885 am__nodep
886 AMDEPBACKSLASH
887 AMDEP_FALSE
888 AMDEP_TRUE
889 am__quote
890 am__include
891 DEPDIR
892 OBJEXT
893 EXEEXT
894 ac_ct_CC
895 CPPFLAGS
896 LDFLAGS
897 CFLAGS
898 CC
899 AM_BACKSLASH
900 AM_DEFAULT_VERBOSITY
901 AM_DEFAULT_V
902 AM_V
903 am__untar
904 am__tar
905 AMTAR
906 am__leading_dot
907 SET_MAKE
908 AWK
909 mkdir_p
910 MKDIR_P
911 INSTALL_STRIP_PROGRAM
912 STRIP
913 install_sh
914 MAKEINFO
915 AUTOHEADER
916 AUTOMAKE
917 AUTOCONF
918 ACLOCAL
919 VERSION
920 PACKAGE
921 CYGPATH_W
922 am__isrc
923 INSTALL_DATA
924 INSTALL_SCRIPT
925 INSTALL_PROGRAM
926 LIBWEBKITGTK_VERSION
927 WEBKIT_USER_AGENT_MINOR_VERSION
928 WEBKIT_USER_AGENT_MAJOR_VERSION
929 WEBKIT_MICRO_VERSION
930 WEBKIT_MINOR_VERSION
931 WEBKIT_MAJOR_VERSION
932 host_os
933 host_vendor
934 host_cpu
935 host
936 build_os
937 build_vendor
938 build_cpu
939 build
940 ACLOCAL_AMFLAGS
941 target_alias
942 host_alias
943 build_alias
944 LIBS
945 ECHO_T
946 ECHO_N
947 ECHO_C
948 DEFS
949 mandir
950 localedir
951 libdir
952 psdir
953 pdfdir
954 dvidir
955 htmldir
956 infodir
957 docdir
958 oldincludedir
959 includedir
960 localstatedir
961 sharedstatedir
962 sysconfdir
963 datadir
964 datarootdir
965 libexecdir
966 sbindir
967 bindir
968 program_transform_name
969 prefix
970 exec_prefix
971 PACKAGE_URL
972 PACKAGE_BUGREPORT
973 PACKAGE_STRING
974 PACKAGE_VERSION
975 PACKAGE_TARNAME
976 PACKAGE_NAME
977 PATH_SEPARATOR
978 SHELL'
979 ac_subst_files=''
980 ac_user_opts='
981 enable_option_checking
982 enable_silent_rules
983 enable_dependency_tracking
984 enable_largefile
985 enable_static
986 enable_shared
987 with_pic
988 enable_fast_install
989 with_gnu_ld
990 with_sysroot
991 enable_libtool_lock
992 with_gtk
993 with_target
994 with_hildon
995 enable_glibtest
996 enable_schemas_compile
997 with_unicode_backend
998 enable_spellcheck
999 enable_debug
1000 enable_optimizations
1001 enable_3d_rendering
1002 enable_webgl
1003 enable_channel_messaging
1004 enable_notifications
1005 enable_meter_tag
1006 enable_page_visibility_api
1007 enable_progress_tag
1008 enable_javascript_debugger
1009 enable_datagrid
1010 enable_data_transfer_items
1011 enable_offline_web_applications
1012 enable_dom_storage
1013 enable_indexed_database
1014 enable_input_color
1015 enable_input_speech
1016 enable_sql_database
1017 enable_icon_database
1018 enable_image_resizer
1019 enable_datalist
1020 enable_sandbox
1021 enable_video
1022 enable_video_track
1023 enable_media_source
1024 enable_media_statistics
1025 enable_fullscreen_api
1026 enable_media_stream
1027 enable_xhtmlmp
1028 enable_xpath
1029 enable_xslt
1030 enable_geolocation
1031 enable_client_based_geolocation
1032 enable_mathml
1033 enable_svg
1034 enable_wcss
1035 enable_shared_workers
1036 enable_workers
1037 enable_directory_upload
1038 enable_file_system
1039 enable_quota
1040 enable_filters
1041 enable_svg_fonts
1042 enable_web_sockets
1043 enable_web_audio
1044 enable_web_timing
1045 enable_blob
1046 enable_fast_mobile_scrolling
1047 enable_coverage
1048 enable_fast_malloc
1049 enable_debug_symbols
1050 enable_debug_features
1051 enable_jit
1052 enable_opcode_stats
1053 enable_link_prefetch
1054 enable_introspection
1055 enable_animation_api
1056 enable_touch_icon_loading
1057 enable_register_protocol_handler
1058 enable_device_orientation
1059 with_font_backend
1060 enable_webkit2
1061 enable_plugin_process
1062 '
1063       ac_precious_vars='build_alias
1064 host_alias
1065 target_alias
1066 CC
1067 CFLAGS
1068 LDFLAGS
1069 LIBS
1070 CPPFLAGS
1071 CXX
1072 CXXFLAGS
1073 CCC
1074 CPP
1075 CXXCPP
1076 PKG_CONFIG
1077 PKG_CONFIG_PATH
1078 PKG_CONFIG_LIBDIR
1079 HILDON_CFLAGS
1080 HILDON_LIBS
1081 UNICODE_CFLAGS
1082 UNICODE_LIBS
1083 ZLIB_CFLAGS
1084 ZLIB_LIBS
1085 LIBXML_CFLAGS
1086 LIBXML_LIBS
1087 PANGO_CFLAGS
1088 PANGO_LIBS
1089 ENCHANT_CFLAGS
1090 ENCHANT_LIBS
1091 GAIL_CFLAGS
1092 GAIL_LIBS
1093 CAIRO_CFLAGS
1094 CAIRO_LIBS
1095 GTK_CFLAGS
1096 GTK_LIBS
1097 XT_CFLAGS
1098 XT_LIBS
1099 INTROSPECTION_CFLAGS
1100 INTROSPECTION_LIBS
1101 LIBSOUP_CFLAGS
1102 LIBSOUP_LIBS
1103 FREETYPE_CFLAGS
1104 FREETYPE_LIBS
1105 SQLITE3_CFLAGS
1106 SQLITE3_LIBS
1107 LIBXSLT_CFLAGS
1108 LIBXSLT_LIBS
1109 GEOCLUE_CFLAGS
1110 GEOCLUE_LIBS
1111 GTK2_CFLAGS
1112 GTK2_LIBS'
1113
1114
1115 # Initialize some variables set by options.
1116 ac_init_help=
1117 ac_init_version=false
1118 ac_unrecognized_opts=
1119 ac_unrecognized_sep=
1120 # The variables have the same names as the options, with
1121 # dashes changed to underlines.
1122 cache_file=/dev/null
1123 exec_prefix=NONE
1124 no_create=
1125 no_recursion=
1126 prefix=NONE
1127 program_prefix=NONE
1128 program_suffix=NONE
1129 program_transform_name=s,x,x,
1130 silent=
1131 site=
1132 srcdir=
1133 verbose=
1134 x_includes=NONE
1135 x_libraries=NONE
1136
1137 # Installation directory options.
1138 # These are left unexpanded so users can "make install exec_prefix=/foo"
1139 # and all the variables that are supposed to be based on exec_prefix
1140 # by default will actually change.
1141 # Use braces instead of parens because sh, perl, etc. also accept them.
1142 # (The list follows the same order as the GNU Coding Standards.)
1143 bindir='${exec_prefix}/bin'
1144 sbindir='${exec_prefix}/sbin'
1145 libexecdir='${exec_prefix}/libexec'
1146 datarootdir='${prefix}/share'
1147 datadir='${datarootdir}'
1148 sysconfdir='${prefix}/etc'
1149 sharedstatedir='${prefix}/com'
1150 localstatedir='${prefix}/var'
1151 includedir='${prefix}/include'
1152 oldincludedir='/usr/include'
1153 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1154 infodir='${datarootdir}/info'
1155 htmldir='${docdir}'
1156 dvidir='${docdir}'
1157 pdfdir='${docdir}'
1158 psdir='${docdir}'
1159 libdir='${exec_prefix}/lib'
1160 localedir='${datarootdir}/locale'
1161 mandir='${datarootdir}/man'
1162
1163 ac_prev=
1164 ac_dashdash=
1165 for ac_option
1166 do
1167   # If the previous option needs an argument, assign it.
1168   if test -n "$ac_prev"; then
1169     eval $ac_prev=\$ac_option
1170     ac_prev=
1171     continue
1172   fi
1173
1174   case $ac_option in
1175   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1176   *=)   ac_optarg= ;;
1177   *)    ac_optarg=yes ;;
1178   esac
1179
1180   # Accept the important Cygnus configure options, so we can diagnose typos.
1181
1182   case $ac_dashdash$ac_option in
1183   --)
1184     ac_dashdash=yes ;;
1185
1186   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1187     ac_prev=bindir ;;
1188   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1189     bindir=$ac_optarg ;;
1190
1191   -build | --build | --buil | --bui | --bu)
1192     ac_prev=build_alias ;;
1193   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1194     build_alias=$ac_optarg ;;
1195
1196   -cache-file | --cache-file | --cache-fil | --cache-fi \
1197   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1198     ac_prev=cache_file ;;
1199   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1200   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1201     cache_file=$ac_optarg ;;
1202
1203   --config-cache | -C)
1204     cache_file=config.cache ;;
1205
1206   -datadir | --datadir | --datadi | --datad)
1207     ac_prev=datadir ;;
1208   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1209     datadir=$ac_optarg ;;
1210
1211   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1212   | --dataroo | --dataro | --datar)
1213     ac_prev=datarootdir ;;
1214   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1215   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1216     datarootdir=$ac_optarg ;;
1217
1218   -disable-* | --disable-*)
1219     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1220     # Reject names that are not valid shell variable names.
1221     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222       as_fn_error $? "invalid feature name: $ac_useropt"
1223     ac_useropt_orig=$ac_useropt
1224     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225     case $ac_user_opts in
1226       *"
1227 "enable_$ac_useropt"
1228 "*) ;;
1229       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1230          ac_unrecognized_sep=', ';;
1231     esac
1232     eval enable_$ac_useropt=no ;;
1233
1234   -docdir | --docdir | --docdi | --doc | --do)
1235     ac_prev=docdir ;;
1236   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1237     docdir=$ac_optarg ;;
1238
1239   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1240     ac_prev=dvidir ;;
1241   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1242     dvidir=$ac_optarg ;;
1243
1244   -enable-* | --enable-*)
1245     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1246     # Reject names that are not valid shell variable names.
1247     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248       as_fn_error $? "invalid feature name: $ac_useropt"
1249     ac_useropt_orig=$ac_useropt
1250     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251     case $ac_user_opts in
1252       *"
1253 "enable_$ac_useropt"
1254 "*) ;;
1255       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1256          ac_unrecognized_sep=', ';;
1257     esac
1258     eval enable_$ac_useropt=\$ac_optarg ;;
1259
1260   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1261   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1262   | --exec | --exe | --ex)
1263     ac_prev=exec_prefix ;;
1264   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1265   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1266   | --exec=* | --exe=* | --ex=*)
1267     exec_prefix=$ac_optarg ;;
1268
1269   -gas | --gas | --ga | --g)
1270     # Obsolete; use --with-gas.
1271     with_gas=yes ;;
1272
1273   -help | --help | --hel | --he | -h)
1274     ac_init_help=long ;;
1275   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1276     ac_init_help=recursive ;;
1277   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1278     ac_init_help=short ;;
1279
1280   -host | --host | --hos | --ho)
1281     ac_prev=host_alias ;;
1282   -host=* | --host=* | --hos=* | --ho=*)
1283     host_alias=$ac_optarg ;;
1284
1285   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1286     ac_prev=htmldir ;;
1287   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1288   | --ht=*)
1289     htmldir=$ac_optarg ;;
1290
1291   -includedir | --includedir | --includedi | --included | --include \
1292   | --includ | --inclu | --incl | --inc)
1293     ac_prev=includedir ;;
1294   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1295   | --includ=* | --inclu=* | --incl=* | --inc=*)
1296     includedir=$ac_optarg ;;
1297
1298   -infodir | --infodir | --infodi | --infod | --info | --inf)
1299     ac_prev=infodir ;;
1300   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1301     infodir=$ac_optarg ;;
1302
1303   -libdir | --libdir | --libdi | --libd)
1304     ac_prev=libdir ;;
1305   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1306     libdir=$ac_optarg ;;
1307
1308   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1309   | --libexe | --libex | --libe)
1310     ac_prev=libexecdir ;;
1311   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1312   | --libexe=* | --libex=* | --libe=*)
1313     libexecdir=$ac_optarg ;;
1314
1315   -localedir | --localedir | --localedi | --localed | --locale)
1316     ac_prev=localedir ;;
1317   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1318     localedir=$ac_optarg ;;
1319
1320   -localstatedir | --localstatedir | --localstatedi | --localstated \
1321   | --localstate | --localstat | --localsta | --localst | --locals)
1322     ac_prev=localstatedir ;;
1323   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1324   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1325     localstatedir=$ac_optarg ;;
1326
1327   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1328     ac_prev=mandir ;;
1329   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1330     mandir=$ac_optarg ;;
1331
1332   -nfp | --nfp | --nf)
1333     # Obsolete; use --without-fp.
1334     with_fp=no ;;
1335
1336   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1337   | --no-cr | --no-c | -n)
1338     no_create=yes ;;
1339
1340   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1341   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1342     no_recursion=yes ;;
1343
1344   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1345   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1346   | --oldin | --oldi | --old | --ol | --o)
1347     ac_prev=oldincludedir ;;
1348   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1349   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1350   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1351     oldincludedir=$ac_optarg ;;
1352
1353   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1354     ac_prev=prefix ;;
1355   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1356     prefix=$ac_optarg ;;
1357
1358   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1359   | --program-pre | --program-pr | --program-p)
1360     ac_prev=program_prefix ;;
1361   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1362   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1363     program_prefix=$ac_optarg ;;
1364
1365   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1366   | --program-suf | --program-su | --program-s)
1367     ac_prev=program_suffix ;;
1368   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1369   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1370     program_suffix=$ac_optarg ;;
1371
1372   -program-transform-name | --program-transform-name \
1373   | --program-transform-nam | --program-transform-na \
1374   | --program-transform-n | --program-transform- \
1375   | --program-transform | --program-transfor \
1376   | --program-transfo | --program-transf \
1377   | --program-trans | --program-tran \
1378   | --progr-tra | --program-tr | --program-t)
1379     ac_prev=program_transform_name ;;
1380   -program-transform-name=* | --program-transform-name=* \
1381   | --program-transform-nam=* | --program-transform-na=* \
1382   | --program-transform-n=* | --program-transform-=* \
1383   | --program-transform=* | --program-transfor=* \
1384   | --program-transfo=* | --program-transf=* \
1385   | --program-trans=* | --program-tran=* \
1386   | --progr-tra=* | --program-tr=* | --program-t=*)
1387     program_transform_name=$ac_optarg ;;
1388
1389   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1390     ac_prev=pdfdir ;;
1391   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1392     pdfdir=$ac_optarg ;;
1393
1394   -psdir | --psdir | --psdi | --psd | --ps)
1395     ac_prev=psdir ;;
1396   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1397     psdir=$ac_optarg ;;
1398
1399   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400   | -silent | --silent | --silen | --sile | --sil)
1401     silent=yes ;;
1402
1403   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1404     ac_prev=sbindir ;;
1405   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1406   | --sbi=* | --sb=*)
1407     sbindir=$ac_optarg ;;
1408
1409   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1410   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1411   | --sharedst | --shareds | --shared | --share | --shar \
1412   | --sha | --sh)
1413     ac_prev=sharedstatedir ;;
1414   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1415   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1416   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1417   | --sha=* | --sh=*)
1418     sharedstatedir=$ac_optarg ;;
1419
1420   -site | --site | --sit)
1421     ac_prev=site ;;
1422   -site=* | --site=* | --sit=*)
1423     site=$ac_optarg ;;
1424
1425   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1426     ac_prev=srcdir ;;
1427   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1428     srcdir=$ac_optarg ;;
1429
1430   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1431   | --syscon | --sysco | --sysc | --sys | --sy)
1432     ac_prev=sysconfdir ;;
1433   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1434   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1435     sysconfdir=$ac_optarg ;;
1436
1437   -target | --target | --targe | --targ | --tar | --ta | --t)
1438     ac_prev=target_alias ;;
1439   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1440     target_alias=$ac_optarg ;;
1441
1442   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1443     verbose=yes ;;
1444
1445   -version | --version | --versio | --versi | --vers | -V)
1446     ac_init_version=: ;;
1447
1448   -with-* | --with-*)
1449     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1450     # Reject names that are not valid shell variable names.
1451     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1452       as_fn_error $? "invalid package name: $ac_useropt"
1453     ac_useropt_orig=$ac_useropt
1454     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1455     case $ac_user_opts in
1456       *"
1457 "with_$ac_useropt"
1458 "*) ;;
1459       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1460          ac_unrecognized_sep=', ';;
1461     esac
1462     eval with_$ac_useropt=\$ac_optarg ;;
1463
1464   -without-* | --without-*)
1465     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1466     # Reject names that are not valid shell variable names.
1467     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1468       as_fn_error $? "invalid package name: $ac_useropt"
1469     ac_useropt_orig=$ac_useropt
1470     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1471     case $ac_user_opts in
1472       *"
1473 "with_$ac_useropt"
1474 "*) ;;
1475       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1476          ac_unrecognized_sep=', ';;
1477     esac
1478     eval with_$ac_useropt=no ;;
1479
1480   --x)
1481     # Obsolete; use --with-x.
1482     with_x=yes ;;
1483
1484   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1485   | --x-incl | --x-inc | --x-in | --x-i)
1486     ac_prev=x_includes ;;
1487   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1488   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1489     x_includes=$ac_optarg ;;
1490
1491   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1492   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1493     ac_prev=x_libraries ;;
1494   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1495   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1496     x_libraries=$ac_optarg ;;
1497
1498   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1499 Try \`$0 --help' for more information"
1500     ;;
1501
1502   *=*)
1503     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1504     # Reject names that are not valid shell variable names.
1505     case $ac_envvar in #(
1506       '' | [0-9]* | *[!_$as_cr_alnum]* )
1507       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1508     esac
1509     eval $ac_envvar=\$ac_optarg
1510     export $ac_envvar ;;
1511
1512   *)
1513     # FIXME: should be removed in autoconf 3.0.
1514     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1515     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1516       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1517     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1518     ;;
1519
1520   esac
1521 done
1522
1523 if test -n "$ac_prev"; then
1524   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1525   as_fn_error $? "missing argument to $ac_option"
1526 fi
1527
1528 if test -n "$ac_unrecognized_opts"; then
1529   case $enable_option_checking in
1530     no) ;;
1531     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1532     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1533   esac
1534 fi
1535
1536 # Check all directory arguments for consistency.
1537 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1538                 datadir sysconfdir sharedstatedir localstatedir includedir \
1539                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1540                 libdir localedir mandir
1541 do
1542   eval ac_val=\$$ac_var
1543   # Remove trailing slashes.
1544   case $ac_val in
1545     */ )
1546       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1547       eval $ac_var=\$ac_val;;
1548   esac
1549   # Be sure to have absolute directory names.
1550   case $ac_val in
1551     [\\/$]* | ?:[\\/]* )  continue;;
1552     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1553   esac
1554   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1555 done
1556
1557 # There might be people who depend on the old broken behavior: `$host'
1558 # used to hold the argument of --host etc.
1559 # FIXME: To remove some day.
1560 build=$build_alias
1561 host=$host_alias
1562 target=$target_alias
1563
1564 # FIXME: To remove some day.
1565 if test "x$host_alias" != x; then
1566   if test "x$build_alias" = x; then
1567     cross_compiling=maybe
1568     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1569     If a cross compiler is detected then cross compile mode will be used" >&2
1570   elif test "x$build_alias" != "x$host_alias"; then
1571     cross_compiling=yes
1572   fi
1573 fi
1574
1575 ac_tool_prefix=
1576 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1577
1578 test "$silent" = yes && exec 6>/dev/null
1579
1580
1581 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1582 ac_ls_di=`ls -di .` &&
1583 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1584   as_fn_error $? "working directory cannot be determined"
1585 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1586   as_fn_error $? "pwd does not report name of working directory"
1587
1588
1589 # Find the source files, if location was not specified.
1590 if test -z "$srcdir"; then
1591   ac_srcdir_defaulted=yes
1592   # Try the directory containing this script, then the parent directory.
1593   ac_confdir=`$as_dirname -- "$as_myself" ||
1594 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1595          X"$as_myself" : 'X\(//\)[^/]' \| \
1596          X"$as_myself" : 'X\(//\)$' \| \
1597          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1598 $as_echo X"$as_myself" |
1599     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1600             s//\1/
1601             q
1602           }
1603           /^X\(\/\/\)[^/].*/{
1604             s//\1/
1605             q
1606           }
1607           /^X\(\/\/\)$/{
1608             s//\1/
1609             q
1610           }
1611           /^X\(\/\).*/{
1612             s//\1/
1613             q
1614           }
1615           s/.*/./; q'`
1616   srcdir=$ac_confdir
1617   if test ! -r "$srcdir/$ac_unique_file"; then
1618     srcdir=..
1619   fi
1620 else
1621   ac_srcdir_defaulted=no
1622 fi
1623 if test ! -r "$srcdir/$ac_unique_file"; then
1624   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1625   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1626 fi
1627 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1628 ac_abs_confdir=`(
1629         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1630         pwd)`
1631 # When building in place, set srcdir=.
1632 if test "$ac_abs_confdir" = "$ac_pwd"; then
1633   srcdir=.
1634 fi
1635 # Remove unnecessary trailing slashes from srcdir.
1636 # Double slashes in file names in object file debugging info
1637 # mess up M-x gdb in Emacs.
1638 case $srcdir in
1639 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1640 esac
1641 for ac_var in $ac_precious_vars; do
1642   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1643   eval ac_env_${ac_var}_value=\$${ac_var}
1644   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1645   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1646 done
1647
1648 #
1649 # Report the --help message.
1650 #
1651 if test "$ac_init_help" = "long"; then
1652   # Omit some internal or obsolete options to make the list less imposing.
1653   # This message is too long to be a string in the A/UX 3.1 sh.
1654   cat <<_ACEOF
1655 \`configure' configures WebKit 1.6.1 to adapt to many kinds of systems.
1656
1657 Usage: $0 [OPTION]... [VAR=VALUE]...
1658
1659 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1660 VAR=VALUE.  See below for descriptions of some of the useful variables.
1661
1662 Defaults for the options are specified in brackets.
1663
1664 Configuration:
1665   -h, --help              display this help and exit
1666       --help=short        display options specific to this package
1667       --help=recursive    display the short help of all the included packages
1668   -V, --version           display version information and exit
1669   -q, --quiet, --silent   do not print \`checking ...' messages
1670       --cache-file=FILE   cache test results in FILE [disabled]
1671   -C, --config-cache      alias for \`--cache-file=config.cache'
1672   -n, --no-create         do not create output files
1673       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1674
1675 Installation directories:
1676   --prefix=PREFIX         install architecture-independent files in PREFIX
1677                           @<:@@S|@ac_default_prefix@:>@
1678   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1679                           @<:@PREFIX@:>@
1680
1681 By default, \`make install' will install all the files in
1682 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1683 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1684 for instance \`--prefix=\$HOME'.
1685
1686 For better control, use the options below.
1687
1688 Fine tuning of the installation directories:
1689   --bindir=DIR            user executables [EPREFIX/bin]
1690   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1691   --libexecdir=DIR        program executables [EPREFIX/libexec]
1692   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1693   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1694   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1695   --libdir=DIR            object code libraries [EPREFIX/lib]
1696   --includedir=DIR        C header files [PREFIX/include]
1697   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1698   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1699   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1700   --infodir=DIR           info documentation [DATAROOTDIR/info]
1701   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1702   --mandir=DIR            man documentation [DATAROOTDIR/man]
1703   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/webkit@:>@
1704   --htmldir=DIR           html documentation [DOCDIR]
1705   --dvidir=DIR            dvi documentation [DOCDIR]
1706   --pdfdir=DIR            pdf documentation [DOCDIR]
1707   --psdir=DIR             ps documentation [DOCDIR]
1708 _ACEOF
1709
1710   cat <<\_ACEOF
1711
1712 Program names:
1713   --program-prefix=PREFIX            prepend PREFIX to installed program names
1714   --program-suffix=SUFFIX            append SUFFIX to installed program names
1715   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1716
1717 System types:
1718   --build=BUILD     configure for building on BUILD [guessed]
1719   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1720 _ACEOF
1721 fi
1722
1723 if test -n "$ac_init_help"; then
1724   case $ac_init_help in
1725      short | recursive ) echo "Configuration of WebKit 1.6.1:";;
1726    esac
1727   cat <<\_ACEOF
1728
1729 Optional Features:
1730   --disable-option-checking  ignore unrecognized --enable/--with options
1731   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1732   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1733   --enable-silent-rules          less verbose build output (undo: `make V=1')
1734   --disable-silent-rules         verbose build output (undo: `make V=0')
1735   --disable-dependency-tracking  speeds up one-time build
1736   --enable-dependency-tracking   do not reject slow dependency extractors
1737   --disable-largefile     omit support for large files
1738   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
1739   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1740   --enable-fast-install@<:@=PKGS@:>@ 
1741                           optimize for fast installation @<:@default=yes@:>@
1742   --disable-libtool-lock  avoid locking (might break parallel builds)
1743   --disable-glibtest      do not try to compile and run a test GLIB program
1744   --disable-schemas-compile 
1745                           Disable regeneration of gschemas.compiled on install
1746   --enable-spellcheck     enable support for spellcheck
1747   --enable-debug          turn on debugging @<:@default=no@:>@
1748   --enable-optimizations  turn on optimize builds (GCC only) @<:@default=yes@:>@
1749   --enable-3d-rendering   enable support for 3D Rendering (experimental)
1750                           @<:@default=no@:>@
1751   --enable-webgl          enable support for WebGL (experimental) @<:@default=no@:>@
1752   --enable-channel-messaging 
1753                           enable HTML5 channel messaging support @<:@default=yes@:>@
1754   --enable-notifications  enable notifications @<:@default=no@:>@
1755   --enable-meter-tag      enable HTML5 meter @<:@default=yes@:>@
1756   --enable-page-visibility-api 
1757                           enable page visibility api@<:@default=no@:>@
1758   --enable-progress-tag   enable HTML5 progress @<:@default=yes@:>@
1759   --enable-javascript-debugger 
1760                           enable JavaScript debugger/profiler support
1761                           @<:@default=yes@:>@
1762   --enable-datagrid       enable HTML5 datagrid support @<:@default=no@:>@
1763   --enable-data-transfer-items 
1764                           enable HTML5 data transfer items support
1765                           @<:@default=no@:>@
1766   --enable-offline-web-applications 
1767                           enable HTML5 offline web applications support
1768                           @<:@default=yes@:>@
1769   --enable-dom-storage    enable HTML5 client-side session and persistent
1770                           storage support @<:@default=yes@:>@
1771   --enable-indexed-database 
1772                           enable the indexed database API @<:@default=no@:>@
1773   --enable-input-color    enable the color input @<:@default=no@:>@
1774   --enable-input-speech   enable the speech input API @<:@default=no@:>@
1775   --enable-sql-database   enable SQL client-side database storage support
1776                           @<:@default=yes@:>@
1777   --enable-icon-database  enable icon database @<:@default=yes@:>@
1778   --enable-image-resizer  enable image resizer @<:@default=no@:>@
1779   --enable-datalist       enable HTML5 datalist support @<:@default=yes@:>@
1780   --enable-sandbox        enable HTML5 sandboxed iframe support @<:@default=yes@:>@
1781   --enable-video          enable HTML5 video support @<:@default=yes@:>@
1782   --enable-elis-media     enable Elis Media support @<:@default=no@:>@
1783   --enable-video-track    enable HTML5 video track support @<:@default=yes@:>@
1784   --enable-media-source   enable support for media source @<:@default=no@:>@
1785   --enable-media-statistics 
1786                           enable support for media statistics @<:@default=no@:>@
1787   --enable-fullscreen-api enable the Fullscreen API support @<:@default=yes@:>@
1788   --enable-media-stream   enable media stream support (incomplete)
1789                           @<:@default=no@:>@
1790   --enable-xhtmlmp        enable support for XHTML-MP @<:@default=no@:>@
1791   --enable-xpath          enable support for XPath @<:@default=yes@:>@
1792   --enable-xslt           enable support for XSLT @<:@default=yes@:>@
1793   --enable-geolocation    enable support for geolocation @<:@default=no@:>@
1794   --enable-client-based-geolocation 
1795                           enable support for client-based geolocation
1796                           @<:@default=no@:>@
1797   --enable-mathml         enable support for MathML @<:@default=no@:>@
1798   --enable-svg            enable support for SVG @<:@default=yes@:>@
1799   --enable-wcss           enable support for WCSS @<:@default=no@:>@
1800   --enable-shared-workers enable support for SharedWorkers @<:@default=yes@:>@
1801   --enable-workers        enable support for Web Workers @<:@default=yes@:>@
1802   --enable-directory-upload 
1803                           enable support for directory upload @<:@default=no@:>@
1804   --enable-file-system    enable support for HTML5 FileSystem API @<:@default=no@:>@
1805   --enable-quota          enable support for Quota API @<:@default=no@:>@
1806   --enable-filters        enable support for filters (experimental)
1807                           @<:@default=yes@:>@
1808   --enable-svg-fonts      enable support for SVG fonts (experimental)
1809                           @<:@default=yes@:>@
1810   --enable-web-sockets    enable support for Web Sockets @<:@default=yes@:>@
1811   --enable-web-audio      enable support for Web Audio @<:@default=no@:>@
1812   --enable-web-timing     enable support for Web Timing @<:@default=no@:>@
1813   --enable-blob           enable support for Blob @<:@default=yes@:>@
1814   --enable-fast-mobile-scrolling 
1815                           enable support for Fast Mobile Scrolling
1816                           @<:@default=no@:>@
1817   --enable-coverage       enable code coverage support @<:@default=no@:>@
1818   --enable-fast-malloc    enable optimized memory allocator default=yes,
1819                           default=no for debug builds
1820   --enable-debug-symbols  enable debug symbols default=no, default=yes for
1821                           debug builds
1822   --enable-debug-features enable debug features default=no, default=yes for
1823                           debug builds
1824   --enable-jit            Enable JIT compilation default=yes
1825   --enable-opcode-stats   Enable Opcode statistics (default: disabled)
1826   --enable-link-prefetch  Enable Link prefetch support (default: disabled)
1827   --enable-introspection  Enable GObject introspection (default: disabled)
1828   --enable-animation-api  enable support for Animation API (experimental)
1829                           @<:@default=no@:>@
1830   --enable-touch-icon-loading 
1831                           enable support for loading touch icons @<:@default=no@:>@
1832   --enable-register-protocol-handler 
1833                           enable support for Register Protocol Handler
1834                           (experimental) @<:@default=no@:>@
1835   --enable-device-orientation 
1836                           enable support for DeviceOrientation (experimental
1837                           and incomplete) @<:@default=no@:>@
1838   --enable-webkit2        build webkit2 @<:@default=no@:>@
1839   --enable-plugin-process build plugin process for WebKit2 @<:@default=yes@:>@
1840
1841 Optional Packages:
1842   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1843   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1844   --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1845                           both@:>@
1846   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1847   --with-sysroot=DIR Search for dependent libraries within DIR
1848                         (or the compiler's sysroot if not specified).
1849   --with-gtk=2.0|3.0      the GTK+ version to use (default: 3.0)
1850   --with-target=@<:@x11/win32/quartz/directfb@:>@ 
1851                           Select webkit target @<:@default=x11@:>@
1852   --with-hildon           Use Hildon UI extensions @<:@default=no@:>@
1853   --with-unicode-backend=@<:@icu/glib@:>@ 
1854                           Select Unicode backend (WARNING: the glib-based
1855                           backend is slow, and incomplete) @<:@default=icu@:>@
1856   --with-font-backend=@<:@freetype/pango@:>@ 
1857                           Select font backend @<:@default=freetype@:>@
1858
1859 Some influential environment variables:
1860   CC          C compiler command
1861   CFLAGS      C compiler flags
1862   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1863               nonstandard directory <lib dir>
1864   LIBS        libraries to pass to the linker, e.g. -l<library>
1865   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1866               you have headers in a nonstandard directory <include dir>
1867   CXX         C++ compiler command
1868   CXXFLAGS    C++ compiler flags
1869   CPP         C preprocessor
1870   CXXCPP      C++ preprocessor
1871   PKG_CONFIG  path to pkg-config utility
1872   PKG_CONFIG_PATH 
1873               directories to add to pkg-config's search path
1874   PKG_CONFIG_LIBDIR 
1875               path overriding pkg-config's built-in search path
1876   HILDON_CFLAGS 
1877               C compiler flags for HILDON, overriding pkg-config
1878   HILDON_LIBS linker flags for HILDON, overriding pkg-config
1879   UNICODE_CFLAGS 
1880               C compiler flags for UNICODE, overriding pkg-config
1881   UNICODE_LIBS 
1882               linker flags for UNICODE, overriding pkg-config
1883   ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
1884   ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
1885   LIBXML_CFLAGS 
1886               C compiler flags for LIBXML, overriding pkg-config
1887   LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1888   PANGO_CFLAGS 
1889               C compiler flags for PANGO, overriding pkg-config
1890   PANGO_LIBS  linker flags for PANGO, overriding pkg-config
1891   ENCHANT_CFLAGS 
1892               C compiler flags for ENCHANT, overriding pkg-config
1893   ENCHANT_LIBS 
1894               linker flags for ENCHANT, overriding pkg-config
1895   GAIL_CFLAGS C compiler flags for GAIL, overriding pkg-config
1896   GAIL_LIBS   linker flags for GAIL, overriding pkg-config
1897   CAIRO_CFLAGS 
1898               C compiler flags for CAIRO, overriding pkg-config
1899   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1900   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1901   GTK_LIBS    linker flags for GTK, overriding pkg-config
1902   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
1903   XT_LIBS     linker flags for XT, overriding pkg-config
1904   INTROSPECTION_CFLAGS 
1905               C compiler flags for INTROSPECTION, overriding pkg-config
1906   INTROSPECTION_LIBS 
1907               linker flags for INTROSPECTION, overriding pkg-config
1908   LIBSOUP_CFLAGS 
1909               C compiler flags for LIBSOUP, overriding pkg-config
1910   LIBSOUP_LIBS 
1911               linker flags for LIBSOUP, overriding pkg-config
1912   FREETYPE_CFLAGS 
1913               C compiler flags for FREETYPE, overriding pkg-config
1914   FREETYPE_LIBS 
1915               linker flags for FREETYPE, overriding pkg-config
1916   SQLITE3_CFLAGS 
1917               C compiler flags for SQLITE3, overriding pkg-config
1918   SQLITE3_LIBS 
1919               linker flags for SQLITE3, overriding pkg-config
1920   LIBXSLT_CFLAGS 
1921               C compiler flags for LIBXSLT, overriding pkg-config
1922   LIBXSLT_LIBS 
1923               linker flags for LIBXSLT, overriding pkg-config
1924   GEOCLUE_CFLAGS 
1925               C compiler flags for GEOCLUE, overriding pkg-config
1926   GEOCLUE_LIBS 
1927               linker flags for GEOCLUE, overriding pkg-config
1928   GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1929   GTK2_LIBS   linker flags for GTK2, overriding pkg-config
1930
1931 Use these variables to override the choices made by `configure' or to help
1932 it to find libraries and programs with nonstandard names/locations.
1933
1934 Report bugs to <http://bugs.webkit.org/>.
1935 _ACEOF
1936 ac_status=$?
1937 fi
1938
1939 if test "$ac_init_help" = "recursive"; then
1940   # If there are subdirs, report their specific --help.
1941   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1942     test -d "$ac_dir" ||
1943       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1944       continue
1945     ac_builddir=.
1946
1947 case "$ac_dir" in
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1949 *)
1950   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1951   # A ".." for each directory in $ac_dir_suffix.
1952   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1953   case $ac_top_builddir_sub in
1954   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1956   esac ;;
1957 esac
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1962
1963 case $srcdir in
1964   .)  # We are building in place.
1965     ac_srcdir=.
1966     ac_top_srcdir=$ac_top_builddir_sub
1967     ac_abs_top_srcdir=$ac_pwd ;;
1968   [\\/]* | ?:[\\/]* )  # Absolute name.
1969     ac_srcdir=$srcdir$ac_dir_suffix;
1970     ac_top_srcdir=$srcdir
1971     ac_abs_top_srcdir=$srcdir ;;
1972   *) # Relative name.
1973     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974     ac_top_srcdir=$ac_top_build_prefix$srcdir
1975     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1976 esac
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1978
1979     cd "$ac_dir" || { ac_status=$?; continue; }
1980     # Check for guested configure.
1981     if test -f "$ac_srcdir/configure.gnu"; then
1982       echo &&
1983       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984     elif test -f "$ac_srcdir/configure"; then
1985       echo &&
1986       $SHELL "$ac_srcdir/configure" --help=recursive
1987     else
1988       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1989     fi || ac_status=$?
1990     cd "$ac_pwd" || { ac_status=$?; break; }
1991   done
1992 fi
1993
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1996   cat <<\_ACEOF
1997 WebKit configure 1.6.1
1998 generated by GNU Autoconf 2.68
1999
2000 Copyright (C) 2010 Free Software Foundation, Inc.
2001 This configure script is free software; the Free Software Foundation
2002 gives unlimited permission to copy, distribute and modify it.
2003 _ACEOF
2004   exit
2005 fi
2006
2007 ## ------------------------ ##
2008 ## Autoconf initialization. ##
2009 ## ------------------------ ##
2010
2011 @%:@ ac_fn_c_try_compile LINENO
2012 @%:@ --------------------------
2013 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2014 ac_fn_c_try_compile ()
2015 {
2016   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017   rm -f conftest.$ac_objext
2018   if { { ac_try="$ac_compile"
2019 case "(($ac_try" in
2020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021   *) ac_try_echo=$ac_try;;
2022 esac
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025   (eval "$ac_compile") 2>conftest.err
2026   ac_status=$?
2027   if test -s conftest.err; then
2028     grep -v '^ *+' conftest.err >conftest.er1
2029     cat conftest.er1 >&5
2030     mv -f conftest.er1 conftest.err
2031   fi
2032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033   test $ac_status = 0; } && {
2034          test -z "$ac_c_werror_flag" ||
2035          test ! -s conftest.err
2036        } && test -s conftest.$ac_objext; then :
2037   ac_retval=0
2038 else
2039   $as_echo "$as_me: failed program was:" >&5
2040 sed 's/^/| /' conftest.$ac_ext >&5
2041
2042         ac_retval=1
2043 fi
2044   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045   as_fn_set_status $ac_retval
2046
2047 } @%:@ ac_fn_c_try_compile
2048
2049 @%:@ ac_fn_cxx_try_compile LINENO
2050 @%:@ ----------------------------
2051 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2052 ac_fn_cxx_try_compile ()
2053 {
2054   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055   rm -f conftest.$ac_objext
2056   if { { ac_try="$ac_compile"
2057 case "(($ac_try" in
2058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059   *) ac_try_echo=$ac_try;;
2060 esac
2061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2062 $as_echo "$ac_try_echo"; } >&5
2063   (eval "$ac_compile") 2>conftest.err
2064   ac_status=$?
2065   if test -s conftest.err; then
2066     grep -v '^ *+' conftest.err >conftest.er1
2067     cat conftest.er1 >&5
2068     mv -f conftest.er1 conftest.err
2069   fi
2070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2071   test $ac_status = 0; } && {
2072          test -z "$ac_cxx_werror_flag" ||
2073          test ! -s conftest.err
2074        } && test -s conftest.$ac_objext; then :
2075   ac_retval=0
2076 else
2077   $as_echo "$as_me: failed program was:" >&5
2078 sed 's/^/| /' conftest.$ac_ext >&5
2079
2080         ac_retval=1
2081 fi
2082   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083   as_fn_set_status $ac_retval
2084
2085 } @%:@ ac_fn_cxx_try_compile
2086
2087 @%:@ ac_fn_c_try_cpp LINENO
2088 @%:@ ----------------------
2089 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2090 ac_fn_c_try_cpp ()
2091 {
2092   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093   if { { ac_try="$ac_cpp conftest.$ac_ext"
2094 case "(($ac_try" in
2095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096   *) ac_try_echo=$ac_try;;
2097 esac
2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2099 $as_echo "$ac_try_echo"; } >&5
2100   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2101   ac_status=$?
2102   if test -s conftest.err; then
2103     grep -v '^ *+' conftest.err >conftest.er1
2104     cat conftest.er1 >&5
2105     mv -f conftest.er1 conftest.err
2106   fi
2107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108   test $ac_status = 0; } > conftest.i && {
2109          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2110          test ! -s conftest.err
2111        }; then :
2112   ac_retval=0
2113 else
2114   $as_echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2116
2117     ac_retval=1
2118 fi
2119   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120   as_fn_set_status $ac_retval
2121
2122 } @%:@ ac_fn_c_try_cpp
2123
2124 @%:@ ac_fn_c_try_run LINENO
2125 @%:@ ----------------------
2126 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2127 @%:@ that executables *can* be run.
2128 ac_fn_c_try_run ()
2129 {
2130   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131   if { { ac_try="$ac_link"
2132 case "(($ac_try" in
2133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134   *) ac_try_echo=$ac_try;;
2135 esac
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138   (eval "$ac_link") 2>&5
2139   ac_status=$?
2140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2141   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2142   { { case "(($ac_try" in
2143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2144   *) ac_try_echo=$ac_try;;
2145 esac
2146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147 $as_echo "$ac_try_echo"; } >&5
2148   (eval "$ac_try") 2>&5
2149   ac_status=$?
2150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151   test $ac_status = 0; }; }; then :
2152   ac_retval=0
2153 else
2154   $as_echo "$as_me: program exited with status $ac_status" >&5
2155        $as_echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2157
2158        ac_retval=$ac_status
2159 fi
2160   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2161   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162   as_fn_set_status $ac_retval
2163
2164 } @%:@ ac_fn_c_try_run
2165
2166 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2167 @%:@ -------------------------------------------
2168 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2169 @%:@ variable VAR accordingly.
2170 ac_fn_c_check_type ()
2171 {
2172   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 $as_echo_n "checking for $2... " >&6; }
2175 if eval \${$3+:} false; then :
2176   $as_echo_n "(cached) " >&6
2177 else
2178   eval "$3=no"
2179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h.  */
2181 $4
2182 int
2183 main ()
2184 {
2185 if (sizeof ($2))
2186          return 0;
2187   ;
2188   return 0;
2189 }
2190 _ACEOF
2191 if ac_fn_c_try_compile "$LINENO"; then :
2192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h.  */
2194 $4
2195 int
2196 main ()
2197 {
2198 if (sizeof (($2)))
2199             return 0;
2200   ;
2201   return 0;
2202 }
2203 _ACEOF
2204 if ac_fn_c_try_compile "$LINENO"; then :
2205   
2206 else
2207   eval "$3=yes"
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 fi
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212 fi
2213 eval ac_res=\$$3
2214                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2215 $as_echo "$ac_res" >&6; }
2216   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2217
2218 } @%:@ ac_fn_c_check_type
2219
2220 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2221 @%:@ -------------------------------------------------------
2222 @%:@ Tests whether HEADER exists and can be compiled using the include files in
2223 @%:@ INCLUDES, setting the cache variable VAR accordingly.
2224 ac_fn_c_check_header_compile ()
2225 {
2226   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228 $as_echo_n "checking for $2... " >&6; }
2229 if eval \${$3+:} false; then :
2230   $as_echo_n "(cached) " >&6
2231 else
2232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h.  */
2234 $4
2235 @%:@include <$2>
2236 _ACEOF
2237 if ac_fn_c_try_compile "$LINENO"; then :
2238   eval "$3=yes"
2239 else
2240   eval "$3=no"
2241 fi
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 fi
2244 eval ac_res=\$$3
2245                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2248
2249 } @%:@ ac_fn_c_check_header_compile
2250
2251 @%:@ ac_fn_c_try_link LINENO
2252 @%:@ -----------------------
2253 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2254 ac_fn_c_try_link ()
2255 {
2256   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257   rm -f conftest.$ac_objext conftest$ac_exeext
2258   if { { ac_try="$ac_link"
2259 case "(($ac_try" in
2260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2261   *) ac_try_echo=$ac_try;;
2262 esac
2263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2264 $as_echo "$ac_try_echo"; } >&5
2265   (eval "$ac_link") 2>conftest.err
2266   ac_status=$?
2267   if test -s conftest.err; then
2268     grep -v '^ *+' conftest.err >conftest.er1
2269     cat conftest.er1 >&5
2270     mv -f conftest.er1 conftest.err
2271   fi
2272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273   test $ac_status = 0; } && {
2274          test -z "$ac_c_werror_flag" ||
2275          test ! -s conftest.err
2276        } && test -s conftest$ac_exeext && {
2277          test "$cross_compiling" = yes ||
2278          $as_test_x conftest$ac_exeext
2279        }; then :
2280   ac_retval=0
2281 else
2282   $as_echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.$ac_ext >&5
2284
2285         ac_retval=1
2286 fi
2287   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2288   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2289   # interfere with the next link command; also delete a directory that is
2290   # left behind by Apple's compiler.  We do this before executing the actions.
2291   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2292   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2293   as_fn_set_status $ac_retval
2294
2295 } @%:@ ac_fn_c_try_link
2296
2297 @%:@ ac_fn_c_check_func LINENO FUNC VAR
2298 @%:@ ----------------------------------
2299 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2300 ac_fn_c_check_func ()
2301 {
2302   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2304 $as_echo_n "checking for $2... " >&6; }
2305 if eval \${$3+:} false; then :
2306   $as_echo_n "(cached) " >&6
2307 else
2308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h.  */
2310 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2311    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2312 #define $2 innocuous_$2
2313
2314 /* System header to define __stub macros and hopefully few prototypes,
2315     which can conflict with char $2 (); below.
2316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2317     <limits.h> exists even on freestanding compilers.  */
2318
2319 #ifdef __STDC__
2320 # include <limits.h>
2321 #else
2322 # include <assert.h>
2323 #endif
2324
2325 #undef $2
2326
2327 /* Override any GCC internal prototype to avoid an error.
2328    Use char because int might match the return type of a GCC
2329    builtin and then its argument prototype would still apply.  */
2330 #ifdef __cplusplus
2331 extern "C"
2332 #endif
2333 char $2 ();
2334 /* The GNU C library defines this for functions which it implements
2335     to always fail with ENOSYS.  Some functions are actually named
2336     something starting with __ and the normal name is an alias.  */
2337 #if defined __stub_$2 || defined __stub___$2
2338 choke me
2339 #endif
2340
2341 int
2342 main ()
2343 {
2344 return $2 ();
2345   ;
2346   return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_link "$LINENO"; then :
2350   eval "$3=yes"
2351 else
2352   eval "$3=no"
2353 fi
2354 rm -f core conftest.err conftest.$ac_objext \
2355     conftest$ac_exeext conftest.$ac_ext
2356 fi
2357 eval ac_res=\$$3
2358                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2359 $as_echo "$ac_res" >&6; }
2360   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361
2362 } @%:@ ac_fn_c_check_func
2363
2364 @%:@ ac_fn_cxx_try_cpp LINENO
2365 @%:@ ------------------------
2366 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2367 ac_fn_cxx_try_cpp ()
2368 {
2369   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2370   if { { ac_try="$ac_cpp conftest.$ac_ext"
2371 case "(($ac_try" in
2372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373   *) ac_try_echo=$ac_try;;
2374 esac
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2378   ac_status=$?
2379   if test -s conftest.err; then
2380     grep -v '^ *+' conftest.err >conftest.er1
2381     cat conftest.er1 >&5
2382     mv -f conftest.er1 conftest.err
2383   fi
2384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385   test $ac_status = 0; } > conftest.i && {
2386          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2387          test ! -s conftest.err
2388        }; then :
2389   ac_retval=0
2390 else
2391   $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2393
2394     ac_retval=1
2395 fi
2396   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2397   as_fn_set_status $ac_retval
2398
2399 } @%:@ ac_fn_cxx_try_cpp
2400
2401 @%:@ ac_fn_cxx_try_link LINENO
2402 @%:@ -------------------------
2403 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2404 ac_fn_cxx_try_link ()
2405 {
2406   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407   rm -f conftest.$ac_objext conftest$ac_exeext
2408   if { { ac_try="$ac_link"
2409 case "(($ac_try" in
2410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411   *) ac_try_echo=$ac_try;;
2412 esac
2413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415   (eval "$ac_link") 2>conftest.err
2416   ac_status=$?
2417   if test -s conftest.err; then
2418     grep -v '^ *+' conftest.err >conftest.er1
2419     cat conftest.er1 >&5
2420     mv -f conftest.er1 conftest.err
2421   fi
2422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423   test $ac_status = 0; } && {
2424          test -z "$ac_cxx_werror_flag" ||
2425          test ! -s conftest.err
2426        } && test -s conftest$ac_exeext && {
2427          test "$cross_compiling" = yes ||
2428          $as_test_x conftest$ac_exeext
2429        }; then :
2430   ac_retval=0
2431 else
2432   $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2434
2435         ac_retval=1
2436 fi
2437   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2438   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2439   # interfere with the next link command; also delete a directory that is
2440   # left behind by Apple's compiler.  We do this before executing the actions.
2441   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2442   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443   as_fn_set_status $ac_retval
2444
2445 } @%:@ ac_fn_cxx_try_link
2446
2447 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2448 @%:@ -------------------------------------------------------
2449 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2450 @%:@ the include files in INCLUDES and setting the cache variable VAR
2451 @%:@ accordingly.
2452 ac_fn_c_check_header_mongrel ()
2453 {
2454   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455   if eval \${$3+:} false; then :
2456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if eval \${$3+:} false; then :
2459   $as_echo_n "(cached) " >&6
2460 fi
2461 eval ac_res=\$$3
2462                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2463 $as_echo "$ac_res" >&6; }
2464 else
2465   # Is the header compilable?
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2467 $as_echo_n "checking $2 usability... " >&6; }
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h.  */
2470 $4
2471 @%:@include <$2>
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474   ac_header_compiler=yes
2475 else
2476   ac_header_compiler=no
2477 fi
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2480 $as_echo "$ac_header_compiler" >&6; }
2481
2482 # Is the header present?
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2484 $as_echo_n "checking $2 presence... " >&6; }
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h.  */
2487 @%:@include <$2>
2488 _ACEOF
2489 if ac_fn_c_try_cpp "$LINENO"; then :
2490   ac_header_preproc=yes
2491 else
2492   ac_header_preproc=no
2493 fi
2494 rm -f conftest.err conftest.i conftest.$ac_ext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2496 $as_echo "$ac_header_preproc" >&6; }
2497
2498 # So?  What about this header?
2499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2500   yes:no: )
2501     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2502 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2503     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2504 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2505     ;;
2506   no:yes:* )
2507     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2508 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2509     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2510 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2511     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2512 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2513     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2514 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2515     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2516 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2517 ( $as_echo "## -------------------------------------- ##
2518 ## Report this to http://bugs.webkit.org/ ##
2519 ## -------------------------------------- ##"
2520      ) | sed "s/^/$as_me: WARNING:     /" >&2
2521     ;;
2522 esac
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if eval \${$3+:} false; then :
2526   $as_echo_n "(cached) " >&6
2527 else
2528   eval "$3=\$ac_header_compiler"
2529 fi
2530 eval ac_res=\$$3
2531                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2532 $as_echo "$ac_res" >&6; }
2533 fi
2534   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535
2536 } @%:@ ac_fn_c_check_header_mongrel
2537 cat >config.log <<_ACEOF
2538 This file contains any messages produced by compilers while
2539 running configure, to aid debugging if configure makes a mistake.
2540
2541 It was created by WebKit $as_me 1.6.1, which was
2542 generated by GNU Autoconf 2.68.  Invocation command line was
2543
2544   $ $0 $@
2545
2546 _ACEOF
2547 exec 5>>config.log
2548 {
2549 cat <<_ASUNAME
2550 ## --------- ##
2551 ## Platform. ##
2552 ## --------- ##
2553
2554 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2555 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2556 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2557 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2558 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2559
2560 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2561 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2562
2563 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2564 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2565 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2566 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2567 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2568 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2569 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2570
2571 _ASUNAME
2572
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576   IFS=$as_save_IFS
2577   test -z "$as_dir" && as_dir=.
2578     $as_echo "PATH: $as_dir"
2579   done
2580 IFS=$as_save_IFS
2581
2582 } >&5
2583
2584 cat >&5 <<_ACEOF
2585
2586
2587 ## ----------- ##
2588 ## Core tests. ##
2589 ## ----------- ##
2590
2591 _ACEOF
2592
2593
2594 # Keep a trace of the command line.
2595 # Strip out --no-create and --no-recursion so they do not pile up.
2596 # Strip out --silent because we don't want to record it for future runs.
2597 # Also quote any args containing shell meta-characters.
2598 # Make two passes to allow for proper duplicate-argument suppression.
2599 ac_configure_args=
2600 ac_configure_args0=
2601 ac_configure_args1=
2602 ac_must_keep_next=false
2603 for ac_pass in 1 2
2604 do
2605   for ac_arg
2606   do
2607     case $ac_arg in
2608     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2609     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2610     | -silent | --silent | --silen | --sile | --sil)
2611       continue ;;
2612     *\'*)
2613       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2614     esac
2615     case $ac_pass in
2616     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2617     2)
2618       as_fn_append ac_configure_args1 " '$ac_arg'"
2619       if test $ac_must_keep_next = true; then
2620         ac_must_keep_next=false # Got value, back to normal.
2621       else
2622         case $ac_arg in
2623           *=* | --config-cache | -C | -disable-* | --disable-* \
2624           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2625           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2626           | -with-* | --with-* | -without-* | --without-* | --x)
2627             case "$ac_configure_args0 " in
2628               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2629             esac
2630             ;;
2631           -* ) ac_must_keep_next=true ;;
2632         esac
2633       fi
2634       as_fn_append ac_configure_args " '$ac_arg'"
2635       ;;
2636     esac
2637   done
2638 done
2639 { ac_configure_args0=; unset ac_configure_args0;}
2640 { ac_configure_args1=; unset ac_configure_args1;}
2641
2642 # When interrupted or exit'd, cleanup temporary files, and complete
2643 # config.log.  We remove comments because anyway the quotes in there
2644 # would cause problems or look ugly.
2645 # WARNING: Use '\'' to represent an apostrophe within the trap.
2646 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2647 trap 'exit_status=$?
2648   # Save into config.log some information that might help in debugging.
2649   {
2650     echo
2651
2652     $as_echo "## ---------------- ##
2653 ## Cache variables. ##
2654 ## ---------------- ##"
2655     echo
2656     # The following way of writing the cache mishandles newlines in values,
2657 (
2658   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2659     eval ac_val=\$$ac_var
2660     case $ac_val in #(
2661     *${as_nl}*)
2662       case $ac_var in #(
2663       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2664 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2665       esac
2666       case $ac_var in #(
2667       _ | IFS | as_nl) ;; #(
2668       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2669       *) { eval $ac_var=; unset $ac_var;} ;;
2670       esac ;;
2671     esac
2672   done
2673   (set) 2>&1 |
2674     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2675     *${as_nl}ac_space=\ *)
2676       sed -n \
2677         "s/'\''/'\''\\\\'\'''\''/g;
2678           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2679       ;; #(
2680     *)
2681       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2682       ;;
2683     esac |
2684     sort
2685 )
2686     echo
2687
2688     $as_echo "## ----------------- ##
2689 ## Output variables. ##
2690 ## ----------------- ##"
2691     echo
2692     for ac_var in $ac_subst_vars
2693     do
2694       eval ac_val=\$$ac_var
2695       case $ac_val in
2696       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2697       esac
2698       $as_echo "$ac_var='\''$ac_val'\''"
2699     done | sort
2700     echo
2701
2702     if test -n "$ac_subst_files"; then
2703       $as_echo "## ------------------- ##
2704 ## File substitutions. ##
2705 ## ------------------- ##"
2706       echo
2707       for ac_var in $ac_subst_files
2708       do
2709         eval ac_val=\$$ac_var
2710         case $ac_val in
2711         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2712         esac
2713         $as_echo "$ac_var='\''$ac_val'\''"
2714       done | sort
2715       echo
2716     fi
2717
2718     if test -s confdefs.h; then
2719       $as_echo "## ----------- ##
2720 ## confdefs.h. ##
2721 ## ----------- ##"
2722       echo
2723       cat confdefs.h
2724       echo
2725     fi
2726     test "$ac_signal" != 0 &&
2727       $as_echo "$as_me: caught signal $ac_signal"
2728     $as_echo "$as_me: exit $exit_status"
2729   } >&5
2730   rm -f core *.core core.conftest.* &&
2731     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2732     exit $exit_status
2733 ' 0
2734 for ac_signal in 1 2 13 15; do
2735   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2736 done
2737 ac_signal=0
2738
2739 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2740 rm -f -r conftest* confdefs.h
2741
2742 $as_echo "/* confdefs.h */" > confdefs.h
2743
2744 # Predefined preprocessor variables.
2745
2746 cat >>confdefs.h <<_ACEOF
2747 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2748 _ACEOF
2749
2750 cat >>confdefs.h <<_ACEOF
2751 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2752 _ACEOF
2753
2754 cat >>confdefs.h <<_ACEOF
2755 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2756 _ACEOF
2757
2758 cat >>confdefs.h <<_ACEOF
2759 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2760 _ACEOF
2761
2762 cat >>confdefs.h <<_ACEOF
2763 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2764 _ACEOF
2765
2766 cat >>confdefs.h <<_ACEOF
2767 @%:@define PACKAGE_URL "$PACKAGE_URL"
2768 _ACEOF
2769
2770
2771 # Let the site file select an alternate cache file if it wants to.
2772 # Prefer an explicitly selected file to automatically selected ones.
2773 ac_site_file1=NONE
2774 ac_site_file2=NONE
2775 if test -n "$CONFIG_SITE"; then
2776   # We do not want a PATH search for config.site.
2777   case $CONFIG_SITE in @%:@((
2778     -*)  ac_site_file1=./$CONFIG_SITE;;
2779     */*) ac_site_file1=$CONFIG_SITE;;
2780     *)   ac_site_file1=./$CONFIG_SITE;;
2781   esac
2782 elif test "x$prefix" != xNONE; then
2783   ac_site_file1=$prefix/share/config.site
2784   ac_site_file2=$prefix/etc/config.site
2785 else
2786   ac_site_file1=$ac_default_prefix/share/config.site
2787   ac_site_file2=$ac_default_prefix/etc/config.site
2788 fi
2789 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2790 do
2791   test "x$ac_site_file" = xNONE && continue
2792   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2793     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2794 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2795     sed 's/^/| /' "$ac_site_file" >&5
2796     . "$ac_site_file" \
2797       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 as_fn_error $? "failed to load site script $ac_site_file
2800 See \`config.log' for more details" "$LINENO" 5; }
2801   fi
2802 done
2803
2804 if test -r "$cache_file"; then
2805   # Some versions of bash will fail to source /dev/null (special files
2806   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2807   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2808     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2809 $as_echo "$as_me: loading cache $cache_file" >&6;}
2810     case $cache_file in
2811       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2812       *)                      . "./$cache_file";;
2813     esac
2814   fi
2815 else
2816   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2817 $as_echo "$as_me: creating cache $cache_file" >&6;}
2818   >$cache_file
2819 fi
2820
2821 # Check that the precious variables saved in the cache have kept the same
2822 # value.
2823 ac_cache_corrupted=false
2824 for ac_var in $ac_precious_vars; do
2825   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2826   eval ac_new_set=\$ac_env_${ac_var}_set
2827   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2828   eval ac_new_val=\$ac_env_${ac_var}_value
2829   case $ac_old_set,$ac_new_set in
2830     set,)
2831       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2832 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2833       ac_cache_corrupted=: ;;
2834     ,set)
2835       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2836 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2837       ac_cache_corrupted=: ;;
2838     ,);;
2839     *)
2840       if test "x$ac_old_val" != "x$ac_new_val"; then
2841         # differences in whitespace do not lead to failure.
2842         ac_old_val_w=`echo x $ac_old_val`
2843         ac_new_val_w=`echo x $ac_new_val`
2844         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2845           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2846 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2847           ac_cache_corrupted=:
2848         else
2849           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2850 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2851           eval $ac_var=\$ac_old_val
2852         fi
2853         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2854 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2855         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2856 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2857       fi;;
2858   esac
2859   # Pass precious variables to config.status.
2860   if test "$ac_new_set" = set; then
2861     case $ac_new_val in
2862     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2863     *) ac_arg=$ac_var=$ac_new_val ;;
2864     esac
2865     case " $ac_configure_args " in
2866       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2867       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2868     esac
2869   fi
2870 done
2871 if $ac_cache_corrupted; then
2872   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2875 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2876   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2877 fi
2878 ## -------------------- ##
2879 ## Main body of script. ##
2880 ## -------------------- ##
2881
2882 ac_ext=c
2883 ac_cpp='$CPP $CPPFLAGS'
2884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2887
2888
2889
2890
2891 ac_aux_dir=
2892 for ac_dir in Source/autotools "$srcdir"/Source/autotools; do
2893   if test -f "$ac_dir/install-sh"; then
2894     ac_aux_dir=$ac_dir
2895     ac_install_sh="$ac_aux_dir/install-sh -c"
2896     break
2897   elif test -f "$ac_dir/install.sh"; then
2898     ac_aux_dir=$ac_dir
2899     ac_install_sh="$ac_aux_dir/install.sh -c"
2900     break
2901   elif test -f "$ac_dir/shtool"; then
2902     ac_aux_dir=$ac_dir
2903     ac_install_sh="$ac_aux_dir/shtool install -c"
2904     break
2905   fi
2906 done
2907 if test -z "$ac_aux_dir"; then
2908   as_fn_error $? "cannot find install-sh, install.sh, or shtool in Source/autotools \"$srcdir\"/Source/autotools" "$LINENO" 5
2909 fi
2910
2911 # These three variables are undocumented and unsupported,
2912 # and are intended to be withdrawn in a future Autoconf release.
2913 # They can cause serious problems if a builder's source tree is in a directory
2914 # whose full name contains unusual characters.
2915 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2916 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2917 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2918
2919
2920 ACLOCAL_AMFLAGS="-I Source/autotools"
2921
2922
2923 ac_config_headers="$ac_config_headers autotoolsconfig.h"
2924
2925 # Make sure we can run config.sub.
2926 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2927   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2928
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2930 $as_echo_n "checking build system type... " >&6; }
2931 if ${ac_cv_build+:} false; then :
2932   $as_echo_n "(cached) " >&6
2933 else
2934   ac_build_alias=$build_alias
2935 test "x$ac_build_alias" = x &&
2936   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2937 test "x$ac_build_alias" = x &&
2938   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2939 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2940   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2941
2942 fi
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2944 $as_echo "$ac_cv_build" >&6; }
2945 case $ac_cv_build in
2946 *-*-*) ;;
2947 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2948 esac
2949 build=$ac_cv_build
2950 ac_save_IFS=$IFS; IFS='-'
2951 set x $ac_cv_build
2952 shift
2953 build_cpu=$1
2954 build_vendor=$2
2955 shift; shift
2956 # Remember, the first character of IFS is used to create $*,
2957 # except with old shells:
2958 build_os=$*
2959 IFS=$ac_save_IFS
2960 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2961
2962
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2964 $as_echo_n "checking host system type... " >&6; }
2965 if ${ac_cv_host+:} false; then :
2966   $as_echo_n "(cached) " >&6
2967 else
2968   if test "x$host_alias" = x; then
2969   ac_cv_host=$ac_cv_build
2970 else
2971   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2972     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2973 fi
2974
2975 fi
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2977 $as_echo "$ac_cv_host" >&6; }
2978 case $ac_cv_host in
2979 *-*-*) ;;
2980 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2981 esac
2982 host=$ac_cv_host
2983 ac_save_IFS=$IFS; IFS='-'
2984 set x $ac_cv_host
2985 shift
2986 host_cpu=$1
2987 host_vendor=$2
2988 shift; shift
2989 # Remember, the first character of IFS is used to create $*,
2990 # except with old shells:
2991 host_os=$*
2992 IFS=$ac_save_IFS
2993 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2994
2995
2996
2997 WEBKIT_MAJOR_VERSION=1
2998 WEBKIT_MINOR_VERSION=6
2999 WEBKIT_MICRO_VERSION=1
3000 WEBKIT_USER_AGENT_MAJOR_VERSION=535
3001 WEBKIT_USER_AGENT_MINOR_VERSION=4
3002
3003
3004
3005
3006
3007
3008
3009
3010 LIBWEBKITGTK_VERSION=11:0:11
3011
3012
3013 am__api_version='1.11'
3014
3015 # Find a good install program.  We prefer a C program (faster),
3016 # so one script is as good as another.  But avoid the broken or
3017 # incompatible versions:
3018 # SysV /etc/install, /usr/sbin/install
3019 # SunOS /usr/etc/install
3020 # IRIX /sbin/install
3021 # AIX /bin/install
3022 # AmigaOS /C/install, which installs bootblocks on floppy discs
3023 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3024 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3025 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3026 # OS/2's system install, which has a completely different semantic
3027 # ./install, which can be erroneously created by make from ./install.sh.
3028 # Reject install programs that cannot install multiple files.
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3030 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3031 if test -z "$INSTALL"; then
3032 if ${ac_cv_path_install+:} false; then :
3033   $as_echo_n "(cached) " >&6
3034 else
3035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3037 do
3038   IFS=$as_save_IFS
3039   test -z "$as_dir" && as_dir=.
3040     # Account for people who put trailing slashes in PATH elements.
3041 case $as_dir/ in @%:@((
3042   ./ | .// | /[cC]/* | \
3043   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3044   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3045   /usr/ucb/* ) ;;
3046   *)
3047     # OSF1 and SCO ODT 3.0 have their own names for install.
3048     # Don't use installbsd from OSF since it installs stuff as root
3049     # by default.
3050     for ac_prog in ginstall scoinst install; do
3051       for ac_exec_ext in '' $ac_executable_extensions; do
3052         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3053           if test $ac_prog = install &&
3054             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3055             # AIX install.  It has an incompatible calling convention.
3056             :
3057           elif test $ac_prog = install &&
3058             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3059             # program-specific install script used by HP pwplus--don't use.
3060             :
3061           else
3062             rm -rf conftest.one conftest.two conftest.dir
3063             echo one > conftest.one
3064             echo two > conftest.two
3065             mkdir conftest.dir
3066             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3067               test -s conftest.one && test -s conftest.two &&
3068               test -s conftest.dir/conftest.one &&
3069               test -s conftest.dir/conftest.two
3070             then
3071               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3072               break 3
3073             fi
3074           fi
3075         fi
3076       done
3077     done
3078     ;;
3079 esac
3080
3081   done
3082 IFS=$as_save_IFS
3083
3084 rm -rf conftest.one conftest.two conftest.dir
3085
3086 fi
3087   if test "${ac_cv_path_install+set}" = set; then
3088     INSTALL=$ac_cv_path_install
3089   else
3090     # As a last resort, use the slow shell script.  Don't cache a
3091     # value for INSTALL within a source directory, because that will
3092     # break other packages using the cache if that directory is
3093     # removed, or if the value is a relative name.
3094     INSTALL=$ac_install_sh
3095   fi
3096 fi
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3098 $as_echo "$INSTALL" >&6; }
3099
3100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3101 # It thinks the first close brace ends the variable substitution.
3102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3103
3104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3105
3106 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3107
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3109 $as_echo_n "checking whether build environment is sane... " >&6; }
3110 # Just in case
3111 sleep 1
3112 echo timestamp > conftest.file
3113 # Reject unsafe characters in $srcdir or the absolute working directory
3114 # name.  Accept space and tab only in the latter.
3115 am_lf='
3116 '
3117 case `pwd` in
3118   *[\\\"\#\$\&\'\`$am_lf]*)
3119     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3120 esac
3121 case $srcdir in
3122   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3123     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3124 esac
3125
3126 # Do `set' in a subshell so we don't clobber the current shell's
3127 # arguments.  Must try -L first in case configure is actually a
3128 # symlink; some systems play weird games with the mod time of symlinks
3129 # (eg FreeBSD returns the mod time of the symlink's containing
3130 # directory).
3131 if (
3132    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3133    if test "$*" = "X"; then
3134       # -L didn't work.
3135       set X `ls -t "$srcdir/configure" conftest.file`
3136    fi
3137    rm -f conftest.file
3138    if test "$*" != "X $srcdir/configure conftest.file" \
3139       && test "$*" != "X conftest.file $srcdir/configure"; then
3140
3141       # If neither matched, then we have a broken ls.  This can happen
3142       # if, for instance, CONFIG_SHELL is bash and it inherits a
3143       # broken ls alias from the environment.  This has actually
3144       # happened.  Such a system could not be considered "sane".
3145       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3146 alias in your environment" "$LINENO" 5
3147    fi
3148
3149    test "$2" = conftest.file
3150    )
3151 then
3152    # Ok.
3153    :
3154 else
3155    as_fn_error $? "newly created file is older than distributed files!
3156 Check your system clock" "$LINENO" 5
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3160 test "$program_prefix" != NONE &&
3161   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3162 # Use a double $ so make ignores it.
3163 test "$program_suffix" != NONE &&
3164   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3165 # Double any \ or $.
3166 # By default was `s,x,x', remove it if useless.
3167 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3168 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3169
3170 # expand $ac_aux_dir to an absolute path
3171 am_aux_dir=`cd $ac_aux_dir && pwd`
3172
3173 if test x"${MISSING+set}" != xset; then
3174   case $am_aux_dir in
3175   *\ * | *\     *)
3176     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3177   *)
3178     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3179   esac
3180 fi
3181 # Use eval to expand $SHELL
3182 if eval "$MISSING --run true"; then
3183   am_missing_run="$MISSING --run "
3184 else
3185   am_missing_run=
3186   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3187 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3188 fi
3189
3190 if test x"${install_sh}" != xset; then
3191   case $am_aux_dir in
3192   *\ * | *\     *)
3193     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3194   *)
3195     install_sh="\${SHELL} $am_aux_dir/install-sh"
3196   esac
3197 fi
3198
3199 # Installed binaries are usually stripped using `strip' when the user
3200 # run `make install-strip'.  However `strip' might not be the right
3201 # tool to use in cross-compilation environments, therefore Automake
3202 # will honor the `STRIP' environment variable to overrule this program.
3203 if test "$cross_compiling" != no; then
3204   if test -n "$ac_tool_prefix"; then
3205   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3206 set dummy ${ac_tool_prefix}strip; ac_word=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_STRIP+:} false; then :
3210   $as_echo_n "(cached) " >&6
3211 else
3212   if test -n "$STRIP"; then
3213   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3214 else
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 for as_dir in $PATH
3217 do
3218   IFS=$as_save_IFS
3219   test -z "$as_dir" && as_dir=.
3220     for ac_exec_ext in '' $ac_executable_extensions; do
3221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3222     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224     break 2
3225   fi
3226 done
3227   done
3228 IFS=$as_save_IFS
3229
3230 fi
3231 fi
3232 STRIP=$ac_cv_prog_STRIP
3233 if test -n "$STRIP"; then
3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3235 $as_echo "$STRIP" >&6; }
3236 else
3237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3239 fi
3240
3241
3242 fi
3243 if test -z "$ac_cv_prog_STRIP"; then
3244   ac_ct_STRIP=$STRIP
3245   # Extract the first word of "strip", so it can be a program name with args.
3246 set dummy strip; ac_word=$2
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3250   $as_echo_n "(cached) " >&6
3251 else
3252   if test -n "$ac_ct_STRIP"; then
3253   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3254 else
3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256 for as_dir in $PATH
3257 do
3258   IFS=$as_save_IFS
3259   test -z "$as_dir" && as_dir=.
3260     for ac_exec_ext in '' $ac_executable_extensions; do
3261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3262     ac_cv_prog_ac_ct_STRIP="strip"
3263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264     break 2
3265   fi
3266 done
3267   done
3268 IFS=$as_save_IFS
3269
3270 fi
3271 fi
3272 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3273 if test -n "$ac_ct_STRIP"; then
3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3275 $as_echo "$ac_ct_STRIP" >&6; }
3276 else
3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3279 fi
3280
3281   if test "x$ac_ct_STRIP" = x; then
3282     STRIP=":"
3283   else
3284     case $cross_compiling:$ac_tool_warned in
3285 yes:)
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3288 ac_tool_warned=yes ;;
3289 esac
3290     STRIP=$ac_ct_STRIP
3291   fi
3292 else
3293   STRIP="$ac_cv_prog_STRIP"
3294 fi
3295
3296 fi
3297 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3298
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3300 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3301 if test -z "$MKDIR_P"; then
3302   if ${ac_cv_path_mkdir+:} false; then :
3303   $as_echo_n "(cached) " >&6
3304 else
3305   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3307 do
3308   IFS=$as_save_IFS
3309   test -z "$as_dir" && as_dir=.
3310     for ac_prog in mkdir gmkdir; do
3311          for ac_exec_ext in '' $ac_executable_extensions; do
3312            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3313            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3314              'mkdir (GNU coreutils) '* | \
3315              'mkdir (coreutils) '* | \
3316              'mkdir (fileutils) '4.1*)
3317                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3318                break 3;;
3319            esac
3320          done
3321        done
3322   done
3323 IFS=$as_save_IFS
3324
3325 fi
3326
3327   test -d ./--version && rmdir ./--version
3328   if test "${ac_cv_path_mkdir+set}" = set; then
3329     MKDIR_P="$ac_cv_path_mkdir -p"
3330   else
3331     # As a last resort, use the slow shell script.  Don't cache a
3332     # value for MKDIR_P within a source directory, because that will
3333     # break other packages using the cache if that directory is
3334     # removed, or if the value is a relative name.
3335     MKDIR_P="$ac_install_sh -d"
3336   fi
3337 fi
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3339 $as_echo "$MKDIR_P" >&6; }
3340
3341 mkdir_p="$MKDIR_P"
3342 case $mkdir_p in
3343   [\\/$]* | ?:[\\/]*) ;;
3344   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3345 esac
3346
3347 for ac_prog in gawk mawk nawk awk
3348 do
3349   # Extract the first word of "$ac_prog", so it can be a program name with args.
3350 set dummy $ac_prog; ac_word=$2
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if ${ac_cv_prog_AWK+:} false; then :
3354   $as_echo_n "(cached) " >&6
3355 else
3356   if test -n "$AWK"; then
3357   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3358 else
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH
3361 do
3362   IFS=$as_save_IFS
3363   test -z "$as_dir" && as_dir=.
3364     for ac_exec_ext in '' $ac_executable_extensions; do
3365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3366     ac_cv_prog_AWK="$ac_prog"
3367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368     break 2
3369   fi
3370 done
3371   done
3372 IFS=$as_save_IFS
3373
3374 fi
3375 fi
3376 AWK=$ac_cv_prog_AWK
3377 if test -n "$AWK"; then
3378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3379 $as_echo "$AWK" >&6; }
3380 else
3381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3383 fi
3384
3385
3386   test -n "$AWK" && break
3387 done
3388
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3390 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3391 set x ${MAKE-make}
3392 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3393 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3394   $as_echo_n "(cached) " >&6
3395 else
3396   cat >conftest.make <<\_ACEOF
3397 SHELL = /bin/sh
3398 all:
3399         @echo '@@@%%%=$(MAKE)=@@@%%%'
3400 _ACEOF
3401 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3402 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3403   *@@@%%%=?*=@@@%%%*)
3404     eval ac_cv_prog_make_${ac_make}_set=yes;;
3405   *)
3406     eval ac_cv_prog_make_${ac_make}_set=no;;
3407 esac
3408 rm -f conftest.make
3409 fi
3410 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3412 $as_echo "yes" >&6; }
3413   SET_MAKE=
3414 else
3415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3417   SET_MAKE="MAKE=${MAKE-make}"
3418 fi
3419
3420 rm -rf .tst 2>/dev/null
3421 mkdir .tst 2>/dev/null
3422 if test -d .tst; then
3423   am__leading_dot=.
3424 else
3425   am__leading_dot=_
3426 fi
3427 rmdir .tst 2>/dev/null
3428
3429 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3430   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3431   # is not polluted with repeated "-I."
3432   am__isrc=' -I$(srcdir)'
3433   # test to see if srcdir already configured
3434   if test -f $srcdir/config.status; then
3435     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3436   fi
3437 fi
3438
3439 # test whether we have cygpath
3440 if test -z "$CYGPATH_W"; then
3441   if (cygpath --version) >/dev/null 2>/dev/null; then
3442     CYGPATH_W='cygpath -w'
3443   else
3444     CYGPATH_W=echo
3445   fi
3446 fi
3447
3448
3449 # Define the identity of the package.
3450  PACKAGE='webkit'
3451  VERSION='1.6.1'
3452
3453
3454 cat >>confdefs.h <<_ACEOF
3455 @%:@define PACKAGE "$PACKAGE"
3456 _ACEOF
3457
3458  
3459 cat >>confdefs.h <<_ACEOF
3460 @%:@define VERSION "$VERSION"
3461 _ACEOF
3462
3463 # Some tools Automake needs.
3464
3465 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3466
3467
3468 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3469
3470
3471 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3472
3473
3474 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3475
3476
3477 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3478
3479 # We need awk for the "check" target.  The system "awk" is bad on
3480 # some platforms.
3481 # Always define AMTAR for backward compatibility.  Yes, it's still used
3482 # in the wild :-(  We should find a proper way to deprecate it ...
3483 AMTAR='$${TAR-tar}'
3484
3485
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3487 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3488 # Loop over all known methods to create a tar archive until one works.
3489 _am_tools='gnutar plaintar pax cpio none'
3490 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3491 # Do not fold the above two line into one, because Tru64 sh and
3492 # Solaris sh will not grok spaces in the rhs of `-'.
3493 for _am_tool in $_am_tools
3494 do
3495   case $_am_tool in
3496   gnutar)
3497     for _am_tar in tar gnutar gtar;
3498     do
3499       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3500    ($_am_tar --version) >&5 2>&5
3501    ac_status=$?
3502    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503    (exit $ac_status); } && break
3504     done
3505     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3506     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3507     am__untar="$_am_tar -xf -"
3508     ;;
3509   plaintar)
3510     # Must skip GNU tar: if it does not support --format= it doesn't create
3511     # ustar tarball either.
3512     (tar --version) >/dev/null 2>&1 && continue
3513     am__tar='tar chf - "$$tardir"'
3514     am__tar_='tar chf - "$tardir"'
3515     am__untar='tar xf -'
3516     ;;
3517   pax)
3518     am__tar='pax -L -x ustar -w "$$tardir"'
3519     am__tar_='pax -L -x ustar -w "$tardir"'
3520     am__untar='pax -r'
3521     ;;
3522   cpio)
3523     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3524     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3525     am__untar='cpio -i -H ustar -d'
3526     ;;
3527   none)
3528     am__tar=false
3529     am__tar_=false
3530     am__untar=false
3531     ;;
3532   esac
3533
3534   # If the value was cached, stop now.  We just wanted to have am__tar
3535   # and am__untar set.
3536   test -n "${am_cv_prog_tar_ustar}" && break
3537
3538   # tar/untar a dummy directory, and stop if the command works
3539   rm -rf conftest.dir
3540   mkdir conftest.dir
3541   echo GrepMe > conftest.dir/file
3542   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3543    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3544    ac_status=$?
3545    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546    (exit $ac_status); }
3547   rm -rf conftest.dir
3548   if test -s conftest.tar; then
3549     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3550    ($am__untar <conftest.tar) >&5 2>&5
3551    ac_status=$?
3552    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553    (exit $ac_status); }
3554     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3555   fi
3556 done
3557 rm -rf conftest.dir
3558
3559 if ${am_cv_prog_tar_ustar+:} false; then :
3560   $as_echo_n "(cached) " >&6
3561 else
3562   am_cv_prog_tar_ustar=$_am_tool
3563 fi
3564
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3566 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3567
3568
3569
3570
3571
3572
3573 # Use AM_SILENT_RULES if present
3574 @%:@ Check whether --enable-silent-rules was given.
3575 if test "${enable_silent_rules+set}" = set; then :
3576   enableval=$enable_silent_rules; 
3577 fi
3578
3579 case $enable_silent_rules in
3580 yes) AM_DEFAULT_VERBOSITY=0;;
3581 no)  AM_DEFAULT_VERBOSITY=1;;
3582 *)   AM_DEFAULT_VERBOSITY=0;;
3583 esac
3584 am_make=${MAKE-make}
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3586 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3587 if ${am_cv_make_support_nested_variables+:} false; then :
3588   $as_echo_n "(cached) " >&6
3589 else
3590   if $as_echo 'TRUE=$(BAR$(V))
3591 BAR0=false
3592 BAR1=true
3593 V=1
3594 am__doit:
3595         @$(TRUE)
3596 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3597   am_cv_make_support_nested_variables=yes
3598 else
3599   am_cv_make_support_nested_variables=no
3600 fi
3601 fi
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3603 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3604 if test $am_cv_make_support_nested_variables = yes; then
3605     AM_V='$(V)'
3606   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3607 else
3608   AM_V=$AM_DEFAULT_VERBOSITY
3609   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3610 fi
3611 AM_BACKSLASH='\'
3612
3613
3614 # host checking - inspired by the GTK+ configure.in
3615 # TODO: move these to webkit.m4?
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
3617 $as_echo_n "checking for native Win32... " >&6; }
3618 case "$host" in
3619      *-*-mingw*)
3620        os_win32=yes
3621        ;;
3622      *)
3623        os_win32=no
3624        ;;
3625 esac
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
3627 $as_echo "$os_win32" >&6; }
3628
3629 case "$host" in
3630      *-*-linux*)
3631        os_linux=yes
3632        ;;
3633      *-*-freebsd*)
3634        os_freebsd=yes
3635        ;;
3636      *-*-darwin*)
3637        os_darwin=yes
3638        ;;
3639 esac
3640
3641 case "$host_os" in
3642      gnu* | linux* | k*bsd*-gnu)
3643        os_gnu=yes
3644        ;;
3645      *)
3646        os_gnu=no
3647        ;;
3648 esac
3649
3650 # initialize webkit options
3651 # If CXXFLAGS and CFLAGS are unset, default to empty.
3652 # This is to tell automake not to include '-g' if CXXFLAGS is not set
3653 # For more info - http://www.gnu.org/software/automake/manual/autoconf.html#C_002b_002b-Compiler
3654 if test -z "$CXXFLAGS"; then
3655    CXXFLAGS=""
3656 fi
3657 if test -z "$CFLAGS"; then
3658    CFLAGS=""
3659 fi
3660
3661 DEPDIR="${am__leading_dot}deps"
3662
3663 ac_config_commands="$ac_config_commands depfiles"
3664
3665
3666 am_make=${MAKE-make}
3667 cat > confinc << 'END'
3668 am__doit:
3669         @echo this is the am__doit target
3670 .PHONY: am__doit
3671 END
3672 # If we don't find an include directive, just comment out the code.
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3674 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3675 am__include="#"
3676 am__quote=
3677 _am_result=none
3678 # First try GNU make style include.
3679 echo "include confinc" > confmf
3680 # Ignore all kinds of additional output from `make'.
3681 case `$am_make -s -f confmf 2> /dev/null` in #(
3682 *the\ am__doit\ target*)
3683   am__include=include
3684   am__quote=
3685   _am_result=GNU
3686   ;;
3687 esac
3688 # Now try BSD make style include.
3689 if test "$am__include" = "#"; then
3690    echo '.include "confinc"' > confmf
3691    case `$am_make -s -f confmf 2> /dev/null` in #(
3692    *the\ am__doit\ target*)
3693      am__include=.include
3694      am__quote="\""
3695      _am_result=BSD
3696      ;;
3697    esac
3698 fi
3699
3700
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3702 $as_echo "$_am_result" >&6; }
3703 rm -f confinc confmf
3704
3705 @%:@ Check whether --enable-dependency-tracking was given.
3706 if test "${enable_dependency_tracking+set}" = set; then :
3707   enableval=$enable_dependency_tracking; 
3708 fi
3709
3710 if test "x$enable_dependency_tracking" != xno; then
3711   am_depcomp="$ac_aux_dir/depcomp"
3712   AMDEPBACKSLASH='\'
3713   am__nodep='_no'
3714 fi
3715  if test "x$enable_dependency_tracking" != xno; then
3716   AMDEP_TRUE=
3717   AMDEP_FALSE='#'
3718 else
3719   AMDEP_TRUE='#'
3720   AMDEP_FALSE=
3721 fi
3722
3723
3724 ac_ext=c
3725 ac_cpp='$CPP $CPPFLAGS'
3726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 if test -n "$ac_tool_prefix"; then
3730   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3731 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_CC+:} false; then :
3735   $as_echo_n "(cached) " >&6
3736 else
3737   if test -n "$CC"; then
3738   ac_cv_prog_CC="$CC" # Let the user override the test.
3739 else
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3742 do
3743   IFS=$as_save_IFS
3744   test -z "$as_dir" && as_dir=.
3745     for ac_exec_ext in '' $ac_executable_extensions; do
3746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749     break 2
3750   fi
3751 done
3752   done
3753 IFS=$as_save_IFS
3754
3755 fi
3756 fi
3757 CC=$ac_cv_prog_CC
3758 if test -n "$CC"; then
3759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3761 else
3762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764 fi
3765
3766
3767 fi
3768 if test -z "$ac_cv_prog_CC"; then
3769   ac_ct_CC=$CC
3770   # Extract the first word of "gcc", so it can be a program name with args.
3771 set dummy gcc; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3775   $as_echo_n "(cached) " >&6
3776 else
3777   if test -n "$ac_ct_CC"; then
3778   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3779 else
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3782 do
3783   IFS=$as_save_IFS
3784   test -z "$as_dir" && as_dir=.
3785     for ac_exec_ext in '' $ac_executable_extensions; do
3786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3787     ac_cv_prog_ac_ct_CC="gcc"
3788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789     break 2
3790   fi
3791 done
3792   done
3793 IFS=$as_save_IFS
3794
3795 fi
3796 fi
3797 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3798 if test -n "$ac_ct_CC"; then
3799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3800 $as_echo "$ac_ct_CC" >&6; }
3801 else
3802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3804 fi
3805
3806   if test "x$ac_ct_CC" = x; then
3807     CC=""
3808   else
3809     case $cross_compiling:$ac_tool_warned in
3810 yes:)
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3813 ac_tool_warned=yes ;;
3814 esac
3815     CC=$ac_ct_CC
3816   fi
3817 else
3818   CC="$ac_cv_prog_CC"
3819 fi
3820
3821 if test -z "$CC"; then
3822           if test -n "$ac_tool_prefix"; then
3823     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3824 set dummy ${ac_tool_prefix}cc; ac_word=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if ${ac_cv_prog_CC+:} false; then :
3828   $as_echo_n "(cached) " >&6
3829 else
3830   if test -n "$CC"; then
3831   ac_cv_prog_CC="$CC" # Let the user override the test.
3832 else
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 for as_dir in $PATH
3835 do
3836   IFS=$as_save_IFS
3837   test -z "$as_dir" && as_dir=.
3838     for ac_exec_ext in '' $ac_executable_extensions; do
3839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3840     ac_cv_prog_CC="${ac_tool_prefix}cc"
3841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842     break 2
3843   fi
3844 done
3845   done
3846 IFS=$as_save_IFS
3847
3848 fi
3849 fi
3850 CC=$ac_cv_prog_CC
3851 if test -n "$CC"; then
3852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3853 $as_echo "$CC" >&6; }
3854 else
3855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3857 fi
3858
3859
3860   fi
3861 fi
3862 if test -z "$CC"; then
3863   # Extract the first word of "cc", so it can be a program name with args.
3864 set dummy cc; ac_word=$2
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866 $as_echo_n "checking for $ac_word... " >&6; }
3867 if ${ac_cv_prog_CC+:} false; then :
3868   $as_echo_n "(cached) " >&6
3869 else
3870   if test -n "$CC"; then
3871   ac_cv_prog_CC="$CC" # Let the user override the test.
3872 else
3873   ac_prog_rejected=no
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 for as_dir in $PATH
3876 do
3877   IFS=$as_save_IFS
3878   test -z "$as_dir" && as_dir=.
3879     for ac_exec_ext in '' $ac_executable_extensions; do
3880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3881     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3882        ac_prog_rejected=yes
3883        continue
3884      fi
3885     ac_cv_prog_CC="cc"
3886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887     break 2
3888   fi
3889 done
3890   done
3891 IFS=$as_save_IFS
3892
3893 if test $ac_prog_rejected = yes; then
3894   # We found a bogon in the path, so make sure we never use it.
3895   set dummy $ac_cv_prog_CC
3896   shift
3897   if test $@%:@ != 0; then
3898     # We chose a different compiler from the bogus one.
3899     # However, it has the same basename, so the bogon will be chosen
3900     # first if we set CC to just the basename; use the full file name.
3901     shift
3902     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3903   fi
3904 fi
3905 fi
3906 fi
3907 CC=$ac_cv_prog_CC
3908 if test -n "$CC"; then
3909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3910 $as_echo "$CC" >&6; }
3911 else
3912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3914 fi
3915
3916
3917 fi
3918 if test -z "$CC"; then
3919   if test -n "$ac_tool_prefix"; then
3920   for ac_prog in cl.exe
3921   do
3922     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if ${ac_cv_prog_CC+:} false; then :
3927   $as_echo_n "(cached) " >&6
3928 else
3929   if test -n "$CC"; then
3930   ac_cv_prog_CC="$CC" # Let the user override the test.
3931 else
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 for as_dir in $PATH
3934 do
3935   IFS=$as_save_IFS
3936   test -z "$as_dir" && as_dir=.
3937     for ac_exec_ext in '' $ac_executable_extensions; do
3938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941     break 2
3942   fi
3943 done
3944   done
3945 IFS=$as_save_IFS
3946
3947 fi
3948 fi
3949 CC=$ac_cv_prog_CC
3950 if test -n "$CC"; then
3951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3952 $as_echo "$CC" >&6; }
3953 else
3954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3956 fi
3957
3958
3959     test -n "$CC" && break
3960   done
3961 fi
3962 if test -z "$CC"; then
3963   ac_ct_CC=$CC
3964   for ac_prog in cl.exe
3965 do
3966   # Extract the first word of "$ac_prog", so it can be a program name with args.
3967 set dummy $ac_prog; ac_word=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3971   $as_echo_n "(cached) " >&6
3972 else
3973   if test -n "$ac_ct_CC"; then
3974   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3975 else
3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 for as_dir in $PATH
3978 do
3979   IFS=$as_save_IFS
3980   test -z "$as_dir" && as_dir=.
3981     for ac_exec_ext in '' $ac_executable_extensions; do
3982   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3983     ac_cv_prog_ac_ct_CC="$ac_prog"
3984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985     break 2
3986   fi
3987 done
3988   done
3989 IFS=$as_save_IFS
3990
3991 fi
3992 fi
3993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3994 if test -n "$ac_ct_CC"; then
3995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3996 $as_echo "$ac_ct_CC" >&6; }
3997 else
3998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4000 fi
4001
4002
4003   test -n "$ac_ct_CC" && break
4004 done
4005
4006   if test "x$ac_ct_CC" = x; then
4007     CC=""
4008   else
4009     case $cross_compiling:$ac_tool_warned in
4010 yes:)
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4013 ac_tool_warned=yes ;;
4014 esac
4015     CC=$ac_ct_CC
4016   fi
4017 fi
4018
4019 fi
4020
4021
4022 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error $? "no acceptable C compiler found in \$PATH
4025 See \`config.log' for more details" "$LINENO" 5; }
4026
4027 # Provide some information about the compiler.
4028 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4029 set X $ac_compile
4030 ac_compiler=$2
4031 for ac_option in --version -v -V -qversion; do
4032   { { ac_try="$ac_compiler $ac_option >&5"
4033 case "(($ac_try" in
4034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035   *) ac_try_echo=$ac_try;;
4036 esac
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4040   ac_status=$?
4041   if test -s conftest.err; then
4042     sed '10a\
4043 ... rest of stderr output deleted ...
4044          10q' conftest.err >conftest.er1
4045     cat conftest.er1 >&5
4046   fi
4047   rm -f conftest.er1 conftest.err
4048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049   test $ac_status = 0; }
4050 done
4051
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h.  */
4054
4055 int
4056 main ()
4057 {
4058
4059   ;
4060   return 0;
4061 }
4062 _ACEOF
4063 ac_clean_files_save=$ac_clean_files
4064 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4065 # Try to create an executable without -o first, disregard a.out.
4066 # It will help us diagnose broken compilers, and finding out an intuition
4067 # of exeext.
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4069 $as_echo_n "checking whether the C compiler works... " >&6; }
4070 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4071
4072 # The possible output files:
4073 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4074
4075 ac_rmfiles=
4076 for ac_file in $ac_files
4077 do
4078   case $ac_file in
4079     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4080     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4081   esac
4082 done
4083 rm -f $ac_rmfiles
4084
4085 if { { ac_try="$ac_link_default"
4086 case "(($ac_try" in
4087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088   *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092   (eval "$ac_link_default") 2>&5
4093   ac_status=$?
4094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095   test $ac_status = 0; }; then :
4096   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4097 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4098 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4099 # so that the user can short-circuit this test for compilers unknown to
4100 # Autoconf.
4101 for ac_file in $ac_files ''
4102 do
4103   test -f "$ac_file" || continue
4104   case $ac_file in
4105     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4106         ;;
4107     [ab].out )
4108         # We found the default executable, but exeext='' is most
4109         # certainly right.
4110         break;;
4111     *.* )
4112         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4113         then :; else
4114            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4115         fi
4116         # We set ac_cv_exeext here because the later test for it is not
4117         # safe: cross compilers may not add the suffix if given an `-o'
4118         # argument, so we may need to know it at that point already.
4119         # Even if this section looks crufty: it has the advantage of
4120         # actually working.
4121         break;;
4122     * )
4123         break;;
4124   esac
4125 done
4126 test "$ac_cv_exeext" = no && ac_cv_exeext=
4127
4128 else
4129   ac_file=''
4130 fi
4131 if test -z "$ac_file"; then :
4132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4133 $as_echo "no" >&6; }
4134 $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4136
4137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4139 as_fn_error 77 "C compiler cannot create executables
4140 See \`config.log' for more details" "$LINENO" 5; }
4141 else
4142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143 $as_echo "yes" >&6; }
4144 fi
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4146 $as_echo_n "checking for C compiler default output file name... " >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4148 $as_echo "$ac_file" >&6; }
4149 ac_exeext=$ac_cv_exeext
4150
4151 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4152 ac_clean_files=$ac_clean_files_save
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4154 $as_echo_n "checking for suffix of executables... " >&6; }
4155 if { { ac_try="$ac_link"
4156 case "(($ac_try" in
4157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158   *) ac_try_echo=$ac_try;;
4159 esac
4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4161 $as_echo "$ac_try_echo"; } >&5
4162   (eval "$ac_link") 2>&5
4163   ac_status=$?
4164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4165   test $ac_status = 0; }; then :
4166   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4167 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4168 # work properly (i.e., refer to `conftest.exe'), while it won't with
4169 # `rm'.
4170 for ac_file in conftest.exe conftest conftest.*; do
4171   test -f "$ac_file" || continue
4172   case $ac_file in
4173     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4174     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4175           break;;
4176     * ) break;;
4177   esac
4178 done
4179 else
4180   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4182 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4183 See \`config.log' for more details" "$LINENO" 5; }
4184 fi
4185 rm -f conftest conftest$ac_cv_exeext
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4187 $as_echo "$ac_cv_exeext" >&6; }
4188
4189 rm -f conftest.$ac_ext
4190 EXEEXT=$ac_cv_exeext
4191 ac_exeext=$EXEEXT
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h.  */
4194 @%:@include <stdio.h>
4195 int
4196 main ()
4197 {
4198 FILE *f = fopen ("conftest.out", "w");
4199  return ferror (f) || fclose (f) != 0;
4200
4201   ;
4202   return 0;
4203 }
4204 _ACEOF
4205 ac_clean_files="$ac_clean_files conftest.out"
4206 # Check that the compiler produces executables we can run.  If not, either
4207 # the compiler is broken, or we cross compile.
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4209 $as_echo_n "checking whether we are cross compiling... " >&6; }
4210 if test "$cross_compiling" != yes; then
4211   { { ac_try="$ac_link"
4212 case "(($ac_try" in
4213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214   *) ac_try_echo=$ac_try;;
4215 esac
4216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4217 $as_echo "$ac_try_echo"; } >&5
4218   (eval "$ac_link") 2>&5
4219   ac_status=$?
4220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4221   test $ac_status = 0; }
4222   if { ac_try='./conftest$ac_cv_exeext'
4223   { { case "(($ac_try" in
4224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4225   *) ac_try_echo=$ac_try;;
4226 esac
4227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4228 $as_echo "$ac_try_echo"; } >&5
4229   (eval "$ac_try") 2>&5
4230   ac_status=$?
4231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4232   test $ac_status = 0; }; }; then
4233     cross_compiling=no
4234   else
4235     if test "$cross_compiling" = maybe; then
4236         cross_compiling=yes
4237     else
4238         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error $? "cannot run C compiled programs.
4241 If you meant to cross compile, use \`--host'.
4242 See \`config.log' for more details" "$LINENO" 5; }
4243     fi
4244   fi
4245 fi
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4247 $as_echo "$cross_compiling" >&6; }
4248
4249 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4250 ac_clean_files=$ac_clean_files_save
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4252 $as_echo_n "checking for suffix of object files... " >&6; }
4253 if ${ac_cv_objext+:} false; then :
4254   $as_echo_n "(cached) " >&6
4255 else
4256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h.  */
4258
4259 int
4260 main ()
4261 {
4262
4263   ;
4264   return 0;
4265 }
4266 _ACEOF
4267 rm -f conftest.o conftest.obj
4268 if { { ac_try="$ac_compile"
4269 case "(($ac_try" in
4270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271   *) ac_try_echo=$ac_try;;
4272 esac
4273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4274 $as_echo "$ac_try_echo"; } >&5
4275   (eval "$ac_compile") 2>&5
4276   ac_status=$?
4277   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278   test $ac_status = 0; }; then :
4279   for ac_file in conftest.o conftest.obj conftest.*; do
4280   test -f "$ac_file" || continue;
4281   case $ac_file in
4282     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4283     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4284        break;;
4285   esac
4286 done
4287 else
4288   $as_echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.$ac_ext >&5
4290
4291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4293 as_fn_error $? "cannot compute suffix of object files: cannot compile
4294 See \`config.log' for more details" "$LINENO" 5; }
4295 fi
4296 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4297 fi
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4299 $as_echo "$ac_cv_objext" >&6; }
4300 OBJEXT=$ac_cv_objext
4301 ac_objext=$OBJEXT
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4303 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4304 if ${ac_cv_c_compiler_gnu+:} false; then :
4305   $as_echo_n "(cached) " >&6
4306 else
4307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h.  */
4309
4310 int
4311 main ()
4312 {
4313 #ifndef __GNUC__
4314        choke me
4315 #endif
4316
4317   ;
4318   return 0;
4319 }
4320 _ACEOF
4321 if ac_fn_c_try_compile "$LINENO"; then :
4322   ac_compiler_gnu=yes
4323 else
4324   ac_compiler_gnu=no
4325 fi
4326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4327 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4328
4329 fi
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4331 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4332 if test $ac_compiler_gnu = yes; then
4333   GCC=yes
4334 else
4335   GCC=
4336 fi
4337 ac_test_CFLAGS=${CFLAGS+set}
4338 ac_save_CFLAGS=$CFLAGS
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4340 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4341 if ${ac_cv_prog_cc_g+:} false; then :
4342   $as_echo_n "(cached) " >&6
4343 else
4344   ac_save_c_werror_flag=$ac_c_werror_flag
4345    ac_c_werror_flag=yes
4346    ac_cv_prog_cc_g=no
4347    CFLAGS="-g"
4348    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h.  */
4350
4351 int
4352 main ()
4353 {
4354
4355   ;
4356   return 0;
4357 }
4358 _ACEOF
4359 if ac_fn_c_try_compile "$LINENO"; then :
4360   ac_cv_prog_cc_g=yes
4361 else
4362   CFLAGS=""
4363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h.  */
4365
4366 int
4367 main ()
4368 {
4369
4370   ;
4371   return 0;
4372 }
4373 _ACEOF
4374 if ac_fn_c_try_compile "$LINENO"; then :
4375   
4376 else
4377   ac_c_werror_flag=$ac_save_c_werror_flag
4378          CFLAGS="-g"
4379          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h.  */
4381
4382 int
4383 main ()
4384 {
4385
4386   ;
4387   return 0;
4388 }
4389 _ACEOF
4390 if ac_fn_c_try_compile "$LINENO"; then :
4391   ac_cv_prog_cc_g=yes
4392 fi
4393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4394 fi
4395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396 fi
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4398    ac_c_werror_flag=$ac_save_c_werror_flag
4399 fi
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4401 $as_echo "$ac_cv_prog_cc_g" >&6; }
4402 if test "$ac_test_CFLAGS" = set; then
4403   CFLAGS=$ac_save_CFLAGS
4404 elif test $ac_cv_prog_cc_g = yes; then
4405   if test "$GCC" = yes; then
4406     CFLAGS="-g -O2"
4407   else
4408     CFLAGS="-g"
4409   fi
4410 else
4411   if test "$GCC" = yes; then
4412     CFLAGS="-O2"
4413   else
4414     CFLAGS=
4415   fi
4416 fi
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4418 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4419 if ${ac_cv_prog_cc_c89+:} false; then :
4420   $as_echo_n "(cached) " >&6
4421 else
4422   ac_cv_prog_cc_c89=no
4423 ac_save_CC=$CC
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h.  */
4426 #include <stdarg.h>
4427 #include <stdio.h>
4428 #include <sys/types.h>
4429 #include <sys/stat.h>
4430 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4431 struct buf { int x; };
4432 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4433 static char *e (p, i)
4434      char **p;
4435      int i;
4436 {
4437   return p[i];
4438 }
4439 static char *f (char * (*g) (char **, int), char **p, ...)
4440 {
4441   char *s;
4442   va_list v;
4443   va_start (v,p);
4444   s = g (p, va_arg (v,int));
4445   va_end (v);
4446   return s;
4447 }
4448
4449 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4450    function prototypes and stuff, but not '\xHH' hex character constants.
4451    These don't provoke an error unfortunately, instead are silently treated
4452    as 'x'.  The following induces an error, until -std is added to get
4453    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4454    array size at least.  It's necessary to write '\x00'==0 to get something
4455    that's true only with -std.  */
4456 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4457
4458 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4459    inside strings and character constants.  */
4460 #define FOO(x) 'x'
4461 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4462
4463 int test (int i, double x);
4464 struct s1 {int (*f) (int a);};
4465 struct s2 {int (*f) (double a);};
4466 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4467 int argc;
4468 char **argv;
4469 int
4470 main ()
4471 {
4472 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4473   ;
4474   return 0;
4475 }
4476 _ACEOF
4477 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4478         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4479 do
4480   CC="$ac_save_CC $ac_arg"
4481   if ac_fn_c_try_compile "$LINENO"; then :
4482   ac_cv_prog_cc_c89=$ac_arg
4483 fi
4484 rm -f core conftest.err conftest.$ac_objext
4485   test "x$ac_cv_prog_cc_c89" != "xno" && break
4486 done
4487 rm -f conftest.$ac_ext
4488 CC=$ac_save_CC
4489
4490 fi
4491 # AC_CACHE_VAL
4492 case "x$ac_cv_prog_cc_c89" in
4493   x)
4494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4495 $as_echo "none needed" >&6; } ;;
4496   xno)
4497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4498 $as_echo "unsupported" >&6; } ;;
4499   *)
4500     CC="$CC $ac_cv_prog_cc_c89"
4501     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4502 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4503 esac
4504 if test "x$ac_cv_prog_cc_c89" != xno; then :
4505   
4506 fi
4507
4508 ac_ext=c
4509 ac_cpp='$CPP $CPPFLAGS'
4510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4513
4514 depcc="$CC"   am_compiler_list=
4515
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4517 $as_echo_n "checking dependency style of $depcc... " >&6; }
4518 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4519   $as_echo_n "(cached) " >&6
4520 else
4521   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4522   # We make a subdir and do the tests there.  Otherwise we can end up
4523   # making bogus files that we don't know about and never remove.  For
4524   # instance it was reported that on HP-UX the gcc test will end up
4525   # making a dummy file named `D' -- because `-MD' means `put the output
4526   # in D'.
4527   rm -rf conftest.dir
4528   mkdir conftest.dir
4529   # Copy depcomp to subdir because otherwise we won't find it if we're
4530   # using a relative directory.
4531   cp "$am_depcomp" conftest.dir
4532   cd conftest.dir
4533   # We will build objects and dependencies in a subdirectory because
4534   # it helps to detect inapplicable dependency modes.  For instance
4535   # both Tru64's cc and ICC support -MD to output dependencies as a
4536   # side effect of compilation, but ICC will put the dependencies in
4537   # the current directory while Tru64 will put them in the object
4538   # directory.
4539   mkdir sub
4540
4541   am_cv_CC_dependencies_compiler_type=none
4542   if test "$am_compiler_list" = ""; then
4543      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4544   fi
4545   am__universal=false
4546   case " $depcc " in #(
4547      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4548      esac
4549
4550   for depmode in $am_compiler_list; do
4551     # Setup a source with many dependencies, because some compilers
4552     # like to wrap large dependency lists on column 80 (with \), and
4553     # we should not choose a depcomp mode which is confused by this.
4554     #
4555     # We need to recreate these files for each test, as the compiler may
4556     # overwrite some of them when testing with obscure command lines.
4557     # This happens at least with the AIX C compiler.
4558     : > sub/conftest.c
4559     for i in 1 2 3 4 5 6; do
4560       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4561       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4562       # Solaris 8's {/usr,}/bin/sh.
4563       touch sub/conftst$i.h
4564     done
4565     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4566
4567     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4568     # mode.  It turns out that the SunPro C++ compiler does not properly
4569     # handle `-M -o', and we need to detect this.  Also, some Intel
4570     # versions had trouble with output in subdirs
4571     am__obj=sub/conftest.${OBJEXT-o}
4572     am__minus_obj="-o $am__obj"
4573     case $depmode in
4574     gcc)
4575       # This depmode causes a compiler race in universal mode.
4576       test "$am__universal" = false || continue
4577       ;;
4578     nosideeffect)
4579       # after this tag, mechanisms are not by side-effect, so they'll
4580       # only be used when explicitly requested
4581       if test "x$enable_dependency_tracking" = xyes; then
4582         continue
4583       else
4584         break
4585       fi
4586       ;;
4587     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4588       # This compiler won't grok `-c -o', but also, the minuso test has
4589       # not run yet.  These depmodes are late enough in the game, and
4590       # so weak that their functioning should not be impacted.
4591       am__obj=conftest.${OBJEXT-o}
4592       am__minus_obj=
4593       ;;
4594     none) break ;;
4595     esac
4596     if depmode=$depmode \
4597        source=sub/conftest.c object=$am__obj \
4598        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4599        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4600          >/dev/null 2>conftest.err &&
4601        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4602        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4603        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4604        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4605       # icc doesn't choke on unknown options, it will just issue warnings
4606       # or remarks (even with -Werror).  So we grep stderr for any message
4607       # that says an option was ignored or not supported.
4608       # When given -MP, icc 7.0 and 7.1 complain thusly:
4609       #   icc: Command line warning: ignoring option '-M'; no argument required
4610       # The diagnosis changed in icc 8.0:
4611       #   icc: Command line remark: option '-MP' not supported
4612       if (grep 'ignoring option' conftest.err ||
4613           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4614         am_cv_CC_dependencies_compiler_type=$depmode
4615         break
4616       fi
4617     fi
4618   done
4619
4620   cd ..
4621   rm -rf conftest.dir
4622 else
4623   am_cv_CC_dependencies_compiler_type=none
4624 fi
4625
4626 fi
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4628 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4629 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4630
4631  if 
4632   test "x$enable_dependency_tracking" != xno \
4633   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4634   am__fastdepCC_TRUE=
4635   am__fastdepCC_FALSE='#'
4636 else
4637   am__fastdepCC_TRUE='#'
4638   am__fastdepCC_FALSE=
4639 fi
4640
4641
4642
4643 ac_ext=cpp
4644 ac_cpp='$CXXCPP $CPPFLAGS'
4645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4648 if test -z "$CXX"; then
4649   if test -n "$CCC"; then
4650     CXX=$CCC
4651   else
4652     if test -n "$ac_tool_prefix"; then
4653   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4654   do
4655     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if ${ac_cv_prog_CXX+:} false; then :
4660   $as_echo_n "(cached) " >&6
4661 else
4662   if test -n "$CXX"; then
4663   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4664 else
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666 for as_dir in $PATH
4667 do
4668   IFS=$as_save_IFS
4669   test -z "$as_dir" && as_dir=.
4670     for ac_exec_ext in '' $ac_executable_extensions; do
4671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674     break 2
4675   fi
4676 done
4677   done
4678 IFS=$as_save_IFS
4679
4680 fi
4681 fi
4682 CXX=$ac_cv_prog_CXX
4683 if test -n "$CXX"; then
4684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4685 $as_echo "$CXX" >&6; }
4686 else
4687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4689 fi
4690
4691
4692     test -n "$CXX" && break
4693   done
4694 fi
4695 if test -z "$CXX"; then
4696   ac_ct_CXX=$CXX
4697   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4698 do
4699   # Extract the first word of "$ac_prog", so it can be a program name with args.
4700 set dummy $ac_prog; ac_word=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4704   $as_echo_n "(cached) " >&6
4705 else
4706   if test -n "$ac_ct_CXX"; then
4707   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4708 else
4709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 for as_dir in $PATH
4711 do
4712   IFS=$as_save_IFS
4713   test -z "$as_dir" && as_dir=.
4714     for ac_exec_ext in '' $ac_executable_extensions; do
4715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4716     ac_cv_prog_ac_ct_CXX="$ac_prog"
4717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718     break 2
4719   fi
4720 done
4721   done
4722 IFS=$as_save_IFS
4723
4724 fi
4725 fi
4726 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4727 if test -n "$ac_ct_CXX"; then
4728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4729 $as_echo "$ac_ct_CXX" >&6; }
4730 else
4731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4733 fi
4734
4735
4736   test -n "$ac_ct_CXX" && break
4737 done
4738
4739   if test "x$ac_ct_CXX" = x; then
4740     CXX="g++"
4741   else
4742     case $cross_compiling:$ac_tool_warned in
4743 yes:)
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4746 ac_tool_warned=yes ;;
4747 esac
4748     CXX=$ac_ct_CXX
4749   fi
4750 fi
4751
4752   fi
4753 fi
4754 # Provide some information about the compiler.
4755 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4756 set X $ac_compile
4757 ac_compiler=$2
4758 for ac_option in --version -v -V -qversion; do
4759   { { ac_try="$ac_compiler $ac_option >&5"
4760 case "(($ac_try" in
4761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762   *) ac_try_echo=$ac_try;;
4763 esac
4764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4765 $as_echo "$ac_try_echo"; } >&5
4766   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4767   ac_status=$?
4768   if test -s conftest.err; then
4769     sed '10a\
4770 ... rest of stderr output deleted ...
4771          10q' conftest.err >conftest.er1
4772     cat conftest.er1 >&5
4773   fi
4774   rm -f conftest.er1 conftest.err
4775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4776   test $ac_status = 0; }
4777 done
4778
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4780 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4781 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4782   $as_echo_n "(cached) " >&6
4783 else
4784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h.  */
4786
4787 int
4788 main ()
4789 {
4790 #ifndef __GNUC__
4791        choke me
4792 #endif
4793
4794   ;
4795   return 0;
4796 }
4797 _ACEOF
4798 if ac_fn_cxx_try_compile "$LINENO"; then :
4799   ac_compiler_gnu=yes
4800 else
4801   ac_compiler_gnu=no
4802 fi
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4805
4806 fi
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4808 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4809 if test $ac_compiler_gnu = yes; then
4810   GXX=yes
4811 else
4812   GXX=
4813 fi
4814 ac_test_CXXFLAGS=${CXXFLAGS+set}
4815 ac_save_CXXFLAGS=$CXXFLAGS
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4817 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4818 if ${ac_cv_prog_cxx_g+:} false; then :
4819   $as_echo_n "(cached) " >&6
4820 else
4821   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4822    ac_cxx_werror_flag=yes
4823    ac_cv_prog_cxx_g=no
4824    CXXFLAGS="-g"
4825    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h.  */
4827
4828 int
4829 main ()
4830 {
4831
4832   ;
4833   return 0;
4834 }
4835 _ACEOF
4836 if ac_fn_cxx_try_compile "$LINENO"; then :
4837   ac_cv_prog_cxx_g=yes
4838 else
4839   CXXFLAGS=""
4840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h.  */
4842
4843 int
4844 main ()
4845 {
4846
4847   ;
4848   return 0;
4849 }
4850 _ACEOF
4851 if ac_fn_cxx_try_compile "$LINENO"; then :
4852   
4853 else
4854   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4855          CXXFLAGS="-g"
4856          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h.  */
4858
4859 int
4860 main ()
4861 {
4862
4863   ;
4864   return 0;
4865 }
4866 _ACEOF
4867 if ac_fn_cxx_try_compile "$LINENO"; then :
4868   ac_cv_prog_cxx_g=yes
4869 fi
4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4871 fi
4872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4873 fi
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4875    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4876 fi
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4878 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4879 if test "$ac_test_CXXFLAGS" = set; then
4880   CXXFLAGS=$ac_save_CXXFLAGS
4881 elif test $ac_cv_prog_cxx_g = yes; then
4882   if test "$GXX" = yes; then
4883     CXXFLAGS="-g -O2"
4884   else
4885     CXXFLAGS="-g"
4886   fi
4887 else
4888   if test "$GXX" = yes; then
4889     CXXFLAGS="-O2"
4890   else
4891     CXXFLAGS=
4892   fi
4893 fi
4894 ac_ext=c
4895 ac_cpp='$CPP $CPPFLAGS'
4896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4899
4900 depcc="$CXX"  am_compiler_list=
4901
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4903 $as_echo_n "checking dependency style of $depcc... " >&6; }
4904 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4908   # We make a subdir and do the tests there.  Otherwise we can end up
4909   # making bogus files that we don't know about and never remove.  For
4910   # instance it was reported that on HP-UX the gcc test will end up
4911   # making a dummy file named `D' -- because `-MD' means `put the output
4912   # in D'.
4913   rm -rf conftest.dir
4914   mkdir conftest.dir
4915   # Copy depcomp to subdir because otherwise we won't find it if we're
4916   # using a relative directory.
4917   cp "$am_depcomp" conftest.dir
4918   cd conftest.dir
4919   # We will build objects and dependencies in a subdirectory because
4920   # it helps to detect inapplicable dependency modes.  For instance
4921   # both Tru64's cc and ICC support -MD to output dependencies as a
4922   # side effect of compilation, but ICC will put the dependencies in
4923   # the current directory while Tru64 will put them in the object
4924   # directory.
4925   mkdir sub
4926
4927   am_cv_CXX_dependencies_compiler_type=none
4928   if test "$am_compiler_list" = ""; then
4929      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4930   fi
4931   am__universal=false
4932   case " $depcc " in #(
4933      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4934      esac
4935
4936   for depmode in $am_compiler_list; do
4937     # Setup a source with many dependencies, because some compilers
4938     # like to wrap large dependency lists on column 80 (with \), and
4939     # we should not choose a depcomp mode which is confused by this.
4940     #
4941     # We need to recreate these files for each test, as the compiler may
4942     # overwrite some of them when testing with obscure command lines.
4943     # This happens at least with the AIX C compiler.
4944     : > sub/conftest.c
4945     for i in 1 2 3 4 5 6; do
4946       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4947       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4948       # Solaris 8's {/usr,}/bin/sh.
4949       touch sub/conftst$i.h
4950     done
4951     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4952
4953     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4954     # mode.  It turns out that the SunPro C++ compiler does not properly
4955     # handle `-M -o', and we need to detect this.  Also, some Intel
4956     # versions had trouble with output in subdirs
4957     am__obj=sub/conftest.${OBJEXT-o}
4958     am__minus_obj="-o $am__obj"
4959     case $depmode in
4960     gcc)
4961       # This depmode causes a compiler race in universal mode.
4962       test "$am__universal" = false || continue
4963       ;;
4964     nosideeffect)
4965       # after this tag, mechanisms are not by side-effect, so they'll
4966       # only be used when explicitly requested
4967       if test "x$enable_dependency_tracking" = xyes; then
4968         continue
4969       else
4970         break
4971       fi
4972       ;;
4973     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4974       # This compiler won't grok `-c -o', but also, the minuso test has
4975       # not run yet.  These depmodes are late enough in the game, and
4976       # so weak that their functioning should not be impacted.
4977       am__obj=conftest.${OBJEXT-o}
4978       am__minus_obj=
4979       ;;
4980     none) break ;;
4981     esac
4982     if depmode=$depmode \
4983        source=sub/conftest.c object=$am__obj \
4984        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4985        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4986          >/dev/null 2>conftest.err &&
4987        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4988        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4989        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4990        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4991       # icc doesn't choke on unknown options, it will just issue warnings
4992       # or remarks (even with -Werror).  So we grep stderr for any message
4993       # that says an option was ignored or not supported.
4994       # When given -MP, icc 7.0 and 7.1 complain thusly:
4995       #   icc: Command line warning: ignoring option '-M'; no argument required
4996       # The diagnosis changed in icc 8.0:
4997       #   icc: Command line remark: option '-MP' not supported
4998       if (grep 'ignoring option' conftest.err ||
4999           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5000         am_cv_CXX_dependencies_compiler_type=$depmode
5001         break
5002       fi
5003     fi
5004   done
5005
5006   cd ..
5007   rm -rf conftest.dir
5008 else
5009   am_cv_CXX_dependencies_compiler_type=none
5010 fi
5011
5012 fi
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5014 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5015 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5016
5017  if 
5018   test "x$enable_dependency_tracking" != xno \
5019   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5020   am__fastdepCXX_TRUE=
5021   am__fastdepCXX_FALSE='#'
5022 else
5023   am__fastdepCXX_TRUE='#'
5024   am__fastdepCXX_FALSE=
5025 fi
5026
5027
5028 if test "x$CC" != xcc; then
5029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5030 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5031 else
5032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5033 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5034 fi
5035 set dummy $CC; ac_cc=`$as_echo "$2" |
5036                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5037 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5038   $as_echo_n "(cached) " >&6
5039 else
5040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041 /* end confdefs.h.  */
5042
5043 int
5044 main ()
5045 {
5046
5047   ;
5048   return 0;
5049 }
5050 _ACEOF
5051 # Make sure it works both with $CC and with simple cc.
5052 # We do the test twice because some compilers refuse to overwrite an
5053 # existing .o file with -o, though they will create one.
5054 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5055 rm -f conftest2.*
5056 if { { case "(($ac_try" in
5057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5058   *) ac_try_echo=$ac_try;;
5059 esac
5060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5061 $as_echo "$ac_try_echo"; } >&5
5062   (eval "$ac_try") 2>&5
5063   ac_status=$?
5064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5065   test $ac_status = 0; } &&
5066    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5068   *) ac_try_echo=$ac_try;;
5069 esac
5070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5071 $as_echo "$ac_try_echo"; } >&5
5072   (eval "$ac_try") 2>&5
5073   ac_status=$?
5074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5075   test $ac_status = 0; };
5076 then
5077   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5078   if test "x$CC" != xcc; then
5079     # Test first that cc exists at all.
5080     if { ac_try='cc -c conftest.$ac_ext >&5'
5081   { { case "(($ac_try" in
5082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5083   *) ac_try_echo=$ac_try;;
5084 esac
5085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5086 $as_echo "$ac_try_echo"; } >&5
5087   (eval "$ac_try") 2>&5
5088   ac_status=$?
5089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5090   test $ac_status = 0; }; }; then
5091       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5092       rm -f conftest2.*
5093       if { { case "(($ac_try" in
5094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095   *) ac_try_echo=$ac_try;;
5096 esac
5097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 $as_echo "$ac_try_echo"; } >&5
5099   (eval "$ac_try") 2>&5
5100   ac_status=$?
5101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102   test $ac_status = 0; } &&
5103          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5105   *) ac_try_echo=$ac_try;;
5106 esac
5107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5108 $as_echo "$ac_try_echo"; } >&5
5109   (eval "$ac_try") 2>&5
5110   ac_status=$?
5111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5112   test $ac_status = 0; };
5113       then
5114         # cc works too.
5115         :
5116       else
5117         # cc exists but doesn't like -o.
5118         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5119       fi
5120     fi
5121   fi
5122 else
5123   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5124 fi
5125 rm -f core conftest*
5126
5127 fi
5128 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5130 $as_echo "yes" >&6; }
5131 else
5132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5134   
5135 $as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5136
5137 fi
5138
5139
5140 ac_ext=c
5141 ac_cpp='$CPP $CPPFLAGS'
5142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5146 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5147 # On Suns, sometimes $CPP names a directory.
5148 if test -n "$CPP" && test -d "$CPP"; then
5149   CPP=
5150 fi
5151 if test -z "$CPP"; then
5152   if ${ac_cv_prog_CPP+:} false; then :
5153   $as_echo_n "(cached) " >&6
5154 else
5155       # Double quotes because CPP needs to be expanded
5156     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5157     do
5158       ac_preproc_ok=false
5159 for ac_c_preproc_warn_flag in '' yes
5160 do
5161   # Use a header file that comes with gcc, so configuring glibc
5162   # with a fresh cross-compiler works.
5163   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164   # <limits.h> exists even on freestanding compilers.
5165   # On the NeXT, cc -E runs the code through the compiler's parser,
5166   # not just through cpp. "Syntax error" is here to catch this case.
5167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h.  */
5169 @%:@ifdef __STDC__
5170 @%:@ include <limits.h>
5171 @%:@else
5172 @%:@ include <assert.h>
5173 @%:@endif
5174                      Syntax error
5175 _ACEOF
5176 if ac_fn_c_try_cpp "$LINENO"; then :
5177   
5178 else
5179   # Broken: fails on valid input.
5180 continue
5181 fi
5182 rm -f conftest.err conftest.i conftest.$ac_ext
5183
5184   # OK, works on sane cases.  Now check whether nonexistent headers
5185   # can be detected and how.
5186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h.  */
5188 @%:@include <ac_nonexistent.h>
5189 _ACEOF
5190 if ac_fn_c_try_cpp "$LINENO"; then :
5191   # Broken: success on invalid input.
5192 continue
5193 else
5194   # Passes both tests.
5195 ac_preproc_ok=:
5196 break
5197 fi
5198 rm -f conftest.err conftest.i conftest.$ac_ext
5199
5200 done
5201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5202 rm -f conftest.i conftest.err conftest.$ac_ext
5203 if $ac_preproc_ok; then :
5204   break
5205 fi
5206
5207     done
5208     ac_cv_prog_CPP=$CPP
5209   
5210 fi
5211   CPP=$ac_cv_prog_CPP
5212 else
5213   ac_cv_prog_CPP=$CPP
5214 fi
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5216 $as_echo "$CPP" >&6; }
5217 ac_preproc_ok=false
5218 for ac_c_preproc_warn_flag in '' yes
5219 do
5220   # Use a header file that comes with gcc, so configuring glibc
5221   # with a fresh cross-compiler works.
5222   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5223   # <limits.h> exists even on freestanding compilers.
5224   # On the NeXT, cc -E runs the code through the compiler's parser,
5225   # not just through cpp. "Syntax error" is here to catch this case.
5226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h.  */
5228 @%:@ifdef __STDC__
5229 @%:@ include <limits.h>
5230 @%:@else
5231 @%:@ include <assert.h>
5232 @%:@endif
5233                      Syntax error
5234 _ACEOF
5235 if ac_fn_c_try_cpp "$LINENO"; then :
5236   
5237 else
5238   # Broken: fails on valid input.
5239 continue
5240 fi
5241 rm -f conftest.err conftest.i conftest.$ac_ext
5242
5243   # OK, works on sane cases.  Now check whether nonexistent headers
5244   # can be detected and how.
5245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h.  */
5247 @%:@include <ac_nonexistent.h>
5248 _ACEOF
5249 if ac_fn_c_try_cpp "$LINENO"; then :
5250   # Broken: success on invalid input.
5251 continue
5252 else
5253   # Passes both tests.
5254 ac_preproc_ok=:
5255 break
5256 fi
5257 rm -f conftest.err conftest.i conftest.$ac_ext
5258
5259 done
5260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5261 rm -f conftest.i conftest.err conftest.$ac_ext
5262 if $ac_preproc_ok; then :
5263   
5264 else
5265   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5267 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5268 See \`config.log' for more details" "$LINENO" 5; }
5269 fi
5270
5271 ac_ext=c
5272 ac_cpp='$CPP $CPPFLAGS'
5273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5276
5277
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5279 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5280 if ${ac_cv_path_GREP+:} false; then :
5281   $as_echo_n "(cached) " >&6
5282 else
5283   if test -z "$GREP"; then
5284   ac_path_GREP_found=false
5285   # Loop through the user's path and test for each of PROGNAME-LIST
5286   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5288 do
5289   IFS=$as_save_IFS
5290   test -z "$as_dir" && as_dir=.
5291     for ac_prog in grep ggrep; do
5292     for ac_exec_ext in '' $ac_executable_extensions; do
5293       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5294       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5295 # Check for GNU ac_path_GREP and select it if it is found.
5296   # Check for GNU $ac_path_GREP
5297 case `"$ac_path_GREP" --version 2>&1` in
5298 *GNU*)
5299   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5300 *)
5301   ac_count=0
5302   $as_echo_n 0123456789 >"conftest.in"
5303   while :
5304   do
5305     cat "conftest.in" "conftest.in" >"conftest.tmp"
5306     mv "conftest.tmp" "conftest.in"
5307     cp "conftest.in" "conftest.nl"
5308     $as_echo 'GREP' >> "conftest.nl"
5309     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5310     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5311     as_fn_arith $ac_count + 1 && ac_count=$as_val
5312     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5313       # Best one so far, save it but keep looking for a better one
5314       ac_cv_path_GREP="$ac_path_GREP"
5315       ac_path_GREP_max=$ac_count
5316     fi
5317     # 10*(2^10) chars as input seems more than enough
5318     test $ac_count -gt 10 && break
5319   done
5320   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5321 esac
5322
5323       $ac_path_GREP_found && break 3
5324     done
5325   done
5326   done
5327 IFS=$as_save_IFS
5328   if test -z "$ac_cv_path_GREP"; then
5329     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5330   fi
5331 else
5332   ac_cv_path_GREP=$GREP
5333 fi
5334
5335 fi
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5337 $as_echo "$ac_cv_path_GREP" >&6; }
5338  GREP="$ac_cv_path_GREP"
5339  
5340
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5342 $as_echo_n "checking for egrep... " >&6; }
5343 if ${ac_cv_path_EGREP+:} false; then :
5344   $as_echo_n "(cached) " >&6
5345 else
5346   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5347    then ac_cv_path_EGREP="$GREP -E"
5348    else
5349      if test -z "$EGREP"; then
5350   ac_path_EGREP_found=false
5351   # Loop through the user's path and test for each of PROGNAME-LIST
5352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5354 do
5355   IFS=$as_save_IFS
5356   test -z "$as_dir" && as_dir=.
5357     for ac_prog in egrep; do
5358     for ac_exec_ext in '' $ac_executable_extensions; do
5359       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5360       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5361 # Check for GNU ac_path_EGREP and select it if it is found.
5362   # Check for GNU $ac_path_EGREP
5363 case `"$ac_path_EGREP" --version 2>&1` in
5364 *GNU*)
5365   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5366 *)
5367   ac_count=0
5368   $as_echo_n 0123456789 >"conftest.in"
5369   while :
5370   do
5371     cat "conftest.in" "conftest.in" >"conftest.tmp"
5372     mv "conftest.tmp" "conftest.in"
5373     cp "conftest.in" "conftest.nl"
5374     $as_echo 'EGREP' >> "conftest.nl"
5375     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5376     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5377     as_fn_arith $ac_count + 1 && ac_count=$as_val
5378     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5379       # Best one so far, save it but keep looking for a better one
5380       ac_cv_path_EGREP="$ac_path_EGREP"
5381       ac_path_EGREP_max=$ac_count
5382     fi
5383     # 10*(2^10) chars as input seems more than enough
5384     test $ac_count -gt 10 && break
5385   done
5386   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5387 esac
5388
5389       $ac_path_EGREP_found && break 3
5390     done
5391   done
5392   done
5393 IFS=$as_save_IFS
5394   if test -z "$ac_cv_path_EGREP"; then
5395     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5396   fi
5397 else
5398   ac_cv_path_EGREP=$EGREP
5399 fi
5400
5401    fi
5402 fi
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5404 $as_echo "$ac_cv_path_EGREP" >&6; }
5405  EGREP="$ac_cv_path_EGREP"
5406  
5407
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5409 $as_echo_n "checking for ANSI C header files... " >&6; }
5410 if ${ac_cv_header_stdc+:} false; then :
5411   $as_echo_n "(cached) " >&6
5412 else
5413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h.  */
5415 #include <stdlib.h>
5416 #include <stdarg.h>
5417 #include <string.h>
5418 #include <float.h>
5419
5420 int
5421 main ()
5422 {
5423
5424   ;
5425   return 0;
5426 }
5427 _ACEOF
5428 if ac_fn_c_try_compile "$LINENO"; then :
5429   ac_cv_header_stdc=yes
5430 else
5431   ac_cv_header_stdc=no
5432 fi
5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5434
5435 if test $ac_cv_header_stdc = yes; then
5436   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h.  */
5439 #include <string.h>
5440
5441 _ACEOF
5442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5443   $EGREP "memchr" >/dev/null 2>&1; then :
5444   
5445 else
5446   ac_cv_header_stdc=no
5447 fi
5448 rm -f conftest*
5449
5450 fi
5451
5452 if test $ac_cv_header_stdc = yes; then
5453   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h.  */
5456 #include <stdlib.h>
5457
5458 _ACEOF
5459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5460   $EGREP "free" >/dev/null 2>&1; then :
5461   
5462 else
5463   ac_cv_header_stdc=no
5464 fi
5465 rm -f conftest*
5466
5467 fi
5468
5469 if test $ac_cv_header_stdc = yes; then
5470   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5471   if test "$cross_compiling" = yes; then :
5472   :
5473 else
5474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h.  */
5476 #include <ctype.h>
5477 #include <stdlib.h>
5478 #if ((' ' & 0x0FF) == 0x020)
5479 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5480 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5481 #else
5482 # define ISLOWER(c) \
5483                    (('a' <= (c) && (c) <= 'i') \
5484                      || ('j' <= (c) && (c) <= 'r') \
5485                      || ('s' <= (c) && (c) <= 'z'))
5486 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5487 #endif
5488
5489 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5490 int
5491 main ()
5492 {
5493   int i;
5494   for (i = 0; i < 256; i++)
5495     if (XOR (islower (i), ISLOWER (i))
5496         || toupper (i) != TOUPPER (i))
5497       return 2;
5498   return 0;
5499 }
5500 _ACEOF
5501 if ac_fn_c_try_run "$LINENO"; then :
5502   
5503 else
5504   ac_cv_header_stdc=no
5505 fi
5506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5507   conftest.$ac_objext conftest.beam conftest.$ac_ext
5508 fi
5509
5510 fi
5511 fi
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5513 $as_echo "$ac_cv_header_stdc" >&6; }
5514 if test $ac_cv_header_stdc = yes; then
5515   
5516 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5517
5518 fi
5519
5520 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5521 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5522                   inttypes.h stdint.h unistd.h
5523 do :
5524   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5525 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5526 "
5527 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5528   cat >>confdefs.h <<_ACEOF
5529 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5530 _ACEOF
5531  
5532 fi
5533
5534 done
5535
5536
5537 # Make sure CXXFLAGS and CFLAGS are set before expanding AC_PROG_CXX to avoid
5538 # building with '-g -O2' on Release builds.
5539
5540
5541 # check for -fvisibility=hidden compiler support (GCC >= 4)
5542 saved_CFLAGS="$CFLAGS"
5543 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden" >&5
5545 $as_echo_n "checking if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden... " >&6; }
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h.  */
5548 char foo;
5549 _ACEOF
5550 if ac_fn_c_try_compile "$LINENO"; then :
5551    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5552 $as_echo "yes" >&6; }
5553         SYMBOL_VISIBILITY="-fvisibility=hidden" SYMBOL_VISIBILITY_INLINES="-fvisibility-inlines-hidden" 
5554 else
5555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5557 fi
5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559 CFLAGS="$saved_CFLAGS"
5560
5561
5562
5563 # check for pkg-config
5564 # Extract the first word of "pkg-config", so it can be a program name with args.
5565 set dummy pkg-config; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5569   $as_echo_n "(cached) " >&6
5570 else
5571   case $PKG_CONFIG in
5572   [\\/]* | ?:[\\/]*)
5573   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5574   ;;
5575   *)
5576   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH
5578 do
5579   IFS=$as_save_IFS
5580   test -z "$as_dir" && as_dir=.
5581     for ac_exec_ext in '' $ac_executable_extensions; do
5582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585     break 2
5586   fi
5587 done
5588   done
5589 IFS=$as_save_IFS
5590
5591   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5592   ;;
5593 esac
5594 fi
5595 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5596 if test -n "$PKG_CONFIG"; then
5597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5598 $as_echo "$PKG_CONFIG" >&6; }
5599 else
5600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5602 fi
5603
5604
5605 if test "$PKG_CONFIG" = "no"; then
5606    as_fn_error $? "Cannot find pkg-config, make sure it is installed in your PATH" "$LINENO" 5
5607 fi
5608
5609 # Extract the first word of "perl", so it can be a program name with args.
5610 set dummy perl; ac_word=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_path_PERL+:} false; then :
5614   $as_echo_n "(cached) " >&6
5615 else
5616   case $PERL in
5617   [\\/]* | ?:[\\/]*)
5618   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5619   ;;
5620   *)
5621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH
5623 do
5624   IFS=$as_save_IFS
5625   test -z "$as_dir" && as_dir=.
5626     for ac_exec_ext in '' $ac_executable_extensions; do
5627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630     break 2
5631   fi
5632 done
5633   done
5634 IFS=$as_save_IFS
5635
5636   ;;
5637 esac
5638 fi
5639 PERL=$ac_cv_path_PERL
5640 if test -n "$PERL"; then
5641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5642 $as_echo "$PERL" >&6; }
5643 else
5644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5646 fi
5647
5648
5649 if test -z "$PERL"; then
5650    as_fn_error $? "You need 'perl' to compile WebKit" "$LINENO" 5
5651 fi
5652
5653 # Extract the first word of "python", so it can be a program name with args.
5654 set dummy python; ac_word=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if ${ac_cv_path_PYTHON+:} false; then :
5658   $as_echo_n "(cached) " >&6
5659 else
5660   case $PYTHON in
5661   [\\/]* | ?:[\\/]*)
5662   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
5663   ;;
5664   *)
5665   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5667 do
5668   IFS=$as_save_IFS
5669   test -z "$as_dir" && as_dir=.
5670     for ac_exec_ext in '' $ac_executable_extensions; do
5671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
5673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674     break 2
5675   fi
5676 done
5677   done
5678 IFS=$as_save_IFS
5679
5680   ;;
5681 esac
5682 fi
5683 PYTHON=$ac_cv_path_PYTHON
5684 if test -n "$PYTHON"; then
5685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5686 $as_echo "$PYTHON" >&6; }
5687 else
5688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5690 fi
5691
5692
5693 if test -z "$PYTHON"; then
5694    as_fn_error $? "You need 'python' to compile WebKit" "$LINENO" 5
5695 fi
5696
5697 # Extract the first word of "bison", so it can be a program name with args.
5698 set dummy bison; ac_word=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_path_BISON+:} false; then :
5702   $as_echo_n "(cached) " >&6
5703 else
5704   case $BISON in
5705   [\\/]* | ?:[\\/]*)
5706   ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5707   ;;
5708   *)
5709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5711 do
5712   IFS=$as_save_IFS
5713   test -z "$as_dir" && as_dir=.
5714     for ac_exec_ext in '' $ac_executable_extensions; do
5715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716     ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718     break 2
5719   fi
5720 done
5721   done
5722 IFS=$as_save_IFS
5723
5724   ;;
5725 esac
5726 fi
5727 BISON=$ac_cv_path_BISON
5728 if test -n "$BISON"; then
5729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5730 $as_echo "$BISON" >&6; }
5731 else
5732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5734 fi
5735
5736
5737 if test -z "$BISON"; then
5738    as_fn_error $? "You need the 'bison' parser generator to compile WebKit" "$LINENO" 5
5739 fi
5740
5741 # Extract the first word of "mv", so it can be a program name with args.
5742 set dummy mv; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_path_MV+:} false; then :
5746   $as_echo_n "(cached) " >&6
5747 else
5748   case $MV in
5749   [\\/]* | ?:[\\/]*)
5750   ac_cv_path_MV="$MV" # Let the user override the test with a path.
5751   ;;
5752   *)
5753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 for as_dir in $PATH
5755 do
5756   IFS=$as_save_IFS
5757   test -z "$as_dir" && as_dir=.
5758     for ac_exec_ext in '' $ac_executable_extensions; do
5759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762     break 2
5763   fi
5764 done
5765   done
5766 IFS=$as_save_IFS
5767
5768   ;;
5769 esac
5770 fi
5771 MV=$ac_cv_path_MV
5772 if test -n "$MV"; then
5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5774 $as_echo "$MV" >&6; }
5775 else
5776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5778 fi
5779
5780
5781 if test -z "$MV"; then
5782    as_fn_error $? "You need 'mv' to compile WebKit" "$LINENO" 5
5783 fi
5784
5785
5786
5787 ac_ext=c
5788 ac_cpp='$CPP $CPPFLAGS'
5789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5792 if test -n "$ac_tool_prefix"; then
5793   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5794 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if ${ac_cv_prog_CC+:} false; then :
5798   $as_echo_n "(cached) " >&6
5799 else
5800   if test -n "$CC"; then
5801   ac_cv_prog_CC="$CC" # Let the user override the test.
5802 else
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH
5805 do
5806   IFS=$as_save_IFS
5807   test -z "$as_dir" && as_dir=.
5808     for ac_exec_ext in '' $ac_executable_extensions; do
5809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812     break 2
5813   fi
5814 done
5815   done
5816 IFS=$as_save_IFS
5817
5818 fi
5819 fi
5820 CC=$ac_cv_prog_CC
5821 if test -n "$CC"; then
5822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5823 $as_echo "$CC" >&6; }
5824 else
5825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5827 fi
5828
5829
5830 fi
5831 if test -z "$ac_cv_prog_CC"; then
5832   ac_ct_CC=$CC
5833   # Extract the first word of "gcc", so it can be a program name with args.
5834 set dummy gcc; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5838   $as_echo_n "(cached) " >&6
5839 else
5840   if test -n "$ac_ct_CC"; then
5841   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5845 do
5846   IFS=$as_save_IFS
5847   test -z "$as_dir" && as_dir=.
5848     for ac_exec_ext in '' $ac_executable_extensions; do
5849   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850     ac_cv_prog_ac_ct_CC="gcc"
5851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852     break 2
5853   fi
5854 done
5855   done
5856 IFS=$as_save_IFS
5857
5858 fi
5859 fi
5860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5861 if test -n "$ac_ct_CC"; then
5862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5863 $as_echo "$ac_ct_CC" >&6; }
5864 else
5865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5867 fi
5868
5869   if test "x$ac_ct_CC" = x; then
5870     CC=""
5871   else
5872     case $cross_compiling:$ac_tool_warned in
5873 yes:)
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5876 ac_tool_warned=yes ;;
5877 esac
5878     CC=$ac_ct_CC
5879   fi
5880 else
5881   CC="$ac_cv_prog_CC"
5882 fi
5883
5884 if test -z "$CC"; then
5885           if test -n "$ac_tool_prefix"; then
5886     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5887 set dummy ${ac_tool_prefix}cc; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if ${ac_cv_prog_CC+:} false; then :
5891   $as_echo_n "(cached) " >&6
5892 else
5893   if test -n "$CC"; then
5894   ac_cv_prog_CC="$CC" # Let the user override the test.
5895 else
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5898 do
5899   IFS=$as_save_IFS
5900   test -z "$as_dir" && as_dir=.
5901     for ac_exec_ext in '' $ac_executable_extensions; do
5902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903     ac_cv_prog_CC="${ac_tool_prefix}cc"
5904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905     break 2
5906   fi
5907 done
5908   done
5909 IFS=$as_save_IFS
5910
5911 fi
5912 fi
5913 CC=$ac_cv_prog_CC
5914 if test -n "$CC"; then
5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5916 $as_echo "$CC" >&6; }
5917 else
5918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5920 fi
5921
5922
5923   fi
5924 fi
5925 if test -z "$CC"; then
5926   # Extract the first word of "cc", so it can be a program name with args.
5927 set dummy cc; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_CC+:} false; then :
5931   $as_echo_n "(cached) " >&6
5932 else
5933   if test -n "$CC"; then
5934   ac_cv_prog_CC="$CC" # Let the user override the test.
5935 else
5936   ac_prog_rejected=no
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5939 do
5940   IFS=$as_save_IFS
5941   test -z "$as_dir" && as_dir=.
5942     for ac_exec_ext in '' $ac_executable_extensions; do
5943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5944     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5945        ac_prog_rejected=yes
5946        continue
5947      fi
5948     ac_cv_prog_CC="cc"
5949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950     break 2
5951   fi
5952 done
5953   done
5954 IFS=$as_save_IFS
5955
5956 if test $ac_prog_rejected = yes; then
5957   # We found a bogon in the path, so make sure we never use it.
5958   set dummy $ac_cv_prog_CC
5959   shift
5960   if test $@%:@ != 0; then
5961     # We chose a different compiler from the bogus one.
5962     # However, it has the same basename, so the bogon will be chosen
5963     # first if we set CC to just the basename; use the full file name.
5964     shift
5965     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5966   fi
5967 fi
5968 fi
5969 fi
5970 CC=$ac_cv_prog_CC
5971 if test -n "$CC"; then
5972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5973 $as_echo "$CC" >&6; }
5974 else
5975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5977 fi
5978
5979
5980 fi
5981 if test -z "$CC"; then
5982   if test -n "$ac_tool_prefix"; then
5983   for ac_prog in cl.exe
5984   do
5985     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 $as_echo_n "checking for $ac_word... " >&6; }
5989 if ${ac_cv_prog_CC+:} false; then :
5990   $as_echo_n "(cached) " >&6
5991 else
5992   if test -n "$CC"; then
5993   ac_cv_prog_CC="$CC" # Let the user override the test.
5994 else
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 for as_dir in $PATH
5997 do
5998   IFS=$as_save_IFS
5999   test -z "$as_dir" && as_dir=.
6000     for ac_exec_ext in '' $ac_executable_extensions; do
6001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6002     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004     break 2
6005   fi
6006 done
6007   done
6008 IFS=$as_save_IFS
6009
6010 fi
6011 fi
6012 CC=$ac_cv_prog_CC
6013 if test -n "$CC"; then
6014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6015 $as_echo "$CC" >&6; }
6016 else
6017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018 $as_echo "no" >&6; }
6019 fi
6020
6021
6022     test -n "$CC" && break
6023   done
6024 fi
6025 if test -z "$CC"; then
6026   ac_ct_CC=$CC
6027   for ac_prog in cl.exe
6028 do
6029   # Extract the first word of "$ac_prog", so it can be a program name with args.
6030 set dummy $ac_prog; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6034   $as_echo_n "(cached) " >&6
6035 else
6036   if test -n "$ac_ct_CC"; then
6037   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6041 do
6042   IFS=$as_save_IFS
6043   test -z "$as_dir" && as_dir=.
6044     for ac_exec_ext in '' $ac_executable_extensions; do
6045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046     ac_cv_prog_ac_ct_CC="$ac_prog"
6047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048     break 2
6049   fi
6050 done
6051   done
6052 IFS=$as_save_IFS
6053
6054 fi
6055 fi
6056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6057 if test -n "$ac_ct_CC"; then
6058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6059 $as_echo "$ac_ct_CC" >&6; }
6060 else
6061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6063 fi
6064
6065
6066   test -n "$ac_ct_CC" && break
6067 done
6068
6069   if test "x$ac_ct_CC" = x; then
6070     CC=""
6071   else
6072     case $cross_compiling:$ac_tool_warned in
6073 yes:)
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076 ac_tool_warned=yes ;;
6077 esac
6078     CC=$ac_ct_CC
6079   fi
6080 fi
6081
6082 fi
6083
6084
6085 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6087 as_fn_error $? "no acceptable C compiler found in \$PATH
6088 See \`config.log' for more details" "$LINENO" 5; }
6089
6090 # Provide some information about the compiler.
6091 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6092 set X $ac_compile
6093 ac_compiler=$2
6094 for ac_option in --version -v -V -qversion; do
6095   { { ac_try="$ac_compiler $ac_option >&5"
6096 case "(($ac_try" in
6097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6098   *) ac_try_echo=$ac_try;;
6099 esac
6100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6101 $as_echo "$ac_try_echo"; } >&5
6102   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6103   ac_status=$?
6104   if test -s conftest.err; then
6105     sed '10a\
6106 ... rest of stderr output deleted ...
6107          10q' conftest.err >conftest.er1
6108     cat conftest.er1 >&5
6109   fi
6110   rm -f conftest.er1 conftest.err
6111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6112   test $ac_status = 0; }
6113 done
6114
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6117 if ${ac_cv_c_compiler_gnu+:} false; then :
6118   $as_echo_n "(cached) " >&6
6119 else
6120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h.  */
6122
6123 int
6124 main ()
6125 {
6126 #ifndef __GNUC__
6127        choke me
6128 #endif
6129
6130   ;
6131   return 0;
6132 }
6133 _ACEOF
6134 if ac_fn_c_try_compile "$LINENO"; then :
6135   ac_compiler_gnu=yes
6136 else
6137   ac_compiler_gnu=no
6138 fi
6139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6141
6142 fi
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6145 if test $ac_compiler_gnu = yes; then
6146   GCC=yes
6147 else
6148   GCC=
6149 fi
6150 ac_test_CFLAGS=${CFLAGS+set}
6151 ac_save_CFLAGS=$CFLAGS
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6154 if ${ac_cv_prog_cc_g+:} false; then :
6155   $as_echo_n "(cached) " >&6
6156 else
6157   ac_save_c_werror_flag=$ac_c_werror_flag
6158    ac_c_werror_flag=yes
6159    ac_cv_prog_cc_g=no
6160    CFLAGS="-g"
6161    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h.  */
6163
6164 int
6165 main ()
6166 {
6167
6168   ;
6169   return 0;
6170 }
6171 _ACEOF
6172 if ac_fn_c_try_compile "$LINENO"; then :
6173   ac_cv_prog_cc_g=yes
6174 else
6175   CFLAGS=""
6176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h.  */
6178
6179 int
6180 main ()
6181 {
6182
6183   ;
6184   return 0;
6185 }
6186 _ACEOF
6187 if ac_fn_c_try_compile "$LINENO"; then :
6188   
6189 else
6190   ac_c_werror_flag=$ac_save_c_werror_flag
6191          CFLAGS="-g"
6192          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h.  */
6194
6195 int
6196 main ()
6197 {
6198
6199   ;
6200   return 0;
6201 }
6202 _ACEOF
6203 if ac_fn_c_try_compile "$LINENO"; then :
6204   ac_cv_prog_cc_g=yes
6205 fi
6206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6207 fi
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6209 fi
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211    ac_c_werror_flag=$ac_save_c_werror_flag
6212 fi
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6214 $as_echo "$ac_cv_prog_cc_g" >&6; }
6215 if test "$ac_test_CFLAGS" = set; then
6216   CFLAGS=$ac_save_CFLAGS
6217 elif test $ac_cv_prog_cc_g = yes; then
6218   if test "$GCC" = yes; then
6219     CFLAGS="-g -O2"
6220   else
6221     CFLAGS="-g"
6222   fi
6223 else
6224   if test "$GCC" = yes; then
6225     CFLAGS="-O2"
6226   else
6227     CFLAGS=
6228   fi
6229 fi
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6232 if ${ac_cv_prog_cc_c89+:} false; then :
6233   $as_echo_n "(cached) " >&6
6234 else
6235   ac_cv_prog_cc_c89=no
6236 ac_save_CC=$CC
6237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h.  */
6239 #include <stdarg.h>
6240 #include <stdio.h>
6241 #include <sys/types.h>
6242 #include <sys/stat.h>
6243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6244 struct buf { int x; };
6245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6246 static char *e (p, i)
6247      char **p;
6248      int i;
6249 {
6250   return p[i];
6251 }
6252 static char *f (char * (*g) (char **, int), char **p, ...)
6253 {
6254   char *s;
6255   va_list v;
6256   va_start (v,p);
6257   s = g (p, va_arg (v,int));
6258   va_end (v);
6259   return s;
6260 }
6261
6262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6263    function prototypes and stuff, but not '\xHH' hex character constants.
6264    These don't provoke an error unfortunately, instead are silently treated
6265    as 'x'.  The following induces an error, until -std is added to get
6266    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6267    array size at least.  It's necessary to write '\x00'==0 to get something
6268    that's true only with -std.  */
6269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6270
6271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6272    inside strings and character constants.  */
6273 #define FOO(x) 'x'
6274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6275
6276 int test (int i, double x);
6277 struct s1 {int (*f) (int a);};
6278 struct s2 {int (*f) (double a);};
6279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6280 int argc;
6281 char **argv;
6282 int
6283 main ()
6284 {
6285 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6286   ;
6287   return 0;
6288 }
6289 _ACEOF
6290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6291         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6292 do
6293   CC="$ac_save_CC $ac_arg"
6294   if ac_fn_c_try_compile "$LINENO"; then :
6295   ac_cv_prog_cc_c89=$ac_arg
6296 fi
6297 rm -f core conftest.err conftest.$ac_objext
6298   test "x$ac_cv_prog_cc_c89" != "xno" && break
6299 done
6300 rm -f conftest.$ac_ext
6301 CC=$ac_save_CC
6302
6303 fi
6304 # AC_CACHE_VAL
6305 case "x$ac_cv_prog_cc_c89" in
6306   x)
6307     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6308 $as_echo "none needed" >&6; } ;;
6309   xno)
6310     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6311 $as_echo "unsupported" >&6; } ;;
6312   *)
6313     CC="$CC $ac_cv_prog_cc_c89"
6314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6315 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6316 esac
6317 if test "x$ac_cv_prog_cc_c89" != xno; then :
6318   
6319 fi
6320
6321 ac_ext=c
6322 ac_cpp='$CPP $CPPFLAGS'
6323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6326
6327 depcc="$CC"   am_compiler_list=
6328
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6330 $as_echo_n "checking dependency style of $depcc... " >&6; }
6331 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6332   $as_echo_n "(cached) " >&6
6333 else
6334   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6335   # We make a subdir and do the tests there.  Otherwise we can end up
6336   # making bogus files that we don't know about and never remove.  For
6337   # instance it was reported that on HP-UX the gcc test will end up
6338   # making a dummy file named `D' -- because `-MD' means `put the output
6339   # in D'.
6340   rm -rf conftest.dir
6341   mkdir conftest.dir
6342   # Copy depcomp to subdir because otherwise we won't find it if we're
6343   # using a relative directory.
6344   cp "$am_depcomp" conftest.dir
6345   cd conftest.dir
6346   # We will build objects and dependencies in a subdirectory because
6347   # it helps to detect inapplicable dependency modes.  For instance
6348   # both Tru64's cc and ICC support -MD to output dependencies as a
6349   # side effect of compilation, but ICC will put the dependencies in
6350   # the current directory while Tru64 will put them in the object
6351   # directory.
6352   mkdir sub
6353
6354   am_cv_CC_dependencies_compiler_type=none
6355   if test "$am_compiler_list" = ""; then
6356      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6357   fi
6358   am__universal=false
6359   case " $depcc " in #(
6360      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6361      esac
6362
6363   for depmode in $am_compiler_list; do
6364     # Setup a source with many dependencies, because some compilers
6365     # like to wrap large dependency lists on column 80 (with \), and
6366     # we should not choose a depcomp mode which is confused by this.
6367     #
6368     # We need to recreate these files for each test, as the compiler may
6369     # overwrite some of them when testing with obscure command lines.
6370     # This happens at least with the AIX C compiler.
6371     : > sub/conftest.c
6372     for i in 1 2 3 4 5 6; do
6373       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6374       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6375       # Solaris 8's {/usr,}/bin/sh.
6376       touch sub/conftst$i.h
6377     done
6378     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6379
6380     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6381     # mode.  It turns out that the SunPro C++ compiler does not properly
6382     # handle `-M -o', and we need to detect this.  Also, some Intel
6383     # versions had trouble with output in subdirs
6384     am__obj=sub/conftest.${OBJEXT-o}
6385     am__minus_obj="-o $am__obj"
6386     case $depmode in
6387     gcc)
6388       # This depmode causes a compiler race in universal mode.
6389       test "$am__universal" = false || continue
6390       ;;
6391     nosideeffect)
6392       # after this tag, mechanisms are not by side-effect, so they'll
6393       # only be used when explicitly requested
6394       if test "x$enable_dependency_tracking" = xyes; then
6395         continue
6396       else
6397         break
6398       fi
6399       ;;
6400     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6401       # This compiler won't grok `-c -o', but also, the minuso test has
6402       # not run yet.  These depmodes are late enough in the game, and
6403       # so weak that their functioning should not be impacted.
6404       am__obj=conftest.${OBJEXT-o}
6405       am__minus_obj=
6406       ;;
6407     none) break ;;
6408     esac
6409     if depmode=$depmode \
6410        source=sub/conftest.c object=$am__obj \
6411        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6412        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6413          >/dev/null 2>conftest.err &&
6414        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6415        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6416        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6417        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6418       # icc doesn't choke on unknown options, it will just issue warnings
6419       # or remarks (even with -Werror).  So we grep stderr for any message
6420       # that says an option was ignored or not supported.
6421       # When given -MP, icc 7.0 and 7.1 complain thusly:
6422       #   icc: Command line warning: ignoring option '-M'; no argument required
6423       # The diagnosis changed in icc 8.0:
6424       #   icc: Command line remark: option '-MP' not supported
6425       if (grep 'ignoring option' conftest.err ||
6426           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6427         am_cv_CC_dependencies_compiler_type=$depmode
6428         break
6429       fi
6430     fi
6431   done
6432
6433   cd ..
6434   rm -rf conftest.dir
6435 else
6436   am_cv_CC_dependencies_compiler_type=none
6437 fi
6438
6439 fi
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6441 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6442 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6443
6444  if 
6445   test "x$enable_dependency_tracking" != xno \
6446   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6447   am__fastdepCC_TRUE=
6448   am__fastdepCC_FALSE='#'
6449 else
6450   am__fastdepCC_TRUE='#'
6451   am__fastdepCC_FALSE=
6452 fi
6453
6454
6455
6456 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6457
6458 # FIXME: we rely on the cache variable name because
6459 # there is no other way.
6460 set dummy $CC
6461 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6462 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6463 if test "$am_t" != yes; then
6464    # Losing compiler, so override with the script.
6465    # FIXME: It is wrong to rewrite CC.
6466    # But if we don't then we get into trouble of one sort or another.
6467    # A longer-term fix would be to have automake use am__CC in this case,
6468    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6469    CC="$am_aux_dir/compile $CC"
6470 fi
6471
6472
6473
6474 @%:@ Check whether --enable-largefile was given.
6475 if test "${enable_largefile+set}" = set; then :
6476   enableval=$enable_largefile; 
6477 fi
6478
6479 if test "$enable_largefile" != no; then
6480
6481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6482 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6483 if ${ac_cv_sys_largefile_CC+:} false; then :
6484   $as_echo_n "(cached) " >&6
6485 else
6486   ac_cv_sys_largefile_CC=no
6487      if test "$GCC" != yes; then
6488        ac_save_CC=$CC
6489        while :; do
6490          # IRIX 6.2 and later do not support large files by default,
6491          # so use the C compiler's -n32 option if that helps.
6492          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h.  */
6494 @%:@include <sys/types.h>
6495  /* Check that off_t can represent 2**63 - 1 correctly.
6496     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6497     since some C++ compilers masquerading as C compilers
6498     incorrectly reject 9223372036854775807.  */
6499 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6500   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6501                        && LARGE_OFF_T % 2147483647 == 1)
6502                       ? 1 : -1];
6503 int
6504 main ()
6505 {
6506
6507   ;
6508   return 0;
6509 }
6510 _ACEOF
6511          if ac_fn_c_try_compile "$LINENO"; then :
6512   break
6513 fi
6514 rm -f core conftest.err conftest.$ac_objext
6515          CC="$CC -n32"
6516          if ac_fn_c_try_compile "$LINENO"; then :
6517   ac_cv_sys_largefile_CC=' -n32'; break
6518 fi
6519 rm -f core conftest.err conftest.$ac_objext
6520          break
6521        done
6522        CC=$ac_save_CC
6523        rm -f conftest.$ac_ext
6524     fi
6525 fi
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6527 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6528   if test "$ac_cv_sys_largefile_CC" != no; then
6529     CC=$CC$ac_cv_sys_largefile_CC
6530   fi
6531
6532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6533 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6534 if ${ac_cv_sys_file_offset_bits+:} false; then :
6535   $as_echo_n "(cached) " >&6
6536 else
6537   while :; do
6538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h.  */
6540 @%:@include <sys/types.h>
6541  /* Check that off_t can represent 2**63 - 1 correctly.
6542     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6543     since some C++ compilers masquerading as C compilers
6544     incorrectly reject 9223372036854775807.  */
6545 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6546   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6547                        && LARGE_OFF_T % 2147483647 == 1)
6548                       ? 1 : -1];
6549 int
6550 main ()
6551 {
6552
6553   ;
6554   return 0;
6555 }
6556 _ACEOF
6557 if ac_fn_c_try_compile "$LINENO"; then :
6558   ac_cv_sys_file_offset_bits=no; break
6559 fi
6560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h.  */
6563 @%:@define _FILE_OFFSET_BITS 64
6564 @%:@include <sys/types.h>
6565  /* Check that off_t can represent 2**63 - 1 correctly.
6566     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6567     since some C++ compilers masquerading as C compilers
6568     incorrectly reject 9223372036854775807.  */
6569 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6570   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6571                        && LARGE_OFF_T % 2147483647 == 1)
6572                       ? 1 : -1];
6573 int
6574 main ()
6575 {
6576
6577   ;
6578   return 0;
6579 }
6580 _ACEOF
6581 if ac_fn_c_try_compile "$LINENO"; then :
6582   ac_cv_sys_file_offset_bits=64; break
6583 fi
6584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6585   ac_cv_sys_file_offset_bits=unknown
6586   break
6587 done
6588 fi
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6590 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6591 case $ac_cv_sys_file_offset_bits in #(
6592   no | unknown) ;;
6593   *) 
6594 cat >>confdefs.h <<_ACEOF
6595 @%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6596 _ACEOF
6597 ;;
6598 esac
6599 rm -rf conftest*
6600   if test $ac_cv_sys_file_offset_bits = unknown; then
6601     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6602 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6603 if ${ac_cv_sys_large_files+:} false; then :
6604   $as_echo_n "(cached) " >&6
6605 else
6606   while :; do
6607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h.  */
6609 @%:@include <sys/types.h>
6610  /* Check that off_t can represent 2**63 - 1 correctly.
6611     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6612     since some C++ compilers masquerading as C compilers
6613     incorrectly reject 9223372036854775807.  */
6614 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6615   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6616                        && LARGE_OFF_T % 2147483647 == 1)
6617                       ? 1 : -1];
6618 int
6619 main ()
6620 {
6621
6622   ;
6623   return 0;
6624 }
6625 _ACEOF
6626 if ac_fn_c_try_compile "$LINENO"; then :
6627   ac_cv_sys_large_files=no; break
6628 fi
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h.  */
6632 @%:@define _LARGE_FILES 1
6633 @%:@include <sys/types.h>
6634  /* Check that off_t can represent 2**63 - 1 correctly.
6635     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6636     since some C++ compilers masquerading as C compilers
6637     incorrectly reject 9223372036854775807.  */
6638 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6639   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6640                        && LARGE_OFF_T % 2147483647 == 1)
6641                       ? 1 : -1];
6642 int
6643 main ()
6644 {
6645
6646   ;
6647   return 0;
6648 }
6649 _ACEOF
6650 if ac_fn_c_try_compile "$LINENO"; then :
6651   ac_cv_sys_large_files=1; break
6652 fi
6653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6654   ac_cv_sys_large_files=unknown
6655   break
6656 done
6657 fi
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6659 $as_echo "$ac_cv_sys_large_files" >&6; }
6660 case $ac_cv_sys_large_files in #(
6661   no | unknown) ;;
6662   *) 
6663 cat >>confdefs.h <<_ACEOF
6664 @%:@define _LARGE_FILES $ac_cv_sys_large_files
6665 _ACEOF
6666 ;;
6667 esac
6668 rm -rf conftest*
6669   fi
6670 fi
6671
6672
6673 # Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it
6674 # doesn't exist)
6675 ac_ext=cpp
6676 ac_cpp='$CXXCPP $CPPFLAGS'
6677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6680
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h.  */
6683
6684 int
6685 main ()
6686 {
6687
6688   ;
6689   return 0;
6690 }
6691 _ACEOF
6692 if ac_fn_cxx_try_compile "$LINENO"; then :
6693   
6694 else
6695   as_fn_error $? "No C++ compiler found" "$LINENO" 5
6696 fi
6697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6698 ac_ext=c
6699 ac_cpp='$CPP $CPPFLAGS'
6700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6703
6704
6705 # C/C++ Language Features
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6707 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6708 if ${ac_cv_c_const+:} false; then :
6709   $as_echo_n "(cached) " >&6
6710 else
6711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h.  */
6713
6714 int
6715 main ()
6716 {
6717 /* FIXME: Include the comments suggested by Paul. */
6718 #ifndef __cplusplus
6719   /* Ultrix mips cc rejects this.  */
6720   typedef int charset[2];
6721   const charset cs;
6722   /* SunOS 4.1.1 cc rejects this.  */
6723   char const *const *pcpcc;
6724   char **ppc;
6725   /* NEC SVR4.0.2 mips cc rejects this.  */
6726   struct point {int x, y;};
6727   static struct point const zero = {0,0};
6728   /* AIX XL C 1.02.0.0 rejects this.
6729      It does not let you subtract one const X* pointer from another in
6730      an arm of an if-expression whose if-part is not a constant
6731      expression */
6732   const char *g = "string";
6733   pcpcc = &g + (g ? g-g : 0);
6734   /* HPUX 7.0 cc rejects these. */
6735   ++pcpcc;
6736   ppc = (char**) pcpcc;
6737   pcpcc = (char const *const *) ppc;
6738   { /* SCO 3.2v4 cc rejects this.  */
6739     char *t;
6740     char const *s = 0 ? (char *) 0 : (char const *) 0;
6741
6742     *t++ = 0;
6743     if (s) return 0;
6744   }
6745   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6746     int x[] = {25, 17};
6747     const int *foo = &x[0];
6748     ++foo;
6749   }
6750   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6751     typedef const int *iptr;
6752     iptr p = 0;
6753     ++p;
6754   }
6755   { /* AIX XL C 1.02.0.0 rejects this saying
6756        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6757     struct s { int j; const int *ap[3]; };
6758     struct s *b; b->j = 5;
6759   }
6760   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6761     const int foo = 10;
6762     if (!foo) return 0;
6763   }
6764   return !cs[0] && !zero.x;
6765 #endif
6766
6767   ;
6768   return 0;
6769 }
6770 _ACEOF
6771 if ac_fn_c_try_compile "$LINENO"; then :
6772   ac_cv_c_const=yes
6773 else
6774   ac_cv_c_const=no
6775 fi
6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6777 fi
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6779 $as_echo "$ac_cv_c_const" >&6; }
6780 if test $ac_cv_c_const = no; then
6781   
6782 $as_echo "@%:@define const /**/" >>confdefs.h
6783
6784 fi
6785
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6787 $as_echo_n "checking for inline... " >&6; }
6788 if ${ac_cv_c_inline+:} false; then :
6789   $as_echo_n "(cached) " >&6
6790 else
6791   ac_cv_c_inline=no
6792 for ac_kw in inline __inline__ __inline; do
6793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h.  */
6795 #ifndef __cplusplus
6796 typedef int foo_t;
6797 static $ac_kw foo_t static_foo () {return 0; }
6798 $ac_kw foo_t foo () {return 0; }
6799 #endif
6800
6801 _ACEOF
6802 if ac_fn_c_try_compile "$LINENO"; then :
6803   ac_cv_c_inline=$ac_kw
6804 fi
6805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6806   test "$ac_cv_c_inline" != no && break
6807 done
6808
6809 fi
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6811 $as_echo "$ac_cv_c_inline" >&6; }
6812
6813 case $ac_cv_c_inline in
6814   inline | yes) ;;
6815   *)
6816     case $ac_cv_c_inline in
6817       no) ac_val=;;
6818       *) ac_val=$ac_cv_c_inline;;
6819     esac
6820     cat >>confdefs.h <<_ACEOF
6821 #ifndef __cplusplus
6822 #define inline $ac_val
6823 #endif
6824 _ACEOF
6825     ;;
6826 esac
6827
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6829 $as_echo_n "checking for working volatile... " >&6; }
6830 if ${ac_cv_c_volatile+:} false; then :
6831   $as_echo_n "(cached) " >&6
6832 else
6833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h.  */
6835
6836 int
6837 main ()
6838 {
6839
6840 volatile int x;
6841 int * volatile y = (int *) 0;
6842 return !x && !y;
6843   ;
6844   return 0;
6845 }
6846 _ACEOF
6847 if ac_fn_c_try_compile "$LINENO"; then :
6848   ac_cv_c_volatile=yes
6849 else
6850   ac_cv_c_volatile=no
6851 fi
6852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6853 fi
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
6855 $as_echo "$ac_cv_c_volatile" >&6; }
6856 if test $ac_cv_c_volatile = no; then
6857   
6858 $as_echo "@%:@define volatile /**/" >>confdefs.h
6859
6860 fi
6861
6862
6863 # C/C++ Headers
6864
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6866 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6867 if ${ac_cv_header_stdbool_h+:} false; then :
6868   $as_echo_n "(cached) " >&6
6869 else
6870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h.  */
6872
6873 #include <stdbool.h>
6874 #ifndef bool
6875  "error: bool is not defined"
6876 #endif
6877 #ifndef false
6878  "error: false is not defined"
6879 #endif
6880 #if false
6881  "error: false is not 0"
6882 #endif
6883 #ifndef true
6884  "error: true is not defined"
6885 #endif
6886 #if true != 1
6887  "error: true is not 1"
6888 #endif
6889 #ifndef __bool_true_false_are_defined
6890  "error: __bool_true_false_are_defined is not defined"
6891 #endif
6892
6893         struct s { _Bool s: 1; _Bool t; } s;
6894
6895         char a[true == 1 ? 1 : -1];
6896         char b[false == 0 ? 1 : -1];
6897         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6898         char d[(bool) 0.5 == true ? 1 : -1];
6899         /* See body of main program for 'e'.  */
6900         char f[(_Bool) 0.0 == false ? 1 : -1];
6901         char g[true];
6902         char h[sizeof (_Bool)];
6903         char i[sizeof s.t];
6904         enum { j = false, k = true, l = false * true, m = true * 256 };
6905         /* The following fails for
6906            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
6907         _Bool n[m];
6908         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6909         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6910         /* Catch a bug in an HP-UX C compiler.  See
6911            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6912            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6913          */
6914         _Bool q = true;
6915         _Bool *pq = &q;
6916       
6917 int
6918 main ()
6919 {
6920
6921         bool e = &s;
6922         *pq |= q;
6923         *pq |= ! q;
6924         /* Refer to every declared value, to avoid compiler optimizations.  */
6925         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6926                 + !m + !n + !o + !p + !q + !pq);
6927       
6928   ;
6929   return 0;
6930 }
6931 _ACEOF
6932 if ac_fn_c_try_compile "$LINENO"; then :
6933   ac_cv_header_stdbool_h=yes
6934 else
6935   ac_cv_header_stdbool_h=no
6936 fi
6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6938 fi
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6940 $as_echo "$ac_cv_header_stdbool_h" >&6; }
6941 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6942 if test "x$ac_cv_type__Bool" = xyes; then :
6943   
6944 cat >>confdefs.h <<_ACEOF
6945 @%:@define HAVE__BOOL 1
6946 _ACEOF
6947
6948
6949 fi
6950
6951 if test $ac_cv_header_stdbool_h = yes; then
6952   
6953 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
6954
6955 fi
6956
6957
6958
6959
6960 @%:@ Check whether --enable-static was given.
6961 if test "${enable_static+set}" = set; then :
6962   enableval=$enable_static; p=${PACKAGE-default}
6963     case $enableval in
6964     yes) enable_static=yes ;;
6965     no) enable_static=no ;;
6966     *)
6967      enable_static=no
6968       # Look at the argument we got.  We use all the common list separators.
6969       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6970       for pkg in $enableval; do
6971         IFS="$lt_save_ifs"
6972         if test "X$pkg" = "X$p"; then
6973           enable_static=yes
6974         fi
6975       done
6976       IFS="$lt_save_ifs"
6977       ;;
6978     esac
6979 else
6980   enable_static=no
6981 fi
6982
6983
6984     
6985     
6986     
6987     
6988
6989
6990
6991 enable_win32_dll=yes
6992
6993 case $host in
6994 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
6995   if test -n "$ac_tool_prefix"; then
6996   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}as; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if ${ac_cv_prog_AS+:} false; then :
7001   $as_echo_n "(cached) " >&6
7002 else
7003   if test -n "$AS"; then
7004   ac_cv_prog_AS="$AS" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7008 do
7009   IFS=$as_save_IFS
7010   test -z "$as_dir" && as_dir=.
7011     for ac_exec_ext in '' $ac_executable_extensions; do
7012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013     ac_cv_prog_AS="${ac_tool_prefix}as"
7014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015     break 2
7016   fi
7017 done
7018   done
7019 IFS=$as_save_IFS
7020
7021 fi
7022 fi
7023 AS=$ac_cv_prog_AS
7024 if test -n "$AS"; then
7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7026 $as_echo "$AS" >&6; }
7027 else
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7030 fi
7031
7032
7033 fi
7034 if test -z "$ac_cv_prog_AS"; then
7035   ac_ct_AS=$AS
7036   # Extract the first word of "as", so it can be a program name with args.
7037 set dummy as; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7041   $as_echo_n "(cached) " >&6
7042 else
7043   if test -n "$ac_ct_AS"; then
7044   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7048 do
7049   IFS=$as_save_IFS
7050   test -z "$as_dir" && as_dir=.
7051     for ac_exec_ext in '' $ac_executable_extensions; do
7052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053     ac_cv_prog_ac_ct_AS="as"
7054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055     break 2
7056   fi
7057 done
7058   done
7059 IFS=$as_save_IFS
7060
7061 fi
7062 fi
7063 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7064 if test -n "$ac_ct_AS"; then
7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7066 $as_echo "$ac_ct_AS" >&6; }
7067 else
7068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7070 fi
7071
7072   if test "x$ac_ct_AS" = x; then
7073     AS="false"
7074   else
7075     case $cross_compiling:$ac_tool_warned in
7076 yes:)
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7079 ac_tool_warned=yes ;;
7080 esac
7081     AS=$ac_ct_AS
7082   fi
7083 else
7084   AS="$ac_cv_prog_AS"
7085 fi
7086
7087   if test -n "$ac_tool_prefix"; then
7088   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if ${ac_cv_prog_DLLTOOL+:} false; then :
7093   $as_echo_n "(cached) " >&6
7094 else
7095   if test -n "$DLLTOOL"; then
7096   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7097 else
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in $PATH
7100 do
7101   IFS=$as_save_IFS
7102   test -z "$as_dir" && as_dir=.
7103     for ac_exec_ext in '' $ac_executable_extensions; do
7104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107     break 2
7108   fi
7109 done
7110   done
7111 IFS=$as_save_IFS
7112
7113 fi
7114 fi
7115 DLLTOOL=$ac_cv_prog_DLLTOOL
7116 if test -n "$DLLTOOL"; then
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7118 $as_echo "$DLLTOOL" >&6; }
7119 else
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7122 fi
7123
7124
7125 fi
7126 if test -z "$ac_cv_prog_DLLTOOL"; then
7127   ac_ct_DLLTOOL=$DLLTOOL
7128   # Extract the first word of "dlltool", so it can be a program name with args.
7129 set dummy dlltool; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7133   $as_echo_n "(cached) " >&6
7134 else
7135   if test -n "$ac_ct_DLLTOOL"; then
7136   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7137 else
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 for as_dir in $PATH
7140 do
7141   IFS=$as_save_IFS
7142   test -z "$as_dir" && as_dir=.
7143     for ac_exec_ext in '' $ac_executable_extensions; do
7144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147     break 2
7148   fi
7149 done
7150   done
7151 IFS=$as_save_IFS
7152
7153 fi
7154 fi
7155 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7156 if test -n "$ac_ct_DLLTOOL"; then
7157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7158 $as_echo "$ac_ct_DLLTOOL" >&6; }
7159 else
7160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7162 fi
7163
7164   if test "x$ac_ct_DLLTOOL" = x; then
7165     DLLTOOL="false"
7166   else
7167     case $cross_compiling:$ac_tool_warned in
7168 yes:)
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7171 ac_tool_warned=yes ;;
7172 esac
7173     DLLTOOL=$ac_ct_DLLTOOL
7174   fi
7175 else
7176   DLLTOOL="$ac_cv_prog_DLLTOOL"
7177 fi
7178
7179   if test -n "$ac_tool_prefix"; then
7180   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if ${ac_cv_prog_OBJDUMP+:} false; then :
7185   $as_echo_n "(cached) " >&6
7186 else
7187   if test -n "$OBJDUMP"; then
7188   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7189 else
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 for as_dir in $PATH
7192 do
7193   IFS=$as_save_IFS
7194   test -z "$as_dir" && as_dir=.
7195     for ac_exec_ext in '' $ac_executable_extensions; do
7196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199     break 2
7200   fi
7201 done
7202   done
7203 IFS=$as_save_IFS
7204
7205 fi
7206 fi
7207 OBJDUMP=$ac_cv_prog_OBJDUMP
7208 if test -n "$OBJDUMP"; then
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7210 $as_echo "$OBJDUMP" >&6; }
7211 else
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7214 fi
7215
7216
7217 fi
7218 if test -z "$ac_cv_prog_OBJDUMP"; then
7219   ac_ct_OBJDUMP=$OBJDUMP
7220   # Extract the first word of "objdump", so it can be a program name with args.
7221 set dummy objdump; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7225   $as_echo_n "(cached) " >&6
7226 else
7227   if test -n "$ac_ct_OBJDUMP"; then
7228   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7232 do
7233   IFS=$as_save_IFS
7234   test -z "$as_dir" && as_dir=.
7235     for ac_exec_ext in '' $ac_executable_extensions; do
7236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239     break 2
7240   fi
7241 done
7242   done
7243 IFS=$as_save_IFS
7244
7245 fi
7246 fi
7247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7248 if test -n "$ac_ct_OBJDUMP"; then
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7250 $as_echo "$ac_ct_OBJDUMP" >&6; }
7251 else
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7254 fi
7255
7256   if test "x$ac_ct_OBJDUMP" = x; then
7257     OBJDUMP="false"
7258   else
7259     case $cross_compiling:$ac_tool_warned in
7260 yes:)
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7263 ac_tool_warned=yes ;;
7264 esac
7265     OBJDUMP=$ac_ct_OBJDUMP
7266   fi
7267 else
7268   OBJDUMP="$ac_cv_prog_OBJDUMP"
7269 fi
7270
7271   ;;
7272 esac
7273
7274 test -z "$AS" && AS=as
7275
7276     
7277     
7278     
7279
7280 test -z "$DLLTOOL" && DLLTOOL=dlltool
7281
7282     
7283     
7284     
7285
7286 test -z "$OBJDUMP" && OBJDUMP=objdump
7287
7288     
7289     
7290     
7291
7292
7293
7294 case `pwd` in
7295   *\ * | *\     *)
7296     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7297 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7298 esac
7299
7300
7301
7302 macro_version='2.4.2'
7303 macro_revision='1.3337'
7304
7305     
7306     
7307     
7308
7309
7310     
7311     
7312     
7313
7314
7315
7316
7317 ltmain="$ac_aux_dir/ltmain.sh"
7318
7319 # Backslashify metacharacters that are still active within
7320 # double-quoted strings.
7321 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7322
7323 # Same as above, but do not quote variable references.
7324 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7325
7326 # Sed substitution to delay expansion of an escaped shell variable in a
7327 # double_quote_subst'ed string.
7328 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7329
7330 # Sed substitution to delay expansion of an escaped single quote.
7331 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7332
7333 # Sed substitution to avoid accidental globbing in evaled expressions
7334 no_glob_subst='s/\*/\\\*/g'
7335
7336 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7337 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7338 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7339
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7341 $as_echo_n "checking how to print strings... " >&6; }
7342 # Test print first, because it will be a builtin if present.
7343 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7344    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7345   ECHO='print -r --'
7346 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7347   ECHO='printf %s\n'
7348 else
7349   # Use this function as a fallback that always works.
7350   func_fallback_echo ()
7351   {
7352     eval 'cat <<_LTECHO_EOF
7353 $1
7354 _LTECHO_EOF'
7355   }
7356   ECHO='func_fallback_echo'
7357 fi
7358
7359 # func_echo_all arg...
7360 # Invoke $ECHO with all args, space-separated.
7361 func_echo_all ()
7362 {
7363     $ECHO "" 
7364 }
7365
7366 case "$ECHO" in
7367   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7368 $as_echo "printf" >&6; } ;;
7369   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7370 $as_echo "print -r" >&6; } ;;
7371   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7372 $as_echo "cat" >&6; } ;;
7373 esac
7374
7375
7376
7377
7378     
7379     
7380     
7381
7382
7383     
7384     
7385     
7386
7387
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7389 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7390 if ${ac_cv_path_SED+:} false; then :
7391   $as_echo_n "(cached) " >&6
7392 else
7393             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7394      for ac_i in 1 2 3 4 5 6 7; do
7395        ac_script="$ac_script$as_nl$ac_script"
7396      done
7397      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7398      { ac_script=; unset ac_script;}
7399      if test -z "$SED"; then
7400   ac_path_SED_found=false
7401   # Loop through the user's path and test for each of PROGNAME-LIST
7402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403 for as_dir in $PATH
7404 do
7405   IFS=$as_save_IFS
7406   test -z "$as_dir" && as_dir=.
7407     for ac_prog in sed gsed; do
7408     for ac_exec_ext in '' $ac_executable_extensions; do
7409       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7410       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7411 # Check for GNU ac_path_SED and select it if it is found.
7412   # Check for GNU $ac_path_SED
7413 case `"$ac_path_SED" --version 2>&1` in
7414 *GNU*)
7415   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7416 *)
7417   ac_count=0
7418   $as_echo_n 0123456789 >"conftest.in"
7419   while :
7420   do
7421     cat "conftest.in" "conftest.in" >"conftest.tmp"
7422     mv "conftest.tmp" "conftest.in"
7423     cp "conftest.in" "conftest.nl"
7424     $as_echo '' >> "conftest.nl"
7425     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7426     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7427     as_fn_arith $ac_count + 1 && ac_count=$as_val
7428     if test $ac_count -gt ${ac_path_SED_max-0}; then
7429       # Best one so far, save it but keep looking for a better one
7430       ac_cv_path_SED="$ac_path_SED"
7431       ac_path_SED_max=$ac_count
7432     fi
7433     # 10*(2^10) chars as input seems more than enough
7434     test $ac_count -gt 10 && break
7435   done
7436   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7437 esac
7438
7439       $ac_path_SED_found && break 3
7440     done
7441   done
7442   done
7443 IFS=$as_save_IFS
7444   if test -z "$ac_cv_path_SED"; then
7445     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7446   fi
7447 else
7448   ac_cv_path_SED=$SED
7449 fi
7450
7451 fi
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7453 $as_echo "$ac_cv_path_SED" >&6; }
7454  SED="$ac_cv_path_SED"
7455   rm -f conftest.sed
7456
7457 test -z "$SED" && SED=sed
7458 Xsed="$SED -e 1s/^X//"
7459
7460     
7461     
7462     
7463
7464
7465     
7466     
7467     
7468
7469
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7471 $as_echo_n "checking for fgrep... " >&6; }
7472 if ${ac_cv_path_FGREP+:} false; then :
7473   $as_echo_n "(cached) " >&6
7474 else
7475   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7476    then ac_cv_path_FGREP="$GREP -F"
7477    else
7478      if test -z "$FGREP"; then
7479   ac_path_FGREP_found=false
7480   # Loop through the user's path and test for each of PROGNAME-LIST
7481   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7483 do
7484   IFS=$as_save_IFS
7485   test -z "$as_dir" && as_dir=.
7486     for ac_prog in fgrep; do
7487     for ac_exec_ext in '' $ac_executable_extensions; do
7488       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7489       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7490 # Check for GNU ac_path_FGREP and select it if it is found.
7491   # Check for GNU $ac_path_FGREP
7492 case `"$ac_path_FGREP" --version 2>&1` in
7493 *GNU*)
7494   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7495 *)
7496   ac_count=0
7497   $as_echo_n 0123456789 >"conftest.in"
7498   while :
7499   do
7500     cat "conftest.in" "conftest.in" >"conftest.tmp"
7501     mv "conftest.tmp" "conftest.in"
7502     cp "conftest.in" "conftest.nl"
7503     $as_echo 'FGREP' >> "conftest.nl"
7504     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7505     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7506     as_fn_arith $ac_count + 1 && ac_count=$as_val
7507     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7508       # Best one so far, save it but keep looking for a better one
7509       ac_cv_path_FGREP="$ac_path_FGREP"
7510       ac_path_FGREP_max=$ac_count
7511     fi
7512     # 10*(2^10) chars as input seems more than enough
7513     test $ac_count -gt 10 && break
7514   done
7515   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7516 esac
7517
7518       $ac_path_FGREP_found && break 3
7519     done
7520   done
7521   done
7522 IFS=$as_save_IFS
7523   if test -z "$ac_cv_path_FGREP"; then
7524     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7525   fi
7526 else
7527   ac_cv_path_FGREP=$FGREP
7528 fi
7529
7530    fi
7531 fi
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7533 $as_echo "$ac_cv_path_FGREP" >&6; }
7534  FGREP="$ac_cv_path_FGREP"
7535  
7536
7537 test -z "$GREP" && GREP=grep
7538
7539     
7540     
7541     
7542
7543
7544     
7545     
7546     
7547
7548
7549     
7550     
7551     
7552
7553
7554
7555
7556
7557 @%:@ Check whether --with-gnu-ld was given.
7558 if test "${with_gnu_ld+set}" = set; then :
7559   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7560 else
7561   with_gnu_ld=no
7562 fi
7563
7564 ac_prog=ld
7565 if test "$GCC" = yes; then
7566   # Check if gcc -print-prog-name=ld gives a path.
7567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7568 $as_echo_n "checking for ld used by $CC... " >&6; }
7569   case $host in
7570   *-*-mingw*)
7571     # gcc leaves a trailing carriage return which upsets mingw
7572     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7573   *)
7574     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7575   esac
7576   case $ac_prog in
7577     # Accept absolute paths.
7578     [\\/]* | ?:[\\/]*)
7579       re_direlt='/[^/][^/]*/\.\./'
7580       # Canonicalize the pathname of ld
7581       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7582       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7583         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7584       done
7585       test -z "$LD" && LD="$ac_prog"
7586       ;;
7587   "")
7588     # If it fails, then pretend we aren't using GCC.
7589     ac_prog=ld
7590     ;;
7591   *)
7592     # If it is relative, then search for the first ld in PATH.
7593     with_gnu_ld=unknown
7594     ;;
7595   esac
7596 elif test "$with_gnu_ld" = yes; then
7597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7598 $as_echo_n "checking for GNU ld... " >&6; }
7599 else
7600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7601 $as_echo_n "checking for non-GNU ld... " >&6; }
7602 fi
7603 if ${lt_cv_path_LD+:} false; then :
7604   $as_echo_n "(cached) " >&6
7605 else
7606   if test -z "$LD"; then
7607   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7608   for ac_dir in $PATH; do
7609     IFS="$lt_save_ifs"
7610     test -z "$ac_dir" && ac_dir=.
7611     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7612       lt_cv_path_LD="$ac_dir/$ac_prog"
7613       # Check to see if the program is GNU ld.  I'd rather use --version,
7614       # but apparently some variants of GNU ld only accept -v.
7615       # Break only if it was the GNU/non-GNU ld that we prefer.
7616       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7617       *GNU* | *'with BFD'*)
7618         test "$with_gnu_ld" != no && break
7619         ;;
7620       *)
7621         test "$with_gnu_ld" != yes && break
7622         ;;
7623       esac
7624     fi
7625   done
7626   IFS="$lt_save_ifs"
7627 else
7628   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7629 fi
7630 fi
7631
7632 LD="$lt_cv_path_LD"
7633 if test -n "$LD"; then
7634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7635 $as_echo "$LD" >&6; }
7636 else
7637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7639 fi
7640 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7642 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7643 if ${lt_cv_prog_gnu_ld+:} false; then :
7644   $as_echo_n "(cached) " >&6
7645 else
7646   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7647 case `$LD -v 2>&1 </dev/null` in
7648 *GNU* | *'with BFD'*)
7649   lt_cv_prog_gnu_ld=yes
7650   ;;
7651 *)
7652   lt_cv_prog_gnu_ld=no
7653   ;;
7654 esac
7655 fi
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7657 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7658 with_gnu_ld=$lt_cv_prog_gnu_ld
7659
7660
7661
7662
7663     
7664     
7665     
7666
7667
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7669 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7670 if ${lt_cv_path_NM+:} false; then :
7671   $as_echo_n "(cached) " >&6
7672 else
7673   if test -n "$NM"; then
7674   # Let the user override the test.
7675   lt_cv_path_NM="$NM"
7676 else
7677   lt_nm_to_check="${ac_tool_prefix}nm"
7678   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7679     lt_nm_to_check="$lt_nm_to_check nm"
7680   fi
7681   for lt_tmp_nm in $lt_nm_to_check; do
7682     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7683     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7684       IFS="$lt_save_ifs"
7685       test -z "$ac_dir" && ac_dir=.
7686       tmp_nm="$ac_dir/$lt_tmp_nm"
7687       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7688         # Check to see if the nm accepts a BSD-compat flag.
7689         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7690         #   nm: unknown option "B" ignored
7691         # Tru64's nm complains that /dev/null is an invalid object file
7692         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7693         */dev/null* | *'Invalid file or object type'*)
7694           lt_cv_path_NM="$tmp_nm -B"
7695           break
7696           ;;
7697         *)
7698           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7699           */dev/null*)
7700             lt_cv_path_NM="$tmp_nm -p"
7701             break
7702             ;;
7703           *)
7704             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7705             continue # so that we can try to find one that supports BSD flags
7706             ;;
7707           esac
7708           ;;
7709         esac
7710       fi
7711     done
7712     IFS="$lt_save_ifs"
7713   done
7714   : ${lt_cv_path_NM=no}
7715 fi
7716 fi
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7718 $as_echo "$lt_cv_path_NM" >&6; }
7719 if test "$lt_cv_path_NM" != "no"; then
7720   NM="$lt_cv_path_NM"
7721 else
7722   # Didn't find any BSD compatible name lister, look for dumpbin.
7723   if test -n "$DUMPBIN"; then :
7724     # Let the user override the test.
7725   else
7726     if test -n "$ac_tool_prefix"; then
7727   for ac_prog in dumpbin "link -dump"
7728   do
7729     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_DUMPBIN+:} false; then :
7734   $as_echo_n "(cached) " >&6
7735 else
7736   if test -n "$DUMPBIN"; then
7737   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7738 else
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 for as_dir in $PATH
7741 do
7742   IFS=$as_save_IFS
7743   test -z "$as_dir" && as_dir=.
7744     for ac_exec_ext in '' $ac_executable_extensions; do
7745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7746     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7748     break 2
7749   fi
7750 done
7751   done
7752 IFS=$as_save_IFS
7753
7754 fi
7755 fi
7756 DUMPBIN=$ac_cv_prog_DUMPBIN
7757 if test -n "$DUMPBIN"; then
7758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7759 $as_echo "$DUMPBIN" >&6; }
7760 else
7761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7763 fi
7764
7765
7766     test -n "$DUMPBIN" && break
7767   done
7768 fi
7769 if test -z "$DUMPBIN"; then
7770   ac_ct_DUMPBIN=$DUMPBIN
7771   for ac_prog in dumpbin "link -dump"
7772 do
7773   # Extract the first word of "$ac_prog", so it can be a program name with args.
7774 set dummy $ac_prog; ac_word=$2
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7776 $as_echo_n "checking for $ac_word... " >&6; }
7777 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7778   $as_echo_n "(cached) " >&6
7779 else
7780   if test -n "$ac_ct_DUMPBIN"; then
7781   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7782 else
7783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 for as_dir in $PATH
7785 do
7786   IFS=$as_save_IFS
7787   test -z "$as_dir" && as_dir=.
7788     for ac_exec_ext in '' $ac_executable_extensions; do
7789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7790     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7792     break 2
7793   fi
7794 done
7795   done
7796 IFS=$as_save_IFS
7797
7798 fi
7799 fi
7800 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7801 if test -n "$ac_ct_DUMPBIN"; then
7802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7803 $as_echo "$ac_ct_DUMPBIN" >&6; }
7804 else
7805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7806 $as_echo "no" >&6; }
7807 fi
7808
7809
7810   test -n "$ac_ct_DUMPBIN" && break
7811 done
7812
7813   if test "x$ac_ct_DUMPBIN" = x; then
7814     DUMPBIN=":"
7815   else
7816     case $cross_compiling:$ac_tool_warned in
7817 yes:)
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7820 ac_tool_warned=yes ;;
7821 esac
7822     DUMPBIN=$ac_ct_DUMPBIN
7823   fi
7824 fi
7825
7826     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7827     *COFF*)
7828       DUMPBIN="$DUMPBIN -symbols"
7829       ;;
7830     *)
7831       DUMPBIN=:
7832       ;;
7833     esac
7834   fi
7835   
7836   if test "$DUMPBIN" != ":"; then
7837     NM="$DUMPBIN"
7838   fi
7839 fi
7840 test -z "$NM" && NM=nm
7841
7842
7843     
7844     
7845     
7846
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7848 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7849 if ${lt_cv_nm_interface+:} false; then :
7850   $as_echo_n "(cached) " >&6
7851 else
7852   lt_cv_nm_interface="BSD nm"
7853   echo "int some_variable = 0;" > conftest.$ac_ext
7854   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7855   (eval "$ac_compile" 2>conftest.err)
7856   cat conftest.err >&5
7857   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7858   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7859   cat conftest.err >&5
7860   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7861   cat conftest.out >&5
7862   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7863     lt_cv_nm_interface="MS dumpbin"
7864   fi
7865   rm -f conftest*
7866 fi
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7868 $as_echo "$lt_cv_nm_interface" >&6; }
7869
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7871 $as_echo_n "checking whether ln -s works... " >&6; }
7872 LN_S=$as_ln_s
7873 if test "$LN_S" = "ln -s"; then
7874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7875 $as_echo "yes" >&6; }
7876 else
7877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7878 $as_echo "no, using $LN_S" >&6; }
7879 fi
7880
7881 # find the maximum length of command line arguments
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7883 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7884 if ${lt_cv_sys_max_cmd_len+:} false; then :
7885   $as_echo_n "(cached) " >&6
7886 else
7887     i=0
7888   teststring="ABCD"
7889
7890   case $build_os in
7891   msdosdjgpp*)
7892     # On DJGPP, this test can blow up pretty badly due to problems in libc
7893     # (any single argument exceeding 2000 bytes causes a buffer overrun
7894     # during glob expansion).  Even if it were fixed, the result of this
7895     # check would be larger than it should be.
7896     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7897     ;;
7898
7899   gnu*)
7900     # Under GNU Hurd, this test is not required because there is
7901     # no limit to the length of command line arguments.
7902     # Libtool will interpret -1 as no limit whatsoever
7903     lt_cv_sys_max_cmd_len=-1;
7904     ;;
7905
7906   cygwin* | mingw* | cegcc*)
7907     # On Win9x/ME, this test blows up -- it succeeds, but takes
7908     # about 5 minutes as the teststring grows exponentially.
7909     # Worse, since 9x/ME are not pre-emptively multitasking,
7910     # you end up with a "frozen" computer, even though with patience
7911     # the test eventually succeeds (with a max line length of 256k).
7912     # Instead, let's just punt: use the minimum linelength reported by
7913     # all of the supported platforms: 8192 (on NT/2K/XP).
7914     lt_cv_sys_max_cmd_len=8192;
7915     ;;
7916
7917   mint*)
7918     # On MiNT this can take a long time and run out of memory.
7919     lt_cv_sys_max_cmd_len=8192;
7920     ;;
7921
7922   amigaos*)
7923     # On AmigaOS with pdksh, this test takes hours, literally.
7924     # So we just punt and use a minimum line length of 8192.
7925     lt_cv_sys_max_cmd_len=8192;
7926     ;;
7927
7928   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7929     # This has been around since 386BSD, at least.  Likely further.
7930     if test -x /sbin/sysctl; then
7931       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7932     elif test -x /usr/sbin/sysctl; then
7933       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7934     else
7935       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7936     fi
7937     # And add a safety zone
7938     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7939     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7940     ;;
7941
7942   interix*)
7943     # We know the value 262144 and hardcode it with a safety zone (like BSD)
7944     lt_cv_sys_max_cmd_len=196608
7945     ;;
7946
7947   os2*)
7948     # The test takes a long time on OS/2.
7949     lt_cv_sys_max_cmd_len=8192
7950     ;;
7951
7952   osf*)
7953     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7954     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7955     # nice to cause kernel panics so lets avoid the loop below.
7956     # First set a reasonable default.
7957     lt_cv_sys_max_cmd_len=16384
7958     #
7959     if test -x /sbin/sysconfig; then
7960       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7961         *1*) lt_cv_sys_max_cmd_len=-1 ;;
7962       esac
7963     fi
7964     ;;
7965   sco3.2v5*)
7966     lt_cv_sys_max_cmd_len=102400
7967     ;;
7968   sysv5* | sco5v6* | sysv4.2uw2*)
7969     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7970     if test -n "$kargmax"; then
7971       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
7972     else
7973       lt_cv_sys_max_cmd_len=32768
7974     fi
7975     ;;
7976   *)
7977     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7978     if test -n "$lt_cv_sys_max_cmd_len"; then
7979       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7980       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7981     else
7982       # Make teststring a little bigger before we do anything with it.
7983       # a 1K string should be a reasonable start.
7984       for i in 1 2 3 4 5 6 7 8 ; do
7985         teststring=$teststring$teststring
7986       done
7987       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7988       # If test is not a shell built-in, we'll probably end up computing a
7989       # maximum length that is only half of the actual maximum length, but
7990       # we can't tell.
7991       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7992                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7993               test $i != 17 # 1/2 MB should be enough
7994       do
7995         i=`expr $i + 1`
7996         teststring=$teststring$teststring
7997       done
7998       # Only check the string length outside the loop.
7999       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8000       teststring=
8001       # Add a significant safety factor because C++ compilers can tack on
8002       # massive amounts of additional arguments before passing them to the
8003       # linker.  It appears as though 1/2 is a usable value.
8004       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8005     fi
8006     ;;
8007   esac
8008
8009 fi
8010
8011 if test -n $lt_cv_sys_max_cmd_len ; then
8012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8013 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8014 else
8015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8016 $as_echo "none" >&6; }
8017 fi
8018 max_cmd_len=$lt_cv_sys_max_cmd_len
8019
8020     
8021     
8022     
8023
8024
8025 : ${CP="cp -f"}
8026 : ${MV="mv -f"}
8027 : ${RM="rm -f"}
8028
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8030 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8031 # Try some XSI features
8032 xsi_shell=no
8033 ( _lt_dummy="a/b/c"
8034   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8035       = c,a/b,b/c, \
8036     && eval 'test $(( 1 + 1 )) -eq 2 \
8037     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8038   && xsi_shell=yes
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8040 $as_echo "$xsi_shell" >&6; }
8041
8042
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8044 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8045 lt_shell_append=no
8046 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8047     >/dev/null 2>&1 \
8048   && lt_shell_append=yes
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8050 $as_echo "$lt_shell_append" >&6; }
8051
8052
8053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8054   lt_unset=unset
8055 else
8056   lt_unset=false
8057 fi
8058
8059     
8060     
8061     
8062
8063 # test EBCDIC or ASCII
8064 case `echo X|tr X '\101'` in
8065  A) # ASCII based system
8066     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8067   lt_SP2NL='tr \040 \012'
8068   lt_NL2SP='tr \015\012 \040\040'
8069   ;;
8070  *) # EBCDIC based system
8071   lt_SP2NL='tr \100 \n'
8072   lt_NL2SP='tr \r\n \100\100'
8073   ;;
8074 esac
8075
8076     
8077     
8078     
8079
8080     
8081     
8082     
8083
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8085 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8086 if ${lt_cv_to_host_file_cmd+:} false; then :
8087   $as_echo_n "(cached) " >&6
8088 else
8089   case $host in
8090   *-*-mingw* )
8091     case $build in
8092       *-*-mingw* ) # actually msys
8093         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8094         ;;
8095       *-*-cygwin* )
8096         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8097         ;;
8098       * ) # otherwise, assume *nix
8099         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8100         ;;
8101     esac
8102     ;;
8103   *-*-cygwin* )
8104     case $build in
8105       *-*-mingw* ) # actually msys
8106         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8107         ;;
8108       *-*-cygwin* )
8109         lt_cv_to_host_file_cmd=func_convert_file_noop
8110         ;;
8111       * ) # otherwise, assume *nix
8112         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8113         ;;
8114     esac
8115     ;;
8116   * ) # unhandled hosts (and "normal" native builds)
8117     lt_cv_to_host_file_cmd=func_convert_file_noop
8118     ;;
8119 esac
8120
8121 fi
8122
8123 to_host_file_cmd=$lt_cv_to_host_file_cmd
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8125 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8126
8127     
8128     
8129     
8130
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8132 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8133 if ${lt_cv_to_tool_file_cmd+:} false; then :
8134   $as_echo_n "(cached) " >&6
8135 else
8136   #assume ordinary cross tools, or native build.
8137 lt_cv_to_tool_file_cmd=func_convert_file_noop
8138 case $host in
8139   *-*-mingw* )
8140     case $build in
8141       *-*-mingw* ) # actually msys
8142         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8143         ;;
8144     esac
8145     ;;
8146 esac
8147
8148 fi
8149
8150 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8152 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8153
8154     
8155     
8156     
8157
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8159 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8160 if ${lt_cv_ld_reload_flag+:} false; then :
8161   $as_echo_n "(cached) " >&6
8162 else
8163   lt_cv_ld_reload_flag='-r'
8164 fi
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8166 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8167 reload_flag=$lt_cv_ld_reload_flag
8168 case $reload_flag in
8169 "" | " "*) ;;
8170 *) reload_flag=" $reload_flag" ;;
8171 esac
8172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8173 case $host_os in
8174   cygwin* | mingw* | pw32* | cegcc*)
8175     if test "$GCC" != yes; then
8176       reload_cmds=false
8177     fi
8178     ;;
8179   darwin*)
8180     if test "$GCC" = yes; then
8181       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8182     else
8183       reload_cmds='$LD$reload_flag -o $output$reload_objs'
8184     fi
8185     ;;
8186 esac
8187
8188     
8189     
8190     
8191
8192     
8193     
8194     
8195
8196 if test -n "$ac_tool_prefix"; then
8197   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8198 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8200 $as_echo_n "checking for $ac_word... " >&6; }
8201 if ${ac_cv_prog_OBJDUMP+:} false; then :
8202   $as_echo_n "(cached) " >&6
8203 else
8204   if test -n "$OBJDUMP"; then
8205   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8206 else
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8208 for as_dir in $PATH
8209 do
8210   IFS=$as_save_IFS
8211   test -z "$as_dir" && as_dir=.
8212     for ac_exec_ext in '' $ac_executable_extensions; do
8213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8214     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8216     break 2
8217   fi
8218 done
8219   done
8220 IFS=$as_save_IFS
8221
8222 fi
8223 fi
8224 OBJDUMP=$ac_cv_prog_OBJDUMP
8225 if test -n "$OBJDUMP"; then
8226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8227 $as_echo "$OBJDUMP" >&6; }
8228 else
8229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8231 fi
8232
8233
8234 fi
8235 if test -z "$ac_cv_prog_OBJDUMP"; then
8236   ac_ct_OBJDUMP=$OBJDUMP
8237   # Extract the first word of "objdump", so it can be a program name with args.
8238 set dummy objdump; ac_word=$2
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8240 $as_echo_n "checking for $ac_word... " >&6; }
8241 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8242   $as_echo_n "(cached) " >&6
8243 else
8244   if test -n "$ac_ct_OBJDUMP"; then
8245   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8246 else
8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248 for as_dir in $PATH
8249 do
8250   IFS=$as_save_IFS
8251   test -z "$as_dir" && as_dir=.
8252     for ac_exec_ext in '' $ac_executable_extensions; do
8253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8254     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8256     break 2
8257   fi
8258 done
8259   done
8260 IFS=$as_save_IFS
8261
8262 fi
8263 fi
8264 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8265 if test -n "$ac_ct_OBJDUMP"; then
8266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8267 $as_echo "$ac_ct_OBJDUMP" >&6; }
8268 else
8269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8271 fi
8272
8273   if test "x$ac_ct_OBJDUMP" = x; then
8274     OBJDUMP="false"
8275   else
8276     case $cross_compiling:$ac_tool_warned in
8277 yes:)
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8280 ac_tool_warned=yes ;;
8281 esac
8282     OBJDUMP=$ac_ct_OBJDUMP
8283   fi
8284 else
8285   OBJDUMP="$ac_cv_prog_OBJDUMP"
8286 fi
8287
8288 test -z "$OBJDUMP" && OBJDUMP=objdump
8289
8290
8291
8292
8293
8294
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8296 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8297 if ${lt_cv_deplibs_check_method+:} false; then :
8298   $as_echo_n "(cached) " >&6
8299 else
8300   lt_cv_file_magic_cmd='$MAGIC_CMD'
8301 lt_cv_file_magic_test_file=
8302 lt_cv_deplibs_check_method='unknown'
8303 # Need to set the preceding variable on all platforms that support
8304 # interlibrary dependencies.
8305 # 'none' -- dependencies not supported.
8306 # `unknown' -- same as none, but documents that we really don't know.
8307 # 'pass_all' -- all dependencies passed with no checks.
8308 # 'test_compile' -- check by making test program.
8309 # 'file_magic [[regex]]' -- check by looking for files in library path
8310 # which responds to the $file_magic_cmd with a given extended regex.
8311 # If you have `file' or equivalent on your system and you're not sure
8312 # whether `pass_all' will *always* work, you probably want this one.
8313
8314 case $host_os in
8315 aix[4-9]*)
8316   lt_cv_deplibs_check_method=pass_all
8317   ;;
8318
8319 beos*)
8320   lt_cv_deplibs_check_method=pass_all
8321   ;;
8322
8323 bsdi[45]*)
8324   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8325   lt_cv_file_magic_cmd='/usr/bin/file -L'
8326   lt_cv_file_magic_test_file=/shlib/libc.so
8327   ;;
8328
8329 cygwin*)
8330   # func_win32_libid is a shell function defined in ltmain.sh
8331   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8332   lt_cv_file_magic_cmd='func_win32_libid'
8333   ;;
8334
8335 mingw* | pw32*)
8336   # Base MSYS/MinGW do not provide the 'file' command needed by
8337   # func_win32_libid shell function, so use a weaker test based on 'objdump',
8338   # unless we find 'file', for example because we are cross-compiling.
8339   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8340   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8341     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8342     lt_cv_file_magic_cmd='func_win32_libid'
8343   else
8344     # Keep this pattern in sync with the one in func_win32_libid.
8345     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8346     lt_cv_file_magic_cmd='$OBJDUMP -f'
8347   fi
8348   ;;
8349
8350 cegcc*)
8351   # use the weaker test based on 'objdump'. See mingw*.
8352   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8353   lt_cv_file_magic_cmd='$OBJDUMP -f'
8354   ;;
8355
8356 darwin* | rhapsody*)
8357   lt_cv_deplibs_check_method=pass_all
8358   ;;
8359
8360 freebsd* | dragonfly*)
8361   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8362     case $host_cpu in
8363     i*86 )
8364       # Not sure whether the presence of OpenBSD here was a mistake.
8365       # Let's accept both of them until this is cleared up.
8366       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8367       lt_cv_file_magic_cmd=/usr/bin/file
8368       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8369       ;;
8370     esac
8371   else
8372     lt_cv_deplibs_check_method=pass_all
8373   fi
8374   ;;
8375
8376 gnu*)
8377   lt_cv_deplibs_check_method=pass_all
8378   ;;
8379
8380 haiku*)
8381   lt_cv_deplibs_check_method=pass_all
8382   ;;
8383
8384 hpux10.20* | hpux11*)
8385   lt_cv_file_magic_cmd=/usr/bin/file
8386   case $host_cpu in
8387   ia64*)
8388     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8389     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8390     ;;
8391   hppa*64*)
8392     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]'
8393     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8394     ;;
8395   *)
8396     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8397     lt_cv_file_magic_test_file=/usr/lib/libc.sl
8398     ;;
8399   esac
8400   ;;
8401
8402 interix[3-9]*)
8403   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8404   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8405   ;;
8406
8407 irix5* | irix6* | nonstopux*)
8408   case $LD in
8409   *-32|*"-32 ") libmagic=32-bit;;
8410   *-n32|*"-n32 ") libmagic=N32;;
8411   *-64|*"-64 ") libmagic=64-bit;;
8412   *) libmagic=never-match;;
8413   esac
8414   lt_cv_deplibs_check_method=pass_all
8415   ;;
8416
8417 # This must be glibc/ELF.
8418 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8419   lt_cv_deplibs_check_method=pass_all
8420   ;;
8421
8422 netbsd* | netbsdelf*-gnu)
8423   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8424     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8425   else
8426     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8427   fi
8428   ;;
8429
8430 newos6*)
8431   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8432   lt_cv_file_magic_cmd=/usr/bin/file
8433   lt_cv_file_magic_test_file=/usr/lib/libnls.so
8434   ;;
8435
8436 *nto* | *qnx*)
8437   lt_cv_deplibs_check_method=pass_all
8438   ;;
8439
8440 openbsd*)
8441   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8442     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8443   else
8444     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8445   fi
8446   ;;
8447
8448 osf3* | osf4* | osf5*)
8449   lt_cv_deplibs_check_method=pass_all
8450   ;;
8451
8452 rdos*)
8453   lt_cv_deplibs_check_method=pass_all
8454   ;;
8455
8456 solaris*)
8457   lt_cv_deplibs_check_method=pass_all
8458   ;;
8459
8460 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8461   lt_cv_deplibs_check_method=pass_all
8462   ;;
8463
8464 sysv4 | sysv4.3*)
8465   case $host_vendor in
8466   motorola)
8467     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]'
8468     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8469     ;;
8470   ncr)
8471     lt_cv_deplibs_check_method=pass_all
8472     ;;
8473   sequent)
8474     lt_cv_file_magic_cmd='/bin/file'
8475     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8476     ;;
8477   sni)
8478     lt_cv_file_magic_cmd='/bin/file'
8479     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8480     lt_cv_file_magic_test_file=/lib/libc.so
8481     ;;
8482   siemens)
8483     lt_cv_deplibs_check_method=pass_all
8484     ;;
8485   pc)
8486     lt_cv_deplibs_check_method=pass_all
8487     ;;
8488   esac
8489   ;;
8490
8491 tpf*)
8492   lt_cv_deplibs_check_method=pass_all
8493   ;;
8494 esac
8495
8496 fi
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8498 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8499
8500 file_magic_glob=
8501 want_nocaseglob=no
8502 if test "$build" = "$host"; then
8503   case $host_os in
8504   mingw* | pw32*)
8505     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8506       want_nocaseglob=yes
8507     else
8508       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8509     fi
8510     ;;
8511   esac
8512 fi
8513
8514 file_magic_cmd=$lt_cv_file_magic_cmd
8515 deplibs_check_method=$lt_cv_deplibs_check_method
8516 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8517
8518
8519     
8520     
8521     
8522
8523
8524     
8525     
8526     
8527
8528
8529     
8530     
8531     
8532
8533
8534     
8535     
8536     
8537
8538
8539 if test -n "$ac_tool_prefix"; then
8540   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8541 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8543 $as_echo_n "checking for $ac_word... " >&6; }
8544 if ${ac_cv_prog_DLLTOOL+:} false; then :
8545   $as_echo_n "(cached) " >&6
8546 else
8547   if test -n "$DLLTOOL"; then
8548   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8549 else
8550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8551 for as_dir in $PATH
8552 do
8553   IFS=$as_save_IFS
8554   test -z "$as_dir" && as_dir=.
8555     for ac_exec_ext in '' $ac_executable_extensions; do
8556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8557     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8559     break 2
8560   fi
8561 done
8562   done
8563 IFS=$as_save_IFS
8564
8565 fi
8566 fi
8567 DLLTOOL=$ac_cv_prog_DLLTOOL
8568 if test -n "$DLLTOOL"; then
8569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8570 $as_echo "$DLLTOOL" >&6; }
8571 else
8572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8573 $as_echo "no" >&6; }
8574 fi
8575
8576
8577 fi
8578 if test -z "$ac_cv_prog_DLLTOOL"; then
8579   ac_ct_DLLTOOL=$DLLTOOL
8580   # Extract the first word of "dlltool", so it can be a program name with args.
8581 set dummy dlltool; ac_word=$2
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8583 $as_echo_n "checking for $ac_word... " >&6; }
8584 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8585   $as_echo_n "(cached) " >&6
8586 else
8587   if test -n "$ac_ct_DLLTOOL"; then
8588   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8589 else
8590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8591 for as_dir in $PATH
8592 do
8593   IFS=$as_save_IFS
8594   test -z "$as_dir" && as_dir=.
8595     for ac_exec_ext in '' $ac_executable_extensions; do
8596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8597     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8599     break 2
8600   fi
8601 done
8602   done
8603 IFS=$as_save_IFS
8604
8605 fi
8606 fi
8607 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8608 if test -n "$ac_ct_DLLTOOL"; then
8609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8610 $as_echo "$ac_ct_DLLTOOL" >&6; }
8611 else
8612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8613 $as_echo "no" >&6; }
8614 fi
8615
8616   if test "x$ac_ct_DLLTOOL" = x; then
8617     DLLTOOL="false"
8618   else
8619     case $cross_compiling:$ac_tool_warned in
8620 yes:)
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8623 ac_tool_warned=yes ;;
8624 esac
8625     DLLTOOL=$ac_ct_DLLTOOL
8626   fi
8627 else
8628   DLLTOOL="$ac_cv_prog_DLLTOOL"
8629 fi
8630
8631 test -z "$DLLTOOL" && DLLTOOL=dlltool
8632
8633
8634
8635
8636
8637
8638
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8640 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8641 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8642   $as_echo_n "(cached) " >&6
8643 else
8644   lt_cv_sharedlib_from_linklib_cmd='unknown'
8645
8646 case $host_os in
8647 cygwin* | mingw* | pw32* | cegcc*)
8648   # two different shell functions defined in ltmain.sh
8649   # decide which to use based on capabilities of $DLLTOOL
8650   case `$DLLTOOL --help 2>&1` in
8651   *--identify-strict*)
8652     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8653     ;;
8654   *)
8655     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8656     ;;
8657   esac
8658   ;;
8659 *)
8660   # fallback: assume linklib IS sharedlib
8661   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8662   ;;
8663 esac
8664
8665 fi
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8667 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8668 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8669 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8670
8671
8672     
8673     
8674     
8675
8676
8677 if test -n "$ac_tool_prefix"; then
8678   for ac_prog in ar
8679   do
8680     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8683 $as_echo_n "checking for $ac_word... " >&6; }
8684 if ${ac_cv_prog_AR+:} false; then :
8685   $as_echo_n "(cached) " >&6
8686 else
8687   if test -n "$AR"; then
8688   ac_cv_prog_AR="$AR" # Let the user override the test.
8689 else
8690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 for as_dir in $PATH
8692 do
8693   IFS=$as_save_IFS
8694   test -z "$as_dir" && as_dir=.
8695     for ac_exec_ext in '' $ac_executable_extensions; do
8696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8697     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699     break 2
8700   fi
8701 done
8702   done
8703 IFS=$as_save_IFS
8704
8705 fi
8706 fi
8707 AR=$ac_cv_prog_AR
8708 if test -n "$AR"; then
8709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8710 $as_echo "$AR" >&6; }
8711 else
8712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713 $as_echo "no" >&6; }
8714 fi
8715
8716
8717     test -n "$AR" && break
8718   done
8719 fi
8720 if test -z "$AR"; then
8721   ac_ct_AR=$AR
8722   for ac_prog in ar
8723 do
8724   # Extract the first word of "$ac_prog", so it can be a program name with args.
8725 set dummy $ac_prog; ac_word=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8729   $as_echo_n "(cached) " >&6
8730 else
8731   if test -n "$ac_ct_AR"; then
8732   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8733 else
8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8735 for as_dir in $PATH
8736 do
8737   IFS=$as_save_IFS
8738   test -z "$as_dir" && as_dir=.
8739     for ac_exec_ext in '' $ac_executable_extensions; do
8740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8741     ac_cv_prog_ac_ct_AR="$ac_prog"
8742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8743     break 2
8744   fi
8745 done
8746   done
8747 IFS=$as_save_IFS
8748
8749 fi
8750 fi
8751 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8752 if test -n "$ac_ct_AR"; then
8753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8754 $as_echo "$ac_ct_AR" >&6; }
8755 else
8756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8757 $as_echo "no" >&6; }
8758 fi
8759
8760
8761   test -n "$ac_ct_AR" && break
8762 done
8763
8764   if test "x$ac_ct_AR" = x; then
8765     AR="false"
8766   else
8767     case $cross_compiling:$ac_tool_warned in
8768 yes:)
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8771 ac_tool_warned=yes ;;
8772 esac
8773     AR=$ac_ct_AR
8774   fi
8775 fi
8776
8777 : ${AR=ar}
8778 : ${AR_FLAGS=cru}
8779
8780     
8781     
8782     
8783
8784
8785     
8786     
8787     
8788
8789
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8791 $as_echo_n "checking for archiver @FILE support... " >&6; }
8792 if ${lt_cv_ar_at_file+:} false; then :
8793   $as_echo_n "(cached) " >&6
8794 else
8795   lt_cv_ar_at_file=no
8796    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h.  */
8798
8799 int
8800 main ()
8801 {
8802
8803   ;
8804   return 0;
8805 }
8806 _ACEOF
8807 if ac_fn_c_try_compile "$LINENO"; then :
8808   echo conftest.$ac_objext > conftest.lst
8809       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8810       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8811   (eval $lt_ar_try) 2>&5
8812   ac_status=$?
8813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8814   test $ac_status = 0; }
8815       if test "$ac_status" -eq 0; then
8816         # Ensure the archiver fails upon bogus file names.
8817         rm -f conftest.$ac_objext libconftest.a
8818         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8819   (eval $lt_ar_try) 2>&5
8820   ac_status=$?
8821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8822   test $ac_status = 0; }
8823         if test "$ac_status" -ne 0; then
8824           lt_cv_ar_at_file=@
8825         fi
8826       fi
8827       rm -f conftest.* libconftest.a
8828      
8829 fi
8830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8831   
8832 fi
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8834 $as_echo "$lt_cv_ar_at_file" >&6; }
8835
8836 if test "x$lt_cv_ar_at_file" = xno; then
8837   archiver_list_spec=
8838 else
8839   archiver_list_spec=$lt_cv_ar_at_file
8840 fi
8841
8842     
8843     
8844     
8845
8846
8847
8848 if test -n "$ac_tool_prefix"; then
8849   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8850 set dummy ${ac_tool_prefix}strip; ac_word=$2
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8852 $as_echo_n "checking for $ac_word... " >&6; }
8853 if ${ac_cv_prog_STRIP+:} false; then :
8854   $as_echo_n "(cached) " >&6
8855 else
8856   if test -n "$STRIP"; then
8857   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8858 else
8859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8860 for as_dir in $PATH
8861 do
8862   IFS=$as_save_IFS
8863   test -z "$as_dir" && as_dir=.
8864     for ac_exec_ext in '' $ac_executable_extensions; do
8865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8866     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868     break 2
8869   fi
8870 done
8871   done
8872 IFS=$as_save_IFS
8873
8874 fi
8875 fi
8876 STRIP=$ac_cv_prog_STRIP
8877 if test -n "$STRIP"; then
8878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8879 $as_echo "$STRIP" >&6; }
8880 else
8881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8883 fi
8884
8885
8886 fi
8887 if test -z "$ac_cv_prog_STRIP"; then
8888   ac_ct_STRIP=$STRIP
8889   # Extract the first word of "strip", so it can be a program name with args.
8890 set dummy strip; ac_word=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8894   $as_echo_n "(cached) " >&6
8895 else
8896   if test -n "$ac_ct_STRIP"; then
8897   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8898 else
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8900 for as_dir in $PATH
8901 do
8902   IFS=$as_save_IFS
8903   test -z "$as_dir" && as_dir=.
8904     for ac_exec_ext in '' $ac_executable_extensions; do
8905   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8906     ac_cv_prog_ac_ct_STRIP="strip"
8907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908     break 2
8909   fi
8910 done
8911   done
8912 IFS=$as_save_IFS
8913
8914 fi
8915 fi
8916 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8917 if test -n "$ac_ct_STRIP"; then
8918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8919 $as_echo "$ac_ct_STRIP" >&6; }
8920 else
8921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8923 fi
8924
8925   if test "x$ac_ct_STRIP" = x; then
8926     STRIP=":"
8927   else
8928     case $cross_compiling:$ac_tool_warned in
8929 yes:)
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8932 ac_tool_warned=yes ;;
8933 esac
8934     STRIP=$ac_ct_STRIP
8935   fi
8936 else
8937   STRIP="$ac_cv_prog_STRIP"
8938 fi
8939
8940 test -z "$STRIP" && STRIP=:
8941
8942     
8943     
8944     
8945
8946
8947 if test -n "$ac_tool_prefix"; then
8948   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8949 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8951 $as_echo_n "checking for $ac_word... " >&6; }
8952 if ${ac_cv_prog_RANLIB+:} false; then :
8953   $as_echo_n "(cached) " >&6
8954 else
8955   if test -n "$RANLIB"; then
8956   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8957 else
8958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959 for as_dir in $PATH
8960 do
8961   IFS=$as_save_IFS
8962   test -z "$as_dir" && as_dir=.
8963     for ac_exec_ext in '' $ac_executable_extensions; do
8964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8965     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8967     break 2
8968   fi
8969 done
8970   done
8971 IFS=$as_save_IFS
8972
8973 fi
8974 fi
8975 RANLIB=$ac_cv_prog_RANLIB
8976 if test -n "$RANLIB"; then
8977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8978 $as_echo "$RANLIB" >&6; }
8979 else
8980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8982 fi
8983
8984
8985 fi
8986 if test -z "$ac_cv_prog_RANLIB"; then
8987   ac_ct_RANLIB=$RANLIB
8988   # Extract the first word of "ranlib", so it can be a program name with args.
8989 set dummy ranlib; ac_word=$2
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8991 $as_echo_n "checking for $ac_word... " >&6; }
8992 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8993   $as_echo_n "(cached) " >&6
8994 else
8995   if test -n "$ac_ct_RANLIB"; then
8996   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8997 else
8998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8999 for as_dir in $PATH
9000 do
9001   IFS=$as_save_IFS
9002   test -z "$as_dir" && as_dir=.
9003     for ac_exec_ext in '' $ac_executable_extensions; do
9004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005     ac_cv_prog_ac_ct_RANLIB="ranlib"
9006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9007     break 2
9008   fi
9009 done
9010   done
9011 IFS=$as_save_IFS
9012
9013 fi
9014 fi
9015 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9016 if test -n "$ac_ct_RANLIB"; then
9017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9018 $as_echo "$ac_ct_RANLIB" >&6; }
9019 else
9020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9021 $as_echo "no" >&6; }
9022 fi
9023
9024   if test "x$ac_ct_RANLIB" = x; then
9025     RANLIB=":"
9026   else
9027     case $cross_compiling:$ac_tool_warned in
9028 yes:)
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9031 ac_tool_warned=yes ;;
9032 esac
9033     RANLIB=$ac_ct_RANLIB
9034   fi
9035 else
9036   RANLIB="$ac_cv_prog_RANLIB"
9037 fi
9038
9039 test -z "$RANLIB" && RANLIB=:
9040
9041     
9042     
9043     
9044
9045
9046 # Determine commands to create old-style static archives.
9047 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9048 old_postinstall_cmds='chmod 644 $oldlib'
9049 old_postuninstall_cmds=
9050
9051 if test -n "$RANLIB"; then
9052   case $host_os in
9053   openbsd*)
9054     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9055     ;;
9056   *)
9057     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9058     ;;
9059   esac
9060   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9061 fi
9062
9063 case $host_os in
9064   darwin*)
9065     lock_old_archive_extraction=yes ;;
9066   *)
9067     lock_old_archive_extraction=no ;;
9068 esac
9069
9070     
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 # If no C compiler was specified, use CC.
9109 LTCC=${LTCC-"$CC"}
9110
9111 # If no C compiler flags were specified, use CFLAGS.
9112 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9113
9114 # Allow CC to be a program name with arguments.
9115 compiler=$CC
9116
9117
9118 # Check for command to grab the raw symbol name followed by C symbol from nm.
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9120 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9121 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9122   $as_echo_n "(cached) " >&6
9123 else
9124   
9125 # These are sane defaults that work on at least a few old systems.
9126 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9127
9128 # Character class describing NM global symbol codes.
9129 symcode='[BCDEGRST]'
9130
9131 # Regexp to match symbols that can be accessed directly from C.
9132 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9133
9134 # Define system-specific variables.
9135 case $host_os in
9136 aix*)
9137   symcode='[BCDT]'
9138   ;;
9139 cygwin* | mingw* | pw32* | cegcc*)
9140   symcode='[ABCDGISTW]'
9141   ;;
9142 hpux*)
9143   if test "$host_cpu" = ia64; then
9144     symcode='[ABCDEGRST]'
9145   fi
9146   ;;
9147 irix* | nonstopux*)
9148   symcode='[BCDEGRST]'
9149   ;;
9150 osf*)
9151   symcode='[BCDEGQRST]'
9152   ;;
9153 solaris*)
9154   symcode='[BDRT]'
9155   ;;
9156 sco3.2v5*)
9157   symcode='[DT]'
9158   ;;
9159 sysv4.2uw2*)
9160   symcode='[DT]'
9161   ;;
9162 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9163   symcode='[ABDT]'
9164   ;;
9165 sysv4)
9166   symcode='[DFNSTU]'
9167   ;;
9168 esac
9169
9170 # If we're using GNU nm, then use its standard symbol codes.
9171 case `$NM -V 2>&1` in
9172 *GNU* | *'with BFD'*)
9173   symcode='[ABCDGIRSTW]' ;;
9174 esac
9175
9176 # Transform an extracted symbol line into a proper C declaration.
9177 # Some systems (esp. on ia64) link data and code symbols differently,
9178 # so use this general approach.
9179 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9180
9181 # Transform an extracted symbol line into symbol name and symbol address
9182 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
9183 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'"
9184
9185 # Handle CRLF in mingw tool chain
9186 opt_cr=
9187 case $build_os in
9188 mingw*)
9189   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9190   ;;
9191 esac
9192
9193 # Try without a prefix underscore, then with it.
9194 for ac_symprfx in "" "_"; do
9195
9196   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9197   symxfrm="\\1 $ac_symprfx\\2 \\2"
9198
9199   # Write the raw and C identifiers.
9200   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9201     # Fake it for dumpbin and say T for any non-static function
9202     # and D for any global variable.
9203     # Also find C++ and __fastcall symbols from MSVC++,
9204     # which start with @ or ?.
9205     lt_cv_sys_global_symbol_pipe="$AWK '"\
9206 "     {last_section=section; section=\$ 3};"\
9207 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9208 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9209 "     \$ 0!~/External *\|/{next};"\
9210 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9211 "     {if(hide[section]) next};"\
9212 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9213 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9214 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
9215 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9216 "     ' prfx=^$ac_symprfx"
9217   else
9218     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9219   fi
9220   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9221
9222   # Check to see that the pipe works correctly.
9223   pipe_works=no
9224
9225   rm -f conftest*
9226   cat > conftest.$ac_ext <<_LT_EOF
9227 #ifdef __cplusplus
9228 extern "C" {
9229 #endif
9230 char nm_test_var;
9231 void nm_test_func(void);
9232 void nm_test_func(void){}
9233 #ifdef __cplusplus
9234 }
9235 #endif
9236 int main(){nm_test_var='a';nm_test_func();return(0);}
9237 _LT_EOF
9238
9239   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9240   (eval $ac_compile) 2>&5
9241   ac_status=$?
9242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9243   test $ac_status = 0; }; then
9244     # Now try to grab the symbols.
9245     nlist=conftest.nm
9246     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9247   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9248   ac_status=$?
9249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9250   test $ac_status = 0; } && test -s "$nlist"; then
9251       # Try sorting and uniquifying the output.
9252       if sort "$nlist" | uniq > "$nlist"T; then
9253         mv -f "$nlist"T "$nlist"
9254       else
9255         rm -f "$nlist"T
9256       fi
9257
9258       # Make sure that we snagged all the symbols we need.
9259       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9260         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9261           cat <<_LT_EOF > conftest.$ac_ext
9262 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
9263 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9264 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9265    relocations are performed -- see ld's documentation on pseudo-relocs.  */
9266 # define LT@&t@_DLSYM_CONST
9267 #elif defined(__osf__)
9268 /* This system does not cope well with relocations in const data.  */
9269 # define LT@&t@_DLSYM_CONST
9270 #else
9271 # define LT@&t@_DLSYM_CONST const
9272 #endif
9273
9274 #ifdef __cplusplus
9275 extern "C" {
9276 #endif
9277
9278 _LT_EOF
9279           # Now generate the symbol file.
9280           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9281
9282           cat <<_LT_EOF >> conftest.$ac_ext
9283
9284 /* The mapping between symbol names and symbols.  */
9285 LT@&t@_DLSYM_CONST struct {
9286   const char *name;
9287   void       *address;
9288 }
9289 lt__PROGRAM__LTX_preloaded_symbols[] =
9290 {
9291   { "@PROGRAM@", (void *) 0 },
9292 _LT_EOF
9293           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9294           cat <<\_LT_EOF >> conftest.$ac_ext
9295   {0, (void *) 0}
9296 };
9297
9298 /* This works around a problem in FreeBSD linker */
9299 #ifdef FREEBSD_WORKAROUND
9300 static const void *lt_preloaded_setup() {
9301   return lt__PROGRAM__LTX_preloaded_symbols;
9302 }
9303 #endif
9304
9305 #ifdef __cplusplus
9306 }
9307 #endif
9308 _LT_EOF
9309           # Now try linking the two files.
9310           mv conftest.$ac_objext conftstm.$ac_objext
9311           lt_globsym_save_LIBS=$LIBS
9312           lt_globsym_save_CFLAGS=$CFLAGS
9313           LIBS="conftstm.$ac_objext"
9314           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9315           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9316   (eval $ac_link) 2>&5
9317   ac_status=$?
9318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9319   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9320             pipe_works=yes
9321           fi
9322           LIBS=$lt_globsym_save_LIBS
9323           CFLAGS=$lt_globsym_save_CFLAGS
9324         else
9325           echo "cannot find nm_test_func in $nlist" >&5
9326         fi
9327       else
9328         echo "cannot find nm_test_var in $nlist" >&5
9329       fi
9330     else
9331       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9332     fi
9333   else
9334     echo "$progname: failed program was:" >&5
9335     cat conftest.$ac_ext >&5
9336   fi
9337   rm -rf conftest* conftst*
9338
9339   # Do not use the global_symbol_pipe unless it works.
9340   if test "$pipe_works" = yes; then
9341     break
9342   else
9343     lt_cv_sys_global_symbol_pipe=
9344   fi
9345 done
9346
9347 fi
9348
9349 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9350   lt_cv_sys_global_symbol_to_cdecl=
9351 fi
9352 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9354 $as_echo "failed" >&6; }
9355 else
9356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9357 $as_echo "ok" >&6; }
9358 fi
9359
9360 # Response file support.
9361 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9362   nm_file_list_spec='@'
9363 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9364   nm_file_list_spec='@'
9365 fi
9366
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9394 $as_echo_n "checking for sysroot... " >&6; }
9395
9396 @%:@ Check whether --with-sysroot was given.
9397 if test "${with_sysroot+set}" = set; then :
9398   withval=$with_sysroot; 
9399 else
9400   with_sysroot=no
9401 fi
9402
9403
9404 lt_sysroot=
9405 case ${with_sysroot} in #(
9406  yes)
9407    if test "$GCC" = yes; then
9408      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9409    fi
9410    ;; #(
9411  /*)
9412    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9413    ;; #(
9414  no|'')
9415    ;; #(
9416  *)
9417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9418 $as_echo "${with_sysroot}" >&6; }
9419    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9420    ;;
9421 esac
9422
9423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9424 $as_echo "${lt_sysroot:-no}" >&6; }
9425
9426     
9427     
9428     
9429
9430 @%:@ Check whether --enable-libtool-lock was given.
9431 if test "${enable_libtool_lock+set}" = set; then :
9432   enableval=$enable_libtool_lock; 
9433 fi
9434
9435 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9436
9437 # Some flags need to be propagated to the compiler or linker for good
9438 # libtool support.
9439 case $host in
9440 ia64-*-hpux*)
9441   # Find out which ABI we are using.
9442   echo 'int i;' > conftest.$ac_ext
9443   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9444   (eval $ac_compile) 2>&5
9445   ac_status=$?
9446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9447   test $ac_status = 0; }; then
9448     case `/usr/bin/file conftest.$ac_objext` in
9449       *ELF-32*)
9450         HPUX_IA64_MODE="32"
9451         ;;
9452       *ELF-64*)
9453         HPUX_IA64_MODE="64"
9454         ;;
9455     esac
9456   fi
9457   rm -rf conftest*
9458   ;;
9459 *-*-irix6*)
9460   # Find out which ABI we are using.
9461   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9462   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9463   (eval $ac_compile) 2>&5
9464   ac_status=$?
9465   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9466   test $ac_status = 0; }; then
9467     if test "$lt_cv_prog_gnu_ld" = yes; then
9468       case `/usr/bin/file conftest.$ac_objext` in
9469         *32-bit*)
9470           LD="${LD-ld} -melf32bsmip"
9471           ;;
9472         *N32*)
9473           LD="${LD-ld} -melf32bmipn32"
9474           ;;
9475         *64-bit*)
9476           LD="${LD-ld} -melf64bmip"
9477         ;;
9478       esac
9479     else
9480       case `/usr/bin/file conftest.$ac_objext` in
9481         *32-bit*)
9482           LD="${LD-ld} -32"
9483           ;;
9484         *N32*)
9485           LD="${LD-ld} -n32"
9486           ;;
9487         *64-bit*)
9488           LD="${LD-ld} -64"
9489           ;;
9490       esac
9491     fi
9492   fi
9493   rm -rf conftest*
9494   ;;
9495
9496 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9497 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9498   # Find out which ABI we are using.
9499   echo 'int i;' > conftest.$ac_ext
9500   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9501   (eval $ac_compile) 2>&5
9502   ac_status=$?
9503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9504   test $ac_status = 0; }; then
9505     case `/usr/bin/file conftest.o` in
9506       *32-bit*)
9507         case $host in
9508           x86_64-*kfreebsd*-gnu)
9509             LD="${LD-ld} -m elf_i386_fbsd"
9510             ;;
9511           x86_64-*linux*)
9512             LD="${LD-ld} -m elf_i386"
9513             ;;
9514           ppc64-*linux*|powerpc64-*linux*)
9515             LD="${LD-ld} -m elf32ppclinux"
9516             ;;
9517           s390x-*linux*)
9518             LD="${LD-ld} -m elf_s390"
9519             ;;
9520           sparc64-*linux*)
9521             LD="${LD-ld} -m elf32_sparc"
9522             ;;
9523         esac
9524         ;;
9525       *64-bit*)
9526         case $host in
9527           x86_64-*kfreebsd*-gnu)
9528             LD="${LD-ld} -m elf_x86_64_fbsd"
9529             ;;
9530           x86_64-*linux*)
9531             LD="${LD-ld} -m elf_x86_64"
9532             ;;
9533           ppc*-*linux*|powerpc*-*linux*)
9534             LD="${LD-ld} -m elf64ppc"
9535             ;;
9536           s390*-*linux*|s390*-*tpf*)
9537             LD="${LD-ld} -m elf64_s390"
9538             ;;
9539           sparc*-*linux*)
9540             LD="${LD-ld} -m elf64_sparc"
9541             ;;
9542         esac
9543         ;;
9544     esac
9545   fi
9546   rm -rf conftest*
9547   ;;
9548
9549 *-*-sco3.2v5*)
9550   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9551   SAVE_CFLAGS="$CFLAGS"
9552   CFLAGS="$CFLAGS -belf"
9553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9554 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9555 if ${lt_cv_cc_needs_belf+:} false; then :
9556   $as_echo_n "(cached) " >&6
9557 else
9558   ac_ext=c
9559 ac_cpp='$CPP $CPPFLAGS'
9560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9563
9564      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h.  */
9566
9567 int
9568 main ()
9569 {
9570
9571   ;
9572   return 0;
9573 }
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576   lt_cv_cc_needs_belf=yes
9577 else
9578   lt_cv_cc_needs_belf=no
9579 fi
9580 rm -f core conftest.err conftest.$ac_objext \
9581     conftest$ac_exeext conftest.$ac_ext
9582      ac_ext=c
9583 ac_cpp='$CPP $CPPFLAGS'
9584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9587
9588 fi
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9590 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9591   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9592     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9593     CFLAGS="$SAVE_CFLAGS"
9594   fi
9595   ;;
9596 *-*solaris*)
9597   # Find out which ABI we are using.
9598   echo 'int i;' > conftest.$ac_ext
9599   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9600   (eval $ac_compile) 2>&5
9601   ac_status=$?
9602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9603   test $ac_status = 0; }; then
9604     case `/usr/bin/file conftest.o` in
9605     *64-bit*)
9606       case $lt_cv_prog_gnu_ld in
9607       yes*)
9608         case $host in
9609         i?86-*-solaris*)
9610           LD="${LD-ld} -m elf_x86_64"
9611           ;;
9612         sparc*-*-solaris*)
9613           LD="${LD-ld} -m elf64_sparc"
9614           ;;
9615         esac
9616         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9617         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9618           LD="${LD-ld}_sol2"
9619         fi
9620         ;;
9621       *)
9622         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9623           LD="${LD-ld} -64"
9624         fi
9625         ;;
9626       esac
9627       ;;
9628     esac
9629   fi
9630   rm -rf conftest*
9631   ;;
9632 esac
9633
9634 need_locks="$enable_libtool_lock"
9635
9636 if test -n "$ac_tool_prefix"; then
9637   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9638 set dummy ${ac_tool_prefix}mt; ac_word=$2
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9640 $as_echo_n "checking for $ac_word... " >&6; }
9641 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9642   $as_echo_n "(cached) " >&6
9643 else
9644   if test -n "$MANIFEST_TOOL"; then
9645   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9646 else
9647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 for as_dir in $PATH
9649 do
9650   IFS=$as_save_IFS
9651   test -z "$as_dir" && as_dir=.
9652     for ac_exec_ext in '' $ac_executable_extensions; do
9653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9654     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9656     break 2
9657   fi
9658 done
9659   done
9660 IFS=$as_save_IFS
9661
9662 fi
9663 fi
9664 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9665 if test -n "$MANIFEST_TOOL"; then
9666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9667 $as_echo "$MANIFEST_TOOL" >&6; }
9668 else
9669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9670 $as_echo "no" >&6; }
9671 fi
9672
9673
9674 fi
9675 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9676   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9677   # Extract the first word of "mt", so it can be a program name with args.
9678 set dummy mt; ac_word=$2
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9680 $as_echo_n "checking for $ac_word... " >&6; }
9681 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9682   $as_echo_n "(cached) " >&6
9683 else
9684   if test -n "$ac_ct_MANIFEST_TOOL"; then
9685   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9686 else
9687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9688 for as_dir in $PATH
9689 do
9690   IFS=$as_save_IFS
9691   test -z "$as_dir" && as_dir=.
9692     for ac_exec_ext in '' $ac_executable_extensions; do
9693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9694     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9696     break 2
9697   fi
9698 done
9699   done
9700 IFS=$as_save_IFS
9701
9702 fi
9703 fi
9704 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9705 if test -n "$ac_ct_MANIFEST_TOOL"; then
9706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9707 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9708 else
9709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9710 $as_echo "no" >&6; }
9711 fi
9712
9713   if test "x$ac_ct_MANIFEST_TOOL" = x; then
9714     MANIFEST_TOOL=":"
9715   else
9716     case $cross_compiling:$ac_tool_warned in
9717 yes:)
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9720 ac_tool_warned=yes ;;
9721 esac
9722     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9723   fi
9724 else
9725   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9726 fi
9727
9728 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9730 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9731 if ${lt_cv_path_mainfest_tool+:} false; then :
9732   $as_echo_n "(cached) " >&6
9733 else
9734   lt_cv_path_mainfest_tool=no
9735   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9736   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9737   cat conftest.err >&5
9738   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9739     lt_cv_path_mainfest_tool=yes
9740   fi
9741   rm -f conftest*
9742 fi
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9744 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9745 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9746   MANIFEST_TOOL=:
9747 fi
9748
9749     
9750     
9751     
9752
9753
9754   case $host_os in
9755     rhapsody* | darwin*)
9756     if test -n "$ac_tool_prefix"; then
9757   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9758 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9760 $as_echo_n "checking for $ac_word... " >&6; }
9761 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9762   $as_echo_n "(cached) " >&6
9763 else
9764   if test -n "$DSYMUTIL"; then
9765   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9766 else
9767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9768 for as_dir in $PATH
9769 do
9770   IFS=$as_save_IFS
9771   test -z "$as_dir" && as_dir=.
9772     for ac_exec_ext in '' $ac_executable_extensions; do
9773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9774     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9776     break 2
9777   fi
9778 done
9779   done
9780 IFS=$as_save_IFS
9781
9782 fi
9783 fi
9784 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9785 if test -n "$DSYMUTIL"; then
9786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9787 $as_echo "$DSYMUTIL" >&6; }
9788 else
9789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9790 $as_echo "no" >&6; }
9791 fi
9792
9793
9794 fi
9795 if test -z "$ac_cv_prog_DSYMUTIL"; then
9796   ac_ct_DSYMUTIL=$DSYMUTIL
9797   # Extract the first word of "dsymutil", so it can be a program name with args.
9798 set dummy dsymutil; ac_word=$2
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9800 $as_echo_n "checking for $ac_word... " >&6; }
9801 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9802   $as_echo_n "(cached) " >&6
9803 else
9804   if test -n "$ac_ct_DSYMUTIL"; then
9805   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9806 else
9807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9808 for as_dir in $PATH
9809 do
9810   IFS=$as_save_IFS
9811   test -z "$as_dir" && as_dir=.
9812     for ac_exec_ext in '' $ac_executable_extensions; do
9813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9814     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9816     break 2
9817   fi
9818 done
9819   done
9820 IFS=$as_save_IFS
9821
9822 fi
9823 fi
9824 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9825 if test -n "$ac_ct_DSYMUTIL"; then
9826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9827 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9828 else
9829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9830 $as_echo "no" >&6; }
9831 fi
9832
9833   if test "x$ac_ct_DSYMUTIL" = x; then
9834     DSYMUTIL=":"
9835   else
9836     case $cross_compiling:$ac_tool_warned in
9837 yes:)
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9840 ac_tool_warned=yes ;;
9841 esac
9842     DSYMUTIL=$ac_ct_DSYMUTIL
9843   fi
9844 else
9845   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9846 fi
9847
9848     if test -n "$ac_tool_prefix"; then
9849   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9850 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9852 $as_echo_n "checking for $ac_word... " >&6; }
9853 if ${ac_cv_prog_NMEDIT+:} false; then :
9854   $as_echo_n "(cached) " >&6
9855 else
9856   if test -n "$NMEDIT"; then
9857   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9858 else
9859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9860 for as_dir in $PATH
9861 do
9862   IFS=$as_save_IFS
9863   test -z "$as_dir" && as_dir=.
9864     for ac_exec_ext in '' $ac_executable_extensions; do
9865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9866     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9868     break 2
9869   fi
9870 done
9871   done
9872 IFS=$as_save_IFS
9873
9874 fi
9875 fi
9876 NMEDIT=$ac_cv_prog_NMEDIT
9877 if test -n "$NMEDIT"; then
9878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9879 $as_echo "$NMEDIT" >&6; }
9880 else
9881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9882 $as_echo "no" >&6; }
9883 fi
9884
9885
9886 fi
9887 if test -z "$ac_cv_prog_NMEDIT"; then
9888   ac_ct_NMEDIT=$NMEDIT
9889   # Extract the first word of "nmedit", so it can be a program name with args.
9890 set dummy nmedit; ac_word=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9892 $as_echo_n "checking for $ac_word... " >&6; }
9893 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9894   $as_echo_n "(cached) " >&6
9895 else
9896   if test -n "$ac_ct_NMEDIT"; then
9897   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9898 else
9899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9900 for as_dir in $PATH
9901 do
9902   IFS=$as_save_IFS
9903   test -z "$as_dir" && as_dir=.
9904     for ac_exec_ext in '' $ac_executable_extensions; do
9905   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906     ac_cv_prog_ac_ct_NMEDIT="nmedit"
9907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9908     break 2
9909   fi
9910 done
9911   done
9912 IFS=$as_save_IFS
9913
9914 fi
9915 fi
9916 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9917 if test -n "$ac_ct_NMEDIT"; then
9918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9919 $as_echo "$ac_ct_NMEDIT" >&6; }
9920 else
9921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9922 $as_echo "no" >&6; }
9923 fi
9924
9925   if test "x$ac_ct_NMEDIT" = x; then
9926     NMEDIT=":"
9927   else
9928     case $cross_compiling:$ac_tool_warned in
9929 yes:)
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9932 ac_tool_warned=yes ;;
9933 esac
9934     NMEDIT=$ac_ct_NMEDIT
9935   fi
9936 else
9937   NMEDIT="$ac_cv_prog_NMEDIT"
9938 fi
9939
9940     if test -n "$ac_tool_prefix"; then
9941   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9942 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9944 $as_echo_n "checking for $ac_word... " >&6; }
9945 if ${ac_cv_prog_LIPO+:} false; then :
9946   $as_echo_n "(cached) " >&6
9947 else
9948   if test -n "$LIPO"; then
9949   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9950 else
9951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9952 for as_dir in $PATH
9953 do
9954   IFS=$as_save_IFS
9955   test -z "$as_dir" && as_dir=.
9956     for ac_exec_ext in '' $ac_executable_extensions; do
9957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9958     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9960     break 2
9961   fi
9962 done
9963   done
9964 IFS=$as_save_IFS
9965
9966 fi
9967 fi
9968 LIPO=$ac_cv_prog_LIPO
9969 if test -n "$LIPO"; then
9970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9971 $as_echo "$LIPO" >&6; }
9972 else
9973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9974 $as_echo "no" >&6; }
9975 fi
9976
9977
9978 fi
9979 if test -z "$ac_cv_prog_LIPO"; then
9980   ac_ct_LIPO=$LIPO
9981   # Extract the first word of "lipo", so it can be a program name with args.
9982 set dummy lipo; ac_word=$2
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9984 $as_echo_n "checking for $ac_word... " >&6; }
9985 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9986   $as_echo_n "(cached) " >&6
9987 else
9988   if test -n "$ac_ct_LIPO"; then
9989   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9990 else
9991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9992 for as_dir in $PATH
9993 do
9994   IFS=$as_save_IFS
9995   test -z "$as_dir" && as_dir=.
9996     for ac_exec_ext in '' $ac_executable_extensions; do
9997   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9998     ac_cv_prog_ac_ct_LIPO="lipo"
9999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10000     break 2
10001   fi
10002 done
10003   done
10004 IFS=$as_save_IFS
10005
10006 fi
10007 fi
10008 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10009 if test -n "$ac_ct_LIPO"; then
10010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10011 $as_echo "$ac_ct_LIPO" >&6; }
10012 else
10013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10014 $as_echo "no" >&6; }
10015 fi
10016
10017   if test "x$ac_ct_LIPO" = x; then
10018     LIPO=":"
10019   else
10020     case $cross_compiling:$ac_tool_warned in
10021 yes:)
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10024 ac_tool_warned=yes ;;
10025 esac
10026     LIPO=$ac_ct_LIPO
10027   fi
10028 else
10029   LIPO="$ac_cv_prog_LIPO"
10030 fi
10031
10032     if test -n "$ac_tool_prefix"; then
10033   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10034 set dummy ${ac_tool_prefix}otool; ac_word=$2
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10036 $as_echo_n "checking for $ac_word... " >&6; }
10037 if ${ac_cv_prog_OTOOL+:} false; then :
10038   $as_echo_n "(cached) " >&6
10039 else
10040   if test -n "$OTOOL"; then
10041   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10042 else
10043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10044 for as_dir in $PATH
10045 do
10046   IFS=$as_save_IFS
10047   test -z "$as_dir" && as_dir=.
10048     for ac_exec_ext in '' $ac_executable_extensions; do
10049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10050     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10052     break 2
10053   fi
10054 done
10055   done
10056 IFS=$as_save_IFS
10057
10058 fi
10059 fi
10060 OTOOL=$ac_cv_prog_OTOOL
10061 if test -n "$OTOOL"; then
10062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10063 $as_echo "$OTOOL" >&6; }
10064 else
10065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10066 $as_echo "no" >&6; }
10067 fi
10068
10069
10070 fi
10071 if test -z "$ac_cv_prog_OTOOL"; then
10072   ac_ct_OTOOL=$OTOOL
10073   # Extract the first word of "otool", so it can be a program name with args.
10074 set dummy otool; ac_word=$2
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10076 $as_echo_n "checking for $ac_word... " >&6; }
10077 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10078   $as_echo_n "(cached) " >&6
10079 else
10080   if test -n "$ac_ct_OTOOL"; then
10081   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10082 else
10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10084 for as_dir in $PATH
10085 do
10086   IFS=$as_save_IFS
10087   test -z "$as_dir" && as_dir=.
10088     for ac_exec_ext in '' $ac_executable_extensions; do
10089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10090     ac_cv_prog_ac_ct_OTOOL="otool"
10091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10092     break 2
10093   fi
10094 done
10095   done
10096 IFS=$as_save_IFS
10097
10098 fi
10099 fi
10100 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10101 if test -n "$ac_ct_OTOOL"; then
10102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10103 $as_echo "$ac_ct_OTOOL" >&6; }
10104 else
10105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10106 $as_echo "no" >&6; }
10107 fi
10108
10109   if test "x$ac_ct_OTOOL" = x; then
10110     OTOOL=":"
10111   else
10112     case $cross_compiling:$ac_tool_warned in
10113 yes:)
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10116 ac_tool_warned=yes ;;
10117 esac
10118     OTOOL=$ac_ct_OTOOL
10119   fi
10120 else
10121   OTOOL="$ac_cv_prog_OTOOL"
10122 fi
10123
10124     if test -n "$ac_tool_prefix"; then
10125   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10126 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10128 $as_echo_n "checking for $ac_word... " >&6; }
10129 if ${ac_cv_prog_OTOOL64+:} false; then :
10130   $as_echo_n "(cached) " >&6
10131 else
10132   if test -n "$OTOOL64"; then
10133   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10134 else
10135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10136 for as_dir in $PATH
10137 do
10138   IFS=$as_save_IFS
10139   test -z "$as_dir" && as_dir=.
10140     for ac_exec_ext in '' $ac_executable_extensions; do
10141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10142     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10144     break 2
10145   fi
10146 done
10147   done
10148 IFS=$as_save_IFS
10149
10150 fi
10151 fi
10152 OTOOL64=$ac_cv_prog_OTOOL64
10153 if test -n "$OTOOL64"; then
10154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10155 $as_echo "$OTOOL64" >&6; }
10156 else
10157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10158 $as_echo "no" >&6; }
10159 fi
10160
10161
10162 fi
10163 if test -z "$ac_cv_prog_OTOOL64"; then
10164   ac_ct_OTOOL64=$OTOOL64
10165   # Extract the first word of "otool64", so it can be a program name with args.
10166 set dummy otool64; ac_word=$2
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10168 $as_echo_n "checking for $ac_word... " >&6; }
10169 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10170   $as_echo_n "(cached) " >&6
10171 else
10172   if test -n "$ac_ct_OTOOL64"; then
10173   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10174 else
10175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10176 for as_dir in $PATH
10177 do
10178   IFS=$as_save_IFS
10179   test -z "$as_dir" && as_dir=.
10180     for ac_exec_ext in '' $ac_executable_extensions; do
10181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10182     ac_cv_prog_ac_ct_OTOOL64="otool64"
10183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10184     break 2
10185   fi
10186 done
10187   done
10188 IFS=$as_save_IFS
10189
10190 fi
10191 fi
10192 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10193 if test -n "$ac_ct_OTOOL64"; then
10194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10195 $as_echo "$ac_ct_OTOOL64" >&6; }
10196 else
10197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10198 $as_echo "no" >&6; }
10199 fi
10200
10201   if test "x$ac_ct_OTOOL64" = x; then
10202     OTOOL64=":"
10203   else
10204     case $cross_compiling:$ac_tool_warned in
10205 yes:)
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10208 ac_tool_warned=yes ;;
10209 esac
10210     OTOOL64=$ac_ct_OTOOL64
10211   fi
10212 else
10213   OTOOL64="$ac_cv_prog_OTOOL64"
10214 fi
10215
10216     
10217     
10218     
10219     
10220
10221     
10222     
10223     
10224     
10225
10226     
10227     
10228     
10229     
10230
10231     
10232     
10233     
10234     
10235
10236     
10237     
10238     
10239     
10240
10241
10242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10243 $as_echo_n "checking for -single_module linker flag... " >&6; }
10244 if ${lt_cv_apple_cc_single_mod+:} false; then :
10245   $as_echo_n "(cached) " >&6
10246 else
10247   lt_cv_apple_cc_single_mod=no
10248       if test -z "${LT_MULTI_MODULE}"; then
10249         # By default we will add the -single_module flag. You can override
10250         # by either setting the environment variable LT_MULTI_MODULE
10251         # non-empty at configure time, or by adding -multi_module to the
10252         # link flags.
10253         rm -rf libconftest.dylib*
10254         echo "int foo(void){return 1;}" > conftest.c
10255         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10256 -dynamiclib -Wl,-single_module conftest.c" >&5
10257         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10258           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10259         _lt_result=$?
10260         # If there is a non-empty error log, and "single_module"
10261         # appears in it, assume the flag caused a linker warning
10262         if test -s conftest.err && $GREP single_module conftest.err; then
10263           cat conftest.err >&5
10264         # Otherwise, if the output was created with a 0 exit code from
10265         # the compiler, it worked.
10266         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10267           lt_cv_apple_cc_single_mod=yes
10268         else
10269           cat conftest.err >&5
10270         fi
10271         rm -rf libconftest.dylib*
10272         rm -f conftest.*
10273       fi
10274 fi
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10276 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10277
10278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10279 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10280 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10281   $as_echo_n "(cached) " >&6
10282 else
10283   lt_cv_ld_exported_symbols_list=no
10284       save_LDFLAGS=$LDFLAGS
10285       echo "_main" > conftest.sym
10286       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h.  */
10289
10290 int
10291 main ()
10292 {
10293
10294   ;
10295   return 0;
10296 }
10297 _ACEOF
10298 if ac_fn_c_try_link "$LINENO"; then :
10299   lt_cv_ld_exported_symbols_list=yes
10300 else
10301   lt_cv_ld_exported_symbols_list=no
10302 fi
10303 rm -f core conftest.err conftest.$ac_objext \
10304     conftest$ac_exeext conftest.$ac_ext
10305         LDFLAGS="$save_LDFLAGS"
10306     
10307 fi
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10309 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10310
10311     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10312 $as_echo_n "checking for -force_load linker flag... " >&6; }
10313 if ${lt_cv_ld_force_load+:} false; then :
10314   $as_echo_n "(cached) " >&6
10315 else
10316   lt_cv_ld_force_load=no
10317       cat > conftest.c << _LT_EOF
10318 int forced_loaded() { return 2;}
10319 _LT_EOF
10320       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10321       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10322       echo "$AR cru libconftest.a conftest.o" >&5
10323       $AR cru libconftest.a conftest.o 2>&5
10324       echo "$RANLIB libconftest.a" >&5
10325       $RANLIB libconftest.a 2>&5
10326       cat > conftest.c << _LT_EOF
10327 int main() { return 0;}
10328 _LT_EOF
10329       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10330       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10331       _lt_result=$?
10332       if test -s conftest.err && $GREP force_load conftest.err; then
10333         cat conftest.err >&5
10334       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10335         lt_cv_ld_force_load=yes
10336       else
10337         cat conftest.err >&5
10338       fi
10339         rm -f conftest.err libconftest.a conftest conftest.c
10340         rm -rf conftest.dSYM
10341     
10342 fi
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10344 $as_echo "$lt_cv_ld_force_load" >&6; }
10345     case $host_os in
10346     rhapsody* | darwin1.[012])
10347       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10348     darwin1.*)
10349       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10350     darwin*) # darwin 5.x on
10351       # if running on 10.5 or later, the deployment target defaults
10352       # to the OS version, if on x86, and 10.4, the deployment
10353       # target defaults to 10.4. Don't you love it?
10354       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10355         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10356           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10357         10.[012]*)
10358           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10359         10.*)
10360           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10361       esac
10362     ;;
10363   esac
10364     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10365       _lt_dar_single_mod='$single_module'
10366     fi
10367     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10368       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10369     else
10370       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10371     fi
10372     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10373       _lt_dsymutil='~$DSYMUTIL $lib || :'
10374     else
10375       _lt_dsymutil=
10376     fi
10377     ;;
10378   esac
10379
10380 for ac_header in dlfcn.h
10381 do :
10382   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10383 "
10384 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10385   cat >>confdefs.h <<_ACEOF
10386 @%:@define HAVE_DLFCN_H 1
10387 _ACEOF
10388  
10389 fi
10390
10391 done
10392
10393
10394
10395 func_stripname_cnf ()
10396 {
10397   case ${2} in
10398   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10399   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10400   esac
10401 } # func_stripname_cnf
10402
10403
10404
10405
10406
10407 # Set options
10408
10409
10410
10411         enable_dlopen=no
10412   
10413
10414   
10415             @%:@ Check whether --enable-shared was given.
10416 if test "${enable_shared+set}" = set; then :
10417   enableval=$enable_shared; p=${PACKAGE-default}
10418     case $enableval in
10419     yes) enable_shared=yes ;;
10420     no) enable_shared=no ;;
10421     *)
10422       enable_shared=no
10423       # Look at the argument we got.  We use all the common list separators.
10424       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10425       for pkg in $enableval; do
10426         IFS="$lt_save_ifs"
10427         if test "X$pkg" = "X$p"; then
10428           enable_shared=yes
10429         fi
10430       done
10431       IFS="$lt_save_ifs"
10432       ;;
10433     esac
10434 else
10435   enable_shared=yes
10436 fi
10437
10438
10439     
10440     
10441     
10442     
10443
10444
10445
10446   
10447   
10448 @%:@ Check whether --with-pic was given.
10449 if test "${with_pic+set}" = set; then :
10450   withval=$with_pic; lt_p=${PACKAGE-default}
10451     case $withval in
10452     yes|no) pic_mode=$withval ;;
10453     *)
10454       pic_mode=default
10455       # Look at the argument we got.  We use all the common list separators.
10456       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10457       for lt_pkg in $withval; do
10458         IFS="$lt_save_ifs"
10459         if test "X$lt_pkg" = "X$lt_p"; then
10460           pic_mode=yes
10461         fi
10462       done
10463       IFS="$lt_save_ifs"
10464       ;;
10465     esac
10466 else
10467   pic_mode=default
10468 fi
10469
10470
10471 test -z "$pic_mode" && pic_mode=default
10472
10473
10474     
10475     
10476     
10477
10478
10479   @%:@ Check whether --enable-fast-install was given.
10480 if test "${enable_fast_install+set}" = set; then :
10481   enableval=$enable_fast_install; p=${PACKAGE-default}
10482     case $enableval in
10483     yes) enable_fast_install=yes ;;
10484     no) enable_fast_install=no ;;
10485     *)
10486       enable_fast_install=no
10487       # Look at the argument we got.  We use all the common list separators.
10488       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10489       for pkg in $enableval; do
10490         IFS="$lt_save_ifs"
10491         if test "X$pkg" = "X$p"; then
10492           enable_fast_install=yes
10493         fi
10494       done
10495       IFS="$lt_save_ifs"
10496       ;;
10497     esac
10498 else
10499   enable_fast_install=yes
10500 fi
10501
10502
10503
10504     
10505     
10506     
10507
10508
10509   
10510
10511
10512 # This can be used to rebuild libtool when needed
10513 LIBTOOL_DEPS="$ltmain"
10514
10515 # Always use our own libtool.
10516 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10517
10518
10519
10520     
10521     
10522     
10523
10524     
10525     
10526     
10527
10528     
10529     
10530     
10531
10532     
10533     
10534     
10535
10536     
10537     
10538     
10539
10540     
10541     
10542     
10543
10544     
10545     
10546     
10547 test -z "$LN_S" && LN_S="ln -s"
10548
10549     
10550     
10551     
10552
10553     
10554     
10555     
10556
10557     
10558     
10559     
10560
10561
10562 if test -n "${ZSH_VERSION+set}" ; then
10563    setopt NO_GLOB_SUBST
10564 fi
10565
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10567 $as_echo_n "checking for objdir... " >&6; }
10568 if ${lt_cv_objdir+:} false; then :
10569   $as_echo_n "(cached) " >&6
10570 else
10571   rm -f .libs 2>/dev/null
10572 mkdir .libs 2>/dev/null
10573 if test -d .libs; then
10574   lt_cv_objdir=.libs
10575 else
10576   # MS-DOS does not allow filenames that begin with a dot.
10577   lt_cv_objdir=_libs
10578 fi
10579 rmdir .libs 2>/dev/null
10580 fi
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10582 $as_echo "$lt_cv_objdir" >&6; }
10583 objdir=$lt_cv_objdir
10584
10585     
10586     
10587     
10588
10589 cat >>confdefs.h <<_ACEOF
10590 @%:@define LT_OBJDIR "$lt_cv_objdir/"
10591 _ACEOF
10592
10593
10594
10595
10596 case $host_os in
10597 aix3*)
10598   # AIX sometimes has problems with the GCC collect2 program.  For some
10599   # reason, if we set the COLLECT_NAMES environment variable, the problems
10600   # vanish in a puff of smoke.
10601   if test "X${COLLECT_NAMES+set}" != Xset; then
10602     COLLECT_NAMES=
10603     export COLLECT_NAMES
10604   fi
10605   ;;
10606 esac
10607
10608 # Global variables:
10609 ofile=libtool
10610 can_build_shared=yes
10611
10612 # All known linkers require a `.a' archive for static linking (except MSVC,
10613 # which needs '.lib').
10614 libext=a
10615
10616 with_gnu_ld="$lt_cv_prog_gnu_ld"
10617
10618 old_CC="$CC"
10619 old_CFLAGS="$CFLAGS"
10620
10621 # Set sane defaults for various variables
10622 test -z "$CC" && CC=cc
10623 test -z "$LTCC" && LTCC=$CC
10624 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10625 test -z "$LD" && LD=ld
10626 test -z "$ac_objext" && ac_objext=o
10627
10628 for cc_temp in $compiler""; do
10629   case $cc_temp in
10630     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10631     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10632     \-*) ;;
10633     *) break;;
10634   esac
10635 done
10636 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10637
10638
10639 # Only perform the check for file, if the check method requires it
10640 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10641 case $deplibs_check_method in
10642 file_magic*)
10643   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10644     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10645 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10646 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10647   $as_echo_n "(cached) " >&6
10648 else
10649   case $MAGIC_CMD in
10650 [\\/*] |  ?:[\\/]*)
10651   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10652   ;;
10653 *)
10654   lt_save_MAGIC_CMD="$MAGIC_CMD"
10655   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10656   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10657   for ac_dir in $ac_dummy; do
10658     IFS="$lt_save_ifs"
10659     test -z "$ac_dir" && ac_dir=.
10660     if test -f $ac_dir/${ac_tool_prefix}file; then
10661       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10662       if test -n "$file_magic_test_file"; then
10663         case $deplibs_check_method in
10664         "file_magic "*)
10665           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10666           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10667           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10668             $EGREP "$file_magic_regex" > /dev/null; then
10669             :
10670           else
10671             cat <<_LT_EOF 1>&2
10672
10673 *** Warning: the command libtool uses to detect shared libraries,
10674 *** $file_magic_cmd, produces output that libtool cannot recognize.
10675 *** The result is that libtool may fail to recognize shared libraries
10676 *** as such.  This will affect the creation of libtool libraries that
10677 *** depend on shared libraries, but programs linked with such libtool
10678 *** libraries will work regardless of this problem.  Nevertheless, you
10679 *** may want to report the problem to your system manager and/or to
10680 *** bug-libtool@gnu.org
10681
10682 _LT_EOF
10683           fi ;;
10684         esac
10685       fi
10686       break
10687     fi
10688   done
10689   IFS="$lt_save_ifs"
10690   MAGIC_CMD="$lt_save_MAGIC_CMD"
10691   ;;
10692 esac
10693 fi
10694
10695 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10696 if test -n "$MAGIC_CMD"; then
10697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10698 $as_echo "$MAGIC_CMD" >&6; }
10699 else
10700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10701 $as_echo "no" >&6; }
10702 fi
10703
10704     
10705     
10706     
10707
10708 if test -z "$lt_cv_path_MAGIC_CMD"; then
10709   if test -n "$ac_tool_prefix"; then
10710     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10711 $as_echo_n "checking for file... " >&6; }
10712 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10713   $as_echo_n "(cached) " >&6
10714 else
10715   case $MAGIC_CMD in
10716 [\\/*] |  ?:[\\/]*)
10717   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10718   ;;
10719 *)
10720   lt_save_MAGIC_CMD="$MAGIC_CMD"
10721   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10722   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10723   for ac_dir in $ac_dummy; do
10724     IFS="$lt_save_ifs"
10725     test -z "$ac_dir" && ac_dir=.
10726     if test -f $ac_dir/file; then
10727       lt_cv_path_MAGIC_CMD="$ac_dir/file"
10728       if test -n "$file_magic_test_file"; then
10729         case $deplibs_check_method in
10730         "file_magic "*)
10731           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10732           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10733           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10734             $EGREP "$file_magic_regex" > /dev/null; then
10735             :
10736           else
10737             cat <<_LT_EOF 1>&2
10738
10739 *** Warning: the command libtool uses to detect shared libraries,
10740 *** $file_magic_cmd, produces output that libtool cannot recognize.
10741 *** The result is that libtool may fail to recognize shared libraries
10742 *** as such.  This will affect the creation of libtool libraries that
10743 *** depend on shared libraries, but programs linked with such libtool
10744 *** libraries will work regardless of this problem.  Nevertheless, you
10745 *** may want to report the problem to your system manager and/or to
10746 *** bug-libtool@gnu.org
10747
10748 _LT_EOF
10749           fi ;;
10750         esac
10751       fi
10752       break
10753     fi
10754   done
10755   IFS="$lt_save_ifs"
10756   MAGIC_CMD="$lt_save_MAGIC_CMD"
10757   ;;
10758 esac
10759 fi
10760
10761 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10762 if test -n "$MAGIC_CMD"; then
10763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10764 $as_echo "$MAGIC_CMD" >&6; }
10765 else
10766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10767 $as_echo "no" >&6; }
10768 fi
10769
10770
10771   else
10772     MAGIC_CMD=:
10773   fi
10774 fi
10775
10776   fi
10777   ;;
10778 esac
10779
10780 # Use C for the default configuration in the libtool script
10781
10782 lt_save_CC="$CC"
10783 ac_ext=c
10784 ac_cpp='$CPP $CPPFLAGS'
10785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10788
10789
10790 # Source file extension for C test sources.
10791 ac_ext=c
10792
10793 # Object file extension for compiled C test sources.
10794 objext=o
10795 objext=$objext
10796
10797 # Code to be used in simple compile tests
10798 lt_simple_compile_test_code="int some_variable = 0;"
10799
10800 # Code to be used in simple link tests
10801 lt_simple_link_test_code='int main(){return(0);}'
10802
10803
10804
10805
10806
10807
10808
10809 # If no C compiler was specified, use CC.
10810 LTCC=${LTCC-"$CC"}
10811
10812 # If no C compiler flags were specified, use CFLAGS.
10813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10814
10815 # Allow CC to be a program name with arguments.
10816 compiler=$CC
10817
10818 # Save the default compiler, since it gets overwritten when the other
10819 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10820 compiler_DEFAULT=$CC
10821
10822 # save warnings/boilerplate of simple test code
10823 ac_outfile=conftest.$ac_objext
10824 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10825 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10826 _lt_compiler_boilerplate=`cat conftest.err`
10827 $RM conftest*
10828
10829 ac_outfile=conftest.$ac_objext
10830 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10831 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10832 _lt_linker_boilerplate=`cat conftest.err`
10833 $RM -r conftest*
10834
10835
10836 ## CAVEAT EMPTOR:
10837 ## There is no encapsulation within the following macros, do not change
10838 ## the running order or otherwise move them around unless you know exactly
10839 ## what you are doing...
10840 if test -n "$compiler"; then
10841   
10842 lt_prog_compiler_no_builtin_flag=
10843
10844 if test "$GCC" = yes; then
10845   case $cc_basename in
10846   nvcc*)
10847     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10848   *)
10849     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10850   esac
10851
10852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10853 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10854 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10855   $as_echo_n "(cached) " >&6
10856 else
10857   lt_cv_prog_compiler_rtti_exceptions=no
10858    ac_outfile=conftest.$ac_objext
10859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10860    lt_compiler_flag="-fno-rtti -fno-exceptions"
10861    # Insert the option either (1) after the last *FLAGS variable, or
10862    # (2) before a word containing "conftest.", or (3) at the end.
10863    # Note that $ac_compile itself does not contain backslashes and begins
10864    # with a dollar sign (not a hyphen), so the echo should work correctly.
10865    # The option is referenced via a variable to avoid confusing sed.
10866    lt_compile=`echo "$ac_compile" | $SED \
10867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10869    -e 's:$: $lt_compiler_flag:'`
10870    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10871    (eval "$lt_compile" 2>conftest.err)
10872    ac_status=$?
10873    cat conftest.err >&5
10874    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875    if (exit $ac_status) && test -s "$ac_outfile"; then
10876      # The compiler can only warn and ignore the option if not recognized
10877      # So say no if there are warnings other than the usual output.
10878      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10879      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10880      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10881        lt_cv_prog_compiler_rtti_exceptions=yes
10882      fi
10883    fi
10884    $RM conftest*
10885
10886 fi
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10888 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10889
10890 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10891     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10892 else
10893     :
10894 fi
10895
10896 fi
10897
10898     
10899     
10900     
10901
10902
10903   lt_prog_compiler_wl=
10904 lt_prog_compiler_pic=
10905 lt_prog_compiler_static=
10906
10907
10908   if test "$GCC" = yes; then
10909     lt_prog_compiler_wl='-Wl,'
10910     lt_prog_compiler_static='-static'
10911
10912     case $host_os in
10913       aix*)
10914       # All AIX code is PIC.
10915       if test "$host_cpu" = ia64; then
10916         # AIX 5 now supports IA64 processor
10917         lt_prog_compiler_static='-Bstatic'
10918       fi
10919       ;;
10920
10921     amigaos*)
10922       case $host_cpu in
10923       powerpc)
10924             # see comment about AmigaOS4 .so support
10925             lt_prog_compiler_pic='-fPIC'
10926         ;;
10927       m68k)
10928             # FIXME: we need at least 68020 code to build shared libraries, but
10929             # adding the `-m68020' flag to GCC prevents building anything better,
10930             # like `-m68040'.
10931             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10932         ;;
10933       esac
10934       ;;
10935
10936     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10937       # PIC is the default for these OSes.
10938       ;;
10939
10940     mingw* | cygwin* | pw32* | os2* | cegcc*)
10941       # This hack is so that the source file can tell whether it is being
10942       # built for inclusion in a dll (and should export symbols for example).
10943       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10944       # (--disable-auto-import) libraries
10945       lt_prog_compiler_pic='-DDLL_EXPORT'
10946       ;;
10947
10948     darwin* | rhapsody*)
10949       # PIC is the default on this platform
10950       # Common symbols not allowed in MH_DYLIB files
10951       lt_prog_compiler_pic='-fno-common'
10952       ;;
10953
10954     haiku*)
10955       # PIC is the default for Haiku.
10956       # The "-static" flag exists, but is broken.
10957       lt_prog_compiler_static=
10958       ;;
10959
10960     hpux*)
10961       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10962       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10963       # sets the default TLS model and affects inlining.
10964       case $host_cpu in
10965       hppa*64*)
10966         # +Z the default
10967         ;;
10968       *)
10969         lt_prog_compiler_pic='-fPIC'
10970         ;;
10971       esac
10972       ;;
10973
10974     interix[3-9]*)
10975       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10976       # Instead, we relocate shared libraries at runtime.
10977       ;;
10978
10979     msdosdjgpp*)
10980       # Just because we use GCC doesn't mean we suddenly get shared libraries
10981       # on systems that don't support them.
10982       lt_prog_compiler_can_build_shared=no
10983       enable_shared=no
10984       ;;
10985
10986     *nto* | *qnx*)
10987       # QNX uses GNU C++, but need to define -shared option too, otherwise
10988       # it will coredump.
10989       lt_prog_compiler_pic='-fPIC -shared'
10990       ;;
10991
10992     sysv4*MP*)
10993       if test -d /usr/nec; then
10994         lt_prog_compiler_pic=-Kconform_pic
10995       fi
10996       ;;
10997
10998     *)
10999       lt_prog_compiler_pic='-fPIC'
11000       ;;
11001     esac
11002
11003     case $cc_basename in
11004     nvcc*) # Cuda Compiler Driver 2.2
11005       lt_prog_compiler_wl='-Xlinker '
11006       if test -n "$lt_prog_compiler_pic"; then
11007         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11008       fi
11009       ;;
11010     esac
11011   else
11012     # PORTME Check for flag to pass linker flags through the system compiler.
11013     case $host_os in
11014     aix*)
11015       lt_prog_compiler_wl='-Wl,'
11016       if test "$host_cpu" = ia64; then
11017         # AIX 5 now supports IA64 processor
11018         lt_prog_compiler_static='-Bstatic'
11019       else
11020         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11021       fi
11022       ;;
11023
11024     mingw* | cygwin* | pw32* | os2* | cegcc*)
11025       # This hack is so that the source file can tell whether it is being
11026       # built for inclusion in a dll (and should export symbols for example).
11027       lt_prog_compiler_pic='-DDLL_EXPORT'
11028       ;;
11029
11030     hpux9* | hpux10* | hpux11*)
11031       lt_prog_compiler_wl='-Wl,'
11032       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11033       # not for PA HP-UX.
11034       case $host_cpu in
11035       hppa*64*|ia64*)
11036         # +Z the default
11037         ;;
11038       *)
11039         lt_prog_compiler_pic='+Z'
11040         ;;
11041       esac
11042       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11043       lt_prog_compiler_static='${wl}-a ${wl}archive'
11044       ;;
11045
11046     irix5* | irix6* | nonstopux*)
11047       lt_prog_compiler_wl='-Wl,'
11048       # PIC (with -KPIC) is the default.
11049       lt_prog_compiler_static='-non_shared'
11050       ;;
11051
11052     linux* | k*bsd*-gnu | kopensolaris*-gnu)
11053       case $cc_basename in
11054       # old Intel for x86_64 which still supported -KPIC.
11055       ecc*)
11056         lt_prog_compiler_wl='-Wl,'
11057         lt_prog_compiler_pic='-KPIC'
11058         lt_prog_compiler_static='-static'
11059         ;;
11060       # icc used to be incompatible with GCC.
11061       # ICC 10 doesn't accept -KPIC any more.
11062       icc* | ifort*)
11063         lt_prog_compiler_wl='-Wl,'
11064         lt_prog_compiler_pic='-fPIC'
11065         lt_prog_compiler_static='-static'
11066         ;;
11067       # Lahey Fortran 8.1.
11068       lf95*)
11069         lt_prog_compiler_wl='-Wl,'
11070         lt_prog_compiler_pic='--shared'
11071         lt_prog_compiler_static='--static'
11072         ;;
11073       nagfor*)
11074         # NAG Fortran compiler
11075         lt_prog_compiler_wl='-Wl,-Wl,,'
11076         lt_prog_compiler_pic='-PIC'
11077         lt_prog_compiler_static='-Bstatic'
11078         ;;
11079       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11080         # Portland Group compilers (*not* the Pentium gcc compiler,
11081         # which looks to be a dead project)
11082         lt_prog_compiler_wl='-Wl,'
11083         lt_prog_compiler_pic='-fpic'
11084         lt_prog_compiler_static='-Bstatic'
11085         ;;
11086       ccc*)
11087         lt_prog_compiler_wl='-Wl,'
11088         # All Alpha code is PIC.
11089         lt_prog_compiler_static='-non_shared'
11090         ;;
11091       xl* | bgxl* | bgf* | mpixl*)
11092         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11093         lt_prog_compiler_wl='-Wl,'
11094         lt_prog_compiler_pic='-qpic'
11095         lt_prog_compiler_static='-qstaticlink'
11096         ;;
11097       *)
11098         case `$CC -V 2>&1 | sed 5q` in
11099         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11100           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11101           lt_prog_compiler_pic='-KPIC'
11102           lt_prog_compiler_static='-Bstatic'
11103           lt_prog_compiler_wl=''
11104           ;;
11105         *Sun\ F* | *Sun*Fortran*)
11106           lt_prog_compiler_pic='-KPIC'
11107           lt_prog_compiler_static='-Bstatic'
11108           lt_prog_compiler_wl='-Qoption ld '
11109           ;;
11110         *Sun\ C*)
11111           # Sun C 5.9
11112           lt_prog_compiler_pic='-KPIC'
11113           lt_prog_compiler_static='-Bstatic'
11114           lt_prog_compiler_wl='-Wl,'
11115           ;;
11116         *Intel*\ [CF]*Compiler*)
11117           lt_prog_compiler_wl='-Wl,'
11118           lt_prog_compiler_pic='-fPIC'
11119           lt_prog_compiler_static='-static'
11120           ;;
11121         *Portland\ Group*)
11122           lt_prog_compiler_wl='-Wl,'
11123           lt_prog_compiler_pic='-fpic'
11124           lt_prog_compiler_static='-Bstatic'
11125           ;;
11126         esac
11127         ;;
11128       esac
11129       ;;
11130
11131     newsos6)
11132       lt_prog_compiler_pic='-KPIC'
11133       lt_prog_compiler_static='-Bstatic'
11134       ;;
11135
11136     *nto* | *qnx*)
11137       # QNX uses GNU C++, but need to define -shared option too, otherwise
11138       # it will coredump.
11139       lt_prog_compiler_pic='-fPIC -shared'
11140       ;;
11141
11142     osf3* | osf4* | osf5*)
11143       lt_prog_compiler_wl='-Wl,'
11144       # All OSF/1 code is PIC.
11145       lt_prog_compiler_static='-non_shared'
11146       ;;
11147
11148     rdos*)
11149       lt_prog_compiler_static='-non_shared'
11150       ;;
11151
11152     solaris*)
11153       lt_prog_compiler_pic='-KPIC'
11154       lt_prog_compiler_static='-Bstatic'
11155       case $cc_basename in
11156       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11157         lt_prog_compiler_wl='-Qoption ld ';;
11158       *)
11159         lt_prog_compiler_wl='-Wl,';;
11160       esac
11161       ;;
11162
11163     sunos4*)
11164       lt_prog_compiler_wl='-Qoption ld '
11165       lt_prog_compiler_pic='-PIC'
11166       lt_prog_compiler_static='-Bstatic'
11167       ;;
11168
11169     sysv4 | sysv4.2uw2* | sysv4.3*)
11170       lt_prog_compiler_wl='-Wl,'
11171       lt_prog_compiler_pic='-KPIC'
11172       lt_prog_compiler_static='-Bstatic'
11173       ;;
11174
11175     sysv4*MP*)
11176       if test -d /usr/nec ;then
11177         lt_prog_compiler_pic='-Kconform_pic'
11178         lt_prog_compiler_static='-Bstatic'
11179       fi
11180       ;;
11181
11182     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11183       lt_prog_compiler_wl='-Wl,'
11184       lt_prog_compiler_pic='-KPIC'
11185       lt_prog_compiler_static='-Bstatic'
11186       ;;
11187
11188     unicos*)
11189       lt_prog_compiler_wl='-Wl,'
11190       lt_prog_compiler_can_build_shared=no
11191       ;;
11192
11193     uts4*)
11194       lt_prog_compiler_pic='-pic'
11195       lt_prog_compiler_static='-Bstatic'
11196       ;;
11197
11198     *)
11199       lt_prog_compiler_can_build_shared=no
11200       ;;
11201     esac
11202   fi
11203
11204 case $host_os in
11205   # For platforms which do not support PIC, -DPIC is meaningless:
11206   *djgpp*)
11207     lt_prog_compiler_pic=
11208     ;;
11209   *)
11210     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
11211     ;;
11212 esac
11213
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11215 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11216 if ${lt_cv_prog_compiler_pic+:} false; then :
11217   $as_echo_n "(cached) " >&6
11218 else
11219   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11220 fi
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11222 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11223 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11224
11225 #
11226 # Check to make sure the PIC flag actually works.
11227 #
11228 if test -n "$lt_prog_compiler_pic"; then
11229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11230 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11231 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11232   $as_echo_n "(cached) " >&6
11233 else
11234   lt_cv_prog_compiler_pic_works=no
11235    ac_outfile=conftest.$ac_objext
11236    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11237    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
11238    # Insert the option either (1) after the last *FLAGS variable, or
11239    # (2) before a word containing "conftest.", or (3) at the end.
11240    # Note that $ac_compile itself does not contain backslashes and begins
11241    # with a dollar sign (not a hyphen), so the echo should work correctly.
11242    # The option is referenced via a variable to avoid confusing sed.
11243    lt_compile=`echo "$ac_compile" | $SED \
11244    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11245    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11246    -e 's:$: $lt_compiler_flag:'`
11247    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11248    (eval "$lt_compile" 2>conftest.err)
11249    ac_status=$?
11250    cat conftest.err >&5
11251    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252    if (exit $ac_status) && test -s "$ac_outfile"; then
11253      # The compiler can only warn and ignore the option if not recognized
11254      # So say no if there are warnings other than the usual output.
11255      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11256      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11257      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11258        lt_cv_prog_compiler_pic_works=yes
11259      fi
11260    fi
11261    $RM conftest*
11262
11263 fi
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11265 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11266
11267 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11268     case $lt_prog_compiler_pic in
11269      "" | " "*) ;;
11270      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11271      esac
11272 else
11273     lt_prog_compiler_pic=
11274      lt_prog_compiler_can_build_shared=no
11275 fi
11276
11277 fi
11278
11279     
11280     
11281     
11282
11283
11284
11285     
11286     
11287     
11288
11289 #
11290 # Check to make sure the static flag actually works.
11291 #
11292 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11294 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11295 if ${lt_cv_prog_compiler_static_works+:} false; then :
11296   $as_echo_n "(cached) " >&6
11297 else
11298   lt_cv_prog_compiler_static_works=no
11299    save_LDFLAGS="$LDFLAGS"
11300    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11301    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11302    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11303      # The linker can only warn and ignore the option if not recognized
11304      # So say no if there are warnings
11305      if test -s conftest.err; then
11306        # Append any errors to the config.log.
11307        cat conftest.err 1>&5
11308        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11309        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11310        if diff conftest.exp conftest.er2 >/dev/null; then
11311          lt_cv_prog_compiler_static_works=yes
11312        fi
11313      else
11314        lt_cv_prog_compiler_static_works=yes
11315      fi
11316    fi
11317    $RM -r conftest*
11318    LDFLAGS="$save_LDFLAGS"
11319
11320 fi
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11322 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11323
11324 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11325     :
11326 else
11327     lt_prog_compiler_static=
11328 fi
11329
11330
11331     
11332     
11333     
11334
11335
11336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11338 if ${lt_cv_prog_compiler_c_o+:} false; then :
11339   $as_echo_n "(cached) " >&6
11340 else
11341   lt_cv_prog_compiler_c_o=no
11342    $RM -r conftest 2>/dev/null
11343    mkdir conftest
11344    cd conftest
11345    mkdir out
11346    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11347
11348    lt_compiler_flag="-o out/conftest2.$ac_objext"
11349    # Insert the option either (1) after the last *FLAGS variable, or
11350    # (2) before a word containing "conftest.", or (3) at the end.
11351    # Note that $ac_compile itself does not contain backslashes and begins
11352    # with a dollar sign (not a hyphen), so the echo should work correctly.
11353    lt_compile=`echo "$ac_compile" | $SED \
11354    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11355    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11356    -e 's:$: $lt_compiler_flag:'`
11357    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11358    (eval "$lt_compile" 2>out/conftest.err)
11359    ac_status=$?
11360    cat out/conftest.err >&5
11361    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11363    then
11364      # The compiler can only warn and ignore the option if not recognized
11365      # So say no if there are warnings
11366      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11367      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11368      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11369        lt_cv_prog_compiler_c_o=yes
11370      fi
11371    fi
11372    chmod u+w . 2>&5
11373    $RM conftest*
11374    # SGI C++ compiler will create directory out/ii_files/ for
11375    # template instantiation
11376    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11377    $RM out/* && rmdir out
11378    cd ..
11379    $RM -r conftest
11380    $RM conftest*
11381
11382 fi
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11384 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11385
11386     
11387     
11388     
11389
11390
11391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11392 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11393 if ${lt_cv_prog_compiler_c_o+:} false; then :
11394   $as_echo_n "(cached) " >&6
11395 else
11396   lt_cv_prog_compiler_c_o=no
11397    $RM -r conftest 2>/dev/null
11398    mkdir conftest
11399    cd conftest
11400    mkdir out
11401    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11402
11403    lt_compiler_flag="-o out/conftest2.$ac_objext"
11404    # Insert the option either (1) after the last *FLAGS variable, or
11405    # (2) before a word containing "conftest.", or (3) at the end.
11406    # Note that $ac_compile itself does not contain backslashes and begins
11407    # with a dollar sign (not a hyphen), so the echo should work correctly.
11408    lt_compile=`echo "$ac_compile" | $SED \
11409    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11410    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11411    -e 's:$: $lt_compiler_flag:'`
11412    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11413    (eval "$lt_compile" 2>out/conftest.err)
11414    ac_status=$?
11415    cat out/conftest.err >&5
11416    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11418    then
11419      # The compiler can only warn and ignore the option if not recognized
11420      # So say no if there are warnings
11421      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11422      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11423      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11424        lt_cv_prog_compiler_c_o=yes
11425      fi
11426    fi
11427    chmod u+w . 2>&5
11428    $RM conftest*
11429    # SGI C++ compiler will create directory out/ii_files/ for
11430    # template instantiation
11431    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11432    $RM out/* && rmdir out
11433    cd ..
11434    $RM -r conftest
11435    $RM conftest*
11436
11437 fi
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11439 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11440
11441
11442
11443
11444 hard_links="nottested"
11445 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11446   # do not overwrite the value of need_locks provided by the user
11447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11448 $as_echo_n "checking if we can lock with hard links... " >&6; }
11449   hard_links=yes
11450   $RM conftest*
11451   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11452   touch conftest.a
11453   ln conftest.a conftest.b 2>&5 || hard_links=no
11454   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11456 $as_echo "$hard_links" >&6; }
11457   if test "$hard_links" = no; then
11458     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11459 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11460     need_locks=warn
11461   fi
11462 else
11463   need_locks=no
11464 fi
11465
11466     
11467     
11468     
11469
11470
11471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11472 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11473
11474   runpath_var=
11475   allow_undefined_flag=
11476   always_export_symbols=no
11477   archive_cmds=
11478   archive_expsym_cmds=
11479   compiler_needs_object=no
11480   enable_shared_with_static_runtimes=no
11481   export_dynamic_flag_spec=
11482   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11483   hardcode_automatic=no
11484   hardcode_direct=no
11485   hardcode_direct_absolute=no
11486   hardcode_libdir_flag_spec=
11487   hardcode_libdir_separator=
11488   hardcode_minus_L=no
11489   hardcode_shlibpath_var=unsupported
11490   inherit_rpath=no
11491   link_all_deplibs=unknown
11492   module_cmds=
11493   module_expsym_cmds=
11494   old_archive_from_new_cmds=
11495   old_archive_from_expsyms_cmds=
11496   thread_safe_flag_spec=
11497   whole_archive_flag_spec=
11498   # include_expsyms should be a list of space-separated symbols to be *always*
11499   # included in the symbol list
11500   include_expsyms=
11501   # exclude_expsyms can be an extended regexp of symbols to exclude
11502   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11503   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11504   # as well as any symbol that contains `d'.
11505   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11506   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11507   # platforms (ab)use it in PIC code, but their linkers get confused if
11508   # the symbol is explicitly referenced.  Since portable code cannot
11509   # rely on this symbol name, it's probably fine to never include it in
11510   # preloaded symbol tables.
11511   # Exclude shared library initialization/finalization symbols.
11512   extract_expsyms_cmds=
11513
11514   case $host_os in
11515   cygwin* | mingw* | pw32* | cegcc*)
11516     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11517     # When not using gcc, we currently assume that we are using
11518     # Microsoft Visual C++.
11519     if test "$GCC" != yes; then
11520       with_gnu_ld=no
11521     fi
11522     ;;
11523   interix*)
11524     # we just hope/assume this is gcc and not c89 (= MSVC++)
11525     with_gnu_ld=yes
11526     ;;
11527   openbsd*)
11528     with_gnu_ld=no
11529     ;;
11530   linux* | k*bsd*-gnu | gnu*)
11531     link_all_deplibs=no
11532     ;;
11533   esac
11534
11535   ld_shlibs=yes
11536
11537   # On some targets, GNU ld is compatible enough with the native linker
11538   # that we're better off using the native interface for both.
11539   lt_use_gnu_ld_interface=no
11540   if test "$with_gnu_ld" = yes; then
11541     case $host_os in
11542       aix*)
11543         # The AIX port of GNU ld has always aspired to compatibility
11544         # with the native linker.  However, as the warning in the GNU ld
11545         # block says, versions before 2.19.5* couldn't really create working
11546         # shared libraries, regardless of the interface used.
11547         case `$LD -v 2>&1` in
11548           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11549           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11550           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11551           *)
11552             lt_use_gnu_ld_interface=yes
11553             ;;
11554         esac
11555         ;;
11556       *)
11557         lt_use_gnu_ld_interface=yes
11558         ;;
11559     esac
11560   fi
11561
11562   if test "$lt_use_gnu_ld_interface" = yes; then
11563     # If archive_cmds runs LD, not CC, wlarc should be empty
11564     wlarc='${wl}'
11565
11566     # Set some defaults for GNU ld with shared library support. These
11567     # are reset later if shared libraries are not supported. Putting them
11568     # here allows them to be overridden if necessary.
11569     runpath_var=LD_RUN_PATH
11570     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11571     export_dynamic_flag_spec='${wl}--export-dynamic'
11572     # ancient GNU ld didn't support --whole-archive et. al.
11573     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11574       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11575     else
11576       whole_archive_flag_spec=
11577     fi
11578     supports_anon_versioning=no
11579     case `$LD -v 2>&1` in
11580       *GNU\ gold*) supports_anon_versioning=yes ;;
11581       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11582       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11583       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11584       *\ 2.11.*) ;; # other 2.11 versions
11585       *) supports_anon_versioning=yes ;;
11586     esac
11587
11588     # See if GNU ld supports shared libraries.
11589     case $host_os in
11590     aix[3-9]*)
11591       # On AIX/PPC, the GNU linker is very broken
11592       if test "$host_cpu" != ia64; then
11593         ld_shlibs=no
11594         cat <<_LT_EOF 1>&2
11595
11596 *** Warning: the GNU linker, at least up to release 2.19, is reported
11597 *** to be unable to reliably create shared libraries on AIX.
11598 *** Therefore, libtool is disabling shared libraries support.  If you
11599 *** really care for shared libraries, you may want to install binutils
11600 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11601 *** You will then need to restart the configuration process.
11602
11603 _LT_EOF
11604       fi
11605       ;;
11606
11607     amigaos*)
11608       case $host_cpu in
11609       powerpc)
11610             # see comment about AmigaOS4 .so support
11611             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11612             archive_expsym_cmds=''
11613         ;;
11614       m68k)
11615             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)'
11616             hardcode_libdir_flag_spec='-L$libdir'
11617             hardcode_minus_L=yes
11618         ;;
11619       esac
11620       ;;
11621
11622     beos*)
11623       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11624         allow_undefined_flag=unsupported
11625         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11626         # support --undefined.  This deserves some investigation.  FIXME
11627         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11628       else
11629         ld_shlibs=no
11630       fi
11631       ;;
11632
11633     cygwin* | mingw* | pw32* | cegcc*)
11634       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11635       # as there is no search path for DLLs.
11636       hardcode_libdir_flag_spec='-L$libdir'
11637       export_dynamic_flag_spec='${wl}--export-all-symbols'
11638       allow_undefined_flag=unsupported
11639       always_export_symbols=no
11640       enable_shared_with_static_runtimes=yes
11641       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'
11642       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11643
11644       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11645         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11646         # If the export-symbols file already is a .def file (1st line
11647         # is EXPORTS), use it as is; otherwise, prepend...
11648         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11649           cp $export_symbols $output_objdir/$soname.def;
11650         else
11651           echo EXPORTS > $output_objdir/$soname.def;
11652           cat $export_symbols >> $output_objdir/$soname.def;
11653         fi~
11654         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11655       else
11656         ld_shlibs=no
11657       fi
11658       ;;
11659
11660     haiku*)
11661       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11662       link_all_deplibs=yes
11663       ;;
11664
11665     interix[3-9]*)
11666       hardcode_direct=no
11667       hardcode_shlibpath_var=no
11668       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11669       export_dynamic_flag_spec='${wl}-E'
11670       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11671       # Instead, shared libraries are loaded at an image base (0x10000000 by
11672       # default) and relocated if they conflict, which is a slow very memory
11673       # consuming and fragmenting process.  To avoid this, we pick a random,
11674       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11675       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11676       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11677       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'
11678       ;;
11679
11680     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11681       tmp_diet=no
11682       if test "$host_os" = linux-dietlibc; then
11683         case $cc_basename in
11684           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11685         esac
11686       fi
11687       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11688          && test "$tmp_diet" = no
11689       then
11690         tmp_addflag=' $pic_flag'
11691         tmp_sharedflag='-shared'
11692         case $cc_basename,$host_cpu in
11693         pgcc*)                          # Portland Group C compiler
11694           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'
11695           tmp_addflag=' $pic_flag'
11696           ;;
11697         pgf77* | pgf90* | pgf95* | pgfortran*)
11698                                         # Portland Group f77 and f90 compilers
11699           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'
11700           tmp_addflag=' $pic_flag -Mnomain' ;;
11701         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11702           tmp_addflag=' -i_dynamic' ;;
11703         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11704           tmp_addflag=' -i_dynamic -nofor_main' ;;
11705         ifc* | ifort*)                  # Intel Fortran compiler
11706           tmp_addflag=' -nofor_main' ;;
11707         lf95*)                          # Lahey Fortran 8.1
11708           whole_archive_flag_spec=
11709           tmp_sharedflag='--shared' ;;
11710         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11711           tmp_sharedflag='-qmkshrobj'
11712           tmp_addflag= ;;
11713         nvcc*)  # Cuda Compiler Driver 2.2
11714           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'
11715           compiler_needs_object=yes
11716           ;;
11717         esac
11718         case `$CC -V 2>&1 | sed 5q` in
11719         *Sun\ C*)                       # Sun C 5.9
11720           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'
11721           compiler_needs_object=yes
11722           tmp_sharedflag='-G' ;;
11723         *Sun\ F*)                       # Sun Fortran 8.3
11724           tmp_sharedflag='-G' ;;
11725         esac
11726         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11727
11728         if test "x$supports_anon_versioning" = xyes; then
11729           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11730             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11731             echo "local: *; };" >> $output_objdir/$libname.ver~
11732             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11733         fi
11734
11735         case $cc_basename in
11736         xlf* | bgf* | bgxlf* | mpixlf*)
11737           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11738           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11739           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11740           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11741           if test "x$supports_anon_versioning" = xyes; then
11742             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11743               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11744               echo "local: *; };" >> $output_objdir/$libname.ver~
11745               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11746           fi
11747           ;;
11748         esac
11749       else
11750         ld_shlibs=no
11751       fi
11752       ;;
11753
11754     netbsd* | netbsdelf*-gnu)
11755       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11756         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11757         wlarc=
11758       else
11759         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11760         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11761       fi
11762       ;;
11763
11764     solaris*)
11765       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11766         ld_shlibs=no
11767         cat <<_LT_EOF 1>&2
11768
11769 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11770 *** create shared libraries on Solaris systems.  Therefore, libtool
11771 *** is disabling shared libraries support.  We urge you to upgrade GNU
11772 *** binutils to release 2.9.1 or newer.  Another option is to modify
11773 *** your PATH or compiler configuration so that the native linker is
11774 *** used, and then restart.
11775
11776 _LT_EOF
11777       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11778         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11779         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11780       else
11781         ld_shlibs=no
11782       fi
11783       ;;
11784
11785     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11786       case `$LD -v 2>&1` in
11787         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11788         ld_shlibs=no
11789         cat <<_LT_EOF 1>&2
11790
11791 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11792 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11793 *** is disabling shared libraries support.  We urge you to upgrade GNU
11794 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11795 *** your PATH or compiler configuration so that the native linker is
11796 *** used, and then restart.
11797
11798 _LT_EOF
11799         ;;
11800         *)
11801           # For security reasons, it is highly recommended that you always
11802           # use absolute paths for naming shared libraries, and exclude the
11803           # DT_RUNPATH tag from executables and libraries.  But doing so
11804           # requires that you compile everything twice, which is a pain.
11805           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11806             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11807             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11808             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11809           else
11810             ld_shlibs=no
11811           fi
11812         ;;
11813       esac
11814       ;;
11815
11816     sunos4*)
11817       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11818       wlarc=
11819       hardcode_direct=yes
11820       hardcode_shlibpath_var=no
11821       ;;
11822
11823     *)
11824       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11825         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11826         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11827       else
11828         ld_shlibs=no
11829       fi
11830       ;;
11831     esac
11832
11833     if test "$ld_shlibs" = no; then
11834       runpath_var=
11835       hardcode_libdir_flag_spec=
11836       export_dynamic_flag_spec=
11837       whole_archive_flag_spec=
11838     fi
11839   else
11840     # PORTME fill in a description of your system's linker (not GNU ld)
11841     case $host_os in
11842     aix3*)
11843       allow_undefined_flag=unsupported
11844       always_export_symbols=yes
11845       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'
11846       # Note: this linker hardcodes the directories in LIBPATH if there
11847       # are no directories specified by -L.
11848       hardcode_minus_L=yes
11849       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11850         # Neither direct hardcoding nor static linking is supported with a
11851         # broken collect2.
11852         hardcode_direct=unsupported
11853       fi
11854       ;;
11855
11856     aix[4-9]*)
11857       if test "$host_cpu" = ia64; then
11858         # On IA64, the linker does run time linking by default, so we don't
11859         # have to do anything special.
11860         aix_use_runtimelinking=no
11861         exp_sym_flag='-Bexport'
11862         no_entry_flag=""
11863       else
11864         # If we're using GNU nm, then we don't want the "-C" option.
11865         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11866         # Also, AIX nm treats weak defined symbols like other global
11867         # defined symbols, whereas GNU nm marks them as "W".
11868         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11869           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'
11870         else
11871           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'
11872         fi
11873         aix_use_runtimelinking=no
11874
11875         # Test if we are trying to use run time linking or normal
11876         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11877         # need to do runtime linking.
11878         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11879           for ld_flag in $LDFLAGS; do
11880           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11881             aix_use_runtimelinking=yes
11882             break
11883           fi
11884           done
11885           ;;
11886         esac
11887
11888         exp_sym_flag='-bexport'
11889         no_entry_flag='-bnoentry'
11890       fi
11891
11892       # When large executables or shared objects are built, AIX ld can
11893       # have problems creating the table of contents.  If linking a library
11894       # or program results in "error TOC overflow" add -mminimal-toc to
11895       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11896       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11897
11898       archive_cmds=''
11899       hardcode_direct=yes
11900       hardcode_direct_absolute=yes
11901       hardcode_libdir_separator=':'
11902       link_all_deplibs=yes
11903       file_list_spec='${wl}-f,'
11904
11905       if test "$GCC" = yes; then
11906         case $host_os in aix4.[012]|aix4.[012].*)
11907         # We only want to do this on AIX 4.2 and lower, the check
11908         # below for broken collect2 doesn't work under 4.3+
11909           collect2name=`${CC} -print-prog-name=collect2`
11910           if test -f "$collect2name" &&
11911            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11912           then
11913           # We have reworked collect2
11914           :
11915           else
11916           # We have old collect2
11917           hardcode_direct=unsupported
11918           # It fails to find uninstalled libraries when the uninstalled
11919           # path is not listed in the libpath.  Setting hardcode_minus_L
11920           # to unsupported forces relinking
11921           hardcode_minus_L=yes
11922           hardcode_libdir_flag_spec='-L$libdir'
11923           hardcode_libdir_separator=
11924           fi
11925           ;;
11926         esac
11927         shared_flag='-shared'
11928         if test "$aix_use_runtimelinking" = yes; then
11929           shared_flag="$shared_flag "'${wl}-G'
11930         fi
11931         link_all_deplibs=no
11932       else
11933         # not using gcc
11934         if test "$host_cpu" = ia64; then
11935         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11936         # chokes on -Wl,-G. The following line is correct:
11937           shared_flag='-G'
11938         else
11939           if test "$aix_use_runtimelinking" = yes; then
11940             shared_flag='${wl}-G'
11941           else
11942             shared_flag='${wl}-bM:SRE'
11943           fi
11944         fi
11945       fi
11946
11947       export_dynamic_flag_spec='${wl}-bexpall'
11948       # It seems that -bexpall does not export symbols beginning with
11949       # underscore (_), so it is better to generate a list of symbols to export.
11950       always_export_symbols=yes
11951       if test "$aix_use_runtimelinking" = yes; then
11952         # Warning - without using the other runtime loading flags (-brtl),
11953         # -berok will link without error, but may produce a broken library.
11954         allow_undefined_flag='-berok'
11955         # Determine the default libpath from the value encoded in an
11956         # empty executable.
11957         if test "${lt_cv_aix_libpath+set}" = set; then
11958   aix_libpath=$lt_cv_aix_libpath
11959 else
11960   if ${lt_cv_aix_libpath_+:} false; then :
11961   $as_echo_n "(cached) " >&6
11962 else
11963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h.  */
11965
11966 int
11967 main ()
11968 {
11969
11970   ;
11971   return 0;
11972 }
11973 _ACEOF
11974 if ac_fn_c_try_link "$LINENO"; then :
11975   
11976   lt_aix_libpath_sed='
11977       /Import File Strings/,/^$/ {
11978           /^0/ {
11979               s/^0  *\([^ ]*\) *$/\1/
11980               p
11981           }
11982       }'
11983   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11984   # Check for a 64-bit object if we didn't find anything.
11985   if test -z "$lt_cv_aix_libpath_"; then
11986     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11987   fi
11988 fi
11989 rm -f core conftest.err conftest.$ac_objext \
11990     conftest$ac_exeext conftest.$ac_ext
11991   if test -z "$lt_cv_aix_libpath_"; then
11992     lt_cv_aix_libpath_="/usr/lib:/lib"
11993   fi
11994   
11995 fi
11996
11997   aix_libpath=$lt_cv_aix_libpath_
11998 fi
11999
12000         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12001         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"
12002       else
12003         if test "$host_cpu" = ia64; then
12004           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12005           allow_undefined_flag="-z nodefs"
12006           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"
12007         else
12008          # Determine the default libpath from the value encoded in an
12009          # empty executable.
12010          if test "${lt_cv_aix_libpath+set}" = set; then
12011   aix_libpath=$lt_cv_aix_libpath
12012 else
12013   if ${lt_cv_aix_libpath_+:} false; then :
12014   $as_echo_n "(cached) " >&6
12015 else
12016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h.  */
12018
12019 int
12020 main ()
12021 {
12022
12023   ;
12024   return 0;
12025 }
12026 _ACEOF
12027 if ac_fn_c_try_link "$LINENO"; then :
12028   
12029   lt_aix_libpath_sed='
12030       /Import File Strings/,/^$/ {
12031           /^0/ {
12032               s/^0  *\([^ ]*\) *$/\1/
12033               p
12034           }
12035       }'
12036   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12037   # Check for a 64-bit object if we didn't find anything.
12038   if test -z "$lt_cv_aix_libpath_"; then
12039     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12040   fi
12041 fi
12042 rm -f core conftest.err conftest.$ac_objext \
12043     conftest$ac_exeext conftest.$ac_ext
12044   if test -z "$lt_cv_aix_libpath_"; then
12045     lt_cv_aix_libpath_="/usr/lib:/lib"
12046   fi
12047   
12048 fi
12049
12050   aix_libpath=$lt_cv_aix_libpath_
12051 fi
12052
12053          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12054           # Warning - without using the other run time loading flags,
12055           # -berok will link without error, but may produce a broken library.
12056           no_undefined_flag=' ${wl}-bernotok'
12057           allow_undefined_flag=' ${wl}-berok'
12058           if test "$with_gnu_ld" = yes; then
12059             # We only use this code for GNU lds that support --whole-archive.
12060             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12061           else
12062             # Exported symbols can be pulled into shared objects from archives
12063             whole_archive_flag_spec='$convenience'
12064           fi
12065           archive_cmds_need_lc=yes
12066           # This is similar to how AIX traditionally builds its shared libraries.
12067           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'
12068         fi
12069       fi
12070       ;;
12071
12072     amigaos*)
12073       case $host_cpu in
12074       powerpc)
12075             # see comment about AmigaOS4 .so support
12076             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12077             archive_expsym_cmds=''
12078         ;;
12079       m68k)
12080             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)'
12081             hardcode_libdir_flag_spec='-L$libdir'
12082             hardcode_minus_L=yes
12083         ;;
12084       esac
12085       ;;
12086
12087     bsdi[45]*)
12088       export_dynamic_flag_spec=-rdynamic
12089       ;;
12090
12091     cygwin* | mingw* | pw32* | cegcc*)
12092       # When not using gcc, we currently assume that we are using
12093       # Microsoft Visual C++.
12094       # hardcode_libdir_flag_spec is actually meaningless, as there is
12095       # no search path for DLLs.
12096       case $cc_basename in
12097       cl*)
12098         # Native MSVC
12099         hardcode_libdir_flag_spec=' '
12100         allow_undefined_flag=unsupported
12101         always_export_symbols=yes
12102         file_list_spec='@'
12103         # Tell ltmain to make .lib files, not .a files.
12104         libext=lib
12105         # Tell ltmain to make .dll files, not .so files.
12106         shrext_cmds=".dll"
12107         # FIXME: Setting linknames here is a bad hack.
12108         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12109         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12110             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12111           else
12112             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12113           fi~
12114           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12115           linknames='
12116         # The linker will not automatically build a static lib if we build a DLL.
12117         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12118         enable_shared_with_static_runtimes=yes
12119         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12120         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12121         # Don't use ranlib
12122         old_postinstall_cmds='chmod 644 $oldlib'
12123         postlink_cmds='lt_outputfile="@OUTPUT@"~
12124           lt_tool_outputfile="@TOOL_OUTPUT@"~
12125           case $lt_outputfile in
12126             *.exe|*.EXE) ;;
12127             *)
12128               lt_outputfile="$lt_outputfile.exe"
12129               lt_tool_outputfile="$lt_tool_outputfile.exe"
12130               ;;
12131           esac~
12132           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12133             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12134             $RM "$lt_outputfile.manifest";
12135           fi'
12136         ;;
12137       *)
12138         # Assume MSVC wrapper
12139         hardcode_libdir_flag_spec=' '
12140         allow_undefined_flag=unsupported
12141         # Tell ltmain to make .lib files, not .a files.
12142         libext=lib
12143         # Tell ltmain to make .dll files, not .so files.
12144         shrext_cmds=".dll"
12145         # FIXME: Setting linknames here is a bad hack.
12146         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12147         # The linker will automatically build a .lib file if we build a DLL.
12148         old_archive_from_new_cmds='true'
12149         # FIXME: Should let the user specify the lib program.
12150         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12151         enable_shared_with_static_runtimes=yes
12152         ;;
12153       esac
12154       ;;
12155
12156     darwin* | rhapsody*)
12157       
12158   
12159   archive_cmds_need_lc=no
12160   hardcode_direct=no
12161   hardcode_automatic=yes
12162   hardcode_shlibpath_var=unsupported
12163   if test "$lt_cv_ld_force_load" = "yes"; then
12164     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\"`'
12165     
12166   else
12167     whole_archive_flag_spec=''
12168   fi
12169   link_all_deplibs=yes
12170   allow_undefined_flag="$_lt_dar_allow_undefined"
12171   case $cc_basename in
12172      ifort*) _lt_dar_can_shared=yes ;;
12173      *) _lt_dar_can_shared=$GCC ;;
12174   esac
12175   if test "$_lt_dar_can_shared" = "yes"; then
12176     output_verbose_link_cmd=func_echo_all
12177     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12178     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12179     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}"
12180     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}"
12181     
12182   else
12183   ld_shlibs=no
12184   fi
12185
12186       ;;
12187
12188     dgux*)
12189       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12190       hardcode_libdir_flag_spec='-L$libdir'
12191       hardcode_shlibpath_var=no
12192       ;;
12193
12194     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12195     # support.  Future versions do this automatically, but an explicit c++rt0.o
12196     # does not break anything, and helps significantly (at the cost of a little
12197     # extra space).
12198     freebsd2.2*)
12199       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12200       hardcode_libdir_flag_spec='-R$libdir'
12201       hardcode_direct=yes
12202       hardcode_shlibpath_var=no
12203       ;;
12204
12205     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12206     freebsd2.*)
12207       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12208       hardcode_direct=yes
12209       hardcode_minus_L=yes
12210       hardcode_shlibpath_var=no
12211       ;;
12212
12213     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12214     freebsd* | dragonfly*)
12215       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12216       hardcode_libdir_flag_spec='-R$libdir'
12217       hardcode_direct=yes
12218       hardcode_shlibpath_var=no
12219       ;;
12220
12221     hpux9*)
12222       if test "$GCC" = yes; then
12223         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'
12224       else
12225         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'
12226       fi
12227       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12228       hardcode_libdir_separator=:
12229       hardcode_direct=yes
12230
12231       # hardcode_minus_L: Not really in the search PATH,
12232       # but as the default location of the library.
12233       hardcode_minus_L=yes
12234       export_dynamic_flag_spec='${wl}-E'
12235       ;;
12236
12237     hpux10*)
12238       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12239         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12240       else
12241         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12242       fi
12243       if test "$with_gnu_ld" = no; then
12244         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12245         hardcode_libdir_separator=:
12246         hardcode_direct=yes
12247         hardcode_direct_absolute=yes
12248         export_dynamic_flag_spec='${wl}-E'
12249         # hardcode_minus_L: Not really in the search PATH,
12250         # but as the default location of the library.
12251         hardcode_minus_L=yes
12252       fi
12253       ;;
12254
12255     hpux11*)
12256       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12257         case $host_cpu in
12258         hppa*64*)
12259           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12260           ;;
12261         ia64*)
12262           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12263           ;;
12264         *)
12265           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12266           ;;
12267         esac
12268       else
12269         case $host_cpu in
12270         hppa*64*)
12271           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12272           ;;
12273         ia64*)
12274           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12275           ;;
12276         *)
12277         
12278           # Older versions of the 11.00 compiler do not understand -b yet
12279           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12280           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12281 $as_echo_n "checking if $CC understands -b... " >&6; }
12282 if ${lt_cv_prog_compiler__b+:} false; then :
12283   $as_echo_n "(cached) " >&6
12284 else
12285   lt_cv_prog_compiler__b=no
12286    save_LDFLAGS="$LDFLAGS"
12287    LDFLAGS="$LDFLAGS -b"
12288    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12289    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12290      # The linker can only warn and ignore the option if not recognized
12291      # So say no if there are warnings
12292      if test -s conftest.err; then
12293        # Append any errors to the config.log.
12294        cat conftest.err 1>&5
12295        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12296        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12297        if diff conftest.exp conftest.er2 >/dev/null; then
12298          lt_cv_prog_compiler__b=yes
12299        fi
12300      else
12301        lt_cv_prog_compiler__b=yes
12302      fi
12303    fi
12304    $RM -r conftest*
12305    LDFLAGS="$save_LDFLAGS"
12306
12307 fi
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12309 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12310
12311 if test x"$lt_cv_prog_compiler__b" = xyes; then
12312     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12313 else
12314     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12315 fi
12316
12317           ;;
12318         esac
12319       fi
12320       if test "$with_gnu_ld" = no; then
12321         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12322         hardcode_libdir_separator=:
12323
12324         case $host_cpu in
12325         hppa*64*|ia64*)
12326           hardcode_direct=no
12327           hardcode_shlibpath_var=no
12328           ;;
12329         *)
12330           hardcode_direct=yes
12331           hardcode_direct_absolute=yes
12332           export_dynamic_flag_spec='${wl}-E'
12333
12334           # hardcode_minus_L: Not really in the search PATH,
12335           # but as the default location of the library.
12336           hardcode_minus_L=yes
12337           ;;
12338         esac
12339       fi
12340       ;;
12341
12342     irix5* | irix6* | nonstopux*)
12343       if test "$GCC" = yes; then
12344         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'
12345         # Try to use the -exported_symbol ld option, if it does not
12346         # work, assume that -exports_file does not work either and
12347         # implicitly export all symbols.
12348         # This should be the same for all languages, so no per-tag cache variable.
12349         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12350 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12351 if ${lt_cv_irix_exported_symbol+:} false; then :
12352   $as_echo_n "(cached) " >&6
12353 else
12354   save_LDFLAGS="$LDFLAGS"
12355            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12356            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h.  */
12358 int foo (void) { return 0; }
12359 _ACEOF
12360 if ac_fn_c_try_link "$LINENO"; then :
12361   lt_cv_irix_exported_symbol=yes
12362 else
12363   lt_cv_irix_exported_symbol=no
12364 fi
12365 rm -f core conftest.err conftest.$ac_objext \
12366     conftest$ac_exeext conftest.$ac_ext
12367            LDFLAGS="$save_LDFLAGS"
12368 fi
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12370 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12371         if test "$lt_cv_irix_exported_symbol" = yes; then
12372           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'
12373         fi
12374       else
12375         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'
12376         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'
12377       fi
12378       archive_cmds_need_lc='no'
12379       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12380       hardcode_libdir_separator=:
12381       inherit_rpath=yes
12382       link_all_deplibs=yes
12383       ;;
12384
12385     netbsd* | netbsdelf*-gnu)
12386       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12387         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12388       else
12389         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12390       fi
12391       hardcode_libdir_flag_spec='-R$libdir'
12392       hardcode_direct=yes
12393       hardcode_shlibpath_var=no
12394       ;;
12395
12396     newsos6)
12397       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12398       hardcode_direct=yes
12399       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12400       hardcode_libdir_separator=:
12401       hardcode_shlibpath_var=no
12402       ;;
12403
12404     *nto* | *qnx*)
12405       ;;
12406
12407     openbsd*)
12408       if test -f /usr/libexec/ld.so; then
12409         hardcode_direct=yes
12410         hardcode_shlibpath_var=no
12411         hardcode_direct_absolute=yes
12412         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12413           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12414           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12415           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12416           export_dynamic_flag_spec='${wl}-E'
12417         else
12418           case $host_os in
12419            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12420              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12421              hardcode_libdir_flag_spec='-R$libdir'
12422              ;;
12423            *)
12424              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12425              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12426              ;;
12427           esac
12428         fi
12429       else
12430         ld_shlibs=no
12431       fi
12432       ;;
12433
12434     os2*)
12435       hardcode_libdir_flag_spec='-L$libdir'
12436       hardcode_minus_L=yes
12437       allow_undefined_flag=unsupported
12438       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'
12439       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12440       ;;
12441
12442     osf3*)
12443       if test "$GCC" = yes; then
12444         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12445         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'
12446       else
12447         allow_undefined_flag=' -expect_unresolved \*'
12448         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'
12449       fi
12450       archive_cmds_need_lc='no'
12451       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12452       hardcode_libdir_separator=:
12453       ;;
12454
12455     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12456       if test "$GCC" = yes; then
12457         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12458         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'
12459         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12460       else
12461         allow_undefined_flag=' -expect_unresolved \*'
12462         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'
12463         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~
12464         $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'
12465
12466         # Both c and cxx compiler support -rpath directly
12467         hardcode_libdir_flag_spec='-rpath $libdir'
12468       fi
12469       archive_cmds_need_lc='no'
12470       hardcode_libdir_separator=:
12471       ;;
12472
12473     solaris*)
12474       no_undefined_flag=' -z defs'
12475       if test "$GCC" = yes; then
12476         wlarc='${wl}'
12477         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12478         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12479           $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'
12480       else
12481         case `$CC -V 2>&1` in
12482         *"Compilers 5.0"*)
12483           wlarc=''
12484           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12485           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12486           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12487           ;;
12488         *)
12489           wlarc='${wl}'
12490           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12491           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12492           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12493           ;;
12494         esac
12495       fi
12496       hardcode_libdir_flag_spec='-R$libdir'
12497       hardcode_shlibpath_var=no
12498       case $host_os in
12499       solaris2.[0-5] | solaris2.[0-5].*) ;;
12500       *)
12501         # The compiler driver will combine and reorder linker options,
12502         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12503         # but is careful enough not to reorder.
12504         # Supported since Solaris 2.6 (maybe 2.5.1?)
12505         if test "$GCC" = yes; then
12506           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12507         else
12508           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12509         fi
12510         ;;
12511       esac
12512       link_all_deplibs=yes
12513       ;;
12514
12515     sunos4*)
12516       if test "x$host_vendor" = xsequent; then
12517         # Use $CC to link under sequent, because it throws in some extra .o
12518         # files that make .init and .fini sections work.
12519         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12520       else
12521         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12522       fi
12523       hardcode_libdir_flag_spec='-L$libdir'
12524       hardcode_direct=yes
12525       hardcode_minus_L=yes
12526       hardcode_shlibpath_var=no
12527       ;;
12528
12529     sysv4)
12530       case $host_vendor in
12531         sni)
12532           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12533           hardcode_direct=yes # is this really true???
12534         ;;
12535         siemens)
12536           ## LD is ld it makes a PLAMLIB
12537           ## CC just makes a GrossModule.
12538           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12539           reload_cmds='$CC -r -o $output$reload_objs'
12540           hardcode_direct=no
12541         ;;
12542         motorola)
12543           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12544           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12545         ;;
12546       esac
12547       runpath_var='LD_RUN_PATH'
12548       hardcode_shlibpath_var=no
12549       ;;
12550
12551     sysv4.3*)
12552       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12553       hardcode_shlibpath_var=no
12554       export_dynamic_flag_spec='-Bexport'
12555       ;;
12556
12557     sysv4*MP*)
12558       if test -d /usr/nec; then
12559         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12560         hardcode_shlibpath_var=no
12561         runpath_var=LD_RUN_PATH
12562         hardcode_runpath_var=yes
12563         ld_shlibs=yes
12564       fi
12565       ;;
12566
12567     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12568       no_undefined_flag='${wl}-z,text'
12569       archive_cmds_need_lc=no
12570       hardcode_shlibpath_var=no
12571       runpath_var='LD_RUN_PATH'
12572
12573       if test "$GCC" = yes; then
12574         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12575         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12576       else
12577         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12578         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12579       fi
12580       ;;
12581
12582     sysv5* | sco3.2v5* | sco5v6*)
12583       # Note: We can NOT use -z defs as we might desire, because we do not
12584       # link with -lc, and that would cause any symbols used from libc to
12585       # always be unresolved, which means just about no library would
12586       # ever link correctly.  If we're not using GNU ld we use -z text
12587       # though, which does catch some bad symbols but isn't as heavy-handed
12588       # as -z defs.
12589       no_undefined_flag='${wl}-z,text'
12590       allow_undefined_flag='${wl}-z,nodefs'
12591       archive_cmds_need_lc=no
12592       hardcode_shlibpath_var=no
12593       hardcode_libdir_flag_spec='${wl}-R,$libdir'
12594       hardcode_libdir_separator=':'
12595       link_all_deplibs=yes
12596       export_dynamic_flag_spec='${wl}-Bexport'
12597       runpath_var='LD_RUN_PATH'
12598
12599       if test "$GCC" = yes; then
12600         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12601         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12602       else
12603         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12604         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12605       fi
12606       ;;
12607
12608     uts4*)
12609       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12610       hardcode_libdir_flag_spec='-L$libdir'
12611       hardcode_shlibpath_var=no
12612       ;;
12613
12614     *)
12615       ld_shlibs=no
12616       ;;
12617     esac
12618
12619     if test x$host_vendor = xsni; then
12620       case $host in
12621       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12622         export_dynamic_flag_spec='${wl}-Blargedynsym'
12623         ;;
12624       esac
12625     fi
12626   fi
12627
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12629 $as_echo "$ld_shlibs" >&6; }
12630 test "$ld_shlibs" = no && can_build_shared=no
12631
12632 with_gnu_ld=$with_gnu_ld
12633
12634
12635     
12636     
12637     
12638
12639     
12640     
12641     
12642
12643     
12644     
12645     
12646
12647
12648 #
12649 # Do we need to explicitly link libc?
12650 #
12651 case "x$archive_cmds_need_lc" in
12652 x|xyes)
12653   # Assume -lc should be added
12654   archive_cmds_need_lc=yes
12655
12656   if test "$enable_shared" = yes && test "$GCC" = yes; then
12657     case $archive_cmds in
12658     *'~'*)
12659       # FIXME: we may have to deal with multi-command sequences.
12660       ;;
12661     '$CC '*)
12662       # Test whether the compiler implicitly links with -lc since on some
12663       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12664       # to ld, don't add -lc before -lgcc.
12665       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12666 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12667 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12668   $as_echo_n "(cached) " >&6
12669 else
12670   $RM conftest*
12671         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12672
12673         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12674   (eval $ac_compile) 2>&5
12675   ac_status=$?
12676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677   test $ac_status = 0; } 2>conftest.err; then
12678           soname=conftest
12679           lib=conftest
12680           libobjs=conftest.$ac_objext
12681           deplibs=
12682           wl=$lt_prog_compiler_wl
12683           pic_flag=$lt_prog_compiler_pic
12684           compiler_flags=-v
12685           linker_flags=-v
12686           verstring=
12687           output_objdir=.
12688           libname=conftest
12689           lt_save_allow_undefined_flag=$allow_undefined_flag
12690           allow_undefined_flag=
12691           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12692   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12693   ac_status=$?
12694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12695   test $ac_status = 0; }
12696           then
12697             lt_cv_archive_cmds_need_lc=no
12698           else
12699             lt_cv_archive_cmds_need_lc=yes
12700           fi
12701           allow_undefined_flag=$lt_save_allow_undefined_flag
12702         else
12703           cat conftest.err 1>&5
12704         fi
12705         $RM conftest*
12706         
12707 fi
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12709 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12710       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12711       ;;
12712     esac
12713   fi
12714   ;;
12715 esac
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
12817
12818     
12819     
12820     
12821
12822
12823     
12824     
12825     
12826
12827
12828     
12829     
12830     
12831
12832
12833     
12834     
12835     
12836
12837
12838     
12839     
12840     
12841
12842
12843     
12844     
12845     
12846
12847
12848     
12849     
12850     
12851
12852
12853     
12854     
12855     
12856
12857
12858     
12859     
12860     
12861
12862
12863     
12864     
12865     
12866
12867
12868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12869 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12870
12871 if test "$GCC" = yes; then
12872   case $host_os in
12873     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12874     *) lt_awk_arg="/^libraries:/" ;;
12875   esac
12876   case $host_os in
12877     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12878     *) lt_sed_strip_eq="s,=/,/,g" ;;
12879   esac
12880   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12881   case $lt_search_path_spec in
12882   *\;*)
12883     # if the path contains ";" then we assume it to be the separator
12884     # otherwise default to the standard path separator (i.e. ":") - it is
12885     # assumed that no part of a normal pathname contains ";" but that should
12886     # okay in the real world where ";" in dirpaths is itself problematic.
12887     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12888     ;;
12889   *)
12890     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12891     ;;
12892   esac
12893   # Ok, now we have the path, separated by spaces, we can step through it
12894   # and add multilib dir if necessary.
12895   lt_tmp_lt_search_path_spec=
12896   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12897   for lt_sys_path in $lt_search_path_spec; do
12898     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12899       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12900     else
12901       test -d "$lt_sys_path" && \
12902         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12903     fi
12904   done
12905   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12906 BEGIN {RS=" "; FS="/|\n";} {
12907   lt_foo="";
12908   lt_count=0;
12909   for (lt_i = NF; lt_i > 0; lt_i--) {
12910     if ($lt_i != "" && $lt_i != ".") {
12911       if ($lt_i == "..") {
12912         lt_count++;
12913       } else {
12914         if (lt_count == 0) {
12915           lt_foo="/" $lt_i lt_foo;
12916         } else {
12917           lt_count--;
12918         }
12919       }
12920     }
12921   }
12922   if (lt_foo != "") { lt_freq[lt_foo]++; }
12923   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12924 }'`
12925   # AWK program above erroneously prepends '/' to C:/dos/paths
12926   # for these hosts.
12927   case $host_os in
12928     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12929       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12930   esac
12931   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12932 else
12933   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12934 fi
12935 library_names_spec=
12936 libname_spec='lib$name'
12937 soname_spec=
12938 shrext_cmds=".so"
12939 postinstall_cmds=
12940 postuninstall_cmds=
12941 finish_cmds=
12942 finish_eval=
12943 shlibpath_var=
12944 shlibpath_overrides_runpath=unknown
12945 version_type=none
12946 dynamic_linker="$host_os ld.so"
12947 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12948 need_lib_prefix=unknown
12949 hardcode_into_libs=no
12950
12951 # when you set need_version to no, make sure it does not cause -set_version
12952 # flags to be left without arguments
12953 need_version=unknown
12954
12955 case $host_os in
12956 aix3*)
12957   version_type=linux # correct to gnu/linux during the next big refactor
12958   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12959   shlibpath_var=LIBPATH
12960
12961   # AIX 3 has no versioning support, so we append a major version to the name.
12962   soname_spec='${libname}${release}${shared_ext}$major'
12963   ;;
12964
12965 aix[4-9]*)
12966   version_type=linux # correct to gnu/linux during the next big refactor
12967   need_lib_prefix=no
12968   need_version=no
12969   hardcode_into_libs=yes
12970   if test "$host_cpu" = ia64; then
12971     # AIX 5 supports IA64
12972     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12973     shlibpath_var=LD_LIBRARY_PATH
12974   else
12975     # With GCC up to 2.95.x, collect2 would create an import file
12976     # for dependence libraries.  The import file would start with
12977     # the line `#! .'.  This would cause the generated library to
12978     # depend on `.', always an invalid library.  This was fixed in
12979     # development snapshots of GCC prior to 3.0.
12980     case $host_os in
12981       aix4 | aix4.[01] | aix4.[01].*)
12982       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12983            echo ' yes '
12984            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12985         :
12986       else
12987         can_build_shared=no
12988       fi
12989       ;;
12990     esac
12991     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12992     # soname into executable. Probably we can add versioning support to
12993     # collect2, so additional links can be useful in future.
12994     if test "$aix_use_runtimelinking" = yes; then
12995       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12996       # instead of lib<name>.a to let people know that these are not
12997       # typical AIX shared libraries.
12998       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12999     else
13000       # We preserve .a as extension for shared libraries through AIX4.2
13001       # and later when we are not doing run time linking.
13002       library_names_spec='${libname}${release}.a $libname.a'
13003       soname_spec='${libname}${release}${shared_ext}$major'
13004     fi
13005     shlibpath_var=LIBPATH
13006   fi
13007   ;;
13008
13009 amigaos*)
13010   case $host_cpu in
13011   powerpc)
13012     # Since July 2007 AmigaOS4 officially supports .so libraries.
13013     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13014     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13015     ;;
13016   m68k)
13017     library_names_spec='$libname.ixlibrary $libname.a'
13018     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13019     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'
13020     ;;
13021   esac
13022   ;;
13023
13024 beos*)
13025   library_names_spec='${libname}${shared_ext}'
13026   dynamic_linker="$host_os ld.so"
13027   shlibpath_var=LIBRARY_PATH
13028   ;;
13029
13030 bsdi[45]*)
13031   version_type=linux # correct to gnu/linux during the next big refactor
13032   need_version=no
13033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13034   soname_spec='${libname}${release}${shared_ext}$major'
13035   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13036   shlibpath_var=LD_LIBRARY_PATH
13037   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13038   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13039   # the default ld.so.conf also contains /usr/contrib/lib and
13040   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13041   # libtool to hard-code these into programs
13042   ;;
13043
13044 cygwin* | mingw* | pw32* | cegcc*)
13045   version_type=windows
13046   shrext_cmds=".dll"
13047   need_version=no
13048   need_lib_prefix=no
13049
13050   case $GCC,$cc_basename in
13051   yes,*)
13052     # gcc
13053     library_names_spec='$libname.dll.a'
13054     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13055     postinstall_cmds='base_file=`basename \${file}`~
13056       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13057       dldir=$destdir/`dirname \$dlpath`~
13058       test -d \$dldir || mkdir -p \$dldir~
13059       $install_prog $dir/$dlname \$dldir/$dlname~
13060       chmod a+x \$dldir/$dlname~
13061       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13062         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13063       fi'
13064     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13065       dlpath=$dir/\$dldll~
13066        $RM \$dlpath'
13067     shlibpath_overrides_runpath=yes
13068
13069     case $host_os in
13070     cygwin*)
13071       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13072       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13073
13074       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13075       ;;
13076     mingw* | cegcc*)
13077       # MinGW DLLs use traditional 'lib' prefix
13078       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13079       ;;
13080     pw32*)
13081       # pw32 DLLs use 'pw' prefix rather than 'lib'
13082       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13083       ;;
13084     esac
13085     dynamic_linker='Win32 ld.exe'
13086     ;;
13087
13088   *,cl*)
13089     # Native MSVC
13090     libname_spec='$name'
13091     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13092     library_names_spec='${libname}.dll.lib'
13093
13094     case $build_os in
13095     mingw*)
13096       sys_lib_search_path_spec=
13097       lt_save_ifs=$IFS
13098       IFS=';'
13099       for lt_path in $LIB
13100       do
13101         IFS=$lt_save_ifs
13102         # Let DOS variable expansion print the short 8.3 style file name.
13103         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13104         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13105       done
13106       IFS=$lt_save_ifs
13107       # Convert to MSYS style.
13108       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13109       ;;
13110     cygwin*)
13111       # Convert to unix form, then to dos form, then back to unix form
13112       # but this time dos style (no spaces!) so that the unix form looks
13113       # like /cygdrive/c/PROGRA~1:/cygdr...
13114       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13115       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13116       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13117       ;;
13118     *)
13119       sys_lib_search_path_spec="$LIB"
13120       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13121         # It is most probably a Windows format PATH.
13122         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13123       else
13124         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13125       fi
13126       # FIXME: find the short name or the path components, as spaces are
13127       # common. (e.g. "Program Files" -> "PROGRA~1")
13128       ;;
13129     esac
13130
13131     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13132     postinstall_cmds='base_file=`basename \${file}`~
13133       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13134       dldir=$destdir/`dirname \$dlpath`~
13135       test -d \$dldir || mkdir -p \$dldir~
13136       $install_prog $dir/$dlname \$dldir/$dlname'
13137     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13138       dlpath=$dir/\$dldll~
13139        $RM \$dlpath'
13140     shlibpath_overrides_runpath=yes
13141     dynamic_linker='Win32 link.exe'
13142     ;;
13143
13144   *)
13145     # Assume MSVC wrapper
13146     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13147     dynamic_linker='Win32 ld.exe'
13148     ;;
13149   esac
13150   # FIXME: first we should search . and the directory the executable is in
13151   shlibpath_var=PATH
13152   ;;
13153
13154 darwin* | rhapsody*)
13155   dynamic_linker="$host_os dyld"
13156   version_type=darwin
13157   need_lib_prefix=no
13158   need_version=no
13159   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13160   soname_spec='${libname}${release}${major}$shared_ext'
13161   shlibpath_overrides_runpath=yes
13162   shlibpath_var=DYLD_LIBRARY_PATH
13163   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13164
13165   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13166   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13167   ;;
13168
13169 dgux*)
13170   version_type=linux # correct to gnu/linux during the next big refactor
13171   need_lib_prefix=no
13172   need_version=no
13173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13174   soname_spec='${libname}${release}${shared_ext}$major'
13175   shlibpath_var=LD_LIBRARY_PATH
13176   ;;
13177
13178 freebsd* | dragonfly*)
13179   # DragonFly does not have aout.  When/if they implement a new
13180   # versioning mechanism, adjust this.
13181   if test -x /usr/bin/objformat; then
13182     objformat=`/usr/bin/objformat`
13183   else
13184     case $host_os in
13185     freebsd[23].*) objformat=aout ;;
13186     *) objformat=elf ;;
13187     esac
13188   fi
13189   version_type=freebsd-$objformat
13190   case $version_type in
13191     freebsd-elf*)
13192       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13193       need_version=no
13194       need_lib_prefix=no
13195       ;;
13196     freebsd-*)
13197       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13198       need_version=yes
13199       ;;
13200   esac
13201   shlibpath_var=LD_LIBRARY_PATH
13202   case $host_os in
13203   freebsd2.*)
13204     shlibpath_overrides_runpath=yes
13205     ;;
13206   freebsd3.[01]* | freebsdelf3.[01]*)
13207     shlibpath_overrides_runpath=yes
13208     hardcode_into_libs=yes
13209     ;;
13210   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13211   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13212     shlibpath_overrides_runpath=no
13213     hardcode_into_libs=yes
13214     ;;
13215   *) # from 4.6 on, and DragonFly
13216     shlibpath_overrides_runpath=yes
13217     hardcode_into_libs=yes
13218     ;;
13219   esac
13220   ;;
13221
13222 gnu*)
13223   version_type=linux # correct to gnu/linux during the next big refactor
13224   need_lib_prefix=no
13225   need_version=no
13226   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13227   soname_spec='${libname}${release}${shared_ext}$major'
13228   shlibpath_var=LD_LIBRARY_PATH
13229   shlibpath_overrides_runpath=no
13230   hardcode_into_libs=yes
13231   ;;
13232
13233 haiku*)
13234   version_type=linux # correct to gnu/linux during the next big refactor
13235   need_lib_prefix=no
13236   need_version=no
13237   dynamic_linker="$host_os runtime_loader"
13238   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13239   soname_spec='${libname}${release}${shared_ext}$major'
13240   shlibpath_var=LIBRARY_PATH
13241   shlibpath_overrides_runpath=yes
13242   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13243   hardcode_into_libs=yes
13244   ;;
13245
13246 hpux9* | hpux10* | hpux11*)
13247   # Give a soname corresponding to the major version so that dld.sl refuses to
13248   # link against other versions.
13249   version_type=sunos
13250   need_lib_prefix=no
13251   need_version=no
13252   case $host_cpu in
13253   ia64*)
13254     shrext_cmds='.so'
13255     hardcode_into_libs=yes
13256     dynamic_linker="$host_os dld.so"
13257     shlibpath_var=LD_LIBRARY_PATH
13258     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13259     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13260     soname_spec='${libname}${release}${shared_ext}$major'
13261     if test "X$HPUX_IA64_MODE" = X32; then
13262       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13263     else
13264       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13265     fi
13266     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13267     ;;
13268   hppa*64*)
13269     shrext_cmds='.sl'
13270     hardcode_into_libs=yes
13271     dynamic_linker="$host_os dld.sl"
13272     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13273     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13274     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13275     soname_spec='${libname}${release}${shared_ext}$major'
13276     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13277     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13278     ;;
13279   *)
13280     shrext_cmds='.sl'
13281     dynamic_linker="$host_os dld.sl"
13282     shlibpath_var=SHLIB_PATH
13283     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13284     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13285     soname_spec='${libname}${release}${shared_ext}$major'
13286     ;;
13287   esac
13288   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13289   postinstall_cmds='chmod 555 $lib'
13290   # or fails outright, so override atomically:
13291   install_override_mode=555
13292   ;;
13293
13294 interix[3-9]*)
13295   version_type=linux # correct to gnu/linux during the next big refactor
13296   need_lib_prefix=no
13297   need_version=no
13298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13299   soname_spec='${libname}${release}${shared_ext}$major'
13300   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13301   shlibpath_var=LD_LIBRARY_PATH
13302   shlibpath_overrides_runpath=no
13303   hardcode_into_libs=yes
13304   ;;
13305
13306 irix5* | irix6* | nonstopux*)
13307   case $host_os in
13308     nonstopux*) version_type=nonstopux ;;
13309     *)
13310         if test "$lt_cv_prog_gnu_ld" = yes; then
13311                 version_type=linux # correct to gnu/linux during the next big refactor
13312         else
13313                 version_type=irix
13314         fi ;;
13315   esac
13316   need_lib_prefix=no
13317   need_version=no
13318   soname_spec='${libname}${release}${shared_ext}$major'
13319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13320   case $host_os in
13321   irix5* | nonstopux*)
13322     libsuff= shlibsuff=
13323     ;;
13324   *)
13325     case $LD in # libtool.m4 will add one of these switches to LD
13326     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13327       libsuff= shlibsuff= libmagic=32-bit;;
13328     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13329       libsuff=32 shlibsuff=N32 libmagic=N32;;
13330     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13331       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13332     *) libsuff= shlibsuff= libmagic=never-match;;
13333     esac
13334     ;;
13335   esac
13336   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13337   shlibpath_overrides_runpath=no
13338   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13339   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13340   hardcode_into_libs=yes
13341   ;;
13342
13343 # No shared lib support for Linux oldld, aout, or coff.
13344 linux*oldld* | linux*aout* | linux*coff*)
13345   dynamic_linker=no
13346   ;;
13347
13348 # This must be glibc/ELF.
13349 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13350   version_type=linux # correct to gnu/linux during the next big refactor
13351   need_lib_prefix=no
13352   need_version=no
13353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13354   soname_spec='${libname}${release}${shared_ext}$major'
13355   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13356   shlibpath_var=LD_LIBRARY_PATH
13357   shlibpath_overrides_runpath=no
13358
13359   # Some binutils ld are patched to set DT_RUNPATH
13360   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13361   $as_echo_n "(cached) " >&6
13362 else
13363   lt_cv_shlibpath_overrides_runpath=no
13364     save_LDFLAGS=$LDFLAGS
13365     save_libdir=$libdir
13366     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13367          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13368     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h.  */
13370
13371 int
13372 main ()
13373 {
13374
13375   ;
13376   return 0;
13377 }
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13381   lt_cv_shlibpath_overrides_runpath=yes
13382 fi
13383 fi
13384 rm -f core conftest.err conftest.$ac_objext \
13385     conftest$ac_exeext conftest.$ac_ext
13386     LDFLAGS=$save_LDFLAGS
13387     libdir=$save_libdir
13388     
13389 fi
13390
13391   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13392
13393   # This implies no fast_install, which is unacceptable.
13394   # Some rework will be needed to allow for fast_install
13395   # before this can be enabled.
13396   hardcode_into_libs=yes
13397
13398   # Append ld.so.conf contents to the search path
13399   if test -f /etc/ld.so.conf; then
13400     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' ' '`
13401     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13402   fi
13403
13404   # We used to test for /lib/ld.so.1 and disable shared libraries on
13405   # powerpc, because MkLinux only supported shared libraries with the
13406   # GNU dynamic linker.  Since this was broken with cross compilers,
13407   # most powerpc-linux boxes support dynamic linking these days and
13408   # people can always --disable-shared, the test was removed, and we
13409   # assume the GNU/Linux dynamic linker is in use.
13410   dynamic_linker='GNU/Linux ld.so'
13411   ;;
13412
13413 netbsdelf*-gnu)
13414   version_type=linux
13415   need_lib_prefix=no
13416   need_version=no
13417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13418   soname_spec='${libname}${release}${shared_ext}$major'
13419   shlibpath_var=LD_LIBRARY_PATH
13420   shlibpath_overrides_runpath=no
13421   hardcode_into_libs=yes
13422   dynamic_linker='NetBSD ld.elf_so'
13423   ;;
13424
13425 netbsd*)
13426   version_type=sunos
13427   need_lib_prefix=no
13428   need_version=no
13429   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13430     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13431     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13432     dynamic_linker='NetBSD (a.out) ld.so'
13433   else
13434     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13435     soname_spec='${libname}${release}${shared_ext}$major'
13436     dynamic_linker='NetBSD ld.elf_so'
13437   fi
13438   shlibpath_var=LD_LIBRARY_PATH
13439   shlibpath_overrides_runpath=yes
13440   hardcode_into_libs=yes
13441   ;;
13442
13443 newsos6)
13444   version_type=linux # correct to gnu/linux during the next big refactor
13445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13446   shlibpath_var=LD_LIBRARY_PATH
13447   shlibpath_overrides_runpath=yes
13448   ;;
13449
13450 *nto* | *qnx*)
13451   version_type=qnx
13452   need_lib_prefix=no
13453   need_version=no
13454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13455   soname_spec='${libname}${release}${shared_ext}$major'
13456   shlibpath_var=LD_LIBRARY_PATH
13457   shlibpath_overrides_runpath=no
13458   hardcode_into_libs=yes
13459   dynamic_linker='ldqnx.so'
13460   ;;
13461
13462 openbsd*)
13463   version_type=sunos
13464   sys_lib_dlsearch_path_spec="/usr/lib"
13465   need_lib_prefix=no
13466   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13467   case $host_os in
13468     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13469     *)                          need_version=no  ;;
13470   esac
13471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13472   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13473   shlibpath_var=LD_LIBRARY_PATH
13474   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13475     case $host_os in
13476       openbsd2.[89] | openbsd2.[89].*)
13477         shlibpath_overrides_runpath=no
13478         ;;
13479       *)
13480         shlibpath_overrides_runpath=yes
13481         ;;
13482       esac
13483   else
13484     shlibpath_overrides_runpath=yes
13485   fi
13486   ;;
13487
13488 os2*)
13489   libname_spec='$name'
13490   shrext_cmds=".dll"
13491   need_lib_prefix=no
13492   library_names_spec='$libname${shared_ext} $libname.a'
13493   dynamic_linker='OS/2 ld.exe'
13494   shlibpath_var=LIBPATH
13495   ;;
13496
13497 osf3* | osf4* | osf5*)
13498   version_type=osf
13499   need_lib_prefix=no
13500   need_version=no
13501   soname_spec='${libname}${release}${shared_ext}$major'
13502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13503   shlibpath_var=LD_LIBRARY_PATH
13504   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13505   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13506   ;;
13507
13508 rdos*)
13509   dynamic_linker=no
13510   ;;
13511
13512 solaris*)
13513   version_type=linux # correct to gnu/linux during the next big refactor
13514   need_lib_prefix=no
13515   need_version=no
13516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $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   # ldd complains unless libraries are executable
13522   postinstall_cmds='chmod +x $lib'
13523   ;;
13524
13525 sunos4*)
13526   version_type=sunos
13527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13528   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13529   shlibpath_var=LD_LIBRARY_PATH
13530   shlibpath_overrides_runpath=yes
13531   if test "$with_gnu_ld" = yes; then
13532     need_lib_prefix=no
13533   fi
13534   need_version=yes
13535   ;;
13536
13537 sysv4 | sysv4.3*)
13538   version_type=linux # correct to gnu/linux during the next big refactor
13539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13540   soname_spec='${libname}${release}${shared_ext}$major'
13541   shlibpath_var=LD_LIBRARY_PATH
13542   case $host_vendor in
13543     sni)
13544       shlibpath_overrides_runpath=no
13545       need_lib_prefix=no
13546       runpath_var=LD_RUN_PATH
13547       ;;
13548     siemens)
13549       need_lib_prefix=no
13550       ;;
13551     motorola)
13552       need_lib_prefix=no
13553       need_version=no
13554       shlibpath_overrides_runpath=no
13555       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13556       ;;
13557   esac
13558   ;;
13559
13560 sysv4*MP*)
13561   if test -d /usr/nec ;then
13562     version_type=linux # correct to gnu/linux during the next big refactor
13563     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13564     soname_spec='$libname${shared_ext}.$major'
13565     shlibpath_var=LD_LIBRARY_PATH
13566   fi
13567   ;;
13568
13569 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13570   version_type=freebsd-elf
13571   need_lib_prefix=no
13572   need_version=no
13573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13574   soname_spec='${libname}${release}${shared_ext}$major'
13575   shlibpath_var=LD_LIBRARY_PATH
13576   shlibpath_overrides_runpath=yes
13577   hardcode_into_libs=yes
13578   if test "$with_gnu_ld" = yes; then
13579     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13580   else
13581     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13582     case $host_os in
13583       sco3.2v5*)
13584         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13585         ;;
13586     esac
13587   fi
13588   sys_lib_dlsearch_path_spec='/usr/lib'
13589   ;;
13590
13591 tpf*)
13592   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13593   version_type=linux # correct to gnu/linux during the next big refactor
13594   need_lib_prefix=no
13595   need_version=no
13596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13597   shlibpath_var=LD_LIBRARY_PATH
13598   shlibpath_overrides_runpath=no
13599   hardcode_into_libs=yes
13600   ;;
13601
13602 uts4*)
13603   version_type=linux # correct to gnu/linux during the next big refactor
13604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13605   soname_spec='${libname}${release}${shared_ext}$major'
13606   shlibpath_var=LD_LIBRARY_PATH
13607   ;;
13608
13609 *)
13610   dynamic_linker=no
13611   ;;
13612 esac
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13614 $as_echo "$dynamic_linker" >&6; }
13615 test "$dynamic_linker" = no && can_build_shared=no
13616
13617 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13618 if test "$GCC" = yes; then
13619   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13620 fi
13621
13622 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13623   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13624 fi
13625 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13626   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13627 fi
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
13664
13665     
13666     
13667     
13668
13669
13670     
13671     
13672     
13673
13674
13675     
13676     
13677     
13678
13679
13680     
13681     
13682     
13683
13684
13685     
13686     
13687     
13688
13689
13690     
13691     
13692     
13693
13694
13695     
13696     
13697     
13698
13699
13700     
13701     
13702     
13703
13704
13705     
13706     
13707     
13708
13709
13710     
13711     
13712     
13713
13714
13715     
13716     
13717     
13718
13719
13720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13721 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13722 hardcode_action=
13723 if test -n "$hardcode_libdir_flag_spec" ||
13724    test -n "$runpath_var" ||
13725    test "X$hardcode_automatic" = "Xyes" ; then
13726
13727   # We can hardcode non-existent directories.
13728   if test "$hardcode_direct" != no &&
13729      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13730      # have to relink, otherwise we might link with an installed library
13731      # when we should be linking with a yet-to-be-installed one
13732      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13733      test "$hardcode_minus_L" != no; then
13734     # Linking always hardcodes the temporary library directory.
13735     hardcode_action=relink
13736   else
13737     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13738     hardcode_action=immediate
13739   fi
13740 else
13741   # We cannot hardcode anything, or else we can only hardcode existing
13742   # directories.
13743   hardcode_action=unsupported
13744 fi
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13746 $as_echo "$hardcode_action" >&6; }
13747
13748 if test "$hardcode_action" = relink ||
13749    test "$inherit_rpath" = yes; then
13750   # Fast installation is not supported
13751   enable_fast_install=no
13752 elif test "$shlibpath_overrides_runpath" = yes ||
13753      test "$enable_shared" = no; then
13754   # Fast installation is not necessary
13755   enable_fast_install=needless
13756 fi
13757
13758     
13759     
13760     
13761
13762
13763   if test "x$enable_dlopen" != xyes; then
13764   enable_dlopen=unknown
13765   enable_dlopen_self=unknown
13766   enable_dlopen_self_static=unknown
13767 else
13768   lt_cv_dlopen=no
13769   lt_cv_dlopen_libs=
13770
13771   case $host_os in
13772   beos*)
13773     lt_cv_dlopen="load_add_on"
13774     lt_cv_dlopen_libs=
13775     lt_cv_dlopen_self=yes
13776     ;;
13777
13778   mingw* | pw32* | cegcc*)
13779     lt_cv_dlopen="LoadLibrary"
13780     lt_cv_dlopen_libs=
13781     ;;
13782
13783   cygwin*)
13784     lt_cv_dlopen="dlopen"
13785     lt_cv_dlopen_libs=
13786     ;;
13787
13788   darwin*)
13789   # if libdl is installed we need to link against it
13790     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13791 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13792 if ${ac_cv_lib_dl_dlopen+:} false; then :
13793   $as_echo_n "(cached) " >&6
13794 else
13795   ac_check_lib_save_LIBS=$LIBS
13796 LIBS="-ldl  $LIBS"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h.  */
13799
13800 /* Override any GCC internal prototype to avoid an error.
13801    Use char because int might match the return type of a GCC
13802    builtin and then its argument prototype would still apply.  */
13803 #ifdef __cplusplus
13804 extern "C"
13805 #endif
13806 char dlopen ();
13807 int
13808 main ()
13809 {
13810 return dlopen ();
13811   ;
13812   return 0;
13813 }
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"; then :
13816   ac_cv_lib_dl_dlopen=yes
13817 else
13818   ac_cv_lib_dl_dlopen=no
13819 fi
13820 rm -f core conftest.err conftest.$ac_objext \
13821     conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13823 fi
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13825 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13826 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13827   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13828 else
13829   
13830     lt_cv_dlopen="dyld"
13831     lt_cv_dlopen_libs=
13832     lt_cv_dlopen_self=yes
13833     
13834 fi
13835
13836     ;;
13837
13838   *)
13839     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13840 if test "x$ac_cv_func_shl_load" = xyes; then :
13841   lt_cv_dlopen="shl_load"
13842 else
13843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13844 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13845 if ${ac_cv_lib_dld_shl_load+:} false; then :
13846   $as_echo_n "(cached) " >&6
13847 else
13848   ac_check_lib_save_LIBS=$LIBS
13849 LIBS="-ldld  $LIBS"
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h.  */
13852
13853 /* Override any GCC internal prototype to avoid an error.
13854    Use char because int might match the return type of a GCC
13855    builtin and then its argument prototype would still apply.  */
13856 #ifdef __cplusplus
13857 extern "C"
13858 #endif
13859 char shl_load ();
13860 int
13861 main ()
13862 {
13863 return shl_load ();
13864   ;
13865   return 0;
13866 }
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"; then :
13869   ac_cv_lib_dld_shl_load=yes
13870 else
13871   ac_cv_lib_dld_shl_load=no
13872 fi
13873 rm -f core conftest.err conftest.$ac_objext \
13874     conftest$ac_exeext conftest.$ac_ext
13875 LIBS=$ac_check_lib_save_LIBS
13876 fi
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13878 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13879 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13880   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13881 else
13882   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13883 if test "x$ac_cv_func_dlopen" = xyes; then :
13884   lt_cv_dlopen="dlopen"
13885 else
13886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13887 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13888 if ${ac_cv_lib_dl_dlopen+:} false; then :
13889   $as_echo_n "(cached) " >&6
13890 else
13891   ac_check_lib_save_LIBS=$LIBS
13892 LIBS="-ldl  $LIBS"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h.  */
13895
13896 /* Override any GCC internal prototype to avoid an error.
13897    Use char because int might match the return type of a GCC
13898    builtin and then its argument prototype would still apply.  */
13899 #ifdef __cplusplus
13900 extern "C"
13901 #endif
13902 char dlopen ();
13903 int
13904 main ()
13905 {
13906 return dlopen ();
13907   ;
13908   return 0;
13909 }
13910 _ACEOF
13911 if ac_fn_c_try_link "$LINENO"; then :
13912   ac_cv_lib_dl_dlopen=yes
13913 else
13914   ac_cv_lib_dl_dlopen=no
13915 fi
13916 rm -f core conftest.err conftest.$ac_objext \
13917     conftest$ac_exeext conftest.$ac_ext
13918 LIBS=$ac_check_lib_save_LIBS
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13921 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13922 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13923   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13924 else
13925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13926 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13927 if ${ac_cv_lib_svld_dlopen+:} false; then :
13928   $as_echo_n "(cached) " >&6
13929 else
13930   ac_check_lib_save_LIBS=$LIBS
13931 LIBS="-lsvld  $LIBS"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h.  */
13934
13935 /* Override any GCC internal prototype to avoid an error.
13936    Use char because int might match the return type of a GCC
13937    builtin and then its argument prototype would still apply.  */
13938 #ifdef __cplusplus
13939 extern "C"
13940 #endif
13941 char dlopen ();
13942 int
13943 main ()
13944 {
13945 return dlopen ();
13946   ;
13947   return 0;
13948 }
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951   ac_cv_lib_svld_dlopen=yes
13952 else
13953   ac_cv_lib_svld_dlopen=no
13954 fi
13955 rm -f core conftest.err conftest.$ac_objext \
13956     conftest$ac_exeext conftest.$ac_ext
13957 LIBS=$ac_check_lib_save_LIBS
13958 fi
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13960 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13961 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13962   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13963 else
13964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13965 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13966 if ${ac_cv_lib_dld_dld_link+:} false; then :
13967   $as_echo_n "(cached) " >&6
13968 else
13969   ac_check_lib_save_LIBS=$LIBS
13970 LIBS="-ldld  $LIBS"
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h.  */
13973
13974 /* Override any GCC internal prototype to avoid an error.
13975    Use char because int might match the return type of a GCC
13976    builtin and then its argument prototype would still apply.  */
13977 #ifdef __cplusplus
13978 extern "C"
13979 #endif
13980 char dld_link ();
13981 int
13982 main ()
13983 {
13984 return dld_link ();
13985   ;
13986   return 0;
13987 }
13988 _ACEOF
13989 if ac_fn_c_try_link "$LINENO"; then :
13990   ac_cv_lib_dld_dld_link=yes
13991 else
13992   ac_cv_lib_dld_dld_link=no
13993 fi
13994 rm -f core conftest.err conftest.$ac_objext \
13995     conftest$ac_exeext conftest.$ac_ext
13996 LIBS=$ac_check_lib_save_LIBS
13997 fi
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13999 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14000 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14001   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14002 fi
14003
14004               
14005 fi
14006
14007             
14008 fi
14009
14010           
14011 fi
14012
14013         
14014 fi
14015
14016       
14017 fi
14018
14019     ;;
14020   esac
14021
14022   if test "x$lt_cv_dlopen" != xno; then
14023     enable_dlopen=yes
14024   else
14025     enable_dlopen=no
14026   fi
14027
14028   case $lt_cv_dlopen in
14029   dlopen)
14030     save_CPPFLAGS="$CPPFLAGS"
14031     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14032
14033     save_LDFLAGS="$LDFLAGS"
14034     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14035
14036     save_LIBS="$LIBS"
14037     LIBS="$lt_cv_dlopen_libs $LIBS"
14038
14039     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14040 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14041 if ${lt_cv_dlopen_self+:} false; then :
14042   $as_echo_n "(cached) " >&6
14043 else
14044           if test "$cross_compiling" = yes; then :
14045   lt_cv_dlopen_self=cross
14046 else
14047   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14048   lt_status=$lt_dlunknown
14049   cat > conftest.$ac_ext <<_LT_EOF
14050 #line $LINENO "configure"
14051 #include "confdefs.h"
14052
14053 #if HAVE_DLFCN_H
14054 #include <dlfcn.h>
14055 #endif
14056
14057 #include <stdio.h>
14058
14059 #ifdef RTLD_GLOBAL
14060 #  define LT_DLGLOBAL           RTLD_GLOBAL
14061 #else
14062 #  ifdef DL_GLOBAL
14063 #    define LT_DLGLOBAL         DL_GLOBAL
14064 #  else
14065 #    define LT_DLGLOBAL         0
14066 #  endif
14067 #endif
14068
14069 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14070    find out it does not work in some platform. */
14071 #ifndef LT_DLLAZY_OR_NOW
14072 #  ifdef RTLD_LAZY
14073 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14074 #  else
14075 #    ifdef DL_LAZY
14076 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14077 #    else
14078 #      ifdef RTLD_NOW
14079 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14080 #      else
14081 #        ifdef DL_NOW
14082 #          define LT_DLLAZY_OR_NOW      DL_NOW
14083 #        else
14084 #          define LT_DLLAZY_OR_NOW      0
14085 #        endif
14086 #      endif
14087 #    endif
14088 #  endif
14089 #endif
14090
14091 /* When -fvisbility=hidden is used, assume the code has been annotated
14092    correspondingly for the symbols needed.  */
14093 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14094 int fnord () __attribute__((visibility("default")));
14095 #endif
14096
14097 int fnord () { return 42; }
14098 int main ()
14099 {
14100   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14101   int status = $lt_dlunknown;
14102
14103   if (self)
14104     {
14105       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14106       else
14107         {
14108           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14109           else puts (dlerror ());
14110         }
14111       /* dlclose (self); */
14112     }
14113   else
14114     puts (dlerror ());
14115
14116   return status;
14117 }
14118 _LT_EOF
14119   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14120   (eval $ac_link) 2>&5
14121   ac_status=$?
14122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14123   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14124     (./conftest; exit; ) >&5 2>/dev/null
14125     lt_status=$?
14126     case x$lt_status in
14127       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14128       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14129       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14130     esac
14131   else :
14132     # compilation failed
14133     lt_cv_dlopen_self=no
14134   fi
14135 fi
14136 rm -fr conftest*
14137
14138     
14139 fi
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14141 $as_echo "$lt_cv_dlopen_self" >&6; }
14142
14143     if test "x$lt_cv_dlopen_self" = xyes; then
14144       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14145       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14146 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14147 if ${lt_cv_dlopen_self_static+:} false; then :
14148   $as_echo_n "(cached) " >&6
14149 else
14150           if test "$cross_compiling" = yes; then :
14151   lt_cv_dlopen_self_static=cross
14152 else
14153   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14154   lt_status=$lt_dlunknown
14155   cat > conftest.$ac_ext <<_LT_EOF
14156 #line $LINENO "configure"
14157 #include "confdefs.h"
14158
14159 #if HAVE_DLFCN_H
14160 #include <dlfcn.h>
14161 #endif
14162
14163 #include <stdio.h>
14164
14165 #ifdef RTLD_GLOBAL
14166 #  define LT_DLGLOBAL           RTLD_GLOBAL
14167 #else
14168 #  ifdef DL_GLOBAL
14169 #    define LT_DLGLOBAL         DL_GLOBAL
14170 #  else
14171 #    define LT_DLGLOBAL         0
14172 #  endif
14173 #endif
14174
14175 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14176    find out it does not work in some platform. */
14177 #ifndef LT_DLLAZY_OR_NOW
14178 #  ifdef RTLD_LAZY
14179 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14180 #  else
14181 #    ifdef DL_LAZY
14182 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14183 #    else
14184 #      ifdef RTLD_NOW
14185 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14186 #      else
14187 #        ifdef DL_NOW
14188 #          define LT_DLLAZY_OR_NOW      DL_NOW
14189 #        else
14190 #          define LT_DLLAZY_OR_NOW      0
14191 #        endif
14192 #      endif
14193 #    endif
14194 #  endif
14195 #endif
14196
14197 /* When -fvisbility=hidden is used, assume the code has been annotated
14198    correspondingly for the symbols needed.  */
14199 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14200 int fnord () __attribute__((visibility("default")));
14201 #endif
14202
14203 int fnord () { return 42; }
14204 int main ()
14205 {
14206   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14207   int status = $lt_dlunknown;
14208
14209   if (self)
14210     {
14211       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14212       else
14213         {
14214           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14215           else puts (dlerror ());
14216         }
14217       /* dlclose (self); */
14218     }
14219   else
14220     puts (dlerror ());
14221
14222   return status;
14223 }
14224 _LT_EOF
14225   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14226   (eval $ac_link) 2>&5
14227   ac_status=$?
14228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14229   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14230     (./conftest; exit; ) >&5 2>/dev/null
14231     lt_status=$?
14232     case x$lt_status in
14233       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14234       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14235       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14236     esac
14237   else :
14238     # compilation failed
14239     lt_cv_dlopen_self_static=no
14240   fi
14241 fi
14242 rm -fr conftest*
14243
14244       
14245 fi
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14247 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14248     fi
14249
14250     CPPFLAGS="$save_CPPFLAGS"
14251     LDFLAGS="$save_LDFLAGS"
14252     LIBS="$save_LIBS"
14253     ;;
14254   esac
14255
14256   case $lt_cv_dlopen_self in
14257   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14258   *) enable_dlopen_self=unknown ;;
14259   esac
14260
14261   case $lt_cv_dlopen_self_static in
14262   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14263   *) enable_dlopen_self_static=unknown ;;
14264   esac
14265 fi
14266
14267     
14268     
14269     
14270
14271
14272     
14273     
14274     
14275
14276
14277     
14278     
14279     
14280
14281
14282   
14283 striplib=
14284 old_striplib=
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14286 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14287 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14288   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14289   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14291 $as_echo "yes" >&6; }
14292 else
14293 # FIXME - insert some real tests, host_os isn't really good enough
14294   case $host_os in
14295   darwin*)
14296     if test -n "$STRIP" ; then
14297       striplib="$STRIP -x"
14298       old_striplib="$STRIP -S"
14299       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14300 $as_echo "yes" >&6; }
14301     else
14302       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14303 $as_echo "no" >&6; }
14304     fi
14305     ;;
14306   *)
14307     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14308 $as_echo "no" >&6; }
14309     ;;
14310   esac
14311 fi
14312
14313     
14314     
14315     
14316
14317
14318     
14319     
14320     
14321
14322
14323
14324   # Report which library types will actually be built
14325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14326 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14328 $as_echo "$can_build_shared" >&6; }
14329
14330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14331 $as_echo_n "checking whether to build shared libraries... " >&6; }
14332   test "$can_build_shared" = "no" && enable_shared=no
14333
14334   # On AIX, shared libraries and static libraries use the same namespace, and
14335   # are all built from PIC.
14336   case $host_os in
14337   aix3*)
14338     test "$enable_shared" = yes && enable_static=no
14339     if test -n "$RANLIB"; then
14340       archive_cmds="$archive_cmds~\$RANLIB \$lib"
14341       postinstall_cmds='$RANLIB $lib'
14342     fi
14343     ;;
14344
14345   aix[4-9]*)
14346     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14347       test "$enable_shared" = yes && enable_static=no
14348     fi
14349     ;;
14350   esac
14351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14352 $as_echo "$enable_shared" >&6; }
14353
14354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14355 $as_echo_n "checking whether to build static libraries... " >&6; }
14356   # Make sure either enable_shared or enable_static is yes.
14357   test "$enable_shared" = yes || enable_static=yes
14358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14359 $as_echo "$enable_static" >&6; }
14360
14361   
14362
14363
14364 fi
14365 ac_ext=c
14366 ac_cpp='$CPP $CPPFLAGS'
14367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14370
14371 CC="$lt_save_CC"
14372
14373       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14374     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14375     (test "X$CXX" != "Xg++"))) ; then
14376   ac_ext=cpp
14377 ac_cpp='$CXXCPP $CPPFLAGS'
14378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14382 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14383 if test -z "$CXXCPP"; then
14384   if ${ac_cv_prog_CXXCPP+:} false; then :
14385   $as_echo_n "(cached) " >&6
14386 else
14387       # Double quotes because CXXCPP needs to be expanded
14388     for CXXCPP in "$CXX -E" "/lib/cpp"
14389     do
14390       ac_preproc_ok=false
14391 for ac_cxx_preproc_warn_flag in '' yes
14392 do
14393   # Use a header file that comes with gcc, so configuring glibc
14394   # with a fresh cross-compiler works.
14395   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14396   # <limits.h> exists even on freestanding compilers.
14397   # On the NeXT, cc -E runs the code through the compiler's parser,
14398   # not just through cpp. "Syntax error" is here to catch this case.
14399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h.  */
14401 @%:@ifdef __STDC__
14402 @%:@ include <limits.h>
14403 @%:@else
14404 @%:@ include <assert.h>
14405 @%:@endif
14406                      Syntax error
14407 _ACEOF
14408 if ac_fn_cxx_try_cpp "$LINENO"; then :
14409   
14410 else
14411   # Broken: fails on valid input.
14412 continue
14413 fi
14414 rm -f conftest.err conftest.i conftest.$ac_ext
14415
14416   # OK, works on sane cases.  Now check whether nonexistent headers
14417   # can be detected and how.
14418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h.  */
14420 @%:@include <ac_nonexistent.h>
14421 _ACEOF
14422 if ac_fn_cxx_try_cpp "$LINENO"; then :
14423   # Broken: success on invalid input.
14424 continue
14425 else
14426   # Passes both tests.
14427 ac_preproc_ok=:
14428 break
14429 fi
14430 rm -f conftest.err conftest.i conftest.$ac_ext
14431
14432 done
14433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14434 rm -f conftest.i conftest.err conftest.$ac_ext
14435 if $ac_preproc_ok; then :
14436   break
14437 fi
14438
14439     done
14440     ac_cv_prog_CXXCPP=$CXXCPP
14441   
14442 fi
14443   CXXCPP=$ac_cv_prog_CXXCPP
14444 else
14445   ac_cv_prog_CXXCPP=$CXXCPP
14446 fi
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14448 $as_echo "$CXXCPP" >&6; }
14449 ac_preproc_ok=false
14450 for ac_cxx_preproc_warn_flag in '' yes
14451 do
14452   # Use a header file that comes with gcc, so configuring glibc
14453   # with a fresh cross-compiler works.
14454   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14455   # <limits.h> exists even on freestanding compilers.
14456   # On the NeXT, cc -E runs the code through the compiler's parser,
14457   # not just through cpp. "Syntax error" is here to catch this case.
14458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h.  */
14460 @%:@ifdef __STDC__
14461 @%:@ include <limits.h>
14462 @%:@else
14463 @%:@ include <assert.h>
14464 @%:@endif
14465                      Syntax error
14466 _ACEOF
14467 if ac_fn_cxx_try_cpp "$LINENO"; then :
14468   
14469 else
14470   # Broken: fails on valid input.
14471 continue
14472 fi
14473 rm -f conftest.err conftest.i conftest.$ac_ext
14474
14475   # OK, works on sane cases.  Now check whether nonexistent headers
14476   # can be detected and how.
14477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h.  */
14479 @%:@include <ac_nonexistent.h>
14480 _ACEOF
14481 if ac_fn_cxx_try_cpp "$LINENO"; then :
14482   # Broken: success on invalid input.
14483 continue
14484 else
14485   # Passes both tests.
14486 ac_preproc_ok=:
14487 break
14488 fi
14489 rm -f conftest.err conftest.i conftest.$ac_ext
14490
14491 done
14492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14493 rm -f conftest.i conftest.err conftest.$ac_ext
14494 if $ac_preproc_ok; then :
14495   
14496 else
14497   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14499 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14500 See \`config.log' for more details" "$LINENO" 5; }
14501 fi
14502
14503 ac_ext=c
14504 ac_cpp='$CPP $CPPFLAGS'
14505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14508
14509 else
14510   _lt_caught_CXX_error=yes
14511 fi
14512
14513 ac_ext=cpp
14514 ac_cpp='$CXXCPP $CPPFLAGS'
14515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14518
14519 archive_cmds_need_lc_CXX=no
14520 allow_undefined_flag_CXX=
14521 always_export_symbols_CXX=no
14522 archive_expsym_cmds_CXX=
14523 compiler_needs_object_CXX=no
14524 export_dynamic_flag_spec_CXX=
14525 hardcode_direct_CXX=no
14526 hardcode_direct_absolute_CXX=no
14527 hardcode_libdir_flag_spec_CXX=
14528 hardcode_libdir_separator_CXX=
14529 hardcode_minus_L_CXX=no
14530 hardcode_shlibpath_var_CXX=unsupported
14531 hardcode_automatic_CXX=no
14532 inherit_rpath_CXX=no
14533 module_cmds_CXX=
14534 module_expsym_cmds_CXX=
14535 link_all_deplibs_CXX=unknown
14536 old_archive_cmds_CXX=$old_archive_cmds
14537 reload_flag_CXX=$reload_flag
14538 reload_cmds_CXX=$reload_cmds
14539 no_undefined_flag_CXX=
14540 whole_archive_flag_spec_CXX=
14541 enable_shared_with_static_runtimes_CXX=no
14542
14543 # Source file extension for C++ test sources.
14544 ac_ext=cpp
14545
14546 # Object file extension for compiled C++ test sources.
14547 objext=o
14548 objext_CXX=$objext
14549
14550 # No sense in running all these tests if we already determined that
14551 # the CXX compiler isn't working.  Some variables (like enable_shared)
14552 # are currently assumed to apply to all compilers on this platform,
14553 # and will be corrupted by setting them based on a non-working compiler.
14554 if test "$_lt_caught_CXX_error" != yes; then
14555   # Code to be used in simple compile tests
14556   lt_simple_compile_test_code="int some_variable = 0;"
14557
14558   # Code to be used in simple link tests
14559   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14560
14561   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14562   
14563
14564
14565
14566
14567
14568 # If no C compiler was specified, use CC.
14569 LTCC=${LTCC-"$CC"}
14570
14571 # If no C compiler flags were specified, use CFLAGS.
14572 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14573
14574 # Allow CC to be a program name with arguments.
14575 compiler=$CC
14576
14577
14578   # save warnings/boilerplate of simple test code
14579   ac_outfile=conftest.$ac_objext
14580 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14581 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14582 _lt_compiler_boilerplate=`cat conftest.err`
14583 $RM conftest*
14584
14585   ac_outfile=conftest.$ac_objext
14586 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14587 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14588 _lt_linker_boilerplate=`cat conftest.err`
14589 $RM -r conftest*
14590
14591
14592   # Allow CC to be a program name with arguments.
14593   lt_save_CC=$CC
14594   lt_save_CFLAGS=$CFLAGS
14595   lt_save_LD=$LD
14596   lt_save_GCC=$GCC
14597   GCC=$GXX
14598   lt_save_with_gnu_ld=$with_gnu_ld
14599   lt_save_path_LD=$lt_cv_path_LD
14600   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14601     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14602   else
14603     $as_unset lt_cv_prog_gnu_ld
14604   fi
14605   if test -n "${lt_cv_path_LDCXX+set}"; then
14606     lt_cv_path_LD=$lt_cv_path_LDCXX
14607   else
14608     $as_unset lt_cv_path_LD
14609   fi
14610   test -z "${LDCXX+set}" || LD=$LDCXX
14611   CC=${CXX-"c++"}
14612   CFLAGS=$CXXFLAGS
14613   compiler=$CC
14614   compiler_CXX=$CC
14615   for cc_temp in $compiler""; do
14616   case $cc_temp in
14617     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14618     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14619     \-*) ;;
14620     *) break;;
14621   esac
14622 done
14623 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14624
14625
14626   if test -n "$compiler"; then
14627     # We don't want -fno-exception when compiling C++ code, so set the
14628     # no_builtin_flag separately
14629     if test "$GXX" = yes; then
14630       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14631     else
14632       lt_prog_compiler_no_builtin_flag_CXX=
14633     fi
14634
14635     if test "$GXX" = yes; then
14636       # Set up default GNU C++ configuration
14637
14638       
14639
14640 @%:@ Check whether --with-gnu-ld was given.
14641 if test "${with_gnu_ld+set}" = set; then :
14642   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14643 else
14644   with_gnu_ld=no
14645 fi
14646
14647 ac_prog=ld
14648 if test "$GCC" = yes; then
14649   # Check if gcc -print-prog-name=ld gives a path.
14650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14651 $as_echo_n "checking for ld used by $CC... " >&6; }
14652   case $host in
14653   *-*-mingw*)
14654     # gcc leaves a trailing carriage return which upsets mingw
14655     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14656   *)
14657     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14658   esac
14659   case $ac_prog in
14660     # Accept absolute paths.
14661     [\\/]* | ?:[\\/]*)
14662       re_direlt='/[^/][^/]*/\.\./'
14663       # Canonicalize the pathname of ld
14664       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14665       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14666         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14667       done
14668       test -z "$LD" && LD="$ac_prog"
14669       ;;
14670   "")
14671     # If it fails, then pretend we aren't using GCC.
14672     ac_prog=ld
14673     ;;
14674   *)
14675     # If it is relative, then search for the first ld in PATH.
14676     with_gnu_ld=unknown
14677     ;;
14678   esac
14679 elif test "$with_gnu_ld" = yes; then
14680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14681 $as_echo_n "checking for GNU ld... " >&6; }
14682 else
14683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14684 $as_echo_n "checking for non-GNU ld... " >&6; }
14685 fi
14686 if ${lt_cv_path_LD+:} false; then :
14687   $as_echo_n "(cached) " >&6
14688 else
14689   if test -z "$LD"; then
14690   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14691   for ac_dir in $PATH; do
14692     IFS="$lt_save_ifs"
14693     test -z "$ac_dir" && ac_dir=.
14694     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14695       lt_cv_path_LD="$ac_dir/$ac_prog"
14696       # Check to see if the program is GNU ld.  I'd rather use --version,
14697       # but apparently some variants of GNU ld only accept -v.
14698       # Break only if it was the GNU/non-GNU ld that we prefer.
14699       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14700       *GNU* | *'with BFD'*)
14701         test "$with_gnu_ld" != no && break
14702         ;;
14703       *)
14704         test "$with_gnu_ld" != yes && break
14705         ;;
14706       esac
14707     fi
14708   done
14709   IFS="$lt_save_ifs"
14710 else
14711   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14712 fi
14713 fi
14714
14715 LD="$lt_cv_path_LD"
14716 if test -n "$LD"; then
14717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14718 $as_echo "$LD" >&6; }
14719 else
14720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14721 $as_echo "no" >&6; }
14722 fi
14723 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14725 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14726 if ${lt_cv_prog_gnu_ld+:} false; then :
14727   $as_echo_n "(cached) " >&6
14728 else
14729   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14730 case `$LD -v 2>&1 </dev/null` in
14731 *GNU* | *'with BFD'*)
14732   lt_cv_prog_gnu_ld=yes
14733   ;;
14734 *)
14735   lt_cv_prog_gnu_ld=no
14736   ;;
14737 esac
14738 fi
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14740 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14741 with_gnu_ld=$lt_cv_prog_gnu_ld
14742
14743
14744
14745
14746
14747
14748
14749       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14750       # archiving commands below assume that GNU ld is being used.
14751       if test "$with_gnu_ld" = yes; then
14752         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14753         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'
14754
14755         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14756         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14757
14758         # If archive_cmds runs LD, not CC, wlarc should be empty
14759         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14760         #     investigate it a little bit more. (MM)
14761         wlarc='${wl}'
14762
14763         # ancient GNU ld didn't support --whole-archive et. al.
14764         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14765           $GREP 'no-whole-archive' > /dev/null; then
14766           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14767         else
14768           whole_archive_flag_spec_CXX=
14769         fi
14770       else
14771         with_gnu_ld=no
14772         wlarc=
14773
14774         # A generic and very simple default shared library creation
14775         # command for GNU C++ for the case where it uses the native
14776         # linker, instead of GNU ld.  If possible, this setting should
14777         # overridden to take advantage of the native linker features on
14778         # the platform it is being used on.
14779         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14780       fi
14781
14782       # Commands to make compiler produce verbose output that lists
14783       # what "hidden" libraries, object files and flags are used when
14784       # linking a shared library.
14785       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14786
14787     else
14788       GXX=no
14789       with_gnu_ld=no
14790       wlarc=
14791     fi
14792
14793     # PORTME: fill in a description of your system's C++ link characteristics
14794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14795 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14796     ld_shlibs_CXX=yes
14797     case $host_os in
14798       aix3*)
14799         # FIXME: insert proper C++ library support
14800         ld_shlibs_CXX=no
14801         ;;
14802       aix[4-9]*)
14803         if test "$host_cpu" = ia64; then
14804           # On IA64, the linker does run time linking by default, so we don't
14805           # have to do anything special.
14806           aix_use_runtimelinking=no
14807           exp_sym_flag='-Bexport'
14808           no_entry_flag=""
14809         else
14810           aix_use_runtimelinking=no
14811
14812           # Test if we are trying to use run time linking or normal
14813           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14814           # need to do runtime linking.
14815           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14816             for ld_flag in $LDFLAGS; do
14817               case $ld_flag in
14818               *-brtl*)
14819                 aix_use_runtimelinking=yes
14820                 break
14821                 ;;
14822               esac
14823             done
14824             ;;
14825           esac
14826
14827           exp_sym_flag='-bexport'
14828           no_entry_flag='-bnoentry'
14829         fi
14830
14831         # When large executables or shared objects are built, AIX ld can
14832         # have problems creating the table of contents.  If linking a library
14833         # or program results in "error TOC overflow" add -mminimal-toc to
14834         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14835         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14836
14837         archive_cmds_CXX=''
14838         hardcode_direct_CXX=yes
14839         hardcode_direct_absolute_CXX=yes
14840         hardcode_libdir_separator_CXX=':'
14841         link_all_deplibs_CXX=yes
14842         file_list_spec_CXX='${wl}-f,'
14843
14844         if test "$GXX" = yes; then
14845           case $host_os in aix4.[012]|aix4.[012].*)
14846           # We only want to do this on AIX 4.2 and lower, the check
14847           # below for broken collect2 doesn't work under 4.3+
14848           collect2name=`${CC} -print-prog-name=collect2`
14849           if test -f "$collect2name" &&
14850              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14851           then
14852             # We have reworked collect2
14853             :
14854           else
14855             # We have old collect2
14856             hardcode_direct_CXX=unsupported
14857             # It fails to find uninstalled libraries when the uninstalled
14858             # path is not listed in the libpath.  Setting hardcode_minus_L
14859             # to unsupported forces relinking
14860             hardcode_minus_L_CXX=yes
14861             hardcode_libdir_flag_spec_CXX='-L$libdir'
14862             hardcode_libdir_separator_CXX=
14863           fi
14864           esac
14865           shared_flag='-shared'
14866           if test "$aix_use_runtimelinking" = yes; then
14867             shared_flag="$shared_flag "'${wl}-G'
14868           fi
14869         else
14870           # not using gcc
14871           if test "$host_cpu" = ia64; then
14872           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14873           # chokes on -Wl,-G. The following line is correct:
14874           shared_flag='-G'
14875           else
14876             if test "$aix_use_runtimelinking" = yes; then
14877               shared_flag='${wl}-G'
14878             else
14879               shared_flag='${wl}-bM:SRE'
14880             fi
14881           fi
14882         fi
14883
14884         export_dynamic_flag_spec_CXX='${wl}-bexpall'
14885         # It seems that -bexpall does not export symbols beginning with
14886         # underscore (_), so it is better to generate a list of symbols to
14887         # export.
14888         always_export_symbols_CXX=yes
14889         if test "$aix_use_runtimelinking" = yes; then
14890           # Warning - without using the other runtime loading flags (-brtl),
14891           # -berok will link without error, but may produce a broken library.
14892           allow_undefined_flag_CXX='-berok'
14893           # Determine the default libpath from the value encoded in an empty
14894           # executable.
14895           if test "${lt_cv_aix_libpath+set}" = set; then
14896   aix_libpath=$lt_cv_aix_libpath
14897 else
14898   if ${lt_cv_aix_libpath__CXX+:} false; then :
14899   $as_echo_n "(cached) " >&6
14900 else
14901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h.  */
14903
14904 int
14905 main ()
14906 {
14907
14908   ;
14909   return 0;
14910 }
14911 _ACEOF
14912 if ac_fn_cxx_try_link "$LINENO"; then :
14913   
14914   lt_aix_libpath_sed='
14915       /Import File Strings/,/^$/ {
14916           /^0/ {
14917               s/^0  *\([^ ]*\) *$/\1/
14918               p
14919           }
14920       }'
14921   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14922   # Check for a 64-bit object if we didn't find anything.
14923   if test -z "$lt_cv_aix_libpath__CXX"; then
14924     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14925   fi
14926 fi
14927 rm -f core conftest.err conftest.$ac_objext \
14928     conftest$ac_exeext conftest.$ac_ext
14929   if test -z "$lt_cv_aix_libpath__CXX"; then
14930     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14931   fi
14932   
14933 fi
14934
14935   aix_libpath=$lt_cv_aix_libpath__CXX
14936 fi
14937
14938           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14939
14940           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"
14941         else
14942           if test "$host_cpu" = ia64; then
14943             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14944             allow_undefined_flag_CXX="-z nodefs"
14945             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"
14946           else
14947             # Determine the default libpath from the value encoded in an
14948             # empty executable.
14949             if test "${lt_cv_aix_libpath+set}" = set; then
14950   aix_libpath=$lt_cv_aix_libpath
14951 else
14952   if ${lt_cv_aix_libpath__CXX+:} false; then :
14953   $as_echo_n "(cached) " >&6
14954 else
14955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h.  */
14957
14958 int
14959 main ()
14960 {
14961
14962   ;
14963   return 0;
14964 }
14965 _ACEOF
14966 if ac_fn_cxx_try_link "$LINENO"; then :
14967   
14968   lt_aix_libpath_sed='
14969       /Import File Strings/,/^$/ {
14970           /^0/ {
14971               s/^0  *\([^ ]*\) *$/\1/
14972               p
14973           }
14974       }'
14975   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14976   # Check for a 64-bit object if we didn't find anything.
14977   if test -z "$lt_cv_aix_libpath__CXX"; then
14978     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14979   fi
14980 fi
14981 rm -f core conftest.err conftest.$ac_objext \
14982     conftest$ac_exeext conftest.$ac_ext
14983   if test -z "$lt_cv_aix_libpath__CXX"; then
14984     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14985   fi
14986   
14987 fi
14988
14989   aix_libpath=$lt_cv_aix_libpath__CXX
14990 fi
14991
14992             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14993             # Warning - without using the other run time loading flags,
14994             # -berok will link without error, but may produce a broken library.
14995             no_undefined_flag_CXX=' ${wl}-bernotok'
14996             allow_undefined_flag_CXX=' ${wl}-berok'
14997             if test "$with_gnu_ld" = yes; then
14998               # We only use this code for GNU lds that support --whole-archive.
14999               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15000             else
15001               # Exported symbols can be pulled into shared objects from archives
15002               whole_archive_flag_spec_CXX='$convenience'
15003             fi
15004             archive_cmds_need_lc_CXX=yes
15005             # This is similar to how AIX traditionally builds its shared
15006             # libraries.
15007             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'
15008           fi
15009         fi
15010         ;;
15011
15012       beos*)
15013         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15014           allow_undefined_flag_CXX=unsupported
15015           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15016           # support --undefined.  This deserves some investigation.  FIXME
15017           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15018         else
15019           ld_shlibs_CXX=no
15020         fi
15021         ;;
15022
15023       chorus*)
15024         case $cc_basename in
15025           *)
15026           # FIXME: insert proper C++ library support
15027           ld_shlibs_CXX=no
15028           ;;
15029         esac
15030         ;;
15031
15032       cygwin* | mingw* | pw32* | cegcc*)
15033         case $GXX,$cc_basename in
15034         ,cl* | no,cl*)
15035           # Native MSVC
15036           # hardcode_libdir_flag_spec is actually meaningless, as there is
15037           # no search path for DLLs.
15038           hardcode_libdir_flag_spec_CXX=' '
15039           allow_undefined_flag_CXX=unsupported
15040           always_export_symbols_CXX=yes
15041           file_list_spec_CXX='@'
15042           # Tell ltmain to make .lib files, not .a files.
15043           libext=lib
15044           # Tell ltmain to make .dll files, not .so files.
15045           shrext_cmds=".dll"
15046           # FIXME: Setting linknames here is a bad hack.
15047           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15048           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15049               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15050             else
15051               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15052             fi~
15053             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15054             linknames='
15055           # The linker will not automatically build a static lib if we build a DLL.
15056           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15057           enable_shared_with_static_runtimes_CXX=yes
15058           # Don't use ranlib
15059           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15060           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15061             lt_tool_outputfile="@TOOL_OUTPUT@"~
15062             case $lt_outputfile in
15063               *.exe|*.EXE) ;;
15064               *)
15065                 lt_outputfile="$lt_outputfile.exe"
15066                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15067                 ;;
15068             esac~
15069             func_to_tool_file "$lt_outputfile"~
15070             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15071               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15072               $RM "$lt_outputfile.manifest";
15073             fi'
15074           ;;
15075         *)
15076           # g++
15077           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15078           # as there is no search path for DLLs.
15079           hardcode_libdir_flag_spec_CXX='-L$libdir'
15080           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15081           allow_undefined_flag_CXX=unsupported
15082           always_export_symbols_CXX=no
15083           enable_shared_with_static_runtimes_CXX=yes
15084
15085           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15086             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'
15087             # If the export-symbols file already is a .def file (1st line
15088             # is EXPORTS), use it as is; otherwise, prepend...
15089             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15090               cp $export_symbols $output_objdir/$soname.def;
15091             else
15092               echo EXPORTS > $output_objdir/$soname.def;
15093               cat $export_symbols >> $output_objdir/$soname.def;
15094             fi~
15095             $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'
15096           else
15097             ld_shlibs_CXX=no
15098           fi
15099           ;;
15100         esac
15101         ;;
15102       darwin* | rhapsody*)
15103         
15104   
15105   archive_cmds_need_lc_CXX=no
15106   hardcode_direct_CXX=no
15107   hardcode_automatic_CXX=yes
15108   hardcode_shlibpath_var_CXX=unsupported
15109   if test "$lt_cv_ld_force_load" = "yes"; then
15110     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\"`'
15111     
15112   else
15113     whole_archive_flag_spec_CXX=''
15114   fi
15115   link_all_deplibs_CXX=yes
15116   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15117   case $cc_basename in
15118      ifort*) _lt_dar_can_shared=yes ;;
15119      *) _lt_dar_can_shared=$GCC ;;
15120   esac
15121   if test "$_lt_dar_can_shared" = "yes"; then
15122     output_verbose_link_cmd=func_echo_all
15123     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}"
15124     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15125     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}"
15126     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}"
15127        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15128       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}"
15129       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}"
15130     fi
15131
15132   else
15133   ld_shlibs_CXX=no
15134   fi
15135
15136         ;;
15137
15138       dgux*)
15139         case $cc_basename in
15140           ec++*)
15141             # FIXME: insert proper C++ library support
15142             ld_shlibs_CXX=no
15143             ;;
15144           ghcx*)
15145             # Green Hills C++ Compiler
15146             # FIXME: insert proper C++ library support
15147             ld_shlibs_CXX=no
15148             ;;
15149           *)
15150             # FIXME: insert proper C++ library support
15151             ld_shlibs_CXX=no
15152             ;;
15153         esac
15154         ;;
15155
15156       freebsd2.*)
15157         # C++ shared libraries reported to be fairly broken before
15158         # switch to ELF
15159         ld_shlibs_CXX=no
15160         ;;
15161
15162       freebsd-elf*)
15163         archive_cmds_need_lc_CXX=no
15164         ;;
15165
15166       freebsd* | dragonfly*)
15167         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15168         # conventions
15169         ld_shlibs_CXX=yes
15170         ;;
15171
15172       gnu*)
15173         ;;
15174
15175       haiku*)
15176         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15177         link_all_deplibs_CXX=yes
15178         ;;
15179
15180       hpux9*)
15181         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15182         hardcode_libdir_separator_CXX=:
15183         export_dynamic_flag_spec_CXX='${wl}-E'
15184         hardcode_direct_CXX=yes
15185         hardcode_minus_L_CXX=yes # Not in the search PATH,
15186                                              # but as the default
15187                                              # location of the library.
15188
15189         case $cc_basename in
15190           CC*)
15191             # FIXME: insert proper C++ library support
15192             ld_shlibs_CXX=no
15193             ;;
15194           aCC*)
15195             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'
15196             # Commands to make compiler produce verbose output that lists
15197             # what "hidden" libraries, object files and flags are used when
15198             # linking a shared library.
15199             #
15200             # There doesn't appear to be a way to prevent this compiler from
15201             # explicitly linking system object files so we need to strip them
15202             # from the output so that they don't get included in the library
15203             # dependencies.
15204             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"'
15205             ;;
15206           *)
15207             if test "$GXX" = yes; then
15208               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'
15209             else
15210               # FIXME: insert proper C++ library support
15211               ld_shlibs_CXX=no
15212             fi
15213             ;;
15214         esac
15215         ;;
15216
15217       hpux10*|hpux11*)
15218         if test $with_gnu_ld = no; then
15219           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15220           hardcode_libdir_separator_CXX=:
15221
15222           case $host_cpu in
15223             hppa*64*|ia64*)
15224               ;;
15225             *)
15226               export_dynamic_flag_spec_CXX='${wl}-E'
15227               ;;
15228           esac
15229         fi
15230         case $host_cpu in
15231           hppa*64*|ia64*)
15232             hardcode_direct_CXX=no
15233             hardcode_shlibpath_var_CXX=no
15234             ;;
15235           *)
15236             hardcode_direct_CXX=yes
15237             hardcode_direct_absolute_CXX=yes
15238             hardcode_minus_L_CXX=yes # Not in the search PATH,
15239                                                  # but as the default
15240                                                  # location of the library.
15241             ;;
15242         esac
15243
15244         case $cc_basename in
15245           CC*)
15246             # FIXME: insert proper C++ library support
15247             ld_shlibs_CXX=no
15248             ;;
15249           aCC*)
15250             case $host_cpu in
15251               hppa*64*)
15252                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15253                 ;;
15254               ia64*)
15255                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15256                 ;;
15257               *)
15258                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15259                 ;;
15260             esac
15261             # Commands to make compiler produce verbose output that lists
15262             # what "hidden" libraries, object files and flags are used when
15263             # linking a shared library.
15264             #
15265             # There doesn't appear to be a way to prevent this compiler from
15266             # explicitly linking system object files so we need to strip them
15267             # from the output so that they don't get included in the library
15268             # dependencies.
15269             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"'
15270             ;;
15271           *)
15272             if test "$GXX" = yes; then
15273               if test $with_gnu_ld = no; then
15274                 case $host_cpu in
15275                   hppa*64*)
15276                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15277                     ;;
15278                   ia64*)
15279                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15280                     ;;
15281                   *)
15282                     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'
15283                     ;;
15284                 esac
15285               fi
15286             else
15287               # FIXME: insert proper C++ library support
15288               ld_shlibs_CXX=no
15289             fi
15290             ;;
15291         esac
15292         ;;
15293
15294       interix[3-9]*)
15295         hardcode_direct_CXX=no
15296         hardcode_shlibpath_var_CXX=no
15297         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15298         export_dynamic_flag_spec_CXX='${wl}-E'
15299         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15300         # Instead, shared libraries are loaded at an image base (0x10000000 by
15301         # default) and relocated if they conflict, which is a slow very memory
15302         # consuming and fragmenting process.  To avoid this, we pick a random,
15303         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15304         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15305         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'
15306         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'
15307         ;;
15308       irix5* | irix6*)
15309         case $cc_basename in
15310           CC*)
15311             # SGI C++
15312             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'
15313
15314             # Archives containing C++ object files must be created using
15315             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15316             # necessary to make sure instantiated templates are included
15317             # in the archive.
15318             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15319             ;;
15320           *)
15321             if test "$GXX" = yes; then
15322               if test "$with_gnu_ld" = no; then
15323                 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'
15324               else
15325                 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'
15326               fi
15327             fi
15328             link_all_deplibs_CXX=yes
15329             ;;
15330         esac
15331         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15332         hardcode_libdir_separator_CXX=:
15333         inherit_rpath_CXX=yes
15334         ;;
15335
15336       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15337         case $cc_basename in
15338           KCC*)
15339             # Kuck and Associates, Inc. (KAI) C++ Compiler
15340
15341             # KCC will only create a shared library if the output file
15342             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15343             # to its proper name (with version) after linking.
15344             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'
15345             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'
15346             # Commands to make compiler produce verbose output that lists
15347             # what "hidden" libraries, object files and flags are used when
15348             # linking a shared library.
15349             #
15350             # There doesn't appear to be a way to prevent this compiler from
15351             # explicitly linking system object files so we need to strip them
15352             # from the output so that they don't get included in the library
15353             # dependencies.
15354             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"'
15355
15356             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15357             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15358
15359             # Archives containing C++ object files must be created using
15360             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15361             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15362             ;;
15363           icpc* | ecpc* )
15364             # Intel C++
15365             with_gnu_ld=yes
15366             # version 8.0 and above of icpc choke on multiply defined symbols
15367             # if we add $predep_objects and $postdep_objects, however 7.1 and
15368             # earlier do not add the objects themselves.
15369             case `$CC -V 2>&1` in
15370               *"Version 7."*)
15371                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15372                 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'
15373                 ;;
15374               *)  # Version 8.0 or newer
15375                 tmp_idyn=
15376                 case $host_cpu in
15377                   ia64*) tmp_idyn=' -i_dynamic';;
15378                 esac
15379                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15380                 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'
15381                 ;;
15382             esac
15383             archive_cmds_need_lc_CXX=no
15384             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15385             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15386             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15387             ;;
15388           pgCC* | pgcpp*)
15389             # Portland Group C++ compiler
15390             case `$CC -V` in
15391             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15392               prelink_cmds_CXX='tpldir=Template.dir~
15393                 rm -rf $tpldir~
15394                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15395                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15396               old_archive_cmds_CXX='tpldir=Template.dir~
15397                 rm -rf $tpldir~
15398                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15399                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15400                 $RANLIB $oldlib'
15401               archive_cmds_CXX='tpldir=Template.dir~
15402                 rm -rf $tpldir~
15403                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15404                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15405               archive_expsym_cmds_CXX='tpldir=Template.dir~
15406                 rm -rf $tpldir~
15407                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15408                 $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'
15409               ;;
15410             *) # Version 6 and above use weak symbols
15411               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15412               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'
15413               ;;
15414             esac
15415
15416             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15417             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15418             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'
15419             ;;
15420           cxx*)
15421             # Compaq C++
15422             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15423             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'
15424
15425             runpath_var=LD_RUN_PATH
15426             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15427             hardcode_libdir_separator_CXX=:
15428
15429             # Commands to make compiler produce verbose output that lists
15430             # what "hidden" libraries, object files and flags are used when
15431             # linking a shared library.
15432             #
15433             # There doesn't appear to be a way to prevent this compiler from
15434             # explicitly linking system object files so we need to strip them
15435             # from the output so that they don't get included in the library
15436             # dependencies.
15437             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'
15438             ;;
15439           xl* | mpixl* | bgxl*)
15440             # IBM XL 8.0 on PPC, with GNU ld
15441             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15442             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15443             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15444             if test "x$supports_anon_versioning" = xyes; then
15445               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15446                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15447                 echo "local: *; };" >> $output_objdir/$libname.ver~
15448                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15449             fi
15450             ;;
15451           *)
15452             case `$CC -V 2>&1 | sed 5q` in
15453             *Sun\ C*)
15454               # Sun C++ 5.9
15455               no_undefined_flag_CXX=' -zdefs'
15456               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15457               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'
15458               hardcode_libdir_flag_spec_CXX='-R$libdir'
15459               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'
15460               compiler_needs_object_CXX=yes
15461
15462               # Not sure whether something based on
15463               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15464               # would be better.
15465               output_verbose_link_cmd='func_echo_all'
15466
15467               # Archives containing C++ object files must be created using
15468               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15469               # necessary to make sure instantiated templates are included
15470               # in the archive.
15471               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15472               ;;
15473             esac
15474             ;;
15475         esac
15476         ;;
15477
15478       lynxos*)
15479         # FIXME: insert proper C++ library support
15480         ld_shlibs_CXX=no
15481         ;;
15482
15483       m88k*)
15484         # FIXME: insert proper C++ library support
15485         ld_shlibs_CXX=no
15486         ;;
15487
15488       mvs*)
15489         case $cc_basename in
15490           cxx*)
15491             # FIXME: insert proper C++ library support
15492             ld_shlibs_CXX=no
15493             ;;
15494           *)
15495             # FIXME: insert proper C++ library support
15496             ld_shlibs_CXX=no
15497             ;;
15498         esac
15499         ;;
15500
15501       netbsd*)
15502         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15503           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15504           wlarc=
15505           hardcode_libdir_flag_spec_CXX='-R$libdir'
15506           hardcode_direct_CXX=yes
15507           hardcode_shlibpath_var_CXX=no
15508         fi
15509         # Workaround some broken pre-1.5 toolchains
15510         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15511         ;;
15512
15513       *nto* | *qnx*)
15514         ld_shlibs_CXX=yes
15515         ;;
15516
15517       openbsd2*)
15518         # C++ shared libraries are fairly broken
15519         ld_shlibs_CXX=no
15520         ;;
15521
15522       openbsd*)
15523         if test -f /usr/libexec/ld.so; then
15524           hardcode_direct_CXX=yes
15525           hardcode_shlibpath_var_CXX=no
15526           hardcode_direct_absolute_CXX=yes
15527           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15528           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15529           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15530             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15531             export_dynamic_flag_spec_CXX='${wl}-E'
15532             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15533           fi
15534           output_verbose_link_cmd=func_echo_all
15535         else
15536           ld_shlibs_CXX=no
15537         fi
15538         ;;
15539
15540       osf3* | osf4* | osf5*)
15541         case $cc_basename in
15542           KCC*)
15543             # Kuck and Associates, Inc. (KAI) C++ Compiler
15544
15545             # KCC will only create a shared library if the output file
15546             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15547             # to its proper name (with version) after linking.
15548             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'
15549
15550             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15551             hardcode_libdir_separator_CXX=:
15552
15553             # Archives containing C++ object files must be created using
15554             # the KAI C++ compiler.
15555             case $host in
15556               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15557               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15558             esac
15559             ;;
15560           RCC*)
15561             # Rational C++ 2.4.1
15562             # FIXME: insert proper C++ library support
15563             ld_shlibs_CXX=no
15564             ;;
15565           cxx*)
15566             case $host in
15567               osf3*)
15568                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15569                 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'
15570                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15571                 ;;
15572               *)
15573                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15574                 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'
15575                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15576                   echo "-hidden">> $lib.exp~
15577                   $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~
15578                   $RM $lib.exp'
15579                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15580                 ;;
15581             esac
15582
15583             hardcode_libdir_separator_CXX=:
15584
15585             # Commands to make compiler produce verbose output that lists
15586             # what "hidden" libraries, object files and flags are used when
15587             # linking a shared library.
15588             #
15589             # There doesn't appear to be a way to prevent this compiler from
15590             # explicitly linking system object files so we need to strip them
15591             # from the output so that they don't get included in the library
15592             # dependencies.
15593             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"'
15594             ;;
15595           *)
15596             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15597               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15598               case $host in
15599                 osf3*)
15600                   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'
15601                   ;;
15602                 *)
15603                   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'
15604                   ;;
15605               esac
15606
15607               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15608               hardcode_libdir_separator_CXX=:
15609
15610               # Commands to make compiler produce verbose output that lists
15611               # what "hidden" libraries, object files and flags are used when
15612               # linking a shared library.
15613               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15614
15615             else
15616               # FIXME: insert proper C++ library support
15617               ld_shlibs_CXX=no
15618             fi
15619             ;;
15620         esac
15621         ;;
15622
15623       psos*)
15624         # FIXME: insert proper C++ library support
15625         ld_shlibs_CXX=no
15626         ;;
15627
15628       sunos4*)
15629         case $cc_basename in
15630           CC*)
15631             # Sun C++ 4.x
15632             # FIXME: insert proper C++ library support
15633             ld_shlibs_CXX=no
15634             ;;
15635           lcc*)
15636             # Lucid
15637             # FIXME: insert proper C++ library support
15638             ld_shlibs_CXX=no
15639             ;;
15640           *)
15641             # FIXME: insert proper C++ library support
15642             ld_shlibs_CXX=no
15643             ;;
15644         esac
15645         ;;
15646
15647       solaris*)
15648         case $cc_basename in
15649           CC* | sunCC*)
15650             # Sun C++ 4.2, 5.x and Centerline C++
15651             archive_cmds_need_lc_CXX=yes
15652             no_undefined_flag_CXX=' -zdefs'
15653             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15654             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15655               $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'
15656
15657             hardcode_libdir_flag_spec_CXX='-R$libdir'
15658             hardcode_shlibpath_var_CXX=no
15659             case $host_os in
15660               solaris2.[0-5] | solaris2.[0-5].*) ;;
15661               *)
15662                 # The compiler driver will combine and reorder linker options,
15663                 # but understands `-z linker_flag'.
15664                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15665                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15666                 ;;
15667             esac
15668             link_all_deplibs_CXX=yes
15669
15670             output_verbose_link_cmd='func_echo_all'
15671
15672             # Archives containing C++ object files must be created using
15673             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15674             # necessary to make sure instantiated templates are included
15675             # in the archive.
15676             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15677             ;;
15678           gcx*)
15679             # Green Hills C++ Compiler
15680             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15681
15682             # The C++ compiler must be used to create the archive.
15683             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15684             ;;
15685           *)
15686             # GNU C++ compiler with Solaris linker
15687             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15688               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15689               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15690                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15691                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15692                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15693
15694                 # Commands to make compiler produce verbose output that lists
15695                 # what "hidden" libraries, object files and flags are used when
15696                 # linking a shared library.
15697                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15698               else
15699                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15700                 # platform.
15701                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15702                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15703                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15704
15705                 # Commands to make compiler produce verbose output that lists
15706                 # what "hidden" libraries, object files and flags are used when
15707                 # linking a shared library.
15708                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15709               fi
15710
15711               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15712               case $host_os in
15713                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15714                 *)
15715                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15716                   ;;
15717               esac
15718             fi
15719             ;;
15720         esac
15721         ;;
15722
15723     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15724       no_undefined_flag_CXX='${wl}-z,text'
15725       archive_cmds_need_lc_CXX=no
15726       hardcode_shlibpath_var_CXX=no
15727       runpath_var='LD_RUN_PATH'
15728
15729       case $cc_basename in
15730         CC*)
15731           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15732           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15733           ;;
15734         *)
15735           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15736           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15737           ;;
15738       esac
15739       ;;
15740
15741       sysv5* | sco3.2v5* | sco5v6*)
15742         # Note: We can NOT use -z defs as we might desire, because we do not
15743         # link with -lc, and that would cause any symbols used from libc to
15744         # always be unresolved, which means just about no library would
15745         # ever link correctly.  If we're not using GNU ld we use -z text
15746         # though, which does catch some bad symbols but isn't as heavy-handed
15747         # as -z defs.
15748         no_undefined_flag_CXX='${wl}-z,text'
15749         allow_undefined_flag_CXX='${wl}-z,nodefs'
15750         archive_cmds_need_lc_CXX=no
15751         hardcode_shlibpath_var_CXX=no
15752         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15753         hardcode_libdir_separator_CXX=':'
15754         link_all_deplibs_CXX=yes
15755         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15756         runpath_var='LD_RUN_PATH'
15757
15758         case $cc_basename in
15759           CC*)
15760             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15761             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15762             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15763               '"$old_archive_cmds_CXX"
15764             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15765               '"$reload_cmds_CXX"
15766             ;;
15767           *)
15768             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15769             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15770             ;;
15771         esac
15772       ;;
15773
15774       tandem*)
15775         case $cc_basename in
15776           NCC*)
15777             # NonStop-UX NCC 3.20
15778             # FIXME: insert proper C++ library support
15779             ld_shlibs_CXX=no
15780             ;;
15781           *)
15782             # FIXME: insert proper C++ library support
15783             ld_shlibs_CXX=no
15784             ;;
15785         esac
15786         ;;
15787
15788       vxworks*)
15789         # FIXME: insert proper C++ library support
15790         ld_shlibs_CXX=no
15791         ;;
15792
15793       *)
15794         # FIXME: insert proper C++ library support
15795         ld_shlibs_CXX=no
15796         ;;
15797     esac
15798
15799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15800 $as_echo "$ld_shlibs_CXX" >&6; }
15801     test "$ld_shlibs_CXX" = no && can_build_shared=no
15802
15803     GCC_CXX="$GXX"
15804     LD_CXX="$LD"
15805
15806     ## CAVEAT EMPTOR:
15807     ## There is no encapsulation within the following macros, do not change
15808     ## the running order or otherwise move them around unless you know exactly
15809     ## what you are doing...
15810     # Dependencies to place before and after the object being linked:
15811 predep_objects_CXX=
15812 postdep_objects_CXX=
15813 predeps_CXX=
15814 postdeps_CXX=
15815 compiler_lib_search_path_CXX=
15816
15817 cat > conftest.$ac_ext <<_LT_EOF
15818 class Foo
15819 {
15820 public:
15821   Foo (void) { a = 0; }
15822 private:
15823   int a;
15824 };
15825 _LT_EOF
15826
15827
15828 _lt_libdeps_save_CFLAGS=$CFLAGS
15829 case "$CC $CFLAGS " in #(
15830 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15831 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15832 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15833 esac
15834
15835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15836   (eval $ac_compile) 2>&5
15837   ac_status=$?
15838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15839   test $ac_status = 0; }; then
15840   # Parse the compiler output and extract the necessary
15841   # objects, libraries and library flags.
15842
15843   # Sentinel used to keep track of whether or not we are before
15844   # the conftest object file.
15845   pre_test_object_deps_done=no
15846
15847   for p in `eval "$output_verbose_link_cmd"`; do
15848     case ${prev}${p} in
15849
15850     -L* | -R* | -l*)
15851        # Some compilers place space between "-{L,R}" and the path.
15852        # Remove the space.
15853        if test $p = "-L" ||
15854           test $p = "-R"; then
15855          prev=$p
15856          continue
15857        fi
15858
15859        # Expand the sysroot to ease extracting the directories later.
15860        if test -z "$prev"; then
15861          case $p in
15862          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15863          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15864          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15865          esac
15866        fi
15867        case $p in
15868        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15869        esac
15870        if test "$pre_test_object_deps_done" = no; then
15871          case ${prev} in
15872          -L | -R)
15873            # Internal compiler library paths should come after those
15874            # provided the user.  The postdeps already come after the
15875            # user supplied libs so there is no need to process them.
15876            if test -z "$compiler_lib_search_path_CXX"; then
15877              compiler_lib_search_path_CXX="${prev}${p}"
15878            else
15879              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15880            fi
15881            ;;
15882          # The "-l" case would never come before the object being
15883          # linked, so don't bother handling this case.
15884          esac
15885        else
15886          if test -z "$postdeps_CXX"; then
15887            postdeps_CXX="${prev}${p}"
15888          else
15889            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15890          fi
15891        fi
15892        prev=
15893        ;;
15894
15895     *.lto.$objext) ;; # Ignore GCC LTO objects
15896     *.$objext)
15897        # This assumes that the test object file only shows up
15898        # once in the compiler output.
15899        if test "$p" = "conftest.$objext"; then
15900          pre_test_object_deps_done=yes
15901          continue
15902        fi
15903
15904        if test "$pre_test_object_deps_done" = no; then
15905          if test -z "$predep_objects_CXX"; then
15906            predep_objects_CXX="$p"
15907          else
15908            predep_objects_CXX="$predep_objects_CXX $p"
15909          fi
15910        else
15911          if test -z "$postdep_objects_CXX"; then
15912            postdep_objects_CXX="$p"
15913          else
15914            postdep_objects_CXX="$postdep_objects_CXX $p"
15915          fi
15916        fi
15917        ;;
15918
15919     *) ;; # Ignore the rest.
15920
15921     esac
15922   done
15923
15924   # Clean up.
15925   rm -f a.out a.exe
15926 else
15927   echo "libtool.m4: error: problem compiling CXX test program"
15928 fi
15929
15930 $RM -f confest.$objext
15931 CFLAGS=$_lt_libdeps_save_CFLAGS
15932
15933 # PORTME: override above test on systems where it is broken
15934 case $host_os in
15935 interix[3-9]*)
15936   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15937   # hack all around it, let's just trust "g++" to DTRT.
15938   predep_objects_CXX=
15939   postdep_objects_CXX=
15940   postdeps_CXX=
15941   ;;
15942
15943 linux*)
15944   case `$CC -V 2>&1 | sed 5q` in
15945   *Sun\ C*)
15946     # Sun C++ 5.9
15947
15948     # The more standards-conforming stlport4 library is
15949     # incompatible with the Cstd library. Avoid specifying
15950     # it if it's in CXXFLAGS. Ignore libCrun as
15951     # -library=stlport4 depends on it.
15952     case " $CXX $CXXFLAGS " in
15953     *" -library=stlport4 "*)
15954       solaris_use_stlport4=yes
15955       ;;
15956     esac
15957
15958     if test "$solaris_use_stlport4" != yes; then
15959       postdeps_CXX='-library=Cstd -library=Crun'
15960     fi
15961     ;;
15962   esac
15963   ;;
15964
15965 solaris*)
15966   case $cc_basename in
15967   CC* | sunCC*)
15968     # The more standards-conforming stlport4 library is
15969     # incompatible with the Cstd library. Avoid specifying
15970     # it if it's in CXXFLAGS. Ignore libCrun as
15971     # -library=stlport4 depends on it.
15972     case " $CXX $CXXFLAGS " in
15973     *" -library=stlport4 "*)
15974       solaris_use_stlport4=yes
15975       ;;
15976     esac
15977
15978     # Adding this requires a known-good setup of shared libraries for
15979     # Sun compiler versions before 5.6, else PIC objects from an old
15980     # archive will be linked into the output, leading to subtle bugs.
15981     if test "$solaris_use_stlport4" != yes; then
15982       postdeps_CXX='-library=Cstd -library=Crun'
15983     fi
15984     ;;
15985   esac
15986   ;;
15987 esac
15988
15989
15990 case " $postdeps_CXX " in
15991 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15992 esac
15993  compiler_lib_search_dirs_CXX=
15994 if test -n "${compiler_lib_search_path_CXX}"; then
15995  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15996 fi
15997
15998     
15999     
16000     
16001
16002
16003     
16004     
16005     
16006
16007
16008     
16009     
16010     
16011
16012
16013     
16014     
16015     
16016
16017
16018     
16019     
16020     
16021
16022
16023     
16024     
16025     
16026
16027
16028     lt_prog_compiler_wl_CXX=
16029 lt_prog_compiler_pic_CXX=
16030 lt_prog_compiler_static_CXX=
16031
16032
16033   # C++ specific cases for pic, static, wl, etc.
16034   if test "$GXX" = yes; then
16035     lt_prog_compiler_wl_CXX='-Wl,'
16036     lt_prog_compiler_static_CXX='-static'
16037
16038     case $host_os in
16039     aix*)
16040       # All AIX code is PIC.
16041       if test "$host_cpu" = ia64; then
16042         # AIX 5 now supports IA64 processor
16043         lt_prog_compiler_static_CXX='-Bstatic'
16044       fi
16045       ;;
16046
16047     amigaos*)
16048       case $host_cpu in
16049       powerpc)
16050             # see comment about AmigaOS4 .so support
16051             lt_prog_compiler_pic_CXX='-fPIC'
16052         ;;
16053       m68k)
16054             # FIXME: we need at least 68020 code to build shared libraries, but
16055             # adding the `-m68020' flag to GCC prevents building anything better,
16056             # like `-m68040'.
16057             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16058         ;;
16059       esac
16060       ;;
16061
16062     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16063       # PIC is the default for these OSes.
16064       ;;
16065     mingw* | cygwin* | os2* | pw32* | cegcc*)
16066       # This hack is so that the source file can tell whether it is being
16067       # built for inclusion in a dll (and should export symbols for example).
16068       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16069       # (--disable-auto-import) libraries
16070       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16071       ;;
16072     darwin* | rhapsody*)
16073       # PIC is the default on this platform
16074       # Common symbols not allowed in MH_DYLIB files
16075       lt_prog_compiler_pic_CXX='-fno-common'
16076       ;;
16077     *djgpp*)
16078       # DJGPP does not support shared libraries at all
16079       lt_prog_compiler_pic_CXX=
16080       ;;
16081     haiku*)
16082       # PIC is the default for Haiku.
16083       # The "-static" flag exists, but is broken.
16084       lt_prog_compiler_static_CXX=
16085       ;;
16086     interix[3-9]*)
16087       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16088       # Instead, we relocate shared libraries at runtime.
16089       ;;
16090     sysv4*MP*)
16091       if test -d /usr/nec; then
16092         lt_prog_compiler_pic_CXX=-Kconform_pic
16093       fi
16094       ;;
16095     hpux*)
16096       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16097       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16098       # sets the default TLS model and affects inlining.
16099       case $host_cpu in
16100       hppa*64*)
16101         ;;
16102       *)
16103         lt_prog_compiler_pic_CXX='-fPIC'
16104         ;;
16105       esac
16106       ;;
16107     *qnx* | *nto*)
16108       # QNX uses GNU C++, but need to define -shared option too, otherwise
16109       # it will coredump.
16110       lt_prog_compiler_pic_CXX='-fPIC -shared'
16111       ;;
16112     *)
16113       lt_prog_compiler_pic_CXX='-fPIC'
16114       ;;
16115     esac
16116   else
16117     case $host_os in
16118       aix[4-9]*)
16119         # All AIX code is PIC.
16120         if test "$host_cpu" = ia64; then
16121           # AIX 5 now supports IA64 processor
16122           lt_prog_compiler_static_CXX='-Bstatic'
16123         else
16124           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16125         fi
16126         ;;
16127       chorus*)
16128         case $cc_basename in
16129         cxch68*)
16130           # Green Hills C++ Compiler
16131           # _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"
16132           ;;
16133         esac
16134         ;;
16135       mingw* | cygwin* | os2* | pw32* | cegcc*)
16136         # This hack is so that the source file can tell whether it is being
16137         # built for inclusion in a dll (and should export symbols for example).
16138         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16139         ;;
16140       dgux*)
16141         case $cc_basename in
16142           ec++*)
16143             lt_prog_compiler_pic_CXX='-KPIC'
16144             ;;
16145           ghcx*)
16146             # Green Hills C++ Compiler
16147             lt_prog_compiler_pic_CXX='-pic'
16148             ;;
16149           *)
16150             ;;
16151         esac
16152         ;;
16153       freebsd* | dragonfly*)
16154         # FreeBSD uses GNU C++
16155         ;;
16156       hpux9* | hpux10* | hpux11*)
16157         case $cc_basename in
16158           CC*)
16159             lt_prog_compiler_wl_CXX='-Wl,'
16160             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16161             if test "$host_cpu" != ia64; then
16162               lt_prog_compiler_pic_CXX='+Z'
16163             fi
16164             ;;
16165           aCC*)
16166             lt_prog_compiler_wl_CXX='-Wl,'
16167             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16168             case $host_cpu in
16169             hppa*64*|ia64*)
16170               # +Z the default
16171               ;;
16172             *)
16173               lt_prog_compiler_pic_CXX='+Z'
16174               ;;
16175             esac
16176             ;;
16177           *)
16178             ;;
16179         esac
16180         ;;
16181       interix*)
16182         # This is c89, which is MS Visual C++ (no shared libs)
16183         # Anyone wants to do a port?
16184         ;;
16185       irix5* | irix6* | nonstopux*)
16186         case $cc_basename in
16187           CC*)
16188             lt_prog_compiler_wl_CXX='-Wl,'
16189             lt_prog_compiler_static_CXX='-non_shared'
16190             # CC pic flag -KPIC is the default.
16191             ;;
16192           *)
16193             ;;
16194         esac
16195         ;;
16196       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16197         case $cc_basename in
16198           KCC*)
16199             # KAI C++ Compiler
16200             lt_prog_compiler_wl_CXX='--backend -Wl,'
16201             lt_prog_compiler_pic_CXX='-fPIC'
16202             ;;
16203           ecpc* )
16204             # old Intel C++ for x86_64 which still supported -KPIC.
16205             lt_prog_compiler_wl_CXX='-Wl,'
16206             lt_prog_compiler_pic_CXX='-KPIC'
16207             lt_prog_compiler_static_CXX='-static'
16208             ;;
16209           icpc* )
16210             # Intel C++, used to be incompatible with GCC.
16211             # ICC 10 doesn't accept -KPIC any more.
16212             lt_prog_compiler_wl_CXX='-Wl,'
16213             lt_prog_compiler_pic_CXX='-fPIC'
16214             lt_prog_compiler_static_CXX='-static'
16215             ;;
16216           pgCC* | pgcpp*)
16217             # Portland Group C++ compiler
16218             lt_prog_compiler_wl_CXX='-Wl,'
16219             lt_prog_compiler_pic_CXX='-fpic'
16220             lt_prog_compiler_static_CXX='-Bstatic'
16221             ;;
16222           cxx*)
16223             # Compaq C++
16224             # Make sure the PIC flag is empty.  It appears that all Alpha
16225             # Linux and Compaq Tru64 Unix objects are PIC.
16226             lt_prog_compiler_pic_CXX=
16227             lt_prog_compiler_static_CXX='-non_shared'
16228             ;;
16229           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16230             # IBM XL 8.0, 9.0 on PPC and BlueGene
16231             lt_prog_compiler_wl_CXX='-Wl,'
16232             lt_prog_compiler_pic_CXX='-qpic'
16233             lt_prog_compiler_static_CXX='-qstaticlink'
16234             ;;
16235           *)
16236             case `$CC -V 2>&1 | sed 5q` in
16237             *Sun\ C*)
16238               # Sun C++ 5.9
16239               lt_prog_compiler_pic_CXX='-KPIC'
16240               lt_prog_compiler_static_CXX='-Bstatic'
16241               lt_prog_compiler_wl_CXX='-Qoption ld '
16242               ;;
16243             esac
16244             ;;
16245         esac
16246         ;;
16247       lynxos*)
16248         ;;
16249       m88k*)
16250         ;;
16251       mvs*)
16252         case $cc_basename in
16253           cxx*)
16254             lt_prog_compiler_pic_CXX='-W c,exportall'
16255             ;;
16256           *)
16257             ;;
16258         esac
16259         ;;
16260       netbsd* | netbsdelf*-gnu)
16261         ;;
16262       *qnx* | *nto*)
16263         # QNX uses GNU C++, but need to define -shared option too, otherwise
16264         # it will coredump.
16265         lt_prog_compiler_pic_CXX='-fPIC -shared'
16266         ;;
16267       osf3* | osf4* | osf5*)
16268         case $cc_basename in
16269           KCC*)
16270             lt_prog_compiler_wl_CXX='--backend -Wl,'
16271             ;;
16272           RCC*)
16273             # Rational C++ 2.4.1
16274             lt_prog_compiler_pic_CXX='-pic'
16275             ;;
16276           cxx*)
16277             # Digital/Compaq C++
16278             lt_prog_compiler_wl_CXX='-Wl,'
16279             # Make sure the PIC flag is empty.  It appears that all Alpha
16280             # Linux and Compaq Tru64 Unix objects are PIC.
16281             lt_prog_compiler_pic_CXX=
16282             lt_prog_compiler_static_CXX='-non_shared'
16283             ;;
16284           *)
16285             ;;
16286         esac
16287         ;;
16288       psos*)
16289         ;;
16290       solaris*)
16291         case $cc_basename in
16292           CC* | sunCC*)
16293             # Sun C++ 4.2, 5.x and Centerline C++
16294             lt_prog_compiler_pic_CXX='-KPIC'
16295             lt_prog_compiler_static_CXX='-Bstatic'
16296             lt_prog_compiler_wl_CXX='-Qoption ld '
16297             ;;
16298           gcx*)
16299             # Green Hills C++ Compiler
16300             lt_prog_compiler_pic_CXX='-PIC'
16301             ;;
16302           *)
16303             ;;
16304         esac
16305         ;;
16306       sunos4*)
16307         case $cc_basename in
16308           CC*)
16309             # Sun C++ 4.x
16310             lt_prog_compiler_pic_CXX='-pic'
16311             lt_prog_compiler_static_CXX='-Bstatic'
16312             ;;
16313           lcc*)
16314             # Lucid
16315             lt_prog_compiler_pic_CXX='-pic'
16316             ;;
16317           *)
16318             ;;
16319         esac
16320         ;;
16321       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16322         case $cc_basename in
16323           CC*)
16324             lt_prog_compiler_wl_CXX='-Wl,'
16325             lt_prog_compiler_pic_CXX='-KPIC'
16326             lt_prog_compiler_static_CXX='-Bstatic'
16327             ;;
16328         esac
16329         ;;
16330       tandem*)
16331         case $cc_basename in
16332           NCC*)
16333             # NonStop-UX NCC 3.20
16334             lt_prog_compiler_pic_CXX='-KPIC'
16335             ;;
16336           *)
16337             ;;
16338         esac
16339         ;;
16340       vxworks*)
16341         ;;
16342       *)
16343         lt_prog_compiler_can_build_shared_CXX=no
16344         ;;
16345     esac
16346   fi
16347
16348 case $host_os in
16349   # For platforms which do not support PIC, -DPIC is meaningless:
16350   *djgpp*)
16351     lt_prog_compiler_pic_CXX=
16352     ;;
16353   *)
16354     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
16355     ;;
16356 esac
16357
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16359 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16360 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16361   $as_echo_n "(cached) " >&6
16362 else
16363   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16364 fi
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16366 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16367 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16368
16369 #
16370 # Check to make sure the PIC flag actually works.
16371 #
16372 if test -n "$lt_prog_compiler_pic_CXX"; then
16373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16374 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16375 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16376   $as_echo_n "(cached) " >&6
16377 else
16378   lt_cv_prog_compiler_pic_works_CXX=no
16379    ac_outfile=conftest.$ac_objext
16380    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16381    lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
16382    # Insert the option either (1) after the last *FLAGS variable, or
16383    # (2) before a word containing "conftest.", or (3) at the end.
16384    # Note that $ac_compile itself does not contain backslashes and begins
16385    # with a dollar sign (not a hyphen), so the echo should work correctly.
16386    # The option is referenced via a variable to avoid confusing sed.
16387    lt_compile=`echo "$ac_compile" | $SED \
16388    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16389    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16390    -e 's:$: $lt_compiler_flag:'`
16391    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16392    (eval "$lt_compile" 2>conftest.err)
16393    ac_status=$?
16394    cat conftest.err >&5
16395    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396    if (exit $ac_status) && test -s "$ac_outfile"; then
16397      # The compiler can only warn and ignore the option if not recognized
16398      # So say no if there are warnings other than the usual output.
16399      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16400      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16401      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16402        lt_cv_prog_compiler_pic_works_CXX=yes
16403      fi
16404    fi
16405    $RM conftest*
16406
16407 fi
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16409 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16410
16411 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16412     case $lt_prog_compiler_pic_CXX in
16413      "" | " "*) ;;
16414      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16415      esac
16416 else
16417     lt_prog_compiler_pic_CXX=
16418      lt_prog_compiler_can_build_shared_CXX=no
16419 fi
16420
16421 fi
16422
16423
16424
16425
16426
16427 #
16428 # Check to make sure the static flag actually works.
16429 #
16430 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16432 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16433 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16434   $as_echo_n "(cached) " >&6
16435 else
16436   lt_cv_prog_compiler_static_works_CXX=no
16437    save_LDFLAGS="$LDFLAGS"
16438    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16439    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16440    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16441      # The linker can only warn and ignore the option if not recognized
16442      # So say no if there are warnings
16443      if test -s conftest.err; then
16444        # Append any errors to the config.log.
16445        cat conftest.err 1>&5
16446        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16447        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16448        if diff conftest.exp conftest.er2 >/dev/null; then
16449          lt_cv_prog_compiler_static_works_CXX=yes
16450        fi
16451      else
16452        lt_cv_prog_compiler_static_works_CXX=yes
16453      fi
16454    fi
16455    $RM -r conftest*
16456    LDFLAGS="$save_LDFLAGS"
16457
16458 fi
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16460 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16461
16462 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16463     :
16464 else
16465     lt_prog_compiler_static_CXX=
16466 fi
16467
16468
16469
16470
16471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16472 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16473 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16474   $as_echo_n "(cached) " >&6
16475 else
16476   lt_cv_prog_compiler_c_o_CXX=no
16477    $RM -r conftest 2>/dev/null
16478    mkdir conftest
16479    cd conftest
16480    mkdir out
16481    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16482
16483    lt_compiler_flag="-o out/conftest2.$ac_objext"
16484    # Insert the option either (1) after the last *FLAGS variable, or
16485    # (2) before a word containing "conftest.", or (3) at the end.
16486    # Note that $ac_compile itself does not contain backslashes and begins
16487    # with a dollar sign (not a hyphen), so the echo should work correctly.
16488    lt_compile=`echo "$ac_compile" | $SED \
16489    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16490    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16491    -e 's:$: $lt_compiler_flag:'`
16492    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16493    (eval "$lt_compile" 2>out/conftest.err)
16494    ac_status=$?
16495    cat out/conftest.err >&5
16496    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16498    then
16499      # The compiler can only warn and ignore the option if not recognized
16500      # So say no if there are warnings
16501      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16502      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16503      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16504        lt_cv_prog_compiler_c_o_CXX=yes
16505      fi
16506    fi
16507    chmod u+w . 2>&5
16508    $RM conftest*
16509    # SGI C++ compiler will create directory out/ii_files/ for
16510    # template instantiation
16511    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16512    $RM out/* && rmdir out
16513    cd ..
16514    $RM -r conftest
16515    $RM conftest*
16516
16517 fi
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16519 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16520
16521
16522
16523     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16524 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16525 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16526   $as_echo_n "(cached) " >&6
16527 else
16528   lt_cv_prog_compiler_c_o_CXX=no
16529    $RM -r conftest 2>/dev/null
16530    mkdir conftest
16531    cd conftest
16532    mkdir out
16533    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16534
16535    lt_compiler_flag="-o out/conftest2.$ac_objext"
16536    # Insert the option either (1) after the last *FLAGS variable, or
16537    # (2) before a word containing "conftest.", or (3) at the end.
16538    # Note that $ac_compile itself does not contain backslashes and begins
16539    # with a dollar sign (not a hyphen), so the echo should work correctly.
16540    lt_compile=`echo "$ac_compile" | $SED \
16541    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16542    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16543    -e 's:$: $lt_compiler_flag:'`
16544    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16545    (eval "$lt_compile" 2>out/conftest.err)
16546    ac_status=$?
16547    cat out/conftest.err >&5
16548    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16550    then
16551      # The compiler can only warn and ignore the option if not recognized
16552      # So say no if there are warnings
16553      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16554      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16555      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16556        lt_cv_prog_compiler_c_o_CXX=yes
16557      fi
16558    fi
16559    chmod u+w . 2>&5
16560    $RM conftest*
16561    # SGI C++ compiler will create directory out/ii_files/ for
16562    # template instantiation
16563    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16564    $RM out/* && rmdir out
16565    cd ..
16566    $RM -r conftest
16567    $RM conftest*
16568
16569 fi
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16571 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16572
16573
16574
16575
16576 hard_links="nottested"
16577 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16578   # do not overwrite the value of need_locks provided by the user
16579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16580 $as_echo_n "checking if we can lock with hard links... " >&6; }
16581   hard_links=yes
16582   $RM conftest*
16583   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16584   touch conftest.a
16585   ln conftest.a conftest.b 2>&5 || hard_links=no
16586   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16588 $as_echo "$hard_links" >&6; }
16589   if test "$hard_links" = no; then
16590     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16591 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16592     need_locks=warn
16593   fi
16594 else
16595   need_locks=no
16596 fi
16597
16598
16599
16600     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16601 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16602
16603   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16604   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16605   case $host_os in
16606   aix[4-9]*)
16607     # If we're using GNU nm, then we don't want the "-C" option.
16608     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16609     # Also, AIX nm treats weak defined symbols like other global defined
16610     # symbols, whereas GNU nm marks them as "W".
16611     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16612       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'
16613     else
16614       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'
16615     fi
16616     ;;
16617   pw32*)
16618     export_symbols_cmds_CXX="$ltdll_cmds"
16619     ;;
16620   cygwin* | mingw* | cegcc*)
16621     case $cc_basename in
16622     cl*)
16623       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16624       ;;
16625     *)
16626       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'
16627       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16628       ;;
16629     esac
16630     ;;
16631   linux* | k*bsd*-gnu | gnu*)
16632     link_all_deplibs_CXX=no
16633     ;;
16634   *)
16635     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16636     ;;
16637   esac
16638
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16640 $as_echo "$ld_shlibs_CXX" >&6; }
16641 test "$ld_shlibs_CXX" = no && can_build_shared=no
16642
16643 with_gnu_ld_CXX=$with_gnu_ld
16644
16645
16646
16647
16648
16649
16650 #
16651 # Do we need to explicitly link libc?
16652 #
16653 case "x$archive_cmds_need_lc_CXX" in
16654 x|xyes)
16655   # Assume -lc should be added
16656   archive_cmds_need_lc_CXX=yes
16657
16658   if test "$enable_shared" = yes && test "$GCC" = yes; then
16659     case $archive_cmds_CXX in
16660     *'~'*)
16661       # FIXME: we may have to deal with multi-command sequences.
16662       ;;
16663     '$CC '*)
16664       # Test whether the compiler implicitly links with -lc since on some
16665       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16666       # to ld, don't add -lc before -lgcc.
16667       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16668 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16669 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16670   $as_echo_n "(cached) " >&6
16671 else
16672   $RM conftest*
16673         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16674
16675         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16676   (eval $ac_compile) 2>&5
16677   ac_status=$?
16678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16679   test $ac_status = 0; } 2>conftest.err; then
16680           soname=conftest
16681           lib=conftest
16682           libobjs=conftest.$ac_objext
16683           deplibs=
16684           wl=$lt_prog_compiler_wl_CXX
16685           pic_flag=$lt_prog_compiler_pic_CXX
16686           compiler_flags=-v
16687           linker_flags=-v
16688           verstring=
16689           output_objdir=.
16690           libname=conftest
16691           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16692           allow_undefined_flag_CXX=
16693           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16694   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16695   ac_status=$?
16696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16697   test $ac_status = 0; }
16698           then
16699             lt_cv_archive_cmds_need_lc_CXX=no
16700           else
16701             lt_cv_archive_cmds_need_lc_CXX=yes
16702           fi
16703           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16704         else
16705           cat conftest.err 1>&5
16706         fi
16707         $RM conftest*
16708         
16709 fi
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16711 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16712       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16713       ;;
16714     esac
16715   fi
16716   ;;
16717 esac
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16781 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16782
16783 library_names_spec=
16784 libname_spec='lib$name'
16785 soname_spec=
16786 shrext_cmds=".so"
16787 postinstall_cmds=
16788 postuninstall_cmds=
16789 finish_cmds=
16790 finish_eval=
16791 shlibpath_var=
16792 shlibpath_overrides_runpath=unknown
16793 version_type=none
16794 dynamic_linker="$host_os ld.so"
16795 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16796 need_lib_prefix=unknown
16797 hardcode_into_libs=no
16798
16799 # when you set need_version to no, make sure it does not cause -set_version
16800 # flags to be left without arguments
16801 need_version=unknown
16802
16803 case $host_os in
16804 aix3*)
16805   version_type=linux # correct to gnu/linux during the next big refactor
16806   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16807   shlibpath_var=LIBPATH
16808
16809   # AIX 3 has no versioning support, so we append a major version to the name.
16810   soname_spec='${libname}${release}${shared_ext}$major'
16811   ;;
16812
16813 aix[4-9]*)
16814   version_type=linux # correct to gnu/linux during the next big refactor
16815   need_lib_prefix=no
16816   need_version=no
16817   hardcode_into_libs=yes
16818   if test "$host_cpu" = ia64; then
16819     # AIX 5 supports IA64
16820     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16821     shlibpath_var=LD_LIBRARY_PATH
16822   else
16823     # With GCC up to 2.95.x, collect2 would create an import file
16824     # for dependence libraries.  The import file would start with
16825     # the line `#! .'.  This would cause the generated library to
16826     # depend on `.', always an invalid library.  This was fixed in
16827     # development snapshots of GCC prior to 3.0.
16828     case $host_os in
16829       aix4 | aix4.[01] | aix4.[01].*)
16830       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16831            echo ' yes '
16832            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16833         :
16834       else
16835         can_build_shared=no
16836       fi
16837       ;;
16838     esac
16839     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16840     # soname into executable. Probably we can add versioning support to
16841     # collect2, so additional links can be useful in future.
16842     if test "$aix_use_runtimelinking" = yes; then
16843       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16844       # instead of lib<name>.a to let people know that these are not
16845       # typical AIX shared libraries.
16846       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16847     else
16848       # We preserve .a as extension for shared libraries through AIX4.2
16849       # and later when we are not doing run time linking.
16850       library_names_spec='${libname}${release}.a $libname.a'
16851       soname_spec='${libname}${release}${shared_ext}$major'
16852     fi
16853     shlibpath_var=LIBPATH
16854   fi
16855   ;;
16856
16857 amigaos*)
16858   case $host_cpu in
16859   powerpc)
16860     # Since July 2007 AmigaOS4 officially supports .so libraries.
16861     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16862     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16863     ;;
16864   m68k)
16865     library_names_spec='$libname.ixlibrary $libname.a'
16866     # Create ${libname}_ixlibrary.a entries in /sys/libs.
16867     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'
16868     ;;
16869   esac
16870   ;;
16871
16872 beos*)
16873   library_names_spec='${libname}${shared_ext}'
16874   dynamic_linker="$host_os ld.so"
16875   shlibpath_var=LIBRARY_PATH
16876   ;;
16877
16878 bsdi[45]*)
16879   version_type=linux # correct to gnu/linux during the next big refactor
16880   need_version=no
16881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16882   soname_spec='${libname}${release}${shared_ext}$major'
16883   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16884   shlibpath_var=LD_LIBRARY_PATH
16885   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16886   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16887   # the default ld.so.conf also contains /usr/contrib/lib and
16888   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16889   # libtool to hard-code these into programs
16890   ;;
16891
16892 cygwin* | mingw* | pw32* | cegcc*)
16893   version_type=windows
16894   shrext_cmds=".dll"
16895   need_version=no
16896   need_lib_prefix=no
16897
16898   case $GCC,$cc_basename in
16899   yes,*)
16900     # gcc
16901     library_names_spec='$libname.dll.a'
16902     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16903     postinstall_cmds='base_file=`basename \${file}`~
16904       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16905       dldir=$destdir/`dirname \$dlpath`~
16906       test -d \$dldir || mkdir -p \$dldir~
16907       $install_prog $dir/$dlname \$dldir/$dlname~
16908       chmod a+x \$dldir/$dlname~
16909       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16910         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16911       fi'
16912     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16913       dlpath=$dir/\$dldll~
16914        $RM \$dlpath'
16915     shlibpath_overrides_runpath=yes
16916
16917     case $host_os in
16918     cygwin*)
16919       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16920       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16921
16922       ;;
16923     mingw* | cegcc*)
16924       # MinGW DLLs use traditional 'lib' prefix
16925       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16926       ;;
16927     pw32*)
16928       # pw32 DLLs use 'pw' prefix rather than 'lib'
16929       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16930       ;;
16931     esac
16932     dynamic_linker='Win32 ld.exe'
16933     ;;
16934
16935   *,cl*)
16936     # Native MSVC
16937     libname_spec='$name'
16938     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16939     library_names_spec='${libname}.dll.lib'
16940
16941     case $build_os in
16942     mingw*)
16943       sys_lib_search_path_spec=
16944       lt_save_ifs=$IFS
16945       IFS=';'
16946       for lt_path in $LIB
16947       do
16948         IFS=$lt_save_ifs
16949         # Let DOS variable expansion print the short 8.3 style file name.
16950         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16951         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16952       done
16953       IFS=$lt_save_ifs
16954       # Convert to MSYS style.
16955       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16956       ;;
16957     cygwin*)
16958       # Convert to unix form, then to dos form, then back to unix form
16959       # but this time dos style (no spaces!) so that the unix form looks
16960       # like /cygdrive/c/PROGRA~1:/cygdr...
16961       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16962       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16963       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16964       ;;
16965     *)
16966       sys_lib_search_path_spec="$LIB"
16967       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16968         # It is most probably a Windows format PATH.
16969         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16970       else
16971         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16972       fi
16973       # FIXME: find the short name or the path components, as spaces are
16974       # common. (e.g. "Program Files" -> "PROGRA~1")
16975       ;;
16976     esac
16977
16978     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16979     postinstall_cmds='base_file=`basename \${file}`~
16980       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16981       dldir=$destdir/`dirname \$dlpath`~
16982       test -d \$dldir || mkdir -p \$dldir~
16983       $install_prog $dir/$dlname \$dldir/$dlname'
16984     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16985       dlpath=$dir/\$dldll~
16986        $RM \$dlpath'
16987     shlibpath_overrides_runpath=yes
16988     dynamic_linker='Win32 link.exe'
16989     ;;
16990
16991   *)
16992     # Assume MSVC wrapper
16993     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16994     dynamic_linker='Win32 ld.exe'
16995     ;;
16996   esac
16997   # FIXME: first we should search . and the directory the executable is in
16998   shlibpath_var=PATH
16999   ;;
17000
17001 darwin* | rhapsody*)
17002   dynamic_linker="$host_os dyld"
17003   version_type=darwin
17004   need_lib_prefix=no
17005   need_version=no
17006   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17007   soname_spec='${libname}${release}${major}$shared_ext'
17008   shlibpath_overrides_runpath=yes
17009   shlibpath_var=DYLD_LIBRARY_PATH
17010   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17011
17012   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17013   ;;
17014
17015 dgux*)
17016   version_type=linux # correct to gnu/linux during the next big refactor
17017   need_lib_prefix=no
17018   need_version=no
17019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17020   soname_spec='${libname}${release}${shared_ext}$major'
17021   shlibpath_var=LD_LIBRARY_PATH
17022   ;;
17023
17024 freebsd* | dragonfly*)
17025   # DragonFly does not have aout.  When/if they implement a new
17026   # versioning mechanism, adjust this.
17027   if test -x /usr/bin/objformat; then
17028     objformat=`/usr/bin/objformat`
17029   else
17030     case $host_os in
17031     freebsd[23].*) objformat=aout ;;
17032     *) objformat=elf ;;
17033     esac
17034   fi
17035   version_type=freebsd-$objformat
17036   case $version_type in
17037     freebsd-elf*)
17038       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17039       need_version=no
17040       need_lib_prefix=no
17041       ;;
17042     freebsd-*)
17043       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17044       need_version=yes
17045       ;;
17046   esac
17047   shlibpath_var=LD_LIBRARY_PATH
17048   case $host_os in
17049   freebsd2.*)
17050     shlibpath_overrides_runpath=yes
17051     ;;
17052   freebsd3.[01]* | freebsdelf3.[01]*)
17053     shlibpath_overrides_runpath=yes
17054     hardcode_into_libs=yes
17055     ;;
17056   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17057   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17058     shlibpath_overrides_runpath=no
17059     hardcode_into_libs=yes
17060     ;;
17061   *) # from 4.6 on, and DragonFly
17062     shlibpath_overrides_runpath=yes
17063     hardcode_into_libs=yes
17064     ;;
17065   esac
17066   ;;
17067
17068 gnu*)
17069   version_type=linux # correct to gnu/linux during the next big refactor
17070   need_lib_prefix=no
17071   need_version=no
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   shlibpath_var=LD_LIBRARY_PATH
17075   shlibpath_overrides_runpath=no
17076   hardcode_into_libs=yes
17077   ;;
17078
17079 haiku*)
17080   version_type=linux # correct to gnu/linux during the next big refactor
17081   need_lib_prefix=no
17082   need_version=no
17083   dynamic_linker="$host_os runtime_loader"
17084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17085   soname_spec='${libname}${release}${shared_ext}$major'
17086   shlibpath_var=LIBRARY_PATH
17087   shlibpath_overrides_runpath=yes
17088   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17089   hardcode_into_libs=yes
17090   ;;
17091
17092 hpux9* | hpux10* | hpux11*)
17093   # Give a soname corresponding to the major version so that dld.sl refuses to
17094   # link against other versions.
17095   version_type=sunos
17096   need_lib_prefix=no
17097   need_version=no
17098   case $host_cpu in
17099   ia64*)
17100     shrext_cmds='.so'
17101     hardcode_into_libs=yes
17102     dynamic_linker="$host_os dld.so"
17103     shlibpath_var=LD_LIBRARY_PATH
17104     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17105     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17106     soname_spec='${libname}${release}${shared_ext}$major'
17107     if test "X$HPUX_IA64_MODE" = X32; then
17108       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17109     else
17110       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17111     fi
17112     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17113     ;;
17114   hppa*64*)
17115     shrext_cmds='.sl'
17116     hardcode_into_libs=yes
17117     dynamic_linker="$host_os dld.sl"
17118     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17119     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17120     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17121     soname_spec='${libname}${release}${shared_ext}$major'
17122     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17123     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17124     ;;
17125   *)
17126     shrext_cmds='.sl'
17127     dynamic_linker="$host_os dld.sl"
17128     shlibpath_var=SHLIB_PATH
17129     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17130     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17131     soname_spec='${libname}${release}${shared_ext}$major'
17132     ;;
17133   esac
17134   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17135   postinstall_cmds='chmod 555 $lib'
17136   # or fails outright, so override atomically:
17137   install_override_mode=555
17138   ;;
17139
17140 interix[3-9]*)
17141   version_type=linux # correct to gnu/linux during the next big refactor
17142   need_lib_prefix=no
17143   need_version=no
17144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17145   soname_spec='${libname}${release}${shared_ext}$major'
17146   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17147   shlibpath_var=LD_LIBRARY_PATH
17148   shlibpath_overrides_runpath=no
17149   hardcode_into_libs=yes
17150   ;;
17151
17152 irix5* | irix6* | nonstopux*)
17153   case $host_os in
17154     nonstopux*) version_type=nonstopux ;;
17155     *)
17156         if test "$lt_cv_prog_gnu_ld" = yes; then
17157                 version_type=linux # correct to gnu/linux during the next big refactor
17158         else
17159                 version_type=irix
17160         fi ;;
17161   esac
17162   need_lib_prefix=no
17163   need_version=no
17164   soname_spec='${libname}${release}${shared_ext}$major'
17165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17166   case $host_os in
17167   irix5* | nonstopux*)
17168     libsuff= shlibsuff=
17169     ;;
17170   *)
17171     case $LD in # libtool.m4 will add one of these switches to LD
17172     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17173       libsuff= shlibsuff= libmagic=32-bit;;
17174     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17175       libsuff=32 shlibsuff=N32 libmagic=N32;;
17176     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17177       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17178     *) libsuff= shlibsuff= libmagic=never-match;;
17179     esac
17180     ;;
17181   esac
17182   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17183   shlibpath_overrides_runpath=no
17184   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17185   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17186   hardcode_into_libs=yes
17187   ;;
17188
17189 # No shared lib support for Linux oldld, aout, or coff.
17190 linux*oldld* | linux*aout* | linux*coff*)
17191   dynamic_linker=no
17192   ;;
17193
17194 # This must be glibc/ELF.
17195 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17196   version_type=linux # correct to gnu/linux during the next big refactor
17197   need_lib_prefix=no
17198   need_version=no
17199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17200   soname_spec='${libname}${release}${shared_ext}$major'
17201   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17202   shlibpath_var=LD_LIBRARY_PATH
17203   shlibpath_overrides_runpath=no
17204
17205   # Some binutils ld are patched to set DT_RUNPATH
17206   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17207   $as_echo_n "(cached) " >&6
17208 else
17209   lt_cv_shlibpath_overrides_runpath=no
17210     save_LDFLAGS=$LDFLAGS
17211     save_libdir=$libdir
17212     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17213          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17214     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h.  */
17216
17217 int
17218 main ()
17219 {
17220
17221   ;
17222   return 0;
17223 }
17224 _ACEOF
17225 if ac_fn_cxx_try_link "$LINENO"; then :
17226   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17227   lt_cv_shlibpath_overrides_runpath=yes
17228 fi
17229 fi
17230 rm -f core conftest.err conftest.$ac_objext \
17231     conftest$ac_exeext conftest.$ac_ext
17232     LDFLAGS=$save_LDFLAGS
17233     libdir=$save_libdir
17234     
17235 fi
17236
17237   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17238
17239   # This implies no fast_install, which is unacceptable.
17240   # Some rework will be needed to allow for fast_install
17241   # before this can be enabled.
17242   hardcode_into_libs=yes
17243
17244   # Append ld.so.conf contents to the search path
17245   if test -f /etc/ld.so.conf; then
17246     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' ' '`
17247     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17248   fi
17249
17250   # We used to test for /lib/ld.so.1 and disable shared libraries on
17251   # powerpc, because MkLinux only supported shared libraries with the
17252   # GNU dynamic linker.  Since this was broken with cross compilers,
17253   # most powerpc-linux boxes support dynamic linking these days and
17254   # people can always --disable-shared, the test was removed, and we
17255   # assume the GNU/Linux dynamic linker is in use.
17256   dynamic_linker='GNU/Linux ld.so'
17257   ;;
17258
17259 netbsdelf*-gnu)
17260   version_type=linux
17261   need_lib_prefix=no
17262   need_version=no
17263   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17264   soname_spec='${libname}${release}${shared_ext}$major'
17265   shlibpath_var=LD_LIBRARY_PATH
17266   shlibpath_overrides_runpath=no
17267   hardcode_into_libs=yes
17268   dynamic_linker='NetBSD ld.elf_so'
17269   ;;
17270
17271 netbsd*)
17272   version_type=sunos
17273   need_lib_prefix=no
17274   need_version=no
17275   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17276     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17277     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17278     dynamic_linker='NetBSD (a.out) ld.so'
17279   else
17280     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17281     soname_spec='${libname}${release}${shared_ext}$major'
17282     dynamic_linker='NetBSD ld.elf_so'
17283   fi
17284   shlibpath_var=LD_LIBRARY_PATH
17285   shlibpath_overrides_runpath=yes
17286   hardcode_into_libs=yes
17287   ;;
17288
17289 newsos6)
17290   version_type=linux # correct to gnu/linux during the next big refactor
17291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17292   shlibpath_var=LD_LIBRARY_PATH
17293   shlibpath_overrides_runpath=yes
17294   ;;
17295
17296 *nto* | *qnx*)
17297   version_type=qnx
17298   need_lib_prefix=no
17299   need_version=no
17300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17301   soname_spec='${libname}${release}${shared_ext}$major'
17302   shlibpath_var=LD_LIBRARY_PATH
17303   shlibpath_overrides_runpath=no
17304   hardcode_into_libs=yes
17305   dynamic_linker='ldqnx.so'
17306   ;;
17307
17308 openbsd*)
17309   version_type=sunos
17310   sys_lib_dlsearch_path_spec="/usr/lib"
17311   need_lib_prefix=no
17312   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17313   case $host_os in
17314     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17315     *)                          need_version=no  ;;
17316   esac
17317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17318   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17319   shlibpath_var=LD_LIBRARY_PATH
17320   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17321     case $host_os in
17322       openbsd2.[89] | openbsd2.[89].*)
17323         shlibpath_overrides_runpath=no
17324         ;;
17325       *)
17326         shlibpath_overrides_runpath=yes
17327         ;;
17328       esac
17329   else
17330     shlibpath_overrides_runpath=yes
17331   fi
17332   ;;
17333
17334 os2*)
17335   libname_spec='$name'
17336   shrext_cmds=".dll"
17337   need_lib_prefix=no
17338   library_names_spec='$libname${shared_ext} $libname.a'
17339   dynamic_linker='OS/2 ld.exe'
17340   shlibpath_var=LIBPATH
17341   ;;
17342
17343 osf3* | osf4* | osf5*)
17344   version_type=osf
17345   need_lib_prefix=no
17346   need_version=no
17347   soname_spec='${libname}${release}${shared_ext}$major'
17348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17349   shlibpath_var=LD_LIBRARY_PATH
17350   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17351   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17352   ;;
17353
17354 rdos*)
17355   dynamic_linker=no
17356   ;;
17357
17358 solaris*)
17359   version_type=linux # correct to gnu/linux during the next big refactor
17360   need_lib_prefix=no
17361   need_version=no
17362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17363   soname_spec='${libname}${release}${shared_ext}$major'
17364   shlibpath_var=LD_LIBRARY_PATH
17365   shlibpath_overrides_runpath=yes
17366   hardcode_into_libs=yes
17367   # ldd complains unless libraries are executable
17368   postinstall_cmds='chmod +x $lib'
17369   ;;
17370
17371 sunos4*)
17372   version_type=sunos
17373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17374   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17375   shlibpath_var=LD_LIBRARY_PATH
17376   shlibpath_overrides_runpath=yes
17377   if test "$with_gnu_ld" = yes; then
17378     need_lib_prefix=no
17379   fi
17380   need_version=yes
17381   ;;
17382
17383 sysv4 | sysv4.3*)
17384   version_type=linux # correct to gnu/linux during the next big refactor
17385   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17386   soname_spec='${libname}${release}${shared_ext}$major'
17387   shlibpath_var=LD_LIBRARY_PATH
17388   case $host_vendor in
17389     sni)
17390       shlibpath_overrides_runpath=no
17391       need_lib_prefix=no
17392       runpath_var=LD_RUN_PATH
17393       ;;
17394     siemens)
17395       need_lib_prefix=no
17396       ;;
17397     motorola)
17398       need_lib_prefix=no
17399       need_version=no
17400       shlibpath_overrides_runpath=no
17401       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17402       ;;
17403   esac
17404   ;;
17405
17406 sysv4*MP*)
17407   if test -d /usr/nec ;then
17408     version_type=linux # correct to gnu/linux during the next big refactor
17409     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17410     soname_spec='$libname${shared_ext}.$major'
17411     shlibpath_var=LD_LIBRARY_PATH
17412   fi
17413   ;;
17414
17415 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17416   version_type=freebsd-elf
17417   need_lib_prefix=no
17418   need_version=no
17419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17420   soname_spec='${libname}${release}${shared_ext}$major'
17421   shlibpath_var=LD_LIBRARY_PATH
17422   shlibpath_overrides_runpath=yes
17423   hardcode_into_libs=yes
17424   if test "$with_gnu_ld" = yes; then
17425     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17426   else
17427     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17428     case $host_os in
17429       sco3.2v5*)
17430         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17431         ;;
17432     esac
17433   fi
17434   sys_lib_dlsearch_path_spec='/usr/lib'
17435   ;;
17436
17437 tpf*)
17438   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17439   version_type=linux # correct to gnu/linux during the next big refactor
17440   need_lib_prefix=no
17441   need_version=no
17442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17443   shlibpath_var=LD_LIBRARY_PATH
17444   shlibpath_overrides_runpath=no
17445   hardcode_into_libs=yes
17446   ;;
17447
17448 uts4*)
17449   version_type=linux # correct to gnu/linux during the next big refactor
17450   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17451   soname_spec='${libname}${release}${shared_ext}$major'
17452   shlibpath_var=LD_LIBRARY_PATH
17453   ;;
17454
17455 *)
17456   dynamic_linker=no
17457   ;;
17458 esac
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17460 $as_echo "$dynamic_linker" >&6; }
17461 test "$dynamic_linker" = no && can_build_shared=no
17462
17463 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17464 if test "$GCC" = yes; then
17465   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17466 fi
17467
17468 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17469   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17470 fi
17471 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17472   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17473 fi
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17513 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17514 hardcode_action_CXX=
17515 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17516    test -n "$runpath_var_CXX" ||
17517    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17518
17519   # We can hardcode non-existent directories.
17520   if test "$hardcode_direct_CXX" != no &&
17521      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17522      # have to relink, otherwise we might link with an installed library
17523      # when we should be linking with a yet-to-be-installed one
17524      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17525      test "$hardcode_minus_L_CXX" != no; then
17526     # Linking always hardcodes the temporary library directory.
17527     hardcode_action_CXX=relink
17528   else
17529     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17530     hardcode_action_CXX=immediate
17531   fi
17532 else
17533   # We cannot hardcode anything, or else we can only hardcode existing
17534   # directories.
17535   hardcode_action_CXX=unsupported
17536 fi
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17538 $as_echo "$hardcode_action_CXX" >&6; }
17539
17540 if test "$hardcode_action_CXX" = relink ||
17541    test "$inherit_rpath_CXX" = yes; then
17542   # Fast installation is not supported
17543   enable_fast_install=no
17544 elif test "$shlibpath_overrides_runpath" = yes ||
17545      test "$enable_shared" = no; then
17546   # Fast installation is not necessary
17547   enable_fast_install=needless
17548 fi
17549
17550
17551
17552
17553     
17554
17555
17556   fi # test -n "$compiler"
17557
17558   CC=$lt_save_CC
17559   CFLAGS=$lt_save_CFLAGS
17560   LDCXX=$LD
17561   LD=$lt_save_LD
17562   GCC=$lt_save_GCC
17563   with_gnu_ld=$lt_save_with_gnu_ld
17564   lt_cv_path_LDCXX=$lt_cv_path_LD
17565   lt_cv_path_LD=$lt_save_path_LD
17566   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17567   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17568 fi # test "$_lt_caught_CXX_error" != yes
17569
17570 ac_ext=c
17571 ac_cpp='$CPP $CPPFLAGS'
17572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17575
17576
17577
17578
17579
17580
17581
17582
17583        
17584        
17585
17586
17587
17588
17589
17590         ac_config_commands="$ac_config_commands libtool"
17591
17592
17593
17594
17595 # Only expand once:
17596
17597
17598 # use dolt to speedup the build
17599
17600
17601 # dolt, a replacement for libtool
17602 # Josh Triplett <josh@freedesktop.org>
17603 # Extract the first word of "bash", so it can be a program name with args.
17604 set dummy bash; ac_word=$2
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17606 $as_echo_n "checking for $ac_word... " >&6; }
17607 if ${ac_cv_path_DOLT_BASH+:} false; then :
17608   $as_echo_n "(cached) " >&6
17609 else
17610   case $DOLT_BASH in
17611   [\\/]* | ?:[\\/]*)
17612   ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
17613   ;;
17614   *)
17615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17616 for as_dir in $PATH
17617 do
17618   IFS=$as_save_IFS
17619   test -z "$as_dir" && as_dir=.
17620     for ac_exec_ext in '' $ac_executable_extensions; do
17621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17622     ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
17623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17624     break 2
17625   fi
17626 done
17627   done
17628 IFS=$as_save_IFS
17629
17630   ;;
17631 esac
17632 fi
17633 DOLT_BASH=$ac_cv_path_DOLT_BASH
17634 if test -n "$DOLT_BASH"; then
17635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5
17636 $as_echo "$DOLT_BASH" >&6; }
17637 else
17638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17639 $as_echo "no" >&6; }
17640 fi
17641
17642
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5
17644 $as_echo_n "checking if dolt supports this host... " >&6; }
17645 dolt_supported=yes
17646 if test x$DOLT_BASH = x; then
17647     dolt_supported=no
17648 fi
17649 if test x$GCC != xyes; then
17650     dolt_supported=no
17651 fi
17652 case $host in
17653 i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
17654 |amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
17655     pic_options='-fPIC'
17656     ;;
17657 i?86-apple-darwin*)
17658     pic_options='-fno-common'
17659     ;;
17660 *mingw32*)
17661     pic_options='-DDLL_EXPORT'
17662     ;;
17663 *)
17664     dolt_supported=no
17665     ;;
17666 esac
17667 if test x$dolt_supported = xno ; then
17668     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5
17669 $as_echo "no, falling back to libtool" >&6; }
17670     LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
17671     LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
17672 else
17673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5
17674 $as_echo "yes, replacing libtool" >&6; }
17675
17676     cat <<__DOLTCOMPILE__EOF__ >doltcompile
17677 #!$DOLT_BASH
17678 __DOLTCOMPILE__EOF__
17679     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17680 args=("$@")
17681 for ((arg=0; arg<${#args@<:@@@:>@}; arg++)) ; do
17682     if test x"${args@<:@$arg@:>@}" = x-o ; then
17683         objarg=$((arg+1))
17684         break
17685     fi
17686 done
17687 if test x$objarg = x ; then
17688     echo 'Error: no -o on compiler command line' 1>&2
17689     exit 1
17690 fi
17691 lo="${args@<:@$objarg@:>@}"
17692 obj="${lo%.lo}"
17693 if test x"$lo" = x"$obj" ; then
17694     echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
17695     exit 1
17696 fi
17697 objbase="${obj##*/}"
17698 __DOLTCOMPILE__EOF__
17699
17700     if test x$enable_shared = xyes; then
17701         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17702 libobjdir="${obj%$objbase}.libs"
17703 if test ! -d "$libobjdir" ; then
17704     mkdir_out="$(mkdir "$libobjdir" 2>&1)"
17705     mkdir_ret=$?
17706     if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
17707         echo "$mkdir_out" 1>&2
17708         exit $mkdir_ret
17709     fi
17710 fi
17711 pic_object="$libobjdir/$objbase.o"
17712 args@<:@$objarg@:>@="$pic_object"
17713 __DOLTCOMPILE__EOF__
17714     cat <<__DOLTCOMPILE__EOF__ >>doltcompile
17715 "\${args@<:@@@:>@}" $pic_options -DPIC || exit \$?
17716 __DOLTCOMPILE__EOF__
17717     fi
17718
17719     if test x$enable_static = xyes; then
17720         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17721 non_pic_object="$obj.o"
17722 args@<:@$objarg@:>@="$non_pic_object"
17723 __DOLTCOMPILE__EOF__
17724         if test x$enable_shared = xyes; then
17725             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17726 "${args@<:@@@:>@}" >/dev/null 2>&1 || exit $?
17727 __DOLTCOMPILE__EOF__
17728         else
17729             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17730 "${args@<:@@@:>@}" || exit $?
17731 __DOLTCOMPILE__EOF__
17732         fi
17733     fi
17734
17735     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17736 {
17737 echo "# $lo - a libtool object file"
17738 echo "# Generated by doltcompile, not libtool"
17739 __DOLTCOMPILE__EOF__
17740
17741     if test x$enable_shared = xyes; then
17742         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17743 echo "pic_object='.libs/${objbase}.o'"
17744 __DOLTCOMPILE__EOF__
17745     else
17746         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17747 echo pic_object=none
17748 __DOLTCOMPILE__EOF__
17749     fi
17750
17751     if test x$enable_static = xyes; then
17752         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17753 echo "non_pic_object='${objbase}.o'"
17754 __DOLTCOMPILE__EOF__
17755     else
17756         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17757 echo non_pic_object=none
17758 __DOLTCOMPILE__EOF__
17759     fi
17760
17761     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
17762 } > "$lo"
17763 __DOLTCOMPILE__EOF__
17764
17765     chmod +x doltcompile
17766     LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
17767     LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
17768
17769     cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
17770 #!$DOLT_BASH
17771 __DOLTLIBTOOL__EOF__
17772     cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
17773 top_builddir_slash="${0%%doltlibtool}"
17774 : ${top_builddir_slash:=./}
17775 args=()
17776 modeok=false
17777 tagok=false
17778 for arg in "$@"; do
17779     case "$arg" in
17780         --silent) ;;
17781         --mode=compile) modeok=true ;;
17782         --tag=CC|--tag=CXX) tagok=true ;;
17783         *) args@<:@${#args[@]}@:>@="$arg" ;;
17784     esac
17785 done
17786 if $modeok && $tagok ; then
17787     . ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
17788 else
17789     exec ${top_builddir_slash}libtool "$@"
17790 fi
17791 __DOLTLIBTOOL__EOF__
17792
17793     chmod +x doltlibtool
17794     LIBTOOL='$(top_builddir)/doltlibtool'
17795 fi
17796
17797
17798 # end dolt
17799
17800
17801 # Extract the first word of "flex", so it can be a program name with args.
17802 set dummy flex; ac_word=$2
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17804 $as_echo_n "checking for $ac_word... " >&6; }
17805 if ${ac_cv_path_FLEX+:} false; then :
17806   $as_echo_n "(cached) " >&6
17807 else
17808   case $FLEX in
17809   [\\/]* | ?:[\\/]*)
17810   ac_cv_path_FLEX="$FLEX" # Let the user override the test with a path.
17811   ;;
17812   *)
17813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17814 for as_dir in $PATH
17815 do
17816   IFS=$as_save_IFS
17817   test -z "$as_dir" && as_dir=.
17818     for ac_exec_ext in '' $ac_executable_extensions; do
17819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17820     ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
17821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17822     break 2
17823   fi
17824 done
17825   done
17826 IFS=$as_save_IFS
17827
17828   ;;
17829 esac
17830 fi
17831 FLEX=$ac_cv_path_FLEX
17832 if test -n "$FLEX"; then
17833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17834 $as_echo "$FLEX" >&6; }
17835 else
17836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17837 $as_echo "no" >&6; }
17838 fi
17839
17840
17841 if test -z "$FLEX"; then
17842    as_fn_error $? "You need the 'flex' lexer generator to compile WebKit" "$LINENO" 5
17843 else
17844    FLEX_VERSION=`$FLEX --version | sed 's,.*\ \(0-9*\.0-9*\.0-9*\)$,\1,'`
17845    
17846   for ac_prog in gawk mawk nawk awk
17847 do
17848   # Extract the first word of "$ac_prog", so it can be a program name with args.
17849 set dummy $ac_prog; ac_word=$2
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17851 $as_echo_n "checking for $ac_word... " >&6; }
17852 if ${ac_cv_prog_AWK+:} false; then :
17853   $as_echo_n "(cached) " >&6
17854 else
17855   if test -n "$AWK"; then
17856   ac_cv_prog_AWK="$AWK" # Let the user override the test.
17857 else
17858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17859 for as_dir in $PATH
17860 do
17861   IFS=$as_save_IFS
17862   test -z "$as_dir" && as_dir=.
17863     for ac_exec_ext in '' $ac_executable_extensions; do
17864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17865     ac_cv_prog_AWK="$ac_prog"
17866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17867     break 2
17868   fi
17869 done
17870   done
17871 IFS=$as_save_IFS
17872
17873 fi
17874 fi
17875 AWK=$ac_cv_prog_AWK
17876 if test -n "$AWK"; then
17877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17878 $as_echo "$AWK" >&6; }
17879 else
17880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17881 $as_echo "no" >&6; }
17882 fi
17883
17884
17885   test -n "$AWK" && break
17886 done
17887
17888
17889   # Used to indicate true or false condition
17890   ax_compare_version=false
17891
17892   # Convert the two version strings to be compared into a format that
17893   # allows a simple string comparison.  The end result is that a version
17894   # string of the form 1.12.5-r617 will be converted to the form
17895   # 0001001200050617.  In other words, each number is zero padded to four
17896   # digits, and non digits are removed.
17897   
17898   ax_compare_version_A=`echo "2.5.33" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17899                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17900                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17901                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17902                      -e 's/[^0-9]//g'`
17903
17904   
17905   ax_compare_version_B=`echo "$FLEX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
17906                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
17907                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
17908                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
17909                      -e 's/[^0-9]//g'`
17910
17911         
17912     ax_compare_version=`echo "x$ax_compare_version_A
17913 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
17914   
17915
17916     
17917     if test "$ax_compare_version" = "true" ; then
17918     { $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
17919 $as_echo "$as_me: WARNING: You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly" >&2;}
17920       fi
17921
17922 fi
17923
17924 # Extract the first word of "gperf", so it can be a program name with args.
17925 set dummy gperf; ac_word=$2
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17927 $as_echo_n "checking for $ac_word... " >&6; }
17928 if ${ac_cv_path_GPERF+:} false; then :
17929   $as_echo_n "(cached) " >&6
17930 else
17931   case $GPERF in
17932   [\\/]* | ?:[\\/]*)
17933   ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
17934   ;;
17935   *)
17936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17937 for as_dir in $PATH
17938 do
17939   IFS=$as_save_IFS
17940   test -z "$as_dir" && as_dir=.
17941     for ac_exec_ext in '' $ac_executable_extensions; do
17942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17943     ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
17944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17945     break 2
17946   fi
17947 done
17948   done
17949 IFS=$as_save_IFS
17950
17951   ;;
17952 esac
17953 fi
17954 GPERF=$ac_cv_path_GPERF
17955 if test -n "$GPERF"; then
17956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17957 $as_echo "$GPERF" >&6; }
17958 else
17959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17960 $as_echo "no" >&6; }
17961 fi
17962
17963
17964 if test -z "$GPERF"; then
17965    as_fn_error $? "You need the 'gperf' hash function generator to compile WebKit" "$LINENO" 5
17966 fi
17967
17968 # Disable C++0x compat warnings for GCC >= 4.6.0 until we build
17969 # cleanly with that.
17970 if test "$CXX" = "g++"; then
17971    CXX_VERSION=`$CXX -dumpversion`
17972    
17973   for ac_prog in gawk mawk nawk awk
17974 do
17975   # Extract the first word of "$ac_prog", so it can be a program name with args.
17976 set dummy $ac_prog; ac_word=$2
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17978 $as_echo_n "checking for $ac_word... " >&6; }
17979 if ${ac_cv_prog_AWK+:} false; then :
17980   $as_echo_n "(cached) " >&6
17981 else
17982   if test -n "$AWK"; then
17983   ac_cv_prog_AWK="$AWK" # Let the user override the test.
17984 else
17985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17986 for as_dir in $PATH
17987 do
17988   IFS=$as_save_IFS
17989   test -z "$as_dir" && as_dir=.
17990     for ac_exec_ext in '' $ac_executable_extensions; do
17991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17992     ac_cv_prog_AWK="$ac_prog"
17993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17994     break 2
17995   fi
17996 done
17997   done
17998 IFS=$as_save_IFS
17999
18000 fi
18001 fi
18002 AWK=$ac_cv_prog_AWK
18003 if test -n "$AWK"; then
18004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
18005 $as_echo "$AWK" >&6; }
18006 else
18007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18008 $as_echo "no" >&6; }
18009 fi
18010
18011
18012   test -n "$AWK" && break
18013 done
18014
18015
18016   # Used to indicate true or false condition
18017   ax_compare_version=false
18018
18019   # Convert the two version strings to be compared into a format that
18020   # allows a simple string comparison.  The end result is that a version
18021   # string of the form 1.12.5-r617 will be converted to the form
18022   # 0001001200050617.  In other words, each number is zero padded to four
18023   # digits, and non digits are removed.
18024   
18025   ax_compare_version_A=`echo "$CXX_VERSION" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
18026                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
18027                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
18028                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
18029                      -e 's/[^0-9]//g'`
18030
18031   
18032   ax_compare_version_B=`echo "4.6.0" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
18033                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
18034                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
18035                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
18036                      -e 's/[^0-9]//g'`
18037
18038         
18039     ax_compare_version=`echo "x$ax_compare_version_A
18040 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"`
18041   
18042
18043     
18044     if test "$ax_compare_version" = "true" ; then
18045     CXXFLAGS="$CXXFLAGS -Wno-c++0x-compat"
18046       fi
18047
18048 fi
18049
18050 # pthread (not needed on Windows)
18051 if test "$os_win32" = "no"; then
18052 for ac_header in pthread.h
18053 do :
18054   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
18055 if test "x$ac_cv_header_pthread_h" = xyes; then :
18056   cat >>confdefs.h <<_ACEOF
18057 @%:@define HAVE_PTHREAD_H 1
18058 _ACEOF
18059  
18060 $as_echo "@%:@define HAVE_PTHREAD_H 1" >>confdefs.h
18061
18062 else
18063   as_fn_error $? "pthread support is required to build WebKit" "$LINENO" 5
18064 fi
18065
18066 done
18067
18068 fi
18069
18070 # check for libjpeg the way Gtk does it.
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
18072 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
18073 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
18074   $as_echo_n "(cached) " >&6
18075 else
18076   ac_check_lib_save_LIBS=$LIBS
18077 LIBS="-ljpeg  $LIBS"
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h.  */
18080
18081 /* Override any GCC internal prototype to avoid an error.
18082    Use char because int might match the return type of a GCC
18083    builtin and then its argument prototype would still apply.  */
18084 #ifdef __cplusplus
18085 extern "C"
18086 #endif
18087 char jpeg_destroy_decompress ();
18088 int
18089 main ()
18090 {
18091 return jpeg_destroy_decompress ();
18092   ;
18093   return 0;
18094 }
18095 _ACEOF
18096 if ac_fn_c_try_link "$LINENO"; then :
18097   ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
18098 else
18099   ac_cv_lib_jpeg_jpeg_destroy_decompress=no
18100 fi
18101 rm -f core conftest.err conftest.$ac_objext \
18102     conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_check_lib_save_LIBS
18104 fi
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
18106 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
18107 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
18108   jpeg_ok=yes
18109 else
18110   jpeg_ok=no
18111                    as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18112 fi
18113
18114 if test "$jpeg_ok" = yes; then
18115    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib" >&5
18116 $as_echo_n "checking for jpeglib... " >&6; }
18117    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h.  */
18119 #include <stdio.h>
18120 #undef PACKAGE
18121 #undef VERSION
18122 #undef HAVE_STDLIB_H
18123 #include <jpeglib.h>
18124 _ACEOF
18125 if ac_fn_c_try_cpp "$LINENO"; then :
18126   jpeg_ok=yes
18127 else
18128   jpeg_ok=no
18129 fi
18130 rm -f conftest.err conftest.i conftest.$ac_ext
18131    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
18132 $as_echo "$jpeg_ok" >&6; }
18133    if test "$jpeg_ok" = yes; then
18134       JPEG_LIBS="-ljpeg"
18135       # should we check for progressive JPEG like GTK+ as well?
18136    else
18137       as_fn_error $? "JPEG library (libjpeg) not found" "$LINENO" 5
18138    fi
18139 fi
18140
18141
18142 # Check for libpng the way Gtk+ does it
18143 for l in libpng libpng14 libpng12; do
18144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $l" >&5
18145 $as_echo_n "checking for $l... " >&6; }
18146   if $PKG_CONFIG --exists $l ; then
18147     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18148 $as_echo "yes" >&6; }
18149     PNG_LIBS=`$PKG_CONFIG --libs $l`
18150     png_ok=yes
18151     break
18152   else
18153     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18154 $as_echo "no" >&6; }
18155     png_ok=no
18156   fi
18157 done
18158 if test "$png_ok" != yes; then
18159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5
18160 $as_echo_n "checking for png_read_info in -lpng... " >&6; }
18161 if ${ac_cv_lib_png_png_read_info+:} false; then :
18162   $as_echo_n "(cached) " >&6
18163 else
18164   ac_check_lib_save_LIBS=$LIBS
18165 LIBS="-lpng -lz -lm $LIBS"
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h.  */
18168
18169 /* Override any GCC internal prototype to avoid an error.
18170    Use char because int might match the return type of a GCC
18171    builtin and then its argument prototype would still apply.  */
18172 #ifdef __cplusplus
18173 extern "C"
18174 #endif
18175 char png_read_info ();
18176 int
18177 main ()
18178 {
18179 return png_read_info ();
18180   ;
18181   return 0;
18182 }
18183 _ACEOF
18184 if ac_fn_c_try_link "$LINENO"; then :
18185   ac_cv_lib_png_png_read_info=yes
18186 else
18187   ac_cv_lib_png_png_read_info=no
18188 fi
18189 rm -f core conftest.err conftest.$ac_objext \
18190     conftest$ac_exeext conftest.$ac_ext
18191 LIBS=$ac_check_lib_save_LIBS
18192 fi
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_info" >&5
18194 $as_echo "$ac_cv_lib_png_png_read_info" >&6; }
18195 if test "x$ac_cv_lib_png_png_read_info" = xyes; then :
18196   ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
18197 if test "x$ac_cv_header_png_h" = xyes; then :
18198   png_ok=yes
18199 else
18200   png_ok=no
18201 fi
18202
18203
18204 else
18205   as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18206 fi
18207
18208   if test "$png_ok" = yes; then
18209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_structp in png.h" >&5
18210 $as_echo_n "checking for png_structp in png.h... " >&6; }
18211     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h.  */
18213 #include <png.h>
18214 int
18215 main ()
18216 {
18217 png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
18218   ;
18219   return 0;
18220 }
18221 _ACEOF
18222 if ac_fn_c_try_compile "$LINENO"; then :
18223   png_ok=yes
18224 else
18225   png_ok=no
18226 fi
18227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18228     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5
18229 $as_echo "$png_ok" >&6; }
18230     if test "$png_ok" = yes; then
18231       PNG_LIBS='-lpng -lz'
18232     else
18233       as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18234     fi
18235   else
18236     as_fn_error $? "PNG library (libpng) not found" "$LINENO" 5
18237   fi
18238 fi
18239
18240
18241
18242 if test "$os_win32" = "yes"; then
18243   WINMM_LIBS=-lwinmm
18244   SHLWAPI_LIBS=-lshlwapi
18245   OLE32_LIBS=-lole32
18246 fi
18247
18248
18249
18250
18251
18252 # determine the GTK+ version to use
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the GTK+ version to use" >&5
18254 $as_echo_n "checking the GTK+ version to use... " >&6; }
18255
18256 @%:@ Check whether --with-gtk was given.
18257 if test "${with_gtk+set}" = set; then :
18258   withval=$with_gtk; case "$with_gtk" in
18259         2.0|3.0) ;;
18260         *) as_fn_error $? "invalid GTK+ version specified" "$LINENO" 5 ;;
18261         esac
18262 else
18263   with_gtk=3.0
18264 fi
18265
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
18267 $as_echo "$with_gtk" >&6; }
18268
18269 GTK2_REQUIRED_VERSION=2.10
18270 GAIL2_REQUIRED_VERSION=1.8
18271 GTK3_REQUIRED_VERSION=3.0
18272 GAIL3_REQUIRED_VERSION=3.0
18273
18274 case "$with_gtk" in
18275      2.0) GTK_REQUIRED_VERSION=$GTK2_REQUIRED_VERSION
18276           GTK_API_VERSION=2.0
18277           WEBKITGTK_API_MAJOR_VERSION=1
18278           WEBKITGTK_API_MINOR_VERSION=0
18279           WEBKITGTK_API_VERSION=1.0
18280           WEBKITGTK_PC_NAME=webkit
18281           GAIL_PC_NAME=gail
18282           GAIL_REQUIRED_VERSION=$GAIL2_REQUIRED_VERSION
18283           ;;
18284      3.0) GTK_REQUIRED_VERSION=$GTK3_REQUIRED_VERSION
18285           GTK_API_VERSION=3.0
18286           WEBKITGTK_API_MAJOR_VERSION=3
18287           WEBKITGTK_API_MINOR_VERSION=0
18288           WEBKITGTK_API_VERSION=3.0
18289           WEBKITGTK_PC_NAME=webkitgtk
18290           GAIL_PC_NAME=gail-3.0
18291           GAIL_REQUIRED_VERSION=$GAIL3_REQUIRED_VERSION
18292           ;;
18293 esac
18294
18295
18296
18297
18298
18299
18300  if test "$GTK_API_VERSION" = "2.0"; then
18301   GTK_API_VERSION_2_TRUE=
18302   GTK_API_VERSION_2_FALSE='#'
18303 else
18304   GTK_API_VERSION_2_TRUE='#'
18305   GTK_API_VERSION_2_FALSE=
18306 fi
18307
18308
18309 # determine the GDK/GTK+ target
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the target windowing system" >&5
18311 $as_echo_n "checking the target windowing system... " >&6; }
18312
18313 @%:@ Check whether --with-target was given.
18314 if test "${with_target+set}" = set; then :
18315   withval=$with_target; 
18316 else
18317   with_target="x11"
18318 fi
18319
18320
18321 case "$with_target" in
18322      x11|win32|quartz|directfb) ;;
18323      *) as_fn_error $? "Invalid target: must be x11, quartz, win32, or directfb." "$LINENO" 5 ;;
18324 esac
18325
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_target" >&5
18327 $as_echo "$with_target" >&6; }
18328
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hildon UI extensions" >&5
18330 $as_echo_n "checking for Hildon UI extensions... " >&6; }
18331
18332 @%:@ Check whether --with-hildon was given.
18333 if test "${with_hildon+set}" = set; then :
18334   withval=$with_hildon; 
18335 else
18336   with_hildon="no"
18337 fi
18338
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_hildon" >&5
18340 $as_echo "$with_hildon" >&6; }
18341
18342 if test "$with_hildon" = "yes"; then
18343     HILDON_CPPFLAGS="-DMAEMO_CHANGES"
18344     
18345
18346
18347
18348
18349
18350
18351 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18352         if test -n "$ac_tool_prefix"; then
18353   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18354 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18356 $as_echo_n "checking for $ac_word... " >&6; }
18357 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18358   $as_echo_n "(cached) " >&6
18359 else
18360   case $PKG_CONFIG in
18361   [\\/]* | ?:[\\/]*)
18362   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18363   ;;
18364   *)
18365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18366 for as_dir in $PATH
18367 do
18368   IFS=$as_save_IFS
18369   test -z "$as_dir" && as_dir=.
18370     for ac_exec_ext in '' $ac_executable_extensions; do
18371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18372     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18374     break 2
18375   fi
18376 done
18377   done
18378 IFS=$as_save_IFS
18379
18380   ;;
18381 esac
18382 fi
18383 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18384 if test -n "$PKG_CONFIG"; then
18385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18386 $as_echo "$PKG_CONFIG" >&6; }
18387 else
18388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18389 $as_echo "no" >&6; }
18390 fi
18391
18392
18393 fi
18394 if test -z "$ac_cv_path_PKG_CONFIG"; then
18395   ac_pt_PKG_CONFIG=$PKG_CONFIG
18396   # Extract the first word of "pkg-config", so it can be a program name with args.
18397 set dummy pkg-config; ac_word=$2
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18399 $as_echo_n "checking for $ac_word... " >&6; }
18400 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18401   $as_echo_n "(cached) " >&6
18402 else
18403   case $ac_pt_PKG_CONFIG in
18404   [\\/]* | ?:[\\/]*)
18405   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18406   ;;
18407   *)
18408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18409 for as_dir in $PATH
18410 do
18411   IFS=$as_save_IFS
18412   test -z "$as_dir" && as_dir=.
18413     for ac_exec_ext in '' $ac_executable_extensions; do
18414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18415     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18417     break 2
18418   fi
18419 done
18420   done
18421 IFS=$as_save_IFS
18422
18423   ;;
18424 esac
18425 fi
18426 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18427 if test -n "$ac_pt_PKG_CONFIG"; then
18428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18429 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18430 else
18431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18432 $as_echo "no" >&6; }
18433 fi
18434
18435   if test "x$ac_pt_PKG_CONFIG" = x; then
18436     PKG_CONFIG=""
18437   else
18438     case $cross_compiling:$ac_tool_warned in
18439 yes:)
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18442 ac_tool_warned=yes ;;
18443 esac
18444     PKG_CONFIG=$ac_pt_PKG_CONFIG
18445   fi
18446 else
18447   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18448 fi
18449
18450 fi
18451 if test -n "$PKG_CONFIG"; then
18452         _pkg_min_version=0.9.0
18453         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18454 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18455         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18456                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18457 $as_echo "yes" >&6; }
18458         else
18459                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18460 $as_echo "no" >&6; }
18461                 PKG_CONFIG=""
18462         fi
18463 fi
18464
18465 pkg_failed=no
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
18467 $as_echo_n "checking for HILDON... " >&6; }
18468
18469 if test -n "$HILDON_CFLAGS"; then
18470     pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
18471  elif test -n "$PKG_CONFIG"; then
18472     if test -n "$PKG_CONFIG" && \
18473     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18474   ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18475   ac_status=$?
18476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18477   test $ac_status = 0; }; then
18478   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
18479                       test "x$?" != "x0" && pkg_failed=yes 
18480 else
18481   pkg_failed=yes
18482 fi
18483  else
18484     pkg_failed=untried
18485 fi
18486 if test -n "$HILDON_LIBS"; then
18487     pkg_cv_HILDON_LIBS="$HILDON_LIBS"
18488  elif test -n "$PKG_CONFIG"; then
18489     if test -n "$PKG_CONFIG" && \
18490     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1\""; } >&5
18491   ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
18492   ac_status=$?
18493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18494   test $ac_status = 0; }; then
18495   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
18496                       test "x$?" != "x0" && pkg_failed=yes 
18497 else
18498   pkg_failed=yes
18499 fi
18500  else
18501     pkg_failed=untried
18502 fi
18503
18504
18505
18506 if test $pkg_failed = yes; then
18507         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18508 $as_echo "no" >&6; }
18509         
18510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18511         _pkg_short_errors_supported=yes
18512 else
18513         _pkg_short_errors_supported=no
18514 fi
18515         if test $_pkg_short_errors_supported = yes; then
18516                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hildon-1" 2>&1`
18517         else 
18518                 HILDON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hildon-1" 2>&1`
18519         fi
18520         # Put the nasty error message in config.log where it belongs
18521         echo "$HILDON_PKG_ERRORS" >&5
18522
18523         as_fn_error $? "Package requirements (hildon-1) were not met:
18524
18525 $HILDON_PKG_ERRORS
18526
18527 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18528 installed software in a non-standard prefix.
18529
18530 Alternatively, you may set the environment variables HILDON_CFLAGS
18531 and HILDON_LIBS to avoid the need to call pkg-config.
18532 See the pkg-config man page for more details." "$LINENO" 5        
18533 elif test $pkg_failed = untried; then
18534         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18535 $as_echo "no" >&6; }
18536         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18538 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18539 is in your PATH or set the PKG_CONFIG environment variable to the full
18540 path to pkg-config.
18541
18542 Alternatively, you may set the environment variables HILDON_CFLAGS
18543 and HILDON_LIBS to avoid the need to call pkg-config.
18544 See the pkg-config man page for more details.
18545
18546 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18547 See \`config.log' for more details" "$LINENO" 5; }        
18548 else
18549         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
18550         HILDON_LIBS=$pkg_cv_HILDON_LIBS
18551         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18552 $as_echo "yes" >&6; }
18553         
18554 fi
18555     
18556     
18557     
18558 fi
18559
18560 # minimum base dependencies
18561 LIBSOUP_REQUIRED_VERSION=2.33.6
18562 CAIRO_REQUIRED_VERSION=1.10
18563 FONTCONFIG_REQUIRED_VERSION=2.4
18564 FREETYPE2_REQUIRED_VERSION=9.0
18565 LIBXML_REQUIRED_VERSION=2.6
18566
18567 # minimum GTK+ base dependencies
18568 PANGO_REQUIRED_VERSION=1.12
18569
18570 # optional modules
18571 LIBXSLT_REQUIRED_VERSION=1.1.7
18572 SQLITE_REQUIRED_VERSION=3.0
18573 GSTREAMER_REQUIRED_VERSION=0.10
18574 GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.30
18575 ENCHANT_REQUIRED_VERSION=0.22
18576
18577 # Available modules
18578 #
18579 # glib - glib and includes gthread
18580 # unicode - check and identify which unicode backend to use
18581 #
18582 # todo: webcore gtk
18583 # Version requirements
18584 GLIB_REQUIRED_VERSION=2.27.90
18585 @%:@ Check whether --enable-glibtest was given.
18586 if test "${enable_glibtest+set}" = set; then :
18587   enableval=$enable_glibtest; 
18588 else
18589   enable_glibtest=yes
18590 fi
18591
18592
18593   pkg_config_args=glib-2.0
18594   for module in . 
18595   do
18596       case "$module" in
18597          gmodule) 
18598              pkg_config_args="$pkg_config_args gmodule-2.0"
18599          ;;
18600          gmodule-no-export) 
18601              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
18602          ;;
18603          gobject) 
18604              pkg_config_args="$pkg_config_args gobject-2.0"
18605          ;;
18606          gthread) 
18607              pkg_config_args="$pkg_config_args gthread-2.0"
18608          ;;
18609          gio*) 
18610              pkg_config_args="$pkg_config_args $module-2.0"
18611          ;;
18612       esac
18613   done
18614
18615   
18616
18617
18618
18619
18620
18621
18622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18623         if test -n "$ac_tool_prefix"; then
18624   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18627 $as_echo_n "checking for $ac_word... " >&6; }
18628 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18629   $as_echo_n "(cached) " >&6
18630 else
18631   case $PKG_CONFIG in
18632   [\\/]* | ?:[\\/]*)
18633   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18634   ;;
18635   *)
18636   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18637 for as_dir in $PATH
18638 do
18639   IFS=$as_save_IFS
18640   test -z "$as_dir" && as_dir=.
18641     for ac_exec_ext in '' $ac_executable_extensions; do
18642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18643     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18645     break 2
18646   fi
18647 done
18648   done
18649 IFS=$as_save_IFS
18650
18651   ;;
18652 esac
18653 fi
18654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18655 if test -n "$PKG_CONFIG"; then
18656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18657 $as_echo "$PKG_CONFIG" >&6; }
18658 else
18659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18660 $as_echo "no" >&6; }
18661 fi
18662
18663
18664 fi
18665 if test -z "$ac_cv_path_PKG_CONFIG"; then
18666   ac_pt_PKG_CONFIG=$PKG_CONFIG
18667   # Extract the first word of "pkg-config", so it can be a program name with args.
18668 set dummy pkg-config; ac_word=$2
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18670 $as_echo_n "checking for $ac_word... " >&6; }
18671 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18672   $as_echo_n "(cached) " >&6
18673 else
18674   case $ac_pt_PKG_CONFIG in
18675   [\\/]* | ?:[\\/]*)
18676   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18677   ;;
18678   *)
18679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18680 for as_dir in $PATH
18681 do
18682   IFS=$as_save_IFS
18683   test -z "$as_dir" && as_dir=.
18684     for ac_exec_ext in '' $ac_executable_extensions; do
18685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18686     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18688     break 2
18689   fi
18690 done
18691   done
18692 IFS=$as_save_IFS
18693
18694   ;;
18695 esac
18696 fi
18697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18698 if test -n "$ac_pt_PKG_CONFIG"; then
18699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18701 else
18702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18703 $as_echo "no" >&6; }
18704 fi
18705
18706   if test "x$ac_pt_PKG_CONFIG" = x; then
18707     PKG_CONFIG=""
18708   else
18709     case $cross_compiling:$ac_tool_warned in
18710 yes:)
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18713 ac_tool_warned=yes ;;
18714 esac
18715     PKG_CONFIG=$ac_pt_PKG_CONFIG
18716   fi
18717 else
18718   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18719 fi
18720
18721 fi
18722 if test -n "$PKG_CONFIG"; then
18723         _pkg_min_version=0.16
18724         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18726         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18727                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18728 $as_echo "yes" >&6; }
18729         else
18730                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18731 $as_echo "no" >&6; }
18732                 PKG_CONFIG=""
18733         fi
18734 fi
18735
18736   no_glib=""
18737
18738   if test "x$PKG_CONFIG" = x ; then
18739     no_glib=yes
18740     PKG_CONFIG=no
18741   fi
18742
18743   min_glib_version=$GLIB_REQUIRED_VERSION
18744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
18745 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
18746
18747   if test x$PKG_CONFIG != xno ; then
18748     ## don't try to run the test against uninstalled libtool libs
18749     if $PKG_CONFIG --uninstalled $pkg_config_args; then
18750           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
18751           enable_glibtest=no
18752     fi
18753
18754     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
18755           :
18756     else
18757           no_glib=yes
18758     fi
18759   fi
18760
18761   if test x"$no_glib" = x ; then
18762     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
18763     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
18764     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
18765     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
18766
18767     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
18768     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
18769     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
18770            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
18771     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
18772            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
18773     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
18774            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
18775     if test "x$enable_glibtest" = "xyes" ; then
18776       ac_save_CFLAGS="$CFLAGS"
18777       ac_save_LIBS="$LIBS"
18778       CFLAGS="$CFLAGS $GLIB_CFLAGS"
18779       LIBS="$GLIB_LIBS $LIBS"
18780       rm -f conf.glibtest
18781       if test "$cross_compiling" = yes; then :
18782   echo $ac_n "cross compiling; assumed OK... $ac_c"
18783 else
18784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h.  */
18786
18787 #include <glib.h>
18788 #include <stdio.h>
18789 #include <stdlib.h>
18790
18791 int 
18792 main ()
18793 {
18794   unsigned int major, minor, micro;
18795   char *tmp_version;
18796
18797   fclose (fopen ("conf.glibtest", "w"));
18798
18799   /* HP/UX 9 (%@#!) writes to sscanf strings */
18800   tmp_version = g_strdup("$min_glib_version");
18801   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
18802      printf("%s, bad version string\n", "$min_glib_version");
18803      exit(1);
18804    }
18805
18806   if ((glib_major_version != $glib_config_major_version) ||
18807       (glib_minor_version != $glib_config_minor_version) ||
18808       (glib_micro_version != $glib_config_micro_version))
18809     {
18810       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
18811              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
18812              glib_major_version, glib_minor_version, glib_micro_version);
18813       printf ("*** was found! If pkg-config was correct, then it is best\n");
18814       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
18815       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
18816       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
18817       printf("*** required on your system.\n");
18818       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
18819       printf("*** to point to the correct configuration files\n");
18820     } 
18821   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
18822            (glib_minor_version != GLIB_MINOR_VERSION) ||
18823            (glib_micro_version != GLIB_MICRO_VERSION))
18824     {
18825       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
18826              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
18827       printf("*** library (version %d.%d.%d)\n",
18828              glib_major_version, glib_minor_version, glib_micro_version);
18829     }
18830   else
18831     {
18832       if ((glib_major_version > major) ||
18833         ((glib_major_version == major) && (glib_minor_version > minor)) ||
18834         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
18835       {
18836         return 0;
18837        }
18838      else
18839       {
18840         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
18841                glib_major_version, glib_minor_version, glib_micro_version);
18842         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
18843                major, minor, micro);
18844         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
18845         printf("***\n");
18846         printf("*** If you have already installed a sufficiently new version, this error\n");
18847         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
18848         printf("*** being found. The easiest way to fix this is to remove the old version\n");
18849         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
18850         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
18851         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
18852         printf("*** so that the correct libraries are found at run-time))\n");
18853       }
18854     }
18855   return 1;
18856 }
18857
18858 _ACEOF
18859 if ac_fn_c_try_run "$LINENO"; then :
18860   
18861 else
18862   no_glib=yes
18863 fi
18864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18865   conftest.$ac_objext conftest.beam conftest.$ac_ext
18866 fi
18867
18868        CFLAGS="$ac_save_CFLAGS"
18869        LIBS="$ac_save_LIBS"
18870      fi
18871   fi
18872   if test "x$no_glib" = x ; then
18873      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
18874 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
18875      :     
18876   else
18877      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18878 $as_echo "no" >&6; }
18879      if test "$PKG_CONFIG" = "no" ; then
18880        echo "*** A new enough version of pkg-config was not found."
18881        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
18882      else
18883        if test -f conf.glibtest ; then
18884         :
18885        else
18886           echo "*** Could not run GLIB test program, checking why..."
18887           ac_save_CFLAGS="$CFLAGS"
18888           ac_save_LIBS="$LIBS"
18889           CFLAGS="$CFLAGS $GLIB_CFLAGS"
18890           LIBS="$LIBS $GLIB_LIBS"
18891           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h.  */
18893
18894 #include <glib.h>
18895 #include <stdio.h>
18896
18897 int
18898 main ()
18899 {
18900  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 
18901   ;
18902   return 0;
18903 }
18904 _ACEOF
18905 if ac_fn_c_try_link "$LINENO"; then :
18906    echo "*** The test program compiled, but did not run. This usually means"
18907           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
18908           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
18909           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
18910           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
18911           echo "*** is required on your system"
18912           echo "***"
18913           echo "*** If you have an old version installed, it is best to remove it, although"
18914           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 
18915 else
18916    echo "*** The test program failed to compile or link. See the file config.log for the"
18917           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
18918 fi
18919 rm -f core conftest.err conftest.$ac_objext \
18920     conftest$ac_exeext conftest.$ac_ext
18921           CFLAGS="$ac_save_CFLAGS"
18922           LIBS="$ac_save_LIBS"
18923        fi
18924      fi
18925      GLIB_CFLAGS=""
18926      GLIB_LIBS=""
18927      GLIB_GENMARSHAL=""
18928      GOBJECT_QUERY=""
18929      GLIB_MKENUMS=""
18930      GLIB_COMPILE_RESOURCES=""
18931      :
18932   fi
18933   
18934   
18935   
18936   
18937   
18938   
18939   rm -f conf.glibtest
18940
18941 if test -z "$GLIB_GENMARSHAL" || test -z "$GLIB_MKENUMS"; then
18942    as_fn_error $? "You need the GLib dev tools in your path" "$LINENO" 5
18943 fi
18944
18945   
18946   @%:@ Check whether --enable-schemas-compile was given.
18947 if test "${enable_schemas_compile+set}" = set; then :
18948   enableval=$enable_schemas_compile; case ${enableval} in
18949                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
18950                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
18951                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
18952                  esac
18953 fi
18954
18955   
18956   
18957
18958
18959
18960
18961
18962
18963 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18964         if test -n "$ac_tool_prefix"; then
18965   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18966 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18968 $as_echo_n "checking for $ac_word... " >&6; }
18969 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18970   $as_echo_n "(cached) " >&6
18971 else
18972   case $PKG_CONFIG in
18973   [\\/]* | ?:[\\/]*)
18974   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18975   ;;
18976   *)
18977   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18978 for as_dir in $PATH
18979 do
18980   IFS=$as_save_IFS
18981   test -z "$as_dir" && as_dir=.
18982     for ac_exec_ext in '' $ac_executable_extensions; do
18983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18984     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18986     break 2
18987   fi
18988 done
18989   done
18990 IFS=$as_save_IFS
18991
18992   ;;
18993 esac
18994 fi
18995 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18996 if test -n "$PKG_CONFIG"; then
18997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18998 $as_echo "$PKG_CONFIG" >&6; }
18999 else
19000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19001 $as_echo "no" >&6; }
19002 fi
19003
19004
19005 fi
19006 if test -z "$ac_cv_path_PKG_CONFIG"; then
19007   ac_pt_PKG_CONFIG=$PKG_CONFIG
19008   # Extract the first word of "pkg-config", so it can be a program name with args.
19009 set dummy pkg-config; ac_word=$2
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19011 $as_echo_n "checking for $ac_word... " >&6; }
19012 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19013   $as_echo_n "(cached) " >&6
19014 else
19015   case $ac_pt_PKG_CONFIG in
19016   [\\/]* | ?:[\\/]*)
19017   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19018   ;;
19019   *)
19020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19021 for as_dir in $PATH
19022 do
19023   IFS=$as_save_IFS
19024   test -z "$as_dir" && as_dir=.
19025     for ac_exec_ext in '' $ac_executable_extensions; do
19026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19027     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19029     break 2
19030   fi
19031 done
19032   done
19033 IFS=$as_save_IFS
19034
19035   ;;
19036 esac
19037 fi
19038 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19039 if test -n "$ac_pt_PKG_CONFIG"; then
19040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19041 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19042 else
19043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19044 $as_echo "no" >&6; }
19045 fi
19046
19047   if test "x$ac_pt_PKG_CONFIG" = x; then
19048     PKG_CONFIG=""
19049   else
19050     case $cross_compiling:$ac_tool_warned in
19051 yes:)
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19054 ac_tool_warned=yes ;;
19055 esac
19056     PKG_CONFIG=$ac_pt_PKG_CONFIG
19057   fi
19058 else
19059   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19060 fi
19061
19062 fi
19063 if test -n "$PKG_CONFIG"; then
19064         _pkg_min_version=0.16
19065         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19066 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19067         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19068                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19069 $as_echo "yes" >&6; }
19070         else
19071                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19072 $as_echo "no" >&6; }
19073                 PKG_CONFIG=""
19074         fi
19075 fi
19076   gsettingsschemadir=${datadir}/glib-2.0/schemas
19077
19078   if test x$cross_compiling != xyes; then
19079     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
19080   else
19081     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
19082 set dummy glib-compile-schemas; ac_word=$2
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19084 $as_echo_n "checking for $ac_word... " >&6; }
19085 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
19086   $as_echo_n "(cached) " >&6
19087 else
19088   case $GLIB_COMPILE_SCHEMAS in
19089   [\\/]* | ?:[\\/]*)
19090   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
19091   ;;
19092   *)
19093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19094 for as_dir in $PATH
19095 do
19096   IFS=$as_save_IFS
19097   test -z "$as_dir" && as_dir=.
19098     for ac_exec_ext in '' $ac_executable_extensions; do
19099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19100     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
19101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19102     break 2
19103   fi
19104 done
19105   done
19106 IFS=$as_save_IFS
19107
19108   ;;
19109 esac
19110 fi
19111 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
19112 if test -n "$GLIB_COMPILE_SCHEMAS"; then
19113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
19114 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
19115 else
19116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19117 $as_echo "no" >&6; }
19118 fi
19119
19120
19121   fi
19122   
19123   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
19124     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
19125   else
19126     :
19127   fi
19128
19129   GSETTINGS_RULES='
19130 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
19131
19132 mostlyclean-am: clean-gsettings-schemas
19133
19134 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
19135
19136 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
19137         $(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 $@
19138
19139 all-am: $(gsettings_SCHEMAS:.xml=.valid)
19140 uninstall-am: uninstall-gsettings-schemas
19141 install-data-am: install-gsettings-schemas
19142
19143 .SECONDARY: $(gsettings_SCHEMAS)
19144
19145 gsettings__base_list = \
19146   sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
19147   sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"
19148
19149 install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19150         @$(NORMAL_INSTALL)
19151         test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"
19152         @list='\''$(gsettings__enum_file) $(gsettings_SCHEMAS)'\''; test -n "$(gsettingsschemadir)" || list=; \
19153         for p in $$list; do \
19154           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
19155           echo "$$d$$p"; \
19156         done | $(gsettings__base_list) | \
19157         while read files; do \
19158           echo " $(INSTALL_DATA) $$files '\''$(DESTDIR)$(gsettingsschemadir)'\''"; \
19159           $(INSTALL_DATA) $$files "$(DESTDIR)$(gsettingsschemadir)" || exit $$?; \
19160         done
19161         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19162
19163 uninstall-gsettings-schemas:
19164         @$(NORMAL_UNINSTALL)
19165         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
19166         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
19167         test -n "$$files" || exit 0; \
19168         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
19169         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
19170         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
19171
19172 clean-gsettings-schemas:
19173         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
19174
19175 ifdef gsettings_ENUM_NAMESPACE
19176 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
19177         $(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 $@
19178 endif
19179 '
19180   
19181
19182
19183
19184
19185
19186
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Unicode backend to use" >&5
19188 $as_echo_n "checking which Unicode backend to use... " >&6; }
19189
19190 @%:@ Check whether --with-unicode_backend was given.
19191 if test "${with_unicode_backend+set}" = set; then :
19192   withval=$with_unicode_backend; 
19193 else
19194   with_unicode_backend="icu"
19195 fi
19196
19197
19198 case "$with_unicode_backend" in
19199      icu|glib) ;;
19200      *) as_fn_error $? "Invalid Unicode backend: must be icu or glib." "$LINENO" 5 ;;
19201 esac
19202
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_unicode_backend" >&5
19204 $as_echo "$with_unicode_backend" >&6; }
19205
19206 if test "$with_unicode_backend" = "icu"; then
19207         case "$host" in
19208             *-*-darwin*)
19209                 UNICODE_CFLAGS="-I$srcdir/Source/JavaScriptCore/icu -I$srcdir/Source/WebCore/icu"
19210                 UNICODE_LIBS="-licucore"
19211                 ;;
19212             *-*-mingw*)
19213                 UNICODE_CFLAGS=""
19214                 UNICODE_LIBS="-licuin -licuuc"
19215                 ;;
19216             *)
19217                 # Extract the first word of "icu-config", so it can be a program name with args.
19218 set dummy icu-config; ac_word=$2
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19220 $as_echo_n "checking for $ac_word... " >&6; }
19221 if ${ac_cv_path_icu_config+:} false; then :
19222   $as_echo_n "(cached) " >&6
19223 else
19224   case $icu_config in
19225   [\\/]* | ?:[\\/]*)
19226   ac_cv_path_icu_config="$icu_config" # Let the user override the test with a path.
19227   ;;
19228   *)
19229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19230 for as_dir in $PATH
19231 do
19232   IFS=$as_save_IFS
19233   test -z "$as_dir" && as_dir=.
19234     for ac_exec_ext in '' $ac_executable_extensions; do
19235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19236     ac_cv_path_icu_config="$as_dir/$ac_word$ac_exec_ext"
19237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19238     break 2
19239   fi
19240 done
19241   done
19242 IFS=$as_save_IFS
19243
19244   test -z "$ac_cv_path_icu_config" && ac_cv_path_icu_config="no"
19245   ;;
19246 esac
19247 fi
19248 icu_config=$ac_cv_path_icu_config
19249 if test -n "$icu_config"; then
19250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_config" >&5
19251 $as_echo "$icu_config" >&6; }
19252 else
19253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19254 $as_echo "no" >&6; }
19255 fi
19256
19257
19258                 if test "$icu_config" = "no"; then
19259                         as_fn_error $? "Cannot find icu-config. The ICU library is needed." "$LINENO" 5
19260                 fi
19261
19262                 # We don't use --cflags as this gives us a lot of things that we don't
19263                 # necessarily want, like debugging and optimization flags
19264                 # See man (1) icu-config for more info.
19265                 UNICODE_CFLAGS=`$icu_config --cppflags`
19266                 UNICODE_LIBS=`$icu_config --ldflags-libsonly`
19267                 ;;
19268         esac
19269 fi
19270
19271 if test "$with_unicode_backend" = "glib"; then
19272         
19273 pkg_failed=no
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNICODE" >&5
19275 $as_echo_n "checking for UNICODE... " >&6; }
19276
19277 if test -n "$UNICODE_CFLAGS"; then
19278     pkg_cv_UNICODE_CFLAGS="$UNICODE_CFLAGS"
19279  elif test -n "$PKG_CONFIG"; then
19280     if test -n "$PKG_CONFIG" && \
19281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19282   ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19283   ac_status=$?
19284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19285   test $ac_status = 0; }; then
19286   pkg_cv_UNICODE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19287                       test "x$?" != "x0" && pkg_failed=yes 
19288 else
19289   pkg_failed=yes
19290 fi
19291  else
19292     pkg_failed=untried
19293 fi
19294 if test -n "$UNICODE_LIBS"; then
19295     pkg_cv_UNICODE_LIBS="$UNICODE_LIBS"
19296  elif test -n "$PKG_CONFIG"; then
19297     if test -n "$PKG_CONFIG" && \
19298     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango >= 1.21.0\""; } >&5
19299   ($PKG_CONFIG --exists --print-errors "glib-2.0 pango >= 1.21.0") 2>&5
19300   ac_status=$?
19301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19302   test $ac_status = 0; }; then
19303   pkg_cv_UNICODE_LIBS=`$PKG_CONFIG --libs "glib-2.0 pango >= 1.21.0" 2>/dev/null`
19304                       test "x$?" != "x0" && pkg_failed=yes 
19305 else
19306   pkg_failed=yes
19307 fi
19308  else
19309     pkg_failed=untried
19310 fi
19311
19312
19313
19314 if test $pkg_failed = yes; then
19315         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19316 $as_echo "no" >&6; }
19317         
19318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19319         _pkg_short_errors_supported=yes
19320 else
19321         _pkg_short_errors_supported=no
19322 fi
19323         if test $_pkg_short_errors_supported = yes; then
19324                 UNICODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 pango >= 1.21.0" 2>&1`
19325         else 
19326                 UNICODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 pango >= 1.21.0" 2>&1`
19327         fi
19328         # Put the nasty error message in config.log where it belongs
19329         echo "$UNICODE_PKG_ERRORS" >&5
19330
19331         as_fn_error $? "Package requirements (glib-2.0 pango >= 1.21.0) were not met:
19332
19333 $UNICODE_PKG_ERRORS
19334
19335 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19336 installed software in a non-standard prefix.
19337
19338 Alternatively, you may set the environment variables UNICODE_CFLAGS
19339 and UNICODE_LIBS to avoid the need to call pkg-config.
19340 See the pkg-config man page for more details." "$LINENO" 5        
19341 elif test $pkg_failed = untried; then
19342         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19343 $as_echo "no" >&6; }
19344         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19346 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19347 is in your PATH or set the PKG_CONFIG environment variable to the full
19348 path to pkg-config.
19349
19350 Alternatively, you may set the environment variables UNICODE_CFLAGS
19351 and UNICODE_LIBS to avoid the need to call pkg-config.
19352 See the pkg-config man page for more details.
19353
19354 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19355 See \`config.log' for more details" "$LINENO" 5; }        
19356 else
19357         UNICODE_CFLAGS=$pkg_cv_UNICODE_CFLAGS
19358         UNICODE_LIBS=$pkg_cv_UNICODE_LIBS
19359         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19360 $as_echo "yes" >&6; }
19361         
19362 fi
19363 fi
19364
19365
19366
19367
19368
19369 pkg_failed=no
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
19371 $as_echo_n "checking for ZLIB... " >&6; }
19372
19373 if test -n "$ZLIB_CFLAGS"; then
19374     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
19375  elif test -n "$PKG_CONFIG"; then
19376     if test -n "$PKG_CONFIG" && \
19377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19378   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19379   ac_status=$?
19380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19381   test $ac_status = 0; }; then
19382   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
19383                       test "x$?" != "x0" && pkg_failed=yes 
19384 else
19385   pkg_failed=yes
19386 fi
19387  else
19388     pkg_failed=untried
19389 fi
19390 if test -n "$ZLIB_LIBS"; then
19391     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
19392  elif test -n "$PKG_CONFIG"; then
19393     if test -n "$PKG_CONFIG" && \
19394     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
19395   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
19396   ac_status=$?
19397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19398   test $ac_status = 0; }; then
19399   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
19400                       test "x$?" != "x0" && pkg_failed=yes 
19401 else
19402   pkg_failed=yes
19403 fi
19404  else
19405     pkg_failed=untried
19406 fi
19407
19408
19409
19410 if test $pkg_failed = yes; then
19411         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19412 $as_echo "no" >&6; }
19413         
19414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19415         _pkg_short_errors_supported=yes
19416 else
19417         _pkg_short_errors_supported=no
19418 fi
19419         if test $_pkg_short_errors_supported = yes; then
19420                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
19421         else 
19422                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
19423         fi
19424         # Put the nasty error message in config.log where it belongs
19425         echo "$ZLIB_PKG_ERRORS" >&5
19426
19427         as_fn_error $? "Package requirements (zlib) were not met:
19428
19429 $ZLIB_PKG_ERRORS
19430
19431 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19432 installed software in a non-standard prefix.
19433
19434 Alternatively, you may set the environment variables ZLIB_CFLAGS
19435 and ZLIB_LIBS to avoid the need to call pkg-config.
19436 See the pkg-config man page for more details." "$LINENO" 5        
19437 elif test $pkg_failed = untried; then
19438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19439 $as_echo "no" >&6; }
19440         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19442 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19443 is in your PATH or set the PKG_CONFIG environment variable to the full
19444 path to pkg-config.
19445
19446 Alternatively, you may set the environment variables ZLIB_CFLAGS
19447 and ZLIB_LIBS to avoid the need to call pkg-config.
19448 See the pkg-config man page for more details.
19449
19450 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19451 See \`config.log' for more details" "$LINENO" 5; }        
19452 else
19453         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
19454         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
19455         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19456 $as_echo "yes" >&6; }
19457         
19458 fi
19459
19460
19461
19462
19463 for module in glib unicode
19464 do
19465     case $module in
19466         glib)  ;;
19467         unicode)  ;;
19468         *) as_fn_error $? "I don't support that module. Sorry.." "$LINENO" 5 ;;
19469
19470     esac
19471 done
19472
19473
19474 GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION
19475
19476
19477 cat >>confdefs.h <<_ACEOF
19478 @%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19479 _ACEOF
19480
19481
19482
19483 pkg_failed=no
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
19485 $as_echo_n "checking for LIBXML... " >&6; }
19486
19487 if test -n "$LIBXML_CFLAGS"; then
19488     pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
19489  elif test -n "$PKG_CONFIG"; then
19490     if test -n "$PKG_CONFIG" && \
19491     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19492   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19493   ac_status=$?
19494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19495   test $ac_status = 0; }; then
19496   pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19497                       test "x$?" != "x0" && pkg_failed=yes 
19498 else
19499   pkg_failed=yes
19500 fi
19501  else
19502     pkg_failed=untried
19503 fi
19504 if test -n "$LIBXML_LIBS"; then
19505     pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
19506  elif test -n "$PKG_CONFIG"; then
19507     if test -n "$PKG_CONFIG" && \
19508     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
19509   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
19510   ac_status=$?
19511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19512   test $ac_status = 0; }; then
19513   pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
19514                       test "x$?" != "x0" && pkg_failed=yes 
19515 else
19516   pkg_failed=yes
19517 fi
19518  else
19519     pkg_failed=untried
19520 fi
19521
19522
19523
19524 if test $pkg_failed = yes; then
19525         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19526 $as_echo "no" >&6; }
19527         
19528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19529         _pkg_short_errors_supported=yes
19530 else
19531         _pkg_short_errors_supported=no
19532 fi
19533         if test $_pkg_short_errors_supported = yes; then
19534                 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19535         else 
19536                 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
19537         fi
19538         # Put the nasty error message in config.log where it belongs
19539         echo "$LIBXML_PKG_ERRORS" >&5
19540
19541         as_fn_error $? "Package requirements (libxml-2.0 >= $LIBXML_REQUIRED_VERSION) were not met:
19542
19543 $LIBXML_PKG_ERRORS
19544
19545 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19546 installed software in a non-standard prefix.
19547
19548 Alternatively, you may set the environment variables LIBXML_CFLAGS
19549 and LIBXML_LIBS to avoid the need to call pkg-config.
19550 See the pkg-config man page for more details." "$LINENO" 5        
19551 elif test $pkg_failed = untried; then
19552         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19553 $as_echo "no" >&6; }
19554         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19556 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19557 is in your PATH or set the PKG_CONFIG environment variable to the full
19558 path to pkg-config.
19559
19560 Alternatively, you may set the environment variables LIBXML_CFLAGS
19561 and LIBXML_LIBS to avoid the need to call pkg-config.
19562 See the pkg-config man page for more details.
19563
19564 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19565 See \`config.log' for more details" "$LINENO" 5; }        
19566 else
19567         LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
19568         LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
19569         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19570 $as_echo "yes" >&6; }
19571         
19572 fi
19573
19574
19575
19576
19577 pkg_failed=no
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
19579 $as_echo_n "checking for PANGO... " >&6; }
19580
19581 if test -n "$PANGO_CFLAGS"; then
19582     pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
19583  elif test -n "$PKG_CONFIG"; then
19584     if test -n "$PKG_CONFIG" && \
19585     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19586                    pangoft2\""; } >&5
19587   ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19588                    pangoft2") 2>&5
19589   ac_status=$?
19590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19591   test $ac_status = 0; }; then
19592   pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_REQUIRED_VERSION
19593                    pangoft2" 2>/dev/null`
19594                       test "x$?" != "x0" && pkg_failed=yes 
19595 else
19596   pkg_failed=yes
19597 fi
19598  else
19599     pkg_failed=untried
19600 fi
19601 if test -n "$PANGO_LIBS"; then
19602     pkg_cv_PANGO_LIBS="$PANGO_LIBS"
19603  elif test -n "$PKG_CONFIG"; then
19604     if test -n "$PKG_CONFIG" && \
19605     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION
19606                    pangoft2\""; } >&5
19607   ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION
19608                    pangoft2") 2>&5
19609   ac_status=$?
19610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19611   test $ac_status = 0; }; then
19612   pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= $PANGO_REQUIRED_VERSION
19613                    pangoft2" 2>/dev/null`
19614                       test "x$?" != "x0" && pkg_failed=yes 
19615 else
19616   pkg_failed=yes
19617 fi
19618  else
19619     pkg_failed=untried
19620 fi
19621
19622
19623
19624 if test $pkg_failed = yes; then
19625         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19626 $as_echo "no" >&6; }
19627         
19628 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19629         _pkg_short_errors_supported=yes
19630 else
19631         _pkg_short_errors_supported=no
19632 fi
19633         if test $_pkg_short_errors_supported = yes; then
19634                 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION
19635                    pangoft2" 2>&1`
19636         else 
19637                 PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION
19638                    pangoft2" 2>&1`
19639         fi
19640         # Put the nasty error message in config.log where it belongs
19641         echo "$PANGO_PKG_ERRORS" >&5
19642
19643         as_fn_error $? "Package requirements (pango >= $PANGO_REQUIRED_VERSION
19644                    pangoft2) were not met:
19645
19646 $PANGO_PKG_ERRORS
19647
19648 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19649 installed software in a non-standard prefix.
19650
19651 Alternatively, you may set the environment variables PANGO_CFLAGS
19652 and PANGO_LIBS to avoid the need to call pkg-config.
19653 See the pkg-config man page for more details." "$LINENO" 5        
19654 elif test $pkg_failed = untried; then
19655         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19656 $as_echo "no" >&6; }
19657         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19659 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19660 is in your PATH or set the PKG_CONFIG environment variable to the full
19661 path to pkg-config.
19662
19663 Alternatively, you may set the environment variables PANGO_CFLAGS
19664 and PANGO_LIBS to avoid the need to call pkg-config.
19665 See the pkg-config man page for more details.
19666
19667 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19668 See \`config.log' for more details" "$LINENO" 5; }        
19669 else
19670         PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
19671         PANGO_LIBS=$pkg_cv_PANGO_LIBS
19672         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19673 $as_echo "yes" >&6; }
19674         
19675 fi
19676
19677
19678
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable spellcheck support" >&5
19680 $as_echo_n "checking whether to enable spellcheck support... " >&6; }
19681 @%:@ Check whether --enable-spellcheck was given.
19682 if test "${enable_spellcheck+set}" = set; then :
19683   enableval=$enable_spellcheck; 
19684 else
19685   enable_spellcheck="yes"
19686 fi
19687
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_spellcheck" >&5
19689 $as_echo "$enable_spellcheck" >&6; }
19690
19691 if test "$enable_spellcheck" = "yes"; then
19692
19693 pkg_failed=no
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5
19695 $as_echo_n "checking for ENCHANT... " >&6; }
19696
19697 if test -n "$ENCHANT_CFLAGS"; then
19698     pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
19699  elif test -n "$PKG_CONFIG"; then
19700     if test -n "$PKG_CONFIG" && \
19701     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19702   ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19703   ac_status=$?
19704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19705   test $ac_status = 0; }; then
19706   pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19707                       test "x$?" != "x0" && pkg_failed=yes 
19708 else
19709   pkg_failed=yes
19710 fi
19711  else
19712     pkg_failed=untried
19713 fi
19714 if test -n "$ENCHANT_LIBS"; then
19715     pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
19716  elif test -n "$PKG_CONFIG"; then
19717     if test -n "$PKG_CONFIG" && \
19718     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED_VERSION\""; } >&5
19719   ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED_VERSION") 2>&5
19720   ac_status=$?
19721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19722   test $ac_status = 0; }; then
19723   pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>/dev/null`
19724                       test "x$?" != "x0" && pkg_failed=yes 
19725 else
19726   pkg_failed=yes
19727 fi
19728  else
19729     pkg_failed=untried
19730 fi
19731
19732
19733
19734 if test $pkg_failed = yes; then
19735         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19736 $as_echo "no" >&6; }
19737         
19738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19739         _pkg_short_errors_supported=yes
19740 else
19741         _pkg_short_errors_supported=no
19742 fi
19743         if test $_pkg_short_errors_supported = yes; then
19744                 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19745         else 
19746                 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant >= $ENCHANT_REQUIRED_VERSION" 2>&1`
19747         fi
19748         # Put the nasty error message in config.log where it belongs
19749         echo "$ENCHANT_PKG_ERRORS" >&5
19750
19751         enable_spellcheck="no"
19752 elif test $pkg_failed = untried; then
19753         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19754 $as_echo "no" >&6; }
19755         enable_spellcheck="no"
19756 else
19757         ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
19758         ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
19759         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19760 $as_echo "yes" >&6; }
19761         
19762 fi
19763
19764
19765 fi
19766
19767
19768 pkg_failed=no
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAIL" >&5
19770 $as_echo_n "checking for GAIL... " >&6; }
19771
19772 if test -n "$GAIL_CFLAGS"; then
19773     pkg_cv_GAIL_CFLAGS="$GAIL_CFLAGS"
19774  elif test -n "$PKG_CONFIG"; then
19775     if test -n "$PKG_CONFIG" && \
19776     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19777   ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19778   ac_status=$?
19779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19780   test $ac_status = 0; }; then
19781   pkg_cv_GAIL_CFLAGS=`$PKG_CONFIG --cflags "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19782                       test "x$?" != "x0" && pkg_failed=yes 
19783 else
19784   pkg_failed=yes
19785 fi
19786  else
19787     pkg_failed=untried
19788 fi
19789 if test -n "$GAIL_LIBS"; then
19790     pkg_cv_GAIL_LIBS="$GAIL_LIBS"
19791  elif test -n "$PKG_CONFIG"; then
19792     if test -n "$PKG_CONFIG" && \
19793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_PC_NAME >= \$GAIL_REQUIRED_VERSION\""; } >&5
19794   ($PKG_CONFIG --exists --print-errors "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION") 2>&5
19795   ac_status=$?
19796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19797   test $ac_status = 0; }; then
19798   pkg_cv_GAIL_LIBS=`$PKG_CONFIG --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>/dev/null`
19799                       test "x$?" != "x0" && pkg_failed=yes 
19800 else
19801   pkg_failed=yes
19802 fi
19803  else
19804     pkg_failed=untried
19805 fi
19806
19807
19808
19809 if test $pkg_failed = yes; then
19810         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19811 $as_echo "no" >&6; }
19812         
19813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19814         _pkg_short_errors_supported=yes
19815 else
19816         _pkg_short_errors_supported=no
19817 fi
19818         if test $_pkg_short_errors_supported = yes; then
19819                 GAIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19820         else 
19821                 GAIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION" 2>&1`
19822         fi
19823         # Put the nasty error message in config.log where it belongs
19824         echo "$GAIL_PKG_ERRORS" >&5
19825
19826         as_fn_error $? "Package requirements ($GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION) were not met:
19827
19828 $GAIL_PKG_ERRORS
19829
19830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19831 installed software in a non-standard prefix.
19832
19833 Alternatively, you may set the environment variables GAIL_CFLAGS
19834 and GAIL_LIBS to avoid the need to call pkg-config.
19835 See the pkg-config man page for more details." "$LINENO" 5        
19836 elif test $pkg_failed = untried; then
19837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19838 $as_echo "no" >&6; }
19839         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19841 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19842 is in your PATH or set the PKG_CONFIG environment variable to the full
19843 path to pkg-config.
19844
19845 Alternatively, you may set the environment variables GAIL_CFLAGS
19846 and GAIL_LIBS to avoid the need to call pkg-config.
19847 See the pkg-config man page for more details.
19848
19849 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19850 See \`config.log' for more details" "$LINENO" 5; }        
19851 else
19852         GAIL_CFLAGS=$pkg_cv_GAIL_CFLAGS
19853         GAIL_LIBS=$pkg_cv_GAIL_LIBS
19854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19855 $as_echo "yes" >&6; }
19856         
19857 fi
19858
19859
19860
19861 # check for target-specific dependencies
19862 if test "$with_target" = "directfb"; then
19863    
19864 pkg_failed=no
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19866 $as_echo_n "checking for CAIRO... " >&6; }
19867
19868 if test -n "$CAIRO_CFLAGS"; then
19869     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19870  elif test -n "$PKG_CONFIG"; then
19871     if test -n "$PKG_CONFIG" && \
19872     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19873   ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19874   ac_status=$?
19875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19876   test $ac_status = 0; }; then
19877   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19878                       test "x$?" != "x0" && pkg_failed=yes 
19879 else
19880   pkg_failed=yes
19881 fi
19882  else
19883     pkg_failed=untried
19884 fi
19885 if test -n "$CAIRO_LIBS"; then
19886     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19887  elif test -n "$PKG_CONFIG"; then
19888     if test -n "$PKG_CONFIG" && \
19889     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-directfb >= \$CAIRO_REQUIRED_VERSION\""; } >&5
19890   ($PKG_CONFIG --exists --print-errors "cairo-directfb >= $CAIRO_REQUIRED_VERSION") 2>&5
19891   ac_status=$?
19892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19893   test $ac_status = 0; }; then
19894   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
19895                       test "x$?" != "x0" && pkg_failed=yes 
19896 else
19897   pkg_failed=yes
19898 fi
19899  else
19900     pkg_failed=untried
19901 fi
19902
19903
19904
19905 if test $pkg_failed = yes; then
19906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19907 $as_echo "no" >&6; }
19908         
19909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19910         _pkg_short_errors_supported=yes
19911 else
19912         _pkg_short_errors_supported=no
19913 fi
19914         if test $_pkg_short_errors_supported = yes; then
19915                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19916         else 
19917                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-directfb >= $CAIRO_REQUIRED_VERSION" 2>&1`
19918         fi
19919         # Put the nasty error message in config.log where it belongs
19920         echo "$CAIRO_PKG_ERRORS" >&5
19921
19922         as_fn_error $? "Package requirements (cairo-directfb >= $CAIRO_REQUIRED_VERSION) were not met:
19923
19924 $CAIRO_PKG_ERRORS
19925
19926 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19927 installed software in a non-standard prefix.
19928
19929 Alternatively, you may set the environment variables CAIRO_CFLAGS
19930 and CAIRO_LIBS to avoid the need to call pkg-config.
19931 See the pkg-config man page for more details." "$LINENO" 5        
19932 elif test $pkg_failed = untried; then
19933         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19934 $as_echo "no" >&6; }
19935         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19937 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19938 is in your PATH or set the PKG_CONFIG environment variable to the full
19939 path to pkg-config.
19940
19941 Alternatively, you may set the environment variables CAIRO_CFLAGS
19942 and CAIRO_LIBS to avoid the need to call pkg-config.
19943 See the pkg-config man page for more details.
19944
19945 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19946 See \`config.log' for more details" "$LINENO" 5; }        
19947 else
19948         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
19949         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
19950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19951 $as_echo "yes" >&6; }
19952         
19953 fi
19954    
19955 pkg_failed=no
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
19957 $as_echo_n "checking for GTK... " >&6; }
19958
19959 if test -n "$GTK_CFLAGS"; then
19960     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
19961  elif test -n "$PKG_CONFIG"; then
19962     if test -n "$PKG_CONFIG" && \
19963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19964   ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19965   ac_status=$?
19966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19967   test $ac_status = 0; }; then
19968   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19969                       test "x$?" != "x0" && pkg_failed=yes 
19970 else
19971   pkg_failed=yes
19972 fi
19973  else
19974     pkg_failed=untried
19975 fi
19976 if test -n "$GTK_LIBS"; then
19977     pkg_cv_GTK_LIBS="$GTK_LIBS"
19978  elif test -n "$PKG_CONFIG"; then
19979     if test -n "$PKG_CONFIG" && \
19980     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-directfb-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
19981   ($PKG_CONFIG --exists --print-errors "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
19982   ac_status=$?
19983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19984   test $ac_status = 0; }; then
19985   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
19986                       test "x$?" != "x0" && pkg_failed=yes 
19987 else
19988   pkg_failed=yes
19989 fi
19990  else
19991     pkg_failed=untried
19992 fi
19993
19994
19995
19996 if test $pkg_failed = yes; then
19997         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19998 $as_echo "no" >&6; }
19999         
20000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20001         _pkg_short_errors_supported=yes
20002 else
20003         _pkg_short_errors_supported=no
20004 fi
20005         if test $_pkg_short_errors_supported = yes; then
20006                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
20007         else 
20008                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
20009         fi
20010         # Put the nasty error message in config.log where it belongs
20011         echo "$GTK_PKG_ERRORS" >&5
20012
20013         as_fn_error $? "Package requirements (gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION) were not met:
20014
20015 $GTK_PKG_ERRORS
20016
20017 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20018 installed software in a non-standard prefix.
20019
20020 Alternatively, you may set the environment variables GTK_CFLAGS
20021 and GTK_LIBS to avoid the need to call pkg-config.
20022 See the pkg-config man page for more details." "$LINENO" 5        
20023 elif test $pkg_failed = untried; then
20024         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20025 $as_echo "no" >&6; }
20026         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20028 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20029 is in your PATH or set the PKG_CONFIG environment variable to the full
20030 path to pkg-config.
20031
20032 Alternatively, you may set the environment variables GTK_CFLAGS
20033 and GTK_LIBS to avoid the need to call pkg-config.
20034 See the pkg-config man page for more details.
20035
20036 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20037 See \`config.log' for more details" "$LINENO" 5; }        
20038 else
20039         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
20040         GTK_LIBS=$pkg_cv_GTK_LIBS
20041         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20042 $as_echo "yes" >&6; }
20043         
20044 fi
20045    
20046 $as_echo "@%:@define WTF_PLATFORM_DIRECTFB 1" >>confdefs.h
20047
20048 else
20049    
20050 pkg_failed=no
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
20052 $as_echo_n "checking for CAIRO... " >&6; }
20053
20054 if test -n "$CAIRO_CFLAGS"; then
20055     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
20056  elif test -n "$PKG_CONFIG"; then
20057     if test -n "$PKG_CONFIG" && \
20058     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
20059   ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
20060   ac_status=$?
20061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20062   test $ac_status = 0; }; then
20063   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
20064                       test "x$?" != "x0" && pkg_failed=yes 
20065 else
20066   pkg_failed=yes
20067 fi
20068  else
20069     pkg_failed=untried
20070 fi
20071 if test -n "$CAIRO_LIBS"; then
20072     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
20073  elif test -n "$PKG_CONFIG"; then
20074     if test -n "$PKG_CONFIG" && \
20075     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
20076   ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
20077   ac_status=$?
20078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20079   test $ac_status = 0; }; then
20080   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
20081                       test "x$?" != "x0" && pkg_failed=yes 
20082 else
20083   pkg_failed=yes
20084 fi
20085  else
20086     pkg_failed=untried
20087 fi
20088
20089
20090
20091 if test $pkg_failed = yes; then
20092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20093 $as_echo "no" >&6; }
20094         
20095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20096         _pkg_short_errors_supported=yes
20097 else
20098         _pkg_short_errors_supported=no
20099 fi
20100         if test $_pkg_short_errors_supported = yes; then
20101                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20102         else 
20103                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
20104         fi
20105         # Put the nasty error message in config.log where it belongs
20106         echo "$CAIRO_PKG_ERRORS" >&5
20107
20108         as_fn_error $? "Package requirements (cairo >= $CAIRO_REQUIRED_VERSION) were not met:
20109
20110 $CAIRO_PKG_ERRORS
20111
20112 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20113 installed software in a non-standard prefix.
20114
20115 Alternatively, you may set the environment variables CAIRO_CFLAGS
20116 and CAIRO_LIBS to avoid the need to call pkg-config.
20117 See the pkg-config man page for more details." "$LINENO" 5        
20118 elif test $pkg_failed = untried; then
20119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20120 $as_echo "no" >&6; }
20121         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20123 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20124 is in your PATH or set the PKG_CONFIG environment variable to the full
20125 path to pkg-config.
20126
20127 Alternatively, you may set the environment variables CAIRO_CFLAGS
20128 and CAIRO_LIBS to avoid the need to call pkg-config.
20129 See the pkg-config man page for more details.
20130
20131 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20132 See \`config.log' for more details" "$LINENO" 5; }        
20133 else
20134         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
20135         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
20136         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20137 $as_echo "yes" >&6; }
20138         
20139 fi
20140    
20141 pkg_failed=no
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
20143 $as_echo_n "checking for GTK... " >&6; }
20144
20145 if test -n "$GTK_CFLAGS"; then
20146     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
20147  elif test -n "$PKG_CONFIG"; then
20148     if test -n "$PKG_CONFIG" && \
20149     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20150   ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20151   ac_status=$?
20152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20153   test $ac_status = 0; }; then
20154   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20155                       test "x$?" != "x0" && pkg_failed=yes 
20156 else
20157   pkg_failed=yes
20158 fi
20159  else
20160     pkg_failed=untried
20161 fi
20162 if test -n "$GTK_LIBS"; then
20163     pkg_cv_GTK_LIBS="$GTK_LIBS"
20164  elif test -n "$PKG_CONFIG"; then
20165     if test -n "$PKG_CONFIG" && \
20166     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED_VERSION\""; } >&5
20167   ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION") 2>&5
20168   ac_status=$?
20169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20170   test $ac_status = 0; }; then
20171   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>/dev/null`
20172                       test "x$?" != "x0" && pkg_failed=yes 
20173 else
20174   pkg_failed=yes
20175 fi
20176  else
20177     pkg_failed=untried
20178 fi
20179
20180
20181
20182 if test $pkg_failed = yes; then
20183         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20184 $as_echo "no" >&6; }
20185         
20186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20187         _pkg_short_errors_supported=yes
20188 else
20189         _pkg_short_errors_supported=no
20190 fi
20191         if test $_pkg_short_errors_supported = yes; then
20192                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20193         else 
20194                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION" 2>&1`
20195         fi
20196         # Put the nasty error message in config.log where it belongs
20197         echo "$GTK_PKG_ERRORS" >&5
20198
20199         as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION) were not met:
20200
20201 $GTK_PKG_ERRORS
20202
20203 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20204 installed software in a non-standard prefix.
20205
20206 Alternatively, you may set the environment variables GTK_CFLAGS
20207 and GTK_LIBS to avoid the need to call pkg-config.
20208 See the pkg-config man page for more details." "$LINENO" 5        
20209 elif test $pkg_failed = untried; then
20210         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20211 $as_echo "no" >&6; }
20212         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20214 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20215 is in your PATH or set the PKG_CONFIG environment variable to the full
20216 path to pkg-config.
20217
20218 Alternatively, you may set the environment variables GTK_CFLAGS
20219 and GTK_LIBS to avoid the need to call pkg-config.
20220 See the pkg-config man page for more details.
20221
20222 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20223 See \`config.log' for more details" "$LINENO" 5; }        
20224 else
20225         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
20226         GTK_LIBS=$pkg_cv_GTK_LIBS
20227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20228 $as_echo "yes" >&6; }
20229         
20230 fi
20231
20232    if test "$with_target" = "x11" && test "$os_win32" = "no"; then
20233       # check for XT
20234       
20235 pkg_failed=no
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
20237 $as_echo_n "checking for XT... " >&6; }
20238
20239 if test -n "$XT_CFLAGS"; then
20240     pkg_cv_XT_CFLAGS="$XT_CFLAGS"
20241  elif test -n "$PKG_CONFIG"; then
20242     if test -n "$PKG_CONFIG" && \
20243     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20244   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20245   ac_status=$?
20246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20247   test $ac_status = 0; }; then
20248   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
20249                       test "x$?" != "x0" && pkg_failed=yes 
20250 else
20251   pkg_failed=yes
20252 fi
20253  else
20254     pkg_failed=untried
20255 fi
20256 if test -n "$XT_LIBS"; then
20257     pkg_cv_XT_LIBS="$XT_LIBS"
20258  elif test -n "$PKG_CONFIG"; then
20259     if test -n "$PKG_CONFIG" && \
20260     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
20261   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
20262   ac_status=$?
20263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20264   test $ac_status = 0; }; then
20265   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
20266                       test "x$?" != "x0" && pkg_failed=yes 
20267 else
20268   pkg_failed=yes
20269 fi
20270  else
20271     pkg_failed=untried
20272 fi
20273
20274
20275
20276 if test $pkg_failed = yes; then
20277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20278 $as_echo "no" >&6; }
20279         
20280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20281         _pkg_short_errors_supported=yes
20282 else
20283         _pkg_short_errors_supported=no
20284 fi
20285         if test $_pkg_short_errors_supported = yes; then
20286                 XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
20287         else 
20288                 XT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
20289         fi
20290         # Put the nasty error message in config.log where it belongs
20291         echo "$XT_PKG_ERRORS" >&5
20292
20293         xt_has_pkg_config=no
20294 elif test $pkg_failed = untried; then
20295         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20296 $as_echo "no" >&6; }
20297         xt_has_pkg_config=no
20298 else
20299         XT_CFLAGS=$pkg_cv_XT_CFLAGS
20300         XT_LIBS=$pkg_cv_XT_LIBS
20301         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20302 $as_echo "yes" >&6; }
20303         xt_has_pkg_config=yes
20304 fi
20305       # some old versions of Xt do not provide xt.pc, so try to link against Xt
20306       # and if it's installed fall back to just adding -lXt
20307       if test "$xt_has_pkg_config" = "no"; then
20308          # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
20309          # we don't care about the XtOpenDisplay symbol but only about the
20310          # existence of libXt
20311          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtOpenDisplay in -lXt" >&5
20312 $as_echo_n "checking for XtOpenDisplay in -lXt... " >&6; }
20313 if ${ac_cv_lib_Xt_XtOpenDisplay+:} false; then :
20314   $as_echo_n "(cached) " >&6
20315 else
20316   ac_check_lib_save_LIBS=$LIBS
20317 LIBS="-lXt  $LIBS"
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h.  */
20320
20321 /* Override any GCC internal prototype to avoid an error.
20322    Use char because int might match the return type of a GCC
20323    builtin and then its argument prototype would still apply.  */
20324 #ifdef __cplusplus
20325 extern "C"
20326 #endif
20327 char XtOpenDisplay ();
20328 int
20329 main ()
20330 {
20331 return XtOpenDisplay ();
20332   ;
20333   return 0;
20334 }
20335 _ACEOF
20336 if ac_fn_c_try_link "$LINENO"; then :
20337   ac_cv_lib_Xt_XtOpenDisplay=yes
20338 else
20339   ac_cv_lib_Xt_XtOpenDisplay=no
20340 fi
20341 rm -f core conftest.err conftest.$ac_objext \
20342     conftest$ac_exeext conftest.$ac_ext
20343 LIBS=$ac_check_lib_save_LIBS
20344 fi
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5
20346 $as_echo "$ac_cv_lib_Xt_XtOpenDisplay" >&6; }
20347 if test "x$ac_cv_lib_Xt_XtOpenDisplay" = xyes; then :
20348   XT_CFLAGS=""; XT_LIBS="-lXt"
20349 else
20350   as_fn_error $? "X Toolkit Intrinsics library (libXt) not found" "$LINENO" 5
20351 fi
20352
20353       fi
20354       
20355       
20356       
20357 $as_echo "@%:@define WTF_PLATFORM_X11 1" >>confdefs.h
20358
20359    fi
20360 fi
20361
20362
20363
20364
20365
20366 # check whether to build with debugging enabled
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do a debug build" >&5
20368 $as_echo_n "checking whether to do a debug build... " >&6; }
20369 @%:@ Check whether --enable-debug was given.
20370 if test "${enable_debug+set}" = set; then :
20371   enableval=$enable_debug; 
20372 else
20373   enable_debug="no"
20374 fi
20375
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
20377 $as_echo "$enable_debug" >&6; }
20378
20379 # check whether to enable optimized builds
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized builds" >&5
20381 $as_echo_n "checking whether to enable optimized builds... " >&6; }
20382 @%:@ Check whether --enable-optimizations was given.
20383 if test "${enable_optimizations+set}" = set; then :
20384   enableval=$enable_optimizations; enable_optimizations=$enableval
20385 else
20386   if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi
20387 fi
20388
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_optimizations" >&5
20390 $as_echo "$enable_optimizations" >&6; }
20391
20392 # check whether to enable 3D rendering support
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for 3D Rendering" >&5
20394 $as_echo_n "checking whether to enable support for 3D Rendering... " >&6; }
20395 @%:@ Check whether --enable-3d_rendering was given.
20396 if test "${enable_3d_rendering+set}" = set; then :
20397   enableval=$enable_3d_rendering; 
20398 else
20399   enable_3d_rendering="no"
20400 fi
20401
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_3d_rendering" >&5
20403 $as_echo "$enable_3d_rendering" >&6; }
20404
20405 # check whether to enable WebGL support
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WebGL support" >&5
20407 $as_echo_n "checking whether to enable WebGL support... " >&6; }
20408 @%:@ Check whether --enable-webgl was given.
20409 if test "${enable_webgl+set}" = set; then :
20410   enableval=$enable_webgl; 
20411 else
20412   enable_webgl="no"
20413 fi
20414
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webgl" >&5
20416 $as_echo "$enable_webgl" >&6; }
20417
20418 if test "$enable_webgl" = "yes"; then
20419     for ac_header in GL/gl.h
20420 do :
20421   ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
20422 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
20423   cat >>confdefs.h <<_ACEOF
20424 @%:@define HAVE_GL_GL_H 1
20425 _ACEOF
20426  
20427 else
20428   as_fn_error $? "OpenGL header not found" "$LINENO" 5
20429 fi
20430
20431 done
20432
20433     for ac_header in GL/glx.h
20434 do :
20435   ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
20436 if test "x$ac_cv_header_GL_glx_h" = xyes; then :
20437   cat >>confdefs.h <<_ACEOF
20438 @%:@define HAVE_GL_GLX_H 1
20439 _ACEOF
20440  
20441 else
20442   as_fn_error $? "GLX header not found" "$LINENO" 5
20443 fi
20444
20445 done
20446
20447     OPENGL_LIBS=-lGL
20448 fi
20449
20450
20451 # check whether to enable channel messaging support
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 Channel Messaging support" >&5
20453 $as_echo_n "checking whether to enable HTML5 Channel Messaging support... " >&6; }
20454 @%:@ Check whether --enable-channel_messaging was given.
20455 if test "${enable_channel_messaging+set}" = set; then :
20456   enableval=$enable_channel_messaging; 
20457 else
20458   enable_channel_messaging="yes"
20459 fi
20460
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_channel_messaging" >&5
20462 $as_echo "$enable_channel_messaging" >&6; }
20463
20464 # check whether to enable notifications
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable notifications" >&5
20466 $as_echo_n "checking whether to enable notifications... " >&6; }
20467 @%:@ Check whether --enable-notifications was given.
20468 if test "${enable_notifications+set}" = set; then :
20469   enableval=$enable_notifications; 
20470 else
20471   enable_notifications="no"
20472 fi
20473
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_notifications" >&5
20475 $as_echo "$enable_notifications" >&6; }
20476
20477 # check whether to enable the meter tag
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 meter tag" >&5
20479 $as_echo_n "checking whether to enable HTML5 meter tag... " >&6; }
20480 @%:@ Check whether --enable-meter_tag was given.
20481 if test "${enable_meter_tag+set}" = set; then :
20482   enableval=$enable_meter_tag; 
20483 else
20484   enable_meter_tag="yes"
20485 fi
20486
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_meter_tag" >&5
20488 $as_echo "$enable_meter_tag" >&6; }
20489
20490 # check whether to enable page visibility API.
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Page Visibility API support" >&5
20492 $as_echo_n "checking whether to enable Page Visibility API support... " >&6; }
20493 @%:@ Check whether --enable-page_visibility_api was given.
20494 if test "${enable_page_visibility_api+set}" = set; then :
20495   enableval=$enable_page_visibility_api; 
20496 else
20497   enable_page_visibility_api="no"
20498 fi
20499
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_page_visibility_api" >&5
20501 $as_echo "$enable_page_visibility_api" >&6; }
20502
20503 # check whether to enable the progress tag
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 progress tag" >&5
20505 $as_echo_n "checking whether to enable HTML5 progress tag... " >&6; }
20506 @%:@ Check whether --enable-progress_tag was given.
20507 if test "${enable_progress_tag+set}" = set; then :
20508   enableval=$enable_progress_tag; 
20509 else
20510   enable_progress_tag="yes"
20511 fi
20512
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_progress_tag" >&5
20514 $as_echo "$enable_progress_tag" >&6; }
20515
20516 # check whether to enable JavaScript debugger/profiler support
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JavaScript debugger/profiler support" >&5
20518 $as_echo_n "checking whether to enable JavaScript debugger/profiler support... " >&6; }
20519 @%:@ Check whether --enable-javascript_debugger was given.
20520 if test "${enable_javascript_debugger+set}" = set; then :
20521   enableval=$enable_javascript_debugger; 
20522 else
20523   enable_javascript_debugger="yes"
20524 fi
20525
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_javascript_debugger" >&5
20527 $as_echo "$enable_javascript_debugger" >&6; }
20528
20529 # check whether to build with datagrid support
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datagrid support" >&5
20531 $as_echo_n "checking whether to enable HTML5 datagrid support... " >&6; }
20532 @%:@ Check whether --enable-datagrid was given.
20533 if test "${enable_datagrid+set}" = set; then :
20534   enableval=$enable_datagrid; 
20535 else
20536   enable_datagrid="no"
20537 fi
20538
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datagrid" >&5
20540 $as_echo "$enable_datagrid" >&6; }
20541
20542 # check whether to build with data transfer items support
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 data transfer items support" >&5
20544 $as_echo_n "checking whether to enable HTML5 data transfer items support... " >&6; }
20545 @%:@ Check whether --enable-data_transfer_items was given.
20546 if test "${enable_data_transfer_items+set}" = set; then :
20547   enableval=$enable_data_transfer_items; 
20548 else
20549   enable_data_transfer_items="no"
20550 fi
20551
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_data_transfer_items" >&5
20553 $as_echo "$enable_data_transfer_items" >&6; }
20554
20555 # check whether to enable HTML5 Offline Web Applications support
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 offline web applications support" >&5
20557 $as_echo_n "checking whether to enable HTML5 offline web applications support... " >&6; }
20558 @%:@ Check whether --enable-offline_web_applications was given.
20559 if test "${enable_offline_web_applications+set}" = set; then :
20560   enableval=$enable_offline_web_applications; 
20561 else
20562   enable_offline_web_applications="yes"
20563 fi
20564
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_offline_web_applications" >&5
20566 $as_echo "$enable_offline_web_applications" >&6; }
20567
20568 # check whether to enable HTML5 client-side session and persitent storage support
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 client-side session and persistent storage support" >&5
20570 $as_echo_n "checking whether to enable HTML5 client-side session and persistent storage support... " >&6; }
20571 @%:@ Check whether --enable-dom_storage was given.
20572 if test "${enable_dom_storage+set}" = set; then :
20573   enableval=$enable_dom_storage; 
20574 else
20575   enable_dom_storage="yes"
20576 fi
20577
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dom_storage" >&5
20579 $as_echo "$enable_dom_storage" >&6; }
20580
20581 # check whether to enable the indexed database API
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the indexed database API" >&5
20583 $as_echo_n "checking whether to enable the indexed database API... " >&6; }
20584 @%:@ Check whether --enable-indexed_database was given.
20585 if test "${enable_indexed_database+set}" = set; then :
20586   enableval=$enable_indexed_database; 
20587 else
20588   enable_indexed_database="no"
20589 fi
20590
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_indexed_database" >&5
20592 $as_echo "$enable_indexed_database" >&6; }
20593
20594 # check whether to enable the color input
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the color input" >&5
20596 $as_echo_n "checking whether to enable the color input... " >&6; }
20597 @%:@ Check whether --enable-input_color was given.
20598 if test "${enable_input_color+set}" = set; then :
20599   enableval=$enable_input_color; 
20600 else
20601   enable_input_color="no"
20602 fi
20603
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_color" >&5
20605 $as_echo "$enable_input_color" >&6; }
20606
20607 # check whether to enable the speech input API
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the speech input API" >&5
20609 $as_echo_n "checking whether to enable the speech input API... " >&6; }
20610 @%:@ Check whether --enable-input_speech was given.
20611 if test "${enable_input_speech+set}" = set; then :
20612   enableval=$enable_input_speech; 
20613 else
20614   enable_input_speech="no"
20615 fi
20616
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_input_speech" >&5
20618 $as_echo "$enable_input_speech" >&6; }
20619
20620 # check whether to build with SQL database support
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SQL client-side database storage support" >&5
20622 $as_echo_n "checking whether to enable SQL client-side database storage support... " >&6; }
20623 @%:@ Check whether --enable-sql_database was given.
20624 if test "${enable_sql_database+set}" = set; then :
20625   enableval=$enable_sql_database; 
20626 else
20627   enable_sql_database="yes"
20628 fi
20629
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sql_database" >&5
20631 $as_echo "$enable_sql_database" >&6; }
20632
20633 # check whether to build with icon database support
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable icon database support" >&5
20635 $as_echo_n "checking whether to enable icon database support... " >&6; }
20636 @%:@ Check whether --enable-icon_database was given.
20637 if test "${enable_icon_database+set}" = set; then :
20638   enableval=$enable_icon_database; 
20639 else
20640   enable_icon_database="yes"
20641 fi
20642
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_icon_database" >&5
20644 $as_echo "$enable_icon_database" >&6; }
20645
20646 # check whether to build with image resizer API support
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable image resizer API support" >&5
20648 $as_echo_n "checking whether to enable image resizer API support... " >&6; }
20649 @%:@ Check whether --enable-image_resizer was given.
20650 if test "${enable_image_resizer+set}" = set; then :
20651   enableval=$enable_image_resizer; 
20652 else
20653   enable_image_resizer="no"
20654 fi
20655
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_image_resizer" >&5
20657 $as_echo "$enable_image_resizer" >&6; }
20658
20659 # check whether to enable HTML5 datalist support
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 datalist support" >&5
20661 $as_echo_n "checking whether to enable HTML5 datalist support... " >&6; }
20662 @%:@ Check whether --enable-datalist was given.
20663 if test "${enable_datalist+set}" = set; then :
20664   enableval=$enable_datalist; 
20665 else
20666   enable_datalist="yes"
20667 fi
20668
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_datalist" >&5
20670 $as_echo "$enable_datalist" >&6; }
20671
20672 # check whether to enable HTML5 sandbox iframe support
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 sandboxed iframe support" >&5
20674 $as_echo_n "checking whether to enable HTML5 sandboxed iframe support... " >&6; }
20675 @%:@ Check whether --enable-sandbox was given.
20676 if test "${enable_sandbox+set}" = set; then :
20677   enableval=$enable_sandbox; 
20678 else
20679   enable_sandbox="yes"
20680 fi
20681
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sandbox" >&5
20683 $as_echo "$enable_sandbox" >&6; }
20684
20685 # check whether to enable HTML5 audio/video support
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video support" >&5
20687 $as_echo_n "checking whether to enable HTML5 video support... " >&6; }
20688 @%:@ Check whether --enable-video was given.
20689 if test "${enable_video+set}" = set; then :
20690   enableval=$enable_video; 
20691 else
20692   enable_video="yes"
20693 fi
20694
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video" >&5
20696 $as_echo "$enable_video" >&6; }
20697
20698 # check whether to enable HTML5 audio/video support
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable elis media support" >&5
20700 $as_echo_n "checking whether to enable elis media support... " >&6; }
20701 @%:@ Check whether --enable-video was given.
20702 if test "${enable_video+set}" = set; then :
20703   enableval=$enable_video; 
20704 else
20705   enable_elis_media="no"
20706 fi
20707
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_elis_media" >&5
20709 $as_echo "$enable_elis_media" >&6; }
20710
20711 # turn off video features if --disable-video is requested
20712 if test "$enable_video" = "no"; then
20713    enable_video_track=no
20714 fi
20715
20716 # check whether to enable HTML5 video track support
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 video track support" >&5
20718 $as_echo_n "checking whether to enable HTML5 video track support... " >&6; }
20719 @%:@ Check whether --enable-video_track was given.
20720 if test "${enable_video_track+set}" = set; then :
20721   enableval=$enable_video_track; 
20722 else
20723   enable_video_track="yes"
20724 fi
20725
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_video_track" >&5
20727 $as_echo "$enable_video_track" >&6; }
20728
20729 # check whether to enable media source support
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media source support" >&5
20731 $as_echo_n "checking whether to enable media source support... " >&6; }
20732 @%:@ Check whether --enable-media_source was given.
20733 if test "${enable_media_source+set}" = set; then :
20734   enableval=$enable_media_source; 
20735 else
20736   enable_media_source="no"
20737 fi
20738
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_source" >&5
20740 $as_echo "$enable_media_source" >&6; }
20741
20742 # check whether to enable media statistics support
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media statistics support" >&5
20744 $as_echo_n "checking whether to enable media statistics support... " >&6; }
20745 @%:@ Check whether --enable-media_statistics was given.
20746 if test "${enable_media_statistics+set}" = set; then :
20747   enableval=$enable_media_statistics; 
20748 else
20749   enable_media_statistics="no"
20750 fi
20751
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_statistics" >&5
20753 $as_echo "$enable_media_statistics" >&6; }
20754
20755 # check whether to enable Javascript Fullscreen API support
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fullscreen API support" >&5
20757 $as_echo_n "checking whether to enable Fullscreen API support... " >&6; }
20758 @%:@ Check whether --enable-fullscreen_api was given.
20759 if test "${enable_fullscreen_api+set}" = set; then :
20760   enableval=$enable_fullscreen_api; 
20761 else
20762   enable_fullscreen_api="yes"
20763 fi
20764
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fullscreen_api" >&5
20766 $as_echo "$enable_fullscreen_api" >&6; }
20767
20768 # check whether to enable media stream support
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable media stream support" >&5
20770 $as_echo_n "checking whether to enable media stream support... " >&6; }
20771 @%:@ Check whether --enable-media_stream was given.
20772 if test "${enable_media_stream+set}" = set; then :
20773   enableval=$enable_media_stream; 
20774 else
20775   enable_media_stream="no"
20776 fi
20777
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_media_stream" >&5
20779 $as_echo "$enable_media_stream" >&6; }
20780
20781 # check whether to enable XHTML-MP support
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XHTML-MP support" >&5
20783 $as_echo_n "checking whether to enable XHTML-MP support... " >&6; }
20784 @%:@ Check whether --enable-xhtmlmp was given.
20785 if test "${enable_xhtmlmp+set}" = set; then :
20786   enableval=$enable_xhtmlmp; 
20787 else
20788   enable_xhtmlmp="no"
20789 fi
20790
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xhtmlmp" >&5
20792 $as_echo "$enable_xhtmlmp" >&6; }
20793
20794 # check whether to enable XPath support
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPath support" >&5
20796 $as_echo_n "checking whether to enable XPath support... " >&6; }
20797 @%:@ Check whether --enable-xpath was given.
20798 if test "${enable_xpath+set}" = set; then :
20799   enableval=$enable_xpath; 
20800 else
20801   enable_xpath="yes"
20802 fi
20803
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xpath" >&5
20805 $as_echo "$enable_xpath" >&6; }
20806
20807 # check whether to enable XSLT support
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XSLT support" >&5
20809 $as_echo_n "checking whether to enable XSLT support... " >&6; }
20810 @%:@ Check whether --enable-xslt was given.
20811 if test "${enable_xslt+set}" = set; then :
20812   enableval=$enable_xslt; 
20813 else
20814   enable_xslt="yes"
20815 fi
20816
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xslt" >&5
20818 $as_echo "$enable_xslt" >&6; }
20819
20820 # check whether to enable geolocation support
20821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable geolocation support" >&5
20822 $as_echo_n "checking whether to enable geolocation support... " >&6; }
20823 @%:@ Check whether --enable-geolocation was given.
20824 if test "${enable_geolocation+set}" = set; then :
20825   enableval=$enable_geolocation; 
20826 else
20827   enable_geolocation="no"
20828 fi
20829
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_geolocation" >&5
20831 $as_echo "$enable_geolocation" >&6; }
20832
20833 # check whether to enable client-based geolocation support
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable client-based geolocation support" >&5
20835 $as_echo_n "checking whether to enable client-based geolocation support... " >&6; }
20836 @%:@ Check whether --enable-client_based_geolocation was given.
20837 if test "${enable_client_based_geolocation+set}" = set; then :
20838   enableval=$enable_client_based_geolocation; 
20839 else
20840   enable_client_based_geolocation="no"
20841 fi
20842
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_client_based_geolocation" >&5
20844 $as_echo "$enable_client_based_geolocation" >&6; }
20845
20846 # check whether to enable MathML support
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable MathML support" >&5
20848 $as_echo_n "checking whether to enable MathML support... " >&6; }
20849 @%:@ Check whether --enable-mathml was given.
20850 if test "${enable_mathml+set}" = set; then :
20851   enableval=$enable_mathml; 
20852 else
20853   enable_mathml="no"
20854 fi
20855
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mathml" >&5
20857 $as_echo "$enable_mathml" >&6; }
20858
20859 # check whether to enable SVG support
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG support" >&5
20861 $as_echo_n "checking whether to enable SVG support... " >&6; }
20862 @%:@ Check whether --enable-svg was given.
20863 if test "${enable_svg+set}" = set; then :
20864   enableval=$enable_svg; 
20865 else
20866   enable_svg="yes"
20867 fi
20868
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg" >&5
20870 $as_echo "$enable_svg" >&6; }
20871
20872 # check whether to enable WCSS support
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WCSS support" >&5
20874 $as_echo_n "checking whether to enable WCSS support... " >&6; }
20875 @%:@ Check whether --enable-wcss was given.
20876 if test "${enable_wcss+set}" = set; then :
20877   enableval=$enable_wcss; 
20878 else
20879   enable_wcss="no"
20880 fi
20881
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wcss" >&5
20883 $as_echo "$enable_wcss" >&6; }
20884
20885 # check whether to enable SharedWorkers support
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SharedWorkers support" >&5
20887 $as_echo_n "checking whether to enable SharedWorkers support... " >&6; }
20888 @%:@ Check whether --enable-shared_workers was given.
20889 if test "${enable_shared_workers+set}" = set; then :
20890   enableval=$enable_shared_workers; 
20891 else
20892   enable_shared_workers="yes"
20893 fi
20894
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared_workers" >&5
20896 $as_echo "$enable_shared_workers" >&6; }
20897
20898 # check whether to enable Web Workers support
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Workers support" >&5
20900 $as_echo_n "checking whether to enable Web Workers support... " >&6; }
20901 @%:@ Check whether --enable-workers was given.
20902 if test "${enable_workers+set}" = set; then :
20903   enableval=$enable_workers; 
20904 else
20905   enable_workers="yes"
20906 fi
20907
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_workers" >&5
20909 $as_echo "$enable_workers" >&6; }
20910
20911 # check whether to enable directory upload support
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable directory upload support" >&5
20913 $as_echo_n "checking whether to enable directory upload support... " >&6; }
20914 @%:@ Check whether --enable-directory_upload was given.
20915 if test "${enable_directory_upload+set}" = set; then :
20916   enableval=$enable_directory_upload; 
20917 else
20918   enable_directory_upload="no"
20919 fi
20920
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_directory_upload" >&5
20922 $as_echo "$enable_directory_upload" >&6; }
20923
20924 # check whether to enable HTML5 FileSystem API support
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable HTML5 FileSystem API support" >&5
20926 $as_echo_n "checking whether to enable HTML5 FileSystem API support... " >&6; }
20927 @%:@ Check whether --enable-file_system was given.
20928 if test "${enable_file_system+set}" = set; then :
20929   enableval=$enable_file_system; 
20930 else
20931   enable_file_system="no"
20932 fi
20933
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_file_system" >&5
20935 $as_echo "$enable_file_system" >&6; }
20936
20937 # check whether to enable Quota API support
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Quota API support" >&5
20939 $as_echo_n "checking whether to enable Quota API support... " >&6; }
20940 @%:@ Check whether --enable-quota was given.
20941 if test "${enable_quota+set}" = set; then :
20942   enableval=$enable_quota; 
20943 else
20944   enable_quota="no"
20945 fi
20946
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_quota" >&5
20948 $as_echo "$enable_quota" >&6; }
20949
20950 # turn off svg features if --disable-svg is requested
20951 if test "$enable_svg" = "no"; then
20952    enable_svg_fonts=no
20953 fi
20954
20955 # check whether to enable support for filters
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for filters" >&5
20957 $as_echo_n "checking whether to enable support for filters... " >&6; }
20958 @%:@ Check whether --enable-filters was given.
20959 if test "${enable_filters+set}" = set; then :
20960   enableval=$enable_filters; 
20961 else
20962   enable_filters="yes"
20963 fi
20964
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_filters" >&5
20966 $as_echo "$enable_filters" >&6; }
20967
20968 # check whether to enable support for SVG fonts
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for SVG fonts" >&5
20970 $as_echo_n "checking whether to enable support for SVG fonts... " >&6; }
20971 @%:@ Check whether --enable-svg_fonts was given.
20972 if test "${enable_svg_fonts+set}" = set; then :
20973   enableval=$enable_svg_fonts; 
20974 else
20975   enable_svg_fonts="yes"
20976 fi
20977
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_svg_fonts" >&5
20979 $as_echo "$enable_svg_fonts" >&6; }
20980
20981 # check for SVG features, enabling SVG if necessary
20982 if test "$enable_svg_fonts" = "yes"; then
20983    svg_flags=yes
20984    if test "$enable_svg" = "no"; then
20985        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&5
20986 $as_echo "$as_me: WARNING: SVG feature(s) requested but SVG is disabled.. Enabling SVG support" >&2;}
20987        enable_svg=yes
20988    fi
20989 fi
20990
20991 # check whether to enable Web Socket support
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Sockets support" >&5
20993 $as_echo_n "checking whether to enable Web Sockets support... " >&6; }
20994 @%:@ Check whether --enable-web_sockets was given.
20995 if test "${enable_web_sockets+set}" = set; then :
20996   enableval=$enable_web_sockets; 
20997 else
20998   enable_web_sockets="yes"
20999 fi
21000
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_sockets" >&5
21002 $as_echo "$enable_web_sockets" >&6; }
21003
21004 # check whether to enable Web Audio support
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Audio support" >&5
21006 $as_echo_n "checking whether to enable Web Audio support... " >&6; }
21007 @%:@ Check whether --enable-web_audio was given.
21008 if test "${enable_web_audio+set}" = set; then :
21009   enableval=$enable_web_audio; 
21010 else
21011   enable_web_audio="no"
21012 fi
21013
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_audio" >&5
21015 $as_echo "$enable_web_audio" >&6; }
21016
21017 # check whether to enable Web Timing support
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Web Timing support" >&5
21019 $as_echo_n "checking whether to enable Web Timing support... " >&6; }
21020 @%:@ Check whether --enable-web_timing was given.
21021 if test "${enable_web_timing+set}" = set; then :
21022   enableval=$enable_web_timing; 
21023 else
21024   enable_web_timing="no"
21025 fi
21026
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_web_timing" >&5
21028 $as_echo "$enable_web_timing" >&6; }
21029
21030 # check whether to enable Blob support
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Blob support" >&5
21032 $as_echo_n "checking whether to enable Blob support... " >&6; }
21033 @%:@ Check whether --enable-blob was given.
21034 if test "${enable_blob+set}" = set; then :
21035   enableval=$enable_blob; 
21036 else
21037   enable_blob="yes"
21038 fi
21039
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_blob" >&5
21041 $as_echo "$enable_blob" >&6; }
21042
21043 # check whether to enable Fast Mobile Scrolling support
21044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Fast Mobile Scrolling" >&5
21045 $as_echo_n "checking whether to enable Fast Mobile Scrolling... " >&6; }
21046 @%:@ Check whether --enable-fast_mobile_scrolling was given.
21047 if test "${enable_fast_mobile_scrolling+set}" = set; then :
21048   enableval=$enable_fast_mobile_scrolling; 
21049 else
21050   enable_fast_mobile_scrolling="no"
21051 fi
21052
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_mobile_scrolling" >&5
21054 $as_echo "$enable_fast_mobile_scrolling" >&6; }
21055
21056 # check whether to enable code coverage
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable code coverage support" >&5
21058 $as_echo_n "checking whether to enable code coverage support... " >&6; }
21059 @%:@ Check whether --enable-coverage was given.
21060 if test "${enable_coverage+set}" = set; then :
21061   enableval=$enable_coverage; 
21062 else
21063   enable_coverage="no"
21064 fi
21065
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
21067 $as_echo "$enable_coverage" >&6; }
21068
21069 # check whether to enable FastMalloc
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimized memory allocator" >&5
21071 $as_echo_n "checking whether to enable optimized memory allocator... " >&6; }
21072 @%:@ Check whether --enable-fast_malloc was given.
21073 if test "${enable_fast_malloc+set}" = set; then :
21074   enableval=$enable_fast_malloc; 
21075 else
21076   if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi
21077 fi
21078
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_fast_malloc" >&5
21080 $as_echo "$enable_fast_malloc" >&6; }
21081
21082 # check whether to enable debug symbols
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug symbols" >&5
21084 $as_echo_n "checking whether to enable debug symbols... " >&6; }
21085 @%:@ Check whether --enable-debug_symbols was given.
21086 if test "${enable_debug_symbols+set}" = set; then :
21087   enableval=$enable_debug_symbols; 
21088 else
21089   if test "$enable_debug" = "yes"; then enable_debug_symbols="yes"; else enable_debug_symbols="no"; fi
21090 fi
21091
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_symbols" >&5
21093 $as_echo "$enable_debug_symbols" >&6; }
21094
21095 # check whether to enable debug features
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug features" >&5
21097 $as_echo_n "checking whether to enable debug features... " >&6; }
21098 @%:@ Check whether --enable-debug_features was given.
21099 if test "${enable_debug_features+set}" = set; then :
21100   enableval=$enable_debug_features; 
21101 else
21102   if test "$enable_debug" = "yes"; then enable_debug_features="yes"; else enable_debug_features="no"; fi
21103 fi
21104
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug_features" >&5
21106 $as_echo "$enable_debug_features" >&6; }
21107
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable JIT compilation" >&5
21109 $as_echo_n "checking whether to enable JIT compilation... " >&6; }
21110 @%:@ Check whether --enable-jit was given.
21111 if test "${enable_jit+set}" = set; then :
21112   enableval=$enable_jit; 
21113 else
21114   enable_jit="yes"
21115 fi
21116
21117 if test "$enable_jit" = "yes"; then
21118     case "$host_cpu" in
21119         arm*)
21120             
21121 $as_echo "@%:@define ENABLE_JIT 1" >>confdefs.h
21122
21123             
21124 $as_echo "@%:@define ENABLE_YARR 1" >>confdefs.h
21125
21126             
21127 $as_echo "@%:@define ENABLE_YARR_JIT 1" >>confdefs.h
21128
21129         ;;
21130         i*86|x86_64)
21131             
21132 $as_echo "@%:@define ENABLE_JIT 1" >>confdefs.h
21133
21134             
21135 $as_echo "@%:@define ENABLE_YARR 1" >>confdefs.h
21136
21137             
21138 $as_echo "@%:@define ENABLE_YARR_JIT 1" >>confdefs.h
21139
21140             
21141 $as_echo "@%:@define ENABLE_JIT_OPTIMIZE_CALL 1" >>confdefs.h
21142
21143             
21144 $as_echo "@%:@define ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS 1" >>confdefs.h
21145
21146             
21147 $as_echo "@%:@define ENABLE_JIT_OPTIMIZE_ARITHMETIC 1" >>confdefs.h
21148
21149             case "$host_cpu" in
21150                 i*86)
21151                     
21152 $as_echo "@%:@define WTF_USE_JIT_STUB_ARGUMENT_VA_LIST 1" >>confdefs.h
21153
21154                 ;;
21155                 x86_64)
21156                     
21157 $as_echo "@%:@define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21158
21159                     
21160 $as_echo "@%:@define WTF_USE_ALTERNATE_JSIMMEDIATE 1" >>confdefs.h
21161
21162                 ;;
21163             esac
21164         ;;
21165         sh4)
21166             
21167 $as_echo "@%:@define ENABLE_YARR 1" >>confdefs.h
21168
21169             
21170 $as_echo "@%:@define ENABLE_YARR_JIT 1" >>confdefs.h
21171
21172             
21173 $as_echo "@%:@define ENABLE_JIT 1" >>confdefs.h
21174
21175             
21176 $as_echo "@%:@define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1" >>confdefs.h
21177
21178         ;;
21179         *)
21180             enable_jit="no (CPU '$host_cpu' not supported)"
21181         ;;
21182     esac
21183 else
21184         
21185 $as_echo "@%:@define ENABLE_JIT 0" >>confdefs.h
21186
21187 fi
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_jit" >&5
21189 $as_echo "$enable_jit" >&6; }
21190
21191 # Opcode stats
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable opcode stats" >&5
21193 $as_echo_n "checking whether to enable opcode stats... " >&6; }
21194 @%:@ Check whether --enable-opcode-stats was given.
21195 if test "${enable_opcode_stats+set}" = set; then :
21196   enableval=$enable_opcode_stats; 
21197 else
21198   enable_opcode_stats=no
21199 fi
21200
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_opcode_stats" >&5
21202 $as_echo "$enable_opcode_stats" >&6; }
21203
21204 if test "$enable_opcode_stats" = "yes"; then
21205   if test "$enable_jit" = "yes"; then
21206     as_fn_error $? "JIT must be disabled for Opcode stats to work." "$LINENO" 5
21207   fi
21208   
21209 $as_echo "@%:@define ENABLE_OPCODE_STATS 1" >>confdefs.h
21210
21211 fi
21212
21213 # Link prefetch
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable link prefetch support" >&5
21215 $as_echo_n "checking whether to enable link prefetch support... " >&6; }
21216 @%:@ Check whether --enable-link-prefetch was given.
21217 if test "${enable_link_prefetch+set}" = set; then :
21218   enableval=$enable_link_prefetch; 
21219 else
21220   enable_link_prefetch=no
21221 fi
21222
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_link_prefetch" >&5
21224 $as_echo "$enable_link_prefetch" >&6; }
21225
21226 if test "$enable_link_prefetch" = "yes"; then 
21227   
21228 $as_echo "@%:@define ENABLE_LINK_PREFETCH 1" >>confdefs.h
21229
21230 fi
21231
21232 # GObject Introspection
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GObject introspection support" >&5
21234 $as_echo_n "checking whether to enable GObject introspection support... " >&6; }
21235 @%:@ Check whether --enable-introspection was given.
21236 if test "${enable_introspection+set}" = set; then :
21237   enableval=$enable_introspection; 
21238 else
21239   enable_introspection=no
21240 fi
21241
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_introspection" >&5
21243 $as_echo "$enable_introspection" >&6; }
21244
21245 # check whether to enable animation API
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Animation API support" >&5
21247 $as_echo_n "checking whether to enable Animation API support... " >&6; }
21248 @%:@ Check whether --enable-animation_api was given.
21249 if test "${enable_animation_api+set}" = set; then :
21250   enableval=$enable_animation_api; 
21251 else
21252   enable_animation_api="no"
21253 fi
21254
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_animation_api" >&5
21256 $as_echo "$enable_animation_api" >&6; }
21257
21258 # check whether to enable touch icon loading 
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable touch icon loading" >&5
21260 $as_echo_n "checking whether to enable touch icon loading... " >&6; }
21261 @%:@ Check whether --enable-touch_icon_loading was given.
21262 if test "${enable_touch_icon_loading+set}" = set; then :
21263   enableval=$enable_touch_icon_loading; 
21264 else
21265   enable_touch_icon_loading="no"
21266 fi
21267
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_touch_icon_loading" >&5
21269 $as_echo "$enable_touch_icon_loading" >&6; }
21270
21271 # check whether to enable Register Protocol Handler support
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Register Protocol Handler" >&5
21273 $as_echo_n "checking whether to enable Register Protocol Handler... " >&6; }
21274 @%:@ Check whether --enable-register_protocol_handler was given.
21275 if test "${enable_register_protocol_handler+set}" = set; then :
21276   enableval=$enable_register_protocol_handler; 
21277 else
21278   enable_register_protocol_handler="no"
21279 fi
21280
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_register_protocol_handler" >&5
21282 $as_echo "$enable_register_protocol_handler" >&6; }
21283
21284 # check whether to enable DeviceOrientation support
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DeviceOrientation" >&5
21286 $as_echo_n "checking whether to enable DeviceOrientation... " >&6; }
21287 @%:@ Check whether --enable-device_orientation was given.
21288 if test "${enable_device_orientation+set}" = set; then :
21289   enableval=$enable_device_orientation; 
21290 else
21291   enable_device_orientation="no"
21292 fi
21293
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_device_orientation" >&5
21295 $as_echo "$enable_device_orientation" >&6; }
21296
21297 G_IR_SCANNER=
21298 G_IR_COMPILER=
21299 G_IR_GENERATE=
21300 GIRDIR=
21301 GIRTYPELIBDIR=
21302
21303 if test "$enable_introspection" = "yes"; then
21304   GOBJECT_INTROSPECTION_REQUIRED=0.9.5
21305   
21306 pkg_failed=no
21307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INTROSPECTION" >&5
21308 $as_echo_n "checking for INTROSPECTION... " >&6; }
21309
21310 if test -n "$INTROSPECTION_CFLAGS"; then
21311     pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS"
21312  elif test -n "$PKG_CONFIG"; then
21313     if test -n "$PKG_CONFIG" && \
21314     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21315   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21316   ac_status=$?
21317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21318   test $ac_status = 0; }; then
21319   pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21320                       test "x$?" != "x0" && pkg_failed=yes 
21321 else
21322   pkg_failed=yes
21323 fi
21324  else
21325     pkg_failed=untried
21326 fi
21327 if test -n "$INTROSPECTION_LIBS"; then
21328     pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS"
21329  elif test -n "$PKG_CONFIG"; then
21330     if test -n "$PKG_CONFIG" && \
21331     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQUIRED\""; } >&5
21332   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED") 2>&5
21333   ac_status=$?
21334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21335   test $ac_status = 0; }; then
21336   pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>/dev/null`
21337                       test "x$?" != "x0" && pkg_failed=yes 
21338 else
21339   pkg_failed=yes
21340 fi
21341  else
21342     pkg_failed=untried
21343 fi
21344
21345
21346
21347 if test $pkg_failed = yes; then
21348         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21349 $as_echo "no" >&6; }
21350         
21351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21352         _pkg_short_errors_supported=yes
21353 else
21354         _pkg_short_errors_supported=no
21355 fi
21356         if test $_pkg_short_errors_supported = yes; then
21357                 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21358         else 
21359                 INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED" 2>&1`
21360         fi
21361         # Put the nasty error message in config.log where it belongs
21362         echo "$INTROSPECTION_PKG_ERRORS" >&5
21363
21364         as_fn_error $? "Package requirements (gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED) were not met:
21365
21366 $INTROSPECTION_PKG_ERRORS
21367
21368 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21369 installed software in a non-standard prefix.
21370
21371 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21372 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21373 See the pkg-config man page for more details." "$LINENO" 5        
21374 elif test $pkg_failed = untried; then
21375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21376 $as_echo "no" >&6; }
21377         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21379 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21380 is in your PATH or set the PKG_CONFIG environment variable to the full
21381 path to pkg-config.
21382
21383 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
21384 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
21385 See the pkg-config man page for more details.
21386
21387 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21388 See \`config.log' for more details" "$LINENO" 5; }        
21389 else
21390         INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS
21391         INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS
21392         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21393 $as_echo "yes" >&6; }
21394         
21395 fi
21396   
21397   G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
21398   G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)"
21399   G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)"
21400   
21401 $as_echo "@%:@define ENABLE_INTROSPECTION 1" >>confdefs.h
21402
21403 fi
21404
21405
21406
21407
21408
21409 # determine the font backend
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the font backend to use" >&5
21411 $as_echo_n "checking the font backend to use... " >&6; }
21412
21413 @%:@ Check whether --with-font_backend was given.
21414 if test "${with_font_backend+set}" = set; then :
21415   withval=$with_font_backend; 
21416 else
21417   with_font_backend="freetype"
21418 fi
21419
21420
21421 case "$with_font_backend" in
21422      freetype|pango) ;;
21423      *) as_fn_error $? "Invalid font backend: must be freetype or pango." "$LINENO" 5 ;;
21424 esac
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_font_backend" >&5
21426 $as_echo "$with_font_backend" >&6; }
21427
21428 if test "$host_cpu" = "sh4"; then
21429    CXXFLAGS="$CXXFLAGS -mieee -w"
21430    CFLAGS="$CFLAGS -mieee -w"
21431 fi
21432
21433 # Add '-g' flag to gcc to build with debug symbols
21434 if test "$enable_debug_symbols" = "yes"; then
21435    CXXFLAGS="$CXXFLAGS -g"
21436    CFLAGS="$CFLAGS -g"
21437 fi
21438
21439 if test "$enable_debug_features" = "no"; then
21440    
21441 $as_echo "@%:@define NDEBUG 1" >>confdefs.h
21442
21443 fi
21444
21445 # Add the appropriate 'O' level for optimized builds
21446 if test "$enable_optimizations" = "yes"; then
21447    CXXFLAGS="$CXXFLAGS -O2"
21448    CFLAGS="$CFLAGS -O2"
21449 else
21450    CXXFLAGS="$CXXFLAGS -O0"
21451    CFLAGS="$CFLAGS -O0"
21452 fi
21453
21454
21455 pkg_failed=no
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
21457 $as_echo_n "checking for LIBSOUP... " >&6; }
21458
21459 if test -n "$LIBSOUP_CFLAGS"; then
21460     pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
21461  elif test -n "$PKG_CONFIG"; then
21462     if test -n "$PKG_CONFIG" && \
21463     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21464   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21465   ac_status=$?
21466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21467   test $ac_status = 0; }; then
21468   pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21469                       test "x$?" != "x0" && pkg_failed=yes 
21470 else
21471   pkg_failed=yes
21472 fi
21473  else
21474     pkg_failed=untried
21475 fi
21476 if test -n "$LIBSOUP_LIBS"; then
21477     pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
21478  elif test -n "$PKG_CONFIG"; then
21479     if test -n "$PKG_CONFIG" && \
21480     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED_VERSION\""; } >&5
21481   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION") 2>&5
21482   ac_status=$?
21483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21484   test $ac_status = 0; }; then
21485   pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>/dev/null`
21486                       test "x$?" != "x0" && pkg_failed=yes 
21487 else
21488   pkg_failed=yes
21489 fi
21490  else
21491     pkg_failed=untried
21492 fi
21493
21494
21495
21496 if test $pkg_failed = yes; then
21497         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21498 $as_echo "no" >&6; }
21499         
21500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21501         _pkg_short_errors_supported=yes
21502 else
21503         _pkg_short_errors_supported=no
21504 fi
21505         if test $_pkg_short_errors_supported = yes; then
21506                 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21507         else 
21508                 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION" 2>&1`
21509         fi
21510         # Put the nasty error message in config.log where it belongs
21511         echo "$LIBSOUP_PKG_ERRORS" >&5
21512
21513         as_fn_error $? "Package requirements (libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION) were not met:
21514
21515 $LIBSOUP_PKG_ERRORS
21516
21517 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21518 installed software in a non-standard prefix.
21519
21520 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21521 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21522 See the pkg-config man page for more details." "$LINENO" 5        
21523 elif test $pkg_failed = untried; then
21524         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21525 $as_echo "no" >&6; }
21526         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21528 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21529 is in your PATH or set the PKG_CONFIG environment variable to the full
21530 path to pkg-config.
21531
21532 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
21533 and LIBSOUP_LIBS to avoid the need to call pkg-config.
21534 See the pkg-config man page for more details.
21535
21536 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21537 See \`config.log' for more details" "$LINENO" 5; }        
21538 else
21539         LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
21540         LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
21541         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21542 $as_echo "yes" >&6; }
21543         
21544 fi
21545
21546
21547
21548 # check if FreeType/FontConfig are available
21549 if test "$with_font_backend" = "freetype"; then
21550    if test "$with_target" = "directfb"; then
21551    
21552 pkg_failed=no
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21554 $as_echo_n "checking for FREETYPE... " >&6; }
21555
21556 if test -n "$FREETYPE_CFLAGS"; then
21557     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21558  elif test -n "$PKG_CONFIG"; then
21559     if test -n "$PKG_CONFIG" && \
21560     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21561                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21562   ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21563                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21564   ac_status=$?
21565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21566   test $ac_status = 0; }; then
21567   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21568                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21569                       test "x$?" != "x0" && pkg_failed=yes 
21570 else
21571   pkg_failed=yes
21572 fi
21573  else
21574     pkg_failed=untried
21575 fi
21576 if test -n "$FREETYPE_LIBS"; then
21577     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21578  elif test -n "$PKG_CONFIG"; then
21579     if test -n "$PKG_CONFIG" && \
21580     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21581                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21582   ($PKG_CONFIG --exists --print-errors "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21583                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21584   ac_status=$?
21585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21586   test $ac_status = 0; }; then
21587   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21588                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21589                       test "x$?" != "x0" && pkg_failed=yes 
21590 else
21591   pkg_failed=yes
21592 fi
21593  else
21594     pkg_failed=untried
21595 fi
21596
21597
21598
21599 if test $pkg_failed = yes; then
21600         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21601 $as_echo "no" >&6; }
21602         
21603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21604         _pkg_short_errors_supported=yes
21605 else
21606         _pkg_short_errors_supported=no
21607 fi
21608         if test $_pkg_short_errors_supported = yes; then
21609                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21610                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21611         else 
21612                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21613                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21614         fi
21615         # Put the nasty error message in config.log where it belongs
21616         echo "$FREETYPE_PKG_ERRORS" >&5
21617
21618         as_fn_error $? "Package requirements (fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21619                      freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21620
21621 $FREETYPE_PKG_ERRORS
21622
21623 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21624 installed software in a non-standard prefix.
21625
21626 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21627 and FREETYPE_LIBS to avoid the need to call pkg-config.
21628 See the pkg-config man page for more details." "$LINENO" 5        
21629 elif test $pkg_failed = untried; then
21630         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21631 $as_echo "no" >&6; }
21632         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21634 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21635 is in your PATH or set the PKG_CONFIG environment variable to the full
21636 path to pkg-config.
21637
21638 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21639 and FREETYPE_LIBS to avoid the need to call pkg-config.
21640 See the pkg-config man page for more details.
21641
21642 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21643 See \`config.log' for more details" "$LINENO" 5; }        
21644 else
21645         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21646         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21647         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21648 $as_echo "yes" >&6; }
21649         
21650 fi
21651    else
21652    
21653 pkg_failed=no
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
21655 $as_echo_n "checking for FREETYPE... " >&6; }
21656
21657 if test -n "$FREETYPE_CFLAGS"; then
21658     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
21659  elif test -n "$PKG_CONFIG"; then
21660     if test -n "$PKG_CONFIG" && \
21661     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21662                      fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21663                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21664   ($PKG_CONFIG --exists --print-errors "cairo-ft
21665                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21666                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21667   ac_status=$?
21668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21669   test $ac_status = 0; }; then
21670   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft
21671                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21672                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21673                       test "x$?" != "x0" && pkg_failed=yes 
21674 else
21675   pkg_failed=yes
21676 fi
21677  else
21678     pkg_failed=untried
21679 fi
21680 if test -n "$FREETYPE_LIBS"; then
21681     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
21682  elif test -n "$PKG_CONFIG"; then
21683     if test -n "$PKG_CONFIG" && \
21684     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft
21685                      fontconfig >= \$FONTCONFIG_REQUIRED_VERSION
21686                      freetype2 >= \$FREETYPE2_REQUIRED_VERSION\""; } >&5
21687   ($PKG_CONFIG --exists --print-errors "cairo-ft
21688                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21689                      freetype2 >= $FREETYPE2_REQUIRED_VERSION") 2>&5
21690   ac_status=$?
21691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21692   test $ac_status = 0; }; then
21693   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "cairo-ft
21694                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21695                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>/dev/null`
21696                       test "x$?" != "x0" && pkg_failed=yes 
21697 else
21698   pkg_failed=yes
21699 fi
21700  else
21701     pkg_failed=untried
21702 fi
21703
21704
21705
21706 if test $pkg_failed = yes; then
21707         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21708 $as_echo "no" >&6; }
21709         
21710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21711         _pkg_short_errors_supported=yes
21712 else
21713         _pkg_short_errors_supported=no
21714 fi
21715         if test $_pkg_short_errors_supported = yes; then
21716                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-ft
21717                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21718                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21719         else 
21720                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-ft
21721                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21722                      freetype2 >= $FREETYPE2_REQUIRED_VERSION" 2>&1`
21723         fi
21724         # Put the nasty error message in config.log where it belongs
21725         echo "$FREETYPE_PKG_ERRORS" >&5
21726
21727         as_fn_error $? "Package requirements (cairo-ft
21728                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
21729                      freetype2 >= $FREETYPE2_REQUIRED_VERSION) were not met:
21730
21731 $FREETYPE_PKG_ERRORS
21732
21733 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21734 installed software in a non-standard prefix.
21735
21736 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21737 and FREETYPE_LIBS to avoid the need to call pkg-config.
21738 See the pkg-config man page for more details." "$LINENO" 5        
21739 elif test $pkg_failed = untried; then
21740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21741 $as_echo "no" >&6; }
21742         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21744 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21745 is in your PATH or set the PKG_CONFIG environment variable to the full
21746 path to pkg-config.
21747
21748 Alternatively, you may set the environment variables FREETYPE_CFLAGS
21749 and FREETYPE_LIBS to avoid the need to call pkg-config.
21750 See the pkg-config man page for more details.
21751
21752 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21753 See \`config.log' for more details" "$LINENO" 5; }        
21754 else
21755         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
21756         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
21757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21758 $as_echo "yes" >&6; }
21759         
21760 fi
21761    fi
21762    
21763    
21764 fi
21765
21766 # check if SQLite3 is available. Error out only if one of the
21767 # features hard-depending on it is enabled while SQLite3 is
21768 # unavailable.
21769
21770 pkg_failed=no
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
21772 $as_echo_n "checking for SQLITE3... " >&6; }
21773
21774 if test -n "$SQLITE3_CFLAGS"; then
21775     pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
21776  elif test -n "$PKG_CONFIG"; then
21777     if test -n "$PKG_CONFIG" && \
21778     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21779   ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21780   ac_status=$?
21781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21782   test $ac_status = 0; }; then
21783   pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21784                       test "x$?" != "x0" && pkg_failed=yes 
21785 else
21786   pkg_failed=yes
21787 fi
21788  else
21789     pkg_failed=untried
21790 fi
21791 if test -n "$SQLITE3_LIBS"; then
21792     pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
21793  elif test -n "$PKG_CONFIG"; then
21794     if test -n "$PKG_CONFIG" && \
21795     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$SQLITE_REQUIRED_VERSION\""; } >&5
21796   ($PKG_CONFIG --exists --print-errors "sqlite3 >= $SQLITE_REQUIRED_VERSION") 2>&5
21797   ac_status=$?
21798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21799   test $ac_status = 0; }; then
21800   pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>/dev/null`
21801                       test "x$?" != "x0" && pkg_failed=yes 
21802 else
21803   pkg_failed=yes
21804 fi
21805  else
21806     pkg_failed=untried
21807 fi
21808
21809
21810
21811 if test $pkg_failed = yes; then
21812         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21813 $as_echo "no" >&6; }
21814         
21815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21816         _pkg_short_errors_supported=yes
21817 else
21818         _pkg_short_errors_supported=no
21819 fi
21820         if test $_pkg_short_errors_supported = yes; then
21821                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21822         else 
21823                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 >= $SQLITE_REQUIRED_VERSION" 2>&1`
21824         fi
21825         # Put the nasty error message in config.log where it belongs
21826         echo "$SQLITE3_PKG_ERRORS" >&5
21827
21828         sqlite3_has_pkg_config=no
21829 elif test $pkg_failed = untried; then
21830         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21831 $as_echo "no" >&6; }
21832         sqlite3_has_pkg_config=no
21833 else
21834         SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
21835         SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
21836         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21837 $as_echo "yes" >&6; }
21838         sqlite3_has_pkg_config=yes
21839 fi
21840 if test "$sqlite3_has_pkg_config" = "no"; then
21841    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open16" >&5
21842 $as_echo_n "checking for library containing sqlite3_open16... " >&6; }
21843 if ${ac_cv_search_sqlite3_open16+:} false; then :
21844   $as_echo_n "(cached) " >&6
21845 else
21846   ac_func_search_save_LIBS=$LIBS
21847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21848 /* end confdefs.h.  */
21849
21850 /* Override any GCC internal prototype to avoid an error.
21851    Use char because int might match the return type of a GCC
21852    builtin and then its argument prototype would still apply.  */
21853 #ifdef __cplusplus
21854 extern "C"
21855 #endif
21856 char sqlite3_open16 ();
21857 int
21858 main ()
21859 {
21860 return sqlite3_open16 ();
21861   ;
21862   return 0;
21863 }
21864 _ACEOF
21865 for ac_lib in '' sqlite3; do
21866   if test -z "$ac_lib"; then
21867     ac_res="none required"
21868   else
21869     ac_res=-l$ac_lib
21870     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21871   fi
21872   if ac_fn_c_try_link "$LINENO"; then :
21873   ac_cv_search_sqlite3_open16=$ac_res
21874 fi
21875 rm -f core conftest.err conftest.$ac_objext \
21876     conftest$ac_exeext
21877   if ${ac_cv_search_sqlite3_open16+:} false; then :
21878   break
21879 fi
21880 done
21881 if ${ac_cv_search_sqlite3_open16+:} false; then :
21882   
21883 else
21884   ac_cv_search_sqlite3_open16=no
21885 fi
21886 rm conftest.$ac_ext
21887 LIBS=$ac_func_search_save_LIBS
21888 fi
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open16" >&5
21890 $as_echo "$ac_cv_search_sqlite3_open16" >&6; }
21891 ac_res=$ac_cv_search_sqlite3_open16
21892 if test "$ac_res" != no; then :
21893   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21894   sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"
21895 else
21896   sqlite3_found=no
21897 fi
21898
21899 fi
21900
21901
21902
21903 if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \
21904    test "$enable_sql_database" = "yes" || \
21905    test "$enable_offline_web_applications" = "yes" || \
21906    test "$enable_dom_storage" = "yes"); then
21907    as_fn_error $? "SQLite3 is required for the Database related features" "$LINENO" 5
21908 fi
21909
21910 # check if libxslt is available
21911 if test "$enable_xslt" = "yes"; then
21912    
21913 pkg_failed=no
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXSLT" >&5
21915 $as_echo_n "checking for LIBXSLT... " >&6; }
21916
21917 if test -n "$LIBXSLT_CFLAGS"; then
21918     pkg_cv_LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS"
21919  elif test -n "$PKG_CONFIG"; then
21920     if test -n "$PKG_CONFIG" && \
21921     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21922   ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 2>&5
21923   ac_status=$?
21924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21925   test $ac_status = 0; }; then
21926   pkg_cv_LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21927                       test "x$?" != "x0" && pkg_failed=yes 
21928 else
21929   pkg_failed=yes
21930 fi
21931  else
21932     pkg_failed=untried
21933 fi
21934 if test -n "$LIBXSLT_LIBS"; then
21935     pkg_cv_LIBXSLT_LIBS="$LIBXSLT_LIBS"
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 \"libxslt >= \$LIBXSLT_REQUIRED_VERSION\""; } >&5
21939   ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_REQUIRED_VERSION") 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_LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>/dev/null`
21944                       test "x$?" != "x0" && pkg_failed=yes 
21945 else
21946   pkg_failed=yes
21947 fi
21948  else
21949     pkg_failed=untried
21950 fi
21951
21952
21953
21954 if test $pkg_failed = yes; then
21955         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21956 $as_echo "no" >&6; }
21957         
21958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21959         _pkg_short_errors_supported=yes
21960 else
21961         _pkg_short_errors_supported=no
21962 fi
21963         if test $_pkg_short_errors_supported = yes; then
21964                 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21965         else 
21966                 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxslt >= $LIBXSLT_REQUIRED_VERSION" 2>&1`
21967         fi
21968         # Put the nasty error message in config.log where it belongs
21969         echo "$LIBXSLT_PKG_ERRORS" >&5
21970
21971         as_fn_error $? "Package requirements (libxslt >= $LIBXSLT_REQUIRED_VERSION) were not met:
21972
21973 $LIBXSLT_PKG_ERRORS
21974
21975 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21976 installed software in a non-standard prefix.
21977
21978 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21979 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21980 See the pkg-config man page for more details." "$LINENO" 5        
21981 elif test $pkg_failed = untried; then
21982         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21983 $as_echo "no" >&6; }
21984         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21986 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21987 is in your PATH or set the PKG_CONFIG environment variable to the full
21988 path to pkg-config.
21989
21990 Alternatively, you may set the environment variables LIBXSLT_CFLAGS
21991 and LIBXSLT_LIBS to avoid the need to call pkg-config.
21992 See the pkg-config man page for more details.
21993
21994 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21995 See \`config.log' for more details" "$LINENO" 5; }        
21996 else
21997         LIBXSLT_CFLAGS=$pkg_cv_LIBXSLT_CFLAGS
21998         LIBXSLT_LIBS=$pkg_cv_LIBXSLT_LIBS
21999         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22000 $as_echo "yes" >&6; }
22001         
22002 fi
22003    
22004    
22005 fi
22006
22007 # check if geoclue is available
22008 if test "$enable_geolocation" = "yes"; then
22009     
22010 pkg_failed=no
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEOCLUE" >&5
22012 $as_echo_n "checking for GEOCLUE... " >&6; }
22013
22014 if test -n "$GEOCLUE_CFLAGS"; then
22015     pkg_cv_GEOCLUE_CFLAGS="$GEOCLUE_CFLAGS"
22016  elif test -n "$PKG_CONFIG"; then
22017     if test -n "$PKG_CONFIG" && \
22018     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
22019   ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
22020   ac_status=$?
22021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22022   test $ac_status = 0; }; then
22023   pkg_cv_GEOCLUE_CFLAGS=`$PKG_CONFIG --cflags "geoclue" 2>/dev/null`
22024                       test "x$?" != "x0" && pkg_failed=yes 
22025 else
22026   pkg_failed=yes
22027 fi
22028  else
22029     pkg_failed=untried
22030 fi
22031 if test -n "$GEOCLUE_LIBS"; then
22032     pkg_cv_GEOCLUE_LIBS="$GEOCLUE_LIBS"
22033  elif test -n "$PKG_CONFIG"; then
22034     if test -n "$PKG_CONFIG" && \
22035     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"geoclue\""; } >&5
22036   ($PKG_CONFIG --exists --print-errors "geoclue") 2>&5
22037   ac_status=$?
22038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22039   test $ac_status = 0; }; then
22040   pkg_cv_GEOCLUE_LIBS=`$PKG_CONFIG --libs "geoclue" 2>/dev/null`
22041                       test "x$?" != "x0" && pkg_failed=yes 
22042 else
22043   pkg_failed=yes
22044 fi
22045  else
22046     pkg_failed=untried
22047 fi
22048
22049
22050
22051 if test $pkg_failed = yes; then
22052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22053 $as_echo "no" >&6; }
22054         
22055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22056         _pkg_short_errors_supported=yes
22057 else
22058         _pkg_short_errors_supported=no
22059 fi
22060         if test $_pkg_short_errors_supported = yes; then
22061                 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "geoclue" 2>&1`
22062         else 
22063                 GEOCLUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "geoclue" 2>&1`
22064         fi
22065         # Put the nasty error message in config.log where it belongs
22066         echo "$GEOCLUE_PKG_ERRORS" >&5
22067
22068         as_fn_error $? "Package requirements (geoclue) were not met:
22069
22070 $GEOCLUE_PKG_ERRORS
22071
22072 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22073 installed software in a non-standard prefix.
22074
22075 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
22076 and GEOCLUE_LIBS to avoid the need to call pkg-config.
22077 See the pkg-config man page for more details." "$LINENO" 5        
22078 elif test $pkg_failed = untried; then
22079         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22080 $as_echo "no" >&6; }
22081         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22083 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22084 is in your PATH or set the PKG_CONFIG environment variable to the full
22085 path to pkg-config.
22086
22087 Alternatively, you may set the environment variables GEOCLUE_CFLAGS
22088 and GEOCLUE_LIBS to avoid the need to call pkg-config.
22089 See the pkg-config man page for more details.
22090
22091 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22092 See \`config.log' for more details" "$LINENO" 5; }        
22093 else
22094         GEOCLUE_CFLAGS=$pkg_cv_GEOCLUE_CFLAGS
22095         GEOCLUE_LIBS=$pkg_cv_GEOCLUE_LIBS
22096         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22097 $as_echo "yes" >&6; }
22098         
22099 fi
22100     
22101     
22102 fi
22103
22104 # check for XRender under Linux/Unix. Some linkers require explicit
22105 # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
22106 #if test "$os_win32" = "no"; then
22107 #   PKG_CHECK_MODULES([XRENDER], [xrender])
22108 #   AC_SUBST([XRENDER_CFLAGS])
22109 #   AC_SUBST([XRENDER_LIBS])
22110 #fi
22111
22112 # check if gstreamer is available - video is not linked with gstreamer.
22113 #if test "$enable_video" = "yes"; then
22114 #   PKG_CHECK_MODULES([GSTREAMER],
22115 #                     [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
22116 #                     gstreamer-app-0.10
22117 #                     gstreamer-base-0.10
22118 #                     gstreamer-interfaces-0.10
22119 #                     gstreamer-pbutils-0.10
22120 #                     gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
22121 #                     gstreamer-video-0.10],
22122 #                     [have_gstreamer=yes])
22123 #
22124 #   AC_SUBST([GSTREAMER_CFLAGS])
22125 #   AC_SUBST([GSTREAMER_LIBS])
22126 #fi
22127
22128 # check for code coverage support
22129 if test "$enable_coverage" = "yes"; then
22130    COVERAGE_CFLAGS="-MD"
22131    COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
22132    
22133    
22134 fi
22135
22136 # check for HTML features
22137 if test "$enable_video" = "yes"; then
22138     html_flags=yes
22139 fi
22140
22141 # WebKit2
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Webkit2" >&5
22143 $as_echo_n "checking whether to build Webkit2... " >&6; }
22144 @%:@ Check whether --enable-webkit2 was given.
22145 if test "${enable_webkit2+set}" = set; then :
22146   enableval=$enable_webkit2; 
22147 else
22148   enable_webkit2="no"
22149 fi
22150
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webkit2" >&5
22152 $as_echo "$enable_webkit2" >&6; }
22153 if test "$enable_webkit2" = "yes"; then
22154    if test "$GTK_API_VERSION" = "2.0"; then
22155       as_fn_error $? "WebKit2 requires GTK+ 3.x, use --with-gtk=3.0" "$LINENO" 5
22156    fi
22157 fi
22158
22159 # Plugin Process
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin process for WebKit2" >&5
22161 $as_echo_n "checking whether to build plugin process for WebKit2... " >&6; }
22162 @%:@ Check whether --enable-plugin_process was given.
22163 if test "${enable_plugin_process+set}" = set; then :
22164   enableval=$enable_plugin_process; 
22165 else
22166   enable_plugin_process="yes"
22167 fi
22168
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_plugin_process" >&5
22170 $as_echo "$enable_plugin_process" >&6; }
22171
22172 # Build the plugin process only when building Webkit2.
22173 if test "$enable_webkit2" = "no"; then
22174     enable_plugin_process=no
22175 fi
22176
22177 # Make sure we have GTK+ 2.x to build the plugin process.
22178 if test "$enable_plugin_process" = "yes"; then
22179    
22180 pkg_failed=no
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
22182 $as_echo_n "checking for GTK2... " >&6; }
22183
22184 if test -n "$GTK2_CFLAGS"; then
22185     pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
22186  elif test -n "$PKG_CONFIG"; then
22187     if test -n "$PKG_CONFIG" && \
22188     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22189   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22190   ac_status=$?
22191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22192   test $ac_status = 0; }; then
22193   pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22194                       test "x$?" != "x0" && pkg_failed=yes 
22195 else
22196   pkg_failed=yes
22197 fi
22198  else
22199     pkg_failed=untried
22200 fi
22201 if test -n "$GTK2_LIBS"; then
22202     pkg_cv_GTK2_LIBS="$GTK2_LIBS"
22203  elif test -n "$PKG_CONFIG"; then
22204     if test -n "$PKG_CONFIG" && \
22205     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_REQUIRED_VERSION gail >= \$GAIL2_REQUIRED_VERSION\""; } >&5
22206   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION") 2>&5
22207   ac_status=$?
22208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22209   test $ac_status = 0; }; then
22210   pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>/dev/null`
22211                       test "x$?" != "x0" && pkg_failed=yes 
22212 else
22213   pkg_failed=yes
22214 fi
22215  else
22216     pkg_failed=untried
22217 fi
22218
22219
22220
22221 if test $pkg_failed = yes; then
22222         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22223 $as_echo "no" >&6; }
22224         
22225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22226         _pkg_short_errors_supported=yes
22227 else
22228         _pkg_short_errors_supported=no
22229 fi
22230         if test $_pkg_short_errors_supported = yes; then
22231                 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22232         else 
22233                 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION" 2>&1`
22234         fi
22235         # Put the nasty error message in config.log where it belongs
22236         echo "$GTK2_PKG_ERRORS" >&5
22237
22238         as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION) were not met:
22239
22240 $GTK2_PKG_ERRORS
22241
22242 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22243 installed software in a non-standard prefix.
22244
22245 Alternatively, you may set the environment variables GTK2_CFLAGS
22246 and GTK2_LIBS to avoid the need to call pkg-config.
22247 See the pkg-config man page for more details." "$LINENO" 5        
22248 elif test $pkg_failed = untried; then
22249         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22250 $as_echo "no" >&6; }
22251         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22253 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22254 is in your PATH or set the PKG_CONFIG environment variable to the full
22255 path to pkg-config.
22256
22257 Alternatively, you may set the environment variables GTK2_CFLAGS
22258 and GTK2_LIBS to avoid the need to call pkg-config.
22259 See the pkg-config man page for more details.
22260
22261 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22262 See \`config.log' for more details" "$LINENO" 5; }        
22263 else
22264         GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
22265         GTK2_LIBS=$pkg_cv_GTK2_LIBS
22266         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22267 $as_echo "yes" >&6; }
22268         
22269 fi
22270 fi
22271
22272
22273
22274 #GTK_DOC_CHECK([1.10])
22275
22276 # OS conditionals
22277  if test "$os_win32" = "yes"; then
22278   OS_WIN32_TRUE=
22279   OS_WIN32_FALSE='#'
22280 else
22281   OS_WIN32_TRUE='#'
22282   OS_WIN32_FALSE=
22283 fi
22284
22285  if test "$os_win32" = "no"; then
22286   OS_UNIX_TRUE=
22287   OS_UNIX_FALSE='#'
22288 else
22289   OS_UNIX_TRUE='#'
22290   OS_UNIX_FALSE=
22291 fi
22292
22293  if test "$os_linux" = "yes"; then
22294   OS_LINUX_TRUE=
22295   OS_LINUX_FALSE='#'
22296 else
22297   OS_LINUX_TRUE='#'
22298   OS_LINUX_FALSE=
22299 fi
22300
22301  if test "$os_gnu" = "yes"; then
22302   OS_GNU_TRUE=
22303   OS_GNU_FALSE='#'
22304 else
22305   OS_GNU_TRUE='#'
22306   OS_GNU_FALSE=
22307 fi
22308
22309  if test "$os_freebsd" = "yes"; then
22310   OS_FREEBSD_TRUE=
22311   OS_FREEBSD_FALSE='#'
22312 else
22313   OS_FREEBSD_TRUE='#'
22314   OS_FREEBSD_FALSE=
22315 fi
22316
22317
22318 # target conditionals
22319  if test "$with_target" = "x11"; then
22320   TARGET_X11_TRUE=
22321   TARGET_X11_FALSE='#'
22322 else
22323   TARGET_X11_TRUE='#'
22324   TARGET_X11_FALSE=
22325 fi
22326
22327  if test "$with_target" = "win32"; then
22328   TARGET_WIN32_TRUE=
22329   TARGET_WIN32_FALSE='#'
22330 else
22331   TARGET_WIN32_TRUE='#'
22332   TARGET_WIN32_FALSE=
22333 fi
22334
22335  if test "$with_target" = "quartz"; then
22336   TARGET_QUARTZ_TRUE=
22337   TARGET_QUARTZ_FALSE='#'
22338 else
22339   TARGET_QUARTZ_TRUE='#'
22340   TARGET_QUARTZ_FALSE=
22341 fi
22342
22343  if test "$with_target" = "directfb"; then
22344   TARGET_DIRECTFB_TRUE=
22345   TARGET_DIRECTFB_FALSE='#'
22346 else
22347   TARGET_DIRECTFB_TRUE='#'
22348   TARGET_DIRECTFB_FALSE=
22349 fi
22350
22351
22352 # Unicode backend conditionals
22353  if test "$with_unicode_backend" = "icu"; then
22354   USE_ICU_UNICODE_TRUE=
22355   USE_ICU_UNICODE_FALSE='#'
22356 else
22357   USE_ICU_UNICODE_TRUE='#'
22358   USE_ICU_UNICODE_FALSE=
22359 fi
22360
22361  if test "$with_unicode_backend" = "glib"; then
22362   USE_GLIB_UNICODE_TRUE=
22363   USE_GLIB_UNICODE_FALSE='#'
22364 else
22365   USE_GLIB_UNICODE_TRUE='#'
22366   USE_GLIB_UNICODE_FALSE=
22367 fi
22368
22369
22370 # Font backend conditionals
22371  if test "$with_font_backend" = "freetype"; then
22372   USE_FREETYPE_TRUE=
22373   USE_FREETYPE_FALSE='#'
22374 else
22375   USE_FREETYPE_TRUE='#'
22376   USE_FREETYPE_FALSE=
22377 fi
22378
22379  if test "$with_font_backend" = "pango"; then
22380   USE_PANGO_TRUE=
22381   USE_PANGO_FALSE='#'
22382 else
22383   USE_PANGO_TRUE='#'
22384   USE_PANGO_FALSE=
22385 fi
22386
22387
22388 # GStreamer feature conditional
22389  if test "$have_gstreamer" = "yes"; then
22390   USE_GSTREAMER_TRUE=
22391   USE_GSTREAMER_FALSE='#'
22392 else
22393   USE_GSTREAMER_TRUE='#'
22394   USE_GSTREAMER_FALSE=
22395 fi
22396
22397
22398 # WebKit feature conditionals
22399  if test "$enable_debug_features" = "yes"; then
22400   ENABLE_DEBUG_TRUE=
22401   ENABLE_DEBUG_FALSE='#'
22402 else
22403   ENABLE_DEBUG_TRUE='#'
22404   ENABLE_DEBUG_FALSE=
22405 fi
22406
22407  if test "$enable_3d_rendering" = "yes"; then
22408   ENABLE_3D_RENDERING_TRUE=
22409   ENABLE_3D_RENDERING_FALSE='#'
22410 else
22411   ENABLE_3D_RENDERING_TRUE='#'
22412   ENABLE_3D_RENDERING_FALSE=
22413 fi
22414
22415  if test "$enable_webgl" = "yes"; then
22416   ENABLE_WEBGL_TRUE=
22417   ENABLE_WEBGL_FALSE='#'
22418 else
22419   ENABLE_WEBGL_TRUE='#'
22420   ENABLE_WEBGL_FALSE=
22421 fi
22422
22423  if test "$enable_blob" = "yes"; then
22424   ENABLE_BLOB_TRUE=
22425   ENABLE_BLOB_FALSE='#'
22426 else
22427   ENABLE_BLOB_TRUE='#'
22428   ENABLE_BLOB_FALSE=
22429 fi
22430
22431  if test "$enable_meter_tag" = "yes"; then
22432   ENABLE_METER_TAG_TRUE=
22433   ENABLE_METER_TAG_FALSE='#'
22434 else
22435   ENABLE_METER_TAG_TRUE='#'
22436   ENABLE_METER_TAG_FALSE=
22437 fi
22438
22439  if test "$enable_page_visibility_api" = "yes"; then
22440   ENABLE_PAGE_VISIBILITY_API_TRUE=
22441   ENABLE_PAGE_VISIBILITY_API_FALSE='#'
22442 else
22443   ENABLE_PAGE_VISIBILITY_API_TRUE='#'
22444   ENABLE_PAGE_VISIBILITY_API_FALSE=
22445 fi
22446
22447  if test "$enable_progress_tag" = "yes"; then
22448   ENABLE_PROGRESS_TAG_TRUE=
22449   ENABLE_PROGRESS_TAG_FALSE='#'
22450 else
22451   ENABLE_PROGRESS_TAG_TRUE='#'
22452   ENABLE_PROGRESS_TAG_FALSE=
22453 fi
22454
22455  if test "$enable_channel_messaging" = "yes"; then
22456   ENABLE_CHANNEL_MESSAGING_TRUE=
22457   ENABLE_CHANNEL_MESSAGING_FALSE='#'
22458 else
22459   ENABLE_CHANNEL_MESSAGING_TRUE='#'
22460   ENABLE_CHANNEL_MESSAGING_FALSE=
22461 fi
22462
22463  if test "$enable_javascript_debugger" = "yes"; then
22464   ENABLE_JAVASCRIPT_DEBUGGER_TRUE=
22465   ENABLE_JAVASCRIPT_DEBUGGER_FALSE='#'
22466 else
22467   ENABLE_JAVASCRIPT_DEBUGGER_TRUE='#'
22468   ENABLE_JAVASCRIPT_DEBUGGER_FALSE=
22469 fi
22470
22471  if test "$enable_offline_web_applications" = "yes"; then
22472   ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE=
22473   ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE='#'
22474 else
22475   ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE='#'
22476   ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE=
22477 fi
22478
22479  if test "$enable_directory_upload" = "yes"; then
22480   ENABLE_DIRECTORY_UPLOAD_TRUE=
22481   ENABLE_DIRECTORY_UPLOAD_FALSE='#'
22482 else
22483   ENABLE_DIRECTORY_UPLOAD_TRUE='#'
22484   ENABLE_DIRECTORY_UPLOAD_FALSE=
22485 fi
22486
22487  if test "$enable_datagrid" = "yes"; then
22488   ENABLE_DATAGRID_TRUE=
22489   ENABLE_DATAGRID_FALSE='#'
22490 else
22491   ENABLE_DATAGRID_TRUE='#'
22492   ENABLE_DATAGRID_FALSE=
22493 fi
22494
22495  if test "$enable_data_transfer_items" = "yes"; then
22496   ENABLE_DATA_TRANSFER_ITEMS_TRUE=
22497   ENABLE_DATA_TRANSFER_ITEMS_FALSE='#'
22498 else
22499   ENABLE_DATA_TRANSFER_ITEMS_TRUE='#'
22500   ENABLE_DATA_TRANSFER_ITEMS_FALSE=
22501 fi
22502
22503  if test "$enable_dom_storage" = "yes"; then
22504   ENABLE_DOM_STORAGE_TRUE=
22505   ENABLE_DOM_STORAGE_FALSE='#'
22506 else
22507   ENABLE_DOM_STORAGE_TRUE='#'
22508   ENABLE_DOM_STORAGE_FALSE=
22509 fi
22510
22511  if test "$enable_sql_database" = "yes"; then
22512   ENABLE_SQL_DATABASE_TRUE=
22513   ENABLE_SQL_DATABASE_FALSE='#'
22514 else
22515   ENABLE_SQL_DATABASE_TRUE='#'
22516   ENABLE_SQL_DATABASE_FALSE=
22517 fi
22518
22519  if test "$enable_datalist" = "yes"; then
22520   ENABLE_DATALIST_TRUE=
22521   ENABLE_DATALIST_FALSE='#'
22522 else
22523   ENABLE_DATALIST_TRUE='#'
22524   ENABLE_DATALIST_FALSE=
22525 fi
22526
22527  if test "$enable_details" = "yes"; then
22528   ENABLE_DETAILS_TRUE=
22529   ENABLE_DETAILS_FALSE='#'
22530 else
22531   ENABLE_DETAILS_TRUE='#'
22532   ENABLE_DETAILS_FALSE=
22533 fi
22534
22535  if test "$enable_fast_mobile_scrolling" = "yes"; then
22536   ENABLE_FAST_MOBILE_SCROLLING_TRUE=
22537   ENABLE_FAST_MOBILE_SCROLLING_FALSE='#'
22538 else
22539   ENABLE_FAST_MOBILE_SCROLLING_TRUE='#'
22540   ENABLE_FAST_MOBILE_SCROLLING_FALSE=
22541 fi
22542
22543  if test "$enable_file_system" = "yes"; then
22544   ENABLE_FILE_SYSTEM_TRUE=
22545   ENABLE_FILE_SYSTEM_FALSE='#'
22546 else
22547   ENABLE_FILE_SYSTEM_TRUE='#'
22548   ENABLE_FILE_SYSTEM_FALSE=
22549 fi
22550
22551  if test "$enable_quota" = "yes"; then
22552   ENABLE_QUOTA_TRUE=
22553   ENABLE_QUOTA_FALSE='#'
22554 else
22555   ENABLE_QUOTA_TRUE='#'
22556   ENABLE_QUOTA_FALSE=
22557 fi
22558
22559  if test "$enable_icon_database" = "yes"; then
22560   ENABLE_ICONDATABASE_TRUE=
22561   ENABLE_ICONDATABASE_FALSE='#'
22562 else
22563   ENABLE_ICONDATABASE_TRUE='#'
22564   ENABLE_ICONDATABASE_FALSE=
22565 fi
22566
22567  if test "$enable_image_resizer" = "yes"; then
22568   ENABLE_IMAGE_RESIZER_TRUE=
22569   ENABLE_IMAGE_RESIZER_FALSE='#'
22570 else
22571   ENABLE_IMAGE_RESIZER_TRUE='#'
22572   ENABLE_IMAGE_RESIZER_FALSE=
22573 fi
22574
22575  if test "$enable_indexed_database" = "yes"; then
22576   ENABLE_INDEXED_DATABASE_TRUE=
22577   ENABLE_INDEXED_DATABASE_FALSE='#'
22578 else
22579   ENABLE_INDEXED_DATABASE_TRUE='#'
22580   ENABLE_INDEXED_DATABASE_FALSE=
22581 fi
22582
22583  if test "$enable_input_color" = "yes"; then
22584   ENABLE_INPUT_COLOR_TRUE=
22585   ENABLE_INPUT_COLOR_FALSE='#'
22586 else
22587   ENABLE_INPUT_COLOR_TRUE='#'
22588   ENABLE_INPUT_COLOR_FALSE=
22589 fi
22590
22591  if test "$enable_input_speech" = "yes"; then
22592   ENABLE_INPUT_SPEECH_TRUE=
22593   ENABLE_INPUT_SPEECH_FALSE='#'
22594 else
22595   ENABLE_INPUT_SPEECH_TRUE='#'
22596   ENABLE_INPUT_SPEECH_FALSE=
22597 fi
22598
22599  if test "$enable_xhtmlmp" = "yes"; then
22600   ENABLE_XHTMLMP_TRUE=
22601   ENABLE_XHTMLMP_FALSE='#'
22602 else
22603   ENABLE_XHTMLMP_TRUE='#'
22604   ENABLE_XHTMLMP_FALSE=
22605 fi
22606
22607  if test "$enable_xpath" = "yes"; then
22608   ENABLE_XPATH_TRUE=
22609   ENABLE_XPATH_FALSE='#'
22610 else
22611   ENABLE_XPATH_TRUE='#'
22612   ENABLE_XPATH_FALSE=
22613 fi
22614
22615  if test "$enable_xslt" = "yes"; then
22616   ENABLE_XSLT_TRUE=
22617   ENABLE_XSLT_FALSE='#'
22618 else
22619   ENABLE_XSLT_TRUE='#'
22620   ENABLE_XSLT_FALSE=
22621 fi
22622
22623  if test "$enable_filters" = "yes"; then
22624   ENABLE_FILTERS_TRUE=
22625   ENABLE_FILTERS_FALSE='#'
22626 else
22627   ENABLE_FILTERS_TRUE='#'
22628   ENABLE_FILTERS_FALSE=
22629 fi
22630
22631  if test "$enable_geolocation" = "yes"; then
22632   ENABLE_GEOLOCATION_TRUE=
22633   ENABLE_GEOLOCATION_FALSE='#'
22634 else
22635   ENABLE_GEOLOCATION_TRUE='#'
22636   ENABLE_GEOLOCATION_FALSE=
22637 fi
22638
22639  if test "$enable_client_based_geolocation" = "yes"; then
22640   ENABLE_CLIENT_BASED_GEOLOCATION_TRUE=
22641   ENABLE_CLIENT_BASED_GEOLOCATION_FALSE='#'
22642 else
22643   ENABLE_CLIENT_BASED_GEOLOCATION_TRUE='#'
22644   ENABLE_CLIENT_BASED_GEOLOCATION_FALSE=
22645 fi
22646
22647  if test "$enable_mathml" = "yes"; then
22648   ENABLE_MATHML_TRUE=
22649   ENABLE_MATHML_FALSE='#'
22650 else
22651   ENABLE_MATHML_TRUE='#'
22652   ENABLE_MATHML_FALSE=
22653 fi
22654
22655  if test "$enable_mhtml" = "yes"; then
22656   ENABLE_MHTML_TRUE=
22657   ENABLE_MHTML_FALSE='#'
22658 else
22659   ENABLE_MHTML_TRUE='#'
22660   ENABLE_MHTML_FALSE=
22661 fi
22662
22663  if test "$enable_video" = "yes"; then
22664   ENABLE_VIDEO_TRUE=
22665   ENABLE_VIDEO_FALSE='#'
22666 else
22667   ENABLE_VIDEO_TRUE='#'
22668   ENABLE_VIDEO_FALSE=
22669 fi
22670
22671  if test "$enable_elis_media" = "yes"; then
22672   ENABLE_ELIS_MEDIA_TRUE=
22673   ENABLE_ELIS_MEDIA_FALSE='#'
22674 else
22675   ENABLE_ELIS_MEDIA_TRUE='#'
22676   ENABLE_ELIS_MEDIA_FALSE=
22677 fi
22678
22679  if test "$enable_media_source" = "yes"; then
22680   ENABLE_MEDIA_SOURCE_TRUE=
22681   ENABLE_MEDIA_SOURCE_FALSE='#'
22682 else
22683   ENABLE_MEDIA_SOURCE_TRUE='#'
22684   ENABLE_MEDIA_SOURCE_FALSE=
22685 fi
22686
22687  if test "$enable_media_statistics" = "yes"; then
22688   ENABLE_MEDIA_STATISTICS_TRUE=
22689   ENABLE_MEDIA_STATISTICS_FALSE='#'
22690 else
22691   ENABLE_MEDIA_STATISTICS_TRUE='#'
22692   ENABLE_MEDIA_STATISTICS_FALSE=
22693 fi
22694
22695  if test "$enable_video_track" = "yes"; then
22696   ENABLE_VIDEO_TRACK_TRUE=
22697   ENABLE_VIDEO_TRACK_FALSE='#'
22698 else
22699   ENABLE_VIDEO_TRACK_TRUE='#'
22700   ENABLE_VIDEO_TRACK_FALSE=
22701 fi
22702
22703  if test "$enable_fullscreen_api" = "yes"; then
22704   ENABLE_FULLSCREEN_API_TRUE=
22705   ENABLE_FULLSCREEN_API_FALSE='#'
22706 else
22707   ENABLE_FULLSCREEN_API_TRUE='#'
22708   ENABLE_FULLSCREEN_API_FALSE=
22709 fi
22710
22711  if test "$enable_media_stream" = "yes"; then
22712   ENABLE_MEDIA_STREAM_TRUE=
22713   ENABLE_MEDIA_STREAM_FALSE='#'
22714 else
22715   ENABLE_MEDIA_STREAM_TRUE='#'
22716   ENABLE_MEDIA_STREAM_FALSE=
22717 fi
22718
22719  if test "$enable_notifications" = "yes"; then
22720   ENABLE_NOTIFICATIONS_TRUE=
22721   ENABLE_NOTIFICATIONS_FALSE='#'
22722 else
22723   ENABLE_NOTIFICATIONS_TRUE='#'
22724   ENABLE_NOTIFICATIONS_FALSE=
22725 fi
22726
22727  if test "$enable_orientation_events" = "yes"; then
22728   ENABLE_ORIENTATION_EVENTS_TRUE=
22729   ENABLE_ORIENTATION_EVENTS_FALSE='#'
22730 else
22731   ENABLE_ORIENTATION_EVENTS_TRUE='#'
22732   ENABLE_ORIENTATION_EVENTS_FALSE=
22733 fi
22734
22735  if test "$enable_svg" = "yes"; then
22736   ENABLE_SVG_TRUE=
22737   ENABLE_SVG_FALSE='#'
22738 else
22739   ENABLE_SVG_TRUE='#'
22740   ENABLE_SVG_FALSE=
22741 fi
22742
22743  if test "$enable_svg_fonts" = "yes"; then
22744   ENABLE_SVG_FONTS_TRUE=
22745   ENABLE_SVG_FONTS_FALSE='#'
22746 else
22747   ENABLE_SVG_FONTS_TRUE='#'
22748   ENABLE_SVG_FONTS_FALSE=
22749 fi
22750
22751  if test "$enable_coverage" = "yes"; then
22752   ENABLE_COVERAGE_TRUE=
22753   ENABLE_COVERAGE_FALSE='#'
22754 else
22755   ENABLE_COVERAGE_TRUE='#'
22756   ENABLE_COVERAGE_FALSE=
22757 fi
22758
22759  if test "$enable_fast_malloc" = "yes"; then
22760   ENABLE_FAST_MALLOC_TRUE=
22761   ENABLE_FAST_MALLOC_FALSE='#'
22762 else
22763   ENABLE_FAST_MALLOC_TRUE='#'
22764   ENABLE_FAST_MALLOC_FALSE=
22765 fi
22766
22767  if test "$enable_wcss" = "yes"; then
22768   ENABLE_WCSS_TRUE=
22769   ENABLE_WCSS_FALSE='#'
22770 else
22771   ENABLE_WCSS_TRUE='#'
22772   ENABLE_WCSS_FALSE=
22773 fi
22774
22775  if test "$enable_workers" = "yes"; then
22776   ENABLE_WORKERS_TRUE=
22777   ENABLE_WORKERS_FALSE='#'
22778 else
22779   ENABLE_WORKERS_TRUE='#'
22780   ENABLE_WORKERS_FALSE=
22781 fi
22782
22783  if test "$enable_shared_workers" = "yes"; then
22784   ENABLE_SHARED_WORKERS_TRUE=
22785   ENABLE_SHARED_WORKERS_FALSE='#'
22786 else
22787   ENABLE_SHARED_WORKERS_TRUE='#'
22788   ENABLE_SHARED_WORKERS_FALSE=
22789 fi
22790
22791  if test "$svg_flags" = "yes"; then
22792   SVG_FLAGS_TRUE=
22793   SVG_FLAGS_FALSE='#'
22794 else
22795   SVG_FLAGS_TRUE='#'
22796   SVG_FLAGS_FALSE=
22797 fi
22798
22799  if test "$html_flags" = "yes"; then
22800   HTML_FLAGS_TRUE=
22801   HTML_FLAGS_FALSE='#'
22802 else
22803   HTML_FLAGS_TRUE='#'
22804   HTML_FLAGS_FALSE=
22805 fi
22806
22807  if test "$enable_web_sockets" = "yes"; then
22808   ENABLE_WEB_SOCKETS_TRUE=
22809   ENABLE_WEB_SOCKETS_FALSE='#'
22810 else
22811   ENABLE_WEB_SOCKETS_TRUE='#'
22812   ENABLE_WEB_SOCKETS_FALSE=
22813 fi
22814
22815  if test "$enable_web_audio" = "yes"; then
22816   ENABLE_WEB_AUDIO_TRUE=
22817   ENABLE_WEB_AUDIO_FALSE='#'
22818 else
22819   ENABLE_WEB_AUDIO_TRUE='#'
22820   ENABLE_WEB_AUDIO_FALSE=
22821 fi
22822
22823  if test "$enable_web_timing" = "yes"; then
22824   ENABLE_WEB_TIMING_TRUE=
22825   ENABLE_WEB_TIMING_FALSE='#'
22826 else
22827   ENABLE_WEB_TIMING_TRUE='#'
22828   ENABLE_WEB_TIMING_FALSE=
22829 fi
22830
22831  if test "$enable_opcode_stats" = "yes"; then
22832   ENABLE_OPCODE_STATS_TRUE=
22833   ENABLE_OPCODE_STATS_FALSE='#'
22834 else
22835   ENABLE_OPCODE_STATS_TRUE='#'
22836   ENABLE_OPCODE_STATS_FALSE=
22837 fi
22838
22839  if test "$enable_webkit2" = "yes"; then
22840   ENABLE_WEBKIT2_TRUE=
22841   ENABLE_WEBKIT2_FALSE='#'
22842 else
22843   ENABLE_WEBKIT2_TRUE='#'
22844   ENABLE_WEBKIT2_FALSE=
22845 fi
22846
22847  if test "$enable_plugin_process" = "yes"; then
22848   ENABLE_PLUGIN_PROCESS_TRUE=
22849   ENABLE_PLUGIN_PROCESS_FALSE='#'
22850 else
22851   ENABLE_PLUGIN_PROCESS_TRUE='#'
22852   ENABLE_PLUGIN_PROCESS_FALSE=
22853 fi
22854
22855  if test "$enable_spellcheck" = "yes"; then
22856   ENABLE_SPELLCHECK_TRUE=
22857   ENABLE_SPELLCHECK_FALSE='#'
22858 else
22859   ENABLE_SPELLCHECK_TRUE='#'
22860   ENABLE_SPELLCHECK_FALSE=
22861 fi
22862
22863  if test "$enable_animation_api" = "yes"; then
22864   ENABLE_ANIMATION_API_TRUE=
22865   ENABLE_ANIMATION_API_FALSE='#'
22866 else
22867   ENABLE_ANIMATION_API_TRUE='#'
22868   ENABLE_ANIMATION_API_FALSE=
22869 fi
22870
22871  if test "$enable_touch_icon_loading" = "yes"; then
22872   ENABLE_TOUCH_ICON_LOADING_TRUE=
22873   ENABLE_TOUCH_ICON_LOADING_FALSE='#'
22874 else
22875   ENABLE_TOUCH_ICON_LOADING_TRUE='#'
22876   ENABLE_TOUCH_ICON_LOADING_FALSE=
22877 fi
22878
22879  if test "$enable_register_protocol_handler" = "yes"; then
22880   ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE=
22881   ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE='#'
22882 else
22883   ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE='#'
22884   ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE=
22885 fi
22886
22887  if test "$enable_device_orientation" = "yes"; then
22888   ENABLE_DEVICE_ORIENTATION_TRUE=
22889   ENABLE_DEVICE_ORIENTATION_FALSE='#'
22890 else
22891   ENABLE_DEVICE_ORIENTATION_TRUE='#'
22892   ENABLE_DEVICE_ORIENTATION_FALSE=
22893 fi
22894
22895
22896 # Gtk conditionals
22897  if test "$enable_introspection" = "yes"; then
22898   ENABLE_INTROSPECTION_TRUE=
22899   ENABLE_INTROSPECTION_FALSE='#'
22900 else
22901   ENABLE_INTROSPECTION_TRUE='#'
22902   ENABLE_INTROSPECTION_FALSE=
22903 fi
22904
22905
22906 ac_config_files="$ac_config_files GNUmakefile"
22907
22908  
22909
22910 ac_config_files="$ac_config_files Source/WebKit/gtk/webkit/webkitversion.h Source/WebKit/gtk/docs/GNUmakefile Source/WebKit/gtk/docs/version.xml"
22911
22912
22913 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"
22914
22915
22916
22917 if test "$enable_webkit2" = "yes"; then
22918     ac_config_files="$ac_config_files Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in"
22919
22920 fi
22921
22922 cat >confcache <<\_ACEOF
22923 # This file is a shell script that caches the results of configure
22924 # tests run on this system so they can be shared between configure
22925 # scripts and configure runs, see configure's option --config-cache.
22926 # It is not useful on other systems.  If it contains results you don't
22927 # want to keep, you may remove or edit it.
22928 #
22929 # config.status only pays attention to the cache file if you give it
22930 # the --recheck option to rerun configure.
22931 #
22932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22934 # following values.
22935
22936 _ACEOF
22937
22938 # The following way of writing the cache mishandles newlines in values,
22939 # but we know of no workaround that is simple, portable, and efficient.
22940 # So, we kill variables containing newlines.
22941 # Ultrix sh set writes to stderr and can't be redirected directly,
22942 # and sets the high bit in the cache file unless we assign to the vars.
22943 (
22944   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22945     eval ac_val=\$$ac_var
22946     case $ac_val in #(
22947     *${as_nl}*)
22948       case $ac_var in #(
22949       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22951       esac
22952       case $ac_var in #(
22953       _ | IFS | as_nl) ;; #(
22954       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22955       *) { eval $ac_var=; unset $ac_var;} ;;
22956       esac ;;
22957     esac
22958   done
22959
22960   (set) 2>&1 |
22961     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22962     *${as_nl}ac_space=\ *)
22963       # `set' does not quote correctly, so add quotes: double-quote
22964       # substitution turns \\\\ into \\, and sed turns \\ into \.
22965       sed -n \
22966         "s/'/'\\\\''/g;
22967           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22968       ;; #(
22969     *)
22970       # `set' quotes correctly as required by POSIX, so do not add quotes.
22971       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22972       ;;
22973     esac |
22974     sort
22975 ) |
22976   sed '
22977      /^ac_cv_env_/b end
22978      t clear
22979      :clear
22980      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22981      t end
22982      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22983      :end' >>confcache
22984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22985   if test -w "$cache_file"; then
22986     if test "x$cache_file" != "x/dev/null"; then
22987       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22988 $as_echo "$as_me: updating cache $cache_file" >&6;}
22989       if test ! -f "$cache_file" || test -h "$cache_file"; then
22990         cat confcache >"$cache_file"
22991       else
22992         case $cache_file in #(
22993         */* | ?:*)
22994           mv -f confcache "$cache_file"$$ &&
22995           mv -f "$cache_file"$$ "$cache_file" ;; #(
22996         *)
22997           mv -f confcache "$cache_file" ;;
22998         esac
22999       fi
23000     fi
23001   else
23002     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23003 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23004   fi
23005 fi
23006 rm -f confcache
23007
23008 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23009 # Let make expand exec_prefix.
23010 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23011
23012 DEFS=-DHAVE_CONFIG_H
23013
23014 ac_libobjs=
23015 ac_ltlibobjs=
23016 U=
23017 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
23018   # 1. Remove the extension, and $U if already installed.
23019   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23020   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23021   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
23022   #    will be set to the directory where LIBOBJS objects are built.
23023   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23024   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23025 done
23026 LIB@&t@OBJS=$ac_libobjs
23027
23028 LTLIBOBJS=$ac_ltlibobjs
23029
23030
23031  if test -n "$EXEEXT"; then
23032   am__EXEEXT_TRUE=
23033   am__EXEEXT_FALSE='#'
23034 else
23035   am__EXEEXT_TRUE='#'
23036   am__EXEEXT_FALSE=
23037 fi
23038
23039 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23040   as_fn_error $? "conditional \"AMDEP\" was never defined.
23041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23042 fi
23043 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23044   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23046 fi
23047 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23048   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
23049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23050 fi
23051 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23052   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23054 fi
23055 if test -z "${GTK_API_VERSION_2_TRUE}" && test -z "${GTK_API_VERSION_2_FALSE}"; then
23056   as_fn_error $? "conditional \"GTK_API_VERSION_2\" was never defined.
23057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23058 fi
23059 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
23060   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
23061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23062 fi
23063 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
23064   as_fn_error $? "conditional \"OS_UNIX\" was never defined.
23065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23066 fi
23067 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
23068   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
23069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23070 fi
23071 if test -z "${OS_GNU_TRUE}" && test -z "${OS_GNU_FALSE}"; then
23072   as_fn_error $? "conditional \"OS_GNU\" was never defined.
23073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23074 fi
23075 if test -z "${OS_FREEBSD_TRUE}" && test -z "${OS_FREEBSD_FALSE}"; then
23076   as_fn_error $? "conditional \"OS_FREEBSD\" was never defined.
23077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23078 fi
23079 if test -z "${TARGET_X11_TRUE}" && test -z "${TARGET_X11_FALSE}"; then
23080   as_fn_error $? "conditional \"TARGET_X11\" was never defined.
23081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23082 fi
23083 if test -z "${TARGET_WIN32_TRUE}" && test -z "${TARGET_WIN32_FALSE}"; then
23084   as_fn_error $? "conditional \"TARGET_WIN32\" was never defined.
23085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23086 fi
23087 if test -z "${TARGET_QUARTZ_TRUE}" && test -z "${TARGET_QUARTZ_FALSE}"; then
23088   as_fn_error $? "conditional \"TARGET_QUARTZ\" was never defined.
23089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23090 fi
23091 if test -z "${TARGET_DIRECTFB_TRUE}" && test -z "${TARGET_DIRECTFB_FALSE}"; then
23092   as_fn_error $? "conditional \"TARGET_DIRECTFB\" was never defined.
23093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23094 fi
23095 if test -z "${USE_ICU_UNICODE_TRUE}" && test -z "${USE_ICU_UNICODE_FALSE}"; then
23096   as_fn_error $? "conditional \"USE_ICU_UNICODE\" was never defined.
23097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23098 fi
23099 if test -z "${USE_GLIB_UNICODE_TRUE}" && test -z "${USE_GLIB_UNICODE_FALSE}"; then
23100   as_fn_error $? "conditional \"USE_GLIB_UNICODE\" was never defined.
23101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23102 fi
23103 if test -z "${USE_FREETYPE_TRUE}" && test -z "${USE_FREETYPE_FALSE}"; then
23104   as_fn_error $? "conditional \"USE_FREETYPE\" was never defined.
23105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23106 fi
23107 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
23108   as_fn_error $? "conditional \"USE_PANGO\" was never defined.
23109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23110 fi
23111 if test -z "${USE_GSTREAMER_TRUE}" && test -z "${USE_GSTREAMER_FALSE}"; then
23112   as_fn_error $? "conditional \"USE_GSTREAMER\" was never defined.
23113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23114 fi
23115 if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
23116   as_fn_error $? "conditional \"ENABLE_DEBUG\" was never defined.
23117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23118 fi
23119 if test -z "${ENABLE_3D_RENDERING_TRUE}" && test -z "${ENABLE_3D_RENDERING_FALSE}"; then
23120   as_fn_error $? "conditional \"ENABLE_3D_RENDERING\" was never defined.
23121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23122 fi
23123 if test -z "${ENABLE_WEBGL_TRUE}" && test -z "${ENABLE_WEBGL_FALSE}"; then
23124   as_fn_error $? "conditional \"ENABLE_WEBGL\" was never defined.
23125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23126 fi
23127 if test -z "${ENABLE_BLOB_TRUE}" && test -z "${ENABLE_BLOB_FALSE}"; then
23128   as_fn_error $? "conditional \"ENABLE_BLOB\" was never defined.
23129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23130 fi
23131 if test -z "${ENABLE_METER_TAG_TRUE}" && test -z "${ENABLE_METER_TAG_FALSE}"; then
23132   as_fn_error $? "conditional \"ENABLE_METER_TAG\" was never defined.
23133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23134 fi
23135 if test -z "${ENABLE_PAGE_VISIBILITY_API_TRUE}" && test -z "${ENABLE_PAGE_VISIBILITY_API_FALSE}"; then
23136   as_fn_error $? "conditional \"ENABLE_PAGE_VISIBILITY_API\" was never defined.
23137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23138 fi
23139 if test -z "${ENABLE_PROGRESS_TAG_TRUE}" && test -z "${ENABLE_PROGRESS_TAG_FALSE}"; then
23140   as_fn_error $? "conditional \"ENABLE_PROGRESS_TAG\" was never defined.
23141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23142 fi
23143 if test -z "${ENABLE_CHANNEL_MESSAGING_TRUE}" && test -z "${ENABLE_CHANNEL_MESSAGING_FALSE}"; then
23144   as_fn_error $? "conditional \"ENABLE_CHANNEL_MESSAGING\" was never defined.
23145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23146 fi
23147 if test -z "${ENABLE_JAVASCRIPT_DEBUGGER_TRUE}" && test -z "${ENABLE_JAVASCRIPT_DEBUGGER_FALSE}"; then
23148   as_fn_error $? "conditional \"ENABLE_JAVASCRIPT_DEBUGGER\" was never defined.
23149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23150 fi
23151 if test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_TRUE}" && test -z "${ENABLE_OFFLINE_WEB_APPLICATIONS_FALSE}"; then
23152   as_fn_error $? "conditional \"ENABLE_OFFLINE_WEB_APPLICATIONS\" was never defined.
23153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23154 fi
23155 if test -z "${ENABLE_DIRECTORY_UPLOAD_TRUE}" && test -z "${ENABLE_DIRECTORY_UPLOAD_FALSE}"; then
23156   as_fn_error $? "conditional \"ENABLE_DIRECTORY_UPLOAD\" was never defined.
23157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23158 fi
23159 if test -z "${ENABLE_DATAGRID_TRUE}" && test -z "${ENABLE_DATAGRID_FALSE}"; then
23160   as_fn_error $? "conditional \"ENABLE_DATAGRID\" was never defined.
23161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23162 fi
23163 if test -z "${ENABLE_DATA_TRANSFER_ITEMS_TRUE}" && test -z "${ENABLE_DATA_TRANSFER_ITEMS_FALSE}"; then
23164   as_fn_error $? "conditional \"ENABLE_DATA_TRANSFER_ITEMS\" was never defined.
23165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23166 fi
23167 if test -z "${ENABLE_DOM_STORAGE_TRUE}" && test -z "${ENABLE_DOM_STORAGE_FALSE}"; then
23168   as_fn_error $? "conditional \"ENABLE_DOM_STORAGE\" was never defined.
23169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23170 fi
23171 if test -z "${ENABLE_SQL_DATABASE_TRUE}" && test -z "${ENABLE_SQL_DATABASE_FALSE}"; then
23172   as_fn_error $? "conditional \"ENABLE_SQL_DATABASE\" was never defined.
23173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23174 fi
23175 if test -z "${ENABLE_DATALIST_TRUE}" && test -z "${ENABLE_DATALIST_FALSE}"; then
23176   as_fn_error $? "conditional \"ENABLE_DATALIST\" was never defined.
23177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23178 fi
23179 if test -z "${ENABLE_DETAILS_TRUE}" && test -z "${ENABLE_DETAILS_FALSE}"; then
23180   as_fn_error $? "conditional \"ENABLE_DETAILS\" was never defined.
23181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23182 fi
23183 if test -z "${ENABLE_FAST_MOBILE_SCROLLING_TRUE}" && test -z "${ENABLE_FAST_MOBILE_SCROLLING_FALSE}"; then
23184   as_fn_error $? "conditional \"ENABLE_FAST_MOBILE_SCROLLING\" was never defined.
23185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23186 fi
23187 if test -z "${ENABLE_FILE_SYSTEM_TRUE}" && test -z "${ENABLE_FILE_SYSTEM_FALSE}"; then
23188   as_fn_error $? "conditional \"ENABLE_FILE_SYSTEM\" was never defined.
23189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23190 fi
23191 if test -z "${ENABLE_QUOTA_TRUE}" && test -z "${ENABLE_QUOTA_FALSE}"; then
23192   as_fn_error $? "conditional \"ENABLE_QUOTA\" was never defined.
23193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23194 fi
23195 if test -z "${ENABLE_ICONDATABASE_TRUE}" && test -z "${ENABLE_ICONDATABASE_FALSE}"; then
23196   as_fn_error $? "conditional \"ENABLE_ICONDATABASE\" was never defined.
23197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23198 fi
23199 if test -z "${ENABLE_IMAGE_RESIZER_TRUE}" && test -z "${ENABLE_IMAGE_RESIZER_FALSE}"; then
23200   as_fn_error $? "conditional \"ENABLE_IMAGE_RESIZER\" was never defined.
23201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23202 fi
23203 if test -z "${ENABLE_INDEXED_DATABASE_TRUE}" && test -z "${ENABLE_INDEXED_DATABASE_FALSE}"; then
23204   as_fn_error $? "conditional \"ENABLE_INDEXED_DATABASE\" was never defined.
23205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23206 fi
23207 if test -z "${ENABLE_INPUT_COLOR_TRUE}" && test -z "${ENABLE_INPUT_COLOR_FALSE}"; then
23208   as_fn_error $? "conditional \"ENABLE_INPUT_COLOR\" was never defined.
23209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23210 fi
23211 if test -z "${ENABLE_INPUT_SPEECH_TRUE}" && test -z "${ENABLE_INPUT_SPEECH_FALSE}"; then
23212   as_fn_error $? "conditional \"ENABLE_INPUT_SPEECH\" was never defined.
23213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23214 fi
23215 if test -z "${ENABLE_XHTMLMP_TRUE}" && test -z "${ENABLE_XHTMLMP_FALSE}"; then
23216   as_fn_error $? "conditional \"ENABLE_XHTMLMP\" was never defined.
23217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23218 fi
23219 if test -z "${ENABLE_XPATH_TRUE}" && test -z "${ENABLE_XPATH_FALSE}"; then
23220   as_fn_error $? "conditional \"ENABLE_XPATH\" was never defined.
23221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23222 fi
23223 if test -z "${ENABLE_XSLT_TRUE}" && test -z "${ENABLE_XSLT_FALSE}"; then
23224   as_fn_error $? "conditional \"ENABLE_XSLT\" was never defined.
23225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23226 fi
23227 if test -z "${ENABLE_FILTERS_TRUE}" && test -z "${ENABLE_FILTERS_FALSE}"; then
23228   as_fn_error $? "conditional \"ENABLE_FILTERS\" was never defined.
23229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23230 fi
23231 if test -z "${ENABLE_GEOLOCATION_TRUE}" && test -z "${ENABLE_GEOLOCATION_FALSE}"; then
23232   as_fn_error $? "conditional \"ENABLE_GEOLOCATION\" was never defined.
23233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23234 fi
23235 if test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_TRUE}" && test -z "${ENABLE_CLIENT_BASED_GEOLOCATION_FALSE}"; then
23236   as_fn_error $? "conditional \"ENABLE_CLIENT_BASED_GEOLOCATION\" was never defined.
23237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23238 fi
23239 if test -z "${ENABLE_MATHML_TRUE}" && test -z "${ENABLE_MATHML_FALSE}"; then
23240   as_fn_error $? "conditional \"ENABLE_MATHML\" was never defined.
23241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23242 fi
23243 if test -z "${ENABLE_MHTML_TRUE}" && test -z "${ENABLE_MHTML_FALSE}"; then
23244   as_fn_error $? "conditional \"ENABLE_MHTML\" was never defined.
23245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23246 fi
23247 if test -z "${ENABLE_VIDEO_TRUE}" && test -z "${ENABLE_VIDEO_FALSE}"; then
23248   as_fn_error $? "conditional \"ENABLE_VIDEO\" was never defined.
23249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23250 fi
23251 if test -z "${ENABLE_ELIS_MEDIA_TRUE}" && test -z "${ENABLE_ELIS_MEDIA_FALSE}"; then
23252   as_fn_error $? "conditional \"ENABLE_ELIS_MEDIA\" was never defined.
23253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23254 fi
23255 if test -z "${ENABLE_MEDIA_SOURCE_TRUE}" && test -z "${ENABLE_MEDIA_SOURCE_FALSE}"; then
23256   as_fn_error $? "conditional \"ENABLE_MEDIA_SOURCE\" was never defined.
23257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23258 fi
23259 if test -z "${ENABLE_MEDIA_STATISTICS_TRUE}" && test -z "${ENABLE_MEDIA_STATISTICS_FALSE}"; then
23260   as_fn_error $? "conditional \"ENABLE_MEDIA_STATISTICS\" was never defined.
23261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23262 fi
23263 if test -z "${ENABLE_VIDEO_TRACK_TRUE}" && test -z "${ENABLE_VIDEO_TRACK_FALSE}"; then
23264   as_fn_error $? "conditional \"ENABLE_VIDEO_TRACK\" was never defined.
23265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23266 fi
23267 if test -z "${ENABLE_FULLSCREEN_API_TRUE}" && test -z "${ENABLE_FULLSCREEN_API_FALSE}"; then
23268   as_fn_error $? "conditional \"ENABLE_FULLSCREEN_API\" was never defined.
23269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23270 fi
23271 if test -z "${ENABLE_MEDIA_STREAM_TRUE}" && test -z "${ENABLE_MEDIA_STREAM_FALSE}"; then
23272   as_fn_error $? "conditional \"ENABLE_MEDIA_STREAM\" was never defined.
23273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23274 fi
23275 if test -z "${ENABLE_NOTIFICATIONS_TRUE}" && test -z "${ENABLE_NOTIFICATIONS_FALSE}"; then
23276   as_fn_error $? "conditional \"ENABLE_NOTIFICATIONS\" was never defined.
23277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23278 fi
23279 if test -z "${ENABLE_ORIENTATION_EVENTS_TRUE}" && test -z "${ENABLE_ORIENTATION_EVENTS_FALSE}"; then
23280   as_fn_error $? "conditional \"ENABLE_ORIENTATION_EVENTS\" was never defined.
23281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23282 fi
23283 if test -z "${ENABLE_SVG_TRUE}" && test -z "${ENABLE_SVG_FALSE}"; then
23284   as_fn_error $? "conditional \"ENABLE_SVG\" was never defined.
23285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23286 fi
23287 if test -z "${ENABLE_SVG_FONTS_TRUE}" && test -z "${ENABLE_SVG_FONTS_FALSE}"; then
23288   as_fn_error $? "conditional \"ENABLE_SVG_FONTS\" was never defined.
23289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23290 fi
23291 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
23292   as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
23293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23294 fi
23295 if test -z "${ENABLE_FAST_MALLOC_TRUE}" && test -z "${ENABLE_FAST_MALLOC_FALSE}"; then
23296   as_fn_error $? "conditional \"ENABLE_FAST_MALLOC\" was never defined.
23297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23298 fi
23299 if test -z "${ENABLE_WCSS_TRUE}" && test -z "${ENABLE_WCSS_FALSE}"; then
23300   as_fn_error $? "conditional \"ENABLE_WCSS\" was never defined.
23301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23302 fi
23303 if test -z "${ENABLE_WORKERS_TRUE}" && test -z "${ENABLE_WORKERS_FALSE}"; then
23304   as_fn_error $? "conditional \"ENABLE_WORKERS\" was never defined.
23305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23306 fi
23307 if test -z "${ENABLE_SHARED_WORKERS_TRUE}" && test -z "${ENABLE_SHARED_WORKERS_FALSE}"; then
23308   as_fn_error $? "conditional \"ENABLE_SHARED_WORKERS\" was never defined.
23309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23310 fi
23311 if test -z "${SVG_FLAGS_TRUE}" && test -z "${SVG_FLAGS_FALSE}"; then
23312   as_fn_error $? "conditional \"SVG_FLAGS\" was never defined.
23313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23314 fi
23315 if test -z "${HTML_FLAGS_TRUE}" && test -z "${HTML_FLAGS_FALSE}"; then
23316   as_fn_error $? "conditional \"HTML_FLAGS\" was never defined.
23317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23318 fi
23319 if test -z "${ENABLE_WEB_SOCKETS_TRUE}" && test -z "${ENABLE_WEB_SOCKETS_FALSE}"; then
23320   as_fn_error $? "conditional \"ENABLE_WEB_SOCKETS\" was never defined.
23321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23322 fi
23323 if test -z "${ENABLE_WEB_AUDIO_TRUE}" && test -z "${ENABLE_WEB_AUDIO_FALSE}"; then
23324   as_fn_error $? "conditional \"ENABLE_WEB_AUDIO\" was never defined.
23325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23326 fi
23327 if test -z "${ENABLE_WEB_TIMING_TRUE}" && test -z "${ENABLE_WEB_TIMING_FALSE}"; then
23328   as_fn_error $? "conditional \"ENABLE_WEB_TIMING\" was never defined.
23329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23330 fi
23331 if test -z "${ENABLE_OPCODE_STATS_TRUE}" && test -z "${ENABLE_OPCODE_STATS_FALSE}"; then
23332   as_fn_error $? "conditional \"ENABLE_OPCODE_STATS\" was never defined.
23333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23334 fi
23335 if test -z "${ENABLE_WEBKIT2_TRUE}" && test -z "${ENABLE_WEBKIT2_FALSE}"; then
23336   as_fn_error $? "conditional \"ENABLE_WEBKIT2\" was never defined.
23337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23338 fi
23339 if test -z "${ENABLE_PLUGIN_PROCESS_TRUE}" && test -z "${ENABLE_PLUGIN_PROCESS_FALSE}"; then
23340   as_fn_error $? "conditional \"ENABLE_PLUGIN_PROCESS\" was never defined.
23341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23342 fi
23343 if test -z "${ENABLE_SPELLCHECK_TRUE}" && test -z "${ENABLE_SPELLCHECK_FALSE}"; then
23344   as_fn_error $? "conditional \"ENABLE_SPELLCHECK\" was never defined.
23345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23346 fi
23347 if test -z "${ENABLE_ANIMATION_API_TRUE}" && test -z "${ENABLE_ANIMATION_API_FALSE}"; then
23348   as_fn_error $? "conditional \"ENABLE_ANIMATION_API\" was never defined.
23349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23350 fi
23351 if test -z "${ENABLE_TOUCH_ICON_LOADING_TRUE}" && test -z "${ENABLE_TOUCH_ICON_LOADING_FALSE}"; then
23352   as_fn_error $? "conditional \"ENABLE_TOUCH_ICON_LOADING\" was never defined.
23353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23354 fi
23355 if test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_TRUE}" && test -z "${ENABLE_REGISTER_PROTOCOL_HANDLER_FALSE}"; then
23356   as_fn_error $? "conditional \"ENABLE_REGISTER_PROTOCOL_HANDLER\" was never defined.
23357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23358 fi
23359 if test -z "${ENABLE_DEVICE_ORIENTATION_TRUE}" && test -z "${ENABLE_DEVICE_ORIENTATION_FALSE}"; then
23360   as_fn_error $? "conditional \"ENABLE_DEVICE_ORIENTATION\" was never defined.
23361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23362 fi
23363 if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
23364   as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
23365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23366 fi
23367
23368 : "${CONFIG_STATUS=./config.status}"
23369 ac_write_fail=0
23370 ac_clean_files_save=$ac_clean_files
23371 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23373 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23374 as_write_fail=0
23375 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23376 #! $SHELL
23377 # Generated by $as_me.
23378 # Run this file to recreate the current configuration.
23379 # Compiler output produced by configure, useful for debugging
23380 # configure, is in config.log if it exists.
23381
23382 debug=false
23383 ac_cs_recheck=false
23384 ac_cs_silent=false
23385
23386 SHELL=\${CONFIG_SHELL-$SHELL}
23387 export SHELL
23388 _ASEOF
23389 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23390 ## -------------------- ##
23391 ## M4sh Initialization. ##
23392 ## -------------------- ##
23393
23394 # Be more Bourne compatible
23395 DUALCASE=1; export DUALCASE # for MKS sh
23396 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23397   emulate sh
23398   NULLCMD=:
23399   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23400   # is contrary to our usage.  Disable this feature.
23401   alias -g '${1+"$@"}'='"$@"'
23402   setopt NO_GLOB_SUBST
23403 else
23404   case `(set -o) 2>/dev/null` in @%:@(
23405   *posix*) :
23406     set -o posix ;; @%:@(
23407   *) :
23408      ;;
23409 esac
23410 fi
23411
23412
23413 as_nl='
23414 '
23415 export as_nl
23416 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23417 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23418 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23420 # Prefer a ksh shell builtin over an external printf program on Solaris,
23421 # but without wasting forks for bash or zsh.
23422 if test -z "$BASH_VERSION$ZSH_VERSION" \
23423     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23424   as_echo='print -r --'
23425   as_echo_n='print -rn --'
23426 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23427   as_echo='printf %s\n'
23428   as_echo_n='printf %s'
23429 else
23430   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23431     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23432     as_echo_n='/usr/ucb/echo -n'
23433   else
23434     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23435     as_echo_n_body='eval
23436       arg=$1;
23437       case $arg in @%:@(
23438       *"$as_nl"*)
23439         expr "X$arg" : "X\\(.*\\)$as_nl";
23440         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23441       esac;
23442       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23443     '
23444     export as_echo_n_body
23445     as_echo_n='sh -c $as_echo_n_body as_echo'
23446   fi
23447   export as_echo_body
23448   as_echo='sh -c $as_echo_body as_echo'
23449 fi
23450
23451 # The user is always right.
23452 if test "${PATH_SEPARATOR+set}" != set; then
23453   PATH_SEPARATOR=:
23454   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23455     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23456       PATH_SEPARATOR=';'
23457   }
23458 fi
23459
23460
23461 # IFS
23462 # We need space, tab and new line, in precisely that order.  Quoting is
23463 # there to prevent editors from complaining about space-tab.
23464 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23465 # splitting by setting IFS to empty value.)
23466 IFS=" ""        $as_nl"
23467
23468 # Find who we are.  Look in the path if we contain no directory separator.
23469 as_myself=
23470 case $0 in @%:@((
23471   *[\\/]* ) as_myself=$0 ;;
23472   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23473 for as_dir in $PATH
23474 do
23475   IFS=$as_save_IFS
23476   test -z "$as_dir" && as_dir=.
23477     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23478   done
23479 IFS=$as_save_IFS
23480
23481      ;;
23482 esac
23483 # We did not find ourselves, most probably we were run as `sh COMMAND'
23484 # in which case we are not to be found in the path.
23485 if test "x$as_myself" = x; then
23486   as_myself=$0
23487 fi
23488 if test ! -f "$as_myself"; then
23489   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23490   exit 1
23491 fi
23492
23493 # Unset variables that we do not need and which cause bugs (e.g. in
23494 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
23495 # suppresses any "Segmentation fault" message there.  '((' could
23496 # trigger a bug in pdksh 5.2.14.
23497 for as_var in BASH_ENV ENV MAIL MAILPATH
23498 do eval test x\${$as_var+set} = xset \
23499   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23500 done
23501 PS1='$ '
23502 PS2='> '
23503 PS4='+ '
23504
23505 # NLS nuisances.
23506 LC_ALL=C
23507 export LC_ALL
23508 LANGUAGE=C
23509 export LANGUAGE
23510
23511 # CDPATH.
23512 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23513
23514
23515 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
23516 @%:@ ----------------------------------------
23517 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23518 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23519 @%:@ script with STATUS, using 1 if that was 0.
23520 as_fn_error ()
23521 {
23522   as_status=$1; test $as_status -eq 0 && as_status=1
23523   if test "$4"; then
23524     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23525     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23526   fi
23527   $as_echo "$as_me: error: $2" >&2
23528   as_fn_exit $as_status
23529 } @%:@ as_fn_error
23530
23531
23532 @%:@ as_fn_set_status STATUS
23533 @%:@ -----------------------
23534 @%:@ Set @S|@? to STATUS, without forking.
23535 as_fn_set_status ()
23536 {
23537   return $1
23538 } @%:@ as_fn_set_status
23539
23540 @%:@ as_fn_exit STATUS
23541 @%:@ -----------------
23542 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23543 as_fn_exit ()
23544 {
23545   set +e
23546   as_fn_set_status $1
23547   exit $1
23548 } @%:@ as_fn_exit
23549
23550 @%:@ as_fn_unset VAR
23551 @%:@ ---------------
23552 @%:@ Portably unset VAR.
23553 as_fn_unset ()
23554 {
23555   { eval $1=; unset $1;}
23556 }
23557 as_unset=as_fn_unset
23558 @%:@ as_fn_append VAR VALUE
23559 @%:@ ----------------------
23560 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
23561 @%:@ advantage of any shell optimizations that allow amortized linear growth over
23562 @%:@ repeated appends, instead of the typical quadratic growth present in naive
23563 @%:@ implementations.
23564 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23565   eval 'as_fn_append ()
23566   {
23567     eval $1+=\$2
23568   }'
23569 else
23570   as_fn_append ()
23571   {
23572     eval $1=\$$1\$2
23573   }
23574 fi # as_fn_append
23575
23576 @%:@ as_fn_arith ARG...
23577 @%:@ ------------------
23578 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
23579 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
23580 @%:@ must be portable across @S|@(()) and expr.
23581 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23582   eval 'as_fn_arith ()
23583   {
23584     as_val=$(( $* ))
23585   }'
23586 else
23587   as_fn_arith ()
23588   {
23589     as_val=`expr "$@" || test $? -eq 1`
23590   }
23591 fi # as_fn_arith
23592
23593
23594 if expr a : '\(a\)' >/dev/null 2>&1 &&
23595    test "X`expr 00001 : '.*\(...\)'`" = X001; then
23596   as_expr=expr
23597 else
23598   as_expr=false
23599 fi
23600
23601 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23602   as_basename=basename
23603 else
23604   as_basename=false
23605 fi
23606
23607 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23608   as_dirname=dirname
23609 else
23610   as_dirname=false
23611 fi
23612
23613 as_me=`$as_basename -- "$0" ||
23614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23615          X"$0" : 'X\(//\)$' \| \
23616          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23617 $as_echo X/"$0" |
23618     sed '/^.*\/\([^/][^/]*\)\/*$/{
23619             s//\1/
23620             q
23621           }
23622           /^X\/\(\/\/\)$/{
23623             s//\1/
23624             q
23625           }
23626           /^X\/\(\/\).*/{
23627             s//\1/
23628             q
23629           }
23630           s/.*/./; q'`
23631
23632 # Avoid depending upon Character Ranges.
23633 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23634 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23635 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23636 as_cr_digits='0123456789'
23637 as_cr_alnum=$as_cr_Letters$as_cr_digits
23638
23639 ECHO_C= ECHO_N= ECHO_T=
23640 case `echo -n x` in @%:@(((((
23641 -n*)
23642   case `echo 'xy\c'` in
23643   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
23644   xy)  ECHO_C='\c';;
23645   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
23646        ECHO_T=' ';;
23647   esac;;
23648 *)
23649   ECHO_N='-n';;
23650 esac
23651
23652 rm -f conf$$ conf$$.exe conf$$.file
23653 if test -d conf$$.dir; then
23654   rm -f conf$$.dir/conf$$.file
23655 else
23656   rm -f conf$$.dir
23657   mkdir conf$$.dir 2>/dev/null
23658 fi
23659 if (echo >conf$$.file) 2>/dev/null; then
23660   if ln -s conf$$.file conf$$ 2>/dev/null; then
23661     as_ln_s='ln -s'
23662     # ... but there are two gotchas:
23663     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23664     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23665     # In both cases, we have to default to `cp -p'.
23666     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23667       as_ln_s='cp -p'
23668   elif ln conf$$.file conf$$ 2>/dev/null; then
23669     as_ln_s=ln
23670   else
23671     as_ln_s='cp -p'
23672   fi
23673 else
23674   as_ln_s='cp -p'
23675 fi
23676 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23677 rmdir conf$$.dir 2>/dev/null
23678
23679
23680 @%:@ as_fn_mkdir_p
23681 @%:@ -------------
23682 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
23683 as_fn_mkdir_p ()
23684 {
23685
23686   case $as_dir in #(
23687   -*) as_dir=./$as_dir;;
23688   esac
23689   test -d "$as_dir" || eval $as_mkdir_p || {
23690     as_dirs=
23691     while :; do
23692       case $as_dir in #(
23693       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23694       *) as_qdir=$as_dir;;
23695       esac
23696       as_dirs="'$as_qdir' $as_dirs"
23697       as_dir=`$as_dirname -- "$as_dir" ||
23698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23699          X"$as_dir" : 'X\(//\)[^/]' \| \
23700          X"$as_dir" : 'X\(//\)$' \| \
23701          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23702 $as_echo X"$as_dir" |
23703     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23704             s//\1/
23705             q
23706           }
23707           /^X\(\/\/\)[^/].*/{
23708             s//\1/
23709             q
23710           }
23711           /^X\(\/\/\)$/{
23712             s//\1/
23713             q
23714           }
23715           /^X\(\/\).*/{
23716             s//\1/
23717             q
23718           }
23719           s/.*/./; q'`
23720       test -d "$as_dir" && break
23721     done
23722     test -z "$as_dirs" || eval "mkdir $as_dirs"
23723   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23724
23725
23726 } @%:@ as_fn_mkdir_p
23727 if mkdir -p . 2>/dev/null; then
23728   as_mkdir_p='mkdir -p "$as_dir"'
23729 else
23730   test -d ./-p && rmdir ./-p
23731   as_mkdir_p=false
23732 fi
23733
23734 if test -x / >/dev/null 2>&1; then
23735   as_test_x='test -x'
23736 else
23737   if ls -dL / >/dev/null 2>&1; then
23738     as_ls_L_option=L
23739   else
23740     as_ls_L_option=
23741   fi
23742   as_test_x='
23743     eval sh -c '\''
23744       if test -d "$1"; then
23745         test -d "$1/.";
23746       else
23747         case $1 in @%:@(
23748         -*)set "./$1";;
23749         esac;
23750         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
23751         ???[sx]*):;;*)false;;esac;fi
23752     '\'' sh
23753   '
23754 fi
23755 as_executable_p=$as_test_x
23756
23757 # Sed expression to map a string onto a valid CPP name.
23758 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23759
23760 # Sed expression to map a string onto a valid variable name.
23761 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23762
23763
23764 exec 6>&1
23765 ## ----------------------------------- ##
23766 ## Main body of $CONFIG_STATUS script. ##
23767 ## ----------------------------------- ##
23768 _ASEOF
23769 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23770
23771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23772 # Save the log message, to keep $0 and so on meaningful, and to
23773 # report actual input values of CONFIG_FILES etc. instead of their
23774 # values after options handling.
23775 ac_log="
23776 This file was extended by WebKit $as_me 1.6.1, which was
23777 generated by GNU Autoconf 2.68.  Invocation command line was
23778
23779   CONFIG_FILES    = $CONFIG_FILES
23780   CONFIG_HEADERS  = $CONFIG_HEADERS
23781   CONFIG_LINKS    = $CONFIG_LINKS
23782   CONFIG_COMMANDS = $CONFIG_COMMANDS
23783   $ $0 $@
23784
23785 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23786 "
23787
23788 _ACEOF
23789
23790 case $ac_config_files in *"
23791 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23792 esac
23793
23794 case $ac_config_headers in *"
23795 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23796 esac
23797
23798
23799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23800 # Files that config.status was made for.
23801 config_files="$ac_config_files"
23802 config_headers="$ac_config_headers"
23803 config_commands="$ac_config_commands"
23804
23805 _ACEOF
23806
23807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23808 ac_cs_usage="\
23809 \`$as_me' instantiates files and other configuration actions
23810 from templates according to the current configuration.  Unless the files
23811 and actions are specified as TAGs, all are instantiated by default.
23812
23813 Usage: $0 [OPTION]... [TAG]...
23814
23815   -h, --help       print this help, then exit
23816   -V, --version    print version number and configuration settings, then exit
23817       --config     print configuration, then exit
23818   -q, --quiet, --silent
23819                    do not print progress messages
23820   -d, --debug      don't remove temporary files
23821       --recheck    update $as_me by reconfiguring in the same conditions
23822       --file=FILE[:TEMPLATE] 
23823                    instantiate the configuration file FILE
23824       --header=FILE[:TEMPLATE] 
23825                    instantiate the configuration header FILE
23826
23827 Configuration files:
23828 $config_files
23829
23830 Configuration headers:
23831 $config_headers
23832
23833 Configuration commands:
23834 $config_commands
23835
23836 Report bugs to <http://bugs.webkit.org/>."
23837
23838 _ACEOF
23839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23840 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23841 ac_cs_version="\\
23842 WebKit config.status 1.6.1
23843 configured by $0, generated by GNU Autoconf 2.68,
23844   with options \\"\$ac_cs_config\\"
23845
23846 Copyright (C) 2010 Free Software Foundation, Inc.
23847 This config.status script is free software; the Free Software Foundation
23848 gives unlimited permission to copy, distribute and modify it."
23849
23850 ac_pwd='$ac_pwd'
23851 srcdir='$srcdir'
23852 INSTALL='$INSTALL'
23853 MKDIR_P='$MKDIR_P'
23854 AWK='$AWK'
23855 test -n "\$AWK" || AWK=awk
23856 _ACEOF
23857
23858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23859 # The default lists apply if the user does not specify any file.
23860 ac_need_defaults=:
23861 while test $# != 0
23862 do
23863   case $1 in
23864   --*=?*)
23865     ac_option=`expr "X$1" : 'X\([^=]*\)='`
23866     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23867     ac_shift=:
23868     ;;
23869   --*=)
23870     ac_option=`expr "X$1" : 'X\([^=]*\)='`
23871     ac_optarg=
23872     ac_shift=:
23873     ;;
23874   *)
23875     ac_option=$1
23876     ac_optarg=$2
23877     ac_shift=shift
23878     ;;
23879   esac
23880
23881   case $ac_option in
23882   # Handling of the options.
23883   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23884     ac_cs_recheck=: ;;
23885   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23886     $as_echo "$ac_cs_version"; exit ;;
23887   --config | --confi | --conf | --con | --co | --c )
23888     $as_echo "$ac_cs_config"; exit ;;
23889   --debug | --debu | --deb | --de | --d | -d )
23890     debug=: ;;
23891   --file | --fil | --fi | --f )
23892     $ac_shift
23893     case $ac_optarg in
23894     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23895     '') as_fn_error $? "missing file argument" ;;
23896     esac
23897     as_fn_append CONFIG_FILES " '$ac_optarg'"
23898     ac_need_defaults=false;;
23899   --header | --heade | --head | --hea )
23900     $ac_shift
23901     case $ac_optarg in
23902     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23903     esac
23904     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23905     ac_need_defaults=false;;
23906   --he | --h)
23907     # Conflict between --help and --header
23908     as_fn_error $? "ambiguous option: \`$1'
23909 Try \`$0 --help' for more information.";;
23910   --help | --hel | -h )
23911     $as_echo "$ac_cs_usage"; exit ;;
23912   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23913   | -silent | --silent | --silen | --sile | --sil | --si | --s)
23914     ac_cs_silent=: ;;
23915
23916   # This is an error.
23917   -*) as_fn_error $? "unrecognized option: \`$1'
23918 Try \`$0 --help' for more information." ;;
23919
23920   *) as_fn_append ac_config_targets " $1"
23921      ac_need_defaults=false ;;
23922
23923   esac
23924   shift
23925 done
23926
23927 ac_configure_extra_args=
23928
23929 if $ac_cs_silent; then
23930   exec 6>/dev/null
23931   ac_configure_extra_args="$ac_configure_extra_args --silent"
23932 fi
23933
23934 _ACEOF
23935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23936 if \$ac_cs_recheck; then
23937   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23938   shift
23939   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23940   CONFIG_SHELL='$SHELL'
23941   export CONFIG_SHELL
23942   exec "\$@"
23943 fi
23944
23945 _ACEOF
23946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23947 exec 5>>config.log
23948 {
23949   echo
23950   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
23951 @%:@@%:@ Running $as_me. @%:@@%:@
23952 _ASBOX
23953   $as_echo "$ac_log"
23954 } >&5
23955
23956 _ACEOF
23957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23958 #
23959 # INIT-COMMANDS
23960 #
23961 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23962
23963
23964 # The HP-UX ksh and POSIX shell print the target directory to stdout
23965 # if CDPATH is set.
23966 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23967
23968 sed_quote_subst='$sed_quote_subst'
23969 double_quote_subst='$double_quote_subst'
23970 delay_variable_subst='$delay_variable_subst'
23971 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23972 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
23973 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23974 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23975 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23976 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23977 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23978 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23979 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23980 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23981 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23982 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23983 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23984 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23985 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23986 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23987 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23988 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23989 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23990 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23991 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23992 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23993 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23994 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23995 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23996 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23997 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23998 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23999 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24000 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24001 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24002 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24003 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24004 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24005 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24006 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24007 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24008 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24009 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24010 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24011 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24012 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24013 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24014 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24015 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24016 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24017 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24018 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24019 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24020 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24021 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24022 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24023 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24024 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24025 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24026 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24027 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24028 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"`'
24029 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24030 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24031 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24032 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24033 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24034 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24035 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24036 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24037 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24038 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24039 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24040 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24041 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24042 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24043 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24044 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24045 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24046 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24047 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24048 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24049 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24050 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24051 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24052 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24053 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24054 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24055 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24056 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24057 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24058 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24059 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24060 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24061 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24062 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24063 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24064 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24065 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24066 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24067 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24068 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24069 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24070 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24071 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24072 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24073 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24074 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24075 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24076 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24077 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24078 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24079 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24080 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24081 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24082 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24083 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24084 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24085 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24086 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24087 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24088 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24089 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24090 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24091 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24092 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24093 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24094 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24095 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
24096 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24097 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24098 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24099 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24100 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24101 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24102 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24103 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24104 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24105 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24106 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24107 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24108 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24109 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24110 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24111 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24112 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24113 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24114 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24115 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24116 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24117 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24118 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24119 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24120 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24121 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24122 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24123 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24124 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24125 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24126 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24127 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24128 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24129 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24130 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24131 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24132 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24133 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24134 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24135 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24136 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24137 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24138 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24139 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24140 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24141 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24142 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24143 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24144 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24145 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24146 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24147 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24148 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24149 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24150 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24151 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24152 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24153 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24154 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24155 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24156
24157 LTCC='$LTCC'
24158 LTCFLAGS='$LTCFLAGS'
24159 compiler='$compiler_DEFAULT'
24160
24161 # A function that is used when there is no print builtin or printf.
24162 func_fallback_echo ()
24163 {
24164   eval 'cat <<_LTECHO_EOF
24165 \$1
24166 _LTECHO_EOF'
24167 }
24168
24169 # Quote evaled strings.
24170 for var in AS \
24171 DLLTOOL \
24172 OBJDUMP \
24173 SHELL \
24174 ECHO \
24175 PATH_SEPARATOR \
24176 SED \
24177 GREP \
24178 EGREP \
24179 FGREP \
24180 LD \
24181 NM \
24182 LN_S \
24183 lt_SP2NL \
24184 lt_NL2SP \
24185 reload_flag \
24186 deplibs_check_method \
24187 file_magic_cmd \
24188 file_magic_glob \
24189 want_nocaseglob \
24190 sharedlib_from_linklib_cmd \
24191 AR \
24192 AR_FLAGS \
24193 archiver_list_spec \
24194 STRIP \
24195 RANLIB \
24196 CC \
24197 CFLAGS \
24198 compiler \
24199 lt_cv_sys_global_symbol_pipe \
24200 lt_cv_sys_global_symbol_to_cdecl \
24201 lt_cv_sys_global_symbol_to_c_name_address \
24202 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24203 nm_file_list_spec \
24204 lt_prog_compiler_no_builtin_flag \
24205 lt_prog_compiler_pic \
24206 lt_prog_compiler_wl \
24207 lt_prog_compiler_static \
24208 lt_cv_prog_compiler_c_o \
24209 need_locks \
24210 MANIFEST_TOOL \
24211 DSYMUTIL \
24212 NMEDIT \
24213 LIPO \
24214 OTOOL \
24215 OTOOL64 \
24216 shrext_cmds \
24217 export_dynamic_flag_spec \
24218 whole_archive_flag_spec \
24219 compiler_needs_object \
24220 with_gnu_ld \
24221 allow_undefined_flag \
24222 no_undefined_flag \
24223 hardcode_libdir_flag_spec \
24224 hardcode_libdir_separator \
24225 exclude_expsyms \
24226 include_expsyms \
24227 file_list_spec \
24228 variables_saved_for_relink \
24229 libname_spec \
24230 library_names_spec \
24231 soname_spec \
24232 install_override_mode \
24233 finish_eval \
24234 old_striplib \
24235 striplib \
24236 compiler_lib_search_dirs \
24237 predep_objects \
24238 postdep_objects \
24239 predeps \
24240 postdeps \
24241 compiler_lib_search_path \
24242 LD_CXX \
24243 reload_flag_CXX \
24244 compiler_CXX \
24245 lt_prog_compiler_no_builtin_flag_CXX \
24246 lt_prog_compiler_pic_CXX \
24247 lt_prog_compiler_wl_CXX \
24248 lt_prog_compiler_static_CXX \
24249 lt_cv_prog_compiler_c_o_CXX \
24250 export_dynamic_flag_spec_CXX \
24251 whole_archive_flag_spec_CXX \
24252 compiler_needs_object_CXX \
24253 with_gnu_ld_CXX \
24254 allow_undefined_flag_CXX \
24255 no_undefined_flag_CXX \
24256 hardcode_libdir_flag_spec_CXX \
24257 hardcode_libdir_separator_CXX \
24258 exclude_expsyms_CXX \
24259 include_expsyms_CXX \
24260 file_list_spec_CXX \
24261 compiler_lib_search_dirs_CXX \
24262 predep_objects_CXX \
24263 postdep_objects_CXX \
24264 predeps_CXX \
24265 postdeps_CXX \
24266 compiler_lib_search_path_CXX; do
24267     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24268     *[\\\\\\\`\\"\\\$]*)
24269       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24270       ;;
24271     *)
24272       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24273       ;;
24274     esac
24275 done
24276
24277 # Double-quote double-evaled strings.
24278 for var in reload_cmds \
24279 old_postinstall_cmds \
24280 old_postuninstall_cmds \
24281 old_archive_cmds \
24282 extract_expsyms_cmds \
24283 old_archive_from_new_cmds \
24284 old_archive_from_expsyms_cmds \
24285 archive_cmds \
24286 archive_expsym_cmds \
24287 module_cmds \
24288 module_expsym_cmds \
24289 export_symbols_cmds \
24290 prelink_cmds \
24291 postlink_cmds \
24292 postinstall_cmds \
24293 postuninstall_cmds \
24294 finish_cmds \
24295 sys_lib_search_path_spec \
24296 sys_lib_dlsearch_path_spec \
24297 reload_cmds_CXX \
24298 old_archive_cmds_CXX \
24299 old_archive_from_new_cmds_CXX \
24300 old_archive_from_expsyms_cmds_CXX \
24301 archive_cmds_CXX \
24302 archive_expsym_cmds_CXX \
24303 module_cmds_CXX \
24304 module_expsym_cmds_CXX \
24305 export_symbols_cmds_CXX \
24306 prelink_cmds_CXX \
24307 postlink_cmds_CXX; do
24308     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24309     *[\\\\\\\`\\"\\\$]*)
24310       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24311       ;;
24312     *)
24313       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24314       ;;
24315     esac
24316 done
24317
24318 ac_aux_dir='$ac_aux_dir'
24319 xsi_shell='$xsi_shell'
24320 lt_shell_append='$lt_shell_append'
24321
24322 # See if we are running on zsh, and set the options which allow our
24323 # commands through without removal of \ escapes INIT.
24324 if test -n "\${ZSH_VERSION+set}" ; then
24325    setopt NO_GLOB_SUBST
24326 fi
24327
24328
24329     PACKAGE='$PACKAGE'
24330     VERSION='$VERSION'
24331     TIMESTAMP='$TIMESTAMP'
24332     RM='$RM'
24333     ofile='$ofile'
24334
24335
24336
24337
24338
24339
24340 _ACEOF
24341
24342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24343
24344 # Handling of arguments.
24345 for ac_config_target in $ac_config_targets
24346 do
24347   case $ac_config_target in
24348     "autotoolsconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autotoolsconfig.h" ;;
24349     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24350     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24351     "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
24352     "Source/WebKit/gtk/webkit/webkitversion.h") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/webkit/webkitversion.h" ;;
24353     "Source/WebKit/gtk/docs/GNUmakefile") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/GNUmakefile" ;;
24354     "Source/WebKit/gtk/docs/version.xml") CONFIG_FILES="$CONFIG_FILES Source/WebKit/gtk/docs/version.xml" ;;
24355     "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" ;;
24356     "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" ;;
24357     "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" ;;
24358     "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in" ;;
24359     "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in" ;;
24360
24361   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24362   esac
24363 done
24364
24365
24366 # If the user did not use the arguments to specify the items to instantiate,
24367 # then the envvar interface is used.  Set only those that are not.
24368 # We use the long form for the default assignment because of an extremely
24369 # bizarre bug on SunOS 4.1.3.
24370 if $ac_need_defaults; then
24371   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24372   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24373   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24374 fi
24375
24376 # Have a temporary directory for convenience.  Make it in the build tree
24377 # simply because there is no reason against having it here, and in addition,
24378 # creating and moving files from /tmp can sometimes cause problems.
24379 # Hook for its removal unless debugging.
24380 # Note that there is a small window in which the directory will not be cleaned:
24381 # after its creation but before its name has been assigned to `$tmp'.
24382 $debug ||
24383 {
24384   tmp= ac_tmp=
24385   trap 'exit_status=$?
24386   : "${ac_tmp:=$tmp}"
24387   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24388 ' 0
24389   trap 'as_fn_exit 1' 1 2 13 15
24390 }
24391 # Create a (secure) tmp directory for tmp files.
24392
24393 {
24394   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24395   test -d "$tmp"
24396 }  ||
24397 {
24398   tmp=./conf$$-$RANDOM
24399   (umask 077 && mkdir "$tmp")
24400 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24401 ac_tmp=$tmp
24402
24403 # Set up the scripts for CONFIG_FILES section.
24404 # No need to generate them if there are no CONFIG_FILES.
24405 # This happens for instance with `./config.status config.h'.
24406 if test -n "$CONFIG_FILES"; then
24407
24408
24409 ac_cr=`echo X | tr X '\015'`
24410 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24411 # But we know of no other shell where ac_cr would be empty at this
24412 # point, so we can use a bashism as a fallback.
24413 if test "x$ac_cr" = x; then
24414   eval ac_cr=\$\'\\r\'
24415 fi
24416 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24417 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24418   ac_cs_awk_cr='\\r'
24419 else
24420   ac_cs_awk_cr=$ac_cr
24421 fi
24422
24423 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24424 _ACEOF
24425
24426
24427 {
24428   echo "cat >conf$$subs.awk <<_ACEOF" &&
24429   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24430   echo "_ACEOF"
24431 } >conf$$subs.sh ||
24432   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24433 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24434 ac_delim='%!_!# '
24435 for ac_last_try in false false false false false :; do
24436   . ./conf$$subs.sh ||
24437     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24438
24439   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24440   if test $ac_delim_n = $ac_delim_num; then
24441     break
24442   elif $ac_last_try; then
24443     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24444   else
24445     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24446   fi
24447 done
24448 rm -f conf$$subs.sh
24449
24450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24451 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24452 _ACEOF
24453 sed -n '
24454 h
24455 s/^/S["/; s/!.*/"]=/
24456 p
24457 g
24458 s/^[^!]*!//
24459 :repl
24460 t repl
24461 s/'"$ac_delim"'$//
24462 t delim
24463 :nl
24464 h
24465 s/\(.\{148\}\)..*/\1/
24466 t more1
24467 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24468 p
24469 n
24470 b repl
24471 :more1
24472 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24473 p
24474 g
24475 s/.\{148\}//
24476 t nl
24477 :delim
24478 h
24479 s/\(.\{148\}\)..*/\1/
24480 t more2
24481 s/["\\]/\\&/g; s/^/"/; s/$/"/
24482 p
24483 b
24484 :more2
24485 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24486 p
24487 g
24488 s/.\{148\}//
24489 t delim
24490 ' <conf$$subs.awk | sed '
24491 /^[^""]/{
24492   N
24493   s/\n//
24494 }
24495 ' >>$CONFIG_STATUS || ac_write_fail=1
24496 rm -f conf$$subs.awk
24497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24498 _ACAWK
24499 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24500   for (key in S) S_is_set[key] = 1
24501   FS = "\a"
24502
24503 }
24504 {
24505   line = $ 0
24506   nfields = split(line, field, "@")
24507   substed = 0
24508   len = length(field[1])
24509   for (i = 2; i < nfields; i++) {
24510     key = field[i]
24511     keylen = length(key)
24512     if (S_is_set[key]) {
24513       value = S[key]
24514       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24515       len += length(value) + length(field[++i])
24516       substed = 1
24517     } else
24518       len += 1 + keylen
24519   }
24520
24521   print line
24522 }
24523
24524 _ACAWK
24525 _ACEOF
24526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24527 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24528   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24529 else
24530   cat
24531 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24532   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24533 _ACEOF
24534
24535 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24536 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24537 # trailing colons and then remove the whole line if VPATH becomes empty
24538 # (actually we leave an empty line to preserve line numbers).
24539 if test "x$srcdir" = x.; then
24540   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
24541 h
24542 s///
24543 s/^/:/
24544 s/[      ]*$/:/
24545 s/:\$(srcdir):/:/g
24546 s/:\${srcdir}:/:/g
24547 s/:@srcdir@:/:/g
24548 s/^:*//
24549 s/:*$//
24550 x
24551 s/\(=[   ]*\).*/\1/
24552 G
24553 s/\n//
24554 s/^[^=]*=[       ]*$//
24555 }'
24556 fi
24557
24558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24559 fi # test -n "$CONFIG_FILES"
24560
24561 # Set up the scripts for CONFIG_HEADERS section.
24562 # No need to generate them if there are no CONFIG_HEADERS.
24563 # This happens for instance with `./config.status Makefile'.
24564 if test -n "$CONFIG_HEADERS"; then
24565 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24566 BEGIN {
24567 _ACEOF
24568
24569 # Transform confdefs.h into an awk script `defines.awk', embedded as
24570 # here-document in config.status, that substitutes the proper values into
24571 # config.h.in to produce config.h.
24572
24573 # Create a delimiter string that does not exist in confdefs.h, to ease
24574 # handling of long lines.
24575 ac_delim='%!_!# '
24576 for ac_last_try in false false :; do
24577   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24578   if test -z "$ac_tt"; then
24579     break
24580   elif $ac_last_try; then
24581     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24582   else
24583     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24584   fi
24585 done
24586
24587 # For the awk script, D is an array of macro values keyed by name,
24588 # likewise P contains macro parameters if any.  Preserve backslash
24589 # newline sequences.
24590
24591 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24592 sed -n '
24593 s/.\{148\}/&'"$ac_delim"'/g
24594 t rset
24595 :rset
24596 s/^[     ]*#[    ]*define[       ][      ]*/ /
24597 t def
24598 d
24599 :def
24600 s/\\$//
24601 t bsnl
24602 s/["\\]/\\&/g
24603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
24604 D["\1"]=" \3"/p
24605 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
24606 d
24607 :bsnl
24608 s/["\\]/\\&/g
24609 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
24610 D["\1"]=" \3\\\\\\n"\\/p
24611 t cont
24612 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24613 t cont
24614 d
24615 :cont
24616 n
24617 s/.\{148\}/&'"$ac_delim"'/g
24618 t clear
24619 :clear
24620 s/\\$//
24621 t bsnlc
24622 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24623 d
24624 :bsnlc
24625 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24626 b cont
24627 ' <confdefs.h | sed '
24628 s/'"$ac_delim"'/"\\\
24629 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24630
24631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24632   for (key in D) D_is_set[key] = 1
24633   FS = "\a"
24634 }
24635 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24636   line = \$ 0
24637   split(line, arg, " ")
24638   if (arg[1] == "#") {
24639     defundef = arg[2]
24640     mac1 = arg[3]
24641   } else {
24642     defundef = substr(arg[1], 2)
24643     mac1 = arg[2]
24644   }
24645   split(mac1, mac2, "(") #)
24646   macro = mac2[1]
24647   prefix = substr(line, 1, index(line, defundef) - 1)
24648   if (D_is_set[macro]) {
24649     # Preserve the white space surrounding the "#".
24650     print prefix "define", macro P[macro] D[macro]
24651     next
24652   } else {
24653     # Replace #undef with comments.  This is necessary, for example,
24654     # in the case of _POSIX_SOURCE, which is predefined and required
24655     # on some systems where configure will not decide to define it.
24656     if (defundef == "undef") {
24657       print "/*", prefix defundef, macro, "*/"
24658       next
24659     }
24660   }
24661 }
24662 { print }
24663 _ACAWK
24664 _ACEOF
24665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24666   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24667 fi # test -n "$CONFIG_HEADERS"
24668
24669
24670 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
24671 shift
24672 for ac_tag
24673 do
24674   case $ac_tag in
24675   :[FHLC]) ac_mode=$ac_tag; continue;;
24676   esac
24677   case $ac_mode$ac_tag in
24678   :[FHL]*:*);;
24679   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24680   :[FH]-) ac_tag=-:-;;
24681   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24682   esac
24683   ac_save_IFS=$IFS
24684   IFS=:
24685   set x $ac_tag
24686   IFS=$ac_save_IFS
24687   shift
24688   ac_file=$1
24689   shift
24690
24691   case $ac_mode in
24692   :L) ac_source=$1;;
24693   :[FH])
24694     ac_file_inputs=
24695     for ac_f
24696     do
24697       case $ac_f in
24698       -) ac_f="$ac_tmp/stdin";;
24699       *) # Look for the file first in the build tree, then in the source tree
24700          # (if the path is not absolute).  The absolute path cannot be DOS-style,
24701          # because $ac_f cannot contain `:'.
24702          test -f "$ac_f" ||
24703            case $ac_f in
24704            [\\/$]*) false;;
24705            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24706            esac ||
24707            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24708       esac
24709       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24710       as_fn_append ac_file_inputs " '$ac_f'"
24711     done
24712
24713     # Let's still pretend it is `configure' which instantiates (i.e., don't
24714     # use $as_me), people would be surprised to read:
24715     #    /* config.h.  Generated by config.status.  */
24716     configure_input='Generated from '`
24717           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24718         `' by configure.'
24719     if test x"$ac_file" != x-; then
24720       configure_input="$ac_file.  $configure_input"
24721       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24722 $as_echo "$as_me: creating $ac_file" >&6;}
24723     fi
24724     # Neutralize special characters interpreted by sed in replacement strings.
24725     case $configure_input in #(
24726     *\&* | *\|* | *\\* )
24727        ac_sed_conf_input=`$as_echo "$configure_input" |
24728        sed 's/[\\\\&|]/\\\\&/g'`;; #(
24729     *) ac_sed_conf_input=$configure_input;;
24730     esac
24731
24732     case $ac_tag in
24733     *:-:* | *:-) cat >"$ac_tmp/stdin" \
24734       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24735     esac
24736     ;;
24737   esac
24738
24739   ac_dir=`$as_dirname -- "$ac_file" ||
24740 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24741          X"$ac_file" : 'X\(//\)[^/]' \| \
24742          X"$ac_file" : 'X\(//\)$' \| \
24743          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24744 $as_echo X"$ac_file" |
24745     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24746             s//\1/
24747             q
24748           }
24749           /^X\(\/\/\)[^/].*/{
24750             s//\1/
24751             q
24752           }
24753           /^X\(\/\/\)$/{
24754             s//\1/
24755             q
24756           }
24757           /^X\(\/\).*/{
24758             s//\1/
24759             q
24760           }
24761           s/.*/./; q'`
24762   as_dir="$ac_dir"; as_fn_mkdir_p
24763   ac_builddir=.
24764
24765 case "$ac_dir" in
24766 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24767 *)
24768   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24769   # A ".." for each directory in $ac_dir_suffix.
24770   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24771   case $ac_top_builddir_sub in
24772   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24773   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24774   esac ;;
24775 esac
24776 ac_abs_top_builddir=$ac_pwd
24777 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24778 # for backward compatibility:
24779 ac_top_builddir=$ac_top_build_prefix
24780
24781 case $srcdir in
24782   .)  # We are building in place.
24783     ac_srcdir=.
24784     ac_top_srcdir=$ac_top_builddir_sub
24785     ac_abs_top_srcdir=$ac_pwd ;;
24786   [\\/]* | ?:[\\/]* )  # Absolute name.
24787     ac_srcdir=$srcdir$ac_dir_suffix;
24788     ac_top_srcdir=$srcdir
24789     ac_abs_top_srcdir=$srcdir ;;
24790   *) # Relative name.
24791     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24792     ac_top_srcdir=$ac_top_build_prefix$srcdir
24793     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24794 esac
24795 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24796
24797
24798   case $ac_mode in
24799   :F)
24800   #
24801   # CONFIG_FILE
24802   #
24803
24804   case $INSTALL in
24805   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24806   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24807   esac
24808   ac_MKDIR_P=$MKDIR_P
24809   case $MKDIR_P in
24810   [\\/$]* | ?:[\\/]* ) ;;
24811   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24812   esac
24813 _ACEOF
24814
24815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24816 # If the template does not know about datarootdir, expand it.
24817 # FIXME: This hack should be removed a few years after 2.60.
24818 ac_datarootdir_hack=; ac_datarootdir_seen=
24819 ac_sed_dataroot='
24820 /datarootdir/ {
24821   p
24822   q
24823 }
24824 /@datadir@/p
24825 /@docdir@/p
24826 /@infodir@/p
24827 /@localedir@/p
24828 /@mandir@/p'
24829 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24830 *datarootdir*) ac_datarootdir_seen=yes;;
24831 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24832   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24833 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24834 _ACEOF
24835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24836   ac_datarootdir_hack='
24837   s&@datadir@&$datadir&g
24838   s&@docdir@&$docdir&g
24839   s&@infodir@&$infodir&g
24840   s&@localedir@&$localedir&g
24841   s&@mandir@&$mandir&g
24842   s&\\\${datarootdir}&$datarootdir&g' ;;
24843 esac
24844 _ACEOF
24845
24846 # Neutralize VPATH when `$srcdir' = `.'.
24847 # Shell code in configure.ac might set extrasub.
24848 # FIXME: do we really want to maintain this feature?
24849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24850 ac_sed_extra="$ac_vpsub
24851 $extrasub
24852 _ACEOF
24853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24854 :t
24855 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24856 s|@configure_input@|$ac_sed_conf_input|;t t
24857 s&@top_builddir@&$ac_top_builddir_sub&;t t
24858 s&@top_build_prefix@&$ac_top_build_prefix&;t t
24859 s&@srcdir@&$ac_srcdir&;t t
24860 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24861 s&@top_srcdir@&$ac_top_srcdir&;t t
24862 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24863 s&@builddir@&$ac_builddir&;t t
24864 s&@abs_builddir@&$ac_abs_builddir&;t t
24865 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24866 s&@INSTALL@&$ac_INSTALL&;t t
24867 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24868 $ac_datarootdir_hack
24869 "
24870 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24871   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24872
24873 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24874   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24875   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
24876       "$ac_tmp/out"`; test -z "$ac_out"; } &&
24877   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24878 which seems to be undefined.  Please make sure it is defined" >&5
24879 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24880 which seems to be undefined.  Please make sure it is defined" >&2;}
24881
24882   rm -f "$ac_tmp/stdin"
24883   case $ac_file in
24884   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24885   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24886   esac \
24887   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24888  ;;
24889   :H)
24890   #
24891   # CONFIG_HEADER
24892   #
24893   if test x"$ac_file" != x-; then
24894     {
24895       $as_echo "/* $configure_input  */" \
24896       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24897     } >"$ac_tmp/config.h" \
24898       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24899     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24900       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24901 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24902     else
24903       rm -f "$ac_file"
24904       mv "$ac_tmp/config.h" "$ac_file" \
24905         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24906     fi
24907   else
24908     $as_echo "/* $configure_input  */" \
24909       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24910       || as_fn_error $? "could not create -" "$LINENO" 5
24911   fi
24912 # Compute "$ac_file"'s index in $config_headers.
24913 _am_arg="$ac_file"
24914 _am_stamp_count=1
24915 for _am_header in $config_headers :; do
24916   case $_am_header in
24917     $_am_arg | $_am_arg:* )
24918       break ;;
24919     * )
24920       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24921   esac
24922 done
24923 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24924 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24925          X"$_am_arg" : 'X\(//\)[^/]' \| \
24926          X"$_am_arg" : 'X\(//\)$' \| \
24927          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24928 $as_echo X"$_am_arg" |
24929     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24930             s//\1/
24931             q
24932           }
24933           /^X\(\/\/\)[^/].*/{
24934             s//\1/
24935             q
24936           }
24937           /^X\(\/\/\)$/{
24938             s//\1/
24939             q
24940           }
24941           /^X\(\/\).*/{
24942             s//\1/
24943             q
24944           }
24945           s/.*/./; q'`/stamp-h$_am_stamp_count
24946  ;;
24947   
24948   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24949 $as_echo "$as_me: executing $ac_file commands" >&6;}
24950  ;;
24951   esac
24952
24953
24954   case $ac_file$ac_mode in
24955     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24956   # Autoconf 2.62 quotes --file arguments for eval, but not when files
24957   # are listed without --file.  Let's play safe and only enable the eval
24958   # if we detect the quoting.
24959   case $CONFIG_FILES in
24960   *\'*) eval set x "$CONFIG_FILES" ;;
24961   *)   set x $CONFIG_FILES ;;
24962   esac
24963   shift
24964   for mf
24965   do
24966     # Strip MF so we end up with the name of the file.
24967     mf=`echo "$mf" | sed -e 's/:.*$//'`
24968     # Check whether this is an Automake generated Makefile or not.
24969     # We used to match only the files named `Makefile.in', but
24970     # some people rename them; so instead we look at the file content.
24971     # Grep'ing the first line is not enough: some people post-process
24972     # each Makefile.in and add a new line on top of each file to say so.
24973     # Grep'ing the whole file is not good either: AIX grep has a line
24974     # limit of 2048, but all sed's we know have understand at least 4000.
24975     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24976       dirpart=`$as_dirname -- "$mf" ||
24977 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24978          X"$mf" : 'X\(//\)[^/]' \| \
24979          X"$mf" : 'X\(//\)$' \| \
24980          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24981 $as_echo X"$mf" |
24982     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24983             s//\1/
24984             q
24985           }
24986           /^X\(\/\/\)[^/].*/{
24987             s//\1/
24988             q
24989           }
24990           /^X\(\/\/\)$/{
24991             s//\1/
24992             q
24993           }
24994           /^X\(\/\).*/{
24995             s//\1/
24996             q
24997           }
24998           s/.*/./; q'`
24999     else
25000       continue
25001     fi
25002     # Extract the definition of DEPDIR, am__include, and am__quote
25003     # from the Makefile without running `make'.
25004     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25005     test -z "$DEPDIR" && continue
25006     am__include=`sed -n 's/^am__include = //p' < "$mf"`
25007     test -z "am__include" && continue
25008     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25009     # When using ansi2knr, U may be empty or an underscore; expand it
25010     U=`sed -n 's/^U = //p' < "$mf"`
25011     # Find all dependency output files, they are included files with
25012     # $(DEPDIR) in their names.  We invoke sed twice because it is the
25013     # simplest approach to changing $(DEPDIR) to its actual value in the
25014     # expansion.
25015     for file in `sed -n "
25016       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25017          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25018       # Make sure the directory exists.
25019       test -f "$dirpart/$file" && continue
25020       fdir=`$as_dirname -- "$file" ||
25021 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25022          X"$file" : 'X\(//\)[^/]' \| \
25023          X"$file" : 'X\(//\)$' \| \
25024          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25025 $as_echo X"$file" |
25026     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25027             s//\1/
25028             q
25029           }
25030           /^X\(\/\/\)[^/].*/{
25031             s//\1/
25032             q
25033           }
25034           /^X\(\/\/\)$/{
25035             s//\1/
25036             q
25037           }
25038           /^X\(\/\).*/{
25039             s//\1/
25040             q
25041           }
25042           s/.*/./; q'`
25043       as_dir=$dirpart/$fdir; as_fn_mkdir_p
25044       # echo "creating $dirpart/$file"
25045       echo '# dummy' > "$dirpart/$file"
25046     done
25047   done
25048 }
25049  ;;
25050     "libtool":C) 
25051     
25052     # See if we are running on zsh, and set the options which allow our
25053     # commands through without removal of \ escapes.
25054     if test -n "${ZSH_VERSION+set}" ; then
25055       setopt NO_GLOB_SUBST
25056     fi
25057
25058     cfgfile="${ofile}T"
25059     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25060     $RM "$cfgfile"
25061
25062     cat <<_LT_EOF >> "$cfgfile"
25063 #! $SHELL
25064
25065 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25066 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25067 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25068 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25069 #
25070 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25071 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
25072 #                 Foundation, Inc.
25073 #   Written by Gordon Matzigkeit, 1996
25074 #
25075 #   This file is part of GNU Libtool.
25076 #
25077 # GNU Libtool is free software; you can redistribute it and/or
25078 # modify it under the terms of the GNU General Public License as
25079 # published by the Free Software Foundation; either version 2 of
25080 # the License, or (at your option) any later version.
25081 #
25082 # As a special exception to the GNU General Public License,
25083 # if you distribute this file as part of a program or library that
25084 # is built using GNU Libtool, you may include this file under the
25085 # same distribution terms that you use for the rest of that program.
25086 #
25087 # GNU Libtool is distributed in the hope that it will be useful,
25088 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25089 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25090 # GNU General Public License for more details.
25091 #
25092 # You should have received a copy of the GNU General Public License
25093 # along with GNU Libtool; see the file COPYING.  If not, a copy
25094 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25095 # obtained by writing to the Free Software Foundation, Inc.,
25096 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25097
25098
25099 # The names of the tagged configurations supported by this script.
25100 available_tags="CXX "
25101
25102 # ### BEGIN LIBTOOL CONFIG
25103
25104 # Whether or not to build static libraries.
25105 build_old_libs=$enable_static
25106
25107 # Assembler program.
25108 AS=$lt_AS
25109
25110 # DLL creation program.
25111 DLLTOOL=$lt_DLLTOOL
25112
25113 # Object dumper program.
25114 OBJDUMP=$lt_OBJDUMP
25115
25116 # Which release of libtool.m4 was used?
25117 macro_version=$macro_version
25118 macro_revision=$macro_revision
25119
25120 # Whether or not to build shared libraries.
25121 build_libtool_libs=$enable_shared
25122
25123 # What type of objects to build.
25124 pic_mode=$pic_mode
25125
25126 # Whether or not to optimize for fast installation.
25127 fast_install=$enable_fast_install
25128
25129 # Shell to use when invoking shell scripts.
25130 SHELL=$lt_SHELL
25131
25132 # An echo program that protects backslashes.
25133 ECHO=$lt_ECHO
25134
25135 # The PATH separator for the build system.
25136 PATH_SEPARATOR=$lt_PATH_SEPARATOR
25137
25138 # The host system.
25139 host_alias=$host_alias
25140 host=$host
25141 host_os=$host_os
25142
25143 # The build system.
25144 build_alias=$build_alias
25145 build=$build
25146 build_os=$build_os
25147
25148 # A sed program that does not truncate output.
25149 SED=$lt_SED
25150
25151 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25152 Xsed="\$SED -e 1s/^X//"
25153
25154 # A grep program that handles long lines.
25155 GREP=$lt_GREP
25156
25157 # An ERE matcher.
25158 EGREP=$lt_EGREP
25159
25160 # A literal string matcher.
25161 FGREP=$lt_FGREP
25162
25163 # A BSD- or MS-compatible name lister.
25164 NM=$lt_NM
25165
25166 # Whether we need soft or hard links.
25167 LN_S=$lt_LN_S
25168
25169 # What is the maximum length of a command?
25170 max_cmd_len=$max_cmd_len
25171
25172 # Object file suffix (normally "o").
25173 objext=$ac_objext
25174
25175 # Executable file suffix (normally "").
25176 exeext=$exeext
25177
25178 # whether the shell understands "unset".
25179 lt_unset=$lt_unset
25180
25181 # turn spaces into newlines.
25182 SP2NL=$lt_lt_SP2NL
25183
25184 # turn newlines into spaces.
25185 NL2SP=$lt_lt_NL2SP
25186
25187 # convert \$build file names to \$host format.
25188 to_host_file_cmd=$lt_cv_to_host_file_cmd
25189
25190 # convert \$build files to toolchain format.
25191 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25192
25193 # Method to check whether dependent libraries are shared objects.
25194 deplibs_check_method=$lt_deplibs_check_method
25195
25196 # Command to use when deplibs_check_method = "file_magic".
25197 file_magic_cmd=$lt_file_magic_cmd
25198
25199 # How to find potential files when deplibs_check_method = "file_magic".
25200 file_magic_glob=$lt_file_magic_glob
25201
25202 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25203 want_nocaseglob=$lt_want_nocaseglob
25204
25205 # Command to associate shared and link libraries.
25206 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25207
25208 # The archiver.
25209 AR=$lt_AR
25210
25211 # Flags to create an archive.
25212 AR_FLAGS=$lt_AR_FLAGS
25213
25214 # How to feed a file listing to the archiver.
25215 archiver_list_spec=$lt_archiver_list_spec
25216
25217 # A symbol stripping program.
25218 STRIP=$lt_STRIP
25219
25220 # Commands used to install an old-style archive.
25221 RANLIB=$lt_RANLIB
25222 old_postinstall_cmds=$lt_old_postinstall_cmds
25223 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25224
25225 # Whether to use a lock for old archive extraction.
25226 lock_old_archive_extraction=$lock_old_archive_extraction
25227
25228 # A C compiler.
25229 LTCC=$lt_CC
25230
25231 # LTCC compiler flags.
25232 LTCFLAGS=$lt_CFLAGS
25233
25234 # Take the output of nm and produce a listing of raw symbols and C names.
25235 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25236
25237 # Transform the output of nm in a proper C declaration.
25238 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25239
25240 # Transform the output of nm in a C name address pair.
25241 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25242
25243 # Transform the output of nm in a C name address pair when lib prefix is needed.
25244 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25245
25246 # Specify filename containing input files for \$NM.
25247 nm_file_list_spec=$lt_nm_file_list_spec
25248
25249 # The root where to search for dependent libraries,and in which our libraries should be installed.
25250 lt_sysroot=$lt_sysroot
25251
25252 # The name of the directory that contains temporary libtool files.
25253 objdir=$objdir
25254
25255 # Used to examine libraries when file_magic_cmd begins with "file".
25256 MAGIC_CMD=$MAGIC_CMD
25257
25258 # Must we lock files when doing compilation?
25259 need_locks=$lt_need_locks
25260
25261 # Manifest tool.
25262 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25263
25264 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25265 DSYMUTIL=$lt_DSYMUTIL
25266
25267 # Tool to change global to local symbols on Mac OS X.
25268 NMEDIT=$lt_NMEDIT
25269
25270 # Tool to manipulate fat objects and archives on Mac OS X.
25271 LIPO=$lt_LIPO
25272
25273 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25274 OTOOL=$lt_OTOOL
25275
25276 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25277 OTOOL64=$lt_OTOOL64
25278
25279 # Old archive suffix (normally "a").
25280 libext=$libext
25281
25282 # Shared library suffix (normally ".so").
25283 shrext_cmds=$lt_shrext_cmds
25284
25285 # The commands to extract the exported symbol list from a shared archive.
25286 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25287
25288 # Variables whose values should be saved in libtool wrapper scripts and
25289 # restored at link time.
25290 variables_saved_for_relink=$lt_variables_saved_for_relink
25291
25292 # Do we need the "lib" prefix for modules?
25293 need_lib_prefix=$need_lib_prefix
25294
25295 # Do we need a version for libraries?
25296 need_version=$need_version
25297
25298 # Library versioning type.
25299 version_type=$version_type
25300
25301 # Shared library runtime path variable.
25302 runpath_var=$runpath_var
25303
25304 # Shared library path variable.
25305 shlibpath_var=$shlibpath_var
25306
25307 # Is shlibpath searched before the hard-coded library search path?
25308 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25309
25310 # Format of library name prefix.
25311 libname_spec=$lt_libname_spec
25312
25313 # List of archive names.  First name is the real one, the rest are links.
25314 # The last name is the one that the linker finds with -lNAME
25315 library_names_spec=$lt_library_names_spec
25316
25317 # The coded name of the library, if different from the real name.
25318 soname_spec=$lt_soname_spec
25319
25320 # Permission mode override for installation of shared libraries.
25321 install_override_mode=$lt_install_override_mode
25322
25323 # Command to use after installation of a shared archive.
25324 postinstall_cmds=$lt_postinstall_cmds
25325
25326 # Command to use after uninstallation of a shared archive.
25327 postuninstall_cmds=$lt_postuninstall_cmds
25328
25329 # Commands used to finish a libtool library installation in a directory.
25330 finish_cmds=$lt_finish_cmds
25331
25332 # As "finish_cmds", except a single script fragment to be evaled but
25333 # not shown.
25334 finish_eval=$lt_finish_eval
25335
25336 # Whether we should hardcode library paths into libraries.
25337 hardcode_into_libs=$hardcode_into_libs
25338
25339 # Compile-time system search path for libraries.
25340 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25341
25342 # Run-time system search path for libraries.
25343 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25344
25345 # Whether dlopen is supported.
25346 dlopen_support=$enable_dlopen
25347
25348 # Whether dlopen of programs is supported.
25349 dlopen_self=$enable_dlopen_self
25350
25351 # Whether dlopen of statically linked programs is supported.
25352 dlopen_self_static=$enable_dlopen_self_static
25353
25354 # Commands to strip libraries.
25355 old_striplib=$lt_old_striplib
25356 striplib=$lt_striplib
25357
25358
25359 # The linker used to build libraries.
25360 LD=$lt_LD
25361
25362 # How to create reloadable object files.
25363 reload_flag=$lt_reload_flag
25364 reload_cmds=$lt_reload_cmds
25365
25366 # Commands used to build an old-style archive.
25367 old_archive_cmds=$lt_old_archive_cmds
25368
25369 # A language specific compiler.
25370 CC=$lt_compiler
25371
25372 # Is the compiler the GNU compiler?
25373 with_gcc=$GCC
25374
25375 # Compiler flag to turn off builtin functions.
25376 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25377
25378 # Additional compiler flags for building library objects.
25379 pic_flag=$lt_lt_prog_compiler_pic
25380
25381 # How to pass a linker flag through the compiler.
25382 wl=$lt_lt_prog_compiler_wl
25383
25384 # Compiler flag to prevent dynamic linking.
25385 link_static_flag=$lt_lt_prog_compiler_static
25386
25387 # Does compiler simultaneously support -c and -o options?
25388 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25389
25390 # Whether or not to add -lc for building shared libraries.
25391 build_libtool_need_lc=$archive_cmds_need_lc
25392
25393 # Whether or not to disallow shared libs when runtime libs are static.
25394 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25395
25396 # Compiler flag to allow reflexive dlopens.
25397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25398
25399 # Compiler flag to generate shared objects directly from archives.
25400 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25401
25402 # Whether the compiler copes with passing no objects directly.
25403 compiler_needs_object=$lt_compiler_needs_object
25404
25405 # Create an old-style archive from a shared archive.
25406 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25407
25408 # Create a temporary old-style archive to link instead of a shared archive.
25409 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25410
25411 # Commands used to build a shared archive.
25412 archive_cmds=$lt_archive_cmds
25413 archive_expsym_cmds=$lt_archive_expsym_cmds
25414
25415 # Commands used to build a loadable module if different from building
25416 # a shared archive.
25417 module_cmds=$lt_module_cmds
25418 module_expsym_cmds=$lt_module_expsym_cmds
25419
25420 # Whether we are building with GNU ld or not.
25421 with_gnu_ld=$lt_with_gnu_ld
25422
25423 # Flag that allows shared libraries with undefined symbols to be built.
25424 allow_undefined_flag=$lt_allow_undefined_flag
25425
25426 # Flag that enforces no undefined symbols.
25427 no_undefined_flag=$lt_no_undefined_flag
25428
25429 # Flag to hardcode \$libdir into a binary during linking.
25430 # This must work even if \$libdir does not exist
25431 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25432
25433 # Whether we need a single "-rpath" flag with a separated argument.
25434 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25435
25436 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25437 # DIR into the resulting binary.
25438 hardcode_direct=$hardcode_direct
25439
25440 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25441 # DIR into the resulting binary and the resulting library dependency is
25442 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25443 # library is relocated.
25444 hardcode_direct_absolute=$hardcode_direct_absolute
25445
25446 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25447 # into the resulting binary.
25448 hardcode_minus_L=$hardcode_minus_L
25449
25450 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25451 # into the resulting binary.
25452 hardcode_shlibpath_var=$hardcode_shlibpath_var
25453
25454 # Set to "yes" if building a shared library automatically hardcodes DIR
25455 # into the library and all subsequent libraries and executables linked
25456 # against it.
25457 hardcode_automatic=$hardcode_automatic
25458
25459 # Set to yes if linker adds runtime paths of dependent libraries
25460 # to runtime path list.
25461 inherit_rpath=$inherit_rpath
25462
25463 # Whether libtool must link a program against all its dependency libraries.
25464 link_all_deplibs=$link_all_deplibs
25465
25466 # Set to "yes" if exported symbols are required.
25467 always_export_symbols=$always_export_symbols
25468
25469 # The commands to list exported symbols.
25470 export_symbols_cmds=$lt_export_symbols_cmds
25471
25472 # Symbols that should not be listed in the preloaded symbols.
25473 exclude_expsyms=$lt_exclude_expsyms
25474
25475 # Symbols that must always be exported.
25476 include_expsyms=$lt_include_expsyms
25477
25478 # Commands necessary for linking programs (against libraries) with templates.
25479 prelink_cmds=$lt_prelink_cmds
25480
25481 # Commands necessary for finishing linking programs.
25482 postlink_cmds=$lt_postlink_cmds
25483
25484 # Specify filename containing input files.
25485 file_list_spec=$lt_file_list_spec
25486
25487 # How to hardcode a shared library path into an executable.
25488 hardcode_action=$hardcode_action
25489
25490 # The directories searched by this compiler when creating a shared library.
25491 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25492
25493 # Dependencies to place before and after the objects being linked to
25494 # create a shared library.
25495 predep_objects=$lt_predep_objects
25496 postdep_objects=$lt_postdep_objects
25497 predeps=$lt_predeps
25498 postdeps=$lt_postdeps
25499
25500 # The library search path used internally by the compiler when linking
25501 # a shared library.
25502 compiler_lib_search_path=$lt_compiler_lib_search_path
25503
25504 # ### END LIBTOOL CONFIG
25505
25506 _LT_EOF
25507
25508   case $host_os in
25509   aix3*)
25510     cat <<\_LT_EOF >> "$cfgfile"
25511 # AIX sometimes has problems with the GCC collect2 program.  For some
25512 # reason, if we set the COLLECT_NAMES environment variable, the problems
25513 # vanish in a puff of smoke.
25514 if test "X${COLLECT_NAMES+set}" != Xset; then
25515   COLLECT_NAMES=
25516   export COLLECT_NAMES
25517 fi
25518 _LT_EOF
25519     ;;
25520   esac
25521
25522   
25523 ltmain="$ac_aux_dir/ltmain.sh"
25524
25525
25526   # We use sed instead of cat because bash on DJGPP gets confused if
25527   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
25528   # text mode, it properly converts lines to CR/LF.  This bash problem
25529   # is reportedly fixed, but why not run on old versions too?
25530   sed '$q' "$ltmain" >> "$cfgfile" \
25531      || (rm -f "$cfgfile"; exit 1)
25532
25533   if test x"$xsi_shell" = xyes; then
25534   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25535 func_dirname ()\
25536 {\
25537 \    case ${1} in\
25538 \      */*) func_dirname_result="${1%/*}${2}" ;;\
25539 \      *  ) func_dirname_result="${3}" ;;\
25540 \    esac\
25541 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25542   && mv -f "$cfgfile.tmp" "$cfgfile" \
25543     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25544 test 0 -eq $? || _lt_function_replace_fail=:
25545
25546
25547   sed -e '/^func_basename ()$/,/^} # func_basename /c\
25548 func_basename ()\
25549 {\
25550 \    func_basename_result="${1##*/}"\
25551 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25552   && mv -f "$cfgfile.tmp" "$cfgfile" \
25553     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25554 test 0 -eq $? || _lt_function_replace_fail=:
25555
25556
25557   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25558 func_dirname_and_basename ()\
25559 {\
25560 \    case ${1} in\
25561 \      */*) func_dirname_result="${1%/*}${2}" ;;\
25562 \      *  ) func_dirname_result="${3}" ;;\
25563 \    esac\
25564 \    func_basename_result="${1##*/}"\
25565 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25566   && mv -f "$cfgfile.tmp" "$cfgfile" \
25567     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25568 test 0 -eq $? || _lt_function_replace_fail=:
25569
25570
25571   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25572 func_stripname ()\
25573 {\
25574 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25575 \    # positional parameters, so assign one to ordinary parameter first.\
25576 \    func_stripname_result=${3}\
25577 \    func_stripname_result=${func_stripname_result#"${1}"}\
25578 \    func_stripname_result=${func_stripname_result%"${2}"}\
25579 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25580   && mv -f "$cfgfile.tmp" "$cfgfile" \
25581     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25582 test 0 -eq $? || _lt_function_replace_fail=:
25583
25584
25585   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25586 func_split_long_opt ()\
25587 {\
25588 \    func_split_long_opt_name=${1%%=*}\
25589 \    func_split_long_opt_arg=${1#*=}\
25590 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25591   && mv -f "$cfgfile.tmp" "$cfgfile" \
25592     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25593 test 0 -eq $? || _lt_function_replace_fail=:
25594
25595
25596   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25597 func_split_short_opt ()\
25598 {\
25599 \    func_split_short_opt_arg=${1#??}\
25600 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25601 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25602   && mv -f "$cfgfile.tmp" "$cfgfile" \
25603     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25604 test 0 -eq $? || _lt_function_replace_fail=:
25605
25606
25607   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25608 func_lo2o ()\
25609 {\
25610 \    case ${1} in\
25611 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25612 \      *)    func_lo2o_result=${1} ;;\
25613 \    esac\
25614 } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
25621 func_xform ()\
25622 {\
25623     func_xform_result=${1%.*}.lo\
25624 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25625   && mv -f "$cfgfile.tmp" "$cfgfile" \
25626     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25627 test 0 -eq $? || _lt_function_replace_fail=:
25628
25629
25630   sed -e '/^func_arith ()$/,/^} # func_arith /c\
25631 func_arith ()\
25632 {\
25633     func_arith_result=$(( $* ))\
25634 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25635   && mv -f "$cfgfile.tmp" "$cfgfile" \
25636     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25637 test 0 -eq $? || _lt_function_replace_fail=:
25638
25639
25640   sed -e '/^func_len ()$/,/^} # func_len /c\
25641 func_len ()\
25642 {\
25643     func_len_result=${#1}\
25644 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25645   && mv -f "$cfgfile.tmp" "$cfgfile" \
25646     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25647 test 0 -eq $? || _lt_function_replace_fail=:
25648
25649 fi
25650
25651 if test x"$lt_shell_append" = xyes; then
25652   sed -e '/^func_append ()$/,/^} # func_append /c\
25653 func_append ()\
25654 {\
25655     eval "${1}+=\\${2}"\
25656 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25657   && mv -f "$cfgfile.tmp" "$cfgfile" \
25658     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25659 test 0 -eq $? || _lt_function_replace_fail=:
25660
25661
25662   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25663 func_append_quoted ()\
25664 {\
25665 \    func_quote_for_eval "${2}"\
25666 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25667 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25668   && mv -f "$cfgfile.tmp" "$cfgfile" \
25669     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25670 test 0 -eq $? || _lt_function_replace_fail=:
25671
25672
25673   # Save a `func_append' function call where possible by direct use of '+='
25674   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25675     && mv -f "$cfgfile.tmp" "$cfgfile" \
25676       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25677   test 0 -eq $? || _lt_function_replace_fail=:
25678 else
25679   # Save a `func_append' function call even when '+=' is not available
25680   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 fi
25685
25686 if test x"$_lt_function_replace_fail" = x":"; then
25687   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25688 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25689 fi
25690
25691
25692    mv -f "$cfgfile" "$ofile" ||
25693     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25694   chmod +x "$ofile"
25695
25696
25697     cat <<_LT_EOF >> "$ofile"
25698
25699 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25700
25701 # The linker used to build libraries.
25702 LD=$lt_LD_CXX
25703
25704 # How to create reloadable object files.
25705 reload_flag=$lt_reload_flag_CXX
25706 reload_cmds=$lt_reload_cmds_CXX
25707
25708 # Commands used to build an old-style archive.
25709 old_archive_cmds=$lt_old_archive_cmds_CXX
25710
25711 # A language specific compiler.
25712 CC=$lt_compiler_CXX
25713
25714 # Is the compiler the GNU compiler?
25715 with_gcc=$GCC_CXX
25716
25717 # Compiler flag to turn off builtin functions.
25718 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25719
25720 # Additional compiler flags for building library objects.
25721 pic_flag=$lt_lt_prog_compiler_pic_CXX
25722
25723 # How to pass a linker flag through the compiler.
25724 wl=$lt_lt_prog_compiler_wl_CXX
25725
25726 # Compiler flag to prevent dynamic linking.
25727 link_static_flag=$lt_lt_prog_compiler_static_CXX
25728
25729 # Does compiler simultaneously support -c and -o options?
25730 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25731
25732 # Whether or not to add -lc for building shared libraries.
25733 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25734
25735 # Whether or not to disallow shared libs when runtime libs are static.
25736 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25737
25738 # Compiler flag to allow reflexive dlopens.
25739 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25740
25741 # Compiler flag to generate shared objects directly from archives.
25742 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25743
25744 # Whether the compiler copes with passing no objects directly.
25745 compiler_needs_object=$lt_compiler_needs_object_CXX
25746
25747 # Create an old-style archive from a shared archive.
25748 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25749
25750 # Create a temporary old-style archive to link instead of a shared archive.
25751 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25752
25753 # Commands used to build a shared archive.
25754 archive_cmds=$lt_archive_cmds_CXX
25755 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25756
25757 # Commands used to build a loadable module if different from building
25758 # a shared archive.
25759 module_cmds=$lt_module_cmds_CXX
25760 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25761
25762 # Whether we are building with GNU ld or not.
25763 with_gnu_ld=$lt_with_gnu_ld_CXX
25764
25765 # Flag that allows shared libraries with undefined symbols to be built.
25766 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25767
25768 # Flag that enforces no undefined symbols.
25769 no_undefined_flag=$lt_no_undefined_flag_CXX
25770
25771 # Flag to hardcode \$libdir into a binary during linking.
25772 # This must work even if \$libdir does not exist
25773 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25774
25775 # Whether we need a single "-rpath" flag with a separated argument.
25776 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25777
25778 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25779 # DIR into the resulting binary.
25780 hardcode_direct=$hardcode_direct_CXX
25781
25782 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25783 # DIR into the resulting binary and the resulting library dependency is
25784 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25785 # library is relocated.
25786 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25787
25788 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25789 # into the resulting binary.
25790 hardcode_minus_L=$hardcode_minus_L_CXX
25791
25792 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25793 # into the resulting binary.
25794 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25795
25796 # Set to "yes" if building a shared library automatically hardcodes DIR
25797 # into the library and all subsequent libraries and executables linked
25798 # against it.
25799 hardcode_automatic=$hardcode_automatic_CXX
25800
25801 # Set to yes if linker adds runtime paths of dependent libraries
25802 # to runtime path list.
25803 inherit_rpath=$inherit_rpath_CXX
25804
25805 # Whether libtool must link a program against all its dependency libraries.
25806 link_all_deplibs=$link_all_deplibs_CXX
25807
25808 # Set to "yes" if exported symbols are required.
25809 always_export_symbols=$always_export_symbols_CXX
25810
25811 # The commands to list exported symbols.
25812 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25813
25814 # Symbols that should not be listed in the preloaded symbols.
25815 exclude_expsyms=$lt_exclude_expsyms_CXX
25816
25817 # Symbols that must always be exported.
25818 include_expsyms=$lt_include_expsyms_CXX
25819
25820 # Commands necessary for linking programs (against libraries) with templates.
25821 prelink_cmds=$lt_prelink_cmds_CXX
25822
25823 # Commands necessary for finishing linking programs.
25824 postlink_cmds=$lt_postlink_cmds_CXX
25825
25826 # Specify filename containing input files.
25827 file_list_spec=$lt_file_list_spec_CXX
25828
25829 # How to hardcode a shared library path into an executable.
25830 hardcode_action=$hardcode_action_CXX
25831
25832 # The directories searched by this compiler when creating a shared library.
25833 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25834
25835 # Dependencies to place before and after the objects being linked to
25836 # create a shared library.
25837 predep_objects=$lt_predep_objects_CXX
25838 postdep_objects=$lt_postdep_objects_CXX
25839 predeps=$lt_predeps_CXX
25840 postdeps=$lt_postdeps_CXX
25841
25842 # The library search path used internally by the compiler when linking
25843 # a shared library.
25844 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25845
25846 # ### END LIBTOOL TAG CONFIG: CXX
25847 _LT_EOF
25848
25849  ;;
25850     "Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25851  ;;
25852     "Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25853  ;;
25854     "Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25855  ;;
25856     "Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25857  ;;
25858     "Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc":F) WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME
25859      ;;
25860
25861   esac
25862 done # for ac_tag
25863
25864
25865 as_fn_exit 0
25866 _ACEOF
25867 ac_clean_files=$ac_clean_files_save
25868
25869 test $ac_write_fail = 0 ||
25870   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
25871
25872
25873 # configure is writing to config.log, and then calls config.status.
25874 # config.status does its own redirection, appending to config.log.
25875 # Unfortunately, on DOS this fails, as config.log is still kept open
25876 # by configure, so config.status won't be able to write to it; its
25877 # output is simply discarded.  So we exec the FD to /dev/null,
25878 # effectively closing config.log, so it can be properly (re)opened and
25879 # appended to by config.status.  When coming back to configure, we
25880 # need to make the FD available again.
25881 if test "$no_create" != yes; then
25882   ac_cs_success=:
25883   ac_config_status_args=
25884   test "$silent" = yes &&
25885     ac_config_status_args="$ac_config_status_args --quiet"
25886   exec 5>/dev/null
25887   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25888   exec 5>>config.log
25889   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25890   # would make configure fail if this is the last instruction.
25891   $ac_cs_success || as_fn_exit 1
25892 fi
25893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25894   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25896 fi
25897
25898
25899 echo "
25900 WebKit was configured with the following options:
25901
25902 Build configuration:
25903  Enable debugging (slow)                                  : $enable_debug
25904  Compile with debug symbols (slow)                        : $enable_debug_symbols
25905  Enable debug features (slow)                             : $enable_debug_features
25906  Enable GCC build optimization                            : $enable_optimizations
25907  Code coverage support                                    : $enable_coverage
25908  Unicode backend                                          : $with_unicode_backend
25909  Font backend                                             : $with_font_backend
25910  Optimized memory allocator                               : $enable_fast_malloc
25911 Features:
25912  3D Rendering                                             : $enable_3d_rendering
25913  WebGL                                                    : $enable_webgl
25914  Blob support                                             : $enable_blob
25915  DeviceOrientation support                                : $enable_device_orientation
25916  Directory upload                                         : $enable_directory_upload
25917  Fast Mobile Scrolling                                    : $enable_fast_mobile_scrolling
25918  JIT compilation                                          : $enable_jit
25919  Filters support                                          : $enable_filters
25920  Geolocation support                                      : $enable_geolocation
25921  Client-based geolocation support                         : $enable_client_based_geolocation
25922  JavaScript debugger/profiler support                     : $enable_javascript_debugger
25923  MathML support                                           : $enable_mathml
25924  Media source                                             : $enable_media_source
25925  Media statistics                                         : $enable_media_statistics
25926  HTML5 offline web applications support                   : $enable_offline_web_applications
25927  HTML5 channel messaging support                          : $enable_channel_messaging
25928  HTML5 meter element support                              : $enable_meter_tag
25929  Page Visibility API support                              : $enable_page_visibility_api
25930  HTML5 progress element support                           : $enable_progress_tag
25931  HTML5 client-side session and persistent storage support : $enable_dom_storage
25932  SQL client-side database storage support                 : $enable_sql_database
25933  HTML5 datagrid support                                   : $enable_datagrid
25934  HTML5 data transfer items support                        : $enable_data_transfer_items
25935  HTML5 FileSystem API support                             : $enable_file_system
25936  Quota API support                                        : $enable_quota
25937  HTML5 sandboxed iframe support                           : $enable_sandbox
25938  HTML5 video element support                              : $enable_video
25939  HTML5 track element support                              : $enable_video_track
25940  Fullscreen API support                                   : $enable_fullscreen_api
25941  Media stream support                                     : $enable_media_stream
25942  Icon database support                                    : $enable_icon_database
25943  Image resizer support                                    : $enable_image_resizer
25944  Link prefetch support                                    : $enable_link_prefetch
25945  Opcode stats                                             : $enable_opcode_stats
25946  SharedWorkers support                                    : $enable_shared_workers
25947  Color input support                                      : $enable_input_color
25948  Speech input support                                     : $enable_input_speech
25949  SVG support                                              : $enable_svg
25950  SVG fonts support                                        : $enable_svg_fonts
25951  WCSS support                                             : $enable_wcss
25952  Web Audio support                                        : $enable_web_audio
25953  Web Sockets support                                      : $enable_web_sockets
25954  Web Timing support                                       : $enable_web_timing
25955  Web Workers support                                      : $enable_workers
25956  XHTML-MP support                                         : $enable_xhtmlmp
25957  XPATH support                                            : $enable_xpath
25958  XSLT support                                             : $enable_xslt
25959  Spellcheck support                                       : $enable_spellcheck
25960  Animation API                                            : $enable_animation_api
25961  Touch Icon Loading support                               : $enable_touch_icon_loading
25962  Register Protocol Handler support                        : $enable_register_protocol_handler
25963  WebKit2 support                                          : $enable_webkit2
25964  WebKit2 plugin process                                   : $enable_plugin_process
25965
25966 GTK+ configuration:
25967  GTK+ version                                             : $with_gtk
25968  GDK target                                               : $with_target
25969  Hildon UI extensions                                     : $with_hildon
25970  Introspection support                                    : $enable_introspection
25971 "
25972 if test "$with_unicode_backend" = "glib"; then
25973    echo "     >> WARNING: the glib-based unicode backend is slow and incomplete <<"
25974    echo
25975    echo
25976 fi