Clean up spec file for packaging
[profile/ivi/pango.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for pango 1.30.0.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=pango
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='pango'
573 PACKAGE_TARNAME='pango'
574 PACKAGE_VERSION='1.30.0'
575 PACKAGE_STRING='pango 1.30.0'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pango'
577 PACKAGE_URL=''
578
579 ac_unique_file="pango.pc.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 DISABLE_EXPLICIT_DEPS_FALSE
621 DISABLE_EXPLICIT_DEPS_TRUE
622 PKGCONFIG_CAIRO_REQUIRES
623 PKGCONFIG_MATH_LIBS
624 MODULE_LIBTOOL_OPTIONS
625 LIBRARY_LIBTOOL_OPTIONS
626 ENABLE_DOC_CROSS_REFERENCES_FALSE
627 ENABLE_DOC_CROSS_REFERENCES_TRUE
628 CAIRO_PREFIX
629 GLIB_PREFIX
630 ENABLE_MAN_FALSE
631 ENABLE_MAN_TRUE
632 XMLCATALOG
633 XML_CATALOG_FILE
634 XSLTPROC
635 GTK_DOC_USE_REBASE_FALSE
636 GTK_DOC_USE_REBASE_TRUE
637 GTK_DOC_USE_LIBTOOL_FALSE
638 GTK_DOC_USE_LIBTOOL_TRUE
639 GTK_DOC_BUILD_PDF_FALSE
640 GTK_DOC_BUILD_PDF_TRUE
641 GTK_DOC_BUILD_HTML_FALSE
642 GTK_DOC_BUILD_HTML_TRUE
643 ENABLE_GTK_DOC_FALSE
644 ENABLE_GTK_DOC_TRUE
645 GTKDOC_DEPS_LIBS
646 GTKDOC_DEPS_CFLAGS
647 HTML_DIR
648 GTKDOC_MKPDF
649 GTKDOC_REBASE
650 GTKDOC_CHECK
651 DYNAMIC_TIBETAN_FC_FALSE
652 DYNAMIC_TIBETAN_FC_TRUE
653 DYNAMIC_THAI_LANG_FALSE
654 DYNAMIC_THAI_LANG_TRUE
655 DYNAMIC_THAI_FC_FALSE
656 DYNAMIC_THAI_FC_TRUE
657 DYNAMIC_SYRIAC_FC_FALSE
658 DYNAMIC_SYRIAC_FC_TRUE
659 DYNAMIC_KHMER_FC_FALSE
660 DYNAMIC_KHMER_FC_TRUE
661 DYNAMIC_INDIC_LANG_FALSE
662 DYNAMIC_INDIC_LANG_TRUE
663 DYNAMIC_INDIC_FC_FALSE
664 DYNAMIC_INDIC_FC_TRUE
665 DYNAMIC_HEBREW_FC_FALSE
666 DYNAMIC_HEBREW_FC_TRUE
667 DYNAMIC_HANGUL_FC_FALSE
668 DYNAMIC_HANGUL_FC_TRUE
669 DYNAMIC_BASIC_CORE_TEXT_FALSE
670 DYNAMIC_BASIC_CORE_TEXT_TRUE
671 DYNAMIC_BASIC_ATSUI_FALSE
672 DYNAMIC_BASIC_ATSUI_TRUE
673 DYNAMIC_BASIC_X_FALSE
674 DYNAMIC_BASIC_X_TRUE
675 DYNAMIC_BASIC_WIN32_FALSE
676 DYNAMIC_BASIC_WIN32_TRUE
677 DYNAMIC_BASIC_FC_FALSE
678 DYNAMIC_BASIC_FC_TRUE
679 DYNAMIC_ARABIC_LANG_FALSE
680 DYNAMIC_ARABIC_LANG_TRUE
681 DYNAMIC_ARABIC_FC_FALSE
682 DYNAMIC_ARABIC_FC_TRUE
683 INCLUDE_TIBETAN_FC_FALSE
684 INCLUDE_TIBETAN_FC_TRUE
685 INCLUDE_THAI_LANG_FALSE
686 INCLUDE_THAI_LANG_TRUE
687 INCLUDE_THAI_FC_FALSE
688 INCLUDE_THAI_FC_TRUE
689 INCLUDE_SYRIAC_FC_FALSE
690 INCLUDE_SYRIAC_FC_TRUE
691 INCLUDE_KHMER_FC_FALSE
692 INCLUDE_KHMER_FC_TRUE
693 INCLUDE_INDIC_LANG_FALSE
694 INCLUDE_INDIC_LANG_TRUE
695 INCLUDE_INDIC_FC_FALSE
696 INCLUDE_INDIC_FC_TRUE
697 INCLUDE_HEBREW_FC_FALSE
698 INCLUDE_HEBREW_FC_TRUE
699 INCLUDE_HANGUL_FC_FALSE
700 INCLUDE_HANGUL_FC_TRUE
701 INCLUDE_BASIC_CORE_TEXT_FALSE
702 INCLUDE_BASIC_CORE_TEXT_TRUE
703 INCLUDE_BASIC_ATSUI_FALSE
704 INCLUDE_BASIC_ATSUI_TRUE
705 INCLUDE_BASIC_X_FALSE
706 INCLUDE_BASIC_X_TRUE
707 INCLUDE_BASIC_WIN32_FALSE
708 INCLUDE_BASIC_WIN32_TRUE
709 INCLUDE_BASIC_FC_FALSE
710 INCLUDE_BASIC_FC_TRUE
711 INCLUDE_ARABIC_LANG_FALSE
712 INCLUDE_ARABIC_LANG_TRUE
713 INCLUDE_ARABIC_FC_FALSE
714 INCLUDE_ARABIC_FC_TRUE
715 INCLUDED_LANG_MODULES
716 INCLUDED_CORE_TEXT_MODULES
717 INCLUDED_ATSUI_MODULES
718 INCLUDED_WIN32_MODULES
719 INCLUDED_FC_MODULES
720 INCLUDED_X_MODULES
721 HAVE_DYNAMIC_MODULES_FALSE
722 HAVE_DYNAMIC_MODULES_TRUE
723 HAVE_INCLUDED_MODULES_FALSE
724 HAVE_INCLUDED_MODULES_TRUE
725 HAVE_INTROSPECTION_FALSE
726 HAVE_INTROSPECTION_TRUE
727 INTROSPECTION_MAKEFILE
728 INTROSPECTION_LIBS
729 INTROSPECTION_CFLAGS
730 INTROSPECTION_TYPELIBDIR
731 INTROSPECTION_GIRDIR
732 INTROSPECTION_GENERATE
733 INTROSPECTION_COMPILER
734 INTROSPECTION_SCANNER
735 LIBTHAI_LIBS
736 LIBTHAI_CFLAGS
737 GLIB_MKENUMS
738 GLIB_LIBS
739 GLIB_CFLAGS
740 HAVE_CAIRO_ATSUI_FALSE
741 HAVE_CAIRO_ATSUI_TRUE
742 HAVE_CAIRO_FREETYPE_FALSE
743 HAVE_CAIRO_FREETYPE_TRUE
744 HAVE_CAIRO_WIN32_FALSE
745 HAVE_CAIRO_WIN32_TRUE
746 HAVE_CAIRO_XLIB_FALSE
747 HAVE_CAIRO_XLIB_TRUE
748 HAVE_CAIRO_PDF_FALSE
749 HAVE_CAIRO_PDF_TRUE
750 HAVE_CAIRO_PS_FALSE
751 HAVE_CAIRO_PS_TRUE
752 HAVE_CAIRO_PNG_FALSE
753 HAVE_CAIRO_PNG_TRUE
754 HAVE_CAIRO_FALSE
755 HAVE_CAIRO_TRUE
756 CAIRO_LIBS
757 CAIRO_CFLAGS
758 HAVE_CORE_TEXT_FALSE
759 HAVE_CORE_TEXT_TRUE
760 HAVE_WIN32_FALSE
761 HAVE_WIN32_TRUE
762 WIN32_LIBS
763 HAVE_XFT_FALSE
764 HAVE_XFT_TRUE
765 XFT_LIBS
766 XFT_CFLAGS
767 HAVE_FREETYPE_FALSE
768 HAVE_FREETYPE_TRUE
769 FREETYPE_LIBS
770 FREETYPE_CFLAGS
771 FONTCONFIG_LIBS
772 FONTCONFIG_CFLAGS
773 PKG_CONFIG_LIBDIR
774 PKG_CONFIG_PATH
775 PKG_CONFIG
776 HAVE_X_FALSE
777 HAVE_X_TRUE
778 X_EXTRA_LIBS
779 X_LIBS
780 X_PRE_LIBS
781 X_CFLAGS
782 XMKMF
783 CROSS_COMPILING_FALSE
784 CROSS_COMPILING_TRUE
785 PANGO_DEBUG_FLAGS
786 MS_LIB_AVAILABLE_FALSE
787 MS_LIB_AVAILABLE_TRUE
788 ms_librarian
789 WINDRES
790 PLATFORM_WIN32_FALSE
791 PLATFORM_WIN32_TRUE
792 CXXCPP
793 OTOOL64
794 OTOOL
795 LIPO
796 NMEDIT
797 DSYMUTIL
798 MANIFEST_TOOL
799 RANLIB
800 ac_ct_AR
801 AR
802 LN_S
803 NM
804 ac_ct_DUMPBIN
805 DUMPBIN
806 LD
807 FGREP
808 SED
809 LIBTOOL
810 OBJDUMP
811 DLLTOOL
812 AS
813 EGREP
814 GREP
815 CPP
816 HAVE_CXX_FALSE
817 HAVE_CXX_TRUE
818 am__fastdepCXX_FALSE
819 am__fastdepCXX_TRUE
820 CXXDEPMODE
821 CXXFLAGS
822 ac_ct_CXX
823 CXX
824 am__fastdepCC_FALSE
825 am__fastdepCC_TRUE
826 CCDEPMODE
827 am__nodep
828 AMDEPBACKSLASH
829 AMDEP_FALSE
830 AMDEP_TRUE
831 am__quote
832 am__include
833 DEPDIR
834 OBJEXT
835 EXEEXT
836 ac_ct_CC
837 CPPFLAGS
838 LDFLAGS
839 CFLAGS
840 CC
841 OS_WIN32_FALSE
842 OS_WIN32_TRUE
843 LIB_EXE_MACHINE_FLAG
844 host_os
845 host_vendor
846 host_cpu
847 host
848 build_os
849 build_vendor
850 build_cpu
851 build
852 PANGO_CURRENT_MINUS_AGE
853 PANGO_MODULE_VERSION
854 PANGO_BINARY_AGE
855 PANGO_INTERFACE_AGE
856 PANGO_API_VERSION
857 PANGO_VERSION
858 PANGO_VERSION_MICRO
859 PANGO_VERSION_MINOR
860 PANGO_VERSION_MAJOR
861 AM_BACKSLASH
862 AM_DEFAULT_VERBOSITY
863 AM_DEFAULT_V
864 AM_V
865 am__untar
866 am__tar
867 AMTAR
868 am__leading_dot
869 SET_MAKE
870 AWK
871 mkdir_p
872 MKDIR_P
873 INSTALL_STRIP_PROGRAM
874 STRIP
875 install_sh
876 MAKEINFO
877 AUTOHEADER
878 AUTOMAKE
879 AUTOCONF
880 ACLOCAL
881 VERSION
882 PACKAGE
883 CYGPATH_W
884 am__isrc
885 INSTALL_DATA
886 INSTALL_SCRIPT
887 INSTALL_PROGRAM
888 target_alias
889 host_alias
890 build_alias
891 LIBS
892 ECHO_T
893 ECHO_N
894 ECHO_C
895 DEFS
896 mandir
897 localedir
898 libdir
899 psdir
900 pdfdir
901 dvidir
902 htmldir
903 infodir
904 docdir
905 oldincludedir
906 includedir
907 localstatedir
908 sharedstatedir
909 sysconfdir
910 datadir
911 datarootdir
912 libexecdir
913 sbindir
914 bindir
915 program_transform_name
916 prefix
917 exec_prefix
918 PACKAGE_URL
919 PACKAGE_BUGREPORT
920 PACKAGE_STRING
921 PACKAGE_VERSION
922 PACKAGE_TARNAME
923 PACKAGE_NAME
924 PATH_SEPARATOR
925 SHELL'
926 ac_subst_files=''
927 ac_user_opts='
928 enable_option_checking
929 enable_silent_rules
930 enable_dependency_tracking
931 enable_static
932 enable_shared
933 with_pic
934 enable_fast_install
935 with_gnu_ld
936 with_sysroot
937 enable_libtool_lock
938 enable_debug
939 enable_rebuilds
940 with_x
941 enable_introspection
942 with_included_modules
943 with_dynamic_modules
944 with_html_dir
945 enable_gtk_doc
946 enable_gtk_doc_html
947 enable_gtk_doc_pdf
948 enable_man
949 with_xml_catalog
950 enable_doc_cross_references
951 enable_explicit_deps
952 '
953       ac_precious_vars='build_alias
954 host_alias
955 target_alias
956 CC
957 CFLAGS
958 LDFLAGS
959 LIBS
960 CPPFLAGS
961 CXX
962 CXXFLAGS
963 CCC
964 CPP
965 CXXCPP
966 XMKMF
967 PKG_CONFIG
968 PKG_CONFIG_PATH
969 PKG_CONFIG_LIBDIR
970 FONTCONFIG_CFLAGS
971 FONTCONFIG_LIBS
972 FREETYPE_CFLAGS
973 FREETYPE_LIBS
974 XFT_CFLAGS
975 XFT_LIBS
976 CAIRO_CFLAGS
977 CAIRO_LIBS
978 GLIB_CFLAGS
979 GLIB_LIBS
980 LIBTHAI_CFLAGS
981 LIBTHAI_LIBS
982 GTKDOC_DEPS_CFLAGS
983 GTKDOC_DEPS_LIBS'
984
985
986 # Initialize some variables set by options.
987 ac_init_help=
988 ac_init_version=false
989 ac_unrecognized_opts=
990 ac_unrecognized_sep=
991 # The variables have the same names as the options, with
992 # dashes changed to underlines.
993 cache_file=/dev/null
994 exec_prefix=NONE
995 no_create=
996 no_recursion=
997 prefix=NONE
998 program_prefix=NONE
999 program_suffix=NONE
1000 program_transform_name=s,x,x,
1001 silent=
1002 site=
1003 srcdir=
1004 verbose=
1005 x_includes=NONE
1006 x_libraries=NONE
1007
1008 # Installation directory options.
1009 # These are left unexpanded so users can "make install exec_prefix=/foo"
1010 # and all the variables that are supposed to be based on exec_prefix
1011 # by default will actually change.
1012 # Use braces instead of parens because sh, perl, etc. also accept them.
1013 # (The list follows the same order as the GNU Coding Standards.)
1014 bindir='${exec_prefix}/bin'
1015 sbindir='${exec_prefix}/sbin'
1016 libexecdir='${exec_prefix}/libexec'
1017 datarootdir='${prefix}/share'
1018 datadir='${datarootdir}'
1019 sysconfdir='${prefix}/etc'
1020 sharedstatedir='${prefix}/com'
1021 localstatedir='${prefix}/var'
1022 includedir='${prefix}/include'
1023 oldincludedir='/usr/include'
1024 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1025 infodir='${datarootdir}/info'
1026 htmldir='${docdir}'
1027 dvidir='${docdir}'
1028 pdfdir='${docdir}'
1029 psdir='${docdir}'
1030 libdir='${exec_prefix}/lib'
1031 localedir='${datarootdir}/locale'
1032 mandir='${datarootdir}/man'
1033
1034 ac_prev=
1035 ac_dashdash=
1036 for ac_option
1037 do
1038   # If the previous option needs an argument, assign it.
1039   if test -n "$ac_prev"; then
1040     eval $ac_prev=\$ac_option
1041     ac_prev=
1042     continue
1043   fi
1044
1045   case $ac_option in
1046   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1047   *=)   ac_optarg= ;;
1048   *)    ac_optarg=yes ;;
1049   esac
1050
1051   # Accept the important Cygnus configure options, so we can diagnose typos.
1052
1053   case $ac_dashdash$ac_option in
1054   --)
1055     ac_dashdash=yes ;;
1056
1057   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1058     ac_prev=bindir ;;
1059   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1060     bindir=$ac_optarg ;;
1061
1062   -build | --build | --buil | --bui | --bu)
1063     ac_prev=build_alias ;;
1064   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1065     build_alias=$ac_optarg ;;
1066
1067   -cache-file | --cache-file | --cache-fil | --cache-fi \
1068   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1069     ac_prev=cache_file ;;
1070   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1071   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1072     cache_file=$ac_optarg ;;
1073
1074   --config-cache | -C)
1075     cache_file=config.cache ;;
1076
1077   -datadir | --datadir | --datadi | --datad)
1078     ac_prev=datadir ;;
1079   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1080     datadir=$ac_optarg ;;
1081
1082   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1083   | --dataroo | --dataro | --datar)
1084     ac_prev=datarootdir ;;
1085   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1086   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1087     datarootdir=$ac_optarg ;;
1088
1089   -disable-* | --disable-*)
1090     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1091     # Reject names that are not valid shell variable names.
1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093       as_fn_error $? "invalid feature name: $ac_useropt"
1094     ac_useropt_orig=$ac_useropt
1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096     case $ac_user_opts in
1097       *"
1098 "enable_$ac_useropt"
1099 "*) ;;
1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1101          ac_unrecognized_sep=', ';;
1102     esac
1103     eval enable_$ac_useropt=no ;;
1104
1105   -docdir | --docdir | --docdi | --doc | --do)
1106     ac_prev=docdir ;;
1107   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1108     docdir=$ac_optarg ;;
1109
1110   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1111     ac_prev=dvidir ;;
1112   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1113     dvidir=$ac_optarg ;;
1114
1115   -enable-* | --enable-*)
1116     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1117     # Reject names that are not valid shell variable names.
1118     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119       as_fn_error $? "invalid feature name: $ac_useropt"
1120     ac_useropt_orig=$ac_useropt
1121     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122     case $ac_user_opts in
1123       *"
1124 "enable_$ac_useropt"
1125 "*) ;;
1126       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1127          ac_unrecognized_sep=', ';;
1128     esac
1129     eval enable_$ac_useropt=\$ac_optarg ;;
1130
1131   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1132   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1133   | --exec | --exe | --ex)
1134     ac_prev=exec_prefix ;;
1135   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1136   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1137   | --exec=* | --exe=* | --ex=*)
1138     exec_prefix=$ac_optarg ;;
1139
1140   -gas | --gas | --ga | --g)
1141     # Obsolete; use --with-gas.
1142     with_gas=yes ;;
1143
1144   -help | --help | --hel | --he | -h)
1145     ac_init_help=long ;;
1146   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1147     ac_init_help=recursive ;;
1148   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1149     ac_init_help=short ;;
1150
1151   -host | --host | --hos | --ho)
1152     ac_prev=host_alias ;;
1153   -host=* | --host=* | --hos=* | --ho=*)
1154     host_alias=$ac_optarg ;;
1155
1156   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1157     ac_prev=htmldir ;;
1158   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1159   | --ht=*)
1160     htmldir=$ac_optarg ;;
1161
1162   -includedir | --includedir | --includedi | --included | --include \
1163   | --includ | --inclu | --incl | --inc)
1164     ac_prev=includedir ;;
1165   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1166   | --includ=* | --inclu=* | --incl=* | --inc=*)
1167     includedir=$ac_optarg ;;
1168
1169   -infodir | --infodir | --infodi | --infod | --info | --inf)
1170     ac_prev=infodir ;;
1171   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1172     infodir=$ac_optarg ;;
1173
1174   -libdir | --libdir | --libdi | --libd)
1175     ac_prev=libdir ;;
1176   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1177     libdir=$ac_optarg ;;
1178
1179   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1180   | --libexe | --libex | --libe)
1181     ac_prev=libexecdir ;;
1182   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1183   | --libexe=* | --libex=* | --libe=*)
1184     libexecdir=$ac_optarg ;;
1185
1186   -localedir | --localedir | --localedi | --localed | --locale)
1187     ac_prev=localedir ;;
1188   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1189     localedir=$ac_optarg ;;
1190
1191   -localstatedir | --localstatedir | --localstatedi | --localstated \
1192   | --localstate | --localstat | --localsta | --localst | --locals)
1193     ac_prev=localstatedir ;;
1194   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1195   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1196     localstatedir=$ac_optarg ;;
1197
1198   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1199     ac_prev=mandir ;;
1200   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1201     mandir=$ac_optarg ;;
1202
1203   -nfp | --nfp | --nf)
1204     # Obsolete; use --without-fp.
1205     with_fp=no ;;
1206
1207   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1208   | --no-cr | --no-c | -n)
1209     no_create=yes ;;
1210
1211   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1212   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1213     no_recursion=yes ;;
1214
1215   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1216   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1217   | --oldin | --oldi | --old | --ol | --o)
1218     ac_prev=oldincludedir ;;
1219   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1220   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1221   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1222     oldincludedir=$ac_optarg ;;
1223
1224   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1225     ac_prev=prefix ;;
1226   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1227     prefix=$ac_optarg ;;
1228
1229   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1230   | --program-pre | --program-pr | --program-p)
1231     ac_prev=program_prefix ;;
1232   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1233   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1234     program_prefix=$ac_optarg ;;
1235
1236   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1237   | --program-suf | --program-su | --program-s)
1238     ac_prev=program_suffix ;;
1239   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1240   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1241     program_suffix=$ac_optarg ;;
1242
1243   -program-transform-name | --program-transform-name \
1244   | --program-transform-nam | --program-transform-na \
1245   | --program-transform-n | --program-transform- \
1246   | --program-transform | --program-transfor \
1247   | --program-transfo | --program-transf \
1248   | --program-trans | --program-tran \
1249   | --progr-tra | --program-tr | --program-t)
1250     ac_prev=program_transform_name ;;
1251   -program-transform-name=* | --program-transform-name=* \
1252   | --program-transform-nam=* | --program-transform-na=* \
1253   | --program-transform-n=* | --program-transform-=* \
1254   | --program-transform=* | --program-transfor=* \
1255   | --program-transfo=* | --program-transf=* \
1256   | --program-trans=* | --program-tran=* \
1257   | --progr-tra=* | --program-tr=* | --program-t=*)
1258     program_transform_name=$ac_optarg ;;
1259
1260   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1261     ac_prev=pdfdir ;;
1262   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1263     pdfdir=$ac_optarg ;;
1264
1265   -psdir | --psdir | --psdi | --psd | --ps)
1266     ac_prev=psdir ;;
1267   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1268     psdir=$ac_optarg ;;
1269
1270   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271   | -silent | --silent | --silen | --sile | --sil)
1272     silent=yes ;;
1273
1274   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1275     ac_prev=sbindir ;;
1276   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1277   | --sbi=* | --sb=*)
1278     sbindir=$ac_optarg ;;
1279
1280   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1281   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1282   | --sharedst | --shareds | --shared | --share | --shar \
1283   | --sha | --sh)
1284     ac_prev=sharedstatedir ;;
1285   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1286   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1287   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1288   | --sha=* | --sh=*)
1289     sharedstatedir=$ac_optarg ;;
1290
1291   -site | --site | --sit)
1292     ac_prev=site ;;
1293   -site=* | --site=* | --sit=*)
1294     site=$ac_optarg ;;
1295
1296   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1297     ac_prev=srcdir ;;
1298   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1299     srcdir=$ac_optarg ;;
1300
1301   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1302   | --syscon | --sysco | --sysc | --sys | --sy)
1303     ac_prev=sysconfdir ;;
1304   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1305   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1306     sysconfdir=$ac_optarg ;;
1307
1308   -target | --target | --targe | --targ | --tar | --ta | --t)
1309     ac_prev=target_alias ;;
1310   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1311     target_alias=$ac_optarg ;;
1312
1313   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1314     verbose=yes ;;
1315
1316   -version | --version | --versio | --versi | --vers | -V)
1317     ac_init_version=: ;;
1318
1319   -with-* | --with-*)
1320     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1321     # Reject names that are not valid shell variable names.
1322     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1323       as_fn_error $? "invalid package name: $ac_useropt"
1324     ac_useropt_orig=$ac_useropt
1325     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1326     case $ac_user_opts in
1327       *"
1328 "with_$ac_useropt"
1329 "*) ;;
1330       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1331          ac_unrecognized_sep=', ';;
1332     esac
1333     eval with_$ac_useropt=\$ac_optarg ;;
1334
1335   -without-* | --without-*)
1336     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1337     # Reject names that are not valid shell variable names.
1338     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339       as_fn_error $? "invalid package name: $ac_useropt"
1340     ac_useropt_orig=$ac_useropt
1341     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342     case $ac_user_opts in
1343       *"
1344 "with_$ac_useropt"
1345 "*) ;;
1346       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1347          ac_unrecognized_sep=', ';;
1348     esac
1349     eval with_$ac_useropt=no ;;
1350
1351   --x)
1352     # Obsolete; use --with-x.
1353     with_x=yes ;;
1354
1355   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1356   | --x-incl | --x-inc | --x-in | --x-i)
1357     ac_prev=x_includes ;;
1358   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1359   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1360     x_includes=$ac_optarg ;;
1361
1362   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1363   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1364     ac_prev=x_libraries ;;
1365   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1366   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1367     x_libraries=$ac_optarg ;;
1368
1369   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1370 Try \`$0 --help' for more information"
1371     ;;
1372
1373   *=*)
1374     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1375     # Reject names that are not valid shell variable names.
1376     case $ac_envvar in #(
1377       '' | [0-9]* | *[!_$as_cr_alnum]* )
1378       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1379     esac
1380     eval $ac_envvar=\$ac_optarg
1381     export $ac_envvar ;;
1382
1383   *)
1384     # FIXME: should be removed in autoconf 3.0.
1385     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1386     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1387       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1388     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1389     ;;
1390
1391   esac
1392 done
1393
1394 if test -n "$ac_prev"; then
1395   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1396   as_fn_error $? "missing argument to $ac_option"
1397 fi
1398
1399 if test -n "$ac_unrecognized_opts"; then
1400   case $enable_option_checking in
1401     no) ;;
1402     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1403     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1404   esac
1405 fi
1406
1407 # Check all directory arguments for consistency.
1408 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1409                 datadir sysconfdir sharedstatedir localstatedir includedir \
1410                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1411                 libdir localedir mandir
1412 do
1413   eval ac_val=\$$ac_var
1414   # Remove trailing slashes.
1415   case $ac_val in
1416     */ )
1417       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1418       eval $ac_var=\$ac_val;;
1419   esac
1420   # Be sure to have absolute directory names.
1421   case $ac_val in
1422     [\\/$]* | ?:[\\/]* )  continue;;
1423     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1424   esac
1425   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1426 done
1427
1428 # There might be people who depend on the old broken behavior: `$host'
1429 # used to hold the argument of --host etc.
1430 # FIXME: To remove some day.
1431 build=$build_alias
1432 host=$host_alias
1433 target=$target_alias
1434
1435 # FIXME: To remove some day.
1436 if test "x$host_alias" != x; then
1437   if test "x$build_alias" = x; then
1438     cross_compiling=maybe
1439     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1440     If a cross compiler is detected then cross compile mode will be used" >&2
1441   elif test "x$build_alias" != "x$host_alias"; then
1442     cross_compiling=yes
1443   fi
1444 fi
1445
1446 ac_tool_prefix=
1447 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1448
1449 test "$silent" = yes && exec 6>/dev/null
1450
1451
1452 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1453 ac_ls_di=`ls -di .` &&
1454 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1455   as_fn_error $? "working directory cannot be determined"
1456 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1457   as_fn_error $? "pwd does not report name of working directory"
1458
1459
1460 # Find the source files, if location was not specified.
1461 if test -z "$srcdir"; then
1462   ac_srcdir_defaulted=yes
1463   # Try the directory containing this script, then the parent directory.
1464   ac_confdir=`$as_dirname -- "$as_myself" ||
1465 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1466          X"$as_myself" : 'X\(//\)[^/]' \| \
1467          X"$as_myself" : 'X\(//\)$' \| \
1468          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1469 $as_echo X"$as_myself" |
1470     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1471             s//\1/
1472             q
1473           }
1474           /^X\(\/\/\)[^/].*/{
1475             s//\1/
1476             q
1477           }
1478           /^X\(\/\/\)$/{
1479             s//\1/
1480             q
1481           }
1482           /^X\(\/\).*/{
1483             s//\1/
1484             q
1485           }
1486           s/.*/./; q'`
1487   srcdir=$ac_confdir
1488   if test ! -r "$srcdir/$ac_unique_file"; then
1489     srcdir=..
1490   fi
1491 else
1492   ac_srcdir_defaulted=no
1493 fi
1494 if test ! -r "$srcdir/$ac_unique_file"; then
1495   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1496   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1497 fi
1498 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1499 ac_abs_confdir=`(
1500         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1501         pwd)`
1502 # When building in place, set srcdir=.
1503 if test "$ac_abs_confdir" = "$ac_pwd"; then
1504   srcdir=.
1505 fi
1506 # Remove unnecessary trailing slashes from srcdir.
1507 # Double slashes in file names in object file debugging info
1508 # mess up M-x gdb in Emacs.
1509 case $srcdir in
1510 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1511 esac
1512 for ac_var in $ac_precious_vars; do
1513   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1514   eval ac_env_${ac_var}_value=\$${ac_var}
1515   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1516   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1517 done
1518
1519 #
1520 # Report the --help message.
1521 #
1522 if test "$ac_init_help" = "long"; then
1523   # Omit some internal or obsolete options to make the list less imposing.
1524   # This message is too long to be a string in the A/UX 3.1 sh.
1525   cat <<_ACEOF
1526 \`configure' configures pango 1.30.0 to adapt to many kinds of systems.
1527
1528 Usage: $0 [OPTION]... [VAR=VALUE]...
1529
1530 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1531 VAR=VALUE.  See below for descriptions of some of the useful variables.
1532
1533 Defaults for the options are specified in brackets.
1534
1535 Configuration:
1536   -h, --help              display this help and exit
1537       --help=short        display options specific to this package
1538       --help=recursive    display the short help of all the included packages
1539   -V, --version           display version information and exit
1540   -q, --quiet, --silent   do not print \`checking ...' messages
1541       --cache-file=FILE   cache test results in FILE [disabled]
1542   -C, --config-cache      alias for \`--cache-file=config.cache'
1543   -n, --no-create         do not create output files
1544       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1545
1546 Installation directories:
1547   --prefix=PREFIX         install architecture-independent files in PREFIX
1548                           [$ac_default_prefix]
1549   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1550                           [PREFIX]
1551
1552 By default, \`make install' will install all the files in
1553 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1554 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1555 for instance \`--prefix=\$HOME'.
1556
1557 For better control, use the options below.
1558
1559 Fine tuning of the installation directories:
1560   --bindir=DIR            user executables [EPREFIX/bin]
1561   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1562   --libexecdir=DIR        program executables [EPREFIX/libexec]
1563   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1564   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1565   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1566   --libdir=DIR            object code libraries [EPREFIX/lib]
1567   --includedir=DIR        C header files [PREFIX/include]
1568   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1569   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1570   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1571   --infodir=DIR           info documentation [DATAROOTDIR/info]
1572   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1573   --mandir=DIR            man documentation [DATAROOTDIR/man]
1574   --docdir=DIR            documentation root [DATAROOTDIR/doc/pango]
1575   --htmldir=DIR           html documentation [DOCDIR]
1576   --dvidir=DIR            dvi documentation [DOCDIR]
1577   --pdfdir=DIR            pdf documentation [DOCDIR]
1578   --psdir=DIR             ps documentation [DOCDIR]
1579 _ACEOF
1580
1581   cat <<\_ACEOF
1582
1583 Program names:
1584   --program-prefix=PREFIX            prepend PREFIX to installed program names
1585   --program-suffix=SUFFIX            append SUFFIX to installed program names
1586   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1587
1588 X features:
1589   --x-includes=DIR    X include files are in DIR
1590   --x-libraries=DIR   X library files are in DIR
1591
1592 System types:
1593   --build=BUILD     configure for building on BUILD [guessed]
1594   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1595 _ACEOF
1596 fi
1597
1598 if test -n "$ac_init_help"; then
1599   case $ac_init_help in
1600      short | recursive ) echo "Configuration of pango 1.30.0:";;
1601    esac
1602   cat <<\_ACEOF
1603
1604 Optional Features:
1605   --disable-option-checking  ignore unrecognized --enable/--with options
1606   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1607   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1608   --enable-silent-rules          less verbose build output (undo: `make V=1')
1609   --disable-silent-rules         verbose build output (undo: `make V=0')
1610   --disable-dependency-tracking  speeds up one-time build
1611   --enable-dependency-tracking   do not reject slow dependency extractors
1612   --enable-static[=PKGS]  build static libraries [default=no]
1613   --enable-shared[=PKGS]  build shared libraries [default=yes]
1614   --enable-fast-install[=PKGS]
1615                           optimize for fast installation [default=yes]
1616   --disable-libtool-lock  avoid locking (might break parallel builds)
1617   --enable-debug=[no/minimum/yes]
1618                           turn on debugging [default=minimum]
1619   --disable-rebuilds      disable all source autogeneration rules
1620   --enable-introspection=[no/auto/yes]
1621                           Enable introspection for this build
1622   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1623   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1624   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1625   --enable-man            regenerate man pages from Docbook [default=no]
1626   --disable-doc-cross-references
1627                           cross reference glib and cairo symbols [default=yes]
1628   --enable-explicit-deps=[no/auto/yes]
1629                           use explicit dependencies in .pc files
1630                           [default=auto]
1631
1632 Optional Packages:
1633   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1634   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1635   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1636                           both]
1637   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1638   --with-sysroot=DIR Search for dependent libraries within DIR
1639                         (or the compiler's sysroot if not specified).
1640   --with-x                use the X Window System
1641   --with-included-modules=no/yes/MODULE1 MODULE2 ...
1642                           build the given modules included [default=no]
1643   --with-dynamic-modules=no/yes/MODULE1 MODULE2 ...
1644                           build the given dynamic modules [default=yes]
1645   --with-html-dir=PATH    path to installed docs
1646   --with-xml-catalog=CATALOG
1647                           path to xml catalog to use
1648
1649 Some influential environment variables:
1650   CC          C compiler command
1651   CFLAGS      C compiler flags
1652   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1653               nonstandard directory <lib dir>
1654   LIBS        libraries to pass to the linker, e.g. -l<library>
1655   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1656               you have headers in a nonstandard directory <include dir>
1657   CXX         C++ compiler command
1658   CXXFLAGS    C++ compiler flags
1659   CPP         C preprocessor
1660   CXXCPP      C++ preprocessor
1661   XMKMF       Path to xmkmf, Makefile generator for X Window System
1662   PKG_CONFIG  path to pkg-config utility
1663   PKG_CONFIG_PATH
1664               directories to add to pkg-config's search path
1665   PKG_CONFIG_LIBDIR
1666               path overriding pkg-config's built-in search path
1667   FONTCONFIG_CFLAGS
1668               C compiler flags for FONTCONFIG, overriding pkg-config
1669   FONTCONFIG_LIBS
1670               linker flags for FONTCONFIG, overriding pkg-config
1671   FREETYPE_CFLAGS
1672               C compiler flags for FREETYPE, overriding pkg-config
1673   FREETYPE_LIBS
1674               linker flags for FREETYPE, overriding pkg-config
1675   XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
1676   XFT_LIBS    linker flags for XFT, overriding pkg-config
1677   CAIRO_CFLAGS
1678               C compiler flags for CAIRO, overriding pkg-config
1679   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1680   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1681   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1682   LIBTHAI_CFLAGS
1683               C compiler flags for LIBTHAI, overriding pkg-config
1684   LIBTHAI_LIBS
1685               linker flags for LIBTHAI, overriding pkg-config
1686   GTKDOC_DEPS_CFLAGS
1687               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1688   GTKDOC_DEPS_LIBS
1689               linker flags for GTKDOC_DEPS, overriding pkg-config
1690
1691 Use these variables to override the choices made by `configure' or to help
1692 it to find libraries and programs with nonstandard names/locations.
1693
1694 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>.
1695 _ACEOF
1696 ac_status=$?
1697 fi
1698
1699 if test "$ac_init_help" = "recursive"; then
1700   # If there are subdirs, report their specific --help.
1701   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1702     test -d "$ac_dir" ||
1703       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1704       continue
1705     ac_builddir=.
1706
1707 case "$ac_dir" in
1708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1709 *)
1710   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1711   # A ".." for each directory in $ac_dir_suffix.
1712   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1713   case $ac_top_builddir_sub in
1714   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1715   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1716   esac ;;
1717 esac
1718 ac_abs_top_builddir=$ac_pwd
1719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1720 # for backward compatibility:
1721 ac_top_builddir=$ac_top_build_prefix
1722
1723 case $srcdir in
1724   .)  # We are building in place.
1725     ac_srcdir=.
1726     ac_top_srcdir=$ac_top_builddir_sub
1727     ac_abs_top_srcdir=$ac_pwd ;;
1728   [\\/]* | ?:[\\/]* )  # Absolute name.
1729     ac_srcdir=$srcdir$ac_dir_suffix;
1730     ac_top_srcdir=$srcdir
1731     ac_abs_top_srcdir=$srcdir ;;
1732   *) # Relative name.
1733     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1734     ac_top_srcdir=$ac_top_build_prefix$srcdir
1735     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1736 esac
1737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1738
1739     cd "$ac_dir" || { ac_status=$?; continue; }
1740     # Check for guested configure.
1741     if test -f "$ac_srcdir/configure.gnu"; then
1742       echo &&
1743       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1744     elif test -f "$ac_srcdir/configure"; then
1745       echo &&
1746       $SHELL "$ac_srcdir/configure" --help=recursive
1747     else
1748       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1749     fi || ac_status=$?
1750     cd "$ac_pwd" || { ac_status=$?; break; }
1751   done
1752 fi
1753
1754 test -n "$ac_init_help" && exit $ac_status
1755 if $ac_init_version; then
1756   cat <<\_ACEOF
1757 pango configure 1.30.0
1758 generated by GNU Autoconf 2.68
1759
1760 Copyright (C) 2010 Free Software Foundation, Inc.
1761 This configure script is free software; the Free Software Foundation
1762 gives unlimited permission to copy, distribute and modify it.
1763 _ACEOF
1764   exit
1765 fi
1766
1767 ## ------------------------ ##
1768 ## Autoconf initialization. ##
1769 ## ------------------------ ##
1770
1771 # ac_fn_c_try_compile LINENO
1772 # --------------------------
1773 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1774 ac_fn_c_try_compile ()
1775 {
1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777   rm -f conftest.$ac_objext
1778   if { { ac_try="$ac_compile"
1779 case "(($ac_try" in
1780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781   *) ac_try_echo=$ac_try;;
1782 esac
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785   (eval "$ac_compile") 2>conftest.err
1786   ac_status=$?
1787   if test -s conftest.err; then
1788     grep -v '^ *+' conftest.err >conftest.er1
1789     cat conftest.er1 >&5
1790     mv -f conftest.er1 conftest.err
1791   fi
1792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793   test $ac_status = 0; } && {
1794          test -z "$ac_c_werror_flag" ||
1795          test ! -s conftest.err
1796        } && test -s conftest.$ac_objext; then :
1797   ac_retval=0
1798 else
1799   $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1801
1802         ac_retval=1
1803 fi
1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805   as_fn_set_status $ac_retval
1806
1807 } # ac_fn_c_try_compile
1808
1809 # ac_fn_cxx_try_compile LINENO
1810 # ----------------------------
1811 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1812 ac_fn_cxx_try_compile ()
1813 {
1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815   rm -f conftest.$ac_objext
1816   if { { ac_try="$ac_compile"
1817 case "(($ac_try" in
1818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819   *) ac_try_echo=$ac_try;;
1820 esac
1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823   (eval "$ac_compile") 2>conftest.err
1824   ac_status=$?
1825   if test -s conftest.err; then
1826     grep -v '^ *+' conftest.err >conftest.er1
1827     cat conftest.er1 >&5
1828     mv -f conftest.er1 conftest.err
1829   fi
1830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831   test $ac_status = 0; } && {
1832          test -z "$ac_cxx_werror_flag" ||
1833          test ! -s conftest.err
1834        } && test -s conftest.$ac_objext; then :
1835   ac_retval=0
1836 else
1837   $as_echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.$ac_ext >&5
1839
1840         ac_retval=1
1841 fi
1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843   as_fn_set_status $ac_retval
1844
1845 } # ac_fn_cxx_try_compile
1846
1847 # ac_fn_c_try_link LINENO
1848 # -----------------------
1849 # Try to link conftest.$ac_ext, and return whether this succeeded.
1850 ac_fn_c_try_link ()
1851 {
1852   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853   rm -f conftest.$ac_objext conftest$ac_exeext
1854   if { { ac_try="$ac_link"
1855 case "(($ac_try" in
1856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857   *) ac_try_echo=$ac_try;;
1858 esac
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861   (eval "$ac_link") 2>conftest.err
1862   ac_status=$?
1863   if test -s conftest.err; then
1864     grep -v '^ *+' conftest.err >conftest.er1
1865     cat conftest.er1 >&5
1866     mv -f conftest.er1 conftest.err
1867   fi
1868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869   test $ac_status = 0; } && {
1870          test -z "$ac_c_werror_flag" ||
1871          test ! -s conftest.err
1872        } && test -s conftest$ac_exeext && {
1873          test "$cross_compiling" = yes ||
1874          $as_test_x conftest$ac_exeext
1875        }; then :
1876   ac_retval=0
1877 else
1878   $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1880
1881         ac_retval=1
1882 fi
1883   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1884   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1885   # interfere with the next link command; also delete a directory that is
1886   # left behind by Apple's compiler.  We do this before executing the actions.
1887   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889   as_fn_set_status $ac_retval
1890
1891 } # ac_fn_c_try_link
1892
1893 # ac_fn_c_check_func LINENO FUNC VAR
1894 # ----------------------------------
1895 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1896 ac_fn_c_check_func ()
1897 {
1898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval \${$3+:} false; then :
1902   $as_echo_n "(cached) " >&6
1903 else
1904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h.  */
1906 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1908 #define $2 innocuous_$2
1909
1910 /* System header to define __stub macros and hopefully few prototypes,
1911     which can conflict with char $2 (); below.
1912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1913     <limits.h> exists even on freestanding compilers.  */
1914
1915 #ifdef __STDC__
1916 # include <limits.h>
1917 #else
1918 # include <assert.h>
1919 #endif
1920
1921 #undef $2
1922
1923 /* Override any GCC internal prototype to avoid an error.
1924    Use char because int might match the return type of a GCC
1925    builtin and then its argument prototype would still apply.  */
1926 #ifdef __cplusplus
1927 extern "C"
1928 #endif
1929 char $2 ();
1930 /* The GNU C library defines this for functions which it implements
1931     to always fail with ENOSYS.  Some functions are actually named
1932     something starting with __ and the normal name is an alias.  */
1933 #if defined __stub_$2 || defined __stub___$2
1934 choke me
1935 #endif
1936
1937 int
1938 main ()
1939 {
1940 return $2 ();
1941   ;
1942   return 0;
1943 }
1944 _ACEOF
1945 if ac_fn_c_try_link "$LINENO"; then :
1946   eval "$3=yes"
1947 else
1948   eval "$3=no"
1949 fi
1950 rm -f core conftest.err conftest.$ac_objext \
1951     conftest$ac_exeext conftest.$ac_ext
1952 fi
1953 eval ac_res=\$$3
1954                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957
1958 } # ac_fn_c_check_func
1959
1960 # ac_fn_c_try_cpp LINENO
1961 # ----------------------
1962 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1963 ac_fn_c_try_cpp ()
1964 {
1965   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966   if { { ac_try="$ac_cpp conftest.$ac_ext"
1967 case "(($ac_try" in
1968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1969   *) ac_try_echo=$ac_try;;
1970 esac
1971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972 $as_echo "$ac_try_echo"; } >&5
1973   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1974   ac_status=$?
1975   if test -s conftest.err; then
1976     grep -v '^ *+' conftest.err >conftest.er1
1977     cat conftest.er1 >&5
1978     mv -f conftest.er1 conftest.err
1979   fi
1980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981   test $ac_status = 0; } > conftest.i && {
1982          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1983          test ! -s conftest.err
1984        }; then :
1985   ac_retval=0
1986 else
1987   $as_echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.$ac_ext >&5
1989
1990     ac_retval=1
1991 fi
1992   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993   as_fn_set_status $ac_retval
1994
1995 } # ac_fn_c_try_cpp
1996
1997 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1998 # -------------------------------------------------------
1999 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2000 # the include files in INCLUDES and setting the cache variable VAR
2001 # accordingly.
2002 ac_fn_c_check_header_mongrel ()
2003 {
2004   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005   if eval \${$3+:} false; then :
2006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval \${$3+:} false; then :
2009   $as_echo_n "(cached) " >&6
2010 fi
2011 eval ac_res=\$$3
2012                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 else
2015   # Is the header compilable?
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2017 $as_echo_n "checking $2 usability... " >&6; }
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h.  */
2020 $4
2021 #include <$2>
2022 _ACEOF
2023 if ac_fn_c_try_compile "$LINENO"; then :
2024   ac_header_compiler=yes
2025 else
2026   ac_header_compiler=no
2027 fi
2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2030 $as_echo "$ac_header_compiler" >&6; }
2031
2032 # Is the header present?
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2034 $as_echo_n "checking $2 presence... " >&6; }
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h.  */
2037 #include <$2>
2038 _ACEOF
2039 if ac_fn_c_try_cpp "$LINENO"; then :
2040   ac_header_preproc=yes
2041 else
2042   ac_header_preproc=no
2043 fi
2044 rm -f conftest.err conftest.i conftest.$ac_ext
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2046 $as_echo "$ac_header_preproc" >&6; }
2047
2048 # So?  What about this header?
2049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2050   yes:no: )
2051     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2052 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2053     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2055     ;;
2056   no:yes:* )
2057     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2058 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2059     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2060 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2061     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2062 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2063     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2064 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2065     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2066 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2067 ( $as_echo "## -------------------------------------------------------------------- ##
2068 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ##
2069 ## -------------------------------------------------------------------- ##"
2070      ) | sed "s/^/$as_me: WARNING:     /" >&2
2071     ;;
2072 esac
2073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2074 $as_echo_n "checking for $2... " >&6; }
2075 if eval \${$3+:} false; then :
2076   $as_echo_n "(cached) " >&6
2077 else
2078   eval "$3=\$ac_header_compiler"
2079 fi
2080 eval ac_res=\$$3
2081                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 fi
2084   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085
2086 } # ac_fn_c_check_header_mongrel
2087
2088 # ac_fn_c_try_run LINENO
2089 # ----------------------
2090 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2091 # that executables *can* be run.
2092 ac_fn_c_try_run ()
2093 {
2094   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095   if { { ac_try="$ac_link"
2096 case "(($ac_try" in
2097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2098   *) ac_try_echo=$ac_try;;
2099 esac
2100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2101 $as_echo "$ac_try_echo"; } >&5
2102   (eval "$ac_link") 2>&5
2103   ac_status=$?
2104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2105   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2106   { { case "(($ac_try" in
2107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2108   *) ac_try_echo=$ac_try;;
2109 esac
2110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2111 $as_echo "$ac_try_echo"; } >&5
2112   (eval "$ac_try") 2>&5
2113   ac_status=$?
2114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2115   test $ac_status = 0; }; }; then :
2116   ac_retval=0
2117 else
2118   $as_echo "$as_me: program exited with status $ac_status" >&5
2119        $as_echo "$as_me: failed program was:" >&5
2120 sed 's/^/| /' conftest.$ac_ext >&5
2121
2122        ac_retval=$ac_status
2123 fi
2124   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2125   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126   as_fn_set_status $ac_retval
2127
2128 } # ac_fn_c_try_run
2129
2130 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2131 # -------------------------------------------------------
2132 # Tests whether HEADER exists and can be compiled using the include files in
2133 # INCLUDES, setting the cache variable VAR accordingly.
2134 ac_fn_c_check_header_compile ()
2135 {
2136   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2138 $as_echo_n "checking for $2... " >&6; }
2139 if eval \${$3+:} false; then :
2140   $as_echo_n "(cached) " >&6
2141 else
2142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h.  */
2144 $4
2145 #include <$2>
2146 _ACEOF
2147 if ac_fn_c_try_compile "$LINENO"; then :
2148   eval "$3=yes"
2149 else
2150   eval "$3=no"
2151 fi
2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2153 fi
2154 eval ac_res=\$$3
2155                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156 $as_echo "$ac_res" >&6; }
2157   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158
2159 } # ac_fn_c_check_header_compile
2160
2161 # ac_fn_cxx_try_cpp LINENO
2162 # ------------------------
2163 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2164 ac_fn_cxx_try_cpp ()
2165 {
2166   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2167   if { { ac_try="$ac_cpp conftest.$ac_ext"
2168 case "(($ac_try" in
2169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170   *) ac_try_echo=$ac_try;;
2171 esac
2172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2173 $as_echo "$ac_try_echo"; } >&5
2174   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2175   ac_status=$?
2176   if test -s conftest.err; then
2177     grep -v '^ *+' conftest.err >conftest.er1
2178     cat conftest.er1 >&5
2179     mv -f conftest.er1 conftest.err
2180   fi
2181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182   test $ac_status = 0; } > conftest.i && {
2183          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2184          test ! -s conftest.err
2185        }; then :
2186   ac_retval=0
2187 else
2188   $as_echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.$ac_ext >&5
2190
2191     ac_retval=1
2192 fi
2193   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2194   as_fn_set_status $ac_retval
2195
2196 } # ac_fn_cxx_try_cpp
2197
2198 # ac_fn_cxx_try_link LINENO
2199 # -------------------------
2200 # Try to link conftest.$ac_ext, and return whether this succeeded.
2201 ac_fn_cxx_try_link ()
2202 {
2203   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204   rm -f conftest.$ac_objext conftest$ac_exeext
2205   if { { ac_try="$ac_link"
2206 case "(($ac_try" in
2207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2208   *) ac_try_echo=$ac_try;;
2209 esac
2210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2211 $as_echo "$ac_try_echo"; } >&5
2212   (eval "$ac_link") 2>conftest.err
2213   ac_status=$?
2214   if test -s conftest.err; then
2215     grep -v '^ *+' conftest.err >conftest.er1
2216     cat conftest.er1 >&5
2217     mv -f conftest.er1 conftest.err
2218   fi
2219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2220   test $ac_status = 0; } && {
2221          test -z "$ac_cxx_werror_flag" ||
2222          test ! -s conftest.err
2223        } && test -s conftest$ac_exeext && {
2224          test "$cross_compiling" = yes ||
2225          $as_test_x conftest$ac_exeext
2226        }; then :
2227   ac_retval=0
2228 else
2229   $as_echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.$ac_ext >&5
2231
2232         ac_retval=1
2233 fi
2234   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2235   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2236   # interfere with the next link command; also delete a directory that is
2237   # left behind by Apple's compiler.  We do this before executing the actions.
2238   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2239   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240   as_fn_set_status $ac_retval
2241
2242 } # ac_fn_cxx_try_link
2243 cat >config.log <<_ACEOF
2244 This file contains any messages produced by compilers while
2245 running configure, to aid debugging if configure makes a mistake.
2246
2247 It was created by pango $as_me 1.30.0, which was
2248 generated by GNU Autoconf 2.68.  Invocation command line was
2249
2250   $ $0 $@
2251
2252 _ACEOF
2253 exec 5>>config.log
2254 {
2255 cat <<_ASUNAME
2256 ## --------- ##
2257 ## Platform. ##
2258 ## --------- ##
2259
2260 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2261 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2262 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2263 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2264 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2265
2266 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2267 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2268
2269 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2270 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2271 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2272 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2273 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2274 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2275 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2276
2277 _ASUNAME
2278
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282   IFS=$as_save_IFS
2283   test -z "$as_dir" && as_dir=.
2284     $as_echo "PATH: $as_dir"
2285   done
2286 IFS=$as_save_IFS
2287
2288 } >&5
2289
2290 cat >&5 <<_ACEOF
2291
2292
2293 ## ----------- ##
2294 ## Core tests. ##
2295 ## ----------- ##
2296
2297 _ACEOF
2298
2299
2300 # Keep a trace of the command line.
2301 # Strip out --no-create and --no-recursion so they do not pile up.
2302 # Strip out --silent because we don't want to record it for future runs.
2303 # Also quote any args containing shell meta-characters.
2304 # Make two passes to allow for proper duplicate-argument suppression.
2305 ac_configure_args=
2306 ac_configure_args0=
2307 ac_configure_args1=
2308 ac_must_keep_next=false
2309 for ac_pass in 1 2
2310 do
2311   for ac_arg
2312   do
2313     case $ac_arg in
2314     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2315     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2316     | -silent | --silent | --silen | --sile | --sil)
2317       continue ;;
2318     *\'*)
2319       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2320     esac
2321     case $ac_pass in
2322     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2323     2)
2324       as_fn_append ac_configure_args1 " '$ac_arg'"
2325       if test $ac_must_keep_next = true; then
2326         ac_must_keep_next=false # Got value, back to normal.
2327       else
2328         case $ac_arg in
2329           *=* | --config-cache | -C | -disable-* | --disable-* \
2330           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2331           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2332           | -with-* | --with-* | -without-* | --without-* | --x)
2333             case "$ac_configure_args0 " in
2334               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2335             esac
2336             ;;
2337           -* ) ac_must_keep_next=true ;;
2338         esac
2339       fi
2340       as_fn_append ac_configure_args " '$ac_arg'"
2341       ;;
2342     esac
2343   done
2344 done
2345 { ac_configure_args0=; unset ac_configure_args0;}
2346 { ac_configure_args1=; unset ac_configure_args1;}
2347
2348 # When interrupted or exit'd, cleanup temporary files, and complete
2349 # config.log.  We remove comments because anyway the quotes in there
2350 # would cause problems or look ugly.
2351 # WARNING: Use '\'' to represent an apostrophe within the trap.
2352 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2353 trap 'exit_status=$?
2354   # Save into config.log some information that might help in debugging.
2355   {
2356     echo
2357
2358     $as_echo "## ---------------- ##
2359 ## Cache variables. ##
2360 ## ---------------- ##"
2361     echo
2362     # The following way of writing the cache mishandles newlines in values,
2363 (
2364   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2365     eval ac_val=\$$ac_var
2366     case $ac_val in #(
2367     *${as_nl}*)
2368       case $ac_var in #(
2369       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2371       esac
2372       case $ac_var in #(
2373       _ | IFS | as_nl) ;; #(
2374       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2375       *) { eval $ac_var=; unset $ac_var;} ;;
2376       esac ;;
2377     esac
2378   done
2379   (set) 2>&1 |
2380     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2381     *${as_nl}ac_space=\ *)
2382       sed -n \
2383         "s/'\''/'\''\\\\'\'''\''/g;
2384           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2385       ;; #(
2386     *)
2387       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2388       ;;
2389     esac |
2390     sort
2391 )
2392     echo
2393
2394     $as_echo "## ----------------- ##
2395 ## Output variables. ##
2396 ## ----------------- ##"
2397     echo
2398     for ac_var in $ac_subst_vars
2399     do
2400       eval ac_val=\$$ac_var
2401       case $ac_val in
2402       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2403       esac
2404       $as_echo "$ac_var='\''$ac_val'\''"
2405     done | sort
2406     echo
2407
2408     if test -n "$ac_subst_files"; then
2409       $as_echo "## ------------------- ##
2410 ## File substitutions. ##
2411 ## ------------------- ##"
2412       echo
2413       for ac_var in $ac_subst_files
2414       do
2415         eval ac_val=\$$ac_var
2416         case $ac_val in
2417         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2418         esac
2419         $as_echo "$ac_var='\''$ac_val'\''"
2420       done | sort
2421       echo
2422     fi
2423
2424     if test -s confdefs.h; then
2425       $as_echo "## ----------- ##
2426 ## confdefs.h. ##
2427 ## ----------- ##"
2428       echo
2429       cat confdefs.h
2430       echo
2431     fi
2432     test "$ac_signal" != 0 &&
2433       $as_echo "$as_me: caught signal $ac_signal"
2434     $as_echo "$as_me: exit $exit_status"
2435   } >&5
2436   rm -f core *.core core.conftest.* &&
2437     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2438     exit $exit_status
2439 ' 0
2440 for ac_signal in 1 2 13 15; do
2441   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2442 done
2443 ac_signal=0
2444
2445 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2446 rm -f -r conftest* confdefs.h
2447
2448 $as_echo "/* confdefs.h */" > confdefs.h
2449
2450 # Predefined preprocessor variables.
2451
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_NAME "$PACKAGE_NAME"
2454 _ACEOF
2455
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2458 _ACEOF
2459
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2462 _ACEOF
2463
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_STRING "$PACKAGE_STRING"
2466 _ACEOF
2467
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2470 _ACEOF
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_URL "$PACKAGE_URL"
2474 _ACEOF
2475
2476
2477 # Let the site file select an alternate cache file if it wants to.
2478 # Prefer an explicitly selected file to automatically selected ones.
2479 ac_site_file1=NONE
2480 ac_site_file2=NONE
2481 if test -n "$CONFIG_SITE"; then
2482   # We do not want a PATH search for config.site.
2483   case $CONFIG_SITE in #((
2484     -*)  ac_site_file1=./$CONFIG_SITE;;
2485     */*) ac_site_file1=$CONFIG_SITE;;
2486     *)   ac_site_file1=./$CONFIG_SITE;;
2487   esac
2488 elif test "x$prefix" != xNONE; then
2489   ac_site_file1=$prefix/share/config.site
2490   ac_site_file2=$prefix/etc/config.site
2491 else
2492   ac_site_file1=$ac_default_prefix/share/config.site
2493   ac_site_file2=$ac_default_prefix/etc/config.site
2494 fi
2495 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2496 do
2497   test "x$ac_site_file" = xNONE && continue
2498   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2499     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2500 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2501     sed 's/^/| /' "$ac_site_file" >&5
2502     . "$ac_site_file" \
2503       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 as_fn_error $? "failed to load site script $ac_site_file
2506 See \`config.log' for more details" "$LINENO" 5; }
2507   fi
2508 done
2509
2510 if test -r "$cache_file"; then
2511   # Some versions of bash will fail to source /dev/null (special files
2512   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2513   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2514     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2515 $as_echo "$as_me: loading cache $cache_file" >&6;}
2516     case $cache_file in
2517       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2518       *)                      . "./$cache_file";;
2519     esac
2520   fi
2521 else
2522   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2523 $as_echo "$as_me: creating cache $cache_file" >&6;}
2524   >$cache_file
2525 fi
2526
2527 # Check that the precious variables saved in the cache have kept the same
2528 # value.
2529 ac_cache_corrupted=false
2530 for ac_var in $ac_precious_vars; do
2531   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2532   eval ac_new_set=\$ac_env_${ac_var}_set
2533   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2534   eval ac_new_val=\$ac_env_${ac_var}_value
2535   case $ac_old_set,$ac_new_set in
2536     set,)
2537       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2538 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2539       ac_cache_corrupted=: ;;
2540     ,set)
2541       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2542 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2543       ac_cache_corrupted=: ;;
2544     ,);;
2545     *)
2546       if test "x$ac_old_val" != "x$ac_new_val"; then
2547         # differences in whitespace do not lead to failure.
2548         ac_old_val_w=`echo x $ac_old_val`
2549         ac_new_val_w=`echo x $ac_new_val`
2550         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2551           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2552 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2553           ac_cache_corrupted=:
2554         else
2555           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2556 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2557           eval $ac_var=\$ac_old_val
2558         fi
2559         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2560 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2561         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2562 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2563       fi;;
2564   esac
2565   # Pass precious variables to config.status.
2566   if test "$ac_new_set" = set; then
2567     case $ac_new_val in
2568     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2569     *) ac_arg=$ac_var=$ac_new_val ;;
2570     esac
2571     case " $ac_configure_args " in
2572       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2573       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2574     esac
2575   fi
2576 done
2577 if $ac_cache_corrupted; then
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2581 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2582   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2583 fi
2584 ## -------------------- ##
2585 ## Main body of script. ##
2586 ## -------------------- ##
2587
2588 ac_ext=c
2589 ac_cpp='$CPP $CPPFLAGS'
2590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2593
2594
2595
2596
2597
2598 am__api_version='1.11'
2599
2600 ac_aux_dir=
2601 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2602   if test -f "$ac_dir/install-sh"; then
2603     ac_aux_dir=$ac_dir
2604     ac_install_sh="$ac_aux_dir/install-sh -c"
2605     break
2606   elif test -f "$ac_dir/install.sh"; then
2607     ac_aux_dir=$ac_dir
2608     ac_install_sh="$ac_aux_dir/install.sh -c"
2609     break
2610   elif test -f "$ac_dir/shtool"; then
2611     ac_aux_dir=$ac_dir
2612     ac_install_sh="$ac_aux_dir/shtool install -c"
2613     break
2614   fi
2615 done
2616 if test -z "$ac_aux_dir"; then
2617   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2618 fi
2619
2620 # These three variables are undocumented and unsupported,
2621 # and are intended to be withdrawn in a future Autoconf release.
2622 # They can cause serious problems if a builder's source tree is in a directory
2623 # whose full name contains unusual characters.
2624 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2625 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2626 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2627
2628
2629 # Find a good install program.  We prefer a C program (faster),
2630 # so one script is as good as another.  But avoid the broken or
2631 # incompatible versions:
2632 # SysV /etc/install, /usr/sbin/install
2633 # SunOS /usr/etc/install
2634 # IRIX /sbin/install
2635 # AIX /bin/install
2636 # AmigaOS /C/install, which installs bootblocks on floppy discs
2637 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2638 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2639 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2640 # OS/2's system install, which has a completely different semantic
2641 # ./install, which can be erroneously created by make from ./install.sh.
2642 # Reject install programs that cannot install multiple files.
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2644 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2645 if test -z "$INSTALL"; then
2646 if ${ac_cv_path_install+:} false; then :
2647   $as_echo_n "(cached) " >&6
2648 else
2649   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 for as_dir in $PATH
2651 do
2652   IFS=$as_save_IFS
2653   test -z "$as_dir" && as_dir=.
2654     # Account for people who put trailing slashes in PATH elements.
2655 case $as_dir/ in #((
2656   ./ | .// | /[cC]/* | \
2657   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2658   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2659   /usr/ucb/* ) ;;
2660   *)
2661     # OSF1 and SCO ODT 3.0 have their own names for install.
2662     # Don't use installbsd from OSF since it installs stuff as root
2663     # by default.
2664     for ac_prog in ginstall scoinst install; do
2665       for ac_exec_ext in '' $ac_executable_extensions; do
2666         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2667           if test $ac_prog = install &&
2668             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2669             # AIX install.  It has an incompatible calling convention.
2670             :
2671           elif test $ac_prog = install &&
2672             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2673             # program-specific install script used by HP pwplus--don't use.
2674             :
2675           else
2676             rm -rf conftest.one conftest.two conftest.dir
2677             echo one > conftest.one
2678             echo two > conftest.two
2679             mkdir conftest.dir
2680             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2681               test -s conftest.one && test -s conftest.two &&
2682               test -s conftest.dir/conftest.one &&
2683               test -s conftest.dir/conftest.two
2684             then
2685               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2686               break 3
2687             fi
2688           fi
2689         fi
2690       done
2691     done
2692     ;;
2693 esac
2694
2695   done
2696 IFS=$as_save_IFS
2697
2698 rm -rf conftest.one conftest.two conftest.dir
2699
2700 fi
2701   if test "${ac_cv_path_install+set}" = set; then
2702     INSTALL=$ac_cv_path_install
2703   else
2704     # As a last resort, use the slow shell script.  Don't cache a
2705     # value for INSTALL within a source directory, because that will
2706     # break other packages using the cache if that directory is
2707     # removed, or if the value is a relative name.
2708     INSTALL=$ac_install_sh
2709   fi
2710 fi
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2712 $as_echo "$INSTALL" >&6; }
2713
2714 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2715 # It thinks the first close brace ends the variable substitution.
2716 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2717
2718 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2719
2720 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2721
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2723 $as_echo_n "checking whether build environment is sane... " >&6; }
2724 # Just in case
2725 sleep 1
2726 echo timestamp > conftest.file
2727 # Reject unsafe characters in $srcdir or the absolute working directory
2728 # name.  Accept space and tab only in the latter.
2729 am_lf='
2730 '
2731 case `pwd` in
2732   *[\\\"\#\$\&\'\`$am_lf]*)
2733     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2734 esac
2735 case $srcdir in
2736   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2737     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2738 esac
2739
2740 # Do `set' in a subshell so we don't clobber the current shell's
2741 # arguments.  Must try -L first in case configure is actually a
2742 # symlink; some systems play weird games with the mod time of symlinks
2743 # (eg FreeBSD returns the mod time of the symlink's containing
2744 # directory).
2745 if (
2746    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2747    if test "$*" = "X"; then
2748       # -L didn't work.
2749       set X `ls -t "$srcdir/configure" conftest.file`
2750    fi
2751    rm -f conftest.file
2752    if test "$*" != "X $srcdir/configure conftest.file" \
2753       && test "$*" != "X conftest.file $srcdir/configure"; then
2754
2755       # If neither matched, then we have a broken ls.  This can happen
2756       # if, for instance, CONFIG_SHELL is bash and it inherits a
2757       # broken ls alias from the environment.  This has actually
2758       # happened.  Such a system could not be considered "sane".
2759       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2760 alias in your environment" "$LINENO" 5
2761    fi
2762
2763    test "$2" = conftest.file
2764    )
2765 then
2766    # Ok.
2767    :
2768 else
2769    as_fn_error $? "newly created file is older than distributed files!
2770 Check your system clock" "$LINENO" 5
2771 fi
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2773 $as_echo "yes" >&6; }
2774 test "$program_prefix" != NONE &&
2775   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2776 # Use a double $ so make ignores it.
2777 test "$program_suffix" != NONE &&
2778   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2779 # Double any \ or $.
2780 # By default was `s,x,x', remove it if useless.
2781 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2782 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2783
2784 # expand $ac_aux_dir to an absolute path
2785 am_aux_dir=`cd $ac_aux_dir && pwd`
2786
2787 if test x"${MISSING+set}" != xset; then
2788   case $am_aux_dir in
2789   *\ * | *\     *)
2790     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2791   *)
2792     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2793   esac
2794 fi
2795 # Use eval to expand $SHELL
2796 if eval "$MISSING --run true"; then
2797   am_missing_run="$MISSING --run "
2798 else
2799   am_missing_run=
2800   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2801 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2802 fi
2803
2804 if test x"${install_sh}" != xset; then
2805   case $am_aux_dir in
2806   *\ * | *\     *)
2807     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2808   *)
2809     install_sh="\${SHELL} $am_aux_dir/install-sh"
2810   esac
2811 fi
2812
2813 # Installed binaries are usually stripped using `strip' when the user
2814 # run `make install-strip'.  However `strip' might not be the right
2815 # tool to use in cross-compilation environments, therefore Automake
2816 # will honor the `STRIP' environment variable to overrule this program.
2817 if test "$cross_compiling" != no; then
2818   if test -n "$ac_tool_prefix"; then
2819   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2820 set dummy ${ac_tool_prefix}strip; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_STRIP+:} false; then :
2824   $as_echo_n "(cached) " >&6
2825 else
2826   if test -n "$STRIP"; then
2827   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2828 else
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 for as_dir in $PATH
2831 do
2832   IFS=$as_save_IFS
2833   test -z "$as_dir" && as_dir=.
2834     for ac_exec_ext in '' $ac_executable_extensions; do
2835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838     break 2
2839   fi
2840 done
2841   done
2842 IFS=$as_save_IFS
2843
2844 fi
2845 fi
2846 STRIP=$ac_cv_prog_STRIP
2847 if test -n "$STRIP"; then
2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2849 $as_echo "$STRIP" >&6; }
2850 else
2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2853 fi
2854
2855
2856 fi
2857 if test -z "$ac_cv_prog_STRIP"; then
2858   ac_ct_STRIP=$STRIP
2859   # Extract the first word of "strip", so it can be a program name with args.
2860 set dummy strip; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2864   $as_echo_n "(cached) " >&6
2865 else
2866   if test -n "$ac_ct_STRIP"; then
2867   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2868 else
2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 for as_dir in $PATH
2871 do
2872   IFS=$as_save_IFS
2873   test -z "$as_dir" && as_dir=.
2874     for ac_exec_ext in '' $ac_executable_extensions; do
2875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2876     ac_cv_prog_ac_ct_STRIP="strip"
2877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878     break 2
2879   fi
2880 done
2881   done
2882 IFS=$as_save_IFS
2883
2884 fi
2885 fi
2886 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2887 if test -n "$ac_ct_STRIP"; then
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2889 $as_echo "$ac_ct_STRIP" >&6; }
2890 else
2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2893 fi
2894
2895   if test "x$ac_ct_STRIP" = x; then
2896     STRIP=":"
2897   else
2898     case $cross_compiling:$ac_tool_warned in
2899 yes:)
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2902 ac_tool_warned=yes ;;
2903 esac
2904     STRIP=$ac_ct_STRIP
2905   fi
2906 else
2907   STRIP="$ac_cv_prog_STRIP"
2908 fi
2909
2910 fi
2911 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2912
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2914 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2915 if test -z "$MKDIR_P"; then
2916   if ${ac_cv_path_mkdir+:} false; then :
2917   $as_echo_n "(cached) " >&6
2918 else
2919   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924     for ac_prog in mkdir gmkdir; do
2925          for ac_exec_ext in '' $ac_executable_extensions; do
2926            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2927            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2928              'mkdir (GNU coreutils) '* | \
2929              'mkdir (coreutils) '* | \
2930              'mkdir (fileutils) '4.1*)
2931                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2932                break 3;;
2933            esac
2934          done
2935        done
2936   done
2937 IFS=$as_save_IFS
2938
2939 fi
2940
2941   test -d ./--version && rmdir ./--version
2942   if test "${ac_cv_path_mkdir+set}" = set; then
2943     MKDIR_P="$ac_cv_path_mkdir -p"
2944   else
2945     # As a last resort, use the slow shell script.  Don't cache a
2946     # value for MKDIR_P within a source directory, because that will
2947     # break other packages using the cache if that directory is
2948     # removed, or if the value is a relative name.
2949     MKDIR_P="$ac_install_sh -d"
2950   fi
2951 fi
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2953 $as_echo "$MKDIR_P" >&6; }
2954
2955 mkdir_p="$MKDIR_P"
2956 case $mkdir_p in
2957   [\\/$]* | ?:[\\/]*) ;;
2958   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2959 esac
2960
2961 for ac_prog in gawk mawk nawk awk
2962 do
2963   # Extract the first word of "$ac_prog", so it can be a program name with args.
2964 set dummy $ac_prog; ac_word=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if ${ac_cv_prog_AWK+:} false; then :
2968   $as_echo_n "(cached) " >&6
2969 else
2970   if test -n "$AWK"; then
2971   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2972 else
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 for as_dir in $PATH
2975 do
2976   IFS=$as_save_IFS
2977   test -z "$as_dir" && as_dir=.
2978     for ac_exec_ext in '' $ac_executable_extensions; do
2979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980     ac_cv_prog_AWK="$ac_prog"
2981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982     break 2
2983   fi
2984 done
2985   done
2986 IFS=$as_save_IFS
2987
2988 fi
2989 fi
2990 AWK=$ac_cv_prog_AWK
2991 if test -n "$AWK"; then
2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2993 $as_echo "$AWK" >&6; }
2994 else
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
2997 fi
2998
2999
3000   test -n "$AWK" && break
3001 done
3002
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3004 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3005 set x ${MAKE-make}
3006 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3007 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3008   $as_echo_n "(cached) " >&6
3009 else
3010   cat >conftest.make <<\_ACEOF
3011 SHELL = /bin/sh
3012 all:
3013         @echo '@@@%%%=$(MAKE)=@@@%%%'
3014 _ACEOF
3015 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3016 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3017   *@@@%%%=?*=@@@%%%*)
3018     eval ac_cv_prog_make_${ac_make}_set=yes;;
3019   *)
3020     eval ac_cv_prog_make_${ac_make}_set=no;;
3021 esac
3022 rm -f conftest.make
3023 fi
3024 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3026 $as_echo "yes" >&6; }
3027   SET_MAKE=
3028 else
3029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3030 $as_echo "no" >&6; }
3031   SET_MAKE="MAKE=${MAKE-make}"
3032 fi
3033
3034 rm -rf .tst 2>/dev/null
3035 mkdir .tst 2>/dev/null
3036 if test -d .tst; then
3037   am__leading_dot=.
3038 else
3039   am__leading_dot=_
3040 fi
3041 rmdir .tst 2>/dev/null
3042
3043 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3044   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3045   # is not polluted with repeated "-I."
3046   am__isrc=' -I$(srcdir)'
3047   # test to see if srcdir already configured
3048   if test -f $srcdir/config.status; then
3049     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3050   fi
3051 fi
3052
3053 # test whether we have cygpath
3054 if test -z "$CYGPATH_W"; then
3055   if (cygpath --version) >/dev/null 2>/dev/null; then
3056     CYGPATH_W='cygpath -w'
3057   else
3058     CYGPATH_W=echo
3059   fi
3060 fi
3061
3062
3063 # Define the identity of the package.
3064  PACKAGE='pango'
3065  VERSION='1.30.0'
3066
3067
3068 cat >>confdefs.h <<_ACEOF
3069 #define PACKAGE "$PACKAGE"
3070 _ACEOF
3071
3072
3073 cat >>confdefs.h <<_ACEOF
3074 #define VERSION "$VERSION"
3075 _ACEOF
3076
3077 # Some tools Automake needs.
3078
3079 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3080
3081
3082 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3083
3084
3085 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3086
3087
3088 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3089
3090
3091 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3092
3093 # We need awk for the "check" target.  The system "awk" is bad on
3094 # some platforms.
3095 # Always define AMTAR for backward compatibility.  Yes, it's still used
3096 # in the wild :-(  We should find a proper way to deprecate it ...
3097 AMTAR='$${TAR-tar}'
3098
3099 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3100
3101
3102
3103
3104
3105 # Check whether --enable-silent-rules was given.
3106 if test "${enable_silent_rules+set}" = set; then :
3107   enableval=$enable_silent_rules;
3108 fi
3109
3110 case $enable_silent_rules in
3111 yes) AM_DEFAULT_VERBOSITY=0;;
3112 no)  AM_DEFAULT_VERBOSITY=1;;
3113 *)   AM_DEFAULT_VERBOSITY=0;;
3114 esac
3115 am_make=${MAKE-make}
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3117 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3118 if ${am_cv_make_support_nested_variables+:} false; then :
3119   $as_echo_n "(cached) " >&6
3120 else
3121   if $as_echo 'TRUE=$(BAR$(V))
3122 BAR0=false
3123 BAR1=true
3124 V=1
3125 am__doit:
3126         @$(TRUE)
3127 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3128   am_cv_make_support_nested_variables=yes
3129 else
3130   am_cv_make_support_nested_variables=no
3131 fi
3132 fi
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3134 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3135 if test $am_cv_make_support_nested_variables = yes; then
3136     AM_V='$(V)'
3137   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3138 else
3139   AM_V=$AM_DEFAULT_VERBOSITY
3140   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3141 fi
3142 AM_BACKSLASH='\'
3143
3144 ac_config_headers="$ac_config_headers config.h"
3145
3146
3147
3148 PANGO_VERSION_MAJOR=1
3149 PANGO_VERSION_MINOR=30
3150 PANGO_VERSION_MICRO=0
3151 PANGO_VERSION=1.30.0
3152 PANGO_API_VERSION=1.0
3153 PANGO_INTERFACE_AGE=0
3154 PANGO_BINARY_AGE=3000
3155 PANGO_MODULE_VERSION=1.6.0
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167 $as_echo "#define MODULE_VERSION \"1.6.0\"" >>confdefs.h
3168
3169
3170 $as_echo "#define PANGO_BINARY_AGE 3000" >>confdefs.h
3171
3172
3173 $as_echo "#define PANGO_INTERFACE_AGE 0" >>confdefs.h
3174
3175
3176 $as_echo "#define PANGO_VERSION_MAJOR 1" >>confdefs.h
3177
3178
3179 $as_echo "#define PANGO_VERSION_MINOR 30" >>confdefs.h
3180
3181
3182 $as_echo "#define PANGO_VERSION_MICRO 0" >>confdefs.h
3183
3184
3185
3186
3187
3188 VERSION_INFO="3000:0:3000"
3189 PANGO_CURRENT_MINUS_AGE=0
3190
3191
3192
3193
3194 # Make sure we can run config.sub.
3195 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3196   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3197
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3199 $as_echo_n "checking build system type... " >&6; }
3200 if ${ac_cv_build+:} false; then :
3201   $as_echo_n "(cached) " >&6
3202 else
3203   ac_build_alias=$build_alias
3204 test "x$ac_build_alias" = x &&
3205   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3206 test "x$ac_build_alias" = x &&
3207   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3208 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3209   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3210
3211 fi
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3213 $as_echo "$ac_cv_build" >&6; }
3214 case $ac_cv_build in
3215 *-*-*) ;;
3216 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3217 esac
3218 build=$ac_cv_build
3219 ac_save_IFS=$IFS; IFS='-'
3220 set x $ac_cv_build
3221 shift
3222 build_cpu=$1
3223 build_vendor=$2
3224 shift; shift
3225 # Remember, the first character of IFS is used to create $*,
3226 # except with old shells:
3227 build_os=$*
3228 IFS=$ac_save_IFS
3229 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3230
3231
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3233 $as_echo_n "checking host system type... " >&6; }
3234 if ${ac_cv_host+:} false; then :
3235   $as_echo_n "(cached) " >&6
3236 else
3237   if test "x$host_alias" = x; then
3238   ac_cv_host=$ac_cv_build
3239 else
3240   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3241     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3242 fi
3243
3244 fi
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3246 $as_echo "$ac_cv_host" >&6; }
3247 case $ac_cv_host in
3248 *-*-*) ;;
3249 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3250 esac
3251 host=$ac_cv_host
3252 ac_save_IFS=$IFS; IFS='-'
3253 set x $ac_cv_host
3254 shift
3255 host_cpu=$1
3256 host_vendor=$2
3257 shift; shift
3258 # Remember, the first character of IFS is used to create $*,
3259 # except with old shells:
3260 host_os=$*
3261 IFS=$ac_save_IFS
3262 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3263
3264
3265
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
3267 $as_echo_n "checking for native Win32... " >&6; }
3268 case "$host" in
3269   *-*-mingw*)
3270     pango_os_win32=yes
3271     case "$host" in
3272       x86_64-*-*)
3273         LIB_EXE_MACHINE_FLAG=X64
3274         ;;
3275       *)
3276         LIB_EXE_MACHINE_FLAG=X86
3277         ;;
3278     esac
3279     ;;
3280   *)
3281     pango_os_win32=no
3282     ;;
3283 esac
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pango_os_win32" >&5
3285 $as_echo "$pango_os_win32" >&6; }
3286
3287
3288
3289  if test "$pango_os_win32" = "yes"; then
3290   OS_WIN32_TRUE=
3291   OS_WIN32_FALSE='#'
3292 else
3293   OS_WIN32_TRUE='#'
3294   OS_WIN32_FALSE=
3295 fi
3296
3297
3298 ac_ext=c
3299 ac_cpp='$CPP $CPPFLAGS'
3300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 if test -n "$ac_tool_prefix"; then
3304   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3305 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_CC+:} false; then :
3309   $as_echo_n "(cached) " >&6
3310 else
3311   if test -n "$CC"; then
3312   ac_cv_prog_CC="$CC" # Let the user override the test.
3313 else
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 for as_dir in $PATH
3316 do
3317   IFS=$as_save_IFS
3318   test -z "$as_dir" && as_dir=.
3319     for ac_exec_ext in '' $ac_executable_extensions; do
3320   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3321     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323     break 2
3324   fi
3325 done
3326   done
3327 IFS=$as_save_IFS
3328
3329 fi
3330 fi
3331 CC=$ac_cv_prog_CC
3332 if test -n "$CC"; then
3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3334 $as_echo "$CC" >&6; }
3335 else
3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3338 fi
3339
3340
3341 fi
3342 if test -z "$ac_cv_prog_CC"; then
3343   ac_ct_CC=$CC
3344   # Extract the first word of "gcc", so it can be a program name with args.
3345 set dummy gcc; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3349   $as_echo_n "(cached) " >&6
3350 else
3351   if test -n "$ac_ct_CC"; then
3352   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3356 do
3357   IFS=$as_save_IFS
3358   test -z "$as_dir" && as_dir=.
3359     for ac_exec_ext in '' $ac_executable_extensions; do
3360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361     ac_cv_prog_ac_ct_CC="gcc"
3362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363     break 2
3364   fi
3365 done
3366   done
3367 IFS=$as_save_IFS
3368
3369 fi
3370 fi
3371 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3372 if test -n "$ac_ct_CC"; then
3373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3374 $as_echo "$ac_ct_CC" >&6; }
3375 else
3376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3378 fi
3379
3380   if test "x$ac_ct_CC" = x; then
3381     CC=""
3382   else
3383     case $cross_compiling:$ac_tool_warned in
3384 yes:)
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3387 ac_tool_warned=yes ;;
3388 esac
3389     CC=$ac_ct_CC
3390   fi
3391 else
3392   CC="$ac_cv_prog_CC"
3393 fi
3394
3395 if test -z "$CC"; then
3396           if test -n "$ac_tool_prefix"; then
3397     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3398 set dummy ${ac_tool_prefix}cc; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if ${ac_cv_prog_CC+:} false; then :
3402   $as_echo_n "(cached) " >&6
3403 else
3404   if test -n "$CC"; then
3405   ac_cv_prog_CC="$CC" # Let the user override the test.
3406 else
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 for as_dir in $PATH
3409 do
3410   IFS=$as_save_IFS
3411   test -z "$as_dir" && as_dir=.
3412     for ac_exec_ext in '' $ac_executable_extensions; do
3413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414     ac_cv_prog_CC="${ac_tool_prefix}cc"
3415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416     break 2
3417   fi
3418 done
3419   done
3420 IFS=$as_save_IFS
3421
3422 fi
3423 fi
3424 CC=$ac_cv_prog_CC
3425 if test -n "$CC"; then
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3427 $as_echo "$CC" >&6; }
3428 else
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 fi
3432
3433
3434   fi
3435 fi
3436 if test -z "$CC"; then
3437   # Extract the first word of "cc", so it can be a program name with args.
3438 set dummy cc; ac_word=$2
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440 $as_echo_n "checking for $ac_word... " >&6; }
3441 if ${ac_cv_prog_CC+:} false; then :
3442   $as_echo_n "(cached) " >&6
3443 else
3444   if test -n "$CC"; then
3445   ac_cv_prog_CC="$CC" # Let the user override the test.
3446 else
3447   ac_prog_rejected=no
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449 for as_dir in $PATH
3450 do
3451   IFS=$as_save_IFS
3452   test -z "$as_dir" && as_dir=.
3453     for ac_exec_ext in '' $ac_executable_extensions; do
3454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3455     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3456        ac_prog_rejected=yes
3457        continue
3458      fi
3459     ac_cv_prog_CC="cc"
3460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461     break 2
3462   fi
3463 done
3464   done
3465 IFS=$as_save_IFS
3466
3467 if test $ac_prog_rejected = yes; then
3468   # We found a bogon in the path, so make sure we never use it.
3469   set dummy $ac_cv_prog_CC
3470   shift
3471   if test $# != 0; then
3472     # We chose a different compiler from the bogus one.
3473     # However, it has the same basename, so the bogon will be chosen
3474     # first if we set CC to just the basename; use the full file name.
3475     shift
3476     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3477   fi
3478 fi
3479 fi
3480 fi
3481 CC=$ac_cv_prog_CC
3482 if test -n "$CC"; then
3483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3484 $as_echo "$CC" >&6; }
3485 else
3486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3488 fi
3489
3490
3491 fi
3492 if test -z "$CC"; then
3493   if test -n "$ac_tool_prefix"; then
3494   for ac_prog in cl.exe
3495   do
3496     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if ${ac_cv_prog_CC+:} false; then :
3501   $as_echo_n "(cached) " >&6
3502 else
3503   if test -n "$CC"; then
3504   ac_cv_prog_CC="$CC" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3508 do
3509   IFS=$as_save_IFS
3510   test -z "$as_dir" && as_dir=.
3511     for ac_exec_ext in '' $ac_executable_extensions; do
3512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515     break 2
3516   fi
3517 done
3518   done
3519 IFS=$as_save_IFS
3520
3521 fi
3522 fi
3523 CC=$ac_cv_prog_CC
3524 if test -n "$CC"; then
3525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3526 $as_echo "$CC" >&6; }
3527 else
3528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3530 fi
3531
3532
3533     test -n "$CC" && break
3534   done
3535 fi
3536 if test -z "$CC"; then
3537   ac_ct_CC=$CC
3538   for ac_prog in cl.exe
3539 do
3540   # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3545   $as_echo_n "(cached) " >&6
3546 else
3547   if test -n "$ac_ct_CC"; then
3548   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3552 do
3553   IFS=$as_save_IFS
3554   test -z "$as_dir" && as_dir=.
3555     for ac_exec_ext in '' $ac_executable_extensions; do
3556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557     ac_cv_prog_ac_ct_CC="$ac_prog"
3558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559     break 2
3560   fi
3561 done
3562   done
3563 IFS=$as_save_IFS
3564
3565 fi
3566 fi
3567 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3568 if test -n "$ac_ct_CC"; then
3569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3570 $as_echo "$ac_ct_CC" >&6; }
3571 else
3572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 fi
3575
3576
3577   test -n "$ac_ct_CC" && break
3578 done
3579
3580   if test "x$ac_ct_CC" = x; then
3581     CC=""
3582   else
3583     case $cross_compiling:$ac_tool_warned in
3584 yes:)
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3587 ac_tool_warned=yes ;;
3588 esac
3589     CC=$ac_ct_CC
3590   fi
3591 fi
3592
3593 fi
3594
3595
3596 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598 as_fn_error $? "no acceptable C compiler found in \$PATH
3599 See \`config.log' for more details" "$LINENO" 5; }
3600
3601 # Provide some information about the compiler.
3602 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3603 set X $ac_compile
3604 ac_compiler=$2
3605 for ac_option in --version -v -V -qversion; do
3606   { { ac_try="$ac_compiler $ac_option >&5"
3607 case "(($ac_try" in
3608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609   *) ac_try_echo=$ac_try;;
3610 esac
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3614   ac_status=$?
3615   if test -s conftest.err; then
3616     sed '10a\
3617 ... rest of stderr output deleted ...
3618          10q' conftest.err >conftest.er1
3619     cat conftest.er1 >&5
3620   fi
3621   rm -f conftest.er1 conftest.err
3622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3623   test $ac_status = 0; }
3624 done
3625
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h.  */
3628
3629 int
3630 main ()
3631 {
3632
3633   ;
3634   return 0;
3635 }
3636 _ACEOF
3637 ac_clean_files_save=$ac_clean_files
3638 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3639 # Try to create an executable without -o first, disregard a.out.
3640 # It will help us diagnose broken compilers, and finding out an intuition
3641 # of exeext.
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3643 $as_echo_n "checking whether the C compiler works... " >&6; }
3644 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3645
3646 # The possible output files:
3647 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3648
3649 ac_rmfiles=
3650 for ac_file in $ac_files
3651 do
3652   case $ac_file in
3653     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3654     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3655   esac
3656 done
3657 rm -f $ac_rmfiles
3658
3659 if { { ac_try="$ac_link_default"
3660 case "(($ac_try" in
3661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662   *) ac_try_echo=$ac_try;;
3663 esac
3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 $as_echo "$ac_try_echo"; } >&5
3666   (eval "$ac_link_default") 2>&5
3667   ac_status=$?
3668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669   test $ac_status = 0; }; then :
3670   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3672 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3673 # so that the user can short-circuit this test for compilers unknown to
3674 # Autoconf.
3675 for ac_file in $ac_files ''
3676 do
3677   test -f "$ac_file" || continue
3678   case $ac_file in
3679     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3680         ;;
3681     [ab].out )
3682         # We found the default executable, but exeext='' is most
3683         # certainly right.
3684         break;;
3685     *.* )
3686         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3687         then :; else
3688            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3689         fi
3690         # We set ac_cv_exeext here because the later test for it is not
3691         # safe: cross compilers may not add the suffix if given an `-o'
3692         # argument, so we may need to know it at that point already.
3693         # Even if this section looks crufty: it has the advantage of
3694         # actually working.
3695         break;;
3696     * )
3697         break;;
3698   esac
3699 done
3700 test "$ac_cv_exeext" = no && ac_cv_exeext=
3701
3702 else
3703   ac_file=''
3704 fi
3705 if test -z "$ac_file"; then :
3706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3708 $as_echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3710
3711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error 77 "C compiler cannot create executables
3714 See \`config.log' for more details" "$LINENO" 5; }
3715 else
3716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3717 $as_echo "yes" >&6; }
3718 fi
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3720 $as_echo_n "checking for C compiler default output file name... " >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3722 $as_echo "$ac_file" >&6; }
3723 ac_exeext=$ac_cv_exeext
3724
3725 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3726 ac_clean_files=$ac_clean_files_save
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3728 $as_echo_n "checking for suffix of executables... " >&6; }
3729 if { { ac_try="$ac_link"
3730 case "(($ac_try" in
3731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732   *) ac_try_echo=$ac_try;;
3733 esac
3734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3735 $as_echo "$ac_try_echo"; } >&5
3736   (eval "$ac_link") 2>&5
3737   ac_status=$?
3738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739   test $ac_status = 0; }; then :
3740   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3741 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3742 # work properly (i.e., refer to `conftest.exe'), while it won't with
3743 # `rm'.
3744 for ac_file in conftest.exe conftest conftest.*; do
3745   test -f "$ac_file" || continue
3746   case $ac_file in
3747     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3748     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3749           break;;
3750     * ) break;;
3751   esac
3752 done
3753 else
3754   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3756 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3757 See \`config.log' for more details" "$LINENO" 5; }
3758 fi
3759 rm -f conftest conftest$ac_cv_exeext
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3761 $as_echo "$ac_cv_exeext" >&6; }
3762
3763 rm -f conftest.$ac_ext
3764 EXEEXT=$ac_cv_exeext
3765 ac_exeext=$EXEEXT
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h.  */
3768 #include <stdio.h>
3769 int
3770 main ()
3771 {
3772 FILE *f = fopen ("conftest.out", "w");
3773  return ferror (f) || fclose (f) != 0;
3774
3775   ;
3776   return 0;
3777 }
3778 _ACEOF
3779 ac_clean_files="$ac_clean_files conftest.out"
3780 # Check that the compiler produces executables we can run.  If not, either
3781 # the compiler is broken, or we cross compile.
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3783 $as_echo_n "checking whether we are cross compiling... " >&6; }
3784 if test "$cross_compiling" != yes; then
3785   { { ac_try="$ac_link"
3786 case "(($ac_try" in
3787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788   *) ac_try_echo=$ac_try;;
3789 esac
3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3791 $as_echo "$ac_try_echo"; } >&5
3792   (eval "$ac_link") 2>&5
3793   ac_status=$?
3794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795   test $ac_status = 0; }
3796   if { ac_try='./conftest$ac_cv_exeext'
3797   { { case "(($ac_try" in
3798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799   *) ac_try_echo=$ac_try;;
3800 esac
3801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802 $as_echo "$ac_try_echo"; } >&5
3803   (eval "$ac_try") 2>&5
3804   ac_status=$?
3805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806   test $ac_status = 0; }; }; then
3807     cross_compiling=no
3808   else
3809     if test "$cross_compiling" = maybe; then
3810         cross_compiling=yes
3811     else
3812         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814 as_fn_error $? "cannot run C compiled programs.
3815 If you meant to cross compile, use \`--host'.
3816 See \`config.log' for more details" "$LINENO" 5; }
3817     fi
3818   fi
3819 fi
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3821 $as_echo "$cross_compiling" >&6; }
3822
3823 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3824 ac_clean_files=$ac_clean_files_save
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3826 $as_echo_n "checking for suffix of object files... " >&6; }
3827 if ${ac_cv_objext+:} false; then :
3828   $as_echo_n "(cached) " >&6
3829 else
3830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h.  */
3832
3833 int
3834 main ()
3835 {
3836
3837   ;
3838   return 0;
3839 }
3840 _ACEOF
3841 rm -f conftest.o conftest.obj
3842 if { { ac_try="$ac_compile"
3843 case "(($ac_try" in
3844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845   *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849   (eval "$ac_compile") 2>&5
3850   ac_status=$?
3851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852   test $ac_status = 0; }; then :
3853   for ac_file in conftest.o conftest.obj conftest.*; do
3854   test -f "$ac_file" || continue;
3855   case $ac_file in
3856     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3857     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3858        break;;
3859   esac
3860 done
3861 else
3862   $as_echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3864
3865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error $? "cannot compute suffix of object files: cannot compile
3868 See \`config.log' for more details" "$LINENO" 5; }
3869 fi
3870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3871 fi
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3873 $as_echo "$ac_cv_objext" >&6; }
3874 OBJEXT=$ac_cv_objext
3875 ac_objext=$OBJEXT
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3877 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3878 if ${ac_cv_c_compiler_gnu+:} false; then :
3879   $as_echo_n "(cached) " >&6
3880 else
3881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h.  */
3883
3884 int
3885 main ()
3886 {
3887 #ifndef __GNUC__
3888        choke me
3889 #endif
3890
3891   ;
3892   return 0;
3893 }
3894 _ACEOF
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896   ac_compiler_gnu=yes
3897 else
3898   ac_compiler_gnu=no
3899 fi
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3902
3903 fi
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3905 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3906 if test $ac_compiler_gnu = yes; then
3907   GCC=yes
3908 else
3909   GCC=
3910 fi
3911 ac_test_CFLAGS=${CFLAGS+set}
3912 ac_save_CFLAGS=$CFLAGS
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3914 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3915 if ${ac_cv_prog_cc_g+:} false; then :
3916   $as_echo_n "(cached) " >&6
3917 else
3918   ac_save_c_werror_flag=$ac_c_werror_flag
3919    ac_c_werror_flag=yes
3920    ac_cv_prog_cc_g=no
3921    CFLAGS="-g"
3922    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h.  */
3924
3925 int
3926 main ()
3927 {
3928
3929   ;
3930   return 0;
3931 }
3932 _ACEOF
3933 if ac_fn_c_try_compile "$LINENO"; then :
3934   ac_cv_prog_cc_g=yes
3935 else
3936   CFLAGS=""
3937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h.  */
3939
3940 int
3941 main ()
3942 {
3943
3944   ;
3945   return 0;
3946 }
3947 _ACEOF
3948 if ac_fn_c_try_compile "$LINENO"; then :
3949
3950 else
3951   ac_c_werror_flag=$ac_save_c_werror_flag
3952          CFLAGS="-g"
3953          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h.  */
3955
3956 int
3957 main ()
3958 {
3959
3960   ;
3961   return 0;
3962 }
3963 _ACEOF
3964 if ac_fn_c_try_compile "$LINENO"; then :
3965   ac_cv_prog_cc_g=yes
3966 fi
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 fi
3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3970 fi
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972    ac_c_werror_flag=$ac_save_c_werror_flag
3973 fi
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3975 $as_echo "$ac_cv_prog_cc_g" >&6; }
3976 if test "$ac_test_CFLAGS" = set; then
3977   CFLAGS=$ac_save_CFLAGS
3978 elif test $ac_cv_prog_cc_g = yes; then
3979   if test "$GCC" = yes; then
3980     CFLAGS="-g -O2"
3981   else
3982     CFLAGS="-g"
3983   fi
3984 else
3985   if test "$GCC" = yes; then
3986     CFLAGS="-O2"
3987   else
3988     CFLAGS=
3989   fi
3990 fi
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3993 if ${ac_cv_prog_cc_c89+:} false; then :
3994   $as_echo_n "(cached) " >&6
3995 else
3996   ac_cv_prog_cc_c89=no
3997 ac_save_CC=$CC
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h.  */
4000 #include <stdarg.h>
4001 #include <stdio.h>
4002 #include <sys/types.h>
4003 #include <sys/stat.h>
4004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4005 struct buf { int x; };
4006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4007 static char *e (p, i)
4008      char **p;
4009      int i;
4010 {
4011   return p[i];
4012 }
4013 static char *f (char * (*g) (char **, int), char **p, ...)
4014 {
4015   char *s;
4016   va_list v;
4017   va_start (v,p);
4018   s = g (p, va_arg (v,int));
4019   va_end (v);
4020   return s;
4021 }
4022
4023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4024    function prototypes and stuff, but not '\xHH' hex character constants.
4025    These don't provoke an error unfortunately, instead are silently treated
4026    as 'x'.  The following induces an error, until -std is added to get
4027    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4028    array size at least.  It's necessary to write '\x00'==0 to get something
4029    that's true only with -std.  */
4030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4031
4032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4033    inside strings and character constants.  */
4034 #define FOO(x) 'x'
4035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4036
4037 int test (int i, double x);
4038 struct s1 {int (*f) (int a);};
4039 struct s2 {int (*f) (double a);};
4040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4041 int argc;
4042 char **argv;
4043 int
4044 main ()
4045 {
4046 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4047   ;
4048   return 0;
4049 }
4050 _ACEOF
4051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4052         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4053 do
4054   CC="$ac_save_CC $ac_arg"
4055   if ac_fn_c_try_compile "$LINENO"; then :
4056   ac_cv_prog_cc_c89=$ac_arg
4057 fi
4058 rm -f core conftest.err conftest.$ac_objext
4059   test "x$ac_cv_prog_cc_c89" != "xno" && break
4060 done
4061 rm -f conftest.$ac_ext
4062 CC=$ac_save_CC
4063
4064 fi
4065 # AC_CACHE_VAL
4066 case "x$ac_cv_prog_cc_c89" in
4067   x)
4068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4069 $as_echo "none needed" >&6; } ;;
4070   xno)
4071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4072 $as_echo "unsupported" >&6; } ;;
4073   *)
4074     CC="$CC $ac_cv_prog_cc_c89"
4075     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4077 esac
4078 if test "x$ac_cv_prog_cc_c89" != xno; then :
4079
4080 fi
4081
4082 ac_ext=c
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 DEPDIR="${am__leading_dot}deps"
4088
4089 ac_config_commands="$ac_config_commands depfiles"
4090
4091
4092 am_make=${MAKE-make}
4093 cat > confinc << 'END'
4094 am__doit:
4095         @echo this is the am__doit target
4096 .PHONY: am__doit
4097 END
4098 # If we don't find an include directive, just comment out the code.
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4100 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4101 am__include="#"
4102 am__quote=
4103 _am_result=none
4104 # First try GNU make style include.
4105 echo "include confinc" > confmf
4106 # Ignore all kinds of additional output from `make'.
4107 case `$am_make -s -f confmf 2> /dev/null` in #(
4108 *the\ am__doit\ target*)
4109   am__include=include
4110   am__quote=
4111   _am_result=GNU
4112   ;;
4113 esac
4114 # Now try BSD make style include.
4115 if test "$am__include" = "#"; then
4116    echo '.include "confinc"' > confmf
4117    case `$am_make -s -f confmf 2> /dev/null` in #(
4118    *the\ am__doit\ target*)
4119      am__include=.include
4120      am__quote="\""
4121      _am_result=BSD
4122      ;;
4123    esac
4124 fi
4125
4126
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4128 $as_echo "$_am_result" >&6; }
4129 rm -f confinc confmf
4130
4131 # Check whether --enable-dependency-tracking was given.
4132 if test "${enable_dependency_tracking+set}" = set; then :
4133   enableval=$enable_dependency_tracking;
4134 fi
4135
4136 if test "x$enable_dependency_tracking" != xno; then
4137   am_depcomp="$ac_aux_dir/depcomp"
4138   AMDEPBACKSLASH='\'
4139   am__nodep='_no'
4140 fi
4141  if test "x$enable_dependency_tracking" != xno; then
4142   AMDEP_TRUE=
4143   AMDEP_FALSE='#'
4144 else
4145   AMDEP_TRUE='#'
4146   AMDEP_FALSE=
4147 fi
4148
4149
4150
4151 depcc="$CC"   am_compiler_list=
4152
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4154 $as_echo_n "checking dependency style of $depcc... " >&6; }
4155 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4156   $as_echo_n "(cached) " >&6
4157 else
4158   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4159   # We make a subdir and do the tests there.  Otherwise we can end up
4160   # making bogus files that we don't know about and never remove.  For
4161   # instance it was reported that on HP-UX the gcc test will end up
4162   # making a dummy file named `D' -- because `-MD' means `put the output
4163   # in D'.
4164   rm -rf conftest.dir
4165   mkdir conftest.dir
4166   # Copy depcomp to subdir because otherwise we won't find it if we're
4167   # using a relative directory.
4168   cp "$am_depcomp" conftest.dir
4169   cd conftest.dir
4170   # We will build objects and dependencies in a subdirectory because
4171   # it helps to detect inapplicable dependency modes.  For instance
4172   # both Tru64's cc and ICC support -MD to output dependencies as a
4173   # side effect of compilation, but ICC will put the dependencies in
4174   # the current directory while Tru64 will put them in the object
4175   # directory.
4176   mkdir sub
4177
4178   am_cv_CC_dependencies_compiler_type=none
4179   if test "$am_compiler_list" = ""; then
4180      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4181   fi
4182   am__universal=false
4183   case " $depcc " in #(
4184      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4185      esac
4186
4187   for depmode in $am_compiler_list; do
4188     # Setup a source with many dependencies, because some compilers
4189     # like to wrap large dependency lists on column 80 (with \), and
4190     # we should not choose a depcomp mode which is confused by this.
4191     #
4192     # We need to recreate these files for each test, as the compiler may
4193     # overwrite some of them when testing with obscure command lines.
4194     # This happens at least with the AIX C compiler.
4195     : > sub/conftest.c
4196     for i in 1 2 3 4 5 6; do
4197       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4198       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4199       # Solaris 8's {/usr,}/bin/sh.
4200       touch sub/conftst$i.h
4201     done
4202     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4203
4204     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4205     # mode.  It turns out that the SunPro C++ compiler does not properly
4206     # handle `-M -o', and we need to detect this.  Also, some Intel
4207     # versions had trouble with output in subdirs
4208     am__obj=sub/conftest.${OBJEXT-o}
4209     am__minus_obj="-o $am__obj"
4210     case $depmode in
4211     gcc)
4212       # This depmode causes a compiler race in universal mode.
4213       test "$am__universal" = false || continue
4214       ;;
4215     nosideeffect)
4216       # after this tag, mechanisms are not by side-effect, so they'll
4217       # only be used when explicitly requested
4218       if test "x$enable_dependency_tracking" = xyes; then
4219         continue
4220       else
4221         break
4222       fi
4223       ;;
4224     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4225       # This compiler won't grok `-c -o', but also, the minuso test has
4226       # not run yet.  These depmodes are late enough in the game, and
4227       # so weak that their functioning should not be impacted.
4228       am__obj=conftest.${OBJEXT-o}
4229       am__minus_obj=
4230       ;;
4231     none) break ;;
4232     esac
4233     if depmode=$depmode \
4234        source=sub/conftest.c object=$am__obj \
4235        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4236        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4237          >/dev/null 2>conftest.err &&
4238        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4239        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4240        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4241        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4242       # icc doesn't choke on unknown options, it will just issue warnings
4243       # or remarks (even with -Werror).  So we grep stderr for any message
4244       # that says an option was ignored or not supported.
4245       # When given -MP, icc 7.0 and 7.1 complain thusly:
4246       #   icc: Command line warning: ignoring option '-M'; no argument required
4247       # The diagnosis changed in icc 8.0:
4248       #   icc: Command line remark: option '-MP' not supported
4249       if (grep 'ignoring option' conftest.err ||
4250           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4251         am_cv_CC_dependencies_compiler_type=$depmode
4252         break
4253       fi
4254     fi
4255   done
4256
4257   cd ..
4258   rm -rf conftest.dir
4259 else
4260   am_cv_CC_dependencies_compiler_type=none
4261 fi
4262
4263 fi
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4265 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4266 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4267
4268  if
4269   test "x$enable_dependency_tracking" != xno \
4270   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4271   am__fastdepCC_TRUE=
4272   am__fastdepCC_FALSE='#'
4273 else
4274   am__fastdepCC_TRUE='#'
4275   am__fastdepCC_FALSE=
4276 fi
4277
4278
4279
4280 if test -n "$ac_tool_prefix"; then
4281   for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4282   do
4283     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286 $as_echo_n "checking for $ac_word... " >&6; }
4287 if ${ac_cv_prog_CXX+:} false; then :
4288   $as_echo_n "(cached) " >&6
4289 else
4290   if test -n "$CXX"; then
4291   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4292 else
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 for as_dir in $PATH
4295 do
4296   IFS=$as_save_IFS
4297   test -z "$as_dir" && as_dir=.
4298     for ac_exec_ext in '' $ac_executable_extensions; do
4299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302     break 2
4303   fi
4304 done
4305   done
4306 IFS=$as_save_IFS
4307
4308 fi
4309 fi
4310 CXX=$ac_cv_prog_CXX
4311 if test -n "$CXX"; then
4312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4313 $as_echo "$CXX" >&6; }
4314 else
4315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4317 fi
4318
4319
4320     test -n "$CXX" && break
4321   done
4322 fi
4323 if test -z "$CXX"; then
4324   ac_ct_CXX=$CXX
4325   for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4326 do
4327   # Extract the first word of "$ac_prog", so it can be a program name with args.
4328 set dummy $ac_prog; ac_word=$2
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4332   $as_echo_n "(cached) " >&6
4333 else
4334   if test -n "$ac_ct_CXX"; then
4335   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4336 else
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 for as_dir in $PATH
4339 do
4340   IFS=$as_save_IFS
4341   test -z "$as_dir" && as_dir=.
4342     for ac_exec_ext in '' $ac_executable_extensions; do
4343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344     ac_cv_prog_ac_ct_CXX="$ac_prog"
4345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346     break 2
4347   fi
4348 done
4349   done
4350 IFS=$as_save_IFS
4351
4352 fi
4353 fi
4354 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4355 if test -n "$ac_ct_CXX"; then
4356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4357 $as_echo "$ac_ct_CXX" >&6; }
4358 else
4359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4361 fi
4362
4363
4364   test -n "$ac_ct_CXX" && break
4365 done
4366
4367   if test "x$ac_ct_CXX" = x; then
4368     CXX="gcc"
4369   else
4370     case $cross_compiling:$ac_tool_warned in
4371 yes:)
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4374 ac_tool_warned=yes ;;
4375 esac
4376     CXX=$ac_ct_CXX
4377   fi
4378 fi
4379
4380
4381 ac_ext=cpp
4382 ac_cpp='$CXXCPP $CPPFLAGS'
4383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4386
4387 ac_ext=cpp
4388 ac_cpp='$CXXCPP $CPPFLAGS'
4389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392 if test -z "$CXX"; then
4393   if test -n "$CCC"; then
4394     CXX=$CCC
4395   else
4396     if test -n "$ac_tool_prefix"; then
4397   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4398   do
4399     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_CXX+:} false; then :
4404   $as_echo_n "(cached) " >&6
4405 else
4406   if test -n "$CXX"; then
4407   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4408 else
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4411 do
4412   IFS=$as_save_IFS
4413   test -z "$as_dir" && as_dir=.
4414     for ac_exec_ext in '' $ac_executable_extensions; do
4415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418     break 2
4419   fi
4420 done
4421   done
4422 IFS=$as_save_IFS
4423
4424 fi
4425 fi
4426 CXX=$ac_cv_prog_CXX
4427 if test -n "$CXX"; then
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4429 $as_echo "$CXX" >&6; }
4430 else
4431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4433 fi
4434
4435
4436     test -n "$CXX" && break
4437   done
4438 fi
4439 if test -z "$CXX"; then
4440   ac_ct_CXX=$CXX
4441   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4442 do
4443   # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy $ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4448   $as_echo_n "(cached) " >&6
4449 else
4450   if test -n "$ac_ct_CXX"; then
4451   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4455 do
4456   IFS=$as_save_IFS
4457   test -z "$as_dir" && as_dir=.
4458     for ac_exec_ext in '' $ac_executable_extensions; do
4459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460     ac_cv_prog_ac_ct_CXX="$ac_prog"
4461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462     break 2
4463   fi
4464 done
4465   done
4466 IFS=$as_save_IFS
4467
4468 fi
4469 fi
4470 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4471 if test -n "$ac_ct_CXX"; then
4472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4473 $as_echo "$ac_ct_CXX" >&6; }
4474 else
4475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4477 fi
4478
4479
4480   test -n "$ac_ct_CXX" && break
4481 done
4482
4483   if test "x$ac_ct_CXX" = x; then
4484     CXX="g++"
4485   else
4486     case $cross_compiling:$ac_tool_warned in
4487 yes:)
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4491 esac
4492     CXX=$ac_ct_CXX
4493   fi
4494 fi
4495
4496   fi
4497 fi
4498 # Provide some information about the compiler.
4499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4500 set X $ac_compile
4501 ac_compiler=$2
4502 for ac_option in --version -v -V -qversion; do
4503   { { ac_try="$ac_compiler $ac_option >&5"
4504 case "(($ac_try" in
4505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506   *) ac_try_echo=$ac_try;;
4507 esac
4508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4511   ac_status=$?
4512   if test -s conftest.err; then
4513     sed '10a\
4514 ... rest of stderr output deleted ...
4515          10q' conftest.err >conftest.er1
4516     cat conftest.er1 >&5
4517   fi
4518   rm -f conftest.er1 conftest.err
4519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520   test $ac_status = 0; }
4521 done
4522
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4524 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4525 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4526   $as_echo_n "(cached) " >&6
4527 else
4528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h.  */
4530
4531 int
4532 main ()
4533 {
4534 #ifndef __GNUC__
4535        choke me
4536 #endif
4537
4538   ;
4539   return 0;
4540 }
4541 _ACEOF
4542 if ac_fn_cxx_try_compile "$LINENO"; then :
4543   ac_compiler_gnu=yes
4544 else
4545   ac_compiler_gnu=no
4546 fi
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4549
4550 fi
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4552 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4553 if test $ac_compiler_gnu = yes; then
4554   GXX=yes
4555 else
4556   GXX=
4557 fi
4558 ac_test_CXXFLAGS=${CXXFLAGS+set}
4559 ac_save_CXXFLAGS=$CXXFLAGS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4561 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4562 if ${ac_cv_prog_cxx_g+:} false; then :
4563   $as_echo_n "(cached) " >&6
4564 else
4565   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4566    ac_cxx_werror_flag=yes
4567    ac_cv_prog_cxx_g=no
4568    CXXFLAGS="-g"
4569    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h.  */
4571
4572 int
4573 main ()
4574 {
4575
4576   ;
4577   return 0;
4578 }
4579 _ACEOF
4580 if ac_fn_cxx_try_compile "$LINENO"; then :
4581   ac_cv_prog_cxx_g=yes
4582 else
4583   CXXFLAGS=""
4584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h.  */
4586
4587 int
4588 main ()
4589 {
4590
4591   ;
4592   return 0;
4593 }
4594 _ACEOF
4595 if ac_fn_cxx_try_compile "$LINENO"; then :
4596
4597 else
4598   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4599          CXXFLAGS="-g"
4600          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h.  */
4602
4603 int
4604 main ()
4605 {
4606
4607   ;
4608   return 0;
4609 }
4610 _ACEOF
4611 if ac_fn_cxx_try_compile "$LINENO"; then :
4612   ac_cv_prog_cxx_g=yes
4613 fi
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 fi
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 fi
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4620 fi
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4622 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4623 if test "$ac_test_CXXFLAGS" = set; then
4624   CXXFLAGS=$ac_save_CXXFLAGS
4625 elif test $ac_cv_prog_cxx_g = yes; then
4626   if test "$GXX" = yes; then
4627     CXXFLAGS="-g -O2"
4628   else
4629     CXXFLAGS="-g"
4630   fi
4631 else
4632   if test "$GXX" = yes; then
4633     CXXFLAGS="-O2"
4634   else
4635     CXXFLAGS=
4636   fi
4637 fi
4638 ac_ext=cpp
4639 ac_cpp='$CXXCPP $CPPFLAGS'
4640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4643
4644 depcc="$CXX"  am_compiler_list=
4645
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4647 $as_echo_n "checking dependency style of $depcc... " >&6; }
4648 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4649   $as_echo_n "(cached) " >&6
4650 else
4651   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4652   # We make a subdir and do the tests there.  Otherwise we can end up
4653   # making bogus files that we don't know about and never remove.  For
4654   # instance it was reported that on HP-UX the gcc test will end up
4655   # making a dummy file named `D' -- because `-MD' means `put the output
4656   # in D'.
4657   rm -rf conftest.dir
4658   mkdir conftest.dir
4659   # Copy depcomp to subdir because otherwise we won't find it if we're
4660   # using a relative directory.
4661   cp "$am_depcomp" conftest.dir
4662   cd conftest.dir
4663   # We will build objects and dependencies in a subdirectory because
4664   # it helps to detect inapplicable dependency modes.  For instance
4665   # both Tru64's cc and ICC support -MD to output dependencies as a
4666   # side effect of compilation, but ICC will put the dependencies in
4667   # the current directory while Tru64 will put them in the object
4668   # directory.
4669   mkdir sub
4670
4671   am_cv_CXX_dependencies_compiler_type=none
4672   if test "$am_compiler_list" = ""; then
4673      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4674   fi
4675   am__universal=false
4676   case " $depcc " in #(
4677      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4678      esac
4679
4680   for depmode in $am_compiler_list; do
4681     # Setup a source with many dependencies, because some compilers
4682     # like to wrap large dependency lists on column 80 (with \), and
4683     # we should not choose a depcomp mode which is confused by this.
4684     #
4685     # We need to recreate these files for each test, as the compiler may
4686     # overwrite some of them when testing with obscure command lines.
4687     # This happens at least with the AIX C compiler.
4688     : > sub/conftest.c
4689     for i in 1 2 3 4 5 6; do
4690       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4691       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4692       # Solaris 8's {/usr,}/bin/sh.
4693       touch sub/conftst$i.h
4694     done
4695     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4696
4697     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4698     # mode.  It turns out that the SunPro C++ compiler does not properly
4699     # handle `-M -o', and we need to detect this.  Also, some Intel
4700     # versions had trouble with output in subdirs
4701     am__obj=sub/conftest.${OBJEXT-o}
4702     am__minus_obj="-o $am__obj"
4703     case $depmode in
4704     gcc)
4705       # This depmode causes a compiler race in universal mode.
4706       test "$am__universal" = false || continue
4707       ;;
4708     nosideeffect)
4709       # after this tag, mechanisms are not by side-effect, so they'll
4710       # only be used when explicitly requested
4711       if test "x$enable_dependency_tracking" = xyes; then
4712         continue
4713       else
4714         break
4715       fi
4716       ;;
4717     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4718       # This compiler won't grok `-c -o', but also, the minuso test has
4719       # not run yet.  These depmodes are late enough in the game, and
4720       # so weak that their functioning should not be impacted.
4721       am__obj=conftest.${OBJEXT-o}
4722       am__minus_obj=
4723       ;;
4724     none) break ;;
4725     esac
4726     if depmode=$depmode \
4727        source=sub/conftest.c object=$am__obj \
4728        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4729        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4730          >/dev/null 2>conftest.err &&
4731        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4732        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4733        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4734        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4735       # icc doesn't choke on unknown options, it will just issue warnings
4736       # or remarks (even with -Werror).  So we grep stderr for any message
4737       # that says an option was ignored or not supported.
4738       # When given -MP, icc 7.0 and 7.1 complain thusly:
4739       #   icc: Command line warning: ignoring option '-M'; no argument required
4740       # The diagnosis changed in icc 8.0:
4741       #   icc: Command line remark: option '-MP' not supported
4742       if (grep 'ignoring option' conftest.err ||
4743           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4744         am_cv_CXX_dependencies_compiler_type=$depmode
4745         break
4746       fi
4747     fi
4748   done
4749
4750   cd ..
4751   rm -rf conftest.dir
4752 else
4753   am_cv_CXX_dependencies_compiler_type=none
4754 fi
4755
4756 fi
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4758 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4759 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4760
4761  if
4762   test "x$enable_dependency_tracking" != xno \
4763   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4764   am__fastdepCXX_TRUE=
4765   am__fastdepCXX_FALSE='#'
4766 else
4767   am__fastdepCXX_TRUE='#'
4768   am__fastdepCXX_FALSE=
4769 fi
4770
4771
4772
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h.  */
4775
4776 int
4777 main ()
4778 {
4779 class a { int b; } c;
4780   ;
4781   return 0;
4782 }
4783 _ACEOF
4784 if ac_fn_cxx_try_compile "$LINENO"; then :
4785
4786 else
4787   CXX=
4788 fi
4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4790  if test "$CXX" != ""; then
4791   HAVE_CXX_TRUE=
4792   HAVE_CXX_FALSE='#'
4793 else
4794   HAVE_CXX_TRUE='#'
4795   HAVE_CXX_FALSE=
4796 fi
4797
4798 ac_ext=c
4799 ac_cpp='$CPP $CPPFLAGS'
4800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4803
4804
4805 #
4806 # Checks for HarfBuzz
4807 #
4808
4809 ac_ext=cpp
4810 ac_cpp='$CXXCPP $CPPFLAGS'
4811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4814 if test -z "$CXX"; then
4815   if test -n "$CCC"; then
4816     CXX=$CCC
4817   else
4818     if test -n "$ac_tool_prefix"; then
4819   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4820   do
4821     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4825 if ${ac_cv_prog_CXX+:} false; then :
4826   $as_echo_n "(cached) " >&6
4827 else
4828   if test -n "$CXX"; then
4829   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4830 else
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH
4833 do
4834   IFS=$as_save_IFS
4835   test -z "$as_dir" && as_dir=.
4836     for ac_exec_ext in '' $ac_executable_extensions; do
4837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4838     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840     break 2
4841   fi
4842 done
4843   done
4844 IFS=$as_save_IFS
4845
4846 fi
4847 fi
4848 CXX=$ac_cv_prog_CXX
4849 if test -n "$CXX"; then
4850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4851 $as_echo "$CXX" >&6; }
4852 else
4853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4855 fi
4856
4857
4858     test -n "$CXX" && break
4859   done
4860 fi
4861 if test -z "$CXX"; then
4862   ac_ct_CXX=$CXX
4863   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4864 do
4865   # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4870   $as_echo_n "(cached) " >&6
4871 else
4872   if test -n "$ac_ct_CXX"; then
4873   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4877 do
4878   IFS=$as_save_IFS
4879   test -z "$as_dir" && as_dir=.
4880     for ac_exec_ext in '' $ac_executable_extensions; do
4881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4882     ac_cv_prog_ac_ct_CXX="$ac_prog"
4883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884     break 2
4885   fi
4886 done
4887   done
4888 IFS=$as_save_IFS
4889
4890 fi
4891 fi
4892 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4893 if test -n "$ac_ct_CXX"; then
4894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4895 $as_echo "$ac_ct_CXX" >&6; }
4896 else
4897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4899 fi
4900
4901
4902   test -n "$ac_ct_CXX" && break
4903 done
4904
4905   if test "x$ac_ct_CXX" = x; then
4906     CXX="g++"
4907   else
4908     case $cross_compiling:$ac_tool_warned in
4909 yes:)
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4913 esac
4914     CXX=$ac_ct_CXX
4915   fi
4916 fi
4917
4918   fi
4919 fi
4920 # Provide some information about the compiler.
4921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4922 set X $ac_compile
4923 ac_compiler=$2
4924 for ac_option in --version -v -V -qversion; do
4925   { { ac_try="$ac_compiler $ac_option >&5"
4926 case "(($ac_try" in
4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928   *) ac_try_echo=$ac_try;;
4929 esac
4930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4931 $as_echo "$ac_try_echo"; } >&5
4932   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4933   ac_status=$?
4934   if test -s conftest.err; then
4935     sed '10a\
4936 ... rest of stderr output deleted ...
4937          10q' conftest.err >conftest.er1
4938     cat conftest.er1 >&5
4939   fi
4940   rm -f conftest.er1 conftest.err
4941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4942   test $ac_status = 0; }
4943 done
4944
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4946 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4947 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h.  */
4952
4953 int
4954 main ()
4955 {
4956 #ifndef __GNUC__
4957        choke me
4958 #endif
4959
4960   ;
4961   return 0;
4962 }
4963 _ACEOF
4964 if ac_fn_cxx_try_compile "$LINENO"; then :
4965   ac_compiler_gnu=yes
4966 else
4967   ac_compiler_gnu=no
4968 fi
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4971
4972 fi
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4974 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4975 if test $ac_compiler_gnu = yes; then
4976   GXX=yes
4977 else
4978   GXX=
4979 fi
4980 ac_test_CXXFLAGS=${CXXFLAGS+set}
4981 ac_save_CXXFLAGS=$CXXFLAGS
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4983 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4984 if ${ac_cv_prog_cxx_g+:} false; then :
4985   $as_echo_n "(cached) " >&6
4986 else
4987   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4988    ac_cxx_werror_flag=yes
4989    ac_cv_prog_cxx_g=no
4990    CXXFLAGS="-g"
4991    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h.  */
4993
4994 int
4995 main ()
4996 {
4997
4998   ;
4999   return 0;
5000 }
5001 _ACEOF
5002 if ac_fn_cxx_try_compile "$LINENO"; then :
5003   ac_cv_prog_cxx_g=yes
5004 else
5005   CXXFLAGS=""
5006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h.  */
5008
5009 int
5010 main ()
5011 {
5012
5013   ;
5014   return 0;
5015 }
5016 _ACEOF
5017 if ac_fn_cxx_try_compile "$LINENO"; then :
5018
5019 else
5020   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5021          CXXFLAGS="-g"
5022          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h.  */
5024
5025 int
5026 main ()
5027 {
5028
5029   ;
5030   return 0;
5031 }
5032 _ACEOF
5033 if ac_fn_cxx_try_compile "$LINENO"; then :
5034   ac_cv_prog_cxx_g=yes
5035 fi
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 fi
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 fi
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5042 fi
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5044 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5045 if test "$ac_test_CXXFLAGS" = set; then
5046   CXXFLAGS=$ac_save_CXXFLAGS
5047 elif test $ac_cv_prog_cxx_g = yes; then
5048   if test "$GXX" = yes; then
5049     CXXFLAGS="-g -O2"
5050   else
5051     CXXFLAGS="-g"
5052   fi
5053 else
5054   if test "$GXX" = yes; then
5055     CXXFLAGS="-O2"
5056   else
5057     CXXFLAGS=
5058   fi
5059 fi
5060 ac_ext=c
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5065
5066 depcc="$CXX"  am_compiler_list=
5067
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5069 $as_echo_n "checking dependency style of $depcc... " >&6; }
5070 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5071   $as_echo_n "(cached) " >&6
5072 else
5073   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5074   # We make a subdir and do the tests there.  Otherwise we can end up
5075   # making bogus files that we don't know about and never remove.  For
5076   # instance it was reported that on HP-UX the gcc test will end up
5077   # making a dummy file named `D' -- because `-MD' means `put the output
5078   # in D'.
5079   rm -rf conftest.dir
5080   mkdir conftest.dir
5081   # Copy depcomp to subdir because otherwise we won't find it if we're
5082   # using a relative directory.
5083   cp "$am_depcomp" conftest.dir
5084   cd conftest.dir
5085   # We will build objects and dependencies in a subdirectory because
5086   # it helps to detect inapplicable dependency modes.  For instance
5087   # both Tru64's cc and ICC support -MD to output dependencies as a
5088   # side effect of compilation, but ICC will put the dependencies in
5089   # the current directory while Tru64 will put them in the object
5090   # directory.
5091   mkdir sub
5092
5093   am_cv_CXX_dependencies_compiler_type=none
5094   if test "$am_compiler_list" = ""; then
5095      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5096   fi
5097   am__universal=false
5098   case " $depcc " in #(
5099      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5100      esac
5101
5102   for depmode in $am_compiler_list; do
5103     # Setup a source with many dependencies, because some compilers
5104     # like to wrap large dependency lists on column 80 (with \), and
5105     # we should not choose a depcomp mode which is confused by this.
5106     #
5107     # We need to recreate these files for each test, as the compiler may
5108     # overwrite some of them when testing with obscure command lines.
5109     # This happens at least with the AIX C compiler.
5110     : > sub/conftest.c
5111     for i in 1 2 3 4 5 6; do
5112       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5113       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5114       # Solaris 8's {/usr,}/bin/sh.
5115       touch sub/conftst$i.h
5116     done
5117     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5118
5119     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5120     # mode.  It turns out that the SunPro C++ compiler does not properly
5121     # handle `-M -o', and we need to detect this.  Also, some Intel
5122     # versions had trouble with output in subdirs
5123     am__obj=sub/conftest.${OBJEXT-o}
5124     am__minus_obj="-o $am__obj"
5125     case $depmode in
5126     gcc)
5127       # This depmode causes a compiler race in universal mode.
5128       test "$am__universal" = false || continue
5129       ;;
5130     nosideeffect)
5131       # after this tag, mechanisms are not by side-effect, so they'll
5132       # only be used when explicitly requested
5133       if test "x$enable_dependency_tracking" = xyes; then
5134         continue
5135       else
5136         break
5137       fi
5138       ;;
5139     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5140       # This compiler won't grok `-c -o', but also, the minuso test has
5141       # not run yet.  These depmodes are late enough in the game, and
5142       # so weak that their functioning should not be impacted.
5143       am__obj=conftest.${OBJEXT-o}
5144       am__minus_obj=
5145       ;;
5146     none) break ;;
5147     esac
5148     if depmode=$depmode \
5149        source=sub/conftest.c object=$am__obj \
5150        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5151        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5152          >/dev/null 2>conftest.err &&
5153        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5154        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5155        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5156        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5157       # icc doesn't choke on unknown options, it will just issue warnings
5158       # or remarks (even with -Werror).  So we grep stderr for any message
5159       # that says an option was ignored or not supported.
5160       # When given -MP, icc 7.0 and 7.1 complain thusly:
5161       #   icc: Command line warning: ignoring option '-M'; no argument required
5162       # The diagnosis changed in icc 8.0:
5163       #   icc: Command line remark: option '-MP' not supported
5164       if (grep 'ignoring option' conftest.err ||
5165           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5166         am_cv_CXX_dependencies_compiler_type=$depmode
5167         break
5168       fi
5169     fi
5170   done
5171
5172   cd ..
5173   rm -rf conftest.dir
5174 else
5175   am_cv_CXX_dependencies_compiler_type=none
5176 fi
5177
5178 fi
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5180 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5181 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5182
5183  if
5184   test "x$enable_dependency_tracking" != xno \
5185   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5186   am__fastdepCXX_TRUE=
5187   am__fastdepCXX_FALSE='#'
5188 else
5189   am__fastdepCXX_TRUE='#'
5190   am__fastdepCXX_FALSE=
5191 fi
5192
5193
5194
5195 for ac_func in mprotect sysconf getpagesize
5196 do :
5197   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5199 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5200   cat >>confdefs.h <<_ACEOF
5201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5202 _ACEOF
5203
5204 fi
5205 done
5206
5207 ac_ext=c
5208 ac_cpp='$CPP $CPPFLAGS'
5209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5213 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5214 # On Suns, sometimes $CPP names a directory.
5215 if test -n "$CPP" && test -d "$CPP"; then
5216   CPP=
5217 fi
5218 if test -z "$CPP"; then
5219   if ${ac_cv_prog_CPP+:} false; then :
5220   $as_echo_n "(cached) " >&6
5221 else
5222       # Double quotes because CPP needs to be expanded
5223     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5224     do
5225       ac_preproc_ok=false
5226 for ac_c_preproc_warn_flag in '' yes
5227 do
5228   # Use a header file that comes with gcc, so configuring glibc
5229   # with a fresh cross-compiler works.
5230   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5231   # <limits.h> exists even on freestanding compilers.
5232   # On the NeXT, cc -E runs the code through the compiler's parser,
5233   # not just through cpp. "Syntax error" is here to catch this case.
5234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h.  */
5236 #ifdef __STDC__
5237 # include <limits.h>
5238 #else
5239 # include <assert.h>
5240 #endif
5241                      Syntax error
5242 _ACEOF
5243 if ac_fn_c_try_cpp "$LINENO"; then :
5244
5245 else
5246   # Broken: fails on valid input.
5247 continue
5248 fi
5249 rm -f conftest.err conftest.i conftest.$ac_ext
5250
5251   # OK, works on sane cases.  Now check whether nonexistent headers
5252   # can be detected and how.
5253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h.  */
5255 #include <ac_nonexistent.h>
5256 _ACEOF
5257 if ac_fn_c_try_cpp "$LINENO"; then :
5258   # Broken: success on invalid input.
5259 continue
5260 else
5261   # Passes both tests.
5262 ac_preproc_ok=:
5263 break
5264 fi
5265 rm -f conftest.err conftest.i conftest.$ac_ext
5266
5267 done
5268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5269 rm -f conftest.i conftest.err conftest.$ac_ext
5270 if $ac_preproc_ok; then :
5271   break
5272 fi
5273
5274     done
5275     ac_cv_prog_CPP=$CPP
5276
5277 fi
5278   CPP=$ac_cv_prog_CPP
5279 else
5280   ac_cv_prog_CPP=$CPP
5281 fi
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5283 $as_echo "$CPP" >&6; }
5284 ac_preproc_ok=false
5285 for ac_c_preproc_warn_flag in '' yes
5286 do
5287   # Use a header file that comes with gcc, so configuring glibc
5288   # with a fresh cross-compiler works.
5289   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5290   # <limits.h> exists even on freestanding compilers.
5291   # On the NeXT, cc -E runs the code through the compiler's parser,
5292   # not just through cpp. "Syntax error" is here to catch this case.
5293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h.  */
5295 #ifdef __STDC__
5296 # include <limits.h>
5297 #else
5298 # include <assert.h>
5299 #endif
5300                      Syntax error
5301 _ACEOF
5302 if ac_fn_c_try_cpp "$LINENO"; then :
5303
5304 else
5305   # Broken: fails on valid input.
5306 continue
5307 fi
5308 rm -f conftest.err conftest.i conftest.$ac_ext
5309
5310   # OK, works on sane cases.  Now check whether nonexistent headers
5311   # can be detected and how.
5312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h.  */
5314 #include <ac_nonexistent.h>
5315 _ACEOF
5316 if ac_fn_c_try_cpp "$LINENO"; then :
5317   # Broken: success on invalid input.
5318 continue
5319 else
5320   # Passes both tests.
5321 ac_preproc_ok=:
5322 break
5323 fi
5324 rm -f conftest.err conftest.i conftest.$ac_ext
5325
5326 done
5327 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5328 rm -f conftest.i conftest.err conftest.$ac_ext
5329 if $ac_preproc_ok; then :
5330
5331 else
5332   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5334 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5335 See \`config.log' for more details" "$LINENO" 5; }
5336 fi
5337
5338 ac_ext=c
5339 ac_cpp='$CPP $CPPFLAGS'
5340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5343
5344
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5346 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5347 if ${ac_cv_path_GREP+:} false; then :
5348   $as_echo_n "(cached) " >&6
5349 else
5350   if test -z "$GREP"; then
5351   ac_path_GREP_found=false
5352   # Loop through the user's path and test for each of PROGNAME-LIST
5353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5355 do
5356   IFS=$as_save_IFS
5357   test -z "$as_dir" && as_dir=.
5358     for ac_prog in grep ggrep; do
5359     for ac_exec_ext in '' $ac_executable_extensions; do
5360       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5361       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5362 # Check for GNU ac_path_GREP and select it if it is found.
5363   # Check for GNU $ac_path_GREP
5364 case `"$ac_path_GREP" --version 2>&1` in
5365 *GNU*)
5366   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5367 *)
5368   ac_count=0
5369   $as_echo_n 0123456789 >"conftest.in"
5370   while :
5371   do
5372     cat "conftest.in" "conftest.in" >"conftest.tmp"
5373     mv "conftest.tmp" "conftest.in"
5374     cp "conftest.in" "conftest.nl"
5375     $as_echo 'GREP' >> "conftest.nl"
5376     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5377     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5378     as_fn_arith $ac_count + 1 && ac_count=$as_val
5379     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5380       # Best one so far, save it but keep looking for a better one
5381       ac_cv_path_GREP="$ac_path_GREP"
5382       ac_path_GREP_max=$ac_count
5383     fi
5384     # 10*(2^10) chars as input seems more than enough
5385     test $ac_count -gt 10 && break
5386   done
5387   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5388 esac
5389
5390       $ac_path_GREP_found && break 3
5391     done
5392   done
5393   done
5394 IFS=$as_save_IFS
5395   if test -z "$ac_cv_path_GREP"; then
5396     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5397   fi
5398 else
5399   ac_cv_path_GREP=$GREP
5400 fi
5401
5402 fi
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5404 $as_echo "$ac_cv_path_GREP" >&6; }
5405  GREP="$ac_cv_path_GREP"
5406
5407
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5409 $as_echo_n "checking for egrep... " >&6; }
5410 if ${ac_cv_path_EGREP+:} false; then :
5411   $as_echo_n "(cached) " >&6
5412 else
5413   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5414    then ac_cv_path_EGREP="$GREP -E"
5415    else
5416      if test -z "$EGREP"; then
5417   ac_path_EGREP_found=false
5418   # Loop through the user's path and test for each of PROGNAME-LIST
5419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5421 do
5422   IFS=$as_save_IFS
5423   test -z "$as_dir" && as_dir=.
5424     for ac_prog in egrep; do
5425     for ac_exec_ext in '' $ac_executable_extensions; do
5426       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5427       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5428 # Check for GNU ac_path_EGREP and select it if it is found.
5429   # Check for GNU $ac_path_EGREP
5430 case `"$ac_path_EGREP" --version 2>&1` in
5431 *GNU*)
5432   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5433 *)
5434   ac_count=0
5435   $as_echo_n 0123456789 >"conftest.in"
5436   while :
5437   do
5438     cat "conftest.in" "conftest.in" >"conftest.tmp"
5439     mv "conftest.tmp" "conftest.in"
5440     cp "conftest.in" "conftest.nl"
5441     $as_echo 'EGREP' >> "conftest.nl"
5442     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5443     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5444     as_fn_arith $ac_count + 1 && ac_count=$as_val
5445     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5446       # Best one so far, save it but keep looking for a better one
5447       ac_cv_path_EGREP="$ac_path_EGREP"
5448       ac_path_EGREP_max=$ac_count
5449     fi
5450     # 10*(2^10) chars as input seems more than enough
5451     test $ac_count -gt 10 && break
5452   done
5453   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5454 esac
5455
5456       $ac_path_EGREP_found && break 3
5457     done
5458   done
5459   done
5460 IFS=$as_save_IFS
5461   if test -z "$ac_cv_path_EGREP"; then
5462     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5463   fi
5464 else
5465   ac_cv_path_EGREP=$EGREP
5466 fi
5467
5468    fi
5469 fi
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5471 $as_echo "$ac_cv_path_EGREP" >&6; }
5472  EGREP="$ac_cv_path_EGREP"
5473
5474
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5476 $as_echo_n "checking for ANSI C header files... " >&6; }
5477 if ${ac_cv_header_stdc+:} false; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h.  */
5482 #include <stdlib.h>
5483 #include <stdarg.h>
5484 #include <string.h>
5485 #include <float.h>
5486
5487 int
5488 main ()
5489 {
5490
5491   ;
5492   return 0;
5493 }
5494 _ACEOF
5495 if ac_fn_c_try_compile "$LINENO"; then :
5496   ac_cv_header_stdc=yes
5497 else
5498   ac_cv_header_stdc=no
5499 fi
5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501
5502 if test $ac_cv_header_stdc = yes; then
5503   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h.  */
5506 #include <string.h>
5507
5508 _ACEOF
5509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5510   $EGREP "memchr" >/dev/null 2>&1; then :
5511
5512 else
5513   ac_cv_header_stdc=no
5514 fi
5515 rm -f conftest*
5516
5517 fi
5518
5519 if test $ac_cv_header_stdc = yes; then
5520   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h.  */
5523 #include <stdlib.h>
5524
5525 _ACEOF
5526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5527   $EGREP "free" >/dev/null 2>&1; then :
5528
5529 else
5530   ac_cv_header_stdc=no
5531 fi
5532 rm -f conftest*
5533
5534 fi
5535
5536 if test $ac_cv_header_stdc = yes; then
5537   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5538   if test "$cross_compiling" = yes; then :
5539   :
5540 else
5541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h.  */
5543 #include <ctype.h>
5544 #include <stdlib.h>
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548 #else
5549 # define ISLOWER(c) \
5550                    (('a' <= (c) && (c) <= 'i') \
5551                      || ('j' <= (c) && (c) <= 'r') \
5552                      || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #endif
5555
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5557 int
5558 main ()
5559 {
5560   int i;
5561   for (i = 0; i < 256; i++)
5562     if (XOR (islower (i), ISLOWER (i))
5563         || toupper (i) != TOUPPER (i))
5564       return 2;
5565   return 0;
5566 }
5567 _ACEOF
5568 if ac_fn_c_try_run "$LINENO"; then :
5569
5570 else
5571   ac_cv_header_stdc=no
5572 fi
5573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5574   conftest.$ac_objext conftest.beam conftest.$ac_ext
5575 fi
5576
5577 fi
5578 fi
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5580 $as_echo "$ac_cv_header_stdc" >&6; }
5581 if test $ac_cv_header_stdc = yes; then
5582
5583 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5584
5585 fi
5586
5587 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5588 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5589                   inttypes.h stdint.h unistd.h
5590 do :
5591   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5592 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5593 "
5594 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5595   cat >>confdefs.h <<_ACEOF
5596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5597 _ACEOF
5598
5599 fi
5600
5601 done
5602
5603
5604 for ac_header in unistd.h sys/mman.h
5605 do :
5606   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5607 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5609   cat >>confdefs.h <<_ACEOF
5610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5611 _ACEOF
5612
5613 fi
5614
5615 done
5616
5617
5618 # Make sure we don't link to libstdc++ (needs de-gcc-fication)
5619 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
5620
5621
5622 #
5623 # Win32 stuff
5624 #
5625
5626 enable_win32_dll=yes
5627
5628 case $host in
5629 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5630   if test -n "$ac_tool_prefix"; then
5631   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5632 set dummy ${ac_tool_prefix}as; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_AS+:} false; then :
5636   $as_echo_n "(cached) " >&6
5637 else
5638   if test -n "$AS"; then
5639   ac_cv_prog_AS="$AS" # Let the user override the test.
5640 else
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in $PATH
5643 do
5644   IFS=$as_save_IFS
5645   test -z "$as_dir" && as_dir=.
5646     for ac_exec_ext in '' $ac_executable_extensions; do
5647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648     ac_cv_prog_AS="${ac_tool_prefix}as"
5649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650     break 2
5651   fi
5652 done
5653   done
5654 IFS=$as_save_IFS
5655
5656 fi
5657 fi
5658 AS=$ac_cv_prog_AS
5659 if test -n "$AS"; then
5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5661 $as_echo "$AS" >&6; }
5662 else
5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5665 fi
5666
5667
5668 fi
5669 if test -z "$ac_cv_prog_AS"; then
5670   ac_ct_AS=$AS
5671   # Extract the first word of "as", so it can be a program name with args.
5672 set dummy as; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5676   $as_echo_n "(cached) " >&6
5677 else
5678   if test -n "$ac_ct_AS"; then
5679   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5683 do
5684   IFS=$as_save_IFS
5685   test -z "$as_dir" && as_dir=.
5686     for ac_exec_ext in '' $ac_executable_extensions; do
5687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688     ac_cv_prog_ac_ct_AS="as"
5689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690     break 2
5691   fi
5692 done
5693   done
5694 IFS=$as_save_IFS
5695
5696 fi
5697 fi
5698 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5699 if test -n "$ac_ct_AS"; then
5700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5701 $as_echo "$ac_ct_AS" >&6; }
5702 else
5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5705 fi
5706
5707   if test "x$ac_ct_AS" = x; then
5708     AS="false"
5709   else
5710     case $cross_compiling:$ac_tool_warned in
5711 yes:)
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned=yes ;;
5715 esac
5716     AS=$ac_ct_AS
5717   fi
5718 else
5719   AS="$ac_cv_prog_AS"
5720 fi
5721
5722   if test -n "$ac_tool_prefix"; then
5723   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5724 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_DLLTOOL+:} false; then :
5728   $as_echo_n "(cached) " >&6
5729 else
5730   if test -n "$DLLTOOL"; then
5731   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5735 do
5736   IFS=$as_save_IFS
5737   test -z "$as_dir" && as_dir=.
5738     for ac_exec_ext in '' $ac_executable_extensions; do
5739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742     break 2
5743   fi
5744 done
5745   done
5746 IFS=$as_save_IFS
5747
5748 fi
5749 fi
5750 DLLTOOL=$ac_cv_prog_DLLTOOL
5751 if test -n "$DLLTOOL"; then
5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5753 $as_echo "$DLLTOOL" >&6; }
5754 else
5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5757 fi
5758
5759
5760 fi
5761 if test -z "$ac_cv_prog_DLLTOOL"; then
5762   ac_ct_DLLTOOL=$DLLTOOL
5763   # Extract the first word of "dlltool", so it can be a program name with args.
5764 set dummy dlltool; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5768   $as_echo_n "(cached) " >&6
5769 else
5770   if test -n "$ac_ct_DLLTOOL"; then
5771   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5775 do
5776   IFS=$as_save_IFS
5777   test -z "$as_dir" && as_dir=.
5778     for ac_exec_ext in '' $ac_executable_extensions; do
5779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782     break 2
5783   fi
5784 done
5785   done
5786 IFS=$as_save_IFS
5787
5788 fi
5789 fi
5790 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5791 if test -n "$ac_ct_DLLTOOL"; then
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5793 $as_echo "$ac_ct_DLLTOOL" >&6; }
5794 else
5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5797 fi
5798
5799   if test "x$ac_ct_DLLTOOL" = x; then
5800     DLLTOOL="false"
5801   else
5802     case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808     DLLTOOL=$ac_ct_DLLTOOL
5809   fi
5810 else
5811   DLLTOOL="$ac_cv_prog_DLLTOOL"
5812 fi
5813
5814   if test -n "$ac_tool_prefix"; then
5815   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_OBJDUMP+:} false; then :
5820   $as_echo_n "(cached) " >&6
5821 else
5822   if test -n "$OBJDUMP"; then
5823   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5827 do
5828   IFS=$as_save_IFS
5829   test -z "$as_dir" && as_dir=.
5830     for ac_exec_ext in '' $ac_executable_extensions; do
5831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834     break 2
5835   fi
5836 done
5837   done
5838 IFS=$as_save_IFS
5839
5840 fi
5841 fi
5842 OBJDUMP=$ac_cv_prog_OBJDUMP
5843 if test -n "$OBJDUMP"; then
5844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5845 $as_echo "$OBJDUMP" >&6; }
5846 else
5847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5849 fi
5850
5851
5852 fi
5853 if test -z "$ac_cv_prog_OBJDUMP"; then
5854   ac_ct_OBJDUMP=$OBJDUMP
5855   # Extract the first word of "objdump", so it can be a program name with args.
5856 set dummy objdump; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   if test -n "$ac_ct_OBJDUMP"; then
5863   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868   IFS=$as_save_IFS
5869   test -z "$as_dir" && as_dir=.
5870     for ac_exec_ext in '' $ac_executable_extensions; do
5871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874     break 2
5875   fi
5876 done
5877   done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5883 if test -n "$ac_ct_OBJDUMP"; then
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5885 $as_echo "$ac_ct_OBJDUMP" >&6; }
5886 else
5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891   if test "x$ac_ct_OBJDUMP" = x; then
5892     OBJDUMP="false"
5893   else
5894     case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900     OBJDUMP=$ac_ct_OBJDUMP
5901   fi
5902 else
5903   OBJDUMP="$ac_cv_prog_OBJDUMP"
5904 fi
5905
5906   ;;
5907 esac
5908
5909 test -z "$AS" && AS=as
5910
5911
5912
5913
5914
5915 test -z "$DLLTOOL" && DLLTOOL=dlltool
5916
5917
5918
5919
5920
5921 test -z "$OBJDUMP" && OBJDUMP=objdump
5922
5923
5924
5925
5926
5927
5928
5929 # Check whether --enable-static was given.
5930 if test "${enable_static+set}" = set; then :
5931   enableval=$enable_static; p=${PACKAGE-default}
5932     case $enableval in
5933     yes) enable_static=yes ;;
5934     no) enable_static=no ;;
5935     *)
5936      enable_static=no
5937       # Look at the argument we got.  We use all the common list separators.
5938       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5939       for pkg in $enableval; do
5940         IFS="$lt_save_ifs"
5941         if test "X$pkg" = "X$p"; then
5942           enable_static=yes
5943         fi
5944       done
5945       IFS="$lt_save_ifs"
5946       ;;
5947     esac
5948 else
5949   enable_static=no
5950 fi
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961 if test "$pango_os_win32" = "yes"; then
5962   if test x$enable_static = xyes -o x$enable_static = x; then
5963     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
5964 $as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
5965     enable_static=no
5966   fi
5967   if test x$enable_shared = xno; then
5968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
5969 $as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
5970   fi
5971   enable_shared=yes
5972 fi
5973
5974 case `pwd` in
5975   *\ * | *\     *)
5976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5977 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5978 esac
5979
5980
5981
5982 macro_version='2.4.2'
5983 macro_revision='1.3337'
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997 ltmain="$ac_aux_dir/ltmain.sh"
5998
5999 # Backslashify metacharacters that are still active within
6000 # double-quoted strings.
6001 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6002
6003 # Same as above, but do not quote variable references.
6004 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6005
6006 # Sed substitution to delay expansion of an escaped shell variable in a
6007 # double_quote_subst'ed string.
6008 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6009
6010 # Sed substitution to delay expansion of an escaped single quote.
6011 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6012
6013 # Sed substitution to avoid accidental globbing in evaled expressions
6014 no_glob_subst='s/\*/\\\*/g'
6015
6016 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6017 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6018 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6019
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6021 $as_echo_n "checking how to print strings... " >&6; }
6022 # Test print first, because it will be a builtin if present.
6023 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6024    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6025   ECHO='print -r --'
6026 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6027   ECHO='printf %s\n'
6028 else
6029   # Use this function as a fallback that always works.
6030   func_fallback_echo ()
6031   {
6032     eval 'cat <<_LTECHO_EOF
6033 $1
6034 _LTECHO_EOF'
6035   }
6036   ECHO='func_fallback_echo'
6037 fi
6038
6039 # func_echo_all arg...
6040 # Invoke $ECHO with all args, space-separated.
6041 func_echo_all ()
6042 {
6043     $ECHO ""
6044 }
6045
6046 case "$ECHO" in
6047   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6048 $as_echo "printf" >&6; } ;;
6049   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6050 $as_echo "print -r" >&6; } ;;
6051   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6052 $as_echo "cat" >&6; } ;;
6053 esac
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6069 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6070 if ${ac_cv_path_SED+:} false; then :
6071   $as_echo_n "(cached) " >&6
6072 else
6073             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6074      for ac_i in 1 2 3 4 5 6 7; do
6075        ac_script="$ac_script$as_nl$ac_script"
6076      done
6077      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6078      { ac_script=; unset ac_script;}
6079      if test -z "$SED"; then
6080   ac_path_SED_found=false
6081   # Loop through the user's path and test for each of PROGNAME-LIST
6082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6084 do
6085   IFS=$as_save_IFS
6086   test -z "$as_dir" && as_dir=.
6087     for ac_prog in sed gsed; do
6088     for ac_exec_ext in '' $ac_executable_extensions; do
6089       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6090       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6091 # Check for GNU ac_path_SED and select it if it is found.
6092   # Check for GNU $ac_path_SED
6093 case `"$ac_path_SED" --version 2>&1` in
6094 *GNU*)
6095   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6096 *)
6097   ac_count=0
6098   $as_echo_n 0123456789 >"conftest.in"
6099   while :
6100   do
6101     cat "conftest.in" "conftest.in" >"conftest.tmp"
6102     mv "conftest.tmp" "conftest.in"
6103     cp "conftest.in" "conftest.nl"
6104     $as_echo '' >> "conftest.nl"
6105     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6106     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6107     as_fn_arith $ac_count + 1 && ac_count=$as_val
6108     if test $ac_count -gt ${ac_path_SED_max-0}; then
6109       # Best one so far, save it but keep looking for a better one
6110       ac_cv_path_SED="$ac_path_SED"
6111       ac_path_SED_max=$ac_count
6112     fi
6113     # 10*(2^10) chars as input seems more than enough
6114     test $ac_count -gt 10 && break
6115   done
6116   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6117 esac
6118
6119       $ac_path_SED_found && break 3
6120     done
6121   done
6122   done
6123 IFS=$as_save_IFS
6124   if test -z "$ac_cv_path_SED"; then
6125     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6126   fi
6127 else
6128   ac_cv_path_SED=$SED
6129 fi
6130
6131 fi
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6133 $as_echo "$ac_cv_path_SED" >&6; }
6134  SED="$ac_cv_path_SED"
6135   rm -f conftest.sed
6136
6137 test -z "$SED" && SED=sed
6138 Xsed="$SED -e 1s/^X//"
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6151 $as_echo_n "checking for fgrep... " >&6; }
6152 if ${ac_cv_path_FGREP+:} false; then :
6153   $as_echo_n "(cached) " >&6
6154 else
6155   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6156    then ac_cv_path_FGREP="$GREP -F"
6157    else
6158      if test -z "$FGREP"; then
6159   ac_path_FGREP_found=false
6160   # Loop through the user's path and test for each of PROGNAME-LIST
6161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6163 do
6164   IFS=$as_save_IFS
6165   test -z "$as_dir" && as_dir=.
6166     for ac_prog in fgrep; do
6167     for ac_exec_ext in '' $ac_executable_extensions; do
6168       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6169       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6170 # Check for GNU ac_path_FGREP and select it if it is found.
6171   # Check for GNU $ac_path_FGREP
6172 case `"$ac_path_FGREP" --version 2>&1` in
6173 *GNU*)
6174   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6175 *)
6176   ac_count=0
6177   $as_echo_n 0123456789 >"conftest.in"
6178   while :
6179   do
6180     cat "conftest.in" "conftest.in" >"conftest.tmp"
6181     mv "conftest.tmp" "conftest.in"
6182     cp "conftest.in" "conftest.nl"
6183     $as_echo 'FGREP' >> "conftest.nl"
6184     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6185     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6186     as_fn_arith $ac_count + 1 && ac_count=$as_val
6187     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6188       # Best one so far, save it but keep looking for a better one
6189       ac_cv_path_FGREP="$ac_path_FGREP"
6190       ac_path_FGREP_max=$ac_count
6191     fi
6192     # 10*(2^10) chars as input seems more than enough
6193     test $ac_count -gt 10 && break
6194   done
6195   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6196 esac
6197
6198       $ac_path_FGREP_found && break 3
6199     done
6200   done
6201   done
6202 IFS=$as_save_IFS
6203   if test -z "$ac_cv_path_FGREP"; then
6204     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6205   fi
6206 else
6207   ac_cv_path_FGREP=$FGREP
6208 fi
6209
6210    fi
6211 fi
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6213 $as_echo "$ac_cv_path_FGREP" >&6; }
6214  FGREP="$ac_cv_path_FGREP"
6215
6216
6217 test -z "$GREP" && GREP=grep
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237 # Check whether --with-gnu-ld was given.
6238 if test "${with_gnu_ld+set}" = set; then :
6239   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6240 else
6241   with_gnu_ld=no
6242 fi
6243
6244 ac_prog=ld
6245 if test "$GCC" = yes; then
6246   # Check if gcc -print-prog-name=ld gives a path.
6247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6248 $as_echo_n "checking for ld used by $CC... " >&6; }
6249   case $host in
6250   *-*-mingw*)
6251     # gcc leaves a trailing carriage return which upsets mingw
6252     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6253   *)
6254     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6255   esac
6256   case $ac_prog in
6257     # Accept absolute paths.
6258     [\\/]* | ?:[\\/]*)
6259       re_direlt='/[^/][^/]*/\.\./'
6260       # Canonicalize the pathname of ld
6261       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6262       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6263         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6264       done
6265       test -z "$LD" && LD="$ac_prog"
6266       ;;
6267   "")
6268     # If it fails, then pretend we aren't using GCC.
6269     ac_prog=ld
6270     ;;
6271   *)
6272     # If it is relative, then search for the first ld in PATH.
6273     with_gnu_ld=unknown
6274     ;;
6275   esac
6276 elif test "$with_gnu_ld" = yes; then
6277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6278 $as_echo_n "checking for GNU ld... " >&6; }
6279 else
6280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6281 $as_echo_n "checking for non-GNU ld... " >&6; }
6282 fi
6283 if ${lt_cv_path_LD+:} false; then :
6284   $as_echo_n "(cached) " >&6
6285 else
6286   if test -z "$LD"; then
6287   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6288   for ac_dir in $PATH; do
6289     IFS="$lt_save_ifs"
6290     test -z "$ac_dir" && ac_dir=.
6291     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6292       lt_cv_path_LD="$ac_dir/$ac_prog"
6293       # Check to see if the program is GNU ld.  I'd rather use --version,
6294       # but apparently some variants of GNU ld only accept -v.
6295       # Break only if it was the GNU/non-GNU ld that we prefer.
6296       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6297       *GNU* | *'with BFD'*)
6298         test "$with_gnu_ld" != no && break
6299         ;;
6300       *)
6301         test "$with_gnu_ld" != yes && break
6302         ;;
6303       esac
6304     fi
6305   done
6306   IFS="$lt_save_ifs"
6307 else
6308   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6309 fi
6310 fi
6311
6312 LD="$lt_cv_path_LD"
6313 if test -n "$LD"; then
6314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6315 $as_echo "$LD" >&6; }
6316 else
6317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6319 fi
6320 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6322 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6323 if ${lt_cv_prog_gnu_ld+:} false; then :
6324   $as_echo_n "(cached) " >&6
6325 else
6326   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6327 case `$LD -v 2>&1 </dev/null` in
6328 *GNU* | *'with BFD'*)
6329   lt_cv_prog_gnu_ld=yes
6330   ;;
6331 *)
6332   lt_cv_prog_gnu_ld=no
6333   ;;
6334 esac
6335 fi
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6337 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6338 with_gnu_ld=$lt_cv_prog_gnu_ld
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6349 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6350 if ${lt_cv_path_NM+:} false; then :
6351   $as_echo_n "(cached) " >&6
6352 else
6353   if test -n "$NM"; then
6354   # Let the user override the test.
6355   lt_cv_path_NM="$NM"
6356 else
6357   lt_nm_to_check="${ac_tool_prefix}nm"
6358   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6359     lt_nm_to_check="$lt_nm_to_check nm"
6360   fi
6361   for lt_tmp_nm in $lt_nm_to_check; do
6362     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6363     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6364       IFS="$lt_save_ifs"
6365       test -z "$ac_dir" && ac_dir=.
6366       tmp_nm="$ac_dir/$lt_tmp_nm"
6367       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6368         # Check to see if the nm accepts a BSD-compat flag.
6369         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6370         #   nm: unknown option "B" ignored
6371         # Tru64's nm complains that /dev/null is an invalid object file
6372         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6373         */dev/null* | *'Invalid file or object type'*)
6374           lt_cv_path_NM="$tmp_nm -B"
6375           break
6376           ;;
6377         *)
6378           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6379           */dev/null*)
6380             lt_cv_path_NM="$tmp_nm -p"
6381             break
6382             ;;
6383           *)
6384             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6385             continue # so that we can try to find one that supports BSD flags
6386             ;;
6387           esac
6388           ;;
6389         esac
6390       fi
6391     done
6392     IFS="$lt_save_ifs"
6393   done
6394   : ${lt_cv_path_NM=no}
6395 fi
6396 fi
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6398 $as_echo "$lt_cv_path_NM" >&6; }
6399 if test "$lt_cv_path_NM" != "no"; then
6400   NM="$lt_cv_path_NM"
6401 else
6402   # Didn't find any BSD compatible name lister, look for dumpbin.
6403   if test -n "$DUMPBIN"; then :
6404     # Let the user override the test.
6405   else
6406     if test -n "$ac_tool_prefix"; then
6407   for ac_prog in dumpbin "link -dump"
6408   do
6409     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 $as_echo_n "checking for $ac_word... " >&6; }
6413 if ${ac_cv_prog_DUMPBIN+:} false; then :
6414   $as_echo_n "(cached) " >&6
6415 else
6416   if test -n "$DUMPBIN"; then
6417   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6418 else
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH
6421 do
6422   IFS=$as_save_IFS
6423   test -z "$as_dir" && as_dir=.
6424     for ac_exec_ext in '' $ac_executable_extensions; do
6425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428     break 2
6429   fi
6430 done
6431   done
6432 IFS=$as_save_IFS
6433
6434 fi
6435 fi
6436 DUMPBIN=$ac_cv_prog_DUMPBIN
6437 if test -n "$DUMPBIN"; then
6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6439 $as_echo "$DUMPBIN" >&6; }
6440 else
6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6443 fi
6444
6445
6446     test -n "$DUMPBIN" && break
6447   done
6448 fi
6449 if test -z "$DUMPBIN"; then
6450   ac_ct_DUMPBIN=$DUMPBIN
6451   for ac_prog in dumpbin "link -dump"
6452 do
6453   # Extract the first word of "$ac_prog", so it can be a program name with args.
6454 set dummy $ac_prog; ac_word=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 $as_echo_n "checking for $ac_word... " >&6; }
6457 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6458   $as_echo_n "(cached) " >&6
6459 else
6460   if test -n "$ac_ct_DUMPBIN"; then
6461   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6462 else
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH
6465 do
6466   IFS=$as_save_IFS
6467   test -z "$as_dir" && as_dir=.
6468     for ac_exec_ext in '' $ac_executable_extensions; do
6469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6470     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472     break 2
6473   fi
6474 done
6475   done
6476 IFS=$as_save_IFS
6477
6478 fi
6479 fi
6480 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6481 if test -n "$ac_ct_DUMPBIN"; then
6482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6483 $as_echo "$ac_ct_DUMPBIN" >&6; }
6484 else
6485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6487 fi
6488
6489
6490   test -n "$ac_ct_DUMPBIN" && break
6491 done
6492
6493   if test "x$ac_ct_DUMPBIN" = x; then
6494     DUMPBIN=":"
6495   else
6496     case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502     DUMPBIN=$ac_ct_DUMPBIN
6503   fi
6504 fi
6505
6506     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6507     *COFF*)
6508       DUMPBIN="$DUMPBIN -symbols"
6509       ;;
6510     *)
6511       DUMPBIN=:
6512       ;;
6513     esac
6514   fi
6515
6516   if test "$DUMPBIN" != ":"; then
6517     NM="$DUMPBIN"
6518   fi
6519 fi
6520 test -z "$NM" && NM=nm
6521
6522
6523
6524
6525
6526
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6528 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6529 if ${lt_cv_nm_interface+:} false; then :
6530   $as_echo_n "(cached) " >&6
6531 else
6532   lt_cv_nm_interface="BSD nm"
6533   echo "int some_variable = 0;" > conftest.$ac_ext
6534   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6535   (eval "$ac_compile" 2>conftest.err)
6536   cat conftest.err >&5
6537   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6538   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6539   cat conftest.err >&5
6540   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6541   cat conftest.out >&5
6542   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6543     lt_cv_nm_interface="MS dumpbin"
6544   fi
6545   rm -f conftest*
6546 fi
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6548 $as_echo "$lt_cv_nm_interface" >&6; }
6549
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6551 $as_echo_n "checking whether ln -s works... " >&6; }
6552 LN_S=$as_ln_s
6553 if test "$LN_S" = "ln -s"; then
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6555 $as_echo "yes" >&6; }
6556 else
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6558 $as_echo "no, using $LN_S" >&6; }
6559 fi
6560
6561 # find the maximum length of command line arguments
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6563 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6564 if ${lt_cv_sys_max_cmd_len+:} false; then :
6565   $as_echo_n "(cached) " >&6
6566 else
6567     i=0
6568   teststring="ABCD"
6569
6570   case $build_os in
6571   msdosdjgpp*)
6572     # On DJGPP, this test can blow up pretty badly due to problems in libc
6573     # (any single argument exceeding 2000 bytes causes a buffer overrun
6574     # during glob expansion).  Even if it were fixed, the result of this
6575     # check would be larger than it should be.
6576     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6577     ;;
6578
6579   gnu*)
6580     # Under GNU Hurd, this test is not required because there is
6581     # no limit to the length of command line arguments.
6582     # Libtool will interpret -1 as no limit whatsoever
6583     lt_cv_sys_max_cmd_len=-1;
6584     ;;
6585
6586   cygwin* | mingw* | cegcc*)
6587     # On Win9x/ME, this test blows up -- it succeeds, but takes
6588     # about 5 minutes as the teststring grows exponentially.
6589     # Worse, since 9x/ME are not pre-emptively multitasking,
6590     # you end up with a "frozen" computer, even though with patience
6591     # the test eventually succeeds (with a max line length of 256k).
6592     # Instead, let's just punt: use the minimum linelength reported by
6593     # all of the supported platforms: 8192 (on NT/2K/XP).
6594     lt_cv_sys_max_cmd_len=8192;
6595     ;;
6596
6597   mint*)
6598     # On MiNT this can take a long time and run out of memory.
6599     lt_cv_sys_max_cmd_len=8192;
6600     ;;
6601
6602   amigaos*)
6603     # On AmigaOS with pdksh, this test takes hours, literally.
6604     # So we just punt and use a minimum line length of 8192.
6605     lt_cv_sys_max_cmd_len=8192;
6606     ;;
6607
6608   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6609     # This has been around since 386BSD, at least.  Likely further.
6610     if test -x /sbin/sysctl; then
6611       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6612     elif test -x /usr/sbin/sysctl; then
6613       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6614     else
6615       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6616     fi
6617     # And add a safety zone
6618     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6619     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6620     ;;
6621
6622   interix*)
6623     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6624     lt_cv_sys_max_cmd_len=196608
6625     ;;
6626
6627   os2*)
6628     # The test takes a long time on OS/2.
6629     lt_cv_sys_max_cmd_len=8192
6630     ;;
6631
6632   osf*)
6633     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6634     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6635     # nice to cause kernel panics so lets avoid the loop below.
6636     # First set a reasonable default.
6637     lt_cv_sys_max_cmd_len=16384
6638     #
6639     if test -x /sbin/sysconfig; then
6640       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6641         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6642       esac
6643     fi
6644     ;;
6645   sco3.2v5*)
6646     lt_cv_sys_max_cmd_len=102400
6647     ;;
6648   sysv5* | sco5v6* | sysv4.2uw2*)
6649     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6650     if test -n "$kargmax"; then
6651       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6652     else
6653       lt_cv_sys_max_cmd_len=32768
6654     fi
6655     ;;
6656   *)
6657     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6658     if test -n "$lt_cv_sys_max_cmd_len"; then
6659       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6660       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6661     else
6662       # Make teststring a little bigger before we do anything with it.
6663       # a 1K string should be a reasonable start.
6664       for i in 1 2 3 4 5 6 7 8 ; do
6665         teststring=$teststring$teststring
6666       done
6667       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6668       # If test is not a shell built-in, we'll probably end up computing a
6669       # maximum length that is only half of the actual maximum length, but
6670       # we can't tell.
6671       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6672                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6673               test $i != 17 # 1/2 MB should be enough
6674       do
6675         i=`expr $i + 1`
6676         teststring=$teststring$teststring
6677       done
6678       # Only check the string length outside the loop.
6679       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6680       teststring=
6681       # Add a significant safety factor because C++ compilers can tack on
6682       # massive amounts of additional arguments before passing them to the
6683       # linker.  It appears as though 1/2 is a usable value.
6684       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6685     fi
6686     ;;
6687   esac
6688
6689 fi
6690
6691 if test -n $lt_cv_sys_max_cmd_len ; then
6692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6693 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6694 else
6695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6696 $as_echo "none" >&6; }
6697 fi
6698 max_cmd_len=$lt_cv_sys_max_cmd_len
6699
6700
6701
6702
6703
6704
6705 : ${CP="cp -f"}
6706 : ${MV="mv -f"}
6707 : ${RM="rm -f"}
6708
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6710 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6711 # Try some XSI features
6712 xsi_shell=no
6713 ( _lt_dummy="a/b/c"
6714   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6715       = c,a/b,b/c, \
6716     && eval 'test $(( 1 + 1 )) -eq 2 \
6717     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6718   && xsi_shell=yes
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6720 $as_echo "$xsi_shell" >&6; }
6721
6722
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6724 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6725 lt_shell_append=no
6726 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6727     >/dev/null 2>&1 \
6728   && lt_shell_append=yes
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6730 $as_echo "$lt_shell_append" >&6; }
6731
6732
6733 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6734   lt_unset=unset
6735 else
6736   lt_unset=false
6737 fi
6738
6739
6740
6741
6742
6743 # test EBCDIC or ASCII
6744 case `echo X|tr X '\101'` in
6745  A) # ASCII based system
6746     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6747   lt_SP2NL='tr \040 \012'
6748   lt_NL2SP='tr \015\012 \040\040'
6749   ;;
6750  *) # EBCDIC based system
6751   lt_SP2NL='tr \100 \n'
6752   lt_NL2SP='tr \r\n \100\100'
6753   ;;
6754 esac
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6765 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6766 if ${lt_cv_to_host_file_cmd+:} false; then :
6767   $as_echo_n "(cached) " >&6
6768 else
6769   case $host in
6770   *-*-mingw* )
6771     case $build in
6772       *-*-mingw* ) # actually msys
6773         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6774         ;;
6775       *-*-cygwin* )
6776         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6777         ;;
6778       * ) # otherwise, assume *nix
6779         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6780         ;;
6781     esac
6782     ;;
6783   *-*-cygwin* )
6784     case $build in
6785       *-*-mingw* ) # actually msys
6786         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6787         ;;
6788       *-*-cygwin* )
6789         lt_cv_to_host_file_cmd=func_convert_file_noop
6790         ;;
6791       * ) # otherwise, assume *nix
6792         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6793         ;;
6794     esac
6795     ;;
6796   * ) # unhandled hosts (and "normal" native builds)
6797     lt_cv_to_host_file_cmd=func_convert_file_noop
6798     ;;
6799 esac
6800
6801 fi
6802
6803 to_host_file_cmd=$lt_cv_to_host_file_cmd
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6805 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6806
6807
6808
6809
6810
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6812 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6813 if ${lt_cv_to_tool_file_cmd+:} false; then :
6814   $as_echo_n "(cached) " >&6
6815 else
6816   #assume ordinary cross tools, or native build.
6817 lt_cv_to_tool_file_cmd=func_convert_file_noop
6818 case $host in
6819   *-*-mingw* )
6820     case $build in
6821       *-*-mingw* ) # actually msys
6822         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6823         ;;
6824     esac
6825     ;;
6826 esac
6827
6828 fi
6829
6830 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6832 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6833
6834
6835
6836
6837
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6839 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6840 if ${lt_cv_ld_reload_flag+:} false; then :
6841   $as_echo_n "(cached) " >&6
6842 else
6843   lt_cv_ld_reload_flag='-r'
6844 fi
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6846 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6847 reload_flag=$lt_cv_ld_reload_flag
6848 case $reload_flag in
6849 "" | " "*) ;;
6850 *) reload_flag=" $reload_flag" ;;
6851 esac
6852 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6853 case $host_os in
6854   cygwin* | mingw* | pw32* | cegcc*)
6855     if test "$GCC" != yes; then
6856       reload_cmds=false
6857     fi
6858     ;;
6859   darwin*)
6860     if test "$GCC" = yes; then
6861       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6862     else
6863       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6864     fi
6865     ;;
6866 esac
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876 if test -n "$ac_tool_prefix"; then
6877   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6878 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880 $as_echo_n "checking for $ac_word... " >&6; }
6881 if ${ac_cv_prog_OBJDUMP+:} false; then :
6882   $as_echo_n "(cached) " >&6
6883 else
6884   if test -n "$OBJDUMP"; then
6885   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6886 else
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888 for as_dir in $PATH
6889 do
6890   IFS=$as_save_IFS
6891   test -z "$as_dir" && as_dir=.
6892     for ac_exec_ext in '' $ac_executable_extensions; do
6893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6894     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896     break 2
6897   fi
6898 done
6899   done
6900 IFS=$as_save_IFS
6901
6902 fi
6903 fi
6904 OBJDUMP=$ac_cv_prog_OBJDUMP
6905 if test -n "$OBJDUMP"; then
6906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6907 $as_echo "$OBJDUMP" >&6; }
6908 else
6909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910 $as_echo "no" >&6; }
6911 fi
6912
6913
6914 fi
6915 if test -z "$ac_cv_prog_OBJDUMP"; then
6916   ac_ct_OBJDUMP=$OBJDUMP
6917   # Extract the first word of "objdump", so it can be a program name with args.
6918 set dummy objdump; ac_word=$2
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920 $as_echo_n "checking for $ac_word... " >&6; }
6921 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6922   $as_echo_n "(cached) " >&6
6923 else
6924   if test -n "$ac_ct_OBJDUMP"; then
6925   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6926 else
6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 for as_dir in $PATH
6929 do
6930   IFS=$as_save_IFS
6931   test -z "$as_dir" && as_dir=.
6932     for ac_exec_ext in '' $ac_executable_extensions; do
6933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6934     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936     break 2
6937   fi
6938 done
6939   done
6940 IFS=$as_save_IFS
6941
6942 fi
6943 fi
6944 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6945 if test -n "$ac_ct_OBJDUMP"; then
6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6947 $as_echo "$ac_ct_OBJDUMP" >&6; }
6948 else
6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950 $as_echo "no" >&6; }
6951 fi
6952
6953   if test "x$ac_ct_OBJDUMP" = x; then
6954     OBJDUMP="false"
6955   else
6956     case $cross_compiling:$ac_tool_warned in
6957 yes:)
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6960 ac_tool_warned=yes ;;
6961 esac
6962     OBJDUMP=$ac_ct_OBJDUMP
6963   fi
6964 else
6965   OBJDUMP="$ac_cv_prog_OBJDUMP"
6966 fi
6967
6968 test -z "$OBJDUMP" && OBJDUMP=objdump
6969
6970
6971
6972
6973
6974
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6976 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6977 if ${lt_cv_deplibs_check_method+:} false; then :
6978   $as_echo_n "(cached) " >&6
6979 else
6980   lt_cv_file_magic_cmd='$MAGIC_CMD'
6981 lt_cv_file_magic_test_file=
6982 lt_cv_deplibs_check_method='unknown'
6983 # Need to set the preceding variable on all platforms that support
6984 # interlibrary dependencies.
6985 # 'none' -- dependencies not supported.
6986 # `unknown' -- same as none, but documents that we really don't know.
6987 # 'pass_all' -- all dependencies passed with no checks.
6988 # 'test_compile' -- check by making test program.
6989 # 'file_magic [[regex]]' -- check by looking for files in library path
6990 # which responds to the $file_magic_cmd with a given extended regex.
6991 # If you have `file' or equivalent on your system and you're not sure
6992 # whether `pass_all' will *always* work, you probably want this one.
6993
6994 case $host_os in
6995 aix[4-9]*)
6996   lt_cv_deplibs_check_method=pass_all
6997   ;;
6998
6999 beos*)
7000   lt_cv_deplibs_check_method=pass_all
7001   ;;
7002
7003 bsdi[45]*)
7004   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7005   lt_cv_file_magic_cmd='/usr/bin/file -L'
7006   lt_cv_file_magic_test_file=/shlib/libc.so
7007   ;;
7008
7009 cygwin*)
7010   # func_win32_libid is a shell function defined in ltmain.sh
7011   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7012   lt_cv_file_magic_cmd='func_win32_libid'
7013   ;;
7014
7015 mingw* | pw32*)
7016   # Base MSYS/MinGW do not provide the 'file' command needed by
7017   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7018   # unless we find 'file', for example because we are cross-compiling.
7019   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7020   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7021     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7022     lt_cv_file_magic_cmd='func_win32_libid'
7023   else
7024     # Keep this pattern in sync with the one in func_win32_libid.
7025     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7026     lt_cv_file_magic_cmd='$OBJDUMP -f'
7027   fi
7028   ;;
7029
7030 cegcc*)
7031   # use the weaker test based on 'objdump'. See mingw*.
7032   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7033   lt_cv_file_magic_cmd='$OBJDUMP -f'
7034   ;;
7035
7036 darwin* | rhapsody*)
7037   lt_cv_deplibs_check_method=pass_all
7038   ;;
7039
7040 freebsd* | dragonfly*)
7041   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7042     case $host_cpu in
7043     i*86 )
7044       # Not sure whether the presence of OpenBSD here was a mistake.
7045       # Let's accept both of them until this is cleared up.
7046       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7047       lt_cv_file_magic_cmd=/usr/bin/file
7048       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7049       ;;
7050     esac
7051   else
7052     lt_cv_deplibs_check_method=pass_all
7053   fi
7054   ;;
7055
7056 gnu*)
7057   lt_cv_deplibs_check_method=pass_all
7058   ;;
7059
7060 haiku*)
7061   lt_cv_deplibs_check_method=pass_all
7062   ;;
7063
7064 hpux10.20* | hpux11*)
7065   lt_cv_file_magic_cmd=/usr/bin/file
7066   case $host_cpu in
7067   ia64*)
7068     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7069     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7070     ;;
7071   hppa*64*)
7072     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]'
7073     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7074     ;;
7075   *)
7076     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7077     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7078     ;;
7079   esac
7080   ;;
7081
7082 interix[3-9]*)
7083   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7084   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7085   ;;
7086
7087 irix5* | irix6* | nonstopux*)
7088   case $LD in
7089   *-32|*"-32 ") libmagic=32-bit;;
7090   *-n32|*"-n32 ") libmagic=N32;;
7091   *-64|*"-64 ") libmagic=64-bit;;
7092   *) libmagic=never-match;;
7093   esac
7094   lt_cv_deplibs_check_method=pass_all
7095   ;;
7096
7097 # This must be glibc/ELF.
7098 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7099   lt_cv_deplibs_check_method=pass_all
7100   ;;
7101
7102 netbsd*)
7103   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7104     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7105   else
7106     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7107   fi
7108   ;;
7109
7110 newos6*)
7111   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7112   lt_cv_file_magic_cmd=/usr/bin/file
7113   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7114   ;;
7115
7116 *nto* | *qnx*)
7117   lt_cv_deplibs_check_method=pass_all
7118   ;;
7119
7120 openbsd*)
7121   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7122     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7123   else
7124     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7125   fi
7126   ;;
7127
7128 osf3* | osf4* | osf5*)
7129   lt_cv_deplibs_check_method=pass_all
7130   ;;
7131
7132 rdos*)
7133   lt_cv_deplibs_check_method=pass_all
7134   ;;
7135
7136 solaris*)
7137   lt_cv_deplibs_check_method=pass_all
7138   ;;
7139
7140 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7141   lt_cv_deplibs_check_method=pass_all
7142   ;;
7143
7144 sysv4 | sysv4.3*)
7145   case $host_vendor in
7146   motorola)
7147     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]'
7148     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7149     ;;
7150   ncr)
7151     lt_cv_deplibs_check_method=pass_all
7152     ;;
7153   sequent)
7154     lt_cv_file_magic_cmd='/bin/file'
7155     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7156     ;;
7157   sni)
7158     lt_cv_file_magic_cmd='/bin/file'
7159     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7160     lt_cv_file_magic_test_file=/lib/libc.so
7161     ;;
7162   siemens)
7163     lt_cv_deplibs_check_method=pass_all
7164     ;;
7165   pc)
7166     lt_cv_deplibs_check_method=pass_all
7167     ;;
7168   esac
7169   ;;
7170
7171 tpf*)
7172   lt_cv_deplibs_check_method=pass_all
7173   ;;
7174 esac
7175
7176 fi
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7178 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7179
7180 file_magic_glob=
7181 want_nocaseglob=no
7182 if test "$build" = "$host"; then
7183   case $host_os in
7184   mingw* | pw32*)
7185     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7186       want_nocaseglob=yes
7187     else
7188       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7189     fi
7190     ;;
7191   esac
7192 fi
7193
7194 file_magic_cmd=$lt_cv_file_magic_cmd
7195 deplibs_check_method=$lt_cv_deplibs_check_method
7196 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219 if test -n "$ac_tool_prefix"; then
7220   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7221 set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+:} false; then :
7225   $as_echo_n "(cached) " >&6
7226 else
7227   if test -n "$DLLTOOL"; then
7228   ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool"
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 DLLTOOL=$ac_cv_prog_DLLTOOL
7248 if test -n "$DLLTOOL"; then
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7250 $as_echo "$DLLTOOL" >&6; }
7251 else
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7254 fi
7255
7256
7257 fi
7258 if test -z "$ac_cv_prog_DLLTOOL"; then
7259   ac_ct_DLLTOOL=$DLLTOOL
7260   # Extract the first word of "dlltool", so it can be a program name with args.
7261 set dummy dlltool; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7265   $as_echo_n "(cached) " >&6
7266 else
7267   if test -n "$ac_ct_DLLTOOL"; then
7268   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7269 else
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 for as_dir in $PATH
7272 do
7273   IFS=$as_save_IFS
7274   test -z "$as_dir" && as_dir=.
7275     for ac_exec_ext in '' $ac_executable_extensions; do
7276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279     break 2
7280   fi
7281 done
7282   done
7283 IFS=$as_save_IFS
7284
7285 fi
7286 fi
7287 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7288 if test -n "$ac_ct_DLLTOOL"; then
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7290 $as_echo "$ac_ct_DLLTOOL" >&6; }
7291 else
7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7294 fi
7295
7296   if test "x$ac_ct_DLLTOOL" = x; then
7297     DLLTOOL="false"
7298   else
7299     case $cross_compiling:$ac_tool_warned in
7300 yes:)
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303 ac_tool_warned=yes ;;
7304 esac
7305     DLLTOOL=$ac_ct_DLLTOOL
7306   fi
7307 else
7308   DLLTOOL="$ac_cv_prog_DLLTOOL"
7309 fi
7310
7311 test -z "$DLLTOOL" && DLLTOOL=dlltool
7312
7313
7314
7315
7316
7317
7318
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7320 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7321 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7322   $as_echo_n "(cached) " >&6
7323 else
7324   lt_cv_sharedlib_from_linklib_cmd='unknown'
7325
7326 case $host_os in
7327 cygwin* | mingw* | pw32* | cegcc*)
7328   # two different shell functions defined in ltmain.sh
7329   # decide which to use based on capabilities of $DLLTOOL
7330   case `$DLLTOOL --help 2>&1` in
7331   *--identify-strict*)
7332     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7333     ;;
7334   *)
7335     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7336     ;;
7337   esac
7338   ;;
7339 *)
7340   # fallback: assume linklib IS sharedlib
7341   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7342   ;;
7343 esac
7344
7345 fi
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7347 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7348 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7349 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7350
7351
7352
7353
7354
7355
7356
7357 if test -n "$ac_tool_prefix"; then
7358   for ac_prog in ar
7359   do
7360     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_AR+:} false; then :
7365   $as_echo_n "(cached) " >&6
7366 else
7367   if test -n "$AR"; then
7368   ac_cv_prog_AR="$AR" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373   IFS=$as_save_IFS
7374   test -z "$as_dir" && as_dir=.
7375     for ac_exec_ext in '' $ac_executable_extensions; do
7376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379     break 2
7380   fi
7381 done
7382   done
7383 IFS=$as_save_IFS
7384
7385 fi
7386 fi
7387 AR=$ac_cv_prog_AR
7388 if test -n "$AR"; then
7389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7390 $as_echo "$AR" >&6; }
7391 else
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7394 fi
7395
7396
7397     test -n "$AR" && break
7398   done
7399 fi
7400 if test -z "$AR"; then
7401   ac_ct_AR=$AR
7402   for ac_prog in ar
7403 do
7404   # Extract the first word of "$ac_prog", so it can be a program name with args.
7405 set dummy $ac_prog; ac_word=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 $as_echo_n "checking for $ac_word... " >&6; }
7408 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7409   $as_echo_n "(cached) " >&6
7410 else
7411   if test -n "$ac_ct_AR"; then
7412   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7413 else
7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 for as_dir in $PATH
7416 do
7417   IFS=$as_save_IFS
7418   test -z "$as_dir" && as_dir=.
7419     for ac_exec_ext in '' $ac_executable_extensions; do
7420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7421     ac_cv_prog_ac_ct_AR="$ac_prog"
7422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7423     break 2
7424   fi
7425 done
7426   done
7427 IFS=$as_save_IFS
7428
7429 fi
7430 fi
7431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7432 if test -n "$ac_ct_AR"; then
7433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7434 $as_echo "$ac_ct_AR" >&6; }
7435 else
7436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7438 fi
7439
7440
7441   test -n "$ac_ct_AR" && break
7442 done
7443
7444   if test "x$ac_ct_AR" = x; then
7445     AR="false"
7446   else
7447     case $cross_compiling:$ac_tool_warned in
7448 yes:)
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7452 esac
7453     AR=$ac_ct_AR
7454   fi
7455 fi
7456
7457 : ${AR=ar}
7458 : ${AR_FLAGS=cru}
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7471 $as_echo_n "checking for archiver @FILE support... " >&6; }
7472 if ${lt_cv_ar_at_file+:} false; then :
7473   $as_echo_n "(cached) " >&6
7474 else
7475   lt_cv_ar_at_file=no
7476    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h.  */
7478
7479 int
7480 main ()
7481 {
7482
7483   ;
7484   return 0;
7485 }
7486 _ACEOF
7487 if ac_fn_c_try_compile "$LINENO"; then :
7488   echo conftest.$ac_objext > conftest.lst
7489       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7490       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7491   (eval $lt_ar_try) 2>&5
7492   ac_status=$?
7493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7494   test $ac_status = 0; }
7495       if test "$ac_status" -eq 0; then
7496         # Ensure the archiver fails upon bogus file names.
7497         rm -f conftest.$ac_objext libconftest.a
7498         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7499   (eval $lt_ar_try) 2>&5
7500   ac_status=$?
7501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7502   test $ac_status = 0; }
7503         if test "$ac_status" -ne 0; then
7504           lt_cv_ar_at_file=@
7505         fi
7506       fi
7507       rm -f conftest.* libconftest.a
7508
7509 fi
7510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7511
7512 fi
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7514 $as_echo "$lt_cv_ar_at_file" >&6; }
7515
7516 if test "x$lt_cv_ar_at_file" = xno; then
7517   archiver_list_spec=
7518 else
7519   archiver_list_spec=$lt_cv_ar_at_file
7520 fi
7521
7522
7523
7524
7525
7526
7527
7528 if test -n "$ac_tool_prefix"; then
7529   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7530 set dummy ${ac_tool_prefix}strip; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_STRIP+:} false; then :
7534   $as_echo_n "(cached) " >&6
7535 else
7536   if test -n "$STRIP"; then
7537   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7538 else
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 for as_dir in $PATH
7541 do
7542   IFS=$as_save_IFS
7543   test -z "$as_dir" && as_dir=.
7544     for ac_exec_ext in '' $ac_executable_extensions; do
7545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548     break 2
7549   fi
7550 done
7551   done
7552 IFS=$as_save_IFS
7553
7554 fi
7555 fi
7556 STRIP=$ac_cv_prog_STRIP
7557 if test -n "$STRIP"; then
7558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7559 $as_echo "$STRIP" >&6; }
7560 else
7561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7563 fi
7564
7565
7566 fi
7567 if test -z "$ac_cv_prog_STRIP"; then
7568   ac_ct_STRIP=$STRIP
7569   # Extract the first word of "strip", so it can be a program name with args.
7570 set dummy strip; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 $as_echo_n "checking for $ac_word... " >&6; }
7573 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7574   $as_echo_n "(cached) " >&6
7575 else
7576   if test -n "$ac_ct_STRIP"; then
7577   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7578 else
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 for as_dir in $PATH
7581 do
7582   IFS=$as_save_IFS
7583   test -z "$as_dir" && as_dir=.
7584     for ac_exec_ext in '' $ac_executable_extensions; do
7585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586     ac_cv_prog_ac_ct_STRIP="strip"
7587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588     break 2
7589   fi
7590 done
7591   done
7592 IFS=$as_save_IFS
7593
7594 fi
7595 fi
7596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7597 if test -n "$ac_ct_STRIP"; then
7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7599 $as_echo "$ac_ct_STRIP" >&6; }
7600 else
7601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602 $as_echo "no" >&6; }
7603 fi
7604
7605   if test "x$ac_ct_STRIP" = x; then
7606     STRIP=":"
7607   else
7608     case $cross_compiling:$ac_tool_warned in
7609 yes:)
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7612 ac_tool_warned=yes ;;
7613 esac
7614     STRIP=$ac_ct_STRIP
7615   fi
7616 else
7617   STRIP="$ac_cv_prog_STRIP"
7618 fi
7619
7620 test -z "$STRIP" && STRIP=:
7621
7622
7623
7624
7625
7626
7627 if test -n "$ac_tool_prefix"; then
7628   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_RANLIB+:} false; then :
7633   $as_echo_n "(cached) " >&6
7634 else
7635   if test -n "$RANLIB"; then
7636   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7640 do
7641   IFS=$as_save_IFS
7642   test -z "$as_dir" && as_dir=.
7643     for ac_exec_ext in '' $ac_executable_extensions; do
7644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7645     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647     break 2
7648   fi
7649 done
7650   done
7651 IFS=$as_save_IFS
7652
7653 fi
7654 fi
7655 RANLIB=$ac_cv_prog_RANLIB
7656 if test -n "$RANLIB"; then
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7658 $as_echo "$RANLIB" >&6; }
7659 else
7660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7662 fi
7663
7664
7665 fi
7666 if test -z "$ac_cv_prog_RANLIB"; then
7667   ac_ct_RANLIB=$RANLIB
7668   # Extract the first word of "ranlib", so it can be a program name with args.
7669 set dummy ranlib; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671 $as_echo_n "checking for $ac_word... " >&6; }
7672 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7673   $as_echo_n "(cached) " >&6
7674 else
7675   if test -n "$ac_ct_RANLIB"; then
7676   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7677 else
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 for as_dir in $PATH
7680 do
7681   IFS=$as_save_IFS
7682   test -z "$as_dir" && as_dir=.
7683     for ac_exec_ext in '' $ac_executable_extensions; do
7684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7685     ac_cv_prog_ac_ct_RANLIB="ranlib"
7686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7687     break 2
7688   fi
7689 done
7690   done
7691 IFS=$as_save_IFS
7692
7693 fi
7694 fi
7695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7696 if test -n "$ac_ct_RANLIB"; then
7697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7698 $as_echo "$ac_ct_RANLIB" >&6; }
7699 else
7700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7701 $as_echo "no" >&6; }
7702 fi
7703
7704   if test "x$ac_ct_RANLIB" = x; then
7705     RANLIB=":"
7706   else
7707     case $cross_compiling:$ac_tool_warned in
7708 yes:)
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7711 ac_tool_warned=yes ;;
7712 esac
7713     RANLIB=$ac_ct_RANLIB
7714   fi
7715 else
7716   RANLIB="$ac_cv_prog_RANLIB"
7717 fi
7718
7719 test -z "$RANLIB" && RANLIB=:
7720
7721
7722
7723
7724
7725
7726 # Determine commands to create old-style static archives.
7727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7728 old_postinstall_cmds='chmod 644 $oldlib'
7729 old_postuninstall_cmds=
7730
7731 if test -n "$RANLIB"; then
7732   case $host_os in
7733   openbsd*)
7734     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7735     ;;
7736   *)
7737     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7738     ;;
7739   esac
7740   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7741 fi
7742
7743 case $host_os in
7744   darwin*)
7745     lock_old_archive_extraction=yes ;;
7746   *)
7747     lock_old_archive_extraction=no ;;
7748 esac
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788 # If no C compiler was specified, use CC.
7789 LTCC=${LTCC-"$CC"}
7790
7791 # If no C compiler flags were specified, use CFLAGS.
7792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7793
7794 # Allow CC to be a program name with arguments.
7795 compiler=$CC
7796
7797
7798 # Check for command to grab the raw symbol name followed by C symbol from nm.
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7801 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7802   $as_echo_n "(cached) " >&6
7803 else
7804
7805 # These are sane defaults that work on at least a few old systems.
7806 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7807
7808 # Character class describing NM global symbol codes.
7809 symcode='[BCDEGRST]'
7810
7811 # Regexp to match symbols that can be accessed directly from C.
7812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7813
7814 # Define system-specific variables.
7815 case $host_os in
7816 aix*)
7817   symcode='[BCDT]'
7818   ;;
7819 cygwin* | mingw* | pw32* | cegcc*)
7820   symcode='[ABCDGISTW]'
7821   ;;
7822 hpux*)
7823   if test "$host_cpu" = ia64; then
7824     symcode='[ABCDEGRST]'
7825   fi
7826   ;;
7827 irix* | nonstopux*)
7828   symcode='[BCDEGRST]'
7829   ;;
7830 osf*)
7831   symcode='[BCDEGQRST]'
7832   ;;
7833 solaris*)
7834   symcode='[BDRT]'
7835   ;;
7836 sco3.2v5*)
7837   symcode='[DT]'
7838   ;;
7839 sysv4.2uw2*)
7840   symcode='[DT]'
7841   ;;
7842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7843   symcode='[ABDT]'
7844   ;;
7845 sysv4)
7846   symcode='[DFNSTU]'
7847   ;;
7848 esac
7849
7850 # If we're using GNU nm, then use its standard symbol codes.
7851 case `$NM -V 2>&1` in
7852 *GNU* | *'with BFD'*)
7853   symcode='[ABCDGIRSTW]' ;;
7854 esac
7855
7856 # Transform an extracted symbol line into a proper C declaration.
7857 # Some systems (esp. on ia64) link data and code symbols differently,
7858 # so use this general approach.
7859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7860
7861 # Transform an extracted symbol line into symbol name and symbol address
7862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7863 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'"
7864
7865 # Handle CRLF in mingw tool chain
7866 opt_cr=
7867 case $build_os in
7868 mingw*)
7869   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7870   ;;
7871 esac
7872
7873 # Try without a prefix underscore, then with it.
7874 for ac_symprfx in "" "_"; do
7875
7876   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7877   symxfrm="\\1 $ac_symprfx\\2 \\2"
7878
7879   # Write the raw and C identifiers.
7880   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7881     # Fake it for dumpbin and say T for any non-static function
7882     # and D for any global variable.
7883     # Also find C++ and __fastcall symbols from MSVC++,
7884     # which start with @ or ?.
7885     lt_cv_sys_global_symbol_pipe="$AWK '"\
7886 "     {last_section=section; section=\$ 3};"\
7887 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7888 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7889 "     \$ 0!~/External *\|/{next};"\
7890 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7891 "     {if(hide[section]) next};"\
7892 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7893 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7894 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7895 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7896 "     ' prfx=^$ac_symprfx"
7897   else
7898     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7899   fi
7900   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7901
7902   # Check to see that the pipe works correctly.
7903   pipe_works=no
7904
7905   rm -f conftest*
7906   cat > conftest.$ac_ext <<_LT_EOF
7907 #ifdef __cplusplus
7908 extern "C" {
7909 #endif
7910 char nm_test_var;
7911 void nm_test_func(void);
7912 void nm_test_func(void){}
7913 #ifdef __cplusplus
7914 }
7915 #endif
7916 int main(){nm_test_var='a';nm_test_func();return(0);}
7917 _LT_EOF
7918
7919   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7920   (eval $ac_compile) 2>&5
7921   ac_status=$?
7922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7923   test $ac_status = 0; }; then
7924     # Now try to grab the symbols.
7925     nlist=conftest.nm
7926     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7927   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7928   ac_status=$?
7929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7930   test $ac_status = 0; } && test -s "$nlist"; then
7931       # Try sorting and uniquifying the output.
7932       if sort "$nlist" | uniq > "$nlist"T; then
7933         mv -f "$nlist"T "$nlist"
7934       else
7935         rm -f "$nlist"T
7936       fi
7937
7938       # Make sure that we snagged all the symbols we need.
7939       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7940         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7941           cat <<_LT_EOF > conftest.$ac_ext
7942 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7943 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7944 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7945    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7946 # define LT_DLSYM_CONST
7947 #elif defined(__osf__)
7948 /* This system does not cope well with relocations in const data.  */
7949 # define LT_DLSYM_CONST
7950 #else
7951 # define LT_DLSYM_CONST const
7952 #endif
7953
7954 #ifdef __cplusplus
7955 extern "C" {
7956 #endif
7957
7958 _LT_EOF
7959           # Now generate the symbol file.
7960           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7961
7962           cat <<_LT_EOF >> conftest.$ac_ext
7963
7964 /* The mapping between symbol names and symbols.  */
7965 LT_DLSYM_CONST struct {
7966   const char *name;
7967   void       *address;
7968 }
7969 lt__PROGRAM__LTX_preloaded_symbols[] =
7970 {
7971   { "@PROGRAM@", (void *) 0 },
7972 _LT_EOF
7973           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7974           cat <<\_LT_EOF >> conftest.$ac_ext
7975   {0, (void *) 0}
7976 };
7977
7978 /* This works around a problem in FreeBSD linker */
7979 #ifdef FREEBSD_WORKAROUND
7980 static const void *lt_preloaded_setup() {
7981   return lt__PROGRAM__LTX_preloaded_symbols;
7982 }
7983 #endif
7984
7985 #ifdef __cplusplus
7986 }
7987 #endif
7988 _LT_EOF
7989           # Now try linking the two files.
7990           mv conftest.$ac_objext conftstm.$ac_objext
7991           lt_globsym_save_LIBS=$LIBS
7992           lt_globsym_save_CFLAGS=$CFLAGS
7993           LIBS="conftstm.$ac_objext"
7994           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7995           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7996   (eval $ac_link) 2>&5
7997   ac_status=$?
7998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7999   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8000             pipe_works=yes
8001           fi
8002           LIBS=$lt_globsym_save_LIBS
8003           CFLAGS=$lt_globsym_save_CFLAGS
8004         else
8005           echo "cannot find nm_test_func in $nlist" >&5
8006         fi
8007       else
8008         echo "cannot find nm_test_var in $nlist" >&5
8009       fi
8010     else
8011       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8012     fi
8013   else
8014     echo "$progname: failed program was:" >&5
8015     cat conftest.$ac_ext >&5
8016   fi
8017   rm -rf conftest* conftst*
8018
8019   # Do not use the global_symbol_pipe unless it works.
8020   if test "$pipe_works" = yes; then
8021     break
8022   else
8023     lt_cv_sys_global_symbol_pipe=
8024   fi
8025 done
8026
8027 fi
8028
8029 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8030   lt_cv_sys_global_symbol_to_cdecl=
8031 fi
8032 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8034 $as_echo "failed" >&6; }
8035 else
8036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8037 $as_echo "ok" >&6; }
8038 fi
8039
8040 # Response file support.
8041 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8042   nm_file_list_spec='@'
8043 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8044   nm_file_list_spec='@'
8045 fi
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8074 $as_echo_n "checking for sysroot... " >&6; }
8075
8076 # Check whether --with-sysroot was given.
8077 if test "${with_sysroot+set}" = set; then :
8078   withval=$with_sysroot;
8079 else
8080   with_sysroot=no
8081 fi
8082
8083
8084 lt_sysroot=
8085 case ${with_sysroot} in #(
8086  yes)
8087    if test "$GCC" = yes; then
8088      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8089    fi
8090    ;; #(
8091  /*)
8092    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8093    ;; #(
8094  no|'')
8095    ;; #(
8096  *)
8097    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8098 $as_echo "${with_sysroot}" >&6; }
8099    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8100    ;;
8101 esac
8102
8103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8104 $as_echo "${lt_sysroot:-no}" >&6; }
8105
8106
8107
8108
8109
8110 # Check whether --enable-libtool-lock was given.
8111 if test "${enable_libtool_lock+set}" = set; then :
8112   enableval=$enable_libtool_lock;
8113 fi
8114
8115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8116
8117 # Some flags need to be propagated to the compiler or linker for good
8118 # libtool support.
8119 case $host in
8120 ia64-*-hpux*)
8121   # Find out which ABI we are using.
8122   echo 'int i;' > conftest.$ac_ext
8123   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8124   (eval $ac_compile) 2>&5
8125   ac_status=$?
8126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8127   test $ac_status = 0; }; then
8128     case `/usr/bin/file conftest.$ac_objext` in
8129       *ELF-32*)
8130         HPUX_IA64_MODE="32"
8131         ;;
8132       *ELF-64*)
8133         HPUX_IA64_MODE="64"
8134         ;;
8135     esac
8136   fi
8137   rm -rf conftest*
8138   ;;
8139 *-*-irix6*)
8140   # Find out which ABI we are using.
8141   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8142   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8143   (eval $ac_compile) 2>&5
8144   ac_status=$?
8145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8146   test $ac_status = 0; }; then
8147     if test "$lt_cv_prog_gnu_ld" = yes; then
8148       case `/usr/bin/file conftest.$ac_objext` in
8149         *32-bit*)
8150           LD="${LD-ld} -melf32bsmip"
8151           ;;
8152         *N32*)
8153           LD="${LD-ld} -melf32bmipn32"
8154           ;;
8155         *64-bit*)
8156           LD="${LD-ld} -melf64bmip"
8157         ;;
8158       esac
8159     else
8160       case `/usr/bin/file conftest.$ac_objext` in
8161         *32-bit*)
8162           LD="${LD-ld} -32"
8163           ;;
8164         *N32*)
8165           LD="${LD-ld} -n32"
8166           ;;
8167         *64-bit*)
8168           LD="${LD-ld} -64"
8169           ;;
8170       esac
8171     fi
8172   fi
8173   rm -rf conftest*
8174   ;;
8175
8176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8178   # Find out which ABI we are using.
8179   echo 'int i;' > conftest.$ac_ext
8180   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8181   (eval $ac_compile) 2>&5
8182   ac_status=$?
8183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8184   test $ac_status = 0; }; then
8185     case `/usr/bin/file conftest.o` in
8186       *32-bit*)
8187         case $host in
8188           x86_64-*kfreebsd*-gnu)
8189             LD="${LD-ld} -m elf_i386_fbsd"
8190             ;;
8191           x86_64-*linux*)
8192             LD="${LD-ld} -m elf_i386"
8193             ;;
8194           ppc64-*linux*|powerpc64-*linux*)
8195             LD="${LD-ld} -m elf32ppclinux"
8196             ;;
8197           s390x-*linux*)
8198             LD="${LD-ld} -m elf_s390"
8199             ;;
8200           sparc64-*linux*)
8201             LD="${LD-ld} -m elf32_sparc"
8202             ;;
8203         esac
8204         ;;
8205       *64-bit*)
8206         case $host in
8207           x86_64-*kfreebsd*-gnu)
8208             LD="${LD-ld} -m elf_x86_64_fbsd"
8209             ;;
8210           x86_64-*linux*)
8211             LD="${LD-ld} -m elf_x86_64"
8212             ;;
8213           ppc*-*linux*|powerpc*-*linux*)
8214             LD="${LD-ld} -m elf64ppc"
8215             ;;
8216           s390*-*linux*|s390*-*tpf*)
8217             LD="${LD-ld} -m elf64_s390"
8218             ;;
8219           sparc*-*linux*)
8220             LD="${LD-ld} -m elf64_sparc"
8221             ;;
8222         esac
8223         ;;
8224     esac
8225   fi
8226   rm -rf conftest*
8227   ;;
8228
8229 *-*-sco3.2v5*)
8230   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8231   SAVE_CFLAGS="$CFLAGS"
8232   CFLAGS="$CFLAGS -belf"
8233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8234 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8235 if ${lt_cv_cc_needs_belf+:} false; then :
8236   $as_echo_n "(cached) " >&6
8237 else
8238   ac_ext=c
8239 ac_cpp='$CPP $CPPFLAGS'
8240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8243
8244      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h.  */
8246
8247 int
8248 main ()
8249 {
8250
8251   ;
8252   return 0;
8253 }
8254 _ACEOF
8255 if ac_fn_c_try_link "$LINENO"; then :
8256   lt_cv_cc_needs_belf=yes
8257 else
8258   lt_cv_cc_needs_belf=no
8259 fi
8260 rm -f core conftest.err conftest.$ac_objext \
8261     conftest$ac_exeext conftest.$ac_ext
8262      ac_ext=c
8263 ac_cpp='$CPP $CPPFLAGS'
8264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8267
8268 fi
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8270 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8271   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8272     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8273     CFLAGS="$SAVE_CFLAGS"
8274   fi
8275   ;;
8276 *-*solaris*)
8277   # Find out which ABI we are using.
8278   echo 'int i;' > conftest.$ac_ext
8279   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8280   (eval $ac_compile) 2>&5
8281   ac_status=$?
8282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8283   test $ac_status = 0; }; then
8284     case `/usr/bin/file conftest.o` in
8285     *64-bit*)
8286       case $lt_cv_prog_gnu_ld in
8287       yes*)
8288         case $host in
8289         i?86-*-solaris*)
8290           LD="${LD-ld} -m elf_x86_64"
8291           ;;
8292         sparc*-*-solaris*)
8293           LD="${LD-ld} -m elf64_sparc"
8294           ;;
8295         esac
8296         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8297         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8298           LD="${LD-ld}_sol2"
8299         fi
8300         ;;
8301       *)
8302         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8303           LD="${LD-ld} -64"
8304         fi
8305         ;;
8306       esac
8307       ;;
8308     esac
8309   fi
8310   rm -rf conftest*
8311   ;;
8312 esac
8313
8314 need_locks="$enable_libtool_lock"
8315
8316 if test -n "$ac_tool_prefix"; then
8317   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8318 set dummy ${ac_tool_prefix}mt; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8322   $as_echo_n "(cached) " >&6
8323 else
8324   if test -n "$MANIFEST_TOOL"; then
8325   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8326 else
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 for as_dir in $PATH
8329 do
8330   IFS=$as_save_IFS
8331   test -z "$as_dir" && as_dir=.
8332     for ac_exec_ext in '' $ac_executable_extensions; do
8333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8334     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336     break 2
8337   fi
8338 done
8339   done
8340 IFS=$as_save_IFS
8341
8342 fi
8343 fi
8344 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8345 if test -n "$MANIFEST_TOOL"; then
8346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8347 $as_echo "$MANIFEST_TOOL" >&6; }
8348 else
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8351 fi
8352
8353
8354 fi
8355 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8356   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8357   # Extract the first word of "mt", so it can be a program name with args.
8358 set dummy mt; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8362   $as_echo_n "(cached) " >&6
8363 else
8364   if test -n "$ac_ct_MANIFEST_TOOL"; then
8365   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8366 else
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 for as_dir in $PATH
8369 do
8370   IFS=$as_save_IFS
8371   test -z "$as_dir" && as_dir=.
8372     for ac_exec_ext in '' $ac_executable_extensions; do
8373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8374     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8376     break 2
8377   fi
8378 done
8379   done
8380 IFS=$as_save_IFS
8381
8382 fi
8383 fi
8384 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8385 if test -n "$ac_ct_MANIFEST_TOOL"; then
8386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8387 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8388 else
8389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8391 fi
8392
8393   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8394     MANIFEST_TOOL=":"
8395   else
8396     case $cross_compiling:$ac_tool_warned in
8397 yes:)
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8400 ac_tool_warned=yes ;;
8401 esac
8402     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8403   fi
8404 else
8405   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8406 fi
8407
8408 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8410 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8411 if ${lt_cv_path_mainfest_tool+:} false; then :
8412   $as_echo_n "(cached) " >&6
8413 else
8414   lt_cv_path_mainfest_tool=no
8415   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8416   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8417   cat conftest.err >&5
8418   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8419     lt_cv_path_mainfest_tool=yes
8420   fi
8421   rm -f conftest*
8422 fi
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8424 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8425 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8426   MANIFEST_TOOL=:
8427 fi
8428
8429
8430
8431
8432
8433
8434   case $host_os in
8435     rhapsody* | darwin*)
8436     if test -n "$ac_tool_prefix"; then
8437   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8438 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8442   $as_echo_n "(cached) " >&6
8443 else
8444   if test -n "$DSYMUTIL"; then
8445   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8446 else
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448 for as_dir in $PATH
8449 do
8450   IFS=$as_save_IFS
8451   test -z "$as_dir" && as_dir=.
8452     for ac_exec_ext in '' $ac_executable_extensions; do
8453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8454     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456     break 2
8457   fi
8458 done
8459   done
8460 IFS=$as_save_IFS
8461
8462 fi
8463 fi
8464 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8465 if test -n "$DSYMUTIL"; then
8466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8467 $as_echo "$DSYMUTIL" >&6; }
8468 else
8469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8471 fi
8472
8473
8474 fi
8475 if test -z "$ac_cv_prog_DSYMUTIL"; then
8476   ac_ct_DSYMUTIL=$DSYMUTIL
8477   # Extract the first word of "dsymutil", so it can be a program name with args.
8478 set dummy dsymutil; ac_word=$2
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480 $as_echo_n "checking for $ac_word... " >&6; }
8481 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8482   $as_echo_n "(cached) " >&6
8483 else
8484   if test -n "$ac_ct_DSYMUTIL"; then
8485   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8486 else
8487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8488 for as_dir in $PATH
8489 do
8490   IFS=$as_save_IFS
8491   test -z "$as_dir" && as_dir=.
8492     for ac_exec_ext in '' $ac_executable_extensions; do
8493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8494     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8496     break 2
8497   fi
8498 done
8499   done
8500 IFS=$as_save_IFS
8501
8502 fi
8503 fi
8504 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8505 if test -n "$ac_ct_DSYMUTIL"; then
8506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8507 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8508 else
8509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8511 fi
8512
8513   if test "x$ac_ct_DSYMUTIL" = x; then
8514     DSYMUTIL=":"
8515   else
8516     case $cross_compiling:$ac_tool_warned in
8517 yes:)
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8520 ac_tool_warned=yes ;;
8521 esac
8522     DSYMUTIL=$ac_ct_DSYMUTIL
8523   fi
8524 else
8525   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8526 fi
8527
8528     if test -n "$ac_tool_prefix"; then
8529   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8530 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if ${ac_cv_prog_NMEDIT+:} false; then :
8534   $as_echo_n "(cached) " >&6
8535 else
8536   if test -n "$NMEDIT"; then
8537   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8538 else
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 for as_dir in $PATH
8541 do
8542   IFS=$as_save_IFS
8543   test -z "$as_dir" && as_dir=.
8544     for ac_exec_ext in '' $ac_executable_extensions; do
8545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548     break 2
8549   fi
8550 done
8551   done
8552 IFS=$as_save_IFS
8553
8554 fi
8555 fi
8556 NMEDIT=$ac_cv_prog_NMEDIT
8557 if test -n "$NMEDIT"; then
8558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8559 $as_echo "$NMEDIT" >&6; }
8560 else
8561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8563 fi
8564
8565
8566 fi
8567 if test -z "$ac_cv_prog_NMEDIT"; then
8568   ac_ct_NMEDIT=$NMEDIT
8569   # Extract the first word of "nmedit", so it can be a program name with args.
8570 set dummy nmedit; ac_word=$2
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572 $as_echo_n "checking for $ac_word... " >&6; }
8573 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8574   $as_echo_n "(cached) " >&6
8575 else
8576   if test -n "$ac_ct_NMEDIT"; then
8577   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8578 else
8579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8580 for as_dir in $PATH
8581 do
8582   IFS=$as_save_IFS
8583   test -z "$as_dir" && as_dir=.
8584     for ac_exec_ext in '' $ac_executable_extensions; do
8585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8586     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8588     break 2
8589   fi
8590 done
8591   done
8592 IFS=$as_save_IFS
8593
8594 fi
8595 fi
8596 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8597 if test -n "$ac_ct_NMEDIT"; then
8598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8599 $as_echo "$ac_ct_NMEDIT" >&6; }
8600 else
8601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8603 fi
8604
8605   if test "x$ac_ct_NMEDIT" = x; then
8606     NMEDIT=":"
8607   else
8608     case $cross_compiling:$ac_tool_warned in
8609 yes:)
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8612 ac_tool_warned=yes ;;
8613 esac
8614     NMEDIT=$ac_ct_NMEDIT
8615   fi
8616 else
8617   NMEDIT="$ac_cv_prog_NMEDIT"
8618 fi
8619
8620     if test -n "$ac_tool_prefix"; then
8621   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8622 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if ${ac_cv_prog_LIPO+:} false; then :
8626   $as_echo_n "(cached) " >&6
8627 else
8628   if test -n "$LIPO"; then
8629   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8630 else
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 for as_dir in $PATH
8633 do
8634   IFS=$as_save_IFS
8635   test -z "$as_dir" && as_dir=.
8636     for ac_exec_ext in '' $ac_executable_extensions; do
8637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640     break 2
8641   fi
8642 done
8643   done
8644 IFS=$as_save_IFS
8645
8646 fi
8647 fi
8648 LIPO=$ac_cv_prog_LIPO
8649 if test -n "$LIPO"; then
8650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8651 $as_echo "$LIPO" >&6; }
8652 else
8653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8655 fi
8656
8657
8658 fi
8659 if test -z "$ac_cv_prog_LIPO"; then
8660   ac_ct_LIPO=$LIPO
8661   # Extract the first word of "lipo", so it can be a program name with args.
8662 set dummy lipo; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8666   $as_echo_n "(cached) " >&6
8667 else
8668   if test -n "$ac_ct_LIPO"; then
8669   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8670 else
8671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8672 for as_dir in $PATH
8673 do
8674   IFS=$as_save_IFS
8675   test -z "$as_dir" && as_dir=.
8676     for ac_exec_ext in '' $ac_executable_extensions; do
8677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8678     ac_cv_prog_ac_ct_LIPO="lipo"
8679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8680     break 2
8681   fi
8682 done
8683   done
8684 IFS=$as_save_IFS
8685
8686 fi
8687 fi
8688 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8689 if test -n "$ac_ct_LIPO"; then
8690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8691 $as_echo "$ac_ct_LIPO" >&6; }
8692 else
8693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694 $as_echo "no" >&6; }
8695 fi
8696
8697   if test "x$ac_ct_LIPO" = x; then
8698     LIPO=":"
8699   else
8700     case $cross_compiling:$ac_tool_warned in
8701 yes:)
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8704 ac_tool_warned=yes ;;
8705 esac
8706     LIPO=$ac_ct_LIPO
8707   fi
8708 else
8709   LIPO="$ac_cv_prog_LIPO"
8710 fi
8711
8712     if test -n "$ac_tool_prefix"; then
8713   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8714 set dummy ${ac_tool_prefix}otool; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if ${ac_cv_prog_OTOOL+:} false; then :
8718   $as_echo_n "(cached) " >&6
8719 else
8720   if test -n "$OTOOL"; then
8721   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8722 else
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8724 for as_dir in $PATH
8725 do
8726   IFS=$as_save_IFS
8727   test -z "$as_dir" && as_dir=.
8728     for ac_exec_ext in '' $ac_executable_extensions; do
8729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732     break 2
8733   fi
8734 done
8735   done
8736 IFS=$as_save_IFS
8737
8738 fi
8739 fi
8740 OTOOL=$ac_cv_prog_OTOOL
8741 if test -n "$OTOOL"; then
8742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8743 $as_echo "$OTOOL" >&6; }
8744 else
8745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8747 fi
8748
8749
8750 fi
8751 if test -z "$ac_cv_prog_OTOOL"; then
8752   ac_ct_OTOOL=$OTOOL
8753   # Extract the first word of "otool", so it can be a program name with args.
8754 set dummy otool; ac_word=$2
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8756 $as_echo_n "checking for $ac_word... " >&6; }
8757 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8758   $as_echo_n "(cached) " >&6
8759 else
8760   if test -n "$ac_ct_OTOOL"; then
8761   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8762 else
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8764 for as_dir in $PATH
8765 do
8766   IFS=$as_save_IFS
8767   test -z "$as_dir" && as_dir=.
8768     for ac_exec_ext in '' $ac_executable_extensions; do
8769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770     ac_cv_prog_ac_ct_OTOOL="otool"
8771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8772     break 2
8773   fi
8774 done
8775   done
8776 IFS=$as_save_IFS
8777
8778 fi
8779 fi
8780 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8781 if test -n "$ac_ct_OTOOL"; then
8782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8783 $as_echo "$ac_ct_OTOOL" >&6; }
8784 else
8785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8786 $as_echo "no" >&6; }
8787 fi
8788
8789   if test "x$ac_ct_OTOOL" = x; then
8790     OTOOL=":"
8791   else
8792     case $cross_compiling:$ac_tool_warned in
8793 yes:)
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8796 ac_tool_warned=yes ;;
8797 esac
8798     OTOOL=$ac_ct_OTOOL
8799   fi
8800 else
8801   OTOOL="$ac_cv_prog_OTOOL"
8802 fi
8803
8804     if test -n "$ac_tool_prefix"; then
8805   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8806 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if ${ac_cv_prog_OTOOL64+:} false; then :
8810   $as_echo_n "(cached) " >&6
8811 else
8812   if test -n "$OTOOL64"; then
8813   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8814 else
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 for as_dir in $PATH
8817 do
8818   IFS=$as_save_IFS
8819   test -z "$as_dir" && as_dir=.
8820     for ac_exec_ext in '' $ac_executable_extensions; do
8821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824     break 2
8825   fi
8826 done
8827   done
8828 IFS=$as_save_IFS
8829
8830 fi
8831 fi
8832 OTOOL64=$ac_cv_prog_OTOOL64
8833 if test -n "$OTOOL64"; then
8834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8835 $as_echo "$OTOOL64" >&6; }
8836 else
8837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8839 fi
8840
8841
8842 fi
8843 if test -z "$ac_cv_prog_OTOOL64"; then
8844   ac_ct_OTOOL64=$OTOOL64
8845   # Extract the first word of "otool64", so it can be a program name with args.
8846 set dummy otool64; ac_word=$2
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8848 $as_echo_n "checking for $ac_word... " >&6; }
8849 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8850   $as_echo_n "(cached) " >&6
8851 else
8852   if test -n "$ac_ct_OTOOL64"; then
8853   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8854 else
8855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8856 for as_dir in $PATH
8857 do
8858   IFS=$as_save_IFS
8859   test -z "$as_dir" && as_dir=.
8860     for ac_exec_ext in '' $ac_executable_extensions; do
8861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8862     ac_cv_prog_ac_ct_OTOOL64="otool64"
8863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8864     break 2
8865   fi
8866 done
8867   done
8868 IFS=$as_save_IFS
8869
8870 fi
8871 fi
8872 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8873 if test -n "$ac_ct_OTOOL64"; then
8874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8875 $as_echo "$ac_ct_OTOOL64" >&6; }
8876 else
8877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8879 fi
8880
8881   if test "x$ac_ct_OTOOL64" = x; then
8882     OTOOL64=":"
8883   else
8884     case $cross_compiling:$ac_tool_warned in
8885 yes:)
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8888 ac_tool_warned=yes ;;
8889 esac
8890     OTOOL64=$ac_ct_OTOOL64
8891   fi
8892 else
8893   OTOOL64="$ac_cv_prog_OTOOL64"
8894 fi
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8923 $as_echo_n "checking for -single_module linker flag... " >&6; }
8924 if ${lt_cv_apple_cc_single_mod+:} false; then :
8925   $as_echo_n "(cached) " >&6
8926 else
8927   lt_cv_apple_cc_single_mod=no
8928       if test -z "${LT_MULTI_MODULE}"; then
8929         # By default we will add the -single_module flag. You can override
8930         # by either setting the environment variable LT_MULTI_MODULE
8931         # non-empty at configure time, or by adding -multi_module to the
8932         # link flags.
8933         rm -rf libconftest.dylib*
8934         echo "int foo(void){return 1;}" > conftest.c
8935         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8936 -dynamiclib -Wl,-single_module conftest.c" >&5
8937         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8938           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8939         _lt_result=$?
8940         # If there is a non-empty error log, and "single_module"
8941         # appears in it, assume the flag caused a linker warning
8942         if test -s conftest.err && $GREP single_module conftest.err; then
8943           cat conftest.err >&5
8944         # Otherwise, if the output was created with a 0 exit code from
8945         # the compiler, it worked.
8946         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8947           lt_cv_apple_cc_single_mod=yes
8948         else
8949           cat conftest.err >&5
8950         fi
8951         rm -rf libconftest.dylib*
8952         rm -f conftest.*
8953       fi
8954 fi
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8956 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8957
8958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8959 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8960 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8961   $as_echo_n "(cached) " >&6
8962 else
8963   lt_cv_ld_exported_symbols_list=no
8964       save_LDFLAGS=$LDFLAGS
8965       echo "_main" > conftest.sym
8966       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h.  */
8969
8970 int
8971 main ()
8972 {
8973
8974   ;
8975   return 0;
8976 }
8977 _ACEOF
8978 if ac_fn_c_try_link "$LINENO"; then :
8979   lt_cv_ld_exported_symbols_list=yes
8980 else
8981   lt_cv_ld_exported_symbols_list=no
8982 fi
8983 rm -f core conftest.err conftest.$ac_objext \
8984     conftest$ac_exeext conftest.$ac_ext
8985         LDFLAGS="$save_LDFLAGS"
8986
8987 fi
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8989 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8990
8991     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8992 $as_echo_n "checking for -force_load linker flag... " >&6; }
8993 if ${lt_cv_ld_force_load+:} false; then :
8994   $as_echo_n "(cached) " >&6
8995 else
8996   lt_cv_ld_force_load=no
8997       cat > conftest.c << _LT_EOF
8998 int forced_loaded() { return 2;}
8999 _LT_EOF
9000       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9001       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9002       echo "$AR cru libconftest.a conftest.o" >&5
9003       $AR cru libconftest.a conftest.o 2>&5
9004       echo "$RANLIB libconftest.a" >&5
9005       $RANLIB libconftest.a 2>&5
9006       cat > conftest.c << _LT_EOF
9007 int main() { return 0;}
9008 _LT_EOF
9009       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9010       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9011       _lt_result=$?
9012       if test -s conftest.err && $GREP force_load conftest.err; then
9013         cat conftest.err >&5
9014       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9015         lt_cv_ld_force_load=yes
9016       else
9017         cat conftest.err >&5
9018       fi
9019         rm -f conftest.err libconftest.a conftest conftest.c
9020         rm -rf conftest.dSYM
9021
9022 fi
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9024 $as_echo "$lt_cv_ld_force_load" >&6; }
9025     case $host_os in
9026     rhapsody* | darwin1.[012])
9027       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9028     darwin1.*)
9029       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9030     darwin*) # darwin 5.x on
9031       # if running on 10.5 or later, the deployment target defaults
9032       # to the OS version, if on x86, and 10.4, the deployment
9033       # target defaults to 10.4. Don't you love it?
9034       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9035         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9036           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9037         10.[012]*)
9038           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9039         10.*)
9040           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9041       esac
9042     ;;
9043   esac
9044     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9045       _lt_dar_single_mod='$single_module'
9046     fi
9047     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9048       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9049     else
9050       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9051     fi
9052     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9053       _lt_dsymutil='~$DSYMUTIL $lib || :'
9054     else
9055       _lt_dsymutil=
9056     fi
9057     ;;
9058   esac
9059
9060 for ac_header in dlfcn.h
9061 do :
9062   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9063 "
9064 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9065   cat >>confdefs.h <<_ACEOF
9066 #define HAVE_DLFCN_H 1
9067 _ACEOF
9068
9069 fi
9070
9071 done
9072
9073
9074
9075 func_stripname_cnf ()
9076 {
9077   case ${2} in
9078   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9079   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9080   esac
9081 } # func_stripname_cnf
9082
9083
9084
9085
9086
9087 # Set options
9088
9089
9090
9091         enable_dlopen=no
9092
9093
9094
9095             # Check whether --enable-shared was given.
9096 if test "${enable_shared+set}" = set; then :
9097   enableval=$enable_shared; p=${PACKAGE-default}
9098     case $enableval in
9099     yes) enable_shared=yes ;;
9100     no) enable_shared=no ;;
9101     *)
9102       enable_shared=no
9103       # Look at the argument we got.  We use all the common list separators.
9104       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9105       for pkg in $enableval; do
9106         IFS="$lt_save_ifs"
9107         if test "X$pkg" = "X$p"; then
9108           enable_shared=yes
9109         fi
9110       done
9111       IFS="$lt_save_ifs"
9112       ;;
9113     esac
9114 else
9115   enable_shared=yes
9116 fi
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128 # Check whether --with-pic was given.
9129 if test "${with_pic+set}" = set; then :
9130   withval=$with_pic; lt_p=${PACKAGE-default}
9131     case $withval in
9132     yes|no) pic_mode=$withval ;;
9133     *)
9134       pic_mode=default
9135       # Look at the argument we got.  We use all the common list separators.
9136       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9137       for lt_pkg in $withval; do
9138         IFS="$lt_save_ifs"
9139         if test "X$lt_pkg" = "X$lt_p"; then
9140           pic_mode=yes
9141         fi
9142       done
9143       IFS="$lt_save_ifs"
9144       ;;
9145     esac
9146 else
9147   pic_mode=default
9148 fi
9149
9150
9151 test -z "$pic_mode" && pic_mode=default
9152
9153
9154
9155
9156
9157
9158
9159   # Check whether --enable-fast-install was given.
9160 if test "${enable_fast_install+set}" = set; then :
9161   enableval=$enable_fast_install; p=${PACKAGE-default}
9162     case $enableval in
9163     yes) enable_fast_install=yes ;;
9164     no) enable_fast_install=no ;;
9165     *)
9166       enable_fast_install=no
9167       # Look at the argument we got.  We use all the common list separators.
9168       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9169       for pkg in $enableval; do
9170         IFS="$lt_save_ifs"
9171         if test "X$pkg" = "X$p"; then
9172           enable_fast_install=yes
9173         fi
9174       done
9175       IFS="$lt_save_ifs"
9176       ;;
9177     esac
9178 else
9179   enable_fast_install=yes
9180 fi
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192 # This can be used to rebuild libtool when needed
9193 LIBTOOL_DEPS="$ltmain"
9194
9195 # Always use our own libtool.
9196 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227 test -z "$LN_S" && LN_S="ln -s"
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242 if test -n "${ZSH_VERSION+set}" ; then
9243    setopt NO_GLOB_SUBST
9244 fi
9245
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9247 $as_echo_n "checking for objdir... " >&6; }
9248 if ${lt_cv_objdir+:} false; then :
9249   $as_echo_n "(cached) " >&6
9250 else
9251   rm -f .libs 2>/dev/null
9252 mkdir .libs 2>/dev/null
9253 if test -d .libs; then
9254   lt_cv_objdir=.libs
9255 else
9256   # MS-DOS does not allow filenames that begin with a dot.
9257   lt_cv_objdir=_libs
9258 fi
9259 rmdir .libs 2>/dev/null
9260 fi
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9262 $as_echo "$lt_cv_objdir" >&6; }
9263 objdir=$lt_cv_objdir
9264
9265
9266
9267
9268
9269 cat >>confdefs.h <<_ACEOF
9270 #define LT_OBJDIR "$lt_cv_objdir/"
9271 _ACEOF
9272
9273
9274
9275
9276 case $host_os in
9277 aix3*)
9278   # AIX sometimes has problems with the GCC collect2 program.  For some
9279   # reason, if we set the COLLECT_NAMES environment variable, the problems
9280   # vanish in a puff of smoke.
9281   if test "X${COLLECT_NAMES+set}" != Xset; then
9282     COLLECT_NAMES=
9283     export COLLECT_NAMES
9284   fi
9285   ;;
9286 esac
9287
9288 # Global variables:
9289 ofile=libtool
9290 can_build_shared=yes
9291
9292 # All known linkers require a `.a' archive for static linking (except MSVC,
9293 # which needs '.lib').
9294 libext=a
9295
9296 with_gnu_ld="$lt_cv_prog_gnu_ld"
9297
9298 old_CC="$CC"
9299 old_CFLAGS="$CFLAGS"
9300
9301 # Set sane defaults for various variables
9302 test -z "$CC" && CC=cc
9303 test -z "$LTCC" && LTCC=$CC
9304 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9305 test -z "$LD" && LD=ld
9306 test -z "$ac_objext" && ac_objext=o
9307
9308 for cc_temp in $compiler""; do
9309   case $cc_temp in
9310     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9311     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9312     \-*) ;;
9313     *) break;;
9314   esac
9315 done
9316 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9317
9318
9319 # Only perform the check for file, if the check method requires it
9320 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9321 case $deplibs_check_method in
9322 file_magic*)
9323   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9324     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9325 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9326 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9327   $as_echo_n "(cached) " >&6
9328 else
9329   case $MAGIC_CMD in
9330 [\\/*] |  ?:[\\/]*)
9331   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9332   ;;
9333 *)
9334   lt_save_MAGIC_CMD="$MAGIC_CMD"
9335   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9336   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9337   for ac_dir in $ac_dummy; do
9338     IFS="$lt_save_ifs"
9339     test -z "$ac_dir" && ac_dir=.
9340     if test -f $ac_dir/${ac_tool_prefix}file; then
9341       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9342       if test -n "$file_magic_test_file"; then
9343         case $deplibs_check_method in
9344         "file_magic "*)
9345           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9346           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9347           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9348             $EGREP "$file_magic_regex" > /dev/null; then
9349             :
9350           else
9351             cat <<_LT_EOF 1>&2
9352
9353 *** Warning: the command libtool uses to detect shared libraries,
9354 *** $file_magic_cmd, produces output that libtool cannot recognize.
9355 *** The result is that libtool may fail to recognize shared libraries
9356 *** as such.  This will affect the creation of libtool libraries that
9357 *** depend on shared libraries, but programs linked with such libtool
9358 *** libraries will work regardless of this problem.  Nevertheless, you
9359 *** may want to report the problem to your system manager and/or to
9360 *** bug-libtool@gnu.org
9361
9362 _LT_EOF
9363           fi ;;
9364         esac
9365       fi
9366       break
9367     fi
9368   done
9369   IFS="$lt_save_ifs"
9370   MAGIC_CMD="$lt_save_MAGIC_CMD"
9371   ;;
9372 esac
9373 fi
9374
9375 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9376 if test -n "$MAGIC_CMD"; then
9377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9378 $as_echo "$MAGIC_CMD" >&6; }
9379 else
9380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9381 $as_echo "no" >&6; }
9382 fi
9383
9384
9385
9386
9387
9388 if test -z "$lt_cv_path_MAGIC_CMD"; then
9389   if test -n "$ac_tool_prefix"; then
9390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9391 $as_echo_n "checking for file... " >&6; }
9392 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9393   $as_echo_n "(cached) " >&6
9394 else
9395   case $MAGIC_CMD in
9396 [\\/*] |  ?:[\\/]*)
9397   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9398   ;;
9399 *)
9400   lt_save_MAGIC_CMD="$MAGIC_CMD"
9401   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9402   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9403   for ac_dir in $ac_dummy; do
9404     IFS="$lt_save_ifs"
9405     test -z "$ac_dir" && ac_dir=.
9406     if test -f $ac_dir/file; then
9407       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9408       if test -n "$file_magic_test_file"; then
9409         case $deplibs_check_method in
9410         "file_magic "*)
9411           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9412           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9413           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9414             $EGREP "$file_magic_regex" > /dev/null; then
9415             :
9416           else
9417             cat <<_LT_EOF 1>&2
9418
9419 *** Warning: the command libtool uses to detect shared libraries,
9420 *** $file_magic_cmd, produces output that libtool cannot recognize.
9421 *** The result is that libtool may fail to recognize shared libraries
9422 *** as such.  This will affect the creation of libtool libraries that
9423 *** depend on shared libraries, but programs linked with such libtool
9424 *** libraries will work regardless of this problem.  Nevertheless, you
9425 *** may want to report the problem to your system manager and/or to
9426 *** bug-libtool@gnu.org
9427
9428 _LT_EOF
9429           fi ;;
9430         esac
9431       fi
9432       break
9433     fi
9434   done
9435   IFS="$lt_save_ifs"
9436   MAGIC_CMD="$lt_save_MAGIC_CMD"
9437   ;;
9438 esac
9439 fi
9440
9441 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9442 if test -n "$MAGIC_CMD"; then
9443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9444 $as_echo "$MAGIC_CMD" >&6; }
9445 else
9446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 $as_echo "no" >&6; }
9448 fi
9449
9450
9451   else
9452     MAGIC_CMD=:
9453   fi
9454 fi
9455
9456   fi
9457   ;;
9458 esac
9459
9460 # Use C for the default configuration in the libtool script
9461
9462 lt_save_CC="$CC"
9463 ac_ext=c
9464 ac_cpp='$CPP $CPPFLAGS'
9465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9468
9469
9470 # Source file extension for C test sources.
9471 ac_ext=c
9472
9473 # Object file extension for compiled C test sources.
9474 objext=o
9475 objext=$objext
9476
9477 # Code to be used in simple compile tests
9478 lt_simple_compile_test_code="int some_variable = 0;"
9479
9480 # Code to be used in simple link tests
9481 lt_simple_link_test_code='int main(){return(0);}'
9482
9483
9484
9485
9486
9487
9488
9489 # If no C compiler was specified, use CC.
9490 LTCC=${LTCC-"$CC"}
9491
9492 # If no C compiler flags were specified, use CFLAGS.
9493 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9494
9495 # Allow CC to be a program name with arguments.
9496 compiler=$CC
9497
9498 # Save the default compiler, since it gets overwritten when the other
9499 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9500 compiler_DEFAULT=$CC
9501
9502 # save warnings/boilerplate of simple test code
9503 ac_outfile=conftest.$ac_objext
9504 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9505 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9506 _lt_compiler_boilerplate=`cat conftest.err`
9507 $RM conftest*
9508
9509 ac_outfile=conftest.$ac_objext
9510 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9511 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9512 _lt_linker_boilerplate=`cat conftest.err`
9513 $RM -r conftest*
9514
9515
9516 if test -n "$compiler"; then
9517
9518 lt_prog_compiler_no_builtin_flag=
9519
9520 if test "$GCC" = yes; then
9521   case $cc_basename in
9522   nvcc*)
9523     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9524   *)
9525     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9526   esac
9527
9528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9529 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9530 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9531   $as_echo_n "(cached) " >&6
9532 else
9533   lt_cv_prog_compiler_rtti_exceptions=no
9534    ac_outfile=conftest.$ac_objext
9535    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9536    lt_compiler_flag="-fno-rtti -fno-exceptions"
9537    # Insert the option either (1) after the last *FLAGS variable, or
9538    # (2) before a word containing "conftest.", or (3) at the end.
9539    # Note that $ac_compile itself does not contain backslashes and begins
9540    # with a dollar sign (not a hyphen), so the echo should work correctly.
9541    # The option is referenced via a variable to avoid confusing sed.
9542    lt_compile=`echo "$ac_compile" | $SED \
9543    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9544    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9545    -e 's:$: $lt_compiler_flag:'`
9546    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9547    (eval "$lt_compile" 2>conftest.err)
9548    ac_status=$?
9549    cat conftest.err >&5
9550    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551    if (exit $ac_status) && test -s "$ac_outfile"; then
9552      # The compiler can only warn and ignore the option if not recognized
9553      # So say no if there are warnings other than the usual output.
9554      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9555      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9556      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9557        lt_cv_prog_compiler_rtti_exceptions=yes
9558      fi
9559    fi
9560    $RM conftest*
9561
9562 fi
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9564 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9565
9566 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9567     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9568 else
9569     :
9570 fi
9571
9572 fi
9573
9574
9575
9576
9577
9578
9579   lt_prog_compiler_wl=
9580 lt_prog_compiler_pic=
9581 lt_prog_compiler_static=
9582
9583
9584   if test "$GCC" = yes; then
9585     lt_prog_compiler_wl='-Wl,'
9586     lt_prog_compiler_static='-static'
9587
9588     case $host_os in
9589       aix*)
9590       # All AIX code is PIC.
9591       if test "$host_cpu" = ia64; then
9592         # AIX 5 now supports IA64 processor
9593         lt_prog_compiler_static='-Bstatic'
9594       fi
9595       ;;
9596
9597     amigaos*)
9598       case $host_cpu in
9599       powerpc)
9600             # see comment about AmigaOS4 .so support
9601             lt_prog_compiler_pic='-fPIC'
9602         ;;
9603       m68k)
9604             # FIXME: we need at least 68020 code to build shared libraries, but
9605             # adding the `-m68020' flag to GCC prevents building anything better,
9606             # like `-m68040'.
9607             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9608         ;;
9609       esac
9610       ;;
9611
9612     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9613       # PIC is the default for these OSes.
9614       ;;
9615
9616     mingw* | cygwin* | pw32* | os2* | cegcc*)
9617       # This hack is so that the source file can tell whether it is being
9618       # built for inclusion in a dll (and should export symbols for example).
9619       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9620       # (--disable-auto-import) libraries
9621       lt_prog_compiler_pic='-DDLL_EXPORT'
9622       ;;
9623
9624     darwin* | rhapsody*)
9625       # PIC is the default on this platform
9626       # Common symbols not allowed in MH_DYLIB files
9627       lt_prog_compiler_pic='-fno-common'
9628       ;;
9629
9630     haiku*)
9631       # PIC is the default for Haiku.
9632       # The "-static" flag exists, but is broken.
9633       lt_prog_compiler_static=
9634       ;;
9635
9636     hpux*)
9637       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9638       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9639       # sets the default TLS model and affects inlining.
9640       case $host_cpu in
9641       hppa*64*)
9642         # +Z the default
9643         ;;
9644       *)
9645         lt_prog_compiler_pic='-fPIC'
9646         ;;
9647       esac
9648       ;;
9649
9650     interix[3-9]*)
9651       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9652       # Instead, we relocate shared libraries at runtime.
9653       ;;
9654
9655     msdosdjgpp*)
9656       # Just because we use GCC doesn't mean we suddenly get shared libraries
9657       # on systems that don't support them.
9658       lt_prog_compiler_can_build_shared=no
9659       enable_shared=no
9660       ;;
9661
9662     *nto* | *qnx*)
9663       # QNX uses GNU C++, but need to define -shared option too, otherwise
9664       # it will coredump.
9665       lt_prog_compiler_pic='-fPIC -shared'
9666       ;;
9667
9668     sysv4*MP*)
9669       if test -d /usr/nec; then
9670         lt_prog_compiler_pic=-Kconform_pic
9671       fi
9672       ;;
9673
9674     *)
9675       lt_prog_compiler_pic='-fPIC'
9676       ;;
9677     esac
9678
9679     case $cc_basename in
9680     nvcc*) # Cuda Compiler Driver 2.2
9681       lt_prog_compiler_wl='-Xlinker '
9682       if test -n "$lt_prog_compiler_pic"; then
9683         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9684       fi
9685       ;;
9686     esac
9687   else
9688     # PORTME Check for flag to pass linker flags through the system compiler.
9689     case $host_os in
9690     aix*)
9691       lt_prog_compiler_wl='-Wl,'
9692       if test "$host_cpu" = ia64; then
9693         # AIX 5 now supports IA64 processor
9694         lt_prog_compiler_static='-Bstatic'
9695       else
9696         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9697       fi
9698       ;;
9699
9700     mingw* | cygwin* | pw32* | os2* | cegcc*)
9701       # This hack is so that the source file can tell whether it is being
9702       # built for inclusion in a dll (and should export symbols for example).
9703       lt_prog_compiler_pic='-DDLL_EXPORT'
9704       ;;
9705
9706     hpux9* | hpux10* | hpux11*)
9707       lt_prog_compiler_wl='-Wl,'
9708       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9709       # not for PA HP-UX.
9710       case $host_cpu in
9711       hppa*64*|ia64*)
9712         # +Z the default
9713         ;;
9714       *)
9715         lt_prog_compiler_pic='+Z'
9716         ;;
9717       esac
9718       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9719       lt_prog_compiler_static='${wl}-a ${wl}archive'
9720       ;;
9721
9722     irix5* | irix6* | nonstopux*)
9723       lt_prog_compiler_wl='-Wl,'
9724       # PIC (with -KPIC) is the default.
9725       lt_prog_compiler_static='-non_shared'
9726       ;;
9727
9728     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9729       case $cc_basename in
9730       # old Intel for x86_64 which still supported -KPIC.
9731       ecc*)
9732         lt_prog_compiler_wl='-Wl,'
9733         lt_prog_compiler_pic='-KPIC'
9734         lt_prog_compiler_static='-static'
9735         ;;
9736       # icc used to be incompatible with GCC.
9737       # ICC 10 doesn't accept -KPIC any more.
9738       icc* | ifort*)
9739         lt_prog_compiler_wl='-Wl,'
9740         lt_prog_compiler_pic='-fPIC'
9741         lt_prog_compiler_static='-static'
9742         ;;
9743       # Lahey Fortran 8.1.
9744       lf95*)
9745         lt_prog_compiler_wl='-Wl,'
9746         lt_prog_compiler_pic='--shared'
9747         lt_prog_compiler_static='--static'
9748         ;;
9749       nagfor*)
9750         # NAG Fortran compiler
9751         lt_prog_compiler_wl='-Wl,-Wl,,'
9752         lt_prog_compiler_pic='-PIC'
9753         lt_prog_compiler_static='-Bstatic'
9754         ;;
9755       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9756         # Portland Group compilers (*not* the Pentium gcc compiler,
9757         # which looks to be a dead project)
9758         lt_prog_compiler_wl='-Wl,'
9759         lt_prog_compiler_pic='-fpic'
9760         lt_prog_compiler_static='-Bstatic'
9761         ;;
9762       ccc*)
9763         lt_prog_compiler_wl='-Wl,'
9764         # All Alpha code is PIC.
9765         lt_prog_compiler_static='-non_shared'
9766         ;;
9767       xl* | bgxl* | bgf* | mpixl*)
9768         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9769         lt_prog_compiler_wl='-Wl,'
9770         lt_prog_compiler_pic='-qpic'
9771         lt_prog_compiler_static='-qstaticlink'
9772         ;;
9773       *)
9774         case `$CC -V 2>&1 | sed 5q` in
9775         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9776           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9777           lt_prog_compiler_pic='-KPIC'
9778           lt_prog_compiler_static='-Bstatic'
9779           lt_prog_compiler_wl=''
9780           ;;
9781         *Sun\ F* | *Sun*Fortran*)
9782           lt_prog_compiler_pic='-KPIC'
9783           lt_prog_compiler_static='-Bstatic'
9784           lt_prog_compiler_wl='-Qoption ld '
9785           ;;
9786         *Sun\ C*)
9787           # Sun C 5.9
9788           lt_prog_compiler_pic='-KPIC'
9789           lt_prog_compiler_static='-Bstatic'
9790           lt_prog_compiler_wl='-Wl,'
9791           ;;
9792         *Intel*\ [CF]*Compiler*)
9793           lt_prog_compiler_wl='-Wl,'
9794           lt_prog_compiler_pic='-fPIC'
9795           lt_prog_compiler_static='-static'
9796           ;;
9797         *Portland\ Group*)
9798           lt_prog_compiler_wl='-Wl,'
9799           lt_prog_compiler_pic='-fpic'
9800           lt_prog_compiler_static='-Bstatic'
9801           ;;
9802         esac
9803         ;;
9804       esac
9805       ;;
9806
9807     newsos6)
9808       lt_prog_compiler_pic='-KPIC'
9809       lt_prog_compiler_static='-Bstatic'
9810       ;;
9811
9812     *nto* | *qnx*)
9813       # QNX uses GNU C++, but need to define -shared option too, otherwise
9814       # it will coredump.
9815       lt_prog_compiler_pic='-fPIC -shared'
9816       ;;
9817
9818     osf3* | osf4* | osf5*)
9819       lt_prog_compiler_wl='-Wl,'
9820       # All OSF/1 code is PIC.
9821       lt_prog_compiler_static='-non_shared'
9822       ;;
9823
9824     rdos*)
9825       lt_prog_compiler_static='-non_shared'
9826       ;;
9827
9828     solaris*)
9829       lt_prog_compiler_pic='-KPIC'
9830       lt_prog_compiler_static='-Bstatic'
9831       case $cc_basename in
9832       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9833         lt_prog_compiler_wl='-Qoption ld ';;
9834       *)
9835         lt_prog_compiler_wl='-Wl,';;
9836       esac
9837       ;;
9838
9839     sunos4*)
9840       lt_prog_compiler_wl='-Qoption ld '
9841       lt_prog_compiler_pic='-PIC'
9842       lt_prog_compiler_static='-Bstatic'
9843       ;;
9844
9845     sysv4 | sysv4.2uw2* | sysv4.3*)
9846       lt_prog_compiler_wl='-Wl,'
9847       lt_prog_compiler_pic='-KPIC'
9848       lt_prog_compiler_static='-Bstatic'
9849       ;;
9850
9851     sysv4*MP*)
9852       if test -d /usr/nec ;then
9853         lt_prog_compiler_pic='-Kconform_pic'
9854         lt_prog_compiler_static='-Bstatic'
9855       fi
9856       ;;
9857
9858     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9859       lt_prog_compiler_wl='-Wl,'
9860       lt_prog_compiler_pic='-KPIC'
9861       lt_prog_compiler_static='-Bstatic'
9862       ;;
9863
9864     unicos*)
9865       lt_prog_compiler_wl='-Wl,'
9866       lt_prog_compiler_can_build_shared=no
9867       ;;
9868
9869     uts4*)
9870       lt_prog_compiler_pic='-pic'
9871       lt_prog_compiler_static='-Bstatic'
9872       ;;
9873
9874     *)
9875       lt_prog_compiler_can_build_shared=no
9876       ;;
9877     esac
9878   fi
9879
9880 case $host_os in
9881   # For platforms which do not support PIC, -DPIC is meaningless:
9882   *djgpp*)
9883     lt_prog_compiler_pic=
9884     ;;
9885   *)
9886     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9887     ;;
9888 esac
9889
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9891 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9892 if ${lt_cv_prog_compiler_pic+:} false; then :
9893   $as_echo_n "(cached) " >&6
9894 else
9895   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9896 fi
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9898 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9899 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9900
9901 #
9902 # Check to make sure the PIC flag actually works.
9903 #
9904 if test -n "$lt_prog_compiler_pic"; then
9905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9906 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9907 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9908   $as_echo_n "(cached) " >&6
9909 else
9910   lt_cv_prog_compiler_pic_works=no
9911    ac_outfile=conftest.$ac_objext
9912    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9914    # Insert the option either (1) after the last *FLAGS variable, or
9915    # (2) before a word containing "conftest.", or (3) at the end.
9916    # Note that $ac_compile itself does not contain backslashes and begins
9917    # with a dollar sign (not a hyphen), so the echo should work correctly.
9918    # The option is referenced via a variable to avoid confusing sed.
9919    lt_compile=`echo "$ac_compile" | $SED \
9920    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9921    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9922    -e 's:$: $lt_compiler_flag:'`
9923    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9924    (eval "$lt_compile" 2>conftest.err)
9925    ac_status=$?
9926    cat conftest.err >&5
9927    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928    if (exit $ac_status) && test -s "$ac_outfile"; then
9929      # The compiler can only warn and ignore the option if not recognized
9930      # So say no if there are warnings other than the usual output.
9931      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9932      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9933      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9934        lt_cv_prog_compiler_pic_works=yes
9935      fi
9936    fi
9937    $RM conftest*
9938
9939 fi
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9941 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9942
9943 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9944     case $lt_prog_compiler_pic in
9945      "" | " "*) ;;
9946      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9947      esac
9948 else
9949     lt_prog_compiler_pic=
9950      lt_prog_compiler_can_build_shared=no
9951 fi
9952
9953 fi
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965 #
9966 # Check to make sure the static flag actually works.
9967 #
9968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9970 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9971 if ${lt_cv_prog_compiler_static_works+:} false; then :
9972   $as_echo_n "(cached) " >&6
9973 else
9974   lt_cv_prog_compiler_static_works=no
9975    save_LDFLAGS="$LDFLAGS"
9976    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9977    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9978    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9979      # The linker can only warn and ignore the option if not recognized
9980      # So say no if there are warnings
9981      if test -s conftest.err; then
9982        # Append any errors to the config.log.
9983        cat conftest.err 1>&5
9984        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9985        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9986        if diff conftest.exp conftest.er2 >/dev/null; then
9987          lt_cv_prog_compiler_static_works=yes
9988        fi
9989      else
9990        lt_cv_prog_compiler_static_works=yes
9991      fi
9992    fi
9993    $RM -r conftest*
9994    LDFLAGS="$save_LDFLAGS"
9995
9996 fi
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9998 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9999
10000 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10001     :
10002 else
10003     lt_prog_compiler_static=
10004 fi
10005
10006
10007
10008
10009
10010
10011
10012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10014 if ${lt_cv_prog_compiler_c_o+:} false; then :
10015   $as_echo_n "(cached) " >&6
10016 else
10017   lt_cv_prog_compiler_c_o=no
10018    $RM -r conftest 2>/dev/null
10019    mkdir conftest
10020    cd conftest
10021    mkdir out
10022    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10023
10024    lt_compiler_flag="-o out/conftest2.$ac_objext"
10025    # Insert the option either (1) after the last *FLAGS variable, or
10026    # (2) before a word containing "conftest.", or (3) at the end.
10027    # Note that $ac_compile itself does not contain backslashes and begins
10028    # with a dollar sign (not a hyphen), so the echo should work correctly.
10029    lt_compile=`echo "$ac_compile" | $SED \
10030    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10031    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10032    -e 's:$: $lt_compiler_flag:'`
10033    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10034    (eval "$lt_compile" 2>out/conftest.err)
10035    ac_status=$?
10036    cat out/conftest.err >&5
10037    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10039    then
10040      # The compiler can only warn and ignore the option if not recognized
10041      # So say no if there are warnings
10042      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10043      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10044      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10045        lt_cv_prog_compiler_c_o=yes
10046      fi
10047    fi
10048    chmod u+w . 2>&5
10049    $RM conftest*
10050    # SGI C++ compiler will create directory out/ii_files/ for
10051    # template instantiation
10052    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10053    $RM out/* && rmdir out
10054    cd ..
10055    $RM -r conftest
10056    $RM conftest*
10057
10058 fi
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10060 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10061
10062
10063
10064
10065
10066
10067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10069 if ${lt_cv_prog_compiler_c_o+:} false; then :
10070   $as_echo_n "(cached) " >&6
10071 else
10072   lt_cv_prog_compiler_c_o=no
10073    $RM -r conftest 2>/dev/null
10074    mkdir conftest
10075    cd conftest
10076    mkdir out
10077    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10078
10079    lt_compiler_flag="-o out/conftest2.$ac_objext"
10080    # Insert the option either (1) after the last *FLAGS variable, or
10081    # (2) before a word containing "conftest.", or (3) at the end.
10082    # Note that $ac_compile itself does not contain backslashes and begins
10083    # with a dollar sign (not a hyphen), so the echo should work correctly.
10084    lt_compile=`echo "$ac_compile" | $SED \
10085    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10086    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10087    -e 's:$: $lt_compiler_flag:'`
10088    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10089    (eval "$lt_compile" 2>out/conftest.err)
10090    ac_status=$?
10091    cat out/conftest.err >&5
10092    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10094    then
10095      # The compiler can only warn and ignore the option if not recognized
10096      # So say no if there are warnings
10097      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10098      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10099      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10100        lt_cv_prog_compiler_c_o=yes
10101      fi
10102    fi
10103    chmod u+w . 2>&5
10104    $RM conftest*
10105    # SGI C++ compiler will create directory out/ii_files/ for
10106    # template instantiation
10107    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10108    $RM out/* && rmdir out
10109    cd ..
10110    $RM -r conftest
10111    $RM conftest*
10112
10113 fi
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10116
10117
10118
10119
10120 hard_links="nottested"
10121 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10122   # do not overwrite the value of need_locks provided by the user
10123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10124 $as_echo_n "checking if we can lock with hard links... " >&6; }
10125   hard_links=yes
10126   $RM conftest*
10127   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10128   touch conftest.a
10129   ln conftest.a conftest.b 2>&5 || hard_links=no
10130   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10132 $as_echo "$hard_links" >&6; }
10133   if test "$hard_links" = no; then
10134     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10135 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10136     need_locks=warn
10137   fi
10138 else
10139   need_locks=no
10140 fi
10141
10142
10143
10144
10145
10146
10147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10148 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10149
10150   runpath_var=
10151   allow_undefined_flag=
10152   always_export_symbols=no
10153   archive_cmds=
10154   archive_expsym_cmds=
10155   compiler_needs_object=no
10156   enable_shared_with_static_runtimes=no
10157   export_dynamic_flag_spec=
10158   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10159   hardcode_automatic=no
10160   hardcode_direct=no
10161   hardcode_direct_absolute=no
10162   hardcode_libdir_flag_spec=
10163   hardcode_libdir_separator=
10164   hardcode_minus_L=no
10165   hardcode_shlibpath_var=unsupported
10166   inherit_rpath=no
10167   link_all_deplibs=unknown
10168   module_cmds=
10169   module_expsym_cmds=
10170   old_archive_from_new_cmds=
10171   old_archive_from_expsyms_cmds=
10172   thread_safe_flag_spec=
10173   whole_archive_flag_spec=
10174   # include_expsyms should be a list of space-separated symbols to be *always*
10175   # included in the symbol list
10176   include_expsyms=
10177   # exclude_expsyms can be an extended regexp of symbols to exclude
10178   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10179   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10180   # as well as any symbol that contains `d'.
10181   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10182   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10183   # platforms (ab)use it in PIC code, but their linkers get confused if
10184   # the symbol is explicitly referenced.  Since portable code cannot
10185   # rely on this symbol name, it's probably fine to never include it in
10186   # preloaded symbol tables.
10187   # Exclude shared library initialization/finalization symbols.
10188   extract_expsyms_cmds=
10189
10190   case $host_os in
10191   cygwin* | mingw* | pw32* | cegcc*)
10192     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10193     # When not using gcc, we currently assume that we are using
10194     # Microsoft Visual C++.
10195     if test "$GCC" != yes; then
10196       with_gnu_ld=no
10197     fi
10198     ;;
10199   interix*)
10200     # we just hope/assume this is gcc and not c89 (= MSVC++)
10201     with_gnu_ld=yes
10202     ;;
10203   openbsd*)
10204     with_gnu_ld=no
10205     ;;
10206   esac
10207
10208   ld_shlibs=yes
10209
10210   # On some targets, GNU ld is compatible enough with the native linker
10211   # that we're better off using the native interface for both.
10212   lt_use_gnu_ld_interface=no
10213   if test "$with_gnu_ld" = yes; then
10214     case $host_os in
10215       aix*)
10216         # The AIX port of GNU ld has always aspired to compatibility
10217         # with the native linker.  However, as the warning in the GNU ld
10218         # block says, versions before 2.19.5* couldn't really create working
10219         # shared libraries, regardless of the interface used.
10220         case `$LD -v 2>&1` in
10221           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10222           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10223           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10224           *)
10225             lt_use_gnu_ld_interface=yes
10226             ;;
10227         esac
10228         ;;
10229       *)
10230         lt_use_gnu_ld_interface=yes
10231         ;;
10232     esac
10233   fi
10234
10235   if test "$lt_use_gnu_ld_interface" = yes; then
10236     # If archive_cmds runs LD, not CC, wlarc should be empty
10237     wlarc='${wl}'
10238
10239     # Set some defaults for GNU ld with shared library support. These
10240     # are reset later if shared libraries are not supported. Putting them
10241     # here allows them to be overridden if necessary.
10242     runpath_var=LD_RUN_PATH
10243     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10244     export_dynamic_flag_spec='${wl}--export-dynamic'
10245     # ancient GNU ld didn't support --whole-archive et. al.
10246     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10247       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10248     else
10249       whole_archive_flag_spec=
10250     fi
10251     supports_anon_versioning=no
10252     case `$LD -v 2>&1` in
10253       *GNU\ gold*) supports_anon_versioning=yes ;;
10254       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10255       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10256       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10257       *\ 2.11.*) ;; # other 2.11 versions
10258       *) supports_anon_versioning=yes ;;
10259     esac
10260
10261     # See if GNU ld supports shared libraries.
10262     case $host_os in
10263     aix[3-9]*)
10264       # On AIX/PPC, the GNU linker is very broken
10265       if test "$host_cpu" != ia64; then
10266         ld_shlibs=no
10267         cat <<_LT_EOF 1>&2
10268
10269 *** Warning: the GNU linker, at least up to release 2.19, is reported
10270 *** to be unable to reliably create shared libraries on AIX.
10271 *** Therefore, libtool is disabling shared libraries support.  If you
10272 *** really care for shared libraries, you may want to install binutils
10273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10274 *** You will then need to restart the configuration process.
10275
10276 _LT_EOF
10277       fi
10278       ;;
10279
10280     amigaos*)
10281       case $host_cpu in
10282       powerpc)
10283             # see comment about AmigaOS4 .so support
10284             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10285             archive_expsym_cmds=''
10286         ;;
10287       m68k)
10288             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)'
10289             hardcode_libdir_flag_spec='-L$libdir'
10290             hardcode_minus_L=yes
10291         ;;
10292       esac
10293       ;;
10294
10295     beos*)
10296       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10297         allow_undefined_flag=unsupported
10298         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10299         # support --undefined.  This deserves some investigation.  FIXME
10300         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10301       else
10302         ld_shlibs=no
10303       fi
10304       ;;
10305
10306     cygwin* | mingw* | pw32* | cegcc*)
10307       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10308       # as there is no search path for DLLs.
10309       hardcode_libdir_flag_spec='-L$libdir'
10310       export_dynamic_flag_spec='${wl}--export-all-symbols'
10311       allow_undefined_flag=unsupported
10312       always_export_symbols=no
10313       enable_shared_with_static_runtimes=yes
10314       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'
10315       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10316
10317       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10318         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10319         # If the export-symbols file already is a .def file (1st line
10320         # is EXPORTS), use it as is; otherwise, prepend...
10321         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10322           cp $export_symbols $output_objdir/$soname.def;
10323         else
10324           echo EXPORTS > $output_objdir/$soname.def;
10325           cat $export_symbols >> $output_objdir/$soname.def;
10326         fi~
10327         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10328       else
10329         ld_shlibs=no
10330       fi
10331       ;;
10332
10333     haiku*)
10334       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10335       link_all_deplibs=yes
10336       ;;
10337
10338     interix[3-9]*)
10339       hardcode_direct=no
10340       hardcode_shlibpath_var=no
10341       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10342       export_dynamic_flag_spec='${wl}-E'
10343       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10344       # Instead, shared libraries are loaded at an image base (0x10000000 by
10345       # default) and relocated if they conflict, which is a slow very memory
10346       # consuming and fragmenting process.  To avoid this, we pick a random,
10347       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10348       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10349       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10350       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'
10351       ;;
10352
10353     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10354       tmp_diet=no
10355       if test "$host_os" = linux-dietlibc; then
10356         case $cc_basename in
10357           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10358         esac
10359       fi
10360       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10361          && test "$tmp_diet" = no
10362       then
10363         tmp_addflag=' $pic_flag'
10364         tmp_sharedflag='-shared'
10365         case $cc_basename,$host_cpu in
10366         pgcc*)                          # Portland Group C compiler
10367           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'
10368           tmp_addflag=' $pic_flag'
10369           ;;
10370         pgf77* | pgf90* | pgf95* | pgfortran*)
10371                                         # Portland Group f77 and f90 compilers
10372           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'
10373           tmp_addflag=' $pic_flag -Mnomain' ;;
10374         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10375           tmp_addflag=' -i_dynamic' ;;
10376         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10377           tmp_addflag=' -i_dynamic -nofor_main' ;;
10378         ifc* | ifort*)                  # Intel Fortran compiler
10379           tmp_addflag=' -nofor_main' ;;
10380         lf95*)                          # Lahey Fortran 8.1
10381           whole_archive_flag_spec=
10382           tmp_sharedflag='--shared' ;;
10383         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10384           tmp_sharedflag='-qmkshrobj'
10385           tmp_addflag= ;;
10386         nvcc*)  # Cuda Compiler Driver 2.2
10387           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'
10388           compiler_needs_object=yes
10389           ;;
10390         esac
10391         case `$CC -V 2>&1 | sed 5q` in
10392         *Sun\ C*)                       # Sun C 5.9
10393           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'
10394           compiler_needs_object=yes
10395           tmp_sharedflag='-G' ;;
10396         *Sun\ F*)                       # Sun Fortran 8.3
10397           tmp_sharedflag='-G' ;;
10398         esac
10399         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10400
10401         if test "x$supports_anon_versioning" = xyes; then
10402           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10403             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10404             echo "local: *; };" >> $output_objdir/$libname.ver~
10405             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10406         fi
10407
10408         case $cc_basename in
10409         xlf* | bgf* | bgxlf* | mpixlf*)
10410           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10411           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10412           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10413           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10414           if test "x$supports_anon_versioning" = xyes; then
10415             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10416               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10417               echo "local: *; };" >> $output_objdir/$libname.ver~
10418               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10419           fi
10420           ;;
10421         esac
10422       else
10423         ld_shlibs=no
10424       fi
10425       ;;
10426
10427     netbsd*)
10428       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10429         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10430         wlarc=
10431       else
10432         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10433         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10434       fi
10435       ;;
10436
10437     solaris*)
10438       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10439         ld_shlibs=no
10440         cat <<_LT_EOF 1>&2
10441
10442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10443 *** create shared libraries on Solaris systems.  Therefore, libtool
10444 *** is disabling shared libraries support.  We urge you to upgrade GNU
10445 *** binutils to release 2.9.1 or newer.  Another option is to modify
10446 *** your PATH or compiler configuration so that the native linker is
10447 *** used, and then restart.
10448
10449 _LT_EOF
10450       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10451         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10452         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10453       else
10454         ld_shlibs=no
10455       fi
10456       ;;
10457
10458     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10459       case `$LD -v 2>&1` in
10460         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10461         ld_shlibs=no
10462         cat <<_LT_EOF 1>&2
10463
10464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10465 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10466 *** is disabling shared libraries support.  We urge you to upgrade GNU
10467 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10468 *** your PATH or compiler configuration so that the native linker is
10469 *** used, and then restart.
10470
10471 _LT_EOF
10472         ;;
10473         *)
10474           # For security reasons, it is highly recommended that you always
10475           # use absolute paths for naming shared libraries, and exclude the
10476           # DT_RUNPATH tag from executables and libraries.  But doing so
10477           # requires that you compile everything twice, which is a pain.
10478           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10479             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10480             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10481             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10482           else
10483             ld_shlibs=no
10484           fi
10485         ;;
10486       esac
10487       ;;
10488
10489     sunos4*)
10490       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10491       wlarc=
10492       hardcode_direct=yes
10493       hardcode_shlibpath_var=no
10494       ;;
10495
10496     *)
10497       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10498         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10499         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10500       else
10501         ld_shlibs=no
10502       fi
10503       ;;
10504     esac
10505
10506     if test "$ld_shlibs" = no; then
10507       runpath_var=
10508       hardcode_libdir_flag_spec=
10509       export_dynamic_flag_spec=
10510       whole_archive_flag_spec=
10511     fi
10512   else
10513     # PORTME fill in a description of your system's linker (not GNU ld)
10514     case $host_os in
10515     aix3*)
10516       allow_undefined_flag=unsupported
10517       always_export_symbols=yes
10518       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'
10519       # Note: this linker hardcodes the directories in LIBPATH if there
10520       # are no directories specified by -L.
10521       hardcode_minus_L=yes
10522       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10523         # Neither direct hardcoding nor static linking is supported with a
10524         # broken collect2.
10525         hardcode_direct=unsupported
10526       fi
10527       ;;
10528
10529     aix[4-9]*)
10530       if test "$host_cpu" = ia64; then
10531         # On IA64, the linker does run time linking by default, so we don't
10532         # have to do anything special.
10533         aix_use_runtimelinking=no
10534         exp_sym_flag='-Bexport'
10535         no_entry_flag=""
10536       else
10537         # If we're using GNU nm, then we don't want the "-C" option.
10538         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10539         # Also, AIX nm treats weak defined symbols like other global
10540         # defined symbols, whereas GNU nm marks them as "W".
10541         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10542           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'
10543         else
10544           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'
10545         fi
10546         aix_use_runtimelinking=no
10547
10548         # Test if we are trying to use run time linking or normal
10549         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10550         # need to do runtime linking.
10551         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10552           for ld_flag in $LDFLAGS; do
10553           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10554             aix_use_runtimelinking=yes
10555             break
10556           fi
10557           done
10558           ;;
10559         esac
10560
10561         exp_sym_flag='-bexport'
10562         no_entry_flag='-bnoentry'
10563       fi
10564
10565       # When large executables or shared objects are built, AIX ld can
10566       # have problems creating the table of contents.  If linking a library
10567       # or program results in "error TOC overflow" add -mminimal-toc to
10568       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10569       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10570
10571       archive_cmds=''
10572       hardcode_direct=yes
10573       hardcode_direct_absolute=yes
10574       hardcode_libdir_separator=':'
10575       link_all_deplibs=yes
10576       file_list_spec='${wl}-f,'
10577
10578       if test "$GCC" = yes; then
10579         case $host_os in aix4.[012]|aix4.[012].*)
10580         # We only want to do this on AIX 4.2 and lower, the check
10581         # below for broken collect2 doesn't work under 4.3+
10582           collect2name=`${CC} -print-prog-name=collect2`
10583           if test -f "$collect2name" &&
10584            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10585           then
10586           # We have reworked collect2
10587           :
10588           else
10589           # We have old collect2
10590           hardcode_direct=unsupported
10591           # It fails to find uninstalled libraries when the uninstalled
10592           # path is not listed in the libpath.  Setting hardcode_minus_L
10593           # to unsupported forces relinking
10594           hardcode_minus_L=yes
10595           hardcode_libdir_flag_spec='-L$libdir'
10596           hardcode_libdir_separator=
10597           fi
10598           ;;
10599         esac
10600         shared_flag='-shared'
10601         if test "$aix_use_runtimelinking" = yes; then
10602           shared_flag="$shared_flag "'${wl}-G'
10603         fi
10604       else
10605         # not using gcc
10606         if test "$host_cpu" = ia64; then
10607         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10608         # chokes on -Wl,-G. The following line is correct:
10609           shared_flag='-G'
10610         else
10611           if test "$aix_use_runtimelinking" = yes; then
10612             shared_flag='${wl}-G'
10613           else
10614             shared_flag='${wl}-bM:SRE'
10615           fi
10616         fi
10617       fi
10618
10619       export_dynamic_flag_spec='${wl}-bexpall'
10620       # It seems that -bexpall does not export symbols beginning with
10621       # underscore (_), so it is better to generate a list of symbols to export.
10622       always_export_symbols=yes
10623       if test "$aix_use_runtimelinking" = yes; then
10624         # Warning - without using the other runtime loading flags (-brtl),
10625         # -berok will link without error, but may produce a broken library.
10626         allow_undefined_flag='-berok'
10627         # Determine the default libpath from the value encoded in an
10628         # empty executable.
10629         if test "${lt_cv_aix_libpath+set}" = set; then
10630   aix_libpath=$lt_cv_aix_libpath
10631 else
10632   if ${lt_cv_aix_libpath_+:} false; then :
10633   $as_echo_n "(cached) " >&6
10634 else
10635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h.  */
10637
10638 int
10639 main ()
10640 {
10641
10642   ;
10643   return 0;
10644 }
10645 _ACEOF
10646 if ac_fn_c_try_link "$LINENO"; then :
10647
10648   lt_aix_libpath_sed='
10649       /Import File Strings/,/^$/ {
10650           /^0/ {
10651               s/^0  *\([^ ]*\) *$/\1/
10652               p
10653           }
10654       }'
10655   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10656   # Check for a 64-bit object if we didn't find anything.
10657   if test -z "$lt_cv_aix_libpath_"; then
10658     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10659   fi
10660 fi
10661 rm -f core conftest.err conftest.$ac_objext \
10662     conftest$ac_exeext conftest.$ac_ext
10663   if test -z "$lt_cv_aix_libpath_"; then
10664     lt_cv_aix_libpath_="/usr/lib:/lib"
10665   fi
10666
10667 fi
10668
10669   aix_libpath=$lt_cv_aix_libpath_
10670 fi
10671
10672         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10673         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"
10674       else
10675         if test "$host_cpu" = ia64; then
10676           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10677           allow_undefined_flag="-z nodefs"
10678           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"
10679         else
10680          # Determine the default libpath from the value encoded in an
10681          # empty executable.
10682          if test "${lt_cv_aix_libpath+set}" = set; then
10683   aix_libpath=$lt_cv_aix_libpath
10684 else
10685   if ${lt_cv_aix_libpath_+:} false; then :
10686   $as_echo_n "(cached) " >&6
10687 else
10688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h.  */
10690
10691 int
10692 main ()
10693 {
10694
10695   ;
10696   return 0;
10697 }
10698 _ACEOF
10699 if ac_fn_c_try_link "$LINENO"; then :
10700
10701   lt_aix_libpath_sed='
10702       /Import File Strings/,/^$/ {
10703           /^0/ {
10704               s/^0  *\([^ ]*\) *$/\1/
10705               p
10706           }
10707       }'
10708   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10709   # Check for a 64-bit object if we didn't find anything.
10710   if test -z "$lt_cv_aix_libpath_"; then
10711     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10712   fi
10713 fi
10714 rm -f core conftest.err conftest.$ac_objext \
10715     conftest$ac_exeext conftest.$ac_ext
10716   if test -z "$lt_cv_aix_libpath_"; then
10717     lt_cv_aix_libpath_="/usr/lib:/lib"
10718   fi
10719
10720 fi
10721
10722   aix_libpath=$lt_cv_aix_libpath_
10723 fi
10724
10725          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10726           # Warning - without using the other run time loading flags,
10727           # -berok will link without error, but may produce a broken library.
10728           no_undefined_flag=' ${wl}-bernotok'
10729           allow_undefined_flag=' ${wl}-berok'
10730           if test "$with_gnu_ld" = yes; then
10731             # We only use this code for GNU lds that support --whole-archive.
10732             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10733           else
10734             # Exported symbols can be pulled into shared objects from archives
10735             whole_archive_flag_spec='$convenience'
10736           fi
10737           archive_cmds_need_lc=yes
10738           # This is similar to how AIX traditionally builds its shared libraries.
10739           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'
10740         fi
10741       fi
10742       ;;
10743
10744     amigaos*)
10745       case $host_cpu in
10746       powerpc)
10747             # see comment about AmigaOS4 .so support
10748             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10749             archive_expsym_cmds=''
10750         ;;
10751       m68k)
10752             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)'
10753             hardcode_libdir_flag_spec='-L$libdir'
10754             hardcode_minus_L=yes
10755         ;;
10756       esac
10757       ;;
10758
10759     bsdi[45]*)
10760       export_dynamic_flag_spec=-rdynamic
10761       ;;
10762
10763     cygwin* | mingw* | pw32* | cegcc*)
10764       # When not using gcc, we currently assume that we are using
10765       # Microsoft Visual C++.
10766       # hardcode_libdir_flag_spec is actually meaningless, as there is
10767       # no search path for DLLs.
10768       case $cc_basename in
10769       cl*)
10770         # Native MSVC
10771         hardcode_libdir_flag_spec=' '
10772         allow_undefined_flag=unsupported
10773         always_export_symbols=yes
10774         file_list_spec='@'
10775         # Tell ltmain to make .lib files, not .a files.
10776         libext=lib
10777         # Tell ltmain to make .dll files, not .so files.
10778         shrext_cmds=".dll"
10779         # FIXME: Setting linknames here is a bad hack.
10780         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10781         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10782             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10783           else
10784             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10785           fi~
10786           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10787           linknames='
10788         # The linker will not automatically build a static lib if we build a DLL.
10789         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10790         enable_shared_with_static_runtimes=yes
10791         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10792         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10793         # Don't use ranlib
10794         old_postinstall_cmds='chmod 644 $oldlib'
10795         postlink_cmds='lt_outputfile="@OUTPUT@"~
10796           lt_tool_outputfile="@TOOL_OUTPUT@"~
10797           case $lt_outputfile in
10798             *.exe|*.EXE) ;;
10799             *)
10800               lt_outputfile="$lt_outputfile.exe"
10801               lt_tool_outputfile="$lt_tool_outputfile.exe"
10802               ;;
10803           esac~
10804           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10805             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10806             $RM "$lt_outputfile.manifest";
10807           fi'
10808         ;;
10809       *)
10810         # Assume MSVC wrapper
10811         hardcode_libdir_flag_spec=' '
10812         allow_undefined_flag=unsupported
10813         # Tell ltmain to make .lib files, not .a files.
10814         libext=lib
10815         # Tell ltmain to make .dll files, not .so files.
10816         shrext_cmds=".dll"
10817         # FIXME: Setting linknames here is a bad hack.
10818         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10819         # The linker will automatically build a .lib file if we build a DLL.
10820         old_archive_from_new_cmds='true'
10821         # FIXME: Should let the user specify the lib program.
10822         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10823         enable_shared_with_static_runtimes=yes
10824         ;;
10825       esac
10826       ;;
10827
10828     darwin* | rhapsody*)
10829
10830
10831   archive_cmds_need_lc=no
10832   hardcode_direct=no
10833   hardcode_automatic=yes
10834   hardcode_shlibpath_var=unsupported
10835   if test "$lt_cv_ld_force_load" = "yes"; then
10836     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\"`'
10837
10838   else
10839     whole_archive_flag_spec=''
10840   fi
10841   link_all_deplibs=yes
10842   allow_undefined_flag="$_lt_dar_allow_undefined"
10843   case $cc_basename in
10844      ifort*) _lt_dar_can_shared=yes ;;
10845      *) _lt_dar_can_shared=$GCC ;;
10846   esac
10847   if test "$_lt_dar_can_shared" = "yes"; then
10848     output_verbose_link_cmd=func_echo_all
10849     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10850     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10851     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}"
10852     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}"
10853
10854   else
10855   ld_shlibs=no
10856   fi
10857
10858       ;;
10859
10860     dgux*)
10861       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10862       hardcode_libdir_flag_spec='-L$libdir'
10863       hardcode_shlibpath_var=no
10864       ;;
10865
10866     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10867     # support.  Future versions do this automatically, but an explicit c++rt0.o
10868     # does not break anything, and helps significantly (at the cost of a little
10869     # extra space).
10870     freebsd2.2*)
10871       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10872       hardcode_libdir_flag_spec='-R$libdir'
10873       hardcode_direct=yes
10874       hardcode_shlibpath_var=no
10875       ;;
10876
10877     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10878     freebsd2.*)
10879       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10880       hardcode_direct=yes
10881       hardcode_minus_L=yes
10882       hardcode_shlibpath_var=no
10883       ;;
10884
10885     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10886     freebsd* | dragonfly*)
10887       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10888       hardcode_libdir_flag_spec='-R$libdir'
10889       hardcode_direct=yes
10890       hardcode_shlibpath_var=no
10891       ;;
10892
10893     hpux9*)
10894       if test "$GCC" = yes; then
10895         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'
10896       else
10897         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'
10898       fi
10899       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10900       hardcode_libdir_separator=:
10901       hardcode_direct=yes
10902
10903       # hardcode_minus_L: Not really in the search PATH,
10904       # but as the default location of the library.
10905       hardcode_minus_L=yes
10906       export_dynamic_flag_spec='${wl}-E'
10907       ;;
10908
10909     hpux10*)
10910       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10911         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10912       else
10913         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10914       fi
10915       if test "$with_gnu_ld" = no; then
10916         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10917         hardcode_libdir_separator=:
10918         hardcode_direct=yes
10919         hardcode_direct_absolute=yes
10920         export_dynamic_flag_spec='${wl}-E'
10921         # hardcode_minus_L: Not really in the search PATH,
10922         # but as the default location of the library.
10923         hardcode_minus_L=yes
10924       fi
10925       ;;
10926
10927     hpux11*)
10928       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10929         case $host_cpu in
10930         hppa*64*)
10931           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10932           ;;
10933         ia64*)
10934           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10935           ;;
10936         *)
10937           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10938           ;;
10939         esac
10940       else
10941         case $host_cpu in
10942         hppa*64*)
10943           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10944           ;;
10945         ia64*)
10946           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10947           ;;
10948         *)
10949
10950           # Older versions of the 11.00 compiler do not understand -b yet
10951           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10952           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10953 $as_echo_n "checking if $CC understands -b... " >&6; }
10954 if ${lt_cv_prog_compiler__b+:} false; then :
10955   $as_echo_n "(cached) " >&6
10956 else
10957   lt_cv_prog_compiler__b=no
10958    save_LDFLAGS="$LDFLAGS"
10959    LDFLAGS="$LDFLAGS -b"
10960    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10961    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10962      # The linker can only warn and ignore the option if not recognized
10963      # So say no if there are warnings
10964      if test -s conftest.err; then
10965        # Append any errors to the config.log.
10966        cat conftest.err 1>&5
10967        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10968        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10969        if diff conftest.exp conftest.er2 >/dev/null; then
10970          lt_cv_prog_compiler__b=yes
10971        fi
10972      else
10973        lt_cv_prog_compiler__b=yes
10974      fi
10975    fi
10976    $RM -r conftest*
10977    LDFLAGS="$save_LDFLAGS"
10978
10979 fi
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10981 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10982
10983 if test x"$lt_cv_prog_compiler__b" = xyes; then
10984     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10985 else
10986     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10987 fi
10988
10989           ;;
10990         esac
10991       fi
10992       if test "$with_gnu_ld" = no; then
10993         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10994         hardcode_libdir_separator=:
10995
10996         case $host_cpu in
10997         hppa*64*|ia64*)
10998           hardcode_direct=no
10999           hardcode_shlibpath_var=no
11000           ;;
11001         *)
11002           hardcode_direct=yes
11003           hardcode_direct_absolute=yes
11004           export_dynamic_flag_spec='${wl}-E'
11005
11006           # hardcode_minus_L: Not really in the search PATH,
11007           # but as the default location of the library.
11008           hardcode_minus_L=yes
11009           ;;
11010         esac
11011       fi
11012       ;;
11013
11014     irix5* | irix6* | nonstopux*)
11015       if test "$GCC" = yes; then
11016         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'
11017         # Try to use the -exported_symbol ld option, if it does not
11018         # work, assume that -exports_file does not work either and
11019         # implicitly export all symbols.
11020         # This should be the same for all languages, so no per-tag cache variable.
11021         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11022 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11023 if ${lt_cv_irix_exported_symbol+:} false; then :
11024   $as_echo_n "(cached) " >&6
11025 else
11026   save_LDFLAGS="$LDFLAGS"
11027            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11028            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h.  */
11030 int foo (void) { return 0; }
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"; then :
11033   lt_cv_irix_exported_symbol=yes
11034 else
11035   lt_cv_irix_exported_symbol=no
11036 fi
11037 rm -f core conftest.err conftest.$ac_objext \
11038     conftest$ac_exeext conftest.$ac_ext
11039            LDFLAGS="$save_LDFLAGS"
11040 fi
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11042 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11043         if test "$lt_cv_irix_exported_symbol" = yes; then
11044           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'
11045         fi
11046       else
11047         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'
11048         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'
11049       fi
11050       archive_cmds_need_lc='no'
11051       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11052       hardcode_libdir_separator=:
11053       inherit_rpath=yes
11054       link_all_deplibs=yes
11055       ;;
11056
11057     netbsd*)
11058       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11059         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11060       else
11061         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11062       fi
11063       hardcode_libdir_flag_spec='-R$libdir'
11064       hardcode_direct=yes
11065       hardcode_shlibpath_var=no
11066       ;;
11067
11068     newsos6)
11069       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11070       hardcode_direct=yes
11071       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11072       hardcode_libdir_separator=:
11073       hardcode_shlibpath_var=no
11074       ;;
11075
11076     *nto* | *qnx*)
11077       ;;
11078
11079     openbsd*)
11080       if test -f /usr/libexec/ld.so; then
11081         hardcode_direct=yes
11082         hardcode_shlibpath_var=no
11083         hardcode_direct_absolute=yes
11084         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11085           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11086           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11087           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11088           export_dynamic_flag_spec='${wl}-E'
11089         else
11090           case $host_os in
11091            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11092              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11093              hardcode_libdir_flag_spec='-R$libdir'
11094              ;;
11095            *)
11096              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11097              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11098              ;;
11099           esac
11100         fi
11101       else
11102         ld_shlibs=no
11103       fi
11104       ;;
11105
11106     os2*)
11107       hardcode_libdir_flag_spec='-L$libdir'
11108       hardcode_minus_L=yes
11109       allow_undefined_flag=unsupported
11110       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'
11111       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11112       ;;
11113
11114     osf3*)
11115       if test "$GCC" = yes; then
11116         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11117         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'
11118       else
11119         allow_undefined_flag=' -expect_unresolved \*'
11120         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'
11121       fi
11122       archive_cmds_need_lc='no'
11123       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11124       hardcode_libdir_separator=:
11125       ;;
11126
11127     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11128       if test "$GCC" = yes; then
11129         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11130         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'
11131         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11132       else
11133         allow_undefined_flag=' -expect_unresolved \*'
11134         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'
11135         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~
11136         $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'
11137
11138         # Both c and cxx compiler support -rpath directly
11139         hardcode_libdir_flag_spec='-rpath $libdir'
11140       fi
11141       archive_cmds_need_lc='no'
11142       hardcode_libdir_separator=:
11143       ;;
11144
11145     solaris*)
11146       no_undefined_flag=' -z defs'
11147       if test "$GCC" = yes; then
11148         wlarc='${wl}'
11149         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11150         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11151           $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'
11152       else
11153         case `$CC -V 2>&1` in
11154         *"Compilers 5.0"*)
11155           wlarc=''
11156           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11157           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11158           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11159           ;;
11160         *)
11161           wlarc='${wl}'
11162           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11163           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11164           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11165           ;;
11166         esac
11167       fi
11168       hardcode_libdir_flag_spec='-R$libdir'
11169       hardcode_shlibpath_var=no
11170       case $host_os in
11171       solaris2.[0-5] | solaris2.[0-5].*) ;;
11172       *)
11173         # The compiler driver will combine and reorder linker options,
11174         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11175         # but is careful enough not to reorder.
11176         # Supported since Solaris 2.6 (maybe 2.5.1?)
11177         if test "$GCC" = yes; then
11178           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11179         else
11180           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11181         fi
11182         ;;
11183       esac
11184       link_all_deplibs=yes
11185       ;;
11186
11187     sunos4*)
11188       if test "x$host_vendor" = xsequent; then
11189         # Use $CC to link under sequent, because it throws in some extra .o
11190         # files that make .init and .fini sections work.
11191         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11192       else
11193         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11194       fi
11195       hardcode_libdir_flag_spec='-L$libdir'
11196       hardcode_direct=yes
11197       hardcode_minus_L=yes
11198       hardcode_shlibpath_var=no
11199       ;;
11200
11201     sysv4)
11202       case $host_vendor in
11203         sni)
11204           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11205           hardcode_direct=yes # is this really true???
11206         ;;
11207         siemens)
11208           ## LD is ld it makes a PLAMLIB
11209           ## CC just makes a GrossModule.
11210           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11211           reload_cmds='$CC -r -o $output$reload_objs'
11212           hardcode_direct=no
11213         ;;
11214         motorola)
11215           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11216           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11217         ;;
11218       esac
11219       runpath_var='LD_RUN_PATH'
11220       hardcode_shlibpath_var=no
11221       ;;
11222
11223     sysv4.3*)
11224       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11225       hardcode_shlibpath_var=no
11226       export_dynamic_flag_spec='-Bexport'
11227       ;;
11228
11229     sysv4*MP*)
11230       if test -d /usr/nec; then
11231         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11232         hardcode_shlibpath_var=no
11233         runpath_var=LD_RUN_PATH
11234         hardcode_runpath_var=yes
11235         ld_shlibs=yes
11236       fi
11237       ;;
11238
11239     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11240       no_undefined_flag='${wl}-z,text'
11241       archive_cmds_need_lc=no
11242       hardcode_shlibpath_var=no
11243       runpath_var='LD_RUN_PATH'
11244
11245       if test "$GCC" = yes; then
11246         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11247         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11248       else
11249         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11250         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11251       fi
11252       ;;
11253
11254     sysv5* | sco3.2v5* | sco5v6*)
11255       # Note: We can NOT use -z defs as we might desire, because we do not
11256       # link with -lc, and that would cause any symbols used from libc to
11257       # always be unresolved, which means just about no library would
11258       # ever link correctly.  If we're not using GNU ld we use -z text
11259       # though, which does catch some bad symbols but isn't as heavy-handed
11260       # as -z defs.
11261       no_undefined_flag='${wl}-z,text'
11262       allow_undefined_flag='${wl}-z,nodefs'
11263       archive_cmds_need_lc=no
11264       hardcode_shlibpath_var=no
11265       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11266       hardcode_libdir_separator=':'
11267       link_all_deplibs=yes
11268       export_dynamic_flag_spec='${wl}-Bexport'
11269       runpath_var='LD_RUN_PATH'
11270
11271       if test "$GCC" = yes; then
11272         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11273         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11274       else
11275         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11276         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11277       fi
11278       ;;
11279
11280     uts4*)
11281       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11282       hardcode_libdir_flag_spec='-L$libdir'
11283       hardcode_shlibpath_var=no
11284       ;;
11285
11286     *)
11287       ld_shlibs=no
11288       ;;
11289     esac
11290
11291     if test x$host_vendor = xsni; then
11292       case $host in
11293       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11294         export_dynamic_flag_spec='${wl}-Blargedynsym'
11295         ;;
11296       esac
11297     fi
11298   fi
11299
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11301 $as_echo "$ld_shlibs" >&6; }
11302 test "$ld_shlibs" = no && can_build_shared=no
11303
11304 with_gnu_ld=$with_gnu_ld
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320 #
11321 # Do we need to explicitly link libc?
11322 #
11323 case "x$archive_cmds_need_lc" in
11324 x|xyes)
11325   # Assume -lc should be added
11326   archive_cmds_need_lc=yes
11327
11328   if test "$enable_shared" = yes && test "$GCC" = yes; then
11329     case $archive_cmds in
11330     *'~'*)
11331       # FIXME: we may have to deal with multi-command sequences.
11332       ;;
11333     '$CC '*)
11334       # Test whether the compiler implicitly links with -lc since on some
11335       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11336       # to ld, don't add -lc before -lgcc.
11337       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11338 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11339 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11340   $as_echo_n "(cached) " >&6
11341 else
11342   $RM conftest*
11343         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11344
11345         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11346   (eval $ac_compile) 2>&5
11347   ac_status=$?
11348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11349   test $ac_status = 0; } 2>conftest.err; then
11350           soname=conftest
11351           lib=conftest
11352           libobjs=conftest.$ac_objext
11353           deplibs=
11354           wl=$lt_prog_compiler_wl
11355           pic_flag=$lt_prog_compiler_pic
11356           compiler_flags=-v
11357           linker_flags=-v
11358           verstring=
11359           output_objdir=.
11360           libname=conftest
11361           lt_save_allow_undefined_flag=$allow_undefined_flag
11362           allow_undefined_flag=
11363           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11364   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11365   ac_status=$?
11366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11367   test $ac_status = 0; }
11368           then
11369             lt_cv_archive_cmds_need_lc=no
11370           else
11371             lt_cv_archive_cmds_need_lc=yes
11372           fi
11373           allow_undefined_flag=$lt_save_allow_undefined_flag
11374         else
11375           cat conftest.err 1>&5
11376         fi
11377         $RM conftest*
11378
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11381 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11382       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11383       ;;
11384     esac
11385   fi
11386   ;;
11387 esac
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11541 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11542
11543 if test "$GCC" = yes; then
11544   case $host_os in
11545     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11546     *) lt_awk_arg="/^libraries:/" ;;
11547   esac
11548   case $host_os in
11549     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11550     *) lt_sed_strip_eq="s,=/,/,g" ;;
11551   esac
11552   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11553   case $lt_search_path_spec in
11554   *\;*)
11555     # if the path contains ";" then we assume it to be the separator
11556     # otherwise default to the standard path separator (i.e. ":") - it is
11557     # assumed that no part of a normal pathname contains ";" but that should
11558     # okay in the real world where ";" in dirpaths is itself problematic.
11559     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11560     ;;
11561   *)
11562     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11563     ;;
11564   esac
11565   # Ok, now we have the path, separated by spaces, we can step through it
11566   # and add multilib dir if necessary.
11567   lt_tmp_lt_search_path_spec=
11568   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11569   for lt_sys_path in $lt_search_path_spec; do
11570     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11571       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11572     else
11573       test -d "$lt_sys_path" && \
11574         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11575     fi
11576   done
11577   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11578 BEGIN {RS=" "; FS="/|\n";} {
11579   lt_foo="";
11580   lt_count=0;
11581   for (lt_i = NF; lt_i > 0; lt_i--) {
11582     if ($lt_i != "" && $lt_i != ".") {
11583       if ($lt_i == "..") {
11584         lt_count++;
11585       } else {
11586         if (lt_count == 0) {
11587           lt_foo="/" $lt_i lt_foo;
11588         } else {
11589           lt_count--;
11590         }
11591       }
11592     }
11593   }
11594   if (lt_foo != "") { lt_freq[lt_foo]++; }
11595   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11596 }'`
11597   # AWK program above erroneously prepends '/' to C:/dos/paths
11598   # for these hosts.
11599   case $host_os in
11600     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11601       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11602   esac
11603   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11604 else
11605   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11606 fi
11607 library_names_spec=
11608 libname_spec='lib$name'
11609 soname_spec=
11610 shrext_cmds=".so"
11611 postinstall_cmds=
11612 postuninstall_cmds=
11613 finish_cmds=
11614 finish_eval=
11615 shlibpath_var=
11616 shlibpath_overrides_runpath=unknown
11617 version_type=none
11618 dynamic_linker="$host_os ld.so"
11619 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11620 need_lib_prefix=unknown
11621 hardcode_into_libs=no
11622
11623 # when you set need_version to no, make sure it does not cause -set_version
11624 # flags to be left without arguments
11625 need_version=unknown
11626
11627 case $host_os in
11628 aix3*)
11629   version_type=linux # correct to gnu/linux during the next big refactor
11630   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11631   shlibpath_var=LIBPATH
11632
11633   # AIX 3 has no versioning support, so we append a major version to the name.
11634   soname_spec='${libname}${release}${shared_ext}$major'
11635   ;;
11636
11637 aix[4-9]*)
11638   version_type=linux # correct to gnu/linux during the next big refactor
11639   need_lib_prefix=no
11640   need_version=no
11641   hardcode_into_libs=yes
11642   if test "$host_cpu" = ia64; then
11643     # AIX 5 supports IA64
11644     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11645     shlibpath_var=LD_LIBRARY_PATH
11646   else
11647     # With GCC up to 2.95.x, collect2 would create an import file
11648     # for dependence libraries.  The import file would start with
11649     # the line `#! .'.  This would cause the generated library to
11650     # depend on `.', always an invalid library.  This was fixed in
11651     # development snapshots of GCC prior to 3.0.
11652     case $host_os in
11653       aix4 | aix4.[01] | aix4.[01].*)
11654       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11655            echo ' yes '
11656            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11657         :
11658       else
11659         can_build_shared=no
11660       fi
11661       ;;
11662     esac
11663     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11664     # soname into executable. Probably we can add versioning support to
11665     # collect2, so additional links can be useful in future.
11666     if test "$aix_use_runtimelinking" = yes; then
11667       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11668       # instead of lib<name>.a to let people know that these are not
11669       # typical AIX shared libraries.
11670       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11671     else
11672       # We preserve .a as extension for shared libraries through AIX4.2
11673       # and later when we are not doing run time linking.
11674       library_names_spec='${libname}${release}.a $libname.a'
11675       soname_spec='${libname}${release}${shared_ext}$major'
11676     fi
11677     shlibpath_var=LIBPATH
11678   fi
11679   ;;
11680
11681 amigaos*)
11682   case $host_cpu in
11683   powerpc)
11684     # Since July 2007 AmigaOS4 officially supports .so libraries.
11685     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11686     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11687     ;;
11688   m68k)
11689     library_names_spec='$libname.ixlibrary $libname.a'
11690     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11691     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'
11692     ;;
11693   esac
11694   ;;
11695
11696 beos*)
11697   library_names_spec='${libname}${shared_ext}'
11698   dynamic_linker="$host_os ld.so"
11699   shlibpath_var=LIBRARY_PATH
11700   ;;
11701
11702 bsdi[45]*)
11703   version_type=linux # correct to gnu/linux during the next big refactor
11704   need_version=no
11705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11706   soname_spec='${libname}${release}${shared_ext}$major'
11707   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11708   shlibpath_var=LD_LIBRARY_PATH
11709   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11710   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11711   # the default ld.so.conf also contains /usr/contrib/lib and
11712   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11713   # libtool to hard-code these into programs
11714   ;;
11715
11716 cygwin* | mingw* | pw32* | cegcc*)
11717   version_type=windows
11718   shrext_cmds=".dll"
11719   need_version=no
11720   need_lib_prefix=no
11721
11722   case $GCC,$cc_basename in
11723   yes,*)
11724     # gcc
11725     library_names_spec='$libname.dll.a'
11726     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11727     postinstall_cmds='base_file=`basename \${file}`~
11728       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11729       dldir=$destdir/`dirname \$dlpath`~
11730       test -d \$dldir || mkdir -p \$dldir~
11731       $install_prog $dir/$dlname \$dldir/$dlname~
11732       chmod a+x \$dldir/$dlname~
11733       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11734         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11735       fi'
11736     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11737       dlpath=$dir/\$dldll~
11738        $RM \$dlpath'
11739     shlibpath_overrides_runpath=yes
11740
11741     case $host_os in
11742     cygwin*)
11743       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11744       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11745
11746       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11747       ;;
11748     mingw* | cegcc*)
11749       # MinGW DLLs use traditional 'lib' prefix
11750       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11751       ;;
11752     pw32*)
11753       # pw32 DLLs use 'pw' prefix rather than 'lib'
11754       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11755       ;;
11756     esac
11757     dynamic_linker='Win32 ld.exe'
11758     ;;
11759
11760   *,cl*)
11761     # Native MSVC
11762     libname_spec='$name'
11763     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11764     library_names_spec='${libname}.dll.lib'
11765
11766     case $build_os in
11767     mingw*)
11768       sys_lib_search_path_spec=
11769       lt_save_ifs=$IFS
11770       IFS=';'
11771       for lt_path in $LIB
11772       do
11773         IFS=$lt_save_ifs
11774         # Let DOS variable expansion print the short 8.3 style file name.
11775         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11776         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11777       done
11778       IFS=$lt_save_ifs
11779       # Convert to MSYS style.
11780       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11781       ;;
11782     cygwin*)
11783       # Convert to unix form, then to dos form, then back to unix form
11784       # but this time dos style (no spaces!) so that the unix form looks
11785       # like /cygdrive/c/PROGRA~1:/cygdr...
11786       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11787       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11788       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11789       ;;
11790     *)
11791       sys_lib_search_path_spec="$LIB"
11792       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11793         # It is most probably a Windows format PATH.
11794         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11795       else
11796         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11797       fi
11798       # FIXME: find the short name or the path components, as spaces are
11799       # common. (e.g. "Program Files" -> "PROGRA~1")
11800       ;;
11801     esac
11802
11803     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11804     postinstall_cmds='base_file=`basename \${file}`~
11805       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11806       dldir=$destdir/`dirname \$dlpath`~
11807       test -d \$dldir || mkdir -p \$dldir~
11808       $install_prog $dir/$dlname \$dldir/$dlname'
11809     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11810       dlpath=$dir/\$dldll~
11811        $RM \$dlpath'
11812     shlibpath_overrides_runpath=yes
11813     dynamic_linker='Win32 link.exe'
11814     ;;
11815
11816   *)
11817     # Assume MSVC wrapper
11818     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11819     dynamic_linker='Win32 ld.exe'
11820     ;;
11821   esac
11822   # FIXME: first we should search . and the directory the executable is in
11823   shlibpath_var=PATH
11824   ;;
11825
11826 darwin* | rhapsody*)
11827   dynamic_linker="$host_os dyld"
11828   version_type=darwin
11829   need_lib_prefix=no
11830   need_version=no
11831   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11832   soname_spec='${libname}${release}${major}$shared_ext'
11833   shlibpath_overrides_runpath=yes
11834   shlibpath_var=DYLD_LIBRARY_PATH
11835   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11836
11837   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11838   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11839   ;;
11840
11841 dgux*)
11842   version_type=linux # correct to gnu/linux during the next big refactor
11843   need_lib_prefix=no
11844   need_version=no
11845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11846   soname_spec='${libname}${release}${shared_ext}$major'
11847   shlibpath_var=LD_LIBRARY_PATH
11848   ;;
11849
11850 freebsd* | dragonfly*)
11851   # DragonFly does not have aout.  When/if they implement a new
11852   # versioning mechanism, adjust this.
11853   if test -x /usr/bin/objformat; then
11854     objformat=`/usr/bin/objformat`
11855   else
11856     case $host_os in
11857     freebsd[23].*) objformat=aout ;;
11858     *) objformat=elf ;;
11859     esac
11860   fi
11861   version_type=freebsd-$objformat
11862   case $version_type in
11863     freebsd-elf*)
11864       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11865       need_version=no
11866       need_lib_prefix=no
11867       ;;
11868     freebsd-*)
11869       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11870       need_version=yes
11871       ;;
11872   esac
11873   shlibpath_var=LD_LIBRARY_PATH
11874   case $host_os in
11875   freebsd2.*)
11876     shlibpath_overrides_runpath=yes
11877     ;;
11878   freebsd3.[01]* | freebsdelf3.[01]*)
11879     shlibpath_overrides_runpath=yes
11880     hardcode_into_libs=yes
11881     ;;
11882   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11883   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11884     shlibpath_overrides_runpath=no
11885     hardcode_into_libs=yes
11886     ;;
11887   *) # from 4.6 on, and DragonFly
11888     shlibpath_overrides_runpath=yes
11889     hardcode_into_libs=yes
11890     ;;
11891   esac
11892   ;;
11893
11894 gnu*)
11895   version_type=linux # correct to gnu/linux during the next big refactor
11896   need_lib_prefix=no
11897   need_version=no
11898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11899   soname_spec='${libname}${release}${shared_ext}$major'
11900   shlibpath_var=LD_LIBRARY_PATH
11901   shlibpath_overrides_runpath=no
11902   hardcode_into_libs=yes
11903   ;;
11904
11905 haiku*)
11906   version_type=linux # correct to gnu/linux during the next big refactor
11907   need_lib_prefix=no
11908   need_version=no
11909   dynamic_linker="$host_os runtime_loader"
11910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11911   soname_spec='${libname}${release}${shared_ext}$major'
11912   shlibpath_var=LIBRARY_PATH
11913   shlibpath_overrides_runpath=yes
11914   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11915   hardcode_into_libs=yes
11916   ;;
11917
11918 hpux9* | hpux10* | hpux11*)
11919   # Give a soname corresponding to the major version so that dld.sl refuses to
11920   # link against other versions.
11921   version_type=sunos
11922   need_lib_prefix=no
11923   need_version=no
11924   case $host_cpu in
11925   ia64*)
11926     shrext_cmds='.so'
11927     hardcode_into_libs=yes
11928     dynamic_linker="$host_os dld.so"
11929     shlibpath_var=LD_LIBRARY_PATH
11930     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11931     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11932     soname_spec='${libname}${release}${shared_ext}$major'
11933     if test "X$HPUX_IA64_MODE" = X32; then
11934       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11935     else
11936       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11937     fi
11938     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11939     ;;
11940   hppa*64*)
11941     shrext_cmds='.sl'
11942     hardcode_into_libs=yes
11943     dynamic_linker="$host_os dld.sl"
11944     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11945     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11946     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11947     soname_spec='${libname}${release}${shared_ext}$major'
11948     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11949     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11950     ;;
11951   *)
11952     shrext_cmds='.sl'
11953     dynamic_linker="$host_os dld.sl"
11954     shlibpath_var=SHLIB_PATH
11955     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11956     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11957     soname_spec='${libname}${release}${shared_ext}$major'
11958     ;;
11959   esac
11960   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11961   postinstall_cmds='chmod 555 $lib'
11962   # or fails outright, so override atomically:
11963   install_override_mode=555
11964   ;;
11965
11966 interix[3-9]*)
11967   version_type=linux # correct to gnu/linux during the next big refactor
11968   need_lib_prefix=no
11969   need_version=no
11970   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11971   soname_spec='${libname}${release}${shared_ext}$major'
11972   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11973   shlibpath_var=LD_LIBRARY_PATH
11974   shlibpath_overrides_runpath=no
11975   hardcode_into_libs=yes
11976   ;;
11977
11978 irix5* | irix6* | nonstopux*)
11979   case $host_os in
11980     nonstopux*) version_type=nonstopux ;;
11981     *)
11982         if test "$lt_cv_prog_gnu_ld" = yes; then
11983                 version_type=linux # correct to gnu/linux during the next big refactor
11984         else
11985                 version_type=irix
11986         fi ;;
11987   esac
11988   need_lib_prefix=no
11989   need_version=no
11990   soname_spec='${libname}${release}${shared_ext}$major'
11991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11992   case $host_os in
11993   irix5* | nonstopux*)
11994     libsuff= shlibsuff=
11995     ;;
11996   *)
11997     case $LD in # libtool.m4 will add one of these switches to LD
11998     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11999       libsuff= shlibsuff= libmagic=32-bit;;
12000     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12001       libsuff=32 shlibsuff=N32 libmagic=N32;;
12002     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12003       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12004     *) libsuff= shlibsuff= libmagic=never-match;;
12005     esac
12006     ;;
12007   esac
12008   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12009   shlibpath_overrides_runpath=no
12010   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12011   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12012   hardcode_into_libs=yes
12013   ;;
12014
12015 # No shared lib support for Linux oldld, aout, or coff.
12016 linux*oldld* | linux*aout* | linux*coff*)
12017   dynamic_linker=no
12018   ;;
12019
12020 # This must be glibc/ELF.
12021 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12022   version_type=linux # correct to gnu/linux during the next big refactor
12023   need_lib_prefix=no
12024   need_version=no
12025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12026   soname_spec='${libname}${release}${shared_ext}$major'
12027   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12028   shlibpath_var=LD_LIBRARY_PATH
12029   shlibpath_overrides_runpath=no
12030
12031   # Some binutils ld are patched to set DT_RUNPATH
12032   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12033   $as_echo_n "(cached) " >&6
12034 else
12035   lt_cv_shlibpath_overrides_runpath=no
12036     save_LDFLAGS=$LDFLAGS
12037     save_libdir=$libdir
12038     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12039          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12040     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h.  */
12042
12043 int
12044 main ()
12045 {
12046
12047   ;
12048   return 0;
12049 }
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12053   lt_cv_shlibpath_overrides_runpath=yes
12054 fi
12055 fi
12056 rm -f core conftest.err conftest.$ac_objext \
12057     conftest$ac_exeext conftest.$ac_ext
12058     LDFLAGS=$save_LDFLAGS
12059     libdir=$save_libdir
12060
12061 fi
12062
12063   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12064
12065   # This implies no fast_install, which is unacceptable.
12066   # Some rework will be needed to allow for fast_install
12067   # before this can be enabled.
12068   hardcode_into_libs=yes
12069
12070   # Add ABI-specific directories to the system library path.
12071   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12072
12073   # Append ld.so.conf contents to the search path
12074   if test -f /etc/ld.so.conf; then
12075     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' ' '`
12076     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12077
12078   fi
12079
12080   # We used to test for /lib/ld.so.1 and disable shared libraries on
12081   # powerpc, because MkLinux only supported shared libraries with the
12082   # GNU dynamic linker.  Since this was broken with cross compilers,
12083   # most powerpc-linux boxes support dynamic linking these days and
12084   # people can always --disable-shared, the test was removed, and we
12085   # assume the GNU/Linux dynamic linker is in use.
12086   dynamic_linker='GNU/Linux ld.so'
12087   ;;
12088
12089 netbsd*)
12090   version_type=sunos
12091   need_lib_prefix=no
12092   need_version=no
12093   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12094     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12095     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12096     dynamic_linker='NetBSD (a.out) ld.so'
12097   else
12098     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12099     soname_spec='${libname}${release}${shared_ext}$major'
12100     dynamic_linker='NetBSD ld.elf_so'
12101   fi
12102   shlibpath_var=LD_LIBRARY_PATH
12103   shlibpath_overrides_runpath=yes
12104   hardcode_into_libs=yes
12105   ;;
12106
12107 newsos6)
12108   version_type=linux # correct to gnu/linux during the next big refactor
12109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12110   shlibpath_var=LD_LIBRARY_PATH
12111   shlibpath_overrides_runpath=yes
12112   ;;
12113
12114 *nto* | *qnx*)
12115   version_type=qnx
12116   need_lib_prefix=no
12117   need_version=no
12118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12119   soname_spec='${libname}${release}${shared_ext}$major'
12120   shlibpath_var=LD_LIBRARY_PATH
12121   shlibpath_overrides_runpath=no
12122   hardcode_into_libs=yes
12123   dynamic_linker='ldqnx.so'
12124   ;;
12125
12126 openbsd*)
12127   version_type=sunos
12128   sys_lib_dlsearch_path_spec="/usr/lib"
12129   need_lib_prefix=no
12130   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12131   case $host_os in
12132     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12133     *)                          need_version=no  ;;
12134   esac
12135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12136   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12137   shlibpath_var=LD_LIBRARY_PATH
12138   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12139     case $host_os in
12140       openbsd2.[89] | openbsd2.[89].*)
12141         shlibpath_overrides_runpath=no
12142         ;;
12143       *)
12144         shlibpath_overrides_runpath=yes
12145         ;;
12146       esac
12147   else
12148     shlibpath_overrides_runpath=yes
12149   fi
12150   ;;
12151
12152 os2*)
12153   libname_spec='$name'
12154   shrext_cmds=".dll"
12155   need_lib_prefix=no
12156   library_names_spec='$libname${shared_ext} $libname.a'
12157   dynamic_linker='OS/2 ld.exe'
12158   shlibpath_var=LIBPATH
12159   ;;
12160
12161 osf3* | osf4* | osf5*)
12162   version_type=osf
12163   need_lib_prefix=no
12164   need_version=no
12165   soname_spec='${libname}${release}${shared_ext}$major'
12166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12167   shlibpath_var=LD_LIBRARY_PATH
12168   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12169   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12170   ;;
12171
12172 rdos*)
12173   dynamic_linker=no
12174   ;;
12175
12176 solaris*)
12177   version_type=linux # correct to gnu/linux during the next big refactor
12178   need_lib_prefix=no
12179   need_version=no
12180   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12181   soname_spec='${libname}${release}${shared_ext}$major'
12182   shlibpath_var=LD_LIBRARY_PATH
12183   shlibpath_overrides_runpath=yes
12184   hardcode_into_libs=yes
12185   # ldd complains unless libraries are executable
12186   postinstall_cmds='chmod +x $lib'
12187   ;;
12188
12189 sunos4*)
12190   version_type=sunos
12191   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12192   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12193   shlibpath_var=LD_LIBRARY_PATH
12194   shlibpath_overrides_runpath=yes
12195   if test "$with_gnu_ld" = yes; then
12196     need_lib_prefix=no
12197   fi
12198   need_version=yes
12199   ;;
12200
12201 sysv4 | sysv4.3*)
12202   version_type=linux # correct to gnu/linux during the next big refactor
12203   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12204   soname_spec='${libname}${release}${shared_ext}$major'
12205   shlibpath_var=LD_LIBRARY_PATH
12206   case $host_vendor in
12207     sni)
12208       shlibpath_overrides_runpath=no
12209       need_lib_prefix=no
12210       runpath_var=LD_RUN_PATH
12211       ;;
12212     siemens)
12213       need_lib_prefix=no
12214       ;;
12215     motorola)
12216       need_lib_prefix=no
12217       need_version=no
12218       shlibpath_overrides_runpath=no
12219       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12220       ;;
12221   esac
12222   ;;
12223
12224 sysv4*MP*)
12225   if test -d /usr/nec ;then
12226     version_type=linux # correct to gnu/linux during the next big refactor
12227     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12228     soname_spec='$libname${shared_ext}.$major'
12229     shlibpath_var=LD_LIBRARY_PATH
12230   fi
12231   ;;
12232
12233 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12234   version_type=freebsd-elf
12235   need_lib_prefix=no
12236   need_version=no
12237   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12238   soname_spec='${libname}${release}${shared_ext}$major'
12239   shlibpath_var=LD_LIBRARY_PATH
12240   shlibpath_overrides_runpath=yes
12241   hardcode_into_libs=yes
12242   if test "$with_gnu_ld" = yes; then
12243     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12244   else
12245     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12246     case $host_os in
12247       sco3.2v5*)
12248         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12249         ;;
12250     esac
12251   fi
12252   sys_lib_dlsearch_path_spec='/usr/lib'
12253   ;;
12254
12255 tpf*)
12256   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12257   version_type=linux # correct to gnu/linux during the next big refactor
12258   need_lib_prefix=no
12259   need_version=no
12260   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12261   shlibpath_var=LD_LIBRARY_PATH
12262   shlibpath_overrides_runpath=no
12263   hardcode_into_libs=yes
12264   ;;
12265
12266 uts4*)
12267   version_type=linux # correct to gnu/linux during the next big refactor
12268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12269   soname_spec='${libname}${release}${shared_ext}$major'
12270   shlibpath_var=LD_LIBRARY_PATH
12271   ;;
12272
12273 *)
12274   dynamic_linker=no
12275   ;;
12276 esac
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12278 $as_echo "$dynamic_linker" >&6; }
12279 test "$dynamic_linker" = no && can_build_shared=no
12280
12281 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12282 if test "$GCC" = yes; then
12283   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12284 fi
12285
12286 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12287   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12288 fi
12289 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12290   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12291 fi
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12385 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12386 hardcode_action=
12387 if test -n "$hardcode_libdir_flag_spec" ||
12388    test -n "$runpath_var" ||
12389    test "X$hardcode_automatic" = "Xyes" ; then
12390
12391   # We can hardcode non-existent directories.
12392   if test "$hardcode_direct" != no &&
12393      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12394      # have to relink, otherwise we might link with an installed library
12395      # when we should be linking with a yet-to-be-installed one
12396      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12397      test "$hardcode_minus_L" != no; then
12398     # Linking always hardcodes the temporary library directory.
12399     hardcode_action=relink
12400   else
12401     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12402     hardcode_action=immediate
12403   fi
12404 else
12405   # We cannot hardcode anything, or else we can only hardcode existing
12406   # directories.
12407   hardcode_action=unsupported
12408 fi
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12410 $as_echo "$hardcode_action" >&6; }
12411
12412 if test "$hardcode_action" = relink ||
12413    test "$inherit_rpath" = yes; then
12414   # Fast installation is not supported
12415   enable_fast_install=no
12416 elif test "$shlibpath_overrides_runpath" = yes ||
12417      test "$enable_shared" = no; then
12418   # Fast installation is not necessary
12419   enable_fast_install=needless
12420 fi
12421
12422
12423
12424
12425
12426
12427   if test "x$enable_dlopen" != xyes; then
12428   enable_dlopen=unknown
12429   enable_dlopen_self=unknown
12430   enable_dlopen_self_static=unknown
12431 else
12432   lt_cv_dlopen=no
12433   lt_cv_dlopen_libs=
12434
12435   case $host_os in
12436   beos*)
12437     lt_cv_dlopen="load_add_on"
12438     lt_cv_dlopen_libs=
12439     lt_cv_dlopen_self=yes
12440     ;;
12441
12442   mingw* | pw32* | cegcc*)
12443     lt_cv_dlopen="LoadLibrary"
12444     lt_cv_dlopen_libs=
12445     ;;
12446
12447   cygwin*)
12448     lt_cv_dlopen="dlopen"
12449     lt_cv_dlopen_libs=
12450     ;;
12451
12452   darwin*)
12453   # if libdl is installed we need to link against it
12454     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12455 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12456 if ${ac_cv_lib_dl_dlopen+:} false; then :
12457   $as_echo_n "(cached) " >&6
12458 else
12459   ac_check_lib_save_LIBS=$LIBS
12460 LIBS="-ldl  $LIBS"
12461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h.  */
12463
12464 /* Override any GCC internal prototype to avoid an error.
12465    Use char because int might match the return type of a GCC
12466    builtin and then its argument prototype would still apply.  */
12467 #ifdef __cplusplus
12468 extern "C"
12469 #endif
12470 char dlopen ();
12471 int
12472 main ()
12473 {
12474 return dlopen ();
12475   ;
12476   return 0;
12477 }
12478 _ACEOF
12479 if ac_fn_c_try_link "$LINENO"; then :
12480   ac_cv_lib_dl_dlopen=yes
12481 else
12482   ac_cv_lib_dl_dlopen=no
12483 fi
12484 rm -f core conftest.err conftest.$ac_objext \
12485     conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_lib_save_LIBS
12487 fi
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12489 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12490 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12491   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12492 else
12493
12494     lt_cv_dlopen="dyld"
12495     lt_cv_dlopen_libs=
12496     lt_cv_dlopen_self=yes
12497
12498 fi
12499
12500     ;;
12501
12502   *)
12503     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12504 if test "x$ac_cv_func_shl_load" = xyes; then :
12505   lt_cv_dlopen="shl_load"
12506 else
12507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12508 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12509 if ${ac_cv_lib_dld_shl_load+:} false; then :
12510   $as_echo_n "(cached) " >&6
12511 else
12512   ac_check_lib_save_LIBS=$LIBS
12513 LIBS="-ldld  $LIBS"
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h.  */
12516
12517 /* Override any GCC internal prototype to avoid an error.
12518    Use char because int might match the return type of a GCC
12519    builtin and then its argument prototype would still apply.  */
12520 #ifdef __cplusplus
12521 extern "C"
12522 #endif
12523 char shl_load ();
12524 int
12525 main ()
12526 {
12527 return shl_load ();
12528   ;
12529   return 0;
12530 }
12531 _ACEOF
12532 if ac_fn_c_try_link "$LINENO"; then :
12533   ac_cv_lib_dld_shl_load=yes
12534 else
12535   ac_cv_lib_dld_shl_load=no
12536 fi
12537 rm -f core conftest.err conftest.$ac_objext \
12538     conftest$ac_exeext conftest.$ac_ext
12539 LIBS=$ac_check_lib_save_LIBS
12540 fi
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12542 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12543 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12544   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12545 else
12546   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12547 if test "x$ac_cv_func_dlopen" = xyes; then :
12548   lt_cv_dlopen="dlopen"
12549 else
12550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12551 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12552 if ${ac_cv_lib_dl_dlopen+:} false; then :
12553   $as_echo_n "(cached) " >&6
12554 else
12555   ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-ldl  $LIBS"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h.  */
12559
12560 /* Override any GCC internal prototype to avoid an error.
12561    Use char because int might match the return type of a GCC
12562    builtin and then its argument prototype would still apply.  */
12563 #ifdef __cplusplus
12564 extern "C"
12565 #endif
12566 char dlopen ();
12567 int
12568 main ()
12569 {
12570 return dlopen ();
12571   ;
12572   return 0;
12573 }
12574 _ACEOF
12575 if ac_fn_c_try_link "$LINENO"; then :
12576   ac_cv_lib_dl_dlopen=yes
12577 else
12578   ac_cv_lib_dl_dlopen=no
12579 fi
12580 rm -f core conftest.err conftest.$ac_objext \
12581     conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12583 fi
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12585 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12586 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12587   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12588 else
12589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12590 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12591 if ${ac_cv_lib_svld_dlopen+:} false; then :
12592   $as_echo_n "(cached) " >&6
12593 else
12594   ac_check_lib_save_LIBS=$LIBS
12595 LIBS="-lsvld  $LIBS"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h.  */
12598
12599 /* Override any GCC internal prototype to avoid an error.
12600    Use char because int might match the return type of a GCC
12601    builtin and then its argument prototype would still apply.  */
12602 #ifdef __cplusplus
12603 extern "C"
12604 #endif
12605 char dlopen ();
12606 int
12607 main ()
12608 {
12609 return dlopen ();
12610   ;
12611   return 0;
12612 }
12613 _ACEOF
12614 if ac_fn_c_try_link "$LINENO"; then :
12615   ac_cv_lib_svld_dlopen=yes
12616 else
12617   ac_cv_lib_svld_dlopen=no
12618 fi
12619 rm -f core conftest.err conftest.$ac_objext \
12620     conftest$ac_exeext conftest.$ac_ext
12621 LIBS=$ac_check_lib_save_LIBS
12622 fi
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12624 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12625 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12626   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12627 else
12628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12629 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12630 if ${ac_cv_lib_dld_dld_link+:} false; then :
12631   $as_echo_n "(cached) " >&6
12632 else
12633   ac_check_lib_save_LIBS=$LIBS
12634 LIBS="-ldld  $LIBS"
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h.  */
12637
12638 /* Override any GCC internal prototype to avoid an error.
12639    Use char because int might match the return type of a GCC
12640    builtin and then its argument prototype would still apply.  */
12641 #ifdef __cplusplus
12642 extern "C"
12643 #endif
12644 char dld_link ();
12645 int
12646 main ()
12647 {
12648 return dld_link ();
12649   ;
12650   return 0;
12651 }
12652 _ACEOF
12653 if ac_fn_c_try_link "$LINENO"; then :
12654   ac_cv_lib_dld_dld_link=yes
12655 else
12656   ac_cv_lib_dld_dld_link=no
12657 fi
12658 rm -f core conftest.err conftest.$ac_objext \
12659     conftest$ac_exeext conftest.$ac_ext
12660 LIBS=$ac_check_lib_save_LIBS
12661 fi
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12663 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12664 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12665   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12666 fi
12667
12668
12669 fi
12670
12671
12672 fi
12673
12674
12675 fi
12676
12677
12678 fi
12679
12680
12681 fi
12682
12683     ;;
12684   esac
12685
12686   if test "x$lt_cv_dlopen" != xno; then
12687     enable_dlopen=yes
12688   else
12689     enable_dlopen=no
12690   fi
12691
12692   case $lt_cv_dlopen in
12693   dlopen)
12694     save_CPPFLAGS="$CPPFLAGS"
12695     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12696
12697     save_LDFLAGS="$LDFLAGS"
12698     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12699
12700     save_LIBS="$LIBS"
12701     LIBS="$lt_cv_dlopen_libs $LIBS"
12702
12703     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12704 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12705 if ${lt_cv_dlopen_self+:} false; then :
12706   $as_echo_n "(cached) " >&6
12707 else
12708           if test "$cross_compiling" = yes; then :
12709   lt_cv_dlopen_self=cross
12710 else
12711   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12712   lt_status=$lt_dlunknown
12713   cat > conftest.$ac_ext <<_LT_EOF
12714 #line $LINENO "configure"
12715 #include "confdefs.h"
12716
12717 #if HAVE_DLFCN_H
12718 #include <dlfcn.h>
12719 #endif
12720
12721 #include <stdio.h>
12722
12723 #ifdef RTLD_GLOBAL
12724 #  define LT_DLGLOBAL           RTLD_GLOBAL
12725 #else
12726 #  ifdef DL_GLOBAL
12727 #    define LT_DLGLOBAL         DL_GLOBAL
12728 #  else
12729 #    define LT_DLGLOBAL         0
12730 #  endif
12731 #endif
12732
12733 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12734    find out it does not work in some platform. */
12735 #ifndef LT_DLLAZY_OR_NOW
12736 #  ifdef RTLD_LAZY
12737 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12738 #  else
12739 #    ifdef DL_LAZY
12740 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12741 #    else
12742 #      ifdef RTLD_NOW
12743 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12744 #      else
12745 #        ifdef DL_NOW
12746 #          define LT_DLLAZY_OR_NOW      DL_NOW
12747 #        else
12748 #          define LT_DLLAZY_OR_NOW      0
12749 #        endif
12750 #      endif
12751 #    endif
12752 #  endif
12753 #endif
12754
12755 /* When -fvisbility=hidden is used, assume the code has been annotated
12756    correspondingly for the symbols needed.  */
12757 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12758 int fnord () __attribute__((visibility("default")));
12759 #endif
12760
12761 int fnord () { return 42; }
12762 int main ()
12763 {
12764   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12765   int status = $lt_dlunknown;
12766
12767   if (self)
12768     {
12769       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12770       else
12771         {
12772           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12773           else puts (dlerror ());
12774         }
12775       /* dlclose (self); */
12776     }
12777   else
12778     puts (dlerror ());
12779
12780   return status;
12781 }
12782 _LT_EOF
12783   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12784   (eval $ac_link) 2>&5
12785   ac_status=$?
12786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12787   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12788     (./conftest; exit; ) >&5 2>/dev/null
12789     lt_status=$?
12790     case x$lt_status in
12791       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12792       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12793       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12794     esac
12795   else :
12796     # compilation failed
12797     lt_cv_dlopen_self=no
12798   fi
12799 fi
12800 rm -fr conftest*
12801
12802
12803 fi
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12805 $as_echo "$lt_cv_dlopen_self" >&6; }
12806
12807     if test "x$lt_cv_dlopen_self" = xyes; then
12808       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12809       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12810 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12811 if ${lt_cv_dlopen_self_static+:} false; then :
12812   $as_echo_n "(cached) " >&6
12813 else
12814           if test "$cross_compiling" = yes; then :
12815   lt_cv_dlopen_self_static=cross
12816 else
12817   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12818   lt_status=$lt_dlunknown
12819   cat > conftest.$ac_ext <<_LT_EOF
12820 #line $LINENO "configure"
12821 #include "confdefs.h"
12822
12823 #if HAVE_DLFCN_H
12824 #include <dlfcn.h>
12825 #endif
12826
12827 #include <stdio.h>
12828
12829 #ifdef RTLD_GLOBAL
12830 #  define LT_DLGLOBAL           RTLD_GLOBAL
12831 #else
12832 #  ifdef DL_GLOBAL
12833 #    define LT_DLGLOBAL         DL_GLOBAL
12834 #  else
12835 #    define LT_DLGLOBAL         0
12836 #  endif
12837 #endif
12838
12839 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12840    find out it does not work in some platform. */
12841 #ifndef LT_DLLAZY_OR_NOW
12842 #  ifdef RTLD_LAZY
12843 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12844 #  else
12845 #    ifdef DL_LAZY
12846 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12847 #    else
12848 #      ifdef RTLD_NOW
12849 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12850 #      else
12851 #        ifdef DL_NOW
12852 #          define LT_DLLAZY_OR_NOW      DL_NOW
12853 #        else
12854 #          define LT_DLLAZY_OR_NOW      0
12855 #        endif
12856 #      endif
12857 #    endif
12858 #  endif
12859 #endif
12860
12861 /* When -fvisbility=hidden is used, assume the code has been annotated
12862    correspondingly for the symbols needed.  */
12863 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12864 int fnord () __attribute__((visibility("default")));
12865 #endif
12866
12867 int fnord () { return 42; }
12868 int main ()
12869 {
12870   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12871   int status = $lt_dlunknown;
12872
12873   if (self)
12874     {
12875       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12876       else
12877         {
12878           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12879           else puts (dlerror ());
12880         }
12881       /* dlclose (self); */
12882     }
12883   else
12884     puts (dlerror ());
12885
12886   return status;
12887 }
12888 _LT_EOF
12889   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12890   (eval $ac_link) 2>&5
12891   ac_status=$?
12892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12893   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12894     (./conftest; exit; ) >&5 2>/dev/null
12895     lt_status=$?
12896     case x$lt_status in
12897       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12898       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12899       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12900     esac
12901   else :
12902     # compilation failed
12903     lt_cv_dlopen_self_static=no
12904   fi
12905 fi
12906 rm -fr conftest*
12907
12908
12909 fi
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12911 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12912     fi
12913
12914     CPPFLAGS="$save_CPPFLAGS"
12915     LDFLAGS="$save_LDFLAGS"
12916     LIBS="$save_LIBS"
12917     ;;
12918   esac
12919
12920   case $lt_cv_dlopen_self in
12921   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12922   *) enable_dlopen_self=unknown ;;
12923   esac
12924
12925   case $lt_cv_dlopen_self_static in
12926   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12927   *) enable_dlopen_self_static=unknown ;;
12928   esac
12929 fi
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947 striplib=
12948 old_striplib=
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12950 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12951 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12952   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12953   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12955 $as_echo "yes" >&6; }
12956 else
12957 # FIXME - insert some real tests, host_os isn't really good enough
12958   case $host_os in
12959   darwin*)
12960     if test -n "$STRIP" ; then
12961       striplib="$STRIP -x"
12962       old_striplib="$STRIP -S"
12963       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12964 $as_echo "yes" >&6; }
12965     else
12966       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12967 $as_echo "no" >&6; }
12968     fi
12969     ;;
12970   *)
12971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12973     ;;
12974   esac
12975 fi
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988   # Report which library types will actually be built
12989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12990 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12992 $as_echo "$can_build_shared" >&6; }
12993
12994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12995 $as_echo_n "checking whether to build shared libraries... " >&6; }
12996   test "$can_build_shared" = "no" && enable_shared=no
12997
12998   # On AIX, shared libraries and static libraries use the same namespace, and
12999   # are all built from PIC.
13000   case $host_os in
13001   aix3*)
13002     test "$enable_shared" = yes && enable_static=no
13003     if test -n "$RANLIB"; then
13004       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13005       postinstall_cmds='$RANLIB $lib'
13006     fi
13007     ;;
13008
13009   aix[4-9]*)
13010     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13011       test "$enable_shared" = yes && enable_static=no
13012     fi
13013     ;;
13014   esac
13015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13016 $as_echo "$enable_shared" >&6; }
13017
13018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13019 $as_echo_n "checking whether to build static libraries... " >&6; }
13020   # Make sure either enable_shared or enable_static is yes.
13021   test "$enable_shared" = yes || enable_static=yes
13022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13023 $as_echo "$enable_static" >&6; }
13024
13025
13026
13027
13028 fi
13029 ac_ext=c
13030 ac_cpp='$CPP $CPPFLAGS'
13031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13034
13035 CC="$lt_save_CC"
13036
13037       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13038     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13039     (test "X$CXX" != "Xg++"))) ; then
13040   ac_ext=cpp
13041 ac_cpp='$CXXCPP $CPPFLAGS'
13042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13046 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13047 if test -z "$CXXCPP"; then
13048   if ${ac_cv_prog_CXXCPP+:} false; then :
13049   $as_echo_n "(cached) " >&6
13050 else
13051       # Double quotes because CXXCPP needs to be expanded
13052     for CXXCPP in "$CXX -E" "/lib/cpp"
13053     do
13054       ac_preproc_ok=false
13055 for ac_cxx_preproc_warn_flag in '' yes
13056 do
13057   # Use a header file that comes with gcc, so configuring glibc
13058   # with a fresh cross-compiler works.
13059   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13060   # <limits.h> exists even on freestanding compilers.
13061   # On the NeXT, cc -E runs the code through the compiler's parser,
13062   # not just through cpp. "Syntax error" is here to catch this case.
13063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h.  */
13065 #ifdef __STDC__
13066 # include <limits.h>
13067 #else
13068 # include <assert.h>
13069 #endif
13070                      Syntax error
13071 _ACEOF
13072 if ac_fn_cxx_try_cpp "$LINENO"; then :
13073
13074 else
13075   # Broken: fails on valid input.
13076 continue
13077 fi
13078 rm -f conftest.err conftest.i conftest.$ac_ext
13079
13080   # OK, works on sane cases.  Now check whether nonexistent headers
13081   # can be detected and how.
13082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h.  */
13084 #include <ac_nonexistent.h>
13085 _ACEOF
13086 if ac_fn_cxx_try_cpp "$LINENO"; then :
13087   # Broken: success on invalid input.
13088 continue
13089 else
13090   # Passes both tests.
13091 ac_preproc_ok=:
13092 break
13093 fi
13094 rm -f conftest.err conftest.i conftest.$ac_ext
13095
13096 done
13097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13098 rm -f conftest.i conftest.err conftest.$ac_ext
13099 if $ac_preproc_ok; then :
13100   break
13101 fi
13102
13103     done
13104     ac_cv_prog_CXXCPP=$CXXCPP
13105
13106 fi
13107   CXXCPP=$ac_cv_prog_CXXCPP
13108 else
13109   ac_cv_prog_CXXCPP=$CXXCPP
13110 fi
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13112 $as_echo "$CXXCPP" >&6; }
13113 ac_preproc_ok=false
13114 for ac_cxx_preproc_warn_flag in '' yes
13115 do
13116   # Use a header file that comes with gcc, so configuring glibc
13117   # with a fresh cross-compiler works.
13118   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13119   # <limits.h> exists even on freestanding compilers.
13120   # On the NeXT, cc -E runs the code through the compiler's parser,
13121   # not just through cpp. "Syntax error" is here to catch this case.
13122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h.  */
13124 #ifdef __STDC__
13125 # include <limits.h>
13126 #else
13127 # include <assert.h>
13128 #endif
13129                      Syntax error
13130 _ACEOF
13131 if ac_fn_cxx_try_cpp "$LINENO"; then :
13132
13133 else
13134   # Broken: fails on valid input.
13135 continue
13136 fi
13137 rm -f conftest.err conftest.i conftest.$ac_ext
13138
13139   # OK, works on sane cases.  Now check whether nonexistent headers
13140   # can be detected and how.
13141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h.  */
13143 #include <ac_nonexistent.h>
13144 _ACEOF
13145 if ac_fn_cxx_try_cpp "$LINENO"; then :
13146   # Broken: success on invalid input.
13147 continue
13148 else
13149   # Passes both tests.
13150 ac_preproc_ok=:
13151 break
13152 fi
13153 rm -f conftest.err conftest.i conftest.$ac_ext
13154
13155 done
13156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13157 rm -f conftest.i conftest.err conftest.$ac_ext
13158 if $ac_preproc_ok; then :
13159
13160 else
13161   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13163 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13164 See \`config.log' for more details" "$LINENO" 5; }
13165 fi
13166
13167 ac_ext=c
13168 ac_cpp='$CPP $CPPFLAGS'
13169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13172
13173 else
13174   _lt_caught_CXX_error=yes
13175 fi
13176
13177 ac_ext=cpp
13178 ac_cpp='$CXXCPP $CPPFLAGS'
13179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13182
13183 archive_cmds_need_lc_CXX=no
13184 allow_undefined_flag_CXX=
13185 always_export_symbols_CXX=no
13186 archive_expsym_cmds_CXX=
13187 compiler_needs_object_CXX=no
13188 export_dynamic_flag_spec_CXX=
13189 hardcode_direct_CXX=no
13190 hardcode_direct_absolute_CXX=no
13191 hardcode_libdir_flag_spec_CXX=
13192 hardcode_libdir_separator_CXX=
13193 hardcode_minus_L_CXX=no
13194 hardcode_shlibpath_var_CXX=unsupported
13195 hardcode_automatic_CXX=no
13196 inherit_rpath_CXX=no
13197 module_cmds_CXX=
13198 module_expsym_cmds_CXX=
13199 link_all_deplibs_CXX=unknown
13200 old_archive_cmds_CXX=$old_archive_cmds
13201 reload_flag_CXX=$reload_flag
13202 reload_cmds_CXX=$reload_cmds
13203 no_undefined_flag_CXX=
13204 whole_archive_flag_spec_CXX=
13205 enable_shared_with_static_runtimes_CXX=no
13206
13207 # Source file extension for C++ test sources.
13208 ac_ext=cpp
13209
13210 # Object file extension for compiled C++ test sources.
13211 objext=o
13212 objext_CXX=$objext
13213
13214 # No sense in running all these tests if we already determined that
13215 # the CXX compiler isn't working.  Some variables (like enable_shared)
13216 # are currently assumed to apply to all compilers on this platform,
13217 # and will be corrupted by setting them based on a non-working compiler.
13218 if test "$_lt_caught_CXX_error" != yes; then
13219   # Code to be used in simple compile tests
13220   lt_simple_compile_test_code="int some_variable = 0;"
13221
13222   # Code to be used in simple link tests
13223   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13224
13225   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13226
13227
13228
13229
13230
13231
13232 # If no C compiler was specified, use CC.
13233 LTCC=${LTCC-"$CC"}
13234
13235 # If no C compiler flags were specified, use CFLAGS.
13236 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13237
13238 # Allow CC to be a program name with arguments.
13239 compiler=$CC
13240
13241
13242   # save warnings/boilerplate of simple test code
13243   ac_outfile=conftest.$ac_objext
13244 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13245 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13246 _lt_compiler_boilerplate=`cat conftest.err`
13247 $RM conftest*
13248
13249   ac_outfile=conftest.$ac_objext
13250 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13251 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13252 _lt_linker_boilerplate=`cat conftest.err`
13253 $RM -r conftest*
13254
13255
13256   # Allow CC to be a program name with arguments.
13257   lt_save_CC=$CC
13258   lt_save_CFLAGS=$CFLAGS
13259   lt_save_LD=$LD
13260   lt_save_GCC=$GCC
13261   GCC=$GXX
13262   lt_save_with_gnu_ld=$with_gnu_ld
13263   lt_save_path_LD=$lt_cv_path_LD
13264   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13265     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13266   else
13267     $as_unset lt_cv_prog_gnu_ld
13268   fi
13269   if test -n "${lt_cv_path_LDCXX+set}"; then
13270     lt_cv_path_LD=$lt_cv_path_LDCXX
13271   else
13272     $as_unset lt_cv_path_LD
13273   fi
13274   test -z "${LDCXX+set}" || LD=$LDCXX
13275   CC=${CXX-"c++"}
13276   CFLAGS=$CXXFLAGS
13277   compiler=$CC
13278   compiler_CXX=$CC
13279   for cc_temp in $compiler""; do
13280   case $cc_temp in
13281     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13282     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13283     \-*) ;;
13284     *) break;;
13285   esac
13286 done
13287 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13288
13289
13290   if test -n "$compiler"; then
13291     # We don't want -fno-exception when compiling C++ code, so set the
13292     # no_builtin_flag separately
13293     if test "$GXX" = yes; then
13294       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13295     else
13296       lt_prog_compiler_no_builtin_flag_CXX=
13297     fi
13298
13299     if test "$GXX" = yes; then
13300       # Set up default GNU C++ configuration
13301
13302
13303
13304 # Check whether --with-gnu-ld was given.
13305 if test "${with_gnu_ld+set}" = set; then :
13306   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13307 else
13308   with_gnu_ld=no
13309 fi
13310
13311 ac_prog=ld
13312 if test "$GCC" = yes; then
13313   # Check if gcc -print-prog-name=ld gives a path.
13314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13315 $as_echo_n "checking for ld used by $CC... " >&6; }
13316   case $host in
13317   *-*-mingw*)
13318     # gcc leaves a trailing carriage return which upsets mingw
13319     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13320   *)
13321     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13322   esac
13323   case $ac_prog in
13324     # Accept absolute paths.
13325     [\\/]* | ?:[\\/]*)
13326       re_direlt='/[^/][^/]*/\.\./'
13327       # Canonicalize the pathname of ld
13328       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13329       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13330         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13331       done
13332       test -z "$LD" && LD="$ac_prog"
13333       ;;
13334   "")
13335     # If it fails, then pretend we aren't using GCC.
13336     ac_prog=ld
13337     ;;
13338   *)
13339     # If it is relative, then search for the first ld in PATH.
13340     with_gnu_ld=unknown
13341     ;;
13342   esac
13343 elif test "$with_gnu_ld" = yes; then
13344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13345 $as_echo_n "checking for GNU ld... " >&6; }
13346 else
13347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13348 $as_echo_n "checking for non-GNU ld... " >&6; }
13349 fi
13350 if ${lt_cv_path_LD+:} false; then :
13351   $as_echo_n "(cached) " >&6
13352 else
13353   if test -z "$LD"; then
13354   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13355   for ac_dir in $PATH; do
13356     IFS="$lt_save_ifs"
13357     test -z "$ac_dir" && ac_dir=.
13358     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13359       lt_cv_path_LD="$ac_dir/$ac_prog"
13360       # Check to see if the program is GNU ld.  I'd rather use --version,
13361       # but apparently some variants of GNU ld only accept -v.
13362       # Break only if it was the GNU/non-GNU ld that we prefer.
13363       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13364       *GNU* | *'with BFD'*)
13365         test "$with_gnu_ld" != no && break
13366         ;;
13367       *)
13368         test "$with_gnu_ld" != yes && break
13369         ;;
13370       esac
13371     fi
13372   done
13373   IFS="$lt_save_ifs"
13374 else
13375   lt_cv_path_LD="$LD" # Let the user override the test with a path.
13376 fi
13377 fi
13378
13379 LD="$lt_cv_path_LD"
13380 if test -n "$LD"; then
13381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13382 $as_echo "$LD" >&6; }
13383 else
13384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13385 $as_echo "no" >&6; }
13386 fi
13387 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13389 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13390 if ${lt_cv_prog_gnu_ld+:} false; then :
13391   $as_echo_n "(cached) " >&6
13392 else
13393   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13394 case `$LD -v 2>&1 </dev/null` in
13395 *GNU* | *'with BFD'*)
13396   lt_cv_prog_gnu_ld=yes
13397   ;;
13398 *)
13399   lt_cv_prog_gnu_ld=no
13400   ;;
13401 esac
13402 fi
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13404 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13405 with_gnu_ld=$lt_cv_prog_gnu_ld
13406
13407
13408
13409
13410
13411
13412
13413       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13414       # archiving commands below assume that GNU ld is being used.
13415       if test "$with_gnu_ld" = yes; then
13416         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13417         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'
13418
13419         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13420         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13421
13422         # If archive_cmds runs LD, not CC, wlarc should be empty
13423         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13424         #     investigate it a little bit more. (MM)
13425         wlarc='${wl}'
13426
13427         # ancient GNU ld didn't support --whole-archive et. al.
13428         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13429           $GREP 'no-whole-archive' > /dev/null; then
13430           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13431         else
13432           whole_archive_flag_spec_CXX=
13433         fi
13434       else
13435         with_gnu_ld=no
13436         wlarc=
13437
13438         # A generic and very simple default shared library creation
13439         # command for GNU C++ for the case where it uses the native
13440         # linker, instead of GNU ld.  If possible, this setting should
13441         # overridden to take advantage of the native linker features on
13442         # the platform it is being used on.
13443         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13444       fi
13445
13446       # Commands to make compiler produce verbose output that lists
13447       # what "hidden" libraries, object files and flags are used when
13448       # linking a shared library.
13449       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13450
13451     else
13452       GXX=no
13453       with_gnu_ld=no
13454       wlarc=
13455     fi
13456
13457     # PORTME: fill in a description of your system's C++ link characteristics
13458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13459 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13460     ld_shlibs_CXX=yes
13461     case $host_os in
13462       aix3*)
13463         # FIXME: insert proper C++ library support
13464         ld_shlibs_CXX=no
13465         ;;
13466       aix[4-9]*)
13467         if test "$host_cpu" = ia64; then
13468           # On IA64, the linker does run time linking by default, so we don't
13469           # have to do anything special.
13470           aix_use_runtimelinking=no
13471           exp_sym_flag='-Bexport'
13472           no_entry_flag=""
13473         else
13474           aix_use_runtimelinking=no
13475
13476           # Test if we are trying to use run time linking or normal
13477           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13478           # need to do runtime linking.
13479           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13480             for ld_flag in $LDFLAGS; do
13481               case $ld_flag in
13482               *-brtl*)
13483                 aix_use_runtimelinking=yes
13484                 break
13485                 ;;
13486               esac
13487             done
13488             ;;
13489           esac
13490
13491           exp_sym_flag='-bexport'
13492           no_entry_flag='-bnoentry'
13493         fi
13494
13495         # When large executables or shared objects are built, AIX ld can
13496         # have problems creating the table of contents.  If linking a library
13497         # or program results in "error TOC overflow" add -mminimal-toc to
13498         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13499         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13500
13501         archive_cmds_CXX=''
13502         hardcode_direct_CXX=yes
13503         hardcode_direct_absolute_CXX=yes
13504         hardcode_libdir_separator_CXX=':'
13505         link_all_deplibs_CXX=yes
13506         file_list_spec_CXX='${wl}-f,'
13507
13508         if test "$GXX" = yes; then
13509           case $host_os in aix4.[012]|aix4.[012].*)
13510           # We only want to do this on AIX 4.2 and lower, the check
13511           # below for broken collect2 doesn't work under 4.3+
13512           collect2name=`${CC} -print-prog-name=collect2`
13513           if test -f "$collect2name" &&
13514              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13515           then
13516             # We have reworked collect2
13517             :
13518           else
13519             # We have old collect2
13520             hardcode_direct_CXX=unsupported
13521             # It fails to find uninstalled libraries when the uninstalled
13522             # path is not listed in the libpath.  Setting hardcode_minus_L
13523             # to unsupported forces relinking
13524             hardcode_minus_L_CXX=yes
13525             hardcode_libdir_flag_spec_CXX='-L$libdir'
13526             hardcode_libdir_separator_CXX=
13527           fi
13528           esac
13529           shared_flag='-shared'
13530           if test "$aix_use_runtimelinking" = yes; then
13531             shared_flag="$shared_flag "'${wl}-G'
13532           fi
13533         else
13534           # not using gcc
13535           if test "$host_cpu" = ia64; then
13536           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13537           # chokes on -Wl,-G. The following line is correct:
13538           shared_flag='-G'
13539           else
13540             if test "$aix_use_runtimelinking" = yes; then
13541               shared_flag='${wl}-G'
13542             else
13543               shared_flag='${wl}-bM:SRE'
13544             fi
13545           fi
13546         fi
13547
13548         export_dynamic_flag_spec_CXX='${wl}-bexpall'
13549         # It seems that -bexpall does not export symbols beginning with
13550         # underscore (_), so it is better to generate a list of symbols to
13551         # export.
13552         always_export_symbols_CXX=yes
13553         if test "$aix_use_runtimelinking" = yes; then
13554           # Warning - without using the other runtime loading flags (-brtl),
13555           # -berok will link without error, but may produce a broken library.
13556           allow_undefined_flag_CXX='-berok'
13557           # Determine the default libpath from the value encoded in an empty
13558           # executable.
13559           if test "${lt_cv_aix_libpath+set}" = set; then
13560   aix_libpath=$lt_cv_aix_libpath
13561 else
13562   if ${lt_cv_aix_libpath__CXX+:} false; then :
13563   $as_echo_n "(cached) " >&6
13564 else
13565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h.  */
13567
13568 int
13569 main ()
13570 {
13571
13572   ;
13573   return 0;
13574 }
13575 _ACEOF
13576 if ac_fn_cxx_try_link "$LINENO"; then :
13577
13578   lt_aix_libpath_sed='
13579       /Import File Strings/,/^$/ {
13580           /^0/ {
13581               s/^0  *\([^ ]*\) *$/\1/
13582               p
13583           }
13584       }'
13585   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13586   # Check for a 64-bit object if we didn't find anything.
13587   if test -z "$lt_cv_aix_libpath__CXX"; then
13588     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13589   fi
13590 fi
13591 rm -f core conftest.err conftest.$ac_objext \
13592     conftest$ac_exeext conftest.$ac_ext
13593   if test -z "$lt_cv_aix_libpath__CXX"; then
13594     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13595   fi
13596
13597 fi
13598
13599   aix_libpath=$lt_cv_aix_libpath__CXX
13600 fi
13601
13602           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13603
13604           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"
13605         else
13606           if test "$host_cpu" = ia64; then
13607             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13608             allow_undefined_flag_CXX="-z nodefs"
13609             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"
13610           else
13611             # Determine the default libpath from the value encoded in an
13612             # empty executable.
13613             if test "${lt_cv_aix_libpath+set}" = set; then
13614   aix_libpath=$lt_cv_aix_libpath
13615 else
13616   if ${lt_cv_aix_libpath__CXX+:} false; then :
13617   $as_echo_n "(cached) " >&6
13618 else
13619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h.  */
13621
13622 int
13623 main ()
13624 {
13625
13626   ;
13627   return 0;
13628 }
13629 _ACEOF
13630 if ac_fn_cxx_try_link "$LINENO"; then :
13631
13632   lt_aix_libpath_sed='
13633       /Import File Strings/,/^$/ {
13634           /^0/ {
13635               s/^0  *\([^ ]*\) *$/\1/
13636               p
13637           }
13638       }'
13639   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13640   # Check for a 64-bit object if we didn't find anything.
13641   if test -z "$lt_cv_aix_libpath__CXX"; then
13642     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13643   fi
13644 fi
13645 rm -f core conftest.err conftest.$ac_objext \
13646     conftest$ac_exeext conftest.$ac_ext
13647   if test -z "$lt_cv_aix_libpath__CXX"; then
13648     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13649   fi
13650
13651 fi
13652
13653   aix_libpath=$lt_cv_aix_libpath__CXX
13654 fi
13655
13656             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13657             # Warning - without using the other run time loading flags,
13658             # -berok will link without error, but may produce a broken library.
13659             no_undefined_flag_CXX=' ${wl}-bernotok'
13660             allow_undefined_flag_CXX=' ${wl}-berok'
13661             if test "$with_gnu_ld" = yes; then
13662               # We only use this code for GNU lds that support --whole-archive.
13663               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13664             else
13665               # Exported symbols can be pulled into shared objects from archives
13666               whole_archive_flag_spec_CXX='$convenience'
13667             fi
13668             archive_cmds_need_lc_CXX=yes
13669             # This is similar to how AIX traditionally builds its shared
13670             # libraries.
13671             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'
13672           fi
13673         fi
13674         ;;
13675
13676       beos*)
13677         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13678           allow_undefined_flag_CXX=unsupported
13679           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13680           # support --undefined.  This deserves some investigation.  FIXME
13681           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13682         else
13683           ld_shlibs_CXX=no
13684         fi
13685         ;;
13686
13687       chorus*)
13688         case $cc_basename in
13689           *)
13690           # FIXME: insert proper C++ library support
13691           ld_shlibs_CXX=no
13692           ;;
13693         esac
13694         ;;
13695
13696       cygwin* | mingw* | pw32* | cegcc*)
13697         case $GXX,$cc_basename in
13698         ,cl* | no,cl*)
13699           # Native MSVC
13700           # hardcode_libdir_flag_spec is actually meaningless, as there is
13701           # no search path for DLLs.
13702           hardcode_libdir_flag_spec_CXX=' '
13703           allow_undefined_flag_CXX=unsupported
13704           always_export_symbols_CXX=yes
13705           file_list_spec_CXX='@'
13706           # Tell ltmain to make .lib files, not .a files.
13707           libext=lib
13708           # Tell ltmain to make .dll files, not .so files.
13709           shrext_cmds=".dll"
13710           # FIXME: Setting linknames here is a bad hack.
13711           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13712           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13713               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13714             else
13715               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13716             fi~
13717             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13718             linknames='
13719           # The linker will not automatically build a static lib if we build a DLL.
13720           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13721           enable_shared_with_static_runtimes_CXX=yes
13722           # Don't use ranlib
13723           old_postinstall_cmds_CXX='chmod 644 $oldlib'
13724           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13725             lt_tool_outputfile="@TOOL_OUTPUT@"~
13726             case $lt_outputfile in
13727               *.exe|*.EXE) ;;
13728               *)
13729                 lt_outputfile="$lt_outputfile.exe"
13730                 lt_tool_outputfile="$lt_tool_outputfile.exe"
13731                 ;;
13732             esac~
13733             func_to_tool_file "$lt_outputfile"~
13734             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13735               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13736               $RM "$lt_outputfile.manifest";
13737             fi'
13738           ;;
13739         *)
13740           # g++
13741           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13742           # as there is no search path for DLLs.
13743           hardcode_libdir_flag_spec_CXX='-L$libdir'
13744           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13745           allow_undefined_flag_CXX=unsupported
13746           always_export_symbols_CXX=no
13747           enable_shared_with_static_runtimes_CXX=yes
13748
13749           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13750             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'
13751             # If the export-symbols file already is a .def file (1st line
13752             # is EXPORTS), use it as is; otherwise, prepend...
13753             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13754               cp $export_symbols $output_objdir/$soname.def;
13755             else
13756               echo EXPORTS > $output_objdir/$soname.def;
13757               cat $export_symbols >> $output_objdir/$soname.def;
13758             fi~
13759             $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'
13760           else
13761             ld_shlibs_CXX=no
13762           fi
13763           ;;
13764         esac
13765         ;;
13766       darwin* | rhapsody*)
13767
13768
13769   archive_cmds_need_lc_CXX=no
13770   hardcode_direct_CXX=no
13771   hardcode_automatic_CXX=yes
13772   hardcode_shlibpath_var_CXX=unsupported
13773   if test "$lt_cv_ld_force_load" = "yes"; then
13774     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\"`'
13775
13776   else
13777     whole_archive_flag_spec_CXX=''
13778   fi
13779   link_all_deplibs_CXX=yes
13780   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13781   case $cc_basename in
13782      ifort*) _lt_dar_can_shared=yes ;;
13783      *) _lt_dar_can_shared=$GCC ;;
13784   esac
13785   if test "$_lt_dar_can_shared" = "yes"; then
13786     output_verbose_link_cmd=func_echo_all
13787     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}"
13788     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13789     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}"
13790     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}"
13791        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13792       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}"
13793       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}"
13794     fi
13795
13796   else
13797   ld_shlibs_CXX=no
13798   fi
13799
13800         ;;
13801
13802       dgux*)
13803         case $cc_basename in
13804           ec++*)
13805             # FIXME: insert proper C++ library support
13806             ld_shlibs_CXX=no
13807             ;;
13808           ghcx*)
13809             # Green Hills C++ Compiler
13810             # FIXME: insert proper C++ library support
13811             ld_shlibs_CXX=no
13812             ;;
13813           *)
13814             # FIXME: insert proper C++ library support
13815             ld_shlibs_CXX=no
13816             ;;
13817         esac
13818         ;;
13819
13820       freebsd2.*)
13821         # C++ shared libraries reported to be fairly broken before
13822         # switch to ELF
13823         ld_shlibs_CXX=no
13824         ;;
13825
13826       freebsd-elf*)
13827         archive_cmds_need_lc_CXX=no
13828         ;;
13829
13830       freebsd* | dragonfly*)
13831         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13832         # conventions
13833         ld_shlibs_CXX=yes
13834         ;;
13835
13836       gnu*)
13837         ;;
13838
13839       haiku*)
13840         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13841         link_all_deplibs_CXX=yes
13842         ;;
13843
13844       hpux9*)
13845         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13846         hardcode_libdir_separator_CXX=:
13847         export_dynamic_flag_spec_CXX='${wl}-E'
13848         hardcode_direct_CXX=yes
13849         hardcode_minus_L_CXX=yes # Not in the search PATH,
13850                                              # but as the default
13851                                              # location of the library.
13852
13853         case $cc_basename in
13854           CC*)
13855             # FIXME: insert proper C++ library support
13856             ld_shlibs_CXX=no
13857             ;;
13858           aCC*)
13859             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'
13860             # Commands to make compiler produce verbose output that lists
13861             # what "hidden" libraries, object files and flags are used when
13862             # linking a shared library.
13863             #
13864             # There doesn't appear to be a way to prevent this compiler from
13865             # explicitly linking system object files so we need to strip them
13866             # from the output so that they don't get included in the library
13867             # dependencies.
13868             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"'
13869             ;;
13870           *)
13871             if test "$GXX" = yes; then
13872               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'
13873             else
13874               # FIXME: insert proper C++ library support
13875               ld_shlibs_CXX=no
13876             fi
13877             ;;
13878         esac
13879         ;;
13880
13881       hpux10*|hpux11*)
13882         if test $with_gnu_ld = no; then
13883           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13884           hardcode_libdir_separator_CXX=:
13885
13886           case $host_cpu in
13887             hppa*64*|ia64*)
13888               ;;
13889             *)
13890               export_dynamic_flag_spec_CXX='${wl}-E'
13891               ;;
13892           esac
13893         fi
13894         case $host_cpu in
13895           hppa*64*|ia64*)
13896             hardcode_direct_CXX=no
13897             hardcode_shlibpath_var_CXX=no
13898             ;;
13899           *)
13900             hardcode_direct_CXX=yes
13901             hardcode_direct_absolute_CXX=yes
13902             hardcode_minus_L_CXX=yes # Not in the search PATH,
13903                                                  # but as the default
13904                                                  # location of the library.
13905             ;;
13906         esac
13907
13908         case $cc_basename in
13909           CC*)
13910             # FIXME: insert proper C++ library support
13911             ld_shlibs_CXX=no
13912             ;;
13913           aCC*)
13914             case $host_cpu in
13915               hppa*64*)
13916                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13917                 ;;
13918               ia64*)
13919                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13920                 ;;
13921               *)
13922                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13923                 ;;
13924             esac
13925             # Commands to make compiler produce verbose output that lists
13926             # what "hidden" libraries, object files and flags are used when
13927             # linking a shared library.
13928             #
13929             # There doesn't appear to be a way to prevent this compiler from
13930             # explicitly linking system object files so we need to strip them
13931             # from the output so that they don't get included in the library
13932             # dependencies.
13933             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"'
13934             ;;
13935           *)
13936             if test "$GXX" = yes; then
13937               if test $with_gnu_ld = no; then
13938                 case $host_cpu in
13939                   hppa*64*)
13940                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13941                     ;;
13942                   ia64*)
13943                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13944                     ;;
13945                   *)
13946                     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'
13947                     ;;
13948                 esac
13949               fi
13950             else
13951               # FIXME: insert proper C++ library support
13952               ld_shlibs_CXX=no
13953             fi
13954             ;;
13955         esac
13956         ;;
13957
13958       interix[3-9]*)
13959         hardcode_direct_CXX=no
13960         hardcode_shlibpath_var_CXX=no
13961         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13962         export_dynamic_flag_spec_CXX='${wl}-E'
13963         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13964         # Instead, shared libraries are loaded at an image base (0x10000000 by
13965         # default) and relocated if they conflict, which is a slow very memory
13966         # consuming and fragmenting process.  To avoid this, we pick a random,
13967         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13968         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13969         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'
13970         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'
13971         ;;
13972       irix5* | irix6*)
13973         case $cc_basename in
13974           CC*)
13975             # SGI C++
13976             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'
13977
13978             # Archives containing C++ object files must be created using
13979             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13980             # necessary to make sure instantiated templates are included
13981             # in the archive.
13982             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13983             ;;
13984           *)
13985             if test "$GXX" = yes; then
13986               if test "$with_gnu_ld" = no; then
13987                 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'
13988               else
13989                 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'
13990               fi
13991             fi
13992             link_all_deplibs_CXX=yes
13993             ;;
13994         esac
13995         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13996         hardcode_libdir_separator_CXX=:
13997         inherit_rpath_CXX=yes
13998         ;;
13999
14000       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14001         case $cc_basename in
14002           KCC*)
14003             # Kuck and Associates, Inc. (KAI) C++ Compiler
14004
14005             # KCC will only create a shared library if the output file
14006             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14007             # to its proper name (with version) after linking.
14008             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'
14009             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'
14010             # Commands to make compiler produce verbose output that lists
14011             # what "hidden" libraries, object files and flags are used when
14012             # linking a shared library.
14013             #
14014             # There doesn't appear to be a way to prevent this compiler from
14015             # explicitly linking system object files so we need to strip them
14016             # from the output so that they don't get included in the library
14017             # dependencies.
14018             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"'
14019
14020             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14021             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14022
14023             # Archives containing C++ object files must be created using
14024             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14025             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14026             ;;
14027           icpc* | ecpc* )
14028             # Intel C++
14029             with_gnu_ld=yes
14030             # version 8.0 and above of icpc choke on multiply defined symbols
14031             # if we add $predep_objects and $postdep_objects, however 7.1 and
14032             # earlier do not add the objects themselves.
14033             case `$CC -V 2>&1` in
14034               *"Version 7."*)
14035                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14036                 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'
14037                 ;;
14038               *)  # Version 8.0 or newer
14039                 tmp_idyn=
14040                 case $host_cpu in
14041                   ia64*) tmp_idyn=' -i_dynamic';;
14042                 esac
14043                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14044                 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'
14045                 ;;
14046             esac
14047             archive_cmds_need_lc_CXX=no
14048             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14049             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14050             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14051             ;;
14052           pgCC* | pgcpp*)
14053             # Portland Group C++ compiler
14054             case `$CC -V` in
14055             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14056               prelink_cmds_CXX='tpldir=Template.dir~
14057                 rm -rf $tpldir~
14058                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14059                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14060               old_archive_cmds_CXX='tpldir=Template.dir~
14061                 rm -rf $tpldir~
14062                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14063                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14064                 $RANLIB $oldlib'
14065               archive_cmds_CXX='tpldir=Template.dir~
14066                 rm -rf $tpldir~
14067                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14068                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14069               archive_expsym_cmds_CXX='tpldir=Template.dir~
14070                 rm -rf $tpldir~
14071                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14072                 $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'
14073               ;;
14074             *) # Version 6 and above use weak symbols
14075               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14076               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'
14077               ;;
14078             esac
14079
14080             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14081             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14082             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'
14083             ;;
14084           cxx*)
14085             # Compaq C++
14086             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14087             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'
14088
14089             runpath_var=LD_RUN_PATH
14090             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14091             hardcode_libdir_separator_CXX=:
14092
14093             # Commands to make compiler produce verbose output that lists
14094             # what "hidden" libraries, object files and flags are used when
14095             # linking a shared library.
14096             #
14097             # There doesn't appear to be a way to prevent this compiler from
14098             # explicitly linking system object files so we need to strip them
14099             # from the output so that they don't get included in the library
14100             # dependencies.
14101             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'
14102             ;;
14103           xl* | mpixl* | bgxl*)
14104             # IBM XL 8.0 on PPC, with GNU ld
14105             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14106             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14107             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14108             if test "x$supports_anon_versioning" = xyes; then
14109               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14110                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14111                 echo "local: *; };" >> $output_objdir/$libname.ver~
14112                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14113             fi
14114             ;;
14115           *)
14116             case `$CC -V 2>&1 | sed 5q` in
14117             *Sun\ C*)
14118               # Sun C++ 5.9
14119               no_undefined_flag_CXX=' -zdefs'
14120               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14121               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'
14122               hardcode_libdir_flag_spec_CXX='-R$libdir'
14123               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'
14124               compiler_needs_object_CXX=yes
14125
14126               # Not sure whether something based on
14127               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14128               # would be better.
14129               output_verbose_link_cmd='func_echo_all'
14130
14131               # Archives containing C++ object files must be created using
14132               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14133               # necessary to make sure instantiated templates are included
14134               # in the archive.
14135               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14136               ;;
14137             esac
14138             ;;
14139         esac
14140         ;;
14141
14142       lynxos*)
14143         # FIXME: insert proper C++ library support
14144         ld_shlibs_CXX=no
14145         ;;
14146
14147       m88k*)
14148         # FIXME: insert proper C++ library support
14149         ld_shlibs_CXX=no
14150         ;;
14151
14152       mvs*)
14153         case $cc_basename in
14154           cxx*)
14155             # FIXME: insert proper C++ library support
14156             ld_shlibs_CXX=no
14157             ;;
14158           *)
14159             # FIXME: insert proper C++ library support
14160             ld_shlibs_CXX=no
14161             ;;
14162         esac
14163         ;;
14164
14165       netbsd*)
14166         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14167           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14168           wlarc=
14169           hardcode_libdir_flag_spec_CXX='-R$libdir'
14170           hardcode_direct_CXX=yes
14171           hardcode_shlibpath_var_CXX=no
14172         fi
14173         # Workaround some broken pre-1.5 toolchains
14174         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14175         ;;
14176
14177       *nto* | *qnx*)
14178         ld_shlibs_CXX=yes
14179         ;;
14180
14181       openbsd2*)
14182         # C++ shared libraries are fairly broken
14183         ld_shlibs_CXX=no
14184         ;;
14185
14186       openbsd*)
14187         if test -f /usr/libexec/ld.so; then
14188           hardcode_direct_CXX=yes
14189           hardcode_shlibpath_var_CXX=no
14190           hardcode_direct_absolute_CXX=yes
14191           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14192           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14193           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14194             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14195             export_dynamic_flag_spec_CXX='${wl}-E'
14196             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14197           fi
14198           output_verbose_link_cmd=func_echo_all
14199         else
14200           ld_shlibs_CXX=no
14201         fi
14202         ;;
14203
14204       osf3* | osf4* | osf5*)
14205         case $cc_basename in
14206           KCC*)
14207             # Kuck and Associates, Inc. (KAI) C++ Compiler
14208
14209             # KCC will only create a shared library if the output file
14210             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14211             # to its proper name (with version) after linking.
14212             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'
14213
14214             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14215             hardcode_libdir_separator_CXX=:
14216
14217             # Archives containing C++ object files must be created using
14218             # the KAI C++ compiler.
14219             case $host in
14220               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14221               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14222             esac
14223             ;;
14224           RCC*)
14225             # Rational C++ 2.4.1
14226             # FIXME: insert proper C++ library support
14227             ld_shlibs_CXX=no
14228             ;;
14229           cxx*)
14230             case $host in
14231               osf3*)
14232                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14233                 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'
14234                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14235                 ;;
14236               *)
14237                 allow_undefined_flag_CXX=' -expect_unresolved \*'
14238                 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'
14239                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14240                   echo "-hidden">> $lib.exp~
14241                   $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~
14242                   $RM $lib.exp'
14243                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14244                 ;;
14245             esac
14246
14247             hardcode_libdir_separator_CXX=:
14248
14249             # Commands to make compiler produce verbose output that lists
14250             # what "hidden" libraries, object files and flags are used when
14251             # linking a shared library.
14252             #
14253             # There doesn't appear to be a way to prevent this compiler from
14254             # explicitly linking system object files so we need to strip them
14255             # from the output so that they don't get included in the library
14256             # dependencies.
14257             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"'
14258             ;;
14259           *)
14260             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14261               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14262               case $host in
14263                 osf3*)
14264                   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'
14265                   ;;
14266                 *)
14267                   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'
14268                   ;;
14269               esac
14270
14271               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14272               hardcode_libdir_separator_CXX=:
14273
14274               # Commands to make compiler produce verbose output that lists
14275               # what "hidden" libraries, object files and flags are used when
14276               # linking a shared library.
14277               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14278
14279             else
14280               # FIXME: insert proper C++ library support
14281               ld_shlibs_CXX=no
14282             fi
14283             ;;
14284         esac
14285         ;;
14286
14287       psos*)
14288         # FIXME: insert proper C++ library support
14289         ld_shlibs_CXX=no
14290         ;;
14291
14292       sunos4*)
14293         case $cc_basename in
14294           CC*)
14295             # Sun C++ 4.x
14296             # FIXME: insert proper C++ library support
14297             ld_shlibs_CXX=no
14298             ;;
14299           lcc*)
14300             # Lucid
14301             # FIXME: insert proper C++ library support
14302             ld_shlibs_CXX=no
14303             ;;
14304           *)
14305             # FIXME: insert proper C++ library support
14306             ld_shlibs_CXX=no
14307             ;;
14308         esac
14309         ;;
14310
14311       solaris*)
14312         case $cc_basename in
14313           CC* | sunCC*)
14314             # Sun C++ 4.2, 5.x and Centerline C++
14315             archive_cmds_need_lc_CXX=yes
14316             no_undefined_flag_CXX=' -zdefs'
14317             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14318             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14319               $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'
14320
14321             hardcode_libdir_flag_spec_CXX='-R$libdir'
14322             hardcode_shlibpath_var_CXX=no
14323             case $host_os in
14324               solaris2.[0-5] | solaris2.[0-5].*) ;;
14325               *)
14326                 # The compiler driver will combine and reorder linker options,
14327                 # but understands `-z linker_flag'.
14328                 # Supported since Solaris 2.6 (maybe 2.5.1?)
14329                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14330                 ;;
14331             esac
14332             link_all_deplibs_CXX=yes
14333
14334             output_verbose_link_cmd='func_echo_all'
14335
14336             # Archives containing C++ object files must be created using
14337             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14338             # necessary to make sure instantiated templates are included
14339             # in the archive.
14340             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14341             ;;
14342           gcx*)
14343             # Green Hills C++ Compiler
14344             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14345
14346             # The C++ compiler must be used to create the archive.
14347             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14348             ;;
14349           *)
14350             # GNU C++ compiler with Solaris linker
14351             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14352               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14353               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14354                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14355                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14356                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14357
14358                 # Commands to make compiler produce verbose output that lists
14359                 # what "hidden" libraries, object files and flags are used when
14360                 # linking a shared library.
14361                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14362               else
14363                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14364                 # platform.
14365                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14366                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14367                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14368
14369                 # Commands to make compiler produce verbose output that lists
14370                 # what "hidden" libraries, object files and flags are used when
14371                 # linking a shared library.
14372                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14373               fi
14374
14375               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14376               case $host_os in
14377                 solaris2.[0-5] | solaris2.[0-5].*) ;;
14378                 *)
14379                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14380                   ;;
14381               esac
14382             fi
14383             ;;
14384         esac
14385         ;;
14386
14387     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14388       no_undefined_flag_CXX='${wl}-z,text'
14389       archive_cmds_need_lc_CXX=no
14390       hardcode_shlibpath_var_CXX=no
14391       runpath_var='LD_RUN_PATH'
14392
14393       case $cc_basename in
14394         CC*)
14395           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14396           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14397           ;;
14398         *)
14399           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14400           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14401           ;;
14402       esac
14403       ;;
14404
14405       sysv5* | sco3.2v5* | sco5v6*)
14406         # Note: We can NOT use -z defs as we might desire, because we do not
14407         # link with -lc, and that would cause any symbols used from libc to
14408         # always be unresolved, which means just about no library would
14409         # ever link correctly.  If we're not using GNU ld we use -z text
14410         # though, which does catch some bad symbols but isn't as heavy-handed
14411         # as -z defs.
14412         no_undefined_flag_CXX='${wl}-z,text'
14413         allow_undefined_flag_CXX='${wl}-z,nodefs'
14414         archive_cmds_need_lc_CXX=no
14415         hardcode_shlibpath_var_CXX=no
14416         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14417         hardcode_libdir_separator_CXX=':'
14418         link_all_deplibs_CXX=yes
14419         export_dynamic_flag_spec_CXX='${wl}-Bexport'
14420         runpath_var='LD_RUN_PATH'
14421
14422         case $cc_basename in
14423           CC*)
14424             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14425             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14426             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14427               '"$old_archive_cmds_CXX"
14428             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14429               '"$reload_cmds_CXX"
14430             ;;
14431           *)
14432             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14433             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14434             ;;
14435         esac
14436       ;;
14437
14438       tandem*)
14439         case $cc_basename in
14440           NCC*)
14441             # NonStop-UX NCC 3.20
14442             # FIXME: insert proper C++ library support
14443             ld_shlibs_CXX=no
14444             ;;
14445           *)
14446             # FIXME: insert proper C++ library support
14447             ld_shlibs_CXX=no
14448             ;;
14449         esac
14450         ;;
14451
14452       vxworks*)
14453         # FIXME: insert proper C++ library support
14454         ld_shlibs_CXX=no
14455         ;;
14456
14457       *)
14458         # FIXME: insert proper C++ library support
14459         ld_shlibs_CXX=no
14460         ;;
14461     esac
14462
14463     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14464 $as_echo "$ld_shlibs_CXX" >&6; }
14465     test "$ld_shlibs_CXX" = no && can_build_shared=no
14466
14467     GCC_CXX="$GXX"
14468     LD_CXX="$LD"
14469
14470     ## CAVEAT EMPTOR:
14471     ## There is no encapsulation within the following macros, do not change
14472     ## the running order or otherwise move them around unless you know exactly
14473     ## what you are doing...
14474     # Dependencies to place before and after the object being linked:
14475 predep_objects_CXX=
14476 postdep_objects_CXX=
14477 predeps_CXX=
14478 postdeps_CXX=
14479 compiler_lib_search_path_CXX=
14480
14481 cat > conftest.$ac_ext <<_LT_EOF
14482 class Foo
14483 {
14484 public:
14485   Foo (void) { a = 0; }
14486 private:
14487   int a;
14488 };
14489 _LT_EOF
14490
14491
14492 _lt_libdeps_save_CFLAGS=$CFLAGS
14493 case "$CC $CFLAGS " in #(
14494 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14495 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14496 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14497 esac
14498
14499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14500   (eval $ac_compile) 2>&5
14501   ac_status=$?
14502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14503   test $ac_status = 0; }; then
14504   # Parse the compiler output and extract the necessary
14505   # objects, libraries and library flags.
14506
14507   # Sentinel used to keep track of whether or not we are before
14508   # the conftest object file.
14509   pre_test_object_deps_done=no
14510
14511   for p in `eval "$output_verbose_link_cmd"`; do
14512     case ${prev}${p} in
14513
14514     -L* | -R* | -l*)
14515        # Some compilers place space between "-{L,R}" and the path.
14516        # Remove the space.
14517        if test $p = "-L" ||
14518           test $p = "-R"; then
14519          prev=$p
14520          continue
14521        fi
14522
14523        # Expand the sysroot to ease extracting the directories later.
14524        if test -z "$prev"; then
14525          case $p in
14526          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14527          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14528          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14529          esac
14530        fi
14531        case $p in
14532        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14533        esac
14534        if test "$pre_test_object_deps_done" = no; then
14535          case ${prev} in
14536          -L | -R)
14537            # Internal compiler library paths should come after those
14538            # provided the user.  The postdeps already come after the
14539            # user supplied libs so there is no need to process them.
14540            if test -z "$compiler_lib_search_path_CXX"; then
14541              compiler_lib_search_path_CXX="${prev}${p}"
14542            else
14543              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14544            fi
14545            ;;
14546          # The "-l" case would never come before the object being
14547          # linked, so don't bother handling this case.
14548          esac
14549        else
14550          if test -z "$postdeps_CXX"; then
14551            postdeps_CXX="${prev}${p}"
14552          else
14553            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14554          fi
14555        fi
14556        prev=
14557        ;;
14558
14559     *.lto.$objext) ;; # Ignore GCC LTO objects
14560     *.$objext)
14561        # This assumes that the test object file only shows up
14562        # once in the compiler output.
14563        if test "$p" = "conftest.$objext"; then
14564          pre_test_object_deps_done=yes
14565          continue
14566        fi
14567
14568        if test "$pre_test_object_deps_done" = no; then
14569          if test -z "$predep_objects_CXX"; then
14570            predep_objects_CXX="$p"
14571          else
14572            predep_objects_CXX="$predep_objects_CXX $p"
14573          fi
14574        else
14575          if test -z "$postdep_objects_CXX"; then
14576            postdep_objects_CXX="$p"
14577          else
14578            postdep_objects_CXX="$postdep_objects_CXX $p"
14579          fi
14580        fi
14581        ;;
14582
14583     *) ;; # Ignore the rest.
14584
14585     esac
14586   done
14587
14588   # Clean up.
14589   rm -f a.out a.exe
14590 else
14591   echo "libtool.m4: error: problem compiling CXX test program"
14592 fi
14593
14594 $RM -f confest.$objext
14595 CFLAGS=$_lt_libdeps_save_CFLAGS
14596
14597 # PORTME: override above test on systems where it is broken
14598 case $host_os in
14599 interix[3-9]*)
14600   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14601   # hack all around it, let's just trust "g++" to DTRT.
14602   predep_objects_CXX=
14603   postdep_objects_CXX=
14604   postdeps_CXX=
14605   ;;
14606
14607 linux*)
14608   case `$CC -V 2>&1 | sed 5q` in
14609   *Sun\ C*)
14610     # Sun C++ 5.9
14611
14612     # The more standards-conforming stlport4 library is
14613     # incompatible with the Cstd library. Avoid specifying
14614     # it if it's in CXXFLAGS. Ignore libCrun as
14615     # -library=stlport4 depends on it.
14616     case " $CXX $CXXFLAGS " in
14617     *" -library=stlport4 "*)
14618       solaris_use_stlport4=yes
14619       ;;
14620     esac
14621
14622     if test "$solaris_use_stlport4" != yes; then
14623       postdeps_CXX='-library=Cstd -library=Crun'
14624     fi
14625     ;;
14626   esac
14627   ;;
14628
14629 solaris*)
14630   case $cc_basename in
14631   CC* | sunCC*)
14632     # The more standards-conforming stlport4 library is
14633     # incompatible with the Cstd library. Avoid specifying
14634     # it if it's in CXXFLAGS. Ignore libCrun as
14635     # -library=stlport4 depends on it.
14636     case " $CXX $CXXFLAGS " in
14637     *" -library=stlport4 "*)
14638       solaris_use_stlport4=yes
14639       ;;
14640     esac
14641
14642     # Adding this requires a known-good setup of shared libraries for
14643     # Sun compiler versions before 5.6, else PIC objects from an old
14644     # archive will be linked into the output, leading to subtle bugs.
14645     if test "$solaris_use_stlport4" != yes; then
14646       postdeps_CXX='-library=Cstd -library=Crun'
14647     fi
14648     ;;
14649   esac
14650   ;;
14651 esac
14652
14653
14654 case " $postdeps_CXX " in
14655 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14656 esac
14657  compiler_lib_search_dirs_CXX=
14658 if test -n "${compiler_lib_search_path_CXX}"; then
14659  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14660 fi
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692     lt_prog_compiler_wl_CXX=
14693 lt_prog_compiler_pic_CXX=
14694 lt_prog_compiler_static_CXX=
14695
14696
14697   # C++ specific cases for pic, static, wl, etc.
14698   if test "$GXX" = yes; then
14699     lt_prog_compiler_wl_CXX='-Wl,'
14700     lt_prog_compiler_static_CXX='-static'
14701
14702     case $host_os in
14703     aix*)
14704       # All AIX code is PIC.
14705       if test "$host_cpu" = ia64; then
14706         # AIX 5 now supports IA64 processor
14707         lt_prog_compiler_static_CXX='-Bstatic'
14708       fi
14709       ;;
14710
14711     amigaos*)
14712       case $host_cpu in
14713       powerpc)
14714             # see comment about AmigaOS4 .so support
14715             lt_prog_compiler_pic_CXX='-fPIC'
14716         ;;
14717       m68k)
14718             # FIXME: we need at least 68020 code to build shared libraries, but
14719             # adding the `-m68020' flag to GCC prevents building anything better,
14720             # like `-m68040'.
14721             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14722         ;;
14723       esac
14724       ;;
14725
14726     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14727       # PIC is the default for these OSes.
14728       ;;
14729     mingw* | cygwin* | os2* | pw32* | cegcc*)
14730       # This hack is so that the source file can tell whether it is being
14731       # built for inclusion in a dll (and should export symbols for example).
14732       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14733       # (--disable-auto-import) libraries
14734       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14735       ;;
14736     darwin* | rhapsody*)
14737       # PIC is the default on this platform
14738       # Common symbols not allowed in MH_DYLIB files
14739       lt_prog_compiler_pic_CXX='-fno-common'
14740       ;;
14741     *djgpp*)
14742       # DJGPP does not support shared libraries at all
14743       lt_prog_compiler_pic_CXX=
14744       ;;
14745     haiku*)
14746       # PIC is the default for Haiku.
14747       # The "-static" flag exists, but is broken.
14748       lt_prog_compiler_static_CXX=
14749       ;;
14750     interix[3-9]*)
14751       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14752       # Instead, we relocate shared libraries at runtime.
14753       ;;
14754     sysv4*MP*)
14755       if test -d /usr/nec; then
14756         lt_prog_compiler_pic_CXX=-Kconform_pic
14757       fi
14758       ;;
14759     hpux*)
14760       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14761       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14762       # sets the default TLS model and affects inlining.
14763       case $host_cpu in
14764       hppa*64*)
14765         ;;
14766       *)
14767         lt_prog_compiler_pic_CXX='-fPIC'
14768         ;;
14769       esac
14770       ;;
14771     *qnx* | *nto*)
14772       # QNX uses GNU C++, but need to define -shared option too, otherwise
14773       # it will coredump.
14774       lt_prog_compiler_pic_CXX='-fPIC -shared'
14775       ;;
14776     *)
14777       lt_prog_compiler_pic_CXX='-fPIC'
14778       ;;
14779     esac
14780   else
14781     case $host_os in
14782       aix[4-9]*)
14783         # All AIX code is PIC.
14784         if test "$host_cpu" = ia64; then
14785           # AIX 5 now supports IA64 processor
14786           lt_prog_compiler_static_CXX='-Bstatic'
14787         else
14788           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14789         fi
14790         ;;
14791       chorus*)
14792         case $cc_basename in
14793         cxch68*)
14794           # Green Hills C++ Compiler
14795           # _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"
14796           ;;
14797         esac
14798         ;;
14799       mingw* | cygwin* | os2* | pw32* | cegcc*)
14800         # This hack is so that the source file can tell whether it is being
14801         # built for inclusion in a dll (and should export symbols for example).
14802         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14803         ;;
14804       dgux*)
14805         case $cc_basename in
14806           ec++*)
14807             lt_prog_compiler_pic_CXX='-KPIC'
14808             ;;
14809           ghcx*)
14810             # Green Hills C++ Compiler
14811             lt_prog_compiler_pic_CXX='-pic'
14812             ;;
14813           *)
14814             ;;
14815         esac
14816         ;;
14817       freebsd* | dragonfly*)
14818         # FreeBSD uses GNU C++
14819         ;;
14820       hpux9* | hpux10* | hpux11*)
14821         case $cc_basename in
14822           CC*)
14823             lt_prog_compiler_wl_CXX='-Wl,'
14824             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14825             if test "$host_cpu" != ia64; then
14826               lt_prog_compiler_pic_CXX='+Z'
14827             fi
14828             ;;
14829           aCC*)
14830             lt_prog_compiler_wl_CXX='-Wl,'
14831             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14832             case $host_cpu in
14833             hppa*64*|ia64*)
14834               # +Z the default
14835               ;;
14836             *)
14837               lt_prog_compiler_pic_CXX='+Z'
14838               ;;
14839             esac
14840             ;;
14841           *)
14842             ;;
14843         esac
14844         ;;
14845       interix*)
14846         # This is c89, which is MS Visual C++ (no shared libs)
14847         # Anyone wants to do a port?
14848         ;;
14849       irix5* | irix6* | nonstopux*)
14850         case $cc_basename in
14851           CC*)
14852             lt_prog_compiler_wl_CXX='-Wl,'
14853             lt_prog_compiler_static_CXX='-non_shared'
14854             # CC pic flag -KPIC is the default.
14855             ;;
14856           *)
14857             ;;
14858         esac
14859         ;;
14860       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14861         case $cc_basename in
14862           KCC*)
14863             # KAI C++ Compiler
14864             lt_prog_compiler_wl_CXX='--backend -Wl,'
14865             lt_prog_compiler_pic_CXX='-fPIC'
14866             ;;
14867           ecpc* )
14868             # old Intel C++ for x86_64 which still supported -KPIC.
14869             lt_prog_compiler_wl_CXX='-Wl,'
14870             lt_prog_compiler_pic_CXX='-KPIC'
14871             lt_prog_compiler_static_CXX='-static'
14872             ;;
14873           icpc* )
14874             # Intel C++, used to be incompatible with GCC.
14875             # ICC 10 doesn't accept -KPIC any more.
14876             lt_prog_compiler_wl_CXX='-Wl,'
14877             lt_prog_compiler_pic_CXX='-fPIC'
14878             lt_prog_compiler_static_CXX='-static'
14879             ;;
14880           pgCC* | pgcpp*)
14881             # Portland Group C++ compiler
14882             lt_prog_compiler_wl_CXX='-Wl,'
14883             lt_prog_compiler_pic_CXX='-fpic'
14884             lt_prog_compiler_static_CXX='-Bstatic'
14885             ;;
14886           cxx*)
14887             # Compaq C++
14888             # Make sure the PIC flag is empty.  It appears that all Alpha
14889             # Linux and Compaq Tru64 Unix objects are PIC.
14890             lt_prog_compiler_pic_CXX=
14891             lt_prog_compiler_static_CXX='-non_shared'
14892             ;;
14893           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14894             # IBM XL 8.0, 9.0 on PPC and BlueGene
14895             lt_prog_compiler_wl_CXX='-Wl,'
14896             lt_prog_compiler_pic_CXX='-qpic'
14897             lt_prog_compiler_static_CXX='-qstaticlink'
14898             ;;
14899           *)
14900             case `$CC -V 2>&1 | sed 5q` in
14901             *Sun\ C*)
14902               # Sun C++ 5.9
14903               lt_prog_compiler_pic_CXX='-KPIC'
14904               lt_prog_compiler_static_CXX='-Bstatic'
14905               lt_prog_compiler_wl_CXX='-Qoption ld '
14906               ;;
14907             esac
14908             ;;
14909         esac
14910         ;;
14911       lynxos*)
14912         ;;
14913       m88k*)
14914         ;;
14915       mvs*)
14916         case $cc_basename in
14917           cxx*)
14918             lt_prog_compiler_pic_CXX='-W c,exportall'
14919             ;;
14920           *)
14921             ;;
14922         esac
14923         ;;
14924       netbsd*)
14925         ;;
14926       *qnx* | *nto*)
14927         # QNX uses GNU C++, but need to define -shared option too, otherwise
14928         # it will coredump.
14929         lt_prog_compiler_pic_CXX='-fPIC -shared'
14930         ;;
14931       osf3* | osf4* | osf5*)
14932         case $cc_basename in
14933           KCC*)
14934             lt_prog_compiler_wl_CXX='--backend -Wl,'
14935             ;;
14936           RCC*)
14937             # Rational C++ 2.4.1
14938             lt_prog_compiler_pic_CXX='-pic'
14939             ;;
14940           cxx*)
14941             # Digital/Compaq C++
14942             lt_prog_compiler_wl_CXX='-Wl,'
14943             # Make sure the PIC flag is empty.  It appears that all Alpha
14944             # Linux and Compaq Tru64 Unix objects are PIC.
14945             lt_prog_compiler_pic_CXX=
14946             lt_prog_compiler_static_CXX='-non_shared'
14947             ;;
14948           *)
14949             ;;
14950         esac
14951         ;;
14952       psos*)
14953         ;;
14954       solaris*)
14955         case $cc_basename in
14956           CC* | sunCC*)
14957             # Sun C++ 4.2, 5.x and Centerline C++
14958             lt_prog_compiler_pic_CXX='-KPIC'
14959             lt_prog_compiler_static_CXX='-Bstatic'
14960             lt_prog_compiler_wl_CXX='-Qoption ld '
14961             ;;
14962           gcx*)
14963             # Green Hills C++ Compiler
14964             lt_prog_compiler_pic_CXX='-PIC'
14965             ;;
14966           *)
14967             ;;
14968         esac
14969         ;;
14970       sunos4*)
14971         case $cc_basename in
14972           CC*)
14973             # Sun C++ 4.x
14974             lt_prog_compiler_pic_CXX='-pic'
14975             lt_prog_compiler_static_CXX='-Bstatic'
14976             ;;
14977           lcc*)
14978             # Lucid
14979             lt_prog_compiler_pic_CXX='-pic'
14980             ;;
14981           *)
14982             ;;
14983         esac
14984         ;;
14985       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14986         case $cc_basename in
14987           CC*)
14988             lt_prog_compiler_wl_CXX='-Wl,'
14989             lt_prog_compiler_pic_CXX='-KPIC'
14990             lt_prog_compiler_static_CXX='-Bstatic'
14991             ;;
14992         esac
14993         ;;
14994       tandem*)
14995         case $cc_basename in
14996           NCC*)
14997             # NonStop-UX NCC 3.20
14998             lt_prog_compiler_pic_CXX='-KPIC'
14999             ;;
15000           *)
15001             ;;
15002         esac
15003         ;;
15004       vxworks*)
15005         ;;
15006       *)
15007         lt_prog_compiler_can_build_shared_CXX=no
15008         ;;
15009     esac
15010   fi
15011
15012 case $host_os in
15013   # For platforms which do not support PIC, -DPIC is meaningless:
15014   *djgpp*)
15015     lt_prog_compiler_pic_CXX=
15016     ;;
15017   *)
15018     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15019     ;;
15020 esac
15021
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15023 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15024 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15025   $as_echo_n "(cached) " >&6
15026 else
15027   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15028 fi
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15030 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15031 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15032
15033 #
15034 # Check to make sure the PIC flag actually works.
15035 #
15036 if test -n "$lt_prog_compiler_pic_CXX"; then
15037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15038 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15039 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15040   $as_echo_n "(cached) " >&6
15041 else
15042   lt_cv_prog_compiler_pic_works_CXX=no
15043    ac_outfile=conftest.$ac_objext
15044    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15045    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15046    # Insert the option either (1) after the last *FLAGS variable, or
15047    # (2) before a word containing "conftest.", or (3) at the end.
15048    # Note that $ac_compile itself does not contain backslashes and begins
15049    # with a dollar sign (not a hyphen), so the echo should work correctly.
15050    # The option is referenced via a variable to avoid confusing sed.
15051    lt_compile=`echo "$ac_compile" | $SED \
15052    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15053    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15054    -e 's:$: $lt_compiler_flag:'`
15055    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15056    (eval "$lt_compile" 2>conftest.err)
15057    ac_status=$?
15058    cat conftest.err >&5
15059    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060    if (exit $ac_status) && test -s "$ac_outfile"; then
15061      # The compiler can only warn and ignore the option if not recognized
15062      # So say no if there are warnings other than the usual output.
15063      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15064      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15065      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15066        lt_cv_prog_compiler_pic_works_CXX=yes
15067      fi
15068    fi
15069    $RM conftest*
15070
15071 fi
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15073 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15074
15075 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15076     case $lt_prog_compiler_pic_CXX in
15077      "" | " "*) ;;
15078      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15079      esac
15080 else
15081     lt_prog_compiler_pic_CXX=
15082      lt_prog_compiler_can_build_shared_CXX=no
15083 fi
15084
15085 fi
15086
15087
15088
15089
15090
15091 #
15092 # Check to make sure the static flag actually works.
15093 #
15094 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15096 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15097 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15098   $as_echo_n "(cached) " >&6
15099 else
15100   lt_cv_prog_compiler_static_works_CXX=no
15101    save_LDFLAGS="$LDFLAGS"
15102    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15103    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15104    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15105      # The linker can only warn and ignore the option if not recognized
15106      # So say no if there are warnings
15107      if test -s conftest.err; then
15108        # Append any errors to the config.log.
15109        cat conftest.err 1>&5
15110        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15111        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15112        if diff conftest.exp conftest.er2 >/dev/null; then
15113          lt_cv_prog_compiler_static_works_CXX=yes
15114        fi
15115      else
15116        lt_cv_prog_compiler_static_works_CXX=yes
15117      fi
15118    fi
15119    $RM -r conftest*
15120    LDFLAGS="$save_LDFLAGS"
15121
15122 fi
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15124 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15125
15126 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15127     :
15128 else
15129     lt_prog_compiler_static_CXX=
15130 fi
15131
15132
15133
15134
15135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15136 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15137 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15138   $as_echo_n "(cached) " >&6
15139 else
15140   lt_cv_prog_compiler_c_o_CXX=no
15141    $RM -r conftest 2>/dev/null
15142    mkdir conftest
15143    cd conftest
15144    mkdir out
15145    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15146
15147    lt_compiler_flag="-o out/conftest2.$ac_objext"
15148    # Insert the option either (1) after the last *FLAGS variable, or
15149    # (2) before a word containing "conftest.", or (3) at the end.
15150    # Note that $ac_compile itself does not contain backslashes and begins
15151    # with a dollar sign (not a hyphen), so the echo should work correctly.
15152    lt_compile=`echo "$ac_compile" | $SED \
15153    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15154    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15155    -e 's:$: $lt_compiler_flag:'`
15156    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15157    (eval "$lt_compile" 2>out/conftest.err)
15158    ac_status=$?
15159    cat out/conftest.err >&5
15160    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15162    then
15163      # The compiler can only warn and ignore the option if not recognized
15164      # So say no if there are warnings
15165      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15166      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15167      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15168        lt_cv_prog_compiler_c_o_CXX=yes
15169      fi
15170    fi
15171    chmod u+w . 2>&5
15172    $RM conftest*
15173    # SGI C++ compiler will create directory out/ii_files/ for
15174    # template instantiation
15175    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15176    $RM out/* && rmdir out
15177    cd ..
15178    $RM -r conftest
15179    $RM conftest*
15180
15181 fi
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15183 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15184
15185
15186
15187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15188 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15189 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15190   $as_echo_n "(cached) " >&6
15191 else
15192   lt_cv_prog_compiler_c_o_CXX=no
15193    $RM -r conftest 2>/dev/null
15194    mkdir conftest
15195    cd conftest
15196    mkdir out
15197    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15198
15199    lt_compiler_flag="-o out/conftest2.$ac_objext"
15200    # Insert the option either (1) after the last *FLAGS variable, or
15201    # (2) before a word containing "conftest.", or (3) at the end.
15202    # Note that $ac_compile itself does not contain backslashes and begins
15203    # with a dollar sign (not a hyphen), so the echo should work correctly.
15204    lt_compile=`echo "$ac_compile" | $SED \
15205    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15206    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15207    -e 's:$: $lt_compiler_flag:'`
15208    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15209    (eval "$lt_compile" 2>out/conftest.err)
15210    ac_status=$?
15211    cat out/conftest.err >&5
15212    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15214    then
15215      # The compiler can only warn and ignore the option if not recognized
15216      # So say no if there are warnings
15217      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15218      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15219      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15220        lt_cv_prog_compiler_c_o_CXX=yes
15221      fi
15222    fi
15223    chmod u+w . 2>&5
15224    $RM conftest*
15225    # SGI C++ compiler will create directory out/ii_files/ for
15226    # template instantiation
15227    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15228    $RM out/* && rmdir out
15229    cd ..
15230    $RM -r conftest
15231    $RM conftest*
15232
15233 fi
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15235 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15236
15237
15238
15239
15240 hard_links="nottested"
15241 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15242   # do not overwrite the value of need_locks provided by the user
15243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15244 $as_echo_n "checking if we can lock with hard links... " >&6; }
15245   hard_links=yes
15246   $RM conftest*
15247   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15248   touch conftest.a
15249   ln conftest.a conftest.b 2>&5 || hard_links=no
15250   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15252 $as_echo "$hard_links" >&6; }
15253   if test "$hard_links" = no; then
15254     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15255 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15256     need_locks=warn
15257   fi
15258 else
15259   need_locks=no
15260 fi
15261
15262
15263
15264     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15265 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15266
15267   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15268   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15269   case $host_os in
15270   aix[4-9]*)
15271     # If we're using GNU nm, then we don't want the "-C" option.
15272     # -C means demangle to AIX nm, but means don't demangle with GNU nm
15273     # Also, AIX nm treats weak defined symbols like other global defined
15274     # symbols, whereas GNU nm marks them as "W".
15275     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15276       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'
15277     else
15278       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'
15279     fi
15280     ;;
15281   pw32*)
15282     export_symbols_cmds_CXX="$ltdll_cmds"
15283     ;;
15284   cygwin* | mingw* | cegcc*)
15285     case $cc_basename in
15286     cl*)
15287       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15288       ;;
15289     *)
15290       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'
15291       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15292       ;;
15293     esac
15294     ;;
15295   *)
15296     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15297     ;;
15298   esac
15299
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15301 $as_echo "$ld_shlibs_CXX" >&6; }
15302 test "$ld_shlibs_CXX" = no && can_build_shared=no
15303
15304 with_gnu_ld_CXX=$with_gnu_ld
15305
15306
15307
15308
15309
15310
15311 #
15312 # Do we need to explicitly link libc?
15313 #
15314 case "x$archive_cmds_need_lc_CXX" in
15315 x|xyes)
15316   # Assume -lc should be added
15317   archive_cmds_need_lc_CXX=yes
15318
15319   if test "$enable_shared" = yes && test "$GCC" = yes; then
15320     case $archive_cmds_CXX in
15321     *'~'*)
15322       # FIXME: we may have to deal with multi-command sequences.
15323       ;;
15324     '$CC '*)
15325       # Test whether the compiler implicitly links with -lc since on some
15326       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15327       # to ld, don't add -lc before -lgcc.
15328       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15329 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15330 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15331   $as_echo_n "(cached) " >&6
15332 else
15333   $RM conftest*
15334         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15335
15336         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15337   (eval $ac_compile) 2>&5
15338   ac_status=$?
15339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15340   test $ac_status = 0; } 2>conftest.err; then
15341           soname=conftest
15342           lib=conftest
15343           libobjs=conftest.$ac_objext
15344           deplibs=
15345           wl=$lt_prog_compiler_wl_CXX
15346           pic_flag=$lt_prog_compiler_pic_CXX
15347           compiler_flags=-v
15348           linker_flags=-v
15349           verstring=
15350           output_objdir=.
15351           libname=conftest
15352           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15353           allow_undefined_flag_CXX=
15354           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15355   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15356   ac_status=$?
15357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15358   test $ac_status = 0; }
15359           then
15360             lt_cv_archive_cmds_need_lc_CXX=no
15361           else
15362             lt_cv_archive_cmds_need_lc_CXX=yes
15363           fi
15364           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15365         else
15366           cat conftest.err 1>&5
15367         fi
15368         $RM conftest*
15369
15370 fi
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15372 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15373       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15374       ;;
15375     esac
15376   fi
15377   ;;
15378 esac
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15442 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15443
15444 library_names_spec=
15445 libname_spec='lib$name'
15446 soname_spec=
15447 shrext_cmds=".so"
15448 postinstall_cmds=
15449 postuninstall_cmds=
15450 finish_cmds=
15451 finish_eval=
15452 shlibpath_var=
15453 shlibpath_overrides_runpath=unknown
15454 version_type=none
15455 dynamic_linker="$host_os ld.so"
15456 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15457 need_lib_prefix=unknown
15458 hardcode_into_libs=no
15459
15460 # when you set need_version to no, make sure it does not cause -set_version
15461 # flags to be left without arguments
15462 need_version=unknown
15463
15464 case $host_os in
15465 aix3*)
15466   version_type=linux # correct to gnu/linux during the next big refactor
15467   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15468   shlibpath_var=LIBPATH
15469
15470   # AIX 3 has no versioning support, so we append a major version to the name.
15471   soname_spec='${libname}${release}${shared_ext}$major'
15472   ;;
15473
15474 aix[4-9]*)
15475   version_type=linux # correct to gnu/linux during the next big refactor
15476   need_lib_prefix=no
15477   need_version=no
15478   hardcode_into_libs=yes
15479   if test "$host_cpu" = ia64; then
15480     # AIX 5 supports IA64
15481     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15482     shlibpath_var=LD_LIBRARY_PATH
15483   else
15484     # With GCC up to 2.95.x, collect2 would create an import file
15485     # for dependence libraries.  The import file would start with
15486     # the line `#! .'.  This would cause the generated library to
15487     # depend on `.', always an invalid library.  This was fixed in
15488     # development snapshots of GCC prior to 3.0.
15489     case $host_os in
15490       aix4 | aix4.[01] | aix4.[01].*)
15491       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15492            echo ' yes '
15493            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15494         :
15495       else
15496         can_build_shared=no
15497       fi
15498       ;;
15499     esac
15500     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15501     # soname into executable. Probably we can add versioning support to
15502     # collect2, so additional links can be useful in future.
15503     if test "$aix_use_runtimelinking" = yes; then
15504       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15505       # instead of lib<name>.a to let people know that these are not
15506       # typical AIX shared libraries.
15507       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508     else
15509       # We preserve .a as extension for shared libraries through AIX4.2
15510       # and later when we are not doing run time linking.
15511       library_names_spec='${libname}${release}.a $libname.a'
15512       soname_spec='${libname}${release}${shared_ext}$major'
15513     fi
15514     shlibpath_var=LIBPATH
15515   fi
15516   ;;
15517
15518 amigaos*)
15519   case $host_cpu in
15520   powerpc)
15521     # Since July 2007 AmigaOS4 officially supports .so libraries.
15522     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524     ;;
15525   m68k)
15526     library_names_spec='$libname.ixlibrary $libname.a'
15527     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15528     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'
15529     ;;
15530   esac
15531   ;;
15532
15533 beos*)
15534   library_names_spec='${libname}${shared_ext}'
15535   dynamic_linker="$host_os ld.so"
15536   shlibpath_var=LIBRARY_PATH
15537   ;;
15538
15539 bsdi[45]*)
15540   version_type=linux # correct to gnu/linux during the next big refactor
15541   need_version=no
15542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15543   soname_spec='${libname}${release}${shared_ext}$major'
15544   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15545   shlibpath_var=LD_LIBRARY_PATH
15546   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15547   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15548   # the default ld.so.conf also contains /usr/contrib/lib and
15549   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15550   # libtool to hard-code these into programs
15551   ;;
15552
15553 cygwin* | mingw* | pw32* | cegcc*)
15554   version_type=windows
15555   shrext_cmds=".dll"
15556   need_version=no
15557   need_lib_prefix=no
15558
15559   case $GCC,$cc_basename in
15560   yes,*)
15561     # gcc
15562     library_names_spec='$libname.dll.a'
15563     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15564     postinstall_cmds='base_file=`basename \${file}`~
15565       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15566       dldir=$destdir/`dirname \$dlpath`~
15567       test -d \$dldir || mkdir -p \$dldir~
15568       $install_prog $dir/$dlname \$dldir/$dlname~
15569       chmod a+x \$dldir/$dlname~
15570       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15571         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15572       fi'
15573     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15574       dlpath=$dir/\$dldll~
15575        $RM \$dlpath'
15576     shlibpath_overrides_runpath=yes
15577
15578     case $host_os in
15579     cygwin*)
15580       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15581       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15582
15583       ;;
15584     mingw* | cegcc*)
15585       # MinGW DLLs use traditional 'lib' prefix
15586       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15587       ;;
15588     pw32*)
15589       # pw32 DLLs use 'pw' prefix rather than 'lib'
15590       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15591       ;;
15592     esac
15593     dynamic_linker='Win32 ld.exe'
15594     ;;
15595
15596   *,cl*)
15597     # Native MSVC
15598     libname_spec='$name'
15599     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15600     library_names_spec='${libname}.dll.lib'
15601
15602     case $build_os in
15603     mingw*)
15604       sys_lib_search_path_spec=
15605       lt_save_ifs=$IFS
15606       IFS=';'
15607       for lt_path in $LIB
15608       do
15609         IFS=$lt_save_ifs
15610         # Let DOS variable expansion print the short 8.3 style file name.
15611         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15612         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15613       done
15614       IFS=$lt_save_ifs
15615       # Convert to MSYS style.
15616       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15617       ;;
15618     cygwin*)
15619       # Convert to unix form, then to dos form, then back to unix form
15620       # but this time dos style (no spaces!) so that the unix form looks
15621       # like /cygdrive/c/PROGRA~1:/cygdr...
15622       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15623       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15624       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15625       ;;
15626     *)
15627       sys_lib_search_path_spec="$LIB"
15628       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15629         # It is most probably a Windows format PATH.
15630         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15631       else
15632         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15633       fi
15634       # FIXME: find the short name or the path components, as spaces are
15635       # common. (e.g. "Program Files" -> "PROGRA~1")
15636       ;;
15637     esac
15638
15639     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15640     postinstall_cmds='base_file=`basename \${file}`~
15641       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15642       dldir=$destdir/`dirname \$dlpath`~
15643       test -d \$dldir || mkdir -p \$dldir~
15644       $install_prog $dir/$dlname \$dldir/$dlname'
15645     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15646       dlpath=$dir/\$dldll~
15647        $RM \$dlpath'
15648     shlibpath_overrides_runpath=yes
15649     dynamic_linker='Win32 link.exe'
15650     ;;
15651
15652   *)
15653     # Assume MSVC wrapper
15654     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15655     dynamic_linker='Win32 ld.exe'
15656     ;;
15657   esac
15658   # FIXME: first we should search . and the directory the executable is in
15659   shlibpath_var=PATH
15660   ;;
15661
15662 darwin* | rhapsody*)
15663   dynamic_linker="$host_os dyld"
15664   version_type=darwin
15665   need_lib_prefix=no
15666   need_version=no
15667   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15668   soname_spec='${libname}${release}${major}$shared_ext'
15669   shlibpath_overrides_runpath=yes
15670   shlibpath_var=DYLD_LIBRARY_PATH
15671   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15672
15673   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15674   ;;
15675
15676 dgux*)
15677   version_type=linux # correct to gnu/linux during the next big refactor
15678   need_lib_prefix=no
15679   need_version=no
15680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15681   soname_spec='${libname}${release}${shared_ext}$major'
15682   shlibpath_var=LD_LIBRARY_PATH
15683   ;;
15684
15685 freebsd* | dragonfly*)
15686   # DragonFly does not have aout.  When/if they implement a new
15687   # versioning mechanism, adjust this.
15688   if test -x /usr/bin/objformat; then
15689     objformat=`/usr/bin/objformat`
15690   else
15691     case $host_os in
15692     freebsd[23].*) objformat=aout ;;
15693     *) objformat=elf ;;
15694     esac
15695   fi
15696   version_type=freebsd-$objformat
15697   case $version_type in
15698     freebsd-elf*)
15699       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15700       need_version=no
15701       need_lib_prefix=no
15702       ;;
15703     freebsd-*)
15704       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15705       need_version=yes
15706       ;;
15707   esac
15708   shlibpath_var=LD_LIBRARY_PATH
15709   case $host_os in
15710   freebsd2.*)
15711     shlibpath_overrides_runpath=yes
15712     ;;
15713   freebsd3.[01]* | freebsdelf3.[01]*)
15714     shlibpath_overrides_runpath=yes
15715     hardcode_into_libs=yes
15716     ;;
15717   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15718   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15719     shlibpath_overrides_runpath=no
15720     hardcode_into_libs=yes
15721     ;;
15722   *) # from 4.6 on, and DragonFly
15723     shlibpath_overrides_runpath=yes
15724     hardcode_into_libs=yes
15725     ;;
15726   esac
15727   ;;
15728
15729 gnu*)
15730   version_type=linux # correct to gnu/linux during the next big refactor
15731   need_lib_prefix=no
15732   need_version=no
15733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15734   soname_spec='${libname}${release}${shared_ext}$major'
15735   shlibpath_var=LD_LIBRARY_PATH
15736   shlibpath_overrides_runpath=no
15737   hardcode_into_libs=yes
15738   ;;
15739
15740 haiku*)
15741   version_type=linux # correct to gnu/linux during the next big refactor
15742   need_lib_prefix=no
15743   need_version=no
15744   dynamic_linker="$host_os runtime_loader"
15745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15746   soname_spec='${libname}${release}${shared_ext}$major'
15747   shlibpath_var=LIBRARY_PATH
15748   shlibpath_overrides_runpath=yes
15749   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15750   hardcode_into_libs=yes
15751   ;;
15752
15753 hpux9* | hpux10* | hpux11*)
15754   # Give a soname corresponding to the major version so that dld.sl refuses to
15755   # link against other versions.
15756   version_type=sunos
15757   need_lib_prefix=no
15758   need_version=no
15759   case $host_cpu in
15760   ia64*)
15761     shrext_cmds='.so'
15762     hardcode_into_libs=yes
15763     dynamic_linker="$host_os dld.so"
15764     shlibpath_var=LD_LIBRARY_PATH
15765     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15766     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15767     soname_spec='${libname}${release}${shared_ext}$major'
15768     if test "X$HPUX_IA64_MODE" = X32; then
15769       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15770     else
15771       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15772     fi
15773     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15774     ;;
15775   hppa*64*)
15776     shrext_cmds='.sl'
15777     hardcode_into_libs=yes
15778     dynamic_linker="$host_os dld.sl"
15779     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15780     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15781     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15782     soname_spec='${libname}${release}${shared_ext}$major'
15783     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15784     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15785     ;;
15786   *)
15787     shrext_cmds='.sl'
15788     dynamic_linker="$host_os dld.sl"
15789     shlibpath_var=SHLIB_PATH
15790     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15791     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15792     soname_spec='${libname}${release}${shared_ext}$major'
15793     ;;
15794   esac
15795   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15796   postinstall_cmds='chmod 555 $lib'
15797   # or fails outright, so override atomically:
15798   install_override_mode=555
15799   ;;
15800
15801 interix[3-9]*)
15802   version_type=linux # correct to gnu/linux during the next big refactor
15803   need_lib_prefix=no
15804   need_version=no
15805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15806   soname_spec='${libname}${release}${shared_ext}$major'
15807   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15808   shlibpath_var=LD_LIBRARY_PATH
15809   shlibpath_overrides_runpath=no
15810   hardcode_into_libs=yes
15811   ;;
15812
15813 irix5* | irix6* | nonstopux*)
15814   case $host_os in
15815     nonstopux*) version_type=nonstopux ;;
15816     *)
15817         if test "$lt_cv_prog_gnu_ld" = yes; then
15818                 version_type=linux # correct to gnu/linux during the next big refactor
15819         else
15820                 version_type=irix
15821         fi ;;
15822   esac
15823   need_lib_prefix=no
15824   need_version=no
15825   soname_spec='${libname}${release}${shared_ext}$major'
15826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15827   case $host_os in
15828   irix5* | nonstopux*)
15829     libsuff= shlibsuff=
15830     ;;
15831   *)
15832     case $LD in # libtool.m4 will add one of these switches to LD
15833     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15834       libsuff= shlibsuff= libmagic=32-bit;;
15835     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15836       libsuff=32 shlibsuff=N32 libmagic=N32;;
15837     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15838       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15839     *) libsuff= shlibsuff= libmagic=never-match;;
15840     esac
15841     ;;
15842   esac
15843   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15844   shlibpath_overrides_runpath=no
15845   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15846   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15847   hardcode_into_libs=yes
15848   ;;
15849
15850 # No shared lib support for Linux oldld, aout, or coff.
15851 linux*oldld* | linux*aout* | linux*coff*)
15852   dynamic_linker=no
15853   ;;
15854
15855 # This must be glibc/ELF.
15856 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15857   version_type=linux # correct to gnu/linux during the next big refactor
15858   need_lib_prefix=no
15859   need_version=no
15860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15861   soname_spec='${libname}${release}${shared_ext}$major'
15862   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15863   shlibpath_var=LD_LIBRARY_PATH
15864   shlibpath_overrides_runpath=no
15865
15866   # Some binutils ld are patched to set DT_RUNPATH
15867   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15868   $as_echo_n "(cached) " >&6
15869 else
15870   lt_cv_shlibpath_overrides_runpath=no
15871     save_LDFLAGS=$LDFLAGS
15872     save_libdir=$libdir
15873     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15874          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15875     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h.  */
15877
15878 int
15879 main ()
15880 {
15881
15882   ;
15883   return 0;
15884 }
15885 _ACEOF
15886 if ac_fn_cxx_try_link "$LINENO"; then :
15887   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15888   lt_cv_shlibpath_overrides_runpath=yes
15889 fi
15890 fi
15891 rm -f core conftest.err conftest.$ac_objext \
15892     conftest$ac_exeext conftest.$ac_ext
15893     LDFLAGS=$save_LDFLAGS
15894     libdir=$save_libdir
15895
15896 fi
15897
15898   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15899
15900   # This implies no fast_install, which is unacceptable.
15901   # Some rework will be needed to allow for fast_install
15902   # before this can be enabled.
15903   hardcode_into_libs=yes
15904
15905   # Add ABI-specific directories to the system library path.
15906   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
15907
15908   # Append ld.so.conf contents to the search path
15909   if test -f /etc/ld.so.conf; then
15910     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' ' '`
15911     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15912
15913   fi
15914
15915   # We used to test for /lib/ld.so.1 and disable shared libraries on
15916   # powerpc, because MkLinux only supported shared libraries with the
15917   # GNU dynamic linker.  Since this was broken with cross compilers,
15918   # most powerpc-linux boxes support dynamic linking these days and
15919   # people can always --disable-shared, the test was removed, and we
15920   # assume the GNU/Linux dynamic linker is in use.
15921   dynamic_linker='GNU/Linux ld.so'
15922   ;;
15923
15924 netbsd*)
15925   version_type=sunos
15926   need_lib_prefix=no
15927   need_version=no
15928   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15929     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15930     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15931     dynamic_linker='NetBSD (a.out) ld.so'
15932   else
15933     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15934     soname_spec='${libname}${release}${shared_ext}$major'
15935     dynamic_linker='NetBSD ld.elf_so'
15936   fi
15937   shlibpath_var=LD_LIBRARY_PATH
15938   shlibpath_overrides_runpath=yes
15939   hardcode_into_libs=yes
15940   ;;
15941
15942 newsos6)
15943   version_type=linux # correct to gnu/linux during the next big refactor
15944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15945   shlibpath_var=LD_LIBRARY_PATH
15946   shlibpath_overrides_runpath=yes
15947   ;;
15948
15949 *nto* | *qnx*)
15950   version_type=qnx
15951   need_lib_prefix=no
15952   need_version=no
15953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15954   soname_spec='${libname}${release}${shared_ext}$major'
15955   shlibpath_var=LD_LIBRARY_PATH
15956   shlibpath_overrides_runpath=no
15957   hardcode_into_libs=yes
15958   dynamic_linker='ldqnx.so'
15959   ;;
15960
15961 openbsd*)
15962   version_type=sunos
15963   sys_lib_dlsearch_path_spec="/usr/lib"
15964   need_lib_prefix=no
15965   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15966   case $host_os in
15967     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15968     *)                          need_version=no  ;;
15969   esac
15970   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15971   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15972   shlibpath_var=LD_LIBRARY_PATH
15973   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15974     case $host_os in
15975       openbsd2.[89] | openbsd2.[89].*)
15976         shlibpath_overrides_runpath=no
15977         ;;
15978       *)
15979         shlibpath_overrides_runpath=yes
15980         ;;
15981       esac
15982   else
15983     shlibpath_overrides_runpath=yes
15984   fi
15985   ;;
15986
15987 os2*)
15988   libname_spec='$name'
15989   shrext_cmds=".dll"
15990   need_lib_prefix=no
15991   library_names_spec='$libname${shared_ext} $libname.a'
15992   dynamic_linker='OS/2 ld.exe'
15993   shlibpath_var=LIBPATH
15994   ;;
15995
15996 osf3* | osf4* | osf5*)
15997   version_type=osf
15998   need_lib_prefix=no
15999   need_version=no
16000   soname_spec='${libname}${release}${shared_ext}$major'
16001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16002   shlibpath_var=LD_LIBRARY_PATH
16003   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16004   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16005   ;;
16006
16007 rdos*)
16008   dynamic_linker=no
16009   ;;
16010
16011 solaris*)
16012   version_type=linux # correct to gnu/linux during the next big refactor
16013   need_lib_prefix=no
16014   need_version=no
16015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16016   soname_spec='${libname}${release}${shared_ext}$major'
16017   shlibpath_var=LD_LIBRARY_PATH
16018   shlibpath_overrides_runpath=yes
16019   hardcode_into_libs=yes
16020   # ldd complains unless libraries are executable
16021   postinstall_cmds='chmod +x $lib'
16022   ;;
16023
16024 sunos4*)
16025   version_type=sunos
16026   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16027   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16028   shlibpath_var=LD_LIBRARY_PATH
16029   shlibpath_overrides_runpath=yes
16030   if test "$with_gnu_ld" = yes; then
16031     need_lib_prefix=no
16032   fi
16033   need_version=yes
16034   ;;
16035
16036 sysv4 | sysv4.3*)
16037   version_type=linux # correct to gnu/linux during the next big refactor
16038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16039   soname_spec='${libname}${release}${shared_ext}$major'
16040   shlibpath_var=LD_LIBRARY_PATH
16041   case $host_vendor in
16042     sni)
16043       shlibpath_overrides_runpath=no
16044       need_lib_prefix=no
16045       runpath_var=LD_RUN_PATH
16046       ;;
16047     siemens)
16048       need_lib_prefix=no
16049       ;;
16050     motorola)
16051       need_lib_prefix=no
16052       need_version=no
16053       shlibpath_overrides_runpath=no
16054       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16055       ;;
16056   esac
16057   ;;
16058
16059 sysv4*MP*)
16060   if test -d /usr/nec ;then
16061     version_type=linux # correct to gnu/linux during the next big refactor
16062     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16063     soname_spec='$libname${shared_ext}.$major'
16064     shlibpath_var=LD_LIBRARY_PATH
16065   fi
16066   ;;
16067
16068 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16069   version_type=freebsd-elf
16070   need_lib_prefix=no
16071   need_version=no
16072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16073   soname_spec='${libname}${release}${shared_ext}$major'
16074   shlibpath_var=LD_LIBRARY_PATH
16075   shlibpath_overrides_runpath=yes
16076   hardcode_into_libs=yes
16077   if test "$with_gnu_ld" = yes; then
16078     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16079   else
16080     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16081     case $host_os in
16082       sco3.2v5*)
16083         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16084         ;;
16085     esac
16086   fi
16087   sys_lib_dlsearch_path_spec='/usr/lib'
16088   ;;
16089
16090 tpf*)
16091   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16092   version_type=linux # correct to gnu/linux during the next big refactor
16093   need_lib_prefix=no
16094   need_version=no
16095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16096   shlibpath_var=LD_LIBRARY_PATH
16097   shlibpath_overrides_runpath=no
16098   hardcode_into_libs=yes
16099   ;;
16100
16101 uts4*)
16102   version_type=linux # correct to gnu/linux during the next big refactor
16103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16104   soname_spec='${libname}${release}${shared_ext}$major'
16105   shlibpath_var=LD_LIBRARY_PATH
16106   ;;
16107
16108 *)
16109   dynamic_linker=no
16110   ;;
16111 esac
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16113 $as_echo "$dynamic_linker" >&6; }
16114 test "$dynamic_linker" = no && can_build_shared=no
16115
16116 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16117 if test "$GCC" = yes; then
16118   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16119 fi
16120
16121 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16122   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16123 fi
16124 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16125   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16126 fi
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16166 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16167 hardcode_action_CXX=
16168 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16169    test -n "$runpath_var_CXX" ||
16170    test "X$hardcode_automatic_CXX" = "Xyes" ; then
16171
16172   # We can hardcode non-existent directories.
16173   if test "$hardcode_direct_CXX" != no &&
16174      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16175      # have to relink, otherwise we might link with an installed library
16176      # when we should be linking with a yet-to-be-installed one
16177      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16178      test "$hardcode_minus_L_CXX" != no; then
16179     # Linking always hardcodes the temporary library directory.
16180     hardcode_action_CXX=relink
16181   else
16182     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16183     hardcode_action_CXX=immediate
16184   fi
16185 else
16186   # We cannot hardcode anything, or else we can only hardcode existing
16187   # directories.
16188   hardcode_action_CXX=unsupported
16189 fi
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16191 $as_echo "$hardcode_action_CXX" >&6; }
16192
16193 if test "$hardcode_action_CXX" = relink ||
16194    test "$inherit_rpath_CXX" = yes; then
16195   # Fast installation is not supported
16196   enable_fast_install=no
16197 elif test "$shlibpath_overrides_runpath" = yes ||
16198      test "$enable_shared" = no; then
16199   # Fast installation is not necessary
16200   enable_fast_install=needless
16201 fi
16202
16203
16204
16205
16206
16207
16208
16209   fi # test -n "$compiler"
16210
16211   CC=$lt_save_CC
16212   CFLAGS=$lt_save_CFLAGS
16213   LDCXX=$LD
16214   LD=$lt_save_LD
16215   GCC=$lt_save_GCC
16216   with_gnu_ld=$lt_save_with_gnu_ld
16217   lt_cv_path_LDCXX=$lt_cv_path_LD
16218   lt_cv_path_LD=$lt_save_path_LD
16219   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16220   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16221 fi # test "$_lt_caught_CXX_error" != yes
16222
16223 ac_ext=c
16224 ac_cpp='$CPP $CPPFLAGS'
16225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243         ac_config_commands="$ac_config_commands libtool"
16244
16245
16246
16247
16248 # Only expand once:
16249
16250
16251 : ${CONFIG_LT=./config.lt}
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16253 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
16254 as_write_fail=0
16255 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16256 #! $SHELL
16257 # Generated by $as_me.
16258 # Run this file to recreate a libtool stub with the current configuration.
16259 SHELL=\${CONFIG_SHELL-$SHELL}
16260 export SHELL
16261 _ASEOF
16262 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16263 ## -------------------- ##
16264 ## M4sh Initialization. ##
16265 ## -------------------- ##
16266
16267 # Be more Bourne compatible
16268 DUALCASE=1; export DUALCASE # for MKS sh
16269 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16270   emulate sh
16271   NULLCMD=:
16272   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16273   # is contrary to our usage.  Disable this feature.
16274   alias -g '${1+"$@"}'='"$@"'
16275   setopt NO_GLOB_SUBST
16276 else
16277   case `(set -o) 2>/dev/null` in #(
16278   *posix*) :
16279     set -o posix ;; #(
16280   *) :
16281      ;;
16282 esac
16283 fi
16284
16285
16286 as_nl='
16287 '
16288 export as_nl
16289 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16290 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16291 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16292 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16293 # Prefer a ksh shell builtin over an external printf program on Solaris,
16294 # but without wasting forks for bash or zsh.
16295 if test -z "$BASH_VERSION$ZSH_VERSION" \
16296     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16297   as_echo='print -r --'
16298   as_echo_n='print -rn --'
16299 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16300   as_echo='printf %s\n'
16301   as_echo_n='printf %s'
16302 else
16303   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16304     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16305     as_echo_n='/usr/ucb/echo -n'
16306   else
16307     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16308     as_echo_n_body='eval
16309       arg=$1;
16310       case $arg in #(
16311       *"$as_nl"*)
16312         expr "X$arg" : "X\\(.*\\)$as_nl";
16313         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16314       esac;
16315       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16316     '
16317     export as_echo_n_body
16318     as_echo_n='sh -c $as_echo_n_body as_echo'
16319   fi
16320   export as_echo_body
16321   as_echo='sh -c $as_echo_body as_echo'
16322 fi
16323
16324 # The user is always right.
16325 if test "${PATH_SEPARATOR+set}" != set; then
16326   PATH_SEPARATOR=:
16327   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16328     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16329       PATH_SEPARATOR=';'
16330   }
16331 fi
16332
16333
16334 # IFS
16335 # We need space, tab and new line, in precisely that order.  Quoting is
16336 # there to prevent editors from complaining about space-tab.
16337 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16338 # splitting by setting IFS to empty value.)
16339 IFS=" ""        $as_nl"
16340
16341 # Find who we are.  Look in the path if we contain no directory separator.
16342 as_myself=
16343 case $0 in #((
16344   *[\\/]* ) as_myself=$0 ;;
16345   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16346 for as_dir in $PATH
16347 do
16348   IFS=$as_save_IFS
16349   test -z "$as_dir" && as_dir=.
16350     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16351   done
16352 IFS=$as_save_IFS
16353
16354      ;;
16355 esac
16356 # We did not find ourselves, most probably we were run as `sh COMMAND'
16357 # in which case we are not to be found in the path.
16358 if test "x$as_myself" = x; then
16359   as_myself=$0
16360 fi
16361 if test ! -f "$as_myself"; then
16362   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16363   exit 1
16364 fi
16365
16366 # Unset variables that we do not need and which cause bugs (e.g. in
16367 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16368 # suppresses any "Segmentation fault" message there.  '((' could
16369 # trigger a bug in pdksh 5.2.14.
16370 for as_var in BASH_ENV ENV MAIL MAILPATH
16371 do eval test x\${$as_var+set} = xset \
16372   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16373 done
16374 PS1='$ '
16375 PS2='> '
16376 PS4='+ '
16377
16378 # NLS nuisances.
16379 LC_ALL=C
16380 export LC_ALL
16381 LANGUAGE=C
16382 export LANGUAGE
16383
16384 # CDPATH.
16385 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16386
16387
16388 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16389 # ----------------------------------------
16390 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16391 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16392 # script with STATUS, using 1 if that was 0.
16393 as_fn_error ()
16394 {
16395   as_status=$1; test $as_status -eq 0 && as_status=1
16396   if test "$4"; then
16397     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16398     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16399   fi
16400   $as_echo "$as_me: error: $2" >&2
16401   as_fn_exit $as_status
16402 } # as_fn_error
16403
16404
16405 # as_fn_set_status STATUS
16406 # -----------------------
16407 # Set $? to STATUS, without forking.
16408 as_fn_set_status ()
16409 {
16410   return $1
16411 } # as_fn_set_status
16412
16413 # as_fn_exit STATUS
16414 # -----------------
16415 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16416 as_fn_exit ()
16417 {
16418   set +e
16419   as_fn_set_status $1
16420   exit $1
16421 } # as_fn_exit
16422
16423 # as_fn_unset VAR
16424 # ---------------
16425 # Portably unset VAR.
16426 as_fn_unset ()
16427 {
16428   { eval $1=; unset $1;}
16429 }
16430 as_unset=as_fn_unset
16431 # as_fn_append VAR VALUE
16432 # ----------------------
16433 # Append the text in VALUE to the end of the definition contained in VAR. Take
16434 # advantage of any shell optimizations that allow amortized linear growth over
16435 # repeated appends, instead of the typical quadratic growth present in naive
16436 # implementations.
16437 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16438   eval 'as_fn_append ()
16439   {
16440     eval $1+=\$2
16441   }'
16442 else
16443   as_fn_append ()
16444   {
16445     eval $1=\$$1\$2
16446   }
16447 fi # as_fn_append
16448
16449 # as_fn_arith ARG...
16450 # ------------------
16451 # Perform arithmetic evaluation on the ARGs, and store the result in the
16452 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16453 # must be portable across $(()) and expr.
16454 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16455   eval 'as_fn_arith ()
16456   {
16457     as_val=$(( $* ))
16458   }'
16459 else
16460   as_fn_arith ()
16461   {
16462     as_val=`expr "$@" || test $? -eq 1`
16463   }
16464 fi # as_fn_arith
16465
16466
16467 if expr a : '\(a\)' >/dev/null 2>&1 &&
16468    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16469   as_expr=expr
16470 else
16471   as_expr=false
16472 fi
16473
16474 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16475   as_basename=basename
16476 else
16477   as_basename=false
16478 fi
16479
16480 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16481   as_dirname=dirname
16482 else
16483   as_dirname=false
16484 fi
16485
16486 as_me=`$as_basename -- "$0" ||
16487 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16488          X"$0" : 'X\(//\)$' \| \
16489          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16490 $as_echo X/"$0" |
16491     sed '/^.*\/\([^/][^/]*\)\/*$/{
16492             s//\1/
16493             q
16494           }
16495           /^X\/\(\/\/\)$/{
16496             s//\1/
16497             q
16498           }
16499           /^X\/\(\/\).*/{
16500             s//\1/
16501             q
16502           }
16503           s/.*/./; q'`
16504
16505 # Avoid depending upon Character Ranges.
16506 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16507 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16508 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16509 as_cr_digits='0123456789'
16510 as_cr_alnum=$as_cr_Letters$as_cr_digits
16511
16512 ECHO_C= ECHO_N= ECHO_T=
16513 case `echo -n x` in #(((((
16514 -n*)
16515   case `echo 'xy\c'` in
16516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16517   xy)  ECHO_C='\c';;
16518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16519        ECHO_T=' ';;
16520   esac;;
16521 *)
16522   ECHO_N='-n';;
16523 esac
16524
16525 rm -f conf$$ conf$$.exe conf$$.file
16526 if test -d conf$$.dir; then
16527   rm -f conf$$.dir/conf$$.file
16528 else
16529   rm -f conf$$.dir
16530   mkdir conf$$.dir 2>/dev/null
16531 fi
16532 if (echo >conf$$.file) 2>/dev/null; then
16533   if ln -s conf$$.file conf$$ 2>/dev/null; then
16534     as_ln_s='ln -s'
16535     # ... but there are two gotchas:
16536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16538     # In both cases, we have to default to `cp -p'.
16539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16540       as_ln_s='cp -p'
16541   elif ln conf$$.file conf$$ 2>/dev/null; then
16542     as_ln_s=ln
16543   else
16544     as_ln_s='cp -p'
16545   fi
16546 else
16547   as_ln_s='cp -p'
16548 fi
16549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16550 rmdir conf$$.dir 2>/dev/null
16551
16552
16553 # as_fn_mkdir_p
16554 # -------------
16555 # Create "$as_dir" as a directory, including parents if necessary.
16556 as_fn_mkdir_p ()
16557 {
16558
16559   case $as_dir in #(
16560   -*) as_dir=./$as_dir;;
16561   esac
16562   test -d "$as_dir" || eval $as_mkdir_p || {
16563     as_dirs=
16564     while :; do
16565       case $as_dir in #(
16566       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16567       *) as_qdir=$as_dir;;
16568       esac
16569       as_dirs="'$as_qdir' $as_dirs"
16570       as_dir=`$as_dirname -- "$as_dir" ||
16571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16572          X"$as_dir" : 'X\(//\)[^/]' \| \
16573          X"$as_dir" : 'X\(//\)$' \| \
16574          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16575 $as_echo X"$as_dir" |
16576     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16577             s//\1/
16578             q
16579           }
16580           /^X\(\/\/\)[^/].*/{
16581             s//\1/
16582             q
16583           }
16584           /^X\(\/\/\)$/{
16585             s//\1/
16586             q
16587           }
16588           /^X\(\/\).*/{
16589             s//\1/
16590             q
16591           }
16592           s/.*/./; q'`
16593       test -d "$as_dir" && break
16594     done
16595     test -z "$as_dirs" || eval "mkdir $as_dirs"
16596   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16597
16598
16599 } # as_fn_mkdir_p
16600 if mkdir -p . 2>/dev/null; then
16601   as_mkdir_p='mkdir -p "$as_dir"'
16602 else
16603   test -d ./-p && rmdir ./-p
16604   as_mkdir_p=false
16605 fi
16606
16607 if test -x / >/dev/null 2>&1; then
16608   as_test_x='test -x'
16609 else
16610   if ls -dL / >/dev/null 2>&1; then
16611     as_ls_L_option=L
16612   else
16613     as_ls_L_option=
16614   fi
16615   as_test_x='
16616     eval sh -c '\''
16617       if test -d "$1"; then
16618         test -d "$1/.";
16619       else
16620         case $1 in #(
16621         -*)set "./$1";;
16622         esac;
16623         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16624         ???[sx]*):;;*)false;;esac;fi
16625     '\'' sh
16626   '
16627 fi
16628 as_executable_p=$as_test_x
16629
16630 # Sed expression to map a string onto a valid CPP name.
16631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16632
16633 # Sed expression to map a string onto a valid variable name.
16634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16635
16636
16637 exec 6>&1
16638 ## --------------------------------- ##
16639 ## Main body of "$CONFIG_LT" script. ##
16640 ## --------------------------------- ##
16641 _ASEOF
16642 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
16643
16644 cat >>"$CONFIG_LT" <<\_LTEOF
16645 lt_cl_silent=false
16646 exec 5>>config.log
16647 {
16648   echo
16649   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16650 ## Running $as_me. ##
16651 _ASBOX
16652 } >&5
16653
16654 lt_cl_help="\
16655 \`$as_me' creates a local libtool stub from the current configuration,
16656 for use in further configure time tests before the real libtool is
16657 generated.
16658
16659 Usage: $0 [OPTIONS]
16660
16661   -h, --help      print this help, then exit
16662   -V, --version   print version number, then exit
16663   -q, --quiet     do not print progress messages
16664   -d, --debug     don't remove temporary files
16665
16666 Report bugs to <bug-libtool@gnu.org>."
16667
16668 lt_cl_version="\
16669 pango config.lt 1.30.0
16670 configured by $0, generated by GNU Autoconf 2.68.
16671
16672 Copyright (C) 2011 Free Software Foundation, Inc.
16673 This config.lt script is free software; the Free Software Foundation
16674 gives unlimited permision to copy, distribute and modify it."
16675
16676 while test $# != 0
16677 do
16678   case $1 in
16679     --version | --v* | -V )
16680       echo "$lt_cl_version"; exit 0 ;;
16681     --help | --h* | -h )
16682       echo "$lt_cl_help"; exit 0 ;;
16683     --debug | --d* | -d )
16684       debug=: ;;
16685     --quiet | --q* | --silent | --s* | -q )
16686       lt_cl_silent=: ;;
16687
16688     -*) as_fn_error $? "unrecognized option: $1
16689 Try \`$0 --help' for more information." "$LINENO" 5 ;;
16690
16691     *) as_fn_error $? "unrecognized argument: $1
16692 Try \`$0 --help' for more information." "$LINENO" 5 ;;
16693   esac
16694   shift
16695 done
16696
16697 if $lt_cl_silent; then
16698   exec 6>/dev/null
16699 fi
16700 _LTEOF
16701
16702 cat >>"$CONFIG_LT" <<_LTEOF
16703
16704
16705 # The HP-UX ksh and POSIX shell print the target directory to stdout
16706 # if CDPATH is set.
16707 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16708
16709 sed_quote_subst='$sed_quote_subst'
16710 double_quote_subst='$double_quote_subst'
16711 delay_variable_subst='$delay_variable_subst'
16712 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16713 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16714 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16715 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16716 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16717 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16718 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16719 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16720 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16721 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16722 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16723 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16724 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16725 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16726 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16727 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16728 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16729 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16730 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16731 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16732 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16733 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16734 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16735 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16736 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16737 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16738 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16739 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16740 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16741 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16742 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16743 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16744 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16745 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16746 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16747 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16748 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16749 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16750 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16751 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16752 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16753 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16754 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16755 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16756 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16757 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16758 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16759 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16760 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16761 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16762 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16763 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16764 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16765 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16766 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16767 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16768 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16769 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"`'
16770 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16771 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16772 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16773 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16774 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16775 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16776 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16777 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16778 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16779 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16780 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16781 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16782 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16783 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16784 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16785 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16786 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16787 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16788 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16789 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16790 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16791 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16792 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16793 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16794 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16795 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16796 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16797 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16798 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16799 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16800 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16801 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16802 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16803 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16804 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16805 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16806 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16807 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16808 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16809 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16810 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16811 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16812 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16813 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16814 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16815 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16816 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16817 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16818 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16819 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16820 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16821 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16822 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16823 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16824 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16825 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16826 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16827 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16828 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16829 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16830 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16831 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16832 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16833 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16834 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16835 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16836 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16837 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16838 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16839 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16840 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16841 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16842 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16843 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16844 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16845 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16846 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16847 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16848 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16849 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16850 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16851 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16852 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16853 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16854 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16855 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16856 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16857 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16858 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16859 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16860 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16861 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16862 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16863 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16864 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16865 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16866 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16867 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16868 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16869 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16870 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16871 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16872 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16873 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16874 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16875 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16876 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16877 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16878 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16879 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16880 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16881 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16882 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16883 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16884 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16885 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16886 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16887 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16888 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16889 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16890 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16891 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16892 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16893 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16894 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16895 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16896 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16897
16898 LTCC='$LTCC'
16899 LTCFLAGS='$LTCFLAGS'
16900 compiler='$compiler_DEFAULT'
16901
16902 # A function that is used when there is no print builtin or printf.
16903 func_fallback_echo ()
16904 {
16905   eval 'cat <<_LTECHO_EOF
16906 \$1
16907 _LTECHO_EOF'
16908 }
16909
16910 # Quote evaled strings.
16911 for var in AS \
16912 DLLTOOL \
16913 OBJDUMP \
16914 SHELL \
16915 ECHO \
16916 PATH_SEPARATOR \
16917 SED \
16918 GREP \
16919 EGREP \
16920 FGREP \
16921 LD \
16922 NM \
16923 LN_S \
16924 lt_SP2NL \
16925 lt_NL2SP \
16926 reload_flag \
16927 deplibs_check_method \
16928 file_magic_cmd \
16929 file_magic_glob \
16930 want_nocaseglob \
16931 sharedlib_from_linklib_cmd \
16932 AR \
16933 AR_FLAGS \
16934 archiver_list_spec \
16935 STRIP \
16936 RANLIB \
16937 CC \
16938 CFLAGS \
16939 compiler \
16940 lt_cv_sys_global_symbol_pipe \
16941 lt_cv_sys_global_symbol_to_cdecl \
16942 lt_cv_sys_global_symbol_to_c_name_address \
16943 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16944 nm_file_list_spec \
16945 lt_prog_compiler_no_builtin_flag \
16946 lt_prog_compiler_pic \
16947 lt_prog_compiler_wl \
16948 lt_prog_compiler_static \
16949 lt_cv_prog_compiler_c_o \
16950 need_locks \
16951 MANIFEST_TOOL \
16952 DSYMUTIL \
16953 NMEDIT \
16954 LIPO \
16955 OTOOL \
16956 OTOOL64 \
16957 shrext_cmds \
16958 export_dynamic_flag_spec \
16959 whole_archive_flag_spec \
16960 compiler_needs_object \
16961 with_gnu_ld \
16962 allow_undefined_flag \
16963 no_undefined_flag \
16964 hardcode_libdir_flag_spec \
16965 hardcode_libdir_separator \
16966 exclude_expsyms \
16967 include_expsyms \
16968 file_list_spec \
16969 variables_saved_for_relink \
16970 libname_spec \
16971 library_names_spec \
16972 soname_spec \
16973 install_override_mode \
16974 finish_eval \
16975 old_striplib \
16976 striplib \
16977 compiler_lib_search_dirs \
16978 predep_objects \
16979 postdep_objects \
16980 predeps \
16981 postdeps \
16982 compiler_lib_search_path \
16983 LD_CXX \
16984 reload_flag_CXX \
16985 compiler_CXX \
16986 lt_prog_compiler_no_builtin_flag_CXX \
16987 lt_prog_compiler_pic_CXX \
16988 lt_prog_compiler_wl_CXX \
16989 lt_prog_compiler_static_CXX \
16990 lt_cv_prog_compiler_c_o_CXX \
16991 export_dynamic_flag_spec_CXX \
16992 whole_archive_flag_spec_CXX \
16993 compiler_needs_object_CXX \
16994 with_gnu_ld_CXX \
16995 allow_undefined_flag_CXX \
16996 no_undefined_flag_CXX \
16997 hardcode_libdir_flag_spec_CXX \
16998 hardcode_libdir_separator_CXX \
16999 exclude_expsyms_CXX \
17000 include_expsyms_CXX \
17001 file_list_spec_CXX \
17002 compiler_lib_search_dirs_CXX \
17003 predep_objects_CXX \
17004 postdep_objects_CXX \
17005 predeps_CXX \
17006 postdeps_CXX \
17007 compiler_lib_search_path_CXX; do
17008     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17009     *[\\\\\\\`\\"\\\$]*)
17010       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17011       ;;
17012     *)
17013       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17014       ;;
17015     esac
17016 done
17017
17018 # Double-quote double-evaled strings.
17019 for var in reload_cmds \
17020 old_postinstall_cmds \
17021 old_postuninstall_cmds \
17022 old_archive_cmds \
17023 extract_expsyms_cmds \
17024 old_archive_from_new_cmds \
17025 old_archive_from_expsyms_cmds \
17026 archive_cmds \
17027 archive_expsym_cmds \
17028 module_cmds \
17029 module_expsym_cmds \
17030 export_symbols_cmds \
17031 prelink_cmds \
17032 postlink_cmds \
17033 postinstall_cmds \
17034 postuninstall_cmds \
17035 finish_cmds \
17036 sys_lib_search_path_spec \
17037 sys_lib_dlsearch_path_spec \
17038 reload_cmds_CXX \
17039 old_archive_cmds_CXX \
17040 old_archive_from_new_cmds_CXX \
17041 old_archive_from_expsyms_cmds_CXX \
17042 archive_cmds_CXX \
17043 archive_expsym_cmds_CXX \
17044 module_cmds_CXX \
17045 module_expsym_cmds_CXX \
17046 export_symbols_cmds_CXX \
17047 prelink_cmds_CXX \
17048 postlink_cmds_CXX; do
17049     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17050     *[\\\\\\\`\\"\\\$]*)
17051       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17052       ;;
17053     *)
17054       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17055       ;;
17056     esac
17057 done
17058
17059 ac_aux_dir='$ac_aux_dir'
17060 xsi_shell='$xsi_shell'
17061 lt_shell_append='$lt_shell_append'
17062
17063 # See if we are running on zsh, and set the options which allow our
17064 # commands through without removal of \ escapes INIT.
17065 if test -n "\${ZSH_VERSION+set}" ; then
17066    setopt NO_GLOB_SUBST
17067 fi
17068
17069
17070     PACKAGE='$PACKAGE'
17071     VERSION='$VERSION'
17072     TIMESTAMP='$TIMESTAMP'
17073     RM='$RM'
17074     ofile='$ofile'
17075
17076
17077
17078
17079
17080 _LTEOF
17081
17082 cat >>"$CONFIG_LT" <<\_LTEOF
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
17084 $as_echo "$as_me: creating $ofile" >&6;}
17085
17086
17087     # See if we are running on zsh, and set the options which allow our
17088     # commands through without removal of \ escapes.
17089     if test -n "${ZSH_VERSION+set}" ; then
17090       setopt NO_GLOB_SUBST
17091     fi
17092
17093     cfgfile="${ofile}T"
17094     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17095     $RM "$cfgfile"
17096
17097     cat <<_LT_EOF >> "$cfgfile"
17098 #! $SHELL
17099
17100 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17101 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17102 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17103 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17104 #
17105 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17106 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17107 #                 Foundation, Inc.
17108 #   Written by Gordon Matzigkeit, 1996
17109 #
17110 #   This file is part of GNU Libtool.
17111 #
17112 # GNU Libtool is free software; you can redistribute it and/or
17113 # modify it under the terms of the GNU General Public License as
17114 # published by the Free Software Foundation; either version 2 of
17115 # the License, or (at your option) any later version.
17116 #
17117 # As a special exception to the GNU General Public License,
17118 # if you distribute this file as part of a program or library that
17119 # is built using GNU Libtool, you may include this file under the
17120 # same distribution terms that you use for the rest of that program.
17121 #
17122 # GNU Libtool is distributed in the hope that it will be useful,
17123 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17124 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17125 # GNU General Public License for more details.
17126 #
17127 # You should have received a copy of the GNU General Public License
17128 # along with GNU Libtool; see the file COPYING.  If not, a copy
17129 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17130 # obtained by writing to the Free Software Foundation, Inc.,
17131 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17132
17133
17134 # The names of the tagged configurations supported by this script.
17135 available_tags="CXX "
17136
17137 # ### BEGIN LIBTOOL CONFIG
17138
17139 # Assembler program.
17140 AS=$lt_AS
17141
17142 # DLL creation program.
17143 DLLTOOL=$lt_DLLTOOL
17144
17145 # Object dumper program.
17146 OBJDUMP=$lt_OBJDUMP
17147
17148 # Whether or not to build static libraries.
17149 build_old_libs=$enable_static
17150
17151 # Which release of libtool.m4 was used?
17152 macro_version=$macro_version
17153 macro_revision=$macro_revision
17154
17155 # Whether or not to build shared libraries.
17156 build_libtool_libs=$enable_shared
17157
17158 # What type of objects to build.
17159 pic_mode=$pic_mode
17160
17161 # Whether or not to optimize for fast installation.
17162 fast_install=$enable_fast_install
17163
17164 # Shell to use when invoking shell scripts.
17165 SHELL=$lt_SHELL
17166
17167 # An echo program that protects backslashes.
17168 ECHO=$lt_ECHO
17169
17170 # The PATH separator for the build system.
17171 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17172
17173 # The host system.
17174 host_alias=$host_alias
17175 host=$host
17176 host_os=$host_os
17177
17178 # The build system.
17179 build_alias=$build_alias
17180 build=$build
17181 build_os=$build_os
17182
17183 # A sed program that does not truncate output.
17184 SED=$lt_SED
17185
17186 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17187 Xsed="\$SED -e 1s/^X//"
17188
17189 # A grep program that handles long lines.
17190 GREP=$lt_GREP
17191
17192 # An ERE matcher.
17193 EGREP=$lt_EGREP
17194
17195 # A literal string matcher.
17196 FGREP=$lt_FGREP
17197
17198 # A BSD- or MS-compatible name lister.
17199 NM=$lt_NM
17200
17201 # Whether we need soft or hard links.
17202 LN_S=$lt_LN_S
17203
17204 # What is the maximum length of a command?
17205 max_cmd_len=$max_cmd_len
17206
17207 # Object file suffix (normally "o").
17208 objext=$ac_objext
17209
17210 # Executable file suffix (normally "").
17211 exeext=$exeext
17212
17213 # whether the shell understands "unset".
17214 lt_unset=$lt_unset
17215
17216 # turn spaces into newlines.
17217 SP2NL=$lt_lt_SP2NL
17218
17219 # turn newlines into spaces.
17220 NL2SP=$lt_lt_NL2SP
17221
17222 # convert \$build file names to \$host format.
17223 to_host_file_cmd=$lt_cv_to_host_file_cmd
17224
17225 # convert \$build files to toolchain format.
17226 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17227
17228 # Method to check whether dependent libraries are shared objects.
17229 deplibs_check_method=$lt_deplibs_check_method
17230
17231 # Command to use when deplibs_check_method = "file_magic".
17232 file_magic_cmd=$lt_file_magic_cmd
17233
17234 # How to find potential files when deplibs_check_method = "file_magic".
17235 file_magic_glob=$lt_file_magic_glob
17236
17237 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17238 want_nocaseglob=$lt_want_nocaseglob
17239
17240 # Command to associate shared and link libraries.
17241 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17242
17243 # The archiver.
17244 AR=$lt_AR
17245
17246 # Flags to create an archive.
17247 AR_FLAGS=$lt_AR_FLAGS
17248
17249 # How to feed a file listing to the archiver.
17250 archiver_list_spec=$lt_archiver_list_spec
17251
17252 # A symbol stripping program.
17253 STRIP=$lt_STRIP
17254
17255 # Commands used to install an old-style archive.
17256 RANLIB=$lt_RANLIB
17257 old_postinstall_cmds=$lt_old_postinstall_cmds
17258 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17259
17260 # Whether to use a lock for old archive extraction.
17261 lock_old_archive_extraction=$lock_old_archive_extraction
17262
17263 # A C compiler.
17264 LTCC=$lt_CC
17265
17266 # LTCC compiler flags.
17267 LTCFLAGS=$lt_CFLAGS
17268
17269 # Take the output of nm and produce a listing of raw symbols and C names.
17270 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17271
17272 # Transform the output of nm in a proper C declaration.
17273 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17274
17275 # Transform the output of nm in a C name address pair.
17276 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17277
17278 # Transform the output of nm in a C name address pair when lib prefix is needed.
17279 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17280
17281 # Specify filename containing input files for \$NM.
17282 nm_file_list_spec=$lt_nm_file_list_spec
17283
17284 # The root where to search for dependent libraries,and in which our libraries should be installed.
17285 lt_sysroot=$lt_sysroot
17286
17287 # The name of the directory that contains temporary libtool files.
17288 objdir=$objdir
17289
17290 # Used to examine libraries when file_magic_cmd begins with "file".
17291 MAGIC_CMD=$MAGIC_CMD
17292
17293 # Must we lock files when doing compilation?
17294 need_locks=$lt_need_locks
17295
17296 # Manifest tool.
17297 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17298
17299 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17300 DSYMUTIL=$lt_DSYMUTIL
17301
17302 # Tool to change global to local symbols on Mac OS X.
17303 NMEDIT=$lt_NMEDIT
17304
17305 # Tool to manipulate fat objects and archives on Mac OS X.
17306 LIPO=$lt_LIPO
17307
17308 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17309 OTOOL=$lt_OTOOL
17310
17311 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17312 OTOOL64=$lt_OTOOL64
17313
17314 # Old archive suffix (normally "a").
17315 libext=$libext
17316
17317 # Shared library suffix (normally ".so").
17318 shrext_cmds=$lt_shrext_cmds
17319
17320 # The commands to extract the exported symbol list from a shared archive.
17321 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17322
17323 # Variables whose values should be saved in libtool wrapper scripts and
17324 # restored at link time.
17325 variables_saved_for_relink=$lt_variables_saved_for_relink
17326
17327 # Do we need the "lib" prefix for modules?
17328 need_lib_prefix=$need_lib_prefix
17329
17330 # Do we need a version for libraries?
17331 need_version=$need_version
17332
17333 # Library versioning type.
17334 version_type=$version_type
17335
17336 # Shared library runtime path variable.
17337 runpath_var=$runpath_var
17338
17339 # Shared library path variable.
17340 shlibpath_var=$shlibpath_var
17341
17342 # Is shlibpath searched before the hard-coded library search path?
17343 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17344
17345 # Format of library name prefix.
17346 libname_spec=$lt_libname_spec
17347
17348 # List of archive names.  First name is the real one, the rest are links.
17349 # The last name is the one that the linker finds with -lNAME
17350 library_names_spec=$lt_library_names_spec
17351
17352 # The coded name of the library, if different from the real name.
17353 soname_spec=$lt_soname_spec
17354
17355 # Permission mode override for installation of shared libraries.
17356 install_override_mode=$lt_install_override_mode
17357
17358 # Command to use after installation of a shared archive.
17359 postinstall_cmds=$lt_postinstall_cmds
17360
17361 # Command to use after uninstallation of a shared archive.
17362 postuninstall_cmds=$lt_postuninstall_cmds
17363
17364 # Commands used to finish a libtool library installation in a directory.
17365 finish_cmds=$lt_finish_cmds
17366
17367 # As "finish_cmds", except a single script fragment to be evaled but
17368 # not shown.
17369 finish_eval=$lt_finish_eval
17370
17371 # Whether we should hardcode library paths into libraries.
17372 hardcode_into_libs=$hardcode_into_libs
17373
17374 # Compile-time system search path for libraries.
17375 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17376
17377 # Run-time system search path for libraries.
17378 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17379
17380 # Whether dlopen is supported.
17381 dlopen_support=$enable_dlopen
17382
17383 # Whether dlopen of programs is supported.
17384 dlopen_self=$enable_dlopen_self
17385
17386 # Whether dlopen of statically linked programs is supported.
17387 dlopen_self_static=$enable_dlopen_self_static
17388
17389 # Commands to strip libraries.
17390 old_striplib=$lt_old_striplib
17391 striplib=$lt_striplib
17392
17393
17394 # The linker used to build libraries.
17395 LD=$lt_LD
17396
17397 # How to create reloadable object files.
17398 reload_flag=$lt_reload_flag
17399 reload_cmds=$lt_reload_cmds
17400
17401 # Commands used to build an old-style archive.
17402 old_archive_cmds=$lt_old_archive_cmds
17403
17404 # A language specific compiler.
17405 CC=$lt_compiler
17406
17407 # Is the compiler the GNU compiler?
17408 with_gcc=$GCC
17409
17410 # Compiler flag to turn off builtin functions.
17411 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17412
17413 # Additional compiler flags for building library objects.
17414 pic_flag=$lt_lt_prog_compiler_pic
17415
17416 # How to pass a linker flag through the compiler.
17417 wl=$lt_lt_prog_compiler_wl
17418
17419 # Compiler flag to prevent dynamic linking.
17420 link_static_flag=$lt_lt_prog_compiler_static
17421
17422 # Does compiler simultaneously support -c and -o options?
17423 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17424
17425 # Whether or not to add -lc for building shared libraries.
17426 build_libtool_need_lc=$archive_cmds_need_lc
17427
17428 # Whether or not to disallow shared libs when runtime libs are static.
17429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17430
17431 # Compiler flag to allow reflexive dlopens.
17432 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17433
17434 # Compiler flag to generate shared objects directly from archives.
17435 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17436
17437 # Whether the compiler copes with passing no objects directly.
17438 compiler_needs_object=$lt_compiler_needs_object
17439
17440 # Create an old-style archive from a shared archive.
17441 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17442
17443 # Create a temporary old-style archive to link instead of a shared archive.
17444 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17445
17446 # Commands used to build a shared archive.
17447 archive_cmds=$lt_archive_cmds
17448 archive_expsym_cmds=$lt_archive_expsym_cmds
17449
17450 # Commands used to build a loadable module if different from building
17451 # a shared archive.
17452 module_cmds=$lt_module_cmds
17453 module_expsym_cmds=$lt_module_expsym_cmds
17454
17455 # Whether we are building with GNU ld or not.
17456 with_gnu_ld=$lt_with_gnu_ld
17457
17458 # Flag that allows shared libraries with undefined symbols to be built.
17459 allow_undefined_flag=$lt_allow_undefined_flag
17460
17461 # Flag that enforces no undefined symbols.
17462 no_undefined_flag=$lt_no_undefined_flag
17463
17464 # Flag to hardcode \$libdir into a binary during linking.
17465 # This must work even if \$libdir does not exist
17466 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17467
17468 # Whether we need a single "-rpath" flag with a separated argument.
17469 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17470
17471 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17472 # DIR into the resulting binary.
17473 hardcode_direct=$hardcode_direct
17474
17475 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17476 # DIR into the resulting binary and the resulting library dependency is
17477 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17478 # library is relocated.
17479 hardcode_direct_absolute=$hardcode_direct_absolute
17480
17481 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17482 # into the resulting binary.
17483 hardcode_minus_L=$hardcode_minus_L
17484
17485 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17486 # into the resulting binary.
17487 hardcode_shlibpath_var=$hardcode_shlibpath_var
17488
17489 # Set to "yes" if building a shared library automatically hardcodes DIR
17490 # into the library and all subsequent libraries and executables linked
17491 # against it.
17492 hardcode_automatic=$hardcode_automatic
17493
17494 # Set to yes if linker adds runtime paths of dependent libraries
17495 # to runtime path list.
17496 inherit_rpath=$inherit_rpath
17497
17498 # Whether libtool must link a program against all its dependency libraries.
17499 link_all_deplibs=$link_all_deplibs
17500
17501 # Set to "yes" if exported symbols are required.
17502 always_export_symbols=$always_export_symbols
17503
17504 # The commands to list exported symbols.
17505 export_symbols_cmds=$lt_export_symbols_cmds
17506
17507 # Symbols that should not be listed in the preloaded symbols.
17508 exclude_expsyms=$lt_exclude_expsyms
17509
17510 # Symbols that must always be exported.
17511 include_expsyms=$lt_include_expsyms
17512
17513 # Commands necessary for linking programs (against libraries) with templates.
17514 prelink_cmds=$lt_prelink_cmds
17515
17516 # Commands necessary for finishing linking programs.
17517 postlink_cmds=$lt_postlink_cmds
17518
17519 # Specify filename containing input files.
17520 file_list_spec=$lt_file_list_spec
17521
17522 # How to hardcode a shared library path into an executable.
17523 hardcode_action=$hardcode_action
17524
17525 # The directories searched by this compiler when creating a shared library.
17526 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17527
17528 # Dependencies to place before and after the objects being linked to
17529 # create a shared library.
17530 predep_objects=$lt_predep_objects
17531 postdep_objects=$lt_postdep_objects
17532 predeps=$lt_predeps
17533 postdeps=$lt_postdeps
17534
17535 # The library search path used internally by the compiler when linking
17536 # a shared library.
17537 compiler_lib_search_path=$lt_compiler_lib_search_path
17538
17539 # ### END LIBTOOL CONFIG
17540
17541 _LT_EOF
17542
17543   case $host_os in
17544   aix3*)
17545     cat <<\_LT_EOF >> "$cfgfile"
17546 # AIX sometimes has problems with the GCC collect2 program.  For some
17547 # reason, if we set the COLLECT_NAMES environment variable, the problems
17548 # vanish in a puff of smoke.
17549 if test "X${COLLECT_NAMES+set}" != Xset; then
17550   COLLECT_NAMES=
17551   export COLLECT_NAMES
17552 fi
17553 _LT_EOF
17554     ;;
17555   esac
17556
17557
17558 ltmain="$ac_aux_dir/ltmain.sh"
17559
17560
17561   # We use sed instead of cat because bash on DJGPP gets confused if
17562   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17563   # text mode, it properly converts lines to CR/LF.  This bash problem
17564   # is reportedly fixed, but why not run on old versions too?
17565   sed '$q' "$ltmain" >> "$cfgfile" \
17566      || (rm -f "$cfgfile"; exit 1)
17567
17568   if test x"$xsi_shell" = xyes; then
17569   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17570 func_dirname ()\
17571 {\
17572 \    case ${1} in\
17573 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17574 \      *  ) func_dirname_result="${3}" ;;\
17575 \    esac\
17576 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17577   && mv -f "$cfgfile.tmp" "$cfgfile" \
17578     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17579 test 0 -eq $? || _lt_function_replace_fail=:
17580
17581
17582   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17583 func_basename ()\
17584 {\
17585 \    func_basename_result="${1##*/}"\
17586 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17587   && mv -f "$cfgfile.tmp" "$cfgfile" \
17588     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17589 test 0 -eq $? || _lt_function_replace_fail=:
17590
17591
17592   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17593 func_dirname_and_basename ()\
17594 {\
17595 \    case ${1} in\
17596 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17597 \      *  ) func_dirname_result="${3}" ;;\
17598 \    esac\
17599 \    func_basename_result="${1##*/}"\
17600 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17601   && mv -f "$cfgfile.tmp" "$cfgfile" \
17602     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17603 test 0 -eq $? || _lt_function_replace_fail=:
17604
17605
17606   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17607 func_stripname ()\
17608 {\
17609 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17610 \    # positional parameters, so assign one to ordinary parameter first.\
17611 \    func_stripname_result=${3}\
17612 \    func_stripname_result=${func_stripname_result#"${1}"}\
17613 \    func_stripname_result=${func_stripname_result%"${2}"}\
17614 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17615   && mv -f "$cfgfile.tmp" "$cfgfile" \
17616     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17617 test 0 -eq $? || _lt_function_replace_fail=:
17618
17619
17620   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17621 func_split_long_opt ()\
17622 {\
17623 \    func_split_long_opt_name=${1%%=*}\
17624 \    func_split_long_opt_arg=${1#*=}\
17625 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17626   && mv -f "$cfgfile.tmp" "$cfgfile" \
17627     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17628 test 0 -eq $? || _lt_function_replace_fail=:
17629
17630
17631   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17632 func_split_short_opt ()\
17633 {\
17634 \    func_split_short_opt_arg=${1#??}\
17635 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17636 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17637   && mv -f "$cfgfile.tmp" "$cfgfile" \
17638     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17639 test 0 -eq $? || _lt_function_replace_fail=:
17640
17641
17642   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17643 func_lo2o ()\
17644 {\
17645 \    case ${1} in\
17646 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17647 \      *)    func_lo2o_result=${1} ;;\
17648 \    esac\
17649 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17650   && mv -f "$cfgfile.tmp" "$cfgfile" \
17651     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17652 test 0 -eq $? || _lt_function_replace_fail=:
17653
17654
17655   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17656 func_xform ()\
17657 {\
17658     func_xform_result=${1%.*}.lo\
17659 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17660   && mv -f "$cfgfile.tmp" "$cfgfile" \
17661     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17662 test 0 -eq $? || _lt_function_replace_fail=:
17663
17664
17665   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17666 func_arith ()\
17667 {\
17668     func_arith_result=$(( $* ))\
17669 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17670   && mv -f "$cfgfile.tmp" "$cfgfile" \
17671     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17672 test 0 -eq $? || _lt_function_replace_fail=:
17673
17674
17675   sed -e '/^func_len ()$/,/^} # func_len /c\
17676 func_len ()\
17677 {\
17678     func_len_result=${#1}\
17679 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17680   && mv -f "$cfgfile.tmp" "$cfgfile" \
17681     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17682 test 0 -eq $? || _lt_function_replace_fail=:
17683
17684 fi
17685
17686 if test x"$lt_shell_append" = xyes; then
17687   sed -e '/^func_append ()$/,/^} # func_append /c\
17688 func_append ()\
17689 {\
17690     eval "${1}+=\\${2}"\
17691 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17692   && mv -f "$cfgfile.tmp" "$cfgfile" \
17693     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17694 test 0 -eq $? || _lt_function_replace_fail=:
17695
17696
17697   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17698 func_append_quoted ()\
17699 {\
17700 \    func_quote_for_eval "${2}"\
17701 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17702 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17703   && mv -f "$cfgfile.tmp" "$cfgfile" \
17704     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17705 test 0 -eq $? || _lt_function_replace_fail=:
17706
17707
17708   # Save a `func_append' function call where possible by direct use of '+='
17709   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17710     && mv -f "$cfgfile.tmp" "$cfgfile" \
17711       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17712   test 0 -eq $? || _lt_function_replace_fail=:
17713 else
17714   # Save a `func_append' function call even when '+=' is not available
17715   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17716     && mv -f "$cfgfile.tmp" "$cfgfile" \
17717       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17718   test 0 -eq $? || _lt_function_replace_fail=:
17719 fi
17720
17721 if test x"$_lt_function_replace_fail" = x":"; then
17722   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17723 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17724 fi
17725
17726
17727    mv -f "$cfgfile" "$ofile" ||
17728     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17729   chmod +x "$ofile"
17730
17731
17732     cat <<_LT_EOF >> "$ofile"
17733
17734 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17735
17736 # The linker used to build libraries.
17737 LD=$lt_LD_CXX
17738
17739 # How to create reloadable object files.
17740 reload_flag=$lt_reload_flag_CXX
17741 reload_cmds=$lt_reload_cmds_CXX
17742
17743 # Commands used to build an old-style archive.
17744 old_archive_cmds=$lt_old_archive_cmds_CXX
17745
17746 # A language specific compiler.
17747 CC=$lt_compiler_CXX
17748
17749 # Is the compiler the GNU compiler?
17750 with_gcc=$GCC_CXX
17751
17752 # Compiler flag to turn off builtin functions.
17753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17754
17755 # Additional compiler flags for building library objects.
17756 pic_flag=$lt_lt_prog_compiler_pic_CXX
17757
17758 # How to pass a linker flag through the compiler.
17759 wl=$lt_lt_prog_compiler_wl_CXX
17760
17761 # Compiler flag to prevent dynamic linking.
17762 link_static_flag=$lt_lt_prog_compiler_static_CXX
17763
17764 # Does compiler simultaneously support -c and -o options?
17765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17766
17767 # Whether or not to add -lc for building shared libraries.
17768 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17769
17770 # Whether or not to disallow shared libs when runtime libs are static.
17771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17772
17773 # Compiler flag to allow reflexive dlopens.
17774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17775
17776 # Compiler flag to generate shared objects directly from archives.
17777 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17778
17779 # Whether the compiler copes with passing no objects directly.
17780 compiler_needs_object=$lt_compiler_needs_object_CXX
17781
17782 # Create an old-style archive from a shared archive.
17783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17784
17785 # Create a temporary old-style archive to link instead of a shared archive.
17786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17787
17788 # Commands used to build a shared archive.
17789 archive_cmds=$lt_archive_cmds_CXX
17790 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17791
17792 # Commands used to build a loadable module if different from building
17793 # a shared archive.
17794 module_cmds=$lt_module_cmds_CXX
17795 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17796
17797 # Whether we are building with GNU ld or not.
17798 with_gnu_ld=$lt_with_gnu_ld_CXX
17799
17800 # Flag that allows shared libraries with undefined symbols to be built.
17801 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17802
17803 # Flag that enforces no undefined symbols.
17804 no_undefined_flag=$lt_no_undefined_flag_CXX
17805
17806 # Flag to hardcode \$libdir into a binary during linking.
17807 # This must work even if \$libdir does not exist
17808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17809
17810 # Whether we need a single "-rpath" flag with a separated argument.
17811 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17812
17813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17814 # DIR into the resulting binary.
17815 hardcode_direct=$hardcode_direct_CXX
17816
17817 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17818 # DIR into the resulting binary and the resulting library dependency is
17819 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17820 # library is relocated.
17821 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17822
17823 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17824 # into the resulting binary.
17825 hardcode_minus_L=$hardcode_minus_L_CXX
17826
17827 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17828 # into the resulting binary.
17829 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17830
17831 # Set to "yes" if building a shared library automatically hardcodes DIR
17832 # into the library and all subsequent libraries and executables linked
17833 # against it.
17834 hardcode_automatic=$hardcode_automatic_CXX
17835
17836 # Set to yes if linker adds runtime paths of dependent libraries
17837 # to runtime path list.
17838 inherit_rpath=$inherit_rpath_CXX
17839
17840 # Whether libtool must link a program against all its dependency libraries.
17841 link_all_deplibs=$link_all_deplibs_CXX
17842
17843 # Set to "yes" if exported symbols are required.
17844 always_export_symbols=$always_export_symbols_CXX
17845
17846 # The commands to list exported symbols.
17847 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17848
17849 # Symbols that should not be listed in the preloaded symbols.
17850 exclude_expsyms=$lt_exclude_expsyms_CXX
17851
17852 # Symbols that must always be exported.
17853 include_expsyms=$lt_include_expsyms_CXX
17854
17855 # Commands necessary for linking programs (against libraries) with templates.
17856 prelink_cmds=$lt_prelink_cmds_CXX
17857
17858 # Commands necessary for finishing linking programs.
17859 postlink_cmds=$lt_postlink_cmds_CXX
17860
17861 # Specify filename containing input files.
17862 file_list_spec=$lt_file_list_spec_CXX
17863
17864 # How to hardcode a shared library path into an executable.
17865 hardcode_action=$hardcode_action_CXX
17866
17867 # The directories searched by this compiler when creating a shared library.
17868 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17869
17870 # Dependencies to place before and after the objects being linked to
17871 # create a shared library.
17872 predep_objects=$lt_predep_objects_CXX
17873 postdep_objects=$lt_postdep_objects_CXX
17874 predeps=$lt_predeps_CXX
17875 postdeps=$lt_postdeps_CXX
17876
17877 # The library search path used internally by the compiler when linking
17878 # a shared library.
17879 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17880
17881 # ### END LIBTOOL TAG CONFIG: CXX
17882 _LT_EOF
17883
17884
17885 as_fn_exit 0
17886 _LTEOF
17887 chmod +x "$CONFIG_LT"
17888
17889 # configure is writing to config.log, but config.lt does its own redirection,
17890 # appending to config.log, which fails on DOS, as config.log is still kept
17891 # open by configure.  Here we exec the FD to /dev/null, effectively closing
17892 # config.log, so it can be properly (re)opened and appended to by config.lt.
17893 lt_cl_success=:
17894 test "$silent" = yes &&
17895   lt_config_lt_args="$lt_config_lt_args --quiet"
17896 exec 5>/dev/null
17897 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
17898 exec 5>>config.log
17899 $lt_cl_success || as_fn_exit 1
17900
17901
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
17903 $as_echo_n "checking for some Win32 platform... " >&6; }
17904 case "$host" in
17905   *-*-mingw*|*-*-cygwin*)
17906     pango_platform_win32=yes
17907     ;;
17908   *)
17909     pango_platform_win32=no
17910     ;;
17911 esac
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pango_platform_win32" >&5
17913 $as_echo "$pango_platform_win32" >&6; }
17914  if test "$pango_platform_win32" = "yes"; then
17915   PLATFORM_WIN32_TRUE=
17916   PLATFORM_WIN32_FALSE='#'
17917 else
17918   PLATFORM_WIN32_TRUE='#'
17919   PLATFORM_WIN32_FALSE=
17920 fi
17921
17922
17923 if test "$pango_platform_win32" = "yes"; then
17924   if test -n "$ac_tool_prefix"; then
17925   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17926 set dummy ${ac_tool_prefix}windres; ac_word=$2
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17928 $as_echo_n "checking for $ac_word... " >&6; }
17929 if ${ac_cv_prog_WINDRES+:} false; then :
17930   $as_echo_n "(cached) " >&6
17931 else
17932   if test -n "$WINDRES"; then
17933   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17934 else
17935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17936 for as_dir in $PATH
17937 do
17938   IFS=$as_save_IFS
17939   test -z "$as_dir" && as_dir=.
17940     for ac_exec_ext in '' $ac_executable_extensions; do
17941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17942     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17944     break 2
17945   fi
17946 done
17947   done
17948 IFS=$as_save_IFS
17949
17950 fi
17951 fi
17952 WINDRES=$ac_cv_prog_WINDRES
17953 if test -n "$WINDRES"; then
17954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
17955 $as_echo "$WINDRES" >&6; }
17956 else
17957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17958 $as_echo "no" >&6; }
17959 fi
17960
17961
17962 fi
17963 if test -z "$ac_cv_prog_WINDRES"; then
17964   ac_ct_WINDRES=$WINDRES
17965   # Extract the first word of "windres", so it can be a program name with args.
17966 set dummy windres; ac_word=$2
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17968 $as_echo_n "checking for $ac_word... " >&6; }
17969 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
17970   $as_echo_n "(cached) " >&6
17971 else
17972   if test -n "$ac_ct_WINDRES"; then
17973   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17974 else
17975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17976 for as_dir in $PATH
17977 do
17978   IFS=$as_save_IFS
17979   test -z "$as_dir" && as_dir=.
17980     for ac_exec_ext in '' $ac_executable_extensions; do
17981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17982     ac_cv_prog_ac_ct_WINDRES="windres"
17983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17984     break 2
17985   fi
17986 done
17987   done
17988 IFS=$as_save_IFS
17989
17990 fi
17991 fi
17992 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17993 if test -n "$ac_ct_WINDRES"; then
17994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
17995 $as_echo "$ac_ct_WINDRES" >&6; }
17996 else
17997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17998 $as_echo "no" >&6; }
17999 fi
18000
18001   if test "x$ac_ct_WINDRES" = x; then
18002     WINDRES="no"
18003   else
18004     case $cross_compiling:$ac_tool_warned in
18005 yes:)
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18008 ac_tool_warned=yes ;;
18009 esac
18010     WINDRES=$ac_ct_WINDRES
18011   fi
18012 else
18013   WINDRES="$ac_cv_prog_WINDRES"
18014 fi
18015
18016   if test "$WINDRES" = no; then
18017     as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
18018   fi
18019   # Extract the first word of "lib.exe", so it can be a program name with args.
18020 set dummy lib.exe; ac_word=$2
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18022 $as_echo_n "checking for $ac_word... " >&6; }
18023 if ${ac_cv_prog_ms_librarian+:} false; then :
18024   $as_echo_n "(cached) " >&6
18025 else
18026   if test -n "$ms_librarian"; then
18027   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
18028 else
18029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18030 for as_dir in $PATH
18031 do
18032   IFS=$as_save_IFS
18033   test -z "$as_dir" && as_dir=.
18034     for ac_exec_ext in '' $ac_executable_extensions; do
18035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18036     ac_cv_prog_ms_librarian="yes"
18037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18038     break 2
18039   fi
18040 done
18041   done
18042 IFS=$as_save_IFS
18043
18044   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
18045 fi
18046 fi
18047 ms_librarian=$ac_cv_prog_ms_librarian
18048 if test -n "$ms_librarian"; then
18049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
18050 $as_echo "$ms_librarian" >&6; }
18051 else
18052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18053 $as_echo "no" >&6; }
18054 fi
18055
18056
18057 fi
18058  if test x$ms_librarian = xyes; then
18059   MS_LIB_AVAILABLE_TRUE=
18060   MS_LIB_AVAILABLE_FALSE='#'
18061 else
18062   MS_LIB_AVAILABLE_TRUE='#'
18063   MS_LIB_AVAILABLE_FALSE=
18064 fi
18065
18066
18067 if test "x$GCC" = "xyes"; then
18068   case " $CFLAGS " in
18069   *[\ \ ]-Wall[\ \      ]*) ;;
18070   *) CFLAGS="$CFLAGS -Wall" ;;
18071   esac
18072 fi
18073
18074
18075
18076
18077 # Check whether --enable-debug was given.
18078 if test "${enable_debug+set}" = set; then :
18079   enableval=$enable_debug;
18080 else
18081   enable_debug=minimum
18082 fi
18083
18084
18085 if test "x$enable_debug" = "xyes"; then
18086   PANGO_DEBUG_FLAGS="-DPANGO_ENABLE_DEBUG"
18087 else
18088   PANGO_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
18089
18090   if test "x$enable_debug" = "xno"; then
18091     PANGO_DEBUG_FLAGS="$GLIB_DEBUG_FLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS $PANGO_DEBUG_FLAGS"
18092   fi
18093 fi
18094
18095
18096
18097 # Check whether --enable-rebuilds was given.
18098 if test "${enable_rebuilds+set}" = set; then :
18099   enableval=$enable_rebuilds;
18100 else
18101   enable_rebuilds=yes
18102 fi
18103
18104
18105  if test $cross_compiling = yes; then
18106   CROSS_COMPILING_TRUE=
18107   CROSS_COMPILING_FALSE='#'
18108 else
18109   CROSS_COMPILING_TRUE='#'
18110   CROSS_COMPILING_FALSE=
18111 fi
18112
18113
18114 have_x=false
18115 if test "x$pango_os_win32" != xyes; then
18116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
18117 $as_echo_n "checking for X... " >&6; }
18118
18119
18120 # Check whether --with-x was given.
18121 if test "${with_x+set}" = set; then :
18122   withval=$with_x;
18123 fi
18124
18125 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18126 if test "x$with_x" = xno; then
18127   # The user explicitly disabled X.
18128   have_x=disabled
18129 else
18130   case $x_includes,$x_libraries in #(
18131     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
18132     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
18133   $as_echo_n "(cached) " >&6
18134 else
18135   # One or both of the vars are not set, and there is no cached value.
18136 ac_x_includes=no ac_x_libraries=no
18137 rm -f -r conftest.dir
18138 if mkdir conftest.dir; then
18139   cd conftest.dir
18140   cat >Imakefile <<'_ACEOF'
18141 incroot:
18142         @echo incroot='${INCROOT}'
18143 usrlibdir:
18144         @echo usrlibdir='${USRLIBDIR}'
18145 libdir:
18146         @echo libdir='${LIBDIR}'
18147 _ACEOF
18148   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
18149     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
18150     for ac_var in incroot usrlibdir libdir; do
18151       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18152     done
18153     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18154     for ac_extension in a so sl dylib la dll; do
18155       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18156          test -f "$ac_im_libdir/libX11.$ac_extension"; then
18157         ac_im_usrlibdir=$ac_im_libdir; break
18158       fi
18159     done
18160     # Screen out bogus values from the imake configuration.  They are
18161     # bogus both because they are the default anyway, and because
18162     # using them would break gcc on systems where it needs fixed includes.
18163     case $ac_im_incroot in
18164         /usr/include) ac_x_includes= ;;
18165         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
18166     esac
18167     case $ac_im_usrlibdir in
18168         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
18169         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
18170     esac
18171   fi
18172   cd ..
18173   rm -f -r conftest.dir
18174 fi
18175
18176 # Standard set of common directories for X headers.
18177 # Check X11 before X11Rn because it is often a symlink to the current release.
18178 ac_x_header_dirs='
18179 /usr/X11/include
18180 /usr/X11R7/include
18181 /usr/X11R6/include
18182 /usr/X11R5/include
18183 /usr/X11R4/include
18184
18185 /usr/include/X11
18186 /usr/include/X11R7
18187 /usr/include/X11R6
18188 /usr/include/X11R5
18189 /usr/include/X11R4
18190
18191 /usr/local/X11/include
18192 /usr/local/X11R7/include
18193 /usr/local/X11R6/include
18194 /usr/local/X11R5/include
18195 /usr/local/X11R4/include
18196
18197 /usr/local/include/X11
18198 /usr/local/include/X11R7
18199 /usr/local/include/X11R6
18200 /usr/local/include/X11R5
18201 /usr/local/include/X11R4
18202
18203 /usr/X386/include
18204 /usr/x386/include
18205 /usr/XFree86/include/X11
18206
18207 /usr/include
18208 /usr/local/include
18209 /usr/unsupported/include
18210 /usr/athena/include
18211 /usr/local/x11r5/include
18212 /usr/lpp/Xamples/include
18213
18214 /usr/openwin/include
18215 /usr/openwin/share/include'
18216
18217 if test "$ac_x_includes" = no; then
18218   # Guess where to find include files, by looking for Xlib.h.
18219   # First, try using that file with no special directory specified.
18220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18221 /* end confdefs.h.  */
18222 #include <X11/Xlib.h>
18223 _ACEOF
18224 if ac_fn_c_try_cpp "$LINENO"; then :
18225   # We can compile using X headers with no special include directory.
18226 ac_x_includes=
18227 else
18228   for ac_dir in $ac_x_header_dirs; do
18229   if test -r "$ac_dir/X11/Xlib.h"; then
18230     ac_x_includes=$ac_dir
18231     break
18232   fi
18233 done
18234 fi
18235 rm -f conftest.err conftest.i conftest.$ac_ext
18236 fi # $ac_x_includes = no
18237
18238 if test "$ac_x_libraries" = no; then
18239   # Check for the libraries.
18240   # See if we find them without any special options.
18241   # Don't add to $LIBS permanently.
18242   ac_save_LIBS=$LIBS
18243   LIBS="-lX11 $LIBS"
18244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h.  */
18246 #include <X11/Xlib.h>
18247 int
18248 main ()
18249 {
18250 XrmInitialize ()
18251   ;
18252   return 0;
18253 }
18254 _ACEOF
18255 if ac_fn_c_try_link "$LINENO"; then :
18256   LIBS=$ac_save_LIBS
18257 # We can link X programs with no special library path.
18258 ac_x_libraries=
18259 else
18260   LIBS=$ac_save_LIBS
18261 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18262 do
18263   # Don't even attempt the hair of trying to link an X program!
18264   for ac_extension in a so sl dylib la dll; do
18265     if test -r "$ac_dir/libX11.$ac_extension"; then
18266       ac_x_libraries=$ac_dir
18267       break 2
18268     fi
18269   done
18270 done
18271 fi
18272 rm -f core conftest.err conftest.$ac_objext \
18273     conftest$ac_exeext conftest.$ac_ext
18274 fi # $ac_x_libraries = no
18275
18276 case $ac_x_includes,$ac_x_libraries in #(
18277   no,* | *,no | *\'*)
18278     # Didn't find X, or a directory has "'" in its name.
18279     ac_cv_have_x="have_x=no";; #(
18280   *)
18281     # Record where we found X for the cache.
18282     ac_cv_have_x="have_x=yes\
18283         ac_x_includes='$ac_x_includes'\
18284         ac_x_libraries='$ac_x_libraries'"
18285 esac
18286 fi
18287 ;; #(
18288     *) have_x=yes;;
18289   esac
18290   eval "$ac_cv_have_x"
18291 fi # $with_x != no
18292
18293 if test "$have_x" != yes; then
18294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
18295 $as_echo "$have_x" >&6; }
18296   no_x=yes
18297 else
18298   # If each of the values was on the command line, it overrides each guess.
18299   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
18300   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
18301   # Update the cache value to reflect the command line values.
18302   ac_cv_have_x="have_x=yes\
18303         ac_x_includes='$x_includes'\
18304         ac_x_libraries='$x_libraries'"
18305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
18306 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
18307 fi
18308
18309 if test "$no_x" = yes; then
18310   # Not all programs may use this symbol, but it does not hurt to define it.
18311
18312 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
18313
18314   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
18315 else
18316   if test -n "$x_includes"; then
18317     X_CFLAGS="$X_CFLAGS -I$x_includes"
18318   fi
18319
18320   # It would also be nice to do this for all -L options, not just this one.
18321   if test -n "$x_libraries"; then
18322     X_LIBS="$X_LIBS -L$x_libraries"
18323     # For Solaris; some versions of Sun CC require a space after -R and
18324     # others require no space.  Words are not sufficient . . . .
18325     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
18326 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
18327     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
18328     ac_xsave_c_werror_flag=$ac_c_werror_flag
18329     ac_c_werror_flag=yes
18330     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h.  */
18332
18333 int
18334 main ()
18335 {
18336
18337   ;
18338   return 0;
18339 }
18340 _ACEOF
18341 if ac_fn_c_try_link "$LINENO"; then :
18342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18343 $as_echo "no" >&6; }
18344        X_LIBS="$X_LIBS -R$x_libraries"
18345 else
18346   LIBS="$ac_xsave_LIBS -R $x_libraries"
18347        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h.  */
18349
18350 int
18351 main ()
18352 {
18353
18354   ;
18355   return 0;
18356 }
18357 _ACEOF
18358 if ac_fn_c_try_link "$LINENO"; then :
18359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18360 $as_echo "yes" >&6; }
18361           X_LIBS="$X_LIBS -R $x_libraries"
18362 else
18363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
18364 $as_echo "neither works" >&6; }
18365 fi
18366 rm -f core conftest.err conftest.$ac_objext \
18367     conftest$ac_exeext conftest.$ac_ext
18368 fi
18369 rm -f core conftest.err conftest.$ac_objext \
18370     conftest$ac_exeext conftest.$ac_ext
18371     ac_c_werror_flag=$ac_xsave_c_werror_flag
18372     LIBS=$ac_xsave_LIBS
18373   fi
18374
18375   # Check for system-dependent libraries X programs must link with.
18376   # Do this before checking for the system-independent R6 libraries
18377   # (-lICE), since we may need -lsocket or whatever for X linking.
18378
18379   if test "$ISC" = yes; then
18380     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
18381   else
18382     # Martyn Johnson says this is needed for Ultrix, if the X
18383     # libraries were built with DECnet support.  And Karl Berry says
18384     # the Alpha needs dnet_stub (dnet does not exist).
18385     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
18386     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18387 /* end confdefs.h.  */
18388
18389 /* Override any GCC internal prototype to avoid an error.
18390    Use char because int might match the return type of a GCC
18391    builtin and then its argument prototype would still apply.  */
18392 #ifdef __cplusplus
18393 extern "C"
18394 #endif
18395 char XOpenDisplay ();
18396 int
18397 main ()
18398 {
18399 return XOpenDisplay ();
18400   ;
18401   return 0;
18402 }
18403 _ACEOF
18404 if ac_fn_c_try_link "$LINENO"; then :
18405
18406 else
18407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
18408 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
18409 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
18410   $as_echo_n "(cached) " >&6
18411 else
18412   ac_check_lib_save_LIBS=$LIBS
18413 LIBS="-ldnet  $LIBS"
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h.  */
18416
18417 /* Override any GCC internal prototype to avoid an error.
18418    Use char because int might match the return type of a GCC
18419    builtin and then its argument prototype would still apply.  */
18420 #ifdef __cplusplus
18421 extern "C"
18422 #endif
18423 char dnet_ntoa ();
18424 int
18425 main ()
18426 {
18427 return dnet_ntoa ();
18428   ;
18429   return 0;
18430 }
18431 _ACEOF
18432 if ac_fn_c_try_link "$LINENO"; then :
18433   ac_cv_lib_dnet_dnet_ntoa=yes
18434 else
18435   ac_cv_lib_dnet_dnet_ntoa=no
18436 fi
18437 rm -f core conftest.err conftest.$ac_objext \
18438     conftest$ac_exeext conftest.$ac_ext
18439 LIBS=$ac_check_lib_save_LIBS
18440 fi
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
18442 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
18443 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
18444   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
18445 fi
18446
18447     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
18448       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
18449 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
18450 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
18451   $as_echo_n "(cached) " >&6
18452 else
18453   ac_check_lib_save_LIBS=$LIBS
18454 LIBS="-ldnet_stub  $LIBS"
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h.  */
18457
18458 /* Override any GCC internal prototype to avoid an error.
18459    Use char because int might match the return type of a GCC
18460    builtin and then its argument prototype would still apply.  */
18461 #ifdef __cplusplus
18462 extern "C"
18463 #endif
18464 char dnet_ntoa ();
18465 int
18466 main ()
18467 {
18468 return dnet_ntoa ();
18469   ;
18470   return 0;
18471 }
18472 _ACEOF
18473 if ac_fn_c_try_link "$LINENO"; then :
18474   ac_cv_lib_dnet_stub_dnet_ntoa=yes
18475 else
18476   ac_cv_lib_dnet_stub_dnet_ntoa=no
18477 fi
18478 rm -f core conftest.err conftest.$ac_objext \
18479     conftest$ac_exeext conftest.$ac_ext
18480 LIBS=$ac_check_lib_save_LIBS
18481 fi
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
18483 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
18484 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
18485   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
18486 fi
18487
18488     fi
18489 fi
18490 rm -f core conftest.err conftest.$ac_objext \
18491     conftest$ac_exeext conftest.$ac_ext
18492     LIBS="$ac_xsave_LIBS"
18493
18494     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
18495     # to get the SysV transport functions.
18496     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
18497     # needs -lnsl.
18498     # The nsl library prevents programs from opening the X display
18499     # on Irix 5.2, according to T.E. Dickey.
18500     # The functions gethostbyname, getservbyname, and inet_addr are
18501     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
18502     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
18503 if test "x$ac_cv_func_gethostbyname" = xyes; then :
18504
18505 fi
18506
18507     if test $ac_cv_func_gethostbyname = no; then
18508       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
18509 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
18510 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
18511   $as_echo_n "(cached) " >&6
18512 else
18513   ac_check_lib_save_LIBS=$LIBS
18514 LIBS="-lnsl  $LIBS"
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h.  */
18517
18518 /* Override any GCC internal prototype to avoid an error.
18519    Use char because int might match the return type of a GCC
18520    builtin and then its argument prototype would still apply.  */
18521 #ifdef __cplusplus
18522 extern "C"
18523 #endif
18524 char gethostbyname ();
18525 int
18526 main ()
18527 {
18528 return gethostbyname ();
18529   ;
18530   return 0;
18531 }
18532 _ACEOF
18533 if ac_fn_c_try_link "$LINENO"; then :
18534   ac_cv_lib_nsl_gethostbyname=yes
18535 else
18536   ac_cv_lib_nsl_gethostbyname=no
18537 fi
18538 rm -f core conftest.err conftest.$ac_objext \
18539     conftest$ac_exeext conftest.$ac_ext
18540 LIBS=$ac_check_lib_save_LIBS
18541 fi
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
18543 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
18544 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
18545   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
18546 fi
18547
18548       if test $ac_cv_lib_nsl_gethostbyname = no; then
18549         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
18550 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
18551 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
18552   $as_echo_n "(cached) " >&6
18553 else
18554   ac_check_lib_save_LIBS=$LIBS
18555 LIBS="-lbsd  $LIBS"
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h.  */
18558
18559 /* Override any GCC internal prototype to avoid an error.
18560    Use char because int might match the return type of a GCC
18561    builtin and then its argument prototype would still apply.  */
18562 #ifdef __cplusplus
18563 extern "C"
18564 #endif
18565 char gethostbyname ();
18566 int
18567 main ()
18568 {
18569 return gethostbyname ();
18570   ;
18571   return 0;
18572 }
18573 _ACEOF
18574 if ac_fn_c_try_link "$LINENO"; then :
18575   ac_cv_lib_bsd_gethostbyname=yes
18576 else
18577   ac_cv_lib_bsd_gethostbyname=no
18578 fi
18579 rm -f core conftest.err conftest.$ac_objext \
18580     conftest$ac_exeext conftest.$ac_ext
18581 LIBS=$ac_check_lib_save_LIBS
18582 fi
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
18584 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
18585 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
18586   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
18587 fi
18588
18589       fi
18590     fi
18591
18592     # lieder@skyler.mavd.honeywell.com says without -lsocket,
18593     # socket/setsockopt and other routines are undefined under SCO ODT
18594     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
18595     # on later versions), says Simon Leinen: it contains gethostby*
18596     # variants that don't use the name server (or something).  -lsocket
18597     # must be given before -lnsl if both are needed.  We assume that
18598     # if connect needs -lnsl, so does gethostbyname.
18599     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
18600 if test "x$ac_cv_func_connect" = xyes; then :
18601
18602 fi
18603
18604     if test $ac_cv_func_connect = no; then
18605       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
18606 $as_echo_n "checking for connect in -lsocket... " >&6; }
18607 if ${ac_cv_lib_socket_connect+:} false; then :
18608   $as_echo_n "(cached) " >&6
18609 else
18610   ac_check_lib_save_LIBS=$LIBS
18611 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h.  */
18614
18615 /* Override any GCC internal prototype to avoid an error.
18616    Use char because int might match the return type of a GCC
18617    builtin and then its argument prototype would still apply.  */
18618 #ifdef __cplusplus
18619 extern "C"
18620 #endif
18621 char connect ();
18622 int
18623 main ()
18624 {
18625 return connect ();
18626   ;
18627   return 0;
18628 }
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"; then :
18631   ac_cv_lib_socket_connect=yes
18632 else
18633   ac_cv_lib_socket_connect=no
18634 fi
18635 rm -f core conftest.err conftest.$ac_objext \
18636     conftest$ac_exeext conftest.$ac_ext
18637 LIBS=$ac_check_lib_save_LIBS
18638 fi
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
18640 $as_echo "$ac_cv_lib_socket_connect" >&6; }
18641 if test "x$ac_cv_lib_socket_connect" = xyes; then :
18642   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
18643 fi
18644
18645     fi
18646
18647     # Guillermo Gomez says -lposix is necessary on A/UX.
18648     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
18649 if test "x$ac_cv_func_remove" = xyes; then :
18650
18651 fi
18652
18653     if test $ac_cv_func_remove = no; then
18654       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
18655 $as_echo_n "checking for remove in -lposix... " >&6; }
18656 if ${ac_cv_lib_posix_remove+:} false; then :
18657   $as_echo_n "(cached) " >&6
18658 else
18659   ac_check_lib_save_LIBS=$LIBS
18660 LIBS="-lposix  $LIBS"
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h.  */
18663
18664 /* Override any GCC internal prototype to avoid an error.
18665    Use char because int might match the return type of a GCC
18666    builtin and then its argument prototype would still apply.  */
18667 #ifdef __cplusplus
18668 extern "C"
18669 #endif
18670 char remove ();
18671 int
18672 main ()
18673 {
18674 return remove ();
18675   ;
18676   return 0;
18677 }
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"; then :
18680   ac_cv_lib_posix_remove=yes
18681 else
18682   ac_cv_lib_posix_remove=no
18683 fi
18684 rm -f core conftest.err conftest.$ac_objext \
18685     conftest$ac_exeext conftest.$ac_ext
18686 LIBS=$ac_check_lib_save_LIBS
18687 fi
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
18689 $as_echo "$ac_cv_lib_posix_remove" >&6; }
18690 if test "x$ac_cv_lib_posix_remove" = xyes; then :
18691   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
18692 fi
18693
18694     fi
18695
18696     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
18697     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
18698 if test "x$ac_cv_func_shmat" = xyes; then :
18699
18700 fi
18701
18702     if test $ac_cv_func_shmat = no; then
18703       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
18704 $as_echo_n "checking for shmat in -lipc... " >&6; }
18705 if ${ac_cv_lib_ipc_shmat+:} false; then :
18706   $as_echo_n "(cached) " >&6
18707 else
18708   ac_check_lib_save_LIBS=$LIBS
18709 LIBS="-lipc  $LIBS"
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h.  */
18712
18713 /* Override any GCC internal prototype to avoid an error.
18714    Use char because int might match the return type of a GCC
18715    builtin and then its argument prototype would still apply.  */
18716 #ifdef __cplusplus
18717 extern "C"
18718 #endif
18719 char shmat ();
18720 int
18721 main ()
18722 {
18723 return shmat ();
18724   ;
18725   return 0;
18726 }
18727 _ACEOF
18728 if ac_fn_c_try_link "$LINENO"; then :
18729   ac_cv_lib_ipc_shmat=yes
18730 else
18731   ac_cv_lib_ipc_shmat=no
18732 fi
18733 rm -f core conftest.err conftest.$ac_objext \
18734     conftest$ac_exeext conftest.$ac_ext
18735 LIBS=$ac_check_lib_save_LIBS
18736 fi
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
18738 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
18739 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
18740   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
18741 fi
18742
18743     fi
18744   fi
18745
18746   # Check for libraries that X11R6 Xt/Xaw programs need.
18747   ac_save_LDFLAGS=$LDFLAGS
18748   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
18749   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
18750   # check for ICE first), but we must link in the order -lSM -lICE or
18751   # we get undefined symbols.  So assume we have SM if we have ICE.
18752   # These have to be linked with before -lX11, unlike the other
18753   # libraries we check for below, so use a different variable.
18754   # John Interrante, Karl Berry
18755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
18756 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
18757 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
18758   $as_echo_n "(cached) " >&6
18759 else
18760   ac_check_lib_save_LIBS=$LIBS
18761 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h.  */
18764
18765 /* Override any GCC internal prototype to avoid an error.
18766    Use char because int might match the return type of a GCC
18767    builtin and then its argument prototype would still apply.  */
18768 #ifdef __cplusplus
18769 extern "C"
18770 #endif
18771 char IceConnectionNumber ();
18772 int
18773 main ()
18774 {
18775 return IceConnectionNumber ();
18776   ;
18777   return 0;
18778 }
18779 _ACEOF
18780 if ac_fn_c_try_link "$LINENO"; then :
18781   ac_cv_lib_ICE_IceConnectionNumber=yes
18782 else
18783   ac_cv_lib_ICE_IceConnectionNumber=no
18784 fi
18785 rm -f core conftest.err conftest.$ac_objext \
18786     conftest$ac_exeext conftest.$ac_ext
18787 LIBS=$ac_check_lib_save_LIBS
18788 fi
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
18790 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
18791 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
18792   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
18793 fi
18794
18795   LDFLAGS=$ac_save_LDFLAGS
18796
18797 fi
18798
18799
18800   if test x$no_x = xyes ; then
18801     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X development libraries not found" >&5
18802 $as_echo "$as_me: WARNING: X development libraries not found" >&2;}
18803     have_x=false
18804   else
18805     X_LIBS="$X_LIBS -lX11"
18806     have_x=true
18807
18808 $as_echo "#define HAVE_X 1" >>confdefs.h
18809
18810   fi
18811 fi
18812  if $have_x; then
18813   HAVE_X_TRUE=
18814   HAVE_X_FALSE='#'
18815 else
18816   HAVE_X_TRUE='#'
18817   HAVE_X_FALSE=
18818 fi
18819
18820
18821 have_fontconfig=false
18822 have_freetype=false
18823 have_xft=false
18824
18825 #
18826 # Check for fontconfig
18827 #
18828
18829
18830
18831
18832
18833
18834 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18835         if test -n "$ac_tool_prefix"; then
18836   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18837 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18839 $as_echo_n "checking for $ac_word... " >&6; }
18840 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18841   $as_echo_n "(cached) " >&6
18842 else
18843   case $PKG_CONFIG in
18844   [\\/]* | ?:[\\/]*)
18845   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18846   ;;
18847   *)
18848   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18849 for as_dir in $PATH
18850 do
18851   IFS=$as_save_IFS
18852   test -z "$as_dir" && as_dir=.
18853     for ac_exec_ext in '' $ac_executable_extensions; do
18854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18855     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18857     break 2
18858   fi
18859 done
18860   done
18861 IFS=$as_save_IFS
18862
18863   ;;
18864 esac
18865 fi
18866 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18867 if test -n "$PKG_CONFIG"; then
18868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18869 $as_echo "$PKG_CONFIG" >&6; }
18870 else
18871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18872 $as_echo "no" >&6; }
18873 fi
18874
18875
18876 fi
18877 if test -z "$ac_cv_path_PKG_CONFIG"; then
18878   ac_pt_PKG_CONFIG=$PKG_CONFIG
18879   # Extract the first word of "pkg-config", so it can be a program name with args.
18880 set dummy pkg-config; ac_word=$2
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18882 $as_echo_n "checking for $ac_word... " >&6; }
18883 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18884   $as_echo_n "(cached) " >&6
18885 else
18886   case $ac_pt_PKG_CONFIG in
18887   [\\/]* | ?:[\\/]*)
18888   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18889   ;;
18890   *)
18891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18892 for as_dir in $PATH
18893 do
18894   IFS=$as_save_IFS
18895   test -z "$as_dir" && as_dir=.
18896     for ac_exec_ext in '' $ac_executable_extensions; do
18897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18898     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18900     break 2
18901   fi
18902 done
18903   done
18904 IFS=$as_save_IFS
18905
18906   ;;
18907 esac
18908 fi
18909 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18910 if test -n "$ac_pt_PKG_CONFIG"; then
18911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18912 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18913 else
18914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18915 $as_echo "no" >&6; }
18916 fi
18917
18918   if test "x$ac_pt_PKG_CONFIG" = x; then
18919     PKG_CONFIG=""
18920   else
18921     case $cross_compiling:$ac_tool_warned in
18922 yes:)
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18925 ac_tool_warned=yes ;;
18926 esac
18927     PKG_CONFIG=$ac_pt_PKG_CONFIG
18928   fi
18929 else
18930   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18931 fi
18932
18933 fi
18934 if test -n "$PKG_CONFIG"; then
18935         _pkg_min_version=0.9.0
18936         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18937 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18938         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18939                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18940 $as_echo "yes" >&6; }
18941         else
18942                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18943 $as_echo "no" >&6; }
18944                 PKG_CONFIG=""
18945         fi
18946 fi
18947
18948 pkg_failed=no
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18950 $as_echo_n "checking for FONTCONFIG... " >&6; }
18951
18952 if test -n "$FONTCONFIG_CFLAGS"; then
18953     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18954  elif test -n "$PKG_CONFIG"; then
18955     if test -n "$PKG_CONFIG" && \
18956     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18957   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18958   ac_status=$?
18959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18960   test $ac_status = 0; }; then
18961   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
18962 else
18963   pkg_failed=yes
18964 fi
18965  else
18966     pkg_failed=untried
18967 fi
18968 if test -n "$FONTCONFIG_LIBS"; then
18969     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18970  elif test -n "$PKG_CONFIG"; then
18971     if test -n "$PKG_CONFIG" && \
18972     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18973   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18974   ac_status=$?
18975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18976   test $ac_status = 0; }; then
18977   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
18978 else
18979   pkg_failed=yes
18980 fi
18981  else
18982     pkg_failed=untried
18983 fi
18984
18985
18986
18987 if test $pkg_failed = yes; then
18988         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18989 $as_echo "no" >&6; }
18990
18991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18992         _pkg_short_errors_supported=yes
18993 else
18994         _pkg_short_errors_supported=no
18995 fi
18996         if test $_pkg_short_errors_supported = yes; then
18997                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1`
18998         else
18999                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1`
19000         fi
19001         # Put the nasty error message in config.log where it belongs
19002         echo "$FONTCONFIG_PKG_ERRORS" >&5
19003
19004         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19005 $as_echo "no" >&6; }
19006 elif test $pkg_failed = untried; then
19007         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19008 $as_echo "no" >&6; }
19009         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19010 $as_echo "no" >&6; }
19011 else
19012         FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
19013         FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
19014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19015 $as_echo "yes" >&6; }
19016         have_fontconfig=true
19017 fi
19018
19019 #
19020 # Checks for FreeType
19021 #
19022 if $have_fontconfig ; then
19023   # The first version of freetype with a .pc file is 2.1.5.  That's recent
19024   # enough for all the functions we use I guess.  No version check needed.
19025
19026 pkg_failed=no
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
19028 $as_echo_n "checking for FREETYPE... " >&6; }
19029
19030 if test -n "$FREETYPE_CFLAGS"; then
19031     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
19032  elif test -n "$PKG_CONFIG"; then
19033     if test -n "$PKG_CONFIG" && \
19034     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
19035   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19036   ac_status=$?
19037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19038   test $ac_status = 0; }; then
19039   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
19040 else
19041   pkg_failed=yes
19042 fi
19043  else
19044     pkg_failed=untried
19045 fi
19046 if test -n "$FREETYPE_LIBS"; then
19047     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
19048  elif test -n "$PKG_CONFIG"; then
19049     if test -n "$PKG_CONFIG" && \
19050     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
19051   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
19052   ac_status=$?
19053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19054   test $ac_status = 0; }; then
19055   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
19056 else
19057   pkg_failed=yes
19058 fi
19059  else
19060     pkg_failed=untried
19061 fi
19062
19063
19064
19065 if test $pkg_failed = yes; then
19066         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19067 $as_echo "no" >&6; }
19068
19069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19070         _pkg_short_errors_supported=yes
19071 else
19072         _pkg_short_errors_supported=no
19073 fi
19074         if test $_pkg_short_errors_supported = yes; then
19075                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
19076         else
19077                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
19078         fi
19079         # Put the nasty error message in config.log where it belongs
19080         echo "$FREETYPE_PKG_ERRORS" >&5
19081
19082         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19083 $as_echo "no" >&6; }
19084 elif test $pkg_failed = untried; then
19085         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19086 $as_echo "no" >&6; }
19087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19088 $as_echo "no" >&6; }
19089 else
19090         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
19091         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
19092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19093 $as_echo "yes" >&6; }
19094         have_freetype=true
19095 fi
19096 fi
19097 if $have_freetype ; then
19098
19099 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
19100
19101   # By freetype, we really always mean freetype+fontconfig
19102   FREETYPE_CFLAGS="$FREETYPE_CFLAGS $FONTCONFIG_CFLAGS"
19103   FREETYPE_LIBS="$FREETYPE_LIBS $FONTCONFIG_LIBS"
19104 fi
19105  if $have_freetype; then
19106   HAVE_FREETYPE_TRUE=
19107   HAVE_FREETYPE_FALSE='#'
19108 else
19109   HAVE_FREETYPE_TRUE='#'
19110   HAVE_FREETYPE_FALSE=
19111 fi
19112
19113
19114 #
19115 # Checks for Xft/XRender
19116 #
19117 if $have_x && $have_freetype ; then
19118
19119 pkg_failed=no
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
19121 $as_echo_n "checking for XFT... " >&6; }
19122
19123 if test -n "$XFT_CFLAGS"; then
19124     pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
19125  elif test -n "$PKG_CONFIG"; then
19126     if test -n "$PKG_CONFIG" && \
19127     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\""; } >&5
19128   ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19129   ac_status=$?
19130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19131   test $ac_status = 0; }; then
19132   pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 2.0.0 xrender" 2>/dev/null`
19133 else
19134   pkg_failed=yes
19135 fi
19136  else
19137     pkg_failed=untried
19138 fi
19139 if test -n "$XFT_LIBS"; then
19140     pkg_cv_XFT_LIBS="$XFT_LIBS"
19141  elif test -n "$PKG_CONFIG"; then
19142     if test -n "$PKG_CONFIG" && \
19143     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\""; } >&5
19144   ($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5
19145   ac_status=$?
19146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19147   test $ac_status = 0; }; then
19148   pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft >= 2.0.0 xrender" 2>/dev/null`
19149 else
19150   pkg_failed=yes
19151 fi
19152  else
19153     pkg_failed=untried
19154 fi
19155
19156
19157
19158 if test $pkg_failed = yes; then
19159         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19160 $as_echo "no" >&6; }
19161
19162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19163         _pkg_short_errors_supported=yes
19164 else
19165         _pkg_short_errors_supported=no
19166 fi
19167         if test $_pkg_short_errors_supported = yes; then
19168                 XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xft >= 2.0.0 xrender" 2>&1`
19169         else
19170                 XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xft >= 2.0.0 xrender" 2>&1`
19171         fi
19172         # Put the nasty error message in config.log where it belongs
19173         echo "$XFT_PKG_ERRORS" >&5
19174
19175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19176 $as_echo "no" >&6; }
19177 elif test $pkg_failed = untried; then
19178         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19179 $as_echo "no" >&6; }
19180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19181 $as_echo "no" >&6; }
19182 else
19183         XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
19184         XFT_LIBS=$pkg_cv_XFT_LIBS
19185         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19186 $as_echo "yes" >&6; }
19187         have_xft=true
19188 fi
19189 fi
19190 if $have_xft ; then
19191
19192 $as_echo "#define HAVE_XFT 1" >>confdefs.h
19193
19194 fi
19195  if $have_xft; then
19196   HAVE_XFT_TRUE=
19197   HAVE_XFT_FALSE='#'
19198 else
19199   HAVE_XFT_TRUE='#'
19200   HAVE_XFT_FALSE=
19201 fi
19202
19203
19204 #
19205 # Checks for Win32 GDI
19206 #
19207 have_win32=false
19208 WIN32_LIBS=""
19209 WIN32_CFLAGS=""
19210 # The following doesn't work with autoconf-2.13, so we check $host instead
19211 # AC_CHECK_LIB(gdi32, GetTextMetricsA@8, have_win32=true, : )
19212 case "$host" in
19213   *-*-mingw*|*-*-cygwin*) have_win32=true ;;
19214 esac
19215
19216
19217 if test $have_win32 = true; then
19218   WIN32_LIBS="-lgdi32"
19219 fi
19220
19221
19222  if $have_win32; then
19223   HAVE_WIN32_TRUE=
19224   HAVE_WIN32_FALSE='#'
19225 else
19226   HAVE_WIN32_TRUE='#'
19227   HAVE_WIN32_FALSE=
19228 fi
19229
19230
19231 # Ensure MSVC-compatible struct packing convention is used when
19232 # compiling for Win32 with gcc.
19233 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19234 # gcc2 uses "-fnative-struct".
19235 if test "$pango_os_win32" = "yes"; then
19236   if test x"$GCC" = xyes; then
19237     msnative_struct=''
19238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
19239 $as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
19240     if test -z "$ac_cv_prog_CC"; then
19241       our_gcc="$CC"
19242     else
19243       our_gcc="$ac_cv_prog_CC"
19244     fi
19245     case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19246       2.)
19247         if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19248           msnative_struct='-fnative-struct'
19249         fi
19250         ;;
19251       *)
19252         if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19253           msnative_struct='-mms-bitfields'
19254         fi
19255         ;;
19256     esac
19257     if test x"$msnative_struct" = x ; then
19258       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
19259 $as_echo "no way" >&6; }
19260       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19261 $as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19262     else
19263       CFLAGS="$CFLAGS $msnative_struct"
19264       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
19265 $as_echo "${msnative_struct}" >&6; }
19266     fi
19267   fi
19268 fi
19269
19270 #
19271 # Checks for ATSUI
19272 #
19273 ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
19274 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes; then :
19275   have_atsui=true
19276 else
19277   have_atsui=false
19278 fi
19279
19280
19281
19282 #
19283 # Checks for CoreText
19284 #
19285
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreText availability" >&5
19287 $as_echo_n "checking for CoreText availability... " >&6; }
19288 pango_save_libs=$LIBS
19289 LIBS="$LIBS -framework ApplicationServices"
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h.  */
19292 #include <Carbon/Carbon.h>
19293 int
19294 main ()
19295 {
19296 CTGetCoreTextVersion ();
19297   ;
19298   return 0;
19299 }
19300 _ACEOF
19301 if ac_fn_c_try_link "$LINENO"; then :
19302   have_core_text=yes
19303 else
19304   have_core_text=no
19305 fi
19306 rm -f core conftest.err conftest.$ac_objext \
19307     conftest$ac_exeext conftest.$ac_ext
19308 LIBS=$pango_save_libs
19309
19310 if test "$have_core_text" = "yes"; then
19311
19312 $as_echo "#define HAVE_CORE_TEXT 1" >>confdefs.h
19313
19314 fi
19315
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_core_text" >&5
19317 $as_echo "$have_core_text" >&6; }
19318
19319  if test "$have_core_text" = "yes"; then
19320   HAVE_CORE_TEXT_TRUE=
19321   HAVE_CORE_TEXT_FALSE='#'
19322 else
19323   HAVE_CORE_TEXT_TRUE='#'
19324   HAVE_CORE_TEXT_FALSE=
19325 fi
19326
19327
19328 #
19329 # Checks for Cairo
19330 #
19331 have_cairo=false
19332 have_cairo_png=false
19333 have_cairo_ps=false
19334 have_cairo_pdf=false
19335 have_cairo_xlib=false
19336 have_cairo_freetype=false
19337 have_cairo_win32=false
19338 have_cairo_atsui=false
19339 cairo_required=1.7.6
19340
19341
19342 pkg_failed=no
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
19344 $as_echo_n "checking for CAIRO... " >&6; }
19345
19346 if test -n "$CAIRO_CFLAGS"; then
19347     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
19348  elif test -n "$PKG_CONFIG"; then
19349     if test -n "$PKG_CONFIG" && \
19350     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\""; } >&5
19351   ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
19352   ac_status=$?
19353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19354   test $ac_status = 0; }; then
19355   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $cairo_required" 2>/dev/null`
19356 else
19357   pkg_failed=yes
19358 fi
19359  else
19360     pkg_failed=untried
19361 fi
19362 if test -n "$CAIRO_LIBS"; then
19363     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
19364  elif test -n "$PKG_CONFIG"; then
19365     if test -n "$PKG_CONFIG" && \
19366     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\""; } >&5
19367   ($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5
19368   ac_status=$?
19369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19370   test $ac_status = 0; }; then
19371   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $cairo_required" 2>/dev/null`
19372 else
19373   pkg_failed=yes
19374 fi
19375  else
19376     pkg_failed=untried
19377 fi
19378
19379
19380
19381 if test $pkg_failed = yes; then
19382         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19383 $as_echo "no" >&6; }
19384
19385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19386         _pkg_short_errors_supported=yes
19387 else
19388         _pkg_short_errors_supported=no
19389 fi
19390         if test $_pkg_short_errors_supported = yes; then
19391                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo >= $cairo_required" 2>&1`
19392         else
19393                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo >= $cairo_required" 2>&1`
19394         fi
19395         # Put the nasty error message in config.log where it belongs
19396         echo "$CAIRO_PKG_ERRORS" >&5
19397
19398         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19399 $as_echo "no" >&6; }
19400 elif test $pkg_failed = untried; then
19401         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19402 $as_echo "no" >&6; }
19403         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19404 $as_echo "no" >&6; }
19405 else
19406         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
19407         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
19408         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19409 $as_echo "yes" >&6; }
19410         have_cairo=true
19411 fi
19412
19413 if $have_cairo ; then
19414   pango_save_libs=$LIBS
19415   LIBS="$LIBS $CAIRO_LIBS"
19416   pango_save_ldflags=$LDFLAGS
19417   LDFLAGS="$LDFLAGS $CAIRO_LIBS"
19418
19419   have_cairo=false
19420   cairo_font_backends=""
19421
19422   if $have_freetype; then
19423     if test -n "$PKG_CONFIG" && \
19424     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft >= \$cairo_required\""; } >&5
19425   ($PKG_CONFIG --exists --print-errors "cairo-ft >= $cairo_required") 2>&5
19426   ac_status=$?
19427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19428   test $ac_status = 0; }; then
19429   have_cairo_freetype=true
19430 else
19431   :
19432 fi
19433   fi
19434   if $have_cairo_freetype; then
19435
19436 $as_echo "#define HAVE_CAIRO_FREETYPE 1" >>confdefs.h
19437
19438     cairo_font_backends="freetype $cairo_font_backends"
19439     have_cairo=true
19440   fi
19441
19442   if $have_win32; then
19443     if test -n "$PKG_CONFIG" && \
19444     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-win32 >= \$cairo_required\""; } >&5
19445   ($PKG_CONFIG --exists --print-errors "cairo-win32 >= $cairo_required") 2>&5
19446   ac_status=$?
19447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19448   test $ac_status = 0; }; then
19449   have_cairo_win32=true
19450 else
19451   :
19452 fi
19453   fi
19454   if $have_cairo_win32; then
19455
19456 $as_echo "#define HAVE_CAIRO_WIN32 1" >>confdefs.h
19457
19458     cairo_font_backends="win32 $cairo_font_backends"
19459     have_cairo=true
19460   fi
19461
19462   if test $have_atsui -o $have_core_text; then
19463     if test -n "$PKG_CONFIG" && \
19464     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-quartz-font >= \$cairo_required\""; } >&5
19465   ($PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required") 2>&5
19466   ac_status=$?
19467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19468   test $ac_status = 0; }; then
19469   have_cairo_atsui=true
19470 else
19471   :
19472 fi
19473   fi
19474   if $have_cairo_atsui; then
19475
19476 $as_echo "#define HAVE_CAIRO_ATSUI 1" >>confdefs.h
19477
19478     cairo_font_backends="quartz $cairo_font_backends"
19479     have_cairo=true
19480   fi
19481
19482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which cairo font backends could be used" >&5
19483 $as_echo_n "checking which cairo font backends could be used... " >&6; }
19484   if $have_cairo ; then
19485     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cairo_font_backends" >&5
19486 $as_echo "$cairo_font_backends" >&6; }
19487   else
19488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
19489 $as_echo "none" >&6; }
19490     { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling cairo support" >&5
19491 $as_echo "$as_me: Disabling cairo support" >&6;}
19492   fi
19493
19494   if $have_cairo ; then
19495
19496 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
19497
19498
19499     if test -n "$PKG_CONFIG" && \
19500     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-png >= \$cairo_required\""; } >&5
19501   ($PKG_CONFIG --exists --print-errors "cairo-png >= $cairo_required") 2>&5
19502   ac_status=$?
19503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19504   test $ac_status = 0; }; then
19505   have_cairo_png=true
19506 else
19507   :
19508 fi
19509     if $have_cairo_png; then
19510
19511 $as_echo "#define HAVE_CAIRO_PNG 1" >>confdefs.h
19512
19513     fi
19514
19515     if test -n "$PKG_CONFIG" && \
19516     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ps >= \$cairo_required\""; } >&5
19517   ($PKG_CONFIG --exists --print-errors "cairo-ps >= $cairo_required") 2>&5
19518   ac_status=$?
19519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19520   test $ac_status = 0; }; then
19521   have_cairo_ps=true
19522 else
19523   :
19524 fi
19525     if $have_cairo_ps; then
19526
19527 $as_echo "#define HAVE_CAIRO_PS 1" >>confdefs.h
19528
19529     fi
19530
19531     if test -n "$PKG_CONFIG" && \
19532     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf >= \$cairo_required\""; } >&5
19533   ($PKG_CONFIG --exists --print-errors "cairo-pdf >= $cairo_required") 2>&5
19534   ac_status=$?
19535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19536   test $ac_status = 0; }; then
19537   have_cairo_pdf=true
19538 else
19539   :
19540 fi
19541     if $have_cairo_pdf; then
19542
19543 $as_echo "#define HAVE_CAIRO_PDF 1" >>confdefs.h
19544
19545     fi
19546
19547     if test -n "$PKG_CONFIG" && \
19548     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-xlib >= \$cairo_required\""; } >&5
19549   ($PKG_CONFIG --exists --print-errors "cairo-xlib >= $cairo_required") 2>&5
19550   ac_status=$?
19551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19552   test $ac_status = 0; }; then
19553   have_cairo_xlib=true
19554 else
19555   :
19556 fi
19557     if $have_cairo_xlib; then
19558
19559 $as_echo "#define HAVE_CAIRO_XLIB 1" >>confdefs.h
19560
19561     fi
19562   fi
19563
19564   LIBS=$pango_save_libs
19565   LDFLAGS=$pango_save_ldflags
19566 fi
19567
19568  if $have_cairo; then
19569   HAVE_CAIRO_TRUE=
19570   HAVE_CAIRO_FALSE='#'
19571 else
19572   HAVE_CAIRO_TRUE='#'
19573   HAVE_CAIRO_FALSE=
19574 fi
19575
19576  if $have_cairo_png; then
19577   HAVE_CAIRO_PNG_TRUE=
19578   HAVE_CAIRO_PNG_FALSE='#'
19579 else
19580   HAVE_CAIRO_PNG_TRUE='#'
19581   HAVE_CAIRO_PNG_FALSE=
19582 fi
19583
19584  if $have_cairo_ps; then
19585   HAVE_CAIRO_PS_TRUE=
19586   HAVE_CAIRO_PS_FALSE='#'
19587 else
19588   HAVE_CAIRO_PS_TRUE='#'
19589   HAVE_CAIRO_PS_FALSE=
19590 fi
19591
19592  if $have_cairo_pdf; then
19593   HAVE_CAIRO_PDF_TRUE=
19594   HAVE_CAIRO_PDF_FALSE='#'
19595 else
19596   HAVE_CAIRO_PDF_TRUE='#'
19597   HAVE_CAIRO_PDF_FALSE=
19598 fi
19599
19600  if $have_cairo_xlib; then
19601   HAVE_CAIRO_XLIB_TRUE=
19602   HAVE_CAIRO_XLIB_FALSE='#'
19603 else
19604   HAVE_CAIRO_XLIB_TRUE='#'
19605   HAVE_CAIRO_XLIB_FALSE=
19606 fi
19607
19608  if $have_cairo_win32; then
19609   HAVE_CAIRO_WIN32_TRUE=
19610   HAVE_CAIRO_WIN32_FALSE='#'
19611 else
19612   HAVE_CAIRO_WIN32_TRUE='#'
19613   HAVE_CAIRO_WIN32_FALSE=
19614 fi
19615
19616  if $have_cairo_freetype; then
19617   HAVE_CAIRO_FREETYPE_TRUE=
19618   HAVE_CAIRO_FREETYPE_FALSE='#'
19619 else
19620   HAVE_CAIRO_FREETYPE_TRUE='#'
19621   HAVE_CAIRO_FREETYPE_FALSE=
19622 fi
19623
19624  if $have_cairo_atsui; then
19625   HAVE_CAIRO_ATSUI_TRUE=
19626   HAVE_CAIRO_ATSUI_FALSE='#'
19627 else
19628   HAVE_CAIRO_ATSUI_TRUE='#'
19629   HAVE_CAIRO_ATSUI_FALSE=
19630 fi
19631
19632
19633 #
19634 # We must have some backend defined, in order for the pango-querymodules
19635 # rule in pango/Makefile.am to work correctly. If you are up to writing
19636 # a new Pango backend outside of Pango, you are up to sending the necessary
19637 # patch to fix that rule. :-)
19638 #
19639 if $have_freetype || $have_x || $have_xft || $have_cairo || $have_win32 ; then : ; else
19640   as_fn_error $? "*** Could not enable any of FreeType, X11, Cairo, or Win32 backends.
19641 *** Must have at least one backend to build Pango." "$LINENO" 5
19642 fi
19643
19644 #
19645 # Checks for GLib
19646 #
19647 GLIB_REQUIRED_VERSION=2.31.0
19648 GLIB_MODULES="glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-no-export-2.0"
19649
19650
19651 pkg_failed=no
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
19653 $as_echo_n "checking for GLIB... " >&6; }
19654
19655 if test -n "$GLIB_CFLAGS"; then
19656     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
19657  elif test -n "$PKG_CONFIG"; then
19658     if test -n "$PKG_CONFIG" && \
19659     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\""; } >&5
19660   ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
19661   ac_status=$?
19662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19663   test $ac_status = 0; }; then
19664   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_MODULES" 2>/dev/null`
19665 else
19666   pkg_failed=yes
19667 fi
19668  else
19669     pkg_failed=untried
19670 fi
19671 if test -n "$GLIB_LIBS"; then
19672     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
19673  elif test -n "$PKG_CONFIG"; then
19674     if test -n "$PKG_CONFIG" && \
19675     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\""; } >&5
19676   ($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5
19677   ac_status=$?
19678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19679   test $ac_status = 0; }; then
19680   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_MODULES" 2>/dev/null`
19681 else
19682   pkg_failed=yes
19683 fi
19684  else
19685     pkg_failed=untried
19686 fi
19687
19688
19689
19690 if test $pkg_failed = yes; then
19691         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19692 $as_echo "no" >&6; }
19693
19694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19695         _pkg_short_errors_supported=yes
19696 else
19697         _pkg_short_errors_supported=no
19698 fi
19699         if test $_pkg_short_errors_supported = yes; then
19700                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GLIB_MODULES" 2>&1`
19701         else
19702                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GLIB_MODULES" 2>&1`
19703         fi
19704         # Put the nasty error message in config.log where it belongs
19705         echo "$GLIB_PKG_ERRORS" >&5
19706
19707         as_fn_error $? "
19708 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
19709 *** Glib is always available from ftp://ftp.gtk.org/." "$LINENO" 5
19710 elif test $pkg_failed = untried; then
19711         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19712 $as_echo "no" >&6; }
19713         as_fn_error $? "
19714 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
19715 *** Glib is always available from ftp://ftp.gtk.org/." "$LINENO" 5
19716 else
19717         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
19718         GLIB_LIBS=$pkg_cv_GLIB_LIBS
19719         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19720 $as_echo "yes" >&6; }
19721         :
19722 fi
19723
19724 # Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled.
19725 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
19726
19727
19728
19729 # Add in gthread-2.0 to CFLAGS but not to LIBS so we get any
19730 # necesary defines for thread-safety.
19731 GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_MODULES gthread-2.0`
19732
19733 #
19734 # Checks for LibThai
19735 #
19736 have_libthai=false
19737 LIBTHAI_REQUIRED_VERSION=0.1.9
19738
19739 pkg_failed=no
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTHAI" >&5
19741 $as_echo_n "checking for LIBTHAI... " >&6; }
19742
19743 if test -n "$LIBTHAI_CFLAGS"; then
19744     pkg_cv_LIBTHAI_CFLAGS="$LIBTHAI_CFLAGS"
19745  elif test -n "$PKG_CONFIG"; then
19746     if test -n "$PKG_CONFIG" && \
19747     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\""; } >&5
19748   ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
19749   ac_status=$?
19750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19751   test $ac_status = 0; }; then
19752   pkg_cv_LIBTHAI_CFLAGS=`$PKG_CONFIG --cflags "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
19753 else
19754   pkg_failed=yes
19755 fi
19756  else
19757     pkg_failed=untried
19758 fi
19759 if test -n "$LIBTHAI_LIBS"; then
19760     pkg_cv_LIBTHAI_LIBS="$LIBTHAI_LIBS"
19761  elif test -n "$PKG_CONFIG"; then
19762     if test -n "$PKG_CONFIG" && \
19763     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\""; } >&5
19764   ($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5
19765   ac_status=$?
19766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19767   test $ac_status = 0; }; then
19768   pkg_cv_LIBTHAI_LIBS=`$PKG_CONFIG --libs "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null`
19769 else
19770   pkg_failed=yes
19771 fi
19772  else
19773     pkg_failed=untried
19774 fi
19775
19776
19777
19778 if test $pkg_failed = yes; then
19779         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19780 $as_echo "no" >&6; }
19781
19782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19783         _pkg_short_errors_supported=yes
19784 else
19785         _pkg_short_errors_supported=no
19786 fi
19787         if test $_pkg_short_errors_supported = yes; then
19788                 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>&1`
19789         else
19790                 LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>&1`
19791         fi
19792         # Put the nasty error message in config.log where it belongs
19793         echo "$LIBTHAI_PKG_ERRORS" >&5
19794
19795         :
19796 elif test $pkg_failed = untried; then
19797         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19798 $as_echo "no" >&6; }
19799         :
19800 else
19801         LIBTHAI_CFLAGS=$pkg_cv_LIBTHAI_CFLAGS
19802         LIBTHAI_LIBS=$pkg_cv_LIBTHAI_LIBS
19803         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19804 $as_echo "yes" >&6; }
19805         have_libthai=true
19806 fi
19807
19808 #
19809 # Checks for GObject Introspection
19810 #
19811
19812
19813
19814
19815                 # Check whether --enable-introspection was given.
19816 if test "${enable_introspection+set}" = set; then :
19817   enableval=$enable_introspection;
19818 else
19819   enable_introspection=auto
19820 fi
19821
19822
19823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
19824 $as_echo_n "checking for gobject-introspection... " >&6; }
19825
19826         case $enable_introspection in #(
19827   no) :
19828             found_introspection="no (disabled, use --enable-introspection to enable)"
19829      ;; #(
19830       yes) :
19831             if test -n "$PKG_CONFIG" && \
19832     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
19833   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
19834   ac_status=$?
19835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19836   test $ac_status = 0; }; then
19837   :
19838 else
19839   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
19840 fi
19841         if test -n "$PKG_CONFIG" && \
19842     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
19843   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
19844   ac_status=$?
19845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19846   test $ac_status = 0; }; then
19847   found_introspection=yes
19848 else
19849   as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build pango" "$LINENO" 5
19850 fi
19851      ;; #(
19852       auto) :
19853             if test -n "$PKG_CONFIG" && \
19854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
19855   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
19856   ac_status=$?
19857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19858   test $ac_status = 0; }; then
19859   found_introspection=yes
19860 else
19861   found_introspection=no
19862 fi
19863      ;; #(
19864   *) :
19865                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
19866      ;;
19867 esac
19868     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
19869 $as_echo "$found_introspection" >&6; }
19870
19871     INTROSPECTION_SCANNER=
19872     INTROSPECTION_COMPILER=
19873     INTROSPECTION_GENERATE=
19874     INTROSPECTION_GIRDIR=
19875     INTROSPECTION_TYPELIBDIR=
19876     if test "x$found_introspection" = "xyes"; then
19877        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
19878        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
19879        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
19880        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
19881        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
19882        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
19883        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
19884        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
19885     fi
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895      if test "x$found_introspection" = "xyes"; then
19896   HAVE_INTROSPECTION_TRUE=
19897   HAVE_INTROSPECTION_FALSE='#'
19898 else
19899   HAVE_INTROSPECTION_TRUE='#'
19900   HAVE_INTROSPECTION_FALSE=
19901 fi
19902
19903
19904
19905
19906 #
19907 # Modules to build
19908 #
19909 arabic_modules="arabic-fc,arabic-lang"
19910 basic_modules="basic-fc,basic-win32,basic-x,basic-atsui,basic-coretext"
19911 hangul_modules="hangul-fc"
19912 hebrew_modules="hebrew-fc"
19913 indic_modules="indic-fc,indic-lang"
19914 khmer_modules="khmer-fc"
19915 syriac_modules="syriac-fc"
19916 thai_modules="thai-fc"
19917 tibetan_modules="tibetan-fc"
19918
19919 if $have_libthai ; then
19920   thai_modules="$thai_modules,thai-lang"
19921 fi
19922
19923 all_modules="$arabic_modules,$basic_modules,$hangul_modules,$hebrew_modules,$indic_modules,$khmer_modules,$syriac_modules,$thai_modules,$tibetan_modules"
19924
19925 #
19926 # Allow building some or all modules included
19927 #
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking modules to link statically" >&5
19929 $as_echo_n "checking modules to link statically... " >&6; }
19930
19931
19932 # Check whether --with-included_modules was given.
19933 if test "${with_included_modules+set}" = set; then :
19934   withval=$with_included_modules;
19935 fi
19936
19937
19938 included_modules=""
19939 case x$with_included_modules in
19940         xyes)   included_modules=$all_modules ;;
19941         xno|x)  included_modules="" ;;
19942         *)      included_modules=$with_included_modules ;;
19943 esac
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $included_modules" >&5
19945 $as_echo "$included_modules" >&6; }
19946  if test "x$included_modules" != x; then
19947   HAVE_INCLUDED_MODULES_TRUE=
19948   HAVE_INCLUDED_MODULES_FALSE='#'
19949 else
19950   HAVE_INCLUDED_MODULES_TRUE='#'
19951   HAVE_INCLUDED_MODULES_FALSE=
19952 fi
19953
19954
19955 #
19956 # Allow building only some or none of modules dynamic
19957 #
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic modules to build" >&5
19959 $as_echo_n "checking dynamic modules to build... " >&6; }
19960
19961
19962 # Check whether --with-dynamic_modules was given.
19963 if test "${with_dynamic_modules+set}" = set; then :
19964   withval=$with_dynamic_modules;
19965 fi
19966
19967
19968 dynamic_modules=""
19969 case x$with_dynamic_modules in
19970         xyes|x) dynamic_modules=$all_modules ;;
19971         xno)    dynamic_modules="" ;;
19972         *)      dynamic_modules=$with_dynamic_modules ;;
19973 esac
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_modules (those built into Pango will be excluded)" >&5
19975 $as_echo "$dynamic_modules (those built into Pango will be excluded)" >&6; }
19976  if test "x$dynamic_modules" != x; then
19977   HAVE_DYNAMIC_MODULES_TRUE=
19978   HAVE_DYNAMIC_MODULES_FALSE='#'
19979 else
19980   HAVE_DYNAMIC_MODULES_TRUE='#'
19981   HAVE_DYNAMIC_MODULES_FALSE=
19982 fi
19983
19984
19985
19986 INCLUDED_X_MODULES=
19987 INCLUDED_FC_MODULES=
19988 INCLUDED_WIN32_MODULES=
19989 INCLUDED_ATSUI_MODULES=
19990 INCLUDED_CORE_TEXT_MODULES=
19991 INCLUDED_LANG_MODULES=
19992
19993
19994
19995
19996
19997
19998
19999
20000 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=", "
20001 for module in $included_modules; do
20002   case $indic_modules in
20003     *$module*)  dir=indic ;;
20004     *)          dir=`echo $module | sed "s/-.*//"` ;;
20005   esac
20006   included_path="\$(top_builddir)/modules/$dir/libpango-$module.la"
20007
20008   case $module in
20009     *-x)        INCLUDED_X_MODULES="$INCLUDED_X_MODULES $included_path" ;;
20010     *-fc)       INCLUDED_FC_MODULES="$INCLUDED_FC_MODULES $included_path" ;;
20011     *-win32)    INCLUDED_WIN32_MODULES="$INCLUDED_WIN32_MODULES $included_path" ;;
20012     *-atsui)    INCLUDED_ATSUI_MODULES="$INCLUDED_ATSUI_MODULES $included_path" ;;
20013     *-coretext) INCLUDED_CORE_TEXT_MODULES="$INCLUDED_CORE_TEXT_MODULES $included_path" ;;
20014     *-lang)     INCLUDED_LANG_MODULES="$INCLUDED_LANG_MODULES $included_path" ;;
20015     *)          IFS="$pango_save_ifs"; as_fn_error $? "specified module $module not recognized" "$LINENO" 5 ;;
20016   esac
20017 done
20018 IFS="$pango_save_ifs"
20019
20020  if echo $included_modules | egrep '(^|,)arabic-fc($|,)'        > /dev/null; then
20021   INCLUDE_ARABIC_FC_TRUE=
20022   INCLUDE_ARABIC_FC_FALSE='#'
20023 else
20024   INCLUDE_ARABIC_FC_TRUE='#'
20025   INCLUDE_ARABIC_FC_FALSE=
20026 fi
20027
20028  if echo $included_modules | egrep '(^|,)arabic-lang($|,)'      > /dev/null; then
20029   INCLUDE_ARABIC_LANG_TRUE=
20030   INCLUDE_ARABIC_LANG_FALSE='#'
20031 else
20032   INCLUDE_ARABIC_LANG_TRUE='#'
20033   INCLUDE_ARABIC_LANG_FALSE=
20034 fi
20035
20036  if echo $included_modules | egrep '(^|,)basic-fc($|,)'         > /dev/null; then
20037   INCLUDE_BASIC_FC_TRUE=
20038   INCLUDE_BASIC_FC_FALSE='#'
20039 else
20040   INCLUDE_BASIC_FC_TRUE='#'
20041   INCLUDE_BASIC_FC_FALSE=
20042 fi
20043
20044  if echo $included_modules | egrep '(^|,)basic-win32($|,)'      > /dev/null; then
20045   INCLUDE_BASIC_WIN32_TRUE=
20046   INCLUDE_BASIC_WIN32_FALSE='#'
20047 else
20048   INCLUDE_BASIC_WIN32_TRUE='#'
20049   INCLUDE_BASIC_WIN32_FALSE=
20050 fi
20051
20052  if echo $included_modules | egrep '(^|,)basic-x($|,)'  > /dev/null; then
20053   INCLUDE_BASIC_X_TRUE=
20054   INCLUDE_BASIC_X_FALSE='#'
20055 else
20056   INCLUDE_BASIC_X_TRUE='#'
20057   INCLUDE_BASIC_X_FALSE=
20058 fi
20059
20060  if echo $included_modules | egrep '(^|,)basic-atsui($|,)'      > /dev/null; then
20061   INCLUDE_BASIC_ATSUI_TRUE=
20062   INCLUDE_BASIC_ATSUI_FALSE='#'
20063 else
20064   INCLUDE_BASIC_ATSUI_TRUE='#'
20065   INCLUDE_BASIC_ATSUI_FALSE=
20066 fi
20067
20068  if echo $included_modules | egrep '(^|,)basic-coretext($|,)'   > /dev/null; then
20069   INCLUDE_BASIC_CORE_TEXT_TRUE=
20070   INCLUDE_BASIC_CORE_TEXT_FALSE='#'
20071 else
20072   INCLUDE_BASIC_CORE_TEXT_TRUE='#'
20073   INCLUDE_BASIC_CORE_TEXT_FALSE=
20074 fi
20075
20076  if echo $included_modules | egrep '(^|,)hangul-fc($|,)'        > /dev/null; then
20077   INCLUDE_HANGUL_FC_TRUE=
20078   INCLUDE_HANGUL_FC_FALSE='#'
20079 else
20080   INCLUDE_HANGUL_FC_TRUE='#'
20081   INCLUDE_HANGUL_FC_FALSE=
20082 fi
20083
20084  if echo $included_modules | egrep '(^|,)hebrew-fc($|,)'        > /dev/null; then
20085   INCLUDE_HEBREW_FC_TRUE=
20086   INCLUDE_HEBREW_FC_FALSE='#'
20087 else
20088   INCLUDE_HEBREW_FC_TRUE='#'
20089   INCLUDE_HEBREW_FC_FALSE=
20090 fi
20091
20092  if echo $included_modules | egrep '(^|,)indic-fc($|,)'         > /dev/null; then
20093   INCLUDE_INDIC_FC_TRUE=
20094   INCLUDE_INDIC_FC_FALSE='#'
20095 else
20096   INCLUDE_INDIC_FC_TRUE='#'
20097   INCLUDE_INDIC_FC_FALSE=
20098 fi
20099
20100  if echo $included_modules | egrep '(^|,)indic-lang($|,)'       > /dev/null; then
20101   INCLUDE_INDIC_LANG_TRUE=
20102   INCLUDE_INDIC_LANG_FALSE='#'
20103 else
20104   INCLUDE_INDIC_LANG_TRUE='#'
20105   INCLUDE_INDIC_LANG_FALSE=
20106 fi
20107
20108  if echo $included_modules | egrep '(^|,)khmer-fc($|,)'         > /dev/null; then
20109   INCLUDE_KHMER_FC_TRUE=
20110   INCLUDE_KHMER_FC_FALSE='#'
20111 else
20112   INCLUDE_KHMER_FC_TRUE='#'
20113   INCLUDE_KHMER_FC_FALSE=
20114 fi
20115
20116  if echo $included_modules | egrep '(^|,)syriac-fc($|,)'        > /dev/null; then
20117   INCLUDE_SYRIAC_FC_TRUE=
20118   INCLUDE_SYRIAC_FC_FALSE='#'
20119 else
20120   INCLUDE_SYRIAC_FC_TRUE='#'
20121   INCLUDE_SYRIAC_FC_FALSE=
20122 fi
20123
20124  if echo $included_modules | egrep '(^|,)thai-fc($|,)'  > /dev/null; then
20125   INCLUDE_THAI_FC_TRUE=
20126   INCLUDE_THAI_FC_FALSE='#'
20127 else
20128   INCLUDE_THAI_FC_TRUE='#'
20129   INCLUDE_THAI_FC_FALSE=
20130 fi
20131
20132  if echo $included_modules | egrep '(^|,)thai-lang($|,)'        > /dev/null; then
20133   INCLUDE_THAI_LANG_TRUE=
20134   INCLUDE_THAI_LANG_FALSE='#'
20135 else
20136   INCLUDE_THAI_LANG_TRUE='#'
20137   INCLUDE_THAI_LANG_FALSE=
20138 fi
20139
20140  if echo $included_modules | egrep '(^|,)tibetan-fc($|,)'       > /dev/null; then
20141   INCLUDE_TIBETAN_FC_TRUE=
20142   INCLUDE_TIBETAN_FC_FALSE='#'
20143 else
20144   INCLUDE_TIBETAN_FC_TRUE='#'
20145   INCLUDE_TIBETAN_FC_FALSE=
20146 fi
20147
20148
20149  if echo $dynamic_modules | egrep '(^|,)arabic-fc($|,)'         > /dev/null; then
20150   DYNAMIC_ARABIC_FC_TRUE=
20151   DYNAMIC_ARABIC_FC_FALSE='#'
20152 else
20153   DYNAMIC_ARABIC_FC_TRUE='#'
20154   DYNAMIC_ARABIC_FC_FALSE=
20155 fi
20156
20157  if echo $dynamic_modules | egrep '(^|,)arabic-lang($|,)'       > /dev/null; then
20158   DYNAMIC_ARABIC_LANG_TRUE=
20159   DYNAMIC_ARABIC_LANG_FALSE='#'
20160 else
20161   DYNAMIC_ARABIC_LANG_TRUE='#'
20162   DYNAMIC_ARABIC_LANG_FALSE=
20163 fi
20164
20165  if echo $dynamic_modules | egrep '(^|,)basic-fc($|,)'  > /dev/null; then
20166   DYNAMIC_BASIC_FC_TRUE=
20167   DYNAMIC_BASIC_FC_FALSE='#'
20168 else
20169   DYNAMIC_BASIC_FC_TRUE='#'
20170   DYNAMIC_BASIC_FC_FALSE=
20171 fi
20172
20173  if echo $dynamic_modules | egrep '(^|,)basic-win32($|,)'       > /dev/null; then
20174   DYNAMIC_BASIC_WIN32_TRUE=
20175   DYNAMIC_BASIC_WIN32_FALSE='#'
20176 else
20177   DYNAMIC_BASIC_WIN32_TRUE='#'
20178   DYNAMIC_BASIC_WIN32_FALSE=
20179 fi
20180
20181  if echo $dynamic_modules | egrep '(^|,)basic-x($|,)'   > /dev/null; then
20182   DYNAMIC_BASIC_X_TRUE=
20183   DYNAMIC_BASIC_X_FALSE='#'
20184 else
20185   DYNAMIC_BASIC_X_TRUE='#'
20186   DYNAMIC_BASIC_X_FALSE=
20187 fi
20188
20189  if echo $dynamic_modules | egrep '(^|,)basic-atsui($|,)'       > /dev/null; then
20190   DYNAMIC_BASIC_ATSUI_TRUE=
20191   DYNAMIC_BASIC_ATSUI_FALSE='#'
20192 else
20193   DYNAMIC_BASIC_ATSUI_TRUE='#'
20194   DYNAMIC_BASIC_ATSUI_FALSE=
20195 fi
20196
20197  if echo $dynamic_modules | egrep '(^|,)basic-coretext($|,)'    > /dev/null; then
20198   DYNAMIC_BASIC_CORE_TEXT_TRUE=
20199   DYNAMIC_BASIC_CORE_TEXT_FALSE='#'
20200 else
20201   DYNAMIC_BASIC_CORE_TEXT_TRUE='#'
20202   DYNAMIC_BASIC_CORE_TEXT_FALSE=
20203 fi
20204
20205  if echo $dynamic_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then
20206   DYNAMIC_HANGUL_FC_TRUE=
20207   DYNAMIC_HANGUL_FC_FALSE='#'
20208 else
20209   DYNAMIC_HANGUL_FC_TRUE='#'
20210   DYNAMIC_HANGUL_FC_FALSE=
20211 fi
20212
20213  if echo $dynamic_modules | egrep '(^|,)hebrew-fc($|,)'         > /dev/null; then
20214   DYNAMIC_HEBREW_FC_TRUE=
20215   DYNAMIC_HEBREW_FC_FALSE='#'
20216 else
20217   DYNAMIC_HEBREW_FC_TRUE='#'
20218   DYNAMIC_HEBREW_FC_FALSE=
20219 fi
20220
20221  if echo $dynamic_modules | egrep '(^|,)indic-fc($|,)'  > /dev/null; then
20222   DYNAMIC_INDIC_FC_TRUE=
20223   DYNAMIC_INDIC_FC_FALSE='#'
20224 else
20225   DYNAMIC_INDIC_FC_TRUE='#'
20226   DYNAMIC_INDIC_FC_FALSE=
20227 fi
20228
20229  if echo $dynamic_modules | egrep '(^|,)indic-lang($|,)'        > /dev/null; then
20230   DYNAMIC_INDIC_LANG_TRUE=
20231   DYNAMIC_INDIC_LANG_FALSE='#'
20232 else
20233   DYNAMIC_INDIC_LANG_TRUE='#'
20234   DYNAMIC_INDIC_LANG_FALSE=
20235 fi
20236
20237  if echo $dynamic_modules | egrep '(^|,)khmer-fc($|,)'  > /dev/null; then
20238   DYNAMIC_KHMER_FC_TRUE=
20239   DYNAMIC_KHMER_FC_FALSE='#'
20240 else
20241   DYNAMIC_KHMER_FC_TRUE='#'
20242   DYNAMIC_KHMER_FC_FALSE=
20243 fi
20244
20245  if echo $dynamic_modules | egrep '(^|,)syriac-fc($|,)'         > /dev/null; then
20246   DYNAMIC_SYRIAC_FC_TRUE=
20247   DYNAMIC_SYRIAC_FC_FALSE='#'
20248 else
20249   DYNAMIC_SYRIAC_FC_TRUE='#'
20250   DYNAMIC_SYRIAC_FC_FALSE=
20251 fi
20252
20253  if echo $dynamic_modules | egrep '(^|,)thai-fc($|,)'   > /dev/null; then
20254   DYNAMIC_THAI_FC_TRUE=
20255   DYNAMIC_THAI_FC_FALSE='#'
20256 else
20257   DYNAMIC_THAI_FC_TRUE='#'
20258   DYNAMIC_THAI_FC_FALSE=
20259 fi
20260
20261  if echo $dynamic_modules | egrep '(^|,)thai-lang($|,)'         > /dev/null; then
20262   DYNAMIC_THAI_LANG_TRUE=
20263   DYNAMIC_THAI_LANG_FALSE='#'
20264 else
20265   DYNAMIC_THAI_LANG_TRUE='#'
20266   DYNAMIC_THAI_LANG_FALSE=
20267 fi
20268
20269  if echo $dynamic_modules | egrep '(^|,)tibetan-fc($|,)'        > /dev/null; then
20270   DYNAMIC_TIBETAN_FC_TRUE=
20271   DYNAMIC_TIBETAN_FC_FALSE='#'
20272 else
20273   DYNAMIC_TIBETAN_FC_TRUE='#'
20274   DYNAMIC_TIBETAN_FC_FALSE=
20275 fi
20276
20277
20278 #
20279 # We use flockfile to implement pango_getline() - should be moved to GLib
20280 # strtok_r isn't present on some systems
20281 #
20282 for ac_func in flockfile strtok_r
20283 do :
20284   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20287   cat >>confdefs.h <<_ACEOF
20288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20289 _ACEOF
20290
20291 fi
20292 done
20293
20294
20295
20296 if $have_cairo ; then : ; else
20297    if  test x$enable_gtk_doc = xyes ; then
20298       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo not present, disabling doc building" >&5
20299 $as_echo "$as_me: WARNING: Cairo not present, disabling doc building" >&2;}
20300       enable_gtk_doc=no
20301    fi
20302 fi
20303
20304
20305
20306
20307     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
20308 set dummy gtkdoc-check; ac_word=$2
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20310 $as_echo_n "checking for $ac_word... " >&6; }
20311 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
20312   $as_echo_n "(cached) " >&6
20313 else
20314   case $GTKDOC_CHECK in
20315   [\\/]* | ?:[\\/]*)
20316   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
20317   ;;
20318   *)
20319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20320 for as_dir in $PATH
20321 do
20322   IFS=$as_save_IFS
20323   test -z "$as_dir" && as_dir=.
20324     for ac_exec_ext in '' $ac_executable_extensions; do
20325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20326     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
20327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20328     break 2
20329   fi
20330 done
20331   done
20332 IFS=$as_save_IFS
20333
20334   ;;
20335 esac
20336 fi
20337 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
20338 if test -n "$GTKDOC_CHECK"; then
20339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20340 $as_echo "$GTKDOC_CHECK" >&6; }
20341 else
20342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20343 $as_echo "no" >&6; }
20344 fi
20345
20346
20347   for ac_prog in gtkdoc-rebase
20348 do
20349   # Extract the first word of "$ac_prog", so it can be a program name with args.
20350 set dummy $ac_prog; ac_word=$2
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20352 $as_echo_n "checking for $ac_word... " >&6; }
20353 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
20354   $as_echo_n "(cached) " >&6
20355 else
20356   case $GTKDOC_REBASE in
20357   [\\/]* | ?:[\\/]*)
20358   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
20359   ;;
20360   *)
20361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20362 for as_dir in $PATH
20363 do
20364   IFS=$as_save_IFS
20365   test -z "$as_dir" && as_dir=.
20366     for ac_exec_ext in '' $ac_executable_extensions; do
20367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20368     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
20369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20370     break 2
20371   fi
20372 done
20373   done
20374 IFS=$as_save_IFS
20375
20376   ;;
20377 esac
20378 fi
20379 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
20380 if test -n "$GTKDOC_REBASE"; then
20381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
20382 $as_echo "$GTKDOC_REBASE" >&6; }
20383 else
20384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20385 $as_echo "no" >&6; }
20386 fi
20387
20388
20389   test -n "$GTKDOC_REBASE" && break
20390 done
20391 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
20392
20393   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
20394 set dummy gtkdoc-mkpdf; ac_word=$2
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20396 $as_echo_n "checking for $ac_word... " >&6; }
20397 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
20398   $as_echo_n "(cached) " >&6
20399 else
20400   case $GTKDOC_MKPDF in
20401   [\\/]* | ?:[\\/]*)
20402   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
20403   ;;
20404   *)
20405   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20406 for as_dir in $PATH
20407 do
20408   IFS=$as_save_IFS
20409   test -z "$as_dir" && as_dir=.
20410     for ac_exec_ext in '' $ac_executable_extensions; do
20411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20412     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
20413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20414     break 2
20415   fi
20416 done
20417   done
20418 IFS=$as_save_IFS
20419
20420   ;;
20421 esac
20422 fi
20423 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
20424 if test -n "$GTKDOC_MKPDF"; then
20425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
20426 $as_echo "$GTKDOC_MKPDF" >&6; }
20427 else
20428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20429 $as_echo "no" >&6; }
20430 fi
20431
20432
20433
20434
20435 # Check whether --with-html-dir was given.
20436 if test "${with_html_dir+set}" = set; then :
20437   withval=$with_html_dir;
20438 else
20439   with_html_dir='${datadir}/gtk-doc/html'
20440 fi
20441
20442   HTML_DIR="$with_html_dir"
20443
20444
20445     # Check whether --enable-gtk-doc was given.
20446 if test "${enable_gtk_doc+set}" = set; then :
20447   enableval=$enable_gtk_doc;
20448 else
20449   enable_gtk_doc=no
20450 fi
20451
20452
20453   if test x$enable_gtk_doc = xyes; then
20454     if test -n "$PKG_CONFIG" && \
20455     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
20456   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
20457   ac_status=$?
20458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20459   test $ac_status = 0; }; then
20460   :
20461 else
20462   as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
20463 fi
20464         if test "x$PACKAGE_NAME" != "xglib"; then
20465
20466 pkg_failed=no
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
20468 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
20469
20470 if test -n "$GTKDOC_DEPS_CFLAGS"; then
20471     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
20472  elif test -n "$PKG_CONFIG"; then
20473     if test -n "$PKG_CONFIG" && \
20474     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
20475   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
20476   ac_status=$?
20477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20478   test $ac_status = 0; }; then
20479   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
20480 else
20481   pkg_failed=yes
20482 fi
20483  else
20484     pkg_failed=untried
20485 fi
20486 if test -n "$GTKDOC_DEPS_LIBS"; then
20487     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
20488  elif test -n "$PKG_CONFIG"; then
20489     if test -n "$PKG_CONFIG" && \
20490     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
20491   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
20492   ac_status=$?
20493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20494   test $ac_status = 0; }; then
20495   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
20496 else
20497   pkg_failed=yes
20498 fi
20499  else
20500     pkg_failed=untried
20501 fi
20502
20503
20504
20505 if test $pkg_failed = yes; then
20506         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20507 $as_echo "no" >&6; }
20508
20509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20510         _pkg_short_errors_supported=yes
20511 else
20512         _pkg_short_errors_supported=no
20513 fi
20514         if test $_pkg_short_errors_supported = yes; then
20515                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
20516         else
20517                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
20518         fi
20519         # Put the nasty error message in config.log where it belongs
20520         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
20521
20522         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
20523
20524 $GTKDOC_DEPS_PKG_ERRORS
20525
20526 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20527 installed software in a non-standard prefix.
20528
20529 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
20530 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
20531 See the pkg-config man page for more details." "$LINENO" 5
20532
20533 elif test $pkg_failed = untried; then
20534         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20535 $as_echo "no" >&6; }
20536         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20538 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
20539 is in your PATH or set the PKG_CONFIG environment variable to the full
20540 path to pkg-config.
20541
20542 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
20543 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
20544 See the pkg-config man page for more details.
20545
20546 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20547 See \`config.log' for more details" "$LINENO" 5; }
20548
20549 else
20550         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
20551         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
20552         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20553 $as_echo "yes" >&6; }
20554
20555 fi
20556     fi
20557   fi
20558
20559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20560 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20562 $as_echo "$enable_gtk_doc" >&6; }
20563
20564     # Check whether --enable-gtk-doc-html was given.
20565 if test "${enable_gtk_doc_html+set}" = set; then :
20566   enableval=$enable_gtk_doc_html;
20567 else
20568   enable_gtk_doc_html=yes
20569 fi
20570
20571     # Check whether --enable-gtk-doc-pdf was given.
20572 if test "${enable_gtk_doc_pdf+set}" = set; then :
20573   enableval=$enable_gtk_doc_pdf;
20574 else
20575   enable_gtk_doc_pdf=no
20576 fi
20577
20578
20579   if test -z "$GTKDOC_MKPDF"; then
20580     enable_gtk_doc_pdf=no
20581   fi
20582
20583
20584    if test x$enable_gtk_doc = xyes; then
20585   ENABLE_GTK_DOC_TRUE=
20586   ENABLE_GTK_DOC_FALSE='#'
20587 else
20588   ENABLE_GTK_DOC_TRUE='#'
20589   ENABLE_GTK_DOC_FALSE=
20590 fi
20591
20592    if test x$enable_gtk_doc_html = xyes; then
20593   GTK_DOC_BUILD_HTML_TRUE=
20594   GTK_DOC_BUILD_HTML_FALSE='#'
20595 else
20596   GTK_DOC_BUILD_HTML_TRUE='#'
20597   GTK_DOC_BUILD_HTML_FALSE=
20598 fi
20599
20600    if test x$enable_gtk_doc_pdf = xyes; then
20601   GTK_DOC_BUILD_PDF_TRUE=
20602   GTK_DOC_BUILD_PDF_FALSE='#'
20603 else
20604   GTK_DOC_BUILD_PDF_TRUE='#'
20605   GTK_DOC_BUILD_PDF_FALSE=
20606 fi
20607
20608    if test -n "$LIBTOOL"; then
20609   GTK_DOC_USE_LIBTOOL_TRUE=
20610   GTK_DOC_USE_LIBTOOL_FALSE='#'
20611 else
20612   GTK_DOC_USE_LIBTOOL_TRUE='#'
20613   GTK_DOC_USE_LIBTOOL_FALSE=
20614 fi
20615
20616    if test -n "$GTKDOC_REBASE"; then
20617   GTK_DOC_USE_REBASE_TRUE=
20618   GTK_DOC_USE_REBASE_FALSE='#'
20619 else
20620   GTK_DOC_USE_REBASE_TRUE='#'
20621   GTK_DOC_USE_REBASE_FALSE=
20622 fi
20623
20624
20625
20626 # Check whether --enable-man was given.
20627 if test "${enable_man+set}" = set; then :
20628   enableval=$enable_man; enable_man=yes
20629 else
20630   enable_man=no
20631 fi
20632
20633
20634 if test "x$enable_man" != xno ; then
20635         # Extract the first word of "xsltproc", so it can be a program name with args.
20636 set dummy xsltproc; ac_word=$2
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20638 $as_echo_n "checking for $ac_word... " >&6; }
20639 if ${ac_cv_path_XSLTPROC+:} false; then :
20640   $as_echo_n "(cached) " >&6
20641 else
20642   case $XSLTPROC in
20643   [\\/]* | ?:[\\/]*)
20644   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
20645   ;;
20646   *)
20647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20648 for as_dir in $PATH
20649 do
20650   IFS=$as_save_IFS
20651   test -z "$as_dir" && as_dir=.
20652     for ac_exec_ext in '' $ac_executable_extensions; do
20653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20654     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
20655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20656     break 2
20657   fi
20658 done
20659   done
20660 IFS=$as_save_IFS
20661
20662   ;;
20663 esac
20664 fi
20665 XSLTPROC=$ac_cv_path_XSLTPROC
20666 if test -n "$XSLTPROC"; then
20667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
20668 $as_echo "$XSLTPROC" >&6; }
20669 else
20670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20671 $as_echo "no" >&6; }
20672 fi
20673
20674
20675   if test -z "$XSLTPROC"; then
20676     enable_man=no
20677   fi
20678 fi
20679
20680 if test "x$enable_man" != xno ; then
20681
20682   # check for the presence of the XML catalog
20683
20684 # Check whether --with-xml-catalog was given.
20685 if test "${with_xml_catalog+set}" = set; then :
20686   withval=$with_xml_catalog;
20687 else
20688   with_xml_catalog=/etc/xml/catalog
20689 fi
20690
20691   jh_found_xmlcatalog=true
20692   XML_CATALOG_FILE="$with_xml_catalog"
20693
20694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML catalog ($XML_CATALOG_FILE)" >&5
20695 $as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
20696   if test -f "$XML_CATALOG_FILE"; then
20697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20698 $as_echo "found" >&6; }
20699   else
20700     jh_found_xmlcatalog=false
20701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20702 $as_echo "not found" >&6; }
20703   fi
20704
20705   # check for the xmlcatalog program
20706   # Extract the first word of "xmlcatalog", so it can be a program name with args.
20707 set dummy xmlcatalog; ac_word=$2
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20709 $as_echo_n "checking for $ac_word... " >&6; }
20710 if ${ac_cv_path_XMLCATALOG+:} false; then :
20711   $as_echo_n "(cached) " >&6
20712 else
20713   case $XMLCATALOG in
20714   [\\/]* | ?:[\\/]*)
20715   ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
20716   ;;
20717   *)
20718   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20719 for as_dir in $PATH
20720 do
20721   IFS=$as_save_IFS
20722   test -z "$as_dir" && as_dir=.
20723     for ac_exec_ext in '' $ac_executable_extensions; do
20724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20725     ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
20726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20727     break 2
20728   fi
20729 done
20730   done
20731 IFS=$as_save_IFS
20732
20733   test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
20734   ;;
20735 esac
20736 fi
20737 XMLCATALOG=$ac_cv_path_XMLCATALOG
20738 if test -n "$XMLCATALOG"; then
20739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
20740 $as_echo "$XMLCATALOG" >&6; }
20741 else
20742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20743 $as_echo "no" >&6; }
20744 fi
20745
20746
20747   if test "x$XMLCATALOG" = xno; then
20748     jh_found_xmlcatalog=false
20749   fi
20750
20751   if $jh_found_xmlcatalog; then
20752     :
20753   else
20754     :
20755   fi
20756
20757
20758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
20759 $as_echo_n "checking for DocBook XML DTD V4.1.2 in XML catalog... " >&6; }
20760   if $jh_found_xmlcatalog && \
20761      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2"; } >&5
20762   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
20763   ac_status=$?
20764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20765   test $ac_status = 0; }; then
20766     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20767 $as_echo "found" >&6; }
20768       else
20769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20770 $as_echo "not found" >&6; }
20771     enable_man=no
20772   fi
20773
20774
20775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XSL Stylesheets in XML catalog" >&5
20776 $as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
20777   if $jh_found_xmlcatalog && \
20778      { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2"; } >&5
20779   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
20780   ac_status=$?
20781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20782   test $ac_status = 0; }; then
20783     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20784 $as_echo "found" >&6; }
20785       else
20786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
20787 $as_echo "not found" >&6; }
20788     enable_man=no
20789   fi
20790
20791 fi
20792
20793  if test x$enable_man != xno; then
20794   ENABLE_MAN_TRUE=
20795   ENABLE_MAN_FALSE='#'
20796 else
20797   ENABLE_MAN_TRUE='#'
20798   ENABLE_MAN_FALSE=
20799 fi
20800
20801
20802 # Check whether --enable-doc-cross-references was given.
20803 if test "${enable_doc_cross_references+set}" = set; then :
20804   enableval=$enable_doc_cross_references; enable_doc_cross_references=$enableval
20805 else
20806   enable_doc_cross_references=yes
20807 fi
20808
20809
20810 if test "x$enable_doc_cross_references" != xno ; then
20811         GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
20812         CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
20813
20814
20815 fi
20816  if test x$enable_doc_cross_references != xno; then
20817   ENABLE_DOC_CROSS_REFERENCES_TRUE=
20818   ENABLE_DOC_CROSS_REFERENCES_FALSE='#'
20819 else
20820   ENABLE_DOC_CROSS_REFERENCES_TRUE='#'
20821   ENABLE_DOC_CROSS_REFERENCES_FALSE=
20822 fi
20823
20824
20825
20826 # Note that -module isn't included here since automake needs to see it to know
20827 # that something like pango-arabic-fc.la is a valid libtool archive
20828 #
20829 LIBRARY_LIBTOOL_OPTIONS="-version-info $VERSION_INFO"
20830 MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version"
20831 if test "$pango_platform_win32" = yes; then
20832     # We currently use .def files on Windows
20833     true
20834     LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS -no-undefined"
20835     MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS -no-undefined"
20836 else
20837     # libtool option to control which symbols are exported
20838     # right now, symbols starting with '_' are not exported
20839     LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS "'-export-symbols-regex "^pango_.*"'
20840     MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS "'-export-symbols-regex "^script_engine_.*"'
20841 fi
20842
20843
20844
20845
20846 use_la_modules=false
20847
20848 # is there any platform that we have to use .la files?
20849
20850 if $use_la_modules ; then
20851
20852 $as_echo "#define USE_LA_MODULES 1" >>confdefs.h
20853
20854 fi
20855
20856
20857 # Check whether --enable-explicit-deps was given.
20858 if test "${enable_explicit_deps+set}" = set; then :
20859   enableval=$enable_explicit_deps; enable_explicit_deps="$enableval"
20860 else
20861   enable_explicit_deps=auto
20862 fi
20863
20864
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to write dependencies into .pc files" >&5
20866 $as_echo_n "checking Whether to write dependencies into .pc files... " >&6; }
20867 case $enable_explicit_deps in
20868   auto)
20869     export SED
20870     deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
20871     if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
20872       enable_explicit_deps=yes
20873     else
20874       enable_explicit_deps=no
20875     fi
20876   ;;
20877   yes|no)
20878   ;;
20879   *) as_fn_error $? "Value given to --enable-explicit-deps must be one of yes, no or auto" "$LINENO" 5
20880   ;;
20881 esac
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_explicit_deps" >&5
20883 $as_echo "$enable_explicit_deps" >&6; }
20884
20885 PKGCONFIG_MATH_LIBS=
20886 PKGCONFIG_CAIRO_REQUIRES=
20887
20888 if test $enable_explicit_deps = yes ; then
20889   PKGCONFIG_MATH_LIBS=-lm
20890
20891   X_LIBS="$X_LIBS $X_EXTRA_LIBS"
20892
20893   if $have_cairo_freetype;  then
20894     PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangoft2"
20895   fi
20896   if $have_cairo_win32;  then
20897     PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangowin32"
20898   fi
20899 fi
20900
20901
20902
20903  if test $enable_explicit_deps = no; then
20904   DISABLE_EXPLICIT_DEPS_TRUE=
20905   DISABLE_EXPLICIT_DEPS_FALSE='#'
20906 else
20907   DISABLE_EXPLICIT_DEPS_TRUE='#'
20908   DISABLE_EXPLICIT_DEPS_FALSE=
20909 fi
20910
20911
20912 ac_config_commands="$ac_config_commands pango/module-defs.h"
20913
20914
20915 ac_config_commands="$ac_config_commands pango/module-defs-x.c"
20916
20917
20918 ac_config_commands="$ac_config_commands pango/module-defs-fc.c"
20919
20920
20921 ac_config_commands="$ac_config_commands pango/module-defs-win32.c"
20922
20923
20924 ac_config_commands="$ac_config_commands pango/module-defs-atsui.c"
20925
20926
20927 ac_config_commands="$ac_config_commands pango/module-defs-coretext.c"
20928
20929
20930 ac_config_commands="$ac_config_commands pango/module-defs-lang.c"
20931
20932
20933
20934 ac_header_dirent=no
20935 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20936   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20938 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20939 if eval \${$as_ac_Header+:} false; then :
20940   $as_echo_n "(cached) " >&6
20941 else
20942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h.  */
20944 #include <sys/types.h>
20945 #include <$ac_hdr>
20946
20947 int
20948 main ()
20949 {
20950 if ((DIR *) 0)
20951 return 0;
20952   ;
20953   return 0;
20954 }
20955 _ACEOF
20956 if ac_fn_c_try_compile "$LINENO"; then :
20957   eval "$as_ac_Header=yes"
20958 else
20959   eval "$as_ac_Header=no"
20960 fi
20961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20962 fi
20963 eval ac_res=\$$as_ac_Header
20964                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20965 $as_echo "$ac_res" >&6; }
20966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20967   cat >>confdefs.h <<_ACEOF
20968 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20969 _ACEOF
20970
20971 ac_header_dirent=$ac_hdr; break
20972 fi
20973
20974 done
20975 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20976 if test $ac_header_dirent = dirent.h; then
20977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20978 $as_echo_n "checking for library containing opendir... " >&6; }
20979 if ${ac_cv_search_opendir+:} false; then :
20980   $as_echo_n "(cached) " >&6
20981 else
20982   ac_func_search_save_LIBS=$LIBS
20983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h.  */
20985
20986 /* Override any GCC internal prototype to avoid an error.
20987    Use char because int might match the return type of a GCC
20988    builtin and then its argument prototype would still apply.  */
20989 #ifdef __cplusplus
20990 extern "C"
20991 #endif
20992 char opendir ();
20993 int
20994 main ()
20995 {
20996 return opendir ();
20997   ;
20998   return 0;
20999 }
21000 _ACEOF
21001 for ac_lib in '' dir; do
21002   if test -z "$ac_lib"; then
21003     ac_res="none required"
21004   else
21005     ac_res=-l$ac_lib
21006     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21007   fi
21008   if ac_fn_c_try_link "$LINENO"; then :
21009   ac_cv_search_opendir=$ac_res
21010 fi
21011 rm -f core conftest.err conftest.$ac_objext \
21012     conftest$ac_exeext
21013   if ${ac_cv_search_opendir+:} false; then :
21014   break
21015 fi
21016 done
21017 if ${ac_cv_search_opendir+:} false; then :
21018
21019 else
21020   ac_cv_search_opendir=no
21021 fi
21022 rm conftest.$ac_ext
21023 LIBS=$ac_func_search_save_LIBS
21024 fi
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21026 $as_echo "$ac_cv_search_opendir" >&6; }
21027 ac_res=$ac_cv_search_opendir
21028 if test "$ac_res" != no; then :
21029   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21030
21031 fi
21032
21033 else
21034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21035 $as_echo_n "checking for library containing opendir... " >&6; }
21036 if ${ac_cv_search_opendir+:} false; then :
21037   $as_echo_n "(cached) " >&6
21038 else
21039   ac_func_search_save_LIBS=$LIBS
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h.  */
21042
21043 /* Override any GCC internal prototype to avoid an error.
21044    Use char because int might match the return type of a GCC
21045    builtin and then its argument prototype would still apply.  */
21046 #ifdef __cplusplus
21047 extern "C"
21048 #endif
21049 char opendir ();
21050 int
21051 main ()
21052 {
21053 return opendir ();
21054   ;
21055   return 0;
21056 }
21057 _ACEOF
21058 for ac_lib in '' x; do
21059   if test -z "$ac_lib"; then
21060     ac_res="none required"
21061   else
21062     ac_res=-l$ac_lib
21063     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21064   fi
21065   if ac_fn_c_try_link "$LINENO"; then :
21066   ac_cv_search_opendir=$ac_res
21067 fi
21068 rm -f core conftest.err conftest.$ac_objext \
21069     conftest$ac_exeext
21070   if ${ac_cv_search_opendir+:} false; then :
21071   break
21072 fi
21073 done
21074 if ${ac_cv_search_opendir+:} false; then :
21075
21076 else
21077   ac_cv_search_opendir=no
21078 fi
21079 rm conftest.$ac_ext
21080 LIBS=$ac_func_search_save_LIBS
21081 fi
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21083 $as_echo "$ac_cv_search_opendir" >&6; }
21084 ac_res=$ac_cv_search_opendir
21085 if test "$ac_res" != no; then :
21086   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21087
21088 fi
21089
21090 fi
21091
21092 for ac_header in unistd.h
21093 do :
21094   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21095 if test "x$ac_cv_header_unistd_h" = xyes; then :
21096   cat >>confdefs.h <<_ACEOF
21097 #define HAVE_UNISTD_H 1
21098 _ACEOF
21099
21100 fi
21101
21102 done
21103
21104
21105 # Honor aclocal flags
21106 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
21107 ac_config_commands="$ac_config_commands pango/pango-features.h"
21108
21109
21110 ac_config_files="$ac_config_files Makefile pango/Makefile pango/mini-fribidi/Makefile pango/opentype/Makefile pango/pango.rc pango/pangoft2.rc pango/pangowin32.rc pango/pangocairo.rc pango/pangox.rc pango/pangoxft.rc pango-view/Makefile modules/Makefile modules/arabic/Makefile modules/basic/Makefile modules/hangul/Makefile modules/hebrew/Makefile modules/indic/Makefile modules/khmer/Makefile modules/syriac/Makefile modules/thai/Makefile modules/tibetan/Makefile examples/Makefile docs/Makefile docs/version.xml tools/Makefile tests/Makefile build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile pango.pc pangox.pc pangowin32.pc pangoft2.pc pangoxft.pc pangocairo.pc pango-uninstalled.pc pangox-uninstalled.pc pangowin32-uninstalled.pc pangoft2-uninstalled.pc pangoxft-uninstalled.pc pangocairo-uninstalled.pc pango-zip.sh config.h.win32"
21111
21112
21113 ac_config_files="$ac_config_files tests/runtests.sh"
21114
21115
21116 cat >confcache <<\_ACEOF
21117 # This file is a shell script that caches the results of configure
21118 # tests run on this system so they can be shared between configure
21119 # scripts and configure runs, see configure's option --config-cache.
21120 # It is not useful on other systems.  If it contains results you don't
21121 # want to keep, you may remove or edit it.
21122 #
21123 # config.status only pays attention to the cache file if you give it
21124 # the --recheck option to rerun configure.
21125 #
21126 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21127 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21128 # following values.
21129
21130 _ACEOF
21131
21132 # The following way of writing the cache mishandles newlines in values,
21133 # but we know of no workaround that is simple, portable, and efficient.
21134 # So, we kill variables containing newlines.
21135 # Ultrix sh set writes to stderr and can't be redirected directly,
21136 # and sets the high bit in the cache file unless we assign to the vars.
21137 (
21138   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21139     eval ac_val=\$$ac_var
21140     case $ac_val in #(
21141     *${as_nl}*)
21142       case $ac_var in #(
21143       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21144 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21145       esac
21146       case $ac_var in #(
21147       _ | IFS | as_nl) ;; #(
21148       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21149       *) { eval $ac_var=; unset $ac_var;} ;;
21150       esac ;;
21151     esac
21152   done
21153
21154   (set) 2>&1 |
21155     case $as_nl`(ac_space=' '; set) 2>&1` in #(
21156     *${as_nl}ac_space=\ *)
21157       # `set' does not quote correctly, so add quotes: double-quote
21158       # substitution turns \\\\ into \\, and sed turns \\ into \.
21159       sed -n \
21160         "s/'/'\\\\''/g;
21161           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21162       ;; #(
21163     *)
21164       # `set' quotes correctly as required by POSIX, so do not add quotes.
21165       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21166       ;;
21167     esac |
21168     sort
21169 ) |
21170   sed '
21171      /^ac_cv_env_/b end
21172      t clear
21173      :clear
21174      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21175      t end
21176      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21177      :end' >>confcache
21178 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21179   if test -w "$cache_file"; then
21180     if test "x$cache_file" != "x/dev/null"; then
21181       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21182 $as_echo "$as_me: updating cache $cache_file" >&6;}
21183       if test ! -f "$cache_file" || test -h "$cache_file"; then
21184         cat confcache >"$cache_file"
21185       else
21186         case $cache_file in #(
21187         */* | ?:*)
21188           mv -f confcache "$cache_file"$$ &&
21189           mv -f "$cache_file"$$ "$cache_file" ;; #(
21190         *)
21191           mv -f confcache "$cache_file" ;;
21192         esac
21193       fi
21194     fi
21195   else
21196     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21197 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21198   fi
21199 fi
21200 rm -f confcache
21201
21202 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21203 # Let make expand exec_prefix.
21204 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21205
21206 DEFS=-DHAVE_CONFIG_H
21207
21208 ac_libobjs=
21209 ac_ltlibobjs=
21210 U=
21211 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21212   # 1. Remove the extension, and $U if already installed.
21213   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21214   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21215   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21216   #    will be set to the directory where LIBOBJS objects are built.
21217   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21218   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21219 done
21220 LIBOBJS=$ac_libobjs
21221
21222 LTLIBOBJS=$ac_ltlibobjs
21223
21224
21225  if test -n "$EXEEXT"; then
21226   am__EXEEXT_TRUE=
21227   am__EXEEXT_FALSE='#'
21228 else
21229   am__EXEEXT_TRUE='#'
21230   am__EXEEXT_FALSE=
21231 fi
21232
21233 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
21234   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
21235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21236 fi
21237 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21238   as_fn_error $? "conditional \"AMDEP\" was never defined.
21239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21240 fi
21241 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21242   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21244 fi
21245 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21246   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21248 fi
21249 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
21250   as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
21251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21252 fi
21253 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21254   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21256 fi
21257 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
21258   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
21259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21260 fi
21261 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
21262   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
21263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21264 fi
21265 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
21266   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
21267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21268 fi
21269 if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then
21270   as_fn_error $? "conditional \"HAVE_X\" was never defined.
21271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21272 fi
21273 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
21274   as_fn_error $? "conditional \"HAVE_FREETYPE\" was never defined.
21275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21276 fi
21277 if test -z "${HAVE_XFT_TRUE}" && test -z "${HAVE_XFT_FALSE}"; then
21278   as_fn_error $? "conditional \"HAVE_XFT\" was never defined.
21279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21280 fi
21281 if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then
21282   as_fn_error $? "conditional \"HAVE_WIN32\" was never defined.
21283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21284 fi
21285 if test -z "${HAVE_CORE_TEXT_TRUE}" && test -z "${HAVE_CORE_TEXT_FALSE}"; then
21286   as_fn_error $? "conditional \"HAVE_CORE_TEXT\" was never defined.
21287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21288 fi
21289 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
21290   as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
21291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21292 fi
21293 if test -z "${HAVE_CAIRO_PNG_TRUE}" && test -z "${HAVE_CAIRO_PNG_FALSE}"; then
21294   as_fn_error $? "conditional \"HAVE_CAIRO_PNG\" was never defined.
21295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21296 fi
21297 if test -z "${HAVE_CAIRO_PS_TRUE}" && test -z "${HAVE_CAIRO_PS_FALSE}"; then
21298   as_fn_error $? "conditional \"HAVE_CAIRO_PS\" was never defined.
21299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21300 fi
21301 if test -z "${HAVE_CAIRO_PDF_TRUE}" && test -z "${HAVE_CAIRO_PDF_FALSE}"; then
21302   as_fn_error $? "conditional \"HAVE_CAIRO_PDF\" was never defined.
21303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21304 fi
21305 if test -z "${HAVE_CAIRO_XLIB_TRUE}" && test -z "${HAVE_CAIRO_XLIB_FALSE}"; then
21306   as_fn_error $? "conditional \"HAVE_CAIRO_XLIB\" was never defined.
21307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21308 fi
21309 if test -z "${HAVE_CAIRO_WIN32_TRUE}" && test -z "${HAVE_CAIRO_WIN32_FALSE}"; then
21310   as_fn_error $? "conditional \"HAVE_CAIRO_WIN32\" was never defined.
21311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21312 fi
21313 if test -z "${HAVE_CAIRO_FREETYPE_TRUE}" && test -z "${HAVE_CAIRO_FREETYPE_FALSE}"; then
21314   as_fn_error $? "conditional \"HAVE_CAIRO_FREETYPE\" was never defined.
21315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21316 fi
21317 if test -z "${HAVE_CAIRO_ATSUI_TRUE}" && test -z "${HAVE_CAIRO_ATSUI_FALSE}"; then
21318   as_fn_error $? "conditional \"HAVE_CAIRO_ATSUI\" was never defined.
21319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21320 fi
21321 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
21322   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
21323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21324 fi
21325 if test -z "${HAVE_INCLUDED_MODULES_TRUE}" && test -z "${HAVE_INCLUDED_MODULES_FALSE}"; then
21326   as_fn_error $? "conditional \"HAVE_INCLUDED_MODULES\" was never defined.
21327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21328 fi
21329 if test -z "${HAVE_DYNAMIC_MODULES_TRUE}" && test -z "${HAVE_DYNAMIC_MODULES_FALSE}"; then
21330   as_fn_error $? "conditional \"HAVE_DYNAMIC_MODULES\" was never defined.
21331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21332 fi
21333 if test -z "${INCLUDE_ARABIC_FC_TRUE}" && test -z "${INCLUDE_ARABIC_FC_FALSE}"; then
21334   as_fn_error $? "conditional \"INCLUDE_ARABIC_FC\" was never defined.
21335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21336 fi
21337 if test -z "${INCLUDE_ARABIC_LANG_TRUE}" && test -z "${INCLUDE_ARABIC_LANG_FALSE}"; then
21338   as_fn_error $? "conditional \"INCLUDE_ARABIC_LANG\" was never defined.
21339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21340 fi
21341 if test -z "${INCLUDE_BASIC_FC_TRUE}" && test -z "${INCLUDE_BASIC_FC_FALSE}"; then
21342   as_fn_error $? "conditional \"INCLUDE_BASIC_FC\" was never defined.
21343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21344 fi
21345 if test -z "${INCLUDE_BASIC_WIN32_TRUE}" && test -z "${INCLUDE_BASIC_WIN32_FALSE}"; then
21346   as_fn_error $? "conditional \"INCLUDE_BASIC_WIN32\" was never defined.
21347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21348 fi
21349 if test -z "${INCLUDE_BASIC_X_TRUE}" && test -z "${INCLUDE_BASIC_X_FALSE}"; then
21350   as_fn_error $? "conditional \"INCLUDE_BASIC_X\" was never defined.
21351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21352 fi
21353 if test -z "${INCLUDE_BASIC_ATSUI_TRUE}" && test -z "${INCLUDE_BASIC_ATSUI_FALSE}"; then
21354   as_fn_error $? "conditional \"INCLUDE_BASIC_ATSUI\" was never defined.
21355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21356 fi
21357 if test -z "${INCLUDE_BASIC_CORE_TEXT_TRUE}" && test -z "${INCLUDE_BASIC_CORE_TEXT_FALSE}"; then
21358   as_fn_error $? "conditional \"INCLUDE_BASIC_CORE_TEXT\" was never defined.
21359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21360 fi
21361 if test -z "${INCLUDE_HANGUL_FC_TRUE}" && test -z "${INCLUDE_HANGUL_FC_FALSE}"; then
21362   as_fn_error $? "conditional \"INCLUDE_HANGUL_FC\" was never defined.
21363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21364 fi
21365 if test -z "${INCLUDE_HEBREW_FC_TRUE}" && test -z "${INCLUDE_HEBREW_FC_FALSE}"; then
21366   as_fn_error $? "conditional \"INCLUDE_HEBREW_FC\" was never defined.
21367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21368 fi
21369 if test -z "${INCLUDE_INDIC_FC_TRUE}" && test -z "${INCLUDE_INDIC_FC_FALSE}"; then
21370   as_fn_error $? "conditional \"INCLUDE_INDIC_FC\" was never defined.
21371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21372 fi
21373 if test -z "${INCLUDE_INDIC_LANG_TRUE}" && test -z "${INCLUDE_INDIC_LANG_FALSE}"; then
21374   as_fn_error $? "conditional \"INCLUDE_INDIC_LANG\" was never defined.
21375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21376 fi
21377 if test -z "${INCLUDE_KHMER_FC_TRUE}" && test -z "${INCLUDE_KHMER_FC_FALSE}"; then
21378   as_fn_error $? "conditional \"INCLUDE_KHMER_FC\" was never defined.
21379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21380 fi
21381 if test -z "${INCLUDE_SYRIAC_FC_TRUE}" && test -z "${INCLUDE_SYRIAC_FC_FALSE}"; then
21382   as_fn_error $? "conditional \"INCLUDE_SYRIAC_FC\" was never defined.
21383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21384 fi
21385 if test -z "${INCLUDE_THAI_FC_TRUE}" && test -z "${INCLUDE_THAI_FC_FALSE}"; then
21386   as_fn_error $? "conditional \"INCLUDE_THAI_FC\" was never defined.
21387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21388 fi
21389 if test -z "${INCLUDE_THAI_LANG_TRUE}" && test -z "${INCLUDE_THAI_LANG_FALSE}"; then
21390   as_fn_error $? "conditional \"INCLUDE_THAI_LANG\" was never defined.
21391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21392 fi
21393 if test -z "${INCLUDE_TIBETAN_FC_TRUE}" && test -z "${INCLUDE_TIBETAN_FC_FALSE}"; then
21394   as_fn_error $? "conditional \"INCLUDE_TIBETAN_FC\" was never defined.
21395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21396 fi
21397 if test -z "${DYNAMIC_ARABIC_FC_TRUE}" && test -z "${DYNAMIC_ARABIC_FC_FALSE}"; then
21398   as_fn_error $? "conditional \"DYNAMIC_ARABIC_FC\" was never defined.
21399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21400 fi
21401 if test -z "${DYNAMIC_ARABIC_LANG_TRUE}" && test -z "${DYNAMIC_ARABIC_LANG_FALSE}"; then
21402   as_fn_error $? "conditional \"DYNAMIC_ARABIC_LANG\" was never defined.
21403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21404 fi
21405 if test -z "${DYNAMIC_BASIC_FC_TRUE}" && test -z "${DYNAMIC_BASIC_FC_FALSE}"; then
21406   as_fn_error $? "conditional \"DYNAMIC_BASIC_FC\" was never defined.
21407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21408 fi
21409 if test -z "${DYNAMIC_BASIC_WIN32_TRUE}" && test -z "${DYNAMIC_BASIC_WIN32_FALSE}"; then
21410   as_fn_error $? "conditional \"DYNAMIC_BASIC_WIN32\" was never defined.
21411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21412 fi
21413 if test -z "${DYNAMIC_BASIC_X_TRUE}" && test -z "${DYNAMIC_BASIC_X_FALSE}"; then
21414   as_fn_error $? "conditional \"DYNAMIC_BASIC_X\" was never defined.
21415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21416 fi
21417 if test -z "${DYNAMIC_BASIC_ATSUI_TRUE}" && test -z "${DYNAMIC_BASIC_ATSUI_FALSE}"; then
21418   as_fn_error $? "conditional \"DYNAMIC_BASIC_ATSUI\" was never defined.
21419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21420 fi
21421 if test -z "${DYNAMIC_BASIC_CORE_TEXT_TRUE}" && test -z "${DYNAMIC_BASIC_CORE_TEXT_FALSE}"; then
21422   as_fn_error $? "conditional \"DYNAMIC_BASIC_CORE_TEXT\" was never defined.
21423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21424 fi
21425 if test -z "${DYNAMIC_HANGUL_FC_TRUE}" && test -z "${DYNAMIC_HANGUL_FC_FALSE}"; then
21426   as_fn_error $? "conditional \"DYNAMIC_HANGUL_FC\" was never defined.
21427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21428 fi
21429 if test -z "${DYNAMIC_HEBREW_FC_TRUE}" && test -z "${DYNAMIC_HEBREW_FC_FALSE}"; then
21430   as_fn_error $? "conditional \"DYNAMIC_HEBREW_FC\" was never defined.
21431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21432 fi
21433 if test -z "${DYNAMIC_INDIC_FC_TRUE}" && test -z "${DYNAMIC_INDIC_FC_FALSE}"; then
21434   as_fn_error $? "conditional \"DYNAMIC_INDIC_FC\" was never defined.
21435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21436 fi
21437 if test -z "${DYNAMIC_INDIC_LANG_TRUE}" && test -z "${DYNAMIC_INDIC_LANG_FALSE}"; then
21438   as_fn_error $? "conditional \"DYNAMIC_INDIC_LANG\" was never defined.
21439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21440 fi
21441 if test -z "${DYNAMIC_KHMER_FC_TRUE}" && test -z "${DYNAMIC_KHMER_FC_FALSE}"; then
21442   as_fn_error $? "conditional \"DYNAMIC_KHMER_FC\" was never defined.
21443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21444 fi
21445 if test -z "${DYNAMIC_SYRIAC_FC_TRUE}" && test -z "${DYNAMIC_SYRIAC_FC_FALSE}"; then
21446   as_fn_error $? "conditional \"DYNAMIC_SYRIAC_FC\" was never defined.
21447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21448 fi
21449 if test -z "${DYNAMIC_THAI_FC_TRUE}" && test -z "${DYNAMIC_THAI_FC_FALSE}"; then
21450   as_fn_error $? "conditional \"DYNAMIC_THAI_FC\" was never defined.
21451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21452 fi
21453 if test -z "${DYNAMIC_THAI_LANG_TRUE}" && test -z "${DYNAMIC_THAI_LANG_FALSE}"; then
21454   as_fn_error $? "conditional \"DYNAMIC_THAI_LANG\" was never defined.
21455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21456 fi
21457 if test -z "${DYNAMIC_TIBETAN_FC_TRUE}" && test -z "${DYNAMIC_TIBETAN_FC_FALSE}"; then
21458   as_fn_error $? "conditional \"DYNAMIC_TIBETAN_FC\" was never defined.
21459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21460 fi
21461 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
21462   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
21463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21464 fi
21465 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
21466   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
21467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21468 fi
21469 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
21470   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
21471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21472 fi
21473 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
21474   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
21475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21476 fi
21477 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
21478   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
21479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21480 fi
21481 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
21482   as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
21483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21484 fi
21485 if test -z "${ENABLE_DOC_CROSS_REFERENCES_TRUE}" && test -z "${ENABLE_DOC_CROSS_REFERENCES_FALSE}"; then
21486   as_fn_error $? "conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined.
21487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21488 fi
21489 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
21490   as_fn_error $? "conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
21491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21492 fi
21493
21494 : "${CONFIG_STATUS=./config.status}"
21495 ac_write_fail=0
21496 ac_clean_files_save=$ac_clean_files
21497 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21499 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21500 as_write_fail=0
21501 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21502 #! $SHELL
21503 # Generated by $as_me.
21504 # Run this file to recreate the current configuration.
21505 # Compiler output produced by configure, useful for debugging
21506 # configure, is in config.log if it exists.
21507
21508 debug=false
21509 ac_cs_recheck=false
21510 ac_cs_silent=false
21511
21512 SHELL=\${CONFIG_SHELL-$SHELL}
21513 export SHELL
21514 _ASEOF
21515 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21516 ## -------------------- ##
21517 ## M4sh Initialization. ##
21518 ## -------------------- ##
21519
21520 # Be more Bourne compatible
21521 DUALCASE=1; export DUALCASE # for MKS sh
21522 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21523   emulate sh
21524   NULLCMD=:
21525   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21526   # is contrary to our usage.  Disable this feature.
21527   alias -g '${1+"$@"}'='"$@"'
21528   setopt NO_GLOB_SUBST
21529 else
21530   case `(set -o) 2>/dev/null` in #(
21531   *posix*) :
21532     set -o posix ;; #(
21533   *) :
21534      ;;
21535 esac
21536 fi
21537
21538
21539 as_nl='
21540 '
21541 export as_nl
21542 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21543 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21544 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21545 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21546 # Prefer a ksh shell builtin over an external printf program on Solaris,
21547 # but without wasting forks for bash or zsh.
21548 if test -z "$BASH_VERSION$ZSH_VERSION" \
21549     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21550   as_echo='print -r --'
21551   as_echo_n='print -rn --'
21552 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21553   as_echo='printf %s\n'
21554   as_echo_n='printf %s'
21555 else
21556   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21557     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21558     as_echo_n='/usr/ucb/echo -n'
21559   else
21560     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21561     as_echo_n_body='eval
21562       arg=$1;
21563       case $arg in #(
21564       *"$as_nl"*)
21565         expr "X$arg" : "X\\(.*\\)$as_nl";
21566         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21567       esac;
21568       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21569     '
21570     export as_echo_n_body
21571     as_echo_n='sh -c $as_echo_n_body as_echo'
21572   fi
21573   export as_echo_body
21574   as_echo='sh -c $as_echo_body as_echo'
21575 fi
21576
21577 # The user is always right.
21578 if test "${PATH_SEPARATOR+set}" != set; then
21579   PATH_SEPARATOR=:
21580   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21581     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21582       PATH_SEPARATOR=';'
21583   }
21584 fi
21585
21586
21587 # IFS
21588 # We need space, tab and new line, in precisely that order.  Quoting is
21589 # there to prevent editors from complaining about space-tab.
21590 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21591 # splitting by setting IFS to empty value.)
21592 IFS=" ""        $as_nl"
21593
21594 # Find who we are.  Look in the path if we contain no directory separator.
21595 as_myself=
21596 case $0 in #((
21597   *[\\/]* ) as_myself=$0 ;;
21598   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21599 for as_dir in $PATH
21600 do
21601   IFS=$as_save_IFS
21602   test -z "$as_dir" && as_dir=.
21603     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21604   done
21605 IFS=$as_save_IFS
21606
21607      ;;
21608 esac
21609 # We did not find ourselves, most probably we were run as `sh COMMAND'
21610 # in which case we are not to be found in the path.
21611 if test "x$as_myself" = x; then
21612   as_myself=$0
21613 fi
21614 if test ! -f "$as_myself"; then
21615   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21616   exit 1
21617 fi
21618
21619 # Unset variables that we do not need and which cause bugs (e.g. in
21620 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
21621 # suppresses any "Segmentation fault" message there.  '((' could
21622 # trigger a bug in pdksh 5.2.14.
21623 for as_var in BASH_ENV ENV MAIL MAILPATH
21624 do eval test x\${$as_var+set} = xset \
21625   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21626 done
21627 PS1='$ '
21628 PS2='> '
21629 PS4='+ '
21630
21631 # NLS nuisances.
21632 LC_ALL=C
21633 export LC_ALL
21634 LANGUAGE=C
21635 export LANGUAGE
21636
21637 # CDPATH.
21638 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21639
21640
21641 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21642 # ----------------------------------------
21643 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21644 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21645 # script with STATUS, using 1 if that was 0.
21646 as_fn_error ()
21647 {
21648   as_status=$1; test $as_status -eq 0 && as_status=1
21649   if test "$4"; then
21650     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21651     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21652   fi
21653   $as_echo "$as_me: error: $2" >&2
21654   as_fn_exit $as_status
21655 } # as_fn_error
21656
21657
21658 # as_fn_set_status STATUS
21659 # -----------------------
21660 # Set $? to STATUS, without forking.
21661 as_fn_set_status ()
21662 {
21663   return $1
21664 } # as_fn_set_status
21665
21666 # as_fn_exit STATUS
21667 # -----------------
21668 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21669 as_fn_exit ()
21670 {
21671   set +e
21672   as_fn_set_status $1
21673   exit $1
21674 } # as_fn_exit
21675
21676 # as_fn_unset VAR
21677 # ---------------
21678 # Portably unset VAR.
21679 as_fn_unset ()
21680 {
21681   { eval $1=; unset $1;}
21682 }
21683 as_unset=as_fn_unset
21684 # as_fn_append VAR VALUE
21685 # ----------------------
21686 # Append the text in VALUE to the end of the definition contained in VAR. Take
21687 # advantage of any shell optimizations that allow amortized linear growth over
21688 # repeated appends, instead of the typical quadratic growth present in naive
21689 # implementations.
21690 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21691   eval 'as_fn_append ()
21692   {
21693     eval $1+=\$2
21694   }'
21695 else
21696   as_fn_append ()
21697   {
21698     eval $1=\$$1\$2
21699   }
21700 fi # as_fn_append
21701
21702 # as_fn_arith ARG...
21703 # ------------------
21704 # Perform arithmetic evaluation on the ARGs, and store the result in the
21705 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21706 # must be portable across $(()) and expr.
21707 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21708   eval 'as_fn_arith ()
21709   {
21710     as_val=$(( $* ))
21711   }'
21712 else
21713   as_fn_arith ()
21714   {
21715     as_val=`expr "$@" || test $? -eq 1`
21716   }
21717 fi # as_fn_arith
21718
21719
21720 if expr a : '\(a\)' >/dev/null 2>&1 &&
21721    test "X`expr 00001 : '.*\(...\)'`" = X001; then
21722   as_expr=expr
21723 else
21724   as_expr=false
21725 fi
21726
21727 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21728   as_basename=basename
21729 else
21730   as_basename=false
21731 fi
21732
21733 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21734   as_dirname=dirname
21735 else
21736   as_dirname=false
21737 fi
21738
21739 as_me=`$as_basename -- "$0" ||
21740 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21741          X"$0" : 'X\(//\)$' \| \
21742          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21743 $as_echo X/"$0" |
21744     sed '/^.*\/\([^/][^/]*\)\/*$/{
21745             s//\1/
21746             q
21747           }
21748           /^X\/\(\/\/\)$/{
21749             s//\1/
21750             q
21751           }
21752           /^X\/\(\/\).*/{
21753             s//\1/
21754             q
21755           }
21756           s/.*/./; q'`
21757
21758 # Avoid depending upon Character Ranges.
21759 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21760 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21761 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21762 as_cr_digits='0123456789'
21763 as_cr_alnum=$as_cr_Letters$as_cr_digits
21764
21765 ECHO_C= ECHO_N= ECHO_T=
21766 case `echo -n x` in #(((((
21767 -n*)
21768   case `echo 'xy\c'` in
21769   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
21770   xy)  ECHO_C='\c';;
21771   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
21772        ECHO_T=' ';;
21773   esac;;
21774 *)
21775   ECHO_N='-n';;
21776 esac
21777
21778 rm -f conf$$ conf$$.exe conf$$.file
21779 if test -d conf$$.dir; then
21780   rm -f conf$$.dir/conf$$.file
21781 else
21782   rm -f conf$$.dir
21783   mkdir conf$$.dir 2>/dev/null
21784 fi
21785 if (echo >conf$$.file) 2>/dev/null; then
21786   if ln -s conf$$.file conf$$ 2>/dev/null; then
21787     as_ln_s='ln -s'
21788     # ... but there are two gotchas:
21789     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21790     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21791     # In both cases, we have to default to `cp -p'.
21792     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21793       as_ln_s='cp -p'
21794   elif ln conf$$.file conf$$ 2>/dev/null; then
21795     as_ln_s=ln
21796   else
21797     as_ln_s='cp -p'
21798   fi
21799 else
21800   as_ln_s='cp -p'
21801 fi
21802 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21803 rmdir conf$$.dir 2>/dev/null
21804
21805
21806 # as_fn_mkdir_p
21807 # -------------
21808 # Create "$as_dir" as a directory, including parents if necessary.
21809 as_fn_mkdir_p ()
21810 {
21811
21812   case $as_dir in #(
21813   -*) as_dir=./$as_dir;;
21814   esac
21815   test -d "$as_dir" || eval $as_mkdir_p || {
21816     as_dirs=
21817     while :; do
21818       case $as_dir in #(
21819       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21820       *) as_qdir=$as_dir;;
21821       esac
21822       as_dirs="'$as_qdir' $as_dirs"
21823       as_dir=`$as_dirname -- "$as_dir" ||
21824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21825          X"$as_dir" : 'X\(//\)[^/]' \| \
21826          X"$as_dir" : 'X\(//\)$' \| \
21827          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21828 $as_echo X"$as_dir" |
21829     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21830             s//\1/
21831             q
21832           }
21833           /^X\(\/\/\)[^/].*/{
21834             s//\1/
21835             q
21836           }
21837           /^X\(\/\/\)$/{
21838             s//\1/
21839             q
21840           }
21841           /^X\(\/\).*/{
21842             s//\1/
21843             q
21844           }
21845           s/.*/./; q'`
21846       test -d "$as_dir" && break
21847     done
21848     test -z "$as_dirs" || eval "mkdir $as_dirs"
21849   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21850
21851
21852 } # as_fn_mkdir_p
21853 if mkdir -p . 2>/dev/null; then
21854   as_mkdir_p='mkdir -p "$as_dir"'
21855 else
21856   test -d ./-p && rmdir ./-p
21857   as_mkdir_p=false
21858 fi
21859
21860 if test -x / >/dev/null 2>&1; then
21861   as_test_x='test -x'
21862 else
21863   if ls -dL / >/dev/null 2>&1; then
21864     as_ls_L_option=L
21865   else
21866     as_ls_L_option=
21867   fi
21868   as_test_x='
21869     eval sh -c '\''
21870       if test -d "$1"; then
21871         test -d "$1/.";
21872       else
21873         case $1 in #(
21874         -*)set "./$1";;
21875         esac;
21876         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21877         ???[sx]*):;;*)false;;esac;fi
21878     '\'' sh
21879   '
21880 fi
21881 as_executable_p=$as_test_x
21882
21883 # Sed expression to map a string onto a valid CPP name.
21884 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21885
21886 # Sed expression to map a string onto a valid variable name.
21887 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21888
21889
21890 exec 6>&1
21891 ## ----------------------------------- ##
21892 ## Main body of $CONFIG_STATUS script. ##
21893 ## ----------------------------------- ##
21894 _ASEOF
21895 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21896
21897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21898 # Save the log message, to keep $0 and so on meaningful, and to
21899 # report actual input values of CONFIG_FILES etc. instead of their
21900 # values after options handling.
21901 ac_log="
21902 This file was extended by pango $as_me 1.30.0, which was
21903 generated by GNU Autoconf 2.68.  Invocation command line was
21904
21905   CONFIG_FILES    = $CONFIG_FILES
21906   CONFIG_HEADERS  = $CONFIG_HEADERS
21907   CONFIG_LINKS    = $CONFIG_LINKS
21908   CONFIG_COMMANDS = $CONFIG_COMMANDS
21909   $ $0 $@
21910
21911 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21912 "
21913
21914 _ACEOF
21915
21916 case $ac_config_files in *"
21917 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21918 esac
21919
21920 case $ac_config_headers in *"
21921 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21922 esac
21923
21924
21925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21926 # Files that config.status was made for.
21927 config_files="$ac_config_files"
21928 config_headers="$ac_config_headers"
21929 config_commands="$ac_config_commands"
21930
21931 _ACEOF
21932
21933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21934 ac_cs_usage="\
21935 \`$as_me' instantiates files and other configuration actions
21936 from templates according to the current configuration.  Unless the files
21937 and actions are specified as TAGs, all are instantiated by default.
21938
21939 Usage: $0 [OPTION]... [TAG]...
21940
21941   -h, --help       print this help, then exit
21942   -V, --version    print version number and configuration settings, then exit
21943       --config     print configuration, then exit
21944   -q, --quiet, --silent
21945                    do not print progress messages
21946   -d, --debug      don't remove temporary files
21947       --recheck    update $as_me by reconfiguring in the same conditions
21948       --file=FILE[:TEMPLATE]
21949                    instantiate the configuration file FILE
21950       --header=FILE[:TEMPLATE]
21951                    instantiate the configuration header FILE
21952
21953 Configuration files:
21954 $config_files
21955
21956 Configuration headers:
21957 $config_headers
21958
21959 Configuration commands:
21960 $config_commands
21961
21962 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>."
21963
21964 _ACEOF
21965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21966 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21967 ac_cs_version="\\
21968 pango config.status 1.30.0
21969 configured by $0, generated by GNU Autoconf 2.68,
21970   with options \\"\$ac_cs_config\\"
21971
21972 Copyright (C) 2010 Free Software Foundation, Inc.
21973 This config.status script is free software; the Free Software Foundation
21974 gives unlimited permission to copy, distribute and modify it."
21975
21976 ac_pwd='$ac_pwd'
21977 srcdir='$srcdir'
21978 INSTALL='$INSTALL'
21979 MKDIR_P='$MKDIR_P'
21980 AWK='$AWK'
21981 test -n "\$AWK" || AWK=awk
21982 _ACEOF
21983
21984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21985 # The default lists apply if the user does not specify any file.
21986 ac_need_defaults=:
21987 while test $# != 0
21988 do
21989   case $1 in
21990   --*=?*)
21991     ac_option=`expr "X$1" : 'X\([^=]*\)='`
21992     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21993     ac_shift=:
21994     ;;
21995   --*=)
21996     ac_option=`expr "X$1" : 'X\([^=]*\)='`
21997     ac_optarg=
21998     ac_shift=:
21999     ;;
22000   *)
22001     ac_option=$1
22002     ac_optarg=$2
22003     ac_shift=shift
22004     ;;
22005   esac
22006
22007   case $ac_option in
22008   # Handling of the options.
22009   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22010     ac_cs_recheck=: ;;
22011   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22012     $as_echo "$ac_cs_version"; exit ;;
22013   --config | --confi | --conf | --con | --co | --c )
22014     $as_echo "$ac_cs_config"; exit ;;
22015   --debug | --debu | --deb | --de | --d | -d )
22016     debug=: ;;
22017   --file | --fil | --fi | --f )
22018     $ac_shift
22019     case $ac_optarg in
22020     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22021     '') as_fn_error $? "missing file argument" ;;
22022     esac
22023     as_fn_append CONFIG_FILES " '$ac_optarg'"
22024     ac_need_defaults=false;;
22025   --header | --heade | --head | --hea )
22026     $ac_shift
22027     case $ac_optarg in
22028     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22029     esac
22030     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22031     ac_need_defaults=false;;
22032   --he | --h)
22033     # Conflict between --help and --header
22034     as_fn_error $? "ambiguous option: \`$1'
22035 Try \`$0 --help' for more information.";;
22036   --help | --hel | -h )
22037     $as_echo "$ac_cs_usage"; exit ;;
22038   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22039   | -silent | --silent | --silen | --sile | --sil | --si | --s)
22040     ac_cs_silent=: ;;
22041
22042   # This is an error.
22043   -*) as_fn_error $? "unrecognized option: \`$1'
22044 Try \`$0 --help' for more information." ;;
22045
22046   *) as_fn_append ac_config_targets " $1"
22047      ac_need_defaults=false ;;
22048
22049   esac
22050   shift
22051 done
22052
22053 ac_configure_extra_args=
22054
22055 if $ac_cs_silent; then
22056   exec 6>/dev/null
22057   ac_configure_extra_args="$ac_configure_extra_args --silent"
22058 fi
22059
22060 _ACEOF
22061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22062 if \$ac_cs_recheck; then
22063   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22064   shift
22065   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22066   CONFIG_SHELL='$SHELL'
22067   export CONFIG_SHELL
22068   exec "\$@"
22069 fi
22070
22071 _ACEOF
22072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22073 exec 5>>config.log
22074 {
22075   echo
22076   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22077 ## Running $as_me. ##
22078 _ASBOX
22079   $as_echo "$ac_log"
22080 } >&5
22081
22082 _ACEOF
22083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22084 #
22085 # INIT-COMMANDS
22086 #
22087 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22088
22089
22090 # The HP-UX ksh and POSIX shell print the target directory to stdout
22091 # if CDPATH is set.
22092 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22093
22094 sed_quote_subst='$sed_quote_subst'
22095 double_quote_subst='$double_quote_subst'
22096 delay_variable_subst='$delay_variable_subst'
22097 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
22098 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22099 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22100 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22101 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22102 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22103 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22104 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22105 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22106 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22107 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22108 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22109 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22110 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22111 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22112 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22113 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22114 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22115 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22116 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22117 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22118 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22119 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22120 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22121 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22122 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22123 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22124 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22125 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22126 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22127 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22128 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22129 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22130 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22131 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22132 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22133 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22134 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22135 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22136 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22137 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22138 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22139 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22140 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22141 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22142 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22143 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22144 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22145 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22146 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22147 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22148 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22149 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22150 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22151 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22152 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22153 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22154 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"`'
22155 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22156 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22157 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22158 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22159 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22160 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22161 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22162 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22163 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22164 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22165 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22166 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22167 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22168 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22169 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22170 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22171 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22172 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22173 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22174 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22175 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22176 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22177 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22178 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22179 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22180 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22181 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22182 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22183 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22184 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22185 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22186 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22187 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22188 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22189 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22190 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22191 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22192 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22193 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22194 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22195 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22196 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22197 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22198 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22199 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22200 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22201 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22202 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22203 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22204 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22205 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22206 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22207 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22208 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22209 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22210 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22211 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22212 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22213 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22214 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22215 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22216 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22217 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22218 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22219 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22220 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22221 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22222 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22223 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22224 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22225 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22226 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22227 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22228 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22229 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22230 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22231 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22232 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22233 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22234 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22235 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22236 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22237 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22238 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22239 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22240 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22241 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22242 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22243 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22244 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22245 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22246 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22247 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22248 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22249 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22250 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22251 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22252 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22253 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22254 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22255 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22256 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22257 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22258 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22259 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22260 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22261 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22262 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22263 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22264 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22265 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22266 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22267 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22268 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22269 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22270 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22271 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22272 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22273 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22274 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22275 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22276 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22277 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22278 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22279 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22280 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22281 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22282
22283 LTCC='$LTCC'
22284 LTCFLAGS='$LTCFLAGS'
22285 compiler='$compiler_DEFAULT'
22286
22287 # A function that is used when there is no print builtin or printf.
22288 func_fallback_echo ()
22289 {
22290   eval 'cat <<_LTECHO_EOF
22291 \$1
22292 _LTECHO_EOF'
22293 }
22294
22295 # Quote evaled strings.
22296 for var in AS \
22297 DLLTOOL \
22298 OBJDUMP \
22299 SHELL \
22300 ECHO \
22301 PATH_SEPARATOR \
22302 SED \
22303 GREP \
22304 EGREP \
22305 FGREP \
22306 LD \
22307 NM \
22308 LN_S \
22309 lt_SP2NL \
22310 lt_NL2SP \
22311 reload_flag \
22312 deplibs_check_method \
22313 file_magic_cmd \
22314 file_magic_glob \
22315 want_nocaseglob \
22316 sharedlib_from_linklib_cmd \
22317 AR \
22318 AR_FLAGS \
22319 archiver_list_spec \
22320 STRIP \
22321 RANLIB \
22322 CC \
22323 CFLAGS \
22324 compiler \
22325 lt_cv_sys_global_symbol_pipe \
22326 lt_cv_sys_global_symbol_to_cdecl \
22327 lt_cv_sys_global_symbol_to_c_name_address \
22328 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22329 nm_file_list_spec \
22330 lt_prog_compiler_no_builtin_flag \
22331 lt_prog_compiler_pic \
22332 lt_prog_compiler_wl \
22333 lt_prog_compiler_static \
22334 lt_cv_prog_compiler_c_o \
22335 need_locks \
22336 MANIFEST_TOOL \
22337 DSYMUTIL \
22338 NMEDIT \
22339 LIPO \
22340 OTOOL \
22341 OTOOL64 \
22342 shrext_cmds \
22343 export_dynamic_flag_spec \
22344 whole_archive_flag_spec \
22345 compiler_needs_object \
22346 with_gnu_ld \
22347 allow_undefined_flag \
22348 no_undefined_flag \
22349 hardcode_libdir_flag_spec \
22350 hardcode_libdir_separator \
22351 exclude_expsyms \
22352 include_expsyms \
22353 file_list_spec \
22354 variables_saved_for_relink \
22355 libname_spec \
22356 library_names_spec \
22357 soname_spec \
22358 install_override_mode \
22359 finish_eval \
22360 old_striplib \
22361 striplib \
22362 compiler_lib_search_dirs \
22363 predep_objects \
22364 postdep_objects \
22365 predeps \
22366 postdeps \
22367 compiler_lib_search_path \
22368 LD_CXX \
22369 reload_flag_CXX \
22370 compiler_CXX \
22371 lt_prog_compiler_no_builtin_flag_CXX \
22372 lt_prog_compiler_pic_CXX \
22373 lt_prog_compiler_wl_CXX \
22374 lt_prog_compiler_static_CXX \
22375 lt_cv_prog_compiler_c_o_CXX \
22376 export_dynamic_flag_spec_CXX \
22377 whole_archive_flag_spec_CXX \
22378 compiler_needs_object_CXX \
22379 with_gnu_ld_CXX \
22380 allow_undefined_flag_CXX \
22381 no_undefined_flag_CXX \
22382 hardcode_libdir_flag_spec_CXX \
22383 hardcode_libdir_separator_CXX \
22384 exclude_expsyms_CXX \
22385 include_expsyms_CXX \
22386 file_list_spec_CXX \
22387 compiler_lib_search_dirs_CXX \
22388 predep_objects_CXX \
22389 postdep_objects_CXX \
22390 predeps_CXX \
22391 postdeps_CXX \
22392 compiler_lib_search_path_CXX; do
22393     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22394     *[\\\\\\\`\\"\\\$]*)
22395       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22396       ;;
22397     *)
22398       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22399       ;;
22400     esac
22401 done
22402
22403 # Double-quote double-evaled strings.
22404 for var in reload_cmds \
22405 old_postinstall_cmds \
22406 old_postuninstall_cmds \
22407 old_archive_cmds \
22408 extract_expsyms_cmds \
22409 old_archive_from_new_cmds \
22410 old_archive_from_expsyms_cmds \
22411 archive_cmds \
22412 archive_expsym_cmds \
22413 module_cmds \
22414 module_expsym_cmds \
22415 export_symbols_cmds \
22416 prelink_cmds \
22417 postlink_cmds \
22418 postinstall_cmds \
22419 postuninstall_cmds \
22420 finish_cmds \
22421 sys_lib_search_path_spec \
22422 sys_lib_dlsearch_path_spec \
22423 reload_cmds_CXX \
22424 old_archive_cmds_CXX \
22425 old_archive_from_new_cmds_CXX \
22426 old_archive_from_expsyms_cmds_CXX \
22427 archive_cmds_CXX \
22428 archive_expsym_cmds_CXX \
22429 module_cmds_CXX \
22430 module_expsym_cmds_CXX \
22431 export_symbols_cmds_CXX \
22432 prelink_cmds_CXX \
22433 postlink_cmds_CXX; do
22434     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22435     *[\\\\\\\`\\"\\\$]*)
22436       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22437       ;;
22438     *)
22439       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22440       ;;
22441     esac
22442 done
22443
22444 ac_aux_dir='$ac_aux_dir'
22445 xsi_shell='$xsi_shell'
22446 lt_shell_append='$lt_shell_append'
22447
22448 # See if we are running on zsh, and set the options which allow our
22449 # commands through without removal of \ escapes INIT.
22450 if test -n "\${ZSH_VERSION+set}" ; then
22451    setopt NO_GLOB_SUBST
22452 fi
22453
22454
22455     PACKAGE='$PACKAGE'
22456     VERSION='$VERSION'
22457     TIMESTAMP='$TIMESTAMP'
22458     RM='$RM'
22459     ofile='$ofile'
22460
22461
22462
22463 ac_aux_dir='$ac_aux_dir'
22464
22465
22466
22467 included_modules=$included_modules
22468
22469
22470         PANGO_VERSION_MAJOR=$PANGO_VERSION_MAJOR
22471         PANGO_VERSION_MINOR=$PANGO_VERSION_MINOR
22472         PANGO_VERSION_MICRO=$PANGO_VERSION_MICRO
22473
22474
22475 _ACEOF
22476
22477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22478
22479 # Handling of arguments.
22480 for ac_config_target in $ac_config_targets
22481 do
22482   case $ac_config_target in
22483     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22484     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22485     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22486     "pango/module-defs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs.h" ;;
22487     "pango/module-defs-x.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-x.c" ;;
22488     "pango/module-defs-fc.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-fc.c" ;;
22489     "pango/module-defs-win32.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-win32.c" ;;
22490     "pango/module-defs-atsui.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-atsui.c" ;;
22491     "pango/module-defs-coretext.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-coretext.c" ;;
22492     "pango/module-defs-lang.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-lang.c" ;;
22493     "pango/pango-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/pango-features.h" ;;
22494     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22495     "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;;
22496     "pango/mini-fribidi/Makefile") CONFIG_FILES="$CONFIG_FILES pango/mini-fribidi/Makefile" ;;
22497     "pango/opentype/Makefile") CONFIG_FILES="$CONFIG_FILES pango/opentype/Makefile" ;;
22498     "pango/pango.rc") CONFIG_FILES="$CONFIG_FILES pango/pango.rc" ;;
22499     "pango/pangoft2.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoft2.rc" ;;
22500     "pango/pangowin32.rc") CONFIG_FILES="$CONFIG_FILES pango/pangowin32.rc" ;;
22501     "pango/pangocairo.rc") CONFIG_FILES="$CONFIG_FILES pango/pangocairo.rc" ;;
22502     "pango/pangox.rc") CONFIG_FILES="$CONFIG_FILES pango/pangox.rc" ;;
22503     "pango/pangoxft.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoxft.rc" ;;
22504     "pango-view/Makefile") CONFIG_FILES="$CONFIG_FILES pango-view/Makefile" ;;
22505     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
22506     "modules/arabic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/arabic/Makefile" ;;
22507     "modules/basic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/basic/Makefile" ;;
22508     "modules/hangul/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hangul/Makefile" ;;
22509     "modules/hebrew/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hebrew/Makefile" ;;
22510     "modules/indic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/indic/Makefile" ;;
22511     "modules/khmer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/khmer/Makefile" ;;
22512     "modules/syriac/Makefile") CONFIG_FILES="$CONFIG_FILES modules/syriac/Makefile" ;;
22513     "modules/thai/Makefile") CONFIG_FILES="$CONFIG_FILES modules/thai/Makefile" ;;
22514     "modules/tibetan/Makefile") CONFIG_FILES="$CONFIG_FILES modules/tibetan/Makefile" ;;
22515     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22516     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
22517     "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
22518     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22519     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22520     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
22521     "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
22522     "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
22523     "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
22524     "pango.pc") CONFIG_FILES="$CONFIG_FILES pango.pc" ;;
22525     "pangox.pc") CONFIG_FILES="$CONFIG_FILES pangox.pc" ;;
22526     "pangowin32.pc") CONFIG_FILES="$CONFIG_FILES pangowin32.pc" ;;
22527     "pangoft2.pc") CONFIG_FILES="$CONFIG_FILES pangoft2.pc" ;;
22528     "pangoxft.pc") CONFIG_FILES="$CONFIG_FILES pangoxft.pc" ;;
22529     "pangocairo.pc") CONFIG_FILES="$CONFIG_FILES pangocairo.pc" ;;
22530     "pango-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pango-uninstalled.pc" ;;
22531     "pangox-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangox-uninstalled.pc" ;;
22532     "pangowin32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangowin32-uninstalled.pc" ;;
22533     "pangoft2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoft2-uninstalled.pc" ;;
22534     "pangoxft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoxft-uninstalled.pc" ;;
22535     "pangocairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangocairo-uninstalled.pc" ;;
22536     "pango-zip.sh") CONFIG_FILES="$CONFIG_FILES pango-zip.sh" ;;
22537     "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
22538     "tests/runtests.sh") CONFIG_FILES="$CONFIG_FILES tests/runtests.sh" ;;
22539
22540   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22541   esac
22542 done
22543
22544
22545 # If the user did not use the arguments to specify the items to instantiate,
22546 # then the envvar interface is used.  Set only those that are not.
22547 # We use the long form for the default assignment because of an extremely
22548 # bizarre bug on SunOS 4.1.3.
22549 if $ac_need_defaults; then
22550   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22551   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22552   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22553 fi
22554
22555 # Have a temporary directory for convenience.  Make it in the build tree
22556 # simply because there is no reason against having it here, and in addition,
22557 # creating and moving files from /tmp can sometimes cause problems.
22558 # Hook for its removal unless debugging.
22559 # Note that there is a small window in which the directory will not be cleaned:
22560 # after its creation but before its name has been assigned to `$tmp'.
22561 $debug ||
22562 {
22563   tmp= ac_tmp=
22564   trap 'exit_status=$?
22565   : "${ac_tmp:=$tmp}"
22566   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22567 ' 0
22568   trap 'as_fn_exit 1' 1 2 13 15
22569 }
22570 # Create a (secure) tmp directory for tmp files.
22571
22572 {
22573   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22574   test -d "$tmp"
22575 }  ||
22576 {
22577   tmp=./conf$$-$RANDOM
22578   (umask 077 && mkdir "$tmp")
22579 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22580 ac_tmp=$tmp
22581
22582 # Set up the scripts for CONFIG_FILES section.
22583 # No need to generate them if there are no CONFIG_FILES.
22584 # This happens for instance with `./config.status config.h'.
22585 if test -n "$CONFIG_FILES"; then
22586
22587
22588 ac_cr=`echo X | tr X '\015'`
22589 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22590 # But we know of no other shell where ac_cr would be empty at this
22591 # point, so we can use a bashism as a fallback.
22592 if test "x$ac_cr" = x; then
22593   eval ac_cr=\$\'\\r\'
22594 fi
22595 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22596 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22597   ac_cs_awk_cr='\\r'
22598 else
22599   ac_cs_awk_cr=$ac_cr
22600 fi
22601
22602 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22603 _ACEOF
22604
22605
22606 {
22607   echo "cat >conf$$subs.awk <<_ACEOF" &&
22608   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22609   echo "_ACEOF"
22610 } >conf$$subs.sh ||
22611   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22612 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22613 ac_delim='%!_!# '
22614 for ac_last_try in false false false false false :; do
22615   . ./conf$$subs.sh ||
22616     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22617
22618   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22619   if test $ac_delim_n = $ac_delim_num; then
22620     break
22621   elif $ac_last_try; then
22622     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22623   else
22624     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22625   fi
22626 done
22627 rm -f conf$$subs.sh
22628
22629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22630 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22631 _ACEOF
22632 sed -n '
22633 h
22634 s/^/S["/; s/!.*/"]=/
22635 p
22636 g
22637 s/^[^!]*!//
22638 :repl
22639 t repl
22640 s/'"$ac_delim"'$//
22641 t delim
22642 :nl
22643 h
22644 s/\(.\{148\}\)..*/\1/
22645 t more1
22646 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22647 p
22648 n
22649 b repl
22650 :more1
22651 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22652 p
22653 g
22654 s/.\{148\}//
22655 t nl
22656 :delim
22657 h
22658 s/\(.\{148\}\)..*/\1/
22659 t more2
22660 s/["\\]/\\&/g; s/^/"/; s/$/"/
22661 p
22662 b
22663 :more2
22664 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22665 p
22666 g
22667 s/.\{148\}//
22668 t delim
22669 ' <conf$$subs.awk | sed '
22670 /^[^""]/{
22671   N
22672   s/\n//
22673 }
22674 ' >>$CONFIG_STATUS || ac_write_fail=1
22675 rm -f conf$$subs.awk
22676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22677 _ACAWK
22678 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22679   for (key in S) S_is_set[key] = 1
22680   FS = "\a"
22681
22682 }
22683 {
22684   line = $ 0
22685   nfields = split(line, field, "@")
22686   substed = 0
22687   len = length(field[1])
22688   for (i = 2; i < nfields; i++) {
22689     key = field[i]
22690     keylen = length(key)
22691     if (S_is_set[key]) {
22692       value = S[key]
22693       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22694       len += length(value) + length(field[++i])
22695       substed = 1
22696     } else
22697       len += 1 + keylen
22698   }
22699
22700   print line
22701 }
22702
22703 _ACAWK
22704 _ACEOF
22705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22706 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22707   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22708 else
22709   cat
22710 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22711   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22712 _ACEOF
22713
22714 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22715 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22716 # trailing colons and then remove the whole line if VPATH becomes empty
22717 # (actually we leave an empty line to preserve line numbers).
22718 if test "x$srcdir" = x.; then
22719   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
22720 h
22721 s///
22722 s/^/:/
22723 s/[      ]*$/:/
22724 s/:\$(srcdir):/:/g
22725 s/:\${srcdir}:/:/g
22726 s/:@srcdir@:/:/g
22727 s/^:*//
22728 s/:*$//
22729 x
22730 s/\(=[   ]*\).*/\1/
22731 G
22732 s/\n//
22733 s/^[^=]*=[       ]*$//
22734 }'
22735 fi
22736
22737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22738 fi # test -n "$CONFIG_FILES"
22739
22740 # Set up the scripts for CONFIG_HEADERS section.
22741 # No need to generate them if there are no CONFIG_HEADERS.
22742 # This happens for instance with `./config.status Makefile'.
22743 if test -n "$CONFIG_HEADERS"; then
22744 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22745 BEGIN {
22746 _ACEOF
22747
22748 # Transform confdefs.h into an awk script `defines.awk', embedded as
22749 # here-document in config.status, that substitutes the proper values into
22750 # config.h.in to produce config.h.
22751
22752 # Create a delimiter string that does not exist in confdefs.h, to ease
22753 # handling of long lines.
22754 ac_delim='%!_!# '
22755 for ac_last_try in false false :; do
22756   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22757   if test -z "$ac_tt"; then
22758     break
22759   elif $ac_last_try; then
22760     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22761   else
22762     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22763   fi
22764 done
22765
22766 # For the awk script, D is an array of macro values keyed by name,
22767 # likewise P contains macro parameters if any.  Preserve backslash
22768 # newline sequences.
22769
22770 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22771 sed -n '
22772 s/.\{148\}/&'"$ac_delim"'/g
22773 t rset
22774 :rset
22775 s/^[     ]*#[    ]*define[       ][      ]*/ /
22776 t def
22777 d
22778 :def
22779 s/\\$//
22780 t bsnl
22781 s/["\\]/\\&/g
22782 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
22783 D["\1"]=" \3"/p
22784 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
22785 d
22786 :bsnl
22787 s/["\\]/\\&/g
22788 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
22789 D["\1"]=" \3\\\\\\n"\\/p
22790 t cont
22791 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22792 t cont
22793 d
22794 :cont
22795 n
22796 s/.\{148\}/&'"$ac_delim"'/g
22797 t clear
22798 :clear
22799 s/\\$//
22800 t bsnlc
22801 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22802 d
22803 :bsnlc
22804 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22805 b cont
22806 ' <confdefs.h | sed '
22807 s/'"$ac_delim"'/"\\\
22808 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22809
22810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22811   for (key in D) D_is_set[key] = 1
22812   FS = "\a"
22813 }
22814 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22815   line = \$ 0
22816   split(line, arg, " ")
22817   if (arg[1] == "#") {
22818     defundef = arg[2]
22819     mac1 = arg[3]
22820   } else {
22821     defundef = substr(arg[1], 2)
22822     mac1 = arg[2]
22823   }
22824   split(mac1, mac2, "(") #)
22825   macro = mac2[1]
22826   prefix = substr(line, 1, index(line, defundef) - 1)
22827   if (D_is_set[macro]) {
22828     # Preserve the white space surrounding the "#".
22829     print prefix "define", macro P[macro] D[macro]
22830     next
22831   } else {
22832     # Replace #undef with comments.  This is necessary, for example,
22833     # in the case of _POSIX_SOURCE, which is predefined and required
22834     # on some systems where configure will not decide to define it.
22835     if (defundef == "undef") {
22836       print "/*", prefix defundef, macro, "*/"
22837       next
22838     }
22839   }
22840 }
22841 { print }
22842 _ACAWK
22843 _ACEOF
22844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22845   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22846 fi # test -n "$CONFIG_HEADERS"
22847
22848
22849 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
22850 shift
22851 for ac_tag
22852 do
22853   case $ac_tag in
22854   :[FHLC]) ac_mode=$ac_tag; continue;;
22855   esac
22856   case $ac_mode$ac_tag in
22857   :[FHL]*:*);;
22858   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22859   :[FH]-) ac_tag=-:-;;
22860   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22861   esac
22862   ac_save_IFS=$IFS
22863   IFS=:
22864   set x $ac_tag
22865   IFS=$ac_save_IFS
22866   shift
22867   ac_file=$1
22868   shift
22869
22870   case $ac_mode in
22871   :L) ac_source=$1;;
22872   :[FH])
22873     ac_file_inputs=
22874     for ac_f
22875     do
22876       case $ac_f in
22877       -) ac_f="$ac_tmp/stdin";;
22878       *) # Look for the file first in the build tree, then in the source tree
22879          # (if the path is not absolute).  The absolute path cannot be DOS-style,
22880          # because $ac_f cannot contain `:'.
22881          test -f "$ac_f" ||
22882            case $ac_f in
22883            [\\/$]*) false;;
22884            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22885            esac ||
22886            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22887       esac
22888       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22889       as_fn_append ac_file_inputs " '$ac_f'"
22890     done
22891
22892     # Let's still pretend it is `configure' which instantiates (i.e., don't
22893     # use $as_me), people would be surprised to read:
22894     #    /* config.h.  Generated by config.status.  */
22895     configure_input='Generated from '`
22896           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22897         `' by configure.'
22898     if test x"$ac_file" != x-; then
22899       configure_input="$ac_file.  $configure_input"
22900       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22901 $as_echo "$as_me: creating $ac_file" >&6;}
22902     fi
22903     # Neutralize special characters interpreted by sed in replacement strings.
22904     case $configure_input in #(
22905     *\&* | *\|* | *\\* )
22906        ac_sed_conf_input=`$as_echo "$configure_input" |
22907        sed 's/[\\\\&|]/\\\\&/g'`;; #(
22908     *) ac_sed_conf_input=$configure_input;;
22909     esac
22910
22911     case $ac_tag in
22912     *:-:* | *:-) cat >"$ac_tmp/stdin" \
22913       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22914     esac
22915     ;;
22916   esac
22917
22918   ac_dir=`$as_dirname -- "$ac_file" ||
22919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22920          X"$ac_file" : 'X\(//\)[^/]' \| \
22921          X"$ac_file" : 'X\(//\)$' \| \
22922          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22923 $as_echo X"$ac_file" |
22924     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22925             s//\1/
22926             q
22927           }
22928           /^X\(\/\/\)[^/].*/{
22929             s//\1/
22930             q
22931           }
22932           /^X\(\/\/\)$/{
22933             s//\1/
22934             q
22935           }
22936           /^X\(\/\).*/{
22937             s//\1/
22938             q
22939           }
22940           s/.*/./; q'`
22941   as_dir="$ac_dir"; as_fn_mkdir_p
22942   ac_builddir=.
22943
22944 case "$ac_dir" in
22945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22946 *)
22947   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22948   # A ".." for each directory in $ac_dir_suffix.
22949   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22950   case $ac_top_builddir_sub in
22951   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22952   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22953   esac ;;
22954 esac
22955 ac_abs_top_builddir=$ac_pwd
22956 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22957 # for backward compatibility:
22958 ac_top_builddir=$ac_top_build_prefix
22959
22960 case $srcdir in
22961   .)  # We are building in place.
22962     ac_srcdir=.
22963     ac_top_srcdir=$ac_top_builddir_sub
22964     ac_abs_top_srcdir=$ac_pwd ;;
22965   [\\/]* | ?:[\\/]* )  # Absolute name.
22966     ac_srcdir=$srcdir$ac_dir_suffix;
22967     ac_top_srcdir=$srcdir
22968     ac_abs_top_srcdir=$srcdir ;;
22969   *) # Relative name.
22970     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22971     ac_top_srcdir=$ac_top_build_prefix$srcdir
22972     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22973 esac
22974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22975
22976
22977   case $ac_mode in
22978   :F)
22979   #
22980   # CONFIG_FILE
22981   #
22982
22983   case $INSTALL in
22984   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22985   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22986   esac
22987   ac_MKDIR_P=$MKDIR_P
22988   case $MKDIR_P in
22989   [\\/$]* | ?:[\\/]* ) ;;
22990   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22991   esac
22992 _ACEOF
22993
22994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22995 # If the template does not know about datarootdir, expand it.
22996 # FIXME: This hack should be removed a few years after 2.60.
22997 ac_datarootdir_hack=; ac_datarootdir_seen=
22998 ac_sed_dataroot='
22999 /datarootdir/ {
23000   p
23001   q
23002 }
23003 /@datadir@/p
23004 /@docdir@/p
23005 /@infodir@/p
23006 /@localedir@/p
23007 /@mandir@/p'
23008 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23009 *datarootdir*) ac_datarootdir_seen=yes;;
23010 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23011   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23012 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23013 _ACEOF
23014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23015   ac_datarootdir_hack='
23016   s&@datadir@&$datadir&g
23017   s&@docdir@&$docdir&g
23018   s&@infodir@&$infodir&g
23019   s&@localedir@&$localedir&g
23020   s&@mandir@&$mandir&g
23021   s&\\\${datarootdir}&$datarootdir&g' ;;
23022 esac
23023 _ACEOF
23024
23025 # Neutralize VPATH when `$srcdir' = `.'.
23026 # Shell code in configure.ac might set extrasub.
23027 # FIXME: do we really want to maintain this feature?
23028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23029 ac_sed_extra="$ac_vpsub
23030 $extrasub
23031 _ACEOF
23032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23033 :t
23034 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23035 s|@configure_input@|$ac_sed_conf_input|;t t
23036 s&@top_builddir@&$ac_top_builddir_sub&;t t
23037 s&@top_build_prefix@&$ac_top_build_prefix&;t t
23038 s&@srcdir@&$ac_srcdir&;t t
23039 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23040 s&@top_srcdir@&$ac_top_srcdir&;t t
23041 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23042 s&@builddir@&$ac_builddir&;t t
23043 s&@abs_builddir@&$ac_abs_builddir&;t t
23044 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23045 s&@INSTALL@&$ac_INSTALL&;t t
23046 s&@MKDIR_P@&$ac_MKDIR_P&;t t
23047 $ac_datarootdir_hack
23048 "
23049 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
23050   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23051
23052 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23053   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
23054   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
23055       "$ac_tmp/out"`; test -z "$ac_out"; } &&
23056   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23057 which seems to be undefined.  Please make sure it is defined" >&5
23058 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23059 which seems to be undefined.  Please make sure it is defined" >&2;}
23060
23061   rm -f "$ac_tmp/stdin"
23062   case $ac_file in
23063   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23064   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23065   esac \
23066   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23067  ;;
23068   :H)
23069   #
23070   # CONFIG_HEADER
23071   #
23072   if test x"$ac_file" != x-; then
23073     {
23074       $as_echo "/* $configure_input  */" \
23075       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23076     } >"$ac_tmp/config.h" \
23077       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23078     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23079       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23080 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23081     else
23082       rm -f "$ac_file"
23083       mv "$ac_tmp/config.h" "$ac_file" \
23084         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23085     fi
23086   else
23087     $as_echo "/* $configure_input  */" \
23088       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23089       || as_fn_error $? "could not create -" "$LINENO" 5
23090   fi
23091 # Compute "$ac_file"'s index in $config_headers.
23092 _am_arg="$ac_file"
23093 _am_stamp_count=1
23094 for _am_header in $config_headers :; do
23095   case $_am_header in
23096     $_am_arg | $_am_arg:* )
23097       break ;;
23098     * )
23099       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23100   esac
23101 done
23102 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23103 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23104          X"$_am_arg" : 'X\(//\)[^/]' \| \
23105          X"$_am_arg" : 'X\(//\)$' \| \
23106          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23107 $as_echo X"$_am_arg" |
23108     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23109             s//\1/
23110             q
23111           }
23112           /^X\(\/\/\)[^/].*/{
23113             s//\1/
23114             q
23115           }
23116           /^X\(\/\/\)$/{
23117             s//\1/
23118             q
23119           }
23120           /^X\(\/\).*/{
23121             s//\1/
23122             q
23123           }
23124           s/.*/./; q'`/stamp-h$_am_stamp_count
23125  ;;
23126
23127   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23128 $as_echo "$as_me: executing $ac_file commands" >&6;}
23129  ;;
23130   esac
23131
23132
23133   case $ac_file$ac_mode in
23134     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23135   # Autoconf 2.62 quotes --file arguments for eval, but not when files
23136   # are listed without --file.  Let's play safe and only enable the eval
23137   # if we detect the quoting.
23138   case $CONFIG_FILES in
23139   *\'*) eval set x "$CONFIG_FILES" ;;
23140   *)   set x $CONFIG_FILES ;;
23141   esac
23142   shift
23143   for mf
23144   do
23145     # Strip MF so we end up with the name of the file.
23146     mf=`echo "$mf" | sed -e 's/:.*$//'`
23147     # Check whether this is an Automake generated Makefile or not.
23148     # We used to match only the files named `Makefile.in', but
23149     # some people rename them; so instead we look at the file content.
23150     # Grep'ing the first line is not enough: some people post-process
23151     # each Makefile.in and add a new line on top of each file to say so.
23152     # Grep'ing the whole file is not good either: AIX grep has a line
23153     # limit of 2048, but all sed's we know have understand at least 4000.
23154     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23155       dirpart=`$as_dirname -- "$mf" ||
23156 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23157          X"$mf" : 'X\(//\)[^/]' \| \
23158          X"$mf" : 'X\(//\)$' \| \
23159          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23160 $as_echo X"$mf" |
23161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23162             s//\1/
23163             q
23164           }
23165           /^X\(\/\/\)[^/].*/{
23166             s//\1/
23167             q
23168           }
23169           /^X\(\/\/\)$/{
23170             s//\1/
23171             q
23172           }
23173           /^X\(\/\).*/{
23174             s//\1/
23175             q
23176           }
23177           s/.*/./; q'`
23178     else
23179       continue
23180     fi
23181     # Extract the definition of DEPDIR, am__include, and am__quote
23182     # from the Makefile without running `make'.
23183     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23184     test -z "$DEPDIR" && continue
23185     am__include=`sed -n 's/^am__include = //p' < "$mf"`
23186     test -z "am__include" && continue
23187     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23188     # When using ansi2knr, U may be empty or an underscore; expand it
23189     U=`sed -n 's/^U = //p' < "$mf"`
23190     # Find all dependency output files, they are included files with
23191     # $(DEPDIR) in their names.  We invoke sed twice because it is the
23192     # simplest approach to changing $(DEPDIR) to its actual value in the
23193     # expansion.
23194     for file in `sed -n "
23195       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23196          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23197       # Make sure the directory exists.
23198       test -f "$dirpart/$file" && continue
23199       fdir=`$as_dirname -- "$file" ||
23200 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23201          X"$file" : 'X\(//\)[^/]' \| \
23202          X"$file" : 'X\(//\)$' \| \
23203          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23204 $as_echo X"$file" |
23205     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23206             s//\1/
23207             q
23208           }
23209           /^X\(\/\/\)[^/].*/{
23210             s//\1/
23211             q
23212           }
23213           /^X\(\/\/\)$/{
23214             s//\1/
23215             q
23216           }
23217           /^X\(\/\).*/{
23218             s//\1/
23219             q
23220           }
23221           s/.*/./; q'`
23222       as_dir=$dirpart/$fdir; as_fn_mkdir_p
23223       # echo "creating $dirpart/$file"
23224       echo '# dummy' > "$dirpart/$file"
23225     done
23226   done
23227 }
23228  ;;
23229     "libtool":C)
23230
23231     # See if we are running on zsh, and set the options which allow our
23232     # commands through without removal of \ escapes.
23233     if test -n "${ZSH_VERSION+set}" ; then
23234       setopt NO_GLOB_SUBST
23235     fi
23236
23237     cfgfile="${ofile}T"
23238     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23239     $RM "$cfgfile"
23240
23241     cat <<_LT_EOF >> "$cfgfile"
23242 #! $SHELL
23243
23244 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23245 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23246 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23247 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23248 #
23249 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23250 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23251 #                 Foundation, Inc.
23252 #   Written by Gordon Matzigkeit, 1996
23253 #
23254 #   This file is part of GNU Libtool.
23255 #
23256 # GNU Libtool is free software; you can redistribute it and/or
23257 # modify it under the terms of the GNU General Public License as
23258 # published by the Free Software Foundation; either version 2 of
23259 # the License, or (at your option) any later version.
23260 #
23261 # As a special exception to the GNU General Public License,
23262 # if you distribute this file as part of a program or library that
23263 # is built using GNU Libtool, you may include this file under the
23264 # same distribution terms that you use for the rest of that program.
23265 #
23266 # GNU Libtool is distributed in the hope that it will be useful,
23267 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23268 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23269 # GNU General Public License for more details.
23270 #
23271 # You should have received a copy of the GNU General Public License
23272 # along with GNU Libtool; see the file COPYING.  If not, a copy
23273 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23274 # obtained by writing to the Free Software Foundation, Inc.,
23275 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23276
23277
23278 # The names of the tagged configurations supported by this script.
23279 available_tags="CXX "
23280
23281 # ### BEGIN LIBTOOL CONFIG
23282
23283 # Assembler program.
23284 AS=$lt_AS
23285
23286 # DLL creation program.
23287 DLLTOOL=$lt_DLLTOOL
23288
23289 # Object dumper program.
23290 OBJDUMP=$lt_OBJDUMP
23291
23292 # Whether or not to build static libraries.
23293 build_old_libs=$enable_static
23294
23295 # Which release of libtool.m4 was used?
23296 macro_version=$macro_version
23297 macro_revision=$macro_revision
23298
23299 # Whether or not to build shared libraries.
23300 build_libtool_libs=$enable_shared
23301
23302 # What type of objects to build.
23303 pic_mode=$pic_mode
23304
23305 # Whether or not to optimize for fast installation.
23306 fast_install=$enable_fast_install
23307
23308 # Shell to use when invoking shell scripts.
23309 SHELL=$lt_SHELL
23310
23311 # An echo program that protects backslashes.
23312 ECHO=$lt_ECHO
23313
23314 # The PATH separator for the build system.
23315 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23316
23317 # The host system.
23318 host_alias=$host_alias
23319 host=$host
23320 host_os=$host_os
23321
23322 # The build system.
23323 build_alias=$build_alias
23324 build=$build
23325 build_os=$build_os
23326
23327 # A sed program that does not truncate output.
23328 SED=$lt_SED
23329
23330 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23331 Xsed="\$SED -e 1s/^X//"
23332
23333 # A grep program that handles long lines.
23334 GREP=$lt_GREP
23335
23336 # An ERE matcher.
23337 EGREP=$lt_EGREP
23338
23339 # A literal string matcher.
23340 FGREP=$lt_FGREP
23341
23342 # A BSD- or MS-compatible name lister.
23343 NM=$lt_NM
23344
23345 # Whether we need soft or hard links.
23346 LN_S=$lt_LN_S
23347
23348 # What is the maximum length of a command?
23349 max_cmd_len=$max_cmd_len
23350
23351 # Object file suffix (normally "o").
23352 objext=$ac_objext
23353
23354 # Executable file suffix (normally "").
23355 exeext=$exeext
23356
23357 # whether the shell understands "unset".
23358 lt_unset=$lt_unset
23359
23360 # turn spaces into newlines.
23361 SP2NL=$lt_lt_SP2NL
23362
23363 # turn newlines into spaces.
23364 NL2SP=$lt_lt_NL2SP
23365
23366 # convert \$build file names to \$host format.
23367 to_host_file_cmd=$lt_cv_to_host_file_cmd
23368
23369 # convert \$build files to toolchain format.
23370 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23371
23372 # Method to check whether dependent libraries are shared objects.
23373 deplibs_check_method=$lt_deplibs_check_method
23374
23375 # Command to use when deplibs_check_method = "file_magic".
23376 file_magic_cmd=$lt_file_magic_cmd
23377
23378 # How to find potential files when deplibs_check_method = "file_magic".
23379 file_magic_glob=$lt_file_magic_glob
23380
23381 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23382 want_nocaseglob=$lt_want_nocaseglob
23383
23384 # Command to associate shared and link libraries.
23385 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23386
23387 # The archiver.
23388 AR=$lt_AR
23389
23390 # Flags to create an archive.
23391 AR_FLAGS=$lt_AR_FLAGS
23392
23393 # How to feed a file listing to the archiver.
23394 archiver_list_spec=$lt_archiver_list_spec
23395
23396 # A symbol stripping program.
23397 STRIP=$lt_STRIP
23398
23399 # Commands used to install an old-style archive.
23400 RANLIB=$lt_RANLIB
23401 old_postinstall_cmds=$lt_old_postinstall_cmds
23402 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23403
23404 # Whether to use a lock for old archive extraction.
23405 lock_old_archive_extraction=$lock_old_archive_extraction
23406
23407 # A C compiler.
23408 LTCC=$lt_CC
23409
23410 # LTCC compiler flags.
23411 LTCFLAGS=$lt_CFLAGS
23412
23413 # Take the output of nm and produce a listing of raw symbols and C names.
23414 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23415
23416 # Transform the output of nm in a proper C declaration.
23417 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23418
23419 # Transform the output of nm in a C name address pair.
23420 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23421
23422 # Transform the output of nm in a C name address pair when lib prefix is needed.
23423 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23424
23425 # Specify filename containing input files for \$NM.
23426 nm_file_list_spec=$lt_nm_file_list_spec
23427
23428 # The root where to search for dependent libraries,and in which our libraries should be installed.
23429 lt_sysroot=$lt_sysroot
23430
23431 # The name of the directory that contains temporary libtool files.
23432 objdir=$objdir
23433
23434 # Used to examine libraries when file_magic_cmd begins with "file".
23435 MAGIC_CMD=$MAGIC_CMD
23436
23437 # Must we lock files when doing compilation?
23438 need_locks=$lt_need_locks
23439
23440 # Manifest tool.
23441 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23442
23443 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23444 DSYMUTIL=$lt_DSYMUTIL
23445
23446 # Tool to change global to local symbols on Mac OS X.
23447 NMEDIT=$lt_NMEDIT
23448
23449 # Tool to manipulate fat objects and archives on Mac OS X.
23450 LIPO=$lt_LIPO
23451
23452 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23453 OTOOL=$lt_OTOOL
23454
23455 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23456 OTOOL64=$lt_OTOOL64
23457
23458 # Old archive suffix (normally "a").
23459 libext=$libext
23460
23461 # Shared library suffix (normally ".so").
23462 shrext_cmds=$lt_shrext_cmds
23463
23464 # The commands to extract the exported symbol list from a shared archive.
23465 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23466
23467 # Variables whose values should be saved in libtool wrapper scripts and
23468 # restored at link time.
23469 variables_saved_for_relink=$lt_variables_saved_for_relink
23470
23471 # Do we need the "lib" prefix for modules?
23472 need_lib_prefix=$need_lib_prefix
23473
23474 # Do we need a version for libraries?
23475 need_version=$need_version
23476
23477 # Library versioning type.
23478 version_type=$version_type
23479
23480 # Shared library runtime path variable.
23481 runpath_var=$runpath_var
23482
23483 # Shared library path variable.
23484 shlibpath_var=$shlibpath_var
23485
23486 # Is shlibpath searched before the hard-coded library search path?
23487 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23488
23489 # Format of library name prefix.
23490 libname_spec=$lt_libname_spec
23491
23492 # List of archive names.  First name is the real one, the rest are links.
23493 # The last name is the one that the linker finds with -lNAME
23494 library_names_spec=$lt_library_names_spec
23495
23496 # The coded name of the library, if different from the real name.
23497 soname_spec=$lt_soname_spec
23498
23499 # Permission mode override for installation of shared libraries.
23500 install_override_mode=$lt_install_override_mode
23501
23502 # Command to use after installation of a shared archive.
23503 postinstall_cmds=$lt_postinstall_cmds
23504
23505 # Command to use after uninstallation of a shared archive.
23506 postuninstall_cmds=$lt_postuninstall_cmds
23507
23508 # Commands used to finish a libtool library installation in a directory.
23509 finish_cmds=$lt_finish_cmds
23510
23511 # As "finish_cmds", except a single script fragment to be evaled but
23512 # not shown.
23513 finish_eval=$lt_finish_eval
23514
23515 # Whether we should hardcode library paths into libraries.
23516 hardcode_into_libs=$hardcode_into_libs
23517
23518 # Compile-time system search path for libraries.
23519 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23520
23521 # Run-time system search path for libraries.
23522 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23523
23524 # Whether dlopen is supported.
23525 dlopen_support=$enable_dlopen
23526
23527 # Whether dlopen of programs is supported.
23528 dlopen_self=$enable_dlopen_self
23529
23530 # Whether dlopen of statically linked programs is supported.
23531 dlopen_self_static=$enable_dlopen_self_static
23532
23533 # Commands to strip libraries.
23534 old_striplib=$lt_old_striplib
23535 striplib=$lt_striplib
23536
23537
23538 # The linker used to build libraries.
23539 LD=$lt_LD
23540
23541 # How to create reloadable object files.
23542 reload_flag=$lt_reload_flag
23543 reload_cmds=$lt_reload_cmds
23544
23545 # Commands used to build an old-style archive.
23546 old_archive_cmds=$lt_old_archive_cmds
23547
23548 # A language specific compiler.
23549 CC=$lt_compiler
23550
23551 # Is the compiler the GNU compiler?
23552 with_gcc=$GCC
23553
23554 # Compiler flag to turn off builtin functions.
23555 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23556
23557 # Additional compiler flags for building library objects.
23558 pic_flag=$lt_lt_prog_compiler_pic
23559
23560 # How to pass a linker flag through the compiler.
23561 wl=$lt_lt_prog_compiler_wl
23562
23563 # Compiler flag to prevent dynamic linking.
23564 link_static_flag=$lt_lt_prog_compiler_static
23565
23566 # Does compiler simultaneously support -c and -o options?
23567 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23568
23569 # Whether or not to add -lc for building shared libraries.
23570 build_libtool_need_lc=$archive_cmds_need_lc
23571
23572 # Whether or not to disallow shared libs when runtime libs are static.
23573 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23574
23575 # Compiler flag to allow reflexive dlopens.
23576 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23577
23578 # Compiler flag to generate shared objects directly from archives.
23579 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23580
23581 # Whether the compiler copes with passing no objects directly.
23582 compiler_needs_object=$lt_compiler_needs_object
23583
23584 # Create an old-style archive from a shared archive.
23585 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23586
23587 # Create a temporary old-style archive to link instead of a shared archive.
23588 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23589
23590 # Commands used to build a shared archive.
23591 archive_cmds=$lt_archive_cmds
23592 archive_expsym_cmds=$lt_archive_expsym_cmds
23593
23594 # Commands used to build a loadable module if different from building
23595 # a shared archive.
23596 module_cmds=$lt_module_cmds
23597 module_expsym_cmds=$lt_module_expsym_cmds
23598
23599 # Whether we are building with GNU ld or not.
23600 with_gnu_ld=$lt_with_gnu_ld
23601
23602 # Flag that allows shared libraries with undefined symbols to be built.
23603 allow_undefined_flag=$lt_allow_undefined_flag
23604
23605 # Flag that enforces no undefined symbols.
23606 no_undefined_flag=$lt_no_undefined_flag
23607
23608 # Flag to hardcode \$libdir into a binary during linking.
23609 # This must work even if \$libdir does not exist
23610 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23611
23612 # Whether we need a single "-rpath" flag with a separated argument.
23613 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23614
23615 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23616 # DIR into the resulting binary.
23617 hardcode_direct=$hardcode_direct
23618
23619 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23620 # DIR into the resulting binary and the resulting library dependency is
23621 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23622 # library is relocated.
23623 hardcode_direct_absolute=$hardcode_direct_absolute
23624
23625 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23626 # into the resulting binary.
23627 hardcode_minus_L=$hardcode_minus_L
23628
23629 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23630 # into the resulting binary.
23631 hardcode_shlibpath_var=$hardcode_shlibpath_var
23632
23633 # Set to "yes" if building a shared library automatically hardcodes DIR
23634 # into the library and all subsequent libraries and executables linked
23635 # against it.
23636 hardcode_automatic=$hardcode_automatic
23637
23638 # Set to yes if linker adds runtime paths of dependent libraries
23639 # to runtime path list.
23640 inherit_rpath=$inherit_rpath
23641
23642 # Whether libtool must link a program against all its dependency libraries.
23643 link_all_deplibs=$link_all_deplibs
23644
23645 # Set to "yes" if exported symbols are required.
23646 always_export_symbols=$always_export_symbols
23647
23648 # The commands to list exported symbols.
23649 export_symbols_cmds=$lt_export_symbols_cmds
23650
23651 # Symbols that should not be listed in the preloaded symbols.
23652 exclude_expsyms=$lt_exclude_expsyms
23653
23654 # Symbols that must always be exported.
23655 include_expsyms=$lt_include_expsyms
23656
23657 # Commands necessary for linking programs (against libraries) with templates.
23658 prelink_cmds=$lt_prelink_cmds
23659
23660 # Commands necessary for finishing linking programs.
23661 postlink_cmds=$lt_postlink_cmds
23662
23663 # Specify filename containing input files.
23664 file_list_spec=$lt_file_list_spec
23665
23666 # How to hardcode a shared library path into an executable.
23667 hardcode_action=$hardcode_action
23668
23669 # The directories searched by this compiler when creating a shared library.
23670 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23671
23672 # Dependencies to place before and after the objects being linked to
23673 # create a shared library.
23674 predep_objects=$lt_predep_objects
23675 postdep_objects=$lt_postdep_objects
23676 predeps=$lt_predeps
23677 postdeps=$lt_postdeps
23678
23679 # The library search path used internally by the compiler when linking
23680 # a shared library.
23681 compiler_lib_search_path=$lt_compiler_lib_search_path
23682
23683 # ### END LIBTOOL CONFIG
23684
23685 _LT_EOF
23686
23687   case $host_os in
23688   aix3*)
23689     cat <<\_LT_EOF >> "$cfgfile"
23690 # AIX sometimes has problems with the GCC collect2 program.  For some
23691 # reason, if we set the COLLECT_NAMES environment variable, the problems
23692 # vanish in a puff of smoke.
23693 if test "X${COLLECT_NAMES+set}" != Xset; then
23694   COLLECT_NAMES=
23695   export COLLECT_NAMES
23696 fi
23697 _LT_EOF
23698     ;;
23699   esac
23700
23701
23702 ltmain="$ac_aux_dir/ltmain.sh"
23703
23704
23705   # We use sed instead of cat because bash on DJGPP gets confused if
23706   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
23707   # text mode, it properly converts lines to CR/LF.  This bash problem
23708   # is reportedly fixed, but why not run on old versions too?
23709   sed '$q' "$ltmain" >> "$cfgfile" \
23710      || (rm -f "$cfgfile"; exit 1)
23711
23712   if test x"$xsi_shell" = xyes; then
23713   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23714 func_dirname ()\
23715 {\
23716 \    case ${1} in\
23717 \      */*) func_dirname_result="${1%/*}${2}" ;;\
23718 \      *  ) func_dirname_result="${3}" ;;\
23719 \    esac\
23720 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23721   && mv -f "$cfgfile.tmp" "$cfgfile" \
23722     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23723 test 0 -eq $? || _lt_function_replace_fail=:
23724
23725
23726   sed -e '/^func_basename ()$/,/^} # func_basename /c\
23727 func_basename ()\
23728 {\
23729 \    func_basename_result="${1##*/}"\
23730 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23731   && mv -f "$cfgfile.tmp" "$cfgfile" \
23732     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23733 test 0 -eq $? || _lt_function_replace_fail=:
23734
23735
23736   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23737 func_dirname_and_basename ()\
23738 {\
23739 \    case ${1} in\
23740 \      */*) func_dirname_result="${1%/*}${2}" ;;\
23741 \      *  ) func_dirname_result="${3}" ;;\
23742 \    esac\
23743 \    func_basename_result="${1##*/}"\
23744 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23745   && mv -f "$cfgfile.tmp" "$cfgfile" \
23746     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23747 test 0 -eq $? || _lt_function_replace_fail=:
23748
23749
23750   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23751 func_stripname ()\
23752 {\
23753 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23754 \    # positional parameters, so assign one to ordinary parameter first.\
23755 \    func_stripname_result=${3}\
23756 \    func_stripname_result=${func_stripname_result#"${1}"}\
23757 \    func_stripname_result=${func_stripname_result%"${2}"}\
23758 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23759   && mv -f "$cfgfile.tmp" "$cfgfile" \
23760     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23761 test 0 -eq $? || _lt_function_replace_fail=:
23762
23763
23764   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23765 func_split_long_opt ()\
23766 {\
23767 \    func_split_long_opt_name=${1%%=*}\
23768 \    func_split_long_opt_arg=${1#*=}\
23769 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23770   && mv -f "$cfgfile.tmp" "$cfgfile" \
23771     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23772 test 0 -eq $? || _lt_function_replace_fail=:
23773
23774
23775   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23776 func_split_short_opt ()\
23777 {\
23778 \    func_split_short_opt_arg=${1#??}\
23779 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23780 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23781   && mv -f "$cfgfile.tmp" "$cfgfile" \
23782     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23783 test 0 -eq $? || _lt_function_replace_fail=:
23784
23785
23786   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23787 func_lo2o ()\
23788 {\
23789 \    case ${1} in\
23790 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23791 \      *)    func_lo2o_result=${1} ;;\
23792 \    esac\
23793 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23794   && mv -f "$cfgfile.tmp" "$cfgfile" \
23795     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23796 test 0 -eq $? || _lt_function_replace_fail=:
23797
23798
23799   sed -e '/^func_xform ()$/,/^} # func_xform /c\
23800 func_xform ()\
23801 {\
23802     func_xform_result=${1%.*}.lo\
23803 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23804   && mv -f "$cfgfile.tmp" "$cfgfile" \
23805     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23806 test 0 -eq $? || _lt_function_replace_fail=:
23807
23808
23809   sed -e '/^func_arith ()$/,/^} # func_arith /c\
23810 func_arith ()\
23811 {\
23812     func_arith_result=$(( $* ))\
23813 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23814   && mv -f "$cfgfile.tmp" "$cfgfile" \
23815     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23816 test 0 -eq $? || _lt_function_replace_fail=:
23817
23818
23819   sed -e '/^func_len ()$/,/^} # func_len /c\
23820 func_len ()\
23821 {\
23822     func_len_result=${#1}\
23823 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23824   && mv -f "$cfgfile.tmp" "$cfgfile" \
23825     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23826 test 0 -eq $? || _lt_function_replace_fail=:
23827
23828 fi
23829
23830 if test x"$lt_shell_append" = xyes; then
23831   sed -e '/^func_append ()$/,/^} # func_append /c\
23832 func_append ()\
23833 {\
23834     eval "${1}+=\\${2}"\
23835 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23836   && mv -f "$cfgfile.tmp" "$cfgfile" \
23837     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23838 test 0 -eq $? || _lt_function_replace_fail=:
23839
23840
23841   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23842 func_append_quoted ()\
23843 {\
23844 \    func_quote_for_eval "${2}"\
23845 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23846 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23847   && mv -f "$cfgfile.tmp" "$cfgfile" \
23848     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23849 test 0 -eq $? || _lt_function_replace_fail=:
23850
23851
23852   # Save a `func_append' function call where possible by direct use of '+='
23853   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23854     && mv -f "$cfgfile.tmp" "$cfgfile" \
23855       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23856   test 0 -eq $? || _lt_function_replace_fail=:
23857 else
23858   # Save a `func_append' function call even when '+=' is not available
23859   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23860     && mv -f "$cfgfile.tmp" "$cfgfile" \
23861       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23862   test 0 -eq $? || _lt_function_replace_fail=:
23863 fi
23864
23865 if test x"$_lt_function_replace_fail" = x":"; then
23866   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23867 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23868 fi
23869
23870
23871    mv -f "$cfgfile" "$ofile" ||
23872     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23873   chmod +x "$ofile"
23874
23875
23876     cat <<_LT_EOF >> "$ofile"
23877
23878 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23879
23880 # The linker used to build libraries.
23881 LD=$lt_LD_CXX
23882
23883 # How to create reloadable object files.
23884 reload_flag=$lt_reload_flag_CXX
23885 reload_cmds=$lt_reload_cmds_CXX
23886
23887 # Commands used to build an old-style archive.
23888 old_archive_cmds=$lt_old_archive_cmds_CXX
23889
23890 # A language specific compiler.
23891 CC=$lt_compiler_CXX
23892
23893 # Is the compiler the GNU compiler?
23894 with_gcc=$GCC_CXX
23895
23896 # Compiler flag to turn off builtin functions.
23897 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23898
23899 # Additional compiler flags for building library objects.
23900 pic_flag=$lt_lt_prog_compiler_pic_CXX
23901
23902 # How to pass a linker flag through the compiler.
23903 wl=$lt_lt_prog_compiler_wl_CXX
23904
23905 # Compiler flag to prevent dynamic linking.
23906 link_static_flag=$lt_lt_prog_compiler_static_CXX
23907
23908 # Does compiler simultaneously support -c and -o options?
23909 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23910
23911 # Whether or not to add -lc for building shared libraries.
23912 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23913
23914 # Whether or not to disallow shared libs when runtime libs are static.
23915 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23916
23917 # Compiler flag to allow reflexive dlopens.
23918 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23919
23920 # Compiler flag to generate shared objects directly from archives.
23921 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23922
23923 # Whether the compiler copes with passing no objects directly.
23924 compiler_needs_object=$lt_compiler_needs_object_CXX
23925
23926 # Create an old-style archive from a shared archive.
23927 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23928
23929 # Create a temporary old-style archive to link instead of a shared archive.
23930 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23931
23932 # Commands used to build a shared archive.
23933 archive_cmds=$lt_archive_cmds_CXX
23934 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23935
23936 # Commands used to build a loadable module if different from building
23937 # a shared archive.
23938 module_cmds=$lt_module_cmds_CXX
23939 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23940
23941 # Whether we are building with GNU ld or not.
23942 with_gnu_ld=$lt_with_gnu_ld_CXX
23943
23944 # Flag that allows shared libraries with undefined symbols to be built.
23945 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23946
23947 # Flag that enforces no undefined symbols.
23948 no_undefined_flag=$lt_no_undefined_flag_CXX
23949
23950 # Flag to hardcode \$libdir into a binary during linking.
23951 # This must work even if \$libdir does not exist
23952 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23953
23954 # Whether we need a single "-rpath" flag with a separated argument.
23955 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23956
23957 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23958 # DIR into the resulting binary.
23959 hardcode_direct=$hardcode_direct_CXX
23960
23961 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23962 # DIR into the resulting binary and the resulting library dependency is
23963 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23964 # library is relocated.
23965 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23966
23967 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23968 # into the resulting binary.
23969 hardcode_minus_L=$hardcode_minus_L_CXX
23970
23971 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23972 # into the resulting binary.
23973 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23974
23975 # Set to "yes" if building a shared library automatically hardcodes DIR
23976 # into the library and all subsequent libraries and executables linked
23977 # against it.
23978 hardcode_automatic=$hardcode_automatic_CXX
23979
23980 # Set to yes if linker adds runtime paths of dependent libraries
23981 # to runtime path list.
23982 inherit_rpath=$inherit_rpath_CXX
23983
23984 # Whether libtool must link a program against all its dependency libraries.
23985 link_all_deplibs=$link_all_deplibs_CXX
23986
23987 # Set to "yes" if exported symbols are required.
23988 always_export_symbols=$always_export_symbols_CXX
23989
23990 # The commands to list exported symbols.
23991 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23992
23993 # Symbols that should not be listed in the preloaded symbols.
23994 exclude_expsyms=$lt_exclude_expsyms_CXX
23995
23996 # Symbols that must always be exported.
23997 include_expsyms=$lt_include_expsyms_CXX
23998
23999 # Commands necessary for linking programs (against libraries) with templates.
24000 prelink_cmds=$lt_prelink_cmds_CXX
24001
24002 # Commands necessary for finishing linking programs.
24003 postlink_cmds=$lt_postlink_cmds_CXX
24004
24005 # Specify filename containing input files.
24006 file_list_spec=$lt_file_list_spec_CXX
24007
24008 # How to hardcode a shared library path into an executable.
24009 hardcode_action=$hardcode_action_CXX
24010
24011 # The directories searched by this compiler when creating a shared library.
24012 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24013
24014 # Dependencies to place before and after the objects being linked to
24015 # create a shared library.
24016 predep_objects=$lt_predep_objects_CXX
24017 postdep_objects=$lt_postdep_objects_CXX
24018 predeps=$lt_predeps_CXX
24019 postdeps=$lt_postdeps_CXX
24020
24021 # The library search path used internally by the compiler when linking
24022 # a shared library.
24023 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24024
24025 # ### END LIBTOOL TAG CONFIG: CXX
24026 _LT_EOF
24027
24028  ;;
24029     "pango/module-defs.h":C)
24030 cat > pango/module-defs.h <<EOTEXT
24031 /* Autogenerated by configure. Do not edit */
24032
24033 #include "modules.h"
24034
24035 EOTEXT
24036
24037 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
24038 for module in $included_modules; do
24039   module_c=`echo $module | sed s/-/_/`
24040   cat >> pango/module-defs.h <<EOTEXT
24041 extern void         _pango_${module_c}_script_engine_list (PangoEngineInfo **engines, int *n_engines);
24042 extern void         _pango_${module_c}_script_engine_init (GTypeModule *module);
24043 extern void         _pango_${module_c}_script_engine_exit (void);
24044 extern PangoEngine *_pango_${module_c}_script_engine_create (const char *id);
24045
24046 EOTEXT
24047 done
24048
24049 IFS="$pango_save_ifs"
24050  ;;
24051     "pango/module-defs-x.c":C)
24052 ### X modules
24053 cat > pango/module-defs-x.c <<EOTEXT
24054 /* Autogenerated by configure. Do not edit */
24055
24056 #include "module-defs.h"
24057
24058 PangoIncludedModule _pango_included_x_modules[] = {
24059 EOTEXT
24060
24061 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
24062 for module in $included_modules; do
24063   if echo $module | egrep -- "-x($|,)" > /dev/null; then
24064     module_c=`echo $module | sed s/-/_/`
24065     cat >> pango/module-defs-x.c <<EOTEXT
24066  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24067 EOTEXT
24068  fi
24069 done
24070
24071 IFS="$pango_save_ifs"
24072
24073 cat >> pango/module-defs-x.c <<EOTEXT
24074  { NULL, NULL, NULL, NULL },
24075 };
24076 EOTEXT
24077  ;;
24078     "pango/module-defs-fc.c":C)
24079 ### FC modules
24080 cat > pango/module-defs-fc.c <<EOTEXT
24081 /* Autogenerated by configure. Do not edit */
24082
24083 #include "module-defs.h"
24084
24085 PangoIncludedModule _pango_included_fc_modules[] = {
24086 EOTEXT
24087
24088 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
24089 for module in $included_modules; do
24090   if echo $module | egrep -- "-fc($|,)" > /dev/null; then
24091     module_c=`echo $module | sed s/-/_/`
24092     cat >> pango/module-defs-fc.c <<EOTEXT
24093  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24094 EOTEXT
24095   fi
24096 done
24097
24098 IFS="$pango_save_ifs"
24099
24100 cat >> pango/module-defs-fc.c <<EOTEXT
24101  { NULL, NULL, NULL, NULL },
24102 };
24103 EOTEXT
24104  ;;
24105     "pango/module-defs-win32.c":C)
24106 ### Win32 modules
24107 cat > pango/module-defs-win32.c <<EOTEXT
24108 /* Autogenerated by configure. Do not edit */
24109
24110 #include "module-defs.h"
24111
24112 PangoIncludedModule _pango_included_win32_modules[] = {
24113 EOTEXT
24114
24115 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
24116 for module in $included_modules; do
24117   if echo $module | egrep -- "-win32($|,)" > /dev/null; then
24118     module_c=`echo $module | sed s/-/_/`
24119     cat >> pango/module-defs-win32.c <<EOTEXT
24120  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24121 EOTEXT
24122   fi
24123 done
24124
24125 IFS="$pango_save_ifs"
24126
24127 cat >> pango/module-defs-win32.c <<EOTEXT
24128  { NULL, NULL, NULL, NULL },
24129 };
24130 EOTEXT
24131  ;;
24132     "pango/module-defs-atsui.c":C)
24133 ### ATSUI modules
24134 cat > pango/module-defs-atsui.c <<EOTEXT
24135 /* Autogenerated by configure. Do not edit */
24136
24137 #include "module-defs.h"
24138
24139 PangoIncludedModule _pango_included_atsui_modules[] = {
24140 EOTEXT
24141
24142 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
24143 for module in $included_modules; do
24144   if echo $module | egrep -- "-atsui($|,)" > /dev/null; then
24145     module_c=`echo $module | sed s/-/_/`
24146     cat >> pango/module-defs-atsui.c <<EOTEXT
24147  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24148 EOTEXT
24149   fi
24150 done
24151
24152 IFS="$pango_save_ifs"
24153
24154 cat >> pango/module-defs-atsui.c <<EOTEXT
24155  { NULL, NULL, NULL, NULL },
24156 };
24157 EOTEXT
24158  ;;
24159     "pango/module-defs-coretext.c":C)
24160 ### CoreText modules
24161 cat > pango/module-defs-coretext.c <<EOTEXT
24162 /* Autogenerated by configure. Do not edit */
24163
24164 #include "module-defs.h"
24165
24166 PangoIncludedModule _pango_included_core_text_modules[] = {
24167 EOTEXT
24168
24169 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
24170 for module in $included_modules; do
24171   if echo $module | egrep -- "-coretext($|,)" > /dev/null; then
24172     module_c=`echo $module | sed s/-/_/`
24173     cat >> pango/module-defs-coretext.c <<EOTEXT
24174  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24175 EOTEXT
24176   fi
24177 done
24178
24179 IFS="$pango_save_ifs"
24180
24181 cat >> pango/module-defs-coretext.c <<EOTEXT
24182  { NULL, NULL, NULL, NULL },
24183 };
24184 EOTEXT
24185  ;;
24186     "pango/module-defs-lang.c":C)
24187 ### lang modules
24188 cat > pango/module-defs-lang.c <<EOTEXT
24189 /* Autogenerated by configure. Do not edit */
24190
24191 #include "module-defs.h"
24192
24193 PangoIncludedModule _pango_included_lang_modules[] = {
24194 EOTEXT
24195
24196 IFS="${IFS=     }"; pango_save_ifs="$IFS"; IFS=","
24197 for module in $included_modules; do
24198   if echo $module | egrep -- "-lang($|,)" > /dev/null; then
24199     module_c=`echo $module | sed s/-/_/`
24200     cat >> pango/module-defs-lang.c <<EOTEXT
24201  { _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create },
24202 EOTEXT
24203   fi
24204 done
24205
24206 IFS="$pango_save_ifs"
24207
24208 cat >> pango/module-defs-lang.c <<EOTEXT
24209  { NULL, NULL, NULL, NULL },
24210 };
24211 EOTEXT
24212  ;;
24213     "pango/pango-features.h":C) featuresfile=pango/pango-features.h
24214            outfile=$featuresfile.tmp
24215            { $as_echo "$as_me:${as_lineno-$LINENO}: creating $featuresfile" >&5
24216 $as_echo "$as_me: creating $featuresfile" >&6;}
24217            cat >$outfile <<_EOF
24218 /* Generated by configure. Do not edit */
24219 #ifndef PANGO_FEATURES_H
24220 #define PANGO_FEATURES_H
24221
24222 #define PANGO_VERSION_MAJOR $PANGO_VERSION_MAJOR
24223 #define PANGO_VERSION_MINOR $PANGO_VERSION_MINOR
24224 #define PANGO_VERSION_MICRO $PANGO_VERSION_MICRO
24225
24226 #define PANGO_VERSION_STRING "$PANGO_VERSION_MAJOR.$PANGO_VERSION_MINOR.$PANGO_VERSION_MICRO"
24227
24228 _EOF
24229         # TODO: define macros for enabled features/backends here
24230
24231         echo '' >>$outfile
24232         echo '#endif' >>$outfile
24233
24234         if cmp -s $outfile $featuresfile; then
24235           { $as_echo "$as_me:${as_lineno-$LINENO}: $featuresfile is unchanged" >&5
24236 $as_echo "$as_me: $featuresfile is unchanged" >&6;}
24237           rm -f $outfile
24238         else
24239           mv $outfile $featuresfile
24240         fi
24241  ;;
24242     "tests/runtests.sh":F) chmod +x tests/runtests.sh ;;
24243
24244   esac
24245 done # for ac_tag
24246
24247
24248 as_fn_exit 0
24249 _ACEOF
24250 ac_clean_files=$ac_clean_files_save
24251
24252 test $ac_write_fail = 0 ||
24253   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24254
24255
24256 # configure is writing to config.log, and then calls config.status.
24257 # config.status does its own redirection, appending to config.log.
24258 # Unfortunately, on DOS this fails, as config.log is still kept open
24259 # by configure, so config.status won't be able to write to it; its
24260 # output is simply discarded.  So we exec the FD to /dev/null,
24261 # effectively closing config.log, so it can be properly (re)opened and
24262 # appended to by config.status.  When coming back to configure, we
24263 # need to make the FD available again.
24264 if test "$no_create" != yes; then
24265   ac_cs_success=:
24266   ac_config_status_args=
24267   test "$silent" = yes &&
24268     ac_config_status_args="$ac_config_status_args --quiet"
24269   exec 5>/dev/null
24270   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24271   exec 5>>config.log
24272   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24273   # would make configure fail if this is the last instruction.
24274   $ac_cs_success || as_fn_exit 1
24275 fi
24276 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24277   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24278 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24279 fi
24280
24281
24282 backends=""
24283 if $have_cairo ; then backends="$backends Cairo"; fi
24284 if $have_win32 ; then backends="$backends Win32"; fi
24285 if $have_xft ; then backends="$backends Xft"; fi
24286 if $have_freetype && $have_fontconfig ; then backends="$backends FreeType"; fi
24287 if $have_x ; then backends="$backends X"; fi
24288
24289 echo "configuration:
24290         backends:$backends"