Imported Upstream version 0.9.3
[platform/upstream/harfbuzz.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for HarfBuzz 0.9.3.
4 #
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10 # 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 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
238 $0: have one."
239   fi
240   exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258   { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267   return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275   set +e
276   as_fn_set_status $1
277   exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286   case $as_dir in #(
287   -*) as_dir=./$as_dir;;
288   esac
289   test -d "$as_dir" || eval $as_mkdir_p || {
290     as_dirs=
291     while :; do
292       case $as_dir in #(
293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294       *) as_qdir=$as_dir;;
295       esac
296       as_dirs="'$as_qdir' $as_dirs"
297       as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299          X"$as_dir" : 'X\(//\)[^/]' \| \
300          X"$as_dir" : 'X\(//\)$' \| \
301          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)[^/].*/{
308             s//\1/
309             q
310           }
311           /^X\(\/\/\)$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\).*/{
316             s//\1/
317             q
318           }
319           s/.*/./; q'`
320       test -d "$as_dir" && break
321     done
322     test -z "$as_dirs" || eval "mkdir $as_dirs"
323   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334   eval 'as_fn_append ()
335   {
336     eval $1+=\$2
337   }'
338 else
339   as_fn_append ()
340   {
341     eval $1=\$$1\$2
342   }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351   eval 'as_fn_arith ()
352   {
353     as_val=$(( $* ))
354   }'
355 else
356   as_fn_arith ()
357   {
358     as_val=`expr "$@" || test $? -eq 1`
359   }
360 fi # as_fn_arith
361
362
363 # as_fn_error ERROR [LINENO LOG_FD]
364 # ---------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with status $?, using 1 if that was 0.
368 as_fn_error ()
369 {
370   as_status=$?; test $as_status -eq 0 && as_status=1
371   if test "$3"; then
372     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374   fi
375   $as_echo "$as_me: error: $1" >&2
376   as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
381   as_expr=expr
382 else
383   as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387   as_basename=basename
388 else
389   as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393   as_dirname=dirname
394 else
395   as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400          X"$0" : 'X\(//\)$' \| \
401          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403     sed '/^.*\/\([^/][^/]*\)\/*$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\/\)$/{
408             s//\1/
409             q
410           }
411           /^X\/\(\/\).*/{
412             s//\1/
413             q
414           }
415           s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430   sed -n '
431     p
432     /[$]LINENO/=
433   ' <$as_myself |
434     sed '
435       s/[$]LINENO.*/&-/
436       t lineno
437       b
438       :lineno
439       N
440       :loop
441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442       t loop
443       s/-\n.*//
444     ' >$as_me.lineno &&
445   chmod +x "$as_me.lineno" ||
446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448   # Don't try to exec as it changes $[0], causing all sort of problems
449   # (the dirname of $[0] is not the place where we might find the
450   # original and so on.  Autoconf is especially sensitive to this).
451   . "./$as_me.lineno"
452   # Exit status is that of the last command.
453   exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459   case `echo 'xy\c'` in
460   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461   xy)  ECHO_C='\c';;
462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463        ECHO_T=' ';;
464   esac;;
465 *)
466   ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471   rm -f conf$$.dir/conf$$.file
472 else
473   rm -f conf$$.dir
474   mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477   if ln -s conf$$.file conf$$ 2>/dev/null; then
478     as_ln_s='ln -s'
479     # ... but there are two gotchas:
480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482     # In both cases, we have to default to `cp -p'.
483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484       as_ln_s='cp -p'
485   elif ln conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s=ln
487   else
488     as_ln_s='cp -p'
489   fi
490 else
491   as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497   as_mkdir_p='mkdir -p "$as_dir"'
498 else
499   test -d ./-p && rmdir ./-p
500   as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504   as_test_x='test -x'
505 else
506   if ls -dL / >/dev/null 2>&1; then
507     as_ls_L_option=L
508   else
509     as_ls_L_option=
510   fi
511   as_test_x='
512     eval sh -c '\''
513       if test -d "$1"; then
514         test -d "$1/.";
515       else
516         case $1 in #(
517         -*)set "./$1";;
518         esac;
519         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520         ???[sx]*):;;*)false;;esac;fi
521     '\'' sh
522   '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
536
537 case X$lt_ECHO in
538 X*--fallback-echo)
539   # Remove one level of quotation (which was required for Make).
540   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541   ;;
542 esac
543
544 ECHO=${lt_ECHO-echo}
545 if test "X$1" = X--no-reexec; then
546   # Discard the --no-reexec flag, and continue.
547   shift
548 elif test "X$1" = X--fallback-echo; then
549   # Avoid inline document here, it may be left over
550   :
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552   # Yippee, $ECHO works!
553   :
554 else
555   # Restart under the correct shell.
556   exec $SHELL "$0" --no-reexec ${1+"$@"}
557 fi
558
559 if test "X$1" = X--fallback-echo; then
560   # used as fallback echo
561   shift
562   cat <<_LT_EOF
563 $*
564 _LT_EOF
565   exit 0
566 fi
567
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 # if CDPATH is set.
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
572 if test -z "$lt_ECHO"; then
573   if test "X${echo_test_string+set}" != Xset; then
574     # find a string as large as possible, as long as the shell can cope with it
575     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579       then
580         break
581       fi
582     done
583   fi
584
585   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587      test "X$echo_testing_string" = "X$echo_test_string"; then
588     :
589   else
590     # The Solaris, AIX, and Digital Unix default echo programs unquote
591     # backslashes.  This makes it impossible to quote backslashes using
592     #   echo "$something" | sed 's/\\/\\\\/g'
593     #
594     # So, first we look for a working echo in the user's PATH.
595
596     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597     for dir in $PATH /usr/ucb; do
598       IFS="$lt_save_ifs"
599       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602          test "X$echo_testing_string" = "X$echo_test_string"; then
603         ECHO="$dir/echo"
604         break
605       fi
606     done
607     IFS="$lt_save_ifs"
608
609     if test "X$ECHO" = Xecho; then
610       # We didn't find a better echo, so look for alternatives.
611       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613          test "X$echo_testing_string" = "X$echo_test_string"; then
614         # This shell has a builtin print -r that does the trick.
615         ECHO='print -r'
616       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617            test "X$CONFIG_SHELL" != X/bin/ksh; then
618         # If we have ksh, try running configure again with it.
619         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620         export ORIGINAL_CONFIG_SHELL
621         CONFIG_SHELL=/bin/ksh
622         export CONFIG_SHELL
623         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624       else
625         # Try using printf.
626         ECHO='printf %s\n'
627         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629            test "X$echo_testing_string" = "X$echo_test_string"; then
630           # Cool, printf works
631           :
632         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633              test "X$echo_testing_string" = 'X\t' &&
634              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635              test "X$echo_testing_string" = "X$echo_test_string"; then
636           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637           export CONFIG_SHELL
638           SHELL="$CONFIG_SHELL"
639           export SHELL
640           ECHO="$CONFIG_SHELL $0 --fallback-echo"
641         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642              test "X$echo_testing_string" = 'X\t' &&
643              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644              test "X$echo_testing_string" = "X$echo_test_string"; then
645           ECHO="$CONFIG_SHELL $0 --fallback-echo"
646         else
647           # maybe with a smaller string...
648           prev=:
649
650           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652             then
653               break
654             fi
655             prev="$cmd"
656           done
657
658           if test "$prev" != 'sed 50q "$0"'; then
659             echo_test_string=`eval $prev`
660             export echo_test_string
661             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662           else
663             # Oops.  We lost completely, so just stick with echo.
664             ECHO=echo
665           fi
666         fi
667       fi
668     fi
669   fi
670 fi
671
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
674 lt_ECHO=$ECHO
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 fi
678
679
680
681
682 test -n "$DJDIR" || exec 7<&0 </dev/null
683 exec 6>&1
684
685 # Name of the host.
686 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
690 #
691 # Initializations.
692 #
693 ac_default_prefix=/usr/local
694 ac_clean_files=
695 ac_config_libobj_dir=.
696 LIBOBJS=
697 cross_compiling=no
698 subdirs=
699 MFLAGS=
700 MAKEFLAGS=
701
702 # Identity of this package.
703 PACKAGE_NAME='HarfBuzz'
704 PACKAGE_TARNAME='harfbuzz'
705 PACKAGE_VERSION='0.9.3'
706 PACKAGE_STRING='HarfBuzz 0.9.3'
707 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz'
708 PACKAGE_URL='http://harfbuzz.org/'
709
710 ac_unique_file="harfbuzz.pc.in"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
713 #include <stdio.h>
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
716 #endif
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
719 #endif
720 #ifdef STDC_HEADERS
721 # include <stdlib.h>
722 # include <stddef.h>
723 #else
724 # ifdef HAVE_STDLIB_H
725 #  include <stdlib.h>
726 # endif
727 #endif
728 #ifdef HAVE_STRING_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #  include <memory.h>
731 # endif
732 # include <string.h>
733 #endif
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
736 #endif
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
739 #endif
740 #ifdef HAVE_STDINT_H
741 # include <stdint.h>
742 #endif
743 #ifdef HAVE_UNISTD_H
744 # include <unistd.h>
745 #endif"
746
747 ac_subst_vars='am__EXEEXT_FALSE
748 am__EXEEXT_TRUE
749 LTLIBOBJS
750 LIBOBJS
751 HAVE_CORETEXT_FALSE
752 HAVE_CORETEXT_TRUE
753 CORETEXT_LIBS
754 CORETEXT_CFLAGS
755 HAVE_UNISCRIBE_FALSE
756 HAVE_UNISCRIBE_TRUE
757 UNISCRIBE_LIBS
758 UNISCRIBE_CFLAGS
759 HAVE_FREETYPE_FALSE
760 HAVE_FREETYPE_TRUE
761 FREETYPE_LIBS
762 FREETYPE_CFLAGS
763 HAVE_GRAPHITE2_FALSE
764 HAVE_GRAPHITE2_TRUE
765 GRAPHITE2_LIBS
766 GRAPHITE2_CFLAGS
767 HAVE_ICU_FALSE
768 HAVE_ICU_TRUE
769 ICU_LIBS
770 ICU_CFLAGS
771 HAVE_CAIRO_FT_FALSE
772 HAVE_CAIRO_FT_TRUE
773 CAIRO_FT_LIBS
774 CAIRO_FT_CFLAGS
775 HAVE_CAIRO_FALSE
776 HAVE_CAIRO_TRUE
777 CAIRO_LIBS
778 CAIRO_CFLAGS
779 HAVE_GOBJECT_FALSE
780 HAVE_GOBJECT_TRUE
781 GLIB_MKENUMS
782 GOBJECT_LIBS
783 GOBJECT_CFLAGS
784 HAVE_GTHREAD_FALSE
785 HAVE_GTHREAD_TRUE
786 GTHREAD_LIBS
787 GTHREAD_CFLAGS
788 HAVE_GLIB_FALSE
789 HAVE_GLIB_TRUE
790 GLIB_LIBS
791 GLIB_CFLAGS
792 PKG_CONFIG
793 HAVE_HB_OLD_FALSE
794 HAVE_HB_OLD_TRUE
795 HAVE_OT_FALSE
796 HAVE_OT_TRUE
797 OS_WIN32_FALSE
798 OS_WIN32_TRUE
799 HB_LIBTOOL_VERSION_INFO
800 HB_VERSION
801 HB_VERSION_MICRO
802 HB_VERSION_MINOR
803 HB_VERSION_MAJOR
804 CXXCPP
805 am__fastdepCXX_FALSE
806 am__fastdepCXX_TRUE
807 CXXDEPMODE
808 ac_ct_CXX
809 CXXFLAGS
810 CXX
811 CPP
812 OTOOL64
813 OTOOL
814 LIPO
815 NMEDIT
816 DSYMUTIL
817 lt_ECHO
818 RANLIB
819 AR
820 OBJDUMP
821 LN_S
822 NM
823 ac_ct_DUMPBIN
824 DUMPBIN
825 LD
826 FGREP
827 EGREP
828 GREP
829 SED
830 am__fastdepCC_FALSE
831 am__fastdepCC_TRUE
832 CCDEPMODE
833 AMDEPBACKSLASH
834 AMDEP_FALSE
835 AMDEP_TRUE
836 am__quote
837 am__include
838 DEPDIR
839 OBJEXT
840 EXEEXT
841 ac_ct_CC
842 CPPFLAGS
843 LDFLAGS
844 CFLAGS
845 CC
846 host_os
847 host_vendor
848 host_cpu
849 host
850 build_os
851 build_vendor
852 build_cpu
853 build
854 LIBTOOL
855 AM_BACKSLASH
856 AM_DEFAULT_VERBOSITY
857 am__untar
858 am__tar
859 AMTAR
860 am__leading_dot
861 SET_MAKE
862 AWK
863 mkdir_p
864 MKDIR_P
865 INSTALL_STRIP_PROGRAM
866 STRIP
867 install_sh
868 MAKEINFO
869 AUTOHEADER
870 AUTOMAKE
871 AUTOCONF
872 ACLOCAL
873 VERSION
874 PACKAGE
875 CYGPATH_W
876 am__isrc
877 INSTALL_DATA
878 INSTALL_SCRIPT
879 INSTALL_PROGRAM
880 target_alias
881 host_alias
882 build_alias
883 LIBS
884 ECHO_T
885 ECHO_N
886 ECHO_C
887 DEFS
888 mandir
889 localedir
890 libdir
891 psdir
892 pdfdir
893 dvidir
894 htmldir
895 infodir
896 docdir
897 oldincludedir
898 includedir
899 localstatedir
900 sharedstatedir
901 sysconfdir
902 datadir
903 datarootdir
904 libexecdir
905 sbindir
906 bindir
907 program_transform_name
908 prefix
909 exec_prefix
910 PACKAGE_URL
911 PACKAGE_BUGREPORT
912 PACKAGE_STRING
913 PACKAGE_VERSION
914 PACKAGE_TARNAME
915 PACKAGE_NAME
916 PATH_SEPARATOR
917 SHELL'
918 ac_subst_files=''
919 ac_user_opts='
920 enable_option_checking
921 enable_silent_rules
922 enable_static
923 enable_shared
924 with_pic
925 enable_fast_install
926 enable_dependency_tracking
927 with_gnu_ld
928 enable_libtool_lock
929 '
930       ac_precious_vars='build_alias
931 host_alias
932 target_alias
933 CC
934 CFLAGS
935 LDFLAGS
936 LIBS
937 CPPFLAGS
938 CPP
939 CXX
940 CXXFLAGS
941 CCC
942 CXXCPP
943 PKG_CONFIG
944 GLIB_CFLAGS
945 GLIB_LIBS
946 GTHREAD_CFLAGS
947 GTHREAD_LIBS
948 GOBJECT_CFLAGS
949 GOBJECT_LIBS
950 CAIRO_CFLAGS
951 CAIRO_LIBS
952 CAIRO_FT_CFLAGS
953 CAIRO_FT_LIBS
954 ICU_CFLAGS
955 ICU_LIBS
956 GRAPHITE2_CFLAGS
957 GRAPHITE2_LIBS
958 FREETYPE_CFLAGS
959 FREETYPE_LIBS'
960
961
962 # Initialize some variables set by options.
963 ac_init_help=
964 ac_init_version=false
965 ac_unrecognized_opts=
966 ac_unrecognized_sep=
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
969 cache_file=/dev/null
970 exec_prefix=NONE
971 no_create=
972 no_recursion=
973 prefix=NONE
974 program_prefix=NONE
975 program_suffix=NONE
976 program_transform_name=s,x,x,
977 silent=
978 site=
979 srcdir=
980 verbose=
981 x_includes=NONE
982 x_libraries=NONE
983
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir='${exec_prefix}/bin'
991 sbindir='${exec_prefix}/sbin'
992 libexecdir='${exec_prefix}/libexec'
993 datarootdir='${prefix}/share'
994 datadir='${datarootdir}'
995 sysconfdir='${prefix}/etc'
996 sharedstatedir='${prefix}/com'
997 localstatedir='${prefix}/var'
998 includedir='${prefix}/include'
999 oldincludedir='/usr/include'
1000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1001 infodir='${datarootdir}/info'
1002 htmldir='${docdir}'
1003 dvidir='${docdir}'
1004 pdfdir='${docdir}'
1005 psdir='${docdir}'
1006 libdir='${exec_prefix}/lib'
1007 localedir='${datarootdir}/locale'
1008 mandir='${datarootdir}/man'
1009
1010 ac_prev=
1011 ac_dashdash=
1012 for ac_option
1013 do
1014   # If the previous option needs an argument, assign it.
1015   if test -n "$ac_prev"; then
1016     eval $ac_prev=\$ac_option
1017     ac_prev=
1018     continue
1019   fi
1020
1021   case $ac_option in
1022   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023   *)    ac_optarg=yes ;;
1024   esac
1025
1026   # Accept the important Cygnus configure options, so we can diagnose typos.
1027
1028   case $ac_dashdash$ac_option in
1029   --)
1030     ac_dashdash=yes ;;
1031
1032   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1033     ac_prev=bindir ;;
1034   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1035     bindir=$ac_optarg ;;
1036
1037   -build | --build | --buil | --bui | --bu)
1038     ac_prev=build_alias ;;
1039   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1040     build_alias=$ac_optarg ;;
1041
1042   -cache-file | --cache-file | --cache-fil | --cache-fi \
1043   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1044     ac_prev=cache_file ;;
1045   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1046   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1047     cache_file=$ac_optarg ;;
1048
1049   --config-cache | -C)
1050     cache_file=config.cache ;;
1051
1052   -datadir | --datadir | --datadi | --datad)
1053     ac_prev=datadir ;;
1054   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1055     datadir=$ac_optarg ;;
1056
1057   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1058   | --dataroo | --dataro | --datar)
1059     ac_prev=datarootdir ;;
1060   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1061   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1062     datarootdir=$ac_optarg ;;
1063
1064   -disable-* | --disable-*)
1065     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1066     # Reject names that are not valid shell variable names.
1067     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068       as_fn_error "invalid feature name: $ac_useropt"
1069     ac_useropt_orig=$ac_useropt
1070     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071     case $ac_user_opts in
1072       *"
1073 "enable_$ac_useropt"
1074 "*) ;;
1075       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1076          ac_unrecognized_sep=', ';;
1077     esac
1078     eval enable_$ac_useropt=no ;;
1079
1080   -docdir | --docdir | --docdi | --doc | --do)
1081     ac_prev=docdir ;;
1082   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083     docdir=$ac_optarg ;;
1084
1085   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1086     ac_prev=dvidir ;;
1087   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088     dvidir=$ac_optarg ;;
1089
1090   -enable-* | --enable-*)
1091     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092     # Reject names that are not valid shell variable names.
1093     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094       as_fn_error "invalid feature name: $ac_useropt"
1095     ac_useropt_orig=$ac_useropt
1096     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097     case $ac_user_opts in
1098       *"
1099 "enable_$ac_useropt"
1100 "*) ;;
1101       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1102          ac_unrecognized_sep=', ';;
1103     esac
1104     eval enable_$ac_useropt=\$ac_optarg ;;
1105
1106   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1107   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1108   | --exec | --exe | --ex)
1109     ac_prev=exec_prefix ;;
1110   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1111   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1112   | --exec=* | --exe=* | --ex=*)
1113     exec_prefix=$ac_optarg ;;
1114
1115   -gas | --gas | --ga | --g)
1116     # Obsolete; use --with-gas.
1117     with_gas=yes ;;
1118
1119   -help | --help | --hel | --he | -h)
1120     ac_init_help=long ;;
1121   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1122     ac_init_help=recursive ;;
1123   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1124     ac_init_help=short ;;
1125
1126   -host | --host | --hos | --ho)
1127     ac_prev=host_alias ;;
1128   -host=* | --host=* | --hos=* | --ho=*)
1129     host_alias=$ac_optarg ;;
1130
1131   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1132     ac_prev=htmldir ;;
1133   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1134   | --ht=*)
1135     htmldir=$ac_optarg ;;
1136
1137   -includedir | --includedir | --includedi | --included | --include \
1138   | --includ | --inclu | --incl | --inc)
1139     ac_prev=includedir ;;
1140   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1141   | --includ=* | --inclu=* | --incl=* | --inc=*)
1142     includedir=$ac_optarg ;;
1143
1144   -infodir | --infodir | --infodi | --infod | --info | --inf)
1145     ac_prev=infodir ;;
1146   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1147     infodir=$ac_optarg ;;
1148
1149   -libdir | --libdir | --libdi | --libd)
1150     ac_prev=libdir ;;
1151   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1152     libdir=$ac_optarg ;;
1153
1154   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1155   | --libexe | --libex | --libe)
1156     ac_prev=libexecdir ;;
1157   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1158   | --libexe=* | --libex=* | --libe=*)
1159     libexecdir=$ac_optarg ;;
1160
1161   -localedir | --localedir | --localedi | --localed | --locale)
1162     ac_prev=localedir ;;
1163   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1164     localedir=$ac_optarg ;;
1165
1166   -localstatedir | --localstatedir | --localstatedi | --localstated \
1167   | --localstate | --localstat | --localsta | --localst | --locals)
1168     ac_prev=localstatedir ;;
1169   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1170   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1171     localstatedir=$ac_optarg ;;
1172
1173   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1174     ac_prev=mandir ;;
1175   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1176     mandir=$ac_optarg ;;
1177
1178   -nfp | --nfp | --nf)
1179     # Obsolete; use --without-fp.
1180     with_fp=no ;;
1181
1182   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1183   | --no-cr | --no-c | -n)
1184     no_create=yes ;;
1185
1186   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1187   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188     no_recursion=yes ;;
1189
1190   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1191   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1192   | --oldin | --oldi | --old | --ol | --o)
1193     ac_prev=oldincludedir ;;
1194   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1195   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1196   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1197     oldincludedir=$ac_optarg ;;
1198
1199   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1200     ac_prev=prefix ;;
1201   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1202     prefix=$ac_optarg ;;
1203
1204   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1205   | --program-pre | --program-pr | --program-p)
1206     ac_prev=program_prefix ;;
1207   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1208   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1209     program_prefix=$ac_optarg ;;
1210
1211   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1212   | --program-suf | --program-su | --program-s)
1213     ac_prev=program_suffix ;;
1214   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1215   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1216     program_suffix=$ac_optarg ;;
1217
1218   -program-transform-name | --program-transform-name \
1219   | --program-transform-nam | --program-transform-na \
1220   | --program-transform-n | --program-transform- \
1221   | --program-transform | --program-transfor \
1222   | --program-transfo | --program-transf \
1223   | --program-trans | --program-tran \
1224   | --progr-tra | --program-tr | --program-t)
1225     ac_prev=program_transform_name ;;
1226   -program-transform-name=* | --program-transform-name=* \
1227   | --program-transform-nam=* | --program-transform-na=* \
1228   | --program-transform-n=* | --program-transform-=* \
1229   | --program-transform=* | --program-transfor=* \
1230   | --program-transfo=* | --program-transf=* \
1231   | --program-trans=* | --program-tran=* \
1232   | --progr-tra=* | --program-tr=* | --program-t=*)
1233     program_transform_name=$ac_optarg ;;
1234
1235   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1236     ac_prev=pdfdir ;;
1237   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1238     pdfdir=$ac_optarg ;;
1239
1240   -psdir | --psdir | --psdi | --psd | --ps)
1241     ac_prev=psdir ;;
1242   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243     psdir=$ac_optarg ;;
1244
1245   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246   | -silent | --silent | --silen | --sile | --sil)
1247     silent=yes ;;
1248
1249   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1250     ac_prev=sbindir ;;
1251   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1252   | --sbi=* | --sb=*)
1253     sbindir=$ac_optarg ;;
1254
1255   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1256   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1257   | --sharedst | --shareds | --shared | --share | --shar \
1258   | --sha | --sh)
1259     ac_prev=sharedstatedir ;;
1260   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1261   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1262   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1263   | --sha=* | --sh=*)
1264     sharedstatedir=$ac_optarg ;;
1265
1266   -site | --site | --sit)
1267     ac_prev=site ;;
1268   -site=* | --site=* | --sit=*)
1269     site=$ac_optarg ;;
1270
1271   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1272     ac_prev=srcdir ;;
1273   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1274     srcdir=$ac_optarg ;;
1275
1276   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1277   | --syscon | --sysco | --sysc | --sys | --sy)
1278     ac_prev=sysconfdir ;;
1279   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1280   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1281     sysconfdir=$ac_optarg ;;
1282
1283   -target | --target | --targe | --targ | --tar | --ta | --t)
1284     ac_prev=target_alias ;;
1285   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1286     target_alias=$ac_optarg ;;
1287
1288   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289     verbose=yes ;;
1290
1291   -version | --version | --versio | --versi | --vers | -V)
1292     ac_init_version=: ;;
1293
1294   -with-* | --with-*)
1295     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296     # Reject names that are not valid shell variable names.
1297     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298       as_fn_error "invalid package name: $ac_useropt"
1299     ac_useropt_orig=$ac_useropt
1300     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301     case $ac_user_opts in
1302       *"
1303 "with_$ac_useropt"
1304 "*) ;;
1305       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1306          ac_unrecognized_sep=', ';;
1307     esac
1308     eval with_$ac_useropt=\$ac_optarg ;;
1309
1310   -without-* | --without-*)
1311     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1312     # Reject names that are not valid shell variable names.
1313     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1314       as_fn_error "invalid package name: $ac_useropt"
1315     ac_useropt_orig=$ac_useropt
1316     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317     case $ac_user_opts in
1318       *"
1319 "with_$ac_useropt"
1320 "*) ;;
1321       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322          ac_unrecognized_sep=', ';;
1323     esac
1324     eval with_$ac_useropt=no ;;
1325
1326   --x)
1327     # Obsolete; use --with-x.
1328     with_x=yes ;;
1329
1330   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1331   | --x-incl | --x-inc | --x-in | --x-i)
1332     ac_prev=x_includes ;;
1333   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1334   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1335     x_includes=$ac_optarg ;;
1336
1337   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1338   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1339     ac_prev=x_libraries ;;
1340   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1341   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1342     x_libraries=$ac_optarg ;;
1343
1344   -*) as_fn_error "unrecognized option: \`$ac_option'
1345 Try \`$0 --help' for more information."
1346     ;;
1347
1348   *=*)
1349     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1350     # Reject names that are not valid shell variable names.
1351     case $ac_envvar in #(
1352       '' | [0-9]* | *[!_$as_cr_alnum]* )
1353       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1354     esac
1355     eval $ac_envvar=\$ac_optarg
1356     export $ac_envvar ;;
1357
1358   *)
1359     # FIXME: should be removed in autoconf 3.0.
1360     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1362       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1364     ;;
1365
1366   esac
1367 done
1368
1369 if test -n "$ac_prev"; then
1370   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1371   as_fn_error "missing argument to $ac_option"
1372 fi
1373
1374 if test -n "$ac_unrecognized_opts"; then
1375   case $enable_option_checking in
1376     no) ;;
1377     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1378     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379   esac
1380 fi
1381
1382 # Check all directory arguments for consistency.
1383 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1384                 datadir sysconfdir sharedstatedir localstatedir includedir \
1385                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1386                 libdir localedir mandir
1387 do
1388   eval ac_val=\$$ac_var
1389   # Remove trailing slashes.
1390   case $ac_val in
1391     */ )
1392       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1393       eval $ac_var=\$ac_val;;
1394   esac
1395   # Be sure to have absolute directory names.
1396   case $ac_val in
1397     [\\/$]* | ?:[\\/]* )  continue;;
1398     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1399   esac
1400   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1401 done
1402
1403 # There might be people who depend on the old broken behavior: `$host'
1404 # used to hold the argument of --host etc.
1405 # FIXME: To remove some day.
1406 build=$build_alias
1407 host=$host_alias
1408 target=$target_alias
1409
1410 # FIXME: To remove some day.
1411 if test "x$host_alias" != x; then
1412   if test "x$build_alias" = x; then
1413     cross_compiling=maybe
1414     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1415     If a cross compiler is detected then cross compile mode will be used." >&2
1416   elif test "x$build_alias" != "x$host_alias"; then
1417     cross_compiling=yes
1418   fi
1419 fi
1420
1421 ac_tool_prefix=
1422 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1423
1424 test "$silent" = yes && exec 6>/dev/null
1425
1426
1427 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1428 ac_ls_di=`ls -di .` &&
1429 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1430   as_fn_error "working directory cannot be determined"
1431 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1432   as_fn_error "pwd does not report name of working directory"
1433
1434
1435 # Find the source files, if location was not specified.
1436 if test -z "$srcdir"; then
1437   ac_srcdir_defaulted=yes
1438   # Try the directory containing this script, then the parent directory.
1439   ac_confdir=`$as_dirname -- "$as_myself" ||
1440 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1441          X"$as_myself" : 'X\(//\)[^/]' \| \
1442          X"$as_myself" : 'X\(//\)$' \| \
1443          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1444 $as_echo X"$as_myself" |
1445     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446             s//\1/
1447             q
1448           }
1449           /^X\(\/\/\)[^/].*/{
1450             s//\1/
1451             q
1452           }
1453           /^X\(\/\/\)$/{
1454             s//\1/
1455             q
1456           }
1457           /^X\(\/\).*/{
1458             s//\1/
1459             q
1460           }
1461           s/.*/./; q'`
1462   srcdir=$ac_confdir
1463   if test ! -r "$srcdir/$ac_unique_file"; then
1464     srcdir=..
1465   fi
1466 else
1467   ac_srcdir_defaulted=no
1468 fi
1469 if test ! -r "$srcdir/$ac_unique_file"; then
1470   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1472 fi
1473 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1474 ac_abs_confdir=`(
1475         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1476         pwd)`
1477 # When building in place, set srcdir=.
1478 if test "$ac_abs_confdir" = "$ac_pwd"; then
1479   srcdir=.
1480 fi
1481 # Remove unnecessary trailing slashes from srcdir.
1482 # Double slashes in file names in object file debugging info
1483 # mess up M-x gdb in Emacs.
1484 case $srcdir in
1485 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1486 esac
1487 for ac_var in $ac_precious_vars; do
1488   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1489   eval ac_env_${ac_var}_value=\$${ac_var}
1490   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1491   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1492 done
1493
1494 #
1495 # Report the --help message.
1496 #
1497 if test "$ac_init_help" = "long"; then
1498   # Omit some internal or obsolete options to make the list less imposing.
1499   # This message is too long to be a string in the A/UX 3.1 sh.
1500   cat <<_ACEOF
1501 \`configure' configures HarfBuzz 0.9.3 to adapt to many kinds of systems.
1502
1503 Usage: $0 [OPTION]... [VAR=VALUE]...
1504
1505 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1506 VAR=VALUE.  See below for descriptions of some of the useful variables.
1507
1508 Defaults for the options are specified in brackets.
1509
1510 Configuration:
1511   -h, --help              display this help and exit
1512       --help=short        display options specific to this package
1513       --help=recursive    display the short help of all the included packages
1514   -V, --version           display version information and exit
1515   -q, --quiet, --silent   do not print \`checking...' messages
1516       --cache-file=FILE   cache test results in FILE [disabled]
1517   -C, --config-cache      alias for \`--cache-file=config.cache'
1518   -n, --no-create         do not create output files
1519       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1520
1521 Installation directories:
1522   --prefix=PREFIX         install architecture-independent files in PREFIX
1523                           [$ac_default_prefix]
1524   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1525                           [PREFIX]
1526
1527 By default, \`make install' will install all the files in
1528 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1529 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1530 for instance \`--prefix=\$HOME'.
1531
1532 For better control, use the options below.
1533
1534 Fine tuning of the installation directories:
1535   --bindir=DIR            user executables [EPREFIX/bin]
1536   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1537   --libexecdir=DIR        program executables [EPREFIX/libexec]
1538   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1539   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1540   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1541   --libdir=DIR            object code libraries [EPREFIX/lib]
1542   --includedir=DIR        C header files [PREFIX/include]
1543   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1544   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1545   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1546   --infodir=DIR           info documentation [DATAROOTDIR/info]
1547   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1548   --mandir=DIR            man documentation [DATAROOTDIR/man]
1549   --docdir=DIR            documentation root [DATAROOTDIR/doc/harfbuzz]
1550   --htmldir=DIR           html documentation [DOCDIR]
1551   --dvidir=DIR            dvi documentation [DOCDIR]
1552   --pdfdir=DIR            pdf documentation [DOCDIR]
1553   --psdir=DIR             ps documentation [DOCDIR]
1554 _ACEOF
1555
1556   cat <<\_ACEOF
1557
1558 Program names:
1559   --program-prefix=PREFIX            prepend PREFIX to installed program names
1560   --program-suffix=SUFFIX            append SUFFIX to installed program names
1561   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1562
1563 System types:
1564   --build=BUILD     configure for building on BUILD [guessed]
1565   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1566 _ACEOF
1567 fi
1568
1569 if test -n "$ac_init_help"; then
1570   case $ac_init_help in
1571      short | recursive ) echo "Configuration of HarfBuzz 0.9.3:";;
1572    esac
1573   cat <<\_ACEOF
1574
1575 Optional Features:
1576   --disable-option-checking  ignore unrecognized --enable/--with options
1577   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1578   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1579   --enable-silent-rules          less verbose build output (undo: `make V=1')
1580   --disable-silent-rules         verbose build output (undo: `make V=0')
1581   --enable-static[=PKGS]  build static libraries [default=no]
1582   --enable-shared[=PKGS]  build shared libraries [default=yes]
1583   --enable-fast-install[=PKGS]
1584                           optimize for fast installation [default=yes]
1585   --disable-dependency-tracking  speeds up one-time build
1586   --enable-dependency-tracking   do not reject slow dependency extractors
1587   --disable-libtool-lock  avoid locking (might break parallel builds)
1588
1589 Optional Packages:
1590   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1591   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1592   --with-pic              try to use only PIC/non-PIC objects [default=use
1593                           both]
1594   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1595
1596 Some influential environment variables:
1597   CC          C compiler command
1598   CFLAGS      C compiler flags
1599   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1600               nonstandard directory <lib dir>
1601   LIBS        libraries to pass to the linker, e.g. -l<library>
1602   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1603               you have headers in a nonstandard directory <include dir>
1604   CPP         C preprocessor
1605   CXX         C++ compiler command
1606   CXXFLAGS    C++ compiler flags
1607   CXXCPP      C++ preprocessor
1608   PKG_CONFIG  path to pkg-config utility
1609   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1610   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1611   GTHREAD_CFLAGS
1612               C compiler flags for GTHREAD, overriding pkg-config
1613   GTHREAD_LIBS
1614               linker flags for GTHREAD, overriding pkg-config
1615   GOBJECT_CFLAGS
1616               C compiler flags for GOBJECT, overriding pkg-config
1617   GOBJECT_LIBS
1618               linker flags for GOBJECT, overriding pkg-config
1619   CAIRO_CFLAGS
1620               C compiler flags for CAIRO, overriding pkg-config
1621   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1622   CAIRO_FT_CFLAGS
1623               C compiler flags for CAIRO_FT, overriding pkg-config
1624   CAIRO_FT_LIBS
1625               linker flags for CAIRO_FT, overriding pkg-config
1626   ICU_CFLAGS  C compiler flags for ICU, overriding pkg-config
1627   ICU_LIBS    linker flags for ICU, overriding pkg-config
1628   GRAPHITE2_CFLAGS
1629               C compiler flags for GRAPHITE2, overriding pkg-config
1630   GRAPHITE2_LIBS
1631               linker flags for GRAPHITE2, overriding pkg-config
1632   FREETYPE_CFLAGS
1633               C compiler flags for FREETYPE, overriding pkg-config
1634   FREETYPE_LIBS
1635               linker flags for FREETYPE, overriding pkg-config
1636
1637 Use these variables to override the choices made by `configure' or to help
1638 it to find libraries and programs with nonstandard names/locations.
1639
1640 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
1641 HarfBuzz home page: <http://harfbuzz.org/>.
1642 _ACEOF
1643 ac_status=$?
1644 fi
1645
1646 if test "$ac_init_help" = "recursive"; then
1647   # If there are subdirs, report their specific --help.
1648   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1649     test -d "$ac_dir" ||
1650       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1651       continue
1652     ac_builddir=.
1653
1654 case "$ac_dir" in
1655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *)
1657   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1658   # A ".." for each directory in $ac_dir_suffix.
1659   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1660   case $ac_top_builddir_sub in
1661   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1663   esac ;;
1664 esac
1665 ac_abs_top_builddir=$ac_pwd
1666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1667 # for backward compatibility:
1668 ac_top_builddir=$ac_top_build_prefix
1669
1670 case $srcdir in
1671   .)  # We are building in place.
1672     ac_srcdir=.
1673     ac_top_srcdir=$ac_top_builddir_sub
1674     ac_abs_top_srcdir=$ac_pwd ;;
1675   [\\/]* | ?:[\\/]* )  # Absolute name.
1676     ac_srcdir=$srcdir$ac_dir_suffix;
1677     ac_top_srcdir=$srcdir
1678     ac_abs_top_srcdir=$srcdir ;;
1679   *) # Relative name.
1680     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1681     ac_top_srcdir=$ac_top_build_prefix$srcdir
1682     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1683 esac
1684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1685
1686     cd "$ac_dir" || { ac_status=$?; continue; }
1687     # Check for guested configure.
1688     if test -f "$ac_srcdir/configure.gnu"; then
1689       echo &&
1690       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1691     elif test -f "$ac_srcdir/configure"; then
1692       echo &&
1693       $SHELL "$ac_srcdir/configure" --help=recursive
1694     else
1695       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1696     fi || ac_status=$?
1697     cd "$ac_pwd" || { ac_status=$?; break; }
1698   done
1699 fi
1700
1701 test -n "$ac_init_help" && exit $ac_status
1702 if $ac_init_version; then
1703   cat <<\_ACEOF
1704 HarfBuzz configure 0.9.3
1705 generated by GNU Autoconf 2.65
1706
1707 Copyright (C) 2009 Free Software Foundation, Inc.
1708 This configure script is free software; the Free Software Foundation
1709 gives unlimited permission to copy, distribute and modify it.
1710 _ACEOF
1711   exit
1712 fi
1713
1714 ## ------------------------ ##
1715 ## Autoconf initialization. ##
1716 ## ------------------------ ##
1717
1718 # ac_fn_c_try_compile LINENO
1719 # --------------------------
1720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1721 ac_fn_c_try_compile ()
1722 {
1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724   rm -f conftest.$ac_objext
1725   if { { ac_try="$ac_compile"
1726 case "(($ac_try" in
1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728   *) ac_try_echo=$ac_try;;
1729 esac
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732   (eval "$ac_compile") 2>conftest.err
1733   ac_status=$?
1734   if test -s conftest.err; then
1735     grep -v '^ *+' conftest.err >conftest.er1
1736     cat conftest.er1 >&5
1737     mv -f conftest.er1 conftest.err
1738   fi
1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740   test $ac_status = 0; } && {
1741          test -z "$ac_c_werror_flag" ||
1742          test ! -s conftest.err
1743        } && test -s conftest.$ac_objext; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749         ac_retval=1
1750 fi
1751   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752   as_fn_set_status $ac_retval
1753
1754 } # ac_fn_c_try_compile
1755
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_c_try_link ()
1760 {
1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762   rm -f conftest.$ac_objext conftest$ac_exeext
1763   if { { ac_try="$ac_link"
1764 case "(($ac_try" in
1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766   *) ac_try_echo=$ac_try;;
1767 esac
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770   (eval "$ac_link") 2>conftest.err
1771   ac_status=$?
1772   if test -s conftest.err; then
1773     grep -v '^ *+' conftest.err >conftest.er1
1774     cat conftest.er1 >&5
1775     mv -f conftest.er1 conftest.err
1776   fi
1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778   test $ac_status = 0; } && {
1779          test -z "$ac_c_werror_flag" ||
1780          test ! -s conftest.err
1781        } && test -s conftest$ac_exeext && {
1782          test "$cross_compiling" = yes ||
1783          $as_test_x conftest$ac_exeext
1784        }; then :
1785   ac_retval=0
1786 else
1787   $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790         ac_retval=1
1791 fi
1792   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794   # interfere with the next link command; also delete a directory that is
1795   # left behind by Apple's compiler.  We do this before executing the actions.
1796   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798   as_fn_set_status $ac_retval
1799
1800 } # ac_fn_c_try_link
1801
1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1803 # -------------------------------------------------------
1804 # Tests whether HEADER exists and can be compiled using the include files in
1805 # INCLUDES, setting the cache variable VAR accordingly.
1806 ac_fn_c_check_header_compile ()
1807 {
1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812   $as_echo_n "(cached) " >&6
1813 else
1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h.  */
1816 $4
1817 #include <$2>
1818 _ACEOF
1819 if ac_fn_c_try_compile "$LINENO"; then :
1820   eval "$3=yes"
1821 else
1822   eval "$3=no"
1823 fi
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 fi
1826 eval ac_res=\$$3
1827                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1829   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830
1831 } # ac_fn_c_check_header_compile
1832
1833 # ac_fn_c_try_cpp LINENO
1834 # ----------------------
1835 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_c_try_cpp ()
1837 {
1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839   if { { ac_try="$ac_cpp conftest.$ac_ext"
1840 case "(($ac_try" in
1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842   *) ac_try_echo=$ac_try;;
1843 esac
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1847   ac_status=$?
1848   if test -s conftest.err; then
1849     grep -v '^ *+' conftest.err >conftest.er1
1850     cat conftest.er1 >&5
1851     mv -f conftest.er1 conftest.err
1852   fi
1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854   test $ac_status = 0; } >/dev/null && {
1855          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1856          test ! -s conftest.err
1857        }; then :
1858   ac_retval=0
1859 else
1860   $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1862
1863     ac_retval=1
1864 fi
1865   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866   as_fn_set_status $ac_retval
1867
1868 } # ac_fn_c_try_cpp
1869
1870 # ac_fn_c_try_run LINENO
1871 # ----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1873 # that executables *can* be run.
1874 ac_fn_c_try_run ()
1875 {
1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877   if { { ac_try="$ac_link"
1878 case "(($ac_try" in
1879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1880   *) ac_try_echo=$ac_try;;
1881 esac
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884   (eval "$ac_link") 2>&5
1885   ac_status=$?
1886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1888   { { case "(($ac_try" in
1889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890   *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894   (eval "$ac_try") 2>&5
1895   ac_status=$?
1896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897   test $ac_status = 0; }; }; then :
1898   ac_retval=0
1899 else
1900   $as_echo "$as_me: program exited with status $ac_status" >&5
1901        $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1903
1904        ac_retval=$ac_status
1905 fi
1906   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1908   as_fn_set_status $ac_retval
1909
1910 } # ac_fn_c_try_run
1911
1912 # ac_fn_c_check_func LINENO FUNC VAR
1913 # ----------------------------------
1914 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1915 ac_fn_c_check_func ()
1916 {
1917   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1921   $as_echo_n "(cached) " >&6
1922 else
1923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h.  */
1925 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1927 #define $2 innocuous_$2
1928
1929 /* System header to define __stub macros and hopefully few prototypes,
1930     which can conflict with char $2 (); below.
1931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1932     <limits.h> exists even on freestanding compilers.  */
1933
1934 #ifdef __STDC__
1935 # include <limits.h>
1936 #else
1937 # include <assert.h>
1938 #endif
1939
1940 #undef $2
1941
1942 /* Override any GCC internal prototype to avoid an error.
1943    Use char because int might match the return type of a GCC
1944    builtin and then its argument prototype would still apply.  */
1945 #ifdef __cplusplus
1946 extern "C"
1947 #endif
1948 char $2 ();
1949 /* The GNU C library defines this for functions which it implements
1950     to always fail with ENOSYS.  Some functions are actually named
1951     something starting with __ and the normal name is an alias.  */
1952 #if defined __stub_$2 || defined __stub___$2
1953 choke me
1954 #endif
1955
1956 int
1957 main ()
1958 {
1959 return $2 ();
1960   ;
1961   return 0;
1962 }
1963 _ACEOF
1964 if ac_fn_c_try_link "$LINENO"; then :
1965   eval "$3=yes"
1966 else
1967   eval "$3=no"
1968 fi
1969 rm -f core conftest.err conftest.$ac_objext \
1970     conftest$ac_exeext conftest.$ac_ext
1971 fi
1972 eval ac_res=\$$3
1973                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1976
1977 } # ac_fn_c_check_func
1978
1979 # ac_fn_cxx_try_compile LINENO
1980 # ----------------------------
1981 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1982 ac_fn_cxx_try_compile ()
1983 {
1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985   rm -f conftest.$ac_objext
1986   if { { ac_try="$ac_compile"
1987 case "(($ac_try" in
1988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989   *) ac_try_echo=$ac_try;;
1990 esac
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993   (eval "$ac_compile") 2>conftest.err
1994   ac_status=$?
1995   if test -s conftest.err; then
1996     grep -v '^ *+' conftest.err >conftest.er1
1997     cat conftest.er1 >&5
1998     mv -f conftest.er1 conftest.err
1999   fi
2000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001   test $ac_status = 0; } && {
2002          test -z "$ac_cxx_werror_flag" ||
2003          test ! -s conftest.err
2004        } && test -s conftest.$ac_objext; then :
2005   ac_retval=0
2006 else
2007   $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2009
2010         ac_retval=1
2011 fi
2012   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013   as_fn_set_status $ac_retval
2014
2015 } # ac_fn_cxx_try_compile
2016
2017 # ac_fn_cxx_try_cpp LINENO
2018 # ------------------------
2019 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_cpp ()
2021 {
2022   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023   if { { ac_try="$ac_cpp conftest.$ac_ext"
2024 case "(($ac_try" in
2025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026   *) ac_try_echo=$ac_try;;
2027 esac
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2031   ac_status=$?
2032   if test -s conftest.err; then
2033     grep -v '^ *+' conftest.err >conftest.er1
2034     cat conftest.er1 >&5
2035     mv -f conftest.er1 conftest.err
2036   fi
2037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038   test $ac_status = 0; } >/dev/null && {
2039          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2040          test ! -s conftest.err
2041        }; then :
2042   ac_retval=0
2043 else
2044   $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2046
2047     ac_retval=1
2048 fi
2049   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050   as_fn_set_status $ac_retval
2051
2052 } # ac_fn_cxx_try_cpp
2053
2054 # ac_fn_cxx_try_link LINENO
2055 # -------------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded.
2057 ac_fn_cxx_try_link ()
2058 {
2059   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060   rm -f conftest.$ac_objext conftest$ac_exeext
2061   if { { ac_try="$ac_link"
2062 case "(($ac_try" in
2063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2064   *) ac_try_echo=$ac_try;;
2065 esac
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068   (eval "$ac_link") 2>conftest.err
2069   ac_status=$?
2070   if test -s conftest.err; then
2071     grep -v '^ *+' conftest.err >conftest.er1
2072     cat conftest.er1 >&5
2073     mv -f conftest.er1 conftest.err
2074   fi
2075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076   test $ac_status = 0; } && {
2077          test -z "$ac_cxx_werror_flag" ||
2078          test ! -s conftest.err
2079        } && test -s conftest$ac_exeext && {
2080          test "$cross_compiling" = yes ||
2081          $as_test_x conftest$ac_exeext
2082        }; then :
2083   ac_retval=0
2084 else
2085   $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2087
2088         ac_retval=1
2089 fi
2090   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2091   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2092   # interfere with the next link command; also delete a directory that is
2093   # left behind by Apple's compiler.  We do this before executing the actions.
2094   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096   as_fn_set_status $ac_retval
2097
2098 } # ac_fn_cxx_try_link
2099
2100 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2104 # accordingly.
2105 ac_fn_c_check_header_mongrel ()
2106 {
2107   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2112   $as_echo_n "(cached) " >&6
2113 fi
2114 eval ac_res=\$$3
2115                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 else
2118   # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 $4
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127   ac_header_compiler=yes
2128 else
2129   ac_header_compiler=no
2130 fi
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2133 $as_echo "$ac_header_compiler" >&6; }
2134
2135 # Is the header present?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2137 $as_echo_n "checking $2 presence... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h.  */
2140 #include <$2>
2141 _ACEOF
2142 if ac_fn_c_try_cpp "$LINENO"; then :
2143   ac_header_preproc=yes
2144 else
2145   ac_header_preproc=no
2146 fi
2147 rm -f conftest.err conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2149 $as_echo "$ac_header_preproc" >&6; }
2150
2151 # So?  What about this header?
2152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2153   yes:no: )
2154     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2156     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158     ;;
2159   no:yes:* )
2160     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2164     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2168     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 ( cat <<\_ASBOX
2171 ## ------------------------------------------------------------------------- ##
2172 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz ##
2173 ## ------------------------------------------------------------------------- ##
2174 _ASBOX
2175      ) | sed "s/^/$as_me: WARNING:     /" >&2
2176     ;;
2177 esac
2178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2179 $as_echo_n "checking for $2... " >&6; }
2180 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2181   $as_echo_n "(cached) " >&6
2182 else
2183   eval "$3=\$ac_header_compiler"
2184 fi
2185 eval ac_res=\$$3
2186                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2188 fi
2189   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2190
2191 } # ac_fn_c_check_header_mongrel
2192 cat >config.log <<_ACEOF
2193 This file contains any messages produced by compilers while
2194 running configure, to aid debugging if configure makes a mistake.
2195
2196 It was created by HarfBuzz $as_me 0.9.3, which was
2197 generated by GNU Autoconf 2.65.  Invocation command line was
2198
2199   $ $0 $@
2200
2201 _ACEOF
2202 exec 5>>config.log
2203 {
2204 cat <<_ASUNAME
2205 ## --------- ##
2206 ## Platform. ##
2207 ## --------- ##
2208
2209 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2210 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2211 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2212 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2213 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2214
2215 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2216 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2217
2218 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2219 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2220 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2221 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2222 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2223 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2224 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2225
2226 _ASUNAME
2227
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 for as_dir in $PATH
2230 do
2231   IFS=$as_save_IFS
2232   test -z "$as_dir" && as_dir=.
2233     $as_echo "PATH: $as_dir"
2234   done
2235 IFS=$as_save_IFS
2236
2237 } >&5
2238
2239 cat >&5 <<_ACEOF
2240
2241
2242 ## ----------- ##
2243 ## Core tests. ##
2244 ## ----------- ##
2245
2246 _ACEOF
2247
2248
2249 # Keep a trace of the command line.
2250 # Strip out --no-create and --no-recursion so they do not pile up.
2251 # Strip out --silent because we don't want to record it for future runs.
2252 # Also quote any args containing shell meta-characters.
2253 # Make two passes to allow for proper duplicate-argument suppression.
2254 ac_configure_args=
2255 ac_configure_args0=
2256 ac_configure_args1=
2257 ac_must_keep_next=false
2258 for ac_pass in 1 2
2259 do
2260   for ac_arg
2261   do
2262     case $ac_arg in
2263     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2264     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2265     | -silent | --silent | --silen | --sile | --sil)
2266       continue ;;
2267     *\'*)
2268       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2269     esac
2270     case $ac_pass in
2271     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2272     2)
2273       as_fn_append ac_configure_args1 " '$ac_arg'"
2274       if test $ac_must_keep_next = true; then
2275         ac_must_keep_next=false # Got value, back to normal.
2276       else
2277         case $ac_arg in
2278           *=* | --config-cache | -C | -disable-* | --disable-* \
2279           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2280           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2281           | -with-* | --with-* | -without-* | --without-* | --x)
2282             case "$ac_configure_args0 " in
2283               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2284             esac
2285             ;;
2286           -* ) ac_must_keep_next=true ;;
2287         esac
2288       fi
2289       as_fn_append ac_configure_args " '$ac_arg'"
2290       ;;
2291     esac
2292   done
2293 done
2294 { ac_configure_args0=; unset ac_configure_args0;}
2295 { ac_configure_args1=; unset ac_configure_args1;}
2296
2297 # When interrupted or exit'd, cleanup temporary files, and complete
2298 # config.log.  We remove comments because anyway the quotes in there
2299 # would cause problems or look ugly.
2300 # WARNING: Use '\'' to represent an apostrophe within the trap.
2301 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2302 trap 'exit_status=$?
2303   # Save into config.log some information that might help in debugging.
2304   {
2305     echo
2306
2307     cat <<\_ASBOX
2308 ## ---------------- ##
2309 ## Cache variables. ##
2310 ## ---------------- ##
2311 _ASBOX
2312     echo
2313     # The following way of writing the cache mishandles newlines in values,
2314 (
2315   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2316     eval ac_val=\$$ac_var
2317     case $ac_val in #(
2318     *${as_nl}*)
2319       case $ac_var in #(
2320       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2322       esac
2323       case $ac_var in #(
2324       _ | IFS | as_nl) ;; #(
2325       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2326       *) { eval $ac_var=; unset $ac_var;} ;;
2327       esac ;;
2328     esac
2329   done
2330   (set) 2>&1 |
2331     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2332     *${as_nl}ac_space=\ *)
2333       sed -n \
2334         "s/'\''/'\''\\\\'\'''\''/g;
2335           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2336       ;; #(
2337     *)
2338       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2339       ;;
2340     esac |
2341     sort
2342 )
2343     echo
2344
2345     cat <<\_ASBOX
2346 ## ----------------- ##
2347 ## Output variables. ##
2348 ## ----------------- ##
2349 _ASBOX
2350     echo
2351     for ac_var in $ac_subst_vars
2352     do
2353       eval ac_val=\$$ac_var
2354       case $ac_val in
2355       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2356       esac
2357       $as_echo "$ac_var='\''$ac_val'\''"
2358     done | sort
2359     echo
2360
2361     if test -n "$ac_subst_files"; then
2362       cat <<\_ASBOX
2363 ## ------------------- ##
2364 ## File substitutions. ##
2365 ## ------------------- ##
2366 _ASBOX
2367       echo
2368       for ac_var in $ac_subst_files
2369       do
2370         eval ac_val=\$$ac_var
2371         case $ac_val in
2372         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2373         esac
2374         $as_echo "$ac_var='\''$ac_val'\''"
2375       done | sort
2376       echo
2377     fi
2378
2379     if test -s confdefs.h; then
2380       cat <<\_ASBOX
2381 ## ----------- ##
2382 ## confdefs.h. ##
2383 ## ----------- ##
2384 _ASBOX
2385       echo
2386       cat confdefs.h
2387       echo
2388     fi
2389     test "$ac_signal" != 0 &&
2390       $as_echo "$as_me: caught signal $ac_signal"
2391     $as_echo "$as_me: exit $exit_status"
2392   } >&5
2393   rm -f core *.core core.conftest.* &&
2394     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2395     exit $exit_status
2396 ' 0
2397 for ac_signal in 1 2 13 15; do
2398   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2399 done
2400 ac_signal=0
2401
2402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2403 rm -f -r conftest* confdefs.h
2404
2405 $as_echo "/* confdefs.h */" > confdefs.h
2406
2407 # Predefined preprocessor variables.
2408
2409 cat >>confdefs.h <<_ACEOF
2410 #define PACKAGE_NAME "$PACKAGE_NAME"
2411 _ACEOF
2412
2413 cat >>confdefs.h <<_ACEOF
2414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2415 _ACEOF
2416
2417 cat >>confdefs.h <<_ACEOF
2418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2419 _ACEOF
2420
2421 cat >>confdefs.h <<_ACEOF
2422 #define PACKAGE_STRING "$PACKAGE_STRING"
2423 _ACEOF
2424
2425 cat >>confdefs.h <<_ACEOF
2426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2427 _ACEOF
2428
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE_URL "$PACKAGE_URL"
2431 _ACEOF
2432
2433
2434 # Let the site file select an alternate cache file if it wants to.
2435 # Prefer an explicitly selected file to automatically selected ones.
2436 ac_site_file1=NONE
2437 ac_site_file2=NONE
2438 if test -n "$CONFIG_SITE"; then
2439   ac_site_file1=$CONFIG_SITE
2440 elif test "x$prefix" != xNONE; then
2441   ac_site_file1=$prefix/share/config.site
2442   ac_site_file2=$prefix/etc/config.site
2443 else
2444   ac_site_file1=$ac_default_prefix/share/config.site
2445   ac_site_file2=$ac_default_prefix/etc/config.site
2446 fi
2447 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2448 do
2449   test "x$ac_site_file" = xNONE && continue
2450   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2451     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2452 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2453     sed 's/^/| /' "$ac_site_file" >&5
2454     . "$ac_site_file"
2455   fi
2456 done
2457
2458 if test -r "$cache_file"; then
2459   # Some versions of bash will fail to source /dev/null (special files
2460   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2461   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2462     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2463 $as_echo "$as_me: loading cache $cache_file" >&6;}
2464     case $cache_file in
2465       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2466       *)                      . "./$cache_file";;
2467     esac
2468   fi
2469 else
2470   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2471 $as_echo "$as_me: creating cache $cache_file" >&6;}
2472   >$cache_file
2473 fi
2474
2475 # Check that the precious variables saved in the cache have kept the same
2476 # value.
2477 ac_cache_corrupted=false
2478 for ac_var in $ac_precious_vars; do
2479   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2480   eval ac_new_set=\$ac_env_${ac_var}_set
2481   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2482   eval ac_new_val=\$ac_env_${ac_var}_value
2483   case $ac_old_set,$ac_new_set in
2484     set,)
2485       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2486 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2487       ac_cache_corrupted=: ;;
2488     ,set)
2489       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2490 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2491       ac_cache_corrupted=: ;;
2492     ,);;
2493     *)
2494       if test "x$ac_old_val" != "x$ac_new_val"; then
2495         # differences in whitespace do not lead to failure.
2496         ac_old_val_w=`echo x $ac_old_val`
2497         ac_new_val_w=`echo x $ac_new_val`
2498         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2499           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2500 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2501           ac_cache_corrupted=:
2502         else
2503           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2504 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2505           eval $ac_var=\$ac_old_val
2506         fi
2507         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2508 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2509         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2510 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2511       fi;;
2512   esac
2513   # Pass precious variables to config.status.
2514   if test "$ac_new_set" = set; then
2515     case $ac_new_val in
2516     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2517     *) ac_arg=$ac_var=$ac_new_val ;;
2518     esac
2519     case " $ac_configure_args " in
2520       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2521       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2522     esac
2523   fi
2524 done
2525 if $ac_cache_corrupted; then
2526   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2529 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2530   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2531 fi
2532 ## -------------------- ##
2533 ## Main body of script. ##
2534 ## -------------------- ##
2535
2536 ac_ext=c
2537 ac_cpp='$CPP $CPPFLAGS'
2538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2541
2542
2543
2544
2545 ac_config_headers="$ac_config_headers config.h"
2546
2547
2548 am__api_version='1.11'
2549
2550 ac_aux_dir=
2551 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2552   for ac_t in install-sh install.sh shtool; do
2553     if test -f "$ac_dir/$ac_t"; then
2554       ac_aux_dir=$ac_dir
2555       ac_install_sh="$ac_aux_dir/$ac_t -c"
2556       break 2
2557     fi
2558   done
2559 done
2560 if test -z "$ac_aux_dir"; then
2561   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2562 fi
2563
2564 # These three variables are undocumented and unsupported,
2565 # and are intended to be withdrawn in a future Autoconf release.
2566 # They can cause serious problems if a builder's source tree is in a directory
2567 # whose full name contains unusual characters.
2568 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2569 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2570 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2571
2572
2573 # Find a good install program.  We prefer a C program (faster),
2574 # so one script is as good as another.  But avoid the broken or
2575 # incompatible versions:
2576 # SysV /etc/install, /usr/sbin/install
2577 # SunOS /usr/etc/install
2578 # IRIX /sbin/install
2579 # AIX /bin/install
2580 # AmigaOS /C/install, which installs bootblocks on floppy discs
2581 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2582 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2583 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2584 # OS/2's system install, which has a completely different semantic
2585 # ./install, which can be erroneously created by make from ./install.sh.
2586 # Reject install programs that cannot install multiple files.
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2588 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2589 if test -z "$INSTALL"; then
2590 if test "${ac_cv_path_install+set}" = set; then :
2591   $as_echo_n "(cached) " >&6
2592 else
2593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 for as_dir in $PATH
2595 do
2596   IFS=$as_save_IFS
2597   test -z "$as_dir" && as_dir=.
2598     # Account for people who put trailing slashes in PATH elements.
2599 case $as_dir/ in #((
2600   ./ | .// | /[cC]/* | \
2601   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2602   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2603   /usr/ucb/* ) ;;
2604   *)
2605     # OSF1 and SCO ODT 3.0 have their own names for install.
2606     # Don't use installbsd from OSF since it installs stuff as root
2607     # by default.
2608     for ac_prog in ginstall scoinst install; do
2609       for ac_exec_ext in '' $ac_executable_extensions; do
2610         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2611           if test $ac_prog = install &&
2612             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2613             # AIX install.  It has an incompatible calling convention.
2614             :
2615           elif test $ac_prog = install &&
2616             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2617             # program-specific install script used by HP pwplus--don't use.
2618             :
2619           else
2620             rm -rf conftest.one conftest.two conftest.dir
2621             echo one > conftest.one
2622             echo two > conftest.two
2623             mkdir conftest.dir
2624             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2625               test -s conftest.one && test -s conftest.two &&
2626               test -s conftest.dir/conftest.one &&
2627               test -s conftest.dir/conftest.two
2628             then
2629               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2630               break 3
2631             fi
2632           fi
2633         fi
2634       done
2635     done
2636     ;;
2637 esac
2638
2639   done
2640 IFS=$as_save_IFS
2641
2642 rm -rf conftest.one conftest.two conftest.dir
2643
2644 fi
2645   if test "${ac_cv_path_install+set}" = set; then
2646     INSTALL=$ac_cv_path_install
2647   else
2648     # As a last resort, use the slow shell script.  Don't cache a
2649     # value for INSTALL within a source directory, because that will
2650     # break other packages using the cache if that directory is
2651     # removed, or if the value is a relative name.
2652     INSTALL=$ac_install_sh
2653   fi
2654 fi
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2656 $as_echo "$INSTALL" >&6; }
2657
2658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2659 # It thinks the first close brace ends the variable substitution.
2660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2661
2662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2663
2664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2665
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2667 $as_echo_n "checking whether build environment is sane... " >&6; }
2668 # Just in case
2669 sleep 1
2670 echo timestamp > conftest.file
2671 # Reject unsafe characters in $srcdir or the absolute working directory
2672 # name.  Accept space and tab only in the latter.
2673 am_lf='
2674 '
2675 case `pwd` in
2676   *[\\\"\#\$\&\'\`$am_lf]*)
2677     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2678 esac
2679 case $srcdir in
2680   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2681     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2682 esac
2683
2684 # Do `set' in a subshell so we don't clobber the current shell's
2685 # arguments.  Must try -L first in case configure is actually a
2686 # symlink; some systems play weird games with the mod time of symlinks
2687 # (eg FreeBSD returns the mod time of the symlink's containing
2688 # directory).
2689 if (
2690    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2691    if test "$*" = "X"; then
2692       # -L didn't work.
2693       set X `ls -t "$srcdir/configure" conftest.file`
2694    fi
2695    rm -f conftest.file
2696    if test "$*" != "X $srcdir/configure conftest.file" \
2697       && test "$*" != "X conftest.file $srcdir/configure"; then
2698
2699       # If neither matched, then we have a broken ls.  This can happen
2700       # if, for instance, CONFIG_SHELL is bash and it inherits a
2701       # broken ls alias from the environment.  This has actually
2702       # happened.  Such a system could not be considered "sane".
2703       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2704 alias in your environment" "$LINENO" 5
2705    fi
2706
2707    test "$2" = conftest.file
2708    )
2709 then
2710    # Ok.
2711    :
2712 else
2713    as_fn_error "newly created file is older than distributed files!
2714 Check your system clock" "$LINENO" 5
2715 fi
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2717 $as_echo "yes" >&6; }
2718 test "$program_prefix" != NONE &&
2719   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2720 # Use a double $ so make ignores it.
2721 test "$program_suffix" != NONE &&
2722   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2723 # Double any \ or $.
2724 # By default was `s,x,x', remove it if useless.
2725 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2726 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2727
2728 # expand $ac_aux_dir to an absolute path
2729 am_aux_dir=`cd $ac_aux_dir && pwd`
2730
2731 if test x"${MISSING+set}" != xset; then
2732   case $am_aux_dir in
2733   *\ * | *\     *)
2734     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2735   *)
2736     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2737   esac
2738 fi
2739 # Use eval to expand $SHELL
2740 if eval "$MISSING --run true"; then
2741   am_missing_run="$MISSING --run "
2742 else
2743   am_missing_run=
2744   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2745 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2746 fi
2747
2748 if test x"${install_sh}" != xset; then
2749   case $am_aux_dir in
2750   *\ * | *\     *)
2751     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2752   *)
2753     install_sh="\${SHELL} $am_aux_dir/install-sh"
2754   esac
2755 fi
2756
2757 # Installed binaries are usually stripped using `strip' when the user
2758 # run `make install-strip'.  However `strip' might not be the right
2759 # tool to use in cross-compilation environments, therefore Automake
2760 # will honor the `STRIP' environment variable to overrule this program.
2761 if test "$cross_compiling" != no; then
2762   if test -n "$ac_tool_prefix"; then
2763   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}strip; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_STRIP+set}" = set; then :
2768   $as_echo_n "(cached) " >&6
2769 else
2770   if test -n "$STRIP"; then
2771   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2772 else
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 for as_dir in $PATH
2775 do
2776   IFS=$as_save_IFS
2777   test -z "$as_dir" && as_dir=.
2778     for ac_exec_ext in '' $ac_executable_extensions; do
2779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782     break 2
2783   fi
2784 done
2785   done
2786 IFS=$as_save_IFS
2787
2788 fi
2789 fi
2790 STRIP=$ac_cv_prog_STRIP
2791 if test -n "$STRIP"; then
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2793 $as_echo "$STRIP" >&6; }
2794 else
2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2797 fi
2798
2799
2800 fi
2801 if test -z "$ac_cv_prog_STRIP"; then
2802   ac_ct_STRIP=$STRIP
2803   # Extract the first word of "strip", so it can be a program name with args.
2804 set dummy strip; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2808   $as_echo_n "(cached) " >&6
2809 else
2810   if test -n "$ac_ct_STRIP"; then
2811   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2812 else
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 for as_dir in $PATH
2815 do
2816   IFS=$as_save_IFS
2817   test -z "$as_dir" && as_dir=.
2818     for ac_exec_ext in '' $ac_executable_extensions; do
2819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820     ac_cv_prog_ac_ct_STRIP="strip"
2821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822     break 2
2823   fi
2824 done
2825   done
2826 IFS=$as_save_IFS
2827
2828 fi
2829 fi
2830 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2831 if test -n "$ac_ct_STRIP"; then
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2833 $as_echo "$ac_ct_STRIP" >&6; }
2834 else
2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2837 fi
2838
2839   if test "x$ac_ct_STRIP" = x; then
2840     STRIP=":"
2841   else
2842     case $cross_compiling:$ac_tool_warned in
2843 yes:)
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2847 esac
2848     STRIP=$ac_ct_STRIP
2849   fi
2850 else
2851   STRIP="$ac_cv_prog_STRIP"
2852 fi
2853
2854 fi
2855 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2856
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2859 if test -z "$MKDIR_P"; then
2860   if test "${ac_cv_path_mkdir+set}" = set; then :
2861   $as_echo_n "(cached) " >&6
2862 else
2863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2865 do
2866   IFS=$as_save_IFS
2867   test -z "$as_dir" && as_dir=.
2868     for ac_prog in mkdir gmkdir; do
2869          for ac_exec_ext in '' $ac_executable_extensions; do
2870            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2871            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2872              'mkdir (GNU coreutils) '* | \
2873              'mkdir (coreutils) '* | \
2874              'mkdir (fileutils) '4.1*)
2875                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2876                break 3;;
2877            esac
2878          done
2879        done
2880   done
2881 IFS=$as_save_IFS
2882
2883 fi
2884
2885   test -d ./--version && rmdir ./--version
2886   if test "${ac_cv_path_mkdir+set}" = set; then
2887     MKDIR_P="$ac_cv_path_mkdir -p"
2888   else
2889     # As a last resort, use the slow shell script.  Don't cache a
2890     # value for MKDIR_P within a source directory, because that will
2891     # break other packages using the cache if that directory is
2892     # removed, or if the value is a relative name.
2893     MKDIR_P="$ac_install_sh -d"
2894   fi
2895 fi
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2897 $as_echo "$MKDIR_P" >&6; }
2898
2899 mkdir_p="$MKDIR_P"
2900 case $mkdir_p in
2901   [\\/$]* | ?:[\\/]*) ;;
2902   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2903 esac
2904
2905 for ac_prog in gawk mawk nawk awk
2906 do
2907   # Extract the first word of "$ac_prog", so it can be a program name with args.
2908 set dummy $ac_prog; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if test "${ac_cv_prog_AWK+set}" = set; then :
2912   $as_echo_n "(cached) " >&6
2913 else
2914   if test -n "$AWK"; then
2915   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2916 else
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2918 for as_dir in $PATH
2919 do
2920   IFS=$as_save_IFS
2921   test -z "$as_dir" && as_dir=.
2922     for ac_exec_ext in '' $ac_executable_extensions; do
2923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924     ac_cv_prog_AWK="$ac_prog"
2925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926     break 2
2927   fi
2928 done
2929   done
2930 IFS=$as_save_IFS
2931
2932 fi
2933 fi
2934 AWK=$ac_cv_prog_AWK
2935 if test -n "$AWK"; then
2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2937 $as_echo "$AWK" >&6; }
2938 else
2939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2941 fi
2942
2943
2944   test -n "$AWK" && break
2945 done
2946
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2949 set x ${MAKE-make}
2950 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2951 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2952   $as_echo_n "(cached) " >&6
2953 else
2954   cat >conftest.make <<\_ACEOF
2955 SHELL = /bin/sh
2956 all:
2957         @echo '@@@%%%=$(MAKE)=@@@%%%'
2958 _ACEOF
2959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2960 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2961   *@@@%%%=?*=@@@%%%*)
2962     eval ac_cv_prog_make_${ac_make}_set=yes;;
2963   *)
2964     eval ac_cv_prog_make_${ac_make}_set=no;;
2965 esac
2966 rm -f conftest.make
2967 fi
2968 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2970 $as_echo "yes" >&6; }
2971   SET_MAKE=
2972 else
2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2975   SET_MAKE="MAKE=${MAKE-make}"
2976 fi
2977
2978 rm -rf .tst 2>/dev/null
2979 mkdir .tst 2>/dev/null
2980 if test -d .tst; then
2981   am__leading_dot=.
2982 else
2983   am__leading_dot=_
2984 fi
2985 rmdir .tst 2>/dev/null
2986
2987 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2988   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2989   # is not polluted with repeated "-I."
2990   am__isrc=' -I$(srcdir)'
2991   # test to see if srcdir already configured
2992   if test -f $srcdir/config.status; then
2993     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2994   fi
2995 fi
2996
2997 # test whether we have cygpath
2998 if test -z "$CYGPATH_W"; then
2999   if (cygpath --version) >/dev/null 2>/dev/null; then
3000     CYGPATH_W='cygpath -w'
3001   else
3002     CYGPATH_W=echo
3003   fi
3004 fi
3005
3006
3007 # Define the identity of the package.
3008  PACKAGE='harfbuzz'
3009  VERSION='0.9.3'
3010
3011
3012 # Some tools Automake needs.
3013
3014 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3015
3016
3017 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3018
3019
3020 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3021
3022
3023 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3024
3025
3026 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3027
3028 # We need awk for the "check" target.  The system "awk" is bad on
3029 # some platforms.
3030 # Always define AMTAR for backward compatibility.
3031
3032 AMTAR=${AMTAR-"${am_missing_run}tar"}
3033
3034 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3035
3036
3037
3038
3039
3040 # Check whether --enable-silent-rules was given.
3041 if test "${enable_silent_rules+set}" = set; then :
3042   enableval=$enable_silent_rules;
3043 fi
3044
3045 case $enable_silent_rules in
3046 yes) AM_DEFAULT_VERBOSITY=0;;
3047 no)  AM_DEFAULT_VERBOSITY=1;;
3048 *)   AM_DEFAULT_VERBOSITY=0;;
3049 esac
3050 AM_BACKSLASH='\'
3051
3052
3053 # Initialize libtool
3054
3055 case `pwd` in
3056   *\ * | *\     *)
3057     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3058 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3059 esac
3060
3061
3062
3063 macro_version='2.2.6b'
3064 macro_revision='1.3017'
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078 ltmain="$ac_aux_dir/ltmain.sh"
3079
3080 # Make sure we can run config.sub.
3081 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3082   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3083
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3085 $as_echo_n "checking build system type... " >&6; }
3086 if test "${ac_cv_build+set}" = set; then :
3087   $as_echo_n "(cached) " >&6
3088 else
3089   ac_build_alias=$build_alias
3090 test "x$ac_build_alias" = x &&
3091   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3092 test "x$ac_build_alias" = x &&
3093   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3094 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3095   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3096
3097 fi
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3099 $as_echo "$ac_cv_build" >&6; }
3100 case $ac_cv_build in
3101 *-*-*) ;;
3102 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3103 esac
3104 build=$ac_cv_build
3105 ac_save_IFS=$IFS; IFS='-'
3106 set x $ac_cv_build
3107 shift
3108 build_cpu=$1
3109 build_vendor=$2
3110 shift; shift
3111 # Remember, the first character of IFS is used to create $*,
3112 # except with old shells:
3113 build_os=$*
3114 IFS=$ac_save_IFS
3115 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3116
3117
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3119 $as_echo_n "checking host system type... " >&6; }
3120 if test "${ac_cv_host+set}" = set; then :
3121   $as_echo_n "(cached) " >&6
3122 else
3123   if test "x$host_alias" = x; then
3124   ac_cv_host=$ac_cv_build
3125 else
3126   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3127     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3128 fi
3129
3130 fi
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3132 $as_echo "$ac_cv_host" >&6; }
3133 case $ac_cv_host in
3134 *-*-*) ;;
3135 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3136 esac
3137 host=$ac_cv_host
3138 ac_save_IFS=$IFS; IFS='-'
3139 set x $ac_cv_host
3140 shift
3141 host_cpu=$1
3142 host_vendor=$2
3143 shift; shift
3144 # Remember, the first character of IFS is used to create $*,
3145 # except with old shells:
3146 host_os=$*
3147 IFS=$ac_save_IFS
3148 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3149
3150
3151 DEPDIR="${am__leading_dot}deps"
3152
3153 ac_config_commands="$ac_config_commands depfiles"
3154
3155
3156 am_make=${MAKE-make}
3157 cat > confinc << 'END'
3158 am__doit:
3159         @echo this is the am__doit target
3160 .PHONY: am__doit
3161 END
3162 # If we don't find an include directive, just comment out the code.
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3164 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3165 am__include="#"
3166 am__quote=
3167 _am_result=none
3168 # First try GNU make style include.
3169 echo "include confinc" > confmf
3170 # Ignore all kinds of additional output from `make'.
3171 case `$am_make -s -f confmf 2> /dev/null` in #(
3172 *the\ am__doit\ target*)
3173   am__include=include
3174   am__quote=
3175   _am_result=GNU
3176   ;;
3177 esac
3178 # Now try BSD make style include.
3179 if test "$am__include" = "#"; then
3180    echo '.include "confinc"' > confmf
3181    case `$am_make -s -f confmf 2> /dev/null` in #(
3182    *the\ am__doit\ target*)
3183      am__include=.include
3184      am__quote="\""
3185      _am_result=BSD
3186      ;;
3187    esac
3188 fi
3189
3190
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3192 $as_echo "$_am_result" >&6; }
3193 rm -f confinc confmf
3194
3195 # Check whether --enable-dependency-tracking was given.
3196 if test "${enable_dependency_tracking+set}" = set; then :
3197   enableval=$enable_dependency_tracking;
3198 fi
3199
3200 if test "x$enable_dependency_tracking" != xno; then
3201   am_depcomp="$ac_aux_dir/depcomp"
3202   AMDEPBACKSLASH='\'
3203 fi
3204  if test "x$enable_dependency_tracking" != xno; then
3205   AMDEP_TRUE=
3206   AMDEP_FALSE='#'
3207 else
3208   AMDEP_TRUE='#'
3209   AMDEP_FALSE=
3210 fi
3211
3212
3213 ac_ext=c
3214 ac_cpp='$CPP $CPPFLAGS'
3215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3218 if test -n "$ac_tool_prefix"; then
3219   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3220 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if test "${ac_cv_prog_CC+set}" = set; then :
3224   $as_echo_n "(cached) " >&6
3225 else
3226   if test -n "$CC"; then
3227   ac_cv_prog_CC="$CC" # Let the user override the test.
3228 else
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 for as_dir in $PATH
3231 do
3232   IFS=$as_save_IFS
3233   test -z "$as_dir" && as_dir=.
3234     for ac_exec_ext in '' $ac_executable_extensions; do
3235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3236     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238     break 2
3239   fi
3240 done
3241   done
3242 IFS=$as_save_IFS
3243
3244 fi
3245 fi
3246 CC=$ac_cv_prog_CC
3247 if test -n "$CC"; then
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3250 else
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 fi
3254
3255
3256 fi
3257 if test -z "$ac_cv_prog_CC"; then
3258   ac_ct_CC=$CC
3259   # Extract the first word of "gcc", so it can be a program name with args.
3260 set dummy gcc; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3264   $as_echo_n "(cached) " >&6
3265 else
3266   if test -n "$ac_ct_CC"; then
3267   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3271 do
3272   IFS=$as_save_IFS
3273   test -z "$as_dir" && as_dir=.
3274     for ac_exec_ext in '' $ac_executable_extensions; do
3275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276     ac_cv_prog_ac_ct_CC="gcc"
3277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278     break 2
3279   fi
3280 done
3281   done
3282 IFS=$as_save_IFS
3283
3284 fi
3285 fi
3286 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3287 if test -n "$ac_ct_CC"; then
3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3289 $as_echo "$ac_ct_CC" >&6; }
3290 else
3291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 fi
3294
3295   if test "x$ac_ct_CC" = x; then
3296     CC=""
3297   else
3298     case $cross_compiling:$ac_tool_warned in
3299 yes:)
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3302 ac_tool_warned=yes ;;
3303 esac
3304     CC=$ac_ct_CC
3305   fi
3306 else
3307   CC="$ac_cv_prog_CC"
3308 fi
3309
3310 if test -z "$CC"; then
3311           if test -n "$ac_tool_prefix"; then
3312     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3313 set dummy ${ac_tool_prefix}cc; ac_word=$2
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315 $as_echo_n "checking for $ac_word... " >&6; }
3316 if test "${ac_cv_prog_CC+set}" = set; then :
3317   $as_echo_n "(cached) " >&6
3318 else
3319   if test -n "$CC"; then
3320   ac_cv_prog_CC="$CC" # Let the user override the test.
3321 else
3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 for as_dir in $PATH
3324 do
3325   IFS=$as_save_IFS
3326   test -z "$as_dir" && as_dir=.
3327     for ac_exec_ext in '' $ac_executable_extensions; do
3328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3329     ac_cv_prog_CC="${ac_tool_prefix}cc"
3330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331     break 2
3332   fi
3333 done
3334   done
3335 IFS=$as_save_IFS
3336
3337 fi
3338 fi
3339 CC=$ac_cv_prog_CC
3340 if test -n "$CC"; then
3341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3342 $as_echo "$CC" >&6; }
3343 else
3344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3346 fi
3347
3348
3349   fi
3350 fi
3351 if test -z "$CC"; then
3352   # Extract the first word of "cc", so it can be a program name with args.
3353 set dummy cc; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_CC+set}" = set; then :
3357   $as_echo_n "(cached) " >&6
3358 else
3359   if test -n "$CC"; then
3360   ac_cv_prog_CC="$CC" # Let the user override the test.
3361 else
3362   ac_prog_rejected=no
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3365 do
3366   IFS=$as_save_IFS
3367   test -z "$as_dir" && as_dir=.
3368     for ac_exec_ext in '' $ac_executable_extensions; do
3369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3371        ac_prog_rejected=yes
3372        continue
3373      fi
3374     ac_cv_prog_CC="cc"
3375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376     break 2
3377   fi
3378 done
3379   done
3380 IFS=$as_save_IFS
3381
3382 if test $ac_prog_rejected = yes; then
3383   # We found a bogon in the path, so make sure we never use it.
3384   set dummy $ac_cv_prog_CC
3385   shift
3386   if test $# != 0; then
3387     # We chose a different compiler from the bogus one.
3388     # However, it has the same basename, so the bogon will be chosen
3389     # first if we set CC to just the basename; use the full file name.
3390     shift
3391     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3392   fi
3393 fi
3394 fi
3395 fi
3396 CC=$ac_cv_prog_CC
3397 if test -n "$CC"; then
3398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399 $as_echo "$CC" >&6; }
3400 else
3401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3403 fi
3404
3405
3406 fi
3407 if test -z "$CC"; then
3408   if test -n "$ac_tool_prefix"; then
3409   for ac_prog in cl.exe
3410   do
3411     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if test "${ac_cv_prog_CC+set}" = set; then :
3416   $as_echo_n "(cached) " >&6
3417 else
3418   if test -n "$CC"; then
3419   ac_cv_prog_CC="$CC" # Let the user override the test.
3420 else
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422 for as_dir in $PATH
3423 do
3424   IFS=$as_save_IFS
3425   test -z "$as_dir" && as_dir=.
3426     for ac_exec_ext in '' $ac_executable_extensions; do
3427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3428     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430     break 2
3431   fi
3432 done
3433   done
3434 IFS=$as_save_IFS
3435
3436 fi
3437 fi
3438 CC=$ac_cv_prog_CC
3439 if test -n "$CC"; then
3440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3441 $as_echo "$CC" >&6; }
3442 else
3443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3445 fi
3446
3447
3448     test -n "$CC" && break
3449   done
3450 fi
3451 if test -z "$CC"; then
3452   ac_ct_CC=$CC
3453   for ac_prog in cl.exe
3454 do
3455   # Extract the first word of "$ac_prog", so it can be a program name with args.
3456 set dummy $ac_prog; ac_word=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3460   $as_echo_n "(cached) " >&6
3461 else
3462   if test -n "$ac_ct_CC"; then
3463   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468   IFS=$as_save_IFS
3469   test -z "$as_dir" && as_dir=.
3470     for ac_exec_ext in '' $ac_executable_extensions; do
3471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3472     ac_cv_prog_ac_ct_CC="$ac_prog"
3473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3474     break 2
3475   fi
3476 done
3477   done
3478 IFS=$as_save_IFS
3479
3480 fi
3481 fi
3482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3483 if test -n "$ac_ct_CC"; then
3484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3485 $as_echo "$ac_ct_CC" >&6; }
3486 else
3487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3489 fi
3490
3491
3492   test -n "$ac_ct_CC" && break
3493 done
3494
3495   if test "x$ac_ct_CC" = x; then
3496     CC=""
3497   else
3498     case $cross_compiling:$ac_tool_warned in
3499 yes:)
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3502 ac_tool_warned=yes ;;
3503 esac
3504     CC=$ac_ct_CC
3505   fi
3506 fi
3507
3508 fi
3509
3510
3511 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error "no acceptable C compiler found in \$PATH
3514 See \`config.log' for more details." "$LINENO" 5; }
3515
3516 # Provide some information about the compiler.
3517 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3518 set X $ac_compile
3519 ac_compiler=$2
3520 for ac_option in --version -v -V -qversion; do
3521   { { ac_try="$ac_compiler $ac_option >&5"
3522 case "(($ac_try" in
3523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524   *) ac_try_echo=$ac_try;;
3525 esac
3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3527 $as_echo "$ac_try_echo"; } >&5
3528   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3529   ac_status=$?
3530   if test -s conftest.err; then
3531     sed '10a\
3532 ... rest of stderr output deleted ...
3533          10q' conftest.err >conftest.er1
3534     cat conftest.er1 >&5
3535   fi
3536   rm -f conftest.er1 conftest.err
3537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538   test $ac_status = 0; }
3539 done
3540
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h.  */
3543
3544 int
3545 main ()
3546 {
3547
3548   ;
3549   return 0;
3550 }
3551 _ACEOF
3552 ac_clean_files_save=$ac_clean_files
3553 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3554 # Try to create an executable without -o first, disregard a.out.
3555 # It will help us diagnose broken compilers, and finding out an intuition
3556 # of exeext.
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3558 $as_echo_n "checking whether the C compiler works... " >&6; }
3559 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3560
3561 # The possible output files:
3562 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3563
3564 ac_rmfiles=
3565 for ac_file in $ac_files
3566 do
3567   case $ac_file in
3568     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3569     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3570   esac
3571 done
3572 rm -f $ac_rmfiles
3573
3574 if { { ac_try="$ac_link_default"
3575 case "(($ac_try" in
3576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3577   *) ac_try_echo=$ac_try;;
3578 esac
3579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3580 $as_echo "$ac_try_echo"; } >&5
3581   (eval "$ac_link_default") 2>&5
3582   ac_status=$?
3583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584   test $ac_status = 0; }; then :
3585   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3586 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3587 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3588 # so that the user can short-circuit this test for compilers unknown to
3589 # Autoconf.
3590 for ac_file in $ac_files ''
3591 do
3592   test -f "$ac_file" || continue
3593   case $ac_file in
3594     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3595         ;;
3596     [ab].out )
3597         # We found the default executable, but exeext='' is most
3598         # certainly right.
3599         break;;
3600     *.* )
3601         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3602         then :; else
3603            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3604         fi
3605         # We set ac_cv_exeext here because the later test for it is not
3606         # safe: cross compilers may not add the suffix if given an `-o'
3607         # argument, so we may need to know it at that point already.
3608         # Even if this section looks crufty: it has the advantage of
3609         # actually working.
3610         break;;
3611     * )
3612         break;;
3613   esac
3614 done
3615 test "$ac_cv_exeext" = no && ac_cv_exeext=
3616
3617 else
3618   ac_file=''
3619 fi
3620 if test -z "$ac_file"; then :
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622 $as_echo "no" >&6; }
3623 $as_echo "$as_me: failed program was:" >&5
3624 sed 's/^/| /' conftest.$ac_ext >&5
3625
3626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628 { as_fn_set_status 77
3629 as_fn_error "C compiler cannot create executables
3630 See \`config.log' for more details." "$LINENO" 5; }; }
3631 else
3632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633 $as_echo "yes" >&6; }
3634 fi
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3636 $as_echo_n "checking for C compiler default output file name... " >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3638 $as_echo "$ac_file" >&6; }
3639 ac_exeext=$ac_cv_exeext
3640
3641 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3642 ac_clean_files=$ac_clean_files_save
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3644 $as_echo_n "checking for suffix of executables... " >&6; }
3645 if { { ac_try="$ac_link"
3646 case "(($ac_try" in
3647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648   *) ac_try_echo=$ac_try;;
3649 esac
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652   (eval "$ac_link") 2>&5
3653   ac_status=$?
3654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655   test $ac_status = 0; }; then :
3656   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3657 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3658 # work properly (i.e., refer to `conftest.exe'), while it won't with
3659 # `rm'.
3660 for ac_file in conftest.exe conftest conftest.*; do
3661   test -f "$ac_file" || continue
3662   case $ac_file in
3663     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3664     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3665           break;;
3666     * ) break;;
3667   esac
3668 done
3669 else
3670   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3672 as_fn_error "cannot compute suffix of executables: cannot compile and link
3673 See \`config.log' for more details." "$LINENO" 5; }
3674 fi
3675 rm -f conftest conftest$ac_cv_exeext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3677 $as_echo "$ac_cv_exeext" >&6; }
3678
3679 rm -f conftest.$ac_ext
3680 EXEEXT=$ac_cv_exeext
3681 ac_exeext=$EXEEXT
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h.  */
3684 #include <stdio.h>
3685 int
3686 main ()
3687 {
3688 FILE *f = fopen ("conftest.out", "w");
3689  return ferror (f) || fclose (f) != 0;
3690
3691   ;
3692   return 0;
3693 }
3694 _ACEOF
3695 ac_clean_files="$ac_clean_files conftest.out"
3696 # Check that the compiler produces executables we can run.  If not, either
3697 # the compiler is broken, or we cross compile.
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3699 $as_echo_n "checking whether we are cross compiling... " >&6; }
3700 if test "$cross_compiling" != yes; then
3701   { { ac_try="$ac_link"
3702 case "(($ac_try" in
3703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704   *) ac_try_echo=$ac_try;;
3705 esac
3706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3707 $as_echo "$ac_try_echo"; } >&5
3708   (eval "$ac_link") 2>&5
3709   ac_status=$?
3710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3711   test $ac_status = 0; }
3712   if { ac_try='./conftest$ac_cv_exeext'
3713   { { case "(($ac_try" in
3714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715   *) ac_try_echo=$ac_try;;
3716 esac
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719   (eval "$ac_try") 2>&5
3720   ac_status=$?
3721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722   test $ac_status = 0; }; }; then
3723     cross_compiling=no
3724   else
3725     if test "$cross_compiling" = maybe; then
3726         cross_compiling=yes
3727     else
3728         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error "cannot run C compiled programs.
3731 If you meant to cross compile, use \`--host'.
3732 See \`config.log' for more details." "$LINENO" 5; }
3733     fi
3734   fi
3735 fi
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3737 $as_echo "$cross_compiling" >&6; }
3738
3739 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3740 ac_clean_files=$ac_clean_files_save
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3742 $as_echo_n "checking for suffix of object files... " >&6; }
3743 if test "${ac_cv_objext+set}" = set; then :
3744   $as_echo_n "(cached) " >&6
3745 else
3746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h.  */
3748
3749 int
3750 main ()
3751 {
3752
3753   ;
3754   return 0;
3755 }
3756 _ACEOF
3757 rm -f conftest.o conftest.obj
3758 if { { ac_try="$ac_compile"
3759 case "(($ac_try" in
3760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761   *) ac_try_echo=$ac_try;;
3762 esac
3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3764 $as_echo "$ac_try_echo"; } >&5
3765   (eval "$ac_compile") 2>&5
3766   ac_status=$?
3767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3768   test $ac_status = 0; }; then :
3769   for ac_file in conftest.o conftest.obj conftest.*; do
3770   test -f "$ac_file" || continue;
3771   case $ac_file in
3772     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3773     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3774        break;;
3775   esac
3776 done
3777 else
3778   $as_echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3780
3781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783 as_fn_error "cannot compute suffix of object files: cannot compile
3784 See \`config.log' for more details." "$LINENO" 5; }
3785 fi
3786 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3787 fi
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3789 $as_echo "$ac_cv_objext" >&6; }
3790 OBJEXT=$ac_cv_objext
3791 ac_objext=$OBJEXT
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3793 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3794 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3795   $as_echo_n "(cached) " >&6
3796 else
3797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h.  */
3799
3800 int
3801 main ()
3802 {
3803 #ifndef __GNUC__
3804        choke me
3805 #endif
3806
3807   ;
3808   return 0;
3809 }
3810 _ACEOF
3811 if ac_fn_c_try_compile "$LINENO"; then :
3812   ac_compiler_gnu=yes
3813 else
3814   ac_compiler_gnu=no
3815 fi
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3818
3819 fi
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3821 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3822 if test $ac_compiler_gnu = yes; then
3823   GCC=yes
3824 else
3825   GCC=
3826 fi
3827 ac_test_CFLAGS=${CFLAGS+set}
3828 ac_save_CFLAGS=$CFLAGS
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3830 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3831 if test "${ac_cv_prog_cc_g+set}" = set; then :
3832   $as_echo_n "(cached) " >&6
3833 else
3834   ac_save_c_werror_flag=$ac_c_werror_flag
3835    ac_c_werror_flag=yes
3836    ac_cv_prog_cc_g=no
3837    CFLAGS="-g"
3838    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h.  */
3840
3841 int
3842 main ()
3843 {
3844
3845   ;
3846   return 0;
3847 }
3848 _ACEOF
3849 if ac_fn_c_try_compile "$LINENO"; then :
3850   ac_cv_prog_cc_g=yes
3851 else
3852   CFLAGS=""
3853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h.  */
3855
3856 int
3857 main ()
3858 {
3859
3860   ;
3861   return 0;
3862 }
3863 _ACEOF
3864 if ac_fn_c_try_compile "$LINENO"; then :
3865
3866 else
3867   ac_c_werror_flag=$ac_save_c_werror_flag
3868          CFLAGS="-g"
3869          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h.  */
3871
3872 int
3873 main ()
3874 {
3875
3876   ;
3877   return 0;
3878 }
3879 _ACEOF
3880 if ac_fn_c_try_compile "$LINENO"; then :
3881   ac_cv_prog_cc_g=yes
3882 fi
3883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 fi
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 fi
3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888    ac_c_werror_flag=$ac_save_c_werror_flag
3889 fi
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3891 $as_echo "$ac_cv_prog_cc_g" >&6; }
3892 if test "$ac_test_CFLAGS" = set; then
3893   CFLAGS=$ac_save_CFLAGS
3894 elif test $ac_cv_prog_cc_g = yes; then
3895   if test "$GCC" = yes; then
3896     CFLAGS="-g -O2"
3897   else
3898     CFLAGS="-g"
3899   fi
3900 else
3901   if test "$GCC" = yes; then
3902     CFLAGS="-O2"
3903   else
3904     CFLAGS=
3905   fi
3906 fi
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3908 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3909 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3910   $as_echo_n "(cached) " >&6
3911 else
3912   ac_cv_prog_cc_c89=no
3913 ac_save_CC=$CC
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h.  */
3916 #include <stdarg.h>
3917 #include <stdio.h>
3918 #include <sys/types.h>
3919 #include <sys/stat.h>
3920 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3921 struct buf { int x; };
3922 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3923 static char *e (p, i)
3924      char **p;
3925      int i;
3926 {
3927   return p[i];
3928 }
3929 static char *f (char * (*g) (char **, int), char **p, ...)
3930 {
3931   char *s;
3932   va_list v;
3933   va_start (v,p);
3934   s = g (p, va_arg (v,int));
3935   va_end (v);
3936   return s;
3937 }
3938
3939 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3940    function prototypes and stuff, but not '\xHH' hex character constants.
3941    These don't provoke an error unfortunately, instead are silently treated
3942    as 'x'.  The following induces an error, until -std is added to get
3943    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3944    array size at least.  It's necessary to write '\x00'==0 to get something
3945    that's true only with -std.  */
3946 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3947
3948 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3949    inside strings and character constants.  */
3950 #define FOO(x) 'x'
3951 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3952
3953 int test (int i, double x);
3954 struct s1 {int (*f) (int a);};
3955 struct s2 {int (*f) (double a);};
3956 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3957 int argc;
3958 char **argv;
3959 int
3960 main ()
3961 {
3962 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3963   ;
3964   return 0;
3965 }
3966 _ACEOF
3967 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3968         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3969 do
3970   CC="$ac_save_CC $ac_arg"
3971   if ac_fn_c_try_compile "$LINENO"; then :
3972   ac_cv_prog_cc_c89=$ac_arg
3973 fi
3974 rm -f core conftest.err conftest.$ac_objext
3975   test "x$ac_cv_prog_cc_c89" != "xno" && break
3976 done
3977 rm -f conftest.$ac_ext
3978 CC=$ac_save_CC
3979
3980 fi
3981 # AC_CACHE_VAL
3982 case "x$ac_cv_prog_cc_c89" in
3983   x)
3984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3985 $as_echo "none needed" >&6; } ;;
3986   xno)
3987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3988 $as_echo "unsupported" >&6; } ;;
3989   *)
3990     CC="$CC $ac_cv_prog_cc_c89"
3991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3992 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3993 esac
3994 if test "x$ac_cv_prog_cc_c89" != xno; then :
3995
3996 fi
3997
3998 ac_ext=c
3999 ac_cpp='$CPP $CPPFLAGS'
4000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4003
4004 depcc="$CC"   am_compiler_list=
4005
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4007 $as_echo_n "checking dependency style of $depcc... " >&6; }
4008 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4009   $as_echo_n "(cached) " >&6
4010 else
4011   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4012   # We make a subdir and do the tests there.  Otherwise we can end up
4013   # making bogus files that we don't know about and never remove.  For
4014   # instance it was reported that on HP-UX the gcc test will end up
4015   # making a dummy file named `D' -- because `-MD' means `put the output
4016   # in D'.
4017   mkdir conftest.dir
4018   # Copy depcomp to subdir because otherwise we won't find it if we're
4019   # using a relative directory.
4020   cp "$am_depcomp" conftest.dir
4021   cd conftest.dir
4022   # We will build objects and dependencies in a subdirectory because
4023   # it helps to detect inapplicable dependency modes.  For instance
4024   # both Tru64's cc and ICC support -MD to output dependencies as a
4025   # side effect of compilation, but ICC will put the dependencies in
4026   # the current directory while Tru64 will put them in the object
4027   # directory.
4028   mkdir sub
4029
4030   am_cv_CC_dependencies_compiler_type=none
4031   if test "$am_compiler_list" = ""; then
4032      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4033   fi
4034   am__universal=false
4035   case " $depcc " in #(
4036      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4037      esac
4038
4039   for depmode in $am_compiler_list; do
4040     # Setup a source with many dependencies, because some compilers
4041     # like to wrap large dependency lists on column 80 (with \), and
4042     # we should not choose a depcomp mode which is confused by this.
4043     #
4044     # We need to recreate these files for each test, as the compiler may
4045     # overwrite some of them when testing with obscure command lines.
4046     # This happens at least with the AIX C compiler.
4047     : > sub/conftest.c
4048     for i in 1 2 3 4 5 6; do
4049       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4050       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4051       # Solaris 8's {/usr,}/bin/sh.
4052       touch sub/conftst$i.h
4053     done
4054     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4055
4056     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4057     # mode.  It turns out that the SunPro C++ compiler does not properly
4058     # handle `-M -o', and we need to detect this.  Also, some Intel
4059     # versions had trouble with output in subdirs
4060     am__obj=sub/conftest.${OBJEXT-o}
4061     am__minus_obj="-o $am__obj"
4062     case $depmode in
4063     gcc)
4064       # This depmode causes a compiler race in universal mode.
4065       test "$am__universal" = false || continue
4066       ;;
4067     nosideeffect)
4068       # after this tag, mechanisms are not by side-effect, so they'll
4069       # only be used when explicitly requested
4070       if test "x$enable_dependency_tracking" = xyes; then
4071         continue
4072       else
4073         break
4074       fi
4075       ;;
4076     msvisualcpp | msvcmsys)
4077       # This compiler won't grok `-c -o', but also, the minuso test has
4078       # not run yet.  These depmodes are late enough in the game, and
4079       # so weak that their functioning should not be impacted.
4080       am__obj=conftest.${OBJEXT-o}
4081       am__minus_obj=
4082       ;;
4083     none) break ;;
4084     esac
4085     if depmode=$depmode \
4086        source=sub/conftest.c object=$am__obj \
4087        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4088        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4089          >/dev/null 2>conftest.err &&
4090        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4091        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4092        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4093        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4094       # icc doesn't choke on unknown options, it will just issue warnings
4095       # or remarks (even with -Werror).  So we grep stderr for any message
4096       # that says an option was ignored or not supported.
4097       # When given -MP, icc 7.0 and 7.1 complain thusly:
4098       #   icc: Command line warning: ignoring option '-M'; no argument required
4099       # The diagnosis changed in icc 8.0:
4100       #   icc: Command line remark: option '-MP' not supported
4101       if (grep 'ignoring option' conftest.err ||
4102           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4103         am_cv_CC_dependencies_compiler_type=$depmode
4104         break
4105       fi
4106     fi
4107   done
4108
4109   cd ..
4110   rm -rf conftest.dir
4111 else
4112   am_cv_CC_dependencies_compiler_type=none
4113 fi
4114
4115 fi
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4117 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4118 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4119
4120  if
4121   test "x$enable_dependency_tracking" != xno \
4122   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4123   am__fastdepCC_TRUE=
4124   am__fastdepCC_FALSE='#'
4125 else
4126   am__fastdepCC_TRUE='#'
4127   am__fastdepCC_FALSE=
4128 fi
4129
4130
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4132 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4133 if test "${ac_cv_path_SED+set}" = set; then :
4134   $as_echo_n "(cached) " >&6
4135 else
4136             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4137      for ac_i in 1 2 3 4 5 6 7; do
4138        ac_script="$ac_script$as_nl$ac_script"
4139      done
4140      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4141      { ac_script=; unset ac_script;}
4142      if test -z "$SED"; then
4143   ac_path_SED_found=false
4144   # Loop through the user's path and test for each of PROGNAME-LIST
4145   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 for as_dir in $PATH
4147 do
4148   IFS=$as_save_IFS
4149   test -z "$as_dir" && as_dir=.
4150     for ac_prog in sed gsed; do
4151     for ac_exec_ext in '' $ac_executable_extensions; do
4152       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4153       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4154 # Check for GNU ac_path_SED and select it if it is found.
4155   # Check for GNU $ac_path_SED
4156 case `"$ac_path_SED" --version 2>&1` in
4157 *GNU*)
4158   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4159 *)
4160   ac_count=0
4161   $as_echo_n 0123456789 >"conftest.in"
4162   while :
4163   do
4164     cat "conftest.in" "conftest.in" >"conftest.tmp"
4165     mv "conftest.tmp" "conftest.in"
4166     cp "conftest.in" "conftest.nl"
4167     $as_echo '' >> "conftest.nl"
4168     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4169     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4170     as_fn_arith $ac_count + 1 && ac_count=$as_val
4171     if test $ac_count -gt ${ac_path_SED_max-0}; then
4172       # Best one so far, save it but keep looking for a better one
4173       ac_cv_path_SED="$ac_path_SED"
4174       ac_path_SED_max=$ac_count
4175     fi
4176     # 10*(2^10) chars as input seems more than enough
4177     test $ac_count -gt 10 && break
4178   done
4179   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4180 esac
4181
4182       $ac_path_SED_found && break 3
4183     done
4184   done
4185   done
4186 IFS=$as_save_IFS
4187   if test -z "$ac_cv_path_SED"; then
4188     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4189   fi
4190 else
4191   ac_cv_path_SED=$SED
4192 fi
4193
4194 fi
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4196 $as_echo "$ac_cv_path_SED" >&6; }
4197  SED="$ac_cv_path_SED"
4198   rm -f conftest.sed
4199
4200 test -z "$SED" && SED=sed
4201 Xsed="$SED -e 1s/^X//"
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4214 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4215 if test "${ac_cv_path_GREP+set}" = set; then :
4216   $as_echo_n "(cached) " >&6
4217 else
4218   if test -z "$GREP"; then
4219   ac_path_GREP_found=false
4220   # Loop through the user's path and test for each of PROGNAME-LIST
4221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4223 do
4224   IFS=$as_save_IFS
4225   test -z "$as_dir" && as_dir=.
4226     for ac_prog in grep ggrep; do
4227     for ac_exec_ext in '' $ac_executable_extensions; do
4228       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4229       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4230 # Check for GNU ac_path_GREP and select it if it is found.
4231   # Check for GNU $ac_path_GREP
4232 case `"$ac_path_GREP" --version 2>&1` in
4233 *GNU*)
4234   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4235 *)
4236   ac_count=0
4237   $as_echo_n 0123456789 >"conftest.in"
4238   while :
4239   do
4240     cat "conftest.in" "conftest.in" >"conftest.tmp"
4241     mv "conftest.tmp" "conftest.in"
4242     cp "conftest.in" "conftest.nl"
4243     $as_echo 'GREP' >> "conftest.nl"
4244     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4245     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4246     as_fn_arith $ac_count + 1 && ac_count=$as_val
4247     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4248       # Best one so far, save it but keep looking for a better one
4249       ac_cv_path_GREP="$ac_path_GREP"
4250       ac_path_GREP_max=$ac_count
4251     fi
4252     # 10*(2^10) chars as input seems more than enough
4253     test $ac_count -gt 10 && break
4254   done
4255   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4256 esac
4257
4258       $ac_path_GREP_found && break 3
4259     done
4260   done
4261   done
4262 IFS=$as_save_IFS
4263   if test -z "$ac_cv_path_GREP"; then
4264     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4265   fi
4266 else
4267   ac_cv_path_GREP=$GREP
4268 fi
4269
4270 fi
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4272 $as_echo "$ac_cv_path_GREP" >&6; }
4273  GREP="$ac_cv_path_GREP"
4274
4275
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4277 $as_echo_n "checking for egrep... " >&6; }
4278 if test "${ac_cv_path_EGREP+set}" = set; then :
4279   $as_echo_n "(cached) " >&6
4280 else
4281   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4282    then ac_cv_path_EGREP="$GREP -E"
4283    else
4284      if test -z "$EGREP"; then
4285   ac_path_EGREP_found=false
4286   # Loop through the user's path and test for each of PROGNAME-LIST
4287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4289 do
4290   IFS=$as_save_IFS
4291   test -z "$as_dir" && as_dir=.
4292     for ac_prog in egrep; do
4293     for ac_exec_ext in '' $ac_executable_extensions; do
4294       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4295       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4296 # Check for GNU ac_path_EGREP and select it if it is found.
4297   # Check for GNU $ac_path_EGREP
4298 case `"$ac_path_EGREP" --version 2>&1` in
4299 *GNU*)
4300   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4301 *)
4302   ac_count=0
4303   $as_echo_n 0123456789 >"conftest.in"
4304   while :
4305   do
4306     cat "conftest.in" "conftest.in" >"conftest.tmp"
4307     mv "conftest.tmp" "conftest.in"
4308     cp "conftest.in" "conftest.nl"
4309     $as_echo 'EGREP' >> "conftest.nl"
4310     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4311     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4312     as_fn_arith $ac_count + 1 && ac_count=$as_val
4313     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4314       # Best one so far, save it but keep looking for a better one
4315       ac_cv_path_EGREP="$ac_path_EGREP"
4316       ac_path_EGREP_max=$ac_count
4317     fi
4318     # 10*(2^10) chars as input seems more than enough
4319     test $ac_count -gt 10 && break
4320   done
4321   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4322 esac
4323
4324       $ac_path_EGREP_found && break 3
4325     done
4326   done
4327   done
4328 IFS=$as_save_IFS
4329   if test -z "$ac_cv_path_EGREP"; then
4330     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4331   fi
4332 else
4333   ac_cv_path_EGREP=$EGREP
4334 fi
4335
4336    fi
4337 fi
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4339 $as_echo "$ac_cv_path_EGREP" >&6; }
4340  EGREP="$ac_cv_path_EGREP"
4341
4342
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4344 $as_echo_n "checking for fgrep... " >&6; }
4345 if test "${ac_cv_path_FGREP+set}" = set; then :
4346   $as_echo_n "(cached) " >&6
4347 else
4348   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4349    then ac_cv_path_FGREP="$GREP -F"
4350    else
4351      if test -z "$FGREP"; then
4352   ac_path_FGREP_found=false
4353   # Loop through the user's path and test for each of PROGNAME-LIST
4354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4356 do
4357   IFS=$as_save_IFS
4358   test -z "$as_dir" && as_dir=.
4359     for ac_prog in fgrep; do
4360     for ac_exec_ext in '' $ac_executable_extensions; do
4361       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4362       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4363 # Check for GNU ac_path_FGREP and select it if it is found.
4364   # Check for GNU $ac_path_FGREP
4365 case `"$ac_path_FGREP" --version 2>&1` in
4366 *GNU*)
4367   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4368 *)
4369   ac_count=0
4370   $as_echo_n 0123456789 >"conftest.in"
4371   while :
4372   do
4373     cat "conftest.in" "conftest.in" >"conftest.tmp"
4374     mv "conftest.tmp" "conftest.in"
4375     cp "conftest.in" "conftest.nl"
4376     $as_echo 'FGREP' >> "conftest.nl"
4377     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4378     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4379     as_fn_arith $ac_count + 1 && ac_count=$as_val
4380     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4381       # Best one so far, save it but keep looking for a better one
4382       ac_cv_path_FGREP="$ac_path_FGREP"
4383       ac_path_FGREP_max=$ac_count
4384     fi
4385     # 10*(2^10) chars as input seems more than enough
4386     test $ac_count -gt 10 && break
4387   done
4388   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4389 esac
4390
4391       $ac_path_FGREP_found && break 3
4392     done
4393   done
4394   done
4395 IFS=$as_save_IFS
4396   if test -z "$ac_cv_path_FGREP"; then
4397     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4398   fi
4399 else
4400   ac_cv_path_FGREP=$FGREP
4401 fi
4402
4403    fi
4404 fi
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4406 $as_echo "$ac_cv_path_FGREP" >&6; }
4407  FGREP="$ac_cv_path_FGREP"
4408
4409
4410 test -z "$GREP" && GREP=grep
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430 # Check whether --with-gnu-ld was given.
4431 if test "${with_gnu_ld+set}" = set; then :
4432   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4433 else
4434   with_gnu_ld=no
4435 fi
4436
4437 ac_prog=ld
4438 if test "$GCC" = yes; then
4439   # Check if gcc -print-prog-name=ld gives a path.
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4441 $as_echo_n "checking for ld used by $CC... " >&6; }
4442   case $host in
4443   *-*-mingw*)
4444     # gcc leaves a trailing carriage return which upsets mingw
4445     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4446   *)
4447     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4448   esac
4449   case $ac_prog in
4450     # Accept absolute paths.
4451     [\\/]* | ?:[\\/]*)
4452       re_direlt='/[^/][^/]*/\.\./'
4453       # Canonicalize the pathname of ld
4454       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4455       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4456         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4457       done
4458       test -z "$LD" && LD="$ac_prog"
4459       ;;
4460   "")
4461     # If it fails, then pretend we aren't using GCC.
4462     ac_prog=ld
4463     ;;
4464   *)
4465     # If it is relative, then search for the first ld in PATH.
4466     with_gnu_ld=unknown
4467     ;;
4468   esac
4469 elif test "$with_gnu_ld" = yes; then
4470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4471 $as_echo_n "checking for GNU ld... " >&6; }
4472 else
4473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4474 $as_echo_n "checking for non-GNU ld... " >&6; }
4475 fi
4476 if test "${lt_cv_path_LD+set}" = set; then :
4477   $as_echo_n "(cached) " >&6
4478 else
4479   if test -z "$LD"; then
4480   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4481   for ac_dir in $PATH; do
4482     IFS="$lt_save_ifs"
4483     test -z "$ac_dir" && ac_dir=.
4484     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4485       lt_cv_path_LD="$ac_dir/$ac_prog"
4486       # Check to see if the program is GNU ld.  I'd rather use --version,
4487       # but apparently some variants of GNU ld only accept -v.
4488       # Break only if it was the GNU/non-GNU ld that we prefer.
4489       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4490       *GNU* | *'with BFD'*)
4491         test "$with_gnu_ld" != no && break
4492         ;;
4493       *)
4494         test "$with_gnu_ld" != yes && break
4495         ;;
4496       esac
4497     fi
4498   done
4499   IFS="$lt_save_ifs"
4500 else
4501   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4502 fi
4503 fi
4504
4505 LD="$lt_cv_path_LD"
4506 if test -n "$LD"; then
4507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4508 $as_echo "$LD" >&6; }
4509 else
4510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4512 fi
4513 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4515 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4516 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4517   $as_echo_n "(cached) " >&6
4518 else
4519   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4520 case `$LD -v 2>&1 </dev/null` in
4521 *GNU* | *'with BFD'*)
4522   lt_cv_prog_gnu_ld=yes
4523   ;;
4524 *)
4525   lt_cv_prog_gnu_ld=no
4526   ;;
4527 esac
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4530 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4531 with_gnu_ld=$lt_cv_prog_gnu_ld
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4542 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4543 if test "${lt_cv_path_NM+set}" = set; then :
4544   $as_echo_n "(cached) " >&6
4545 else
4546   if test -n "$NM"; then
4547   # Let the user override the test.
4548   lt_cv_path_NM="$NM"
4549 else
4550   lt_nm_to_check="${ac_tool_prefix}nm"
4551   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4552     lt_nm_to_check="$lt_nm_to_check nm"
4553   fi
4554   for lt_tmp_nm in $lt_nm_to_check; do
4555     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4556     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4557       IFS="$lt_save_ifs"
4558       test -z "$ac_dir" && ac_dir=.
4559       tmp_nm="$ac_dir/$lt_tmp_nm"
4560       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4561         # Check to see if the nm accepts a BSD-compat flag.
4562         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4563         #   nm: unknown option "B" ignored
4564         # Tru64's nm complains that /dev/null is an invalid object file
4565         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4566         */dev/null* | *'Invalid file or object type'*)
4567           lt_cv_path_NM="$tmp_nm -B"
4568           break
4569           ;;
4570         *)
4571           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4572           */dev/null*)
4573             lt_cv_path_NM="$tmp_nm -p"
4574             break
4575             ;;
4576           *)
4577             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4578             continue # so that we can try to find one that supports BSD flags
4579             ;;
4580           esac
4581           ;;
4582         esac
4583       fi
4584     done
4585     IFS="$lt_save_ifs"
4586   done
4587   : ${lt_cv_path_NM=no}
4588 fi
4589 fi
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4591 $as_echo "$lt_cv_path_NM" >&6; }
4592 if test "$lt_cv_path_NM" != "no"; then
4593   NM="$lt_cv_path_NM"
4594 else
4595   # Didn't find any BSD compatible name lister, look for dumpbin.
4596   if test -n "$ac_tool_prefix"; then
4597   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4598   do
4599     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4604   $as_echo_n "(cached) " >&6
4605 else
4606   if test -n "$DUMPBIN"; then
4607   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4611 do
4612   IFS=$as_save_IFS
4613   test -z "$as_dir" && as_dir=.
4614     for ac_exec_ext in '' $ac_executable_extensions; do
4615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4616     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618     break 2
4619   fi
4620 done
4621   done
4622 IFS=$as_save_IFS
4623
4624 fi
4625 fi
4626 DUMPBIN=$ac_cv_prog_DUMPBIN
4627 if test -n "$DUMPBIN"; then
4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4629 $as_echo "$DUMPBIN" >&6; }
4630 else
4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4633 fi
4634
4635
4636     test -n "$DUMPBIN" && break
4637   done
4638 fi
4639 if test -z "$DUMPBIN"; then
4640   ac_ct_DUMPBIN=$DUMPBIN
4641   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4642 do
4643   # Extract the first word of "$ac_prog", so it can be a program name with args.
4644 set dummy $ac_prog; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4648   $as_echo_n "(cached) " >&6
4649 else
4650   if test -n "$ac_ct_DUMPBIN"; then
4651   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4655 do
4656   IFS=$as_save_IFS
4657   test -z "$as_dir" && as_dir=.
4658     for ac_exec_ext in '' $ac_executable_extensions; do
4659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4660     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662     break 2
4663   fi
4664 done
4665   done
4666 IFS=$as_save_IFS
4667
4668 fi
4669 fi
4670 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4671 if test -n "$ac_ct_DUMPBIN"; then
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4673 $as_echo "$ac_ct_DUMPBIN" >&6; }
4674 else
4675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4677 fi
4678
4679
4680   test -n "$ac_ct_DUMPBIN" && break
4681 done
4682
4683   if test "x$ac_ct_DUMPBIN" = x; then
4684     DUMPBIN=":"
4685   else
4686     case $cross_compiling:$ac_tool_warned in
4687 yes:)
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4690 ac_tool_warned=yes ;;
4691 esac
4692     DUMPBIN=$ac_ct_DUMPBIN
4693   fi
4694 fi
4695
4696
4697   if test "$DUMPBIN" != ":"; then
4698     NM="$DUMPBIN"
4699   fi
4700 fi
4701 test -z "$NM" && NM=nm
4702
4703
4704
4705
4706
4707
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4709 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4710 if test "${lt_cv_nm_interface+set}" = set; then :
4711   $as_echo_n "(cached) " >&6
4712 else
4713   lt_cv_nm_interface="BSD nm"
4714   echo "int some_variable = 0;" > conftest.$ac_ext
4715   (eval echo "\"\$as_me:4715: $ac_compile\"" >&5)
4716   (eval "$ac_compile" 2>conftest.err)
4717   cat conftest.err >&5
4718   (eval echo "\"\$as_me:4718: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4719   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4720   cat conftest.err >&5
4721   (eval echo "\"\$as_me:4721: output\"" >&5)
4722   cat conftest.out >&5
4723   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4724     lt_cv_nm_interface="MS dumpbin"
4725   fi
4726   rm -f conftest*
4727 fi
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4729 $as_echo "$lt_cv_nm_interface" >&6; }
4730
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4732 $as_echo_n "checking whether ln -s works... " >&6; }
4733 LN_S=$as_ln_s
4734 if test "$LN_S" = "ln -s"; then
4735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4736 $as_echo "yes" >&6; }
4737 else
4738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4739 $as_echo "no, using $LN_S" >&6; }
4740 fi
4741
4742 # find the maximum length of command line arguments
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4744 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4745 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4746   $as_echo_n "(cached) " >&6
4747 else
4748     i=0
4749   teststring="ABCD"
4750
4751   case $build_os in
4752   msdosdjgpp*)
4753     # On DJGPP, this test can blow up pretty badly due to problems in libc
4754     # (any single argument exceeding 2000 bytes causes a buffer overrun
4755     # during glob expansion).  Even if it were fixed, the result of this
4756     # check would be larger than it should be.
4757     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4758     ;;
4759
4760   gnu*)
4761     # Under GNU Hurd, this test is not required because there is
4762     # no limit to the length of command line arguments.
4763     # Libtool will interpret -1 as no limit whatsoever
4764     lt_cv_sys_max_cmd_len=-1;
4765     ;;
4766
4767   cygwin* | mingw* | cegcc*)
4768     # On Win9x/ME, this test blows up -- it succeeds, but takes
4769     # about 5 minutes as the teststring grows exponentially.
4770     # Worse, since 9x/ME are not pre-emptively multitasking,
4771     # you end up with a "frozen" computer, even though with patience
4772     # the test eventually succeeds (with a max line length of 256k).
4773     # Instead, let's just punt: use the minimum linelength reported by
4774     # all of the supported platforms: 8192 (on NT/2K/XP).
4775     lt_cv_sys_max_cmd_len=8192;
4776     ;;
4777
4778   amigaos*)
4779     # On AmigaOS with pdksh, this test takes hours, literally.
4780     # So we just punt and use a minimum line length of 8192.
4781     lt_cv_sys_max_cmd_len=8192;
4782     ;;
4783
4784   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4785     # This has been around since 386BSD, at least.  Likely further.
4786     if test -x /sbin/sysctl; then
4787       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4788     elif test -x /usr/sbin/sysctl; then
4789       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4790     else
4791       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4792     fi
4793     # And add a safety zone
4794     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4795     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4796     ;;
4797
4798   interix*)
4799     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4800     lt_cv_sys_max_cmd_len=196608
4801     ;;
4802
4803   osf*)
4804     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4805     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4806     # nice to cause kernel panics so lets avoid the loop below.
4807     # First set a reasonable default.
4808     lt_cv_sys_max_cmd_len=16384
4809     #
4810     if test -x /sbin/sysconfig; then
4811       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4812         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4813       esac
4814     fi
4815     ;;
4816   sco3.2v5*)
4817     lt_cv_sys_max_cmd_len=102400
4818     ;;
4819   sysv5* | sco5v6* | sysv4.2uw2*)
4820     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4821     if test -n "$kargmax"; then
4822       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4823     else
4824       lt_cv_sys_max_cmd_len=32768
4825     fi
4826     ;;
4827   *)
4828     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4829     if test -n "$lt_cv_sys_max_cmd_len"; then
4830       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4831       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4832     else
4833       # Make teststring a little bigger before we do anything with it.
4834       # a 1K string should be a reasonable start.
4835       for i in 1 2 3 4 5 6 7 8 ; do
4836         teststring=$teststring$teststring
4837       done
4838       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4839       # If test is not a shell built-in, we'll probably end up computing a
4840       # maximum length that is only half of the actual maximum length, but
4841       # we can't tell.
4842       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4843                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4844               test $i != 17 # 1/2 MB should be enough
4845       do
4846         i=`expr $i + 1`
4847         teststring=$teststring$teststring
4848       done
4849       # Only check the string length outside the loop.
4850       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4851       teststring=
4852       # Add a significant safety factor because C++ compilers can tack on
4853       # massive amounts of additional arguments before passing them to the
4854       # linker.  It appears as though 1/2 is a usable value.
4855       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4856     fi
4857     ;;
4858   esac
4859
4860 fi
4861
4862 if test -n $lt_cv_sys_max_cmd_len ; then
4863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4864 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4865 else
4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4867 $as_echo "none" >&6; }
4868 fi
4869 max_cmd_len=$lt_cv_sys_max_cmd_len
4870
4871
4872
4873
4874
4875
4876 : ${CP="cp -f"}
4877 : ${MV="mv -f"}
4878 : ${RM="rm -f"}
4879
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4881 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4882 # Try some XSI features
4883 xsi_shell=no
4884 ( _lt_dummy="a/b/c"
4885   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4886       = c,a/b,, \
4887     && eval 'test $(( 1 + 1 )) -eq 2 \
4888     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4889   && xsi_shell=yes
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4891 $as_echo "$xsi_shell" >&6; }
4892
4893
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4895 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4896 lt_shell_append=no
4897 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4898     >/dev/null 2>&1 \
4899   && lt_shell_append=yes
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4901 $as_echo "$lt_shell_append" >&6; }
4902
4903
4904 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4905   lt_unset=unset
4906 else
4907   lt_unset=false
4908 fi
4909
4910
4911
4912
4913
4914 # test EBCDIC or ASCII
4915 case `echo X|tr X '\101'` in
4916  A) # ASCII based system
4917     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4918   lt_SP2NL='tr \040 \012'
4919   lt_NL2SP='tr \015\012 \040\040'
4920   ;;
4921  *) # EBCDIC based system
4922   lt_SP2NL='tr \100 \n'
4923   lt_NL2SP='tr \r\n \100\100'
4924   ;;
4925 esac
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4936 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4937 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4938   $as_echo_n "(cached) " >&6
4939 else
4940   lt_cv_ld_reload_flag='-r'
4941 fi
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4943 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4944 reload_flag=$lt_cv_ld_reload_flag
4945 case $reload_flag in
4946 "" | " "*) ;;
4947 *) reload_flag=" $reload_flag" ;;
4948 esac
4949 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4950 case $host_os in
4951   darwin*)
4952     if test "$GCC" = yes; then
4953       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4954     else
4955       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4956     fi
4957     ;;
4958 esac
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968 if test -n "$ac_tool_prefix"; then
4969   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4970 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4974   $as_echo_n "(cached) " >&6
4975 else
4976   if test -n "$OBJDUMP"; then
4977   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4981 do
4982   IFS=$as_save_IFS
4983   test -z "$as_dir" && as_dir=.
4984     for ac_exec_ext in '' $ac_executable_extensions; do
4985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988     break 2
4989   fi
4990 done
4991   done
4992 IFS=$as_save_IFS
4993
4994 fi
4995 fi
4996 OBJDUMP=$ac_cv_prog_OBJDUMP
4997 if test -n "$OBJDUMP"; then
4998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4999 $as_echo "$OBJDUMP" >&6; }
5000 else
5001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 fi
5004
5005
5006 fi
5007 if test -z "$ac_cv_prog_OBJDUMP"; then
5008   ac_ct_OBJDUMP=$OBJDUMP
5009   # Extract the first word of "objdump", so it can be a program name with args.
5010 set dummy objdump; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5014   $as_echo_n "(cached) " >&6
5015 else
5016   if test -n "$ac_ct_OBJDUMP"; then
5017   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5021 do
5022   IFS=$as_save_IFS
5023   test -z "$as_dir" && as_dir=.
5024     for ac_exec_ext in '' $ac_executable_extensions; do
5025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028     break 2
5029   fi
5030 done
5031   done
5032 IFS=$as_save_IFS
5033
5034 fi
5035 fi
5036 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5037 if test -n "$ac_ct_OBJDUMP"; then
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5039 $as_echo "$ac_ct_OBJDUMP" >&6; }
5040 else
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5043 fi
5044
5045   if test "x$ac_ct_OBJDUMP" = x; then
5046     OBJDUMP="false"
5047   else
5048     case $cross_compiling:$ac_tool_warned in
5049 yes:)
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5052 ac_tool_warned=yes ;;
5053 esac
5054     OBJDUMP=$ac_ct_OBJDUMP
5055   fi
5056 else
5057   OBJDUMP="$ac_cv_prog_OBJDUMP"
5058 fi
5059
5060 test -z "$OBJDUMP" && OBJDUMP=objdump
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5071 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5072 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5073   $as_echo_n "(cached) " >&6
5074 else
5075   lt_cv_file_magic_cmd='$MAGIC_CMD'
5076 lt_cv_file_magic_test_file=
5077 lt_cv_deplibs_check_method='unknown'
5078 # Need to set the preceding variable on all platforms that support
5079 # interlibrary dependencies.
5080 # 'none' -- dependencies not supported.
5081 # `unknown' -- same as none, but documents that we really don't know.
5082 # 'pass_all' -- all dependencies passed with no checks.
5083 # 'test_compile' -- check by making test program.
5084 # 'file_magic [[regex]]' -- check by looking for files in library path
5085 # which responds to the $file_magic_cmd with a given extended regex.
5086 # If you have `file' or equivalent on your system and you're not sure
5087 # whether `pass_all' will *always* work, you probably want this one.
5088
5089 case $host_os in
5090 aix[4-9]*)
5091   lt_cv_deplibs_check_method=pass_all
5092   ;;
5093
5094 beos*)
5095   lt_cv_deplibs_check_method=pass_all
5096   ;;
5097
5098 bsdi[45]*)
5099   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5100   lt_cv_file_magic_cmd='/usr/bin/file -L'
5101   lt_cv_file_magic_test_file=/shlib/libc.so
5102   ;;
5103
5104 cygwin*)
5105   # func_win32_libid is a shell function defined in ltmain.sh
5106   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5107   lt_cv_file_magic_cmd='func_win32_libid'
5108   ;;
5109
5110 mingw* | pw32*)
5111   # Base MSYS/MinGW do not provide the 'file' command needed by
5112   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5113   # unless we find 'file', for example because we are cross-compiling.
5114   if ( file / ) >/dev/null 2>&1; then
5115     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5116     lt_cv_file_magic_cmd='func_win32_libid'
5117   else
5118     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5119     lt_cv_file_magic_cmd='$OBJDUMP -f'
5120   fi
5121   ;;
5122
5123 cegcc)
5124   # use the weaker test based on 'objdump'. See mingw*.
5125   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5126   lt_cv_file_magic_cmd='$OBJDUMP -f'
5127   ;;
5128
5129 darwin* | rhapsody*)
5130   lt_cv_deplibs_check_method=pass_all
5131   ;;
5132
5133 freebsd* | dragonfly*)
5134   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5135     case $host_cpu in
5136     i*86 )
5137       # Not sure whether the presence of OpenBSD here was a mistake.
5138       # Let's accept both of them until this is cleared up.
5139       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5140       lt_cv_file_magic_cmd=/usr/bin/file
5141       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5142       ;;
5143     esac
5144   else
5145     lt_cv_deplibs_check_method=pass_all
5146   fi
5147   ;;
5148
5149 gnu*)
5150   lt_cv_deplibs_check_method=pass_all
5151   ;;
5152
5153 hpux10.20* | hpux11*)
5154   lt_cv_file_magic_cmd=/usr/bin/file
5155   case $host_cpu in
5156   ia64*)
5157     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5158     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5159     ;;
5160   hppa*64*)
5161     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5162     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5163     ;;
5164   *)
5165     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5166     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5167     ;;
5168   esac
5169   ;;
5170
5171 interix[3-9]*)
5172   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5173   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5174   ;;
5175
5176 irix5* | irix6* | nonstopux*)
5177   case $LD in
5178   *-32|*"-32 ") libmagic=32-bit;;
5179   *-n32|*"-n32 ") libmagic=N32;;
5180   *-64|*"-64 ") libmagic=64-bit;;
5181   *) libmagic=never-match;;
5182   esac
5183   lt_cv_deplibs_check_method=pass_all
5184   ;;
5185
5186 # This must be Linux ELF.
5187 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5188   lt_cv_deplibs_check_method=pass_all
5189   ;;
5190
5191 netbsd* | netbsdelf*-gnu)
5192   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5193     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5194   else
5195     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5196   fi
5197   ;;
5198
5199 newos6*)
5200   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5201   lt_cv_file_magic_cmd=/usr/bin/file
5202   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5203   ;;
5204
5205 *nto* | *qnx*)
5206   lt_cv_deplibs_check_method=pass_all
5207   ;;
5208
5209 openbsd*)
5210   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5211     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5212   else
5213     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5214   fi
5215   ;;
5216
5217 osf3* | osf4* | osf5*)
5218   lt_cv_deplibs_check_method=pass_all
5219   ;;
5220
5221 rdos*)
5222   lt_cv_deplibs_check_method=pass_all
5223   ;;
5224
5225 solaris*)
5226   lt_cv_deplibs_check_method=pass_all
5227   ;;
5228
5229 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5230   lt_cv_deplibs_check_method=pass_all
5231   ;;
5232
5233 sysv4 | sysv4.3*)
5234   case $host_vendor in
5235   motorola)
5236     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]'
5237     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5238     ;;
5239   ncr)
5240     lt_cv_deplibs_check_method=pass_all
5241     ;;
5242   sequent)
5243     lt_cv_file_magic_cmd='/bin/file'
5244     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5245     ;;
5246   sni)
5247     lt_cv_file_magic_cmd='/bin/file'
5248     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5249     lt_cv_file_magic_test_file=/lib/libc.so
5250     ;;
5251   siemens)
5252     lt_cv_deplibs_check_method=pass_all
5253     ;;
5254   pc)
5255     lt_cv_deplibs_check_method=pass_all
5256     ;;
5257   esac
5258   ;;
5259
5260 tpf*)
5261   lt_cv_deplibs_check_method=pass_all
5262   ;;
5263 esac
5264
5265 fi
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5267 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5268 file_magic_cmd=$lt_cv_file_magic_cmd
5269 deplibs_check_method=$lt_cv_deplibs_check_method
5270 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283 if test -n "$ac_tool_prefix"; then
5284   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5285 set dummy ${ac_tool_prefix}ar; ac_word=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; }
5288 if test "${ac_cv_prog_AR+set}" = set; then :
5289   $as_echo_n "(cached) " >&6
5290 else
5291   if test -n "$AR"; then
5292   ac_cv_prog_AR="$AR" # Let the user override the test.
5293 else
5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5295 for as_dir in $PATH
5296 do
5297   IFS=$as_save_IFS
5298   test -z "$as_dir" && as_dir=.
5299     for ac_exec_ext in '' $ac_executable_extensions; do
5300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5301     ac_cv_prog_AR="${ac_tool_prefix}ar"
5302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5303     break 2
5304   fi
5305 done
5306   done
5307 IFS=$as_save_IFS
5308
5309 fi
5310 fi
5311 AR=$ac_cv_prog_AR
5312 if test -n "$AR"; then
5313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5314 $as_echo "$AR" >&6; }
5315 else
5316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5318 fi
5319
5320
5321 fi
5322 if test -z "$ac_cv_prog_AR"; then
5323   ac_ct_AR=$AR
5324   # Extract the first word of "ar", so it can be a program name with args.
5325 set dummy ar; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5329   $as_echo_n "(cached) " >&6
5330 else
5331   if test -n "$ac_ct_AR"; then
5332   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5336 do
5337   IFS=$as_save_IFS
5338   test -z "$as_dir" && as_dir=.
5339     for ac_exec_ext in '' $ac_executable_extensions; do
5340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341     ac_cv_prog_ac_ct_AR="ar"
5342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343     break 2
5344   fi
5345 done
5346   done
5347 IFS=$as_save_IFS
5348
5349 fi
5350 fi
5351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5352 if test -n "$ac_ct_AR"; then
5353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5354 $as_echo "$ac_ct_AR" >&6; }
5355 else
5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5358 fi
5359
5360   if test "x$ac_ct_AR" = x; then
5361     AR="false"
5362   else
5363     case $cross_compiling:$ac_tool_warned in
5364 yes:)
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5367 ac_tool_warned=yes ;;
5368 esac
5369     AR=$ac_ct_AR
5370   fi
5371 else
5372   AR="$ac_cv_prog_AR"
5373 fi
5374
5375 test -z "$AR" && AR=ar
5376 test -z "$AR_FLAGS" && AR_FLAGS=cru
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388 if test -n "$ac_tool_prefix"; then
5389   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5390 set dummy ${ac_tool_prefix}strip; ac_word=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if test "${ac_cv_prog_STRIP+set}" = set; then :
5394   $as_echo_n "(cached) " >&6
5395 else
5396   if test -n "$STRIP"; then
5397   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5401 do
5402   IFS=$as_save_IFS
5403   test -z "$as_dir" && as_dir=.
5404     for ac_exec_ext in '' $ac_executable_extensions; do
5405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408     break 2
5409   fi
5410 done
5411   done
5412 IFS=$as_save_IFS
5413
5414 fi
5415 fi
5416 STRIP=$ac_cv_prog_STRIP
5417 if test -n "$STRIP"; then
5418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5419 $as_echo "$STRIP" >&6; }
5420 else
5421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5423 fi
5424
5425
5426 fi
5427 if test -z "$ac_cv_prog_STRIP"; then
5428   ac_ct_STRIP=$STRIP
5429   # Extract the first word of "strip", so it can be a program name with args.
5430 set dummy strip; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5434   $as_echo_n "(cached) " >&6
5435 else
5436   if test -n "$ac_ct_STRIP"; then
5437   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5438 else
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH
5441 do
5442   IFS=$as_save_IFS
5443   test -z "$as_dir" && as_dir=.
5444     for ac_exec_ext in '' $ac_executable_extensions; do
5445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5446     ac_cv_prog_ac_ct_STRIP="strip"
5447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448     break 2
5449   fi
5450 done
5451   done
5452 IFS=$as_save_IFS
5453
5454 fi
5455 fi
5456 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5457 if test -n "$ac_ct_STRIP"; then
5458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5459 $as_echo "$ac_ct_STRIP" >&6; }
5460 else
5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5463 fi
5464
5465   if test "x$ac_ct_STRIP" = x; then
5466     STRIP=":"
5467   else
5468     case $cross_compiling:$ac_tool_warned in
5469 yes:)
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5472 ac_tool_warned=yes ;;
5473 esac
5474     STRIP=$ac_ct_STRIP
5475   fi
5476 else
5477   STRIP="$ac_cv_prog_STRIP"
5478 fi
5479
5480 test -z "$STRIP" && STRIP=:
5481
5482
5483
5484
5485
5486
5487 if test -n "$ac_tool_prefix"; then
5488   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5493   $as_echo_n "(cached) " >&6
5494 else
5495   if test -n "$RANLIB"; then
5496   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5500 do
5501   IFS=$as_save_IFS
5502   test -z "$as_dir" && as_dir=.
5503     for ac_exec_ext in '' $ac_executable_extensions; do
5504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507     break 2
5508   fi
5509 done
5510   done
5511 IFS=$as_save_IFS
5512
5513 fi
5514 fi
5515 RANLIB=$ac_cv_prog_RANLIB
5516 if test -n "$RANLIB"; then
5517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5518 $as_echo "$RANLIB" >&6; }
5519 else
5520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5522 fi
5523
5524
5525 fi
5526 if test -z "$ac_cv_prog_RANLIB"; then
5527   ac_ct_RANLIB=$RANLIB
5528   # Extract the first word of "ranlib", so it can be a program name with args.
5529 set dummy ranlib; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5533   $as_echo_n "(cached) " >&6
5534 else
5535   if test -n "$ac_ct_RANLIB"; then
5536   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5540 do
5541   IFS=$as_save_IFS
5542   test -z "$as_dir" && as_dir=.
5543     for ac_exec_ext in '' $ac_executable_extensions; do
5544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545     ac_cv_prog_ac_ct_RANLIB="ranlib"
5546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547     break 2
5548   fi
5549 done
5550   done
5551 IFS=$as_save_IFS
5552
5553 fi
5554 fi
5555 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5556 if test -n "$ac_ct_RANLIB"; then
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5558 $as_echo "$ac_ct_RANLIB" >&6; }
5559 else
5560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5562 fi
5563
5564   if test "x$ac_ct_RANLIB" = x; then
5565     RANLIB=":"
5566   else
5567     case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5572 esac
5573     RANLIB=$ac_ct_RANLIB
5574   fi
5575 else
5576   RANLIB="$ac_cv_prog_RANLIB"
5577 fi
5578
5579 test -z "$RANLIB" && RANLIB=:
5580
5581
5582
5583
5584
5585
5586 # Determine commands to create old-style static archives.
5587 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5588 old_postinstall_cmds='chmod 644 $oldlib'
5589 old_postuninstall_cmds=
5590
5591 if test -n "$RANLIB"; then
5592   case $host_os in
5593   openbsd*)
5594     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5595     ;;
5596   *)
5597     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5598     ;;
5599   esac
5600   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5601 fi
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636 # If no C compiler was specified, use CC.
5637 LTCC=${LTCC-"$CC"}
5638
5639 # If no C compiler flags were specified, use CFLAGS.
5640 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5641
5642 # Allow CC to be a program name with arguments.
5643 compiler=$CC
5644
5645
5646 # Check for command to grab the raw symbol name followed by C symbol from nm.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5648 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5649 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5650   $as_echo_n "(cached) " >&6
5651 else
5652
5653 # These are sane defaults that work on at least a few old systems.
5654 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5655
5656 # Character class describing NM global symbol codes.
5657 symcode='[BCDEGRST]'
5658
5659 # Regexp to match symbols that can be accessed directly from C.
5660 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5661
5662 # Define system-specific variables.
5663 case $host_os in
5664 aix*)
5665   symcode='[BCDT]'
5666   ;;
5667 cygwin* | mingw* | pw32* | cegcc*)
5668   symcode='[ABCDGISTW]'
5669   ;;
5670 hpux*)
5671   if test "$host_cpu" = ia64; then
5672     symcode='[ABCDEGRST]'
5673   fi
5674   ;;
5675 irix* | nonstopux*)
5676   symcode='[BCDEGRST]'
5677   ;;
5678 osf*)
5679   symcode='[BCDEGQRST]'
5680   ;;
5681 solaris*)
5682   symcode='[BDRT]'
5683   ;;
5684 sco3.2v5*)
5685   symcode='[DT]'
5686   ;;
5687 sysv4.2uw2*)
5688   symcode='[DT]'
5689   ;;
5690 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5691   symcode='[ABDT]'
5692   ;;
5693 sysv4)
5694   symcode='[DFNSTU]'
5695   ;;
5696 esac
5697
5698 # If we're using GNU nm, then use its standard symbol codes.
5699 case `$NM -V 2>&1` in
5700 *GNU* | *'with BFD'*)
5701   symcode='[ABCDGIRSTW]' ;;
5702 esac
5703
5704 # Transform an extracted symbol line into a proper C declaration.
5705 # Some systems (esp. on ia64) link data and code symbols differently,
5706 # so use this general approach.
5707 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5708
5709 # Transform an extracted symbol line into symbol name and symbol address
5710 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5711 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'"
5712
5713 # Handle CRLF in mingw tool chain
5714 opt_cr=
5715 case $build_os in
5716 mingw*)
5717   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5718   ;;
5719 esac
5720
5721 # Try without a prefix underscore, then with it.
5722 for ac_symprfx in "" "_"; do
5723
5724   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5725   symxfrm="\\1 $ac_symprfx\\2 \\2"
5726
5727   # Write the raw and C identifiers.
5728   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5729     # Fake it for dumpbin and say T for any non-static function
5730     # and D for any global variable.
5731     # Also find C++ and __fastcall symbols from MSVC++,
5732     # which start with @ or ?.
5733     lt_cv_sys_global_symbol_pipe="$AWK '"\
5734 "     {last_section=section; section=\$ 3};"\
5735 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5736 "     \$ 0!~/External *\|/{next};"\
5737 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5738 "     {if(hide[section]) next};"\
5739 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5740 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5741 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5742 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5743 "     ' prfx=^$ac_symprfx"
5744   else
5745     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5746   fi
5747
5748   # Check to see that the pipe works correctly.
5749   pipe_works=no
5750
5751   rm -f conftest*
5752   cat > conftest.$ac_ext <<_LT_EOF
5753 #ifdef __cplusplus
5754 extern "C" {
5755 #endif
5756 char nm_test_var;
5757 void nm_test_func(void);
5758 void nm_test_func(void){}
5759 #ifdef __cplusplus
5760 }
5761 #endif
5762 int main(){nm_test_var='a';nm_test_func();return(0);}
5763 _LT_EOF
5764
5765   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5766   (eval $ac_compile) 2>&5
5767   ac_status=$?
5768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5769   test $ac_status = 0; }; then
5770     # Now try to grab the symbols.
5771     nlist=conftest.nm
5772     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5773   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5774   ac_status=$?
5775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5776   test $ac_status = 0; } && test -s "$nlist"; then
5777       # Try sorting and uniquifying the output.
5778       if sort "$nlist" | uniq > "$nlist"T; then
5779         mv -f "$nlist"T "$nlist"
5780       else
5781         rm -f "$nlist"T
5782       fi
5783
5784       # Make sure that we snagged all the symbols we need.
5785       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5786         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5787           cat <<_LT_EOF > conftest.$ac_ext
5788 #ifdef __cplusplus
5789 extern "C" {
5790 #endif
5791
5792 _LT_EOF
5793           # Now generate the symbol file.
5794           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5795
5796           cat <<_LT_EOF >> conftest.$ac_ext
5797
5798 /* The mapping between symbol names and symbols.  */
5799 const struct {
5800   const char *name;
5801   void       *address;
5802 }
5803 lt__PROGRAM__LTX_preloaded_symbols[] =
5804 {
5805   { "@PROGRAM@", (void *) 0 },
5806 _LT_EOF
5807           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5808           cat <<\_LT_EOF >> conftest.$ac_ext
5809   {0, (void *) 0}
5810 };
5811
5812 /* This works around a problem in FreeBSD linker */
5813 #ifdef FREEBSD_WORKAROUND
5814 static const void *lt_preloaded_setup() {
5815   return lt__PROGRAM__LTX_preloaded_symbols;
5816 }
5817 #endif
5818
5819 #ifdef __cplusplus
5820 }
5821 #endif
5822 _LT_EOF
5823           # Now try linking the two files.
5824           mv conftest.$ac_objext conftstm.$ac_objext
5825           lt_save_LIBS="$LIBS"
5826           lt_save_CFLAGS="$CFLAGS"
5827           LIBS="conftstm.$ac_objext"
5828           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5829           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5830   (eval $ac_link) 2>&5
5831   ac_status=$?
5832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5833   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5834             pipe_works=yes
5835           fi
5836           LIBS="$lt_save_LIBS"
5837           CFLAGS="$lt_save_CFLAGS"
5838         else
5839           echo "cannot find nm_test_func in $nlist" >&5
5840         fi
5841       else
5842         echo "cannot find nm_test_var in $nlist" >&5
5843       fi
5844     else
5845       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5846     fi
5847   else
5848     echo "$progname: failed program was:" >&5
5849     cat conftest.$ac_ext >&5
5850   fi
5851   rm -rf conftest* conftst*
5852
5853   # Do not use the global_symbol_pipe unless it works.
5854   if test "$pipe_works" = yes; then
5855     break
5856   else
5857     lt_cv_sys_global_symbol_pipe=
5858   fi
5859 done
5860
5861 fi
5862
5863 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5864   lt_cv_sys_global_symbol_to_cdecl=
5865 fi
5866 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5868 $as_echo "failed" >&6; }
5869 else
5870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5871 $as_echo "ok" >&6; }
5872 fi
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896 # Check whether --enable-libtool-lock was given.
5897 if test "${enable_libtool_lock+set}" = set; then :
5898   enableval=$enable_libtool_lock;
5899 fi
5900
5901 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5902
5903 # Some flags need to be propagated to the compiler or linker for good
5904 # libtool support.
5905 case $host in
5906 ia64-*-hpux*)
5907   # Find out which ABI we are using.
5908   echo 'int i;' > conftest.$ac_ext
5909   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5910   (eval $ac_compile) 2>&5
5911   ac_status=$?
5912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5913   test $ac_status = 0; }; then
5914     case `/usr/bin/file conftest.$ac_objext` in
5915       *ELF-32*)
5916         HPUX_IA64_MODE="32"
5917         ;;
5918       *ELF-64*)
5919         HPUX_IA64_MODE="64"
5920         ;;
5921     esac
5922   fi
5923   rm -rf conftest*
5924   ;;
5925 *-*-irix6*)
5926   # Find out which ABI we are using.
5927   echo '#line 5927 "configure"' > conftest.$ac_ext
5928   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5929   (eval $ac_compile) 2>&5
5930   ac_status=$?
5931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5932   test $ac_status = 0; }; then
5933     if test "$lt_cv_prog_gnu_ld" = yes; then
5934       case `/usr/bin/file conftest.$ac_objext` in
5935         *32-bit*)
5936           LD="${LD-ld} -melf32bsmip"
5937           ;;
5938         *N32*)
5939           LD="${LD-ld} -melf32bmipn32"
5940           ;;
5941         *64-bit*)
5942           LD="${LD-ld} -melf64bmip"
5943         ;;
5944       esac
5945     else
5946       case `/usr/bin/file conftest.$ac_objext` in
5947         *32-bit*)
5948           LD="${LD-ld} -32"
5949           ;;
5950         *N32*)
5951           LD="${LD-ld} -n32"
5952           ;;
5953         *64-bit*)
5954           LD="${LD-ld} -64"
5955           ;;
5956       esac
5957     fi
5958   fi
5959   rm -rf conftest*
5960   ;;
5961
5962 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5963 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5964   # Find out which ABI we are using.
5965   echo 'int i;' > conftest.$ac_ext
5966   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5967   (eval $ac_compile) 2>&5
5968   ac_status=$?
5969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5970   test $ac_status = 0; }; then
5971     case `/usr/bin/file conftest.o` in
5972       *32-bit*)
5973         case $host in
5974           x86_64-*kfreebsd*-gnu)
5975             LD="${LD-ld} -m elf_i386_fbsd"
5976             ;;
5977           x86_64-*linux*)
5978             LD="${LD-ld} -m elf_i386"
5979             ;;
5980           ppc64-*linux*|powerpc64-*linux*)
5981             LD="${LD-ld} -m elf32ppclinux"
5982             ;;
5983           s390x-*linux*)
5984             LD="${LD-ld} -m elf_s390"
5985             ;;
5986           sparc64-*linux*)
5987             LD="${LD-ld} -m elf32_sparc"
5988             ;;
5989         esac
5990         ;;
5991       *64-bit*)
5992         case $host in
5993           x86_64-*kfreebsd*-gnu)
5994             LD="${LD-ld} -m elf_x86_64_fbsd"
5995             ;;
5996           x86_64-*linux*)
5997             LD="${LD-ld} -m elf_x86_64"
5998             ;;
5999           ppc*-*linux*|powerpc*-*linux*)
6000             LD="${LD-ld} -m elf64ppc"
6001             ;;
6002           s390*-*linux*|s390*-*tpf*)
6003             LD="${LD-ld} -m elf64_s390"
6004             ;;
6005           sparc*-*linux*)
6006             LD="${LD-ld} -m elf64_sparc"
6007             ;;
6008         esac
6009         ;;
6010     esac
6011   fi
6012   rm -rf conftest*
6013   ;;
6014
6015 *-*-sco3.2v5*)
6016   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6017   SAVE_CFLAGS="$CFLAGS"
6018   CFLAGS="$CFLAGS -belf"
6019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6020 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6021 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6022   $as_echo_n "(cached) " >&6
6023 else
6024   ac_ext=c
6025 ac_cpp='$CPP $CPPFLAGS'
6026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6029
6030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6031 /* end confdefs.h.  */
6032
6033 int
6034 main ()
6035 {
6036
6037   ;
6038   return 0;
6039 }
6040 _ACEOF
6041 if ac_fn_c_try_link "$LINENO"; then :
6042   lt_cv_cc_needs_belf=yes
6043 else
6044   lt_cv_cc_needs_belf=no
6045 fi
6046 rm -f core conftest.err conftest.$ac_objext \
6047     conftest$ac_exeext conftest.$ac_ext
6048      ac_ext=c
6049 ac_cpp='$CPP $CPPFLAGS'
6050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6053
6054 fi
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6056 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6057   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6058     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6059     CFLAGS="$SAVE_CFLAGS"
6060   fi
6061   ;;
6062 sparc*-*solaris*)
6063   # Find out which ABI we are using.
6064   echo 'int i;' > conftest.$ac_ext
6065   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6066   (eval $ac_compile) 2>&5
6067   ac_status=$?
6068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6069   test $ac_status = 0; }; then
6070     case `/usr/bin/file conftest.o` in
6071     *64-bit*)
6072       case $lt_cv_prog_gnu_ld in
6073       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6074       *)
6075         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6076           LD="${LD-ld} -64"
6077         fi
6078         ;;
6079       esac
6080       ;;
6081     esac
6082   fi
6083   rm -rf conftest*
6084   ;;
6085 esac
6086
6087 need_locks="$enable_libtool_lock"
6088
6089
6090   case $host_os in
6091     rhapsody* | darwin*)
6092     if test -n "$ac_tool_prefix"; then
6093   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6094 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6098   $as_echo_n "(cached) " >&6
6099 else
6100   if test -n "$DSYMUTIL"; then
6101   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6105 do
6106   IFS=$as_save_IFS
6107   test -z "$as_dir" && as_dir=.
6108     for ac_exec_ext in '' $ac_executable_extensions; do
6109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112     break 2
6113   fi
6114 done
6115   done
6116 IFS=$as_save_IFS
6117
6118 fi
6119 fi
6120 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6121 if test -n "$DSYMUTIL"; then
6122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6123 $as_echo "$DSYMUTIL" >&6; }
6124 else
6125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6127 fi
6128
6129
6130 fi
6131 if test -z "$ac_cv_prog_DSYMUTIL"; then
6132   ac_ct_DSYMUTIL=$DSYMUTIL
6133   # Extract the first word of "dsymutil", so it can be a program name with args.
6134 set dummy dsymutil; ac_word=$2
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6136 $as_echo_n "checking for $ac_word... " >&6; }
6137 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6138   $as_echo_n "(cached) " >&6
6139 else
6140   if test -n "$ac_ct_DSYMUTIL"; then
6141   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6142 else
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $PATH
6145 do
6146   IFS=$as_save_IFS
6147   test -z "$as_dir" && as_dir=.
6148     for ac_exec_ext in '' $ac_executable_extensions; do
6149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6152     break 2
6153   fi
6154 done
6155   done
6156 IFS=$as_save_IFS
6157
6158 fi
6159 fi
6160 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6161 if test -n "$ac_ct_DSYMUTIL"; then
6162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6163 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6164 else
6165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 $as_echo "no" >&6; }
6167 fi
6168
6169   if test "x$ac_ct_DSYMUTIL" = x; then
6170     DSYMUTIL=":"
6171   else
6172     case $cross_compiling:$ac_tool_warned in
6173 yes:)
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6176 ac_tool_warned=yes ;;
6177 esac
6178     DSYMUTIL=$ac_ct_DSYMUTIL
6179   fi
6180 else
6181   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6182 fi
6183
6184     if test -n "$ac_tool_prefix"; then
6185   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6186 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6190   $as_echo_n "(cached) " >&6
6191 else
6192   if test -n "$NMEDIT"; then
6193   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6194 else
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 for as_dir in $PATH
6197 do
6198   IFS=$as_save_IFS
6199   test -z "$as_dir" && as_dir=.
6200     for ac_exec_ext in '' $ac_executable_extensions; do
6201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6202     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204     break 2
6205   fi
6206 done
6207   done
6208 IFS=$as_save_IFS
6209
6210 fi
6211 fi
6212 NMEDIT=$ac_cv_prog_NMEDIT
6213 if test -n "$NMEDIT"; then
6214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6215 $as_echo "$NMEDIT" >&6; }
6216 else
6217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6219 fi
6220
6221
6222 fi
6223 if test -z "$ac_cv_prog_NMEDIT"; then
6224   ac_ct_NMEDIT=$NMEDIT
6225   # Extract the first word of "nmedit", so it can be a program name with args.
6226 set dummy nmedit; ac_word=$2
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228 $as_echo_n "checking for $ac_word... " >&6; }
6229 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6230   $as_echo_n "(cached) " >&6
6231 else
6232   if test -n "$ac_ct_NMEDIT"; then
6233   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6234 else
6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6236 for as_dir in $PATH
6237 do
6238   IFS=$as_save_IFS
6239   test -z "$as_dir" && as_dir=.
6240     for ac_exec_ext in '' $ac_executable_extensions; do
6241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6242     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244     break 2
6245   fi
6246 done
6247   done
6248 IFS=$as_save_IFS
6249
6250 fi
6251 fi
6252 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6253 if test -n "$ac_ct_NMEDIT"; then
6254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6255 $as_echo "$ac_ct_NMEDIT" >&6; }
6256 else
6257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258 $as_echo "no" >&6; }
6259 fi
6260
6261   if test "x$ac_ct_NMEDIT" = x; then
6262     NMEDIT=":"
6263   else
6264     case $cross_compiling:$ac_tool_warned in
6265 yes:)
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6268 ac_tool_warned=yes ;;
6269 esac
6270     NMEDIT=$ac_ct_NMEDIT
6271   fi
6272 else
6273   NMEDIT="$ac_cv_prog_NMEDIT"
6274 fi
6275
6276     if test -n "$ac_tool_prefix"; then
6277   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6278 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if test "${ac_cv_prog_LIPO+set}" = set; then :
6282   $as_echo_n "(cached) " >&6
6283 else
6284   if test -n "$LIPO"; then
6285   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6289 do
6290   IFS=$as_save_IFS
6291   test -z "$as_dir" && as_dir=.
6292     for ac_exec_ext in '' $ac_executable_extensions; do
6293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296     break 2
6297   fi
6298 done
6299   done
6300 IFS=$as_save_IFS
6301
6302 fi
6303 fi
6304 LIPO=$ac_cv_prog_LIPO
6305 if test -n "$LIPO"; then
6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6307 $as_echo "$LIPO" >&6; }
6308 else
6309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6311 fi
6312
6313
6314 fi
6315 if test -z "$ac_cv_prog_LIPO"; then
6316   ac_ct_LIPO=$LIPO
6317   # Extract the first word of "lipo", so it can be a program name with args.
6318 set dummy lipo; ac_word=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320 $as_echo_n "checking for $ac_word... " >&6; }
6321 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6322   $as_echo_n "(cached) " >&6
6323 else
6324   if test -n "$ac_ct_LIPO"; then
6325   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6326 else
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $PATH
6329 do
6330   IFS=$as_save_IFS
6331   test -z "$as_dir" && as_dir=.
6332     for ac_exec_ext in '' $ac_executable_extensions; do
6333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6334     ac_cv_prog_ac_ct_LIPO="lipo"
6335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336     break 2
6337   fi
6338 done
6339   done
6340 IFS=$as_save_IFS
6341
6342 fi
6343 fi
6344 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6345 if test -n "$ac_ct_LIPO"; then
6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6347 $as_echo "$ac_ct_LIPO" >&6; }
6348 else
6349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6351 fi
6352
6353   if test "x$ac_ct_LIPO" = x; then
6354     LIPO=":"
6355   else
6356     case $cross_compiling:$ac_tool_warned in
6357 yes:)
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6360 ac_tool_warned=yes ;;
6361 esac
6362     LIPO=$ac_ct_LIPO
6363   fi
6364 else
6365   LIPO="$ac_cv_prog_LIPO"
6366 fi
6367
6368     if test -n "$ac_tool_prefix"; then
6369   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6370 set dummy ${ac_tool_prefix}otool; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6374   $as_echo_n "(cached) " >&6
6375 else
6376   if test -n "$OTOOL"; then
6377   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6378 else
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 for as_dir in $PATH
6381 do
6382   IFS=$as_save_IFS
6383   test -z "$as_dir" && as_dir=.
6384     for ac_exec_ext in '' $ac_executable_extensions; do
6385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388     break 2
6389   fi
6390 done
6391   done
6392 IFS=$as_save_IFS
6393
6394 fi
6395 fi
6396 OTOOL=$ac_cv_prog_OTOOL
6397 if test -n "$OTOOL"; then
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6399 $as_echo "$OTOOL" >&6; }
6400 else
6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6403 fi
6404
6405
6406 fi
6407 if test -z "$ac_cv_prog_OTOOL"; then
6408   ac_ct_OTOOL=$OTOOL
6409   # Extract the first word of "otool", so it can be a program name with args.
6410 set dummy otool; 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 test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6414   $as_echo_n "(cached) " >&6
6415 else
6416   if test -n "$ac_ct_OTOOL"; then
6417   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_ac_ct_OTOOL="otool"
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 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6437 if test -n "$ac_ct_OTOOL"; then
6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6439 $as_echo "$ac_ct_OTOOL" >&6; }
6440 else
6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6443 fi
6444
6445   if test "x$ac_ct_OTOOL" = x; then
6446     OTOOL=":"
6447   else
6448     case $cross_compiling:$ac_tool_warned in
6449 yes:)
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6452 ac_tool_warned=yes ;;
6453 esac
6454     OTOOL=$ac_ct_OTOOL
6455   fi
6456 else
6457   OTOOL="$ac_cv_prog_OTOOL"
6458 fi
6459
6460     if test -n "$ac_tool_prefix"; then
6461   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6462 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6466   $as_echo_n "(cached) " >&6
6467 else
6468   if test -n "$OTOOL64"; then
6469   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6473 do
6474   IFS=$as_save_IFS
6475   test -z "$as_dir" && as_dir=.
6476     for ac_exec_ext in '' $ac_executable_extensions; do
6477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6478     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480     break 2
6481   fi
6482 done
6483   done
6484 IFS=$as_save_IFS
6485
6486 fi
6487 fi
6488 OTOOL64=$ac_cv_prog_OTOOL64
6489 if test -n "$OTOOL64"; then
6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6491 $as_echo "$OTOOL64" >&6; }
6492 else
6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6495 fi
6496
6497
6498 fi
6499 if test -z "$ac_cv_prog_OTOOL64"; then
6500   ac_ct_OTOOL64=$OTOOL64
6501   # Extract the first word of "otool64", so it can be a program name with args.
6502 set dummy otool64; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6506   $as_echo_n "(cached) " >&6
6507 else
6508   if test -n "$ac_ct_OTOOL64"; then
6509   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6513 do
6514   IFS=$as_save_IFS
6515   test -z "$as_dir" && as_dir=.
6516     for ac_exec_ext in '' $ac_executable_extensions; do
6517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6518     ac_cv_prog_ac_ct_OTOOL64="otool64"
6519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520     break 2
6521   fi
6522 done
6523   done
6524 IFS=$as_save_IFS
6525
6526 fi
6527 fi
6528 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6529 if test -n "$ac_ct_OTOOL64"; then
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6531 $as_echo "$ac_ct_OTOOL64" >&6; }
6532 else
6533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6535 fi
6536
6537   if test "x$ac_ct_OTOOL64" = x; then
6538     OTOOL64=":"
6539   else
6540     case $cross_compiling:$ac_tool_warned in
6541 yes:)
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6544 ac_tool_warned=yes ;;
6545 esac
6546     OTOOL64=$ac_ct_OTOOL64
6547   fi
6548 else
6549   OTOOL64="$ac_cv_prog_OTOOL64"
6550 fi
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6579 $as_echo_n "checking for -single_module linker flag... " >&6; }
6580 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6581   $as_echo_n "(cached) " >&6
6582 else
6583   lt_cv_apple_cc_single_mod=no
6584       if test -z "${LT_MULTI_MODULE}"; then
6585         # By default we will add the -single_module flag. You can override
6586         # by either setting the environment variable LT_MULTI_MODULE
6587         # non-empty at configure time, or by adding -multi_module to the
6588         # link flags.
6589         rm -rf libconftest.dylib*
6590         echo "int foo(void){return 1;}" > conftest.c
6591         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6592 -dynamiclib -Wl,-single_module conftest.c" >&5
6593         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6594           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6595         _lt_result=$?
6596         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6597           lt_cv_apple_cc_single_mod=yes
6598         else
6599           cat conftest.err >&5
6600         fi
6601         rm -rf libconftest.dylib*
6602         rm -f conftest.*
6603       fi
6604 fi
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6606 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6608 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6609 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6610   $as_echo_n "(cached) " >&6
6611 else
6612   lt_cv_ld_exported_symbols_list=no
6613       save_LDFLAGS=$LDFLAGS
6614       echo "_main" > conftest.sym
6615       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h.  */
6618
6619 int
6620 main ()
6621 {
6622
6623   ;
6624   return 0;
6625 }
6626 _ACEOF
6627 if ac_fn_c_try_link "$LINENO"; then :
6628   lt_cv_ld_exported_symbols_list=yes
6629 else
6630   lt_cv_ld_exported_symbols_list=no
6631 fi
6632 rm -f core conftest.err conftest.$ac_objext \
6633     conftest$ac_exeext conftest.$ac_ext
6634         LDFLAGS="$save_LDFLAGS"
6635
6636 fi
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6638 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6639     case $host_os in
6640     rhapsody* | darwin1.[012])
6641       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6642     darwin1.*)
6643       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6644     darwin*) # darwin 5.x on
6645       # if running on 10.5 or later, the deployment target defaults
6646       # to the OS version, if on x86, and 10.4, the deployment
6647       # target defaults to 10.4. Don't you love it?
6648       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6649         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6650           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6651         10.[012]*)
6652           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6653         10.*)
6654           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6655       esac
6656     ;;
6657   esac
6658     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6659       _lt_dar_single_mod='$single_module'
6660     fi
6661     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6662       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6663     else
6664       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6665     fi
6666     if test "$DSYMUTIL" != ":"; then
6667       _lt_dsymutil='~$DSYMUTIL $lib || :'
6668     else
6669       _lt_dsymutil=
6670     fi
6671     ;;
6672   esac
6673
6674 ac_ext=c
6675 ac_cpp='$CPP $CPPFLAGS'
6676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6680 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6681 # On Suns, sometimes $CPP names a directory.
6682 if test -n "$CPP" && test -d "$CPP"; then
6683   CPP=
6684 fi
6685 if test -z "$CPP"; then
6686   if test "${ac_cv_prog_CPP+set}" = set; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689       # Double quotes because CPP needs to be expanded
6690     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6691     do
6692       ac_preproc_ok=false
6693 for ac_c_preproc_warn_flag in '' yes
6694 do
6695   # Use a header file that comes with gcc, so configuring glibc
6696   # with a fresh cross-compiler works.
6697   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6698   # <limits.h> exists even on freestanding compilers.
6699   # On the NeXT, cc -E runs the code through the compiler's parser,
6700   # not just through cpp. "Syntax error" is here to catch this case.
6701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h.  */
6703 #ifdef __STDC__
6704 # include <limits.h>
6705 #else
6706 # include <assert.h>
6707 #endif
6708                      Syntax error
6709 _ACEOF
6710 if ac_fn_c_try_cpp "$LINENO"; then :
6711
6712 else
6713   # Broken: fails on valid input.
6714 continue
6715 fi
6716 rm -f conftest.err conftest.$ac_ext
6717
6718   # OK, works on sane cases.  Now check whether nonexistent headers
6719   # can be detected and how.
6720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h.  */
6722 #include <ac_nonexistent.h>
6723 _ACEOF
6724 if ac_fn_c_try_cpp "$LINENO"; then :
6725   # Broken: success on invalid input.
6726 continue
6727 else
6728   # Passes both tests.
6729 ac_preproc_ok=:
6730 break
6731 fi
6732 rm -f conftest.err conftest.$ac_ext
6733
6734 done
6735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6736 rm -f conftest.err conftest.$ac_ext
6737 if $ac_preproc_ok; then :
6738   break
6739 fi
6740
6741     done
6742     ac_cv_prog_CPP=$CPP
6743
6744 fi
6745   CPP=$ac_cv_prog_CPP
6746 else
6747   ac_cv_prog_CPP=$CPP
6748 fi
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6750 $as_echo "$CPP" >&6; }
6751 ac_preproc_ok=false
6752 for ac_c_preproc_warn_flag in '' yes
6753 do
6754   # Use a header file that comes with gcc, so configuring glibc
6755   # with a fresh cross-compiler works.
6756   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6757   # <limits.h> exists even on freestanding compilers.
6758   # On the NeXT, cc -E runs the code through the compiler's parser,
6759   # not just through cpp. "Syntax error" is here to catch this case.
6760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h.  */
6762 #ifdef __STDC__
6763 # include <limits.h>
6764 #else
6765 # include <assert.h>
6766 #endif
6767                      Syntax error
6768 _ACEOF
6769 if ac_fn_c_try_cpp "$LINENO"; then :
6770
6771 else
6772   # Broken: fails on valid input.
6773 continue
6774 fi
6775 rm -f conftest.err conftest.$ac_ext
6776
6777   # OK, works on sane cases.  Now check whether nonexistent headers
6778   # can be detected and how.
6779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h.  */
6781 #include <ac_nonexistent.h>
6782 _ACEOF
6783 if ac_fn_c_try_cpp "$LINENO"; then :
6784   # Broken: success on invalid input.
6785 continue
6786 else
6787   # Passes both tests.
6788 ac_preproc_ok=:
6789 break
6790 fi
6791 rm -f conftest.err conftest.$ac_ext
6792
6793 done
6794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6795 rm -f conftest.err conftest.$ac_ext
6796 if $ac_preproc_ok; then :
6797
6798 else
6799   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6801 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6802 See \`config.log' for more details." "$LINENO" 5; }
6803 fi
6804
6805 ac_ext=c
6806 ac_cpp='$CPP $CPPFLAGS'
6807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6810
6811
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6813 $as_echo_n "checking for ANSI C header files... " >&6; }
6814 if test "${ac_cv_header_stdc+set}" = set; then :
6815   $as_echo_n "(cached) " >&6
6816 else
6817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h.  */
6819 #include <stdlib.h>
6820 #include <stdarg.h>
6821 #include <string.h>
6822 #include <float.h>
6823
6824 int
6825 main ()
6826 {
6827
6828   ;
6829   return 0;
6830 }
6831 _ACEOF
6832 if ac_fn_c_try_compile "$LINENO"; then :
6833   ac_cv_header_stdc=yes
6834 else
6835   ac_cv_header_stdc=no
6836 fi
6837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6838
6839 if test $ac_cv_header_stdc = yes; then
6840   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h.  */
6843 #include <string.h>
6844
6845 _ACEOF
6846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6847   $EGREP "memchr" >/dev/null 2>&1; then :
6848
6849 else
6850   ac_cv_header_stdc=no
6851 fi
6852 rm -f conftest*
6853
6854 fi
6855
6856 if test $ac_cv_header_stdc = yes; then
6857   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h.  */
6860 #include <stdlib.h>
6861
6862 _ACEOF
6863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6864   $EGREP "free" >/dev/null 2>&1; then :
6865
6866 else
6867   ac_cv_header_stdc=no
6868 fi
6869 rm -f conftest*
6870
6871 fi
6872
6873 if test $ac_cv_header_stdc = yes; then
6874   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6875   if test "$cross_compiling" = yes; then :
6876   :
6877 else
6878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h.  */
6880 #include <ctype.h>
6881 #include <stdlib.h>
6882 #if ((' ' & 0x0FF) == 0x020)
6883 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6884 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6885 #else
6886 # define ISLOWER(c) \
6887                    (('a' <= (c) && (c) <= 'i') \
6888                      || ('j' <= (c) && (c) <= 'r') \
6889                      || ('s' <= (c) && (c) <= 'z'))
6890 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6891 #endif
6892
6893 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6894 int
6895 main ()
6896 {
6897   int i;
6898   for (i = 0; i < 256; i++)
6899     if (XOR (islower (i), ISLOWER (i))
6900         || toupper (i) != TOUPPER (i))
6901       return 2;
6902   return 0;
6903 }
6904 _ACEOF
6905 if ac_fn_c_try_run "$LINENO"; then :
6906
6907 else
6908   ac_cv_header_stdc=no
6909 fi
6910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6911   conftest.$ac_objext conftest.beam conftest.$ac_ext
6912 fi
6913
6914 fi
6915 fi
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6917 $as_echo "$ac_cv_header_stdc" >&6; }
6918 if test $ac_cv_header_stdc = yes; then
6919
6920 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6921
6922 fi
6923
6924 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6925 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6926                   inttypes.h stdint.h unistd.h
6927 do :
6928   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6929 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6930 "
6931 eval as_val=\$$as_ac_Header
6932    if test "x$as_val" = x""yes; then :
6933   cat >>confdefs.h <<_ACEOF
6934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6935 _ACEOF
6936
6937 fi
6938
6939 done
6940
6941
6942 for ac_header in dlfcn.h
6943 do :
6944   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6945 "
6946 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6947   cat >>confdefs.h <<_ACEOF
6948 #define HAVE_DLFCN_H 1
6949 _ACEOF
6950
6951 fi
6952
6953 done
6954
6955
6956
6957 # Set options
6958 # Check whether --enable-static was given.
6959 if test "${enable_static+set}" = set; then :
6960   enableval=$enable_static; p=${PACKAGE-default}
6961     case $enableval in
6962     yes) enable_static=yes ;;
6963     no) enable_static=no ;;
6964     *)
6965      enable_static=no
6966       # Look at the argument we got.  We use all the common list separators.
6967       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6968       for pkg in $enableval; do
6969         IFS="$lt_save_ifs"
6970         if test "X$pkg" = "X$p"; then
6971           enable_static=yes
6972         fi
6973       done
6974       IFS="$lt_save_ifs"
6975       ;;
6976     esac
6977 else
6978   enable_static=no
6979 fi
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990         enable_dlopen=no
6991
6992
6993   enable_win32_dll=no
6994
6995
6996             # Check whether --enable-shared was given.
6997 if test "${enable_shared+set}" = set; then :
6998   enableval=$enable_shared; p=${PACKAGE-default}
6999     case $enableval in
7000     yes) enable_shared=yes ;;
7001     no) enable_shared=no ;;
7002     *)
7003       enable_shared=no
7004       # Look at the argument we got.  We use all the common list separators.
7005       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7006       for pkg in $enableval; do
7007         IFS="$lt_save_ifs"
7008         if test "X$pkg" = "X$p"; then
7009           enable_shared=yes
7010         fi
7011       done
7012       IFS="$lt_save_ifs"
7013       ;;
7014     esac
7015 else
7016   enable_shared=yes
7017 fi
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029 # Check whether --with-pic was given.
7030 if test "${with_pic+set}" = set; then :
7031   withval=$with_pic; pic_mode="$withval"
7032 else
7033   pic_mode=default
7034 fi
7035
7036
7037 test -z "$pic_mode" && pic_mode=default
7038
7039
7040
7041
7042
7043
7044
7045   # Check whether --enable-fast-install was given.
7046 if test "${enable_fast_install+set}" = set; then :
7047   enableval=$enable_fast_install; p=${PACKAGE-default}
7048     case $enableval in
7049     yes) enable_fast_install=yes ;;
7050     no) enable_fast_install=no ;;
7051     *)
7052       enable_fast_install=no
7053       # Look at the argument we got.  We use all the common list separators.
7054       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7055       for pkg in $enableval; do
7056         IFS="$lt_save_ifs"
7057         if test "X$pkg" = "X$p"; then
7058           enable_fast_install=yes
7059         fi
7060       done
7061       IFS="$lt_save_ifs"
7062       ;;
7063     esac
7064 else
7065   enable_fast_install=yes
7066 fi
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078 # This can be used to rebuild libtool when needed
7079 LIBTOOL_DEPS="$ltmain"
7080
7081 # Always use our own libtool.
7082 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108 test -z "$LN_S" && LN_S="ln -s"
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123 if test -n "${ZSH_VERSION+set}" ; then
7124    setopt NO_GLOB_SUBST
7125 fi
7126
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7128 $as_echo_n "checking for objdir... " >&6; }
7129 if test "${lt_cv_objdir+set}" = set; then :
7130   $as_echo_n "(cached) " >&6
7131 else
7132   rm -f .libs 2>/dev/null
7133 mkdir .libs 2>/dev/null
7134 if test -d .libs; then
7135   lt_cv_objdir=.libs
7136 else
7137   # MS-DOS does not allow filenames that begin with a dot.
7138   lt_cv_objdir=_libs
7139 fi
7140 rmdir .libs 2>/dev/null
7141 fi
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7143 $as_echo "$lt_cv_objdir" >&6; }
7144 objdir=$lt_cv_objdir
7145
7146
7147
7148
7149
7150 cat >>confdefs.h <<_ACEOF
7151 #define LT_OBJDIR "$lt_cv_objdir/"
7152 _ACEOF
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170 case $host_os in
7171 aix3*)
7172   # AIX sometimes has problems with the GCC collect2 program.  For some
7173   # reason, if we set the COLLECT_NAMES environment variable, the problems
7174   # vanish in a puff of smoke.
7175   if test "X${COLLECT_NAMES+set}" != Xset; then
7176     COLLECT_NAMES=
7177     export COLLECT_NAMES
7178   fi
7179   ;;
7180 esac
7181
7182 # Sed substitution that helps us do robust quoting.  It backslashifies
7183 # metacharacters that are still active within double-quoted strings.
7184 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7185
7186 # Same as above, but do not quote variable references.
7187 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7188
7189 # Sed substitution to delay expansion of an escaped shell variable in a
7190 # double_quote_subst'ed string.
7191 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7192
7193 # Sed substitution to delay expansion of an escaped single quote.
7194 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7195
7196 # Sed substitution to avoid accidental globbing in evaled expressions
7197 no_glob_subst='s/\*/\\\*/g'
7198
7199 # Global variables:
7200 ofile=libtool
7201 can_build_shared=yes
7202
7203 # All known linkers require a `.a' archive for static linking (except MSVC,
7204 # which needs '.lib').
7205 libext=a
7206
7207 with_gnu_ld="$lt_cv_prog_gnu_ld"
7208
7209 old_CC="$CC"
7210 old_CFLAGS="$CFLAGS"
7211
7212 # Set sane defaults for various variables
7213 test -z "$CC" && CC=cc
7214 test -z "$LTCC" && LTCC=$CC
7215 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7216 test -z "$LD" && LD=ld
7217 test -z "$ac_objext" && ac_objext=o
7218
7219 for cc_temp in $compiler""; do
7220   case $cc_temp in
7221     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7222     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7223     \-*) ;;
7224     *) break;;
7225   esac
7226 done
7227 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7228
7229
7230 # Only perform the check for file, if the check method requires it
7231 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7232 case $deplibs_check_method in
7233 file_magic*)
7234   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7235     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7236 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7237 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7238   $as_echo_n "(cached) " >&6
7239 else
7240   case $MAGIC_CMD in
7241 [\\/*] |  ?:[\\/]*)
7242   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7243   ;;
7244 *)
7245   lt_save_MAGIC_CMD="$MAGIC_CMD"
7246   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7247   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7248   for ac_dir in $ac_dummy; do
7249     IFS="$lt_save_ifs"
7250     test -z "$ac_dir" && ac_dir=.
7251     if test -f $ac_dir/${ac_tool_prefix}file; then
7252       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7253       if test -n "$file_magic_test_file"; then
7254         case $deplibs_check_method in
7255         "file_magic "*)
7256           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7257           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7258           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7259             $EGREP "$file_magic_regex" > /dev/null; then
7260             :
7261           else
7262             cat <<_LT_EOF 1>&2
7263
7264 *** Warning: the command libtool uses to detect shared libraries,
7265 *** $file_magic_cmd, produces output that libtool cannot recognize.
7266 *** The result is that libtool may fail to recognize shared libraries
7267 *** as such.  This will affect the creation of libtool libraries that
7268 *** depend on shared libraries, but programs linked with such libtool
7269 *** libraries will work regardless of this problem.  Nevertheless, you
7270 *** may want to report the problem to your system manager and/or to
7271 *** bug-libtool@gnu.org
7272
7273 _LT_EOF
7274           fi ;;
7275         esac
7276       fi
7277       break
7278     fi
7279   done
7280   IFS="$lt_save_ifs"
7281   MAGIC_CMD="$lt_save_MAGIC_CMD"
7282   ;;
7283 esac
7284 fi
7285
7286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7287 if test -n "$MAGIC_CMD"; then
7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7289 $as_echo "$MAGIC_CMD" >&6; }
7290 else
7291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7293 fi
7294
7295
7296
7297
7298
7299 if test -z "$lt_cv_path_MAGIC_CMD"; then
7300   if test -n "$ac_tool_prefix"; then
7301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7302 $as_echo_n "checking for file... " >&6; }
7303 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7304   $as_echo_n "(cached) " >&6
7305 else
7306   case $MAGIC_CMD in
7307 [\\/*] |  ?:[\\/]*)
7308   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7309   ;;
7310 *)
7311   lt_save_MAGIC_CMD="$MAGIC_CMD"
7312   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7313   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7314   for ac_dir in $ac_dummy; do
7315     IFS="$lt_save_ifs"
7316     test -z "$ac_dir" && ac_dir=.
7317     if test -f $ac_dir/file; then
7318       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7319       if test -n "$file_magic_test_file"; then
7320         case $deplibs_check_method in
7321         "file_magic "*)
7322           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7323           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7324           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7325             $EGREP "$file_magic_regex" > /dev/null; then
7326             :
7327           else
7328             cat <<_LT_EOF 1>&2
7329
7330 *** Warning: the command libtool uses to detect shared libraries,
7331 *** $file_magic_cmd, produces output that libtool cannot recognize.
7332 *** The result is that libtool may fail to recognize shared libraries
7333 *** as such.  This will affect the creation of libtool libraries that
7334 *** depend on shared libraries, but programs linked with such libtool
7335 *** libraries will work regardless of this problem.  Nevertheless, you
7336 *** may want to report the problem to your system manager and/or to
7337 *** bug-libtool@gnu.org
7338
7339 _LT_EOF
7340           fi ;;
7341         esac
7342       fi
7343       break
7344     fi
7345   done
7346   IFS="$lt_save_ifs"
7347   MAGIC_CMD="$lt_save_MAGIC_CMD"
7348   ;;
7349 esac
7350 fi
7351
7352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7353 if test -n "$MAGIC_CMD"; then
7354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7355 $as_echo "$MAGIC_CMD" >&6; }
7356 else
7357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7359 fi
7360
7361
7362   else
7363     MAGIC_CMD=:
7364   fi
7365 fi
7366
7367   fi
7368   ;;
7369 esac
7370
7371 # Use C for the default configuration in the libtool script
7372
7373 lt_save_CC="$CC"
7374 ac_ext=c
7375 ac_cpp='$CPP $CPPFLAGS'
7376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7379
7380
7381 # Source file extension for C test sources.
7382 ac_ext=c
7383
7384 # Object file extension for compiled C test sources.
7385 objext=o
7386 objext=$objext
7387
7388 # Code to be used in simple compile tests
7389 lt_simple_compile_test_code="int some_variable = 0;"
7390
7391 # Code to be used in simple link tests
7392 lt_simple_link_test_code='int main(){return(0);}'
7393
7394
7395
7396
7397
7398
7399
7400 # If no C compiler was specified, use CC.
7401 LTCC=${LTCC-"$CC"}
7402
7403 # If no C compiler flags were specified, use CFLAGS.
7404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7405
7406 # Allow CC to be a program name with arguments.
7407 compiler=$CC
7408
7409 # Save the default compiler, since it gets overwritten when the other
7410 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7411 compiler_DEFAULT=$CC
7412
7413 # save warnings/boilerplate of simple test code
7414 ac_outfile=conftest.$ac_objext
7415 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7417 _lt_compiler_boilerplate=`cat conftest.err`
7418 $RM conftest*
7419
7420 ac_outfile=conftest.$ac_objext
7421 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7423 _lt_linker_boilerplate=`cat conftest.err`
7424 $RM -r conftest*
7425
7426
7427 if test -n "$compiler"; then
7428
7429 lt_prog_compiler_no_builtin_flag=
7430
7431 if test "$GCC" = yes; then
7432   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7433
7434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7435 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7436 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7437   $as_echo_n "(cached) " >&6
7438 else
7439   lt_cv_prog_compiler_rtti_exceptions=no
7440    ac_outfile=conftest.$ac_objext
7441    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7442    lt_compiler_flag="-fno-rtti -fno-exceptions"
7443    # Insert the option either (1) after the last *FLAGS variable, or
7444    # (2) before a word containing "conftest.", or (3) at the end.
7445    # Note that $ac_compile itself does not contain backslashes and begins
7446    # with a dollar sign (not a hyphen), so the echo should work correctly.
7447    # The option is referenced via a variable to avoid confusing sed.
7448    lt_compile=`echo "$ac_compile" | $SED \
7449    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7450    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7451    -e 's:$: $lt_compiler_flag:'`
7452    (eval echo "\"\$as_me:7452: $lt_compile\"" >&5)
7453    (eval "$lt_compile" 2>conftest.err)
7454    ac_status=$?
7455    cat conftest.err >&5
7456    echo "$as_me:7456: \$? = $ac_status" >&5
7457    if (exit $ac_status) && test -s "$ac_outfile"; then
7458      # The compiler can only warn and ignore the option if not recognized
7459      # So say no if there are warnings other than the usual output.
7460      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7461      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7462      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7463        lt_cv_prog_compiler_rtti_exceptions=yes
7464      fi
7465    fi
7466    $RM conftest*
7467
7468 fi
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7470 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7471
7472 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7473     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7474 else
7475     :
7476 fi
7477
7478 fi
7479
7480
7481
7482
7483
7484
7485   lt_prog_compiler_wl=
7486 lt_prog_compiler_pic=
7487 lt_prog_compiler_static=
7488
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7490 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7491
7492   if test "$GCC" = yes; then
7493     lt_prog_compiler_wl='-Wl,'
7494     lt_prog_compiler_static='-static'
7495
7496     case $host_os in
7497       aix*)
7498       # All AIX code is PIC.
7499       if test "$host_cpu" = ia64; then
7500         # AIX 5 now supports IA64 processor
7501         lt_prog_compiler_static='-Bstatic'
7502       fi
7503       ;;
7504
7505     amigaos*)
7506       case $host_cpu in
7507       powerpc)
7508             # see comment about AmigaOS4 .so support
7509             lt_prog_compiler_pic='-fPIC'
7510         ;;
7511       m68k)
7512             # FIXME: we need at least 68020 code to build shared libraries, but
7513             # adding the `-m68020' flag to GCC prevents building anything better,
7514             # like `-m68040'.
7515             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7516         ;;
7517       esac
7518       ;;
7519
7520     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7521       # PIC is the default for these OSes.
7522       ;;
7523
7524     mingw* | cygwin* | pw32* | os2* | cegcc*)
7525       # This hack is so that the source file can tell whether it is being
7526       # built for inclusion in a dll (and should export symbols for example).
7527       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7528       # (--disable-auto-import) libraries
7529       lt_prog_compiler_pic='-DDLL_EXPORT'
7530       ;;
7531
7532     darwin* | rhapsody*)
7533       # PIC is the default on this platform
7534       # Common symbols not allowed in MH_DYLIB files
7535       lt_prog_compiler_pic='-fno-common'
7536       ;;
7537
7538     hpux*)
7539       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7540       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7541       # sets the default TLS model and affects inlining.
7542       case $host_cpu in
7543       hppa*64*)
7544         # +Z the default
7545         ;;
7546       *)
7547         lt_prog_compiler_pic='-fPIC'
7548         ;;
7549       esac
7550       ;;
7551
7552     interix[3-9]*)
7553       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7554       # Instead, we relocate shared libraries at runtime.
7555       ;;
7556
7557     msdosdjgpp*)
7558       # Just because we use GCC doesn't mean we suddenly get shared libraries
7559       # on systems that don't support them.
7560       lt_prog_compiler_can_build_shared=no
7561       enable_shared=no
7562       ;;
7563
7564     *nto* | *qnx*)
7565       # QNX uses GNU C++, but need to define -shared option too, otherwise
7566       # it will coredump.
7567       lt_prog_compiler_pic='-fPIC -shared'
7568       ;;
7569
7570     sysv4*MP*)
7571       if test -d /usr/nec; then
7572         lt_prog_compiler_pic=-Kconform_pic
7573       fi
7574       ;;
7575
7576     *)
7577       lt_prog_compiler_pic='-fPIC'
7578       ;;
7579     esac
7580   else
7581     # PORTME Check for flag to pass linker flags through the system compiler.
7582     case $host_os in
7583     aix*)
7584       lt_prog_compiler_wl='-Wl,'
7585       if test "$host_cpu" = ia64; then
7586         # AIX 5 now supports IA64 processor
7587         lt_prog_compiler_static='-Bstatic'
7588       else
7589         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7590       fi
7591       ;;
7592
7593     mingw* | cygwin* | pw32* | os2* | cegcc*)
7594       # This hack is so that the source file can tell whether it is being
7595       # built for inclusion in a dll (and should export symbols for example).
7596       lt_prog_compiler_pic='-DDLL_EXPORT'
7597       ;;
7598
7599     hpux9* | hpux10* | hpux11*)
7600       lt_prog_compiler_wl='-Wl,'
7601       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7602       # not for PA HP-UX.
7603       case $host_cpu in
7604       hppa*64*|ia64*)
7605         # +Z the default
7606         ;;
7607       *)
7608         lt_prog_compiler_pic='+Z'
7609         ;;
7610       esac
7611       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7612       lt_prog_compiler_static='${wl}-a ${wl}archive'
7613       ;;
7614
7615     irix5* | irix6* | nonstopux*)
7616       lt_prog_compiler_wl='-Wl,'
7617       # PIC (with -KPIC) is the default.
7618       lt_prog_compiler_static='-non_shared'
7619       ;;
7620
7621     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7622       case $cc_basename in
7623       # old Intel for x86_64 which still supported -KPIC.
7624       ecc*)
7625         lt_prog_compiler_wl='-Wl,'
7626         lt_prog_compiler_pic='-KPIC'
7627         lt_prog_compiler_static='-static'
7628         ;;
7629       # icc used to be incompatible with GCC.
7630       # ICC 10 doesn't accept -KPIC any more.
7631       icc* | ifort*)
7632         lt_prog_compiler_wl='-Wl,'
7633         lt_prog_compiler_pic='-fPIC'
7634         lt_prog_compiler_static='-static'
7635         ;;
7636       # Lahey Fortran 8.1.
7637       lf95*)
7638         lt_prog_compiler_wl='-Wl,'
7639         lt_prog_compiler_pic='--shared'
7640         lt_prog_compiler_static='--static'
7641         ;;
7642       pgcc* | pgf77* | pgf90* | pgf95*)
7643         # Portland Group compilers (*not* the Pentium gcc compiler,
7644         # which looks to be a dead project)
7645         lt_prog_compiler_wl='-Wl,'
7646         lt_prog_compiler_pic='-fpic'
7647         lt_prog_compiler_static='-Bstatic'
7648         ;;
7649       ccc*)
7650         lt_prog_compiler_wl='-Wl,'
7651         # All Alpha code is PIC.
7652         lt_prog_compiler_static='-non_shared'
7653         ;;
7654       xl*)
7655         # IBM XL C 8.0/Fortran 10.1 on PPC
7656         lt_prog_compiler_wl='-Wl,'
7657         lt_prog_compiler_pic='-qpic'
7658         lt_prog_compiler_static='-qstaticlink'
7659         ;;
7660       *)
7661         case `$CC -V 2>&1 | sed 5q` in
7662         *Sun\ C*)
7663           # Sun C 5.9
7664           lt_prog_compiler_pic='-KPIC'
7665           lt_prog_compiler_static='-Bstatic'
7666           lt_prog_compiler_wl='-Wl,'
7667           ;;
7668         *Sun\ F*)
7669           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7670           lt_prog_compiler_pic='-KPIC'
7671           lt_prog_compiler_static='-Bstatic'
7672           lt_prog_compiler_wl=''
7673           ;;
7674         esac
7675         ;;
7676       esac
7677       ;;
7678
7679     newsos6)
7680       lt_prog_compiler_pic='-KPIC'
7681       lt_prog_compiler_static='-Bstatic'
7682       ;;
7683
7684     *nto* | *qnx*)
7685       # QNX uses GNU C++, but need to define -shared option too, otherwise
7686       # it will coredump.
7687       lt_prog_compiler_pic='-fPIC -shared'
7688       ;;
7689
7690     osf3* | osf4* | osf5*)
7691       lt_prog_compiler_wl='-Wl,'
7692       # All OSF/1 code is PIC.
7693       lt_prog_compiler_static='-non_shared'
7694       ;;
7695
7696     rdos*)
7697       lt_prog_compiler_static='-non_shared'
7698       ;;
7699
7700     solaris*)
7701       lt_prog_compiler_pic='-KPIC'
7702       lt_prog_compiler_static='-Bstatic'
7703       case $cc_basename in
7704       f77* | f90* | f95*)
7705         lt_prog_compiler_wl='-Qoption ld ';;
7706       *)
7707         lt_prog_compiler_wl='-Wl,';;
7708       esac
7709       ;;
7710
7711     sunos4*)
7712       lt_prog_compiler_wl='-Qoption ld '
7713       lt_prog_compiler_pic='-PIC'
7714       lt_prog_compiler_static='-Bstatic'
7715       ;;
7716
7717     sysv4 | sysv4.2uw2* | sysv4.3*)
7718       lt_prog_compiler_wl='-Wl,'
7719       lt_prog_compiler_pic='-KPIC'
7720       lt_prog_compiler_static='-Bstatic'
7721       ;;
7722
7723     sysv4*MP*)
7724       if test -d /usr/nec ;then
7725         lt_prog_compiler_pic='-Kconform_pic'
7726         lt_prog_compiler_static='-Bstatic'
7727       fi
7728       ;;
7729
7730     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7731       lt_prog_compiler_wl='-Wl,'
7732       lt_prog_compiler_pic='-KPIC'
7733       lt_prog_compiler_static='-Bstatic'
7734       ;;
7735
7736     unicos*)
7737       lt_prog_compiler_wl='-Wl,'
7738       lt_prog_compiler_can_build_shared=no
7739       ;;
7740
7741     uts4*)
7742       lt_prog_compiler_pic='-pic'
7743       lt_prog_compiler_static='-Bstatic'
7744       ;;
7745
7746     *)
7747       lt_prog_compiler_can_build_shared=no
7748       ;;
7749     esac
7750   fi
7751
7752 case $host_os in
7753   # For platforms which do not support PIC, -DPIC is meaningless:
7754   *djgpp*)
7755     lt_prog_compiler_pic=
7756     ;;
7757   *)
7758     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7759     ;;
7760 esac
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7762 $as_echo "$lt_prog_compiler_pic" >&6; }
7763
7764
7765
7766
7767
7768
7769 #
7770 # Check to make sure the PIC flag actually works.
7771 #
7772 if test -n "$lt_prog_compiler_pic"; then
7773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7774 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7775 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7776   $as_echo_n "(cached) " >&6
7777 else
7778   lt_cv_prog_compiler_pic_works=no
7779    ac_outfile=conftest.$ac_objext
7780    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7781    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7782    # Insert the option either (1) after the last *FLAGS variable, or
7783    # (2) before a word containing "conftest.", or (3) at the end.
7784    # Note that $ac_compile itself does not contain backslashes and begins
7785    # with a dollar sign (not a hyphen), so the echo should work correctly.
7786    # The option is referenced via a variable to avoid confusing sed.
7787    lt_compile=`echo "$ac_compile" | $SED \
7788    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7789    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7790    -e 's:$: $lt_compiler_flag:'`
7791    (eval echo "\"\$as_me:7791: $lt_compile\"" >&5)
7792    (eval "$lt_compile" 2>conftest.err)
7793    ac_status=$?
7794    cat conftest.err >&5
7795    echo "$as_me:7795: \$? = $ac_status" >&5
7796    if (exit $ac_status) && test -s "$ac_outfile"; then
7797      # The compiler can only warn and ignore the option if not recognized
7798      # So say no if there are warnings other than the usual output.
7799      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7800      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7801      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7802        lt_cv_prog_compiler_pic_works=yes
7803      fi
7804    fi
7805    $RM conftest*
7806
7807 fi
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7809 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7810
7811 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7812     case $lt_prog_compiler_pic in
7813      "" | " "*) ;;
7814      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7815      esac
7816 else
7817     lt_prog_compiler_pic=
7818      lt_prog_compiler_can_build_shared=no
7819 fi
7820
7821 fi
7822
7823
7824
7825
7826
7827
7828 #
7829 # Check to make sure the static flag actually works.
7830 #
7831 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7833 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7834 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7835   $as_echo_n "(cached) " >&6
7836 else
7837   lt_cv_prog_compiler_static_works=no
7838    save_LDFLAGS="$LDFLAGS"
7839    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7840    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7841    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7842      # The linker can only warn and ignore the option if not recognized
7843      # So say no if there are warnings
7844      if test -s conftest.err; then
7845        # Append any errors to the config.log.
7846        cat conftest.err 1>&5
7847        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7848        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7849        if diff conftest.exp conftest.er2 >/dev/null; then
7850          lt_cv_prog_compiler_static_works=yes
7851        fi
7852      else
7853        lt_cv_prog_compiler_static_works=yes
7854      fi
7855    fi
7856    $RM -r conftest*
7857    LDFLAGS="$save_LDFLAGS"
7858
7859 fi
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7861 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7862
7863 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7864     :
7865 else
7866     lt_prog_compiler_static=
7867 fi
7868
7869
7870
7871
7872
7873
7874
7875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7876 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7877 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7878   $as_echo_n "(cached) " >&6
7879 else
7880   lt_cv_prog_compiler_c_o=no
7881    $RM -r conftest 2>/dev/null
7882    mkdir conftest
7883    cd conftest
7884    mkdir out
7885    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7886
7887    lt_compiler_flag="-o out/conftest2.$ac_objext"
7888    # Insert the option either (1) after the last *FLAGS variable, or
7889    # (2) before a word containing "conftest.", or (3) at the end.
7890    # Note that $ac_compile itself does not contain backslashes and begins
7891    # with a dollar sign (not a hyphen), so the echo should work correctly.
7892    lt_compile=`echo "$ac_compile" | $SED \
7893    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7894    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7895    -e 's:$: $lt_compiler_flag:'`
7896    (eval echo "\"\$as_me:7896: $lt_compile\"" >&5)
7897    (eval "$lt_compile" 2>out/conftest.err)
7898    ac_status=$?
7899    cat out/conftest.err >&5
7900    echo "$as_me:7900: \$? = $ac_status" >&5
7901    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7902    then
7903      # The compiler can only warn and ignore the option if not recognized
7904      # So say no if there are warnings
7905      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7906      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7907      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7908        lt_cv_prog_compiler_c_o=yes
7909      fi
7910    fi
7911    chmod u+w . 2>&5
7912    $RM conftest*
7913    # SGI C++ compiler will create directory out/ii_files/ for
7914    # template instantiation
7915    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7916    $RM out/* && rmdir out
7917    cd ..
7918    $RM -r conftest
7919    $RM conftest*
7920
7921 fi
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7923 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7924
7925
7926
7927
7928
7929
7930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7931 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7932 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7933   $as_echo_n "(cached) " >&6
7934 else
7935   lt_cv_prog_compiler_c_o=no
7936    $RM -r conftest 2>/dev/null
7937    mkdir conftest
7938    cd conftest
7939    mkdir out
7940    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7941
7942    lt_compiler_flag="-o out/conftest2.$ac_objext"
7943    # Insert the option either (1) after the last *FLAGS variable, or
7944    # (2) before a word containing "conftest.", or (3) at the end.
7945    # Note that $ac_compile itself does not contain backslashes and begins
7946    # with a dollar sign (not a hyphen), so the echo should work correctly.
7947    lt_compile=`echo "$ac_compile" | $SED \
7948    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7949    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7950    -e 's:$: $lt_compiler_flag:'`
7951    (eval echo "\"\$as_me:7951: $lt_compile\"" >&5)
7952    (eval "$lt_compile" 2>out/conftest.err)
7953    ac_status=$?
7954    cat out/conftest.err >&5
7955    echo "$as_me:7955: \$? = $ac_status" >&5
7956    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7957    then
7958      # The compiler can only warn and ignore the option if not recognized
7959      # So say no if there are warnings
7960      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7961      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7962      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7963        lt_cv_prog_compiler_c_o=yes
7964      fi
7965    fi
7966    chmod u+w . 2>&5
7967    $RM conftest*
7968    # SGI C++ compiler will create directory out/ii_files/ for
7969    # template instantiation
7970    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7971    $RM out/* && rmdir out
7972    cd ..
7973    $RM -r conftest
7974    $RM conftest*
7975
7976 fi
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7978 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7979
7980
7981
7982
7983 hard_links="nottested"
7984 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7985   # do not overwrite the value of need_locks provided by the user
7986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7987 $as_echo_n "checking if we can lock with hard links... " >&6; }
7988   hard_links=yes
7989   $RM conftest*
7990   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7991   touch conftest.a
7992   ln conftest.a conftest.b 2>&5 || hard_links=no
7993   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7995 $as_echo "$hard_links" >&6; }
7996   if test "$hard_links" = no; then
7997     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7998 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7999     need_locks=warn
8000   fi
8001 else
8002   need_locks=no
8003 fi
8004
8005
8006
8007
8008
8009
8010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8011 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8012
8013   runpath_var=
8014   allow_undefined_flag=
8015   always_export_symbols=no
8016   archive_cmds=
8017   archive_expsym_cmds=
8018   compiler_needs_object=no
8019   enable_shared_with_static_runtimes=no
8020   export_dynamic_flag_spec=
8021   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8022   hardcode_automatic=no
8023   hardcode_direct=no
8024   hardcode_direct_absolute=no
8025   hardcode_libdir_flag_spec=
8026   hardcode_libdir_flag_spec_ld=
8027   hardcode_libdir_separator=
8028   hardcode_minus_L=no
8029   hardcode_shlibpath_var=unsupported
8030   inherit_rpath=no
8031   link_all_deplibs=unknown
8032   module_cmds=
8033   module_expsym_cmds=
8034   old_archive_from_new_cmds=
8035   old_archive_from_expsyms_cmds=
8036   thread_safe_flag_spec=
8037   whole_archive_flag_spec=
8038   # include_expsyms should be a list of space-separated symbols to be *always*
8039   # included in the symbol list
8040   include_expsyms=
8041   # exclude_expsyms can be an extended regexp of symbols to exclude
8042   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8043   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8044   # as well as any symbol that contains `d'.
8045   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8046   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8047   # platforms (ab)use it in PIC code, but their linkers get confused if
8048   # the symbol is explicitly referenced.  Since portable code cannot
8049   # rely on this symbol name, it's probably fine to never include it in
8050   # preloaded symbol tables.
8051   # Exclude shared library initialization/finalization symbols.
8052   extract_expsyms_cmds=
8053
8054   case $host_os in
8055   cygwin* | mingw* | pw32* | cegcc*)
8056     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8057     # When not using gcc, we currently assume that we are using
8058     # Microsoft Visual C++.
8059     if test "$GCC" != yes; then
8060       with_gnu_ld=no
8061     fi
8062     ;;
8063   interix*)
8064     # we just hope/assume this is gcc and not c89 (= MSVC++)
8065     with_gnu_ld=yes
8066     ;;
8067   openbsd*)
8068     with_gnu_ld=no
8069     ;;
8070   linux* | k*bsd*-gnu)
8071     link_all_deplibs=no
8072     ;;
8073   esac
8074
8075   ld_shlibs=yes
8076   if test "$with_gnu_ld" = yes; then
8077     # If archive_cmds runs LD, not CC, wlarc should be empty
8078     wlarc='${wl}'
8079
8080     # Set some defaults for GNU ld with shared library support. These
8081     # are reset later if shared libraries are not supported. Putting them
8082     # here allows them to be overridden if necessary.
8083     runpath_var=LD_RUN_PATH
8084     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8085     export_dynamic_flag_spec='${wl}--export-dynamic'
8086     # ancient GNU ld didn't support --whole-archive et. al.
8087     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8088       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8089     else
8090       whole_archive_flag_spec=
8091     fi
8092     supports_anon_versioning=no
8093     case `$LD -v 2>&1` in
8094       *GNU\ gold*) supports_anon_versioning=yes ;;
8095       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8096       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8097       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8098       *\ 2.11.*) ;; # other 2.11 versions
8099       *) supports_anon_versioning=yes ;;
8100     esac
8101
8102     # See if GNU ld supports shared libraries.
8103     case $host_os in
8104     aix[3-9]*)
8105       # On AIX/PPC, the GNU linker is very broken
8106       if test "$host_cpu" != ia64; then
8107         ld_shlibs=no
8108         cat <<_LT_EOF 1>&2
8109
8110 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8111 *** to be unable to reliably create shared libraries on AIX.
8112 *** Therefore, libtool is disabling shared libraries support.  If you
8113 *** really care for shared libraries, you may want to modify your PATH
8114 *** so that a non-GNU linker is found, and then restart.
8115
8116 _LT_EOF
8117       fi
8118       ;;
8119
8120     amigaos*)
8121       case $host_cpu in
8122       powerpc)
8123             # see comment about AmigaOS4 .so support
8124             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8125             archive_expsym_cmds=''
8126         ;;
8127       m68k)
8128             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)'
8129             hardcode_libdir_flag_spec='-L$libdir'
8130             hardcode_minus_L=yes
8131         ;;
8132       esac
8133       ;;
8134
8135     beos*)
8136       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8137         allow_undefined_flag=unsupported
8138         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8139         # support --undefined.  This deserves some investigation.  FIXME
8140         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8141       else
8142         ld_shlibs=no
8143       fi
8144       ;;
8145
8146     cygwin* | mingw* | pw32* | cegcc*)
8147       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8148       # as there is no search path for DLLs.
8149       hardcode_libdir_flag_spec='-L$libdir'
8150       allow_undefined_flag=unsupported
8151       always_export_symbols=no
8152       enable_shared_with_static_runtimes=yes
8153       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8154
8155       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8156         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8157         # If the export-symbols file already is a .def file (1st line
8158         # is EXPORTS), use it as is; otherwise, prepend...
8159         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8160           cp $export_symbols $output_objdir/$soname.def;
8161         else
8162           echo EXPORTS > $output_objdir/$soname.def;
8163           cat $export_symbols >> $output_objdir/$soname.def;
8164         fi~
8165         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8166       else
8167         ld_shlibs=no
8168       fi
8169       ;;
8170
8171     interix[3-9]*)
8172       hardcode_direct=no
8173       hardcode_shlibpath_var=no
8174       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8175       export_dynamic_flag_spec='${wl}-E'
8176       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8177       # Instead, shared libraries are loaded at an image base (0x10000000 by
8178       # default) and relocated if they conflict, which is a slow very memory
8179       # consuming and fragmenting process.  To avoid this, we pick a random,
8180       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8181       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8182       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8183       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'
8184       ;;
8185
8186     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8187       tmp_diet=no
8188       if test "$host_os" = linux-dietlibc; then
8189         case $cc_basename in
8190           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8191         esac
8192       fi
8193       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8194          && test "$tmp_diet" = no
8195       then
8196         tmp_addflag=
8197         tmp_sharedflag='-shared'
8198         case $cc_basename,$host_cpu in
8199         pgcc*)                          # Portland Group C compiler
8200           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8201           tmp_addflag=' $pic_flag'
8202           ;;
8203         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8204           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8205           tmp_addflag=' $pic_flag -Mnomain' ;;
8206         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8207           tmp_addflag=' -i_dynamic' ;;
8208         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8209           tmp_addflag=' -i_dynamic -nofor_main' ;;
8210         ifc* | ifort*)                  # Intel Fortran compiler
8211           tmp_addflag=' -nofor_main' ;;
8212         lf95*)                          # Lahey Fortran 8.1
8213           whole_archive_flag_spec=
8214           tmp_sharedflag='--shared' ;;
8215         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8216           tmp_sharedflag='-qmkshrobj'
8217           tmp_addflag= ;;
8218         esac
8219         case `$CC -V 2>&1 | sed 5q` in
8220         *Sun\ C*)                       # Sun C 5.9
8221           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8222           compiler_needs_object=yes
8223           tmp_sharedflag='-G' ;;
8224         *Sun\ F*)                       # Sun Fortran 8.3
8225           tmp_sharedflag='-G' ;;
8226         esac
8227         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8228
8229         if test "x$supports_anon_versioning" = xyes; then
8230           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8231             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8232             echo "local: *; };" >> $output_objdir/$libname.ver~
8233             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8234         fi
8235
8236         case $cc_basename in
8237         xlf*)
8238           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8239           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8240           hardcode_libdir_flag_spec=
8241           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8242           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8243           if test "x$supports_anon_versioning" = xyes; then
8244             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8245               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8246               echo "local: *; };" >> $output_objdir/$libname.ver~
8247               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8248           fi
8249           ;;
8250         esac
8251       else
8252         ld_shlibs=no
8253       fi
8254       ;;
8255
8256     netbsd* | netbsdelf*-gnu)
8257       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8258         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8259         wlarc=
8260       else
8261         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8262         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8263       fi
8264       ;;
8265
8266     solaris*)
8267       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8268         ld_shlibs=no
8269         cat <<_LT_EOF 1>&2
8270
8271 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8272 *** create shared libraries on Solaris systems.  Therefore, libtool
8273 *** is disabling shared libraries support.  We urge you to upgrade GNU
8274 *** binutils to release 2.9.1 or newer.  Another option is to modify
8275 *** your PATH or compiler configuration so that the native linker is
8276 *** used, and then restart.
8277
8278 _LT_EOF
8279       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8280         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8281         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8282       else
8283         ld_shlibs=no
8284       fi
8285       ;;
8286
8287     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8288       case `$LD -v 2>&1` in
8289         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8290         ld_shlibs=no
8291         cat <<_LT_EOF 1>&2
8292
8293 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8294 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8295 *** is disabling shared libraries support.  We urge you to upgrade GNU
8296 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8297 *** your PATH or compiler configuration so that the native linker is
8298 *** used, and then restart.
8299
8300 _LT_EOF
8301         ;;
8302         *)
8303           # For security reasons, it is highly recommended that you always
8304           # use absolute paths for naming shared libraries, and exclude the
8305           # DT_RUNPATH tag from executables and libraries.  But doing so
8306           # requires that you compile everything twice, which is a pain.
8307           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8308             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8309             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8310             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8311           else
8312             ld_shlibs=no
8313           fi
8314         ;;
8315       esac
8316       ;;
8317
8318     sunos4*)
8319       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8320       wlarc=
8321       hardcode_direct=yes
8322       hardcode_shlibpath_var=no
8323       ;;
8324
8325     *)
8326       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8327         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8329       else
8330         ld_shlibs=no
8331       fi
8332       ;;
8333     esac
8334
8335     if test "$ld_shlibs" = no; then
8336       runpath_var=
8337       hardcode_libdir_flag_spec=
8338       export_dynamic_flag_spec=
8339       whole_archive_flag_spec=
8340     fi
8341   else
8342     # PORTME fill in a description of your system's linker (not GNU ld)
8343     case $host_os in
8344     aix3*)
8345       allow_undefined_flag=unsupported
8346       always_export_symbols=yes
8347       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'
8348       # Note: this linker hardcodes the directories in LIBPATH if there
8349       # are no directories specified by -L.
8350       hardcode_minus_L=yes
8351       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8352         # Neither direct hardcoding nor static linking is supported with a
8353         # broken collect2.
8354         hardcode_direct=unsupported
8355       fi
8356       ;;
8357
8358     aix[4-9]*)
8359       if test "$host_cpu" = ia64; then
8360         # On IA64, the linker does run time linking by default, so we don't
8361         # have to do anything special.
8362         aix_use_runtimelinking=no
8363         exp_sym_flag='-Bexport'
8364         no_entry_flag=""
8365       else
8366         # If we're using GNU nm, then we don't want the "-C" option.
8367         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8368         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8369           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8370         else
8371           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'
8372         fi
8373         aix_use_runtimelinking=no
8374
8375         # Test if we are trying to use run time linking or normal
8376         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8377         # need to do runtime linking.
8378         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8379           for ld_flag in $LDFLAGS; do
8380           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8381             aix_use_runtimelinking=yes
8382             break
8383           fi
8384           done
8385           ;;
8386         esac
8387
8388         exp_sym_flag='-bexport'
8389         no_entry_flag='-bnoentry'
8390       fi
8391
8392       # When large executables or shared objects are built, AIX ld can
8393       # have problems creating the table of contents.  If linking a library
8394       # or program results in "error TOC overflow" add -mminimal-toc to
8395       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8396       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8397
8398       archive_cmds=''
8399       hardcode_direct=yes
8400       hardcode_direct_absolute=yes
8401       hardcode_libdir_separator=':'
8402       link_all_deplibs=yes
8403       file_list_spec='${wl}-f,'
8404
8405       if test "$GCC" = yes; then
8406         case $host_os in aix4.[012]|aix4.[012].*)
8407         # We only want to do this on AIX 4.2 and lower, the check
8408         # below for broken collect2 doesn't work under 4.3+
8409           collect2name=`${CC} -print-prog-name=collect2`
8410           if test -f "$collect2name" &&
8411            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8412           then
8413           # We have reworked collect2
8414           :
8415           else
8416           # We have old collect2
8417           hardcode_direct=unsupported
8418           # It fails to find uninstalled libraries when the uninstalled
8419           # path is not listed in the libpath.  Setting hardcode_minus_L
8420           # to unsupported forces relinking
8421           hardcode_minus_L=yes
8422           hardcode_libdir_flag_spec='-L$libdir'
8423           hardcode_libdir_separator=
8424           fi
8425           ;;
8426         esac
8427         shared_flag='-shared'
8428         if test "$aix_use_runtimelinking" = yes; then
8429           shared_flag="$shared_flag "'${wl}-G'
8430         fi
8431         link_all_deplibs=no
8432       else
8433         # not using gcc
8434         if test "$host_cpu" = ia64; then
8435         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8436         # chokes on -Wl,-G. The following line is correct:
8437           shared_flag='-G'
8438         else
8439           if test "$aix_use_runtimelinking" = yes; then
8440             shared_flag='${wl}-G'
8441           else
8442             shared_flag='${wl}-bM:SRE'
8443           fi
8444         fi
8445       fi
8446
8447       export_dynamic_flag_spec='${wl}-bexpall'
8448       # It seems that -bexpall does not export symbols beginning with
8449       # underscore (_), so it is better to generate a list of symbols to export.
8450       always_export_symbols=yes
8451       if test "$aix_use_runtimelinking" = yes; then
8452         # Warning - without using the other runtime loading flags (-brtl),
8453         # -berok will link without error, but may produce a broken library.
8454         allow_undefined_flag='-berok'
8455         # Determine the default libpath from the value encoded in an
8456         # empty executable.
8457         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h.  */
8459
8460 int
8461 main ()
8462 {
8463
8464   ;
8465   return 0;
8466 }
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469
8470 lt_aix_libpath_sed='
8471     /Import File Strings/,/^$/ {
8472         /^0/ {
8473             s/^0  *\(.*\)$/\1/
8474             p
8475         }
8476     }'
8477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8478 # Check for a 64-bit object if we didn't find anything.
8479 if test -z "$aix_libpath"; then
8480   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8481 fi
8482 fi
8483 rm -f core conftest.err conftest.$ac_objext \
8484     conftest$ac_exeext conftest.$ac_ext
8485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8486
8487         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8488         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8489       else
8490         if test "$host_cpu" = ia64; then
8491           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8492           allow_undefined_flag="-z nodefs"
8493           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"
8494         else
8495          # Determine the default libpath from the value encoded in an
8496          # empty executable.
8497          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h.  */
8499
8500 int
8501 main ()
8502 {
8503
8504   ;
8505   return 0;
8506 }
8507 _ACEOF
8508 if ac_fn_c_try_link "$LINENO"; then :
8509
8510 lt_aix_libpath_sed='
8511     /Import File Strings/,/^$/ {
8512         /^0/ {
8513             s/^0  *\(.*\)$/\1/
8514             p
8515         }
8516     }'
8517 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8518 # Check for a 64-bit object if we didn't find anything.
8519 if test -z "$aix_libpath"; then
8520   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8521 fi
8522 fi
8523 rm -f core conftest.err conftest.$ac_objext \
8524     conftest$ac_exeext conftest.$ac_ext
8525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8526
8527          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8528           # Warning - without using the other run time loading flags,
8529           # -berok will link without error, but may produce a broken library.
8530           no_undefined_flag=' ${wl}-bernotok'
8531           allow_undefined_flag=' ${wl}-berok'
8532           # Exported symbols can be pulled into shared objects from archives
8533           whole_archive_flag_spec='$convenience'
8534           archive_cmds_need_lc=yes
8535           # This is similar to how AIX traditionally builds its shared libraries.
8536           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'
8537         fi
8538       fi
8539       ;;
8540
8541     amigaos*)
8542       case $host_cpu in
8543       powerpc)
8544             # see comment about AmigaOS4 .so support
8545             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8546             archive_expsym_cmds=''
8547         ;;
8548       m68k)
8549             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)'
8550             hardcode_libdir_flag_spec='-L$libdir'
8551             hardcode_minus_L=yes
8552         ;;
8553       esac
8554       ;;
8555
8556     bsdi[45]*)
8557       export_dynamic_flag_spec=-rdynamic
8558       ;;
8559
8560     cygwin* | mingw* | pw32* | cegcc*)
8561       # When not using gcc, we currently assume that we are using
8562       # Microsoft Visual C++.
8563       # hardcode_libdir_flag_spec is actually meaningless, as there is
8564       # no search path for DLLs.
8565       hardcode_libdir_flag_spec=' '
8566       allow_undefined_flag=unsupported
8567       # Tell ltmain to make .lib files, not .a files.
8568       libext=lib
8569       # Tell ltmain to make .dll files, not .so files.
8570       shrext_cmds=".dll"
8571       # FIXME: Setting linknames here is a bad hack.
8572       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8573       # The linker will automatically build a .lib file if we build a DLL.
8574       old_archive_from_new_cmds='true'
8575       # FIXME: Should let the user specify the lib program.
8576       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8577       fix_srcfile_path='`cygpath -w "$srcfile"`'
8578       enable_shared_with_static_runtimes=yes
8579       ;;
8580
8581     darwin* | rhapsody*)
8582
8583
8584   archive_cmds_need_lc=no
8585   hardcode_direct=no
8586   hardcode_automatic=yes
8587   hardcode_shlibpath_var=unsupported
8588   whole_archive_flag_spec=''
8589   link_all_deplibs=yes
8590   allow_undefined_flag="$_lt_dar_allow_undefined"
8591   case $cc_basename in
8592      ifort*) _lt_dar_can_shared=yes ;;
8593      *) _lt_dar_can_shared=$GCC ;;
8594   esac
8595   if test "$_lt_dar_can_shared" = "yes"; then
8596     output_verbose_link_cmd=echo
8597     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8598     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8599     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}"
8600     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}"
8601
8602   else
8603   ld_shlibs=no
8604   fi
8605
8606       ;;
8607
8608     dgux*)
8609       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8610       hardcode_libdir_flag_spec='-L$libdir'
8611       hardcode_shlibpath_var=no
8612       ;;
8613
8614     freebsd1*)
8615       ld_shlibs=no
8616       ;;
8617
8618     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8619     # support.  Future versions do this automatically, but an explicit c++rt0.o
8620     # does not break anything, and helps significantly (at the cost of a little
8621     # extra space).
8622     freebsd2.2*)
8623       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8624       hardcode_libdir_flag_spec='-R$libdir'
8625       hardcode_direct=yes
8626       hardcode_shlibpath_var=no
8627       ;;
8628
8629     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8630     freebsd2*)
8631       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8632       hardcode_direct=yes
8633       hardcode_minus_L=yes
8634       hardcode_shlibpath_var=no
8635       ;;
8636
8637     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8638     freebsd* | dragonfly*)
8639       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8640       hardcode_libdir_flag_spec='-R$libdir'
8641       hardcode_direct=yes
8642       hardcode_shlibpath_var=no
8643       ;;
8644
8645     hpux9*)
8646       if test "$GCC" = yes; then
8647         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8648       else
8649         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'
8650       fi
8651       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8652       hardcode_libdir_separator=:
8653       hardcode_direct=yes
8654
8655       # hardcode_minus_L: Not really in the search PATH,
8656       # but as the default location of the library.
8657       hardcode_minus_L=yes
8658       export_dynamic_flag_spec='${wl}-E'
8659       ;;
8660
8661     hpux10*)
8662       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8663         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8664       else
8665         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8666       fi
8667       if test "$with_gnu_ld" = no; then
8668         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8669         hardcode_libdir_flag_spec_ld='+b $libdir'
8670         hardcode_libdir_separator=:
8671         hardcode_direct=yes
8672         hardcode_direct_absolute=yes
8673         export_dynamic_flag_spec='${wl}-E'
8674         # hardcode_minus_L: Not really in the search PATH,
8675         # but as the default location of the library.
8676         hardcode_minus_L=yes
8677       fi
8678       ;;
8679
8680     hpux11*)
8681       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8682         case $host_cpu in
8683         hppa*64*)
8684           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8685           ;;
8686         ia64*)
8687           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8688           ;;
8689         *)
8690           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8691           ;;
8692         esac
8693       else
8694         case $host_cpu in
8695         hppa*64*)
8696           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8697           ;;
8698         ia64*)
8699           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8700           ;;
8701         *)
8702           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8703           ;;
8704         esac
8705       fi
8706       if test "$with_gnu_ld" = no; then
8707         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8708         hardcode_libdir_separator=:
8709
8710         case $host_cpu in
8711         hppa*64*|ia64*)
8712           hardcode_direct=no
8713           hardcode_shlibpath_var=no
8714           ;;
8715         *)
8716           hardcode_direct=yes
8717           hardcode_direct_absolute=yes
8718           export_dynamic_flag_spec='${wl}-E'
8719
8720           # hardcode_minus_L: Not really in the search PATH,
8721           # but as the default location of the library.
8722           hardcode_minus_L=yes
8723           ;;
8724         esac
8725       fi
8726       ;;
8727
8728     irix5* | irix6* | nonstopux*)
8729       if test "$GCC" = yes; then
8730         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8731         # Try to use the -exported_symbol ld option, if it does not
8732         # work, assume that -exports_file does not work either and
8733         # implicitly export all symbols.
8734         save_LDFLAGS="$LDFLAGS"
8735         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8736         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h.  */
8738 int foo(void) {}
8739 _ACEOF
8740 if ac_fn_c_try_link "$LINENO"; then :
8741   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8742
8743 fi
8744 rm -f core conftest.err conftest.$ac_objext \
8745     conftest$ac_exeext conftest.$ac_ext
8746         LDFLAGS="$save_LDFLAGS"
8747       else
8748         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8749         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8750       fi
8751       archive_cmds_need_lc='no'
8752       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8753       hardcode_libdir_separator=:
8754       inherit_rpath=yes
8755       link_all_deplibs=yes
8756       ;;
8757
8758     netbsd* | netbsdelf*-gnu)
8759       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8760         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8761       else
8762         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8763       fi
8764       hardcode_libdir_flag_spec='-R$libdir'
8765       hardcode_direct=yes
8766       hardcode_shlibpath_var=no
8767       ;;
8768
8769     newsos6)
8770       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771       hardcode_direct=yes
8772       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8773       hardcode_libdir_separator=:
8774       hardcode_shlibpath_var=no
8775       ;;
8776
8777     *nto* | *qnx*)
8778       ;;
8779
8780     openbsd*)
8781       if test -f /usr/libexec/ld.so; then
8782         hardcode_direct=yes
8783         hardcode_shlibpath_var=no
8784         hardcode_direct_absolute=yes
8785         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8786           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8787           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8788           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8789           export_dynamic_flag_spec='${wl}-E'
8790         else
8791           case $host_os in
8792            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8793              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8794              hardcode_libdir_flag_spec='-R$libdir'
8795              ;;
8796            *)
8797              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8798              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8799              ;;
8800           esac
8801         fi
8802       else
8803         ld_shlibs=no
8804       fi
8805       ;;
8806
8807     os2*)
8808       hardcode_libdir_flag_spec='-L$libdir'
8809       hardcode_minus_L=yes
8810       allow_undefined_flag=unsupported
8811       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'
8812       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8813       ;;
8814
8815     osf3*)
8816       if test "$GCC" = yes; then
8817         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8818         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8819       else
8820         allow_undefined_flag=' -expect_unresolved \*'
8821         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8822       fi
8823       archive_cmds_need_lc='no'
8824       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8825       hardcode_libdir_separator=:
8826       ;;
8827
8828     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8829       if test "$GCC" = yes; then
8830         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8831         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8832         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8833       else
8834         allow_undefined_flag=' -expect_unresolved \*'
8835         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8836         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~
8837         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8838
8839         # Both c and cxx compiler support -rpath directly
8840         hardcode_libdir_flag_spec='-rpath $libdir'
8841       fi
8842       archive_cmds_need_lc='no'
8843       hardcode_libdir_separator=:
8844       ;;
8845
8846     solaris*)
8847       no_undefined_flag=' -z defs'
8848       if test "$GCC" = yes; then
8849         wlarc='${wl}'
8850         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8851         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8852           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8853       else
8854         case `$CC -V 2>&1` in
8855         *"Compilers 5.0"*)
8856           wlarc=''
8857           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8858           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8859           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8860           ;;
8861         *)
8862           wlarc='${wl}'
8863           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8864           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8865           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8866           ;;
8867         esac
8868       fi
8869       hardcode_libdir_flag_spec='-R$libdir'
8870       hardcode_shlibpath_var=no
8871       case $host_os in
8872       solaris2.[0-5] | solaris2.[0-5].*) ;;
8873       *)
8874         # The compiler driver will combine and reorder linker options,
8875         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8876         # but is careful enough not to reorder.
8877         # Supported since Solaris 2.6 (maybe 2.5.1?)
8878         if test "$GCC" = yes; then
8879           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8880         else
8881           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8882         fi
8883         ;;
8884       esac
8885       link_all_deplibs=yes
8886       ;;
8887
8888     sunos4*)
8889       if test "x$host_vendor" = xsequent; then
8890         # Use $CC to link under sequent, because it throws in some extra .o
8891         # files that make .init and .fini sections work.
8892         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8893       else
8894         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8895       fi
8896       hardcode_libdir_flag_spec='-L$libdir'
8897       hardcode_direct=yes
8898       hardcode_minus_L=yes
8899       hardcode_shlibpath_var=no
8900       ;;
8901
8902     sysv4)
8903       case $host_vendor in
8904         sni)
8905           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8906           hardcode_direct=yes # is this really true???
8907         ;;
8908         siemens)
8909           ## LD is ld it makes a PLAMLIB
8910           ## CC just makes a GrossModule.
8911           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8912           reload_cmds='$CC -r -o $output$reload_objs'
8913           hardcode_direct=no
8914         ;;
8915         motorola)
8916           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8917           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8918         ;;
8919       esac
8920       runpath_var='LD_RUN_PATH'
8921       hardcode_shlibpath_var=no
8922       ;;
8923
8924     sysv4.3*)
8925       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8926       hardcode_shlibpath_var=no
8927       export_dynamic_flag_spec='-Bexport'
8928       ;;
8929
8930     sysv4*MP*)
8931       if test -d /usr/nec; then
8932         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8933         hardcode_shlibpath_var=no
8934         runpath_var=LD_RUN_PATH
8935         hardcode_runpath_var=yes
8936         ld_shlibs=yes
8937       fi
8938       ;;
8939
8940     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8941       no_undefined_flag='${wl}-z,text'
8942       archive_cmds_need_lc=no
8943       hardcode_shlibpath_var=no
8944       runpath_var='LD_RUN_PATH'
8945
8946       if test "$GCC" = yes; then
8947         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8948         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8949       else
8950         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8951         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8952       fi
8953       ;;
8954
8955     sysv5* | sco3.2v5* | sco5v6*)
8956       # Note: We can NOT use -z defs as we might desire, because we do not
8957       # link with -lc, and that would cause any symbols used from libc to
8958       # always be unresolved, which means just about no library would
8959       # ever link correctly.  If we're not using GNU ld we use -z text
8960       # though, which does catch some bad symbols but isn't as heavy-handed
8961       # as -z defs.
8962       no_undefined_flag='${wl}-z,text'
8963       allow_undefined_flag='${wl}-z,nodefs'
8964       archive_cmds_need_lc=no
8965       hardcode_shlibpath_var=no
8966       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8967       hardcode_libdir_separator=':'
8968       link_all_deplibs=yes
8969       export_dynamic_flag_spec='${wl}-Bexport'
8970       runpath_var='LD_RUN_PATH'
8971
8972       if test "$GCC" = yes; then
8973         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8974         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8975       else
8976         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8977         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8978       fi
8979       ;;
8980
8981     uts4*)
8982       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8983       hardcode_libdir_flag_spec='-L$libdir'
8984       hardcode_shlibpath_var=no
8985       ;;
8986
8987     *)
8988       ld_shlibs=no
8989       ;;
8990     esac
8991
8992     if test x$host_vendor = xsni; then
8993       case $host in
8994       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8995         export_dynamic_flag_spec='${wl}-Blargedynsym'
8996         ;;
8997       esac
8998     fi
8999   fi
9000
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9002 $as_echo "$ld_shlibs" >&6; }
9003 test "$ld_shlibs" = no && can_build_shared=no
9004
9005 with_gnu_ld=$with_gnu_ld
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021 #
9022 # Do we need to explicitly link libc?
9023 #
9024 case "x$archive_cmds_need_lc" in
9025 x|xyes)
9026   # Assume -lc should be added
9027   archive_cmds_need_lc=yes
9028
9029   if test "$enable_shared" = yes && test "$GCC" = yes; then
9030     case $archive_cmds in
9031     *'~'*)
9032       # FIXME: we may have to deal with multi-command sequences.
9033       ;;
9034     '$CC '*)
9035       # Test whether the compiler implicitly links with -lc since on some
9036       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9037       # to ld, don't add -lc before -lgcc.
9038       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9039 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9040       $RM conftest*
9041       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9042
9043       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9044   (eval $ac_compile) 2>&5
9045   ac_status=$?
9046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9047   test $ac_status = 0; } 2>conftest.err; then
9048         soname=conftest
9049         lib=conftest
9050         libobjs=conftest.$ac_objext
9051         deplibs=
9052         wl=$lt_prog_compiler_wl
9053         pic_flag=$lt_prog_compiler_pic
9054         compiler_flags=-v
9055         linker_flags=-v
9056         verstring=
9057         output_objdir=.
9058         libname=conftest
9059         lt_save_allow_undefined_flag=$allow_undefined_flag
9060         allow_undefined_flag=
9061         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9062   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9063   ac_status=$?
9064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9065   test $ac_status = 0; }
9066         then
9067           archive_cmds_need_lc=no
9068         else
9069           archive_cmds_need_lc=yes
9070         fi
9071         allow_undefined_flag=$lt_save_allow_undefined_flag
9072       else
9073         cat conftest.err 1>&5
9074       fi
9075       $RM conftest*
9076       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9077 $as_echo "$archive_cmds_need_lc" >&6; }
9078       ;;
9079     esac
9080   fi
9081   ;;
9082 esac
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
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
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9241 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9242
9243 if test "$GCC" = yes; then
9244   case $host_os in
9245     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9246     *) lt_awk_arg="/^libraries:/" ;;
9247   esac
9248   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9249   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9250     # if the path contains ";" then we assume it to be the separator
9251     # otherwise default to the standard path separator (i.e. ":") - it is
9252     # assumed that no part of a normal pathname contains ";" but that should
9253     # okay in the real world where ";" in dirpaths is itself problematic.
9254     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9255   else
9256     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9257   fi
9258   # Ok, now we have the path, separated by spaces, we can step through it
9259   # and add multilib dir if necessary.
9260   lt_tmp_lt_search_path_spec=
9261   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9262   for lt_sys_path in $lt_search_path_spec; do
9263     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9264       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9265     else
9266       test -d "$lt_sys_path" && \
9267         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9268     fi
9269   done
9270   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9271 BEGIN {RS=" "; FS="/|\n";} {
9272   lt_foo="";
9273   lt_count=0;
9274   for (lt_i = NF; lt_i > 0; lt_i--) {
9275     if ($lt_i != "" && $lt_i != ".") {
9276       if ($lt_i == "..") {
9277         lt_count++;
9278       } else {
9279         if (lt_count == 0) {
9280           lt_foo="/" $lt_i lt_foo;
9281         } else {
9282           lt_count--;
9283         }
9284       }
9285     }
9286   }
9287   if (lt_foo != "") { lt_freq[lt_foo]++; }
9288   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9289 }'`
9290   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9291 else
9292   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9293 fi
9294 library_names_spec=
9295 libname_spec='lib$name'
9296 soname_spec=
9297 shrext_cmds=".so"
9298 postinstall_cmds=
9299 postuninstall_cmds=
9300 finish_cmds=
9301 finish_eval=
9302 shlibpath_var=
9303 shlibpath_overrides_runpath=unknown
9304 version_type=none
9305 dynamic_linker="$host_os ld.so"
9306 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9307 need_lib_prefix=unknown
9308 hardcode_into_libs=no
9309
9310 # when you set need_version to no, make sure it does not cause -set_version
9311 # flags to be left without arguments
9312 need_version=unknown
9313
9314 case $host_os in
9315 aix3*)
9316   version_type=linux
9317   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9318   shlibpath_var=LIBPATH
9319
9320   # AIX 3 has no versioning support, so we append a major version to the name.
9321   soname_spec='${libname}${release}${shared_ext}$major'
9322   ;;
9323
9324 aix[4-9]*)
9325   version_type=linux
9326   need_lib_prefix=no
9327   need_version=no
9328   hardcode_into_libs=yes
9329   if test "$host_cpu" = ia64; then
9330     # AIX 5 supports IA64
9331     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9332     shlibpath_var=LD_LIBRARY_PATH
9333   else
9334     # With GCC up to 2.95.x, collect2 would create an import file
9335     # for dependence libraries.  The import file would start with
9336     # the line `#! .'.  This would cause the generated library to
9337     # depend on `.', always an invalid library.  This was fixed in
9338     # development snapshots of GCC prior to 3.0.
9339     case $host_os in
9340       aix4 | aix4.[01] | aix4.[01].*)
9341       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9342            echo ' yes '
9343            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9344         :
9345       else
9346         can_build_shared=no
9347       fi
9348       ;;
9349     esac
9350     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9351     # soname into executable. Probably we can add versioning support to
9352     # collect2, so additional links can be useful in future.
9353     if test "$aix_use_runtimelinking" = yes; then
9354       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9355       # instead of lib<name>.a to let people know that these are not
9356       # typical AIX shared libraries.
9357       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9358     else
9359       # We preserve .a as extension for shared libraries through AIX4.2
9360       # and later when we are not doing run time linking.
9361       library_names_spec='${libname}${release}.a $libname.a'
9362       soname_spec='${libname}${release}${shared_ext}$major'
9363     fi
9364     shlibpath_var=LIBPATH
9365   fi
9366   ;;
9367
9368 amigaos*)
9369   case $host_cpu in
9370   powerpc)
9371     # Since July 2007 AmigaOS4 officially supports .so libraries.
9372     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9373     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374     ;;
9375   m68k)
9376     library_names_spec='$libname.ixlibrary $libname.a'
9377     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9378     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9379     ;;
9380   esac
9381   ;;
9382
9383 beos*)
9384   library_names_spec='${libname}${shared_ext}'
9385   dynamic_linker="$host_os ld.so"
9386   shlibpath_var=LIBRARY_PATH
9387   ;;
9388
9389 bsdi[45]*)
9390   version_type=linux
9391   need_version=no
9392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9393   soname_spec='${libname}${release}${shared_ext}$major'
9394   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9395   shlibpath_var=LD_LIBRARY_PATH
9396   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9397   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9398   # the default ld.so.conf also contains /usr/contrib/lib and
9399   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9400   # libtool to hard-code these into programs
9401   ;;
9402
9403 cygwin* | mingw* | pw32* | cegcc*)
9404   version_type=windows
9405   shrext_cmds=".dll"
9406   need_version=no
9407   need_lib_prefix=no
9408
9409   case $GCC,$host_os in
9410   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9411     library_names_spec='$libname.dll.a'
9412     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9413     postinstall_cmds='base_file=`basename \${file}`~
9414       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9415       dldir=$destdir/`dirname \$dlpath`~
9416       test -d \$dldir || mkdir -p \$dldir~
9417       $install_prog $dir/$dlname \$dldir/$dlname~
9418       chmod a+x \$dldir/$dlname~
9419       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9420         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9421       fi'
9422     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9423       dlpath=$dir/\$dldll~
9424        $RM \$dlpath'
9425     shlibpath_overrides_runpath=yes
9426
9427     case $host_os in
9428     cygwin*)
9429       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9430       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9431       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9432       ;;
9433     mingw* | cegcc*)
9434       # MinGW DLLs use traditional 'lib' prefix
9435       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9436       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9437       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9438         # It is most probably a Windows format PATH printed by
9439         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9440         # path with ; separators, and with drive letters. We can handle the
9441         # drive letters (cygwin fileutils understands them), so leave them,
9442         # especially as we might pass files found there to a mingw objdump,
9443         # which wouldn't understand a cygwinified path. Ahh.
9444         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9445       else
9446         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9447       fi
9448       ;;
9449     pw32*)
9450       # pw32 DLLs use 'pw' prefix rather than 'lib'
9451       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9452       ;;
9453     esac
9454     ;;
9455
9456   *)
9457     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9458     ;;
9459   esac
9460   dynamic_linker='Win32 ld.exe'
9461   # FIXME: first we should search . and the directory the executable is in
9462   shlibpath_var=PATH
9463   ;;
9464
9465 darwin* | rhapsody*)
9466   dynamic_linker="$host_os dyld"
9467   version_type=darwin
9468   need_lib_prefix=no
9469   need_version=no
9470   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9471   soname_spec='${libname}${release}${major}$shared_ext'
9472   shlibpath_overrides_runpath=yes
9473   shlibpath_var=DYLD_LIBRARY_PATH
9474   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9475
9476   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9477   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9478   ;;
9479
9480 dgux*)
9481   version_type=linux
9482   need_lib_prefix=no
9483   need_version=no
9484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9485   soname_spec='${libname}${release}${shared_ext}$major'
9486   shlibpath_var=LD_LIBRARY_PATH
9487   ;;
9488
9489 freebsd1*)
9490   dynamic_linker=no
9491   ;;
9492
9493 freebsd* | dragonfly*)
9494   # DragonFly does not have aout.  When/if they implement a new
9495   # versioning mechanism, adjust this.
9496   if test -x /usr/bin/objformat; then
9497     objformat=`/usr/bin/objformat`
9498   else
9499     case $host_os in
9500     freebsd[123]*) objformat=aout ;;
9501     *) objformat=elf ;;
9502     esac
9503   fi
9504   version_type=freebsd-$objformat
9505   case $version_type in
9506     freebsd-elf*)
9507       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9508       need_version=no
9509       need_lib_prefix=no
9510       ;;
9511     freebsd-*)
9512       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9513       need_version=yes
9514       ;;
9515   esac
9516   shlibpath_var=LD_LIBRARY_PATH
9517   case $host_os in
9518   freebsd2*)
9519     shlibpath_overrides_runpath=yes
9520     ;;
9521   freebsd3.[01]* | freebsdelf3.[01]*)
9522     shlibpath_overrides_runpath=yes
9523     hardcode_into_libs=yes
9524     ;;
9525   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9526   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9527     shlibpath_overrides_runpath=no
9528     hardcode_into_libs=yes
9529     ;;
9530   *) # from 4.6 on, and DragonFly
9531     shlibpath_overrides_runpath=yes
9532     hardcode_into_libs=yes
9533     ;;
9534   esac
9535   ;;
9536
9537 gnu*)
9538   version_type=linux
9539   need_lib_prefix=no
9540   need_version=no
9541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9542   soname_spec='${libname}${release}${shared_ext}$major'
9543   shlibpath_var=LD_LIBRARY_PATH
9544   hardcode_into_libs=yes
9545   ;;
9546
9547 hpux9* | hpux10* | hpux11*)
9548   # Give a soname corresponding to the major version so that dld.sl refuses to
9549   # link against other versions.
9550   version_type=sunos
9551   need_lib_prefix=no
9552   need_version=no
9553   case $host_cpu in
9554   ia64*)
9555     shrext_cmds='.so'
9556     hardcode_into_libs=yes
9557     dynamic_linker="$host_os dld.so"
9558     shlibpath_var=LD_LIBRARY_PATH
9559     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9560     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561     soname_spec='${libname}${release}${shared_ext}$major'
9562     if test "X$HPUX_IA64_MODE" = X32; then
9563       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9564     else
9565       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9566     fi
9567     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9568     ;;
9569   hppa*64*)
9570     shrext_cmds='.sl'
9571     hardcode_into_libs=yes
9572     dynamic_linker="$host_os dld.sl"
9573     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9574     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9575     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9576     soname_spec='${libname}${release}${shared_ext}$major'
9577     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9578     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9579     ;;
9580   *)
9581     shrext_cmds='.sl'
9582     dynamic_linker="$host_os dld.sl"
9583     shlibpath_var=SHLIB_PATH
9584     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9585     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9586     soname_spec='${libname}${release}${shared_ext}$major'
9587     ;;
9588   esac
9589   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9590   postinstall_cmds='chmod 555 $lib'
9591   ;;
9592
9593 interix[3-9]*)
9594   version_type=linux
9595   need_lib_prefix=no
9596   need_version=no
9597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9598   soname_spec='${libname}${release}${shared_ext}$major'
9599   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9600   shlibpath_var=LD_LIBRARY_PATH
9601   shlibpath_overrides_runpath=no
9602   hardcode_into_libs=yes
9603   ;;
9604
9605 irix5* | irix6* | nonstopux*)
9606   case $host_os in
9607     nonstopux*) version_type=nonstopux ;;
9608     *)
9609         if test "$lt_cv_prog_gnu_ld" = yes; then
9610                 version_type=linux
9611         else
9612                 version_type=irix
9613         fi ;;
9614   esac
9615   need_lib_prefix=no
9616   need_version=no
9617   soname_spec='${libname}${release}${shared_ext}$major'
9618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9619   case $host_os in
9620   irix5* | nonstopux*)
9621     libsuff= shlibsuff=
9622     ;;
9623   *)
9624     case $LD in # libtool.m4 will add one of these switches to LD
9625     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9626       libsuff= shlibsuff= libmagic=32-bit;;
9627     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9628       libsuff=32 shlibsuff=N32 libmagic=N32;;
9629     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9630       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9631     *) libsuff= shlibsuff= libmagic=never-match;;
9632     esac
9633     ;;
9634   esac
9635   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9636   shlibpath_overrides_runpath=no
9637   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9638   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9639   hardcode_into_libs=yes
9640   ;;
9641
9642 # No shared lib support for Linux oldld, aout, or coff.
9643 linux*oldld* | linux*aout* | linux*coff*)
9644   dynamic_linker=no
9645   ;;
9646
9647 # This must be Linux ELF.
9648 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9649   version_type=linux
9650   need_lib_prefix=no
9651   need_version=no
9652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9653   soname_spec='${libname}${release}${shared_ext}$major'
9654   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9655   shlibpath_var=LD_LIBRARY_PATH
9656   shlibpath_overrides_runpath=no
9657   # Some binutils ld are patched to set DT_RUNPATH
9658   save_LDFLAGS=$LDFLAGS
9659   save_libdir=$libdir
9660   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9661        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h.  */
9664
9665 int
9666 main ()
9667 {
9668
9669   ;
9670   return 0;
9671 }
9672 _ACEOF
9673 if ac_fn_c_try_link "$LINENO"; then :
9674   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9675   shlibpath_overrides_runpath=yes
9676 fi
9677 fi
9678 rm -f core conftest.err conftest.$ac_objext \
9679     conftest$ac_exeext conftest.$ac_ext
9680   LDFLAGS=$save_LDFLAGS
9681   libdir=$save_libdir
9682
9683   # This implies no fast_install, which is unacceptable.
9684   # Some rework will be needed to allow for fast_install
9685   # before this can be enabled.
9686   hardcode_into_libs=yes
9687
9688   # Append ld.so.conf contents to the search path
9689   if test -f /etc/ld.so.conf; then
9690     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;/^$/d' | tr '\n' ' '`
9691     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9692   fi
9693
9694   # We used to test for /lib/ld.so.1 and disable shared libraries on
9695   # powerpc, because MkLinux only supported shared libraries with the
9696   # GNU dynamic linker.  Since this was broken with cross compilers,
9697   # most powerpc-linux boxes support dynamic linking these days and
9698   # people can always --disable-shared, the test was removed, and we
9699   # assume the GNU/Linux dynamic linker is in use.
9700   dynamic_linker='GNU/Linux ld.so'
9701   ;;
9702
9703 netbsdelf*-gnu)
9704   version_type=linux
9705   need_lib_prefix=no
9706   need_version=no
9707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9708   soname_spec='${libname}${release}${shared_ext}$major'
9709   shlibpath_var=LD_LIBRARY_PATH
9710   shlibpath_overrides_runpath=no
9711   hardcode_into_libs=yes
9712   dynamic_linker='NetBSD ld.elf_so'
9713   ;;
9714
9715 netbsd*)
9716   version_type=sunos
9717   need_lib_prefix=no
9718   need_version=no
9719   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9720     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9721     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9722     dynamic_linker='NetBSD (a.out) ld.so'
9723   else
9724     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9725     soname_spec='${libname}${release}${shared_ext}$major'
9726     dynamic_linker='NetBSD ld.elf_so'
9727   fi
9728   shlibpath_var=LD_LIBRARY_PATH
9729   shlibpath_overrides_runpath=yes
9730   hardcode_into_libs=yes
9731   ;;
9732
9733 newsos6)
9734   version_type=linux
9735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9736   shlibpath_var=LD_LIBRARY_PATH
9737   shlibpath_overrides_runpath=yes
9738   ;;
9739
9740 *nto* | *qnx*)
9741   version_type=qnx
9742   need_lib_prefix=no
9743   need_version=no
9744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745   soname_spec='${libname}${release}${shared_ext}$major'
9746   shlibpath_var=LD_LIBRARY_PATH
9747   shlibpath_overrides_runpath=no
9748   hardcode_into_libs=yes
9749   dynamic_linker='ldqnx.so'
9750   ;;
9751
9752 openbsd*)
9753   version_type=sunos
9754   sys_lib_dlsearch_path_spec="/usr/lib"
9755   need_lib_prefix=no
9756   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9757   case $host_os in
9758     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9759     *)                          need_version=no  ;;
9760   esac
9761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9762   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9763   shlibpath_var=LD_LIBRARY_PATH
9764   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9765     case $host_os in
9766       openbsd2.[89] | openbsd2.[89].*)
9767         shlibpath_overrides_runpath=no
9768         ;;
9769       *)
9770         shlibpath_overrides_runpath=yes
9771         ;;
9772       esac
9773   else
9774     shlibpath_overrides_runpath=yes
9775   fi
9776   ;;
9777
9778 os2*)
9779   libname_spec='$name'
9780   shrext_cmds=".dll"
9781   need_lib_prefix=no
9782   library_names_spec='$libname${shared_ext} $libname.a'
9783   dynamic_linker='OS/2 ld.exe'
9784   shlibpath_var=LIBPATH
9785   ;;
9786
9787 osf3* | osf4* | osf5*)
9788   version_type=osf
9789   need_lib_prefix=no
9790   need_version=no
9791   soname_spec='${libname}${release}${shared_ext}$major'
9792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9793   shlibpath_var=LD_LIBRARY_PATH
9794   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9795   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9796   ;;
9797
9798 rdos*)
9799   dynamic_linker=no
9800   ;;
9801
9802 solaris*)
9803   version_type=linux
9804   need_lib_prefix=no
9805   need_version=no
9806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807   soname_spec='${libname}${release}${shared_ext}$major'
9808   shlibpath_var=LD_LIBRARY_PATH
9809   shlibpath_overrides_runpath=yes
9810   hardcode_into_libs=yes
9811   # ldd complains unless libraries are executable
9812   postinstall_cmds='chmod +x $lib'
9813   ;;
9814
9815 sunos4*)
9816   version_type=sunos
9817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9818   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9819   shlibpath_var=LD_LIBRARY_PATH
9820   shlibpath_overrides_runpath=yes
9821   if test "$with_gnu_ld" = yes; then
9822     need_lib_prefix=no
9823   fi
9824   need_version=yes
9825   ;;
9826
9827 sysv4 | sysv4.3*)
9828   version_type=linux
9829   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9830   soname_spec='${libname}${release}${shared_ext}$major'
9831   shlibpath_var=LD_LIBRARY_PATH
9832   case $host_vendor in
9833     sni)
9834       shlibpath_overrides_runpath=no
9835       need_lib_prefix=no
9836       runpath_var=LD_RUN_PATH
9837       ;;
9838     siemens)
9839       need_lib_prefix=no
9840       ;;
9841     motorola)
9842       need_lib_prefix=no
9843       need_version=no
9844       shlibpath_overrides_runpath=no
9845       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9846       ;;
9847   esac
9848   ;;
9849
9850 sysv4*MP*)
9851   if test -d /usr/nec ;then
9852     version_type=linux
9853     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9854     soname_spec='$libname${shared_ext}.$major'
9855     shlibpath_var=LD_LIBRARY_PATH
9856   fi
9857   ;;
9858
9859 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9860   version_type=freebsd-elf
9861   need_lib_prefix=no
9862   need_version=no
9863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9864   soname_spec='${libname}${release}${shared_ext}$major'
9865   shlibpath_var=LD_LIBRARY_PATH
9866   shlibpath_overrides_runpath=yes
9867   hardcode_into_libs=yes
9868   if test "$with_gnu_ld" = yes; then
9869     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9870   else
9871     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9872     case $host_os in
9873       sco3.2v5*)
9874         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9875         ;;
9876     esac
9877   fi
9878   sys_lib_dlsearch_path_spec='/usr/lib'
9879   ;;
9880
9881 tpf*)
9882   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9883   version_type=linux
9884   need_lib_prefix=no
9885   need_version=no
9886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9887   shlibpath_var=LD_LIBRARY_PATH
9888   shlibpath_overrides_runpath=no
9889   hardcode_into_libs=yes
9890   ;;
9891
9892 uts4*)
9893   version_type=linux
9894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895   soname_spec='${libname}${release}${shared_ext}$major'
9896   shlibpath_var=LD_LIBRARY_PATH
9897   ;;
9898
9899 *)
9900   dynamic_linker=no
9901   ;;
9902 esac
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9904 $as_echo "$dynamic_linker" >&6; }
9905 test "$dynamic_linker" = no && can_build_shared=no
9906
9907 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9908 if test "$GCC" = yes; then
9909   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9910 fi
9911
9912 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9913   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9914 fi
9915 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9916   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9917 fi
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10006 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10007 hardcode_action=
10008 if test -n "$hardcode_libdir_flag_spec" ||
10009    test -n "$runpath_var" ||
10010    test "X$hardcode_automatic" = "Xyes" ; then
10011
10012   # We can hardcode non-existent directories.
10013   if test "$hardcode_direct" != no &&
10014      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10015      # have to relink, otherwise we might link with an installed library
10016      # when we should be linking with a yet-to-be-installed one
10017      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10018      test "$hardcode_minus_L" != no; then
10019     # Linking always hardcodes the temporary library directory.
10020     hardcode_action=relink
10021   else
10022     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10023     hardcode_action=immediate
10024   fi
10025 else
10026   # We cannot hardcode anything, or else we can only hardcode existing
10027   # directories.
10028   hardcode_action=unsupported
10029 fi
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10031 $as_echo "$hardcode_action" >&6; }
10032
10033 if test "$hardcode_action" = relink ||
10034    test "$inherit_rpath" = yes; then
10035   # Fast installation is not supported
10036   enable_fast_install=no
10037 elif test "$shlibpath_overrides_runpath" = yes ||
10038      test "$enable_shared" = no; then
10039   # Fast installation is not necessary
10040   enable_fast_install=needless
10041 fi
10042
10043
10044
10045
10046
10047
10048   if test "x$enable_dlopen" != xyes; then
10049   enable_dlopen=unknown
10050   enable_dlopen_self=unknown
10051   enable_dlopen_self_static=unknown
10052 else
10053   lt_cv_dlopen=no
10054   lt_cv_dlopen_libs=
10055
10056   case $host_os in
10057   beos*)
10058     lt_cv_dlopen="load_add_on"
10059     lt_cv_dlopen_libs=
10060     lt_cv_dlopen_self=yes
10061     ;;
10062
10063   mingw* | pw32* | cegcc*)
10064     lt_cv_dlopen="LoadLibrary"
10065     lt_cv_dlopen_libs=
10066     ;;
10067
10068   cygwin*)
10069     lt_cv_dlopen="dlopen"
10070     lt_cv_dlopen_libs=
10071     ;;
10072
10073   darwin*)
10074   # if libdl is installed we need to link against it
10075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10076 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10077 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10078   $as_echo_n "(cached) " >&6
10079 else
10080   ac_check_lib_save_LIBS=$LIBS
10081 LIBS="-ldl  $LIBS"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h.  */
10084
10085 /* Override any GCC internal prototype to avoid an error.
10086    Use char because int might match the return type of a GCC
10087    builtin and then its argument prototype would still apply.  */
10088 #ifdef __cplusplus
10089 extern "C"
10090 #endif
10091 char dlopen ();
10092 int
10093 main ()
10094 {
10095 return dlopen ();
10096   ;
10097   return 0;
10098 }
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101   ac_cv_lib_dl_dlopen=yes
10102 else
10103   ac_cv_lib_dl_dlopen=no
10104 fi
10105 rm -f core conftest.err conftest.$ac_objext \
10106     conftest$ac_exeext conftest.$ac_ext
10107 LIBS=$ac_check_lib_save_LIBS
10108 fi
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10110 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10111 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10112   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10113 else
10114
10115     lt_cv_dlopen="dyld"
10116     lt_cv_dlopen_libs=
10117     lt_cv_dlopen_self=yes
10118
10119 fi
10120
10121     ;;
10122
10123   *)
10124     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10125 if test "x$ac_cv_func_shl_load" = x""yes; then :
10126   lt_cv_dlopen="shl_load"
10127 else
10128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10129 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10130 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10131   $as_echo_n "(cached) " >&6
10132 else
10133   ac_check_lib_save_LIBS=$LIBS
10134 LIBS="-ldld  $LIBS"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h.  */
10137
10138 /* Override any GCC internal prototype to avoid an error.
10139    Use char because int might match the return type of a GCC
10140    builtin and then its argument prototype would still apply.  */
10141 #ifdef __cplusplus
10142 extern "C"
10143 #endif
10144 char shl_load ();
10145 int
10146 main ()
10147 {
10148 return shl_load ();
10149   ;
10150   return 0;
10151 }
10152 _ACEOF
10153 if ac_fn_c_try_link "$LINENO"; then :
10154   ac_cv_lib_dld_shl_load=yes
10155 else
10156   ac_cv_lib_dld_shl_load=no
10157 fi
10158 rm -f core conftest.err conftest.$ac_objext \
10159     conftest$ac_exeext conftest.$ac_ext
10160 LIBS=$ac_check_lib_save_LIBS
10161 fi
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10163 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10164 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10165   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10166 else
10167   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10168 if test "x$ac_cv_func_dlopen" = x""yes; then :
10169   lt_cv_dlopen="dlopen"
10170 else
10171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10172 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10173 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10174   $as_echo_n "(cached) " >&6
10175 else
10176   ac_check_lib_save_LIBS=$LIBS
10177 LIBS="-ldl  $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h.  */
10180
10181 /* Override any GCC internal prototype to avoid an error.
10182    Use char because int might match the return type of a GCC
10183    builtin and then its argument prototype would still apply.  */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 char dlopen ();
10188 int
10189 main ()
10190 {
10191 return dlopen ();
10192   ;
10193   return 0;
10194 }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197   ac_cv_lib_dl_dlopen=yes
10198 else
10199   ac_cv_lib_dl_dlopen=no
10200 fi
10201 rm -f core conftest.err conftest.$ac_objext \
10202     conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_lib_save_LIBS
10204 fi
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10206 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10207 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10208   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10209 else
10210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10211 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10212 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10213   $as_echo_n "(cached) " >&6
10214 else
10215   ac_check_lib_save_LIBS=$LIBS
10216 LIBS="-lsvld  $LIBS"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h.  */
10219
10220 /* Override any GCC internal prototype to avoid an error.
10221    Use char because int might match the return type of a GCC
10222    builtin and then its argument prototype would still apply.  */
10223 #ifdef __cplusplus
10224 extern "C"
10225 #endif
10226 char dlopen ();
10227 int
10228 main ()
10229 {
10230 return dlopen ();
10231   ;
10232   return 0;
10233 }
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236   ac_cv_lib_svld_dlopen=yes
10237 else
10238   ac_cv_lib_svld_dlopen=no
10239 fi
10240 rm -f core conftest.err conftest.$ac_objext \
10241     conftest$ac_exeext conftest.$ac_ext
10242 LIBS=$ac_check_lib_save_LIBS
10243 fi
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10245 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10246 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10247   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10248 else
10249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10250 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10251 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10252   $as_echo_n "(cached) " >&6
10253 else
10254   ac_check_lib_save_LIBS=$LIBS
10255 LIBS="-ldld  $LIBS"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h.  */
10258
10259 /* Override any GCC internal prototype to avoid an error.
10260    Use char because int might match the return type of a GCC
10261    builtin and then its argument prototype would still apply.  */
10262 #ifdef __cplusplus
10263 extern "C"
10264 #endif
10265 char dld_link ();
10266 int
10267 main ()
10268 {
10269 return dld_link ();
10270   ;
10271   return 0;
10272 }
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"; then :
10275   ac_cv_lib_dld_dld_link=yes
10276 else
10277   ac_cv_lib_dld_dld_link=no
10278 fi
10279 rm -f core conftest.err conftest.$ac_objext \
10280     conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_lib_save_LIBS
10282 fi
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10284 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10285 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10286   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10287 fi
10288
10289
10290 fi
10291
10292
10293 fi
10294
10295
10296 fi
10297
10298
10299 fi
10300
10301
10302 fi
10303
10304     ;;
10305   esac
10306
10307   if test "x$lt_cv_dlopen" != xno; then
10308     enable_dlopen=yes
10309   else
10310     enable_dlopen=no
10311   fi
10312
10313   case $lt_cv_dlopen in
10314   dlopen)
10315     save_CPPFLAGS="$CPPFLAGS"
10316     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10317
10318     save_LDFLAGS="$LDFLAGS"
10319     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10320
10321     save_LIBS="$LIBS"
10322     LIBS="$lt_cv_dlopen_libs $LIBS"
10323
10324     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10325 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10326 if test "${lt_cv_dlopen_self+set}" = set; then :
10327   $as_echo_n "(cached) " >&6
10328 else
10329           if test "$cross_compiling" = yes; then :
10330   lt_cv_dlopen_self=cross
10331 else
10332   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10333   lt_status=$lt_dlunknown
10334   cat > conftest.$ac_ext <<_LT_EOF
10335 #line 10335 "configure"
10336 #include "confdefs.h"
10337
10338 #if HAVE_DLFCN_H
10339 #include <dlfcn.h>
10340 #endif
10341
10342 #include <stdio.h>
10343
10344 #ifdef RTLD_GLOBAL
10345 #  define LT_DLGLOBAL           RTLD_GLOBAL
10346 #else
10347 #  ifdef DL_GLOBAL
10348 #    define LT_DLGLOBAL         DL_GLOBAL
10349 #  else
10350 #    define LT_DLGLOBAL         0
10351 #  endif
10352 #endif
10353
10354 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10355    find out it does not work in some platform. */
10356 #ifndef LT_DLLAZY_OR_NOW
10357 #  ifdef RTLD_LAZY
10358 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10359 #  else
10360 #    ifdef DL_LAZY
10361 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10362 #    else
10363 #      ifdef RTLD_NOW
10364 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10365 #      else
10366 #        ifdef DL_NOW
10367 #          define LT_DLLAZY_OR_NOW      DL_NOW
10368 #        else
10369 #          define LT_DLLAZY_OR_NOW      0
10370 #        endif
10371 #      endif
10372 #    endif
10373 #  endif
10374 #endif
10375
10376 void fnord() { int i=42;}
10377 int main ()
10378 {
10379   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10380   int status = $lt_dlunknown;
10381
10382   if (self)
10383     {
10384       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10385       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10386       /* dlclose (self); */
10387     }
10388   else
10389     puts (dlerror ());
10390
10391   return status;
10392 }
10393 _LT_EOF
10394   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10395   (eval $ac_link) 2>&5
10396   ac_status=$?
10397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10398   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10399     (./conftest; exit; ) >&5 2>/dev/null
10400     lt_status=$?
10401     case x$lt_status in
10402       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10403       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10404       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10405     esac
10406   else :
10407     # compilation failed
10408     lt_cv_dlopen_self=no
10409   fi
10410 fi
10411 rm -fr conftest*
10412
10413
10414 fi
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10416 $as_echo "$lt_cv_dlopen_self" >&6; }
10417
10418     if test "x$lt_cv_dlopen_self" = xyes; then
10419       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10420       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10421 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10422 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10423   $as_echo_n "(cached) " >&6
10424 else
10425           if test "$cross_compiling" = yes; then :
10426   lt_cv_dlopen_self_static=cross
10427 else
10428   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10429   lt_status=$lt_dlunknown
10430   cat > conftest.$ac_ext <<_LT_EOF
10431 #line 10431 "configure"
10432 #include "confdefs.h"
10433
10434 #if HAVE_DLFCN_H
10435 #include <dlfcn.h>
10436 #endif
10437
10438 #include <stdio.h>
10439
10440 #ifdef RTLD_GLOBAL
10441 #  define LT_DLGLOBAL           RTLD_GLOBAL
10442 #else
10443 #  ifdef DL_GLOBAL
10444 #    define LT_DLGLOBAL         DL_GLOBAL
10445 #  else
10446 #    define LT_DLGLOBAL         0
10447 #  endif
10448 #endif
10449
10450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10451    find out it does not work in some platform. */
10452 #ifndef LT_DLLAZY_OR_NOW
10453 #  ifdef RTLD_LAZY
10454 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10455 #  else
10456 #    ifdef DL_LAZY
10457 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10458 #    else
10459 #      ifdef RTLD_NOW
10460 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10461 #      else
10462 #        ifdef DL_NOW
10463 #          define LT_DLLAZY_OR_NOW      DL_NOW
10464 #        else
10465 #          define LT_DLLAZY_OR_NOW      0
10466 #        endif
10467 #      endif
10468 #    endif
10469 #  endif
10470 #endif
10471
10472 void fnord() { int i=42;}
10473 int main ()
10474 {
10475   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10476   int status = $lt_dlunknown;
10477
10478   if (self)
10479     {
10480       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10481       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10482       /* dlclose (self); */
10483     }
10484   else
10485     puts (dlerror ());
10486
10487   return status;
10488 }
10489 _LT_EOF
10490   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10491   (eval $ac_link) 2>&5
10492   ac_status=$?
10493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10494   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10495     (./conftest; exit; ) >&5 2>/dev/null
10496     lt_status=$?
10497     case x$lt_status in
10498       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10499       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10500       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10501     esac
10502   else :
10503     # compilation failed
10504     lt_cv_dlopen_self_static=no
10505   fi
10506 fi
10507 rm -fr conftest*
10508
10509
10510 fi
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10512 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10513     fi
10514
10515     CPPFLAGS="$save_CPPFLAGS"
10516     LDFLAGS="$save_LDFLAGS"
10517     LIBS="$save_LIBS"
10518     ;;
10519   esac
10520
10521   case $lt_cv_dlopen_self in
10522   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10523   *) enable_dlopen_self=unknown ;;
10524   esac
10525
10526   case $lt_cv_dlopen_self_static in
10527   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10528   *) enable_dlopen_self_static=unknown ;;
10529   esac
10530 fi
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548 striplib=
10549 old_striplib=
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10551 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10552 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10553   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10554   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10556 $as_echo "yes" >&6; }
10557 else
10558 # FIXME - insert some real tests, host_os isn't really good enough
10559   case $host_os in
10560   darwin*)
10561     if test -n "$STRIP" ; then
10562       striplib="$STRIP -x"
10563       old_striplib="$STRIP -S"
10564       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10565 $as_echo "yes" >&6; }
10566     else
10567       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 $as_echo "no" >&6; }
10569     fi
10570     ;;
10571   *)
10572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10573 $as_echo "no" >&6; }
10574     ;;
10575   esac
10576 fi
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589   # Report which library types will actually be built
10590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10591 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10593 $as_echo "$can_build_shared" >&6; }
10594
10595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10596 $as_echo_n "checking whether to build shared libraries... " >&6; }
10597   test "$can_build_shared" = "no" && enable_shared=no
10598
10599   # On AIX, shared libraries and static libraries use the same namespace, and
10600   # are all built from PIC.
10601   case $host_os in
10602   aix3*)
10603     test "$enable_shared" = yes && enable_static=no
10604     if test -n "$RANLIB"; then
10605       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10606       postinstall_cmds='$RANLIB $lib'
10607     fi
10608     ;;
10609
10610   aix[4-9]*)
10611     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10612       test "$enable_shared" = yes && enable_static=no
10613     fi
10614     ;;
10615   esac
10616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10617 $as_echo "$enable_shared" >&6; }
10618
10619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10620 $as_echo_n "checking whether to build static libraries... " >&6; }
10621   # Make sure either enable_shared or enable_static is yes.
10622   test "$enable_shared" = yes || enable_static=yes
10623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10624 $as_echo "$enable_static" >&6; }
10625
10626
10627
10628
10629 fi
10630 ac_ext=c
10631 ac_cpp='$CPP $CPPFLAGS'
10632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10635
10636 CC="$lt_save_CC"
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650         ac_config_commands="$ac_config_commands libtool"
10651
10652
10653
10654
10655 # Only expand once:
10656
10657
10658
10659 # Check for programs
10660 ac_ext=c
10661 ac_cpp='$CPP $CPPFLAGS'
10662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10665 if test -n "$ac_tool_prefix"; then
10666   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10667 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10669 $as_echo_n "checking for $ac_word... " >&6; }
10670 if test "${ac_cv_prog_CC+set}" = set; then :
10671   $as_echo_n "(cached) " >&6
10672 else
10673   if test -n "$CC"; then
10674   ac_cv_prog_CC="$CC" # Let the user override the test.
10675 else
10676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10677 for as_dir in $PATH
10678 do
10679   IFS=$as_save_IFS
10680   test -z "$as_dir" && as_dir=.
10681     for ac_exec_ext in '' $ac_executable_extensions; do
10682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10683     ac_cv_prog_CC="${ac_tool_prefix}gcc"
10684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10685     break 2
10686   fi
10687 done
10688   done
10689 IFS=$as_save_IFS
10690
10691 fi
10692 fi
10693 CC=$ac_cv_prog_CC
10694 if test -n "$CC"; then
10695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10696 $as_echo "$CC" >&6; }
10697 else
10698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10699 $as_echo "no" >&6; }
10700 fi
10701
10702
10703 fi
10704 if test -z "$ac_cv_prog_CC"; then
10705   ac_ct_CC=$CC
10706   # Extract the first word of "gcc", so it can be a program name with args.
10707 set dummy gcc; ac_word=$2
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10709 $as_echo_n "checking for $ac_word... " >&6; }
10710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10711   $as_echo_n "(cached) " >&6
10712 else
10713   if test -n "$ac_ct_CC"; then
10714   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10715 else
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717 for as_dir in $PATH
10718 do
10719   IFS=$as_save_IFS
10720   test -z "$as_dir" && as_dir=.
10721     for ac_exec_ext in '' $ac_executable_extensions; do
10722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10723     ac_cv_prog_ac_ct_CC="gcc"
10724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10725     break 2
10726   fi
10727 done
10728   done
10729 IFS=$as_save_IFS
10730
10731 fi
10732 fi
10733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10734 if test -n "$ac_ct_CC"; then
10735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10736 $as_echo "$ac_ct_CC" >&6; }
10737 else
10738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10739 $as_echo "no" >&6; }
10740 fi
10741
10742   if test "x$ac_ct_CC" = x; then
10743     CC=""
10744   else
10745     case $cross_compiling:$ac_tool_warned in
10746 yes:)
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10749 ac_tool_warned=yes ;;
10750 esac
10751     CC=$ac_ct_CC
10752   fi
10753 else
10754   CC="$ac_cv_prog_CC"
10755 fi
10756
10757 if test -z "$CC"; then
10758           if test -n "$ac_tool_prefix"; then
10759     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10760 set dummy ${ac_tool_prefix}cc; ac_word=$2
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10762 $as_echo_n "checking for $ac_word... " >&6; }
10763 if test "${ac_cv_prog_CC+set}" = set; then :
10764   $as_echo_n "(cached) " >&6
10765 else
10766   if test -n "$CC"; then
10767   ac_cv_prog_CC="$CC" # Let the user override the test.
10768 else
10769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10770 for as_dir in $PATH
10771 do
10772   IFS=$as_save_IFS
10773   test -z "$as_dir" && as_dir=.
10774     for ac_exec_ext in '' $ac_executable_extensions; do
10775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10776     ac_cv_prog_CC="${ac_tool_prefix}cc"
10777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10778     break 2
10779   fi
10780 done
10781   done
10782 IFS=$as_save_IFS
10783
10784 fi
10785 fi
10786 CC=$ac_cv_prog_CC
10787 if test -n "$CC"; then
10788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10789 $as_echo "$CC" >&6; }
10790 else
10791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10792 $as_echo "no" >&6; }
10793 fi
10794
10795
10796   fi
10797 fi
10798 if test -z "$CC"; then
10799   # Extract the first word of "cc", so it can be a program name with args.
10800 set dummy cc; ac_word=$2
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10802 $as_echo_n "checking for $ac_word... " >&6; }
10803 if test "${ac_cv_prog_CC+set}" = set; then :
10804   $as_echo_n "(cached) " >&6
10805 else
10806   if test -n "$CC"; then
10807   ac_cv_prog_CC="$CC" # Let the user override the test.
10808 else
10809   ac_prog_rejected=no
10810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10811 for as_dir in $PATH
10812 do
10813   IFS=$as_save_IFS
10814   test -z "$as_dir" && as_dir=.
10815     for ac_exec_ext in '' $ac_executable_extensions; do
10816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10817     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10818        ac_prog_rejected=yes
10819        continue
10820      fi
10821     ac_cv_prog_CC="cc"
10822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10823     break 2
10824   fi
10825 done
10826   done
10827 IFS=$as_save_IFS
10828
10829 if test $ac_prog_rejected = yes; then
10830   # We found a bogon in the path, so make sure we never use it.
10831   set dummy $ac_cv_prog_CC
10832   shift
10833   if test $# != 0; then
10834     # We chose a different compiler from the bogus one.
10835     # However, it has the same basename, so the bogon will be chosen
10836     # first if we set CC to just the basename; use the full file name.
10837     shift
10838     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10839   fi
10840 fi
10841 fi
10842 fi
10843 CC=$ac_cv_prog_CC
10844 if test -n "$CC"; then
10845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10846 $as_echo "$CC" >&6; }
10847 else
10848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10849 $as_echo "no" >&6; }
10850 fi
10851
10852
10853 fi
10854 if test -z "$CC"; then
10855   if test -n "$ac_tool_prefix"; then
10856   for ac_prog in cl.exe
10857   do
10858     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10859 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10861 $as_echo_n "checking for $ac_word... " >&6; }
10862 if test "${ac_cv_prog_CC+set}" = set; then :
10863   $as_echo_n "(cached) " >&6
10864 else
10865   if test -n "$CC"; then
10866   ac_cv_prog_CC="$CC" # Let the user override the test.
10867 else
10868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869 for as_dir in $PATH
10870 do
10871   IFS=$as_save_IFS
10872   test -z "$as_dir" && as_dir=.
10873     for ac_exec_ext in '' $ac_executable_extensions; do
10874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10875     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10877     break 2
10878   fi
10879 done
10880   done
10881 IFS=$as_save_IFS
10882
10883 fi
10884 fi
10885 CC=$ac_cv_prog_CC
10886 if test -n "$CC"; then
10887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10888 $as_echo "$CC" >&6; }
10889 else
10890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10891 $as_echo "no" >&6; }
10892 fi
10893
10894
10895     test -n "$CC" && break
10896   done
10897 fi
10898 if test -z "$CC"; then
10899   ac_ct_CC=$CC
10900   for ac_prog in cl.exe
10901 do
10902   # Extract the first word of "$ac_prog", so it can be a program name with args.
10903 set dummy $ac_prog; ac_word=$2
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10905 $as_echo_n "checking for $ac_word... " >&6; }
10906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10907   $as_echo_n "(cached) " >&6
10908 else
10909   if test -n "$ac_ct_CC"; then
10910   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10911 else
10912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10913 for as_dir in $PATH
10914 do
10915   IFS=$as_save_IFS
10916   test -z "$as_dir" && as_dir=.
10917     for ac_exec_ext in '' $ac_executable_extensions; do
10918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10919     ac_cv_prog_ac_ct_CC="$ac_prog"
10920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10921     break 2
10922   fi
10923 done
10924   done
10925 IFS=$as_save_IFS
10926
10927 fi
10928 fi
10929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10930 if test -n "$ac_ct_CC"; then
10931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10932 $as_echo "$ac_ct_CC" >&6; }
10933 else
10934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10935 $as_echo "no" >&6; }
10936 fi
10937
10938
10939   test -n "$ac_ct_CC" && break
10940 done
10941
10942   if test "x$ac_ct_CC" = x; then
10943     CC=""
10944   else
10945     case $cross_compiling:$ac_tool_warned in
10946 yes:)
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10949 ac_tool_warned=yes ;;
10950 esac
10951     CC=$ac_ct_CC
10952   fi
10953 fi
10954
10955 fi
10956
10957
10958 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10960 as_fn_error "no acceptable C compiler found in \$PATH
10961 See \`config.log' for more details." "$LINENO" 5; }
10962
10963 # Provide some information about the compiler.
10964 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10965 set X $ac_compile
10966 ac_compiler=$2
10967 for ac_option in --version -v -V -qversion; do
10968   { { ac_try="$ac_compiler $ac_option >&5"
10969 case "(($ac_try" in
10970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10971   *) ac_try_echo=$ac_try;;
10972 esac
10973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10974 $as_echo "$ac_try_echo"; } >&5
10975   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10976   ac_status=$?
10977   if test -s conftest.err; then
10978     sed '10a\
10979 ... rest of stderr output deleted ...
10980          10q' conftest.err >conftest.er1
10981     cat conftest.er1 >&5
10982   fi
10983   rm -f conftest.er1 conftest.err
10984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10985   test $ac_status = 0; }
10986 done
10987
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10989 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10990 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10991   $as_echo_n "(cached) " >&6
10992 else
10993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h.  */
10995
10996 int
10997 main ()
10998 {
10999 #ifndef __GNUC__
11000        choke me
11001 #endif
11002
11003   ;
11004   return 0;
11005 }
11006 _ACEOF
11007 if ac_fn_c_try_compile "$LINENO"; then :
11008   ac_compiler_gnu=yes
11009 else
11010   ac_compiler_gnu=no
11011 fi
11012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11013 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11014
11015 fi
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11017 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11018 if test $ac_compiler_gnu = yes; then
11019   GCC=yes
11020 else
11021   GCC=
11022 fi
11023 ac_test_CFLAGS=${CFLAGS+set}
11024 ac_save_CFLAGS=$CFLAGS
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11026 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11027 if test "${ac_cv_prog_cc_g+set}" = set; then :
11028   $as_echo_n "(cached) " >&6
11029 else
11030   ac_save_c_werror_flag=$ac_c_werror_flag
11031    ac_c_werror_flag=yes
11032    ac_cv_prog_cc_g=no
11033    CFLAGS="-g"
11034    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h.  */
11036
11037 int
11038 main ()
11039 {
11040
11041   ;
11042   return 0;
11043 }
11044 _ACEOF
11045 if ac_fn_c_try_compile "$LINENO"; then :
11046   ac_cv_prog_cc_g=yes
11047 else
11048   CFLAGS=""
11049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h.  */
11051
11052 int
11053 main ()
11054 {
11055
11056   ;
11057   return 0;
11058 }
11059 _ACEOF
11060 if ac_fn_c_try_compile "$LINENO"; then :
11061
11062 else
11063   ac_c_werror_flag=$ac_save_c_werror_flag
11064          CFLAGS="-g"
11065          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h.  */
11067
11068 int
11069 main ()
11070 {
11071
11072   ;
11073   return 0;
11074 }
11075 _ACEOF
11076 if ac_fn_c_try_compile "$LINENO"; then :
11077   ac_cv_prog_cc_g=yes
11078 fi
11079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11080 fi
11081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11082 fi
11083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11084    ac_c_werror_flag=$ac_save_c_werror_flag
11085 fi
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11087 $as_echo "$ac_cv_prog_cc_g" >&6; }
11088 if test "$ac_test_CFLAGS" = set; then
11089   CFLAGS=$ac_save_CFLAGS
11090 elif test $ac_cv_prog_cc_g = yes; then
11091   if test "$GCC" = yes; then
11092     CFLAGS="-g -O2"
11093   else
11094     CFLAGS="-g"
11095   fi
11096 else
11097   if test "$GCC" = yes; then
11098     CFLAGS="-O2"
11099   else
11100     CFLAGS=
11101   fi
11102 fi
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11104 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11105 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11106   $as_echo_n "(cached) " >&6
11107 else
11108   ac_cv_prog_cc_c89=no
11109 ac_save_CC=$CC
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h.  */
11112 #include <stdarg.h>
11113 #include <stdio.h>
11114 #include <sys/types.h>
11115 #include <sys/stat.h>
11116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11117 struct buf { int x; };
11118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11119 static char *e (p, i)
11120      char **p;
11121      int i;
11122 {
11123   return p[i];
11124 }
11125 static char *f (char * (*g) (char **, int), char **p, ...)
11126 {
11127   char *s;
11128   va_list v;
11129   va_start (v,p);
11130   s = g (p, va_arg (v,int));
11131   va_end (v);
11132   return s;
11133 }
11134
11135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11136    function prototypes and stuff, but not '\xHH' hex character constants.
11137    These don't provoke an error unfortunately, instead are silently treated
11138    as 'x'.  The following induces an error, until -std is added to get
11139    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11140    array size at least.  It's necessary to write '\x00'==0 to get something
11141    that's true only with -std.  */
11142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11143
11144 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11145    inside strings and character constants.  */
11146 #define FOO(x) 'x'
11147 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11148
11149 int test (int i, double x);
11150 struct s1 {int (*f) (int a);};
11151 struct s2 {int (*f) (double a);};
11152 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11153 int argc;
11154 char **argv;
11155 int
11156 main ()
11157 {
11158 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11159   ;
11160   return 0;
11161 }
11162 _ACEOF
11163 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11164         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11165 do
11166   CC="$ac_save_CC $ac_arg"
11167   if ac_fn_c_try_compile "$LINENO"; then :
11168   ac_cv_prog_cc_c89=$ac_arg
11169 fi
11170 rm -f core conftest.err conftest.$ac_objext
11171   test "x$ac_cv_prog_cc_c89" != "xno" && break
11172 done
11173 rm -f conftest.$ac_ext
11174 CC=$ac_save_CC
11175
11176 fi
11177 # AC_CACHE_VAL
11178 case "x$ac_cv_prog_cc_c89" in
11179   x)
11180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11181 $as_echo "none needed" >&6; } ;;
11182   xno)
11183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11184 $as_echo "unsupported" >&6; } ;;
11185   *)
11186     CC="$CC $ac_cv_prog_cc_c89"
11187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11188 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11189 esac
11190 if test "x$ac_cv_prog_cc_c89" != xno; then :
11191
11192 fi
11193
11194 ac_ext=c
11195 ac_cpp='$CPP $CPPFLAGS'
11196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11199
11200 depcc="$CC"   am_compiler_list=
11201
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11203 $as_echo_n "checking dependency style of $depcc... " >&6; }
11204 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11205   $as_echo_n "(cached) " >&6
11206 else
11207   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11208   # We make a subdir and do the tests there.  Otherwise we can end up
11209   # making bogus files that we don't know about and never remove.  For
11210   # instance it was reported that on HP-UX the gcc test will end up
11211   # making a dummy file named `D' -- because `-MD' means `put the output
11212   # in D'.
11213   mkdir conftest.dir
11214   # Copy depcomp to subdir because otherwise we won't find it if we're
11215   # using a relative directory.
11216   cp "$am_depcomp" conftest.dir
11217   cd conftest.dir
11218   # We will build objects and dependencies in a subdirectory because
11219   # it helps to detect inapplicable dependency modes.  For instance
11220   # both Tru64's cc and ICC support -MD to output dependencies as a
11221   # side effect of compilation, but ICC will put the dependencies in
11222   # the current directory while Tru64 will put them in the object
11223   # directory.
11224   mkdir sub
11225
11226   am_cv_CC_dependencies_compiler_type=none
11227   if test "$am_compiler_list" = ""; then
11228      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11229   fi
11230   am__universal=false
11231   case " $depcc " in #(
11232      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11233      esac
11234
11235   for depmode in $am_compiler_list; do
11236     # Setup a source with many dependencies, because some compilers
11237     # like to wrap large dependency lists on column 80 (with \), and
11238     # we should not choose a depcomp mode which is confused by this.
11239     #
11240     # We need to recreate these files for each test, as the compiler may
11241     # overwrite some of them when testing with obscure command lines.
11242     # This happens at least with the AIX C compiler.
11243     : > sub/conftest.c
11244     for i in 1 2 3 4 5 6; do
11245       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11246       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11247       # Solaris 8's {/usr,}/bin/sh.
11248       touch sub/conftst$i.h
11249     done
11250     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11251
11252     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11253     # mode.  It turns out that the SunPro C++ compiler does not properly
11254     # handle `-M -o', and we need to detect this.  Also, some Intel
11255     # versions had trouble with output in subdirs
11256     am__obj=sub/conftest.${OBJEXT-o}
11257     am__minus_obj="-o $am__obj"
11258     case $depmode in
11259     gcc)
11260       # This depmode causes a compiler race in universal mode.
11261       test "$am__universal" = false || continue
11262       ;;
11263     nosideeffect)
11264       # after this tag, mechanisms are not by side-effect, so they'll
11265       # only be used when explicitly requested
11266       if test "x$enable_dependency_tracking" = xyes; then
11267         continue
11268       else
11269         break
11270       fi
11271       ;;
11272     msvisualcpp | msvcmsys)
11273       # This compiler won't grok `-c -o', but also, the minuso test has
11274       # not run yet.  These depmodes are late enough in the game, and
11275       # so weak that their functioning should not be impacted.
11276       am__obj=conftest.${OBJEXT-o}
11277       am__minus_obj=
11278       ;;
11279     none) break ;;
11280     esac
11281     if depmode=$depmode \
11282        source=sub/conftest.c object=$am__obj \
11283        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11284        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11285          >/dev/null 2>conftest.err &&
11286        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11287        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11288        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11289        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11290       # icc doesn't choke on unknown options, it will just issue warnings
11291       # or remarks (even with -Werror).  So we grep stderr for any message
11292       # that says an option was ignored or not supported.
11293       # When given -MP, icc 7.0 and 7.1 complain thusly:
11294       #   icc: Command line warning: ignoring option '-M'; no argument required
11295       # The diagnosis changed in icc 8.0:
11296       #   icc: Command line remark: option '-MP' not supported
11297       if (grep 'ignoring option' conftest.err ||
11298           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11299         am_cv_CC_dependencies_compiler_type=$depmode
11300         break
11301       fi
11302     fi
11303   done
11304
11305   cd ..
11306   rm -rf conftest.dir
11307 else
11308   am_cv_CC_dependencies_compiler_type=none
11309 fi
11310
11311 fi
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11313 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11314 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11315
11316  if
11317   test "x$enable_dependency_tracking" != xno \
11318   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11319   am__fastdepCC_TRUE=
11320   am__fastdepCC_FALSE='#'
11321 else
11322   am__fastdepCC_TRUE='#'
11323   am__fastdepCC_FALSE=
11324 fi
11325
11326
11327 if test "x$CC" != xcc; then
11328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11329 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11330 else
11331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11332 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11333 fi
11334 set dummy $CC; ac_cc=`$as_echo "$2" |
11335                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11336 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11337   $as_echo_n "(cached) " >&6
11338 else
11339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h.  */
11341
11342 int
11343 main ()
11344 {
11345
11346   ;
11347   return 0;
11348 }
11349 _ACEOF
11350 # Make sure it works both with $CC and with simple cc.
11351 # We do the test twice because some compilers refuse to overwrite an
11352 # existing .o file with -o, though they will create one.
11353 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11354 rm -f conftest2.*
11355 if { { case "(($ac_try" in
11356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11357   *) ac_try_echo=$ac_try;;
11358 esac
11359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11360 $as_echo "$ac_try_echo"; } >&5
11361   (eval "$ac_try") 2>&5
11362   ac_status=$?
11363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11364   test $ac_status = 0; } &&
11365    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367   *) ac_try_echo=$ac_try;;
11368 esac
11369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11370 $as_echo "$ac_try_echo"; } >&5
11371   (eval "$ac_try") 2>&5
11372   ac_status=$?
11373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11374   test $ac_status = 0; };
11375 then
11376   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11377   if test "x$CC" != xcc; then
11378     # Test first that cc exists at all.
11379     if { ac_try='cc -c conftest.$ac_ext >&5'
11380   { { case "(($ac_try" in
11381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11382   *) ac_try_echo=$ac_try;;
11383 esac
11384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11385 $as_echo "$ac_try_echo"; } >&5
11386   (eval "$ac_try") 2>&5
11387   ac_status=$?
11388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11389   test $ac_status = 0; }; }; then
11390       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11391       rm -f conftest2.*
11392       if { { case "(($ac_try" in
11393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394   *) ac_try_echo=$ac_try;;
11395 esac
11396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11397 $as_echo "$ac_try_echo"; } >&5
11398   (eval "$ac_try") 2>&5
11399   ac_status=$?
11400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11401   test $ac_status = 0; } &&
11402          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11404   *) ac_try_echo=$ac_try;;
11405 esac
11406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11407 $as_echo "$ac_try_echo"; } >&5
11408   (eval "$ac_try") 2>&5
11409   ac_status=$?
11410   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11411   test $ac_status = 0; };
11412       then
11413         # cc works too.
11414         :
11415       else
11416         # cc exists but doesn't like -o.
11417         eval ac_cv_prog_cc_${ac_cc}_c_o=no
11418       fi
11419     fi
11420   fi
11421 else
11422   eval ac_cv_prog_cc_${ac_cc}_c_o=no
11423 fi
11424 rm -f core conftest*
11425
11426 fi
11427 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11429 $as_echo "yes" >&6; }
11430 else
11431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11432 $as_echo "no" >&6; }
11433
11434 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11435
11436 fi
11437
11438 # FIXME: we rely on the cache variable name because
11439 # there is no other way.
11440 set dummy $CC
11441 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11442 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11443 if test "$am_t" != yes; then
11444    # Losing compiler, so override with the script.
11445    # FIXME: It is wrong to rewrite CC.
11446    # But if we don't then we get into trouble of one sort or another.
11447    # A longer-term fix would be to have automake use am__CC in this case,
11448    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11449    CC="$am_aux_dir/compile $CC"
11450 fi
11451
11452
11453 ac_ext=cpp
11454 ac_cpp='$CXXCPP $CPPFLAGS'
11455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11458 if test -z "$CXX"; then
11459   if test -n "$CCC"; then
11460     CXX=$CCC
11461   else
11462     if test -n "$ac_tool_prefix"; then
11463   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11464   do
11465     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11468 $as_echo_n "checking for $ac_word... " >&6; }
11469 if test "${ac_cv_prog_CXX+set}" = set; then :
11470   $as_echo_n "(cached) " >&6
11471 else
11472   if test -n "$CXX"; then
11473   ac_cv_prog_CXX="$CXX" # Let the user override the test.
11474 else
11475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11476 for as_dir in $PATH
11477 do
11478   IFS=$as_save_IFS
11479   test -z "$as_dir" && as_dir=.
11480     for ac_exec_ext in '' $ac_executable_extensions; do
11481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11482     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11484     break 2
11485   fi
11486 done
11487   done
11488 IFS=$as_save_IFS
11489
11490 fi
11491 fi
11492 CXX=$ac_cv_prog_CXX
11493 if test -n "$CXX"; then
11494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11495 $as_echo "$CXX" >&6; }
11496 else
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11498 $as_echo "no" >&6; }
11499 fi
11500
11501
11502     test -n "$CXX" && break
11503   done
11504 fi
11505 if test -z "$CXX"; then
11506   ac_ct_CXX=$CXX
11507   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11508 do
11509   # Extract the first word of "$ac_prog", so it can be a program name with args.
11510 set dummy $ac_prog; ac_word=$2
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11512 $as_echo_n "checking for $ac_word... " >&6; }
11513 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11514   $as_echo_n "(cached) " >&6
11515 else
11516   if test -n "$ac_ct_CXX"; then
11517   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11518 else
11519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11520 for as_dir in $PATH
11521 do
11522   IFS=$as_save_IFS
11523   test -z "$as_dir" && as_dir=.
11524     for ac_exec_ext in '' $ac_executable_extensions; do
11525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11526     ac_cv_prog_ac_ct_CXX="$ac_prog"
11527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11528     break 2
11529   fi
11530 done
11531   done
11532 IFS=$as_save_IFS
11533
11534 fi
11535 fi
11536 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11537 if test -n "$ac_ct_CXX"; then
11538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11539 $as_echo "$ac_ct_CXX" >&6; }
11540 else
11541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11542 $as_echo "no" >&6; }
11543 fi
11544
11545
11546   test -n "$ac_ct_CXX" && break
11547 done
11548
11549   if test "x$ac_ct_CXX" = x; then
11550     CXX="g++"
11551   else
11552     case $cross_compiling:$ac_tool_warned in
11553 yes:)
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11556 ac_tool_warned=yes ;;
11557 esac
11558     CXX=$ac_ct_CXX
11559   fi
11560 fi
11561
11562   fi
11563 fi
11564 # Provide some information about the compiler.
11565 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11566 set X $ac_compile
11567 ac_compiler=$2
11568 for ac_option in --version -v -V -qversion; do
11569   { { ac_try="$ac_compiler $ac_option >&5"
11570 case "(($ac_try" in
11571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11572   *) ac_try_echo=$ac_try;;
11573 esac
11574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11575 $as_echo "$ac_try_echo"; } >&5
11576   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11577   ac_status=$?
11578   if test -s conftest.err; then
11579     sed '10a\
11580 ... rest of stderr output deleted ...
11581          10q' conftest.err >conftest.er1
11582     cat conftest.er1 >&5
11583   fi
11584   rm -f conftest.er1 conftest.err
11585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11586   test $ac_status = 0; }
11587 done
11588
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11590 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11591 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11592   $as_echo_n "(cached) " >&6
11593 else
11594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h.  */
11596
11597 int
11598 main ()
11599 {
11600 #ifndef __GNUC__
11601        choke me
11602 #endif
11603
11604   ;
11605   return 0;
11606 }
11607 _ACEOF
11608 if ac_fn_cxx_try_compile "$LINENO"; then :
11609   ac_compiler_gnu=yes
11610 else
11611   ac_compiler_gnu=no
11612 fi
11613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11614 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11615
11616 fi
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11618 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11619 if test $ac_compiler_gnu = yes; then
11620   GXX=yes
11621 else
11622   GXX=
11623 fi
11624 ac_test_CXXFLAGS=${CXXFLAGS+set}
11625 ac_save_CXXFLAGS=$CXXFLAGS
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11627 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11628 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11629   $as_echo_n "(cached) " >&6
11630 else
11631   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11632    ac_cxx_werror_flag=yes
11633    ac_cv_prog_cxx_g=no
11634    CXXFLAGS="-g"
11635    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h.  */
11637
11638 int
11639 main ()
11640 {
11641
11642   ;
11643   return 0;
11644 }
11645 _ACEOF
11646 if ac_fn_cxx_try_compile "$LINENO"; then :
11647   ac_cv_prog_cxx_g=yes
11648 else
11649   CXXFLAGS=""
11650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h.  */
11652
11653 int
11654 main ()
11655 {
11656
11657   ;
11658   return 0;
11659 }
11660 _ACEOF
11661 if ac_fn_cxx_try_compile "$LINENO"; then :
11662
11663 else
11664   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11665          CXXFLAGS="-g"
11666          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h.  */
11668
11669 int
11670 main ()
11671 {
11672
11673   ;
11674   return 0;
11675 }
11676 _ACEOF
11677 if ac_fn_cxx_try_compile "$LINENO"; then :
11678   ac_cv_prog_cxx_g=yes
11679 fi
11680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11681 fi
11682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11683 fi
11684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11685    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11688 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11689 if test "$ac_test_CXXFLAGS" = set; then
11690   CXXFLAGS=$ac_save_CXXFLAGS
11691 elif test $ac_cv_prog_cxx_g = yes; then
11692   if test "$GXX" = yes; then
11693     CXXFLAGS="-g -O2"
11694   else
11695     CXXFLAGS="-g"
11696   fi
11697 else
11698   if test "$GXX" = yes; then
11699     CXXFLAGS="-O2"
11700   else
11701     CXXFLAGS=
11702   fi
11703 fi
11704 ac_ext=c
11705 ac_cpp='$CPP $CPPFLAGS'
11706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11709
11710 depcc="$CXX"  am_compiler_list=
11711
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11713 $as_echo_n "checking dependency style of $depcc... " >&6; }
11714 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11715   $as_echo_n "(cached) " >&6
11716 else
11717   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11718   # We make a subdir and do the tests there.  Otherwise we can end up
11719   # making bogus files that we don't know about and never remove.  For
11720   # instance it was reported that on HP-UX the gcc test will end up
11721   # making a dummy file named `D' -- because `-MD' means `put the output
11722   # in D'.
11723   mkdir conftest.dir
11724   # Copy depcomp to subdir because otherwise we won't find it if we're
11725   # using a relative directory.
11726   cp "$am_depcomp" conftest.dir
11727   cd conftest.dir
11728   # We will build objects and dependencies in a subdirectory because
11729   # it helps to detect inapplicable dependency modes.  For instance
11730   # both Tru64's cc and ICC support -MD to output dependencies as a
11731   # side effect of compilation, but ICC will put the dependencies in
11732   # the current directory while Tru64 will put them in the object
11733   # directory.
11734   mkdir sub
11735
11736   am_cv_CXX_dependencies_compiler_type=none
11737   if test "$am_compiler_list" = ""; then
11738      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11739   fi
11740   am__universal=false
11741   case " $depcc " in #(
11742      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11743      esac
11744
11745   for depmode in $am_compiler_list; do
11746     # Setup a source with many dependencies, because some compilers
11747     # like to wrap large dependency lists on column 80 (with \), and
11748     # we should not choose a depcomp mode which is confused by this.
11749     #
11750     # We need to recreate these files for each test, as the compiler may
11751     # overwrite some of them when testing with obscure command lines.
11752     # This happens at least with the AIX C compiler.
11753     : > sub/conftest.c
11754     for i in 1 2 3 4 5 6; do
11755       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11756       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11757       # Solaris 8's {/usr,}/bin/sh.
11758       touch sub/conftst$i.h
11759     done
11760     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11761
11762     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11763     # mode.  It turns out that the SunPro C++ compiler does not properly
11764     # handle `-M -o', and we need to detect this.  Also, some Intel
11765     # versions had trouble with output in subdirs
11766     am__obj=sub/conftest.${OBJEXT-o}
11767     am__minus_obj="-o $am__obj"
11768     case $depmode in
11769     gcc)
11770       # This depmode causes a compiler race in universal mode.
11771       test "$am__universal" = false || continue
11772       ;;
11773     nosideeffect)
11774       # after this tag, mechanisms are not by side-effect, so they'll
11775       # only be used when explicitly requested
11776       if test "x$enable_dependency_tracking" = xyes; then
11777         continue
11778       else
11779         break
11780       fi
11781       ;;
11782     msvisualcpp | msvcmsys)
11783       # This compiler won't grok `-c -o', but also, the minuso test has
11784       # not run yet.  These depmodes are late enough in the game, and
11785       # so weak that their functioning should not be impacted.
11786       am__obj=conftest.${OBJEXT-o}
11787       am__minus_obj=
11788       ;;
11789     none) break ;;
11790     esac
11791     if depmode=$depmode \
11792        source=sub/conftest.c object=$am__obj \
11793        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11794        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11795          >/dev/null 2>conftest.err &&
11796        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11797        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11798        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11799        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11800       # icc doesn't choke on unknown options, it will just issue warnings
11801       # or remarks (even with -Werror).  So we grep stderr for any message
11802       # that says an option was ignored or not supported.
11803       # When given -MP, icc 7.0 and 7.1 complain thusly:
11804       #   icc: Command line warning: ignoring option '-M'; no argument required
11805       # The diagnosis changed in icc 8.0:
11806       #   icc: Command line remark: option '-MP' not supported
11807       if (grep 'ignoring option' conftest.err ||
11808           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11809         am_cv_CXX_dependencies_compiler_type=$depmode
11810         break
11811       fi
11812     fi
11813   done
11814
11815   cd ..
11816   rm -rf conftest.dir
11817 else
11818   am_cv_CXX_dependencies_compiler_type=none
11819 fi
11820
11821 fi
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11823 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11824 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11825
11826  if
11827   test "x$enable_dependency_tracking" != xno \
11828   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11829   am__fastdepCXX_TRUE=
11830   am__fastdepCXX_FALSE='#'
11831 else
11832   am__fastdepCXX_TRUE='#'
11833   am__fastdepCXX_FALSE=
11834 fi
11835
11836
11837
11838 ac_ext=cpp
11839 ac_cpp='$CXXCPP $CPPFLAGS'
11840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11843 if test -z "$CXX"; then
11844   if test -n "$CCC"; then
11845     CXX=$CCC
11846   else
11847     if test -n "$ac_tool_prefix"; then
11848   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11849   do
11850     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11853 $as_echo_n "checking for $ac_word... " >&6; }
11854 if test "${ac_cv_prog_CXX+set}" = set; then :
11855   $as_echo_n "(cached) " >&6
11856 else
11857   if test -n "$CXX"; then
11858   ac_cv_prog_CXX="$CXX" # Let the user override the test.
11859 else
11860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11861 for as_dir in $PATH
11862 do
11863   IFS=$as_save_IFS
11864   test -z "$as_dir" && as_dir=.
11865     for ac_exec_ext in '' $ac_executable_extensions; do
11866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11867     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11869     break 2
11870   fi
11871 done
11872   done
11873 IFS=$as_save_IFS
11874
11875 fi
11876 fi
11877 CXX=$ac_cv_prog_CXX
11878 if test -n "$CXX"; then
11879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11880 $as_echo "$CXX" >&6; }
11881 else
11882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11883 $as_echo "no" >&6; }
11884 fi
11885
11886
11887     test -n "$CXX" && break
11888   done
11889 fi
11890 if test -z "$CXX"; then
11891   ac_ct_CXX=$CXX
11892   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11893 do
11894   # Extract the first word of "$ac_prog", so it can be a program name with args.
11895 set dummy $ac_prog; ac_word=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11897 $as_echo_n "checking for $ac_word... " >&6; }
11898 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11899   $as_echo_n "(cached) " >&6
11900 else
11901   if test -n "$ac_ct_CXX"; then
11902   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11903 else
11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
11906 do
11907   IFS=$as_save_IFS
11908   test -z "$as_dir" && as_dir=.
11909     for ac_exec_ext in '' $ac_executable_extensions; do
11910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11911     ac_cv_prog_ac_ct_CXX="$ac_prog"
11912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11913     break 2
11914   fi
11915 done
11916   done
11917 IFS=$as_save_IFS
11918
11919 fi
11920 fi
11921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11922 if test -n "$ac_ct_CXX"; then
11923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11924 $as_echo "$ac_ct_CXX" >&6; }
11925 else
11926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11927 $as_echo "no" >&6; }
11928 fi
11929
11930
11931   test -n "$ac_ct_CXX" && break
11932 done
11933
11934   if test "x$ac_ct_CXX" = x; then
11935     CXX="g++"
11936   else
11937     case $cross_compiling:$ac_tool_warned in
11938 yes:)
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11941 ac_tool_warned=yes ;;
11942 esac
11943     CXX=$ac_ct_CXX
11944   fi
11945 fi
11946
11947   fi
11948 fi
11949 # Provide some information about the compiler.
11950 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11951 set X $ac_compile
11952 ac_compiler=$2
11953 for ac_option in --version -v -V -qversion; do
11954   { { ac_try="$ac_compiler $ac_option >&5"
11955 case "(($ac_try" in
11956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11957   *) ac_try_echo=$ac_try;;
11958 esac
11959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11960 $as_echo "$ac_try_echo"; } >&5
11961   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11962   ac_status=$?
11963   if test -s conftest.err; then
11964     sed '10a\
11965 ... rest of stderr output deleted ...
11966          10q' conftest.err >conftest.er1
11967     cat conftest.er1 >&5
11968   fi
11969   rm -f conftest.er1 conftest.err
11970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11971   test $ac_status = 0; }
11972 done
11973
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11975 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11976 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11977   $as_echo_n "(cached) " >&6
11978 else
11979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h.  */
11981
11982 int
11983 main ()
11984 {
11985 #ifndef __GNUC__
11986        choke me
11987 #endif
11988
11989   ;
11990   return 0;
11991 }
11992 _ACEOF
11993 if ac_fn_cxx_try_compile "$LINENO"; then :
11994   ac_compiler_gnu=yes
11995 else
11996   ac_compiler_gnu=no
11997 fi
11998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11999 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12000
12001 fi
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12003 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12004 if test $ac_compiler_gnu = yes; then
12005   GXX=yes
12006 else
12007   GXX=
12008 fi
12009 ac_test_CXXFLAGS=${CXXFLAGS+set}
12010 ac_save_CXXFLAGS=$CXXFLAGS
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12012 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12013 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12014   $as_echo_n "(cached) " >&6
12015 else
12016   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12017    ac_cxx_werror_flag=yes
12018    ac_cv_prog_cxx_g=no
12019    CXXFLAGS="-g"
12020    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h.  */
12022
12023 int
12024 main ()
12025 {
12026
12027   ;
12028   return 0;
12029 }
12030 _ACEOF
12031 if ac_fn_cxx_try_compile "$LINENO"; then :
12032   ac_cv_prog_cxx_g=yes
12033 else
12034   CXXFLAGS=""
12035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h.  */
12037
12038 int
12039 main ()
12040 {
12041
12042   ;
12043   return 0;
12044 }
12045 _ACEOF
12046 if ac_fn_cxx_try_compile "$LINENO"; then :
12047
12048 else
12049   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12050          CXXFLAGS="-g"
12051          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h.  */
12053
12054 int
12055 main ()
12056 {
12057
12058   ;
12059   return 0;
12060 }
12061 _ACEOF
12062 if ac_fn_cxx_try_compile "$LINENO"; then :
12063   ac_cv_prog_cxx_g=yes
12064 fi
12065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12066 fi
12067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12068 fi
12069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12070    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12071 fi
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12073 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12074 if test "$ac_test_CXXFLAGS" = set; then
12075   CXXFLAGS=$ac_save_CXXFLAGS
12076 elif test $ac_cv_prog_cxx_g = yes; then
12077   if test "$GXX" = yes; then
12078     CXXFLAGS="-g -O2"
12079   else
12080     CXXFLAGS="-g"
12081   fi
12082 else
12083   if test "$GXX" = yes; then
12084     CXXFLAGS="-O2"
12085   else
12086     CXXFLAGS=
12087   fi
12088 fi
12089 ac_ext=c
12090 ac_cpp='$CPP $CPPFLAGS'
12091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12094
12095 depcc="$CXX"  am_compiler_list=
12096
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12098 $as_echo_n "checking dependency style of $depcc... " >&6; }
12099 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
12100   $as_echo_n "(cached) " >&6
12101 else
12102   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12103   # We make a subdir and do the tests there.  Otherwise we can end up
12104   # making bogus files that we don't know about and never remove.  For
12105   # instance it was reported that on HP-UX the gcc test will end up
12106   # making a dummy file named `D' -- because `-MD' means `put the output
12107   # in D'.
12108   mkdir conftest.dir
12109   # Copy depcomp to subdir because otherwise we won't find it if we're
12110   # using a relative directory.
12111   cp "$am_depcomp" conftest.dir
12112   cd conftest.dir
12113   # We will build objects and dependencies in a subdirectory because
12114   # it helps to detect inapplicable dependency modes.  For instance
12115   # both Tru64's cc and ICC support -MD to output dependencies as a
12116   # side effect of compilation, but ICC will put the dependencies in
12117   # the current directory while Tru64 will put them in the object
12118   # directory.
12119   mkdir sub
12120
12121   am_cv_CXX_dependencies_compiler_type=none
12122   if test "$am_compiler_list" = ""; then
12123      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12124   fi
12125   am__universal=false
12126   case " $depcc " in #(
12127      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12128      esac
12129
12130   for depmode in $am_compiler_list; do
12131     # Setup a source with many dependencies, because some compilers
12132     # like to wrap large dependency lists on column 80 (with \), and
12133     # we should not choose a depcomp mode which is confused by this.
12134     #
12135     # We need to recreate these files for each test, as the compiler may
12136     # overwrite some of them when testing with obscure command lines.
12137     # This happens at least with the AIX C compiler.
12138     : > sub/conftest.c
12139     for i in 1 2 3 4 5 6; do
12140       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12141       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12142       # Solaris 8's {/usr,}/bin/sh.
12143       touch sub/conftst$i.h
12144     done
12145     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12146
12147     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12148     # mode.  It turns out that the SunPro C++ compiler does not properly
12149     # handle `-M -o', and we need to detect this.  Also, some Intel
12150     # versions had trouble with output in subdirs
12151     am__obj=sub/conftest.${OBJEXT-o}
12152     am__minus_obj="-o $am__obj"
12153     case $depmode in
12154     gcc)
12155       # This depmode causes a compiler race in universal mode.
12156       test "$am__universal" = false || continue
12157       ;;
12158     nosideeffect)
12159       # after this tag, mechanisms are not by side-effect, so they'll
12160       # only be used when explicitly requested
12161       if test "x$enable_dependency_tracking" = xyes; then
12162         continue
12163       else
12164         break
12165       fi
12166       ;;
12167     msvisualcpp | msvcmsys)
12168       # This compiler won't grok `-c -o', but also, the minuso test has
12169       # not run yet.  These depmodes are late enough in the game, and
12170       # so weak that their functioning should not be impacted.
12171       am__obj=conftest.${OBJEXT-o}
12172       am__minus_obj=
12173       ;;
12174     none) break ;;
12175     esac
12176     if depmode=$depmode \
12177        source=sub/conftest.c object=$am__obj \
12178        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12179        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12180          >/dev/null 2>conftest.err &&
12181        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12182        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12183        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12184        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12185       # icc doesn't choke on unknown options, it will just issue warnings
12186       # or remarks (even with -Werror).  So we grep stderr for any message
12187       # that says an option was ignored or not supported.
12188       # When given -MP, icc 7.0 and 7.1 complain thusly:
12189       #   icc: Command line warning: ignoring option '-M'; no argument required
12190       # The diagnosis changed in icc 8.0:
12191       #   icc: Command line remark: option '-MP' not supported
12192       if (grep 'ignoring option' conftest.err ||
12193           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12194         am_cv_CXX_dependencies_compiler_type=$depmode
12195         break
12196       fi
12197     fi
12198   done
12199
12200   cd ..
12201   rm -rf conftest.dir
12202 else
12203   am_cv_CXX_dependencies_compiler_type=none
12204 fi
12205
12206 fi
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12208 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12209 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12210
12211  if
12212   test "x$enable_dependency_tracking" != xno \
12213   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12214   am__fastdepCXX_TRUE=
12215   am__fastdepCXX_FALSE='#'
12216 else
12217   am__fastdepCXX_TRUE='#'
12218   am__fastdepCXX_FALSE=
12219 fi
12220
12221
12222 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12223     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12224     (test "X$CXX" != "Xg++"))) ; then
12225   ac_ext=cpp
12226 ac_cpp='$CXXCPP $CPPFLAGS'
12227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12231 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12232 if test -z "$CXXCPP"; then
12233   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12234   $as_echo_n "(cached) " >&6
12235 else
12236       # Double quotes because CXXCPP needs to be expanded
12237     for CXXCPP in "$CXX -E" "/lib/cpp"
12238     do
12239       ac_preproc_ok=false
12240 for ac_cxx_preproc_warn_flag in '' yes
12241 do
12242   # Use a header file that comes with gcc, so configuring glibc
12243   # with a fresh cross-compiler works.
12244   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12245   # <limits.h> exists even on freestanding compilers.
12246   # On the NeXT, cc -E runs the code through the compiler's parser,
12247   # not just through cpp. "Syntax error" is here to catch this case.
12248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h.  */
12250 #ifdef __STDC__
12251 # include <limits.h>
12252 #else
12253 # include <assert.h>
12254 #endif
12255                      Syntax error
12256 _ACEOF
12257 if ac_fn_cxx_try_cpp "$LINENO"; then :
12258
12259 else
12260   # Broken: fails on valid input.
12261 continue
12262 fi
12263 rm -f conftest.err conftest.$ac_ext
12264
12265   # OK, works on sane cases.  Now check whether nonexistent headers
12266   # can be detected and how.
12267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h.  */
12269 #include <ac_nonexistent.h>
12270 _ACEOF
12271 if ac_fn_cxx_try_cpp "$LINENO"; then :
12272   # Broken: success on invalid input.
12273 continue
12274 else
12275   # Passes both tests.
12276 ac_preproc_ok=:
12277 break
12278 fi
12279 rm -f conftest.err conftest.$ac_ext
12280
12281 done
12282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12283 rm -f conftest.err conftest.$ac_ext
12284 if $ac_preproc_ok; then :
12285   break
12286 fi
12287
12288     done
12289     ac_cv_prog_CXXCPP=$CXXCPP
12290
12291 fi
12292   CXXCPP=$ac_cv_prog_CXXCPP
12293 else
12294   ac_cv_prog_CXXCPP=$CXXCPP
12295 fi
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12297 $as_echo "$CXXCPP" >&6; }
12298 ac_preproc_ok=false
12299 for ac_cxx_preproc_warn_flag in '' yes
12300 do
12301   # Use a header file that comes with gcc, so configuring glibc
12302   # with a fresh cross-compiler works.
12303   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12304   # <limits.h> exists even on freestanding compilers.
12305   # On the NeXT, cc -E runs the code through the compiler's parser,
12306   # not just through cpp. "Syntax error" is here to catch this case.
12307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h.  */
12309 #ifdef __STDC__
12310 # include <limits.h>
12311 #else
12312 # include <assert.h>
12313 #endif
12314                      Syntax error
12315 _ACEOF
12316 if ac_fn_cxx_try_cpp "$LINENO"; then :
12317
12318 else
12319   # Broken: fails on valid input.
12320 continue
12321 fi
12322 rm -f conftest.err conftest.$ac_ext
12323
12324   # OK, works on sane cases.  Now check whether nonexistent headers
12325   # can be detected and how.
12326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h.  */
12328 #include <ac_nonexistent.h>
12329 _ACEOF
12330 if ac_fn_cxx_try_cpp "$LINENO"; then :
12331   # Broken: success on invalid input.
12332 continue
12333 else
12334   # Passes both tests.
12335 ac_preproc_ok=:
12336 break
12337 fi
12338 rm -f conftest.err conftest.$ac_ext
12339
12340 done
12341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12342 rm -f conftest.err conftest.$ac_ext
12343 if $ac_preproc_ok; then :
12344
12345 else
12346   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12348 _lt_caught_CXX_error=yes; }
12349 fi
12350
12351 ac_ext=c
12352 ac_cpp='$CPP $CPPFLAGS'
12353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12356
12357 else
12358   _lt_caught_CXX_error=yes
12359 fi
12360
12361
12362
12363
12364 ac_ext=cpp
12365 ac_cpp='$CXXCPP $CPPFLAGS'
12366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12369
12370 archive_cmds_need_lc_CXX=no
12371 allow_undefined_flag_CXX=
12372 always_export_symbols_CXX=no
12373 archive_expsym_cmds_CXX=
12374 compiler_needs_object_CXX=no
12375 export_dynamic_flag_spec_CXX=
12376 hardcode_direct_CXX=no
12377 hardcode_direct_absolute_CXX=no
12378 hardcode_libdir_flag_spec_CXX=
12379 hardcode_libdir_flag_spec_ld_CXX=
12380 hardcode_libdir_separator_CXX=
12381 hardcode_minus_L_CXX=no
12382 hardcode_shlibpath_var_CXX=unsupported
12383 hardcode_automatic_CXX=no
12384 inherit_rpath_CXX=no
12385 module_cmds_CXX=
12386 module_expsym_cmds_CXX=
12387 link_all_deplibs_CXX=unknown
12388 old_archive_cmds_CXX=$old_archive_cmds
12389 no_undefined_flag_CXX=
12390 whole_archive_flag_spec_CXX=
12391 enable_shared_with_static_runtimes_CXX=no
12392
12393 # Source file extension for C++ test sources.
12394 ac_ext=cpp
12395
12396 # Object file extension for compiled C++ test sources.
12397 objext=o
12398 objext_CXX=$objext
12399
12400 # No sense in running all these tests if we already determined that
12401 # the CXX compiler isn't working.  Some variables (like enable_shared)
12402 # are currently assumed to apply to all compilers on this platform,
12403 # and will be corrupted by setting them based on a non-working compiler.
12404 if test "$_lt_caught_CXX_error" != yes; then
12405   # Code to be used in simple compile tests
12406   lt_simple_compile_test_code="int some_variable = 0;"
12407
12408   # Code to be used in simple link tests
12409   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12410
12411   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12412
12413
12414
12415
12416
12417
12418 # If no C compiler was specified, use CC.
12419 LTCC=${LTCC-"$CC"}
12420
12421 # If no C compiler flags were specified, use CFLAGS.
12422 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12423
12424 # Allow CC to be a program name with arguments.
12425 compiler=$CC
12426
12427
12428   # save warnings/boilerplate of simple test code
12429   ac_outfile=conftest.$ac_objext
12430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12432 _lt_compiler_boilerplate=`cat conftest.err`
12433 $RM conftest*
12434
12435   ac_outfile=conftest.$ac_objext
12436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12438 _lt_linker_boilerplate=`cat conftest.err`
12439 $RM -r conftest*
12440
12441
12442   # Allow CC to be a program name with arguments.
12443   lt_save_CC=$CC
12444   lt_save_LD=$LD
12445   lt_save_GCC=$GCC
12446   GCC=$GXX
12447   lt_save_with_gnu_ld=$with_gnu_ld
12448   lt_save_path_LD=$lt_cv_path_LD
12449   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12450     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12451   else
12452     $as_unset lt_cv_prog_gnu_ld
12453   fi
12454   if test -n "${lt_cv_path_LDCXX+set}"; then
12455     lt_cv_path_LD=$lt_cv_path_LDCXX
12456   else
12457     $as_unset lt_cv_path_LD
12458   fi
12459   test -z "${LDCXX+set}" || LD=$LDCXX
12460   CC=${CXX-"c++"}
12461   compiler=$CC
12462   compiler_CXX=$CC
12463   for cc_temp in $compiler""; do
12464   case $cc_temp in
12465     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12466     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12467     \-*) ;;
12468     *) break;;
12469   esac
12470 done
12471 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12472
12473
12474   if test -n "$compiler"; then
12475     # We don't want -fno-exception when compiling C++ code, so set the
12476     # no_builtin_flag separately
12477     if test "$GXX" = yes; then
12478       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12479     else
12480       lt_prog_compiler_no_builtin_flag_CXX=
12481     fi
12482
12483     if test "$GXX" = yes; then
12484       # Set up default GNU C++ configuration
12485
12486
12487
12488 # Check whether --with-gnu-ld was given.
12489 if test "${with_gnu_ld+set}" = set; then :
12490   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12491 else
12492   with_gnu_ld=no
12493 fi
12494
12495 ac_prog=ld
12496 if test "$GCC" = yes; then
12497   # Check if gcc -print-prog-name=ld gives a path.
12498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12499 $as_echo_n "checking for ld used by $CC... " >&6; }
12500   case $host in
12501   *-*-mingw*)
12502     # gcc leaves a trailing carriage return which upsets mingw
12503     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12504   *)
12505     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12506   esac
12507   case $ac_prog in
12508     # Accept absolute paths.
12509     [\\/]* | ?:[\\/]*)
12510       re_direlt='/[^/][^/]*/\.\./'
12511       # Canonicalize the pathname of ld
12512       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12513       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12514         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12515       done
12516       test -z "$LD" && LD="$ac_prog"
12517       ;;
12518   "")
12519     # If it fails, then pretend we aren't using GCC.
12520     ac_prog=ld
12521     ;;
12522   *)
12523     # If it is relative, then search for the first ld in PATH.
12524     with_gnu_ld=unknown
12525     ;;
12526   esac
12527 elif test "$with_gnu_ld" = yes; then
12528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12529 $as_echo_n "checking for GNU ld... " >&6; }
12530 else
12531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12532 $as_echo_n "checking for non-GNU ld... " >&6; }
12533 fi
12534 if test "${lt_cv_path_LD+set}" = set; then :
12535   $as_echo_n "(cached) " >&6
12536 else
12537   if test -z "$LD"; then
12538   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12539   for ac_dir in $PATH; do
12540     IFS="$lt_save_ifs"
12541     test -z "$ac_dir" && ac_dir=.
12542     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12543       lt_cv_path_LD="$ac_dir/$ac_prog"
12544       # Check to see if the program is GNU ld.  I'd rather use --version,
12545       # but apparently some variants of GNU ld only accept -v.
12546       # Break only if it was the GNU/non-GNU ld that we prefer.
12547       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12548       *GNU* | *'with BFD'*)
12549         test "$with_gnu_ld" != no && break
12550         ;;
12551       *)
12552         test "$with_gnu_ld" != yes && break
12553         ;;
12554       esac
12555     fi
12556   done
12557   IFS="$lt_save_ifs"
12558 else
12559   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12560 fi
12561 fi
12562
12563 LD="$lt_cv_path_LD"
12564 if test -n "$LD"; then
12565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12566 $as_echo "$LD" >&6; }
12567 else
12568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569 $as_echo "no" >&6; }
12570 fi
12571 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12573 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12574 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12575   $as_echo_n "(cached) " >&6
12576 else
12577   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12578 case `$LD -v 2>&1 </dev/null` in
12579 *GNU* | *'with BFD'*)
12580   lt_cv_prog_gnu_ld=yes
12581   ;;
12582 *)
12583   lt_cv_prog_gnu_ld=no
12584   ;;
12585 esac
12586 fi
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12588 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12589 with_gnu_ld=$lt_cv_prog_gnu_ld
12590
12591
12592
12593
12594
12595
12596
12597       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12598       # archiving commands below assume that GNU ld is being used.
12599       if test "$with_gnu_ld" = yes; then
12600         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12601         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12602
12603         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12604         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12605
12606         # If archive_cmds runs LD, not CC, wlarc should be empty
12607         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12608         #     investigate it a little bit more. (MM)
12609         wlarc='${wl}'
12610
12611         # ancient GNU ld didn't support --whole-archive et. al.
12612         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12613           $GREP 'no-whole-archive' > /dev/null; then
12614           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12615         else
12616           whole_archive_flag_spec_CXX=
12617         fi
12618       else
12619         with_gnu_ld=no
12620         wlarc=
12621
12622         # A generic and very simple default shared library creation
12623         # command for GNU C++ for the case where it uses the native
12624         # linker, instead of GNU ld.  If possible, this setting should
12625         # overridden to take advantage of the native linker features on
12626         # the platform it is being used on.
12627         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12628       fi
12629
12630       # Commands to make compiler produce verbose output that lists
12631       # what "hidden" libraries, object files and flags are used when
12632       # linking a shared library.
12633       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12634
12635     else
12636       GXX=no
12637       with_gnu_ld=no
12638       wlarc=
12639     fi
12640
12641     # PORTME: fill in a description of your system's C++ link characteristics
12642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12643 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12644     ld_shlibs_CXX=yes
12645     case $host_os in
12646       aix3*)
12647         # FIXME: insert proper C++ library support
12648         ld_shlibs_CXX=no
12649         ;;
12650       aix[4-9]*)
12651         if test "$host_cpu" = ia64; then
12652           # On IA64, the linker does run time linking by default, so we don't
12653           # have to do anything special.
12654           aix_use_runtimelinking=no
12655           exp_sym_flag='-Bexport'
12656           no_entry_flag=""
12657         else
12658           aix_use_runtimelinking=no
12659
12660           # Test if we are trying to use run time linking or normal
12661           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12662           # need to do runtime linking.
12663           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12664             for ld_flag in $LDFLAGS; do
12665               case $ld_flag in
12666               *-brtl*)
12667                 aix_use_runtimelinking=yes
12668                 break
12669                 ;;
12670               esac
12671             done
12672             ;;
12673           esac
12674
12675           exp_sym_flag='-bexport'
12676           no_entry_flag='-bnoentry'
12677         fi
12678
12679         # When large executables or shared objects are built, AIX ld can
12680         # have problems creating the table of contents.  If linking a library
12681         # or program results in "error TOC overflow" add -mminimal-toc to
12682         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12683         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12684
12685         archive_cmds_CXX=''
12686         hardcode_direct_CXX=yes
12687         hardcode_direct_absolute_CXX=yes
12688         hardcode_libdir_separator_CXX=':'
12689         link_all_deplibs_CXX=yes
12690         file_list_spec_CXX='${wl}-f,'
12691
12692         if test "$GXX" = yes; then
12693           case $host_os in aix4.[012]|aix4.[012].*)
12694           # We only want to do this on AIX 4.2 and lower, the check
12695           # below for broken collect2 doesn't work under 4.3+
12696           collect2name=`${CC} -print-prog-name=collect2`
12697           if test -f "$collect2name" &&
12698              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12699           then
12700             # We have reworked collect2
12701             :
12702           else
12703             # We have old collect2
12704             hardcode_direct_CXX=unsupported
12705             # It fails to find uninstalled libraries when the uninstalled
12706             # path is not listed in the libpath.  Setting hardcode_minus_L
12707             # to unsupported forces relinking
12708             hardcode_minus_L_CXX=yes
12709             hardcode_libdir_flag_spec_CXX='-L$libdir'
12710             hardcode_libdir_separator_CXX=
12711           fi
12712           esac
12713           shared_flag='-shared'
12714           if test "$aix_use_runtimelinking" = yes; then
12715             shared_flag="$shared_flag "'${wl}-G'
12716           fi
12717         else
12718           # not using gcc
12719           if test "$host_cpu" = ia64; then
12720           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12721           # chokes on -Wl,-G. The following line is correct:
12722           shared_flag='-G'
12723           else
12724             if test "$aix_use_runtimelinking" = yes; then
12725               shared_flag='${wl}-G'
12726             else
12727               shared_flag='${wl}-bM:SRE'
12728             fi
12729           fi
12730         fi
12731
12732         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12733         # It seems that -bexpall does not export symbols beginning with
12734         # underscore (_), so it is better to generate a list of symbols to
12735         # export.
12736         always_export_symbols_CXX=yes
12737         if test "$aix_use_runtimelinking" = yes; then
12738           # Warning - without using the other runtime loading flags (-brtl),
12739           # -berok will link without error, but may produce a broken library.
12740           allow_undefined_flag_CXX='-berok'
12741           # Determine the default libpath from the value encoded in an empty
12742           # executable.
12743           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h.  */
12745
12746 int
12747 main ()
12748 {
12749
12750   ;
12751   return 0;
12752 }
12753 _ACEOF
12754 if ac_fn_cxx_try_link "$LINENO"; then :
12755
12756 lt_aix_libpath_sed='
12757     /Import File Strings/,/^$/ {
12758         /^0/ {
12759             s/^0  *\(.*\)$/\1/
12760             p
12761         }
12762     }'
12763 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12764 # Check for a 64-bit object if we didn't find anything.
12765 if test -z "$aix_libpath"; then
12766   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12767 fi
12768 fi
12769 rm -f core conftest.err conftest.$ac_objext \
12770     conftest$ac_exeext conftest.$ac_ext
12771 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12772
12773           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12774
12775           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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12776         else
12777           if test "$host_cpu" = ia64; then
12778             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12779             allow_undefined_flag_CXX="-z nodefs"
12780             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"
12781           else
12782             # Determine the default libpath from the value encoded in an
12783             # empty executable.
12784             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h.  */
12786
12787 int
12788 main ()
12789 {
12790
12791   ;
12792   return 0;
12793 }
12794 _ACEOF
12795 if ac_fn_cxx_try_link "$LINENO"; then :
12796
12797 lt_aix_libpath_sed='
12798     /Import File Strings/,/^$/ {
12799         /^0/ {
12800             s/^0  *\(.*\)$/\1/
12801             p
12802         }
12803     }'
12804 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12805 # Check for a 64-bit object if we didn't find anything.
12806 if test -z "$aix_libpath"; then
12807   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12808 fi
12809 fi
12810 rm -f core conftest.err conftest.$ac_objext \
12811     conftest$ac_exeext conftest.$ac_ext
12812 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12813
12814             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12815             # Warning - without using the other run time loading flags,
12816             # -berok will link without error, but may produce a broken library.
12817             no_undefined_flag_CXX=' ${wl}-bernotok'
12818             allow_undefined_flag_CXX=' ${wl}-berok'
12819             # Exported symbols can be pulled into shared objects from archives
12820             whole_archive_flag_spec_CXX='$convenience'
12821             archive_cmds_need_lc_CXX=yes
12822             # This is similar to how AIX traditionally builds its shared
12823             # libraries.
12824             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'
12825           fi
12826         fi
12827         ;;
12828
12829       beos*)
12830         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12831           allow_undefined_flag_CXX=unsupported
12832           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12833           # support --undefined.  This deserves some investigation.  FIXME
12834           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12835         else
12836           ld_shlibs_CXX=no
12837         fi
12838         ;;
12839
12840       chorus*)
12841         case $cc_basename in
12842           *)
12843           # FIXME: insert proper C++ library support
12844           ld_shlibs_CXX=no
12845           ;;
12846         esac
12847         ;;
12848
12849       cygwin* | mingw* | pw32* | cegcc*)
12850         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12851         # as there is no search path for DLLs.
12852         hardcode_libdir_flag_spec_CXX='-L$libdir'
12853         allow_undefined_flag_CXX=unsupported
12854         always_export_symbols_CXX=no
12855         enable_shared_with_static_runtimes_CXX=yes
12856
12857         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12858           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'
12859           # If the export-symbols file already is a .def file (1st line
12860           # is EXPORTS), use it as is; otherwise, prepend...
12861           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12862             cp $export_symbols $output_objdir/$soname.def;
12863           else
12864             echo EXPORTS > $output_objdir/$soname.def;
12865             cat $export_symbols >> $output_objdir/$soname.def;
12866           fi~
12867           $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'
12868         else
12869           ld_shlibs_CXX=no
12870         fi
12871         ;;
12872       darwin* | rhapsody*)
12873
12874
12875   archive_cmds_need_lc_CXX=no
12876   hardcode_direct_CXX=no
12877   hardcode_automatic_CXX=yes
12878   hardcode_shlibpath_var_CXX=unsupported
12879   whole_archive_flag_spec_CXX=''
12880   link_all_deplibs_CXX=yes
12881   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12882   case $cc_basename in
12883      ifort*) _lt_dar_can_shared=yes ;;
12884      *) _lt_dar_can_shared=$GCC ;;
12885   esac
12886   if test "$_lt_dar_can_shared" = "yes"; then
12887     output_verbose_link_cmd=echo
12888     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}"
12889     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12890     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}"
12891     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}"
12892        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12893       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}"
12894       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}"
12895     fi
12896
12897   else
12898   ld_shlibs_CXX=no
12899   fi
12900
12901         ;;
12902
12903       dgux*)
12904         case $cc_basename in
12905           ec++*)
12906             # FIXME: insert proper C++ library support
12907             ld_shlibs_CXX=no
12908             ;;
12909           ghcx*)
12910             # Green Hills C++ Compiler
12911             # FIXME: insert proper C++ library support
12912             ld_shlibs_CXX=no
12913             ;;
12914           *)
12915             # FIXME: insert proper C++ library support
12916             ld_shlibs_CXX=no
12917             ;;
12918         esac
12919         ;;
12920
12921       freebsd[12]*)
12922         # C++ shared libraries reported to be fairly broken before
12923         # switch to ELF
12924         ld_shlibs_CXX=no
12925         ;;
12926
12927       freebsd-elf*)
12928         archive_cmds_need_lc_CXX=no
12929         ;;
12930
12931       freebsd* | dragonfly*)
12932         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12933         # conventions
12934         ld_shlibs_CXX=yes
12935         ;;
12936
12937       gnu*)
12938         ;;
12939
12940       hpux9*)
12941         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12942         hardcode_libdir_separator_CXX=:
12943         export_dynamic_flag_spec_CXX='${wl}-E'
12944         hardcode_direct_CXX=yes
12945         hardcode_minus_L_CXX=yes # Not in the search PATH,
12946                                              # but as the default
12947                                              # location of the library.
12948
12949         case $cc_basename in
12950           CC*)
12951             # FIXME: insert proper C++ library support
12952             ld_shlibs_CXX=no
12953             ;;
12954           aCC*)
12955             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'
12956             # Commands to make compiler produce verbose output that lists
12957             # what "hidden" libraries, object files and flags are used when
12958             # linking a shared library.
12959             #
12960             # There doesn't appear to be a way to prevent this compiler from
12961             # explicitly linking system object files so we need to strip them
12962             # from the output so that they don't get included in the library
12963             # dependencies.
12964             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; $ECHO "X$list" | $Xsed'
12965             ;;
12966           *)
12967             if test "$GXX" = yes; then
12968               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
12969             else
12970               # FIXME: insert proper C++ library support
12971               ld_shlibs_CXX=no
12972             fi
12973             ;;
12974         esac
12975         ;;
12976
12977       hpux10*|hpux11*)
12978         if test $with_gnu_ld = no; then
12979           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12980           hardcode_libdir_separator_CXX=:
12981
12982           case $host_cpu in
12983             hppa*64*|ia64*)
12984               ;;
12985             *)
12986               export_dynamic_flag_spec_CXX='${wl}-E'
12987               ;;
12988           esac
12989         fi
12990         case $host_cpu in
12991           hppa*64*|ia64*)
12992             hardcode_direct_CXX=no
12993             hardcode_shlibpath_var_CXX=no
12994             ;;
12995           *)
12996             hardcode_direct_CXX=yes
12997             hardcode_direct_absolute_CXX=yes
12998             hardcode_minus_L_CXX=yes # Not in the search PATH,
12999                                                  # but as the default
13000                                                  # location of the library.
13001             ;;
13002         esac
13003
13004         case $cc_basename in
13005           CC*)
13006             # FIXME: insert proper C++ library support
13007             ld_shlibs_CXX=no
13008             ;;
13009           aCC*)
13010             case $host_cpu in
13011               hppa*64*)
13012                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13013                 ;;
13014               ia64*)
13015                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13016                 ;;
13017               *)
13018                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13019                 ;;
13020             esac
13021             # Commands to make compiler produce verbose output that lists
13022             # what "hidden" libraries, object files and flags are used when
13023             # linking a shared library.
13024             #
13025             # There doesn't appear to be a way to prevent this compiler from
13026             # explicitly linking system object files so we need to strip them
13027             # from the output so that they don't get included in the library
13028             # dependencies.
13029             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; $ECHO "X$list" | $Xsed'
13030             ;;
13031           *)
13032             if test "$GXX" = yes; then
13033               if test $with_gnu_ld = no; then
13034                 case $host_cpu in
13035                   hppa*64*)
13036                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13037                     ;;
13038                   ia64*)
13039                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13040                     ;;
13041                   *)
13042                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13043                     ;;
13044                 esac
13045               fi
13046             else
13047               # FIXME: insert proper C++ library support
13048               ld_shlibs_CXX=no
13049             fi
13050             ;;
13051         esac
13052         ;;
13053
13054       interix[3-9]*)
13055         hardcode_direct_CXX=no
13056         hardcode_shlibpath_var_CXX=no
13057         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13058         export_dynamic_flag_spec_CXX='${wl}-E'
13059         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13060         # Instead, shared libraries are loaded at an image base (0x10000000 by
13061         # default) and relocated if they conflict, which is a slow very memory
13062         # consuming and fragmenting process.  To avoid this, we pick a random,
13063         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13064         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13065         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'
13066         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'
13067         ;;
13068       irix5* | irix6*)
13069         case $cc_basename in
13070           CC*)
13071             # SGI C++
13072             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13073
13074             # Archives containing C++ object files must be created using
13075             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13076             # necessary to make sure instantiated templates are included
13077             # in the archive.
13078             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13079             ;;
13080           *)
13081             if test "$GXX" = yes; then
13082               if test "$with_gnu_ld" = no; then
13083                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13084               else
13085                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13086               fi
13087             fi
13088             link_all_deplibs_CXX=yes
13089             ;;
13090         esac
13091         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13092         hardcode_libdir_separator_CXX=:
13093         inherit_rpath_CXX=yes
13094         ;;
13095
13096       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13097         case $cc_basename in
13098           KCC*)
13099             # Kuck and Associates, Inc. (KAI) C++ Compiler
13100
13101             # KCC will only create a shared library if the output file
13102             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13103             # to its proper name (with version) after linking.
13104             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'
13105             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'
13106             # Commands to make compiler produce verbose output that lists
13107             # what "hidden" libraries, object files and flags are used when
13108             # linking a shared library.
13109             #
13110             # There doesn't appear to be a way to prevent this compiler from
13111             # explicitly linking system object files so we need to strip them
13112             # from the output so that they don't get included in the library
13113             # dependencies.
13114             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; $ECHO "X$list" | $Xsed'
13115
13116             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13117             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13118
13119             # Archives containing C++ object files must be created using
13120             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13121             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13122             ;;
13123           icpc* | ecpc* )
13124             # Intel C++
13125             with_gnu_ld=yes
13126             # version 8.0 and above of icpc choke on multiply defined symbols
13127             # if we add $predep_objects and $postdep_objects, however 7.1 and
13128             # earlier do not add the objects themselves.
13129             case `$CC -V 2>&1` in
13130               *"Version 7."*)
13131                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13132                 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'
13133                 ;;
13134               *)  # Version 8.0 or newer
13135                 tmp_idyn=
13136                 case $host_cpu in
13137                   ia64*) tmp_idyn=' -i_dynamic';;
13138                 esac
13139                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13140                 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'
13141                 ;;
13142             esac
13143             archive_cmds_need_lc_CXX=no
13144             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13145             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13146             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13147             ;;
13148           pgCC* | pgcpp*)
13149             # Portland Group C++ compiler
13150             case `$CC -V` in
13151             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13152               prelink_cmds_CXX='tpldir=Template.dir~
13153                 rm -rf $tpldir~
13154                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13155                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13156               old_archive_cmds_CXX='tpldir=Template.dir~
13157                 rm -rf $tpldir~
13158                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13159                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13160                 $RANLIB $oldlib'
13161               archive_cmds_CXX='tpldir=Template.dir~
13162                 rm -rf $tpldir~
13163                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13164                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13165               archive_expsym_cmds_CXX='tpldir=Template.dir~
13166                 rm -rf $tpldir~
13167                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13168                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13169               ;;
13170             *) # Version 6 will use weak symbols
13171               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13172               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'
13173               ;;
13174             esac
13175
13176             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13177             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13178             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13179             ;;
13180           cxx*)
13181             # Compaq C++
13182             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13183             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'
13184
13185             runpath_var=LD_RUN_PATH
13186             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13187             hardcode_libdir_separator_CXX=:
13188
13189             # Commands to make compiler produce verbose output that lists
13190             # what "hidden" libraries, object files and flags are used when
13191             # linking a shared library.
13192             #
13193             # There doesn't appear to be a way to prevent this compiler from
13194             # explicitly linking system object files so we need to strip them
13195             # from the output so that they don't get included in the library
13196             # dependencies.
13197             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13198             ;;
13199           xl*)
13200             # IBM XL 8.0 on PPC, with GNU ld
13201             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13202             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13203             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13204             if test "x$supports_anon_versioning" = xyes; then
13205               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13206                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13207                 echo "local: *; };" >> $output_objdir/$libname.ver~
13208                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13209             fi
13210             ;;
13211           *)
13212             case `$CC -V 2>&1 | sed 5q` in
13213             *Sun\ C*)
13214               # Sun C++ 5.9
13215               no_undefined_flag_CXX=' -zdefs'
13216               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13217               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'
13218               hardcode_libdir_flag_spec_CXX='-R$libdir'
13219               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13220               compiler_needs_object_CXX=yes
13221
13222               # Not sure whether something based on
13223               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13224               # would be better.
13225               output_verbose_link_cmd='echo'
13226
13227               # Archives containing C++ object files must be created using
13228               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13229               # necessary to make sure instantiated templates are included
13230               # in the archive.
13231               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13232               ;;
13233             esac
13234             ;;
13235         esac
13236         ;;
13237
13238       lynxos*)
13239         # FIXME: insert proper C++ library support
13240         ld_shlibs_CXX=no
13241         ;;
13242
13243       m88k*)
13244         # FIXME: insert proper C++ library support
13245         ld_shlibs_CXX=no
13246         ;;
13247
13248       mvs*)
13249         case $cc_basename in
13250           cxx*)
13251             # FIXME: insert proper C++ library support
13252             ld_shlibs_CXX=no
13253             ;;
13254           *)
13255             # FIXME: insert proper C++ library support
13256             ld_shlibs_CXX=no
13257             ;;
13258         esac
13259         ;;
13260
13261       netbsd*)
13262         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13263           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13264           wlarc=
13265           hardcode_libdir_flag_spec_CXX='-R$libdir'
13266           hardcode_direct_CXX=yes
13267           hardcode_shlibpath_var_CXX=no
13268         fi
13269         # Workaround some broken pre-1.5 toolchains
13270         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13271         ;;
13272
13273       *nto* | *qnx*)
13274         ld_shlibs_CXX=yes
13275         ;;
13276
13277       openbsd2*)
13278         # C++ shared libraries are fairly broken
13279         ld_shlibs_CXX=no
13280         ;;
13281
13282       openbsd*)
13283         if test -f /usr/libexec/ld.so; then
13284           hardcode_direct_CXX=yes
13285           hardcode_shlibpath_var_CXX=no
13286           hardcode_direct_absolute_CXX=yes
13287           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13288           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13289           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13290             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13291             export_dynamic_flag_spec_CXX='${wl}-E'
13292             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13293           fi
13294           output_verbose_link_cmd=echo
13295         else
13296           ld_shlibs_CXX=no
13297         fi
13298         ;;
13299
13300       osf3* | osf4* | osf5*)
13301         case $cc_basename in
13302           KCC*)
13303             # Kuck and Associates, Inc. (KAI) C++ Compiler
13304
13305             # KCC will only create a shared library if the output file
13306             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13307             # to its proper name (with version) after linking.
13308             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'
13309
13310             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13311             hardcode_libdir_separator_CXX=:
13312
13313             # Archives containing C++ object files must be created using
13314             # the KAI C++ compiler.
13315             case $host in
13316               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13317               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13318             esac
13319             ;;
13320           RCC*)
13321             # Rational C++ 2.4.1
13322             # FIXME: insert proper C++ library support
13323             ld_shlibs_CXX=no
13324             ;;
13325           cxx*)
13326             case $host in
13327               osf3*)
13328                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13329                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13330                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13331                 ;;
13332               *)
13333                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13334                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13335                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13336                   echo "-hidden">> $lib.exp~
13337                   $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13338                   $RM $lib.exp'
13339                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13340                 ;;
13341             esac
13342
13343             hardcode_libdir_separator_CXX=:
13344
13345             # Commands to make compiler produce verbose output that lists
13346             # what "hidden" libraries, object files and flags are used when
13347             # linking a shared library.
13348             #
13349             # There doesn't appear to be a way to prevent this compiler from
13350             # explicitly linking system object files so we need to strip them
13351             # from the output so that they don't get included in the library
13352             # dependencies.
13353             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13354             ;;
13355           *)
13356             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13357               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13358               case $host in
13359                 osf3*)
13360                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13361                   ;;
13362                 *)
13363                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13364                   ;;
13365               esac
13366
13367               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13368               hardcode_libdir_separator_CXX=:
13369
13370               # Commands to make compiler produce verbose output that lists
13371               # what "hidden" libraries, object files and flags are used when
13372               # linking a shared library.
13373               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13374
13375             else
13376               # FIXME: insert proper C++ library support
13377               ld_shlibs_CXX=no
13378             fi
13379             ;;
13380         esac
13381         ;;
13382
13383       psos*)
13384         # FIXME: insert proper C++ library support
13385         ld_shlibs_CXX=no
13386         ;;
13387
13388       sunos4*)
13389         case $cc_basename in
13390           CC*)
13391             # Sun C++ 4.x
13392             # FIXME: insert proper C++ library support
13393             ld_shlibs_CXX=no
13394             ;;
13395           lcc*)
13396             # Lucid
13397             # FIXME: insert proper C++ library support
13398             ld_shlibs_CXX=no
13399             ;;
13400           *)
13401             # FIXME: insert proper C++ library support
13402             ld_shlibs_CXX=no
13403             ;;
13404         esac
13405         ;;
13406
13407       solaris*)
13408         case $cc_basename in
13409           CC*)
13410             # Sun C++ 4.2, 5.x and Centerline C++
13411             archive_cmds_need_lc_CXX=yes
13412             no_undefined_flag_CXX=' -zdefs'
13413             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13414             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13415               $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'
13416
13417             hardcode_libdir_flag_spec_CXX='-R$libdir'
13418             hardcode_shlibpath_var_CXX=no
13419             case $host_os in
13420               solaris2.[0-5] | solaris2.[0-5].*) ;;
13421               *)
13422                 # The compiler driver will combine and reorder linker options,
13423                 # but understands `-z linker_flag'.
13424                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13425                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13426                 ;;
13427             esac
13428             link_all_deplibs_CXX=yes
13429
13430             output_verbose_link_cmd='echo'
13431
13432             # Archives containing C++ object files must be created using
13433             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13434             # necessary to make sure instantiated templates are included
13435             # in the archive.
13436             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13437             ;;
13438           gcx*)
13439             # Green Hills C++ Compiler
13440             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13441
13442             # The C++ compiler must be used to create the archive.
13443             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13444             ;;
13445           *)
13446             # GNU C++ compiler with Solaris linker
13447             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13448               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13449               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13450                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13451                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13452                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13453
13454                 # Commands to make compiler produce verbose output that lists
13455                 # what "hidden" libraries, object files and flags are used when
13456                 # linking a shared library.
13457                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13458               else
13459                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13460                 # platform.
13461                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13462                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13463                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13464
13465                 # Commands to make compiler produce verbose output that lists
13466                 # what "hidden" libraries, object files and flags are used when
13467                 # linking a shared library.
13468                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13469               fi
13470
13471               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13472               case $host_os in
13473                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13474                 *)
13475                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13476                   ;;
13477               esac
13478             fi
13479             ;;
13480         esac
13481         ;;
13482
13483     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13484       no_undefined_flag_CXX='${wl}-z,text'
13485       archive_cmds_need_lc_CXX=no
13486       hardcode_shlibpath_var_CXX=no
13487       runpath_var='LD_RUN_PATH'
13488
13489       case $cc_basename in
13490         CC*)
13491           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13493           ;;
13494         *)
13495           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13496           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13497           ;;
13498       esac
13499       ;;
13500
13501       sysv5* | sco3.2v5* | sco5v6*)
13502         # Note: We can NOT use -z defs as we might desire, because we do not
13503         # link with -lc, and that would cause any symbols used from libc to
13504         # always be unresolved, which means just about no library would
13505         # ever link correctly.  If we're not using GNU ld we use -z text
13506         # though, which does catch some bad symbols but isn't as heavy-handed
13507         # as -z defs.
13508         no_undefined_flag_CXX='${wl}-z,text'
13509         allow_undefined_flag_CXX='${wl}-z,nodefs'
13510         archive_cmds_need_lc_CXX=no
13511         hardcode_shlibpath_var_CXX=no
13512         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13513         hardcode_libdir_separator_CXX=':'
13514         link_all_deplibs_CXX=yes
13515         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13516         runpath_var='LD_RUN_PATH'
13517
13518         case $cc_basename in
13519           CC*)
13520             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13521             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13522             ;;
13523           *)
13524             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13525             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13526             ;;
13527         esac
13528       ;;
13529
13530       tandem*)
13531         case $cc_basename in
13532           NCC*)
13533             # NonStop-UX NCC 3.20
13534             # FIXME: insert proper C++ library support
13535             ld_shlibs_CXX=no
13536             ;;
13537           *)
13538             # FIXME: insert proper C++ library support
13539             ld_shlibs_CXX=no
13540             ;;
13541         esac
13542         ;;
13543
13544       vxworks*)
13545         # FIXME: insert proper C++ library support
13546         ld_shlibs_CXX=no
13547         ;;
13548
13549       *)
13550         # FIXME: insert proper C++ library support
13551         ld_shlibs_CXX=no
13552         ;;
13553     esac
13554
13555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13556 $as_echo "$ld_shlibs_CXX" >&6; }
13557     test "$ld_shlibs_CXX" = no && can_build_shared=no
13558
13559     GCC_CXX="$GXX"
13560     LD_CXX="$LD"
13561
13562     ## CAVEAT EMPTOR:
13563     ## There is no encapsulation within the following macros, do not change
13564     ## the running order or otherwise move them around unless you know exactly
13565     ## what you are doing...
13566     # Dependencies to place before and after the object being linked:
13567 predep_objects_CXX=
13568 postdep_objects_CXX=
13569 predeps_CXX=
13570 postdeps_CXX=
13571 compiler_lib_search_path_CXX=
13572
13573 cat > conftest.$ac_ext <<_LT_EOF
13574 class Foo
13575 {
13576 public:
13577   Foo (void) { a = 0; }
13578 private:
13579   int a;
13580 };
13581 _LT_EOF
13582
13583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13584   (eval $ac_compile) 2>&5
13585   ac_status=$?
13586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13587   test $ac_status = 0; }; then
13588   # Parse the compiler output and extract the necessary
13589   # objects, libraries and library flags.
13590
13591   # Sentinel used to keep track of whether or not we are before
13592   # the conftest object file.
13593   pre_test_object_deps_done=no
13594
13595   for p in `eval "$output_verbose_link_cmd"`; do
13596     case $p in
13597
13598     -L* | -R* | -l*)
13599        # Some compilers place space between "-{L,R}" and the path.
13600        # Remove the space.
13601        if test $p = "-L" ||
13602           test $p = "-R"; then
13603          prev=$p
13604          continue
13605        else
13606          prev=
13607        fi
13608
13609        if test "$pre_test_object_deps_done" = no; then
13610          case $p in
13611          -L* | -R*)
13612            # Internal compiler library paths should come after those
13613            # provided the user.  The postdeps already come after the
13614            # user supplied libs so there is no need to process them.
13615            if test -z "$compiler_lib_search_path_CXX"; then
13616              compiler_lib_search_path_CXX="${prev}${p}"
13617            else
13618              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13619            fi
13620            ;;
13621          # The "-l" case would never come before the object being
13622          # linked, so don't bother handling this case.
13623          esac
13624        else
13625          if test -z "$postdeps_CXX"; then
13626            postdeps_CXX="${prev}${p}"
13627          else
13628            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13629          fi
13630        fi
13631        ;;
13632
13633     *.$objext)
13634        # This assumes that the test object file only shows up
13635        # once in the compiler output.
13636        if test "$p" = "conftest.$objext"; then
13637          pre_test_object_deps_done=yes
13638          continue
13639        fi
13640
13641        if test "$pre_test_object_deps_done" = no; then
13642          if test -z "$predep_objects_CXX"; then
13643            predep_objects_CXX="$p"
13644          else
13645            predep_objects_CXX="$predep_objects_CXX $p"
13646          fi
13647        else
13648          if test -z "$postdep_objects_CXX"; then
13649            postdep_objects_CXX="$p"
13650          else
13651            postdep_objects_CXX="$postdep_objects_CXX $p"
13652          fi
13653        fi
13654        ;;
13655
13656     *) ;; # Ignore the rest.
13657
13658     esac
13659   done
13660
13661   # Clean up.
13662   rm -f a.out a.exe
13663 else
13664   echo "libtool.m4: error: problem compiling CXX test program"
13665 fi
13666
13667 $RM -f confest.$objext
13668
13669 # PORTME: override above test on systems where it is broken
13670 case $host_os in
13671 interix[3-9]*)
13672   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13673   # hack all around it, let's just trust "g++" to DTRT.
13674   predep_objects_CXX=
13675   postdep_objects_CXX=
13676   postdeps_CXX=
13677   ;;
13678
13679 linux*)
13680   case `$CC -V 2>&1 | sed 5q` in
13681   *Sun\ C*)
13682     # Sun C++ 5.9
13683
13684     # The more standards-conforming stlport4 library is
13685     # incompatible with the Cstd library. Avoid specifying
13686     # it if it's in CXXFLAGS. Ignore libCrun as
13687     # -library=stlport4 depends on it.
13688     case " $CXX $CXXFLAGS " in
13689     *" -library=stlport4 "*)
13690       solaris_use_stlport4=yes
13691       ;;
13692     esac
13693
13694     if test "$solaris_use_stlport4" != yes; then
13695       postdeps_CXX='-library=Cstd -library=Crun'
13696     fi
13697     ;;
13698   esac
13699   ;;
13700
13701 solaris*)
13702   case $cc_basename in
13703   CC*)
13704     # The more standards-conforming stlport4 library is
13705     # incompatible with the Cstd library. Avoid specifying
13706     # it if it's in CXXFLAGS. Ignore libCrun as
13707     # -library=stlport4 depends on it.
13708     case " $CXX $CXXFLAGS " in
13709     *" -library=stlport4 "*)
13710       solaris_use_stlport4=yes
13711       ;;
13712     esac
13713
13714     # Adding this requires a known-good setup of shared libraries for
13715     # Sun compiler versions before 5.6, else PIC objects from an old
13716     # archive will be linked into the output, leading to subtle bugs.
13717     if test "$solaris_use_stlport4" != yes; then
13718       postdeps_CXX='-library=Cstd -library=Crun'
13719     fi
13720     ;;
13721   esac
13722   ;;
13723 esac
13724
13725
13726 case " $postdeps_CXX " in
13727 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13728 esac
13729  compiler_lib_search_dirs_CXX=
13730 if test -n "${compiler_lib_search_path_CXX}"; then
13731  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13732 fi
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764     lt_prog_compiler_wl_CXX=
13765 lt_prog_compiler_pic_CXX=
13766 lt_prog_compiler_static_CXX=
13767
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13769 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13770
13771   # C++ specific cases for pic, static, wl, etc.
13772   if test "$GXX" = yes; then
13773     lt_prog_compiler_wl_CXX='-Wl,'
13774     lt_prog_compiler_static_CXX='-static'
13775
13776     case $host_os in
13777     aix*)
13778       # All AIX code is PIC.
13779       if test "$host_cpu" = ia64; then
13780         # AIX 5 now supports IA64 processor
13781         lt_prog_compiler_static_CXX='-Bstatic'
13782       fi
13783       ;;
13784
13785     amigaos*)
13786       case $host_cpu in
13787       powerpc)
13788             # see comment about AmigaOS4 .so support
13789             lt_prog_compiler_pic_CXX='-fPIC'
13790         ;;
13791       m68k)
13792             # FIXME: we need at least 68020 code to build shared libraries, but
13793             # adding the `-m68020' flag to GCC prevents building anything better,
13794             # like `-m68040'.
13795             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13796         ;;
13797       esac
13798       ;;
13799
13800     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13801       # PIC is the default for these OSes.
13802       ;;
13803     mingw* | cygwin* | os2* | pw32* | cegcc*)
13804       # This hack is so that the source file can tell whether it is being
13805       # built for inclusion in a dll (and should export symbols for example).
13806       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13807       # (--disable-auto-import) libraries
13808       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13809       ;;
13810     darwin* | rhapsody*)
13811       # PIC is the default on this platform
13812       # Common symbols not allowed in MH_DYLIB files
13813       lt_prog_compiler_pic_CXX='-fno-common'
13814       ;;
13815     *djgpp*)
13816       # DJGPP does not support shared libraries at all
13817       lt_prog_compiler_pic_CXX=
13818       ;;
13819     interix[3-9]*)
13820       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13821       # Instead, we relocate shared libraries at runtime.
13822       ;;
13823     sysv4*MP*)
13824       if test -d /usr/nec; then
13825         lt_prog_compiler_pic_CXX=-Kconform_pic
13826       fi
13827       ;;
13828     hpux*)
13829       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13830       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13831       # sets the default TLS model and affects inlining.
13832       case $host_cpu in
13833       hppa*64*)
13834         ;;
13835       *)
13836         lt_prog_compiler_pic_CXX='-fPIC'
13837         ;;
13838       esac
13839       ;;
13840     *qnx* | *nto*)
13841       # QNX uses GNU C++, but need to define -shared option too, otherwise
13842       # it will coredump.
13843       lt_prog_compiler_pic_CXX='-fPIC -shared'
13844       ;;
13845     *)
13846       lt_prog_compiler_pic_CXX='-fPIC'
13847       ;;
13848     esac
13849   else
13850     case $host_os in
13851       aix[4-9]*)
13852         # All AIX code is PIC.
13853         if test "$host_cpu" = ia64; then
13854           # AIX 5 now supports IA64 processor
13855           lt_prog_compiler_static_CXX='-Bstatic'
13856         else
13857           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13858         fi
13859         ;;
13860       chorus*)
13861         case $cc_basename in
13862         cxch68*)
13863           # Green Hills C++ Compiler
13864           # _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"
13865           ;;
13866         esac
13867         ;;
13868       dgux*)
13869         case $cc_basename in
13870           ec++*)
13871             lt_prog_compiler_pic_CXX='-KPIC'
13872             ;;
13873           ghcx*)
13874             # Green Hills C++ Compiler
13875             lt_prog_compiler_pic_CXX='-pic'
13876             ;;
13877           *)
13878             ;;
13879         esac
13880         ;;
13881       freebsd* | dragonfly*)
13882         # FreeBSD uses GNU C++
13883         ;;
13884       hpux9* | hpux10* | hpux11*)
13885         case $cc_basename in
13886           CC*)
13887             lt_prog_compiler_wl_CXX='-Wl,'
13888             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13889             if test "$host_cpu" != ia64; then
13890               lt_prog_compiler_pic_CXX='+Z'
13891             fi
13892             ;;
13893           aCC*)
13894             lt_prog_compiler_wl_CXX='-Wl,'
13895             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13896             case $host_cpu in
13897             hppa*64*|ia64*)
13898               # +Z the default
13899               ;;
13900             *)
13901               lt_prog_compiler_pic_CXX='+Z'
13902               ;;
13903             esac
13904             ;;
13905           *)
13906             ;;
13907         esac
13908         ;;
13909       interix*)
13910         # This is c89, which is MS Visual C++ (no shared libs)
13911         # Anyone wants to do a port?
13912         ;;
13913       irix5* | irix6* | nonstopux*)
13914         case $cc_basename in
13915           CC*)
13916             lt_prog_compiler_wl_CXX='-Wl,'
13917             lt_prog_compiler_static_CXX='-non_shared'
13918             # CC pic flag -KPIC is the default.
13919             ;;
13920           *)
13921             ;;
13922         esac
13923         ;;
13924       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13925         case $cc_basename in
13926           KCC*)
13927             # KAI C++ Compiler
13928             lt_prog_compiler_wl_CXX='--backend -Wl,'
13929             lt_prog_compiler_pic_CXX='-fPIC'
13930             ;;
13931           ecpc* )
13932             # old Intel C++ for x86_64 which still supported -KPIC.
13933             lt_prog_compiler_wl_CXX='-Wl,'
13934             lt_prog_compiler_pic_CXX='-KPIC'
13935             lt_prog_compiler_static_CXX='-static'
13936             ;;
13937           icpc* )
13938             # Intel C++, used to be incompatible with GCC.
13939             # ICC 10 doesn't accept -KPIC any more.
13940             lt_prog_compiler_wl_CXX='-Wl,'
13941             lt_prog_compiler_pic_CXX='-fPIC'
13942             lt_prog_compiler_static_CXX='-static'
13943             ;;
13944           pgCC* | pgcpp*)
13945             # Portland Group C++ compiler
13946             lt_prog_compiler_wl_CXX='-Wl,'
13947             lt_prog_compiler_pic_CXX='-fpic'
13948             lt_prog_compiler_static_CXX='-Bstatic'
13949             ;;
13950           cxx*)
13951             # Compaq C++
13952             # Make sure the PIC flag is empty.  It appears that all Alpha
13953             # Linux and Compaq Tru64 Unix objects are PIC.
13954             lt_prog_compiler_pic_CXX=
13955             lt_prog_compiler_static_CXX='-non_shared'
13956             ;;
13957           xlc* | xlC*)
13958             # IBM XL 8.0 on PPC
13959             lt_prog_compiler_wl_CXX='-Wl,'
13960             lt_prog_compiler_pic_CXX='-qpic'
13961             lt_prog_compiler_static_CXX='-qstaticlink'
13962             ;;
13963           *)
13964             case `$CC -V 2>&1 | sed 5q` in
13965             *Sun\ C*)
13966               # Sun C++ 5.9
13967               lt_prog_compiler_pic_CXX='-KPIC'
13968               lt_prog_compiler_static_CXX='-Bstatic'
13969               lt_prog_compiler_wl_CXX='-Qoption ld '
13970               ;;
13971             esac
13972             ;;
13973         esac
13974         ;;
13975       lynxos*)
13976         ;;
13977       m88k*)
13978         ;;
13979       mvs*)
13980         case $cc_basename in
13981           cxx*)
13982             lt_prog_compiler_pic_CXX='-W c,exportall'
13983             ;;
13984           *)
13985             ;;
13986         esac
13987         ;;
13988       netbsd* | netbsdelf*-gnu)
13989         ;;
13990       *qnx* | *nto*)
13991         # QNX uses GNU C++, but need to define -shared option too, otherwise
13992         # it will coredump.
13993         lt_prog_compiler_pic_CXX='-fPIC -shared'
13994         ;;
13995       osf3* | osf4* | osf5*)
13996         case $cc_basename in
13997           KCC*)
13998             lt_prog_compiler_wl_CXX='--backend -Wl,'
13999             ;;
14000           RCC*)
14001             # Rational C++ 2.4.1
14002             lt_prog_compiler_pic_CXX='-pic'
14003             ;;
14004           cxx*)
14005             # Digital/Compaq C++
14006             lt_prog_compiler_wl_CXX='-Wl,'
14007             # Make sure the PIC flag is empty.  It appears that all Alpha
14008             # Linux and Compaq Tru64 Unix objects are PIC.
14009             lt_prog_compiler_pic_CXX=
14010             lt_prog_compiler_static_CXX='-non_shared'
14011             ;;
14012           *)
14013             ;;
14014         esac
14015         ;;
14016       psos*)
14017         ;;
14018       solaris*)
14019         case $cc_basename in
14020           CC*)
14021             # Sun C++ 4.2, 5.x and Centerline C++
14022             lt_prog_compiler_pic_CXX='-KPIC'
14023             lt_prog_compiler_static_CXX='-Bstatic'
14024             lt_prog_compiler_wl_CXX='-Qoption ld '
14025             ;;
14026           gcx*)
14027             # Green Hills C++ Compiler
14028             lt_prog_compiler_pic_CXX='-PIC'
14029             ;;
14030           *)
14031             ;;
14032         esac
14033         ;;
14034       sunos4*)
14035         case $cc_basename in
14036           CC*)
14037             # Sun C++ 4.x
14038             lt_prog_compiler_pic_CXX='-pic'
14039             lt_prog_compiler_static_CXX='-Bstatic'
14040             ;;
14041           lcc*)
14042             # Lucid
14043             lt_prog_compiler_pic_CXX='-pic'
14044             ;;
14045           *)
14046             ;;
14047         esac
14048         ;;
14049       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14050         case $cc_basename in
14051           CC*)
14052             lt_prog_compiler_wl_CXX='-Wl,'
14053             lt_prog_compiler_pic_CXX='-KPIC'
14054             lt_prog_compiler_static_CXX='-Bstatic'
14055             ;;
14056         esac
14057         ;;
14058       tandem*)
14059         case $cc_basename in
14060           NCC*)
14061             # NonStop-UX NCC 3.20
14062             lt_prog_compiler_pic_CXX='-KPIC'
14063             ;;
14064           *)
14065             ;;
14066         esac
14067         ;;
14068       vxworks*)
14069         ;;
14070       *)
14071         lt_prog_compiler_can_build_shared_CXX=no
14072         ;;
14073     esac
14074   fi
14075
14076 case $host_os in
14077   # For platforms which do not support PIC, -DPIC is meaningless:
14078   *djgpp*)
14079     lt_prog_compiler_pic_CXX=
14080     ;;
14081   *)
14082     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14083     ;;
14084 esac
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14086 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14087
14088
14089
14090 #
14091 # Check to make sure the PIC flag actually works.
14092 #
14093 if test -n "$lt_prog_compiler_pic_CXX"; then
14094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14095 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14096 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14097   $as_echo_n "(cached) " >&6
14098 else
14099   lt_cv_prog_compiler_pic_works_CXX=no
14100    ac_outfile=conftest.$ac_objext
14101    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14102    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14103    # Insert the option either (1) after the last *FLAGS variable, or
14104    # (2) before a word containing "conftest.", or (3) at the end.
14105    # Note that $ac_compile itself does not contain backslashes and begins
14106    # with a dollar sign (not a hyphen), so the echo should work correctly.
14107    # The option is referenced via a variable to avoid confusing sed.
14108    lt_compile=`echo "$ac_compile" | $SED \
14109    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14110    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14111    -e 's:$: $lt_compiler_flag:'`
14112    (eval echo "\"\$as_me:14112: $lt_compile\"" >&5)
14113    (eval "$lt_compile" 2>conftest.err)
14114    ac_status=$?
14115    cat conftest.err >&5
14116    echo "$as_me:14116: \$? = $ac_status" >&5
14117    if (exit $ac_status) && test -s "$ac_outfile"; then
14118      # The compiler can only warn and ignore the option if not recognized
14119      # So say no if there are warnings other than the usual output.
14120      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14121      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14122      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14123        lt_cv_prog_compiler_pic_works_CXX=yes
14124      fi
14125    fi
14126    $RM conftest*
14127
14128 fi
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14130 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14131
14132 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14133     case $lt_prog_compiler_pic_CXX in
14134      "" | " "*) ;;
14135      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14136      esac
14137 else
14138     lt_prog_compiler_pic_CXX=
14139      lt_prog_compiler_can_build_shared_CXX=no
14140 fi
14141
14142 fi
14143
14144
14145
14146 #
14147 # Check to make sure the static flag actually works.
14148 #
14149 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14151 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14152 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14153   $as_echo_n "(cached) " >&6
14154 else
14155   lt_cv_prog_compiler_static_works_CXX=no
14156    save_LDFLAGS="$LDFLAGS"
14157    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14158    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14159    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14160      # The linker can only warn and ignore the option if not recognized
14161      # So say no if there are warnings
14162      if test -s conftest.err; then
14163        # Append any errors to the config.log.
14164        cat conftest.err 1>&5
14165        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14166        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14167        if diff conftest.exp conftest.er2 >/dev/null; then
14168          lt_cv_prog_compiler_static_works_CXX=yes
14169        fi
14170      else
14171        lt_cv_prog_compiler_static_works_CXX=yes
14172      fi
14173    fi
14174    $RM -r conftest*
14175    LDFLAGS="$save_LDFLAGS"
14176
14177 fi
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14179 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14180
14181 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14182     :
14183 else
14184     lt_prog_compiler_static_CXX=
14185 fi
14186
14187
14188
14189
14190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14191 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14192 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14193   $as_echo_n "(cached) " >&6
14194 else
14195   lt_cv_prog_compiler_c_o_CXX=no
14196    $RM -r conftest 2>/dev/null
14197    mkdir conftest
14198    cd conftest
14199    mkdir out
14200    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14201
14202    lt_compiler_flag="-o out/conftest2.$ac_objext"
14203    # Insert the option either (1) after the last *FLAGS variable, or
14204    # (2) before a word containing "conftest.", or (3) at the end.
14205    # Note that $ac_compile itself does not contain backslashes and begins
14206    # with a dollar sign (not a hyphen), so the echo should work correctly.
14207    lt_compile=`echo "$ac_compile" | $SED \
14208    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14209    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14210    -e 's:$: $lt_compiler_flag:'`
14211    (eval echo "\"\$as_me:14211: $lt_compile\"" >&5)
14212    (eval "$lt_compile" 2>out/conftest.err)
14213    ac_status=$?
14214    cat out/conftest.err >&5
14215    echo "$as_me:14215: \$? = $ac_status" >&5
14216    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14217    then
14218      # The compiler can only warn and ignore the option if not recognized
14219      # So say no if there are warnings
14220      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14221      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14222      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14223        lt_cv_prog_compiler_c_o_CXX=yes
14224      fi
14225    fi
14226    chmod u+w . 2>&5
14227    $RM conftest*
14228    # SGI C++ compiler will create directory out/ii_files/ for
14229    # template instantiation
14230    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14231    $RM out/* && rmdir out
14232    cd ..
14233    $RM -r conftest
14234    $RM conftest*
14235
14236 fi
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14238 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14239
14240
14241
14242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14244 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14245   $as_echo_n "(cached) " >&6
14246 else
14247   lt_cv_prog_compiler_c_o_CXX=no
14248    $RM -r conftest 2>/dev/null
14249    mkdir conftest
14250    cd conftest
14251    mkdir out
14252    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14253
14254    lt_compiler_flag="-o out/conftest2.$ac_objext"
14255    # Insert the option either (1) after the last *FLAGS variable, or
14256    # (2) before a word containing "conftest.", or (3) at the end.
14257    # Note that $ac_compile itself does not contain backslashes and begins
14258    # with a dollar sign (not a hyphen), so the echo should work correctly.
14259    lt_compile=`echo "$ac_compile" | $SED \
14260    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14261    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14262    -e 's:$: $lt_compiler_flag:'`
14263    (eval echo "\"\$as_me:14263: $lt_compile\"" >&5)
14264    (eval "$lt_compile" 2>out/conftest.err)
14265    ac_status=$?
14266    cat out/conftest.err >&5
14267    echo "$as_me:14267: \$? = $ac_status" >&5
14268    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14269    then
14270      # The compiler can only warn and ignore the option if not recognized
14271      # So say no if there are warnings
14272      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14273      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14274      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14275        lt_cv_prog_compiler_c_o_CXX=yes
14276      fi
14277    fi
14278    chmod u+w . 2>&5
14279    $RM conftest*
14280    # SGI C++ compiler will create directory out/ii_files/ for
14281    # template instantiation
14282    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14283    $RM out/* && rmdir out
14284    cd ..
14285    $RM -r conftest
14286    $RM conftest*
14287
14288 fi
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14290 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14291
14292
14293
14294
14295 hard_links="nottested"
14296 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14297   # do not overwrite the value of need_locks provided by the user
14298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14299 $as_echo_n "checking if we can lock with hard links... " >&6; }
14300   hard_links=yes
14301   $RM conftest*
14302   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14303   touch conftest.a
14304   ln conftest.a conftest.b 2>&5 || hard_links=no
14305   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14307 $as_echo "$hard_links" >&6; }
14308   if test "$hard_links" = no; then
14309     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14310 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14311     need_locks=warn
14312   fi
14313 else
14314   need_locks=no
14315 fi
14316
14317
14318
14319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14320 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14321
14322   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14323   case $host_os in
14324   aix[4-9]*)
14325     # If we're using GNU nm, then we don't want the "-C" option.
14326     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14327     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14328       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14329     else
14330       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'
14331     fi
14332     ;;
14333   pw32*)
14334     export_symbols_cmds_CXX="$ltdll_cmds"
14335   ;;
14336   cygwin* | mingw* | cegcc*)
14337     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14338   ;;
14339   linux* | k*bsd*-gnu)
14340     link_all_deplibs_CXX=no
14341   ;;
14342   *)
14343     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14344   ;;
14345   esac
14346   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14347
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14349 $as_echo "$ld_shlibs_CXX" >&6; }
14350 test "$ld_shlibs_CXX" = no && can_build_shared=no
14351
14352 with_gnu_ld_CXX=$with_gnu_ld
14353
14354
14355
14356
14357
14358
14359 #
14360 # Do we need to explicitly link libc?
14361 #
14362 case "x$archive_cmds_need_lc_CXX" in
14363 x|xyes)
14364   # Assume -lc should be added
14365   archive_cmds_need_lc_CXX=yes
14366
14367   if test "$enable_shared" = yes && test "$GCC" = yes; then
14368     case $archive_cmds_CXX in
14369     *'~'*)
14370       # FIXME: we may have to deal with multi-command sequences.
14371       ;;
14372     '$CC '*)
14373       # Test whether the compiler implicitly links with -lc since on some
14374       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14375       # to ld, don't add -lc before -lgcc.
14376       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14377 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14378       $RM conftest*
14379       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14380
14381       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14382   (eval $ac_compile) 2>&5
14383   ac_status=$?
14384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385   test $ac_status = 0; } 2>conftest.err; then
14386         soname=conftest
14387         lib=conftest
14388         libobjs=conftest.$ac_objext
14389         deplibs=
14390         wl=$lt_prog_compiler_wl_CXX
14391         pic_flag=$lt_prog_compiler_pic_CXX
14392         compiler_flags=-v
14393         linker_flags=-v
14394         verstring=
14395         output_objdir=.
14396         libname=conftest
14397         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14398         allow_undefined_flag_CXX=
14399         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14400   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14401   ac_status=$?
14402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14403   test $ac_status = 0; }
14404         then
14405           archive_cmds_need_lc_CXX=no
14406         else
14407           archive_cmds_need_lc_CXX=yes
14408         fi
14409         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14410       else
14411         cat conftest.err 1>&5
14412       fi
14413       $RM conftest*
14414       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14415 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14416       ;;
14417     esac
14418   fi
14419   ;;
14420 esac
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14486 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14487
14488 library_names_spec=
14489 libname_spec='lib$name'
14490 soname_spec=
14491 shrext_cmds=".so"
14492 postinstall_cmds=
14493 postuninstall_cmds=
14494 finish_cmds=
14495 finish_eval=
14496 shlibpath_var=
14497 shlibpath_overrides_runpath=unknown
14498 version_type=none
14499 dynamic_linker="$host_os ld.so"
14500 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14501 need_lib_prefix=unknown
14502 hardcode_into_libs=no
14503
14504 # when you set need_version to no, make sure it does not cause -set_version
14505 # flags to be left without arguments
14506 need_version=unknown
14507
14508 case $host_os in
14509 aix3*)
14510   version_type=linux
14511   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14512   shlibpath_var=LIBPATH
14513
14514   # AIX 3 has no versioning support, so we append a major version to the name.
14515   soname_spec='${libname}${release}${shared_ext}$major'
14516   ;;
14517
14518 aix[4-9]*)
14519   version_type=linux
14520   need_lib_prefix=no
14521   need_version=no
14522   hardcode_into_libs=yes
14523   if test "$host_cpu" = ia64; then
14524     # AIX 5 supports IA64
14525     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14526     shlibpath_var=LD_LIBRARY_PATH
14527   else
14528     # With GCC up to 2.95.x, collect2 would create an import file
14529     # for dependence libraries.  The import file would start with
14530     # the line `#! .'.  This would cause the generated library to
14531     # depend on `.', always an invalid library.  This was fixed in
14532     # development snapshots of GCC prior to 3.0.
14533     case $host_os in
14534       aix4 | aix4.[01] | aix4.[01].*)
14535       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14536            echo ' yes '
14537            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14538         :
14539       else
14540         can_build_shared=no
14541       fi
14542       ;;
14543     esac
14544     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14545     # soname into executable. Probably we can add versioning support to
14546     # collect2, so additional links can be useful in future.
14547     if test "$aix_use_runtimelinking" = yes; then
14548       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14549       # instead of lib<name>.a to let people know that these are not
14550       # typical AIX shared libraries.
14551       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552     else
14553       # We preserve .a as extension for shared libraries through AIX4.2
14554       # and later when we are not doing run time linking.
14555       library_names_spec='${libname}${release}.a $libname.a'
14556       soname_spec='${libname}${release}${shared_ext}$major'
14557     fi
14558     shlibpath_var=LIBPATH
14559   fi
14560   ;;
14561
14562 amigaos*)
14563   case $host_cpu in
14564   powerpc)
14565     # Since July 2007 AmigaOS4 officially supports .so libraries.
14566     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14567     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14568     ;;
14569   m68k)
14570     library_names_spec='$libname.ixlibrary $libname.a'
14571     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14572     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
14573     ;;
14574   esac
14575   ;;
14576
14577 beos*)
14578   library_names_spec='${libname}${shared_ext}'
14579   dynamic_linker="$host_os ld.so"
14580   shlibpath_var=LIBRARY_PATH
14581   ;;
14582
14583 bsdi[45]*)
14584   version_type=linux
14585   need_version=no
14586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14587   soname_spec='${libname}${release}${shared_ext}$major'
14588   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14589   shlibpath_var=LD_LIBRARY_PATH
14590   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14591   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14592   # the default ld.so.conf also contains /usr/contrib/lib and
14593   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14594   # libtool to hard-code these into programs
14595   ;;
14596
14597 cygwin* | mingw* | pw32* | cegcc*)
14598   version_type=windows
14599   shrext_cmds=".dll"
14600   need_version=no
14601   need_lib_prefix=no
14602
14603   case $GCC,$host_os in
14604   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14605     library_names_spec='$libname.dll.a'
14606     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14607     postinstall_cmds='base_file=`basename \${file}`~
14608       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14609       dldir=$destdir/`dirname \$dlpath`~
14610       test -d \$dldir || mkdir -p \$dldir~
14611       $install_prog $dir/$dlname \$dldir/$dlname~
14612       chmod a+x \$dldir/$dlname~
14613       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14614         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14615       fi'
14616     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14617       dlpath=$dir/\$dldll~
14618        $RM \$dlpath'
14619     shlibpath_overrides_runpath=yes
14620
14621     case $host_os in
14622     cygwin*)
14623       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14624       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14625       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14626       ;;
14627     mingw* | cegcc*)
14628       # MinGW DLLs use traditional 'lib' prefix
14629       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14630       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14631       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14632         # It is most probably a Windows format PATH printed by
14633         # mingw gcc, but we are running on Cygwin. Gcc prints its search
14634         # path with ; separators, and with drive letters. We can handle the
14635         # drive letters (cygwin fileutils understands them), so leave them,
14636         # especially as we might pass files found there to a mingw objdump,
14637         # which wouldn't understand a cygwinified path. Ahh.
14638         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14639       else
14640         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14641       fi
14642       ;;
14643     pw32*)
14644       # pw32 DLLs use 'pw' prefix rather than 'lib'
14645       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14646       ;;
14647     esac
14648     ;;
14649
14650   *)
14651     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14652     ;;
14653   esac
14654   dynamic_linker='Win32 ld.exe'
14655   # FIXME: first we should search . and the directory the executable is in
14656   shlibpath_var=PATH
14657   ;;
14658
14659 darwin* | rhapsody*)
14660   dynamic_linker="$host_os dyld"
14661   version_type=darwin
14662   need_lib_prefix=no
14663   need_version=no
14664   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14665   soname_spec='${libname}${release}${major}$shared_ext'
14666   shlibpath_overrides_runpath=yes
14667   shlibpath_var=DYLD_LIBRARY_PATH
14668   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14669
14670   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14671   ;;
14672
14673 dgux*)
14674   version_type=linux
14675   need_lib_prefix=no
14676   need_version=no
14677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14678   soname_spec='${libname}${release}${shared_ext}$major'
14679   shlibpath_var=LD_LIBRARY_PATH
14680   ;;
14681
14682 freebsd1*)
14683   dynamic_linker=no
14684   ;;
14685
14686 freebsd* | dragonfly*)
14687   # DragonFly does not have aout.  When/if they implement a new
14688   # versioning mechanism, adjust this.
14689   if test -x /usr/bin/objformat; then
14690     objformat=`/usr/bin/objformat`
14691   else
14692     case $host_os in
14693     freebsd[123]*) objformat=aout ;;
14694     *) objformat=elf ;;
14695     esac
14696   fi
14697   version_type=freebsd-$objformat
14698   case $version_type in
14699     freebsd-elf*)
14700       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14701       need_version=no
14702       need_lib_prefix=no
14703       ;;
14704     freebsd-*)
14705       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14706       need_version=yes
14707       ;;
14708   esac
14709   shlibpath_var=LD_LIBRARY_PATH
14710   case $host_os in
14711   freebsd2*)
14712     shlibpath_overrides_runpath=yes
14713     ;;
14714   freebsd3.[01]* | freebsdelf3.[01]*)
14715     shlibpath_overrides_runpath=yes
14716     hardcode_into_libs=yes
14717     ;;
14718   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14719   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14720     shlibpath_overrides_runpath=no
14721     hardcode_into_libs=yes
14722     ;;
14723   *) # from 4.6 on, and DragonFly
14724     shlibpath_overrides_runpath=yes
14725     hardcode_into_libs=yes
14726     ;;
14727   esac
14728   ;;
14729
14730 gnu*)
14731   version_type=linux
14732   need_lib_prefix=no
14733   need_version=no
14734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14735   soname_spec='${libname}${release}${shared_ext}$major'
14736   shlibpath_var=LD_LIBRARY_PATH
14737   hardcode_into_libs=yes
14738   ;;
14739
14740 hpux9* | hpux10* | hpux11*)
14741   # Give a soname corresponding to the major version so that dld.sl refuses to
14742   # link against other versions.
14743   version_type=sunos
14744   need_lib_prefix=no
14745   need_version=no
14746   case $host_cpu in
14747   ia64*)
14748     shrext_cmds='.so'
14749     hardcode_into_libs=yes
14750     dynamic_linker="$host_os dld.so"
14751     shlibpath_var=LD_LIBRARY_PATH
14752     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14753     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14754     soname_spec='${libname}${release}${shared_ext}$major'
14755     if test "X$HPUX_IA64_MODE" = X32; then
14756       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14757     else
14758       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14759     fi
14760     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14761     ;;
14762   hppa*64*)
14763     shrext_cmds='.sl'
14764     hardcode_into_libs=yes
14765     dynamic_linker="$host_os dld.sl"
14766     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14767     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14768     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769     soname_spec='${libname}${release}${shared_ext}$major'
14770     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14771     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14772     ;;
14773   *)
14774     shrext_cmds='.sl'
14775     dynamic_linker="$host_os dld.sl"
14776     shlibpath_var=SHLIB_PATH
14777     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14778     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14779     soname_spec='${libname}${release}${shared_ext}$major'
14780     ;;
14781   esac
14782   # HP-UX runs *really* slowly unless shared libraries are mode 555.
14783   postinstall_cmds='chmod 555 $lib'
14784   ;;
14785
14786 interix[3-9]*)
14787   version_type=linux
14788   need_lib_prefix=no
14789   need_version=no
14790   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14791   soname_spec='${libname}${release}${shared_ext}$major'
14792   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14793   shlibpath_var=LD_LIBRARY_PATH
14794   shlibpath_overrides_runpath=no
14795   hardcode_into_libs=yes
14796   ;;
14797
14798 irix5* | irix6* | nonstopux*)
14799   case $host_os in
14800     nonstopux*) version_type=nonstopux ;;
14801     *)
14802         if test "$lt_cv_prog_gnu_ld" = yes; then
14803                 version_type=linux
14804         else
14805                 version_type=irix
14806         fi ;;
14807   esac
14808   need_lib_prefix=no
14809   need_version=no
14810   soname_spec='${libname}${release}${shared_ext}$major'
14811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14812   case $host_os in
14813   irix5* | nonstopux*)
14814     libsuff= shlibsuff=
14815     ;;
14816   *)
14817     case $LD in # libtool.m4 will add one of these switches to LD
14818     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14819       libsuff= shlibsuff= libmagic=32-bit;;
14820     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14821       libsuff=32 shlibsuff=N32 libmagic=N32;;
14822     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14823       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14824     *) libsuff= shlibsuff= libmagic=never-match;;
14825     esac
14826     ;;
14827   esac
14828   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14829   shlibpath_overrides_runpath=no
14830   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14831   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14832   hardcode_into_libs=yes
14833   ;;
14834
14835 # No shared lib support for Linux oldld, aout, or coff.
14836 linux*oldld* | linux*aout* | linux*coff*)
14837   dynamic_linker=no
14838   ;;
14839
14840 # This must be Linux ELF.
14841 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14842   version_type=linux
14843   need_lib_prefix=no
14844   need_version=no
14845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14846   soname_spec='${libname}${release}${shared_ext}$major'
14847   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14848   shlibpath_var=LD_LIBRARY_PATH
14849   shlibpath_overrides_runpath=no
14850   # Some binutils ld are patched to set DT_RUNPATH
14851   save_LDFLAGS=$LDFLAGS
14852   save_libdir=$libdir
14853   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14854        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h.  */
14857
14858 int
14859 main ()
14860 {
14861
14862   ;
14863   return 0;
14864 }
14865 _ACEOF
14866 if ac_fn_cxx_try_link "$LINENO"; then :
14867   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14868   shlibpath_overrides_runpath=yes
14869 fi
14870 fi
14871 rm -f core conftest.err conftest.$ac_objext \
14872     conftest$ac_exeext conftest.$ac_ext
14873   LDFLAGS=$save_LDFLAGS
14874   libdir=$save_libdir
14875
14876   # This implies no fast_install, which is unacceptable.
14877   # Some rework will be needed to allow for fast_install
14878   # before this can be enabled.
14879   hardcode_into_libs=yes
14880
14881   # Append ld.so.conf contents to the search path
14882   if test -f /etc/ld.so.conf; then
14883     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;/^$/d' | tr '\n' ' '`
14884     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14885   fi
14886
14887   # We used to test for /lib/ld.so.1 and disable shared libraries on
14888   # powerpc, because MkLinux only supported shared libraries with the
14889   # GNU dynamic linker.  Since this was broken with cross compilers,
14890   # most powerpc-linux boxes support dynamic linking these days and
14891   # people can always --disable-shared, the test was removed, and we
14892   # assume the GNU/Linux dynamic linker is in use.
14893   dynamic_linker='GNU/Linux ld.so'
14894   ;;
14895
14896 netbsdelf*-gnu)
14897   version_type=linux
14898   need_lib_prefix=no
14899   need_version=no
14900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14901   soname_spec='${libname}${release}${shared_ext}$major'
14902   shlibpath_var=LD_LIBRARY_PATH
14903   shlibpath_overrides_runpath=no
14904   hardcode_into_libs=yes
14905   dynamic_linker='NetBSD ld.elf_so'
14906   ;;
14907
14908 netbsd*)
14909   version_type=sunos
14910   need_lib_prefix=no
14911   need_version=no
14912   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14913     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14914     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14915     dynamic_linker='NetBSD (a.out) ld.so'
14916   else
14917     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14918     soname_spec='${libname}${release}${shared_ext}$major'
14919     dynamic_linker='NetBSD ld.elf_so'
14920   fi
14921   shlibpath_var=LD_LIBRARY_PATH
14922   shlibpath_overrides_runpath=yes
14923   hardcode_into_libs=yes
14924   ;;
14925
14926 newsos6)
14927   version_type=linux
14928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929   shlibpath_var=LD_LIBRARY_PATH
14930   shlibpath_overrides_runpath=yes
14931   ;;
14932
14933 *nto* | *qnx*)
14934   version_type=qnx
14935   need_lib_prefix=no
14936   need_version=no
14937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14938   soname_spec='${libname}${release}${shared_ext}$major'
14939   shlibpath_var=LD_LIBRARY_PATH
14940   shlibpath_overrides_runpath=no
14941   hardcode_into_libs=yes
14942   dynamic_linker='ldqnx.so'
14943   ;;
14944
14945 openbsd*)
14946   version_type=sunos
14947   sys_lib_dlsearch_path_spec="/usr/lib"
14948   need_lib_prefix=no
14949   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14950   case $host_os in
14951     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14952     *)                          need_version=no  ;;
14953   esac
14954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14955   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14956   shlibpath_var=LD_LIBRARY_PATH
14957   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14958     case $host_os in
14959       openbsd2.[89] | openbsd2.[89].*)
14960         shlibpath_overrides_runpath=no
14961         ;;
14962       *)
14963         shlibpath_overrides_runpath=yes
14964         ;;
14965       esac
14966   else
14967     shlibpath_overrides_runpath=yes
14968   fi
14969   ;;
14970
14971 os2*)
14972   libname_spec='$name'
14973   shrext_cmds=".dll"
14974   need_lib_prefix=no
14975   library_names_spec='$libname${shared_ext} $libname.a'
14976   dynamic_linker='OS/2 ld.exe'
14977   shlibpath_var=LIBPATH
14978   ;;
14979
14980 osf3* | osf4* | osf5*)
14981   version_type=osf
14982   need_lib_prefix=no
14983   need_version=no
14984   soname_spec='${libname}${release}${shared_ext}$major'
14985   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14986   shlibpath_var=LD_LIBRARY_PATH
14987   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14988   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14989   ;;
14990
14991 rdos*)
14992   dynamic_linker=no
14993   ;;
14994
14995 solaris*)
14996   version_type=linux
14997   need_lib_prefix=no
14998   need_version=no
14999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000   soname_spec='${libname}${release}${shared_ext}$major'
15001   shlibpath_var=LD_LIBRARY_PATH
15002   shlibpath_overrides_runpath=yes
15003   hardcode_into_libs=yes
15004   # ldd complains unless libraries are executable
15005   postinstall_cmds='chmod +x $lib'
15006   ;;
15007
15008 sunos4*)
15009   version_type=sunos
15010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15011   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15012   shlibpath_var=LD_LIBRARY_PATH
15013   shlibpath_overrides_runpath=yes
15014   if test "$with_gnu_ld" = yes; then
15015     need_lib_prefix=no
15016   fi
15017   need_version=yes
15018   ;;
15019
15020 sysv4 | sysv4.3*)
15021   version_type=linux
15022   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15023   soname_spec='${libname}${release}${shared_ext}$major'
15024   shlibpath_var=LD_LIBRARY_PATH
15025   case $host_vendor in
15026     sni)
15027       shlibpath_overrides_runpath=no
15028       need_lib_prefix=no
15029       runpath_var=LD_RUN_PATH
15030       ;;
15031     siemens)
15032       need_lib_prefix=no
15033       ;;
15034     motorola)
15035       need_lib_prefix=no
15036       need_version=no
15037       shlibpath_overrides_runpath=no
15038       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15039       ;;
15040   esac
15041   ;;
15042
15043 sysv4*MP*)
15044   if test -d /usr/nec ;then
15045     version_type=linux
15046     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15047     soname_spec='$libname${shared_ext}.$major'
15048     shlibpath_var=LD_LIBRARY_PATH
15049   fi
15050   ;;
15051
15052 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15053   version_type=freebsd-elf
15054   need_lib_prefix=no
15055   need_version=no
15056   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15057   soname_spec='${libname}${release}${shared_ext}$major'
15058   shlibpath_var=LD_LIBRARY_PATH
15059   shlibpath_overrides_runpath=yes
15060   hardcode_into_libs=yes
15061   if test "$with_gnu_ld" = yes; then
15062     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15063   else
15064     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15065     case $host_os in
15066       sco3.2v5*)
15067         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15068         ;;
15069     esac
15070   fi
15071   sys_lib_dlsearch_path_spec='/usr/lib'
15072   ;;
15073
15074 tpf*)
15075   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15076   version_type=linux
15077   need_lib_prefix=no
15078   need_version=no
15079   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15080   shlibpath_var=LD_LIBRARY_PATH
15081   shlibpath_overrides_runpath=no
15082   hardcode_into_libs=yes
15083   ;;
15084
15085 uts4*)
15086   version_type=linux
15087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15088   soname_spec='${libname}${release}${shared_ext}$major'
15089   shlibpath_var=LD_LIBRARY_PATH
15090   ;;
15091
15092 *)
15093   dynamic_linker=no
15094   ;;
15095 esac
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15097 $as_echo "$dynamic_linker" >&6; }
15098 test "$dynamic_linker" = no && can_build_shared=no
15099
15100 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15101 if test "$GCC" = yes; then
15102   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15103 fi
15104
15105 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15106   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15107 fi
15108 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15109   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15110 fi
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15148 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15149 hardcode_action_CXX=
15150 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15151    test -n "$runpath_var_CXX" ||
15152    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15153
15154   # We can hardcode non-existent directories.
15155   if test "$hardcode_direct_CXX" != no &&
15156      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15157      # have to relink, otherwise we might link with an installed library
15158      # when we should be linking with a yet-to-be-installed one
15159      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15160      test "$hardcode_minus_L_CXX" != no; then
15161     # Linking always hardcodes the temporary library directory.
15162     hardcode_action_CXX=relink
15163   else
15164     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15165     hardcode_action_CXX=immediate
15166   fi
15167 else
15168   # We cannot hardcode anything, or else we can only hardcode existing
15169   # directories.
15170   hardcode_action_CXX=unsupported
15171 fi
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15173 $as_echo "$hardcode_action_CXX" >&6; }
15174
15175 if test "$hardcode_action_CXX" = relink ||
15176    test "$inherit_rpath_CXX" = yes; then
15177   # Fast installation is not supported
15178   enable_fast_install=no
15179 elif test "$shlibpath_overrides_runpath" = yes ||
15180      test "$enable_shared" = no; then
15181   # Fast installation is not necessary
15182   enable_fast_install=needless
15183 fi
15184
15185
15186
15187
15188
15189
15190
15191   fi # test -n "$compiler"
15192
15193   CC=$lt_save_CC
15194   LDCXX=$LD
15195   LD=$lt_save_LD
15196   GCC=$lt_save_GCC
15197   with_gnu_ld=$lt_save_with_gnu_ld
15198   lt_cv_path_LDCXX=$lt_cv_path_LD
15199   lt_cv_path_LD=$lt_save_path_LD
15200   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15201   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15202 fi # test "$_lt_caught_CXX_error" != yes
15203
15204 ac_ext=c
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15209
15210
15211
15212 # Version
15213
15214
15215
15216
15217 HB_VERSION_MAJOR=0
15218 HB_VERSION_MINOR=9
15219 HB_VERSION_MICRO=3
15220 HB_VERSION=0.9.3
15221
15222
15223
15224
15225
15226 # Libtool version
15227
15228
15229
15230
15231 HB_LIBTOOL_VERSION_INFO=903:0:903
15232
15233
15234
15235 # Functions and headers
15236 for ac_func in atexit mprotect sysconf getpagesize sched_yield mmap _setmode isatty
15237 do :
15238   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15240 eval as_val=\$$as_ac_var
15241    if test "x$as_val" = x""yes; then :
15242   cat >>confdefs.h <<_ACEOF
15243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15244 _ACEOF
15245
15246 fi
15247 done
15248
15249 for ac_header in unistd.h sys/mman.h sched.h io.h
15250 do :
15251   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15253 eval as_val=\$$as_ac_Header
15254    if test "x$as_val" = x""yes; then :
15255   cat >>confdefs.h <<_ACEOF
15256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15257 _ACEOF
15258
15259 fi
15260
15261 done
15262
15263
15264 # Compiler flags
15265
15266 if test "x$GCC" = "xyes"; then
15267
15268         # Make symbols link locally
15269         LDFLAGS="$LDFLAGS -Bsymbolic-functions"
15270
15271         # Make sure we don't link to libstdc++
15272         CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
15273
15274         # Assorted warnings
15275         CXXFLAGS="$CXXFLAGS -Wcast-align"
15276
15277         case "$host" in
15278                 *-*-mingw*)
15279                 ;;
15280                 *)
15281                         # Hide inline methods
15282                         CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
15283                 ;;
15284         esac
15285
15286         case "$host" in
15287                 arm-*-*)
15288                         # Request byte alignment on arm
15289                         CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
15290                 ;;
15291         esac
15292 fi
15293
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
15295 $as_echo_n "checking for native Win32... " >&6; }
15296 case "$host" in
15297   *-*-mingw*)
15298     hb_os_win32=yes
15299     ;;
15300   *)
15301     hb_os_win32=no
15302     ;;
15303 esac
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_os_win32" >&5
15305 $as_echo "$hb_os_win32" >&6; }
15306  if test "$hb_os_win32" = "yes"; then
15307   OS_WIN32_TRUE=
15308   OS_WIN32_FALSE='#'
15309 else
15310   OS_WIN32_TRUE='#'
15311   OS_WIN32_FALSE=
15312 fi
15313
15314
15315
15316 have_ot=true
15317 if $have_ot; then
15318
15319 $as_echo "#define HAVE_OT 1" >>confdefs.h
15320
15321 fi
15322  if $have_ot; then
15323   HAVE_OT_TRUE=
15324   HAVE_OT_FALSE='#'
15325 else
15326   HAVE_OT_TRUE='#'
15327   HAVE_OT_FALSE=
15328 fi
15329
15330
15331
15332 have_hb_old=true
15333 if $have_hb_old; then
15334
15335 $as_echo "#define HAVE_HB_OLD 1" >>confdefs.h
15336
15337 fi
15338  if $have_hb_old; then
15339   HAVE_HB_OLD_TRUE=
15340   HAVE_HB_OLD_FALSE='#'
15341 else
15342   HAVE_HB_OLD_TRUE='#'
15343   HAVE_HB_OLD_FALSE=
15344 fi
15345
15346
15347
15348
15349
15350 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15351         if test -n "$ac_tool_prefix"; then
15352   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15353 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15355 $as_echo_n "checking for $ac_word... " >&6; }
15356 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15357   $as_echo_n "(cached) " >&6
15358 else
15359   case $PKG_CONFIG in
15360   [\\/]* | ?:[\\/]*)
15361   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15362   ;;
15363   *)
15364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15365 for as_dir in $PATH
15366 do
15367   IFS=$as_save_IFS
15368   test -z "$as_dir" && as_dir=.
15369     for ac_exec_ext in '' $ac_executable_extensions; do
15370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15371     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15373     break 2
15374   fi
15375 done
15376   done
15377 IFS=$as_save_IFS
15378
15379   ;;
15380 esac
15381 fi
15382 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15383 if test -n "$PKG_CONFIG"; then
15384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15385 $as_echo "$PKG_CONFIG" >&6; }
15386 else
15387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15388 $as_echo "no" >&6; }
15389 fi
15390
15391
15392 fi
15393 if test -z "$ac_cv_path_PKG_CONFIG"; then
15394   ac_pt_PKG_CONFIG=$PKG_CONFIG
15395   # Extract the first word of "pkg-config", so it can be a program name with args.
15396 set dummy pkg-config; ac_word=$2
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15398 $as_echo_n "checking for $ac_word... " >&6; }
15399 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
15400   $as_echo_n "(cached) " >&6
15401 else
15402   case $ac_pt_PKG_CONFIG in
15403   [\\/]* | ?:[\\/]*)
15404   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15405   ;;
15406   *)
15407   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15408 for as_dir in $PATH
15409 do
15410   IFS=$as_save_IFS
15411   test -z "$as_dir" && as_dir=.
15412     for ac_exec_ext in '' $ac_executable_extensions; do
15413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15414     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15416     break 2
15417   fi
15418 done
15419   done
15420 IFS=$as_save_IFS
15421
15422   ;;
15423 esac
15424 fi
15425 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15426 if test -n "$ac_pt_PKG_CONFIG"; then
15427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15428 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15429 else
15430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15431 $as_echo "no" >&6; }
15432 fi
15433
15434   if test "x$ac_pt_PKG_CONFIG" = x; then
15435     PKG_CONFIG=""
15436   else
15437     case $cross_compiling:$ac_tool_warned in
15438 yes:)
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15441 ac_tool_warned=yes ;;
15442 esac
15443     PKG_CONFIG=$ac_pt_PKG_CONFIG
15444   fi
15445 else
15446   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15447 fi
15448
15449 fi
15450 if test -n "$PKG_CONFIG"; then
15451         _pkg_min_version=0.9.0
15452         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15453 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15454         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15455                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15456 $as_echo "yes" >&6; }
15457         else
15458                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15459 $as_echo "no" >&6; }
15460                 PKG_CONFIG=""
15461         fi
15462
15463 fi
15464
15465 pkg_failed=no
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
15467 $as_echo_n "checking for GLIB... " >&6; }
15468
15469 if test -n "$PKG_CONFIG"; then
15470     if test -n "$GLIB_CFLAGS"; then
15471         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
15472     else
15473         if test -n "$PKG_CONFIG" && \
15474     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
15475   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
15476   ac_status=$?
15477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15478   test $ac_status = 0; }; then
15479   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
15480 else
15481   pkg_failed=yes
15482 fi
15483     fi
15484 else
15485         pkg_failed=untried
15486 fi
15487 if test -n "$PKG_CONFIG"; then
15488     if test -n "$GLIB_LIBS"; then
15489         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15490     else
15491         if test -n "$PKG_CONFIG" && \
15492     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
15493   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
15494   ac_status=$?
15495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496   test $ac_status = 0; }; then
15497   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
15498 else
15499   pkg_failed=yes
15500 fi
15501     fi
15502 else
15503         pkg_failed=untried
15504 fi
15505
15506
15507
15508 if test $pkg_failed = yes; then
15509
15510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15511         _pkg_short_errors_supported=yes
15512 else
15513         _pkg_short_errors_supported=no
15514 fi
15515         if test $_pkg_short_errors_supported = yes; then
15516                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
15517         else
15518                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
15519         fi
15520         # Put the nasty error message in config.log where it belongs
15521         echo "$GLIB_PKG_ERRORS" >&5
15522
15523         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15524 $as_echo "no" >&6; }
15525                 have_glib=false
15526 elif test $pkg_failed = untried; then
15527         have_glib=false
15528 else
15529         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
15530         GLIB_LIBS=$pkg_cv_GLIB_LIBS
15531         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15532 $as_echo "yes" >&6; }
15533         have_glib=true
15534 fi
15535 if $have_glib; then
15536
15537 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
15538
15539 fi
15540  if $have_glib; then
15541   HAVE_GLIB_TRUE=
15542   HAVE_GLIB_FALSE='#'
15543 else
15544   HAVE_GLIB_TRUE='#'
15545   HAVE_GLIB_FALSE=
15546 fi
15547
15548
15549
15550 pkg_failed=no
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
15552 $as_echo_n "checking for GTHREAD... " >&6; }
15553
15554 if test -n "$PKG_CONFIG"; then
15555     if test -n "$GTHREAD_CFLAGS"; then
15556         pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
15557     else
15558         if test -n "$PKG_CONFIG" && \
15559     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
15560   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
15561   ac_status=$?
15562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15563   test $ac_status = 0; }; then
15564   pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
15565 else
15566   pkg_failed=yes
15567 fi
15568     fi
15569 else
15570         pkg_failed=untried
15571 fi
15572 if test -n "$PKG_CONFIG"; then
15573     if test -n "$GTHREAD_LIBS"; then
15574         pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
15575     else
15576         if test -n "$PKG_CONFIG" && \
15577     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
15578   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
15579   ac_status=$?
15580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15581   test $ac_status = 0; }; then
15582   pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
15583 else
15584   pkg_failed=yes
15585 fi
15586     fi
15587 else
15588         pkg_failed=untried
15589 fi
15590
15591
15592
15593 if test $pkg_failed = yes; then
15594
15595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15596         _pkg_short_errors_supported=yes
15597 else
15598         _pkg_short_errors_supported=no
15599 fi
15600         if test $_pkg_short_errors_supported = yes; then
15601                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
15602         else
15603                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
15604         fi
15605         # Put the nasty error message in config.log where it belongs
15606         echo "$GTHREAD_PKG_ERRORS" >&5
15607
15608         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609 $as_echo "no" >&6; }
15610                 have_gthread=false
15611 elif test $pkg_failed = untried; then
15612         have_gthread=false
15613 else
15614         GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
15615         GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
15616         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15617 $as_echo "yes" >&6; }
15618         have_gthread=true
15619 fi
15620 if $have_gthread; then
15621
15622 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
15623
15624 fi
15625  if $have_gthread; then
15626   HAVE_GTHREAD_TRUE=
15627   HAVE_GTHREAD_FALSE='#'
15628 else
15629   HAVE_GTHREAD_TRUE='#'
15630   HAVE_GTHREAD_FALSE=
15631 fi
15632
15633
15634
15635 pkg_failed=no
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
15637 $as_echo_n "checking for GOBJECT... " >&6; }
15638
15639 if test -n "$PKG_CONFIG"; then
15640     if test -n "$GOBJECT_CFLAGS"; then
15641         pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
15642     else
15643         if test -n "$PKG_CONFIG" && \
15644     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 >= 2.16\""; } >&5
15645   ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 >= 2.16") 2>&5
15646   ac_status=$?
15647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15648   test $ac_status = 0; }; then
15649   pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0 >= 2.16" 2>/dev/null`
15650 else
15651   pkg_failed=yes
15652 fi
15653     fi
15654 else
15655         pkg_failed=untried
15656 fi
15657 if test -n "$PKG_CONFIG"; then
15658     if test -n "$GOBJECT_LIBS"; then
15659         pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
15660     else
15661         if test -n "$PKG_CONFIG" && \
15662     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 >= 2.16\""; } >&5
15663   ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 >= 2.16") 2>&5
15664   ac_status=$?
15665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666   test $ac_status = 0; }; then
15667   pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0 >= 2.16" 2>/dev/null`
15668 else
15669   pkg_failed=yes
15670 fi
15671     fi
15672 else
15673         pkg_failed=untried
15674 fi
15675
15676
15677
15678 if test $pkg_failed = yes; then
15679
15680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15681         _pkg_short_errors_supported=yes
15682 else
15683         _pkg_short_errors_supported=no
15684 fi
15685         if test $_pkg_short_errors_supported = yes; then
15686                 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 glib-2.0 >= 2.16"`
15687         else
15688                 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 glib-2.0 >= 2.16"`
15689         fi
15690         # Put the nasty error message in config.log where it belongs
15691         echo "$GOBJECT_PKG_ERRORS" >&5
15692
15693         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15694 $as_echo "no" >&6; }
15695                 have_gobject=false
15696 elif test $pkg_failed = untried; then
15697         have_gobject=false
15698 else
15699         GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
15700         GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
15701         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15702 $as_echo "yes" >&6; }
15703         have_gobject=true
15704 fi
15705 if $have_gobject; then
15706
15707 $as_echo "#define HAVE_GOBJECT 1" >>confdefs.h
15708
15709         GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15710
15711 fi
15712  if $have_gobject; then
15713   HAVE_GOBJECT_TRUE=
15714   HAVE_GOBJECT_FALSE='#'
15715 else
15716   HAVE_GOBJECT_TRUE='#'
15717   HAVE_GOBJECT_FALSE=
15718 fi
15719
15720
15721
15722
15723 pkg_failed=no
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
15725 $as_echo_n "checking for CAIRO... " >&6; }
15726
15727 if test -n "$PKG_CONFIG"; then
15728     if test -n "$CAIRO_CFLAGS"; then
15729         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
15730     else
15731         if test -n "$PKG_CONFIG" && \
15732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
15733   ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
15734   ac_status=$?
15735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15736   test $ac_status = 0; }; then
15737   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.8.0" 2>/dev/null`
15738 else
15739   pkg_failed=yes
15740 fi
15741     fi
15742 else
15743         pkg_failed=untried
15744 fi
15745 if test -n "$PKG_CONFIG"; then
15746     if test -n "$CAIRO_LIBS"; then
15747         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
15748     else
15749         if test -n "$PKG_CONFIG" && \
15750     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.8.0\""; } >&5
15751   ($PKG_CONFIG --exists --print-errors "cairo >= 1.8.0") 2>&5
15752   ac_status=$?
15753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15754   test $ac_status = 0; }; then
15755   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.8.0" 2>/dev/null`
15756 else
15757   pkg_failed=yes
15758 fi
15759     fi
15760 else
15761         pkg_failed=untried
15762 fi
15763
15764
15765
15766 if test $pkg_failed = yes; then
15767
15768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15769         _pkg_short_errors_supported=yes
15770 else
15771         _pkg_short_errors_supported=no
15772 fi
15773         if test $_pkg_short_errors_supported = yes; then
15774                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.8.0"`
15775         else
15776                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.8.0"`
15777         fi
15778         # Put the nasty error message in config.log where it belongs
15779         echo "$CAIRO_PKG_ERRORS" >&5
15780
15781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15782 $as_echo "no" >&6; }
15783                 have_cairo=false
15784 elif test $pkg_failed = untried; then
15785         have_cairo=false
15786 else
15787         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
15788         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
15789         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15790 $as_echo "yes" >&6; }
15791         have_cairo=true
15792 fi
15793 if $have_cairo; then
15794
15795 $as_echo "#define HAVE_CAIRO 1" >>confdefs.h
15796
15797 fi
15798  if $have_cairo; then
15799   HAVE_CAIRO_TRUE=
15800   HAVE_CAIRO_FALSE='#'
15801 else
15802   HAVE_CAIRO_TRUE='#'
15803   HAVE_CAIRO_FALSE=
15804 fi
15805
15806
15807
15808 pkg_failed=no
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_FT" >&5
15810 $as_echo_n "checking for CAIRO_FT... " >&6; }
15811
15812 if test -n "$PKG_CONFIG"; then
15813     if test -n "$CAIRO_FT_CFLAGS"; then
15814         pkg_cv_CAIRO_FT_CFLAGS="$CAIRO_FT_CFLAGS"
15815     else
15816         if test -n "$PKG_CONFIG" && \
15817     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
15818   ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
15819   ac_status=$?
15820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15821   test $ac_status = 0; }; then
15822   pkg_cv_CAIRO_FT_CFLAGS=`$PKG_CONFIG --cflags "cairo-ft" 2>/dev/null`
15823 else
15824   pkg_failed=yes
15825 fi
15826     fi
15827 else
15828         pkg_failed=untried
15829 fi
15830 if test -n "$PKG_CONFIG"; then
15831     if test -n "$CAIRO_FT_LIBS"; then
15832         pkg_cv_CAIRO_FT_LIBS="$CAIRO_FT_LIBS"
15833     else
15834         if test -n "$PKG_CONFIG" && \
15835     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-ft\""; } >&5
15836   ($PKG_CONFIG --exists --print-errors "cairo-ft") 2>&5
15837   ac_status=$?
15838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15839   test $ac_status = 0; }; then
15840   pkg_cv_CAIRO_FT_LIBS=`$PKG_CONFIG --libs "cairo-ft" 2>/dev/null`
15841 else
15842   pkg_failed=yes
15843 fi
15844     fi
15845 else
15846         pkg_failed=untried
15847 fi
15848
15849
15850
15851 if test $pkg_failed = yes; then
15852
15853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15854         _pkg_short_errors_supported=yes
15855 else
15856         _pkg_short_errors_supported=no
15857 fi
15858         if test $_pkg_short_errors_supported = yes; then
15859                 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-ft"`
15860         else
15861                 CAIRO_FT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-ft"`
15862         fi
15863         # Put the nasty error message in config.log where it belongs
15864         echo "$CAIRO_FT_PKG_ERRORS" >&5
15865
15866         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15867 $as_echo "no" >&6; }
15868                 have_cairo_ft=false
15869 elif test $pkg_failed = untried; then
15870         have_cairo_ft=false
15871 else
15872         CAIRO_FT_CFLAGS=$pkg_cv_CAIRO_FT_CFLAGS
15873         CAIRO_FT_LIBS=$pkg_cv_CAIRO_FT_LIBS
15874         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15875 $as_echo "yes" >&6; }
15876         have_cairo_ft=true
15877 fi
15878 if $have_cairo_ft; then
15879
15880 $as_echo "#define HAVE_CAIRO_FT 1" >>confdefs.h
15881
15882 fi
15883  if $have_cairo_ft; then
15884   HAVE_CAIRO_FT_TRUE=
15885   HAVE_CAIRO_FT_FALSE='#'
15886 else
15887   HAVE_CAIRO_FT_TRUE='#'
15888   HAVE_CAIRO_FT_FALSE=
15889 fi
15890
15891
15892
15893
15894 pkg_failed=no
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
15896 $as_echo_n "checking for ICU... " >&6; }
15897
15898 if test -n "$PKG_CONFIG"; then
15899     if test -n "$ICU_CFLAGS"; then
15900         pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
15901     else
15902         if test -n "$PKG_CONFIG" && \
15903     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
15904   ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
15905   ac_status=$?
15906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15907   test $ac_status = 0; }; then
15908   pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
15909 else
15910   pkg_failed=yes
15911 fi
15912     fi
15913 else
15914         pkg_failed=untried
15915 fi
15916 if test -n "$PKG_CONFIG"; then
15917     if test -n "$ICU_LIBS"; then
15918         pkg_cv_ICU_LIBS="$ICU_LIBS"
15919     else
15920         if test -n "$PKG_CONFIG" && \
15921     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
15922   ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
15923   ac_status=$?
15924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15925   test $ac_status = 0; }; then
15926   pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
15927 else
15928   pkg_failed=yes
15929 fi
15930     fi
15931 else
15932         pkg_failed=untried
15933 fi
15934
15935
15936
15937 if test $pkg_failed = yes; then
15938
15939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15940         _pkg_short_errors_supported=yes
15941 else
15942         _pkg_short_errors_supported=no
15943 fi
15944         if test $_pkg_short_errors_supported = yes; then
15945                 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "icu-uc"`
15946         else
15947                 ICU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "icu-uc"`
15948         fi
15949         # Put the nasty error message in config.log where it belongs
15950         echo "$ICU_PKG_ERRORS" >&5
15951
15952         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15953 $as_echo "no" >&6; }
15954                 have_icu=false
15955 elif test $pkg_failed = untried; then
15956         have_icu=false
15957 else
15958         ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
15959         ICU_LIBS=$pkg_cv_ICU_LIBS
15960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15961 $as_echo "yes" >&6; }
15962         have_icu=true
15963 fi
15964 if $have_icu; then
15965
15966 $as_echo "#define HAVE_ICU 1" >>confdefs.h
15967
15968 fi
15969  if $have_icu; then
15970   HAVE_ICU_TRUE=
15971   HAVE_ICU_FALSE='#'
15972 else
15973   HAVE_ICU_TRUE='#'
15974   HAVE_ICU_FALSE=
15975 fi
15976
15977
15978
15979
15980 pkg_failed=no
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRAPHITE2" >&5
15982 $as_echo_n "checking for GRAPHITE2... " >&6; }
15983
15984 if test -n "$PKG_CONFIG"; then
15985     if test -n "$GRAPHITE2_CFLAGS"; then
15986         pkg_cv_GRAPHITE2_CFLAGS="$GRAPHITE2_CFLAGS"
15987     else
15988         if test -n "$PKG_CONFIG" && \
15989     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
15990   ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
15991   ac_status=$?
15992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15993   test $ac_status = 0; }; then
15994   pkg_cv_GRAPHITE2_CFLAGS=`$PKG_CONFIG --cflags "graphite2" 2>/dev/null`
15995 else
15996   pkg_failed=yes
15997 fi
15998     fi
15999 else
16000         pkg_failed=untried
16001 fi
16002 if test -n "$PKG_CONFIG"; then
16003     if test -n "$GRAPHITE2_LIBS"; then
16004         pkg_cv_GRAPHITE2_LIBS="$GRAPHITE2_LIBS"
16005     else
16006         if test -n "$PKG_CONFIG" && \
16007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"graphite2\""; } >&5
16008   ($PKG_CONFIG --exists --print-errors "graphite2") 2>&5
16009   ac_status=$?
16010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16011   test $ac_status = 0; }; then
16012   pkg_cv_GRAPHITE2_LIBS=`$PKG_CONFIG --libs "graphite2" 2>/dev/null`
16013 else
16014   pkg_failed=yes
16015 fi
16016     fi
16017 else
16018         pkg_failed=untried
16019 fi
16020
16021
16022
16023 if test $pkg_failed = yes; then
16024
16025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16026         _pkg_short_errors_supported=yes
16027 else
16028         _pkg_short_errors_supported=no
16029 fi
16030         if test $_pkg_short_errors_supported = yes; then
16031                 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "graphite2"`
16032         else
16033                 GRAPHITE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "graphite2"`
16034         fi
16035         # Put the nasty error message in config.log where it belongs
16036         echo "$GRAPHITE2_PKG_ERRORS" >&5
16037
16038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16039 $as_echo "no" >&6; }
16040                 have_graphite=false
16041 elif test $pkg_failed = untried; then
16042         have_graphite=false
16043 else
16044         GRAPHITE2_CFLAGS=$pkg_cv_GRAPHITE2_CFLAGS
16045         GRAPHITE2_LIBS=$pkg_cv_GRAPHITE2_LIBS
16046         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16047 $as_echo "yes" >&6; }
16048         have_graphite=true
16049 fi
16050 if $have_graphite; then
16051
16052 $as_echo "#define HAVE_GRAPHITE2 1" >>confdefs.h
16053
16054 fi
16055  if $have_graphite; then
16056   HAVE_GRAPHITE2_TRUE=
16057   HAVE_GRAPHITE2_FALSE='#'
16058 else
16059   HAVE_GRAPHITE2_TRUE='#'
16060   HAVE_GRAPHITE2_FALSE=
16061 fi
16062
16063
16064
16065
16066 pkg_failed=no
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
16068 $as_echo_n "checking for FREETYPE... " >&6; }
16069
16070 if test -n "$PKG_CONFIG"; then
16071     if test -n "$FREETYPE_CFLAGS"; then
16072         pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
16073     else
16074         if test -n "$PKG_CONFIG" && \
16075     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.3.8\""; } >&5
16076   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.3.8") 2>&5
16077   ac_status=$?
16078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16079   test $ac_status = 0; }; then
16080   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.3.8" 2>/dev/null`
16081 else
16082   pkg_failed=yes
16083 fi
16084     fi
16085 else
16086         pkg_failed=untried
16087 fi
16088 if test -n "$PKG_CONFIG"; then
16089     if test -n "$FREETYPE_LIBS"; then
16090         pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
16091     else
16092         if test -n "$PKG_CONFIG" && \
16093     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.3.8\""; } >&5
16094   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.3.8") 2>&5
16095   ac_status=$?
16096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16097   test $ac_status = 0; }; then
16098   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.3.8" 2>/dev/null`
16099 else
16100   pkg_failed=yes
16101 fi
16102     fi
16103 else
16104         pkg_failed=untried
16105 fi
16106
16107
16108
16109 if test $pkg_failed = yes; then
16110
16111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16112         _pkg_short_errors_supported=yes
16113 else
16114         _pkg_short_errors_supported=no
16115 fi
16116         if test $_pkg_short_errors_supported = yes; then
16117                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 2.3.8"`
16118         else
16119                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.3.8"`
16120         fi
16121         # Put the nasty error message in config.log where it belongs
16122         echo "$FREETYPE_PKG_ERRORS" >&5
16123
16124         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16126                 have_freetype=false
16127 elif test $pkg_failed = untried; then
16128         have_freetype=false
16129 else
16130         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
16131         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
16132         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16133 $as_echo "yes" >&6; }
16134         have_freetype=true
16135 fi
16136 if $have_freetype; then
16137
16138 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
16139
16140         _save_libs="$LIBS"
16141         _save_cflags="$CFLAGS"
16142         LIBS="$LIBS $FREETYPE_LIBS"
16143         CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
16144         for ac_func in FT_Face_GetCharVariantIndex
16145 do :
16146   ac_fn_c_check_func "$LINENO" "FT_Face_GetCharVariantIndex" "ac_cv_func_FT_Face_GetCharVariantIndex"
16147 if test "x$ac_cv_func_FT_Face_GetCharVariantIndex" = x""yes; then :
16148   cat >>confdefs.h <<_ACEOF
16149 #define HAVE_FT_FACE_GETCHARVARIANTINDEX 1
16150 _ACEOF
16151
16152 fi
16153 done
16154
16155         LIBS="$_save_libs"
16156         CFLAGS="$_save_cflags"
16157 fi
16158  if $have_freetype; then
16159   HAVE_FREETYPE_TRUE=
16160   HAVE_FREETYPE_FALSE='#'
16161 else
16162   HAVE_FREETYPE_TRUE='#'
16163   HAVE_FREETYPE_FALSE=
16164 fi
16165
16166
16167
16168 for ac_header in usp10.h windows.h
16169 do :
16170   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16171 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16172 eval as_val=\$$as_ac_Header
16173    if test "x$as_val" = x""yes; then :
16174   cat >>confdefs.h <<_ACEOF
16175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16176 _ACEOF
16177  have_uniscribe=true
16178 else
16179   have_uniscribe=false
16180 fi
16181
16182 done
16183
16184 if $have_uniscribe; then
16185         UNISCRIBE_CFLAGS=
16186         UNISCRIBE_LIBS="-lusp10 -lgdi32"
16187
16188
16189
16190 $as_echo "#define HAVE_UNISCRIBE 1" >>confdefs.h
16191
16192 fi
16193  if $have_uniscribe; then
16194   HAVE_UNISCRIBE_TRUE=
16195   HAVE_UNISCRIBE_FALSE='#'
16196 else
16197   HAVE_UNISCRIBE_TRUE='#'
16198   HAVE_UNISCRIBE_FALSE=
16199 fi
16200
16201
16202
16203 for ac_header in ApplicationServices/ApplicationServices.h
16204 do :
16205   ac_fn_c_check_header_mongrel "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
16206 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = x""yes; then :
16207   cat >>confdefs.h <<_ACEOF
16208 #define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1
16209 _ACEOF
16210  have_coretext=true
16211 else
16212   have_coretext=false
16213 fi
16214
16215 done
16216
16217 if $have_coretext; then
16218         CORETEXT_CFLAGS=
16219         CORETEXT_LIBS=
16220
16221
16222
16223 $as_echo "#define HAVE_CORETEXT 1" >>confdefs.h
16224
16225 fi
16226  if $have_coretext; then
16227   HAVE_CORETEXT_TRUE=
16228   HAVE_CORETEXT_FALSE='#'
16229 else
16230   HAVE_CORETEXT_TRUE='#'
16231   HAVE_CORETEXT_FALSE=
16232 fi
16233
16234
16235
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
16237 $as_echo_n "checking for Intel atomic primitives... " >&6; }
16238 if test "${hb_cv_have_intel_atomic_primitives+set}" = set; then :
16239   $as_echo_n "(cached) " >&6
16240 else
16241
16242         hb_cv_have_intel_atomic_primitives=false
16243         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h.  */
16245
16246                 void memory_barrier (void) { __sync_synchronize (); }
16247                 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
16248                 int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
16249                 void mutex_unlock (int *m) { __sync_lock_release (m); }
16250
16251 int
16252 main ()
16253 {
16254
16255   ;
16256   return 0;
16257 }
16258 _ACEOF
16259 if ac_fn_c_try_link "$LINENO"; then :
16260   hb_cv_have_intel_atomic_primitives=true
16261
16262 fi
16263 rm -f core conftest.err conftest.$ac_objext \
16264     conftest$ac_exeext conftest.$ac_ext
16265
16266 fi
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hb_cv_have_intel_atomic_primitives" >&5
16268 $as_echo "$hb_cv_have_intel_atomic_primitives" >&6; }
16269 if $hb_cv_have_intel_atomic_primitives; then
16270
16271 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
16272
16273 fi
16274
16275
16276 ac_config_files="$ac_config_files Makefile harfbuzz.pc src/Makefile src/hb-version.h src/hb-old/Makefile util/Makefile test/Makefile test/api/Makefile test/shaping/Makefile"
16277
16278
16279 cat >confcache <<\_ACEOF
16280 # This file is a shell script that caches the results of configure
16281 # tests run on this system so they can be shared between configure
16282 # scripts and configure runs, see configure's option --config-cache.
16283 # It is not useful on other systems.  If it contains results you don't
16284 # want to keep, you may remove or edit it.
16285 #
16286 # config.status only pays attention to the cache file if you give it
16287 # the --recheck option to rerun configure.
16288 #
16289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16291 # following values.
16292
16293 _ACEOF
16294
16295 # The following way of writing the cache mishandles newlines in values,
16296 # but we know of no workaround that is simple, portable, and efficient.
16297 # So, we kill variables containing newlines.
16298 # Ultrix sh set writes to stderr and can't be redirected directly,
16299 # and sets the high bit in the cache file unless we assign to the vars.
16300 (
16301   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16302     eval ac_val=\$$ac_var
16303     case $ac_val in #(
16304     *${as_nl}*)
16305       case $ac_var in #(
16306       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16308       esac
16309       case $ac_var in #(
16310       _ | IFS | as_nl) ;; #(
16311       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16312       *) { eval $ac_var=; unset $ac_var;} ;;
16313       esac ;;
16314     esac
16315   done
16316
16317   (set) 2>&1 |
16318     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16319     *${as_nl}ac_space=\ *)
16320       # `set' does not quote correctly, so add quotes: double-quote
16321       # substitution turns \\\\ into \\, and sed turns \\ into \.
16322       sed -n \
16323         "s/'/'\\\\''/g;
16324           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16325       ;; #(
16326     *)
16327       # `set' quotes correctly as required by POSIX, so do not add quotes.
16328       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16329       ;;
16330     esac |
16331     sort
16332 ) |
16333   sed '
16334      /^ac_cv_env_/b end
16335      t clear
16336      :clear
16337      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16338      t end
16339      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16340      :end' >>confcache
16341 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16342   if test -w "$cache_file"; then
16343     test "x$cache_file" != "x/dev/null" &&
16344       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16345 $as_echo "$as_me: updating cache $cache_file" >&6;}
16346     cat confcache >$cache_file
16347   else
16348     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16349 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16350   fi
16351 fi
16352 rm -f confcache
16353
16354 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16355 # Let make expand exec_prefix.
16356 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16357
16358 DEFS=-DHAVE_CONFIG_H
16359
16360 ac_libobjs=
16361 ac_ltlibobjs=
16362 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16363   # 1. Remove the extension, and $U if already installed.
16364   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16365   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16366   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16367   #    will be set to the directory where LIBOBJS objects are built.
16368   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16369   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16370 done
16371 LIBOBJS=$ac_libobjs
16372
16373 LTLIBOBJS=$ac_ltlibobjs
16374
16375
16376  if test -n "$EXEEXT"; then
16377   am__EXEEXT_TRUE=
16378   am__EXEEXT_FALSE='#'
16379 else
16380   am__EXEEXT_TRUE='#'
16381   am__EXEEXT_FALSE=
16382 fi
16383
16384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16385   as_fn_error "conditional \"AMDEP\" was never defined.
16386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16387 fi
16388 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16389   as_fn_error "conditional \"am__fastdepCC\" was never defined.
16390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16391 fi
16392 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16393   as_fn_error "conditional \"am__fastdepCC\" was never defined.
16394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16395 fi
16396 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16397   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16399 fi
16400 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16401   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16403 fi
16404 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16405   as_fn_error "conditional \"OS_WIN32\" was never defined.
16406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16407 fi
16408 if test -z "${HAVE_OT_TRUE}" && test -z "${HAVE_OT_FALSE}"; then
16409   as_fn_error "conditional \"HAVE_OT\" was never defined.
16410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16411 fi
16412 if test -z "${HAVE_HB_OLD_TRUE}" && test -z "${HAVE_HB_OLD_FALSE}"; then
16413   as_fn_error "conditional \"HAVE_HB_OLD\" was never defined.
16414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16415 fi
16416 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
16417   as_fn_error "conditional \"HAVE_GLIB\" was never defined.
16418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16419 fi
16420 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then
16421   as_fn_error "conditional \"HAVE_GTHREAD\" was never defined.
16422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16423 fi
16424 if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
16425   as_fn_error "conditional \"HAVE_GOBJECT\" was never defined.
16426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16427 fi
16428 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
16429   as_fn_error "conditional \"HAVE_CAIRO\" was never defined.
16430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16431 fi
16432 if test -z "${HAVE_CAIRO_FT_TRUE}" && test -z "${HAVE_CAIRO_FT_FALSE}"; then
16433   as_fn_error "conditional \"HAVE_CAIRO_FT\" was never defined.
16434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16435 fi
16436 if test -z "${HAVE_ICU_TRUE}" && test -z "${HAVE_ICU_FALSE}"; then
16437   as_fn_error "conditional \"HAVE_ICU\" was never defined.
16438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16439 fi
16440 if test -z "${HAVE_GRAPHITE2_TRUE}" && test -z "${HAVE_GRAPHITE2_FALSE}"; then
16441   as_fn_error "conditional \"HAVE_GRAPHITE2\" was never defined.
16442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16443 fi
16444 if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then
16445   as_fn_error "conditional \"HAVE_FREETYPE\" was never defined.
16446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16447 fi
16448 if test -z "${HAVE_UNISCRIBE_TRUE}" && test -z "${HAVE_UNISCRIBE_FALSE}"; then
16449   as_fn_error "conditional \"HAVE_UNISCRIBE\" was never defined.
16450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16451 fi
16452 if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then
16453   as_fn_error "conditional \"HAVE_CORETEXT\" was never defined.
16454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16455 fi
16456
16457 : ${CONFIG_STATUS=./config.status}
16458 ac_write_fail=0
16459 ac_clean_files_save=$ac_clean_files
16460 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16463 as_write_fail=0
16464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16465 #! $SHELL
16466 # Generated by $as_me.
16467 # Run this file to recreate the current configuration.
16468 # Compiler output produced by configure, useful for debugging
16469 # configure, is in config.log if it exists.
16470
16471 debug=false
16472 ac_cs_recheck=false
16473 ac_cs_silent=false
16474
16475 SHELL=\${CONFIG_SHELL-$SHELL}
16476 export SHELL
16477 _ASEOF
16478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16479 ## -------------------- ##
16480 ## M4sh Initialization. ##
16481 ## -------------------- ##
16482
16483 # Be more Bourne compatible
16484 DUALCASE=1; export DUALCASE # for MKS sh
16485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16486   emulate sh
16487   NULLCMD=:
16488   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16489   # is contrary to our usage.  Disable this feature.
16490   alias -g '${1+"$@"}'='"$@"'
16491   setopt NO_GLOB_SUBST
16492 else
16493   case `(set -o) 2>/dev/null` in #(
16494   *posix*) :
16495     set -o posix ;; #(
16496   *) :
16497      ;;
16498 esac
16499 fi
16500
16501
16502 as_nl='
16503 '
16504 export as_nl
16505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16506 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16509 # Prefer a ksh shell builtin over an external printf program on Solaris,
16510 # but without wasting forks for bash or zsh.
16511 if test -z "$BASH_VERSION$ZSH_VERSION" \
16512     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16513   as_echo='print -r --'
16514   as_echo_n='print -rn --'
16515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16516   as_echo='printf %s\n'
16517   as_echo_n='printf %s'
16518 else
16519   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16520     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16521     as_echo_n='/usr/ucb/echo -n'
16522   else
16523     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16524     as_echo_n_body='eval
16525       arg=$1;
16526       case $arg in #(
16527       *"$as_nl"*)
16528         expr "X$arg" : "X\\(.*\\)$as_nl";
16529         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16530       esac;
16531       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16532     '
16533     export as_echo_n_body
16534     as_echo_n='sh -c $as_echo_n_body as_echo'
16535   fi
16536   export as_echo_body
16537   as_echo='sh -c $as_echo_body as_echo'
16538 fi
16539
16540 # The user is always right.
16541 if test "${PATH_SEPARATOR+set}" != set; then
16542   PATH_SEPARATOR=:
16543   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16544     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16545       PATH_SEPARATOR=';'
16546   }
16547 fi
16548
16549
16550 # IFS
16551 # We need space, tab and new line, in precisely that order.  Quoting is
16552 # there to prevent editors from complaining about space-tab.
16553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16554 # splitting by setting IFS to empty value.)
16555 IFS=" ""        $as_nl"
16556
16557 # Find who we are.  Look in the path if we contain no directory separator.
16558 case $0 in #((
16559   *[\\/]* ) as_myself=$0 ;;
16560   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16561 for as_dir in $PATH
16562 do
16563   IFS=$as_save_IFS
16564   test -z "$as_dir" && as_dir=.
16565     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16566   done
16567 IFS=$as_save_IFS
16568
16569      ;;
16570 esac
16571 # We did not find ourselves, most probably we were run as `sh COMMAND'
16572 # in which case we are not to be found in the path.
16573 if test "x$as_myself" = x; then
16574   as_myself=$0
16575 fi
16576 if test ! -f "$as_myself"; then
16577   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16578   exit 1
16579 fi
16580
16581 # Unset variables that we do not need and which cause bugs (e.g. in
16582 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16583 # suppresses any "Segmentation fault" message there.  '((' could
16584 # trigger a bug in pdksh 5.2.14.
16585 for as_var in BASH_ENV ENV MAIL MAILPATH
16586 do eval test x\${$as_var+set} = xset \
16587   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16588 done
16589 PS1='$ '
16590 PS2='> '
16591 PS4='+ '
16592
16593 # NLS nuisances.
16594 LC_ALL=C
16595 export LC_ALL
16596 LANGUAGE=C
16597 export LANGUAGE
16598
16599 # CDPATH.
16600 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16601
16602
16603 # as_fn_error ERROR [LINENO LOG_FD]
16604 # ---------------------------------
16605 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16606 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16607 # script with status $?, using 1 if that was 0.
16608 as_fn_error ()
16609 {
16610   as_status=$?; test $as_status -eq 0 && as_status=1
16611   if test "$3"; then
16612     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16613     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16614   fi
16615   $as_echo "$as_me: error: $1" >&2
16616   as_fn_exit $as_status
16617 } # as_fn_error
16618
16619
16620 # as_fn_set_status STATUS
16621 # -----------------------
16622 # Set $? to STATUS, without forking.
16623 as_fn_set_status ()
16624 {
16625   return $1
16626 } # as_fn_set_status
16627
16628 # as_fn_exit STATUS
16629 # -----------------
16630 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16631 as_fn_exit ()
16632 {
16633   set +e
16634   as_fn_set_status $1
16635   exit $1
16636 } # as_fn_exit
16637
16638 # as_fn_unset VAR
16639 # ---------------
16640 # Portably unset VAR.
16641 as_fn_unset ()
16642 {
16643   { eval $1=; unset $1;}
16644 }
16645 as_unset=as_fn_unset
16646 # as_fn_append VAR VALUE
16647 # ----------------------
16648 # Append the text in VALUE to the end of the definition contained in VAR. Take
16649 # advantage of any shell optimizations that allow amortized linear growth over
16650 # repeated appends, instead of the typical quadratic growth present in naive
16651 # implementations.
16652 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16653   eval 'as_fn_append ()
16654   {
16655     eval $1+=\$2
16656   }'
16657 else
16658   as_fn_append ()
16659   {
16660     eval $1=\$$1\$2
16661   }
16662 fi # as_fn_append
16663
16664 # as_fn_arith ARG...
16665 # ------------------
16666 # Perform arithmetic evaluation on the ARGs, and store the result in the
16667 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16668 # must be portable across $(()) and expr.
16669 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16670   eval 'as_fn_arith ()
16671   {
16672     as_val=$(( $* ))
16673   }'
16674 else
16675   as_fn_arith ()
16676   {
16677     as_val=`expr "$@" || test $? -eq 1`
16678   }
16679 fi # as_fn_arith
16680
16681
16682 if expr a : '\(a\)' >/dev/null 2>&1 &&
16683    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16684   as_expr=expr
16685 else
16686   as_expr=false
16687 fi
16688
16689 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16690   as_basename=basename
16691 else
16692   as_basename=false
16693 fi
16694
16695 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16696   as_dirname=dirname
16697 else
16698   as_dirname=false
16699 fi
16700
16701 as_me=`$as_basename -- "$0" ||
16702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16703          X"$0" : 'X\(//\)$' \| \
16704          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16705 $as_echo X/"$0" |
16706     sed '/^.*\/\([^/][^/]*\)\/*$/{
16707             s//\1/
16708             q
16709           }
16710           /^X\/\(\/\/\)$/{
16711             s//\1/
16712             q
16713           }
16714           /^X\/\(\/\).*/{
16715             s//\1/
16716             q
16717           }
16718           s/.*/./; q'`
16719
16720 # Avoid depending upon Character Ranges.
16721 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16722 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16723 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16724 as_cr_digits='0123456789'
16725 as_cr_alnum=$as_cr_Letters$as_cr_digits
16726
16727 ECHO_C= ECHO_N= ECHO_T=
16728 case `echo -n x` in #(((((
16729 -n*)
16730   case `echo 'xy\c'` in
16731   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16732   xy)  ECHO_C='\c';;
16733   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16734        ECHO_T=' ';;
16735   esac;;
16736 *)
16737   ECHO_N='-n';;
16738 esac
16739
16740 rm -f conf$$ conf$$.exe conf$$.file
16741 if test -d conf$$.dir; then
16742   rm -f conf$$.dir/conf$$.file
16743 else
16744   rm -f conf$$.dir
16745   mkdir conf$$.dir 2>/dev/null
16746 fi
16747 if (echo >conf$$.file) 2>/dev/null; then
16748   if ln -s conf$$.file conf$$ 2>/dev/null; then
16749     as_ln_s='ln -s'
16750     # ... but there are two gotchas:
16751     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16752     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16753     # In both cases, we have to default to `cp -p'.
16754     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16755       as_ln_s='cp -p'
16756   elif ln conf$$.file conf$$ 2>/dev/null; then
16757     as_ln_s=ln
16758   else
16759     as_ln_s='cp -p'
16760   fi
16761 else
16762   as_ln_s='cp -p'
16763 fi
16764 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16765 rmdir conf$$.dir 2>/dev/null
16766
16767
16768 # as_fn_mkdir_p
16769 # -------------
16770 # Create "$as_dir" as a directory, including parents if necessary.
16771 as_fn_mkdir_p ()
16772 {
16773
16774   case $as_dir in #(
16775   -*) as_dir=./$as_dir;;
16776   esac
16777   test -d "$as_dir" || eval $as_mkdir_p || {
16778     as_dirs=
16779     while :; do
16780       case $as_dir in #(
16781       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16782       *) as_qdir=$as_dir;;
16783       esac
16784       as_dirs="'$as_qdir' $as_dirs"
16785       as_dir=`$as_dirname -- "$as_dir" ||
16786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16787          X"$as_dir" : 'X\(//\)[^/]' \| \
16788          X"$as_dir" : 'X\(//\)$' \| \
16789          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16790 $as_echo X"$as_dir" |
16791     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16792             s//\1/
16793             q
16794           }
16795           /^X\(\/\/\)[^/].*/{
16796             s//\1/
16797             q
16798           }
16799           /^X\(\/\/\)$/{
16800             s//\1/
16801             q
16802           }
16803           /^X\(\/\).*/{
16804             s//\1/
16805             q
16806           }
16807           s/.*/./; q'`
16808       test -d "$as_dir" && break
16809     done
16810     test -z "$as_dirs" || eval "mkdir $as_dirs"
16811   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16812
16813
16814 } # as_fn_mkdir_p
16815 if mkdir -p . 2>/dev/null; then
16816   as_mkdir_p='mkdir -p "$as_dir"'
16817 else
16818   test -d ./-p && rmdir ./-p
16819   as_mkdir_p=false
16820 fi
16821
16822 if test -x / >/dev/null 2>&1; then
16823   as_test_x='test -x'
16824 else
16825   if ls -dL / >/dev/null 2>&1; then
16826     as_ls_L_option=L
16827   else
16828     as_ls_L_option=
16829   fi
16830   as_test_x='
16831     eval sh -c '\''
16832       if test -d "$1"; then
16833         test -d "$1/.";
16834       else
16835         case $1 in #(
16836         -*)set "./$1";;
16837         esac;
16838         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16839         ???[sx]*):;;*)false;;esac;fi
16840     '\'' sh
16841   '
16842 fi
16843 as_executable_p=$as_test_x
16844
16845 # Sed expression to map a string onto a valid CPP name.
16846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16847
16848 # Sed expression to map a string onto a valid variable name.
16849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16850
16851
16852 exec 6>&1
16853 ## ----------------------------------- ##
16854 ## Main body of $CONFIG_STATUS script. ##
16855 ## ----------------------------------- ##
16856 _ASEOF
16857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16858
16859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16860 # Save the log message, to keep $0 and so on meaningful, and to
16861 # report actual input values of CONFIG_FILES etc. instead of their
16862 # values after options handling.
16863 ac_log="
16864 This file was extended by HarfBuzz $as_me 0.9.3, which was
16865 generated by GNU Autoconf 2.65.  Invocation command line was
16866
16867   CONFIG_FILES    = $CONFIG_FILES
16868   CONFIG_HEADERS  = $CONFIG_HEADERS
16869   CONFIG_LINKS    = $CONFIG_LINKS
16870   CONFIG_COMMANDS = $CONFIG_COMMANDS
16871   $ $0 $@
16872
16873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16874 "
16875
16876 _ACEOF
16877
16878 case $ac_config_files in *"
16879 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16880 esac
16881
16882 case $ac_config_headers in *"
16883 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16884 esac
16885
16886
16887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16888 # Files that config.status was made for.
16889 config_files="$ac_config_files"
16890 config_headers="$ac_config_headers"
16891 config_commands="$ac_config_commands"
16892
16893 _ACEOF
16894
16895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16896 ac_cs_usage="\
16897 \`$as_me' instantiates files and other configuration actions
16898 from templates according to the current configuration.  Unless the files
16899 and actions are specified as TAGs, all are instantiated by default.
16900
16901 Usage: $0 [OPTION]... [TAG]...
16902
16903   -h, --help       print this help, then exit
16904   -V, --version    print version number and configuration settings, then exit
16905       --config     print configuration, then exit
16906   -q, --quiet, --silent
16907                    do not print progress messages
16908   -d, --debug      don't remove temporary files
16909       --recheck    update $as_me by reconfiguring in the same conditions
16910       --file=FILE[:TEMPLATE]
16911                    instantiate the configuration file FILE
16912       --header=FILE[:TEMPLATE]
16913                    instantiate the configuration header FILE
16914
16915 Configuration files:
16916 $config_files
16917
16918 Configuration headers:
16919 $config_headers
16920
16921 Configuration commands:
16922 $config_commands
16923
16924 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz>.
16925 HarfBuzz home page: <http://harfbuzz.org/>."
16926
16927 _ACEOF
16928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16929 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16930 ac_cs_version="\\
16931 HarfBuzz config.status 0.9.3
16932 configured by $0, generated by GNU Autoconf 2.65,
16933   with options \\"\$ac_cs_config\\"
16934
16935 Copyright (C) 2009 Free Software Foundation, Inc.
16936 This config.status script is free software; the Free Software Foundation
16937 gives unlimited permission to copy, distribute and modify it."
16938
16939 ac_pwd='$ac_pwd'
16940 srcdir='$srcdir'
16941 INSTALL='$INSTALL'
16942 MKDIR_P='$MKDIR_P'
16943 AWK='$AWK'
16944 test -n "\$AWK" || AWK=awk
16945 _ACEOF
16946
16947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16948 # The default lists apply if the user does not specify any file.
16949 ac_need_defaults=:
16950 while test $# != 0
16951 do
16952   case $1 in
16953   --*=*)
16954     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16955     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16956     ac_shift=:
16957     ;;
16958   *)
16959     ac_option=$1
16960     ac_optarg=$2
16961     ac_shift=shift
16962     ;;
16963   esac
16964
16965   case $ac_option in
16966   # Handling of the options.
16967   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16968     ac_cs_recheck=: ;;
16969   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16970     $as_echo "$ac_cs_version"; exit ;;
16971   --config | --confi | --conf | --con | --co | --c )
16972     $as_echo "$ac_cs_config"; exit ;;
16973   --debug | --debu | --deb | --de | --d | -d )
16974     debug=: ;;
16975   --file | --fil | --fi | --f )
16976     $ac_shift
16977     case $ac_optarg in
16978     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16979     esac
16980     as_fn_append CONFIG_FILES " '$ac_optarg'"
16981     ac_need_defaults=false;;
16982   --header | --heade | --head | --hea )
16983     $ac_shift
16984     case $ac_optarg in
16985     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16986     esac
16987     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16988     ac_need_defaults=false;;
16989   --he | --h)
16990     # Conflict between --help and --header
16991     as_fn_error "ambiguous option: \`$1'
16992 Try \`$0 --help' for more information.";;
16993   --help | --hel | -h )
16994     $as_echo "$ac_cs_usage"; exit ;;
16995   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16996   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16997     ac_cs_silent=: ;;
16998
16999   # This is an error.
17000   -*) as_fn_error "unrecognized option: \`$1'
17001 Try \`$0 --help' for more information." ;;
17002
17003   *) as_fn_append ac_config_targets " $1"
17004      ac_need_defaults=false ;;
17005
17006   esac
17007   shift
17008 done
17009
17010 ac_configure_extra_args=
17011
17012 if $ac_cs_silent; then
17013   exec 6>/dev/null
17014   ac_configure_extra_args="$ac_configure_extra_args --silent"
17015 fi
17016
17017 _ACEOF
17018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17019 if \$ac_cs_recheck; then
17020   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17021   shift
17022   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17023   CONFIG_SHELL='$SHELL'
17024   export CONFIG_SHELL
17025   exec "\$@"
17026 fi
17027
17028 _ACEOF
17029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17030 exec 5>>config.log
17031 {
17032   echo
17033   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17034 ## Running $as_me. ##
17035 _ASBOX
17036   $as_echo "$ac_log"
17037 } >&5
17038
17039 _ACEOF
17040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17041 #
17042 # INIT-COMMANDS
17043 #
17044 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17045
17046
17047 # The HP-UX ksh and POSIX shell print the target directory to stdout
17048 # if CDPATH is set.
17049 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17050
17051 sed_quote_subst='$sed_quote_subst'
17052 double_quote_subst='$double_quote_subst'
17053 delay_variable_subst='$delay_variable_subst'
17054 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17055 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17056 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17057 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17058 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17059 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17060 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17061 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17062 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17063 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17064 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17065 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17066 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17067 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17068 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17069 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17070 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17071 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17072 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17073 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17074 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17075 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17076 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17077 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17078 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17079 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17080 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17081 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17082 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17083 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17084 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17085 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17086 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17087 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17088 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17089 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17090 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17091 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17092 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17093 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17094 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17095 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17096 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17097 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17098 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17099 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17100 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17101 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17102 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17103 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17104 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17105 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17106 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17107 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17108 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17109 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17110 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17111 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17112 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17113 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17114 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17115 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17116 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17117 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17118 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17119 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17120 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17121 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17122 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17123 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17124 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17125 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17126 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17127 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17128 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17129 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17130 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17131 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17132 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17133 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17134 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17135 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17136 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17137 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17138 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17139 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17140 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17141 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17142 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17143 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17144 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17145 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17146 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17147 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17148 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17149 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17150 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17151 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17152 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17153 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17154 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17155 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17156 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17157 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17158 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17159 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17160 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17161 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17162 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17163 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17164 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17165 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17166 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17167 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17168 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17169 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17170 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17171 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17172 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17173 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17174 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17175 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17176 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17177 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17178 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17179 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17180 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17181 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17182 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17183 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17184 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17185 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17186 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17187 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17188 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17189 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17190 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17191 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17192 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17193 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17194 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17195 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17196 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17197 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17198 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17199 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17200 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17201 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17202 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17203 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17204 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17205 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17206 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17207 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17208 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17209 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17210 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17211 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17212 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17213 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17214 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17215 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17216 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17217 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17218 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17219 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17220 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17221 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17222 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17223 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17224 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17225
17226 LTCC='$LTCC'
17227 LTCFLAGS='$LTCFLAGS'
17228 compiler='$compiler_DEFAULT'
17229
17230 # Quote evaled strings.
17231 for var in SED \
17232 GREP \
17233 EGREP \
17234 FGREP \
17235 LD \
17236 NM \
17237 LN_S \
17238 lt_SP2NL \
17239 lt_NL2SP \
17240 reload_flag \
17241 OBJDUMP \
17242 deplibs_check_method \
17243 file_magic_cmd \
17244 AR \
17245 AR_FLAGS \
17246 STRIP \
17247 RANLIB \
17248 CC \
17249 CFLAGS \
17250 compiler \
17251 lt_cv_sys_global_symbol_pipe \
17252 lt_cv_sys_global_symbol_to_cdecl \
17253 lt_cv_sys_global_symbol_to_c_name_address \
17254 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17255 SHELL \
17256 ECHO \
17257 lt_prog_compiler_no_builtin_flag \
17258 lt_prog_compiler_wl \
17259 lt_prog_compiler_pic \
17260 lt_prog_compiler_static \
17261 lt_cv_prog_compiler_c_o \
17262 need_locks \
17263 DSYMUTIL \
17264 NMEDIT \
17265 LIPO \
17266 OTOOL \
17267 OTOOL64 \
17268 shrext_cmds \
17269 export_dynamic_flag_spec \
17270 whole_archive_flag_spec \
17271 compiler_needs_object \
17272 with_gnu_ld \
17273 allow_undefined_flag \
17274 no_undefined_flag \
17275 hardcode_libdir_flag_spec \
17276 hardcode_libdir_flag_spec_ld \
17277 hardcode_libdir_separator \
17278 fix_srcfile_path \
17279 exclude_expsyms \
17280 include_expsyms \
17281 file_list_spec \
17282 variables_saved_for_relink \
17283 libname_spec \
17284 library_names_spec \
17285 soname_spec \
17286 finish_eval \
17287 old_striplib \
17288 striplib \
17289 compiler_lib_search_dirs \
17290 predep_objects \
17291 postdep_objects \
17292 predeps \
17293 postdeps \
17294 compiler_lib_search_path \
17295 LD_CXX \
17296 compiler_CXX \
17297 lt_prog_compiler_no_builtin_flag_CXX \
17298 lt_prog_compiler_wl_CXX \
17299 lt_prog_compiler_pic_CXX \
17300 lt_prog_compiler_static_CXX \
17301 lt_cv_prog_compiler_c_o_CXX \
17302 export_dynamic_flag_spec_CXX \
17303 whole_archive_flag_spec_CXX \
17304 compiler_needs_object_CXX \
17305 with_gnu_ld_CXX \
17306 allow_undefined_flag_CXX \
17307 no_undefined_flag_CXX \
17308 hardcode_libdir_flag_spec_CXX \
17309 hardcode_libdir_flag_spec_ld_CXX \
17310 hardcode_libdir_separator_CXX \
17311 fix_srcfile_path_CXX \
17312 exclude_expsyms_CXX \
17313 include_expsyms_CXX \
17314 file_list_spec_CXX \
17315 compiler_lib_search_dirs_CXX \
17316 predep_objects_CXX \
17317 postdep_objects_CXX \
17318 predeps_CXX \
17319 postdeps_CXX \
17320 compiler_lib_search_path_CXX; do
17321     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17322     *[\\\\\\\`\\"\\\$]*)
17323       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17324       ;;
17325     *)
17326       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17327       ;;
17328     esac
17329 done
17330
17331 # Double-quote double-evaled strings.
17332 for var in reload_cmds \
17333 old_postinstall_cmds \
17334 old_postuninstall_cmds \
17335 old_archive_cmds \
17336 extract_expsyms_cmds \
17337 old_archive_from_new_cmds \
17338 old_archive_from_expsyms_cmds \
17339 archive_cmds \
17340 archive_expsym_cmds \
17341 module_cmds \
17342 module_expsym_cmds \
17343 export_symbols_cmds \
17344 prelink_cmds \
17345 postinstall_cmds \
17346 postuninstall_cmds \
17347 finish_cmds \
17348 sys_lib_search_path_spec \
17349 sys_lib_dlsearch_path_spec \
17350 old_archive_cmds_CXX \
17351 old_archive_from_new_cmds_CXX \
17352 old_archive_from_expsyms_cmds_CXX \
17353 archive_cmds_CXX \
17354 archive_expsym_cmds_CXX \
17355 module_cmds_CXX \
17356 module_expsym_cmds_CXX \
17357 export_symbols_cmds_CXX \
17358 prelink_cmds_CXX; do
17359     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17360     *[\\\\\\\`\\"\\\$]*)
17361       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17362       ;;
17363     *)
17364       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17365       ;;
17366     esac
17367 done
17368
17369 # Fix-up fallback echo if it was mangled by the above quoting rules.
17370 case \$lt_ECHO in
17371 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17372   ;;
17373 esac
17374
17375 ac_aux_dir='$ac_aux_dir'
17376 xsi_shell='$xsi_shell'
17377 lt_shell_append='$lt_shell_append'
17378
17379 # See if we are running on zsh, and set the options which allow our
17380 # commands through without removal of \ escapes INIT.
17381 if test -n "\${ZSH_VERSION+set}" ; then
17382    setopt NO_GLOB_SUBST
17383 fi
17384
17385
17386     PACKAGE='$PACKAGE'
17387     VERSION='$VERSION'
17388     TIMESTAMP='$TIMESTAMP'
17389     RM='$RM'
17390     ofile='$ofile'
17391
17392
17393
17394
17395
17396
17397 _ACEOF
17398
17399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17400
17401 # Handling of arguments.
17402 for ac_config_target in $ac_config_targets
17403 do
17404   case $ac_config_target in
17405     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17406     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17407     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17408     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17409     "harfbuzz.pc") CONFIG_FILES="$CONFIG_FILES harfbuzz.pc" ;;
17410     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17411     "src/hb-version.h") CONFIG_FILES="$CONFIG_FILES src/hb-version.h" ;;
17412     "src/hb-old/Makefile") CONFIG_FILES="$CONFIG_FILES src/hb-old/Makefile" ;;
17413     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
17414     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17415     "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;;
17416     "test/shaping/Makefile") CONFIG_FILES="$CONFIG_FILES test/shaping/Makefile" ;;
17417
17418   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17419   esac
17420 done
17421
17422
17423 # If the user did not use the arguments to specify the items to instantiate,
17424 # then the envvar interface is used.  Set only those that are not.
17425 # We use the long form for the default assignment because of an extremely
17426 # bizarre bug on SunOS 4.1.3.
17427 if $ac_need_defaults; then
17428   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17429   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17430   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17431 fi
17432
17433 # Have a temporary directory for convenience.  Make it in the build tree
17434 # simply because there is no reason against having it here, and in addition,
17435 # creating and moving files from /tmp can sometimes cause problems.
17436 # Hook for its removal unless debugging.
17437 # Note that there is a small window in which the directory will not be cleaned:
17438 # after its creation but before its name has been assigned to `$tmp'.
17439 $debug ||
17440 {
17441   tmp=
17442   trap 'exit_status=$?
17443   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17444 ' 0
17445   trap 'as_fn_exit 1' 1 2 13 15
17446 }
17447 # Create a (secure) tmp directory for tmp files.
17448
17449 {
17450   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17451   test -n "$tmp" && test -d "$tmp"
17452 }  ||
17453 {
17454   tmp=./conf$$-$RANDOM
17455   (umask 077 && mkdir "$tmp")
17456 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17457
17458 # Set up the scripts for CONFIG_FILES section.
17459 # No need to generate them if there are no CONFIG_FILES.
17460 # This happens for instance with `./config.status config.h'.
17461 if test -n "$CONFIG_FILES"; then
17462
17463
17464 ac_cr=`echo X | tr X '\015'`
17465 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17466 # But we know of no other shell where ac_cr would be empty at this
17467 # point, so we can use a bashism as a fallback.
17468 if test "x$ac_cr" = x; then
17469   eval ac_cr=\$\'\\r\'
17470 fi
17471 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17472 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17473   ac_cs_awk_cr='\r'
17474 else
17475   ac_cs_awk_cr=$ac_cr
17476 fi
17477
17478 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17479 _ACEOF
17480
17481
17482 {
17483   echo "cat >conf$$subs.awk <<_ACEOF" &&
17484   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17485   echo "_ACEOF"
17486 } >conf$$subs.sh ||
17487   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17488 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17489 ac_delim='%!_!# '
17490 for ac_last_try in false false false false false :; do
17491   . ./conf$$subs.sh ||
17492     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17493
17494   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17495   if test $ac_delim_n = $ac_delim_num; then
17496     break
17497   elif $ac_last_try; then
17498     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17499   else
17500     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17501   fi
17502 done
17503 rm -f conf$$subs.sh
17504
17505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17506 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17507 _ACEOF
17508 sed -n '
17509 h
17510 s/^/S["/; s/!.*/"]=/
17511 p
17512 g
17513 s/^[^!]*!//
17514 :repl
17515 t repl
17516 s/'"$ac_delim"'$//
17517 t delim
17518 :nl
17519 h
17520 s/\(.\{148\}\)..*/\1/
17521 t more1
17522 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17523 p
17524 n
17525 b repl
17526 :more1
17527 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17528 p
17529 g
17530 s/.\{148\}//
17531 t nl
17532 :delim
17533 h
17534 s/\(.\{148\}\)..*/\1/
17535 t more2
17536 s/["\\]/\\&/g; s/^/"/; s/$/"/
17537 p
17538 b
17539 :more2
17540 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17541 p
17542 g
17543 s/.\{148\}//
17544 t delim
17545 ' <conf$$subs.awk | sed '
17546 /^[^""]/{
17547   N
17548   s/\n//
17549 }
17550 ' >>$CONFIG_STATUS || ac_write_fail=1
17551 rm -f conf$$subs.awk
17552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17553 _ACAWK
17554 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17555   for (key in S) S_is_set[key] = 1
17556   FS = "\a"
17557
17558 }
17559 {
17560   line = $ 0
17561   nfields = split(line, field, "@")
17562   substed = 0
17563   len = length(field[1])
17564   for (i = 2; i < nfields; i++) {
17565     key = field[i]
17566     keylen = length(key)
17567     if (S_is_set[key]) {
17568       value = S[key]
17569       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17570       len += length(value) + length(field[++i])
17571       substed = 1
17572     } else
17573       len += 1 + keylen
17574   }
17575
17576   print line
17577 }
17578
17579 _ACAWK
17580 _ACEOF
17581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17582 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17583   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17584 else
17585   cat
17586 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17587   || as_fn_error "could not setup config files machinery" "$LINENO" 5
17588 _ACEOF
17589
17590 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17591 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17592 # trailing colons and then remove the whole line if VPATH becomes empty
17593 # (actually we leave an empty line to preserve line numbers).
17594 if test "x$srcdir" = x.; then
17595   ac_vpsub='/^[  ]*VPATH[        ]*=/{
17596 s/:*\$(srcdir):*/:/
17597 s/:*\${srcdir}:*/:/
17598 s/:*@srcdir@:*/:/
17599 s/^\([^=]*=[     ]*\):*/\1/
17600 s/:*$//
17601 s/^[^=]*=[       ]*$//
17602 }'
17603 fi
17604
17605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17606 fi # test -n "$CONFIG_FILES"
17607
17608 # Set up the scripts for CONFIG_HEADERS section.
17609 # No need to generate them if there are no CONFIG_HEADERS.
17610 # This happens for instance with `./config.status Makefile'.
17611 if test -n "$CONFIG_HEADERS"; then
17612 cat >"$tmp/defines.awk" <<\_ACAWK ||
17613 BEGIN {
17614 _ACEOF
17615
17616 # Transform confdefs.h into an awk script `defines.awk', embedded as
17617 # here-document in config.status, that substitutes the proper values into
17618 # config.h.in to produce config.h.
17619
17620 # Create a delimiter string that does not exist in confdefs.h, to ease
17621 # handling of long lines.
17622 ac_delim='%!_!# '
17623 for ac_last_try in false false :; do
17624   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17625   if test -z "$ac_t"; then
17626     break
17627   elif $ac_last_try; then
17628     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17629   else
17630     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17631   fi
17632 done
17633
17634 # For the awk script, D is an array of macro values keyed by name,
17635 # likewise P contains macro parameters if any.  Preserve backslash
17636 # newline sequences.
17637
17638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17639 sed -n '
17640 s/.\{148\}/&'"$ac_delim"'/g
17641 t rset
17642 :rset
17643 s/^[     ]*#[    ]*define[       ][      ]*/ /
17644 t def
17645 d
17646 :def
17647 s/\\$//
17648 t bsnl
17649 s/["\\]/\\&/g
17650 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17651 D["\1"]=" \3"/p
17652 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17653 d
17654 :bsnl
17655 s/["\\]/\\&/g
17656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17657 D["\1"]=" \3\\\\\\n"\\/p
17658 t cont
17659 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17660 t cont
17661 d
17662 :cont
17663 n
17664 s/.\{148\}/&'"$ac_delim"'/g
17665 t clear
17666 :clear
17667 s/\\$//
17668 t bsnlc
17669 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17670 d
17671 :bsnlc
17672 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17673 b cont
17674 ' <confdefs.h | sed '
17675 s/'"$ac_delim"'/"\\\
17676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17677
17678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17679   for (key in D) D_is_set[key] = 1
17680   FS = "\a"
17681 }
17682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17683   line = \$ 0
17684   split(line, arg, " ")
17685   if (arg[1] == "#") {
17686     defundef = arg[2]
17687     mac1 = arg[3]
17688   } else {
17689     defundef = substr(arg[1], 2)
17690     mac1 = arg[2]
17691   }
17692   split(mac1, mac2, "(") #)
17693   macro = mac2[1]
17694   prefix = substr(line, 1, index(line, defundef) - 1)
17695   if (D_is_set[macro]) {
17696     # Preserve the white space surrounding the "#".
17697     print prefix "define", macro P[macro] D[macro]
17698     next
17699   } else {
17700     # Replace #undef with comments.  This is necessary, for example,
17701     # in the case of _POSIX_SOURCE, which is predefined and required
17702     # on some systems where configure will not decide to define it.
17703     if (defundef == "undef") {
17704       print "/*", prefix defundef, macro, "*/"
17705       next
17706     }
17707   }
17708 }
17709 { print }
17710 _ACAWK
17711 _ACEOF
17712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17713   as_fn_error "could not setup config headers machinery" "$LINENO" 5
17714 fi # test -n "$CONFIG_HEADERS"
17715
17716
17717 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17718 shift
17719 for ac_tag
17720 do
17721   case $ac_tag in
17722   :[FHLC]) ac_mode=$ac_tag; continue;;
17723   esac
17724   case $ac_mode$ac_tag in
17725   :[FHL]*:*);;
17726   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17727   :[FH]-) ac_tag=-:-;;
17728   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17729   esac
17730   ac_save_IFS=$IFS
17731   IFS=:
17732   set x $ac_tag
17733   IFS=$ac_save_IFS
17734   shift
17735   ac_file=$1
17736   shift
17737
17738   case $ac_mode in
17739   :L) ac_source=$1;;
17740   :[FH])
17741     ac_file_inputs=
17742     for ac_f
17743     do
17744       case $ac_f in
17745       -) ac_f="$tmp/stdin";;
17746       *) # Look for the file first in the build tree, then in the source tree
17747          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17748          # because $ac_f cannot contain `:'.
17749          test -f "$ac_f" ||
17750            case $ac_f in
17751            [\\/$]*) false;;
17752            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17753            esac ||
17754            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17755       esac
17756       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17757       as_fn_append ac_file_inputs " '$ac_f'"
17758     done
17759
17760     # Let's still pretend it is `configure' which instantiates (i.e., don't
17761     # use $as_me), people would be surprised to read:
17762     #    /* config.h.  Generated by config.status.  */
17763     configure_input='Generated from '`
17764           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17765         `' by configure.'
17766     if test x"$ac_file" != x-; then
17767       configure_input="$ac_file.  $configure_input"
17768       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17769 $as_echo "$as_me: creating $ac_file" >&6;}
17770     fi
17771     # Neutralize special characters interpreted by sed in replacement strings.
17772     case $configure_input in #(
17773     *\&* | *\|* | *\\* )
17774        ac_sed_conf_input=`$as_echo "$configure_input" |
17775        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17776     *) ac_sed_conf_input=$configure_input;;
17777     esac
17778
17779     case $ac_tag in
17780     *:-:* | *:-) cat >"$tmp/stdin" \
17781       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17782     esac
17783     ;;
17784   esac
17785
17786   ac_dir=`$as_dirname -- "$ac_file" ||
17787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17788          X"$ac_file" : 'X\(//\)[^/]' \| \
17789          X"$ac_file" : 'X\(//\)$' \| \
17790          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17791 $as_echo X"$ac_file" |
17792     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17793             s//\1/
17794             q
17795           }
17796           /^X\(\/\/\)[^/].*/{
17797             s//\1/
17798             q
17799           }
17800           /^X\(\/\/\)$/{
17801             s//\1/
17802             q
17803           }
17804           /^X\(\/\).*/{
17805             s//\1/
17806             q
17807           }
17808           s/.*/./; q'`
17809   as_dir="$ac_dir"; as_fn_mkdir_p
17810   ac_builddir=.
17811
17812 case "$ac_dir" in
17813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17814 *)
17815   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17816   # A ".." for each directory in $ac_dir_suffix.
17817   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17818   case $ac_top_builddir_sub in
17819   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17820   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17821   esac ;;
17822 esac
17823 ac_abs_top_builddir=$ac_pwd
17824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17825 # for backward compatibility:
17826 ac_top_builddir=$ac_top_build_prefix
17827
17828 case $srcdir in
17829   .)  # We are building in place.
17830     ac_srcdir=.
17831     ac_top_srcdir=$ac_top_builddir_sub
17832     ac_abs_top_srcdir=$ac_pwd ;;
17833   [\\/]* | ?:[\\/]* )  # Absolute name.
17834     ac_srcdir=$srcdir$ac_dir_suffix;
17835     ac_top_srcdir=$srcdir
17836     ac_abs_top_srcdir=$srcdir ;;
17837   *) # Relative name.
17838     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17839     ac_top_srcdir=$ac_top_build_prefix$srcdir
17840     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17841 esac
17842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17843
17844
17845   case $ac_mode in
17846   :F)
17847   #
17848   # CONFIG_FILE
17849   #
17850
17851   case $INSTALL in
17852   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17853   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17854   esac
17855   ac_MKDIR_P=$MKDIR_P
17856   case $MKDIR_P in
17857   [\\/$]* | ?:[\\/]* ) ;;
17858   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17859   esac
17860 _ACEOF
17861
17862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17863 # If the template does not know about datarootdir, expand it.
17864 # FIXME: This hack should be removed a few years after 2.60.
17865 ac_datarootdir_hack=; ac_datarootdir_seen=
17866 ac_sed_dataroot='
17867 /datarootdir/ {
17868   p
17869   q
17870 }
17871 /@datadir@/p
17872 /@docdir@/p
17873 /@infodir@/p
17874 /@localedir@/p
17875 /@mandir@/p'
17876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17877 *datarootdir*) ac_datarootdir_seen=yes;;
17878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17879   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17880 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17881 _ACEOF
17882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17883   ac_datarootdir_hack='
17884   s&@datadir@&$datadir&g
17885   s&@docdir@&$docdir&g
17886   s&@infodir@&$infodir&g
17887   s&@localedir@&$localedir&g
17888   s&@mandir@&$mandir&g
17889   s&\\\${datarootdir}&$datarootdir&g' ;;
17890 esac
17891 _ACEOF
17892
17893 # Neutralize VPATH when `$srcdir' = `.'.
17894 # Shell code in configure.ac might set extrasub.
17895 # FIXME: do we really want to maintain this feature?
17896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17897 ac_sed_extra="$ac_vpsub
17898 $extrasub
17899 _ACEOF
17900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17901 :t
17902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17903 s|@configure_input@|$ac_sed_conf_input|;t t
17904 s&@top_builddir@&$ac_top_builddir_sub&;t t
17905 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17906 s&@srcdir@&$ac_srcdir&;t t
17907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17908 s&@top_srcdir@&$ac_top_srcdir&;t t
17909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17910 s&@builddir@&$ac_builddir&;t t
17911 s&@abs_builddir@&$ac_abs_builddir&;t t
17912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17913 s&@INSTALL@&$ac_INSTALL&;t t
17914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17915 $ac_datarootdir_hack
17916 "
17917 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17918   || as_fn_error "could not create $ac_file" "$LINENO" 5
17919
17920 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17921   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17922   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17923   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17924 which seems to be undefined.  Please make sure it is defined." >&5
17925 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17926 which seems to be undefined.  Please make sure it is defined." >&2;}
17927
17928   rm -f "$tmp/stdin"
17929   case $ac_file in
17930   -) cat "$tmp/out" && rm -f "$tmp/out";;
17931   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17932   esac \
17933   || as_fn_error "could not create $ac_file" "$LINENO" 5
17934  ;;
17935   :H)
17936   #
17937   # CONFIG_HEADER
17938   #
17939   if test x"$ac_file" != x-; then
17940     {
17941       $as_echo "/* $configure_input  */" \
17942       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17943     } >"$tmp/config.h" \
17944       || as_fn_error "could not create $ac_file" "$LINENO" 5
17945     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17946       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17947 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17948     else
17949       rm -f "$ac_file"
17950       mv "$tmp/config.h" "$ac_file" \
17951         || as_fn_error "could not create $ac_file" "$LINENO" 5
17952     fi
17953   else
17954     $as_echo "/* $configure_input  */" \
17955       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17956       || as_fn_error "could not create -" "$LINENO" 5
17957   fi
17958 # Compute "$ac_file"'s index in $config_headers.
17959 _am_arg="$ac_file"
17960 _am_stamp_count=1
17961 for _am_header in $config_headers :; do
17962   case $_am_header in
17963     $_am_arg | $_am_arg:* )
17964       break ;;
17965     * )
17966       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17967   esac
17968 done
17969 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17970 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17971          X"$_am_arg" : 'X\(//\)[^/]' \| \
17972          X"$_am_arg" : 'X\(//\)$' \| \
17973          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17974 $as_echo X"$_am_arg" |
17975     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17976             s//\1/
17977             q
17978           }
17979           /^X\(\/\/\)[^/].*/{
17980             s//\1/
17981             q
17982           }
17983           /^X\(\/\/\)$/{
17984             s//\1/
17985             q
17986           }
17987           /^X\(\/\).*/{
17988             s//\1/
17989             q
17990           }
17991           s/.*/./; q'`/stamp-h$_am_stamp_count
17992  ;;
17993
17994   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17995 $as_echo "$as_me: executing $ac_file commands" >&6;}
17996  ;;
17997   esac
17998
17999
18000   case $ac_file$ac_mode in
18001     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18002   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18003   # are listed without --file.  Let's play safe and only enable the eval
18004   # if we detect the quoting.
18005   case $CONFIG_FILES in
18006   *\'*) eval set x "$CONFIG_FILES" ;;
18007   *)   set x $CONFIG_FILES ;;
18008   esac
18009   shift
18010   for mf
18011   do
18012     # Strip MF so we end up with the name of the file.
18013     mf=`echo "$mf" | sed -e 's/:.*$//'`
18014     # Check whether this is an Automake generated Makefile or not.
18015     # We used to match only the files named `Makefile.in', but
18016     # some people rename them; so instead we look at the file content.
18017     # Grep'ing the first line is not enough: some people post-process
18018     # each Makefile.in and add a new line on top of each file to say so.
18019     # Grep'ing the whole file is not good either: AIX grep has a line
18020     # limit of 2048, but all sed's we know have understand at least 4000.
18021     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18022       dirpart=`$as_dirname -- "$mf" ||
18023 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18024          X"$mf" : 'X\(//\)[^/]' \| \
18025          X"$mf" : 'X\(//\)$' \| \
18026          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18027 $as_echo X"$mf" |
18028     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18029             s//\1/
18030             q
18031           }
18032           /^X\(\/\/\)[^/].*/{
18033             s//\1/
18034             q
18035           }
18036           /^X\(\/\/\)$/{
18037             s//\1/
18038             q
18039           }
18040           /^X\(\/\).*/{
18041             s//\1/
18042             q
18043           }
18044           s/.*/./; q'`
18045     else
18046       continue
18047     fi
18048     # Extract the definition of DEPDIR, am__include, and am__quote
18049     # from the Makefile without running `make'.
18050     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18051     test -z "$DEPDIR" && continue
18052     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18053     test -z "am__include" && continue
18054     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18055     # When using ansi2knr, U may be empty or an underscore; expand it
18056     U=`sed -n 's/^U = //p' < "$mf"`
18057     # Find all dependency output files, they are included files with
18058     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18059     # simplest approach to changing $(DEPDIR) to its actual value in the
18060     # expansion.
18061     for file in `sed -n "
18062       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18063          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18064       # Make sure the directory exists.
18065       test -f "$dirpart/$file" && continue
18066       fdir=`$as_dirname -- "$file" ||
18067 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18068          X"$file" : 'X\(//\)[^/]' \| \
18069          X"$file" : 'X\(//\)$' \| \
18070          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18071 $as_echo X"$file" |
18072     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18073             s//\1/
18074             q
18075           }
18076           /^X\(\/\/\)[^/].*/{
18077             s//\1/
18078             q
18079           }
18080           /^X\(\/\/\)$/{
18081             s//\1/
18082             q
18083           }
18084           /^X\(\/\).*/{
18085             s//\1/
18086             q
18087           }
18088           s/.*/./; q'`
18089       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18090       # echo "creating $dirpart/$file"
18091       echo '# dummy' > "$dirpart/$file"
18092     done
18093   done
18094 }
18095  ;;
18096     "libtool":C)
18097
18098     # See if we are running on zsh, and set the options which allow our
18099     # commands through without removal of \ escapes.
18100     if test -n "${ZSH_VERSION+set}" ; then
18101       setopt NO_GLOB_SUBST
18102     fi
18103
18104     cfgfile="${ofile}T"
18105     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18106     $RM "$cfgfile"
18107
18108     cat <<_LT_EOF >> "$cfgfile"
18109 #! $SHELL
18110
18111 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18112 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18113 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18114 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18115 #
18116 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18117 #                 2006, 2007, 2008 Free Software Foundation, Inc.
18118 #   Written by Gordon Matzigkeit, 1996
18119 #
18120 #   This file is part of GNU Libtool.
18121 #
18122 # GNU Libtool is free software; you can redistribute it and/or
18123 # modify it under the terms of the GNU General Public License as
18124 # published by the Free Software Foundation; either version 2 of
18125 # the License, or (at your option) any later version.
18126 #
18127 # As a special exception to the GNU General Public License,
18128 # if you distribute this file as part of a program or library that
18129 # is built using GNU Libtool, you may include this file under the
18130 # same distribution terms that you use for the rest of that program.
18131 #
18132 # GNU Libtool is distributed in the hope that it will be useful,
18133 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18134 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18135 # GNU General Public License for more details.
18136 #
18137 # You should have received a copy of the GNU General Public License
18138 # along with GNU Libtool; see the file COPYING.  If not, a copy
18139 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18140 # obtained by writing to the Free Software Foundation, Inc.,
18141 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18142
18143
18144 # The names of the tagged configurations supported by this script.
18145 available_tags="CXX "
18146
18147 # ### BEGIN LIBTOOL CONFIG
18148
18149 # Which release of libtool.m4 was used?
18150 macro_version=$macro_version
18151 macro_revision=$macro_revision
18152
18153 # Whether or not to build static libraries.
18154 build_old_libs=$enable_static
18155
18156 # Whether or not to build shared libraries.
18157 build_libtool_libs=$enable_shared
18158
18159 # What type of objects to build.
18160 pic_mode=$pic_mode
18161
18162 # Whether or not to optimize for fast installation.
18163 fast_install=$enable_fast_install
18164
18165 # The host system.
18166 host_alias=$host_alias
18167 host=$host
18168 host_os=$host_os
18169
18170 # The build system.
18171 build_alias=$build_alias
18172 build=$build
18173 build_os=$build_os
18174
18175 # A sed program that does not truncate output.
18176 SED=$lt_SED
18177
18178 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18179 Xsed="\$SED -e 1s/^X//"
18180
18181 # A grep program that handles long lines.
18182 GREP=$lt_GREP
18183
18184 # An ERE matcher.
18185 EGREP=$lt_EGREP
18186
18187 # A literal string matcher.
18188 FGREP=$lt_FGREP
18189
18190 # A BSD- or MS-compatible name lister.
18191 NM=$lt_NM
18192
18193 # Whether we need soft or hard links.
18194 LN_S=$lt_LN_S
18195
18196 # What is the maximum length of a command?
18197 max_cmd_len=$max_cmd_len
18198
18199 # Object file suffix (normally "o").
18200 objext=$ac_objext
18201
18202 # Executable file suffix (normally "").
18203 exeext=$exeext
18204
18205 # whether the shell understands "unset".
18206 lt_unset=$lt_unset
18207
18208 # turn spaces into newlines.
18209 SP2NL=$lt_lt_SP2NL
18210
18211 # turn newlines into spaces.
18212 NL2SP=$lt_lt_NL2SP
18213
18214 # How to create reloadable object files.
18215 reload_flag=$lt_reload_flag
18216 reload_cmds=$lt_reload_cmds
18217
18218 # An object symbol dumper.
18219 OBJDUMP=$lt_OBJDUMP
18220
18221 # Method to check whether dependent libraries are shared objects.
18222 deplibs_check_method=$lt_deplibs_check_method
18223
18224 # Command to use when deplibs_check_method == "file_magic".
18225 file_magic_cmd=$lt_file_magic_cmd
18226
18227 # The archiver.
18228 AR=$lt_AR
18229 AR_FLAGS=$lt_AR_FLAGS
18230
18231 # A symbol stripping program.
18232 STRIP=$lt_STRIP
18233
18234 # Commands used to install an old-style archive.
18235 RANLIB=$lt_RANLIB
18236 old_postinstall_cmds=$lt_old_postinstall_cmds
18237 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18238
18239 # A C compiler.
18240 LTCC=$lt_CC
18241
18242 # LTCC compiler flags.
18243 LTCFLAGS=$lt_CFLAGS
18244
18245 # Take the output of nm and produce a listing of raw symbols and C names.
18246 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18247
18248 # Transform the output of nm in a proper C declaration.
18249 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18250
18251 # Transform the output of nm in a C name address pair.
18252 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18253
18254 # Transform the output of nm in a C name address pair when lib prefix is needed.
18255 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18256
18257 # The name of the directory that contains temporary libtool files.
18258 objdir=$objdir
18259
18260 # Shell to use when invoking shell scripts.
18261 SHELL=$lt_SHELL
18262
18263 # An echo program that does not interpret backslashes.
18264 ECHO=$lt_ECHO
18265
18266 # Used to examine libraries when file_magic_cmd begins with "file".
18267 MAGIC_CMD=$MAGIC_CMD
18268
18269 # Must we lock files when doing compilation?
18270 need_locks=$lt_need_locks
18271
18272 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18273 DSYMUTIL=$lt_DSYMUTIL
18274
18275 # Tool to change global to local symbols on Mac OS X.
18276 NMEDIT=$lt_NMEDIT
18277
18278 # Tool to manipulate fat objects and archives on Mac OS X.
18279 LIPO=$lt_LIPO
18280
18281 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18282 OTOOL=$lt_OTOOL
18283
18284 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18285 OTOOL64=$lt_OTOOL64
18286
18287 # Old archive suffix (normally "a").
18288 libext=$libext
18289
18290 # Shared library suffix (normally ".so").
18291 shrext_cmds=$lt_shrext_cmds
18292
18293 # The commands to extract the exported symbol list from a shared archive.
18294 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18295
18296 # Variables whose values should be saved in libtool wrapper scripts and
18297 # restored at link time.
18298 variables_saved_for_relink=$lt_variables_saved_for_relink
18299
18300 # Do we need the "lib" prefix for modules?
18301 need_lib_prefix=$need_lib_prefix
18302
18303 # Do we need a version for libraries?
18304 need_version=$need_version
18305
18306 # Library versioning type.
18307 version_type=$version_type
18308
18309 # Shared library runtime path variable.
18310 runpath_var=$runpath_var
18311
18312 # Shared library path variable.
18313 shlibpath_var=$shlibpath_var
18314
18315 # Is shlibpath searched before the hard-coded library search path?
18316 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18317
18318 # Format of library name prefix.
18319 libname_spec=$lt_libname_spec
18320
18321 # List of archive names.  First name is the real one, the rest are links.
18322 # The last name is the one that the linker finds with -lNAME
18323 library_names_spec=$lt_library_names_spec
18324
18325 # The coded name of the library, if different from the real name.
18326 soname_spec=$lt_soname_spec
18327
18328 # Command to use after installation of a shared archive.
18329 postinstall_cmds=$lt_postinstall_cmds
18330
18331 # Command to use after uninstallation of a shared archive.
18332 postuninstall_cmds=$lt_postuninstall_cmds
18333
18334 # Commands used to finish a libtool library installation in a directory.
18335 finish_cmds=$lt_finish_cmds
18336
18337 # As "finish_cmds", except a single script fragment to be evaled but
18338 # not shown.
18339 finish_eval=$lt_finish_eval
18340
18341 # Whether we should hardcode library paths into libraries.
18342 hardcode_into_libs=$hardcode_into_libs
18343
18344 # Compile-time system search path for libraries.
18345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18346
18347 # Run-time system search path for libraries.
18348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18349
18350 # Whether dlopen is supported.
18351 dlopen_support=$enable_dlopen
18352
18353 # Whether dlopen of programs is supported.
18354 dlopen_self=$enable_dlopen_self
18355
18356 # Whether dlopen of statically linked programs is supported.
18357 dlopen_self_static=$enable_dlopen_self_static
18358
18359 # Commands to strip libraries.
18360 old_striplib=$lt_old_striplib
18361 striplib=$lt_striplib
18362
18363
18364 # The linker used to build libraries.
18365 LD=$lt_LD
18366
18367 # Commands used to build an old-style archive.
18368 old_archive_cmds=$lt_old_archive_cmds
18369
18370 # A language specific compiler.
18371 CC=$lt_compiler
18372
18373 # Is the compiler the GNU compiler?
18374 with_gcc=$GCC
18375
18376 # Compiler flag to turn off builtin functions.
18377 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18378
18379 # How to pass a linker flag through the compiler.
18380 wl=$lt_lt_prog_compiler_wl
18381
18382 # Additional compiler flags for building library objects.
18383 pic_flag=$lt_lt_prog_compiler_pic
18384
18385 # Compiler flag to prevent dynamic linking.
18386 link_static_flag=$lt_lt_prog_compiler_static
18387
18388 # Does compiler simultaneously support -c and -o options?
18389 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18390
18391 # Whether or not to add -lc for building shared libraries.
18392 build_libtool_need_lc=$archive_cmds_need_lc
18393
18394 # Whether or not to disallow shared libs when runtime libs are static.
18395 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18396
18397 # Compiler flag to allow reflexive dlopens.
18398 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18399
18400 # Compiler flag to generate shared objects directly from archives.
18401 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18402
18403 # Whether the compiler copes with passing no objects directly.
18404 compiler_needs_object=$lt_compiler_needs_object
18405
18406 # Create an old-style archive from a shared archive.
18407 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18408
18409 # Create a temporary old-style archive to link instead of a shared archive.
18410 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18411
18412 # Commands used to build a shared archive.
18413 archive_cmds=$lt_archive_cmds
18414 archive_expsym_cmds=$lt_archive_expsym_cmds
18415
18416 # Commands used to build a loadable module if different from building
18417 # a shared archive.
18418 module_cmds=$lt_module_cmds
18419 module_expsym_cmds=$lt_module_expsym_cmds
18420
18421 # Whether we are building with GNU ld or not.
18422 with_gnu_ld=$lt_with_gnu_ld
18423
18424 # Flag that allows shared libraries with undefined symbols to be built.
18425 allow_undefined_flag=$lt_allow_undefined_flag
18426
18427 # Flag that enforces no undefined symbols.
18428 no_undefined_flag=$lt_no_undefined_flag
18429
18430 # Flag to hardcode \$libdir into a binary during linking.
18431 # This must work even if \$libdir does not exist
18432 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18433
18434 # If ld is used when linking, flag to hardcode \$libdir into a binary
18435 # during linking.  This must work even if \$libdir does not exist.
18436 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18437
18438 # Whether we need a single "-rpath" flag with a separated argument.
18439 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18440
18441 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18442 # DIR into the resulting binary.
18443 hardcode_direct=$hardcode_direct
18444
18445 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18446 # DIR into the resulting binary and the resulting library dependency is
18447 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18448 # library is relocated.
18449 hardcode_direct_absolute=$hardcode_direct_absolute
18450
18451 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18452 # into the resulting binary.
18453 hardcode_minus_L=$hardcode_minus_L
18454
18455 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18456 # into the resulting binary.
18457 hardcode_shlibpath_var=$hardcode_shlibpath_var
18458
18459 # Set to "yes" if building a shared library automatically hardcodes DIR
18460 # into the library and all subsequent libraries and executables linked
18461 # against it.
18462 hardcode_automatic=$hardcode_automatic
18463
18464 # Set to yes if linker adds runtime paths of dependent libraries
18465 # to runtime path list.
18466 inherit_rpath=$inherit_rpath
18467
18468 # Whether libtool must link a program against all its dependency libraries.
18469 link_all_deplibs=$link_all_deplibs
18470
18471 # Fix the shell variable \$srcfile for the compiler.
18472 fix_srcfile_path=$lt_fix_srcfile_path
18473
18474 # Set to "yes" if exported symbols are required.
18475 always_export_symbols=$always_export_symbols
18476
18477 # The commands to list exported symbols.
18478 export_symbols_cmds=$lt_export_symbols_cmds
18479
18480 # Symbols that should not be listed in the preloaded symbols.
18481 exclude_expsyms=$lt_exclude_expsyms
18482
18483 # Symbols that must always be exported.
18484 include_expsyms=$lt_include_expsyms
18485
18486 # Commands necessary for linking programs (against libraries) with templates.
18487 prelink_cmds=$lt_prelink_cmds
18488
18489 # Specify filename containing input files.
18490 file_list_spec=$lt_file_list_spec
18491
18492 # How to hardcode a shared library path into an executable.
18493 hardcode_action=$hardcode_action
18494
18495 # The directories searched by this compiler when creating a shared library.
18496 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18497
18498 # Dependencies to place before and after the objects being linked to
18499 # create a shared library.
18500 predep_objects=$lt_predep_objects
18501 postdep_objects=$lt_postdep_objects
18502 predeps=$lt_predeps
18503 postdeps=$lt_postdeps
18504
18505 # The library search path used internally by the compiler when linking
18506 # a shared library.
18507 compiler_lib_search_path=$lt_compiler_lib_search_path
18508
18509 # ### END LIBTOOL CONFIG
18510
18511 _LT_EOF
18512
18513   case $host_os in
18514   aix3*)
18515     cat <<\_LT_EOF >> "$cfgfile"
18516 # AIX sometimes has problems with the GCC collect2 program.  For some
18517 # reason, if we set the COLLECT_NAMES environment variable, the problems
18518 # vanish in a puff of smoke.
18519 if test "X${COLLECT_NAMES+set}" != Xset; then
18520   COLLECT_NAMES=
18521   export COLLECT_NAMES
18522 fi
18523 _LT_EOF
18524     ;;
18525   esac
18526
18527
18528 ltmain="$ac_aux_dir/ltmain.sh"
18529
18530
18531   # We use sed instead of cat because bash on DJGPP gets confused if
18532   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18533   # text mode, it properly converts lines to CR/LF.  This bash problem
18534   # is reportedly fixed, but why not run on old versions too?
18535   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18536     || (rm -f "$cfgfile"; exit 1)
18537
18538   case $xsi_shell in
18539   yes)
18540     cat << \_LT_EOF >> "$cfgfile"
18541
18542 # func_dirname file append nondir_replacement
18543 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18544 # otherwise set result to NONDIR_REPLACEMENT.
18545 func_dirname ()
18546 {
18547   case ${1} in
18548     */*) func_dirname_result="${1%/*}${2}" ;;
18549     *  ) func_dirname_result="${3}" ;;
18550   esac
18551 }
18552
18553 # func_basename file
18554 func_basename ()
18555 {
18556   func_basename_result="${1##*/}"
18557 }
18558
18559 # func_dirname_and_basename file append nondir_replacement
18560 # perform func_basename and func_dirname in a single function
18561 # call:
18562 #   dirname:  Compute the dirname of FILE.  If nonempty,
18563 #             add APPEND to the result, otherwise set result
18564 #             to NONDIR_REPLACEMENT.
18565 #             value returned in "$func_dirname_result"
18566 #   basename: Compute filename of FILE.
18567 #             value retuned in "$func_basename_result"
18568 # Implementation must be kept synchronized with func_dirname
18569 # and func_basename. For efficiency, we do not delegate to
18570 # those functions but instead duplicate the functionality here.
18571 func_dirname_and_basename ()
18572 {
18573   case ${1} in
18574     */*) func_dirname_result="${1%/*}${2}" ;;
18575     *  ) func_dirname_result="${3}" ;;
18576   esac
18577   func_basename_result="${1##*/}"
18578 }
18579
18580 # func_stripname prefix suffix name
18581 # strip PREFIX and SUFFIX off of NAME.
18582 # PREFIX and SUFFIX must not contain globbing or regex special
18583 # characters, hashes, percent signs, but SUFFIX may contain a leading
18584 # dot (in which case that matches only a dot).
18585 func_stripname ()
18586 {
18587   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18588   # positional parameters, so assign one to ordinary parameter first.
18589   func_stripname_result=${3}
18590   func_stripname_result=${func_stripname_result#"${1}"}
18591   func_stripname_result=${func_stripname_result%"${2}"}
18592 }
18593
18594 # func_opt_split
18595 func_opt_split ()
18596 {
18597   func_opt_split_opt=${1%%=*}
18598   func_opt_split_arg=${1#*=}
18599 }
18600
18601 # func_lo2o object
18602 func_lo2o ()
18603 {
18604   case ${1} in
18605     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18606     *)    func_lo2o_result=${1} ;;
18607   esac
18608 }
18609
18610 # func_xform libobj-or-source
18611 func_xform ()
18612 {
18613   func_xform_result=${1%.*}.lo
18614 }
18615
18616 # func_arith arithmetic-term...
18617 func_arith ()
18618 {
18619   func_arith_result=$(( $* ))
18620 }
18621
18622 # func_len string
18623 # STRING may not start with a hyphen.
18624 func_len ()
18625 {
18626   func_len_result=${#1}
18627 }
18628
18629 _LT_EOF
18630     ;;
18631   *) # Bourne compatible functions.
18632     cat << \_LT_EOF >> "$cfgfile"
18633
18634 # func_dirname file append nondir_replacement
18635 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18636 # otherwise set result to NONDIR_REPLACEMENT.
18637 func_dirname ()
18638 {
18639   # Extract subdirectory from the argument.
18640   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18641   if test "X$func_dirname_result" = "X${1}"; then
18642     func_dirname_result="${3}"
18643   else
18644     func_dirname_result="$func_dirname_result${2}"
18645   fi
18646 }
18647
18648 # func_basename file
18649 func_basename ()
18650 {
18651   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18652 }
18653
18654
18655 # func_stripname prefix suffix name
18656 # strip PREFIX and SUFFIX off of NAME.
18657 # PREFIX and SUFFIX must not contain globbing or regex special
18658 # characters, hashes, percent signs, but SUFFIX may contain a leading
18659 # dot (in which case that matches only a dot).
18660 # func_strip_suffix prefix name
18661 func_stripname ()
18662 {
18663   case ${2} in
18664     .*) func_stripname_result=`$ECHO "X${3}" \
18665            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18666     *)  func_stripname_result=`$ECHO "X${3}" \
18667            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18668   esac
18669 }
18670
18671 # sed scripts:
18672 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18673 my_sed_long_arg='1s/^-[^=]*=//'
18674
18675 # func_opt_split
18676 func_opt_split ()
18677 {
18678   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18679   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18680 }
18681
18682 # func_lo2o object
18683 func_lo2o ()
18684 {
18685   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18686 }
18687
18688 # func_xform libobj-or-source
18689 func_xform ()
18690 {
18691   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18692 }
18693
18694 # func_arith arithmetic-term...
18695 func_arith ()
18696 {
18697   func_arith_result=`expr "$@"`
18698 }
18699
18700 # func_len string
18701 # STRING may not start with a hyphen.
18702 func_len ()
18703 {
18704   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18705 }
18706
18707 _LT_EOF
18708 esac
18709
18710 case $lt_shell_append in
18711   yes)
18712     cat << \_LT_EOF >> "$cfgfile"
18713
18714 # func_append var value
18715 # Append VALUE to the end of shell variable VAR.
18716 func_append ()
18717 {
18718   eval "$1+=\$2"
18719 }
18720 _LT_EOF
18721     ;;
18722   *)
18723     cat << \_LT_EOF >> "$cfgfile"
18724
18725 # func_append var value
18726 # Append VALUE to the end of shell variable VAR.
18727 func_append ()
18728 {
18729   eval "$1=\$$1\$2"
18730 }
18731
18732 _LT_EOF
18733     ;;
18734   esac
18735
18736
18737   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18738     || (rm -f "$cfgfile"; exit 1)
18739
18740   mv -f "$cfgfile" "$ofile" ||
18741     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18742   chmod +x "$ofile"
18743
18744
18745     cat <<_LT_EOF >> "$ofile"
18746
18747 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18748
18749 # The linker used to build libraries.
18750 LD=$lt_LD_CXX
18751
18752 # Commands used to build an old-style archive.
18753 old_archive_cmds=$lt_old_archive_cmds_CXX
18754
18755 # A language specific compiler.
18756 CC=$lt_compiler_CXX
18757
18758 # Is the compiler the GNU compiler?
18759 with_gcc=$GCC_CXX
18760
18761 # Compiler flag to turn off builtin functions.
18762 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18763
18764 # How to pass a linker flag through the compiler.
18765 wl=$lt_lt_prog_compiler_wl_CXX
18766
18767 # Additional compiler flags for building library objects.
18768 pic_flag=$lt_lt_prog_compiler_pic_CXX
18769
18770 # Compiler flag to prevent dynamic linking.
18771 link_static_flag=$lt_lt_prog_compiler_static_CXX
18772
18773 # Does compiler simultaneously support -c and -o options?
18774 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18775
18776 # Whether or not to add -lc for building shared libraries.
18777 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18778
18779 # Whether or not to disallow shared libs when runtime libs are static.
18780 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18781
18782 # Compiler flag to allow reflexive dlopens.
18783 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18784
18785 # Compiler flag to generate shared objects directly from archives.
18786 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18787
18788 # Whether the compiler copes with passing no objects directly.
18789 compiler_needs_object=$lt_compiler_needs_object_CXX
18790
18791 # Create an old-style archive from a shared archive.
18792 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18793
18794 # Create a temporary old-style archive to link instead of a shared archive.
18795 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18796
18797 # Commands used to build a shared archive.
18798 archive_cmds=$lt_archive_cmds_CXX
18799 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18800
18801 # Commands used to build a loadable module if different from building
18802 # a shared archive.
18803 module_cmds=$lt_module_cmds_CXX
18804 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18805
18806 # Whether we are building with GNU ld or not.
18807 with_gnu_ld=$lt_with_gnu_ld_CXX
18808
18809 # Flag that allows shared libraries with undefined symbols to be built.
18810 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18811
18812 # Flag that enforces no undefined symbols.
18813 no_undefined_flag=$lt_no_undefined_flag_CXX
18814
18815 # Flag to hardcode \$libdir into a binary during linking.
18816 # This must work even if \$libdir does not exist
18817 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18818
18819 # If ld is used when linking, flag to hardcode \$libdir into a binary
18820 # during linking.  This must work even if \$libdir does not exist.
18821 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18822
18823 # Whether we need a single "-rpath" flag with a separated argument.
18824 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18825
18826 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18827 # DIR into the resulting binary.
18828 hardcode_direct=$hardcode_direct_CXX
18829
18830 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18831 # DIR into the resulting binary and the resulting library dependency is
18832 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18833 # library is relocated.
18834 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18835
18836 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18837 # into the resulting binary.
18838 hardcode_minus_L=$hardcode_minus_L_CXX
18839
18840 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18841 # into the resulting binary.
18842 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18843
18844 # Set to "yes" if building a shared library automatically hardcodes DIR
18845 # into the library and all subsequent libraries and executables linked
18846 # against it.
18847 hardcode_automatic=$hardcode_automatic_CXX
18848
18849 # Set to yes if linker adds runtime paths of dependent libraries
18850 # to runtime path list.
18851 inherit_rpath=$inherit_rpath_CXX
18852
18853 # Whether libtool must link a program against all its dependency libraries.
18854 link_all_deplibs=$link_all_deplibs_CXX
18855
18856 # Fix the shell variable \$srcfile for the compiler.
18857 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18858
18859 # Set to "yes" if exported symbols are required.
18860 always_export_symbols=$always_export_symbols_CXX
18861
18862 # The commands to list exported symbols.
18863 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18864
18865 # Symbols that should not be listed in the preloaded symbols.
18866 exclude_expsyms=$lt_exclude_expsyms_CXX
18867
18868 # Symbols that must always be exported.
18869 include_expsyms=$lt_include_expsyms_CXX
18870
18871 # Commands necessary for linking programs (against libraries) with templates.
18872 prelink_cmds=$lt_prelink_cmds_CXX
18873
18874 # Specify filename containing input files.
18875 file_list_spec=$lt_file_list_spec_CXX
18876
18877 # How to hardcode a shared library path into an executable.
18878 hardcode_action=$hardcode_action_CXX
18879
18880 # The directories searched by this compiler when creating a shared library.
18881 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18882
18883 # Dependencies to place before and after the objects being linked to
18884 # create a shared library.
18885 predep_objects=$lt_predep_objects_CXX
18886 postdep_objects=$lt_postdep_objects_CXX
18887 predeps=$lt_predeps_CXX
18888 postdeps=$lt_postdeps_CXX
18889
18890 # The library search path used internally by the compiler when linking
18891 # a shared library.
18892 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18893
18894 # ### END LIBTOOL TAG CONFIG: CXX
18895 _LT_EOF
18896
18897  ;;
18898
18899   esac
18900 done # for ac_tag
18901
18902
18903 as_fn_exit 0
18904 _ACEOF
18905 ac_clean_files=$ac_clean_files_save
18906
18907 test $ac_write_fail = 0 ||
18908   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18909
18910
18911 # configure is writing to config.log, and then calls config.status.
18912 # config.status does its own redirection, appending to config.log.
18913 # Unfortunately, on DOS this fails, as config.log is still kept open
18914 # by configure, so config.status won't be able to write to it; its
18915 # output is simply discarded.  So we exec the FD to /dev/null,
18916 # effectively closing config.log, so it can be properly (re)opened and
18917 # appended to by config.status.  When coming back to configure, we
18918 # need to make the FD available again.
18919 if test "$no_create" != yes; then
18920   ac_cs_success=:
18921   ac_config_status_args=
18922   test "$silent" = yes &&
18923     ac_config_status_args="$ac_config_status_args --quiet"
18924   exec 5>/dev/null
18925   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18926   exec 5>>config.log
18927   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18928   # would make configure fail if this is the last instruction.
18929   $ac_cs_success || as_fn_exit $?
18930 fi
18931 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18932   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18933 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18934 fi
18935