2 # Guess values for system-dependent variables and create Makefiles. 
   3 # Generated by GNU Autoconf 2.65 for Cycript 0.9. 
   5 # Report bugs to <saurik@saurik.com>. 
   8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
   9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
  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 ## -------------------- ## 
  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 : 
  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+"$@"}'='"$@"' 
  29   case `(set -o) 2>/dev/null` in #( 
  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 
  50   as_echo_n='print 
-rn --' 
  51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
  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' 
  59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
  64         expr "X$arg" : "X\\(.*\\)$as_nl"; 
  65         arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
  67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
  70     as_echo_n='sh 
-c $as_echo_n_body as_echo
' 
  73   as_echo='sh 
-c $as_echo_body as_echo
' 
  76 # The user is always right. 
  77 if test "${PATH_SEPARATOR+set}" != set; then 
  79   (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
  80     (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
  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.) 
  93 # Find who we are.  Look in the path if we contain no directory separator. 
  95   *[\\/]* ) as_myself=$0 ;; 
  96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
 100   test -z "$as_dir" && as_dir=. 
 101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
 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 
 112 if test ! -f "$as_myself"; then 
 113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
 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 || : 
 136 (unset CDPATH
) >/dev
/null 
2>&1 && unset CDPATH
 
 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 : 
 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+\"\$@\"}'='\"\$@\"' 
 147   case \`(set -o) 2>/dev/null\` in #( 
 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; } 
 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 : 
 169   exitcode=1; echo positional parameters were not saved. 
 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 : 
 182   if test x
$as_have_required = xyes 
&& (eval "$as_suggested") 2>/dev
/null
; then : 
 185   as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
 187 for as_dir 
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH 
 190   test -z "$as_dir" && as_dir
=.
 
 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 : 
 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 
 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. 
 221         (unset BASH_ENV
) >/dev
/null 
2>&1 && unset BASH_ENV ENV
 
 223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
 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." 
 233     $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com 
 234 $0: about your system, including any error possibly output 
 235 $0: before this message. Then install a modern shell, or 
 236 $0: manually run the script under such a shell if you do 
 243 SHELL
=${CONFIG_SHELL-/bin/sh} 
 245 # Unset more variables known to interfere with behavior of common tools. 
 246 CLICOLOR_FORCE
= GREP_OPTIONS
= 
 247 unset CLICOLOR_FORCE GREP_OPTIONS
 
 249 ## --------------------- ## 
 250 ## M4sh Shell Functions. ## 
 251 ## --------------------- ## 
 254 # Portably unset VAR. 
 257   { eval $1=; unset $1;} 
 261 # as_fn_set_status STATUS 
 262 # ----------------------- 
 263 # Set $? to STATUS, without forking. 
 271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
 281 # Create "$as_dir" as a directory, including parents if necessary. 
 286   -*) as_dir
=.
/$as_dir;; 
 288   test -d "$as_dir" || eval $as_mkdir_p || { 
 292       *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
 295       as_dirs
="'$as_qdir' $as_dirs" 
 296       as_dir
=`$as_dirname -- "$as_dir" || 
 297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
 298          X"$as_dir" : 'X\(//\)[^/]' \| \ 
 299          X"$as_dir" : 'X\(//\)$' \| \ 
 300          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
 301 $as_echo X"$as_dir" | 
 302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
 319       test -d "$as_dir" && break 
 321     test -z "$as_dirs" || eval "mkdir $as_dirs" 
 322   } || test -d "$as_dir" || as_fn_error 
"cannot create directory $as_dir" 
 326 # as_fn_append VAR VALUE 
 327 # ---------------------- 
 328 # Append the text in VALUE to the end of the definition contained in VAR. Take 
 329 # advantage of any shell optimizations that allow amortized linear growth over 
 330 # repeated appends, instead of the typical quadratic growth present in naive 
 332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then : 
 333   eval 'as_fn_append () 
 346 # Perform arithmetic evaluation on the ARGs, and store the result in the 
 347 # global $as_val. Take advantage of shells that can avoid forks. The arguments 
 348 # must be portable across $(()) and expr. 
 349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then : 
 357     as_val
=`expr "$@" || test $? -eq 1` 
 362 # as_fn_error ERROR [LINENO LOG_FD] 
 363 # --------------------------------- 
 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
 366 # script with status $?, using 1 if that was 0. 
 369   as_status
=$?
; test $as_status -eq 0 && as_status
=1 
 371     as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack 
 372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
 374   $as_echo "$as_me: error: $1" >&2 
 375   as_fn_exit 
$as_status 
 378 if expr a 
: '\(a\)' >/dev
/null 
2>&1 && 
 379    test "X`expr 00001 : '.*\(...\)'`" = X001
; then 
 385 if (basename -- /) >/dev
/null 
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 
 391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null 
2>&1; then 
 397 as_me
=`$as_basename -- "$0" || 
 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
 399          X"$0" : 'X\(//\)$' \| \ 
 400          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
 402     sed '/^.*\/\([^/][^/]*\)\/*$/{ 
 416 # Avoid depending upon Character Ranges. 
 417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz' 
 418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
 419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS 
 420 as_cr_digits
='0123456789' 
 421 as_cr_alnum
=$as_cr_Letters$as_cr_digits 
 424   as_lineno_1
=$LINENO as_lineno_1a
=$LINENO 
 425   as_lineno_2
=$LINENO as_lineno_2a
=$LINENO 
 426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
 427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
 428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
 440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
 444   chmod +x 
"$as_me.lineno" || 
 445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 
1; } 
 447   # Don't try to exec as it changes $[0], causing all sort of problems 
 448   # (the dirname of $[0] is not the place where we might find the 
 449   # original and so on.  Autoconf is especially sensitive to this). 
 451   # Exit status is that of the last command. 
 455 ECHO_C
= ECHO_N
= ECHO_T
= 
 456 case `echo -n x` in #((((( 
 458   case `echo 'xy\c'` in 
 459   *c
*) ECHO_T
=' ';;     # ECHO_T is single tab character. 
 461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev
/null
 
 468 rm -f conf$$ conf$$.exe conf$$.
file 
 469 if test -d conf$$.dir
; then 
 470   rm -f conf$$.dir
/conf$$.
file 
 473   mkdir conf$$.dir 
2>/dev
/null
 
 475 if (echo >conf$$.
file) 2>/dev
/null
; then 
 476   if ln -s conf$$.
file conf$$ 
2>/dev
/null
; then 
 478     # ... but there are two gotchas: 
 479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
 480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
 481     # In both cases, we have to default to `cp -p'. 
 482     ln -s conf$$.
file conf$$.dir 
2>/dev
/null 
&& test ! -f conf$$.exe 
|| 
 484   elif ln conf$$.
file conf$$ 
2>/dev
/null
; then 
 492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file 
 493 rmdir conf$$.dir 
2>/dev
/null
 
 495 if mkdir -p . 
2>/dev
/null
; then 
 496   as_mkdir_p
='mkdir -p "$as_dir"' 
 498   test -d .
/-p && rmdir .
/-p 
 502 if test -x / >/dev
/null 
2>&1; then 
 505   if ls -dL / >/dev
/null 
2>&1; then 
 512       if test -d "$1"; then 
 518         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
 519         ???[sx]*):;;*)false;;esac;fi 
 523 as_executable_p
=$as_test_x 
 525 # Sed expression to map a string onto a valid CPP name. 
 526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
 528 # Sed expression to map a string onto a valid variable name. 
 529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
 533 # Check that we are running under the correct shell. 
 534 SHELL
=${CONFIG_SHELL-/bin/sh} 
 538   # Remove one level of quotation (which was required for Make). 
 539   ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 
 544 if test "X$1" = X
--no-reexec; then 
 545   # Discard the --no-reexec flag, and continue. 
 547 elif test "X$1" = X
--fallback-echo; then 
 548   # Avoid inline document here, it may be left over 
 550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 
 551   # Yippee, $ECHO works! 
 554   # Restart under the correct shell. 
 555   exec $SHELL "$0" --no-reexec ${1+"$@"} 
 558 if test "X$1" = X
--fallback-echo; then 
 559   # used as fallback echo 
 567 # The HP-UX ksh and POSIX shell print the target directory to stdout 
 569 (unset CDPATH
) >/dev
/null 
2>&1 && unset CDPATH
 
 571 if test -z "$lt_ECHO"; then 
 572   if test "X${echo_test_string+set}" != Xset
; then 
 573     # find a string as large as possible, as long as the shell can cope with it 
 574     for cmd 
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 
 575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
 576       if { echo_test_string
=`eval $cmd`; } 2>/dev
/null 
&& 
 577          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
 
 584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 
 585      echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 
 586      test "X$echo_testing_string" = "X$echo_test_string"; then 
 589     # The Solaris, AIX, and Digital Unix default echo programs unquote 
 590     # backslashes.  This makes it impossible to quote backslashes using 
 591     #   echo "$something" | sed 's/\\/\\\\/g' 
 593     # So, first we look for a working echo in the user's PATH. 
 595     lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
 596     for dir 
in $PATH /usr
/ucb
; do 
 598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
 599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
 600          echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` && 
 601          test "X$echo_testing_string" = "X$echo_test_string"; then 
 608     if test "X$ECHO" = Xecho
; then 
 609       # We didn't find a better echo, so look for alternatives. 
 610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 
 611          echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` && 
 612          test "X$echo_testing_string" = "X$echo_test_string"; then 
 613         # This shell has a builtin print -r that does the trick. 
 615       elif { test -f /bin
/ksh 
|| test -f /bin
/ksh
$ac_exeext; } && 
 616            test "X$CONFIG_SHELL" != X
/bin
/ksh
; then 
 617         # If we have ksh, try running configure again with it. 
 618         ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh} 
 619         export ORIGINAL_CONFIG_SHELL
 
 620         CONFIG_SHELL
=/bin
/ksh
 
 622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 
 626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 
 627            echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 
 628            test "X$echo_testing_string" = "X$echo_test_string"; then 
 631         elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 
 632              test "X$echo_testing_string" = 'X\t' && 
 633              echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
 634              test "X$echo_testing_string" = "X$echo_test_string"; then 
 635           CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL 
 637           SHELL
="$CONFIG_SHELL" 
 639           ECHO
="$CONFIG_SHELL $0 --fallback-echo" 
 640         elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 
 641              test "X$echo_testing_string" = 'X\t' && 
 642              echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
 643              test "X$echo_testing_string" = "X$echo_test_string"; then 
 644           ECHO
="$CONFIG_SHELL $0 --fallback-echo" 
 646           # maybe with a smaller string... 
 649           for cmd 
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 
 650             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
 
 657           if test "$prev" != 'sed 50q "$0"'; then 
 658             echo_test_string
=`eval $prev` 
 659             export echo_test_string
 
 660             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 
 662             # Oops.  We lost completely, so just stick with echo. 
 671 # Copy echo and quote the copy suitably for passing to libtool from 
 672 # the Makefile, instead of quoting the original, which is used later. 
 674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 
 675    lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo" 
 681   # Use only awk features that work with 7th edition Unix awk (1978). 
 682   # My, what an old awk you have, Mr. Solaris! 
 684     while (length(v1) && length(v2)) { 
 685       # Set d1 to be the next thing to compare from v1, and likewise for d2. 
 686       # Normally this is a single character, but if v1 and v2 contain digits, 
 687       # compare them as integers and fractions as strverscmp does. 
 688       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { 
 689         # Split v1 and v2 into their leading digit string components d1 and d2, 
 690         # and advance v1 and v2 past the leading digit strings. 
 691         for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue 
 692         for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue 
 693         d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) 
 694         d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) 
 697             # Compare two fractions. 
 698             while (d1 ~ /^0/ && d2 ~ /^0/) { 
 699               d1 = substr(d1, 2); len1-- 
 700               d2 = substr(d2, 2); len2-- 
 702             if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { 
 703               # The two components differ in length, and the common prefix 
 704               # contains only leading zeros.  Consider the longer to be less. 
 708               # Otherwise, compare as strings. 
 713             # A fraction is less than an integer. 
 718             # An integer is greater than a fraction. 
 721             # Compare two integers. 
 727         # The normal case, without worrying about digits. 
 728         d1 = substr(v1, 1, 1); v1 = substr(v1, 2) 
 729         d2 = substr(v2, 1, 1); v2 = substr(v2, 2) 
 734     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), 
 735     # which mishandles some comparisons of empty strings to integers. 
 736     if (length(v2)) exit 1 
 737     if (length(v1)) exit 2 
 741 test -n "$DJDIR" || exec 7<&0 </dev
/null
 
 745 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
 746 # so uname gets run too. 
 747 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q` 
 752 ac_default_prefix
=/usr
/local 
 754 ac_config_libobj_dir
=.
 
 761 # Identity of this package. 
 762 PACKAGE_NAME
='Cycript' 
 763 PACKAGE_TARNAME
='cycript' 
 764 PACKAGE_VERSION
='0.9' 
 765 PACKAGE_STRING
='Cycript 0.9' 
 766 PACKAGE_BUGREPORT
='saurik@saurik.com' 
 767 PACKAGE_URL
='http://www.cycript.org/' 
 769 ac_unique_file
="Console.cpp" 
 770 # Factoring default headers for most tests. 
 771 ac_includes_default
="\ 
 773 #ifdef HAVE_SYS_TYPES_H 
 774 # include <sys/types.h> 
 776 #ifdef HAVE_SYS_STAT_H 
 777 # include <sys/stat.h> 
 783 # ifdef HAVE_STDLIB_H 
 788 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 
 793 #ifdef HAVE_STRINGS_H 
 794 # include <strings.h> 
 796 #ifdef HAVE_INTTYPES_H 
 797 # include <inttypes.h> 
 806 ac_subst_vars
='LTLIBOBJS 
 904 program_transform_name 
 917 enable_option_checking 
 928       ac_precious_vars
='build_alias 
 953 # Initialize some variables set by options. 
 955 ac_init_version
=false
 
 956 ac_unrecognized_opts
= 
 958 # The variables have the same names as the options, with 
 959 # dashes changed to underlines. 
 967 program_transform_name
=s
,x
,x
, 
 975 # Installation directory options. 
 976 # These are left unexpanded so users can "make install exec_prefix=/foo" 
 977 # and all the variables that are supposed to be based on exec_prefix 
 978 # by default will actually change. 
 979 # Use braces instead of parens because sh, perl, etc. also accept them. 
 980 # (The list follows the same order as the GNU Coding Standards.) 
 981 bindir
='${exec_prefix}/bin' 
 982 sbindir
='${exec_prefix}/sbin' 
 983 libexecdir
='${exec_prefix}/libexec' 
 984 datarootdir
='${prefix}/share' 
 985 datadir
='${datarootdir}' 
 986 sysconfdir
='${prefix}/etc' 
 987 sharedstatedir
='${prefix}/com' 
 988 localstatedir
='${prefix}/var' 
 989 includedir
='${prefix}/include' 
 990 oldincludedir
='/usr/include' 
 991 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}' 
 992 infodir
='${datarootdir}/info' 
 997 libdir
='${exec_prefix}/lib' 
 998 localedir
='${datarootdir}/locale' 
 999 mandir
='${datarootdir}/man' 
1005   # If the previous option needs an argument, assign it. 
1006   if test -n "$ac_prev"; then 
1007     eval $ac_prev=\
$ac_option 
1013   *=*)  ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
1017   # Accept the important Cygnus configure options, so we can diagnose typos. 
1019   case $ac_dashdash$ac_option in 
1023   -bindir | --bindir | --bindi | --bind | --bin | --bi) 
1025   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 
1026     bindir
=$ac_optarg ;; 
1028   -build | --build | --buil | --bui | --bu) 
1029     ac_prev
=build_alias 
;; 
1030   -build=* | --build=* | --buil=* | --bui=* | --bu=*) 
1031     build_alias
=$ac_optarg ;; 
1033   -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1034   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 
1035     ac_prev
=cache_file 
;; 
1036   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1037   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 
1038     cache_file
=$ac_optarg ;; 
1040   --config-cache | -C) 
1041     cache_file
=config.cache 
;; 
1043   -datadir | --datadir | --datadi | --datad) 
1045   -datadir=* | --datadir=* | --datadi=* | --datad=*) 
1046     datadir
=$ac_optarg ;; 
1048   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1049   | --dataroo | --dataro | --datar) 
1050     ac_prev
=datarootdir 
;; 
1051   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1052   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 
1053     datarootdir
=$ac_optarg ;; 
1055   -disable-* | --disable-*) 
1056     ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
1057     # Reject names that are not valid shell variable names. 
1058     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null 
&& 
1059       as_fn_error 
"invalid feature name: $ac_useropt" 
1060     ac_useropt_orig
=$ac_useropt 
1061     ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
1062     case $ac_user_opts in 
1064 "enable_
$ac_useropt" 
1066       *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
1067          ac_unrecognized_sep
=', ';; 
1069     eval enable_
$ac_useropt=no 
;; 
1071   -docdir | --docdir | --docdi | --doc | --do) 
1073   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 
1074     docdir
=$ac_optarg ;; 
1076   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 
1078   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 
1079     dvidir
=$ac_optarg ;; 
1081   -enable-* | --enable-*) 
1082     ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
1083     # Reject names that are not valid shell variable names. 
1084     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null 
&& 
1085       as_fn_error 
"invalid feature name: $ac_useropt" 
1086     ac_useropt_orig
=$ac_useropt 
1087     ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
1088     case $ac_user_opts in 
1090 "enable_
$ac_useropt" 
1092       *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
1093          ac_unrecognized_sep
=', ';; 
1095     eval enable_
$ac_useropt=\
$ac_optarg ;; 
1097   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1098   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1099   | --exec | --exe | --ex) 
1100     ac_prev
=exec_prefix 
;; 
1101   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1102   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1103   | --exec=* | --exe=* | --ex=*) 
1104     exec_prefix
=$ac_optarg ;; 
1106   -gas | --gas | --ga | --g) 
1107     # Obsolete; use --with-gas. 
1110   -help | --help | --hel | --he | -h) 
1111     ac_init_help
=long 
;; 
1112   -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*) 
1113     ac_init_help
=recursive 
;; 
1114   -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*) 
1115     ac_init_help
=short 
;; 
1117   -host | --host | --hos | --ho) 
1118     ac_prev
=host_alias 
;; 
1119   -host=* | --host=* | --hos=* | --ho=*) 
1120     host_alias
=$ac_optarg ;; 
1122   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 
1124   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1126     htmldir
=$ac_optarg ;; 
1128   -includedir | --includedir | --includedi | --included | --include \
 
1129   | --includ | --inclu | --incl | --inc) 
1130     ac_prev
=includedir 
;; 
1131   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1132   | --includ=* | --inclu=* | --incl=* | --inc=*) 
1133     includedir
=$ac_optarg ;; 
1135   -infodir | --infodir | --infodi | --infod | --info | --inf) 
1137   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 
1138     infodir
=$ac_optarg ;; 
1140   -libdir | --libdir | --libdi | --libd) 
1142   -libdir=* | --libdir=* | --libdi=* | --libd=*) 
1143     libdir
=$ac_optarg ;; 
1145   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1146   | --libexe | --libex | --libe) 
1147     ac_prev
=libexecdir 
;; 
1148   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1149   | --libexe=* | --libex=* | --libe=*) 
1150     libexecdir
=$ac_optarg ;; 
1152   -localedir | --localedir | --localedi | --localed | --locale) 
1153     ac_prev
=localedir 
;; 
1154   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 
1155     localedir
=$ac_optarg ;; 
1157   -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1158   | --localstate | --localstat | --localsta | --localst | --locals) 
1159     ac_prev
=localstatedir 
;; 
1160   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1161   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 
1162     localstatedir
=$ac_optarg ;; 
1164   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 
1166   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 
1167     mandir
=$ac_optarg ;; 
1169   -nfp | --nfp | --nf) 
1170     # Obsolete; use --without-fp. 
1173   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1174   | --no-cr | --no-c | -n) 
1177   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1178   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 
1181   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1182   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1183   | --oldin | --oldi | --old | --ol | --o) 
1184     ac_prev
=oldincludedir 
;; 
1185   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1186   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1187   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 
1188     oldincludedir
=$ac_optarg ;; 
1190   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 
1192   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 
1193     prefix
=$ac_optarg ;; 
1195   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1196   | --program-pre | --program-pr | --program-p) 
1197     ac_prev
=program_prefix 
;; 
1198   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1199   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 
1200     program_prefix
=$ac_optarg ;; 
1202   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1203   | --program-suf | --program-su | --program-s) 
1204     ac_prev
=program_suffix 
;; 
1205   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1206   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 
1207     program_suffix
=$ac_optarg ;; 
1209   -program-transform-name | --program-transform-name \
 
1210   | --program-transform-nam | --program-transform-na \
 
1211   | --program-transform-n | --program-transform- \
 
1212   | --program-transform | --program-transfor \
 
1213   | --program-transfo | --program-transf \
 
1214   | --program-trans | --program-tran \
 
1215   | --progr-tra | --program-tr | --program-t) 
1216     ac_prev
=program_transform_name 
;; 
1217   -program-transform-name=* | --program-transform-name=* \
 
1218   | --program-transform-nam=* | --program-transform-na=* \
 
1219   | --program-transform-n=* | --program-transform-=* \
 
1220   | --program-transform=* | --program-transfor=* \
 
1221   | --program-transfo=* | --program-transf=* \
 
1222   | --program-trans=* | --program-tran=* \
 
1223   | --progr-tra=* | --program-tr=* | --program-t=*) 
1224     program_transform_name
=$ac_optarg ;; 
1226   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 
1228   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 
1229     pdfdir
=$ac_optarg ;; 
1231   -psdir | --psdir | --psdi | --psd | --ps) 
1233   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 
1236   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1237   | -silent | --silent | --silen | --sile | --sil) 
1240   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 
1242   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1244     sbindir
=$ac_optarg ;; 
1246   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1247   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1248   | --sharedst | --shareds | --shared | --share | --shar \
 
1250     ac_prev
=sharedstatedir 
;; 
1251   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1252   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1253   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1255     sharedstatedir
=$ac_optarg ;; 
1257   -site | --site | --sit) 
1259   -site=* | --site=* | --sit=*) 
1262   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 
1264   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 
1265     srcdir
=$ac_optarg ;; 
1267   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1268   | --syscon | --sysco | --sysc | --sys | --sy) 
1269     ac_prev
=sysconfdir 
;; 
1270   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1271   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 
1272     sysconfdir
=$ac_optarg ;; 
1274   -target | --target | --targe | --targ | --tar | --ta | --t) 
1275     ac_prev
=target_alias 
;; 
1276   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 
1277     target_alias
=$ac_optarg ;; 
1279   -v | -verbose | --verbose | --verbos | --verbo | --verb) 
1282   -version | --version | --versio | --versi | --vers | -V) 
1283     ac_init_version
=: ;; 
1286     ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
1287     # Reject names that are not valid shell variable names. 
1288     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null 
&& 
1289       as_fn_error 
"invalid package name: $ac_useropt" 
1290     ac_useropt_orig
=$ac_useropt 
1291     ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
1292     case $ac_user_opts in 
1296       *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
1297          ac_unrecognized_sep
=', ';; 
1299     eval with_
$ac_useropt=\
$ac_optarg ;; 
1301   -without-* | --without-*) 
1302     ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
1303     # Reject names that are not valid shell variable names. 
1304     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null 
&& 
1305       as_fn_error 
"invalid package name: $ac_useropt" 
1306     ac_useropt_orig
=$ac_useropt 
1307     ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
1308     case $ac_user_opts in 
1312       *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
1313          ac_unrecognized_sep
=', ';; 
1315     eval with_
$ac_useropt=no 
;; 
1318     # Obsolete; use --with-x. 
1321   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1322   | --x-incl | --x-inc | --x-in | --x-i) 
1323     ac_prev
=x_includes 
;; 
1324   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1325   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 
1326     x_includes
=$ac_optarg ;; 
1328   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1329   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 
1330     ac_prev
=x_libraries 
;; 
1331   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1332   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 
1333     x_libraries
=$ac_optarg ;; 
1335   -*) as_fn_error 
"unrecognized option: \`$ac_option' 
1336 Try \`$0 --help' for more information." 
1340     ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='` 
1341     # Reject names that are not valid shell variable names. 
1342     case $ac_envvar in #( 
1343       '' | [0-9]* | *[!_$as_cr_alnum]* ) 
1344       as_fn_error 
"invalid variable name: \`$ac_envvar'" ;; 
1346     eval $ac_envvar=\
$ac_optarg 
1347     export $ac_envvar ;; 
1350     # FIXME: should be removed in autoconf 3.0. 
1351     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
1352     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null 
&& 
1353       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
1354     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
1360 if test -n "$ac_prev"; then 
1361   ac_option
=--`echo $ac_prev | sed 's/_/-/g'` 
1362   as_fn_error 
"missing argument to $ac_option" 
1365 if test -n "$ac_unrecognized_opts"; then 
1366   case $enable_option_checking in 
1368     fatal
) as_fn_error 
"unrecognized options: $ac_unrecognized_opts" ;; 
1369     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
1373 # Check all directory arguments for consistency. 
1374 for ac_var 
in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1375                 datadir sysconfdir sharedstatedir localstatedir includedir \
 
1376                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1377                 libdir localedir mandir
 
1379   eval ac_val
=\$
$ac_var 
1380   # Remove trailing slashes. 
1383       ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
1384       eval $ac_var=\
$ac_val;; 
1386   # Be sure to have absolute directory names. 
1388     [\\/$
]* | ?
:[\\/]* )  continue;; 
1389     NONE 
| '' ) case $ac_var in *prefix 
) continue;; esac;; 
1391   as_fn_error 
"expected an absolute directory name for --$ac_var: $ac_val" 
1394 # There might be people who depend on the old broken behavior: `$host' 
1395 # used to hold the argument of --host etc. 
1396 # FIXME: To remove some day. 
1399 target
=$target_alias 
1401 # FIXME: To remove some day. 
1402 if test "x$host_alias" != x
; then 
1403   if test "x$build_alias" = x
; then 
1404     cross_compiling
=maybe
 
1405     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
1406     If a cross compiler is detected then cross compile mode will be used." >&2 
1407   elif test "x$build_alias" != "x$host_alias"; then 
1413 test -n "$host_alias" && ac_tool_prefix
=$host_alias- 
1415 test "$silent" = yes && exec 6>/dev
/null
 
1418 ac_pwd
=`pwd` && test -n "$ac_pwd" && 
1419 ac_ls_di
=`ls -di .` && 
1420 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` || 
1421   as_fn_error 
"working directory cannot be determined" 
1422 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
1423   as_fn_error 
"pwd does not report name of working directory" 
1426 # Find the source files, if location was not specified. 
1427 if test -z "$srcdir"; then 
1428   ac_srcdir_defaulted
=yes 
1429   # Try the directory containing this script, then the parent directory. 
1430   ac_confdir
=`$as_dirname -- "$as_myself" || 
1431 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
1432          X"$as_myself" : 'X\(//\)[^/]' \| \ 
1433          X"$as_myself" : 'X\(//\)$' \| \ 
1434          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
1435 $as_echo X"$as_myself" | 
1436     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
1454   if test ! -r "$srcdir/$ac_unique_file"; then 
1458   ac_srcdir_defaulted
=no
 
1460 if test ! -r "$srcdir/$ac_unique_file"; then 
1461   test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .." 
1462   as_fn_error 
"cannot find sources ($ac_unique_file) in $srcdir" 
1464 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work" 
1466         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
1468 # When building in place, set srcdir=. 
1469 if test "$ac_abs_confdir" = "$ac_pwd"; then 
1472 # Remove unnecessary trailing slashes from srcdir. 
1473 # Double slashes in file names in object file debugging info 
1474 # mess up M-x gdb in Emacs. 
1476 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 
1478 for ac_var 
in $ac_precious_vars; do 
1479   eval ac_env_
${ac_var}_set
=\
${${ac_var}+set} 
1480   eval ac_env_
${ac_var}_value
=\$
${ac_var} 
1481   eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set} 
1482   eval ac_cv_env_
${ac_var}_value
=\$
${ac_var} 
1486 # Report the --help message. 
1488 if test "$ac_init_help" = "long"; then 
1489   # Omit some internal or obsolete options to make the list less imposing. 
1490   # This message is too long to be a string in the A/UX 3.1 sh. 
1492 \`configure' configures Cycript 0.9 to adapt to many kinds of systems. 
1494 Usage: $0 [OPTION]... [VAR=VALUE]... 
1496 To assign environment variables (e.g., CC, CFLAGS...), specify them as 
1497 VAR=VALUE.  See below for descriptions of some of the useful variables. 
1499 Defaults for the options are specified in brackets. 
1502   -h, --help              display this help and exit 
1503       --help=short        display options specific to this package 
1504       --help=recursive    display the short help of all the included packages 
1505   -V, --version           display version information and exit 
1506   -q, --quiet, --silent   do not print \`checking...' messages 
1507       --cache-file=FILE   cache test results in FILE [disabled] 
1508   -C, --config-cache      alias for \`--cache-file=config.cache' 
1509   -n, --no-create         do not create output files 
1510       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
1512 Installation directories: 
1513   --prefix=PREFIX         install architecture-independent files in PREFIX 
1514                           [$ac_default_prefix] 
1515   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
1518 By default, \`make install' will install all the files in 
1519 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify 
1520 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 
1521 for instance \`--prefix=\$HOME'. 
1523 For better control, use the options below. 
1525 Fine tuning of the installation directories: 
1526   --bindir=DIR            user executables [EPREFIX/bin] 
1527   --sbindir=DIR           system admin executables [EPREFIX/sbin] 
1528   --libexecdir=DIR        program executables [EPREFIX/libexec] 
1529   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
1530   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
1531   --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
1532   --libdir=DIR            object code libraries [EPREFIX/lib] 
1533   --includedir=DIR        C header files [PREFIX/include] 
1534   --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
1535   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
1536   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
1537   --infodir=DIR           info documentation [DATAROOTDIR/info] 
1538   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
1539   --mandir=DIR            man documentation [DATAROOTDIR/man] 
1540   --docdir=DIR            documentation root [DATAROOTDIR/doc/cycript] 
1541   --htmldir=DIR           html documentation [DOCDIR] 
1542   --dvidir=DIR            dvi documentation [DOCDIR] 
1543   --pdfdir=DIR            pdf documentation [DOCDIR] 
1544   --psdir=DIR             ps documentation [DOCDIR] 
1550   --build=BUILD     configure 
for building on BUILD 
[guessed
] 
1551   --host=HOST       cross
-compile to build programs to run on HOST 
[BUILD
] 
1555 if test -n "$ac_init_help"; then 
1556   case $ac_init_help in 
1557      short 
| recursive 
) echo "Configuration of Cycript 0.9:";; 
1562   --disable-option-checking  ignore unrecognized 
--enable/--with options
 
1563   --disable-FEATURE       do not include FEATURE 
(same as 
--enable-FEATURE=no
) 
1564   --enable-FEATURE[=ARG
]  include FEATURE 
[ARG
=yes] 
1565   --enable-static[=PKGS
]  build static libraries 
[default
=no
] 
1566   --enable-shared[=PKGS
]  build shared libraries 
[default
=yes] 
1567   --enable-fast-install[=PKGS
] 
1568                           optimize 
for fast installation 
[default
=yes] 
1569   --disable-libtool-lock  avoid locking 
(might 
break parallel builds
) 
1570   --disable-rpath         do not hardcode runtime library paths
 
1573   --with-PACKAGE[=ARG
]    use PACKAGE 
[ARG
=yes] 
1574   --without-PACKAGE       do not use PACKAGE 
(same as 
--with-PACKAGE=no
) 
1575   --with-pic              try to use only PIC
/non
-PIC objects 
[default
=use
 
1577   --with-gnu-ld           assume the C compiler uses GNU ld 
[default
=no
] 
1578   --with-apr=PATH         prefix 
for installed APR or the full path to
 
1580   --with-gnu-ld           assume the C compiler uses GNU ld default
=no
 
1581   --with-libiconv-prefix[=DIR
]  search 
for libiconv 
in DIR
/include and DIR
/lib
 
1582   --without-libiconv-prefix     don
't search for libiconv in includedir and libdir 
1584 Some influential environment variables: 
1585   CC          C compiler command 
1586   CFLAGS      C compiler flags 
1587   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
1588               nonstandard directory <lib dir> 
1589   LIBS        libraries to pass to the linker, e.g. -l<library> 
1590   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
1591               you have headers in a nonstandard directory <include dir> 
1593   PKG_CONFIG  path to pkg-config utility 
1594   CXX         C++ compiler command 
1595   CXXFLAGS    C++ compiler flags 
1596   CXXCPP      C++ preprocessor 
1597   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
 
1598               the first program found out of
: `bison -y', `byacc
', `yacc'.
 
1599   YFLAGS      The list of arguments that will be passed by default to 
$YACC.
 
1600               This 
script will default YFLAGS to the empty string to avoid a
 
1601               default value of 
`-d' given by some make applications. 
1602   GPERF       perfect hash function generator 
1604               C compiler flags for WEBKIT, overriding pkg-config 
1605   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config 
1606   OBJCXX      Objective C++ compiler command 
1607   OBJCXXFLAGS Objective C++ compiler flags 
1609               C compiler flags for LIBFFI, overriding pkg-config 
1610   LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config 
1612 Use these variables to override the choices made by `configure
' or to help 
1613 it to find libraries and programs with nonstandard names/locations. 
1615 Report bugs to <saurik@saurik.com>. 
1616 Cycript home page: <http://www.cycript.org/>. 
1621 if test "$ac_init_help" = "recursive"; then 
1622   # If there are subdirs, report their specific --help. 
1623   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
1624     test -d "$ac_dir" || 
1625       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
1630 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
1632   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'` 
1633   # A ".." for each directory in $ac_dir_suffix. 
1634   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'` 
1635   case $ac_top_builddir_sub in 
1636   "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
1637   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; 
1640 ac_abs_top_builddir=$ac_pwd 
1641 ac_abs_builddir=$ac_pwd$ac_dir_suffix 
1642 # for backward compatibility: 
1643 ac_top_builddir=$ac_top_build_prefix 
1646   .)  # We are building in place. 
1648     ac_top_srcdir=$ac_top_builddir_sub 
1649     ac_abs_top_srcdir=$ac_pwd ;; 
1650   [\\/]* | ?:[\\/]* )  # Absolute name. 
1651     ac_srcdir=$srcdir$ac_dir_suffix; 
1652     ac_top_srcdir=$srcdir 
1653     ac_abs_top_srcdir=$srcdir ;; 
1655     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 
1656     ac_top_srcdir=$ac_top_build_prefix$srcdir 
1657     ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 
1659 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 
1661     cd "$ac_dir" || { ac_status=$?; continue; } 
1662     # Check for guested configure. 
1663     if test -f "$ac_srcdir/configure.gnu"; then 
1665       $SHELL "$ac_srcdir/configure.gnu" --help=recursive 
1666     elif test -f "$ac_srcdir/configure"; then 
1668       $SHELL "$ac_srcdir/configure" --help=recursive 
1670       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
1672     cd "$ac_pwd" || { ac_status=$?; break; } 
1676 test -n "$ac_init_help" && exit $ac_status 
1677 if $ac_init_version; then 
1679 Cycript configure 0.9 
1680 generated by GNU Autoconf 2.65 
1682 Copyright (C) 2009 Free Software Foundation, Inc. 
1683 This configure script is free software; the Free Software Foundation 
1684 gives unlimited permission to copy, distribute and modify it. 
1689 ## ------------------------ ## 
1690 ## Autoconf initialization. ## 
1691 ## ------------------------ ## 
1693 # ac_fn_c_try_compile LINENO 
1694 # -------------------------- 
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
1696 ac_fn_c_try_compile () 
1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
1699   rm -f conftest.$ac_objext 
1700   if { { ac_try="$ac_compile" 
1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
1703   *) ac_try_echo=$ac_try;; 
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
1706 $as_echo "$ac_try_echo"; } >&5 
1707   (eval "$ac_compile") 2>conftest.err 
1709   if test -s conftest.err; then 
1710     grep -v '^ 
*+' conftest.err >conftest.er1 
1711     cat conftest.er1 >&5 
1712     mv -f conftest.er1 conftest.err 
1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
1715   test $ac_status = 0; } && { 
1716          test -z "$ac_c_werror_flag" || 
1717          test ! -s conftest.err 
1718        } && test -s conftest.$ac_objext; then : 
1721   $as_echo "$as_me: failed program was:" >&5 
1722 sed 's
/^
/| /' conftest.$ac_ext >&5 
1726   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
1727   as_fn_set_status $ac_retval 
1729 } # ac_fn_c_try_compile 
1731 # ac_fn_c_try_link LINENO 
1732 # ----------------------- 
1733 # Try to link conftest.$ac_ext, and return whether this succeeded. 
1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
1737   rm -f conftest.$ac_objext conftest$ac_exeext 
1738   if { { ac_try="$ac_link" 
1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
1741   *) ac_try_echo=$ac_try;; 
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
1744 $as_echo "$ac_try_echo"; } >&5 
1745   (eval "$ac_link") 2>conftest.err 
1747   if test -s conftest.err; then 
1748     grep -v '^ 
*+' conftest.err >conftest.er1 
1749     cat conftest.er1 >&5 
1750     mv -f conftest.er1 conftest.err 
1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
1753   test $ac_status = 0; } && { 
1754          test -z "$ac_c_werror_flag" || 
1755          test ! -s conftest.err 
1756        } && test -s conftest$ac_exeext && { 
1757          test "$cross_compiling" = yes || 
1758          $as_test_x conftest$ac_exeext 
1762   $as_echo "$as_me: failed program was:" >&5 
1763 sed 's
/^
/| /' conftest.$ac_ext >&5 
1767   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
1768   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
1769   # interfere with the next link command; also delete a directory that is 
1770   # left behind by Apple's compiler.  We 
do this before executing the actions.
 
1771   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1772   eval $as_lineno_stack; test "x$as_lineno_stack" = x 
&& { as_lineno
=; unset as_lineno
;} 
1773   as_fn_set_status 
$ac_retval 
1775 } # ac_fn_c_try_link 
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
1778 # ------------------------------------------------------- 
1779 # Tests whether HEADER exists and can be compiled using the include files in 
1780 # INCLUDES, setting the cache variable VAR accordingly. 
1781 ac_fn_c_check_header_compile 
() 
1783   as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack 
1784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
1785 $as_echo_n "checking for $2... " >&6; } 
1786 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
1787   $as_echo_n "(cached) " >&6 
1789   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
1790 /* end confdefs.h.  */ 
1794 if ac_fn_c_try_compile 
"$LINENO"; then : 
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
1802                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
1803 $as_echo "$ac_res" >&6; } 
1804   eval $as_lineno_stack; test "x$as_lineno_stack" = x 
&& { as_lineno
=; unset as_lineno
;} 
1806 } # ac_fn_c_check_header_compile 
1808 # ac_fn_c_try_cpp LINENO 
1809 # ---------------------- 
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
1813   as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack 
1814   if { { ac_try
="$ac_cpp conftest.$ac_ext" 
1816   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
1817   *) ac_try_echo=$ac_try;; 
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
1820 $as_echo "$ac_try_echo"; } >&5 
1821   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
1823   if test -s conftest.err; then 
1824     grep -v '^ *+' conftest.err >conftest.er1 
1825     cat conftest.er1 >&5 
1826     mv -f conftest.er1 conftest.err 
1828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
1829   test $ac_status = 0; } >/dev/null && { 
1830          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
1831          test ! -s conftest.err 
1835   $as_echo "$as_me: failed program was:" >&5 
1836 sed 's/^/| /' conftest.$ac_ext >&5 
1840   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
1841   as_fn_set_status $ac_retval 
1845 # ac_fn_c_try_run LINENO 
1846 # ---------------------- 
1847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
1848 # that executables *can* be run. 
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
1852   if { { ac_try="$ac_link" 
1854   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
1855   *) ac_try_echo
=$ac_try;; 
1857 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
1858 $as_echo "$ac_try_echo"; } >&5 
1859   (eval "$ac_link") 2>&5 
1861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
1862   test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext' 
1863   { { case "(($ac_try" in 
1864   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
1865   *) ac_try_echo=$ac_try;; 
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
1868 $as_echo "$ac_try_echo"; } >&5 
1869   (eval "$ac_try") 2>&5 
1871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
1872   test $ac_status = 0; }; }; then : 
1875   $as_echo "$as_me: program exited with status $ac_status" >&5 
1876        $as_echo "$as_me: failed program was:" >&5 
1877 sed 's/^/| /' conftest.$ac_ext >&5 
1879        ac_retval=$ac_status 
1881   rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
1882   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
1883   as_fn_set_status $ac_retval 
1887 # ac_fn_c_check_func LINENO FUNC VAR 
1888 # ---------------------------------- 
1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly 
1890 ac_fn_c_check_func () 
1892   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
1893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
1894 $as_echo_n "checking for $2... " >&6; } 
1895 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
1896   $as_echo_n "(cached) " >&6 
1898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
1899 /* end confdefs.h.  */ 
1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
1901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
1902 #define $2 innocuous_$2 
1904 /* System header to define __stub macros and hopefully few prototypes, 
1905     which can conflict with char $2 (); below. 
1906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
1907     <limits.h> exists even on freestanding compilers.  */ 
1910 # include <limits.h> 
1912 # include <assert.h> 
1917 /* Override any GCC internal prototype to avoid an error. 
1918    Use char because int might match the return type of a GCC 
1919    builtin and then its argument prototype would still apply.  */ 
1924 /* The GNU C library defines this for functions which it implements 
1925     to always fail with ENOSYS.  Some functions are actually named 
1926     something starting with __ and the normal name is an alias.  */ 
1927 #if defined __stub_$2 || defined __stub___$2 
1939 if ac_fn_c_try_link "$LINENO"; then : 
1944 rm -f core conftest.err conftest.$ac_objext \ 
1945     conftest$ac_exeext conftest.$ac_ext 
1948                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
1949 $as_echo "$ac_res" >&6; } 
1950   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
1952 } # ac_fn_c_check_func 
1954 # ac_fn_cxx_try_compile LINENO 
1955 # ---------------------------- 
1956 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
1957 ac_fn_cxx_try_compile () 
1959   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
1960   rm -f conftest.$ac_objext 
1961   if { { ac_try="$ac_compile" 
1963   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
1964   *) ac_try_echo
=$ac_try;; 
1966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
1967 $as_echo "$ac_try_echo"; } >&5 
1968   (eval "$ac_compile") 2>conftest.err
 
1970   if test -s conftest.err
; then 
1971     grep -v '^ *+' conftest.err 
>conftest.er1
 
1972     cat conftest.er1 
>&5 
1973     mv -f conftest.er1 conftest.err
 
1975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
1976   test $ac_status = 0; } && { 
1977          test -z "$ac_cxx_werror_flag" || 
1978          test ! -s conftest.err
 
1979        } && test -s conftest.
$ac_objext; then : 
1982   $as_echo "$as_me: failed program was:" >&5 
1983 sed 's/^/| /' conftest.
$ac_ext >&5 
1987   eval $as_lineno_stack; test "x$as_lineno_stack" = x 
&& { as_lineno
=; unset as_lineno
;} 
1988   as_fn_set_status 
$ac_retval 
1990 } # ac_fn_cxx_try_compile 
1992 # ac_fn_cxx_try_cpp LINENO 
1993 # ------------------------ 
1994 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
1995 ac_fn_cxx_try_cpp 
() 
1997   as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack 
1998   if { { ac_try
="$ac_cpp conftest.$ac_ext" 
2000   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
2001   *) ac_try_echo=$ac_try;; 
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
2004 $as_echo "$ac_try_echo"; } >&5 
2005   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
2007   if test -s conftest.err; then 
2008     grep -v '^ *+' conftest.err >conftest.er1 
2009     cat conftest.er1 >&5 
2010     mv -f conftest.er1 conftest.err 
2012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
2013   test $ac_status = 0; } >/dev/null && { 
2014          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 
2015          test ! -s conftest.err 
2019   $as_echo "$as_me: failed program was:" >&5 
2020 sed 's/^/| /' conftest.$ac_ext >&5 
2024   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
2025   as_fn_set_status $ac_retval 
2027 } # ac_fn_cxx_try_cpp 
2029 # ac_fn_cxx_try_link LINENO 
2030 # ------------------------- 
2031 # Try to link conftest.$ac_ext, and return whether this succeeded. 
2032 ac_fn_cxx_try_link () 
2034   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
2035   rm -f conftest.$ac_objext conftest$ac_exeext 
2036   if { { ac_try="$ac_link" 
2038   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
2039   *) ac_try_echo
=$ac_try;; 
2041 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
2042 $as_echo "$ac_try_echo"; } >&5 
2043   (eval "$ac_link") 2>conftest.err
 
2045   if test -s conftest.err
; then 
2046     grep -v '^ *+' conftest.err 
>conftest.er1
 
2047     cat conftest.er1 
>&5 
2048     mv -f conftest.er1 conftest.err
 
2050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
2051   test $ac_status = 0; } && { 
2052          test -z "$ac_cxx_werror_flag" || 
2053          test ! -s conftest.err
 
2054        } && test -s conftest
$ac_exeext && { 
2055          test "$cross_compiling" = yes || 
2056          $as_test_x conftest
$ac_exeext 
2060   $as_echo "$as_me: failed program was:" >&5 
2061 sed 's/^/| /' conftest.
$ac_ext >&5 
2065   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
2066   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
2067   # interfere with the next link command; also delete a directory that is 
2068   # left behind by Apple's compiler.  We do this before executing the actions. 
2069   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2070   eval $as_lineno_stack; test "x$as_lineno_stack" = x 
&& { as_lineno
=; unset as_lineno
;} 
2071   as_fn_set_status 
$ac_retval 
2073 } # ac_fn_cxx_try_link 
2075 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 
2076 # --------------------------------------------------------- 
2077 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 
2078 # the include files in INCLUDES and setting the cache variable VAR 
2080 ac_fn_cxx_check_header_mongrel 
() 
2082   as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack 
2083   if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
2084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
2085 $as_echo_n "checking for $2... " >&6; } 
2086 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
2087   $as_echo_n "(cached) " >&6 
2090                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
2091 $as_echo "$ac_res" >&6; } 
2093   # Is the header compilable? 
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
2095 $as_echo_n "checking $2 usability... " >&6; } 
2096 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
2097 /* end confdefs.h.  */ 
2101 if ac_fn_cxx_try_compile 
"$LINENO"; then : 
2102   ac_header_compiler
=yes 
2104   ac_header_compiler
=no
 
2106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
2108 $as_echo "$ac_header_compiler" >&6; } 
2110 # Is the header present? 
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
2112 $as_echo_n "checking $2 presence... " >&6; } 
2113 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
2114 /* end confdefs.h.  */ 
2117 if ac_fn_cxx_try_cpp 
"$LINENO"; then : 
2118   ac_header_preproc
=yes 
2120   ac_header_preproc
=no
 
2122 rm -f conftest.err conftest.
$ac_ext 
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
2124 $as_echo "$ac_header_preproc" >&6; } 
2126 # So?  What about this header? 
2127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 
2129     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
2130 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
2131     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
2132 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
2135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
2136 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
2137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
2138 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
2139     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
2140 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
2141     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
2142 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
2143     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
2144 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
2146 ## -------------------------------- ## 
2147 ## Report this to saurik@saurik.com ## 
2148 ## -------------------------------- ## 
2150      ) | sed "s/^/$as_me: WARNING:     /" >&2 
2153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
2154 $as_echo_n "checking for $2... " >&6; } 
2155 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
2156   $as_echo_n "(cached) " >&6 
2158   eval "$3=\$ac_header_compiler" 
2161                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
2162 $as_echo "$ac_res" >&6; } 
2164   eval $as_lineno_stack; test "x$as_lineno_stack" = x 
&& { as_lineno
=; unset as_lineno
;} 
2166 } # ac_fn_cxx_check_header_mongrel 
2168 # ac_fn_objcxx_try_compile LINENO 
2169 # ------------------------------- 
2170 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
2171 ac_fn_objcxx_try_compile 
() 
2173   as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack 
2174   rm -f conftest.
$ac_objext 
2175   if { { ac_try
="$ac_compile" 
2177   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
2178   *) ac_try_echo=$ac_try;; 
2180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
2181 $as_echo "$ac_try_echo"; } >&5 
2182   (eval "$ac_compile") 2>conftest.err 
2184   if test -s conftest.err; then 
2185     grep -v '^ *+' conftest.err >conftest.er1 
2186     cat conftest.er1 >&5 
2187     mv -f conftest.er1 conftest.err 
2189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
2190   test $ac_status = 0; } && { 
2191          test -z "$ac_objcxx_werror_flag" || 
2192          test ! -s conftest.err 
2193        } && test -s conftest.$ac_objext; then : 
2196   $as_echo "$as_me: failed program was:" >&5 
2197 sed 's/^/| /' conftest.$ac_ext >&5 
2201   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
2202   as_fn_set_status $ac_retval 
2204 } # ac_fn_objcxx_try_compile 
2205 cat >config.log <<_ACEOF 
2206 This file contains any messages produced by compilers while 
2207 running configure, to aid debugging if configure makes a mistake. 
2209 It was created by Cycript $as_me 0.9, which was 
2210 generated by GNU Autoconf 2.65.  Invocation command line was 
2222 hostname = `(hostname 
|| uname 
-n) 2>/dev
/null 
| sed 1q
` 
2223 uname -m = `(uname 
-m) 2>/dev
/null 
|| echo unknown
` 
2224 uname -r = `(uname 
-r) 2>/dev
/null 
|| echo unknown
` 
2225 uname -s = `(uname 
-s) 2>/dev
/null 
|| echo unknown
` 
2226 uname -v = `(uname 
-v) 2>/dev
/null 
|| echo unknown
` 
2228 /usr/bin/uname -p = `(/usr
/bin
/uname 
-p) 2>/dev
/null 
|| echo unknown
` 
2229 /bin/uname -X     = `(/bin
/uname 
-X) 2>/dev
/null     
|| echo unknown
` 
2231 /bin/arch              = `(/bin
/arch
) 2>/dev
/null              
|| echo unknown
` 
2232 /usr/bin/arch -k       = `(/usr
/bin
/arch 
-k) 2>/dev
/null       
|| echo unknown
` 
2233 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null 
|| echo unknown
` 
2234 /usr/bin/hostinfo      = `(/usr
/bin
/hostinfo
) 2>/dev
/null      
|| echo unknown
` 
2235 /bin/machine           = `(/bin
/machine
) 2>/dev
/null           
|| echo unknown
` 
2236 /usr/bin/oslevel       = `(/usr
/bin
/oslevel
) 2>/dev
/null       
|| echo unknown
` 
2237 /bin/universe          = `(/bin
/universe
) 2>/dev
/null          
|| echo unknown
` 
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
2245   test -z "$as_dir" && as_dir=. 
2246     $as_echo "PATH: $as_dir" 
2262 # Keep a trace of the command line. 
2263 # Strip out --no-create and --no-recursion so they do not pile up. 
2264 # Strip out --silent because we don't want to record it for future runs. 
2265 # Also quote any args containing shell meta-characters. 
2266 # Make two passes to allow for proper duplicate-argument suppression. 
2270 ac_must_keep_next=false 
2276     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
2277     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
2278     | -silent | --silent | --silen | --sile | --sil) 
2281       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
2284     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
2286       as_fn_append ac_configure_args1 " '$ac_arg'" 
2287       if test $ac_must_keep_next = true; then 
2288         ac_must_keep_next=false # Got value, back to normal. 
2291           *=* | --config-cache | -C | -disable-* | --disable-* \ 
2292           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
2293           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
2294           | -with-* | --with-* | -without-* | --without-* | --x) 
2295             case "$ac_configure_args0 " in 
2296               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
2299           -* ) ac_must_keep_next=true ;; 
2302       as_fn_append ac_configure_args " '$ac_arg'" 
2307 { ac_configure_args0=; unset ac_configure_args0;} 
2308 { ac_configure_args1=; unset ac_configure_args1;} 
2310 # When interrupted or exit'd, cleanup temporary files, and complete 
2311 # config.log.  We remove comments because anyway the quotes in there 
2312 # would cause problems or look ugly. 
2313 # WARNING: Use '\'' to represent an apostrophe within the trap. 
2314 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 
2315 trap 'exit_status=$? 
2316   # Save into config.log some information that might help in debugging. 
2321 ## ---------------- ## 
2322 ## Cache variables. ## 
2323 ## ---------------- ## 
2326     # The following way of writing the cache mishandles newlines in values, 
2328   for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do 
2329     eval ac_val=\$$ac_var 
2333       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
2334 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
2337       _ | IFS | as_nl) ;; #( 
2338       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
2339       *) { eval $ac_var=; unset $ac_var;} ;; 
2344     case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #( 
2345     *${as_nl}ac_space=\ *) 
2347         "s/'\''/'\''\\\\'\'''\''/g; 
2348           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 
2351       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 
2359 ## ----------------- ## 
2360 ## Output variables. ## 
2361 ## ----------------- ## 
2364     for ac_var in $ac_subst_vars 
2366       eval ac_val=\$$ac_var 
2368       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
2370       $as_echo "$ac_var='\''$ac_val'\''" 
2374     if test -n "$ac_subst_files"; then 
2376 ## ------------------- ## 
2377 ## File substitutions. ## 
2378 ## ------------------- ## 
2381       for ac_var in $ac_subst_files 
2383         eval ac_val=\$$ac_var 
2385         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
2387         $as_echo "$ac_var='\''$ac_val'\''" 
2392     if test -s confdefs.h; then 
2402     test "$ac_signal" != 0 && 
2403       $as_echo "$as_me: caught signal $ac_signal" 
2404     $as_echo "$as_me: exit $exit_status" 
2406   rm -f core *.core core.conftest.* && 
2407     rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 
2410 for ac_signal in 1 2 13 15; do 
2411   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
2415 # confdefs.h avoids OS command line length limits that DEFS can exceed. 
2416 rm -f -r conftest* confdefs.h 
2418 $as_echo "/* confdefs.h */" > confdefs.h 
2420 # Predefined preprocessor variables. 
2422 cat >>confdefs.h <<_ACEOF 
2423 #define PACKAGE_NAME "$PACKAGE_NAME" 
2426 cat >>confdefs.h <<_ACEOF 
2427 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
2430 cat >>confdefs.h <<_ACEOF 
2431 #define PACKAGE_VERSION "$PACKAGE_VERSION" 
2434 cat >>confdefs.h <<_ACEOF 
2435 #define PACKAGE_STRING "$PACKAGE_STRING" 
2438 cat >>confdefs.h <<_ACEOF 
2439 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
2442 cat >>confdefs.h <<_ACEOF 
2443 #define PACKAGE_URL "$PACKAGE_URL" 
2447 # Let the site file select an alternate cache file if it wants to. 
2448 # Prefer an explicitly selected file to automatically selected ones. 
2451 if test -n "$CONFIG_SITE"; then 
2452   ac_site_file1=$CONFIG_SITE 
2453 elif test "x$prefix" != xNONE; then 
2454   ac_site_file1=$prefix/share/config.site 
2455   ac_site_file2=$prefix/etc/config.site 
2457   ac_site_file1=$ac_default_prefix/share/config.site 
2458   ac_site_file2=$ac_default_prefix/etc/config.site 
2460 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
2462   test "x$ac_site_file" = xNONE && continue 
2463   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
2464     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
2465 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 
2466     sed 's/^/| /' "$ac_site_file" >&5 
2471 if test -r "$cache_file"; then 
2472   # Some versions of bash will fail to source /dev/null (special files 
2473   # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
2474   if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
2475     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
2476 $as_echo "$as_me: loading cache $cache_file" >&6;} 
2478       [\\/]* | ?:[\\/]* ) . "$cache_file";; 
2479       *)                      . "./$cache_file";; 
2483   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
2484 $as_echo "$as_me: creating cache $cache_file" >&6;} 
2488 # Check that the precious variables saved in the cache have kept the same 
2490 ac_cache_corrupted=false 
2491 for ac_var in $ac_precious_vars; do 
2492   eval ac_old_set=\$ac_cv_env_${ac_var}_set 
2493   eval ac_new_set=\$ac_env_${ac_var}_set 
2494   eval ac_old_val=\$ac_cv_env_${ac_var}_value 
2495   eval ac_new_val=\$ac_env_${ac_var}_value 
2496   case $ac_old_set,$ac_new_set in 
2498       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5 
2499 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
2500       ac_cache_corrupted=: ;; 
2502       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not 
set in the previous run
" >&5 
2503 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;} 
2504       ac_cache_corrupted=: ;; 
2507       if test "x$ac_old_val" != "x$ac_new_val"; then 
2508         # differences in whitespace do not lead to failure. 
2509         ac_old_val_w=`echo x 
$ac_old_val` 
2510         ac_new_val_w=`echo x 
$ac_new_val` 
2511         if test "$ac_old_val_w" != "$ac_new_val_w"; then 
2512           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
2513 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;} 
2514           ac_cache_corrupted=: 
2516           { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes 
in \
`$ac_var' since the previous run:" >&5 
2517 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
2518           eval $ac_var=\$ac_old_val 
2520         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
2521 $as_echo "$as_me:   former value
:  \
`$ac_old_val'" >&2;} 
2522         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
2523 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
2526   # Pass precious variables to config.status. 
2527   if test "$ac_new_set" = set; then 
2529     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;; 
2530     *) ac_arg=$ac_var=$ac_new_val ;; 
2532     case " $ac_configure_args " in 
2533       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
2534       *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
2538 if $ac_cache_corrupted; then 
2539   { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5 
2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
2541   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
2542 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
2543   as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5 
2545 ## -------------------- ## 
2546 ## Main body of script. ## 
2547 ## -------------------- ## 
2550 ac_cpp='$CPP $CPPFLAGS' 
2551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2553 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
2558 for ac_dir in . "$srcdir"/.; do 
2559   for ac_t in install-sh install.sh shtool; do 
2560     if test -f "$ac_dir/$ac_t"; then 
2562       ac_install_sh="$ac_aux_dir/$ac_t -c" 
2567 if test -z "$ac_aux_dir"; then 
2568   as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 
2571 # These three variables are undocumented and unsupported, 
2572 # and are intended to be withdrawn in a future Autoconf release. 
2573 # They can cause serious problems if a builder's source tree is in a directory 
2574 # whose full name contains unusual characters. 
2575 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var. 
2576 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var. 
2577 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var. 
2582     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5 
2583 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;; 
2588 macro_version='2.2.6b' 
2589 macro_revision='1.3017' 
2603 ltmain="$ac_aux_dir/ltmain.sh" 
2605 # Make sure we can run config.sub. 
2606 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
2607   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
2610 $as_echo_n "checking build system type... " >&6; } 
2611 if test "${ac_cv_build+set}" = set; then : 
2612   $as_echo_n "(cached) " >&6 
2614   ac_build_alias=$build_alias 
2615 test "x$ac_build_alias" = x && 
2616   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
2617 test "x$ac_build_alias" = x && 
2618   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
2619 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
2620   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
2624 $as_echo "$ac_cv_build" >&6; } 
2625 case $ac_cv_build in 
2627 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
2630 ac_save_IFS=$IFS; IFS='-' 
2636 # Remember, the first character of IFS is used to create $*, 
2637 # except with old shells: 
2640 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
2644 $as_echo_n "checking host system type... " >&6; } 
2645 if test "${ac_cv_host+set}" = set; then : 
2646   $as_echo_n "(cached) " >&6 
2648   if test "x$host_alias" = x; then 
2649   ac_cv_host=$ac_cv_build 
2651   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
2652     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
2657 $as_echo "$ac_cv_host" >&6; } 
2660 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
2663 ac_save_IFS=$IFS; IFS='-' 
2669 # Remember, the first character of IFS is used to create $*, 
2670 # except with old shells: 
2673 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 
2677 ac_cpp='$CPP $CPPFLAGS' 
2678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
2679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
2680 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
2681 if test -n "$ac_tool_prefix"; then 
2682   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
2683 set dummy ${ac_tool_prefix}gcc; ac_word=$2 
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
2685 $as_echo_n "checking for $ac_word... " >&6; } 
2686 if test "${ac_cv_prog_CC+set}" = set; then : 
2687   $as_echo_n "(cached) " >&6 
2689   if test -n "$CC"; then 
2690   ac_cv_prog_CC="$CC" # Let the user override the test. 
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
2696   test -z "$as_dir" && as_dir=. 
2697     for ac_exec_ext in '' $ac_executable_extensions; do 
2698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2699     ac_cv_prog_CC="${ac_tool_prefix}gcc" 
2700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
2710 if test -n "$CC"; then 
2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
2712 $as_echo "$CC" >&6; } 
2714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
2715 $as_echo "no" >&6; } 
2720 if test -z "$ac_cv_prog_CC"; then 
2722   # Extract the first word of "gcc", so it can be a program name with args. 
2723 set dummy gcc; ac_word=$2 
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
2725 $as_echo_n "checking for $ac_word... " >&6; } 
2726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
2727   $as_echo_n "(cached) " >&6 
2729   if test -n "$ac_ct_CC"; then 
2730   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
2736   test -z "$as_dir" && as_dir=. 
2737     for ac_exec_ext in '' $ac_executable_extensions; do 
2738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2739     ac_cv_prog_ac_ct_CC="gcc" 
2740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
2749 ac_ct_CC=$ac_cv_prog_ac_ct_CC 
2750 if test -n "$ac_ct_CC"; then 
2751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
2752 $as_echo "$ac_ct_CC" >&6; } 
2754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
2755 $as_echo "no" >&6; } 
2758   if test "x$ac_ct_CC" = x; then 
2761     case $cross_compiling:$ac_tool_warned in 
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
2764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
2765 ac_tool_warned=yes ;; 
2773 if test -z "$CC"; then 
2774           if test -n "$ac_tool_prefix"; then 
2775     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
2776 set dummy ${ac_tool_prefix}cc; ac_word=$2 
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
2778 $as_echo_n "checking for $ac_word... " >&6; } 
2779 if test "${ac_cv_prog_CC+set}" = set; then : 
2780   $as_echo_n "(cached) " >&6 
2782   if test -n "$CC"; then 
2783   ac_cv_prog_CC="$CC" # Let the user override the test. 
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
2789   test -z "$as_dir" && as_dir=. 
2790     for ac_exec_ext in '' $ac_executable_extensions; do 
2791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2792     ac_cv_prog_CC="${ac_tool_prefix}cc" 
2793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
2803 if test -n "$CC"; then 
2804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
2805 $as_echo "$CC" >&6; } 
2807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
2808 $as_echo "no" >&6; } 
2814 if test -z "$CC"; then 
2815   # Extract the first word of "cc", so it can be a program name with args. 
2816 set dummy cc; ac_word=$2 
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
2818 $as_echo_n "checking for $ac_word... " >&6; } 
2819 if test "${ac_cv_prog_CC+set}" = set; then : 
2820   $as_echo_n "(cached) " >&6 
2822   if test -n "$CC"; then 
2823   ac_cv_prog_CC="$CC" # Let the user override the test. 
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
2830   test -z "$as_dir" && as_dir=. 
2831     for ac_exec_ext in '' $ac_executable_extensions; do 
2832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2833     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
2834        ac_prog_rejected=yes 
2838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
2845 if test $ac_prog_rejected = yes; then 
2846   # We found a bogon in the path, so make sure we never use it. 
2847   set dummy $ac_cv_prog_CC 
2849   if test $# != 0; then 
2850     # We chose a different compiler from the bogus one. 
2851     # However, it has the same basename, so the bogon will be chosen 
2852     # first if we set CC to just the basename; use the full file name. 
2854     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 
2860 if test -n "$CC"; then 
2861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
2862 $as_echo "$CC" >&6; } 
2864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
2865 $as_echo "no" >&6; } 
2870 if test -z "$CC"; then 
2871   if test -n "$ac_tool_prefix"; then 
2872   for ac_prog in cl.exe 
2874     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
2875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
2877 $as_echo_n "checking for $ac_word... " >&6; } 
2878 if test "${ac_cv_prog_CC+set}" = set; then : 
2879   $as_echo_n "(cached) " >&6 
2881   if test -n "$CC"; then 
2882   ac_cv_prog_CC="$CC" # Let the user override the test. 
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
2888   test -z "$as_dir" && as_dir=. 
2889     for ac_exec_ext in '' $ac_executable_extensions; do 
2890   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2891     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
2892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
2902 if test -n "$CC"; then 
2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
2904 $as_echo "$CC" >&6; } 
2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
2907 $as_echo "no" >&6; } 
2911     test -n "$CC" && break 
2914 if test -z "$CC"; then 
2916   for ac_prog in cl.exe 
2918   # Extract the first word of "$ac_prog", so it can be a program name with args. 
2919 set dummy $ac_prog; ac_word=$2 
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
2921 $as_echo_n "checking for $ac_word... " >&6; } 
2922 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
2923   $as_echo_n "(cached) " >&6 
2925   if test -n "$ac_ct_CC"; then 
2926   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
2932   test -z "$as_dir" && as_dir=. 
2933     for ac_exec_ext in '' $ac_executable_extensions; do 
2934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
2935     ac_cv_prog_ac_ct_CC="$ac_prog" 
2936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
2945 ac_ct_CC=$ac_cv_prog_ac_ct_CC 
2946 if test -n "$ac_ct_CC"; then 
2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
2948 $as_echo "$ac_ct_CC" >&6; } 
2950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
2951 $as_echo "no" >&6; } 
2955   test -n "$ac_ct_CC" && break 
2958   if test "x$ac_ct_CC" = x; then 
2961     case $cross_compiling:$ac_tool_warned in 
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
2964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
2965 ac_tool_warned=yes ;; 
2974 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
2976 as_fn_error "no acceptable C compiler found 
in \
$PATH 
2977 See \
`config.log' for more details." "$LINENO" 5; } 
2979 # Provide some information about the compiler. 
2980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
2983 for ac_option in --version -v -V -qversion; do 
2984   { { ac_try="$ac_compiler $ac_option >&5" 
2986   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
2987   *) ac_try_echo
=$ac_try;; 
2989 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
2990 $as_echo "$ac_try_echo"; } >&5 
2991   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2993   if test -s conftest.err
; then 
2995 ... rest of stderr output deleted ... 
2996          10q' conftest.err 
>conftest.er1
 
2997     cat conftest.er1 
>&5 
2999   rm -f conftest.er1 conftest.err
 
3000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
3001   test $ac_status = 0; } 
3004 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
3005 /* end confdefs.h.  */ 
3015 ac_clean_files_save
=$ac_clean_files 
3016 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
3017 # Try to create an executable without -o first, disregard a.out. 
3018 # It will help us diagnose broken compilers, and finding out an intuition 
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
3021 $as_echo_n "checking whether the C compiler works... " >&6; } 
3022 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
3024 # The possible output files: 
3025 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
3028 for ac_file 
in $ac_files 
3031     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.map 
| *.inf 
| *.dSYM 
| *.o 
| *.obj 
) ;; 
3032     * ) ac_rmfiles
="$ac_rmfiles $ac_file";; 
3037 if { { ac_try
="$ac_link_default" 
3039   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3040   *) ac_try_echo=$ac_try;; 
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
3043 $as_echo "$ac_try_echo"; } >&5 
3044   (eval "$ac_link_default") 2>&5 
3046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
3047   test $ac_status = 0; }; then : 
3048   # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'. 
3049 # So ignore a value of `no', otherwise this would lead to 
`EXEEXT = no' 
3050 # in a Makefile.  We should not override ac_cv_exeext if it was cached, 
3051 # so that the user can short-circuit this test for compilers unknown to 
3053 for ac_file in $ac_files '' 
3055   test -f "$ac_file" || continue 
3057     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
3060         # We found the default executable, but exeext='' is most 
3064         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
3066            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
3068         # We set ac_cv_exeext here because the later test for it is not 
3069         # safe: cross compilers may not add the suffix if given an `-o' 
3070         # argument, so we may need to know it at that point already. 
3071         # Even if this section looks crufty: it has the advantage of 
3078 test "$ac_cv_exeext" = no && ac_cv_exeext= 
3083 if test -z "$ac_file"; then : 
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
3085 $as_echo "no" >&6; } 
3086 $as_echo "$as_me: failed program was:" >&5 
3087 sed 's
/^
/| /' conftest.$ac_ext >&5 
3089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
3090 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;} 
3091 { as_fn_set_status 77 
3092 as_fn_error "C compiler cannot create executables 
3093 See \`config.log
' for more details." "$LINENO" 5; }; } 
3095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
3096 $as_echo "yes" >&6; } 
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
3099 $as_echo_n "checking for C compiler default output file name... " >&6; } 
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
3101 $as_echo "$ac_file" >&6; } 
3102 ac_exeext=$ac_cv_exeext 
3104 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
3105 ac_clean_files=$ac_clean_files_save 
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
3107 $as_echo_n "checking for suffix of executables... " >&6; } 
3108 if { { ac_try="$ac_link" 
3110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
3111   *) ac_try_echo=$ac_try;; 
3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
3114 $as_echo "$ac_try_echo"; } >&5 
3115   (eval "$ac_link") 2>&5 
3117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
3118   test $ac_status = 0; }; then : 
3119   # If both `conftest.exe' and 
`conftest' are `present
' (well, observable) 
3120 # catch `conftest.exe'.  For instance with Cygwin
, `ls conftest' will 
3121 # work properly (i.e., refer to `conftest.exe
'), while it won't with
 
3123 for ac_file 
in conftest.exe conftest conftest.
*; do 
3124   test -f "$ac_file" || continue 
3126     *.
$ac_ext | *.xcoff 
| *.tds 
| *.d 
| *.pdb 
| *.xSYM 
| *.bb 
| *.bbg 
| *.map 
| *.inf 
| *.dSYM 
| *.o 
| *.obj 
) ;; 
3127     *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'` 
3133   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
3135 as_fn_error 
"cannot compute suffix of executables: cannot compile and link 
3136 See \`config.log' for more details." "$LINENO" 5; } 
3138 rm -f conftest conftest
$ac_cv_exeext 
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
3140 $as_echo "$ac_cv_exeext" >&6; } 
3142 rm -f conftest.
$ac_ext 
3143 EXEEXT
=$ac_cv_exeext 
3145 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
3146 /* end confdefs.h.  */ 
3151 FILE *f = fopen ("conftest.out", "w"); 
3152  return ferror (f) || fclose (f) != 0; 
3158 ac_clean_files
="$ac_clean_files conftest.out" 
3159 # Check that the compiler produces executables we can run.  If not, either 
3160 # the compiler is broken, or we cross compile. 
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
3162 $as_echo_n "checking whether we are cross compiling... " >&6; } 
3163 if test "$cross_compiling" != yes; then 
3164   { { ac_try
="$ac_link" 
3166   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3167   *) ac_try_echo=$ac_try;; 
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
3170 $as_echo "$ac_try_echo"; } >&5 
3171   (eval "$ac_link") 2>&5 
3173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
3174   test $ac_status = 0; } 
3175   if { ac_try='./conftest$ac_cv_exeext' 
3176   { { case "(($ac_try" in 
3177   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
3178   *) ac_try_echo
=$ac_try;; 
3180 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
3181 $as_echo "$ac_try_echo"; } >&5 
3182   (eval "$ac_try") 2>&5 
3184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
3185   test $ac_status = 0; }; }; then 
3188     if test "$cross_compiling" = maybe
; then 
3191         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
3193 as_fn_error 
"cannot run C compiled programs. 
3194 If you meant to cross compile, use \`--host'. 
3195 See \`config.log' for more details." "$LINENO" 5; } 
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
3200 $as_echo "$cross_compiling" >&6; } 
3202 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
 
3203 ac_clean_files
=$ac_clean_files_save 
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
3205 $as_echo_n "checking for suffix of object files... " >&6; } 
3206 if test "${ac_cv_objext+set}" = set; then : 
3207   $as_echo_n "(cached) " >&6 
3209   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
3210 /* end confdefs.h.  */ 
3220 rm -f conftest.o conftest.obj
 
3221 if { { ac_try
="$ac_compile" 
3223   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
3224   *) ac_try_echo=$ac_try;; 
3226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
3227 $as_echo "$ac_try_echo"; } >&5 
3228   (eval "$ac_compile") 2>&5 
3230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
3231   test $ac_status = 0; }; then : 
3232   for ac_file in conftest.o conftest.obj conftest.*; do 
3233   test -f "$ac_file" || continue; 
3235     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
3236     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
3241   $as_echo "$as_me: failed program was:" >&5 
3242 sed 's/^/| /' conftest.$ac_ext >&5 
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
3246 as_fn_error "cannot compute suffix of object files
: cannot compile
 
3247 See \
`config.log' for more details." "$LINENO" 5; } 
3249 rm -f conftest.$ac_cv_objext conftest.$ac_ext 
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
3252 $as_echo "$ac_cv_objext" >&6; } 
3253 OBJEXT=$ac_cv_objext 
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
3256 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
3257 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
3258   $as_echo_n "(cached) " >&6 
3260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
3261 /* end confdefs.h.  */ 
3274 if ac_fn_c_try_compile "$LINENO"; then : 
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3280 ac_cv_c_compiler_gnu=$ac_compiler_gnu 
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
3284 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 
3285 if test $ac_compiler_gnu = yes; then 
3290 ac_test_CFLAGS=${CFLAGS+set} 
3291 ac_save_CFLAGS=$CFLAGS 
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
3293 $as_echo_n "checking whether $CC accepts -g... " >&6; } 
3294 if test "${ac_cv_prog_cc_g+set}" = set; then : 
3295   $as_echo_n "(cached) " >&6 
3297   ac_save_c_werror_flag=$ac_c_werror_flag 
3298    ac_c_werror_flag=yes 
3301    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
3302 /* end confdefs.h.  */ 
3312 if ac_fn_c_try_compile "$LINENO"; then : 
3316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
3317 /* end confdefs.h.  */ 
3327 if ac_fn_c_try_compile "$LINENO"; then : 
3330   ac_c_werror_flag=$ac_save_c_werror_flag 
3332          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
3333 /* end confdefs.h.  */ 
3343 if ac_fn_c_try_compile "$LINENO"; then : 
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
3351    ac_c_werror_flag=$ac_save_c_werror_flag 
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
3354 $as_echo "$ac_cv_prog_cc_g" >&6; } 
3355 if test "$ac_test_CFLAGS" = set; then 
3356   CFLAGS=$ac_save_CFLAGS 
3357 elif test $ac_cv_prog_cc_g = yes; then 
3358   if test "$GCC" = yes; then 
3364   if test "$GCC" = yes; then 
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
3371 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
3372 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
3373   $as_echo_n "(cached) " >&6 
3375   ac_cv_prog_cc_c89=no 
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
3378 /* end confdefs.h.  */ 
3381 #include <sys/types.h> 
3382 #include <sys/stat.h> 
3383 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
3384 struct buf { int x; }; 
3385 FILE * (*rcsopen) (struct buf *, struct stat *, int); 
3386 static char *e (p, i) 
3392 static char *f (char * (*g) (char **, int), char **p, ...) 
3397   s = g (p, va_arg (v,int)); 
3402 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has 
3403    function prototypes and stuff, but not '\xHH' hex character constants. 
3404    These don't provoke an error unfortunately, instead are silently treated 
3405    as 'x'.  The following induces an error, until -std is added to get 
3406    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an 
3407    array size at least.  It's necessary to write '\x00'==0 to get something 
3408    that's true only with -std.  */ 
3409 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 
3411 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 
3412    inside strings and character constants.  */ 
3414 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 
3416 int test (int i, double x); 
3417 struct s1 {int (*f) (int a);}; 
3418 struct s2 {int (*f) (double a);}; 
3419 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
3425 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
3430 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 
3431         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
3433   CC="$ac_save_CC $ac_arg" 
3434   if ac_fn_c_try_compile "$LINENO"; then : 
3435   ac_cv_prog_cc_c89=$ac_arg 
3437 rm -f core conftest.err conftest.$ac_objext 
3438   test "x$ac_cv_prog_cc_c89" != "xno" && break 
3440 rm -f conftest.$ac_ext 
3445 case "x$ac_cv_prog_cc_c89" in 
3447     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
3448 $as_echo "none needed" >&6; } ;; 
3450     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
3451 $as_echo "unsupported" >&6; } ;; 
3453     CC="$CC $ac_cv_prog_cc_c89" 
3454     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
3455 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
3457 if test "x$ac_cv_prog_cc_c89" != xno; then : 
3462 ac_cpp='$CPP $CPPFLAGS' 
3463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
3464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
3465 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 
3468 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 
3469 if test "${ac_cv_path_SED+set}" = set; then : 
3470   $as_echo_n "(cached) " >&6 
3472             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 
3473      for ac_i in 1 2 3 4 5 6 7; do 
3474        ac_script="$ac_script$as_nl$ac_script" 
3476      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 
3477      { ac_script=; unset ac_script;} 
3478      if test -z "$SED"; then 
3479   ac_path_SED_found=false 
3480   # Loop through the user's path and test for each of PROGNAME-LIST 
3481   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
3485   test -z "$as_dir" && as_dir=. 
3486     for ac_prog in sed gsed; do 
3487     for ac_exec_ext in '' $ac_executable_extensions; do 
3488       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 
3489       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 
3490 # Check for GNU ac_path_SED and select it if it is found. 
3491   # Check for GNU $ac_path_SED 
3492 case `"$ac_path_SED" --version 2>&1` in 
3494   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 
3497   $as_echo_n 0123456789 >"conftest.in" 
3500     cat "conftest.in" "conftest.in" >"conftest.tmp" 
3501     mv "conftest.tmp" "conftest.in" 
3502     cp "conftest.in" "conftest.nl" 
3503     $as_echo '' >> "conftest.nl" 
3504     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 
3505     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
3506     as_fn_arith $ac_count + 1 && ac_count=$as_val 
3507     if test $ac_count -gt ${ac_path_SED_max-0}; then 
3508       # Best one so far, save it but keep looking for a better one 
3509       ac_cv_path_SED="$ac_path_SED" 
3510       ac_path_SED_max=$ac_count 
3512     # 10*(2^10) chars as input seems more than enough 
3513     test $ac_count -gt 10 && break 
3515   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
3518       $ac_path_SED_found && break 3 
3523   if test -z "$ac_cv_path_SED"; then 
3524     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 
3532 $as_echo "$ac_cv_path_SED" >&6; } 
3533  SED="$ac_cv_path_SED" 
3536 test -z "$SED" && SED=sed 
3537 Xsed="$SED -e 1s/^X//" 
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
3550 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
3551 if test "${ac_cv_path_GREP+set}" = set; then : 
3552   $as_echo_n "(cached) " >&6 
3554   if test -z "$GREP"; then 
3555   ac_path_GREP_found=false 
3556   # Loop through the user's path and test for each of PROGNAME-LIST 
3557   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
3558 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
3561   test -z "$as_dir" && as_dir=. 
3562     for ac_prog in grep ggrep; do 
3563     for ac_exec_ext in '' $ac_executable_extensions; do 
3564       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
3565       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
3566 # Check for GNU ac_path_GREP and select it if it is found. 
3567   # Check for GNU $ac_path_GREP 
3568 case `"$ac_path_GREP" --version 2>&1` in 
3570   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 
3573   $as_echo_n 0123456789 >"conftest.in" 
3576     cat "conftest.in" "conftest.in" >"conftest.tmp" 
3577     mv "conftest.tmp" "conftest.in" 
3578     cp "conftest.in" "conftest.nl" 
3579     $as_echo 'GREP' >> "conftest.nl" 
3580     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
3581     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
3582     as_fn_arith $ac_count + 1 && ac_count=$as_val 
3583     if test $ac_count -gt ${ac_path_GREP_max-0}; then 
3584       # Best one so far, save it but keep looking for a better one 
3585       ac_cv_path_GREP="$ac_path_GREP" 
3586       ac_path_GREP_max=$ac_count 
3588     # 10*(2^10) chars as input seems more than enough 
3589     test $ac_count -gt 10 && break 
3591   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
3594       $ac_path_GREP_found && break 3 
3599   if test -z "$ac_cv_path_GREP"; then 
3600     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
3603   ac_cv_path_GREP=$GREP 
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
3608 $as_echo "$ac_cv_path_GREP" >&6; } 
3609  GREP="$ac_cv_path_GREP" 
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
3613 $as_echo_n "checking for egrep... " >&6; } 
3614 if test "${ac_cv_path_EGREP+set}" = set; then : 
3615   $as_echo_n "(cached) " >&6 
3617   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
3618    then ac_cv_path_EGREP="$GREP -E" 
3620      if test -z "$EGREP"; then 
3621   ac_path_EGREP_found=false 
3622   # Loop through the user's path and test for each of PROGNAME-LIST 
3623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
3624 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
3627   test -z "$as_dir" && as_dir=. 
3628     for ac_prog in egrep; do 
3629     for ac_exec_ext in '' $ac_executable_extensions; do 
3630       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
3631       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
3632 # Check for GNU ac_path_EGREP and select it if it is found. 
3633   # Check for GNU $ac_path_EGREP 
3634 case `"$ac_path_EGREP" --version 2>&1` in 
3636   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 
3639   $as_echo_n 0123456789 >"conftest.in" 
3642     cat "conftest.in" "conftest.in" >"conftest.tmp" 
3643     mv "conftest.tmp" "conftest.in" 
3644     cp "conftest.in" "conftest.nl" 
3645     $as_echo 'EGREP' >> "conftest.nl" 
3646     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
3647     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
3648     as_fn_arith $ac_count + 1 && ac_count=$as_val 
3649     if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
3650       # Best one so far, save it but keep looking for a better one 
3651       ac_cv_path_EGREP="$ac_path_EGREP" 
3652       ac_path_EGREP_max=$ac_count 
3654     # 10*(2^10) chars as input seems more than enough 
3655     test $ac_count -gt 10 && break 
3657   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
3660       $ac_path_EGREP_found && break 3 
3665   if test -z "$ac_cv_path_EGREP"; then 
3666     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
3669   ac_cv_path_EGREP=$EGREP 
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
3675 $as_echo "$ac_cv_path_EGREP" >&6; } 
3676  EGREP="$ac_cv_path_EGREP" 
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 
3680 $as_echo_n "checking for fgrep... " >&6; } 
3681 if test "${ac_cv_path_FGREP+set}" = set; then : 
3682   $as_echo_n "(cached) " >&6 
3684   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 
3685    then ac_cv_path_FGREP="$GREP -F" 
3687      if test -z "$FGREP"; then 
3688   ac_path_FGREP_found=false 
3689   # Loop through the user's path and test for each of PROGNAME-LIST 
3690   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
3691 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
3694   test -z "$as_dir" && as_dir=. 
3695     for ac_prog in fgrep; do 
3696     for ac_exec_ext in '' $ac_executable_extensions; do 
3697       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 
3698       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 
3699 # Check for GNU ac_path_FGREP and select it if it is found. 
3700   # Check for GNU $ac_path_FGREP 
3701 case `"$ac_path_FGREP" --version 2>&1` in 
3703   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 
3706   $as_echo_n 0123456789 >"conftest.in" 
3709     cat "conftest.in" "conftest.in" >"conftest.tmp" 
3710     mv "conftest.tmp" "conftest.in" 
3711     cp "conftest.in" "conftest.nl" 
3712     $as_echo 'FGREP' >> "conftest.nl" 
3713     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 
3714     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
3715     as_fn_arith $ac_count + 1 && ac_count=$as_val 
3716     if test $ac_count -gt ${ac_path_FGREP_max-0}; then 
3717       # Best one so far, save it but keep looking for a better one 
3718       ac_cv_path_FGREP="$ac_path_FGREP" 
3719       ac_path_FGREP_max=$ac_count 
3721     # 10*(2^10) chars as input seems more than enough 
3722     test $ac_count -gt 10 && break 
3724   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 
3727       $ac_path_FGREP_found && break 3 
3732   if test -z "$ac_cv_path_FGREP"; then 
3733     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
3736   ac_cv_path_FGREP=$FGREP 
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 
3742 $as_echo "$ac_cv_path_FGREP" >&6; } 
3743  FGREP="$ac_cv_path_FGREP" 
3746 test -z "$GREP" && GREP=grep 
3766 # Check whether --with-gnu-ld was given. 
3767 if test "${with_gnu_ld+set}" = set; then : 
3768   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 
3774 if test "$GCC" = yes; then 
3775   # Check if gcc -print-prog-name=ld gives a path. 
3776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 
3777 $as_echo_n "checking for ld used by $CC... " >&6; } 
3780     # gcc leaves a trailing carriage return which upsets mingw 
3781     ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;; 
3783     ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;; 
3786     # Accept absolute paths. 
3788       re_direlt='/[^/][^/]*/\.\./' 
3789       # Canonicalize the pathname of ld 
3790       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 
3791       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 
3792         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 
3794       test -z "$LD" && LD="$ac_prog" 
3797     # If it fails, then pretend we aren't using GCC. 
3801     # If it is relative, then search for the first ld in PATH. 
3805 elif test "$with_gnu_ld" = yes; then 
3806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 
3807 $as_echo_n "checking for GNU ld... " >&6; } 
3809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 
3810 $as_echo_n "checking for non-GNU ld... " >&6; } 
3812 if test "${lt_cv_path_LD+set}" = set; then : 
3813   $as_echo_n "(cached) " >&6 
3815   if test -z "$LD"; then 
3816   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
3817   for ac_dir in $PATH; do 
3819     test -z "$ac_dir" && ac_dir=. 
3820     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
3821       lt_cv_path_LD="$ac_dir/$ac_prog" 
3822       # Check to see if the program is GNU ld.  I'd rather use --version, 
3823       # but apparently some variants of GNU ld only accept -v. 
3824       # Break only if it was the GNU/non-GNU ld that we prefer. 
3825       case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in 
3826       *GNU* | *'with BFD'*) 
3827         test "$with_gnu_ld" != no && break 
3830         test "$with_gnu_ld" != yes && break 
3837   lt_cv_path_LD="$LD" # Let the user override the test with a path. 
3842 if test -n "$LD"; then 
3843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 
3844 $as_echo "$LD" >&6; } 
3846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
3847 $as_echo "no" >&6; } 
3849 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 
3851 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 
3852 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 
3853   $as_echo_n "(cached) " >&6 
3855   # I'd rather use --version here, but apparently some GNU lds only accept -v. 
3856 case `$LD -v 2>&1 </dev
/null
` in 
3857 *GNU* | *'with BFD'*) 
3858   lt_cv_prog_gnu_ld=yes 
3861   lt_cv_prog_gnu_ld=no 
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 
3866 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 
3867 with_gnu_ld=$lt_cv_prog_gnu_ld 
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 
3878 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 
3879 if test "${lt_cv_path_NM+set}" = set; then : 
3880   $as_echo_n "(cached) " >&6 
3882   if test -n "$NM"; then 
3883   # Let the user override the test. 
3886   lt_nm_to_check="${ac_tool_prefix}nm" 
3887   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
3888     lt_nm_to_check="$lt_nm_to_check nm" 
3890   for lt_tmp_nm in $lt_nm_to_check; do 
3891     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
3892     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 
3894       test -z "$ac_dir" && ac_dir=. 
3895       tmp_nm="$ac_dir/$lt_tmp_nm" 
3896       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
3897         # Check to see if the nm accepts a BSD-compat flag. 
3898         # Adding the `sed 1q
' prevents false positives on HP-UX, which says: 
3899         #   nm: unknown option "B" ignored 
3900         # Tru64's nm complains that 
/dev
/null is an invalid object 
file 
3901         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
3902         */dev
/null
* | *'Invalid file or object type'*) 
3903           lt_cv_path_NM
="$tmp_nm -B" 
3907           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
3909             lt_cv_path_NM
="$tmp_nm -p" 
3913             lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
3914             continue # so that we can try to find one that supports BSD flags 
3923   : ${lt_cv_path_NM=no} 
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 
3927 $as_echo "$lt_cv_path_NM" >&6; } 
3928 if test "$lt_cv_path_NM" != "no"; then 
3931   # Didn't find any BSD compatible name lister, look for dumpbin. 
3932   if test -n "$ac_tool_prefix"; then 
3933   for ac_prog 
in "dumpbin -symbols" "link -dump -symbols" 
3935     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
3936 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
3938 $as_echo_n "checking for $ac_word... " >&6; } 
3939 if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 
3940   $as_echo_n "(cached) " >&6 
3942   if test -n "$DUMPBIN"; then 
3943   ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test. 
3945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
3949   test -z "$as_dir" && as_dir
=.
 
3950     for ac_exec_ext 
in '' $ac_executable_extensions; do 
3951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
3952     ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog" 
3953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
3962 DUMPBIN
=$ac_cv_prog_DUMPBIN 
3963 if test -n "$DUMPBIN"; then 
3964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 
3965 $as_echo "$DUMPBIN" >&6; } 
3967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
3968 $as_echo "no" >&6; } 
3972     test -n "$DUMPBIN" && break 
3975 if test -z "$DUMPBIN"; then 
3976   ac_ct_DUMPBIN
=$DUMPBIN 
3977   for ac_prog 
in "dumpbin -symbols" "link -dump -symbols" 
3979   # Extract the first word of "$ac_prog", so it can be a program name with args. 
3980 set dummy 
$ac_prog; ac_word
=$2 
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
3982 $as_echo_n "checking for $ac_word... " >&6; } 
3983 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 
3984   $as_echo_n "(cached) " >&6 
3986   if test -n "$ac_ct_DUMPBIN"; then 
3987   ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test. 
3989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
3993   test -z "$as_dir" && as_dir
=.
 
3994     for ac_exec_ext 
in '' $ac_executable_extensions; do 
3995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
3996     ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog" 
3997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4006 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN 
4007 if test -n "$ac_ct_DUMPBIN"; then 
4008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 
4009 $as_echo "$ac_ct_DUMPBIN" >&6; } 
4011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4012 $as_echo "no" >&6; } 
4016   test -n "$ac_ct_DUMPBIN" && break 
4019   if test "x$ac_ct_DUMPBIN" = x
; then 
4022     case $cross_compiling:$ac_tool_warned in 
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
4026 ac_tool_warned
=yes ;; 
4028     DUMPBIN
=$ac_ct_DUMPBIN 
4033   if test "$DUMPBIN" != ":"; then 
4037 test -z "$NM" && NM
=nm
 
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 
4045 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 
4046 if test "${lt_cv_nm_interface+set}" = set; then : 
4047   $as_echo_n "(cached) " >&6 
4049   lt_cv_nm_interface
="BSD nm" 
4050   echo "int some_variable = 0;" > conftest.
$ac_ext 
4051   (eval echo "\"\$as_me:4051: $ac_compile\"" >&5) 
4052   (eval "$ac_compile" 2>conftest.err
) 
4053   cat conftest.err 
>&5 
4054   (eval echo "\"\$as_me:4054: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 
4055   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err 
> conftest.out
) 
4056   cat conftest.err 
>&5 
4057   (eval echo "\"\$as_me:4057: output\"" >&5) 
4058   cat conftest.out 
>&5 
4059   if $GREP 'External.*some_variable' conftest.out 
> /dev
/null
; then 
4060     lt_cv_nm_interface
="MS dumpbin" 
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 
4065 $as_echo "$lt_cv_nm_interface" >&6; } 
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 
4068 $as_echo_n "checking whether ln -s works... " >&6; } 
4070 if test "$LN_S" = "ln -s"; then 
4071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
4072 $as_echo "yes" >&6; } 
4074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 
4075 $as_echo "no, using $LN_S" >&6; } 
4078 # find the maximum length of command line arguments 
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 
4080 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 
4081 if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 
4082   $as_echo_n "(cached) " >&6 
4089     # On DJGPP, this test can blow up pretty badly due to problems in libc 
4090     # (any single argument exceeding 2000 bytes causes a buffer overrun 
4091     # during glob expansion).  Even if it were fixed, the result of this 
4092     # check would be larger than it should be. 
4093     lt_cv_sys_max_cmd_len
=12288;    # 12K is about right 
4097     # Under GNU Hurd, this test is not required because there is 
4098     # no limit to the length of command line arguments. 
4099     # Libtool will interpret -1 as no limit whatsoever 
4100     lt_cv_sys_max_cmd_len
=-1; 
4103   cygwin
* | mingw
* | cegcc
*) 
4104     # On Win9x/ME, this test blows up -- it succeeds, but takes 
4105     # about 5 minutes as the teststring grows exponentially. 
4106     # Worse, since 9x/ME are not pre-emptively multitasking, 
4107     # you end up with a "frozen" computer, even though with patience 
4108     # the test eventually succeeds (with a max line length of 256k). 
4109     # Instead, let's just punt: use the minimum linelength reported by 
4110     # all of the supported platforms: 8192 (on NT/2K/XP). 
4111     lt_cv_sys_max_cmd_len
=8192; 
4115     # On AmigaOS with pdksh, this test takes hours, literally. 
4116     # So we just punt and use a minimum line length of 8192. 
4117     lt_cv_sys_max_cmd_len
=8192; 
4120   netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*) 
4121     # This has been around since 386BSD, at least.  Likely further. 
4122     if test -x /sbin
/sysctl
; then 
4123       lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax` 
4124     elif test -x /usr
/sbin
/sysctl
; then 
4125       lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax` 
4127       lt_cv_sys_max_cmd_len
=65536       # usable default for all BSDs 
4129     # And add a safety zone 
4130     lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4` 
4131     lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3` 
4135     # We know the value 262144 and hardcode it with a safety zone (like BSD) 
4136     lt_cv_sys_max_cmd_len
=196608 
4140     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
4141     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 
4142     # nice to cause kernel panics so lets avoid the loop below. 
4143     # First set a reasonable default. 
4144     lt_cv_sys_max_cmd_len
=16384 
4146     if test -x /sbin
/sysconfig
; then 
4147       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
4148         *1*) lt_cv_sys_max_cmd_len
=-1 ;; 
4153     lt_cv_sys_max_cmd_len
=102400 
4155   sysv5
* | sco5v6
* | sysv4.2uw2
*) 
4156     kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
4157     if test -n "$kargmax"; then 
4158       lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[  ]//'` 
4160       lt_cv_sys_max_cmd_len
=32768 
4164     lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null` 
4165     if test -n "$lt_cv_sys_max_cmd_len"; then 
4166       lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4` 
4167       lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3` 
4169       # Make teststring a little bigger before we do anything with it. 
4170       # a 1K string should be a reasonable start. 
4171       for i 
in 1 2 3 4 5 6 7 8 ; do 
4172         teststring
=$teststring$teststring 
4174       SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}} 
4175       # If test is not a shell built-in, we'll probably end up computing a 
4176       # maximum length that is only half of the actual maximum length, but 
4178       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4179                  = "XX$teststring$teststring"; } >/dev
/null 
2>&1 && 
4180               test $i != 17 # 1/2 MB should be enough 
4183         teststring
=$teststring$teststring 
4185       # Only check the string length outside the loop. 
4186       lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1` 
4188       # Add a significant safety factor because C++ compilers can tack on 
4189       # massive amounts of additional arguments before passing them to the 
4190       # linker.  It appears as though 1/2 is a usable value. 
4191       lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2` 
4198 if test -n $lt_cv_sys_max_cmd_len ; then 
4199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 
4200 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 
4202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 
4203 $as_echo "none" >&6; } 
4205 max_cmd_len
=$lt_cv_sys_max_cmd_len 
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 
4217 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 
4218 # Try some XSI features 
4221   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4223     && eval 'test $(( 1 + 1 )) -eq 2 \ 
4224     && test "${#_lt_dummy}" -eq 5' ) >/dev
/null 
2>&1 \
 
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 
4227 $as_echo "$xsi_shell" >&6; } 
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 
4231 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 
4233 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz 
) \
 
4235   && lt_shell_append
=yes 
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 
4237 $as_echo "$lt_shell_append" >&6; } 
4240 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null 
2>&1; then 
4250 # test EBCDIC or ASCII 
4251 case `echo X|tr X '\101'` in 
4252  A
) # ASCII based system 
4253     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 
4254   lt_SP2NL
='tr \040 \012' 
4255   lt_NL2SP
='tr \015\012 \040\040' 
4257  *) # EBCDIC based system 
4258   lt_SP2NL
='tr \100 \n' 
4259   lt_NL2SP
='tr \r\n \100\100' 
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 
4272 $as_echo_n "checking for $LD option to reload object files... " >&6; } 
4273 if test "${lt_cv_ld_reload_flag+set}" = set; then : 
4274   $as_echo_n "(cached) " >&6 
4276   lt_cv_ld_reload_flag
='-r' 
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 
4279 $as_echo "$lt_cv_ld_reload_flag" >&6; } 
4280 reload_flag
=$lt_cv_ld_reload_flag 
4281 case $reload_flag in 
4283 *) reload_flag
=" $reload_flag" ;; 
4285 reload_cmds
='$LD$reload_flag -o $output$reload_objs' 
4288     if test "$GCC" = yes; then 
4289       reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 
4291       reload_cmds
='$LD$reload_flag -o $output$reload_objs' 
4304 if test -n "$ac_tool_prefix"; then 
4305   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 
4306 set dummy 
${ac_tool_prefix}objdump
; ac_word
=$2 
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4308 $as_echo_n "checking for $ac_word... " >&6; } 
4309 if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 
4310   $as_echo_n "(cached) " >&6 
4312   if test -n "$OBJDUMP"; then 
4313   ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test. 
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4319   test -z "$as_dir" && as_dir
=.
 
4320     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4322     ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump" 
4323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4332 OBJDUMP
=$ac_cv_prog_OBJDUMP 
4333 if test -n "$OBJDUMP"; then 
4334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 
4335 $as_echo "$OBJDUMP" >&6; } 
4337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4338 $as_echo "no" >&6; } 
4343 if test -z "$ac_cv_prog_OBJDUMP"; then 
4344   ac_ct_OBJDUMP
=$OBJDUMP 
4345   # Extract the first word of "objdump", so it can be a program name with args. 
4346 set dummy objdump
; ac_word
=$2 
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4348 $as_echo_n "checking for $ac_word... " >&6; } 
4349 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 
4350   $as_echo_n "(cached) " >&6 
4352   if test -n "$ac_ct_OBJDUMP"; then 
4353   ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test. 
4355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4359   test -z "$as_dir" && as_dir
=.
 
4360     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4362     ac_cv_prog_ac_ct_OBJDUMP
="objdump" 
4363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4372 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP 
4373 if test -n "$ac_ct_OBJDUMP"; then 
4374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 
4375 $as_echo "$ac_ct_OBJDUMP" >&6; } 
4377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4378 $as_echo "no" >&6; } 
4381   if test "x$ac_ct_OBJDUMP" = x
; then 
4384     case $cross_compiling:$ac_tool_warned in 
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
4387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
4388 ac_tool_warned
=yes ;; 
4390     OBJDUMP
=$ac_ct_OBJDUMP 
4393   OBJDUMP
="$ac_cv_prog_OBJDUMP" 
4396 test -z "$OBJDUMP" && OBJDUMP
=objdump
 
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 
4407 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 
4408 if test "${lt_cv_deplibs_check_method+set}" = set; then : 
4409   $as_echo_n "(cached) " >&6 
4411   lt_cv_file_magic_cmd
='$MAGIC_CMD' 
4412 lt_cv_file_magic_test_file
= 
4413 lt_cv_deplibs_check_method
='unknown' 
4414 # Need to set the preceding variable on all platforms that support 
4415 # interlibrary dependencies. 
4416 # 'none' -- dependencies not supported. 
4417 # `unknown' -- same as none, but documents that we really don't know. 
4418 # 'pass_all' -- all dependencies passed with no checks. 
4419 # 'test_compile' -- check by making test program. 
4420 # 'file_magic [[regex]]' -- check by looking for files in library path 
4421 # which responds to the $file_magic_cmd with a given extended regex. 
4422 # If you have `file' or equivalent on your system and you're not sure 
4423 # whether `pass_all' will *always* work, you probably want this one. 
4427   lt_cv_deplibs_check_method
=pass_all
 
4431   lt_cv_deplibs_check_method
=pass_all
 
4435   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 
4436   lt_cv_file_magic_cmd
='/usr/bin/file -L' 
4437   lt_cv_file_magic_test_file
=/shlib
/libc.so
 
4441   # func_win32_libid is a shell function defined in ltmain.sh 
4442   lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL' 
4443   lt_cv_file_magic_cmd
='func_win32_libid' 
4447   # Base MSYS/MinGW do not provide the 'file' command needed by 
4448   # func_win32_libid shell function, so use a weaker test based on 'objdump', 
4449   # unless we find 'file', for example because we are cross-compiling. 
4450   if ( file / ) >/dev
/null 
2>&1; then 
4451     lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL' 
4452     lt_cv_file_magic_cmd
='func_win32_libid' 
4454     lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?' 
4455     lt_cv_file_magic_cmd
='$OBJDUMP -f' 
4460   # use the weaker test based on 'objdump'. See mingw*. 
4461   lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?' 
4462   lt_cv_file_magic_cmd
='$OBJDUMP -f' 
4465 darwin
* | rhapsody
*) 
4466   lt_cv_deplibs_check_method
=pass_all
 
4469 freebsd
* | dragonfly
*) 
4470   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
> /dev
/null
; then 
4473       # Not sure whether the presence of OpenBSD here was a mistake. 
4474       # Let's accept both of them until this is cleared up. 
4475       lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 
4476       lt_cv_file_magic_cmd
=/usr
/bin
/file 
4477       lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*` 
4481     lt_cv_deplibs_check_method
=pass_all
 
4486   lt_cv_deplibs_check_method
=pass_all
 
4489 hpux10.20
* | hpux11
*) 
4490   lt_cv_file_magic_cmd
=/usr
/bin
/file 
4493     lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 
4494     lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
 
4497     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]' 
4498     lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
 
4501     lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 
4502     lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
 
4508   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
4509   lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$' 
4512 irix5
* | irix6
* | nonstopux
*) 
4514   *-32|*"-32 ") libmagic
=32-bit;; 
4515   *-n32|*"-n32 ") libmagic
=N32
;; 
4516   *-64|*"-64 ") libmagic
=64-bit;; 
4517   *) libmagic
=never
-match;; 
4519   lt_cv_deplibs_check_method
=pass_all
 
4522 # This must be Linux ELF. 
4523 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu) 
4524   lt_cv_deplibs_check_method
=pass_all
 
4527 netbsd
* | netbsdelf
*-gnu) 
4528   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
> /dev
/null
; then 
4529     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 
4531     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$' 
4536   lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 
4537   lt_cv_file_magic_cmd
=/usr
/bin
/file 
4538   lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
 
4542   lt_cv_deplibs_check_method
=pass_all
 
4546   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
4547     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 
4549     lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 
4553 osf3
* | osf4
* | osf5
*) 
4554   lt_cv_deplibs_check_method
=pass_all
 
4558   lt_cv_deplibs_check_method
=pass_all
 
4562   lt_cv_deplibs_check_method
=pass_all
 
4565 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*) 
4566   lt_cv_deplibs_check_method
=pass_all
 
4570   case $host_vendor in 
4572     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]' 
4573     lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*` 
4576     lt_cv_deplibs_check_method
=pass_all
 
4579     lt_cv_file_magic_cmd
='/bin/file' 
4580     lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 
4583     lt_cv_file_magic_cmd
='/bin/file' 
4584     lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 
4585     lt_cv_file_magic_test_file
=/lib
/libc.so
 
4588     lt_cv_deplibs_check_method
=pass_all
 
4591     lt_cv_deplibs_check_method
=pass_all
 
4597   lt_cv_deplibs_check_method
=pass_all
 
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 
4603 $as_echo "$lt_cv_deplibs_check_method" >&6; } 
4604 file_magic_cmd
=$lt_cv_file_magic_cmd 
4605 deplibs_check_method
=$lt_cv_deplibs_check_method 
4606 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
 
4619 if test -n "$ac_tool_prefix"; then 
4620   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 
4621 set dummy 
${ac_tool_prefix}ar; ac_word
=$2 
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4623 $as_echo_n "checking for $ac_word... " >&6; } 
4624 if test "${ac_cv_prog_AR+set}" = set; then : 
4625   $as_echo_n "(cached) " >&6 
4627   if test -n "$AR"; then 
4628   ac_cv_prog_AR
="$AR" # Let the user override the test. 
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4634   test -z "$as_dir" && as_dir
=.
 
4635     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4637     ac_cv_prog_AR
="${ac_tool_prefix}ar" 
4638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4648 if test -n "$AR"; then 
4649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 
4650 $as_echo "$AR" >&6; } 
4652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4653 $as_echo "no" >&6; } 
4658 if test -z "$ac_cv_prog_AR"; then 
4660   # Extract the first word of "ar", so it can be a program name with args. 
4661 set dummy 
ar; ac_word
=$2 
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4663 $as_echo_n "checking for $ac_word... " >&6; } 
4664 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 
4665   $as_echo_n "(cached) " >&6 
4667   if test -n "$ac_ct_AR"; then 
4668   ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test. 
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4674   test -z "$as_dir" && as_dir
=.
 
4675     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4677     ac_cv_prog_ac_ct_AR
="ar" 
4678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4687 ac_ct_AR
=$ac_cv_prog_ac_ct_AR 
4688 if test -n "$ac_ct_AR"; then 
4689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 
4690 $as_echo "$ac_ct_AR" >&6; } 
4692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4693 $as_echo "no" >&6; } 
4696   if test "x$ac_ct_AR" = x
; then 
4699     case $cross_compiling:$ac_tool_warned in 
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
4702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
4703 ac_tool_warned
=yes ;; 
4711 test -z "$AR" && AR
=ar 
4712 test -z "$AR_FLAGS" && AR_FLAGS
=cru
 
4724 if test -n "$ac_tool_prefix"; then 
4725   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 
4726 set dummy 
${ac_tool_prefix}strip
; ac_word
=$2 
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4728 $as_echo_n "checking for $ac_word... " >&6; } 
4729 if test "${ac_cv_prog_STRIP+set}" = set; then : 
4730   $as_echo_n "(cached) " >&6 
4732   if test -n "$STRIP"; then 
4733   ac_cv_prog_STRIP
="$STRIP" # Let the user override the test. 
4735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4739   test -z "$as_dir" && as_dir
=.
 
4740     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4742     ac_cv_prog_STRIP
="${ac_tool_prefix}strip" 
4743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4752 STRIP
=$ac_cv_prog_STRIP 
4753 if test -n "$STRIP"; then 
4754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 
4755 $as_echo "$STRIP" >&6; } 
4757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4758 $as_echo "no" >&6; } 
4763 if test -z "$ac_cv_prog_STRIP"; then 
4765   # Extract the first word of "strip", so it can be a program name with args. 
4766 set dummy strip
; ac_word
=$2 
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4768 $as_echo_n "checking for $ac_word... " >&6; } 
4769 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 
4770   $as_echo_n "(cached) " >&6 
4772   if test -n "$ac_ct_STRIP"; then 
4773   ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test. 
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4779   test -z "$as_dir" && as_dir
=.
 
4780     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4782     ac_cv_prog_ac_ct_STRIP
="strip" 
4783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4792 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP 
4793 if test -n "$ac_ct_STRIP"; then 
4794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 
4795 $as_echo "$ac_ct_STRIP" >&6; } 
4797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4798 $as_echo "no" >&6; } 
4801   if test "x$ac_ct_STRIP" = x
; then 
4804     case $cross_compiling:$ac_tool_warned in 
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
4807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
4808 ac_tool_warned
=yes ;; 
4813   STRIP
="$ac_cv_prog_STRIP" 
4816 test -z "$STRIP" && STRIP
=: 
4823 if test -n "$ac_tool_prefix"; then 
4824   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 
4825 set dummy 
${ac_tool_prefix}ranlib
; ac_word
=$2 
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4827 $as_echo_n "checking for $ac_word... " >&6; } 
4828 if test "${ac_cv_prog_RANLIB+set}" = set; then : 
4829   $as_echo_n "(cached) " >&6 
4831   if test -n "$RANLIB"; then 
4832   ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test. 
4834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4838   test -z "$as_dir" && as_dir
=.
 
4839     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4841     ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib" 
4842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4851 RANLIB
=$ac_cv_prog_RANLIB 
4852 if test -n "$RANLIB"; then 
4853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 
4854 $as_echo "$RANLIB" >&6; } 
4856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4857 $as_echo "no" >&6; } 
4862 if test -z "$ac_cv_prog_RANLIB"; then 
4863   ac_ct_RANLIB
=$RANLIB 
4864   # Extract the first word of "ranlib", so it can be a program name with args. 
4865 set dummy ranlib
; ac_word
=$2 
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
4867 $as_echo_n "checking for $ac_word... " >&6; } 
4868 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 
4869   $as_echo_n "(cached) " >&6 
4871   if test -n "$ac_ct_RANLIB"; then 
4872   ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test. 
4874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
4878   test -z "$as_dir" && as_dir
=.
 
4879     for ac_exec_ext 
in '' $ac_executable_extensions; do 
4880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
4881     ac_cv_prog_ac_ct_RANLIB
="ranlib" 
4882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
4891 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB 
4892 if test -n "$ac_ct_RANLIB"; then 
4893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 
4894 $as_echo "$ac_ct_RANLIB" >&6; } 
4896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
4897 $as_echo "no" >&6; } 
4900   if test "x$ac_ct_RANLIB" = x
; then 
4903     case $cross_compiling:$ac_tool_warned in 
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
4906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
4907 ac_tool_warned
=yes ;; 
4909     RANLIB
=$ac_ct_RANLIB 
4912   RANLIB
="$ac_cv_prog_RANLIB" 
4915 test -z "$RANLIB" && RANLIB
=: 
4922 # Determine commands to create old-style static archives. 
4923 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs' 
4924 old_postinstall_cmds
='chmod 644 $oldlib' 
4925 old_postuninstall_cmds
= 
4927 if test -n "$RANLIB"; then 
4930     old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
4933     old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib" 
4936   old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib" 
4972 # If no C compiler was specified, use CC. 
4975 # If no C compiler flags were specified, use CFLAGS. 
4976 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"} 
4978 # Allow CC to be a program name with arguments. 
4982 # Check for command to grab the raw symbol name followed by C symbol from nm. 
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 
4984 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 
4985 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 
4986   $as_echo_n "(cached) " >&6 
4989 # These are sane defaults that work on at least a few old systems. 
4990 # [They come from Ultrix.  What could be older than Ultrix?!! ;)] 
4992 # Character class describing NM global symbol codes. 
4993 symcode
='[BCDEGRST]' 
4995 # Regexp to match symbols that can be accessed directly from C. 
4996 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)' 
4998 # Define system-specific variables. 
5003 cygwin
* | mingw
* | pw32
* | cegcc
*) 
5004   symcode
='[ABCDGISTW]' 
5007   if test "$host_cpu" = ia64
; then 
5008     symcode
='[ABCDEGRST]' 
5012   symcode
='[BCDEGRST]' 
5015   symcode
='[BCDEGQRST]' 
5026 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*) 
5034 # If we're using GNU nm, then use its standard symbol codes. 
5035 case `$NM -V 2>&1` in 
5036 *GNU
* | *'with BFD'*) 
5037   symcode
='[ABCDGIRSTW]' ;; 
5040 # Transform an extracted symbol line into a proper C declaration. 
5041 # Some systems (esp. on ia64) link data and code symbols differently, 
5042 # so use this general approach. 
5043 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 
5045 # Transform an extracted symbol line into symbol name and symbol address 
5046 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'" 
5047 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'" 
5049 # Handle CRLF in mingw tool chain 
5053   opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 
5057 # Try without a prefix underscore, then with it. 
5058 for ac_symprfx 
in "" "_"; do 
5060   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 
5061   symxfrm
="\\1 $ac_symprfx\\2 \\2" 
5063   # Write the raw and C identifiers. 
5064   if test "$lt_cv_nm_interface" = "MS dumpbin"; then 
5065     # Fake it for dumpbin and say T for any non-static function 
5066     # and D for any global variable. 
5067     # Also find C++ and __fastcall symbols from MSVC++, 
5068     # which start with @ or ?. 
5069     lt_cv_sys_global_symbol_pipe
="$AWK '"\
 
5070 "     {last_section=section; section=\$ 3};"\
 
5071 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5072 "     \$ 0!~/External *\|/{next};"\
 
5073 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5074 "     {if(hide[section]) next};"\
 
5075 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5076 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5077 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5078 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5079 "     ' prfx=^$ac_symprfx" 
5081     lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 
5084   # Check to see that the pipe works correctly. 
5088   cat > conftest.
$ac_ext <<_LT_EOF 
5093 void nm_test_func(void); 
5094 void nm_test_func(void){} 
5098 int main(){nm_test_var='a';nm_test_func();return(0);} 
5101   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
5102   (eval $ac_compile) 2>&5 
5104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
5105   test $ac_status = 0; }; then 
5106     # Now try to grab the symbols. 
5108     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 
5109   (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5 
5111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
5112   test $ac_status = 0; } && test -s "$nlist"; then 
5113       # Try sorting and uniquifying the output. 
5114       if sort "$nlist" | uniq > "$nlist"T
; then 
5115         mv -f "$nlist"T 
"$nlist" 
5120       # Make sure that we snagged all the symbols we need. 
5121       if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then 
5122         if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then 
5123           cat <<_LT_EOF > conftest.$ac_ext 
5129           # Now generate the symbol file. 
5130           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 
5132           cat <<_LT_EOF >> conftest.$ac_ext 
5134 /* The mapping between symbol names and symbols.  */ 
5139 lt__PROGRAM__LTX_preloaded_symbols[] = 
5141   { "@PROGRAM@", (void *) 0 }, 
5143           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main 
>> conftest.
$ac_ext 
5144           cat <<\_LT_EOF 
>> conftest.
$ac_ext 
5148 /* This works around a problem 
in FreeBSD linker 
*/ 
5149 #ifdef FREEBSD_WORKAROUND 
5150 static const void 
*lt_preloaded_setup
() { 
5151   return lt__PROGRAM__LTX_preloaded_symbols
; 
5159           # Now try linking the two files. 
5160           mv conftest.
$ac_objext conftstm.
$ac_objext 
5161           lt_save_LIBS
="$LIBS" 
5162           lt_save_CFLAGS
="$CFLAGS" 
5163           LIBS
="conftstm.$ac_objext" 
5164           CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag" 
5165           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 
5166   (eval $ac_link) 2>&5 
5168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
5169   test $ac_status = 0; } && test -s conftest
${ac_exeext}; then 
5172           LIBS
="$lt_save_LIBS" 
5173           CFLAGS
="$lt_save_CFLAGS" 
5175           echo "cannot find nm_test_func in $nlist" >&5 
5178         echo "cannot find nm_test_var in $nlist" >&5 
5181       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 
5184     echo "$progname: failed program was:" >&5 
5185     cat conftest.
$ac_ext >&5 
5187   rm -rf conftest
* conftst
* 
5189   # Do not use the global_symbol_pipe unless it works. 
5190   if test "$pipe_works" = yes; then 
5193     lt_cv_sys_global_symbol_pipe
= 
5199 if test -z "$lt_cv_sys_global_symbol_pipe"; then 
5200   lt_cv_sys_global_symbol_to_cdecl
= 
5202 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 
5203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 
5204 $as_echo "failed" >&6; } 
5206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
5207 $as_echo "ok" >&6; } 
5232 # Check whether --enable-libtool-lock was given. 
5233 if test "${enable_libtool_lock+set}" = set; then : 
5234   enableval
=$enable_libtool_lock; 
5237 test "x$enable_libtool_lock" != xno 
&& enable_libtool_lock
=yes 
5239 # Some flags need to be propagated to the compiler or linker for good 
5243   # Find out which ABI we are using. 
5244   echo 'int i;' > conftest.
$ac_ext 
5245   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
5246   (eval $ac_compile) 2>&5 
5248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
5249   test $ac_status = 0; }; then 
5250     case `/usr/bin/file conftest.$ac_objext` in 
5262   # Find out which ABI we are using. 
5263   echo '#line 5263 "configure"' > conftest.
$ac_ext 
5264   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
5265   (eval $ac_compile) 2>&5 
5267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
5268   test $ac_status = 0; }; then 
5269     if test "$lt_cv_prog_gnu_ld" = yes; then 
5270       case `/usr/bin/file conftest.$ac_objext` in 
5272           LD
="${LD-ld} -melf32bsmip" 
5275           LD
="${LD-ld} -melf32bmipn32" 
5278           LD
="${LD-ld} -melf64bmip" 
5282       case `/usr/bin/file conftest.$ac_objext` in 
5298 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
 
5299 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*) 
5300   # Find out which ABI we are using. 
5301   echo 'int i;' > conftest.
$ac_ext 
5302   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
5303   (eval $ac_compile) 2>&5 
5305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
5306   test $ac_status = 0; }; then 
5307     case `/usr/bin/file conftest.o` in 
5310           x86_64
-*kfreebsd
*-gnu) 
5311             LD
="${LD-ld} -m elf_i386_fbsd" 
5314             LD
="${LD-ld} -m elf_i386" 
5316           ppc64
-*linux
*|powerpc64
-*linux
*) 
5317             LD
="${LD-ld} -m elf32ppclinux" 
5320             LD
="${LD-ld} -m elf_s390" 
5323             LD
="${LD-ld} -m elf32_sparc" 
5329           x86_64
-*kfreebsd
*-gnu) 
5330             LD
="${LD-ld} -m elf_x86_64_fbsd" 
5333             LD
="${LD-ld} -m elf_x86_64" 
5335           ppc
*-*linux
*|powerpc
*-*linux
*) 
5336             LD
="${LD-ld} -m elf64ppc" 
5338           s390
*-*linux
*|s390
*-*tpf
*) 
5339             LD
="${LD-ld} -m elf64_s390" 
5342             LD
="${LD-ld} -m elf64_sparc" 
5352   # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
5353   SAVE_CFLAGS
="$CFLAGS" 
5354   CFLAGS
="$CFLAGS -belf" 
5355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 
5356 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 
5357 if test "${lt_cv_cc_needs_belf+set}" = set; then : 
5358   $as_echo_n "(cached) " >&6 
5361 ac_cpp
='$CPP $CPPFLAGS' 
5362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
5363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
5364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
5366      cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
5367 /* end confdefs.h.  */ 
5377 if ac_fn_c_try_link 
"$LINENO"; then : 
5378   lt_cv_cc_needs_belf
=yes 
5380   lt_cv_cc_needs_belf
=no
 
5382 rm -f core conftest.err conftest.
$ac_objext \
 
5383     conftest
$ac_exeext conftest.
$ac_ext 
5385 ac_cpp
='$CPP $CPPFLAGS' 
5386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
5387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
5388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 
5392 $as_echo "$lt_cv_cc_needs_belf" >&6; } 
5393   if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then 
5394     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
5395     CFLAGS
="$SAVE_CFLAGS" 
5399   # Find out which ABI we are using. 
5400   echo 'int i;' > conftest.
$ac_ext 
5401   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
5402   (eval $ac_compile) 2>&5 
5404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
5405   test $ac_status = 0; }; then 
5406     case `/usr/bin/file conftest.o` in 
5408       case $lt_cv_prog_gnu_ld in 
5409       yes*) LD
="${LD-ld} -m elf64_sparc" ;; 
5411         if ${LD-ld} -64 -r -o conftest2.o conftest.o 
>/dev
/null 
2>&1; then 
5423 need_locks
="$enable_libtool_lock" 
5427     rhapsody
* | darwin
*) 
5428     if test -n "$ac_tool_prefix"; then 
5429   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 
5430 set dummy 
${ac_tool_prefix}dsymutil
; 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_DSYMUTIL+set}" = set; then : 
5434   $as_echo_n "(cached) " >&6 
5436   if test -n "$DSYMUTIL"; then 
5437   ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test. 
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
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_DSYMUTIL
="${ac_tool_prefix}dsymutil" 
5447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5456 DSYMUTIL
=$ac_cv_prog_DSYMUTIL 
5457 if test -n "$DSYMUTIL"; then 
5458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 
5459 $as_echo "$DSYMUTIL" >&6; } 
5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5462 $as_echo "no" >&6; } 
5467 if test -z "$ac_cv_prog_DSYMUTIL"; then 
5468   ac_ct_DSYMUTIL
=$DSYMUTIL 
5469   # Extract the first word of "dsymutil", so it can be a program name with args. 
5470 set dummy dsymutil
; ac_word
=$2 
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5472 $as_echo_n "checking for $ac_word... " >&6; } 
5473 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 
5474   $as_echo_n "(cached) " >&6 
5476   if test -n "$ac_ct_DSYMUTIL"; then 
5477   ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test. 
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5483   test -z "$as_dir" && as_dir
=.
 
5484     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5486     ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil" 
5487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5496 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL 
5497 if test -n "$ac_ct_DSYMUTIL"; then 
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 
5499 $as_echo "$ac_ct_DSYMUTIL" >&6; } 
5501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5502 $as_echo "no" >&6; } 
5505   if test "x$ac_ct_DSYMUTIL" = x
; then 
5508     case $cross_compiling:$ac_tool_warned in 
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
5512 ac_tool_warned
=yes ;; 
5514     DSYMUTIL
=$ac_ct_DSYMUTIL 
5517   DSYMUTIL
="$ac_cv_prog_DSYMUTIL" 
5520     if test -n "$ac_tool_prefix"; then 
5521   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 
5522 set dummy 
${ac_tool_prefix}nmedit
; ac_word
=$2 
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5524 $as_echo_n "checking for $ac_word... " >&6; } 
5525 if test "${ac_cv_prog_NMEDIT+set}" = set; then : 
5526   $as_echo_n "(cached) " >&6 
5528   if test -n "$NMEDIT"; then 
5529   ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test. 
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5535   test -z "$as_dir" && as_dir
=.
 
5536     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5538     ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit" 
5539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5548 NMEDIT
=$ac_cv_prog_NMEDIT 
5549 if test -n "$NMEDIT"; then 
5550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 
5551 $as_echo "$NMEDIT" >&6; } 
5553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5554 $as_echo "no" >&6; } 
5559 if test -z "$ac_cv_prog_NMEDIT"; then 
5560   ac_ct_NMEDIT
=$NMEDIT 
5561   # Extract the first word of "nmedit", so it can be a program name with args. 
5562 set dummy nmedit
; ac_word
=$2 
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5564 $as_echo_n "checking for $ac_word... " >&6; } 
5565 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 
5566   $as_echo_n "(cached) " >&6 
5568   if test -n "$ac_ct_NMEDIT"; then 
5569   ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test. 
5571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5575   test -z "$as_dir" && as_dir
=.
 
5576     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5578     ac_cv_prog_ac_ct_NMEDIT
="nmedit" 
5579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5588 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT 
5589 if test -n "$ac_ct_NMEDIT"; then 
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 
5591 $as_echo "$ac_ct_NMEDIT" >&6; } 
5593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5594 $as_echo "no" >&6; } 
5597   if test "x$ac_ct_NMEDIT" = x
; then 
5600     case $cross_compiling:$ac_tool_warned in 
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
5604 ac_tool_warned
=yes ;; 
5606     NMEDIT
=$ac_ct_NMEDIT 
5609   NMEDIT
="$ac_cv_prog_NMEDIT" 
5612     if test -n "$ac_tool_prefix"; then 
5613   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 
5614 set dummy 
${ac_tool_prefix}lipo
; ac_word
=$2 
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5616 $as_echo_n "checking for $ac_word... " >&6; } 
5617 if test "${ac_cv_prog_LIPO+set}" = set; then : 
5618   $as_echo_n "(cached) " >&6 
5620   if test -n "$LIPO"; then 
5621   ac_cv_prog_LIPO
="$LIPO" # Let the user override the test. 
5623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5627   test -z "$as_dir" && as_dir
=.
 
5628     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5630     ac_cv_prog_LIPO
="${ac_tool_prefix}lipo" 
5631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5640 LIPO
=$ac_cv_prog_LIPO 
5641 if test -n "$LIPO"; then 
5642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 
5643 $as_echo "$LIPO" >&6; } 
5645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5646 $as_echo "no" >&6; } 
5651 if test -z "$ac_cv_prog_LIPO"; then 
5653   # Extract the first word of "lipo", so it can be a program name with args. 
5654 set dummy lipo
; ac_word
=$2 
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5656 $as_echo_n "checking for $ac_word... " >&6; } 
5657 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 
5658   $as_echo_n "(cached) " >&6 
5660   if test -n "$ac_ct_LIPO"; then 
5661   ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test. 
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5667   test -z "$as_dir" && as_dir
=.
 
5668     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5670     ac_cv_prog_ac_ct_LIPO
="lipo" 
5671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5680 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO 
5681 if test -n "$ac_ct_LIPO"; then 
5682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 
5683 $as_echo "$ac_ct_LIPO" >&6; } 
5685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5686 $as_echo "no" >&6; } 
5689   if test "x$ac_ct_LIPO" = x
; then 
5692     case $cross_compiling:$ac_tool_warned in 
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
5695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
5696 ac_tool_warned
=yes ;; 
5701   LIPO
="$ac_cv_prog_LIPO" 
5704     if test -n "$ac_tool_prefix"; then 
5705   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 
5706 set dummy 
${ac_tool_prefix}otool
; ac_word
=$2 
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5708 $as_echo_n "checking for $ac_word... " >&6; } 
5709 if test "${ac_cv_prog_OTOOL+set}" = set; then : 
5710   $as_echo_n "(cached) " >&6 
5712   if test -n "$OTOOL"; then 
5713   ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test. 
5715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5719   test -z "$as_dir" && as_dir
=.
 
5720     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5722     ac_cv_prog_OTOOL
="${ac_tool_prefix}otool" 
5723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5732 OTOOL
=$ac_cv_prog_OTOOL 
5733 if test -n "$OTOOL"; then 
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 
5735 $as_echo "$OTOOL" >&6; } 
5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5738 $as_echo "no" >&6; } 
5743 if test -z "$ac_cv_prog_OTOOL"; then 
5745   # Extract the first word of "otool", so it can be a program name with args. 
5746 set dummy otool
; ac_word
=$2 
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5748 $as_echo_n "checking for $ac_word... " >&6; } 
5749 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 
5750   $as_echo_n "(cached) " >&6 
5752   if test -n "$ac_ct_OTOOL"; then 
5753   ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test. 
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5759   test -z "$as_dir" && as_dir
=.
 
5760     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5762     ac_cv_prog_ac_ct_OTOOL
="otool" 
5763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5772 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL 
5773 if test -n "$ac_ct_OTOOL"; then 
5774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 
5775 $as_echo "$ac_ct_OTOOL" >&6; } 
5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5778 $as_echo "no" >&6; } 
5781   if test "x$ac_ct_OTOOL" = x
; then 
5784     case $cross_compiling:$ac_tool_warned in 
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
5787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
5788 ac_tool_warned
=yes ;; 
5793   OTOOL
="$ac_cv_prog_OTOOL" 
5796     if test -n "$ac_tool_prefix"; then 
5797   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 
5798 set dummy 
${ac_tool_prefix}otool64
; ac_word
=$2 
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5800 $as_echo_n "checking for $ac_word... " >&6; } 
5801 if test "${ac_cv_prog_OTOOL64+set}" = set; then : 
5802   $as_echo_n "(cached) " >&6 
5804   if test -n "$OTOOL64"; then 
5805   ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test. 
5807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5811   test -z "$as_dir" && as_dir
=.
 
5812     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5814     ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64" 
5815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5824 OTOOL64
=$ac_cv_prog_OTOOL64 
5825 if test -n "$OTOOL64"; then 
5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 
5827 $as_echo "$OTOOL64" >&6; } 
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5830 $as_echo "no" >&6; } 
5835 if test -z "$ac_cv_prog_OTOOL64"; then 
5836   ac_ct_OTOOL64
=$OTOOL64 
5837   # Extract the first word of "otool64", so it can be a program name with args. 
5838 set dummy otool64
; ac_word
=$2 
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
5840 $as_echo_n "checking for $ac_word... " >&6; } 
5841 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 
5842   $as_echo_n "(cached) " >&6 
5844   if test -n "$ac_ct_OTOOL64"; then 
5845   ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test. 
5847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
5851   test -z "$as_dir" && as_dir
=.
 
5852     for ac_exec_ext 
in '' $ac_executable_extensions; do 
5853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
5854     ac_cv_prog_ac_ct_OTOOL64
="otool64" 
5855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
5864 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64 
5865 if test -n "$ac_ct_OTOOL64"; then 
5866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 
5867 $as_echo "$ac_ct_OTOOL64" >&6; } 
5869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
5870 $as_echo "no" >&6; } 
5873   if test "x$ac_ct_OTOOL64" = x
; then 
5876     case $cross_compiling:$ac_tool_warned in 
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
5879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
5880 ac_tool_warned
=yes ;; 
5882     OTOOL64
=$ac_ct_OTOOL64 
5885   OTOOL64
="$ac_cv_prog_OTOOL64" 
5914     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 
5915 $as_echo_n "checking for -single_module linker flag... " >&6; } 
5916 if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 
5917   $as_echo_n "(cached) " >&6 
5919   lt_cv_apple_cc_single_mod
=no
 
5920       if test -z "${LT_MULTI_MODULE}"; then 
5921         # By default we will add the -single_module flag. You can override 
5922         # by either setting the environment variable LT_MULTI_MODULE 
5923         # non-empty at configure time, or by adding -multi_module to the 
5925         rm -rf libconftest.dylib
* 
5926         echo "int foo(void){return 1;}" > conftest.c
 
5927         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 
5928 -dynamiclib -Wl,-single_module conftest.c" >&5 
5929         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
5930           -dynamiclib -Wl,-single_module conftest.c 
2>conftest.err
 
5932         if test -f libconftest.dylib 
&& test ! -s conftest.err 
&& test $_lt_result = 0; then 
5933           lt_cv_apple_cc_single_mod
=yes 
5935           cat conftest.err 
>&5 
5937         rm -rf libconftest.dylib
* 
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 
5942 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 
5943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 
5944 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 
5945 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 
5946   $as_echo_n "(cached) " >&6 
5948   lt_cv_ld_exported_symbols_list
=no
 
5949       save_LDFLAGS
=$LDFLAGS 
5950       echo "_main" > conftest.sym
 
5951       LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 
5952       cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
5953 /* end confdefs.h.  */ 
5963 if ac_fn_c_try_link 
"$LINENO"; then : 
5964   lt_cv_ld_exported_symbols_list
=yes 
5966   lt_cv_ld_exported_symbols_list
=no
 
5968 rm -f core conftest.err conftest.
$ac_objext \
 
5969     conftest
$ac_exeext conftest.
$ac_ext 
5970         LDFLAGS
="$save_LDFLAGS" 
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 
5974 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 
5976     rhapsody
* | darwin1.
[012]) 
5977       _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;; 
5979       _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 
5980     darwin
*) # darwin 5.x on 
5981       # if running on 10.5 or later, the deployment target defaults 
5982       # to the OS version, if on x86, and 10.4, the deployment 
5983       # target defaults to 10.4. Don't you love it? 
5984       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 
5985         10.0,*86*-darwin8*|10.0,*-darwin[91]*) 
5986           _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;; 
5988           _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 
5990           _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;; 
5994     if test "$lt_cv_apple_cc_single_mod" = "yes"; then 
5995       _lt_dar_single_mod
='$single_module' 
5997     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 
5998       _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 
6000       _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 
6002     if test "$DSYMUTIL" != ":"; then 
6003       _lt_dsymutil
='~$DSYMUTIL $lib || :' 
6011 ac_cpp
='$CPP $CPPFLAGS' 
6012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
6013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
6014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
6016 $as_echo_n "checking how to run the C preprocessor... " >&6; } 
6017 # On Suns, sometimes $CPP names a directory. 
6018 if test -n "$CPP" && test -d "$CPP"; then 
6021 if test -z "$CPP"; then 
6022   if test "${ac_cv_prog_CPP+set}" = set; then : 
6023   $as_echo_n "(cached) " >&6 
6025       # Double quotes because CPP needs to be expanded 
6026     for CPP 
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
6029 for ac_c_preproc_warn_flag 
in '' yes 
6031   # Use a header file that comes with gcc, so configuring glibc 
6032   # with a fresh cross-compiler works. 
6033   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6034   # <limits.h> exists even on freestanding compilers. 
6035   # On the NeXT, cc -E runs the code through the compiler's parser, 
6036   # not just through cpp. "Syntax error" is here to catch this case. 
6037   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6038 /* end confdefs.h.  */ 
6040 # include <limits.h> 
6042 # include <assert.h> 
6046 if ac_fn_c_try_cpp 
"$LINENO"; then : 
6049   # Broken: fails on valid input. 
6052 rm -f conftest.err conftest.
$ac_ext 
6054   # OK, works on sane cases.  Now check whether nonexistent headers 
6055   # can be detected and how. 
6056   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6057 /* end confdefs.h.  */ 
6058 #include <ac_nonexistent.h> 
6060 if ac_fn_c_try_cpp 
"$LINENO"; then : 
6061   # Broken: success on invalid input. 
6064   # Passes both tests. 
6068 rm -f conftest.err conftest.
$ac_ext 
6071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
6072 rm -f conftest.err conftest.
$ac_ext 
6073 if $ac_preproc_ok; then : 
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
6086 $as_echo "$CPP" >&6; } 
6088 for ac_c_preproc_warn_flag 
in '' yes 
6090   # Use a header file that comes with gcc, so configuring glibc 
6091   # with a fresh cross-compiler works. 
6092   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
6093   # <limits.h> exists even on freestanding compilers. 
6094   # On the NeXT, cc -E runs the code through the compiler's parser, 
6095   # not just through cpp. "Syntax error" is here to catch this case. 
6096   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6097 /* end confdefs.h.  */ 
6099 # include <limits.h> 
6101 # include <assert.h> 
6105 if ac_fn_c_try_cpp 
"$LINENO"; then : 
6108   # Broken: fails on valid input. 
6111 rm -f conftest.err conftest.
$ac_ext 
6113   # OK, works on sane cases.  Now check whether nonexistent headers 
6114   # can be detected and how. 
6115   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6116 /* end confdefs.h.  */ 
6117 #include <ac_nonexistent.h> 
6119 if ac_fn_c_try_cpp 
"$LINENO"; then : 
6120   # Broken: success on invalid input. 
6123   # Passes both tests. 
6127 rm -f conftest.err conftest.
$ac_ext 
6130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
6131 rm -f conftest.err conftest.
$ac_ext 
6132 if $ac_preproc_ok; then : 
6135   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
6136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
6137 as_fn_error 
"C preprocessor \"$CPP\" fails sanity check 
6138 See \`config.log' for more details." "$LINENO" 5; } 
6142 ac_cpp
='$CPP $CPPFLAGS' 
6143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
6144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
6145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
6149 $as_echo_n "checking for ANSI C header files... " >&6; } 
6150 if test "${ac_cv_header_stdc+set}" = set; then : 
6151   $as_echo_n "(cached) " >&6 
6153   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6154 /* end confdefs.h.  */ 
6168 if ac_fn_c_try_compile 
"$LINENO"; then : 
6169   ac_cv_header_stdc
=yes 
6171   ac_cv_header_stdc
=no
 
6173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
6175 if test $ac_cv_header_stdc = yes; then 
6176   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
6177   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6178 /* end confdefs.h.  */ 
6182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
6183   $EGREP "memchr" >/dev
/null 
2>&1; then : 
6186   ac_cv_header_stdc
=no
 
6192 if test $ac_cv_header_stdc = yes; then 
6193   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
6194   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6195 /* end confdefs.h.  */ 
6199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
6200   $EGREP "free" >/dev
/null 
2>&1; then : 
6203   ac_cv_header_stdc
=no
 
6209 if test $ac_cv_header_stdc = yes; then 
6210   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
6211   if test "$cross_compiling" = yes; then : 
6214   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
6215 /* end confdefs.h.  */ 
6218 #if ((' ' & 0x0FF) == 0x020) 
6219 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
6220 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
6222 # define ISLOWER(c) \ 
6223                    (('a' <= (c) && (c) <= 'i') \ 
6224                      || ('j' <= (c) && (c) <= 'r') \ 
6225                      || ('s' <= (c) && (c) <= 'z')) 
6226 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
6229 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
6234   for (i = 0; i < 256; i++) 
6235     if (XOR (islower (i), ISLOWER (i)) 
6236         || toupper (i) != TOUPPER (i)) 
6241 if ac_fn_c_try_run 
"$LINENO"; then : 
6244   ac_cv_header_stdc
=no
 
6246 rm -f core 
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
 
6247   conftest.
$ac_objext conftest.beam conftest.
$ac_ext 
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
6253 $as_echo "$ac_cv_header_stdc" >&6; } 
6254 if test $ac_cv_header_stdc = yes; then 
6256 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
6260 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 
6261 for ac_header 
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h 
strings.h \
 
6262                   inttypes.h stdint.h unistd.h
 
6264   as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
6265 ac_fn_c_check_header_compile 
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
6267 eval as_val
=\$
$as_ac_Header 
6268    if test "x$as_val" = x
""yes; then : 
6269   cat >>confdefs.h 
<<_ACEOF 
6270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
6278 for ac_header 
in dlfcn.h
 
6280   ac_fn_c_check_header_compile 
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 
6282 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then : 
6283   cat >>confdefs.h 
<<_ACEOF 
6284 #define HAVE_DLFCN_H 1 
6294 # Check whether --enable-static was given. 
6295 if test "${enable_static+set}" = set; then : 
6296   enableval
=$enable_static; p
=${PACKAGE-default} 
6298     yes) enable_static
=yes ;; 
6299     no
) enable_static
=no 
;; 
6302       # Look at the argument we got.  We use all the common list separators. 
6303       lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR," 
6304       for pkg 
in $enableval; do 
6306         if test "X$pkg" = "X$p"; then 
6332             # Check whether --enable-shared was given. 
6333 if test "${enable_shared+set}" = set; then : 
6334   enableval
=$enable_shared; p
=${PACKAGE-default} 
6336     yes) enable_shared
=yes ;; 
6337     no
) enable_shared
=no 
;; 
6340       # Look at the argument we got.  We use all the common list separators. 
6341       lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR," 
6342       for pkg 
in $enableval; do 
6344         if test "X$pkg" = "X$p"; then 
6365 # Check whether --with-pic was given. 
6366 if test "${with_pic+set}" = set; then : 
6367   withval
=$with_pic; pic_mode
="$withval" 
6373 test -z "$pic_mode" && pic_mode
=default
 
6381   # Check whether --enable-fast-install was given. 
6382 if test "${enable_fast_install+set}" = set; then : 
6383   enableval
=$enable_fast_install; p
=${PACKAGE-default} 
6385     yes) enable_fast_install
=yes ;; 
6386     no
) enable_fast_install
=no 
;; 
6388       enable_fast_install
=no
 
6389       # Look at the argument we got.  We use all the common list separators. 
6390       lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR," 
6391       for pkg 
in $enableval; do 
6393         if test "X$pkg" = "X$p"; then 
6394           enable_fast_install
=yes 
6401   enable_fast_install
=yes 
6414 # This can be used to rebuild libtool when needed 
6415 LIBTOOL_DEPS
="$ltmain" 
6417 # Always use our own libtool. 
6418 LIBTOOL
='$(SHELL) $(top_builddir)/libtool' 
6444 test -z "$LN_S" && LN_S
="ln -s" 
6459 if test -n "${ZSH_VERSION+set}" ; then 
6460    setopt NO_GLOB_SUBST
 
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 
6464 $as_echo_n "checking for objdir... " >&6; } 
6465 if test "${lt_cv_objdir+set}" = set; then : 
6466   $as_echo_n "(cached) " >&6 
6468   rm -f .libs 
2>/dev
/null
 
6469 mkdir .libs 
2>/dev
/null
 
6470 if test -d .libs
; then 
6473   # MS-DOS does not allow filenames that begin with a dot. 
6476 rmdir .libs 
2>/dev
/null
 
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 
6479 $as_echo "$lt_cv_objdir" >&6; } 
6480 objdir
=$lt_cv_objdir 
6486 cat >>confdefs.h 
<<_ACEOF 
6487 #define LT_OBJDIR "$lt_cv_objdir/" 
6508   # AIX sometimes has problems with the GCC collect2 program.  For some 
6509   # reason, if we set the COLLECT_NAMES environment variable, the problems 
6510   # vanish in a puff of smoke. 
6511   if test "X${COLLECT_NAMES+set}" != Xset
; then 
6513     export COLLECT_NAMES
 
6518 # Sed substitution that helps us do robust quoting.  It backslashifies 
6519 # metacharacters that are still active within double-quoted strings. 
6520 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g' 
6522 # Same as above, but do not quote variable references. 
6523 double_quote_subst
='s/\(["`\\]\)/\\\1/g' 
6525 # Sed substitution to delay expansion of an escaped shell variable in a 
6526 # double_quote_subst'ed string. 
6527 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g' 
6529 # Sed substitution to delay expansion of an escaped single quote. 
6530 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g' 
6532 # Sed substitution to avoid accidental globbing in evaled expressions 
6533 no_glob_subst
='s/\*/\\\*/g' 
6537 can_build_shared
=yes 
6539 # All known linkers require a `.a' archive for static linking (except MSVC, 
6540 # which needs '.lib'). 
6543 with_gnu_ld
="$lt_cv_prog_gnu_ld" 
6546 old_CFLAGS
="$CFLAGS" 
6548 # Set sane defaults for various variables 
6549 test -z "$CC" && CC
=cc
 
6550 test -z "$LTCC" && LTCC
=$CC 
6551 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS 
6552 test -z "$LD" && LD
=ld
 
6553 test -z "$ac_objext" && ac_objext
=o
 
6555 for cc_temp 
in $compiler""; do 
6557     compile 
| *[\\/]compile 
| ccache 
| *[\\/]ccache 
) ;; 
6558     distcc 
| *[\\/]distcc 
| purify 
| *[\\/]purify 
) ;; 
6563 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
6566 # Only perform the check for file, if the check method requires it 
6567 test -z "$MAGIC_CMD" && MAGIC_CMD
=file 
6568 case $deplibs_check_method in 
6570   if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
6571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 
6572 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 
6573 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 
6574   $as_echo_n "(cached) " >&6 
6578   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path. 
6581   lt_save_MAGIC_CMD
="$MAGIC_CMD" 
6582   lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
6583   ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH" 
6584   for ac_dir 
in $ac_dummy; do 
6586     test -z "$ac_dir" && ac_dir
=.
 
6587     if test -f $ac_dir/${ac_tool_prefix}file; then 
6588       lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file" 
6589       if test -n "$file_magic_test_file"; then 
6590         case $deplibs_check_method in 
6592           file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 
6593           MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
6594           if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null 
| 
6595             $EGREP "$file_magic_regex" > /dev
/null
; then 
6600 *** Warning: the command libtool uses to detect shared libraries, 
6601 *** $file_magic_cmd, produces output that libtool cannot recognize. 
6602 *** The result is that libtool may fail to recognize shared libraries 
6603 *** as such.  This will affect the creation of libtool libraries that 
6604 *** depend on shared libraries, but programs linked with such libtool 
6605 *** libraries will work regardless of this problem.  Nevertheless, you 
6606 *** may want to report the problem to your system manager and/or to 
6607 *** bug-libtool@gnu.org 
6617   MAGIC_CMD
="$lt_save_MAGIC_CMD" 
6622 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
6623 if test -n "$MAGIC_CMD"; then 
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 
6625 $as_echo "$MAGIC_CMD" >&6; } 
6627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
6628 $as_echo "no" >&6; } 
6635 if test -z "$lt_cv_path_MAGIC_CMD"; then 
6636   if test -n "$ac_tool_prefix"; then 
6637     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 
6638 $as_echo_n "checking for file... " >&6; } 
6639 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 
6640   $as_echo_n "(cached) " >&6 
6644   lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path. 
6647   lt_save_MAGIC_CMD
="$MAGIC_CMD" 
6648   lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
6649   ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH" 
6650   for ac_dir 
in $ac_dummy; do 
6652     test -z "$ac_dir" && ac_dir
=.
 
6653     if test -f $ac_dir/file; then 
6654       lt_cv_path_MAGIC_CMD
="$ac_dir/file" 
6655       if test -n "$file_magic_test_file"; then 
6656         case $deplibs_check_method in 
6658           file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 
6659           MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
6660           if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null 
| 
6661             $EGREP "$file_magic_regex" > /dev
/null
; then 
6666 *** Warning: the command libtool uses to detect shared libraries, 
6667 *** $file_magic_cmd, produces output that libtool cannot recognize. 
6668 *** The result is that libtool may fail to recognize shared libraries 
6669 *** as such.  This will affect the creation of libtool libraries that 
6670 *** depend on shared libraries, but programs linked with such libtool 
6671 *** libraries will work regardless of this problem.  Nevertheless, you 
6672 *** may want to report the problem to your system manager and/or to 
6673 *** bug-libtool@gnu.org 
6683   MAGIC_CMD
="$lt_save_MAGIC_CMD" 
6688 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD" 
6689 if test -n "$MAGIC_CMD"; then 
6690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 
6691 $as_echo "$MAGIC_CMD" >&6; } 
6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
6694 $as_echo "no" >&6; } 
6707 # Use C for the default configuration in the libtool script 
6711 ac_cpp
='$CPP $CPPFLAGS' 
6712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
6713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
6714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
6717 # Source file extension for C test sources. 
6720 # Object file extension for compiled C test sources. 
6724 # Code to be used in simple compile tests 
6725 lt_simple_compile_test_code
="int some_variable = 0;" 
6727 # Code to be used in simple link tests 
6728 lt_simple_link_test_code
='int main(){return(0);}' 
6736 # If no C compiler was specified, use CC. 
6739 # If no C compiler flags were specified, use CFLAGS. 
6740 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"} 
6742 # Allow CC to be a program name with arguments. 
6745 # Save the default compiler, since it gets overwritten when the other 
6746 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 
6747 compiler_DEFAULT
=$CC 
6749 # save warnings/boilerplate of simple test code 
6750 ac_outfile
=conftest.
$ac_objext 
6751 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext 
6752 eval "$ac_compile" 2>&1 >/dev
/null 
| $SED '/^$/d; /^ *+/d' >conftest.err
 
6753 _lt_compiler_boilerplate
=`cat conftest.err` 
6756 ac_outfile
=conftest.
$ac_objext 
6757 echo "$lt_simple_link_test_code" >conftest.
$ac_ext 
6758 eval "$ac_link" 2>&1 >/dev
/null 
| $SED '/^$/d; /^ *+/d' >conftest.err
 
6759 _lt_linker_boilerplate
=`cat conftest.err` 
6763 if test -n "$compiler"; then 
6765 lt_prog_compiler_no_builtin_flag
= 
6767 if test "$GCC" = yes; then 
6768   lt_prog_compiler_no_builtin_flag
=' -fno-builtin' 
6770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 
6771 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 
6772 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 
6773   $as_echo_n "(cached) " >&6 
6775   lt_cv_prog_compiler_rtti_exceptions
=no
 
6776    ac_outfile
=conftest.
$ac_objext 
6777    echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
6778    lt_compiler_flag
="-fno-rtti -fno-exceptions" 
6779    # Insert the option either (1) after the last *FLAGS variable, or 
6780    # (2) before a word containing "conftest.", or (3) at the end. 
6781    # Note that $ac_compile itself does not contain backslashes and begins 
6782    # with a dollar sign (not a hyphen), so the echo should work correctly. 
6783    # The option is referenced via a variable to avoid confusing sed. 
6784    lt_compile
=`echo "$ac_compile" | $SED \ 
6785    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
6786    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
6787    -e 's:$: $lt_compiler_flag:'` 
6788    (eval echo "\"\$as_me:6788: $lt_compile\"" >&5) 
6789    (eval "$lt_compile" 2>conftest.err
) 
6791    cat conftest.err 
>&5 
6792    echo "$as_me:6792: \$? = $ac_status" >&5 
6793    if (exit $ac_status) && test -s "$ac_outfile"; then 
6794      # The compiler can only warn and ignore the option if not recognized 
6795      # So say no if there are warnings other than the usual output. 
6796      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
6797      $SED '/^$/d; /^ *+/d' conftest.err 
>conftest.er2
 
6798      if test ! -s conftest.er2 
|| diff conftest.exp conftest.er2 
>/dev
/null
; then 
6799        lt_cv_prog_compiler_rtti_exceptions
=yes 
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 
6806 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 
6808 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then 
6809     lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 
6821   lt_prog_compiler_wl
= 
6822 lt_prog_compiler_pic
= 
6823 lt_prog_compiler_static
= 
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 
6826 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 
6828   if test "$GCC" = yes; then 
6829     lt_prog_compiler_wl
='-Wl,' 
6830     lt_prog_compiler_static
='-static' 
6834       # All AIX code is PIC. 
6835       if test "$host_cpu" = ia64
; then 
6836         # AIX 5 now supports IA64 processor 
6837         lt_prog_compiler_static
='-Bstatic' 
6844             # see comment about AmigaOS4 .so support 
6845             lt_prog_compiler_pic
='-fPIC' 
6848             # FIXME: we need at least 68020 code to build shared libraries, but 
6849             # adding the `-m68020' flag to GCC prevents building anything better, 
6851             lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4' 
6856     beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*) 
6857       # PIC is the default for these OSes. 
6860     mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*) 
6861       # This hack is so that the source file can tell whether it is being 
6862       # built for inclusion in a dll (and should export symbols for example). 
6863       # Although the cygwin gcc ignores -fPIC, still need this for old-style 
6864       # (--disable-auto-import) libraries 
6865       lt_prog_compiler_pic
='-DDLL_EXPORT' 
6868     darwin
* | rhapsody
*) 
6869       # PIC is the default on this platform 
6870       # Common symbols not allowed in MH_DYLIB files 
6871       lt_prog_compiler_pic
='-fno-common' 
6875       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 
6876       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag 
6877       # sets the default TLS model and affects inlining. 
6883         lt_prog_compiler_pic
='-fPIC' 
6889       # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
6890       # Instead, we relocate shared libraries at runtime. 
6894       # Just because we use GCC doesn't mean we suddenly get shared libraries 
6895       # on systems that don't support them. 
6896       lt_prog_compiler_can_build_shared
=no
 
6901       # QNX uses GNU C++, but need to define -shared option too, otherwise 
6903       lt_prog_compiler_pic
='-fPIC -shared' 
6907       if test -d /usr
/nec
; then 
6908         lt_prog_compiler_pic
=-Kconform_pic 
6913       lt_prog_compiler_pic
='-fPIC' 
6917     # PORTME Check for flag to pass linker flags through the system compiler. 
6920       lt_prog_compiler_wl
='-Wl,' 
6921       if test "$host_cpu" = ia64
; then 
6922         # AIX 5 now supports IA64 processor 
6923         lt_prog_compiler_static
='-Bstatic' 
6925         lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp' 
6929     mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*) 
6930       # This hack is so that the source file can tell whether it is being 
6931       # built for inclusion in a dll (and should export symbols for example). 
6932       lt_prog_compiler_pic
='-DDLL_EXPORT' 
6935     hpux9
* | hpux10
* | hpux11
*) 
6936       lt_prog_compiler_wl
='-Wl,' 
6937       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
6944         lt_prog_compiler_pic
='+Z' 
6947       # Is there a better lt_prog_compiler_static that works with the bundled CC? 
6948       lt_prog_compiler_static
='${wl}-a ${wl}archive' 
6951     irix5
* | irix6
* | nonstopux
*) 
6952       lt_prog_compiler_wl
='-Wl,' 
6953       # PIC (with -KPIC) is the default. 
6954       lt_prog_compiler_static
='-non_shared' 
6957     linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu) 
6958       case $cc_basename in 
6959       # old Intel for x86_64 which still supported -KPIC. 
6961         lt_prog_compiler_wl
='-Wl,' 
6962         lt_prog_compiler_pic
='-KPIC' 
6963         lt_prog_compiler_static
='-static' 
6965       # icc used to be incompatible with GCC. 
6966       # ICC 10 doesn't accept -KPIC any more. 
6968         lt_prog_compiler_wl
='-Wl,' 
6969         lt_prog_compiler_pic
='-fPIC' 
6970         lt_prog_compiler_static
='-static' 
6972       # Lahey Fortran 8.1. 
6974         lt_prog_compiler_wl
='-Wl,' 
6975         lt_prog_compiler_pic
='--shared' 
6976         lt_prog_compiler_static
='--static' 
6978       pgcc
* | pgf77
* | pgf90
* | pgf95
*) 
6979         # Portland Group compilers (*not* the Pentium gcc compiler, 
6980         # which looks to be a dead project) 
6981         lt_prog_compiler_wl
='-Wl,' 
6982         lt_prog_compiler_pic
='-fpic' 
6983         lt_prog_compiler_static
='-Bstatic' 
6986         lt_prog_compiler_wl
='-Wl,' 
6987         # All Alpha code is PIC. 
6988         lt_prog_compiler_static
='-non_shared' 
6991         # IBM XL C 8.0/Fortran 10.1 on PPC 
6992         lt_prog_compiler_wl
='-Wl,' 
6993         lt_prog_compiler_pic
='-qpic' 
6994         lt_prog_compiler_static
='-qstaticlink' 
6997         case `$CC -V 2>&1 | sed 5q` in 
7000           lt_prog_compiler_pic
='-KPIC' 
7001           lt_prog_compiler_static
='-Bstatic' 
7002           lt_prog_compiler_wl
='-Wl,' 
7005           # Sun Fortran 8.3 passes all unrecognized flags to the linker 
7006           lt_prog_compiler_pic
='-KPIC' 
7007           lt_prog_compiler_static
='-Bstatic' 
7008           lt_prog_compiler_wl
='' 
7016       lt_prog_compiler_pic
='-KPIC' 
7017       lt_prog_compiler_static
='-Bstatic' 
7021       # QNX uses GNU C++, but need to define -shared option too, otherwise 
7023       lt_prog_compiler_pic
='-fPIC -shared' 
7026     osf3
* | osf4
* | osf5
*) 
7027       lt_prog_compiler_wl
='-Wl,' 
7028       # All OSF/1 code is PIC. 
7029       lt_prog_compiler_static
='-non_shared' 
7033       lt_prog_compiler_static
='-non_shared' 
7037       lt_prog_compiler_pic
='-KPIC' 
7038       lt_prog_compiler_static
='-Bstatic' 
7039       case $cc_basename in 
7041         lt_prog_compiler_wl
='-Qoption ld ';; 
7043         lt_prog_compiler_wl
='-Wl,';; 
7048       lt_prog_compiler_wl
='-Qoption ld ' 
7049       lt_prog_compiler_pic
='-PIC' 
7050       lt_prog_compiler_static
='-Bstatic' 
7053     sysv4 
| sysv4.2uw2
* | sysv4.3
*) 
7054       lt_prog_compiler_wl
='-Wl,' 
7055       lt_prog_compiler_pic
='-KPIC' 
7056       lt_prog_compiler_static
='-Bstatic' 
7060       if test -d /usr
/nec 
;then 
7061         lt_prog_compiler_pic
='-Kconform_pic' 
7062         lt_prog_compiler_static
='-Bstatic' 
7066     sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*) 
7067       lt_prog_compiler_wl
='-Wl,' 
7068       lt_prog_compiler_pic
='-KPIC' 
7069       lt_prog_compiler_static
='-Bstatic' 
7073       lt_prog_compiler_wl
='-Wl,' 
7074       lt_prog_compiler_can_build_shared
=no
 
7078       lt_prog_compiler_pic
='-pic' 
7079       lt_prog_compiler_static
='-Bstatic' 
7083       lt_prog_compiler_can_build_shared
=no
 
7089   # For platforms which do not support PIC, -DPIC is meaningless: 
7091     lt_prog_compiler_pic
= 
7094     lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC" 
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 
7098 $as_echo "$lt_prog_compiler_pic" >&6; } 
7106 # Check to make sure the PIC flag actually works. 
7108 if test -n "$lt_prog_compiler_pic"; then 
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 
7110 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 
7111 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 
7112   $as_echo_n "(cached) " >&6 
7114   lt_cv_prog_compiler_pic_works
=no
 
7115    ac_outfile
=conftest.
$ac_objext 
7116    echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
7117    lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" 
7118    # Insert the option either (1) after the last *FLAGS variable, or 
7119    # (2) before a word containing "conftest.", or (3) at the end. 
7120    # Note that $ac_compile itself does not contain backslashes and begins 
7121    # with a dollar sign (not a hyphen), so the echo should work correctly. 
7122    # The option is referenced via a variable to avoid confusing sed. 
7123    lt_compile
=`echo "$ac_compile" | $SED \ 
7124    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
7125    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
7126    -e 's:$: $lt_compiler_flag:'` 
7127    (eval echo "\"\$as_me:7127: $lt_compile\"" >&5) 
7128    (eval "$lt_compile" 2>conftest.err
) 
7130    cat conftest.err 
>&5 
7131    echo "$as_me:7131: \$? = $ac_status" >&5 
7132    if (exit $ac_status) && test -s "$ac_outfile"; then 
7133      # The compiler can only warn and ignore the option if not recognized 
7134      # So say no if there are warnings other than the usual output. 
7135      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7136      $SED '/^$/d; /^ *+/d' conftest.err 
>conftest.er2
 
7137      if test ! -s conftest.er2 
|| diff conftest.exp conftest.er2 
>/dev
/null
; then 
7138        lt_cv_prog_compiler_pic_works
=yes 
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 
7145 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 
7147 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then 
7148     case $lt_prog_compiler_pic in 
7150      *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;; 
7153     lt_prog_compiler_pic
= 
7154      lt_prog_compiler_can_build_shared
=no
 
7165 # Check to make sure the static flag actually works. 
7167 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\" 
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 
7169 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 
7170 if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 
7171   $as_echo_n "(cached) " >&6 
7173   lt_cv_prog_compiler_static_works
=no
 
7174    save_LDFLAGS
="$LDFLAGS" 
7175    LDFLAGS
="$LDFLAGS $lt_tmp_static_flag" 
7176    echo "$lt_simple_link_test_code" > conftest.
$ac_ext 
7177    if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then 
7178      # The linker can only warn and ignore the option if not recognized 
7179      # So say no if there are warnings 
7180      if test -s conftest.err
; then 
7181        # Append any errors to the config.log. 
7182        cat conftest.err 
1>&5 
7183        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7184        $SED '/^$/d; /^ *+/d' conftest.err 
>conftest.er2
 
7185        if diff conftest.exp conftest.er2 
>/dev
/null
; then 
7186          lt_cv_prog_compiler_static_works
=yes 
7189        lt_cv_prog_compiler_static_works
=yes 
7193    LDFLAGS
="$save_LDFLAGS" 
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 
7197 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 
7199 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then 
7202     lt_prog_compiler_static
= 
7211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 
7212 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 
7213 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 
7214   $as_echo_n "(cached) " >&6 
7216   lt_cv_prog_compiler_c_o
=no
 
7217    $RM -r conftest 
2>/dev
/null
 
7221    echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
7223    lt_compiler_flag
="-o out/conftest2.$ac_objext" 
7224    # Insert the option either (1) after the last *FLAGS variable, or 
7225    # (2) before a word containing "conftest.", or (3) at the end. 
7226    # Note that $ac_compile itself does not contain backslashes and begins 
7227    # with a dollar sign (not a hyphen), so the echo should work correctly. 
7228    lt_compile
=`echo "$ac_compile" | $SED \ 
7229    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
7230    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
7231    -e 's:$: $lt_compiler_flag:'` 
7232    (eval echo "\"\$as_me:7232: $lt_compile\"" >&5) 
7233    (eval "$lt_compile" 2>out
/conftest.err
) 
7235    cat out
/conftest.err 
>&5 
7236    echo "$as_me:7236: \$? = $ac_status" >&5 
7237    if (exit $ac_status) && test -s out
/conftest2.
$ac_objext 
7239      # The compiler can only warn and ignore the option if not recognized 
7240      # So say no if there are warnings 
7241      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
 
7242      $SED '/^$/d; /^ *+/d' out
/conftest.err 
>out
/conftest.er2
 
7243      if test ! -s out
/conftest.er2 
|| diff out
/conftest.exp out
/conftest.er2 
>/dev
/null
; then 
7244        lt_cv_prog_compiler_c_o
=yes 
7249    # SGI C++ compiler will create directory out/ii_files/ for 
7250    # template instantiation 
7251    test -d out
/ii_files 
&& $RM out
/ii_files
/* && rmdir out
/ii_files
 
7252    $RM out
/* && rmdir out
 
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 
7259 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 
7266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 
7267 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 
7268 if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 
7269   $as_echo_n "(cached) " >&6 
7271   lt_cv_prog_compiler_c_o
=no
 
7272    $RM -r conftest 
2>/dev
/null
 
7276    echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
7278    lt_compiler_flag
="-o out/conftest2.$ac_objext" 
7279    # Insert the option either (1) after the last *FLAGS variable, or 
7280    # (2) before a word containing "conftest.", or (3) at the end. 
7281    # Note that $ac_compile itself does not contain backslashes and begins 
7282    # with a dollar sign (not a hyphen), so the echo should work correctly. 
7283    lt_compile
=`echo "$ac_compile" | $SED \ 
7284    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
7285    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
7286    -e 's:$: $lt_compiler_flag:'` 
7287    (eval echo "\"\$as_me:7287: $lt_compile\"" >&5) 
7288    (eval "$lt_compile" 2>out
/conftest.err
) 
7290    cat out
/conftest.err 
>&5 
7291    echo "$as_me:7291: \$? = $ac_status" >&5 
7292    if (exit $ac_status) && test -s out
/conftest2.
$ac_objext 
7294      # The compiler can only warn and ignore the option if not recognized 
7295      # So say no if there are warnings 
7296      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
 
7297      $SED '/^$/d; /^ *+/d' out
/conftest.err 
>out
/conftest.er2
 
7298      if test ! -s out
/conftest.er2 
|| diff out
/conftest.exp out
/conftest.er2 
>/dev
/null
; then 
7299        lt_cv_prog_compiler_c_o
=yes 
7304    # SGI C++ compiler will create directory out/ii_files/ for 
7305    # template instantiation 
7306    test -d out
/ii_files 
&& $RM out
/ii_files
/* && rmdir out
/ii_files
 
7307    $RM out
/* && rmdir out
 
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 
7314 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 
7319 hard_links
="nottested" 
7320 if test "$lt_cv_prog_compiler_c_o" = no 
&& test "$need_locks" != no
; then 
7321   # do not overwrite the value of need_locks provided by the user 
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 
7323 $as_echo_n "checking if we can lock with hard links... " >&6; } 
7326   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
7328   ln conftest.a conftest.b 
2>&5 || hard_links
=no
 
7329   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 
7331 $as_echo "$hard_links" >&6; } 
7332   if test "$hard_links" = no
; then 
7333     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 
7334 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 
7346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 
7347 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 
7350   allow_undefined_flag
= 
7351   always_export_symbols
=no
 
7353   archive_expsym_cmds
= 
7354   compiler_needs_object
=no
 
7355   enable_shared_with_static_runtimes
=no
 
7356   export_dynamic_flag_spec
= 
7357   export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
7358   hardcode_automatic
=no
 
7360   hardcode_direct_absolute
=no
 
7361   hardcode_libdir_flag_spec
= 
7362   hardcode_libdir_flag_spec_ld
= 
7363   hardcode_libdir_separator
= 
7365   hardcode_shlibpath_var
=unsupported
 
7367   link_all_deplibs
=unknown
 
7370   old_archive_from_new_cmds
= 
7371   old_archive_from_expsyms_cmds
= 
7372   thread_safe_flag_spec
= 
7373   whole_archive_flag_spec
= 
7374   # include_expsyms should be a list of space-separated symbols to be *always* 
7375   # included in the symbol list 
7377   # exclude_expsyms can be an extended regexp of symbols to exclude 
7378   # it will be wrapped by ` (' and `)$', so one must not match beginning or 
7379   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 
7380   # as well as any symbol that contains `d'. 
7381   exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 
7382   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 
7383   # platforms (ab)use it in PIC code, but their linkers get confused if 
7384   # the symbol is explicitly referenced.  Since portable code cannot 
7385   # rely on this symbol name, it's probably fine to never include it in 
7386   # preloaded symbol tables. 
7387   # Exclude shared library initialization/finalization symbols. 
7388   extract_expsyms_cmds
= 
7391   cygwin
* | mingw
* | pw32
* | cegcc
*) 
7392     # FIXME: the MSVC++ port hasn't been tested in a loooong time 
7393     # When not using gcc, we currently assume that we are using 
7394     # Microsoft Visual C++. 
7395     if test "$GCC" != yes; then 
7400     # we just hope/assume this is gcc and not c89 (= MSVC++) 
7406   linux
* | k
*bsd
*-gnu) 
7412   if test "$with_gnu_ld" = yes; then 
7413     # If archive_cmds runs LD, not CC, wlarc should be empty 
7416     # Set some defaults for GNU ld with shared library support. These 
7417     # are reset later if shared libraries are not supported. Putting them 
7418     # here allows them to be overridden if necessary. 
7419     runpath_var
=LD_RUN_PATH
 
7420     hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
7421     export_dynamic_flag_spec
='${wl}--export-dynamic' 
7422     # ancient GNU ld didn't support --whole-archive et. al. 
7423     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then 
7424       whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
7426       whole_archive_flag_spec
= 
7428     supports_anon_versioning
=no
 
7429     case `$LD -v 2>&1` in 
7430       *GNU\ gold
*) supports_anon_versioning
=yes ;; 
7431       *\ 
[01].
* | *\ 
2.
[0-9].
* | *\ 
2.10.
*) ;; # catch versions < 2.11 
7432       *\ 
2.11.93.0.2\ 
*) supports_anon_versioning
=yes ;; # RH7.3 ... 
7433       *\ 
2.11.92.0.12\ 
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ... 
7434       *\ 
2.11.
*) ;; # other 2.11 versions 
7435       *) supports_anon_versioning
=yes ;; 
7438     # See if GNU ld supports shared libraries. 
7441       # On AIX/PPC, the GNU linker is very broken 
7442       if test "$host_cpu" != ia64
; then 
7446 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 
7447 *** to be unable to reliably create shared libraries on AIX. 
7448 *** Therefore, libtool is disabling shared libraries support.  If you 
7449 *** really care for shared libraries, you may want to modify your PATH 
7450 *** so that a non-GNU linker is found, and then restart. 
7459             # see comment about AmigaOS4 .so support 
7460             archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7461             archive_expsym_cmds
='' 
7464             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)' 
7465             hardcode_libdir_flag_spec
='-L$libdir' 
7466             hardcode_minus_L
=yes 
7472       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7473         allow_undefined_flag
=unsupported
 
7474         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
7475         # support --undefined.  This deserves some investigation.  FIXME 
7476         archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7482     cygwin
* | mingw
* | pw32
* | cegcc
*) 
7483       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 
7484       # as there is no search path for DLLs. 
7485       hardcode_libdir_flag_spec
='-L$libdir' 
7486       allow_undefined_flag
=unsupported
 
7487       always_export_symbols
=no
 
7488       enable_shared_with_static_runtimes
=yes 
7489       export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 
7491       if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then 
7492         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
7493         # If the export-symbols file already is a .def file (1st line 
7494         # is EXPORTS), use it as is; otherwise, prepend... 
7495         archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
7496           cp $export_symbols $output_objdir/$soname.def; 
7498           echo EXPORTS > $output_objdir/$soname.def; 
7499           cat $export_symbols >> $output_objdir/$soname.def; 
7501         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
7509       hardcode_shlibpath_var
=no
 
7510       hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
7511       export_dynamic_flag_spec
='${wl}-E' 
7512       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
7513       # Instead, shared libraries are loaded at an image base (0x10000000 by 
7514       # default) and relocated if they conflict, which is a slow very memory 
7515       # consuming and fragmenting process.  To avoid this, we pick a random, 
7516       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
7517       # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
7518       archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
7519       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' 
7522     gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu) 
7524       if test "$host_os" = linux
-dietlibc; then 
7525         case $cc_basename in 
7526           diet\ 
*) tmp_diet
=yes;;       # linux-dietlibc with static linking (!diet-dyn) 
7529       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
 
7530          && test "$tmp_diet" = no
 
7533         tmp_sharedflag
='-shared' 
7534         case $cc_basename,$host_cpu in 
7535         pgcc
*)                          # Portland Group C compiler 
7536           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' 
7537           tmp_addflag
=' $pic_flag' 
7539         pgf77
* | pgf90
* | pgf95
*)       # Portland Group f77 and f90 compilers 
7540           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' 
7541           tmp_addflag
=' $pic_flag -Mnomain' ;; 
7542         ecc
*,ia64
* | icc
*,ia64
*)        # Intel C compiler on ia64 
7543           tmp_addflag
=' -i_dynamic' ;; 
7544         efc
*,ia64
* | ifort
*,ia64
*)      # Intel Fortran compiler on ia64 
7545           tmp_addflag
=' -i_dynamic -nofor_main' ;; 
7546         ifc
* | ifort
*)                  # Intel Fortran compiler 
7547           tmp_addflag
=' -nofor_main' ;; 
7548         lf95
*)                          # Lahey Fortran 8.1 
7549           whole_archive_flag_spec
= 
7550           tmp_sharedflag
='--shared' ;; 
7551         xl
[cC
]*)                        # IBM XL C 8.0 on PPC (deal with xlf below) 
7552           tmp_sharedflag
='-qmkshrobj' 
7555         case `$CC -V 2>&1 | sed 5q` in 
7556         *Sun\ C
*)                       # Sun C 5.9 
7557           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' 
7558           compiler_needs_object
=yes 
7559           tmp_sharedflag
='-G' ;; 
7560         *Sun\ F
*)                       # Sun Fortran 8.3 
7561           tmp_sharedflag
='-G' ;; 
7563         archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7565         if test "x$supports_anon_versioning" = xyes
; then 
7566           archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~ 
7567             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
7568             echo "local: *; };" >> $output_objdir/$libname.ver~ 
7569             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
7572         case $cc_basename in 
7574           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 
7575           whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive' 
7576           hardcode_libdir_flag_spec
= 
7577           hardcode_libdir_flag_spec_ld
='-rpath $libdir' 
7578           archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 
7579           if test "x$supports_anon_versioning" = xyes
; then 
7580             archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~ 
7581               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
7582               echo "local: *; };" >> $output_objdir/$libname.ver~ 
7583               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 
7592     netbsd
* | netbsdelf
*-gnu) 
7593       if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
7594         archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 
7597         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7598         archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7603       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then 
7607 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 
7608 *** create shared libraries on Solaris systems.  Therefore, libtool 
7609 *** is disabling shared libraries support.  We urge you to upgrade GNU 
7610 *** binutils to release 2.9.1 or newer.  Another option is to modify 
7611 *** your PATH or compiler configuration so that the native linker is 
7612 *** used, and then restart. 
7615       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7616         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7617         archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7623     sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*) 
7624       case `$LD -v 2>&1` in 
7625         *\ 
[01].
* | *\ 
2.
[0-9].
* | *\ 
2.1[0-5].
*) 
7629 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 
7630 *** reliably create shared libraries on SCO systems.  Therefore, libtool 
7631 *** is disabling shared libraries support.  We urge you to upgrade GNU 
7632 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify 
7633 *** your PATH or compiler configuration so that the native linker is 
7634 *** used, and then restart. 
7639           # For security reasons, it is highly recommended that you always 
7640           # use absolute paths for naming shared libraries, and exclude the 
7641           # DT_RUNPATH tag from executables and libraries.  But doing so 
7642           # requires that you compile everything twice, which is a pain. 
7643           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7644             hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
7645             archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7646             archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7655       archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
7658       hardcode_shlibpath_var
=no
 
7662       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
7663         archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7664         archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
7671     if test "$ld_shlibs" = no
; then 
7673       hardcode_libdir_flag_spec
= 
7674       export_dynamic_flag_spec
= 
7675       whole_archive_flag_spec
= 
7678     # PORTME fill in a description of your system's linker (not GNU ld) 
7681       allow_undefined_flag
=unsupported
 
7682       always_export_symbols
=yes 
7683       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' 
7684       # Note: this linker hardcodes the directories in LIBPATH if there 
7685       # are no directories specified by -L. 
7686       hardcode_minus_L
=yes 
7687       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 
7688         # Neither direct hardcoding nor static linking is supported with a 
7690         hardcode_direct
=unsupported
 
7695       if test "$host_cpu" = ia64
; then 
7696         # On IA64, the linker does run time linking by default, so we don't 
7697         # have to do anything special. 
7698         aix_use_runtimelinking
=no
 
7699         exp_sym_flag
='-Bexport' 
7702         # If we're using GNU nm, then we don't want the "-C" option. 
7703         # -C means demangle to AIX nm, but means don't demangle with GNU nm 
7704         if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then 
7705           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' 
7707           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' 
7709         aix_use_runtimelinking
=no
 
7711         # Test if we are trying to use run time linking or normal 
7712         # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
7713         # need to do runtime linking. 
7714         case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*) 
7715           for ld_flag 
in $LDFLAGS; do 
7716           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 
7717             aix_use_runtimelinking
=yes 
7724         exp_sym_flag
='-bexport' 
7725         no_entry_flag
='-bnoentry' 
7728       # When large executables or shared objects are built, AIX ld can 
7729       # have problems creating the table of contents.  If linking a library 
7730       # or program results in "error TOC overflow" add -mminimal-toc to 
7731       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
7732       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
7736       hardcode_direct_absolute
=yes 
7737       hardcode_libdir_separator
=':' 
7738       link_all_deplibs
=yes 
7739       file_list_spec
='${wl}-f,' 
7741       if test "$GCC" = yes; then 
7742         case $host_os in aix4.
[012]|aix4.
[012].
*) 
7743         # We only want to do this on AIX 4.2 and lower, the check 
7744         # below for broken collect2 doesn't work under 4.3+ 
7745           collect2name
=`${CC} -print-prog-name=collect2` 
7746           if test -f "$collect2name" && 
7747            strings "$collect2name" | $GREP resolve_lib_name 
>/dev
/null
 
7749           # We have reworked collect2 
7752           # We have old collect2 
7753           hardcode_direct
=unsupported
 
7754           # It fails to find uninstalled libraries when the uninstalled 
7755           # path is not listed in the libpath.  Setting hardcode_minus_L 
7756           # to unsupported forces relinking 
7757           hardcode_minus_L
=yes 
7758           hardcode_libdir_flag_spec
='-L$libdir' 
7759           hardcode_libdir_separator
= 
7763         shared_flag
='-shared' 
7764         if test "$aix_use_runtimelinking" = yes; then 
7765           shared_flag
="$shared_flag "'${wl}-G' 
7770         if test "$host_cpu" = ia64
; then 
7771         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 
7772         # chokes on -Wl,-G. The following line is correct: 
7775           if test "$aix_use_runtimelinking" = yes; then 
7776             shared_flag
='${wl}-G' 
7778             shared_flag
='${wl}-bM:SRE' 
7783       export_dynamic_flag_spec
='${wl}-bexpall' 
7784       # It seems that -bexpall does not export symbols beginning with 
7785       # underscore (_), so it is better to generate a list of symbols to export. 
7786       always_export_symbols
=yes 
7787       if test "$aix_use_runtimelinking" = yes; then 
7788         # Warning - without using the other runtime loading flags (-brtl), 
7789         # -berok will link without error, but may produce a broken library. 
7790         allow_undefined_flag
='-berok' 
7791         # Determine the default libpath from the value encoded in an 
7793         cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
7794 /* end confdefs.h.  */ 
7804 if ac_fn_c_try_link 
"$LINENO"; then : 
7806 lt_aix_libpath_sed
=' 
7807     /Import File Strings/,/^$/ { 
7813 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
7814 # Check for a 64-bit object if we didn't find anything. 
7815 if test -z "$aix_libpath"; then 
7816   aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
7819 rm -f core conftest.err conftest.
$ac_objext \
 
7820     conftest
$ac_exeext conftest.
$ac_ext 
7821 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi 
7823         hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath" 
7824         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" 
7826         if test "$host_cpu" = ia64
; then 
7827           hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib' 
7828           allow_undefined_flag
="-z nodefs" 
7829           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" 
7831          # Determine the default libpath from the value encoded in an 
7833          cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
7834 /* end confdefs.h.  */ 
7844 if ac_fn_c_try_link 
"$LINENO"; then : 
7846 lt_aix_libpath_sed
=' 
7847     /Import File Strings/,/^$/ { 
7853 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
7854 # Check for a 64-bit object if we didn't find anything. 
7855 if test -z "$aix_libpath"; then 
7856   aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
7859 rm -f core conftest.err conftest.
$ac_objext \
 
7860     conftest
$ac_exeext conftest.
$ac_ext 
7861 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi 
7863          hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath" 
7864           # Warning - without using the other run time loading flags, 
7865           # -berok will link without error, but may produce a broken library. 
7866           no_undefined_flag
=' ${wl}-bernotok' 
7867           allow_undefined_flag
=' ${wl}-berok' 
7868           # Exported symbols can be pulled into shared objects from archives 
7869           whole_archive_flag_spec
='$convenience' 
7870           archive_cmds_need_lc
=yes 
7871           # This is similar to how AIX traditionally builds its shared libraries. 
7872           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' 
7880             # see comment about AmigaOS4 .so support 
7881             archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
7882             archive_expsym_cmds
='' 
7885             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)' 
7886             hardcode_libdir_flag_spec
='-L$libdir' 
7887             hardcode_minus_L
=yes 
7893       export_dynamic_flag_spec
=-rdynamic 
7896     cygwin
* | mingw
* | pw32
* | cegcc
*) 
7897       # When not using gcc, we currently assume that we are using 
7898       # Microsoft Visual C++. 
7899       # hardcode_libdir_flag_spec is actually meaningless, as there is 
7900       # no search path for DLLs. 
7901       hardcode_libdir_flag_spec
=' ' 
7902       allow_undefined_flag
=unsupported
 
7903       # Tell ltmain to make .lib files, not .a files. 
7905       # Tell ltmain to make .dll files, not .so files. 
7907       # FIXME: Setting linknames here is a bad hack. 
7908       archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 
7909       # The linker will automatically build a .lib file if we build a DLL. 
7910       old_archive_from_new_cmds
='true' 
7911       # FIXME: Should let the user specify the lib program. 
7912       old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs' 
7913       fix_srcfile_path
='`cygpath -w "$srcfile"`' 
7914       enable_shared_with_static_runtimes
=yes 
7917     darwin
* | rhapsody
*) 
7920   archive_cmds_need_lc
=no
 
7922   hardcode_automatic
=yes 
7923   hardcode_shlibpath_var
=unsupported
 
7924   whole_archive_flag_spec
='' 
7925   link_all_deplibs
=yes 
7926   allow_undefined_flag
="$_lt_dar_allow_undefined" 
7927   case $cc_basename in 
7928      ifort
*) _lt_dar_can_shared
=yes ;; 
7929      *) _lt_dar_can_shared
=$GCC ;; 
7931   if test "$_lt_dar_can_shared" = "yes"; then 
7932     output_verbose_link_cmd
=echo 
7933     archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 
7934     module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 
7935     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}" 
7936     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}" 
7945       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
7946       hardcode_libdir_flag_spec
='-L$libdir' 
7947       hardcode_shlibpath_var
=no
 
7954     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 
7955     # support.  Future versions do this automatically, but an explicit c++rt0.o 
7956     # does not break anything, and helps significantly (at the cost of a little 
7959       archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 
7960       hardcode_libdir_flag_spec
='-R$libdir' 
7962       hardcode_shlibpath_var
=no
 
7965     # Unfortunately, older versions of FreeBSD 2 do not have this feature. 
7967       archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
7969       hardcode_minus_L
=yes 
7970       hardcode_shlibpath_var
=no
 
7973     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 
7974     freebsd
* | dragonfly
*) 
7975       archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 
7976       hardcode_libdir_flag_spec
='-R$libdir' 
7978       hardcode_shlibpath_var
=no
 
7982       if test "$GCC" = yes; then 
7983         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' 
7985         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' 
7987       hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
7988       hardcode_libdir_separator
=: 
7991       # hardcode_minus_L: Not really in the search PATH, 
7992       # but as the default location of the library. 
7993       hardcode_minus_L
=yes 
7994       export_dynamic_flag_spec
='${wl}-E' 
7998       if test "$GCC" = yes -a "$with_gnu_ld" = no
; then 
7999         archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
8001         archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 
8003       if test "$with_gnu_ld" = no
; then 
8004         hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
8005         hardcode_libdir_flag_spec_ld
='+b $libdir' 
8006         hardcode_libdir_separator
=: 
8008         hardcode_direct_absolute
=yes 
8009         export_dynamic_flag_spec
='${wl}-E' 
8010         # hardcode_minus_L: Not really in the search PATH, 
8011         # but as the default location of the library. 
8012         hardcode_minus_L
=yes 
8017       if test "$GCC" = yes -a "$with_gnu_ld" = no
; then 
8020           archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
8023           archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
8026           archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
8032           archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
8035           archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
8038           archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
8042       if test "$with_gnu_ld" = no
; then 
8043         hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir' 
8044         hardcode_libdir_separator
=: 
8049           hardcode_shlibpath_var
=no
 
8053           hardcode_direct_absolute
=yes 
8054           export_dynamic_flag_spec
='${wl}-E' 
8056           # hardcode_minus_L: Not really in the search PATH, 
8057           # but as the default location of the library. 
8058           hardcode_minus_L
=yes 
8064     irix5
* | irix6
* | nonstopux
*) 
8065       if test "$GCC" = yes; then 
8066         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' 
8067         # Try to use the -exported_symbol ld option, if it does not 
8068         # work, assume that -exports_file does not work either and 
8069         # implicitly export all symbols. 
8070         save_LDFLAGS
="$LDFLAGS" 
8071         LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 
8072         cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
8073 /* end confdefs.h.  */ 
8076 if ac_fn_c_try_link 
"$LINENO"; then : 
8077   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' 
8080 rm -f core conftest.err conftest.
$ac_objext \
 
8081     conftest
$ac_exeext conftest.
$ac_ext 
8082         LDFLAGS
="$save_LDFLAGS" 
8084         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' 
8085         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' 
8087       archive_cmds_need_lc
='no' 
8088       hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
8089       hardcode_libdir_separator
=: 
8091       link_all_deplibs
=yes 
8094     netbsd
* | netbsdelf
*-gnu) 
8095       if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
8096         archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out 
8098         archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF 
8100       hardcode_libdir_flag_spec
='-R$libdir' 
8102       hardcode_shlibpath_var
=no
 
8106       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8108       hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
8109       hardcode_libdir_separator
=: 
8110       hardcode_shlibpath_var
=no
 
8117       if test -f /usr
/libexec
/ld.so
; then 
8119         hardcode_shlibpath_var
=no
 
8120         hardcode_direct_absolute
=yes 
8121         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
8122           archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 
8123           archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 
8124           hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
8125           export_dynamic_flag_spec
='${wl}-E' 
8128            openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*) 
8129              archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
8130              hardcode_libdir_flag_spec
='-R$libdir' 
8133              archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 
8134              hardcode_libdir_flag_spec
='${wl}-rpath,$libdir' 
8144       hardcode_libdir_flag_spec
='-L$libdir' 
8145       hardcode_minus_L
=yes 
8146       allow_undefined_flag
=unsupported
 
8147       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' 
8148       old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 
8152       if test "$GCC" = yes; then 
8153         allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*' 
8154         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' 
8156         allow_undefined_flag
=' -expect_unresolved \*' 
8157         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' 
8159       archive_cmds_need_lc
='no' 
8160       hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
8161       hardcode_libdir_separator
=: 
8164     osf4
* | osf5
*)      # as osf3* with the addition of -msym flag 
8165       if test "$GCC" = yes; then 
8166         allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*' 
8167         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' 
8168         hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir' 
8170         allow_undefined_flag
=' -expect_unresolved \*' 
8171         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' 
8172         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~ 
8173         $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' 
8175         # Both c and cxx compiler support -rpath directly 
8176         hardcode_libdir_flag_spec
='-rpath $libdir' 
8178       archive_cmds_need_lc
='no' 
8179       hardcode_libdir_separator
=: 
8183       no_undefined_flag
=' -z defs' 
8184       if test "$GCC" = yes; then 
8186         archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
8187         archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
8188           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 
8190         case `$CC -V 2>&1` in 
8193           archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8194           archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
8195           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 
8199           archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 
8200           archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
8201           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 
8205       hardcode_libdir_flag_spec
='-R$libdir' 
8206       hardcode_shlibpath_var
=no
 
8208       solaris2.
[0-5] | solaris2.
[0-5].
*) ;; 
8210         # The compiler driver will combine and reorder linker options, 
8211         # but understands `-z linker_flag'.  GCC discards it without `$wl', 
8212         # but is careful enough not to reorder. 
8213         # Supported since Solaris 2.6 (maybe 2.5.1?) 
8214         if test "$GCC" = yes; then 
8215           whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 
8217           whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' 
8221       link_all_deplibs
=yes 
8225       if test "x$host_vendor" = xsequent
; then 
8226         # Use $CC to link under sequent, because it throws in some extra .o 
8227         # files that make .init and .fini sections work. 
8228         archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 
8230         archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 
8232       hardcode_libdir_flag_spec
='-L$libdir' 
8234       hardcode_minus_L
=yes 
8235       hardcode_shlibpath_var
=no
 
8239       case $host_vendor in 
8241           archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8242           hardcode_direct
=yes # is this really true??? 
8245           ## LD is ld it makes a PLAMLIB 
8246           ## CC just makes a GrossModule. 
8247           archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags' 
8248           reload_cmds
='$CC -r -o $output$reload_objs' 
8252           archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8253           hardcode_direct
=no 
#Motorola manual says yes, but my tests say they lie 
8256       runpath_var
='LD_RUN_PATH' 
8257       hardcode_shlibpath_var
=no
 
8261       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8262       hardcode_shlibpath_var
=no
 
8263       export_dynamic_flag_spec
='-Bexport' 
8267       if test -d /usr
/nec
; then 
8268         archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8269         hardcode_shlibpath_var
=no
 
8270         runpath_var
=LD_RUN_PATH
 
8271         hardcode_runpath_var
=yes 
8276     sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*) 
8277       no_undefined_flag
='${wl}-z,text' 
8278       archive_cmds_need_lc
=no
 
8279       hardcode_shlibpath_var
=no
 
8280       runpath_var
='LD_RUN_PATH' 
8282       if test "$GCC" = yes; then 
8283         archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8284         archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8286         archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8287         archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8291     sysv5
* | sco3.2v5
* | sco5v6
*) 
8292       # Note: We can NOT use -z defs as we might desire, because we do not 
8293       # link with -lc, and that would cause any symbols used from libc to 
8294       # always be unresolved, which means just about no library would 
8295       # ever link correctly.  If we're not using GNU ld we use -z text 
8296       # though, which does catch some bad symbols but isn't as heavy-handed 
8298       no_undefined_flag
='${wl}-z,text' 
8299       allow_undefined_flag
='${wl}-z,nodefs' 
8300       archive_cmds_need_lc
=no
 
8301       hardcode_shlibpath_var
=no
 
8302       hardcode_libdir_flag_spec
='${wl}-R,$libdir' 
8303       hardcode_libdir_separator
=':' 
8304       link_all_deplibs
=yes 
8305       export_dynamic_flag_spec
='${wl}-Bexport' 
8306       runpath_var
='LD_RUN_PATH' 
8308       if test "$GCC" = yes; then 
8309         archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8310         archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8312         archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8313         archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
8318       archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
8319       hardcode_libdir_flag_spec
='-L$libdir' 
8320       hardcode_shlibpath_var
=no
 
8328     if test x
$host_vendor = xsni
; then 
8330       sysv4 
| sysv4.2uw2
* | sysv4.3
* | sysv5
*) 
8331         export_dynamic_flag_spec
='${wl}-Blargedynsym' 
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 
8338 $as_echo "$ld_shlibs" >&6; } 
8339 test "$ld_shlibs" = no 
&& can_build_shared
=no
 
8341 with_gnu_ld
=$with_gnu_ld 
8358 # Do we need to explicitly link libc? 
8360 case "x$archive_cmds_need_lc" in 
8362   # Assume -lc should be added 
8363   archive_cmds_need_lc
=yes 
8365   if test "$enable_shared" = yes && test "$GCC" = yes; then 
8366     case $archive_cmds in 
8368       # FIXME: we may have to deal with multi-command sequences. 
8371       # Test whether the compiler implicitly links with -lc since on some 
8372       # systems, -lgcc has to come before -lc. If gcc already passes -lc 
8373       # to ld, don't add -lc before -lgcc. 
8374       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 
8375 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 
8377       echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
8379       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
8380   (eval $ac_compile) 2>&5 
8382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
8383   test $ac_status = 0; } 2>conftest.err
; then 
8386         libobjs
=conftest.
$ac_objext 
8388         wl
=$lt_prog_compiler_wl 
8389         pic_flag
=$lt_prog_compiler_pic 
8395         lt_save_allow_undefined_flag
=$allow_undefined_flag 
8396         allow_undefined_flag
= 
8397         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 
8398   (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null 
2\
>\
&1) 2>&5 
8400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
8401   test $ac_status = 0; } 
8403           archive_cmds_need_lc
=no
 
8405           archive_cmds_need_lc
=yes 
8407         allow_undefined_flag
=$lt_save_allow_undefined_flag 
8409         cat conftest.err 
1>&5 
8412       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 
8413 $as_echo "$archive_cmds_need_lc" >&6; } 
8576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 
8577 $as_echo_n "checking dynamic linker characteristics... " >&6; } 
8579 if test "$GCC" = yes; then 
8581     darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;; 
8582     *) lt_awk_arg
="/^libraries:/" ;; 
8584   lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
8585   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null 
; then 
8586     # if the path contains ";" then we assume it to be the separator 
8587     # otherwise default to the standard path separator (i.e. ":") - it is 
8588     # assumed that no part of a normal pathname contains ";" but that should 
8589     # okay in the real world where ";" in dirpaths is itself problematic. 
8590     lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 
8592     lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
8594   # Ok, now we have the path, separated by spaces, we can step through it 
8595   # and add multilib dir if necessary. 
8596   lt_tmp_lt_search_path_spec
= 
8597   lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 
8598   for lt_sys_path 
in $lt_search_path_spec; do 
8599     if test -d "$lt_sys_path/$lt_multi_os_dir"; then 
8600       lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 
8602       test -d "$lt_sys_path" && \
 
8603         lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path" 
8606   lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 
8607 BEGIN {RS=" "; FS="/|\n";} { 
8610   for (lt_i = NF; lt_i > 0; lt_i--) { 
8611     if ($lt_i != "" && $lt_i != ".") { 
8612       if ($lt_i == "..") { 
8615         if (lt_count == 0) { 
8616           lt_foo="/" $lt_i lt_foo; 
8623   if (lt_foo != "") { lt_freq[lt_foo]++; } 
8624   if (lt_freq[lt_foo] == 1) { print lt_foo; } 
8626   sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec` 
8628   sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib" 
8631 libname_spec
='lib$name' 
8639 shlibpath_overrides_runpath
=unknown
 
8641 dynamic_linker
="$host_os ld.so" 
8642 sys_lib_dlsearch_path_spec
="/lib /usr/lib" 
8643 need_lib_prefix
=unknown
 
8644 hardcode_into_libs
=no
 
8646 # when you set need_version to no, make sure it does not cause -set_version 
8647 # flags to be left without arguments 
8648 need_version
=unknown
 
8653   library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a' 
8654   shlibpath_var
=LIBPATH
 
8656   # AIX 3 has no versioning support, so we append a major version to the name. 
8657   soname_spec
='${libname}${release}${shared_ext}$major' 
8664   hardcode_into_libs
=yes 
8665   if test "$host_cpu" = ia64
; then 
8666     # AIX 5 supports IA64 
8667     library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 
8668     shlibpath_var
=LD_LIBRARY_PATH
 
8670     # With GCC up to 2.95.x, collect2 would create an import file 
8671     # for dependence libraries.  The import file would start with 
8672     # the line `#! .'.  This would cause the generated library to 
8673     # depend on `.', always an invalid library.  This was fixed in 
8674     # development snapshots of GCC prior to 3.0. 
8676       aix4 
| aix4.
[01] | aix4.
[01].
*) 
8677       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
8679            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then 
8686     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 
8687     # soname into executable. Probably we can add versioning support to 
8688     # collect2, so additional links can be useful in future. 
8689     if test "$aix_use_runtimelinking" = yes; then 
8690       # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
8691       # instead of lib<name>.a to let people know that these are not 
8692       # typical AIX shared libraries. 
8693       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8695       # We preserve .a as extension for shared libraries through AIX4.2 
8696       # and later when we are not doing run time linking. 
8697       library_names_spec
='${libname}${release}.a $libname.a' 
8698       soname_spec
='${libname}${release}${shared_ext}$major' 
8700     shlibpath_var
=LIBPATH
 
8707     # Since July 2007 AmigaOS4 officially supports .so libraries. 
8708     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 
8709     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8712     library_names_spec
='$libname.ixlibrary $libname.a' 
8713     # Create ${libname}_ixlibrary.a entries in /sys/libs. 
8714     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' 
8720   library_names_spec
='${libname}${shared_ext}' 
8721   dynamic_linker
="$host_os ld.so" 
8722   shlibpath_var
=LIBRARY_PATH
 
8728   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8729   soname_spec
='${libname}${release}${shared_ext}$major' 
8730   finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir' 
8731   shlibpath_var
=LD_LIBRARY_PATH
 
8732   sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
8733   sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib" 
8734   # the default ld.so.conf also contains /usr/contrib/lib and 
8735   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
8736   # libtool to hard-code these into programs 
8739 cygwin
* | mingw
* | pw32
* | cegcc
*) 
8740   version_type
=windows
 
8745   case $GCC,$host_os in 
8746   yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*) 
8747     library_names_spec
='$libname.dll.a' 
8748     # DLL is installed to $(libdir)/../bin by postinstall_cmds 
8749     postinstall_cmds
='base_file=`basename \${file}`~ 
8750       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 
8751       dldir=$destdir/`dirname \$dlpath`~ 
8752       test -d \$dldir || mkdir -p \$dldir~ 
8753       $install_prog $dir/$dlname \$dldir/$dlname~ 
8754       chmod a+x \$dldir/$dlname~ 
8755       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 
8756         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 
8758     postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
8759       dlpath=$dir/\$dldll~ 
8761     shlibpath_overrides_runpath
=yes 
8765       # Cygwin DLLs use 'cyg' prefix rather than 'lib' 
8766       soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
8767       sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib" 
8770       # MinGW DLLs use traditional 'lib' prefix 
8771       soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
8772       sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
8773       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then 
8774         # It is most probably a Windows format PATH printed by 
8775         # mingw gcc, but we are running on Cygwin. Gcc prints its search 
8776         # path with ; separators, and with drive letters. We can handle the 
8777         # drive letters (cygwin fileutils understands them), so leave them, 
8778         # especially as we might pass files found there to a mingw objdump, 
8779         # which wouldn't understand a cygwinified path. Ahh. 
8780         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
8782         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
8786       # pw32 DLLs use 'pw' prefix rather than 'lib' 
8787       library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
8793     library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib' 
8796   dynamic_linker
='Win32 ld.exe' 
8797   # FIXME: first we should search . and the directory the executable is in 
8801 darwin
* | rhapsody
*) 
8802   dynamic_linker
="$host_os dyld" 
8806   library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
8807   soname_spec
='${libname}${release}${major}$shared_ext' 
8808   shlibpath_overrides_runpath
=yes 
8809   shlibpath_var
=DYLD_LIBRARY_PATH
 
8810   shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`' 
8812   sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib" 
8813   sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib' 
8820   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 
8821   soname_spec
='${libname}${release}${shared_ext}$major' 
8822   shlibpath_var
=LD_LIBRARY_PATH
 
8829 freebsd
* | dragonfly
*) 
8830   # DragonFly does not have aout.  When/if they implement a new 
8831   # versioning mechanism, adjust this. 
8832   if test -x /usr
/bin
/objformat
; then 
8833     objformat
=`/usr/bin/objformat` 
8836     freebsd
[123]*) objformat
=aout 
;; 
8840   version_type
=freebsd
-$objformat 
8841   case $version_type in 
8843       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
8848       library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 
8852   shlibpath_var
=LD_LIBRARY_PATH
 
8855     shlibpath_overrides_runpath
=yes 
8857   freebsd3.
[01]* | freebsdelf3.
[01]*) 
8858     shlibpath_overrides_runpath
=yes 
8859     hardcode_into_libs
=yes 
8861   freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
 
8862   freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1) 
8863     shlibpath_overrides_runpath
=no
 
8864     hardcode_into_libs
=yes 
8866   *) # from 4.6 on, and DragonFly 
8867     shlibpath_overrides_runpath
=yes 
8868     hardcode_into_libs
=yes 
8877   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
8878   soname_spec
='${libname}${release}${shared_ext}$major' 
8879   shlibpath_var
=LD_LIBRARY_PATH
 
8880   hardcode_into_libs
=yes 
8883 hpux9
* | hpux10
* | hpux11
*) 
8884   # Give a soname corresponding to the major version so that dld.sl refuses to 
8885   # link against other versions. 
8892     hardcode_into_libs
=yes 
8893     dynamic_linker
="$host_os dld.so" 
8894     shlibpath_var
=LD_LIBRARY_PATH
 
8895     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
8896     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8897     soname_spec
='${libname}${release}${shared_ext}$major' 
8898     if test "X$HPUX_IA64_MODE" = X32
; then 
8899       sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 
8901       sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64" 
8903     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
8907     hardcode_into_libs
=yes 
8908     dynamic_linker
="$host_os dld.sl" 
8909     shlibpath_var
=LD_LIBRARY_PATH 
# How should we handle SHLIB_PATH 
8910     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
8911     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8912     soname_spec
='${libname}${release}${shared_ext}$major' 
8913     sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 
8914     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
8918     dynamic_linker
="$host_os dld.sl" 
8919     shlibpath_var
=SHLIB_PATH
 
8920     shlibpath_overrides_runpath
=no 
# +s is required to enable SHLIB_PATH 
8921     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8922     soname_spec
='${libname}${release}${shared_ext}$major' 
8925   # HP-UX runs *really* slowly unless shared libraries are mode 555. 
8926   postinstall_cmds
='chmod 555 $lib' 
8933   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
8934   soname_spec
='${libname}${release}${shared_ext}$major' 
8935   dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)' 
8936   shlibpath_var
=LD_LIBRARY_PATH
 
8937   shlibpath_overrides_runpath
=no
 
8938   hardcode_into_libs
=yes 
8941 irix5
* | irix6
* | nonstopux
*) 
8943     nonstopux
*) version_type
=nonstopux 
;; 
8945         if test "$lt_cv_prog_gnu_ld" = yes; then 
8953   soname_spec
='${libname}${release}${shared_ext}$major' 
8954   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 
8956   irix5
* | nonstopux
*) 
8960     case $LD in # libtool.m4 will add one of these switches to LD 
8961     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
8962       libsuff
= shlibsuff
= libmagic
=32-bit;; 
8963     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 
8964       libsuff
=32 shlibsuff
=N32 libmagic
=N32
;; 
8965     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 
8966       libsuff
=64 shlibsuff
=64 libmagic
=64-bit;; 
8967     *) libsuff
= shlibsuff
= libmagic
=never
-match;; 
8971   shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
 
8972   shlibpath_overrides_runpath
=no
 
8973   sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
8974   sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}" 
8975   hardcode_into_libs
=yes 
8978 # No shared lib support for Linux oldld, aout, or coff. 
8979 linux
*oldld
* | linux
*aout
* | linux
*coff
*) 
8983 # This must be Linux ELF. 
8984 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu) 
8988   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
8989   soname_spec
='${libname}${release}${shared_ext}$major' 
8990   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
8991   shlibpath_var
=LD_LIBRARY_PATH
 
8992   shlibpath_overrides_runpath
=no
 
8993   # Some binutils ld are patched to set DT_RUNPATH 
8994   save_LDFLAGS
=$LDFLAGS 
8996   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 
8997        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 
8998   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
8999 /* end confdefs.h.  */ 
9009 if ac_fn_c_try_link 
"$LINENO"; then : 
9010   if  ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null 
| grep "RUNPATH.*$libdir" >/dev
/null
; then : 
9011   shlibpath_overrides_runpath
=yes 
9014 rm -f core conftest.err conftest.
$ac_objext \
 
9015     conftest
$ac_exeext conftest.
$ac_ext 
9016   LDFLAGS
=$save_LDFLAGS 
9019   # This implies no fast_install, which is unacceptable. 
9020   # Some rework will be needed to allow for fast_install 
9021   # before this can be enabled. 
9022   hardcode_into_libs
=yes 
9024   # Append ld.so.conf contents to the search path 
9025   if test -f /etc
/ld.so.conf
; then 
9026     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' ' '` 
9027     sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra" 
9030   # We used to test for /lib/ld.so.1 and disable shared libraries on 
9031   # powerpc, because MkLinux only supported shared libraries with the 
9032   # GNU dynamic linker.  Since this was broken with cross compilers, 
9033   # most powerpc-linux boxes support dynamic linking these days and 
9034   # people can always --disable-shared, the test was removed, and we 
9035   # assume the GNU/Linux dynamic linker is in use. 
9036   dynamic_linker
='GNU/Linux ld.so' 
9043   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
9044   soname_spec
='${libname}${release}${shared_ext}$major' 
9045   shlibpath_var
=LD_LIBRARY_PATH
 
9046   shlibpath_overrides_runpath
=no
 
9047   hardcode_into_libs
=yes 
9048   dynamic_linker
='NetBSD ld.elf_so' 
9055   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
9056     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
9057     finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
9058     dynamic_linker
='NetBSD (a.out) ld.so' 
9060     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
9061     soname_spec
='${libname}${release}${shared_ext}$major' 
9062     dynamic_linker
='NetBSD ld.elf_so' 
9064   shlibpath_var
=LD_LIBRARY_PATH
 
9065   shlibpath_overrides_runpath
=yes 
9066   hardcode_into_libs
=yes 
9071   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9072   shlibpath_var
=LD_LIBRARY_PATH
 
9073   shlibpath_overrides_runpath
=yes 
9080   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9081   soname_spec
='${libname}${release}${shared_ext}$major' 
9082   shlibpath_var
=LD_LIBRARY_PATH
 
9083   shlibpath_overrides_runpath
=no
 
9084   hardcode_into_libs
=yes 
9085   dynamic_linker
='ldqnx.so' 
9090   sys_lib_dlsearch_path_spec
="/usr/lib" 
9092   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
9094     openbsd3.3 
| openbsd3.3.
*)  need_version
=yes ;; 
9095     *)                          need_version
=no  
;; 
9097   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
9098   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
9099   shlibpath_var
=LD_LIBRARY_PATH
 
9100   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
9102       openbsd2.
[89] | openbsd2.
[89].
*) 
9103         shlibpath_overrides_runpath
=no
 
9106         shlibpath_overrides_runpath
=yes 
9110     shlibpath_overrides_runpath
=yes 
9115   libname_spec
='$name' 
9118   library_names_spec
='$libname${shared_ext} $libname.a' 
9119   dynamic_linker
='OS/2 ld.exe' 
9120   shlibpath_var
=LIBPATH
 
9123 osf3
* | osf4
* | osf5
*) 
9127   soname_spec
='${libname}${release}${shared_ext}$major' 
9128   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9129   shlibpath_var
=LD_LIBRARY_PATH
 
9130   sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
9131   sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec" 
9142   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9143   soname_spec
='${libname}${release}${shared_ext}$major' 
9144   shlibpath_var
=LD_LIBRARY_PATH
 
9145   shlibpath_overrides_runpath
=yes 
9146   hardcode_into_libs
=yes 
9147   # ldd complains unless libraries are executable 
9148   postinstall_cmds
='chmod +x $lib' 
9153   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
9154   finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
9155   shlibpath_var
=LD_LIBRARY_PATH
 
9156   shlibpath_overrides_runpath
=yes 
9157   if test "$with_gnu_ld" = yes; then 
9165   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9166   soname_spec
='${libname}${release}${shared_ext}$major' 
9167   shlibpath_var
=LD_LIBRARY_PATH
 
9168   case $host_vendor in 
9170       shlibpath_overrides_runpath
=no
 
9172       runpath_var
=LD_RUN_PATH
 
9180       shlibpath_overrides_runpath
=no
 
9181       sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib' 
9187   if test -d /usr
/nec 
;then 
9189     library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 
9190     soname_spec
='$libname${shared_ext}.$major' 
9191     shlibpath_var
=LD_LIBRARY_PATH
 
9195 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*) 
9196   version_type
=freebsd
-elf 
9199   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
9200   soname_spec
='${libname}${release}${shared_ext}$major' 
9201   shlibpath_var
=LD_LIBRARY_PATH
 
9202   shlibpath_overrides_runpath
=yes 
9203   hardcode_into_libs
=yes 
9204   if test "$with_gnu_ld" = yes; then 
9205     sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
9207     sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib' 
9210         sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib" 
9214   sys_lib_dlsearch_path_spec
='/usr/lib' 
9218   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux. 
9222   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9223   shlibpath_var
=LD_LIBRARY_PATH
 
9224   shlibpath_overrides_runpath
=no
 
9225   hardcode_into_libs
=yes 
9230   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
9231   soname_spec
='${libname}${release}${shared_ext}$major' 
9232   shlibpath_var
=LD_LIBRARY_PATH
 
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 
9240 $as_echo "$dynamic_linker" >&6; } 
9241 test "$dynamic_linker" = no 
&& can_build_shared
=no
 
9243 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var" 
9244 if test "$GCC" = yes; then 
9245   variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
9248 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 
9249   sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec" 
9251 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 
9252   sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec" 
9341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 
9342 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 
9344 if test -n "$hardcode_libdir_flag_spec" || 
9345    test -n "$runpath_var" || 
9346    test "X$hardcode_automatic" = "Xyes" ; then 
9348   # We can hardcode non-existent directories. 
9349   if test "$hardcode_direct" != no 
&& 
9350      # If the only mechanism to avoid hardcoding is shlibpath_var, we 
9351      # have to relink, otherwise we might link with an installed library 
9352      # when we should be linking with a yet-to-be-installed one 
9353      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 
9354      test "$hardcode_minus_L" != no
; then 
9355     # Linking always hardcodes the temporary library directory. 
9356     hardcode_action
=relink
 
9358     # We can link without hardcoding, and we can hardcode nonexisting dirs. 
9359     hardcode_action
=immediate
 
9362   # We cannot hardcode anything, or else we can only hardcode existing 
9364   hardcode_action
=unsupported
 
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 
9367 $as_echo "$hardcode_action" >&6; } 
9369 if test "$hardcode_action" = relink 
|| 
9370    test "$inherit_rpath" = yes; then 
9371   # Fast installation is not supported 
9372   enable_fast_install
=no
 
9373 elif test "$shlibpath_overrides_runpath" = yes || 
9374      test "$enable_shared" = no
; then 
9375   # Fast installation is not necessary 
9376   enable_fast_install
=needless
 
9384   if test "x$enable_dlopen" != xyes
; then 
9385   enable_dlopen
=unknown
 
9386   enable_dlopen_self
=unknown
 
9387   enable_dlopen_self_static
=unknown
 
9394     lt_cv_dlopen
="load_add_on" 
9396     lt_cv_dlopen_self
=yes 
9399   mingw
* | pw32
* | cegcc
*) 
9400     lt_cv_dlopen
="LoadLibrary" 
9405     lt_cv_dlopen
="dlopen" 
9410   # if libdl is installed we need to link against it 
9411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 
9412 $as_echo_n "checking for dlopen in -ldl... " >&6; } 
9413 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 
9414   $as_echo_n "(cached) " >&6 
9416   ac_check_lib_save_LIBS
=$LIBS 
9418 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
9419 /* end confdefs.h.  */ 
9421 /* Override any GCC internal prototype to avoid an error. 
9422    Use char because int might match the return type of a GCC 
9423    builtin and then its argument prototype would still apply.  */ 
9436 if ac_fn_c_try_link 
"$LINENO"; then : 
9437   ac_cv_lib_dl_dlopen
=yes 
9439   ac_cv_lib_dl_dlopen
=no
 
9441 rm -f core conftest.err conftest.
$ac_objext \
 
9442     conftest
$ac_exeext conftest.
$ac_ext 
9443 LIBS
=$ac_check_lib_save_LIBS 
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 
9446 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 
9447 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then : 
9448   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl" 
9453     lt_cv_dlopen_self
=yes 
9460     ac_fn_c_check_func 
"$LINENO" "shl_load" "ac_cv_func_shl_load" 
9461 if test "x$ac_cv_func_shl_load" = x
""yes; then : 
9462   lt_cv_dlopen
="shl_load" 
9464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 
9465 $as_echo_n "checking for shl_load in -ldld... " >&6; } 
9466 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 
9467   $as_echo_n "(cached) " >&6 
9469   ac_check_lib_save_LIBS
=$LIBS 
9471 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
9472 /* end confdefs.h.  */ 
9474 /* Override any GCC internal prototype to avoid an error. 
9475    Use char because int might match the return type of a GCC 
9476    builtin and then its argument prototype would still apply.  */ 
9489 if ac_fn_c_try_link 
"$LINENO"; then : 
9490   ac_cv_lib_dld_shl_load
=yes 
9492   ac_cv_lib_dld_shl_load
=no
 
9494 rm -f core conftest.err conftest.
$ac_objext \
 
9495     conftest
$ac_exeext conftest.
$ac_ext 
9496 LIBS
=$ac_check_lib_save_LIBS 
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 
9499 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 
9500 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then : 
9501   lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld" 
9503   ac_fn_c_check_func 
"$LINENO" "dlopen" "ac_cv_func_dlopen" 
9504 if test "x$ac_cv_func_dlopen" = x
""yes; then : 
9505   lt_cv_dlopen
="dlopen" 
9507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 
9508 $as_echo_n "checking for dlopen in -ldl... " >&6; } 
9509 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 
9510   $as_echo_n "(cached) " >&6 
9512   ac_check_lib_save_LIBS
=$LIBS 
9514 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
9515 /* end confdefs.h.  */ 
9517 /* Override any GCC internal prototype to avoid an error. 
9518    Use char because int might match the return type of a GCC 
9519    builtin and then its argument prototype would still apply.  */ 
9532 if ac_fn_c_try_link 
"$LINENO"; then : 
9533   ac_cv_lib_dl_dlopen
=yes 
9535   ac_cv_lib_dl_dlopen
=no
 
9537 rm -f core conftest.err conftest.
$ac_objext \
 
9538     conftest
$ac_exeext conftest.
$ac_ext 
9539 LIBS
=$ac_check_lib_save_LIBS 
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 
9542 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 
9543 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then : 
9544   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl" 
9546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 
9547 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 
9548 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 
9549   $as_echo_n "(cached) " >&6 
9551   ac_check_lib_save_LIBS
=$LIBS 
9553 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
9554 /* end confdefs.h.  */ 
9556 /* Override any GCC internal prototype to avoid an error. 
9557    Use char because int might match the return type of a GCC 
9558    builtin and then its argument prototype would still apply.  */ 
9571 if ac_fn_c_try_link 
"$LINENO"; then : 
9572   ac_cv_lib_svld_dlopen
=yes 
9574   ac_cv_lib_svld_dlopen
=no
 
9576 rm -f core conftest.err conftest.
$ac_objext \
 
9577     conftest
$ac_exeext conftest.
$ac_ext 
9578 LIBS
=$ac_check_lib_save_LIBS 
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 
9581 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 
9582 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then : 
9583   lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld" 
9585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 
9586 $as_echo_n "checking for dld_link in -ldld... " >&6; } 
9587 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 
9588   $as_echo_n "(cached) " >&6 
9590   ac_check_lib_save_LIBS
=$LIBS 
9592 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
9593 /* end confdefs.h.  */ 
9595 /* Override any GCC internal prototype to avoid an error. 
9596    Use char because int might match the return type of a GCC 
9597    builtin and then its argument prototype would still apply.  */ 
9610 if ac_fn_c_try_link 
"$LINENO"; then : 
9611   ac_cv_lib_dld_dld_link
=yes 
9613   ac_cv_lib_dld_dld_link
=no
 
9615 rm -f core conftest.err conftest.
$ac_objext \
 
9616     conftest
$ac_exeext conftest.
$ac_ext 
9617 LIBS
=$ac_check_lib_save_LIBS 
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 
9620 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 
9621 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then : 
9622   lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld" 
9643   if test "x$lt_cv_dlopen" != xno
; then 
9649   case $lt_cv_dlopen in 
9651     save_CPPFLAGS
="$CPPFLAGS" 
9652     test "x$ac_cv_header_dlfcn_h" = xyes 
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H" 
9654     save_LDFLAGS
="$LDFLAGS" 
9655     wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\" 
9658     LIBS
="$lt_cv_dlopen_libs $LIBS" 
9660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 
9661 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 
9662 if test "${lt_cv_dlopen_self+set}" = set; then : 
9663   $as_echo_n "(cached) " >&6 
9665           if test "$cross_compiling" = yes; then : 
9666   lt_cv_dlopen_self
=cross
 
9668   lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2 
9669   lt_status
=$lt_dlunknown 
9670   cat > conftest.
$ac_ext <<_LT_EOF 
9671 #line 9671 "configure" 
9672 #include "confdefs.h" 
9681 #  define LT_DLGLOBAL           RTLD_GLOBAL 
9684 #    define LT_DLGLOBAL         DL_GLOBAL 
9686 #    define LT_DLGLOBAL         0 
9690 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
9691    find out it does not work in some platform. */ 
9692 #ifndef LT_DLLAZY_OR_NOW 
9694 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
9697 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
9700 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
9703 #          define LT_DLLAZY_OR_NOW      DL_NOW 
9705 #          define LT_DLLAZY_OR_NOW      0 
9712 void fnord() { int i=42;} 
9715   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
9716   int status = $lt_dlunknown; 
9720       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
9721       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
9722       /* dlclose (self); */ 
9730   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 
9731   (eval $ac_link) 2>&5 
9733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
9734   test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then 
9735     (.
/conftest
; exit; ) >&5 2>/dev
/null
 
9738       x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;; 
9739       x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;; 
9740       x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no 
;; 
9743     # compilation failed 
9744     lt_cv_dlopen_self
=no
 
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 
9752 $as_echo "$lt_cv_dlopen_self" >&6; } 
9754     if test "x$lt_cv_dlopen_self" = xyes
; then 
9755       wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\" 
9756       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 
9757 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 
9758 if test "${lt_cv_dlopen_self_static+set}" = set; then : 
9759   $as_echo_n "(cached) " >&6 
9761           if test "$cross_compiling" = yes; then : 
9762   lt_cv_dlopen_self_static
=cross
 
9764   lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2 
9765   lt_status
=$lt_dlunknown 
9766   cat > conftest.
$ac_ext <<_LT_EOF 
9767 #line 9767 "configure" 
9768 #include "confdefs.h" 
9777 #  define LT_DLGLOBAL           RTLD_GLOBAL 
9780 #    define LT_DLGLOBAL         DL_GLOBAL 
9782 #    define LT_DLGLOBAL         0 
9786 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
9787    find out it does not work in some platform. */ 
9788 #ifndef LT_DLLAZY_OR_NOW 
9790 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
9793 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
9796 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
9799 #          define LT_DLLAZY_OR_NOW      DL_NOW 
9801 #          define LT_DLLAZY_OR_NOW      0 
9808 void fnord() { int i=42;} 
9811   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
9812   int status = $lt_dlunknown; 
9816       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
9817       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
9818       /* dlclose (self); */ 
9826   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 
9827   (eval $ac_link) 2>&5 
9829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
9830   test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then 
9831     (.
/conftest
; exit; ) >&5 2>/dev
/null
 
9834       x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;; 
9835       x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;; 
9836       x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no 
;; 
9839     # compilation failed 
9840     lt_cv_dlopen_self_static
=no
 
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 
9848 $as_echo "$lt_cv_dlopen_self_static" >&6; } 
9851     CPPFLAGS
="$save_CPPFLAGS" 
9852     LDFLAGS
="$save_LDFLAGS" 
9857   case $lt_cv_dlopen_self in 
9858   yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;; 
9859   *) enable_dlopen_self
=unknown 
;; 
9862   case $lt_cv_dlopen_self_static in 
9863   yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;; 
9864   *) enable_dlopen_self_static
=unknown 
;; 
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 
9887 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 
9888 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then 
9889   test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug" 
9890   test -z "$striplib" && striplib
="$STRIP --strip-unneeded" 
9891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
9892 $as_echo "yes" >&6; } 
9894 # FIXME - insert some real tests, host_os isn't really good enough 
9897     if test -n "$STRIP" ; then 
9898       striplib
="$STRIP -x" 
9899       old_striplib
="$STRIP -S" 
9900       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
9901 $as_echo "yes" >&6; } 
9903       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
9904 $as_echo "no" >&6; } 
9908     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
9909 $as_echo "no" >&6; } 
9925   # Report which library types will actually be built 
9926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 
9927 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 
9928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 
9929 $as_echo "$can_build_shared" >&6; } 
9931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 
9932 $as_echo_n "checking whether to build shared libraries... " >&6; } 
9933   test "$can_build_shared" = "no" && enable_shared
=no
 
9935   # On AIX, shared libraries and static libraries use the same namespace, and 
9936   # are all built from PIC. 
9939     test "$enable_shared" = yes && enable_static
=no
 
9940     if test -n "$RANLIB"; then 
9941       archive_cmds
="$archive_cmds~\$RANLIB \$lib" 
9942       postinstall_cmds
='$RANLIB $lib' 
9947     if test "$host_cpu" != ia64 
&& test "$aix_use_runtimelinking" = no 
; then 
9948       test "$enable_shared" = yes && enable_static
=no
 
9952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 
9953 $as_echo "$enable_shared" >&6; } 
9955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 
9956 $as_echo_n "checking whether to build static libraries... " >&6; } 
9957   # Make sure either enable_shared or enable_static is yes. 
9958   test "$enable_shared" = yes || enable_static
=yes 
9959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 
9960 $as_echo "$enable_static" >&6; } 
9967 ac_cpp
='$CPP $CPPFLAGS' 
9968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
9969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
9970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
9986         ac_config_commands
="$ac_config_commands libtool" 
9996 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 
9997         if test -n "$ac_tool_prefix"; then 
9998   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 
9999 set dummy 
${ac_tool_prefix}pkg
-config; ac_word
=$2 
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
10001 $as_echo_n "checking for $ac_word... " >&6; } 
10002 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 
10003   $as_echo_n "(cached) " >&6 
10005   case $PKG_CONFIG in 
10007   ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path. 
10010   as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
10011 for as_dir 
in $PATH 
10014   test -z "$as_dir" && as_dir
=.
 
10015     for ac_exec_ext 
in '' $ac_executable_extensions; do 
10016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10017     ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext" 
10018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
10028 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG 
10029 if test -n "$PKG_CONFIG"; then 
10030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 
10031 $as_echo "$PKG_CONFIG" >&6; } 
10033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10034 $as_echo "no" >&6; } 
10039 if test -z "$ac_cv_path_PKG_CONFIG"; then 
10040   ac_pt_PKG_CONFIG
=$PKG_CONFIG 
10041   # Extract the first word of "pkg-config", so it can be a program name with args. 
10042 set dummy pkg
-config; ac_word
=$2 
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
10044 $as_echo_n "checking for $ac_word... " >&6; } 
10045 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 
10046   $as_echo_n "(cached) " >&6 
10048   case $ac_pt_PKG_CONFIG in 
10050   ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 
10053   as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
10054 for as_dir 
in $PATH 
10057   test -z "$as_dir" && as_dir
=.
 
10058     for ac_exec_ext 
in '' $ac_executable_extensions; do 
10059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10060     ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext" 
10061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
10071 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG 
10072 if test -n "$ac_pt_PKG_CONFIG"; then 
10073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 
10074 $as_echo "$ac_pt_PKG_CONFIG" >&6; } 
10076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10077 $as_echo "no" >&6; } 
10080   if test "x$ac_pt_PKG_CONFIG" = x
; then 
10083     case $cross_compiling:$ac_tool_warned in 
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
10086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
10087 ac_tool_warned
=yes ;; 
10089     PKG_CONFIG
=$ac_pt_PKG_CONFIG 
10092   PKG_CONFIG
="$ac_cv_path_PKG_CONFIG" 
10096 if test -n "$PKG_CONFIG"; then 
10097         _pkg_min_version
=0.22 
10098         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 
10099 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 
10100         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 
10101                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
10102 $as_echo "yes" >&6; } 
10104                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10105 $as_echo "no" >&6; } 
10111 ac_cpp
='$CXXCPP $CPPFLAGS' 
10112 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10113 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10114 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
10115 if test -z "$CXX"; then 
10116   if test -n "$CCC"; then 
10119     if test -n "$ac_tool_prefix"; then 
10120   for ac_prog 
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
 
10122     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
10123 set dummy 
$ac_tool_prefix$ac_prog; ac_word
=$2 
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
10125 $as_echo_n "checking for $ac_word... " >&6; } 
10126 if test "${ac_cv_prog_CXX+set}" = set; then : 
10127   $as_echo_n "(cached) " >&6 
10129   if test -n "$CXX"; then 
10130   ac_cv_prog_CXX
="$CXX" # Let the user override the test. 
10132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
10133 for as_dir 
in $PATH 
10136   test -z "$as_dir" && as_dir
=.
 
10137     for ac_exec_ext 
in '' $ac_executable_extensions; do 
10138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10139     ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog" 
10140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
10149 CXX
=$ac_cv_prog_CXX 
10150 if test -n "$CXX"; then 
10151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
10152 $as_echo "$CXX" >&6; } 
10154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10155 $as_echo "no" >&6; } 
10159     test -n "$CXX" && break 
10162 if test -z "$CXX"; then 
10164   for ac_prog 
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
 
10166   # Extract the first word of "$ac_prog", so it can be a program name with args. 
10167 set dummy 
$ac_prog; ac_word
=$2 
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
10169 $as_echo_n "checking for $ac_word... " >&6; } 
10170 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
10171   $as_echo_n "(cached) " >&6 
10173   if test -n "$ac_ct_CXX"; then 
10174   ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test. 
10176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
10177 for as_dir 
in $PATH 
10180   test -z "$as_dir" && as_dir
=.
 
10181     for ac_exec_ext 
in '' $ac_executable_extensions; do 
10182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10183     ac_cv_prog_ac_ct_CXX
="$ac_prog" 
10184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
10193 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX 
10194 if test -n "$ac_ct_CXX"; then 
10195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
10196 $as_echo "$ac_ct_CXX" >&6; } 
10198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10199 $as_echo "no" >&6; } 
10203   test -n "$ac_ct_CXX" && break 
10206   if test "x$ac_ct_CXX" = x
; then 
10209     case $cross_compiling:$ac_tool_warned in 
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
10212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
10213 ac_tool_warned
=yes ;; 
10221 # Provide some information about the compiler. 
10222 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
10225 for ac_option 
in --version -v -V -qversion; do 
10226   { { ac_try
="$ac_compiler $ac_option >&5" 
10227 case "(($ac_try" in 
10228   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
10229   *) ac_try_echo=$ac_try;; 
10231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
10232 $as_echo "$ac_try_echo"; } >&5 
10233   (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
10235   if test -s conftest.err; then 
10237 ... rest of stderr output deleted ... 
10238          10q' conftest.err >conftest.er1 
10239     cat conftest.er1 >&5 
10241   rm -f conftest.er1 conftest.err 
10242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
10243   test $ac_status = 0; } 
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
10247 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
10248 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
10249   $as_echo_n "(cached) " >&6 
10251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
10252 /* end confdefs.h.  */ 
10265 if ac_fn_cxx_try_compile "$LINENO"; then : 
10266   ac_compiler_gnu=yes 
10270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
10271 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
10275 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
10276 if test $ac_compiler_gnu = yes; then 
10281 ac_test_CXXFLAGS=${CXXFLAGS+set} 
10282 ac_save_CXXFLAGS=$CXXFLAGS 
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
10284 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 
10285 if test "${ac_cv_prog_cxx_g+set}" = set; then : 
10286   $as_echo_n "(cached) " >&6 
10288   ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
10289    ac_cxx_werror_flag=yes 
10290    ac_cv_prog_cxx_g=no 
10292    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
10293 /* end confdefs.h.  */ 
10303 if ac_fn_cxx_try_compile "$LINENO"; then : 
10304   ac_cv_prog_cxx_g=yes 
10307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
10308 /* end confdefs.h.  */ 
10318 if ac_fn_cxx_try_compile "$LINENO"; then : 
10321   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
10323          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
10324 /* end confdefs.h.  */ 
10334 if ac_fn_cxx_try_compile "$LINENO"; then : 
10335   ac_cv_prog_cxx_g=yes 
10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
10341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
10342    ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
10345 $as_echo "$ac_cv_prog_cxx_g" >&6; } 
10346 if test "$ac_test_CXXFLAGS" = set; then 
10347   CXXFLAGS=$ac_save_CXXFLAGS 
10348 elif test $ac_cv_prog_cxx_g = yes; then 
10349   if test "$GXX" = yes; then 
10355   if test "$GXX" = yes; then 
10362 ac_cpp='$CPP $CPPFLAGS' 
10363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10365 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
10369 ac_cpp='$CXXCPP $CPPFLAGS' 
10370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 
10373 if test -z "$CXX"; then 
10374   if test -n "$CCC"; then 
10377     if test -n "$ac_tool_prefix"; then 
10378   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 
10380     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
10381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
10383 $as_echo_n "checking for $ac_word... " >&6; } 
10384 if test "${ac_cv_prog_CXX+set}" = set; then : 
10385   $as_echo_n "(cached) " >&6 
10387   if test -n "$CXX"; then 
10388   ac_cv_prog_CXX="$CXX" # Let the user override the test. 
10390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10391 for as_dir in $PATH 
10394   test -z "$as_dir" && as_dir=. 
10395     for ac_exec_ext in '' $ac_executable_extensions; do 
10396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10397     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
10398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
10407 CXX=$ac_cv_prog_CXX 
10408 if test -n "$CXX"; then 
10409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
10410 $as_echo "$CXX" >&6; } 
10412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10413 $as_echo "no" >&6; } 
10417     test -n "$CXX" && break 
10420 if test -z "$CXX"; then 
10422   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 
10424   # Extract the first word of "$ac_prog", so it can be a program name with args. 
10425 set dummy $ac_prog; ac_word=$2 
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
10427 $as_echo_n "checking for $ac_word... " >&6; } 
10428 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
10429   $as_echo_n "(cached) " >&6 
10431   if test -n "$ac_ct_CXX"; then 
10432   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
10434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
10435 for as_dir in $PATH 
10438   test -z "$as_dir" && as_dir=. 
10439     for ac_exec_ext in '' $ac_executable_extensions; do 
10440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
10441     ac_cv_prog_ac_ct_CXX="$ac_prog" 
10442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
10451 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
10452 if test -n "$ac_ct_CXX"; then 
10453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
10454 $as_echo "$ac_ct_CXX" >&6; } 
10456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10457 $as_echo "no" >&6; } 
10461   test -n "$ac_ct_CXX" && break 
10464   if test "x$ac_ct_CXX" = x; then 
10467     case $cross_compiling:$ac_tool_warned in 
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
10470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
10471 ac_tool_warned=yes ;; 
10479 # Provide some information about the compiler. 
10480 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
10483 for ac_option in --version -v -V -qversion; do 
10484   { { ac_try="$ac_compiler $ac_option >&5" 
10485 case "(($ac_try" in 
10486   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
10487   *) ac_try_echo
=$ac_try;; 
10489 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
10490 $as_echo "$ac_try_echo"; } >&5 
10491   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
10493   if test -s conftest.err
; then 
10495 ... rest of stderr output deleted ... 
10496          10q' conftest.err 
>conftest.er1
 
10497     cat conftest.er1 
>&5 
10499   rm -f conftest.er1 conftest.err
 
10500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
10501   test $ac_status = 0; } 
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
10505 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
10506 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
10507   $as_echo_n "(cached) " >&6 
10509   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10510 /* end confdefs.h.  */ 
10523 if ac_fn_cxx_try_compile 
"$LINENO"; then : 
10524   ac_compiler_gnu
=yes 
10528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
10529 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu 
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
10533 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
10534 if test $ac_compiler_gnu = yes; then 
10539 ac_test_CXXFLAGS
=${CXXFLAGS+set} 
10540 ac_save_CXXFLAGS
=$CXXFLAGS 
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
10542 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 
10543 if test "${ac_cv_prog_cxx_g+set}" = set; then : 
10544   $as_echo_n "(cached) " >&6 
10546   ac_save_cxx_werror_flag
=$ac_cxx_werror_flag 
10547    ac_cxx_werror_flag
=yes 
10548    ac_cv_prog_cxx_g
=no
 
10550    cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10551 /* end confdefs.h.  */ 
10561 if ac_fn_cxx_try_compile 
"$LINENO"; then : 
10562   ac_cv_prog_cxx_g
=yes 
10565       cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10566 /* end confdefs.h.  */ 
10576 if ac_fn_cxx_try_compile 
"$LINENO"; then : 
10579   ac_cxx_werror_flag
=$ac_save_cxx_werror_flag 
10581          cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10582 /* end confdefs.h.  */ 
10592 if ac_fn_cxx_try_compile 
"$LINENO"; then : 
10593   ac_cv_prog_cxx_g
=yes 
10595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
10597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
10599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
10600    ac_cxx_werror_flag
=$ac_save_cxx_werror_flag 
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
10603 $as_echo "$ac_cv_prog_cxx_g" >&6; } 
10604 if test "$ac_test_CXXFLAGS" = set; then 
10605   CXXFLAGS
=$ac_save_CXXFLAGS 
10606 elif test $ac_cv_prog_cxx_g = yes; then 
10607   if test "$GXX" = yes; then 
10613   if test "$GXX" = yes; then 
10620 ac_cpp
='$CPP $CPPFLAGS' 
10621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
10625 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
10626     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
10627     (test "X$CXX" != "Xg++"))) ; then 
10629 ac_cpp
='$CXXCPP $CPPFLAGS' 
10630 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10631 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10632 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 
10634 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 
10635 if test -z "$CXXCPP"; then 
10636   if test "${ac_cv_prog_CXXCPP+set}" = set; then : 
10637   $as_echo_n "(cached) " >&6 
10639       # Double quotes because CXXCPP needs to be expanded 
10640     for CXXCPP 
in "$CXX -E" "/lib/cpp" 
10642       ac_preproc_ok
=false
 
10643 for ac_cxx_preproc_warn_flag 
in '' yes 
10645   # Use a header file that comes with gcc, so configuring glibc 
10646   # with a fresh cross-compiler works. 
10647   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
10648   # <limits.h> exists even on freestanding compilers. 
10649   # On the NeXT, cc -E runs the code through the compiler's parser, 
10650   # not just through cpp. "Syntax error" is here to catch this case. 
10651   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10652 /* end confdefs.h.  */ 
10654 # include <limits.h> 
10656 # include <assert.h> 
10660 if ac_fn_cxx_try_cpp 
"$LINENO"; then : 
10663   # Broken: fails on valid input. 
10666 rm -f conftest.err conftest.
$ac_ext 
10668   # OK, works on sane cases.  Now check whether nonexistent headers 
10669   # can be detected and how. 
10670   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10671 /* end confdefs.h.  */ 
10672 #include <ac_nonexistent.h> 
10674 if ac_fn_cxx_try_cpp 
"$LINENO"; then : 
10675   # Broken: success on invalid input. 
10678   # Passes both tests. 
10682 rm -f conftest.err conftest.
$ac_ext 
10685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
10686 rm -f conftest.err conftest.
$ac_ext 
10687 if $ac_preproc_ok; then : 
10692     ac_cv_prog_CXXCPP
=$CXXCPP 
10695   CXXCPP
=$ac_cv_prog_CXXCPP 
10697   ac_cv_prog_CXXCPP
=$CXXCPP 
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 
10700 $as_echo "$CXXCPP" >&6; } 
10701 ac_preproc_ok
=false
 
10702 for ac_cxx_preproc_warn_flag 
in '' yes 
10704   # Use a header file that comes with gcc, so configuring glibc 
10705   # with a fresh cross-compiler works. 
10706   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
10707   # <limits.h> exists even on freestanding compilers. 
10708   # On the NeXT, cc -E runs the code through the compiler's parser, 
10709   # not just through cpp. "Syntax error" is here to catch this case. 
10710   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10711 /* end confdefs.h.  */ 
10713 # include <limits.h> 
10715 # include <assert.h> 
10719 if ac_fn_cxx_try_cpp 
"$LINENO"; then : 
10722   # Broken: fails on valid input. 
10725 rm -f conftest.err conftest.
$ac_ext 
10727   # OK, works on sane cases.  Now check whether nonexistent headers 
10728   # can be detected and how. 
10729   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
10730 /* end confdefs.h.  */ 
10731 #include <ac_nonexistent.h> 
10733 if ac_fn_cxx_try_cpp 
"$LINENO"; then : 
10734   # Broken: success on invalid input. 
10737   # Passes both tests. 
10741 rm -f conftest.err conftest.
$ac_ext 
10744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
10745 rm -f conftest.err conftest.
$ac_ext 
10746 if $ac_preproc_ok; then : 
10749   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
10750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
10751 _lt_caught_CXX_error
=yes; } 
10755 ac_cpp
='$CPP $CPPFLAGS' 
10756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
10761   _lt_caught_CXX_error
=yes 
10768 ac_cpp
='$CXXCPP $CPPFLAGS' 
10769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
10770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
10771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
10773 archive_cmds_need_lc_CXX
=no
 
10774 allow_undefined_flag_CXX
= 
10775 always_export_symbols_CXX
=no
 
10776 archive_expsym_cmds_CXX
= 
10777 compiler_needs_object_CXX
=no
 
10778 export_dynamic_flag_spec_CXX
= 
10779 hardcode_direct_CXX
=no
 
10780 hardcode_direct_absolute_CXX
=no
 
10781 hardcode_libdir_flag_spec_CXX
= 
10782 hardcode_libdir_flag_spec_ld_CXX
= 
10783 hardcode_libdir_separator_CXX
= 
10784 hardcode_minus_L_CXX
=no
 
10785 hardcode_shlibpath_var_CXX
=unsupported
 
10786 hardcode_automatic_CXX
=no
 
10787 inherit_rpath_CXX
=no
 
10789 module_expsym_cmds_CXX
= 
10790 link_all_deplibs_CXX
=unknown
 
10791 old_archive_cmds_CXX
=$old_archive_cmds 
10792 no_undefined_flag_CXX
= 
10793 whole_archive_flag_spec_CXX
= 
10794 enable_shared_with_static_runtimes_CXX
=no
 
10796 # Source file extension for C++ test sources. 
10799 # Object file extension for compiled C++ test sources. 
10803 # No sense in running all these tests if we already determined that 
10804 # the CXX compiler isn't working.  Some variables (like enable_shared) 
10805 # are currently assumed to apply to all compilers on this platform, 
10806 # and will be corrupted by setting them based on a non-working compiler. 
10807 if test "$_lt_caught_CXX_error" != yes; then 
10808   # Code to be used in simple compile tests 
10809   lt_simple_compile_test_code
="int some_variable = 0;" 
10811   # Code to be used in simple link tests 
10812   lt_simple_link_test_code
='int main(int, char *[]) { return(0); }' 
10814   # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
10821 # If no C compiler was specified, use CC. 
10824 # If no C compiler flags were specified, use CFLAGS. 
10825 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"} 
10827 # Allow CC to be a program name with arguments. 
10831   # save warnings/boilerplate of simple test code 
10832   ac_outfile
=conftest.
$ac_objext 
10833 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext 
10834 eval "$ac_compile" 2>&1 >/dev
/null 
| $SED '/^$/d; /^ *+/d' >conftest.err
 
10835 _lt_compiler_boilerplate
=`cat conftest.err` 
10838   ac_outfile
=conftest.
$ac_objext 
10839 echo "$lt_simple_link_test_code" >conftest.
$ac_ext 
10840 eval "$ac_link" 2>&1 >/dev
/null 
| $SED '/^$/d; /^ *+/d' >conftest.err
 
10841 _lt_linker_boilerplate
=`cat conftest.err` 
10845   # Allow CC to be a program name with arguments. 
10850   lt_save_with_gnu_ld
=$with_gnu_ld 
10851   lt_save_path_LD
=$lt_cv_path_LD 
10852   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 
10853     lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx 
10855     $as_unset lt_cv_prog_gnu_ld
 
10857   if test -n "${lt_cv_path_LDCXX+set}"; then 
10858     lt_cv_path_LD
=$lt_cv_path_LDCXX 
10860     $as_unset lt_cv_path_LD
 
10862   test -z "${LDCXX+set}" || LD
=$LDCXX 
10866   for cc_temp 
in $compiler""; do 
10868     compile 
| *[\\/]compile 
| ccache 
| *[\\/]ccache 
) ;; 
10869     distcc 
| *[\\/]distcc 
| purify 
| *[\\/]purify 
) ;; 
10874 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
10877   if test -n "$compiler"; then 
10878     # We don't want -fno-exception when compiling C++ code, so set the 
10879     # no_builtin_flag separately 
10880     if test "$GXX" = yes; then 
10881       lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin' 
10883       lt_prog_compiler_no_builtin_flag_CXX
= 
10886     if test "$GXX" = yes; then 
10887       # Set up default GNU C++ configuration 
10891 # Check whether --with-gnu-ld was given. 
10892 if test "${with_gnu_ld+set}" = set; then : 
10893   withval
=$with_gnu_ld; test "$withval" = no 
|| with_gnu_ld
=yes 
10899 if test "$GCC" = yes; then 
10900   # Check if gcc -print-prog-name=ld gives a path. 
10901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 
10902 $as_echo_n "checking for ld used by $CC... " >&6; } 
10905     # gcc leaves a trailing carriage return which upsets mingw 
10906     ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 
10908     ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;; 
10911     # Accept absolute paths. 
10913       re_direlt
='/[^/][^/]*/\.\./' 
10914       # Canonicalize the pathname of ld 
10915       ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 
10916       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null 
2>&1; do 
10917         ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 
10919       test -z "$LD" && LD
="$ac_prog" 
10922     # If it fails, then pretend we aren't using GCC. 
10926     # If it is relative, then search for the first ld in PATH. 
10927     with_gnu_ld
=unknown
 
10930 elif test "$with_gnu_ld" = yes; then 
10931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 
10932 $as_echo_n "checking for GNU ld... " >&6; } 
10934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 
10935 $as_echo_n "checking for non-GNU ld... " >&6; } 
10937 if test "${lt_cv_path_LD+set}" = set; then : 
10938   $as_echo_n "(cached) " >&6 
10940   if test -z "$LD"; then 
10941   lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR 
10942   for ac_dir 
in $PATH; do 
10944     test -z "$ac_dir" && ac_dir
=.
 
10945     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
10946       lt_cv_path_LD
="$ac_dir/$ac_prog" 
10947       # Check to see if the program is GNU ld.  I'd rather use --version, 
10948       # but apparently some variants of GNU ld only accept -v. 
10949       # Break only if it was the GNU/non-GNU ld that we prefer. 
10950       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 
10951       *GNU
* | *'with BFD'*) 
10952         test "$with_gnu_ld" != no 
&& break 
10955         test "$with_gnu_ld" != yes && break 
10962   lt_cv_path_LD
="$LD" # Let the user override the test with a path. 
10966 LD
="$lt_cv_path_LD" 
10967 if test -n "$LD"; then 
10968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 
10969 $as_echo "$LD" >&6; } 
10971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
10972 $as_echo "no" >&6; } 
10974 test -z "$LD" && as_fn_error 
"no acceptable ld found in \$PATH" "$LINENO" 5 
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 
10976 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 
10977 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 
10978   $as_echo_n "(cached) " >&6 
10980   # I'd rather use --version here, but apparently some GNU lds only accept -v. 
10981 case `$LD -v 2>&1 </dev/null` in 
10982 *GNU
* | *'with BFD'*) 
10983   lt_cv_prog_gnu_ld
=yes 
10986   lt_cv_prog_gnu_ld
=no
 
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 
10991 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 
10992 with_gnu_ld
=$lt_cv_prog_gnu_ld 
11000       # Check if GNU C++ uses GNU ld as the underlying linker, since the 
11001       # archiving commands below assume that GNU ld is being used. 
11002       if test "$with_gnu_ld" = yes; then 
11003         archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
11004         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' 
11006         hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
11007         export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
11009         # If archive_cmds runs LD, not CC, wlarc should be empty 
11010         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 
11011         #     investigate it a little bit more. (MM) 
11014         # ancient GNU ld didn't support --whole-archive et. al. 
11015         if eval "`$CC -print-prog-name=ld` --help 2>&1" | 
11016           $GREP 'no-whole-archive' > /dev
/null
; then 
11017           whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
11019           whole_archive_flag_spec_CXX
= 
11025         # A generic and very simple default shared library creation 
11026         # command for GNU C++ for the case where it uses the native 
11027         # linker, instead of GNU ld.  If possible, this setting should 
11028         # overridden to take advantage of the native linker features on 
11029         # the platform it is being used on. 
11030         archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
11033       # Commands to make compiler produce verbose output that lists 
11034       # what "hidden" libraries, object files and flags are used when 
11035       # linking a shared library. 
11036       output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
11044     # PORTME: fill in a description of your system's C++ link characteristics 
11045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 
11046 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 
11050         # FIXME: insert proper C++ library support 
11054         if test "$host_cpu" = ia64
; then 
11055           # On IA64, the linker does run time linking by default, so we don't 
11056           # have to do anything special. 
11057           aix_use_runtimelinking
=no
 
11058           exp_sym_flag
='-Bexport' 
11061           aix_use_runtimelinking
=no
 
11063           # Test if we are trying to use run time linking or normal 
11064           # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
11065           # need to do runtime linking. 
11066           case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*) 
11067             for ld_flag 
in $LDFLAGS; do 
11070                 aix_use_runtimelinking
=yes 
11078           exp_sym_flag
='-bexport' 
11079           no_entry_flag
='-bnoentry' 
11082         # When large executables or shared objects are built, AIX ld can 
11083         # have problems creating the table of contents.  If linking a library 
11084         # or program results in "error TOC overflow" add -mminimal-toc to 
11085         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
11086         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
11088         archive_cmds_CXX
='' 
11089         hardcode_direct_CXX
=yes 
11090         hardcode_direct_absolute_CXX
=yes 
11091         hardcode_libdir_separator_CXX
=':' 
11092         link_all_deplibs_CXX
=yes 
11093         file_list_spec_CXX
='${wl}-f,' 
11095         if test "$GXX" = yes; then 
11096           case $host_os in aix4.
[012]|aix4.
[012].
*) 
11097           # We only want to do this on AIX 4.2 and lower, the check 
11098           # below for broken collect2 doesn't work under 4.3+ 
11099           collect2name
=`${CC} -print-prog-name=collect2` 
11100           if test -f "$collect2name" && 
11101              strings "$collect2name" | $GREP resolve_lib_name 
>/dev
/null
 
11103             # We have reworked collect2 
11106             # We have old collect2 
11107             hardcode_direct_CXX
=unsupported
 
11108             # It fails to find uninstalled libraries when the uninstalled 
11109             # path is not listed in the libpath.  Setting hardcode_minus_L 
11110             # to unsupported forces relinking 
11111             hardcode_minus_L_CXX
=yes 
11112             hardcode_libdir_flag_spec_CXX
='-L$libdir' 
11113             hardcode_libdir_separator_CXX
= 
11116           shared_flag
='-shared' 
11117           if test "$aix_use_runtimelinking" = yes; then 
11118             shared_flag
="$shared_flag "'${wl}-G' 
11122           if test "$host_cpu" = ia64
; then 
11123           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 
11124           # chokes on -Wl,-G. The following line is correct: 
11127             if test "$aix_use_runtimelinking" = yes; then 
11128               shared_flag
='${wl}-G' 
11130               shared_flag
='${wl}-bM:SRE' 
11135         export_dynamic_flag_spec_CXX
='${wl}-bexpall' 
11136         # It seems that -bexpall does not export symbols beginning with 
11137         # underscore (_), so it is better to generate a list of symbols to 
11139         always_export_symbols_CXX
=yes 
11140         if test "$aix_use_runtimelinking" = yes; then 
11141           # Warning - without using the other runtime loading flags (-brtl), 
11142           # -berok will link without error, but may produce a broken library. 
11143           allow_undefined_flag_CXX
='-berok' 
11144           # Determine the default libpath from the value encoded in an empty 
11146           cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
11147 /* end confdefs.h.  */ 
11157 if ac_fn_cxx_try_link 
"$LINENO"; then : 
11159 lt_aix_libpath_sed
=' 
11160     /Import File Strings/,/^$/ { 
11166 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
11167 # Check for a 64-bit object if we didn't find anything. 
11168 if test -z "$aix_libpath"; then 
11169   aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
11172 rm -f core conftest.err conftest.
$ac_objext \
 
11173     conftest
$ac_exeext conftest.
$ac_ext 
11174 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi 
11176           hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath" 
11178           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" 
11180           if test "$host_cpu" = ia64
; then 
11181             hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib' 
11182             allow_undefined_flag_CXX
="-z nodefs" 
11183             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" 
11185             # Determine the default libpath from the value encoded in an 
11186             # empty executable. 
11187             cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
11188 /* end confdefs.h.  */ 
11198 if ac_fn_cxx_try_link 
"$LINENO"; then : 
11200 lt_aix_libpath_sed
=' 
11201     /Import File Strings/,/^$/ { 
11207 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
11208 # Check for a 64-bit object if we didn't find anything. 
11209 if test -z "$aix_libpath"; then 
11210   aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
11213 rm -f core conftest.err conftest.
$ac_objext \
 
11214     conftest
$ac_exeext conftest.
$ac_ext 
11215 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi 
11217             hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath" 
11218             # Warning - without using the other run time loading flags, 
11219             # -berok will link without error, but may produce a broken library. 
11220             no_undefined_flag_CXX
=' ${wl}-bernotok' 
11221             allow_undefined_flag_CXX
=' ${wl}-berok' 
11222             # Exported symbols can be pulled into shared objects from archives 
11223             whole_archive_flag_spec_CXX
='$convenience' 
11224             archive_cmds_need_lc_CXX
=yes 
11225             # This is similar to how AIX traditionally builds its shared 
11227             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' 
11233         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then 
11234           allow_undefined_flag_CXX
=unsupported
 
11235           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
11236           # support --undefined.  This deserves some investigation.  FIXME 
11237           archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
11244         case $cc_basename in 
11246           # FIXME: insert proper C++ library support 
11252       cygwin
* | mingw
* | pw32
* | cegcc
*) 
11253         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 
11254         # as there is no search path for DLLs. 
11255         hardcode_libdir_flag_spec_CXX
='-L$libdir' 
11256         allow_undefined_flag_CXX
=unsupported
 
11257         always_export_symbols_CXX
=no
 
11258         enable_shared_with_static_runtimes_CXX
=yes 
11260         if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then 
11261           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' 
11262           # If the export-symbols file already is a .def file (1st line 
11263           # is EXPORTS), use it as is; otherwise, prepend... 
11264           archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
11265             cp $export_symbols $output_objdir/$soname.def; 
11267             echo EXPORTS > $output_objdir/$soname.def; 
11268             cat $export_symbols >> $output_objdir/$soname.def; 
11270           $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' 
11275       darwin
* | rhapsody
*) 
11278   archive_cmds_need_lc_CXX
=no
 
11279   hardcode_direct_CXX
=no
 
11280   hardcode_automatic_CXX
=yes 
11281   hardcode_shlibpath_var_CXX
=unsupported
 
11282   whole_archive_flag_spec_CXX
='' 
11283   link_all_deplibs_CXX
=yes 
11284   allow_undefined_flag_CXX
="$_lt_dar_allow_undefined" 
11285   case $cc_basename in 
11286      ifort
*) _lt_dar_can_shared
=yes ;; 
11287      *) _lt_dar_can_shared
=$GCC ;; 
11289   if test "$_lt_dar_can_shared" = "yes"; then 
11290     output_verbose_link_cmd
=echo 
11291     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}" 
11292     module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 
11293     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}" 
11294     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}" 
11295        if test "$lt_cv_apple_cc_single_mod" != "yes"; then 
11296       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}" 
11297       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}" 
11307         case $cc_basename in 
11309             # FIXME: insert proper C++ library support 
11313             # Green Hills C++ Compiler 
11314             # FIXME: insert proper C++ library support 
11318             # FIXME: insert proper C++ library support 
11325         # C++ shared libraries reported to be fairly broken before 
11331         archive_cmds_need_lc_CXX
=no
 
11334       freebsd
* | dragonfly
*) 
11335         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 
11344         hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir' 
11345         hardcode_libdir_separator_CXX
=: 
11346         export_dynamic_flag_spec_CXX
='${wl}-E' 
11347         hardcode_direct_CXX
=yes 
11348         hardcode_minus_L_CXX
=yes # Not in the search PATH, 
11349                                              # but as the default 
11350                                              # location of the library. 
11352         case $cc_basename in 
11354             # FIXME: insert proper C++ library support 
11358             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' 
11359             # Commands to make compiler produce verbose output that lists 
11360             # what "hidden" libraries, object files and flags are used when 
11361             # linking a shared library. 
11363             # There doesn't appear to be a way to prevent this compiler from 
11364             # explicitly linking system object files so we need to strip them 
11365             # from the output so that they don't get included in the library 
11367             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' 
11370             if test "$GXX" = yes; then 
11371               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' 
11373               # FIXME: insert proper C++ library support 
11381         if test $with_gnu_ld = no
; then 
11382           hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir' 
11383           hardcode_libdir_separator_CXX
=: 
11389               export_dynamic_flag_spec_CXX
='${wl}-E' 
11395             hardcode_direct_CXX
=no
 
11396             hardcode_shlibpath_var_CXX
=no
 
11399             hardcode_direct_CXX
=yes 
11400             hardcode_direct_absolute_CXX
=yes 
11401             hardcode_minus_L_CXX
=yes # Not in the search PATH, 
11402                                                  # but as the default 
11403                                                  # location of the library. 
11407         case $cc_basename in 
11409             # FIXME: insert proper C++ library support 
11415                 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
11418                 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
11421                 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
11424             # Commands to make compiler produce verbose output that lists 
11425             # what "hidden" libraries, object files and flags are used when 
11426             # linking a shared library. 
11428             # There doesn't appear to be a way to prevent this compiler from 
11429             # explicitly linking system object files so we need to strip them 
11430             # from the output so that they don't get included in the library 
11432             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' 
11435             if test "$GXX" = yes; then 
11436               if test $with_gnu_ld = no
; then 
11439                     archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
11442                     archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
11445                     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' 
11450               # FIXME: insert proper C++ library support 
11458         hardcode_direct_CXX
=no
 
11459         hardcode_shlibpath_var_CXX
=no
 
11460         hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
11461         export_dynamic_flag_spec_CXX
='${wl}-E' 
11462         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
11463         # Instead, shared libraries are loaded at an image base (0x10000000 by 
11464         # default) and relocated if they conflict, which is a slow very memory 
11465         # consuming and fragmenting process.  To avoid this, we pick a random, 
11466         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
11467         # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
11468         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' 
11469         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' 
11472         case $cc_basename in 
11475             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' 
11477             # Archives containing C++ object files must be created using 
11478             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is 
11479             # necessary to make sure instantiated templates are included 
11481             old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs' 
11484             if test "$GXX" = yes; then 
11485               if test "$with_gnu_ld" = no
; then 
11486                 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' 
11488                 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' 
11491             link_all_deplibs_CXX
=yes 
11494         hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
11495         hardcode_libdir_separator_CXX
=: 
11496         inherit_rpath_CXX
=yes 
11499       linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu) 
11500         case $cc_basename in 
11502             # Kuck and Associates, Inc. (KAI) C++ Compiler 
11504             # KCC will only create a shared library if the output file 
11505             # ends with ".so" (or ".sl" for HP-UX), so rename the library 
11506             # to its proper name (with version) after linking. 
11507             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' 
11508             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' 
11509             # Commands to make compiler produce verbose output that lists 
11510             # what "hidden" libraries, object files and flags are used when 
11511             # linking a shared library. 
11513             # There doesn't appear to be a way to prevent this compiler from 
11514             # explicitly linking system object files so we need to strip them 
11515             # from the output so that they don't get included in the library 
11517             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' 
11519             hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
11520             export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
11522             # Archives containing C++ object files must be created using 
11523             # "CC -Bstatic", where "CC" is the KAI C++ compiler. 
11524             old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' 
11529             # version 8.0 and above of icpc choke on multiply defined symbols 
11530             # if we add $predep_objects and $postdep_objects, however 7.1 and 
11531             # earlier do not add the objects themselves. 
11532             case `$CC -V 2>&1` in 
11534                 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
11535                 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' 
11537               *)  # Version 8.0 or newer 
11540                   ia64
*) tmp_idyn
=' -i_dynamic';; 
11542                 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
11543                 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' 
11546             archive_cmds_need_lc_CXX
=no
 
11547             hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
11548             export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
11549             whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 
11552             # Portland Group C++ compiler 
11554             *pgCC\ 
[1-5]* | *pgcpp\ 
[1-5]*) 
11555               prelink_cmds_CXX
='tpldir=Template.dir~ 
11557                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 
11558                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 
11559               old_archive_cmds_CXX
='tpldir=Template.dir~ 
11561                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 
11562                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 
11564               archive_cmds_CXX
='tpldir=Template.dir~ 
11566                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 
11567                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
11568               archive_expsym_cmds_CXX
='tpldir=Template.dir~ 
11570                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 
11571                 $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' 
11573             *) # Version 6 will use weak symbols 
11574               archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
11575               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' 
11579             hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir' 
11580             export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
11581             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' 
11585             archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
11586             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' 
11588             runpath_var
=LD_RUN_PATH
 
11589             hardcode_libdir_flag_spec_CXX
='-rpath $libdir' 
11590             hardcode_libdir_separator_CXX
=: 
11592             # Commands to make compiler produce verbose output that lists 
11593             # what "hidden" libraries, object files and flags are used when 
11594             # linking a shared library. 
11596             # There doesn't appear to be a way to prevent this compiler from 
11597             # explicitly linking system object files so we need to strip them 
11598             # from the output so that they don't get included in the library 
11600             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' 
11603             # IBM XL 8.0 on PPC, with GNU ld 
11604             hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
11605             export_dynamic_flag_spec_CXX
='${wl}--export-dynamic' 
11606             archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
11607             if test "x$supports_anon_versioning" = xyes
; then 
11608               archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~ 
11609                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
11610                 echo "local: *; };" >> $output_objdir/$libname.ver~ 
11611                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
11615             case `$CC -V 2>&1 | sed 5q` in 
11618               no_undefined_flag_CXX
=' -zdefs' 
11619               archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
11620               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' 
11621               hardcode_libdir_flag_spec_CXX
='-R$libdir' 
11622               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' 
11623               compiler_needs_object_CXX
=yes 
11625               # Not sure whether something based on 
11626               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 
11628               output_verbose_link_cmd
='echo' 
11630               # Archives containing C++ object files must be created using 
11631               # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
11632               # necessary to make sure instantiated templates are included 
11634               old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs' 
11642         # FIXME: insert proper C++ library support 
11647         # FIXME: insert proper C++ library support 
11652         case $cc_basename in 
11654             # FIXME: insert proper C++ library support 
11658             # FIXME: insert proper C++ library support 
11665         if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
11666           archive_cmds_CXX
='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 
11668           hardcode_libdir_flag_spec_CXX
='-R$libdir' 
11669           hardcode_direct_CXX
=yes 
11670           hardcode_shlibpath_var_CXX
=no
 
11672         # Workaround some broken pre-1.5 toolchains 
11673         output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 
11681         # C++ shared libraries are fairly broken 
11686         if test -f /usr
/libexec
/ld.so
; then 
11687           hardcode_direct_CXX
=yes 
11688           hardcode_shlibpath_var_CXX
=no
 
11689           hardcode_direct_absolute_CXX
=yes 
11690           archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
11691           hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
11692           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
11693             archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 
11694             export_dynamic_flag_spec_CXX
='${wl}-E' 
11695             whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
11697           output_verbose_link_cmd
=echo 
11703       osf3
* | osf4
* | osf5
*) 
11704         case $cc_basename in 
11706             # Kuck and Associates, Inc. (KAI) C++ Compiler 
11708             # KCC will only create a shared library if the output file 
11709             # ends with ".so" (or ".sl" for HP-UX), so rename the library 
11710             # to its proper name (with version) after linking. 
11711             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' 
11713             hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir' 
11714             hardcode_libdir_separator_CXX
=: 
11716             # Archives containing C++ object files must be created using 
11717             # the KAI C++ compiler. 
11719               osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;; 
11720               *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;; 
11724             # Rational C++ 2.4.1 
11725             # FIXME: insert proper C++ library support 
11731                 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*' 
11732                 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' 
11733                 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
11736                 allow_undefined_flag_CXX
=' -expect_unresolved \*' 
11737                 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' 
11738                 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 
11739                   echo "-hidden">> $lib.exp~ 
11740                   $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~ 
11742                 hardcode_libdir_flag_spec_CXX
='-rpath $libdir' 
11746             hardcode_libdir_separator_CXX
=: 
11748             # Commands to make compiler produce verbose output that lists 
11749             # what "hidden" libraries, object files and flags are used when 
11750             # linking a shared library. 
11752             # There doesn't appear to be a way to prevent this compiler from 
11753             # explicitly linking system object files so we need to strip them 
11754             # from the output so that they don't get included in the library 
11756             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' 
11759             if test "$GXX" = yes && test "$with_gnu_ld" = no
; then 
11760               allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*' 
11763                   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' 
11766                   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' 
11770               hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir' 
11771               hardcode_libdir_separator_CXX
=: 
11773               # Commands to make compiler produce verbose output that lists 
11774               # what "hidden" libraries, object files and flags are used when 
11775               # linking a shared library. 
11776               output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
11779               # FIXME: insert proper C++ library support 
11787         # FIXME: insert proper C++ library support 
11792         case $cc_basename in 
11795             # FIXME: insert proper C++ library support 
11800             # FIXME: insert proper C++ library support 
11804             # FIXME: insert proper C++ library support 
11811         case $cc_basename in 
11813             # Sun C++ 4.2, 5.x and Centerline C++ 
11814             archive_cmds_need_lc_CXX
=yes 
11815             no_undefined_flag_CXX
=' -zdefs' 
11816             archive_cmds_CXX
='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
11817             archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
11818               $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' 
11820             hardcode_libdir_flag_spec_CXX
='-R$libdir' 
11821             hardcode_shlibpath_var_CXX
=no
 
11823               solaris2.
[0-5] | solaris2.
[0-5].
*) ;; 
11825                 # The compiler driver will combine and reorder linker options, 
11826                 # but understands `-z linker_flag'. 
11827                 # Supported since Solaris 2.6 (maybe 2.5.1?) 
11828                 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract' 
11831             link_all_deplibs_CXX
=yes 
11833             output_verbose_link_cmd
='echo' 
11835             # Archives containing C++ object files must be created using 
11836             # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
11837             # necessary to make sure instantiated templates are included 
11839             old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs' 
11842             # Green Hills C++ Compiler 
11843             archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
11845             # The C++ compiler must be used to create the archive. 
11846             old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 
11849             # GNU C++ compiler with Solaris linker 
11850             if test "$GXX" = yes && test "$with_gnu_ld" = no
; then 
11851               no_undefined_flag_CXX
=' ${wl}-z ${wl}defs' 
11852               if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then 
11853                 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
11854                 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
11855                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 
11857                 # Commands to make compiler produce verbose output that lists 
11858                 # what "hidden" libraries, object files and flags are used when 
11859                 # linking a shared library. 
11860                 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
11862                 # g++ 2.7 appears to require `-G' NOT `-shared' on this 
11864                 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
11865                 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
11866                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 
11868                 # Commands to make compiler produce verbose output that lists 
11869                 # what "hidden" libraries, object files and flags are used when 
11870                 # linking a shared library. 
11871                 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
11874               hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir' 
11876                 solaris2.
[0-5] | solaris2.
[0-5].
*) ;; 
11878                   whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 
11886     sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*) 
11887       no_undefined_flag_CXX
='${wl}-z,text' 
11888       archive_cmds_need_lc_CXX
=no
 
11889       hardcode_shlibpath_var_CXX
=no
 
11890       runpath_var
='LD_RUN_PATH' 
11892       case $cc_basename in 
11894           archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11895           archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11898           archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11899           archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11904       sysv5
* | sco3.2v5
* | sco5v6
*) 
11905         # Note: We can NOT use -z defs as we might desire, because we do not 
11906         # link with -lc, and that would cause any symbols used from libc to 
11907         # always be unresolved, which means just about no library would 
11908         # ever link correctly.  If we're not using GNU ld we use -z text 
11909         # though, which does catch some bad symbols but isn't as heavy-handed 
11911         no_undefined_flag_CXX
='${wl}-z,text' 
11912         allow_undefined_flag_CXX
='${wl}-z,nodefs' 
11913         archive_cmds_need_lc_CXX
=no
 
11914         hardcode_shlibpath_var_CXX
=no
 
11915         hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir' 
11916         hardcode_libdir_separator_CXX
=':' 
11917         link_all_deplibs_CXX
=yes 
11918         export_dynamic_flag_spec_CXX
='${wl}-Bexport' 
11919         runpath_var
='LD_RUN_PATH' 
11921         case $cc_basename in 
11923             archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11924             archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11927             archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11928             archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
11934         case $cc_basename in 
11936             # NonStop-UX NCC 3.20 
11937             # FIXME: insert proper C++ library support 
11941             # FIXME: insert proper C++ library support 
11948         # FIXME: insert proper C++ library support 
11953         # FIXME: insert proper C++ library support 
11958     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 
11959 $as_echo "$ld_shlibs_CXX" >&6; } 
11960     test "$ld_shlibs_CXX" = no 
&& can_build_shared
=no
 
11966     ## There is no encapsulation within the following macros, do not change 
11967     ## the running order or otherwise move them around unless you know exactly 
11968     ## what you are doing... 
11969     # Dependencies to place before and after the object being linked: 
11970 predep_objects_CXX
= 
11971 postdep_objects_CXX
= 
11974 compiler_lib_search_path_CXX
= 
11976 cat > conftest.
$ac_ext <<_LT_EOF 
11980   Foo (void) { a = 0; } 
11986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
11987   (eval $ac_compile) 2>&5 
11989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
11990   test $ac_status = 0; }; then 
11991   # Parse the compiler output and extract the necessary 
11992   # objects, libraries and library flags. 
11994   # Sentinel used to keep track of whether or not we are before 
11995   # the conftest object file. 
11996   pre_test_object_deps_done
=no
 
11998   for p 
in `eval "$output_verbose_link_cmd"`; do 
12002        # Some compilers place space between "-{L,R}" and the path. 
12003        # Remove the space. 
12004        if test $p = "-L" || 
12005           test $p = "-R"; then 
12012        if test "$pre_test_object_deps_done" = no
; then 
12015            # Internal compiler library paths should come after those 
12016            # provided the user.  The postdeps already come after the 
12017            # user supplied libs so there is no need to process them. 
12018            if test -z "$compiler_lib_search_path_CXX"; then 
12019              compiler_lib_search_path_CXX
="${prev}${p}" 
12021              compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}" 
12024          # The "-l" case would never come before the object being 
12025          # linked, so don't bother handling this case. 
12028          if test -z "$postdeps_CXX"; then 
12029            postdeps_CXX
="${prev}${p}" 
12031            postdeps_CXX
="${postdeps_CXX} ${prev}${p}" 
12037        # This assumes that the test object file only shows up 
12038        # once in the compiler output. 
12039        if test "$p" = "conftest.$objext"; then 
12040          pre_test_object_deps_done
=yes 
12044        if test "$pre_test_object_deps_done" = no
; then 
12045          if test -z "$predep_objects_CXX"; then 
12046            predep_objects_CXX
="$p" 
12048            predep_objects_CXX
="$predep_objects_CXX $p" 
12051          if test -z "$postdep_objects_CXX"; then 
12052            postdep_objects_CXX
="$p" 
12054            postdep_objects_CXX
="$postdep_objects_CXX $p" 
12059     *) ;; # Ignore the rest. 
12067   echo "libtool.m4: error: problem compiling CXX test program" 
12070 $RM -f confest.
$objext 
12072 # PORTME: override above test on systems where it is broken 
12075   # Interix 3.5 installs completely hosed .la files for C++, so rather than 
12076   # hack all around it, let's just trust "g++" to DTRT. 
12077   predep_objects_CXX
= 
12078   postdep_objects_CXX
= 
12083   case `$CC -V 2>&1 | sed 5q` in 
12087     # The more standards-conforming stlport4 library is 
12088     # incompatible with the Cstd library. Avoid specifying 
12089     # it if it's in CXXFLAGS. Ignore libCrun as 
12090     # -library=stlport4 depends on it. 
12091     case " $CXX $CXXFLAGS " in 
12092     *" -library=stlport4 "*) 
12093       solaris_use_stlport4
=yes 
12097     if test "$solaris_use_stlport4" != yes; then 
12098       postdeps_CXX
='-library=Cstd -library=Crun' 
12105   case $cc_basename in 
12107     # The more standards-conforming stlport4 library is 
12108     # incompatible with the Cstd library. Avoid specifying 
12109     # it if it's in CXXFLAGS. Ignore libCrun as 
12110     # -library=stlport4 depends on it. 
12111     case " $CXX $CXXFLAGS " in 
12112     *" -library=stlport4 "*) 
12113       solaris_use_stlport4
=yes 
12117     # Adding this requires a known-good setup of shared libraries for 
12118     # Sun compiler versions before 5.6, else PIC objects from an old 
12119     # archive will be linked into the output, leading to subtle bugs. 
12120     if test "$solaris_use_stlport4" != yes; then 
12121       postdeps_CXX
='-library=Cstd -library=Crun' 
12129 case " $postdeps_CXX " in 
12130 *" -lc "*) archive_cmds_need_lc_CXX
=no 
;; 
12132  compiler_lib_search_dirs_CXX
= 
12133 if test -n "${compiler_lib_search_path_CXX}"; then 
12134  compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 
12167     lt_prog_compiler_wl_CXX
= 
12168 lt_prog_compiler_pic_CXX
= 
12169 lt_prog_compiler_static_CXX
= 
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 
12172 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 
12174   # C++ specific cases for pic, static, wl, etc. 
12175   if test "$GXX" = yes; then 
12176     lt_prog_compiler_wl_CXX
='-Wl,' 
12177     lt_prog_compiler_static_CXX
='-static' 
12181       # All AIX code is PIC. 
12182       if test "$host_cpu" = ia64
; then 
12183         # AIX 5 now supports IA64 processor 
12184         lt_prog_compiler_static_CXX
='-Bstatic' 
12191             # see comment about AmigaOS4 .so support 
12192             lt_prog_compiler_pic_CXX
='-fPIC' 
12195             # FIXME: we need at least 68020 code to build shared libraries, but 
12196             # adding the `-m68020' flag to GCC prevents building anything better, 
12198             lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4' 
12203     beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*) 
12204       # PIC is the default for these OSes. 
12206     mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*) 
12207       # This hack is so that the source file can tell whether it is being 
12208       # built for inclusion in a dll (and should export symbols for example). 
12209       # Although the cygwin gcc ignores -fPIC, still need this for old-style 
12210       # (--disable-auto-import) libraries 
12211       lt_prog_compiler_pic_CXX
='-DDLL_EXPORT' 
12213     darwin
* | rhapsody
*) 
12214       # PIC is the default on this platform 
12215       # Common symbols not allowed in MH_DYLIB files 
12216       lt_prog_compiler_pic_CXX
='-fno-common' 
12219       # DJGPP does not support shared libraries at all 
12220       lt_prog_compiler_pic_CXX
= 
12223       # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
12224       # Instead, we relocate shared libraries at runtime. 
12227       if test -d /usr
/nec
; then 
12228         lt_prog_compiler_pic_CXX
=-Kconform_pic 
12232       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 
12233       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag 
12234       # sets the default TLS model and affects inlining. 
12239         lt_prog_compiler_pic_CXX
='-fPIC' 
12244       # QNX uses GNU C++, but need to define -shared option too, otherwise 
12245       # it will coredump. 
12246       lt_prog_compiler_pic_CXX
='-fPIC -shared' 
12249       lt_prog_compiler_pic_CXX
='-fPIC' 
12255         # All AIX code is PIC. 
12256         if test "$host_cpu" = ia64
; then 
12257           # AIX 5 now supports IA64 processor 
12258           lt_prog_compiler_static_CXX
='-Bstatic' 
12260           lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp' 
12264         case $cc_basename in 
12266           # Green Hills C++ Compiler 
12267           # _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" 
12272         case $cc_basename in 
12274             lt_prog_compiler_pic_CXX
='-KPIC' 
12277             # Green Hills C++ Compiler 
12278             lt_prog_compiler_pic_CXX
='-pic' 
12284       freebsd
* | dragonfly
*) 
12285         # FreeBSD uses GNU C++ 
12287       hpux9
* | hpux10
* | hpux11
*) 
12288         case $cc_basename in 
12290             lt_prog_compiler_wl_CXX
='-Wl,' 
12291             lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive' 
12292             if test "$host_cpu" != ia64
; then 
12293               lt_prog_compiler_pic_CXX
='+Z' 
12297             lt_prog_compiler_wl_CXX
='-Wl,' 
12298             lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive' 
12304               lt_prog_compiler_pic_CXX
='+Z' 
12313         # This is c89, which is MS Visual C++ (no shared libs) 
12314         # Anyone wants to do a port? 
12316       irix5
* | irix6
* | nonstopux
*) 
12317         case $cc_basename in 
12319             lt_prog_compiler_wl_CXX
='-Wl,' 
12320             lt_prog_compiler_static_CXX
='-non_shared' 
12321             # CC pic flag -KPIC is the default. 
12327       linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu) 
12328         case $cc_basename in 
12331             lt_prog_compiler_wl_CXX
='--backend -Wl,' 
12332             lt_prog_compiler_pic_CXX
='-fPIC' 
12335             # old Intel C++ for x86_64 which still supported -KPIC. 
12336             lt_prog_compiler_wl_CXX
='-Wl,' 
12337             lt_prog_compiler_pic_CXX
='-KPIC' 
12338             lt_prog_compiler_static_CXX
='-static' 
12341             # Intel C++, used to be incompatible with GCC. 
12342             # ICC 10 doesn't accept -KPIC any more. 
12343             lt_prog_compiler_wl_CXX
='-Wl,' 
12344             lt_prog_compiler_pic_CXX
='-fPIC' 
12345             lt_prog_compiler_static_CXX
='-static' 
12348             # Portland Group C++ compiler 
12349             lt_prog_compiler_wl_CXX
='-Wl,' 
12350             lt_prog_compiler_pic_CXX
='-fpic' 
12351             lt_prog_compiler_static_CXX
='-Bstatic' 
12355             # Make sure the PIC flag is empty.  It appears that all Alpha 
12356             # Linux and Compaq Tru64 Unix objects are PIC. 
12357             lt_prog_compiler_pic_CXX
= 
12358             lt_prog_compiler_static_CXX
='-non_shared' 
12361             # IBM XL 8.0 on PPC 
12362             lt_prog_compiler_wl_CXX
='-Wl,' 
12363             lt_prog_compiler_pic_CXX
='-qpic' 
12364             lt_prog_compiler_static_CXX
='-qstaticlink' 
12367             case `$CC -V 2>&1 | sed 5q` in 
12370               lt_prog_compiler_pic_CXX
='-KPIC' 
12371               lt_prog_compiler_static_CXX
='-Bstatic' 
12372               lt_prog_compiler_wl_CXX
='-Qoption ld ' 
12383         case $cc_basename in 
12385             lt_prog_compiler_pic_CXX
='-W c,exportall' 
12391       netbsd
* | netbsdelf
*-gnu) 
12394         # QNX uses GNU C++, but need to define -shared option too, otherwise 
12395         # it will coredump. 
12396         lt_prog_compiler_pic_CXX
='-fPIC -shared' 
12398       osf3
* | osf4
* | osf5
*) 
12399         case $cc_basename in 
12401             lt_prog_compiler_wl_CXX
='--backend -Wl,' 
12404             # Rational C++ 2.4.1 
12405             lt_prog_compiler_pic_CXX
='-pic' 
12408             # Digital/Compaq C++ 
12409             lt_prog_compiler_wl_CXX
='-Wl,' 
12410             # Make sure the PIC flag is empty.  It appears that all Alpha 
12411             # Linux and Compaq Tru64 Unix objects are PIC. 
12412             lt_prog_compiler_pic_CXX
= 
12413             lt_prog_compiler_static_CXX
='-non_shared' 
12422         case $cc_basename in 
12424             # Sun C++ 4.2, 5.x and Centerline C++ 
12425             lt_prog_compiler_pic_CXX
='-KPIC' 
12426             lt_prog_compiler_static_CXX
='-Bstatic' 
12427             lt_prog_compiler_wl_CXX
='-Qoption ld ' 
12430             # Green Hills C++ Compiler 
12431             lt_prog_compiler_pic_CXX
='-PIC' 
12438         case $cc_basename in 
12441             lt_prog_compiler_pic_CXX
='-pic' 
12442             lt_prog_compiler_static_CXX
='-Bstatic' 
12446             lt_prog_compiler_pic_CXX
='-pic' 
12452       sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*) 
12453         case $cc_basename in 
12455             lt_prog_compiler_wl_CXX
='-Wl,' 
12456             lt_prog_compiler_pic_CXX
='-KPIC' 
12457             lt_prog_compiler_static_CXX
='-Bstatic' 
12462         case $cc_basename in 
12464             # NonStop-UX NCC 3.20 
12465             lt_prog_compiler_pic_CXX
='-KPIC' 
12474         lt_prog_compiler_can_build_shared_CXX
=no
 
12480   # For platforms which do not support PIC, -DPIC is meaningless: 
12482     lt_prog_compiler_pic_CXX
= 
12485     lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC" 
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 
12489 $as_echo "$lt_prog_compiler_pic_CXX" >&6; } 
12494 # Check to make sure the PIC flag actually works. 
12496 if test -n "$lt_prog_compiler_pic_CXX"; then 
12497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 
12498 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 
12499 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : 
12500   $as_echo_n "(cached) " >&6 
12502   lt_cv_prog_compiler_pic_works_CXX
=no
 
12503    ac_outfile
=conftest.
$ac_objext 
12504    echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
12505    lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" 
12506    # Insert the option either (1) after the last *FLAGS variable, or 
12507    # (2) before a word containing "conftest.", or (3) at the end. 
12508    # Note that $ac_compile itself does not contain backslashes and begins 
12509    # with a dollar sign (not a hyphen), so the echo should work correctly. 
12510    # The option is referenced via a variable to avoid confusing sed. 
12511    lt_compile
=`echo "$ac_compile" | $SED \ 
12512    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
12513    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
12514    -e 's:$: $lt_compiler_flag:'` 
12515    (eval echo "\"\$as_me:12515: $lt_compile\"" >&5) 
12516    (eval "$lt_compile" 2>conftest.err
) 
12518    cat conftest.err 
>&5 
12519    echo "$as_me:12519: \$? = $ac_status" >&5 
12520    if (exit $ac_status) && test -s "$ac_outfile"; then 
12521      # The compiler can only warn and ignore the option if not recognized 
12522      # So say no if there are warnings other than the usual output. 
12523      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
12524      $SED '/^$/d; /^ *+/d' conftest.err 
>conftest.er2
 
12525      if test ! -s conftest.er2 
|| diff conftest.exp conftest.er2 
>/dev
/null
; then 
12526        lt_cv_prog_compiler_pic_works_CXX
=yes 
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 
12533 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 
12535 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then 
12536     case $lt_prog_compiler_pic_CXX in 
12538      *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;; 
12541     lt_prog_compiler_pic_CXX
= 
12542      lt_prog_compiler_can_build_shared_CXX
=no
 
12550 # Check to make sure the static flag actually works. 
12552 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\" 
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 
12554 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 
12555 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : 
12556   $as_echo_n "(cached) " >&6 
12558   lt_cv_prog_compiler_static_works_CXX
=no
 
12559    save_LDFLAGS
="$LDFLAGS" 
12560    LDFLAGS
="$LDFLAGS $lt_tmp_static_flag" 
12561    echo "$lt_simple_link_test_code" > conftest.
$ac_ext 
12562    if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then 
12563      # The linker can only warn and ignore the option if not recognized 
12564      # So say no if there are warnings 
12565      if test -s conftest.err
; then 
12566        # Append any errors to the config.log. 
12567        cat conftest.err 
1>&5 
12568        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12569        $SED '/^$/d; /^ *+/d' conftest.err 
>conftest.er2
 
12570        if diff conftest.exp conftest.er2 
>/dev
/null
; then 
12571          lt_cv_prog_compiler_static_works_CXX
=yes 
12574        lt_cv_prog_compiler_static_works_CXX
=yes 
12578    LDFLAGS
="$save_LDFLAGS" 
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 
12582 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 
12584 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then 
12587     lt_prog_compiler_static_CXX
= 
12593     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 
12594 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 
12595 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 
12596   $as_echo_n "(cached) " >&6 
12598   lt_cv_prog_compiler_c_o_CXX
=no
 
12599    $RM -r conftest 
2>/dev
/null
 
12603    echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
12605    lt_compiler_flag
="-o out/conftest2.$ac_objext" 
12606    # Insert the option either (1) after the last *FLAGS variable, or 
12607    # (2) before a word containing "conftest.", or (3) at the end. 
12608    # Note that $ac_compile itself does not contain backslashes and begins 
12609    # with a dollar sign (not a hyphen), so the echo should work correctly. 
12610    lt_compile
=`echo "$ac_compile" | $SED \ 
12611    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
12612    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
12613    -e 's:$: $lt_compiler_flag:'` 
12614    (eval echo "\"\$as_me:12614: $lt_compile\"" >&5) 
12615    (eval "$lt_compile" 2>out
/conftest.err
) 
12617    cat out
/conftest.err 
>&5 
12618    echo "$as_me:12618: \$? = $ac_status" >&5 
12619    if (exit $ac_status) && test -s out
/conftest2.
$ac_objext 
12621      # The compiler can only warn and ignore the option if not recognized 
12622      # So say no if there are warnings 
12623      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
 
12624      $SED '/^$/d; /^ *+/d' out
/conftest.err 
>out
/conftest.er2
 
12625      if test ! -s out
/conftest.er2 
|| diff out
/conftest.exp out
/conftest.er2 
>/dev
/null
; then 
12626        lt_cv_prog_compiler_c_o_CXX
=yes 
12631    # SGI C++ compiler will create directory out/ii_files/ for 
12632    # template instantiation 
12633    test -d out
/ii_files 
&& $RM out
/ii_files
/* && rmdir out
/ii_files
 
12634    $RM out
/* && rmdir out
 
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 
12641 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 
12645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 
12646 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 
12647 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 
12648   $as_echo_n "(cached) " >&6 
12650   lt_cv_prog_compiler_c_o_CXX
=no
 
12651    $RM -r conftest 
2>/dev
/null
 
12655    echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
12657    lt_compiler_flag
="-o out/conftest2.$ac_objext" 
12658    # Insert the option either (1) after the last *FLAGS variable, or 
12659    # (2) before a word containing "conftest.", or (3) at the end. 
12660    # Note that $ac_compile itself does not contain backslashes and begins 
12661    # with a dollar sign (not a hyphen), so the echo should work correctly. 
12662    lt_compile
=`echo "$ac_compile" | $SED \ 
12663    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
12664    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 
12665    -e 's:$: $lt_compiler_flag:'` 
12666    (eval echo "\"\$as_me:12666: $lt_compile\"" >&5) 
12667    (eval "$lt_compile" 2>out
/conftest.err
) 
12669    cat out
/conftest.err 
>&5 
12670    echo "$as_me:12670: \$? = $ac_status" >&5 
12671    if (exit $ac_status) && test -s out
/conftest2.
$ac_objext 
12673      # The compiler can only warn and ignore the option if not recognized 
12674      # So say no if there are warnings 
12675      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
 
12676      $SED '/^$/d; /^ *+/d' out
/conftest.err 
>out
/conftest.er2
 
12677      if test ! -s out
/conftest.er2 
|| diff out
/conftest.exp out
/conftest.er2 
>/dev
/null
; then 
12678        lt_cv_prog_compiler_c_o_CXX
=yes 
12683    # SGI C++ compiler will create directory out/ii_files/ for 
12684    # template instantiation 
12685    test -d out
/ii_files 
&& $RM out
/ii_files
/* && rmdir out
/ii_files
 
12686    $RM out
/* && rmdir out
 
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 
12693 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 
12698 hard_links
="nottested" 
12699 if test "$lt_cv_prog_compiler_c_o_CXX" = no 
&& test "$need_locks" != no
; then 
12700   # do not overwrite the value of need_locks provided by the user 
12701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 
12702 $as_echo_n "checking if we can lock with hard links... " >&6; } 
12705   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
12707   ln conftest.a conftest.b 
2>&5 || hard_links
=no
 
12708   ln conftest.a conftest.b 
2>/dev
/null 
&& hard_links
=no
 
12709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 
12710 $as_echo "$hard_links" >&6; } 
12711   if test "$hard_links" = no
; then 
12712     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 
12713 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 
12722     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 
12723 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 
12725   export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
12728     # If we're using GNU nm, then we don't want the "-C" option. 
12729     # -C means demangle to AIX nm, but means don't demangle with GNU nm 
12730     if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then 
12731       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' 
12733       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' 
12737     export_symbols_cmds_CXX
="$ltdll_cmds" 
12739   cygwin
* | mingw
* | cegcc
*) 
12740     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' 
12742   linux
* | k
*bsd
*-gnu) 
12743     link_all_deplibs_CXX
=no
 
12746     export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
12749   exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 
12752 $as_echo "$ld_shlibs_CXX" >&6; } 
12753 test "$ld_shlibs_CXX" = no 
&& can_build_shared
=no
 
12755 with_gnu_ld_CXX
=$with_gnu_ld 
12763 # Do we need to explicitly link libc? 
12765 case "x$archive_cmds_need_lc_CXX" in 
12767   # Assume -lc should be added 
12768   archive_cmds_need_lc_CXX
=yes 
12770   if test "$enable_shared" = yes && test "$GCC" = yes; then 
12771     case $archive_cmds_CXX in 
12773       # FIXME: we may have to deal with multi-command sequences. 
12776       # Test whether the compiler implicitly links with -lc since on some 
12777       # systems, -lgcc has to come before -lc. If gcc already passes -lc 
12778       # to ld, don't add -lc before -lgcc. 
12779       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 
12780 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 
12782       echo "$lt_simple_compile_test_code" > conftest.
$ac_ext 
12784       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 
12785   (eval $ac_compile) 2>&5 
12787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
12788   test $ac_status = 0; } 2>conftest.err
; then 
12791         libobjs
=conftest.
$ac_objext 
12793         wl
=$lt_prog_compiler_wl_CXX 
12794         pic_flag
=$lt_prog_compiler_pic_CXX 
12800         lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX 
12801         allow_undefined_flag_CXX
= 
12802         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 
12803   (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null 
2\
>\
&1) 2>&5 
12805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
12806   test $ac_status = 0; } 
12808           archive_cmds_need_lc_CXX
=no
 
12810           archive_cmds_need_lc_CXX
=yes 
12812         allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag 
12814         cat conftest.err 
1>&5 
12817       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 
12818 $as_echo "$archive_cmds_need_lc_CXX" >&6; } 
12888     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 
12889 $as_echo_n "checking dynamic linker characteristics... " >&6; } 
12891 library_names_spec
= 
12892 libname_spec
='lib$name' 
12896 postuninstall_cmds
= 
12900 shlibpath_overrides_runpath
=unknown
 
12902 dynamic_linker
="$host_os ld.so" 
12903 sys_lib_dlsearch_path_spec
="/lib /usr/lib" 
12904 need_lib_prefix
=unknown
 
12905 hardcode_into_libs
=no
 
12907 # when you set need_version to no, make sure it does not cause -set_version 
12908 # flags to be left without arguments 
12909 need_version
=unknown
 
12914   library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a' 
12915   shlibpath_var
=LIBPATH
 
12917   # AIX 3 has no versioning support, so we append a major version to the name. 
12918   soname_spec
='${libname}${release}${shared_ext}$major' 
12925   hardcode_into_libs
=yes 
12926   if test "$host_cpu" = ia64
; then 
12927     # AIX 5 supports IA64 
12928     library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 
12929     shlibpath_var
=LD_LIBRARY_PATH
 
12931     # With GCC up to 2.95.x, collect2 would create an import file 
12932     # for dependence libraries.  The import file would start with 
12933     # the line `#! .'.  This would cause the generated library to 
12934     # depend on `.', always an invalid library.  This was fixed in 
12935     # development snapshots of GCC prior to 3.0. 
12937       aix4 
| aix4.
[01] | aix4.
[01].
*) 
12938       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
12940            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then 
12943         can_build_shared
=no
 
12947     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 
12948     # soname into executable. Probably we can add versioning support to 
12949     # collect2, so additional links can be useful in future. 
12950     if test "$aix_use_runtimelinking" = yes; then 
12951       # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
12952       # instead of lib<name>.a to let people know that these are not 
12953       # typical AIX shared libraries. 
12954       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
12956       # We preserve .a as extension for shared libraries through AIX4.2 
12957       # and later when we are not doing run time linking. 
12958       library_names_spec
='${libname}${release}.a $libname.a' 
12959       soname_spec
='${libname}${release}${shared_ext}$major' 
12961     shlibpath_var
=LIBPATH
 
12968     # Since July 2007 AmigaOS4 officially supports .so libraries. 
12969     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 
12970     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
12973     library_names_spec
='$libname.ixlibrary $libname.a' 
12974     # Create ${libname}_ixlibrary.a entries in /sys/libs. 
12975     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' 
12981   library_names_spec
='${libname}${shared_ext}' 
12982   dynamic_linker
="$host_os ld.so" 
12983   shlibpath_var
=LIBRARY_PATH
 
12989   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
12990   soname_spec
='${libname}${release}${shared_ext}$major' 
12991   finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir' 
12992   shlibpath_var
=LD_LIBRARY_PATH
 
12993   sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
12994   sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib" 
12995   # the default ld.so.conf also contains /usr/contrib/lib and 
12996   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
12997   # libtool to hard-code these into programs 
13000 cygwin
* | mingw
* | pw32
* | cegcc
*) 
13001   version_type
=windows
 
13006   case $GCC,$host_os in 
13007   yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*) 
13008     library_names_spec
='$libname.dll.a' 
13009     # DLL is installed to $(libdir)/../bin by postinstall_cmds 
13010     postinstall_cmds
='base_file=`basename \${file}`~ 
13011       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 
13012       dldir=$destdir/`dirname \$dlpath`~ 
13013       test -d \$dldir || mkdir -p \$dldir~ 
13014       $install_prog $dir/$dlname \$dldir/$dlname~ 
13015       chmod a+x \$dldir/$dlname~ 
13016       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 
13017         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 
13019     postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
13020       dlpath=$dir/\$dldll~ 
13022     shlibpath_overrides_runpath
=yes 
13026       # Cygwin DLLs use 'cyg' prefix rather than 'lib' 
13027       soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
13028       sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib" 
13031       # MinGW DLLs use traditional 'lib' prefix 
13032       soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
13033       sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
13034       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then 
13035         # It is most probably a Windows format PATH printed by 
13036         # mingw gcc, but we are running on Cygwin. Gcc prints its search 
13037         # path with ; separators, and with drive letters. We can handle the 
13038         # drive letters (cygwin fileutils understands them), so leave them, 
13039         # especially as we might pass files found there to a mingw objdump, 
13040         # which wouldn't understand a cygwinified path. Ahh. 
13041         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
13043         sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
13047       # pw32 DLLs use 'pw' prefix rather than 'lib' 
13048       library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}' 
13054     library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib' 
13057   dynamic_linker
='Win32 ld.exe' 
13058   # FIXME: first we should search . and the directory the executable is in 
13062 darwin
* | rhapsody
*) 
13063   dynamic_linker
="$host_os dyld" 
13064   version_type
=darwin
 
13067   library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
13068   soname_spec
='${libname}${release}${major}$shared_ext' 
13069   shlibpath_overrides_runpath
=yes 
13070   shlibpath_var
=DYLD_LIBRARY_PATH
 
13071   shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`' 
13073   sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib' 
13080   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 
13081   soname_spec
='${libname}${release}${shared_ext}$major' 
13082   shlibpath_var
=LD_LIBRARY_PATH
 
13089 freebsd
* | dragonfly
*) 
13090   # DragonFly does not have aout.  When/if they implement a new 
13091   # versioning mechanism, adjust this. 
13092   if test -x /usr
/bin
/objformat
; then 
13093     objformat
=`/usr/bin/objformat` 
13096     freebsd
[123]*) objformat
=aout 
;; 
13097     *) objformat
=elf 
;; 
13100   version_type
=freebsd
-$objformat 
13101   case $version_type in 
13103       library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
13108       library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 
13112   shlibpath_var
=LD_LIBRARY_PATH
 
13115     shlibpath_overrides_runpath
=yes 
13117   freebsd3.
[01]* | freebsdelf3.
[01]*) 
13118     shlibpath_overrides_runpath
=yes 
13119     hardcode_into_libs
=yes 
13121   freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
 
13122   freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1) 
13123     shlibpath_overrides_runpath
=no
 
13124     hardcode_into_libs
=yes 
13126   *) # from 4.6 on, and DragonFly 
13127     shlibpath_overrides_runpath
=yes 
13128     hardcode_into_libs
=yes 
13137   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
13138   soname_spec
='${libname}${release}${shared_ext}$major' 
13139   shlibpath_var
=LD_LIBRARY_PATH
 
13140   hardcode_into_libs
=yes 
13143 hpux9
* | hpux10
* | hpux11
*) 
13144   # Give a soname corresponding to the major version so that dld.sl refuses to 
13145   # link against other versions. 
13152     hardcode_into_libs
=yes 
13153     dynamic_linker
="$host_os dld.so" 
13154     shlibpath_var
=LD_LIBRARY_PATH
 
13155     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
13156     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13157     soname_spec
='${libname}${release}${shared_ext}$major' 
13158     if test "X$HPUX_IA64_MODE" = X32
; then 
13159       sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 
13161       sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64" 
13163     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
13167     hardcode_into_libs
=yes 
13168     dynamic_linker
="$host_os dld.sl" 
13169     shlibpath_var
=LD_LIBRARY_PATH 
# How should we handle SHLIB_PATH 
13170     shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified. 
13171     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13172     soname_spec
='${libname}${release}${shared_ext}$major' 
13173     sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 
13174     sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec 
13178     dynamic_linker
="$host_os dld.sl" 
13179     shlibpath_var
=SHLIB_PATH
 
13180     shlibpath_overrides_runpath
=no 
# +s is required to enable SHLIB_PATH 
13181     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13182     soname_spec
='${libname}${release}${shared_ext}$major' 
13185   # HP-UX runs *really* slowly unless shared libraries are mode 555. 
13186   postinstall_cmds
='chmod 555 $lib' 
13193   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
13194   soname_spec
='${libname}${release}${shared_ext}$major' 
13195   dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)' 
13196   shlibpath_var
=LD_LIBRARY_PATH
 
13197   shlibpath_overrides_runpath
=no
 
13198   hardcode_into_libs
=yes 
13201 irix5
* | irix6
* | nonstopux
*) 
13203     nonstopux
*) version_type
=nonstopux 
;; 
13205         if test "$lt_cv_prog_gnu_ld" = yes; then 
13213   soname_spec
='${libname}${release}${shared_ext}$major' 
13214   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 
13216   irix5
* | nonstopux
*) 
13217     libsuff
= shlibsuff
= 
13220     case $LD in # libtool.m4 will add one of these switches to LD 
13221     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
13222       libsuff
= shlibsuff
= libmagic
=32-bit;; 
13223     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 
13224       libsuff
=32 shlibsuff
=N32 libmagic
=N32
;; 
13225     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 
13226       libsuff
=64 shlibsuff
=64 libmagic
=64-bit;; 
13227     *) libsuff
= shlibsuff
= libmagic
=never
-match;; 
13231   shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
 
13232   shlibpath_overrides_runpath
=no
 
13233   sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
13234   sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}" 
13235   hardcode_into_libs
=yes 
13238 # No shared lib support for Linux oldld, aout, or coff. 
13239 linux
*oldld
* | linux
*aout
* | linux
*coff
*) 
13243 # This must be Linux ELF. 
13244 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu) 
13248   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13249   soname_spec
='${libname}${release}${shared_ext}$major' 
13250   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
13251   shlibpath_var
=LD_LIBRARY_PATH
 
13252   shlibpath_overrides_runpath
=no
 
13253   # Some binutils ld are patched to set DT_RUNPATH 
13254   save_LDFLAGS
=$LDFLAGS 
13255   save_libdir
=$libdir 
13256   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 
13257        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 
13258   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
13259 /* end confdefs.h.  */ 
13269 if ac_fn_cxx_try_link 
"$LINENO"; then : 
13270   if  ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null 
| grep "RUNPATH.*$libdir" >/dev
/null
; then : 
13271   shlibpath_overrides_runpath
=yes 
13274 rm -f core conftest.err conftest.
$ac_objext \
 
13275     conftest
$ac_exeext conftest.
$ac_ext 
13276   LDFLAGS
=$save_LDFLAGS 
13277   libdir
=$save_libdir 
13279   # This implies no fast_install, which is unacceptable. 
13280   # Some rework will be needed to allow for fast_install 
13281   # before this can be enabled. 
13282   hardcode_into_libs
=yes 
13284   # Append ld.so.conf contents to the search path 
13285   if test -f /etc
/ld.so.conf
; then 
13286     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' ' '` 
13287     sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra" 
13290   # We used to test for /lib/ld.so.1 and disable shared libraries on 
13291   # powerpc, because MkLinux only supported shared libraries with the 
13292   # GNU dynamic linker.  Since this was broken with cross compilers, 
13293   # most powerpc-linux boxes support dynamic linking these days and 
13294   # people can always --disable-shared, the test was removed, and we 
13295   # assume the GNU/Linux dynamic linker is in use. 
13296   dynamic_linker
='GNU/Linux ld.so' 
13303   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
13304   soname_spec
='${libname}${release}${shared_ext}$major' 
13305   shlibpath_var
=LD_LIBRARY_PATH
 
13306   shlibpath_overrides_runpath
=no
 
13307   hardcode_into_libs
=yes 
13308   dynamic_linker
='NetBSD ld.elf_so' 
13315   if echo __ELF__ 
| $CC -E - | $GREP __ELF__ 
>/dev
/null
; then 
13316     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
13317     finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
13318     dynamic_linker
='NetBSD (a.out) ld.so' 
13320     library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
13321     soname_spec
='${libname}${release}${shared_ext}$major' 
13322     dynamic_linker
='NetBSD ld.elf_so' 
13324   shlibpath_var
=LD_LIBRARY_PATH
 
13325   shlibpath_overrides_runpath
=yes 
13326   hardcode_into_libs
=yes 
13331   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13332   shlibpath_var
=LD_LIBRARY_PATH
 
13333   shlibpath_overrides_runpath
=yes 
13340   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13341   soname_spec
='${libname}${release}${shared_ext}$major' 
13342   shlibpath_var
=LD_LIBRARY_PATH
 
13343   shlibpath_overrides_runpath
=no
 
13344   hardcode_into_libs
=yes 
13345   dynamic_linker
='ldqnx.so' 
13350   sys_lib_dlsearch_path_spec
="/usr/lib" 
13352   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
13354     openbsd3.3 
| openbsd3.3.
*)  need_version
=yes ;; 
13355     *)                          need_version
=no  
;; 
13357   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
13358   finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
13359   shlibpath_var
=LD_LIBRARY_PATH
 
13360   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
13362       openbsd2.
[89] | openbsd2.
[89].
*) 
13363         shlibpath_overrides_runpath
=no
 
13366         shlibpath_overrides_runpath
=yes 
13370     shlibpath_overrides_runpath
=yes 
13375   libname_spec
='$name' 
13378   library_names_spec
='$libname${shared_ext} $libname.a' 
13379   dynamic_linker
='OS/2 ld.exe' 
13380   shlibpath_var
=LIBPATH
 
13383 osf3
* | osf4
* | osf5
*) 
13387   soname_spec
='${libname}${release}${shared_ext}$major' 
13388   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13389   shlibpath_var
=LD_LIBRARY_PATH
 
13390   sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
13391   sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec" 
13402   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13403   soname_spec
='${libname}${release}${shared_ext}$major' 
13404   shlibpath_var
=LD_LIBRARY_PATH
 
13405   shlibpath_overrides_runpath
=yes 
13406   hardcode_into_libs
=yes 
13407   # ldd complains unless libraries are executable 
13408   postinstall_cmds
='chmod +x $lib' 
13413   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
13414   finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
13415   shlibpath_var
=LD_LIBRARY_PATH
 
13416   shlibpath_overrides_runpath
=yes 
13417   if test "$with_gnu_ld" = yes; then 
13425   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13426   soname_spec
='${libname}${release}${shared_ext}$major' 
13427   shlibpath_var
=LD_LIBRARY_PATH
 
13428   case $host_vendor in 
13430       shlibpath_overrides_runpath
=no
 
13432       runpath_var
=LD_RUN_PATH
 
13440       shlibpath_overrides_runpath
=no
 
13441       sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib' 
13447   if test -d /usr
/nec 
;then 
13449     library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 
13450     soname_spec
='$libname${shared_ext}.$major' 
13451     shlibpath_var
=LD_LIBRARY_PATH
 
13455 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*) 
13456   version_type
=freebsd
-elf 
13459   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
13460   soname_spec
='${libname}${release}${shared_ext}$major' 
13461   shlibpath_var
=LD_LIBRARY_PATH
 
13462   shlibpath_overrides_runpath
=yes 
13463   hardcode_into_libs
=yes 
13464   if test "$with_gnu_ld" = yes; then 
13465     sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
13467     sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib' 
13470         sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib" 
13474   sys_lib_dlsearch_path_spec
='/usr/lib' 
13478   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux. 
13482   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13483   shlibpath_var
=LD_LIBRARY_PATH
 
13484   shlibpath_overrides_runpath
=no
 
13485   hardcode_into_libs
=yes 
13490   library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
13491   soname_spec
='${libname}${release}${shared_ext}$major' 
13492   shlibpath_var
=LD_LIBRARY_PATH
 
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 
13500 $as_echo "$dynamic_linker" >&6; } 
13501 test "$dynamic_linker" = no 
&& can_build_shared
=no
 
13503 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var" 
13504 if test "$GCC" = yes; then 
13505   variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
13508 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 
13509   sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec" 
13511 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 
13512   sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec" 
13550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 
13551 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 
13552 hardcode_action_CXX
= 
13553 if test -n "$hardcode_libdir_flag_spec_CXX" || 
13554    test -n "$runpath_var_CXX" || 
13555    test "X$hardcode_automatic_CXX" = "Xyes" ; then 
13557   # We can hardcode non-existent directories. 
13558   if test "$hardcode_direct_CXX" != no 
&& 
13559      # If the only mechanism to avoid hardcoding is shlibpath_var, we 
13560      # have to relink, otherwise we might link with an installed library 
13561      # when we should be linking with a yet-to-be-installed one 
13562      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 
13563      test "$hardcode_minus_L_CXX" != no
; then 
13564     # Linking always hardcodes the temporary library directory. 
13565     hardcode_action_CXX
=relink
 
13567     # We can link without hardcoding, and we can hardcode nonexisting dirs. 
13568     hardcode_action_CXX
=immediate
 
13571   # We cannot hardcode anything, or else we can only hardcode existing 
13573   hardcode_action_CXX
=unsupported
 
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 
13576 $as_echo "$hardcode_action_CXX" >&6; } 
13578 if test "$hardcode_action_CXX" = relink 
|| 
13579    test "$inherit_rpath_CXX" = yes; then 
13580   # Fast installation is not supported 
13581   enable_fast_install
=no
 
13582 elif test "$shlibpath_overrides_runpath" = yes || 
13583      test "$enable_shared" = no
; then 
13584   # Fast installation is not necessary 
13585   enable_fast_install
=needless
 
13594   fi # test -n "$compiler" 
13600   with_gnu_ld
=$lt_save_with_gnu_ld 
13601   lt_cv_path_LDCXX
=$lt_cv_path_LD 
13602   lt_cv_path_LD
=$lt_save_path_LD 
13603   lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld 
13604   lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld 
13605 fi # test "$_lt_caught_CXX_error" != yes 
13608 ac_cpp
='$CPP $CPPFLAGS' 
13609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
13610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
13611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu 
13615 ac_cpp
='$CXXCPP $CPPFLAGS' 
13616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
13617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
13618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
13620 for ac_prog 
in 'bison -y' byacc
 
13622   # Extract the first word of "$ac_prog", so it can be a program name with args. 
13623 set dummy 
$ac_prog; ac_word
=$2 
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
13625 $as_echo_n "checking for $ac_word... " >&6; } 
13626 if test "${ac_cv_prog_YACC+set}" = set; then : 
13627   $as_echo_n "(cached) " >&6 
13629   if test -n "$YACC"; then 
13630   ac_cv_prog_YACC
="$YACC" # Let the user override the test. 
13632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
13633 for as_dir 
in $PATH 
13636   test -z "$as_dir" && as_dir
=.
 
13637     for ac_exec_ext 
in '' $ac_executable_extensions; do 
13638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
13639     ac_cv_prog_YACC
="$ac_prog" 
13640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
13649 YACC
=$ac_cv_prog_YACC 
13650 if test -n "$YACC"; then 
13651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 
13652 $as_echo "$YACC" >&6; } 
13654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
13655 $as_echo "no" >&6; } 
13659   test -n "$YACC" && break 
13661 test -n "$YACC" || YACC
="yacc" 
13667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5 
13668 $as_echo_n "checking if bison is the parser generator... " >&6; } 
13669 if test "${ax_cv_prog_bison+set}" = set; then : 
13670   $as_echo_n "(cached) " >&6 
13673     if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then : 
13675       ax_cv_prog_bison
=yes 
13679       ax_cv_prog_bison
=no
 
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5 
13685 $as_echo "$ax_cv_prog_bison" >&6; } 
13686   if test "$ax_cv_prog_bison" = yes; then : 
13690         BISON
=`echo $YACC | $SED -e 's/ -y//'` 
13691         BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'` 
13697     as_fn_error 
"You need bison 2.3 or greater" "$LINENO" 5 
13701 for ac_prog 
in gawk mawk nawk 
awk 
13703   # Extract the first word of "$ac_prog", so it can be a program name with args. 
13704 set dummy 
$ac_prog; ac_word
=$2 
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
13706 $as_echo_n "checking for $ac_word... " >&6; } 
13707 if test "${ac_cv_prog_AWK+set}" = set; then : 
13708   $as_echo_n "(cached) " >&6 
13710   if test -n "$AWK"; then 
13711   ac_cv_prog_AWK
="$AWK" # Let the user override the test. 
13713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
13714 for as_dir 
in $PATH 
13717   test -z "$as_dir" && as_dir
=.
 
13718     for ac_exec_ext 
in '' $ac_executable_extensions; do 
13719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
13720     ac_cv_prog_AWK
="$ac_prog" 
13721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
13730 AWK
=$ac_cv_prog_AWK 
13731 if test -n "$AWK"; then 
13732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 
13733 $as_echo "$AWK" >&6; } 
13735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
13736 $as_echo "no" >&6; } 
13740   test -n "$AWK" && break 
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.3" >&5 
13744 $as_echo_n "checking if bison is >= 2.3... " >&6; } 
13745 as_arg_v1
=$BISON_VERSION 
13747 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
 
13751         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
13752 $as_echo "no" >&6; } 
13753         as_fn_error 
"You need bison 2.3 or greater" "$LINENO" 5 
13756     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
13757 $as_echo "yes" >&6; } ;; #( 
13759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
13760 $as_echo "yes" >&6; } ;; #( 
13765 # expand $ac_aux_dir to an absolute path 
13766 am_aux_dir
=`cd $ac_aux_dir && pwd` 
13768 if test x
"${MISSING+set}" != xset
; then 
13769   case $am_aux_dir in 
13771     MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;; 
13773     MISSING
="\${SHELL} $am_aux_dir/missing" ;; 
13776 # Use eval to expand $SHELL 
13777 if eval "$MISSING --run true"; then 
13778   am_missing_run
="$MISSING --run " 
13781   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 
13782 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 
13785 for ac_prog 
in flex 
lex 
13787   # Extract the first word of "$ac_prog", so it can be a program name with args. 
13788 set dummy 
$ac_prog; ac_word
=$2 
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
13790 $as_echo_n "checking for $ac_word... " >&6; } 
13791 if test "${ac_cv_prog_LEX+set}" = set; then : 
13792   $as_echo_n "(cached) " >&6 
13794   if test -n "$LEX"; then 
13795   ac_cv_prog_LEX
="$LEX" # Let the user override the test. 
13797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
13798 for as_dir 
in $PATH 
13801   test -z "$as_dir" && as_dir
=.
 
13802     for ac_exec_ext 
in '' $ac_executable_extensions; do 
13803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
13804     ac_cv_prog_LEX
="$ac_prog" 
13805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
13814 LEX
=$ac_cv_prog_LEX 
13815 if test -n "$LEX"; then 
13816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 
13817 $as_echo "$LEX" >&6; } 
13819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
13820 $as_echo "no" >&6; } 
13824   test -n "$LEX" && break 
13826 test -n "$LEX" || LEX
=":" 
13828 if test "x$LEX" != "x:"; then 
13829   cat >conftest.l 
<<_ACEOF 
13835 e { yyless (input () != 0); } 
13836 f { unput (yytext[0]); } 
13837 . { BEGIN INITIAL; } 
13839 #ifdef YYTEXT_POINTER 
13840 extern char *yytext; 
13845   return ! yylex () + ! yywrap (); 
13848 { { ac_try
="$LEX conftest.l" 
13849 case "(($ac_try" in 
13850   *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;; 
13851   *) ac_try_echo=$ac_try;; 
13853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
13854 $as_echo "$ac_try_echo"; } >&5 
13855   (eval "$LEX conftest.l") 2>&5 
13857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
13858   test $ac_status = 0; } 
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 
13860 $as_echo_n "checking lex output file root... " >&6; } 
13861 if test "${ac_cv_prog_lex_root+set}" = set; then : 
13862   $as_echo_n "(cached) " >&6 
13865 if test -f lex.yy.c; then 
13866   ac_cv_prog_lex_root=lex.yy 
13867 elif test -f lexyy.c; then 
13868   ac_cv_prog_lex_root=lexyy 
13870   as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 
13874 $as_echo "$ac_cv_prog_lex_root" >&6; } 
13875 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 
13877 if test -z "${LEXLIB+set}"; then 
13878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 
13879 $as_echo_n "checking lex library... " >&6; } 
13880 if test "${ac_cv_lib_lex+set}" = set; then : 
13881   $as_echo_n "(cached) " >&6 
13885     ac_cv_lib_lex='none needed' 
13886     for ac_lib in '' -lfl -ll; do 
13887       LIBS="$ac_lib $ac_save_LIBS" 
13888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
13889 /* end confdefs.h.  */ 
13890 `cat $LEX_OUTPUT_ROOT.c
` 
13892 if ac_fn_cxx_try_link "$LINENO"; then : 
13893   ac_cv_lib_lex=$ac_lib 
13895 rm -f core conftest.err conftest.$ac_objext \ 
13896     conftest$ac_exeext conftest.$ac_ext 
13897       test "$ac_cv_lib_lex" != 'none needed' && break 
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 
13903 $as_echo "$ac_cv_lib_lex" >&6; } 
13904   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 
13909 $as_echo_n "checking whether yytext is a pointer... " >&6; } 
13910 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : 
13911   $as_echo_n "(cached) " >&6 
13913   # POSIX says lex can declare yytext either as a pointer or an array; the 
13914 # default is implementation-dependent.  Figure out which it is, since 
13915 # not all implementations provide the %pointer and %array declarations. 
13916 ac_cv_prog_lex_yytext_pointer=no 
13918 LIBS="$LEXLIB $ac_save_LIBS" 
13919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
13920 /* end confdefs.h.  */ 
13921 #define YYTEXT_POINTER 1 
13922 `cat $LEX_OUTPUT_ROOT.c
` 
13924 if ac_fn_cxx_try_link "$LINENO"; then : 
13925   ac_cv_prog_lex_yytext_pointer=yes 
13927 rm -f core conftest.err conftest.$ac_objext \ 
13928     conftest$ac_exeext conftest.$ac_ext 
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 
13933 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 
13934 if test $ac_cv_prog_lex_yytext_pointer = yes; then 
13936 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 
13939 rm -f conftest.l $LEX_OUTPUT_ROOT.c 
13942 if test "$LEX" = :; then 
13943   LEX=${am_missing_run}flex 
13949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5 
13950 $as_echo_n "checking if flex is the lexer generator... " >&6; } 
13951 if test "${ax_cv_prog_flex+set}" = set; then : 
13952   $as_echo_n "(cached) " >&6 
13955     if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then : 
13957       ax_cv_prog_flex=yes 
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5 
13967 $as_echo "$ax_cv_prog_flex" >&6; } 
13968   if test "$ax_cv_prog_flex" = yes; then : 
13973         FLEX_VERSION=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'` 
13979     as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5 
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5 
13984 $as_echo_n "checking if flex is >= 2.5.33... " >&6; } 
13985 as_arg_v1=$FLEX_VERSION 
13987 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null 
13991         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
13992 $as_echo "no" >&6; } 
13993         as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5 
13996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
13997 $as_echo "yes" >&6; } ;; #( 
13999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
14000 $as_echo "yes" >&6; } ;; #( 
14005 for ac_prog in bash 
14007   # Extract the first word of "$ac_prog", so it can be a program name with args. 
14008 set dummy $ac_prog; ac_word=$2 
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
14010 $as_echo_n "checking for $ac_word... " >&6; } 
14011 if test "${ac_cv_prog__BASH+set}" = set; then : 
14012   $as_echo_n "(cached) " >&6 
14014   if test -n "$_BASH"; then 
14015   ac_cv_prog__BASH="$_BASH" # Let the user override the test. 
14017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
14018 for as_dir in $PATH 
14021   test -z "$as_dir" && as_dir=. 
14022     for ac_exec_ext in '' $ac_executable_extensions; do 
14023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
14024     ac_cv_prog__BASH="$ac_prog" 
14025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
14034 _BASH=$ac_cv_prog__BASH 
14035 if test -n "$_BASH"; then 
14036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5 
14037 $as_echo "$_BASH" >&6; } 
14039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
14040 $as_echo "no" >&6; } 
14044   test -n "$_BASH" && break 
14048 for ac_prog in gperf 
14050   # Extract the first word of "$ac_prog", so it can be a program name with args. 
14051 set dummy $ac_prog; ac_word=$2 
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
14053 $as_echo_n "checking for $ac_word... " >&6; } 
14054 if test "${ac_cv_prog_GPERF+set}" = set; then : 
14055   $as_echo_n "(cached) " >&6 
14057   if test -n "$GPERF"; then 
14058   ac_cv_prog_GPERF="$GPERF" # Let the user override the test. 
14060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
14061 for as_dir in $PATH 
14064   test -z "$as_dir" && as_dir=. 
14065     for ac_exec_ext in '' $ac_executable_extensions; do 
14066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
14067     ac_cv_prog_GPERF="$ac_prog" 
14068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
14077 GPERF=$ac_cv_prog_GPERF 
14078 if test -n "$GPERF"; then 
14079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5 
14080 $as_echo "$GPERF" >&6; } 
14082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
14083 $as_echo "no" >&6; } 
14087   test -n "$GPERF" && break 
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5 
14091 $as_echo_n "checking if gperf >= 3.0.3... " >&6; } 
14092 GPERF_VERSION=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'` 
14093 as_arg_v1=$GPERF_VERSION 
14095 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null 
14099         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
14100 $as_echo "no" >&6; } 
14101         as_fn_error "You need gperf 3.0.3 or greater" "$LINENO" 5 
14104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
14105 $as_echo "yes" >&6; } ;; #( 
14107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
14108 $as_echo "yes" >&6; } ;; #( 
14112 for ac_prog in time 
14114   # Extract the first word of "$ac_prog", so it can be a program name with args. 
14115 set dummy $ac_prog; ac_word=$2 
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
14117 $as_echo_n "checking for $ac_word... " >&6; } 
14118 if test "${ac_cv_prog_TIME+set}" = set; then : 
14119   $as_echo_n "(cached) " >&6 
14121   if test -n "$TIME"; then 
14122   ac_cv_prog_TIME="$TIME" # Let the user override the test. 
14124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
14125 for as_dir in $PATH 
14128   test -z "$as_dir" && as_dir=. 
14129     for ac_exec_ext in '' $ac_executable_extensions; do 
14130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
14131     ac_cv_prog_TIME="$ac_prog" 
14132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
14141 TIME=$ac_cv_prog_TIME 
14142 if test -n "$TIME"; then 
14143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5 
14144 $as_echo "$TIME" >&6; } 
14146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
14147 $as_echo "no" >&6; } 
14151   test -n "$TIME" && break 
14157   if test "$target_os" = "os2-emx"; then 
14158     # Scripts don't pass test -x on OS/2 
14164   acceptable_majors="1" 
14166   apr_temp_acceptable_apr_config="" 
14167   for apr_temp_major in $acceptable_majors 
14169     case $apr_temp_major in 
14171       apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config" 
14174       apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config" 
14179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5 
14180 $as_echo_n "checking for APR... " >&6; } 
14182 # Check whether --with-apr was given. 
14183 if test "${with_apr+set}" = set; then : 
14185     if test "$withval" = "no" || test "$withval" = "yes"; then 
14186       as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5 
14189     for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config 
14191       for lookdir in "$withval/bin" "$withval" 
14193         if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then 
14194           apr_config="$lookdir/$apr_temp_apr_config_file" 
14202     if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then 
14203       apr_config="$withval" 
14207             if test "$apr_found" != "yes"; then 
14208       as_fn_error "the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5 
14213         if test -n "1" && test "1" = "1"; then 
14214       for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config 
14216         if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then 
14217           apr_config="$apr_temp_apr_config_file" 
14222                     for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do 
14223             if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then 
14224               apr_config="$lookdir/bin/$apr_temp_apr_config_file" 
14233         if test "$apr_found" = "no" && test -d ""; then 
14234       apr_temp_abs_srcdir="`cd  && pwd`" 
14235       apr_found="reconfig" 
14236       apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`" 
14237       case $apr_bundled_major in 
14239           as_fn_error "failed to find major version of bundled APR" "$LINENO" 5 
14242           apr_temp_apr_config_file="apr-config" 
14245           apr_temp_apr_config_file="apr-$apr_bundled_major-config" 
14248       if test -n ""; then 
14249         apr_config="/$apr_temp_apr_config_file" 
14251         apr_config="/$apr_temp_apr_config_file" 
14258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5 
14259 $as_echo "$apr_found" >&6; } 
14261 case $apr_found in #( 
14265   for element in `$apr_config --includes`; do 
14267     for x in $CPPFLAGS; do 
14269   acl_save_prefix="$prefix" 
14270   prefix="$acl_final_prefix" 
14271   acl_save_exec_prefix="$exec_prefix" 
14272   exec_prefix="$acl_final_exec_prefix" 
14274   exec_prefix="$acl_save_exec_prefix" 
14275   prefix="$acl_save_prefix" 
14277       if test "X$x" = "X$element"; then 
14282     if test -z "$haveit"; then 
14283       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 
14287         LTLIBAPR=`$apr_config --link-libtool` 
14291     as_fn_error "You need apr" "$LINENO" 5 ;; 
14295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5 
14296 $as_echo_n "checking for a readline compatible library... " >&6; } 
14297 if test "${vl_cv_lib_readline+set}" = set; then : 
14298   $as_echo_n "(cached) " >&6 
14302     for readline_lib in readline edit editline; do 
14303       for termcap_lib in "" termcap curses ncurses; do 
14304         if test -z "$termcap_lib"; then 
14305           TRY_LIB="-l$readline_lib" 
14307           TRY_LIB="-l$readline_lib -l$termcap_lib" 
14309         LIBS="$ORIG_LIBS $TRY_LIB" 
14310         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
14311 /* end confdefs.h.  */ 
14313 /* Override any GCC internal prototype to avoid an error. 
14314    Use char because int might match the return type of a GCC 
14315    builtin and then its argument prototype would still apply.  */ 
14323 return readline (); 
14328 if ac_fn_cxx_try_link "$LINENO"; then : 
14329   vl_cv_lib_readline="$TRY_LIB" 
14331 rm -f core conftest.err conftest.$ac_objext \ 
14332     conftest$ac_exeext conftest.$ac_ext 
14333         if test -n "$vl_cv_lib_readline"; then 
14337       if test -n "$vl_cv_lib_readline"; then 
14341     if test -z "$vl_cv_lib_readline"; then 
14342       vl_cv_lib_readline="no" 
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5 
14348 $as_echo "$vl_cv_lib_readline" >&6; } 
14350   if test "$vl_cv_lib_readline" != "no"; then 
14352 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h 
14354     for ac_header in readline.h readline/readline.h 
14356   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
14357 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 
14358 eval as_val=\$$as_ac_Header 
14359    if test "x$as_val" = x""yes; then : 
14360   cat >>confdefs.h <<_ACEOF 
14361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
14368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5 
14369 $as_echo_n "checking whether readline supports history... " >&6; } 
14370 if test "${vl_cv_lib_readline_history+set}" = set; then : 
14371   $as_echo_n "(cached) " >&6 
14374       vl_cv_lib_readline_history="no" 
14375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
14376 /* end confdefs.h.  */ 
14378 /* Override any GCC internal prototype to avoid an error. 
14379    Use char because int might match the return type of a GCC 
14380    builtin and then its argument prototype would still apply.  */ 
14384 char add_history (); 
14388 return add_history (); 
14393 if ac_fn_cxx_try_link "$LINENO"; then : 
14394   vl_cv_lib_readline_history="yes" 
14396 rm -f core conftest.err conftest.$ac_objext \ 
14397     conftest$ac_exeext conftest.$ac_ext 
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5 
14401 $as_echo "$vl_cv_lib_readline_history" >&6; } 
14402     if test "$vl_cv_lib_readline_history" = "yes"; then 
14404 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h 
14406       for ac_header in history.h readline/history.h 
14408   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
14409 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 
14410 eval as_val=\$$as_ac_Header 
14411    if test "x$as_val" = x""yes; then : 
14412   cat >>confdefs.h <<_ACEOF 
14413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
14423 # Find a good install program.  We prefer a C program (faster), 
14424 # so one script is as good as another.  But avoid the broken or 
14425 # incompatible versions: 
14426 # SysV /etc/install, /usr/sbin/install 
14427 # SunOS /usr/etc/install 
14428 # IRIX /sbin/install 
14430 # AmigaOS /C/install, which installs bootblocks on floppy discs 
14431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 
14432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 
14433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
14434 # OS/2's system install, which has a completely different semantic 
14435 # ./install, which can be erroneously created by make from ./install.sh. 
14436 # Reject install programs that cannot install multiple files. 
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 
14438 $as_echo_n "checking for a BSD-compatible install... " >&6; } 
14439 if test -z "$INSTALL"; then 
14440 if test "${ac_cv_path_install+set}" = set; then : 
14441   $as_echo_n "(cached) " >&6 
14443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
14444 for as_dir in $PATH 
14447   test -z "$as_dir" && as_dir=. 
14448     # Account for people who put trailing slashes in PATH elements. 
14449 case $as_dir/ in #(( 
14450   ./ | .// | /[cC]/* | \ 
14451   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 
14452   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 
14455     # OSF1 and SCO ODT 3.0 have their own names for install. 
14456     # Don't use installbsd from OSF since it installs stuff as root 
14458     for ac_prog in ginstall scoinst install; do 
14459       for ac_exec_ext in '' $ac_executable_extensions; do 
14460         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 
14461           if test $ac_prog = install && 
14462             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
14463             # AIX install.  It has an incompatible calling convention. 
14465           elif test $ac_prog = install && 
14466             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
14467             # program-specific install script used by HP pwplus--don't use. 
14470             rm -rf conftest.one conftest.two conftest.dir 
14471             echo one > conftest.one 
14472             echo two > conftest.two 
14474             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 
14475               test -s conftest.one && test -s conftest.two && 
14476               test -s conftest.dir/conftest.one && 
14477               test -s conftest.dir/conftest.two 
14479               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 
14492 rm -rf conftest.one conftest.two conftest.dir 
14495   if test "${ac_cv_path_install+set}" = set; then 
14496     INSTALL=$ac_cv_path_install 
14498     # As a last resort, use the slow shell script.  Don't cache a 
14499     # value for INSTALL within a source directory, because that will 
14500     # break other packages using the cache if that directory is 
14501     # removed, or if the value is a relative name. 
14502     INSTALL=$ac_install_sh 
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 
14506 $as_echo "$INSTALL" >&6; } 
14508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
14509 # It thinks the first close brace ends the variable substitution. 
14510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 
14512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 
14514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 
14517 ac_cpp='$CPP $CPPFLAGS' 
14518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
14519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
14520 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
14523       if test "X$prefix" = "XNONE"; then 
14524     acl_final_prefix="$ac_default_prefix" 
14526     acl_final_prefix="$prefix" 
14528   if test "X$exec_prefix" = "XNONE"; then 
14529     acl_final_exec_prefix='${prefix}' 
14531     acl_final_exec_prefix="$exec_prefix" 
14533   acl_save_prefix="$prefix" 
14534   prefix="$acl_final_prefix" 
14535   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 
14536   prefix="$acl_save_prefix" 
14539 # Check whether --with-gnu-ld was given. 
14540 if test "${with_gnu_ld+set}" = set; then : 
14541   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 
14546 # Prepare PATH_SEPARATOR. 
14547 # The user is always right. 
14548 if test "${PATH_SEPARATOR+set}" != set; then 
14549   echo "#! /bin/sh" >conf$$.sh 
14550   echo  "exit 0"   >>conf$$.sh 
14552   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
14560 if test "$GCC" = yes; then 
14561   # Check if gcc -print-prog-name=ld gives a path. 
14562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 
14563 $as_echo_n "checking for ld used by GCC... " >&6; } 
14566     # gcc leaves a trailing carriage return which upsets mingw 
14567     ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;; 
14569     ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;; 
14572     # Accept absolute paths. 
14573     [\\/]* | [A-Za-z]:[\\/]*) 
14574       re_direlt='/[^/][^/]*/\.\./' 
14575       # Canonicalize the path of ld 
14576       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 
14577       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 
14578         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 
14580       test -z "$LD" && LD="$ac_prog" 
14583     # If it fails, then pretend we aren't using GCC. 
14587     # If it is relative, then search for the first ld in PATH. 
14588     with_gnu_ld=unknown 
14591 elif test "$with_gnu_ld" = yes; then 
14592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 
14593 $as_echo_n "checking for GNU ld... " >&6; } 
14595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 
14596 $as_echo_n "checking for non-GNU ld... " >&6; } 
14598 if test "${acl_cv_path_LD+set}" = set; then : 
14599   $as_echo_n "(cached) " >&6 
14601   if test -z "$LD"; then 
14602   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 
14603   for ac_dir in $PATH; do 
14604     test -z "$ac_dir" && ac_dir=. 
14605     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
14606       acl_cv_path_LD="$ac_dir/$ac_prog" 
14607       # Check to see if the program is GNU ld.  I'd rather use --version, 
14608       # but apparently some GNU ld's only accept -v. 
14609       # Break only if it was the GNU/non-GNU ld that we prefer. 
14610       case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in 
14611       *GNU* | *'with BFD'*) 
14612         test "$with_gnu_ld" != no && break ;; 
14614         test "$with_gnu_ld" != yes && break ;; 
14620   acl_cv_path_LD="$LD" # Let the user override the test with a path. 
14624 LD="$acl_cv_path_LD" 
14625 if test -n "$LD"; then 
14626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 
14627 $as_echo "$LD" >&6; } 
14629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
14630 $as_echo "no" >&6; } 
14632 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 
14634 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 
14635 if test "${acl_cv_prog_gnu_ld+set}" = set; then : 
14636   $as_echo_n "(cached) " >&6 
14638   # I'd rather use --version here, but apparently some GNU ld's only accept -v. 
14639 case `$LD -v 2>&1 </dev
/null
` in 
14640 *GNU* | *'with BFD'*) 
14641   acl_cv_prog_gnu_ld=yes ;; 
14643   acl_cv_prog_gnu_ld=no ;; 
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 
14647 $as_echo "$acl_cv_prog_gnu_ld" >&6; } 
14648 with_gnu_ld=$acl_cv_prog_gnu_ld 
14653                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 
14654 $as_echo_n "checking for shared library run path origin... " >&6; } 
14655 if test "${acl_cv_rpath+set}" = set; then : 
14656   $as_echo_n "(cached) " >&6 
14659     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 
14660     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 
14662     rm -f ./conftest.sh 
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 
14667 $as_echo "$acl_cv_rpath" >&6; } 
14669   acl_libext="$acl_cv_libext" 
14670   acl_shlibext="$acl_cv_shlibext" 
14671   acl_libname_spec="$acl_cv_libname_spec" 
14672   acl_library_names_spec="$acl_cv_library_names_spec" 
14673   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 
14674   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 
14675   acl_hardcode_direct="$acl_cv_hardcode_direct" 
14676   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 
14677     # Check whether --enable-rpath was given. 
14678 if test "${enable_rpath+set}" = set; then : 
14679   enableval=$enable_rpath; : 
14687   searchpath=`(LC_ALL
=C 
$CC -print-search-dirs) 2>/dev
/null 
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 
14688   if test -n "$searchpath"; then 
14689     acl_save_IFS="${IFS=        }"; IFS=":" 
14690     for searchdir in $searchpath; do 
14691       if test -d "$searchdir"; then 
14692         case "$searchdir" in 
14693           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 
14694           *) searchdir=`cd "$searchdir" && pwd` 
14695              case "$searchdir" in 
14696                */lib64 ) acl_libdirstem=lib64 ;; 
14701     IFS="$acl_save_IFS" 
14714   acl_save_prefix="$prefix" 
14715   prefix="$acl_final_prefix" 
14716   acl_save_exec_prefix="$exec_prefix" 
14717   exec_prefix="$acl_final_exec_prefix" 
14719     eval additional_includedir=\"$includedir\" 
14720     eval additional_libdir=\"$libdir\" 
14722   exec_prefix="$acl_save_exec_prefix" 
14723   prefix="$acl_save_prefix" 
14726 # Check whether --with-libiconv-prefix was given. 
14727 if test "${with_libiconv_prefix+set}" = set; then : 
14728   withval=$with_libiconv_prefix; 
14729     if test "X$withval" = "Xno"; then 
14732       if test "X$withval" = "X"; then 
14734   acl_save_prefix="$prefix" 
14735   prefix="$acl_final_prefix" 
14736   acl_save_exec_prefix="$exec_prefix" 
14737   exec_prefix="$acl_final_exec_prefix" 
14739           eval additional_includedir=\"$includedir\" 
14740           eval additional_libdir=\"$libdir\" 
14742   exec_prefix="$acl_save_exec_prefix" 
14743   prefix="$acl_save_prefix" 
14746         additional_includedir="$withval/include" 
14747         additional_libdir="$withval/$acl_libdirstem" 
14759   names_already_handled= 
14760   names_next_round='iconv ' 
14761   while test -n "$names_next_round"; do 
14762     names_this_round="$names_next_round" 
14764     for name in $names_this_round; do 
14766       for n in $names_already_handled; do 
14767         if test "$n" = "$name"; then 
14768           already_handled=yes 
14772       if test -z "$already_handled"; then 
14773         names_already_handled="$names_already_handled $name" 
14774                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 
14775         eval value=\"\$HAVE_LIB$uppername\" 
14776         if test -n "$value"; then 
14777           if test "$value" = yes; then 
14778             eval value=\"\$LIB$uppername\" 
14779             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 
14780             eval value=\"\$LTLIB$uppername\" 
14781             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 
14790           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name 
14791           if test -n "$acl_shlibext"; then 
14792             shrext=".$acl_shlibext"             # typically: shrext=.so 
14796           if test $use_additional = yes; then 
14797             dir="$additional_libdir" 
14798                                     if test -n "$acl_shlibext"; then 
14799               if test -f "$dir/$libname$shrext"; then 
14801                 found_so="$dir/$libname$shrext" 
14803                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 
14804                   ver=`(cd "$dir" && \
 
14805                         for f 
in "$libname$shrext".
*; do echo "$f"; done \
 
14806                         | sed -e "s,^$libname$shrext\\\\.,," \
 
14807                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
14808                         | sed 1q 
) 2>/dev
/null
` 
14809                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 
14811                     found_so="$dir/$libname$shrext.$ver" 
14814                   eval library_names=\"$acl_library_names_spec\" 
14815                   for f in $library_names; do 
14816                     if test -f "$dir/$f"; then 
14825                         if test "X$found_dir" = "X"; then 
14826               if test -f "$dir/$libname.$acl_libext"; then 
14828                 found_a="$dir/$libname.$acl_libext" 
14831             if test "X$found_dir" != "X"; then 
14832               if test -f "$dir/$libname.la"; then 
14833                 found_la="$dir/$libname.la" 
14837           if test "X$found_dir" = "X"; then 
14838             for x in $LDFLAGS $LTLIBICONV; do 
14840   acl_save_prefix="$prefix" 
14841   prefix="$acl_final_prefix" 
14842   acl_save_exec_prefix="$exec_prefix" 
14843   exec_prefix="$acl_final_exec_prefix" 
14845   exec_prefix="$acl_save_exec_prefix" 
14846   prefix="$acl_save_prefix" 
14850                   dir=`echo "X$x" | sed -e 's/^X-L//'` 
14851                                     if test -n "$acl_shlibext"; then 
14852                     if test -f "$dir/$libname$shrext"; then 
14854                       found_so="$dir/$libname$shrext" 
14856                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 
14857                         ver=`(cd "$dir" && \
 
14858                               for f 
in "$libname$shrext".
*; do echo "$f"; done \
 
14859                               | sed -e "s,^$libname$shrext\\\\.,," \
 
14860                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
14861                               | sed 1q 
) 2>/dev
/null
` 
14862                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 
14864                           found_so="$dir/$libname$shrext.$ver" 
14867                         eval library_names=\"$acl_library_names_spec\" 
14868                         for f in $library_names; do 
14869                           if test -f "$dir/$f"; then 
14878                                     if test "X$found_dir" = "X"; then 
14879                     if test -f "$dir/$libname.$acl_libext"; then 
14881                       found_a="$dir/$libname.$acl_libext" 
14884                   if test "X$found_dir" != "X"; then 
14885                     if test -f "$dir/$libname.la"; then 
14886                       found_la="$dir/$libname.la" 
14891               if test "X$found_dir" != "X"; then 
14896           if test "X$found_dir" != "X"; then 
14897                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 
14898             if test "X$found_so" != "X"; then 
14899                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 
14900                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 
14903                 for x in $ltrpathdirs; do 
14904                   if test "X$x" = "X$found_dir"; then 
14909                 if test -z "$haveit"; then 
14910                   ltrpathdirs="$ltrpathdirs $found_dir" 
14912                                 if test "$acl_hardcode_direct" = yes; then 
14913                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 
14915                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 
14916                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 
14918                     for x in $rpathdirs; do 
14919                       if test "X$x" = "X$found_dir"; then 
14924                     if test -z "$haveit"; then 
14925                       rpathdirs="$rpathdirs $found_dir" 
14929                     for x in $LDFLAGS $LIBICONV; do 
14931   acl_save_prefix="$prefix" 
14932   prefix="$acl_final_prefix" 
14933   acl_save_exec_prefix="$exec_prefix" 
14934   exec_prefix="$acl_final_exec_prefix" 
14936   exec_prefix="$acl_save_exec_prefix" 
14937   prefix="$acl_save_prefix" 
14939                       if test "X$x" = "X-L$found_dir"; then 
14944                     if test -z "$haveit"; then 
14945                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 
14947                     if test "$acl_hardcode_minus_L" != no; then 
14948                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 
14950                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 
14956               if test "X$found_a" != "X"; then 
14957                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 
14959                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 
14962                         additional_includedir= 
14963             case "$found_dir" in 
14964               */$acl_libdirstem | */$acl_libdirstem/) 
14965                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 
14966                 LIBICONV_PREFIX="$basedir" 
14967                 additional_includedir="$basedir/include" 
14970             if test "X$additional_includedir" != "X"; then 
14971                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then 
14973                 if test "X$additional_includedir" = "X/usr/local/include"; then 
14974                   if test -n "$GCC"; then 
14976                       linux* | gnu* | k*bsd*-gnu) haveit=yes;; 
14980                 if test -z "$haveit"; then 
14981                   for x in $CPPFLAGS $INCICONV; do 
14983   acl_save_prefix="$prefix" 
14984   prefix="$acl_final_prefix" 
14985   acl_save_exec_prefix="$exec_prefix" 
14986   exec_prefix="$acl_final_exec_prefix" 
14988   exec_prefix="$acl_save_exec_prefix" 
14989   prefix="$acl_save_prefix" 
14991                     if test "X$x" = "X-I$additional_includedir"; then 
14996                   if test -z "$haveit"; then 
14997                     if test -d "$additional_includedir"; then 
14998                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 
15004                         if test -n "$found_la"; then 
15005                                                         save_libdir="$libdir" 
15006               case "$found_la" in 
15007                 */* | *\\*) . "$found_la" ;; 
15008                 *) . "./$found_la" ;; 
15010               libdir="$save_libdir" 
15011                             for dep in $dependency_libs; do 
15014                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 
15015                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 
15017                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 
15018                         if test -n "$GCC"; then 
15020                             linux* | gnu* | k*bsd*-gnu) haveit=yes;; 
15024                       if test -z "$haveit"; then 
15026                         for x in $LDFLAGS $LIBICONV; do 
15028   acl_save_prefix="$prefix" 
15029   prefix="$acl_final_prefix" 
15030   acl_save_exec_prefix="$exec_prefix" 
15031   exec_prefix="$acl_final_exec_prefix" 
15033   exec_prefix="$acl_save_exec_prefix" 
15034   prefix="$acl_save_prefix" 
15036                           if test "X$x" = "X-L$additional_libdir"; then 
15041                         if test -z "$haveit"; then 
15042                           if test -d "$additional_libdir"; then 
15043                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 
15047                         for x in $LDFLAGS $LTLIBICONV; do 
15049   acl_save_prefix="$prefix" 
15050   prefix="$acl_final_prefix" 
15051   acl_save_exec_prefix="$exec_prefix" 
15052   exec_prefix="$acl_final_exec_prefix" 
15054   exec_prefix="$acl_save_exec_prefix" 
15055   prefix="$acl_save_prefix" 
15057                           if test "X$x" = "X-L$additional_libdir"; then 
15062                         if test -z "$haveit"; then 
15063                           if test -d "$additional_libdir"; then 
15064                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 
15071                     dir=`echo "X$dep" | sed -e 's/^X-R//'` 
15072                     if test "$enable_rpath" != no; then 
15074                       for x in $rpathdirs; do 
15075                         if test "X$x" = "X$dir"; then 
15080                       if test -z "$haveit"; then 
15081                         rpathdirs="$rpathdirs $dir" 
15084                       for x in $ltrpathdirs; do 
15085                         if test "X$x" = "X$dir"; then 
15090                       if test -z "$haveit"; then 
15091                         ltrpathdirs="$ltrpathdirs $dir" 
15096                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 
15099                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 
15102                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 
15103                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 
15109                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 
15110             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 
15116   if test "X$rpathdirs" != "X"; then 
15117     if test -n "$acl_hardcode_libdir_separator"; then 
15119       for found_dir in $rpathdirs; do 
15120         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 
15122             acl_save_libdir="$libdir" 
15124       eval flag=\"$acl_hardcode_libdir_flag_spec\" 
15125       libdir="$acl_save_libdir" 
15126       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 
15128             for found_dir in $rpathdirs; do 
15129         acl_save_libdir="$libdir" 
15130         libdir="$found_dir" 
15131         eval flag=\"$acl_hardcode_libdir_flag_spec\" 
15132         libdir="$acl_save_libdir" 
15133         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 
15137   if test "X$ltrpathdirs" != "X"; then 
15138             for found_dir in $ltrpathdirs; do 
15139       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 
15149           am_save_CPPFLAGS="$CPPFLAGS" 
15151   for element in $INCICONV; do 
15153     for x in $CPPFLAGS; do 
15155   acl_save_prefix="$prefix" 
15156   prefix="$acl_final_prefix" 
15157   acl_save_exec_prefix="$exec_prefix" 
15158   exec_prefix="$acl_final_exec_prefix" 
15160   exec_prefix="$acl_save_exec_prefix" 
15161   prefix="$acl_save_prefix" 
15163       if test "X$x" = "X$element"; then 
15168     if test -z "$haveit"; then 
15169       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 
15174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 
15175 $as_echo_n "checking for iconv... " >&6; } 
15176 if test "${am_cv_func_iconv+set}" = set; then : 
15177   $as_echo_n "(cached) " >&6 
15180     am_cv_func_iconv="no, consider installing GNU libiconv" 
15182     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
15183 /* end confdefs.h.  */ 
15184 #include <stdlib.h> 
15189 iconv_t cd = iconv_open("",""); 
15190        iconv(cd,NULL,NULL,NULL,NULL); 
15196 if ac_fn_c_try_link "$LINENO"; then : 
15197   am_cv_func_iconv=yes 
15199 rm -f core conftest.err conftest.$ac_objext \ 
15200     conftest$ac_exeext conftest.$ac_ext 
15201     if test "$am_cv_func_iconv" != yes; then 
15202       am_save_LIBS="$LIBS" 
15203       LIBS="$LIBS $LIBICONV" 
15204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
15205 /* end confdefs.h.  */ 
15206 #include <stdlib.h> 
15211 iconv_t cd = iconv_open("",""); 
15212          iconv(cd,NULL,NULL,NULL,NULL); 
15218 if ac_fn_c_try_link "$LINENO"; then : 
15219   am_cv_lib_iconv=yes 
15220         am_cv_func_iconv=yes 
15222 rm -f core conftest.err conftest.$ac_objext \ 
15223     conftest$ac_exeext conftest.$ac_ext 
15224       LIBS="$am_save_LIBS" 
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 
15229 $as_echo "$am_cv_func_iconv" >&6; } 
15230   if test "$am_cv_func_iconv" = yes; then 
15231     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 
15232 $as_echo_n "checking for working iconv... " >&6; } 
15233 if test "${am_cv_func_iconv_works+set}" = set; then : 
15234   $as_echo_n "(cached) " >&6 
15237             am_save_LIBS="$LIBS" 
15238       if test $am_cv_lib_iconv = yes; then 
15239         LIBS="$LIBS $LIBICONV" 
15241       if test "$cross_compiling" = yes; then : 
15243            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 
15244            *)            am_cv_func_iconv_works="guessing yes" ;; 
15247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
15248 /* end confdefs.h.  */ 
15251 #include <string.h> 
15254   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 
15257     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 
15258     if (cd_utf8_to_88591 != (iconv_t)(-1)) 
15260         static const char input[] = "\342\202\254"; /* EURO SIGN */ 
15262         const char *inptr = input; 
15263         size_t inbytesleft = strlen (input); 
15264         char *outptr = buf; 
15265         size_t outbytesleft = sizeof (buf); 
15266         size_t res = iconv (cd_utf8_to_88591, 
15267                             (char **) &inptr, &inbytesleft, 
15268                             &outptr, &outbytesleft); 
15273 #if 0 /* This bug could be worked around by the caller.  */ 
15274   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */ 
15276     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 
15277     if (cd_88591_to_utf8 != (iconv_t)(-1)) 
15279         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 
15281         const char *inptr = input; 
15282         size_t inbytesleft = strlen (input); 
15283         char *outptr = buf; 
15284         size_t outbytesleft = sizeof (buf); 
15285         size_t res = iconv (cd_88591_to_utf8, 
15286                             (char **) &inptr, &inbytesleft, 
15287                             &outptr, &outbytesleft); 
15293   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 
15295   if (/* Try standardized names.  */ 
15296       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 
15297       /* Try IRIX, OSF/1 names.  */ 
15298       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 
15299       /* Try AIX names.  */ 
15300       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 
15301       /* Try HP-UX names.  */ 
15302       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 
15307 if ac_fn_c_try_run "$LINENO"; then : 
15308   am_cv_func_iconv_works=yes 
15310   am_cv_func_iconv_works=no 
15312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
15313   conftest.$ac_objext conftest.beam conftest.$ac_ext 
15316       LIBS="$am_save_LIBS" 
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 
15320 $as_echo "$am_cv_func_iconv_works" >&6; } 
15321     case "$am_cv_func_iconv_works" in 
15322       *no) am_func_iconv=no am_cv_lib_iconv=no ;; 
15323       *)   am_func_iconv=yes ;; 
15326     am_func_iconv=no am_cv_lib_iconv=no 
15328   if test "$am_func_iconv" = yes; then 
15330 $as_echo "#define HAVE_ICONV 1" >>confdefs.h 
15333   if test "$am_cv_lib_iconv" = yes; then 
15334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 
15335 $as_echo_n "checking how to link with libiconv... " >&6; } 
15336     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 
15337 $as_echo "$LIBICONV" >&6; } 
15339             CPPFLAGS="$am_save_CPPFLAGS" 
15346   if test "$am_cv_func_iconv" = yes; then 
15347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 
15348 $as_echo_n "checking for iconv declaration... " >&6; } 
15349     if test "${am_cv_proto_iconv+set}" = set; then : 
15350   $as_echo_n "(cached) " >&6 
15353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
15354 /* end confdefs.h.  */ 
15356 #include <stdlib.h> 
15362 #if defined(__STDC__) || defined(__cplusplus) 
15363 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 
15376 if ac_fn_c_try_compile "$LINENO"; then : 
15377   am_cv_proto_iconv_arg1="" 
15379   am_cv_proto_iconv_arg1="const" 
15381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
15382       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 
15385     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 
15386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- 
15387          }$am_cv_proto_iconv" >&5 
15389          }$am_cv_proto_iconv" >&6; } 
15391 cat >>confdefs.h <<_ACEOF 
15392 #define ICONV_CONST $am_cv_proto_iconv_arg1 
15398 ac_cpp='$CXXCPP $CPPFLAGS' 
15399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
15400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
15401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 
15403 case $am_cv_func_iconv in #( 
15407     as_fn_error "You need iconv" "$LINENO" 5 ;; 
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 
15412 $as_echo_n "checking for WEBKIT... " >&6; } 
15414 if test -n "$PKG_CONFIG"; then 
15415     if test -n "$WEBKIT_CFLAGS"; then 
15416         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" 
15418         if test -n "$PKG_CONFIG" && \ 
15419     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5 
15420   ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5 
15422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
15423   test $ac_status = 0; }; then 
15424   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
` 
15432 if test -n "$PKG_CONFIG"; then 
15433     if test -n "$WEBKIT_LIBS"; then 
15434         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" 
15436         if test -n "$PKG_CONFIG" && \ 
15437     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5 
15438   ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5 
15440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
15441   test $ac_status = 0; }; then 
15442   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
` 
15453 if test $pkg_failed = yes; then 
15455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 
15456         _pkg_short_errors_supported=yes 
15458         _pkg_short_errors_supported=no 
15460         if test $_pkg_short_errors_supported = yes; then 
15461                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"` 
15463                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"` 
15465         # Put the nasty error message in config.log where it belongs 
15466         echo "$WEBKIT_PKG_ERRORS" >&5 
15468         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
15469 $as_echo "no" >&6; } 
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 
15474 $as_echo_n "checking for WEBKIT... " >&6; } 
15476 if test -n "$PKG_CONFIG"; then 
15477     if test -n "$WEBKIT_CFLAGS"; then 
15478         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" 
15480         if test -n "$PKG_CONFIG" && \ 
15481     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5 
15482   ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5 
15484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
15485   test $ac_status = 0; }; then 
15486   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
` 
15494 if test -n "$PKG_CONFIG"; then 
15495     if test -n "$WEBKIT_LIBS"; then 
15496         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" 
15498         if test -n "$PKG_CONFIG" && \ 
15499     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5 
15500   ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5 
15502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
15503   test $ac_status = 0; }; then 
15504   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
` 
15515 if test $pkg_failed = yes; then 
15517 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 
15518         _pkg_short_errors_supported=yes 
15520         _pkg_short_errors_supported=no 
15522         if test $_pkg_short_errors_supported = yes; then 
15523                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"` 
15525                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"` 
15527         # Put the nasty error message in config.log where it belongs 
15528         echo "$WEBKIT_PKG_ERRORS" >&5 
15530         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
15531 $as_echo "no" >&6; } 
15533                 for ac_header in JavaScriptCore/JSBase.h 
15535   ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default" 
15536 if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then : 
15537   cat >>confdefs.h <<_ACEOF 
15538 #define HAVE_JAVASCRIPTCORE_JSBASE_H 1 
15546 elif test $pkg_failed = untried; then 
15548                 for ac_header in JavaScriptCore/JSBase.h 
15550   ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default" 
15551 if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then : 
15552   cat >>confdefs.h <<_ACEOF 
15553 #define HAVE_JAVASCRIPTCORE_JSBASE_H 1 
15562         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS 
15563         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS 
15564         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
15565 $as_echo "yes" >&6; } 
15569   for element in `$PKG_CONFIG --cflags WebKitGtk
`; do 
15571     for x in $CXXFLAGS; do 
15573   acl_save_prefix="$prefix" 
15574   prefix="$acl_final_prefix" 
15575   acl_save_exec_prefix="$exec_prefix" 
15576   exec_prefix="$acl_final_exec_prefix" 
15578   exec_prefix="$acl_save_exec_prefix" 
15579   prefix="$acl_save_prefix" 
15581       if test "X$x" = "X$element"; then 
15586     if test -z "$haveit"; then 
15587       CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" 
15592   for element in `$PKG_CONFIG --libs WebKitGtk
`; do 
15596   acl_save_prefix="$prefix" 
15597   prefix="$acl_final_prefix" 
15598   acl_save_exec_prefix="$exec_prefix" 
15599   exec_prefix="$acl_final_exec_prefix" 
15601   exec_prefix="$acl_save_exec_prefix" 
15602   prefix="$acl_save_prefix" 
15604       if test "X$x" = "X$element"; then 
15609     if test -z "$haveit"; then 
15610       LIBS="${LIBS}${LIBS:+ }$element" 
15617 elif test $pkg_failed = untried; then 
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 
15622 $as_echo_n "checking for WEBKIT... " >&6; } 
15624 if test -n "$PKG_CONFIG"; then 
15625     if test -n "$WEBKIT_CFLAGS"; then 
15626         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" 
15628         if test -n "$PKG_CONFIG" && \ 
15629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5 
15630   ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5 
15632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
15633   test $ac_status = 0; }; then 
15634   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
` 
15642 if test -n "$PKG_CONFIG"; then 
15643     if test -n "$WEBKIT_LIBS"; then 
15644         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" 
15646         if test -n "$PKG_CONFIG" && \ 
15647     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5 
15648   ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5 
15650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
15651   test $ac_status = 0; }; then 
15652   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
` 
15663 if test $pkg_failed = yes; then 
15665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 
15666         _pkg_short_errors_supported=yes 
15668         _pkg_short_errors_supported=no 
15670         if test $_pkg_short_errors_supported = yes; then 
15671                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"` 
15673                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"` 
15675         # Put the nasty error message in config.log where it belongs 
15676         echo "$WEBKIT_PKG_ERRORS" >&5 
15678         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
15679 $as_echo "no" >&6; } 
15681                 for ac_header in JavaScriptCore/JSBase.h 
15683   ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default" 
15684 if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then : 
15685   cat >>confdefs.h <<_ACEOF 
15686 #define HAVE_JAVASCRIPTCORE_JSBASE_H 1 
15694 elif test $pkg_failed = untried; then 
15696                 for ac_header in JavaScriptCore/JSBase.h 
15698   ac_fn_cxx_check_header_mongrel "$LINENO" "JavaScriptCore/JSBase.h" "ac_cv_header_JavaScriptCore_JSBase_h" "$ac_includes_default" 
15699 if test "x$ac_cv_header_JavaScriptCore_JSBase_h" = x""yes; then : 
15700   cat >>confdefs.h <<_ACEOF 
15701 #define HAVE_JAVASCRIPTCORE_JSBASE_H 1 
15710         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS 
15711         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS 
15712         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
15713 $as_echo "yes" >&6; } 
15717   for element in `$PKG_CONFIG --cflags WebKitGtk
`; do 
15719     for x in $CXXFLAGS; do 
15721   acl_save_prefix="$prefix" 
15722   prefix="$acl_final_prefix" 
15723   acl_save_exec_prefix="$exec_prefix" 
15724   exec_prefix="$acl_final_exec_prefix" 
15726   exec_prefix="$acl_save_exec_prefix" 
15727   prefix="$acl_save_prefix" 
15729       if test "X$x" = "X$element"; then 
15734     if test -z "$haveit"; then 
15735       CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" 
15740   for element in `$PKG_CONFIG --libs WebKitGtk
`; do 
15744   acl_save_prefix="$prefix" 
15745   prefix="$acl_final_prefix" 
15746   acl_save_exec_prefix="$exec_prefix" 
15747   exec_prefix="$acl_final_exec_prefix" 
15749   exec_prefix="$acl_save_exec_prefix" 
15750   prefix="$acl_save_prefix" 
15752       if test "X$x" = "X$element"; then 
15757     if test -z "$haveit"; then 
15758       LIBS="${LIBS}${LIBS:+ }$element" 
15766         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS 
15767         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS 
15768         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
15769 $as_echo "yes" >&6; } 
15773   for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do 
15775     for x in $CXXFLAGS; do 
15777   acl_save_prefix="$prefix" 
15778   prefix="$acl_final_prefix" 
15779   acl_save_exec_prefix="$exec_prefix" 
15780   exec_prefix="$acl_final_exec_prefix" 
15782   exec_prefix="$acl_save_exec_prefix" 
15783   prefix="$acl_save_prefix" 
15785       if test "X$x" = "X$element"; then 
15790     if test -z "$haveit"; then 
15791       CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" 
15796   for element in `$PKG_CONFIG --libs webkit
-1.0
`; do 
15800   acl_save_prefix="$prefix" 
15801   prefix="$acl_final_prefix" 
15802   acl_save_exec_prefix="$exec_prefix" 
15803   exec_prefix="$acl_final_exec_prefix" 
15805   exec_prefix="$acl_save_exec_prefix" 
15806   prefix="$acl_save_prefix" 
15808       if test "X$x" = "X$element"; then 
15813     if test -z "$haveit"; then 
15814       LIBS="${LIBS}${LIBS:+ }$element" 
15821 ac_cpp='$OBJCXXCPP $CPPFLAGS' 
15822 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
15823 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
15824 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu 
15825 if test -n "$ac_tool_prefix"; then 
15826   for ac_prog in g++ objc++ objcxx c++ CXX 
15828     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
15829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
15831 $as_echo_n "checking for $ac_word... " >&6; } 
15832 if test "${ac_cv_prog_OBJCXX+set}" = set; then : 
15833   $as_echo_n "(cached) " >&6 
15835   if test -n "$OBJCXX"; then 
15836   ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test. 
15838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
15839 for as_dir in $PATH 
15842   test -z "$as_dir" && as_dir=. 
15843     for ac_exec_ext in '' $ac_executable_extensions; do 
15844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
15845     ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog" 
15846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
15855 OBJCXX=$ac_cv_prog_OBJCXX 
15856 if test -n "$OBJCXX"; then 
15857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5 
15858 $as_echo "$OBJCXX" >&6; } 
15860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
15861 $as_echo "no" >&6; } 
15865     test -n "$OBJCXX" && break 
15868 if test -z "$OBJCXX"; then 
15869   ac_ct_OBJCXX=$OBJCXX 
15870   for ac_prog in g++ objc++ objcxx c++ CXX 
15872   # Extract the first word of "$ac_prog", so it can be a program name with args. 
15873 set dummy $ac_prog; ac_word=$2 
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
15875 $as_echo_n "checking for $ac_word... " >&6; } 
15876 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then : 
15877   $as_echo_n "(cached) " >&6 
15879   if test -n "$ac_ct_OBJCXX"; then 
15880   ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test. 
15882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
15883 for as_dir in $PATH 
15886   test -z "$as_dir" && as_dir=. 
15887     for ac_exec_ext in '' $ac_executable_extensions; do 
15888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
15889     ac_cv_prog_ac_ct_OBJCXX="$ac_prog" 
15890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
15899 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX 
15900 if test -n "$ac_ct_OBJCXX"; then 
15901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5 
15902 $as_echo "$ac_ct_OBJCXX" >&6; } 
15904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
15905 $as_echo "no" >&6; } 
15909   test -n "$ac_ct_OBJCXX" && break 
15912   if test "x$ac_ct_OBJCXX" = x; then 
15915     case $cross_compiling:$ac_tool_warned in 
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
15918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
15919 ac_tool_warned=yes ;; 
15921     OBJCXX=$ac_ct_OBJCXX 
15925 # Provide some information about the compiler. 
15926 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5 
15929 for ac_option in --version -v -V -qversion; do 
15930   { { ac_try="$ac_compiler $ac_option >&5" 
15931 case "(($ac_try" in 
15932   *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;; 
15933   *) ac_try_echo
=$ac_try;; 
15935 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
15936 $as_echo "$ac_try_echo"; } >&5 
15937   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
15939   if test -s conftest.err
; then 
15941 ... rest of stderr output deleted ... 
15942          10q' conftest.err 
>conftest.er1
 
15943     cat conftest.er1 
>&5 
15945   rm -f conftest.er1 conftest.err
 
15946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
15947   test $ac_status = 0; } 
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5 
15951 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; } 
15952 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then : 
15953   $as_echo_n "(cached) " >&6 
15955   cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
15956 /* end confdefs.h.  */ 
15969 if ac_fn_objcxx_try_compile 
"$LINENO"; then : 
15970   ac_compiler_gnu
=yes 
15974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
15975 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu 
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5 
15979 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; } 
15980 if test $ac_compiler_gnu = yes; then 
15985 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set} 
15986 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS 
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5 
15988 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; } 
15989 if test "${ac_cv_prog_objcxx_g+set}" = set; then : 
15990   $as_echo_n "(cached) " >&6 
15992   ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag 
15993    ac_objcxx_werror_flag
=yes 
15994    ac_cv_prog_objcxx_g
=no
 
15996    cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
15997 /* end confdefs.h.  */ 
16007 if ac_fn_objcxx_try_compile 
"$LINENO"; then : 
16008   ac_cv_prog_objcxx_g
=yes 
16011       cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
16012 /* end confdefs.h.  */ 
16022 if ac_fn_objcxx_try_compile 
"$LINENO"; then : 
16025   ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag 
16027          cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
16028 /* end confdefs.h.  */ 
16038 if ac_fn_objcxx_try_compile 
"$LINENO"; then : 
16039   ac_cv_prog_objcxx_g
=yes 
16041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16046    ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag 
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5 
16049 $as_echo "$ac_cv_prog_objcxx_g" >&6; } 
16050 if test "$ac_test_OBJCXXFLAGS" = set; then 
16051   OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS 
16052 elif test $ac_cv_prog_objcxx_g = yes; then 
16053   if test "$GOBJCXX" = yes; then 
16054     OBJCXXFLAGS
="-g -O2" 
16059   if test "$GOBJCXX" = yes; then 
16066 ac_cpp
='$CXXCPP $CPPFLAGS' 
16067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
16072 case $CY_EXECUTE in #( 
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5 
16079 $as_echo_n "checking for LIBFFI... " >&6; } 
16081 if test -n "$PKG_CONFIG"; then 
16082     if test -n "$LIBFFI_CFLAGS"; then 
16083         pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS" 
16085         if test -n "$PKG_CONFIG" && \
 
16086     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5 
16087   ($PKG_CONFIG --exists --print-errors "libffi") 2>&5 
16089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
16090   test $ac_status = 0; }; then 
16091   pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null` 
16099 if test -n "$PKG_CONFIG"; then 
16100     if test -n "$LIBFFI_LIBS"; then 
16101         pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS" 
16103         if test -n "$PKG_CONFIG" && \
 
16104     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5 
16105   ($PKG_CONFIG --exists --print-errors "libffi") 2>&5 
16107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
16108   test $ac_status = 0; }; then 
16109   pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null` 
16120 if test $pkg_failed = yes; then 
16122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 
16123         _pkg_short_errors_supported
=yes 
16125         _pkg_short_errors_supported
=no
 
16127         if test $_pkg_short_errors_supported = yes; then 
16128                 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"` 
16130                 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"` 
16132         # Put the nasty error message in config.log where it belongs 
16133         echo "$LIBFFI_PKG_ERRORS" >&5 
16135         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
16136 $as_echo "no" >&6; } 
16138                 for ac_header 
in ffi.h ffi
/ffi.h
 
16140   as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
16141 ac_fn_cxx_check_header_mongrel 
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 
16142 eval as_val
=\$
$as_ac_Header 
16143    if test "x$as_val" = x
""yes; then : 
16144   cat >>confdefs.h 
<<_ACEOF 
16145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
16152                 if test "x$ac_cv_header_ffi_h" = xno 
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then : 
16154                         as_fn_error 
"You need libffi" "$LINENO" 5 
16157                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5 
16158 $as_echo_n "checking for library containing ffi_call... " >&6; } 
16159 if test "${ac_cv_search_ffi_call+set}" = set; then : 
16160   $as_echo_n "(cached) " >&6 
16162   ac_func_search_save_LIBS
=$LIBS 
16163 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
16164 /* end confdefs.h.  */ 
16166 /* Override any GCC internal prototype to avoid an error. 
16167    Use char because int might match the return type of a GCC 
16168    builtin and then its argument prototype would still apply.  */ 
16176 return ffi_call (); 
16181 for ac_lib 
in '' ffi
; do 
16182   if test -z "$ac_lib"; then 
16183     ac_res
="none required" 
16186     LIBS
="-l$ac_lib  $ac_func_search_save_LIBS" 
16188   if ac_fn_cxx_try_link 
"$LINENO"; then : 
16189   ac_cv_search_ffi_call
=$ac_res 
16191 rm -f core conftest.err conftest.
$ac_objext \
 
16193   if test "${ac_cv_search_ffi_call+set}" = set; then : 
16197 if test "${ac_cv_search_ffi_call+set}" = set; then : 
16200   ac_cv_search_ffi_call
=no
 
16202 rm conftest.
$ac_ext 
16203 LIBS
=$ac_func_search_save_LIBS 
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5 
16206 $as_echo "$ac_cv_search_ffi_call" >&6; } 
16207 ac_res
=$ac_cv_search_ffi_call 
16208 if test "$ac_res" != no
; then : 
16209   test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS" 
16213                 case $ac_cv_search_ffi_call in #( 
16216                         as_fn_error 
"You need libffi" "$LINENO" 5 
16222 elif test $pkg_failed = untried
; then 
16224                 for ac_header 
in ffi.h ffi
/ffi.h
 
16226   as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
16227 ac_fn_cxx_check_header_mongrel 
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 
16228 eval as_val
=\$
$as_ac_Header 
16229    if test "x$as_val" = x
""yes; then : 
16230   cat >>confdefs.h 
<<_ACEOF 
16231 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
16238                 if test "x$ac_cv_header_ffi_h" = xno 
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then : 
16240                         as_fn_error 
"You need libffi" "$LINENO" 5 
16243                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5 
16244 $as_echo_n "checking for library containing ffi_call... " >&6; } 
16245 if test "${ac_cv_search_ffi_call+set}" = set; then : 
16246   $as_echo_n "(cached) " >&6 
16248   ac_func_search_save_LIBS
=$LIBS 
16249 cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
16250 /* end confdefs.h.  */ 
16252 /* Override any GCC internal prototype to avoid an error. 
16253    Use char because int might match the return type of a GCC 
16254    builtin and then its argument prototype would still apply.  */ 
16262 return ffi_call (); 
16267 for ac_lib 
in '' ffi
; do 
16268   if test -z "$ac_lib"; then 
16269     ac_res
="none required" 
16272     LIBS
="-l$ac_lib  $ac_func_search_save_LIBS" 
16274   if ac_fn_cxx_try_link 
"$LINENO"; then : 
16275   ac_cv_search_ffi_call
=$ac_res 
16277 rm -f core conftest.err conftest.
$ac_objext \
 
16279   if test "${ac_cv_search_ffi_call+set}" = set; then : 
16283 if test "${ac_cv_search_ffi_call+set}" = set; then : 
16286   ac_cv_search_ffi_call
=no
 
16288 rm conftest.
$ac_ext 
16289 LIBS
=$ac_func_search_save_LIBS 
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5 
16292 $as_echo "$ac_cv_search_ffi_call" >&6; } 
16293 ac_res
=$ac_cv_search_ffi_call 
16294 if test "$ac_res" != no
; then : 
16295   test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS" 
16299                 case $ac_cv_search_ffi_call in #( 
16302                         as_fn_error 
"You need libffi" "$LINENO" 5 
16309         LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS 
16310         LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS 
16311         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
16312 $as_echo "yes" >&6; } 
16315   for element 
in `$PKG_CONFIG --cflags libffi`; do 
16317     for x 
in $CXXFLAGS; do 
16319   acl_save_prefix
="$prefix" 
16320   prefix
="$acl_final_prefix" 
16321   acl_save_exec_prefix
="$exec_prefix" 
16322   exec_prefix
="$acl_final_exec_prefix" 
16324   exec_prefix
="$acl_save_exec_prefix" 
16325   prefix
="$acl_save_prefix" 
16327       if test "X$x" = "X$element"; then 
16332     if test -z "$haveit"; then 
16333       CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element" 
16338   for element 
in `$PKG_CONFIG --libs libffi`; do 
16342   acl_save_prefix
="$prefix" 
16343   prefix
="$acl_final_prefix" 
16344   acl_save_exec_prefix
="$exec_prefix" 
16345   exec_prefix
="$acl_final_exec_prefix" 
16347   exec_prefix
="$acl_save_exec_prefix" 
16348   prefix
="$acl_save_prefix" 
16350       if test "X$x" = "X$element"; then 
16355     if test -z "$haveit"; then 
16356       LIBS
="${LIBS}${LIBS:+ }$element" 
16363 ac_cpp
='$OBJCXXCPP $CPPFLAGS' 
16364 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16365 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16366 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu 
16368         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5 
16369 $as_echo_n "checking if we really have Objective C++... " >&6; } 
16370         cat confdefs.h 
- <<_ACEOF >conftest.$ac_ext 
16371 /* end confdefs.h.  */ 
16373                 // This space intentionally left blank 
16376 if ac_fn_objcxx_try_compile 
"$LINENO"; then : 
16379                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
16380 $as_echo "yes" >&6; } 
16383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
16384 $as_echo "no" >&6; } 
16386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext 
16388 ac_cpp
='$CXXCPP $CPPFLAGS' 
16389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
16390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
16391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu 
16393         if test "x$CY_OBJECTIVEC" = x1
; then : 
16396                 for ac_prog 
in gnustep
-config 
16398   # Extract the first word of "$ac_prog", so it can be a program name with args. 
16399 set dummy 
$ac_prog; ac_word
=$2 
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
16401 $as_echo_n "checking for $ac_word... " >&6; } 
16402 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then : 
16403   $as_echo_n "(cached) " >&6 
16405   if test -n "$GNUSTEP_CONFIG"; then 
16406   ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test. 
16408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR 
16409 for as_dir 
in $PATH 
16412   test -z "$as_dir" && as_dir
=.
 
16413     for ac_exec_ext 
in '' $ac_executable_extensions; do 
16414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
16415     ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog" 
16416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
16425 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG 
16426 if test -n "$GNUSTEP_CONFIG"; then 
16427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5 
16428 $as_echo "$GNUSTEP_CONFIG" >&6; } 
16430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
16431 $as_echo "no" >&6; } 
16435   test -n "$GNUSTEP_CONFIG" && break 
16438                 if test "x$GNUSTEP_CONFIG" != x
; then : 
16442   for element 
in `$GNUSTEP_CONFIG --objc-flags`; do 
16444     for x 
in $OBJCXXFLAGS; do 
16446   acl_save_prefix
="$prefix" 
16447   prefix
="$acl_final_prefix" 
16448   acl_save_exec_prefix
="$exec_prefix" 
16449   exec_prefix
="$acl_final_exec_prefix" 
16451   exec_prefix
="$acl_save_exec_prefix" 
16452   prefix
="$acl_save_prefix" 
16454       if test "X$x" = "X$element"; then 
16459     if test -z "$haveit"; then 
16460       OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" 
16465   for element 
in `$GNUSTEP_CONFIG --base-libs`; do 
16469   acl_save_prefix
="$prefix" 
16470   prefix
="$acl_final_prefix" 
16471   acl_save_exec_prefix
="$exec_prefix" 
16472   exec_prefix
="$acl_final_exec_prefix" 
16474   exec_prefix
="$acl_save_exec_prefix" 
16475   prefix
="$acl_save_prefix" 
16477       if test "X$x" = "X$element"; then 
16482     if test -z "$haveit"; then 
16483       LIBS
="${LIBS}${LIBS:+ }$element" 
16494         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5 
16495 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;} 
16498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5 
16499 $as_echo_n "checking for GNU make... " >&6; } 
16500 if test "${_cv_gnu_make_command+set}" = set; then : 
16501   $as_echo_n "(cached) " >&6 
16503   _cv_gnu_make_command
='' ; 
16504                 for a 
in "$MAKE" make gmake gnumake 
; do 
16505                         if test -z "$a" ; then continue ; fi ; 
16506                         if  ( sh 
-c "$a --version" 2> /dev
/null 
| grep GNU  
2>&1 > /dev
/null 
) ;  then 
16507                                 _cv_gnu_make_command
=$a ; 
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5 
16514 $as_echo "$_cv_gnu_make_command" >&6; } ; 
16515         if test  "x$_cv_gnu_make_command" != "x"  ; then 
16519                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5 
16520 $as_echo "\"Not found\"" >&6; }; 
16524 if test "x$_cv_gnu_make_command" = x
; then : 
16525   as_fn_error 
"You need GNU make" "$LINENO" 5 
16527 ac_config_files
="$ac_config_files GNUmakefile" 
16529 cat >confcache 
<<\_ACEOF
 
16530 # This file is a shell script that caches the results of configure 
16531 # tests run on this system so they can be shared between configure 
16532 # scripts and configure runs, see configure's option --config-cache. 
16533 # It is not useful on other systems.  If it contains results you don't 
16534 # want to keep, you may remove or edit it. 
16536 # config.status only pays attention to the cache file if you give it 
16537 # the --recheck option to rerun configure. 
16539 # `ac_cv_env_foo' variables (set or unset) will be overridden when 
16540 # loading this file, other *unset* `ac_cv_foo' will be assigned the 
16541 # following values. 
16545 # The following way of writing the cache mishandles newlines in values, 
16546 # but we know of no workaround that is simple, portable, and efficient. 
16547 # So, we kill variables containing newlines. 
16548 # Ultrix sh set writes to stderr and can't be redirected directly, 
16549 # and sets the high bit in the cache file unless we assign to the vars. 
16551   for ac_var 
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 
16552     eval ac_val
=\$
$ac_var 
16556       *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
16557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
16560       _ 
| IFS 
| as_nl
) ;; #( 
16561       BASH_ARGV 
| BASH_SOURCE
) eval $ac_var= ;; #( 
16562       *) { eval $ac_var=; unset $ac_var;} ;; 
16568     case $as_nl`(ac_space=' '; set) 2>&1` in #( 
16569     *${as_nl}ac_space
=\ 
*) 
16570       # `set' does not quote correctly, so add quotes: double-quote 
16571       # substitution turns \\\\ into \\, and sed turns \\ into \. 
16574           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
16577       # `set' quotes correctly as required by POSIX, so do not add quotes. 
16578       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 
16587      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 
16589      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 
16591 if diff "$cache_file" confcache 
>/dev
/null 
2>&1; then :; else 
16592   if test -w "$cache_file"; then 
16593     test "x$cache_file" != "x/dev/null" && 
16594       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
16595 $as_echo "$as_me: updating cache $cache_file" >&6;} 
16596     cat confcache 
>$cache_file 
16598     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
16599 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
16604 test "x$prefix" = xNONE 
&& prefix
=$ac_default_prefix 
16605 # Let make expand exec_prefix. 
16606 test "x$exec_prefix" = xNONE 
&& exec_prefix
='${prefix}' 
16608 # Transform confdefs.h into DEFS. 
16609 # Protect against shell expansion while executing Makefile rules. 
16610 # Protect against Makefile macro expansion. 
16612 # If the first sed substitution is executed (which looks for macros that 
16613 # take arguments), then branch to the quote section.  Otherwise, 
16614 # look for a macro that doesn't take arguments. 
16624 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g 
16626 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g 
16630 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g 
16643 DEFS
=`sed -n "$ac_script" confdefs.h` 
16648 for ac_i 
in : $LIBOBJS; do test "x$ac_i" = x
: && continue 
16649   # 1. Remove the extension, and $U if already installed. 
16650   ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//' 
16651   ac_i
=`$as_echo "$ac_i" | sed "$ac_script"` 
16652   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
16653   #    will be set to the directory where LIBOBJS objects are built. 
16654   as_fn_append ac_libobjs 
" \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
16655   as_fn_append ac_ltlibobjs 
" \${LIBOBJDIR}$ac_i"'$U.lo' 
16657 LIBOBJS
=$ac_libobjs 
16659 LTLIBOBJS
=$ac_ltlibobjs 
16663 : ${CONFIG_STATUS=./config.status} 
16665 ac_clean_files_save
=$ac_clean_files 
16666 ac_clean_files
="$ac_clean_files $CONFIG_STATUS" 
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
16668 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
16670 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
16672 # Generated by $as_me. 
16673 # Run this file to recreate the current configuration. 
16674 # Compiler output produced by configure, useful for debugging 
16675 # configure, is in config.log if it exists. 
16678 ac_cs_recheck=false 
16681 SHELL=\${CONFIG_SHELL-$SHELL} 
16684 cat >>$CONFIG_STATUS <<\_ASEOF 
|| as_write_fail
=1 
16685 ## -------------------- ## 
16686 ## M4sh Initialization. ## 
16687 ## -------------------- ## 
16689 # Be more Bourne compatible 
16690 DUALCASE
=1; export DUALCASE 
# for MKS sh 
16691 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null 
2>&1; then : 
16694   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
16695   # is contrary to our usage.  Disable this feature. 
16696   alias -g '${1+"$@"}'='"$@"' 
16697   setopt NO_GLOB_SUBST
 
16699   case `(set -o) 2>/dev/null` in #( 
16711 # Printing a long string crashes Solaris 7 /usr/bin/printf. 
16712 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
16713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
16714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
16715 # Prefer a ksh shell builtin over an external printf program on Solaris, 
16716 # but without wasting forks for bash or zsh. 
16717 if test -z "$BASH_VERSION$ZSH_VERSION" \ 
16718     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
16719   as_echo='print 
-r --' 
16720   as_echo_n='print 
-rn --' 
16721 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
16722   as_echo='printf %s
\n' 
16723   as_echo_n='printf %s
' 
16725   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
16726     as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"' 
16727     as_echo_n='/usr
/ucb
/echo -n' 
16729     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
16730     as_echo_n_body='eval 
16734         expr "X$arg" : "X\\(.*\\)$as_nl"; 
16735         arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
16737       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
16739     export as_echo_n_body 
16740     as_echo_n='sh 
-c $as_echo_n_body as_echo
' 
16742   export as_echo_body 
16743   as_echo='sh 
-c $as_echo_body as_echo
' 
16746 # The user is always right. 
16747 if test "${PATH_SEPARATOR+set}" != set; then 
16749   (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
16750     (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
16757 # We need space, tab and new line, in precisely that order.  Quoting is 
16758 # there to prevent editors from complaining about space-tab. 
16759 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 
16760 # splitting by setting IFS to empty value.) 
16763 # Find who we are.  Look in the path if we contain no directory separator. 
16765   *[\\/]* ) as_myself=$0 ;; 
16766   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
16767 for as_dir in $PATH 
16770   test -z "$as_dir" && as_dir=. 
16771     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
16777 # We did not find ourselves, most probably we were run as `sh COMMAND' 
16778 # in which case we are not to be found in the path. 
16779 if test "x$as_myself" = x
; then 
16782 if test ! -f "$as_myself"; then 
16783   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
16787 # Unset variables that we do not need and which cause bugs (e.g. in 
16788 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
16789 # suppresses any "Segmentation fault" message there.  '((' could 
16790 # trigger a bug in pdksh 5.2.14. 
16791 for as_var 
in BASH_ENV ENV MAIL MAILPATH
 
16792 do eval test x\
${$as_var+set} = xset \
 
16793   && ( (unset $as_var) || exit 1) >/dev
/null 
2>&1 && unset $as_var || : 
16806 (unset CDPATH
) >/dev
/null 
2>&1 && unset CDPATH
 
16809 # as_fn_error ERROR [LINENO LOG_FD] 
16810 # --------------------------------- 
16811 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
16812 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
16813 # script with status $?, using 1 if that was 0. 
16816   as_status
=$?
; test $as_status -eq 0 && as_status
=1 
16818     as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack 
16819     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
16821   $as_echo "$as_me: error: $1" >&2 
16822   as_fn_exit 
$as_status 
16826 # as_fn_set_status STATUS 
16827 # ----------------------- 
16828 # Set $? to STATUS, without forking. 
16829 as_fn_set_status 
() 
16832 } # as_fn_set_status 
16834 # as_fn_exit STATUS 
16835 # ----------------- 
16836 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
16840   as_fn_set_status 
$1 
16846 # Portably unset VAR. 
16849   { eval $1=; unset $1;} 
16851 as_unset
=as_fn_unset
 
16852 # as_fn_append VAR VALUE 
16853 # ---------------------- 
16854 # Append the text in VALUE to the end of the definition contained in VAR. Take 
16855 # advantage of any shell optimizations that allow amortized linear growth over 
16856 # repeated appends, instead of the typical quadratic growth present in naive 
16858 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then : 
16859   eval 'as_fn_append () 
16870 # as_fn_arith ARG... 
16871 # ------------------ 
16872 # Perform arithmetic evaluation on the ARGs, and store the result in the 
16873 # global $as_val. Take advantage of shells that can avoid forks. The arguments 
16874 # must be portable across $(()) and expr. 
16875 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then : 
16876   eval 'as_fn_arith () 
16883     as_val
=`expr "$@" || test $? -eq 1` 
16888 if expr a 
: '\(a\)' >/dev
/null 
2>&1 && 
16889    test "X`expr 00001 : '.*\(...\)'`" = X001
; then 
16895 if (basename -- /) >/dev
/null 
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 
16896   as_basename
=basename 
16901 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null 
2>&1; then 
16907 as_me
=`$as_basename -- "$0" || 
16908 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
16909          X"$0" : 'X\(//\)$' \| \ 
16910          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
16912     sed '/^.*\/\([^/][^/]*\)\/*$/{ 
16926 # Avoid depending upon Character Ranges. 
16927 as_cr_letters
='abcdefghijklmnopqrstuvwxyz' 
16928 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
16929 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS 
16930 as_cr_digits
='0123456789' 
16931 as_cr_alnum
=$as_cr_Letters$as_cr_digits 
16933 ECHO_C
= ECHO_N
= ECHO_T
= 
16934 case `echo -n x` in #((((( 
16936   case `echo 'xy\c'` in 
16937   *c
*) ECHO_T
=' ';;     # ECHO_T is single tab character. 
16939   *)   echo `echo ksh88 bug on AIX 6.1` > /dev
/null
 
16946 rm -f conf$$ conf$$.exe conf$$.
file 
16947 if test -d conf$$.dir
; then 
16948   rm -f conf$$.dir
/conf$$.
file 
16951   mkdir conf$$.dir 
2>/dev
/null
 
16953 if (echo >conf$$.
file) 2>/dev
/null
; then 
16954   if ln -s conf$$.
file conf$$ 
2>/dev
/null
; then 
16956     # ... but there are two gotchas: 
16957     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
16958     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
16959     # In both cases, we have to default to `cp -p'. 
16960     ln -s conf$$.
file conf$$.dir 
2>/dev
/null 
&& test ! -f conf$$.exe 
|| 
16962   elif ln conf$$.
file conf$$ 
2>/dev
/null
; then 
16970 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file 
16971 rmdir conf$$.dir 
2>/dev
/null
 
16976 # Create "$as_dir" as a directory, including parents if necessary. 
16981   -*) as_dir
=.
/$as_dir;; 
16983   test -d "$as_dir" || eval $as_mkdir_p || { 
16987       *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
16988       *) as_qdir
=$as_dir;; 
16990       as_dirs
="'$as_qdir' $as_dirs" 
16991       as_dir
=`$as_dirname -- "$as_dir" || 
16992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
16993          X"$as_dir" : 'X\(//\)[^/]' \| \ 
16994          X"$as_dir" : 'X\(//\)$' \| \ 
16995          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
16996 $as_echo X"$as_dir" | 
16997     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
17001           /^X\(\/\/\)[^/].*/{ 
17014       test -d "$as_dir" && break 
17016     test -z "$as_dirs" || eval "mkdir $as_dirs" 
17017   } || test -d "$as_dir" || as_fn_error 
"cannot create directory $as_dir" 
17021 if mkdir -p . 
2>/dev
/null
; then 
17022   as_mkdir_p
='mkdir -p "$as_dir"' 
17024   test -d .
/-p && rmdir .
/-p 
17028 if test -x / >/dev
/null 
2>&1; then 
17029   as_test_x
='test -x' 
17031   if ls -dL / >/dev
/null 
2>&1; then 
17038       if test -d "$1"; then 
17044         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
17045         ???[sx]*):;;*)false;;esac;fi 
17049 as_executable_p
=$as_test_x 
17051 # Sed expression to map a string onto a valid CPP name. 
17052 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
17054 # Sed expression to map a string onto a valid variable name. 
17055 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
17059 ## ----------------------------------- ## 
17060 ## Main body of $CONFIG_STATUS script. ## 
17061 ## ----------------------------------- ## 
17063 test $as_write_fail = 0 && chmod +x 
$CONFIG_STATUS || ac_write_fail
=1 
17065 cat >>$CONFIG_STATUS <<\_ACEOF 
|| ac_write_fail
=1 
17066 # Save the log message, to keep $0 and so on meaningful, and to 
17067 # report actual input values of CONFIG_FILES etc. instead of their 
17068 # values after options handling. 
17070 This file was extended by Cycript $as_me 0.9, which was 
17071 generated by GNU Autoconf 2.65.  Invocation command line was 
17073   CONFIG_FILES    = $CONFIG_FILES 
17074   CONFIG_HEADERS  = $CONFIG_HEADERS 
17075   CONFIG_LINKS    = $CONFIG_LINKS 
17076   CONFIG_COMMANDS = $CONFIG_COMMANDS 
17079 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
17084 case $ac_config_files in *" 
17085 "*) set x 
$ac_config_files; shift; ac_config_files
=$
*;; 
17090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17091 # Files that config.status was made for. 
17092 config_files="$ac_config_files" 
17093 config_commands="$ac_config_commands" 
17097 cat >>$CONFIG_STATUS <<\_ACEOF 
|| ac_write_fail
=1 
17099 \`$as_me' instantiates files and other configuration actions 
17100 from templates according to the current configuration.  Unless the files 
17101 and actions are specified as TAGs, all are instantiated by default. 
17103 Usage: $0 [OPTION]... [TAG]... 
17105   -h, --help       print this help, then exit 
17106   -V, --version    print version number and configuration settings, then exit 
17107       --config     print configuration, then exit 
17108   -q, --quiet, --silent 
17109                    do not print progress messages 
17110   -d, --debug      don't remove temporary files 
17111       --recheck    update $as_me by reconfiguring in the same conditions 
17112       --file=FILE[:TEMPLATE] 
17113                    instantiate the configuration file FILE 
17115 Configuration files: 
17118 Configuration commands: 
17121 Report bugs to <saurik@saurik.com>. 
17122 Cycript home page: <http://www.cycript.org/>." 
17125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17126 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
17128 Cycript config.status 0.9 
17129 configured by $0, generated by GNU Autoconf 2.65, 
17130   with options \\"\$ac_cs_config\\" 
17132 Copyright (C) 2009 Free Software Foundation, Inc. 
17133 This config.status script is free software; the Free Software Foundation 
17134 gives unlimited permission to copy, distribute and modify it." 
17140 test -n "\$AWK" || AWK=awk 
17143 cat >>$CONFIG_STATUS <<\_ACEOF 
|| ac_write_fail
=1 
17144 # The default lists apply if the user does not specify any file. 
17150     ac_option
=`expr "X$1" : 'X\([^=]*\)='` 
17151     ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'` 
17162   # Handling of the options. 
17163   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
17165   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
17166     $as_echo "$ac_cs_version"; exit ;; 
17167   --config | --confi | --conf | --con | --co | --c ) 
17168     $as_echo "$ac_cs_config"; exit ;; 
17169   --debug | --debu | --deb | --de | --d | -d ) 
17171   --file | --fil | --fi | --f ) 
17174     *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
17176     as_fn_append CONFIG_FILES 
" '$ac_optarg'" 
17177     ac_need_defaults
=false
;; 
17178   --he | --h |  --help | --hel | -h ) 
17179     $as_echo "$ac_cs_usage"; exit ;; 
17180   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
17181   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
17184   # This is an error. 
17185   -*) as_fn_error 
"unrecognized option: \`$1' 
17186 Try \`$0 --help' for more information." ;; 
17188   *) as_fn_append ac_config_targets 
" $1" 
17189      ac_need_defaults
=false 
;; 
17195 ac_configure_extra_args
= 
17197 if $ac_cs_silent; then 
17199   ac_configure_extra_args
="$ac_configure_extra_args --silent" 
17203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17204 if \$ac_cs_recheck; then 
17205   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
17207   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
17208   CONFIG_SHELL='$SHELL' 
17209   export CONFIG_SHELL 
17214 cat >>$CONFIG_STATUS <<\_ACEOF 
|| ac_write_fail
=1 
17218   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
17219 ## Running $as_me. ## 
17225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17231 # The HP-UX ksh and POSIX shell print the target directory to stdout 
17232 # if CDPATH is set. 
17233 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
17235 sed_quote_subst='$sed_quote_subst' 
17236 double_quote_subst='$double_quote_subst' 
17237 delay_variable_subst='$delay_variable_subst' 
17238 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 
17239 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 
17240 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 
17241 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 
17242 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 
17243 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 
17244 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 
17245 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 
17246 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 
17247 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 
17248 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 
17249 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 
17250 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 
17251 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 
17252 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 
17253 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 
17254 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 
17255 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 
17256 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 
17257 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 
17258 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 
17259 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 
17260 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 
17261 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 
17262 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 
17263 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 
17264 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 
17265 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17266 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 
17267 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 
17268 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 
17269 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 
17270 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 
17271 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 
17272 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 
17273 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17274 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17275 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17276 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 
17277 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 
17278 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 
17279 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 
17280 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 
17281 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 
17282 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"`' 
17283 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"`' 
17284 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 
17285 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 
17286 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 
17287 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 
17288 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 
17289 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 
17290 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 
17291 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 
17292 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 
17293 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 
17294 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 
17295 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 
17296 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 
17297 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 
17298 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 
17299 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 
17300 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17301 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17302 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 
17303 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 
17304 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17305 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17306 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 
17307 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17308 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17309 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17310 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17311 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17312 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17313 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 
17314 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 
17315 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 
17316 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17317 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 
17318 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 
17319 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 
17320 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 
17321 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 
17322 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 
17323 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 
17324 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 
17325 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 
17326 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 
17327 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 
17328 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17329 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 
17330 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 
17331 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17332 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17333 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 
17334 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 
17335 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 
17336 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 
17337 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 
17338 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 
17339 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 
17340 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17341 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17342 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17343 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17344 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17345 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 
17346 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 
17347 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 
17348 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17349 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 
17350 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 
17351 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 
17352 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 
17353 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 
17354 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 
17355 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 
17356 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' 
17357 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' 
17358 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' 
17359 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' 
17360 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' 
17361 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' 
17362 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17363 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17364 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17365 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17366 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17367 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17368 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17369 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17370 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17371 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17372 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17373 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17374 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17375 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17376 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17377 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17378 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17379 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17380 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17381 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17382 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17383 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17384 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17385 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17386 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17387 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17388 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17389 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17390 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17391 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17392 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17393 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17394 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17395 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17396 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17397 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17398 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17399 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17400 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17401 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17402 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17403 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17404 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17405 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17406 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17407 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17408 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 
17411 LTCFLAGS='$LTCFLAGS' 
17412 compiler='$compiler_DEFAULT' 
17414 # Quote evaled strings. 
17426 deplibs_check_method \ 
17435 lt_cv_sys_global_symbol_pipe \ 
17436 lt_cv_sys_global_symbol_to_cdecl \ 
17437 lt_cv_sys_global_symbol_to_c_name_address \ 
17438 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 
17441 lt_prog_compiler_no_builtin_flag \ 
17442 lt_prog_compiler_wl \ 
17443 lt_prog_compiler_pic \ 
17444 lt_prog_compiler_static \ 
17445 lt_cv_prog_compiler_c_o \ 
17453 export_dynamic_flag_spec \ 
17454 whole_archive_flag_spec \ 
17455 compiler_needs_object \ 
17457 allow_undefined_flag \ 
17458 no_undefined_flag \ 
17459 hardcode_libdir_flag_spec \ 
17460 hardcode_libdir_flag_spec_ld \ 
17461 hardcode_libdir_separator \ 
17466 variables_saved_for_relink \ 
17468 library_names_spec \ 
17473 compiler_lib_search_dirs \ 
17478 compiler_lib_search_path \ 
17481 lt_prog_compiler_no_builtin_flag_CXX \ 
17482 lt_prog_compiler_wl_CXX \ 
17483 lt_prog_compiler_pic_CXX \ 
17484 lt_prog_compiler_static_CXX \ 
17485 lt_cv_prog_compiler_c_o_CXX \ 
17486 export_dynamic_flag_spec_CXX \ 
17487 whole_archive_flag_spec_CXX \ 
17488 compiler_needs_object_CXX \ 
17490 allow_undefined_flag_CXX \ 
17491 no_undefined_flag_CXX \ 
17492 hardcode_libdir_flag_spec_CXX \ 
17493 hardcode_libdir_flag_spec_ld_CXX \ 
17494 hardcode_libdir_separator_CXX \ 
17495 fix_srcfile_path_CXX \ 
17496 exclude_expsyms_CXX \ 
17497 include_expsyms_CXX \ 
17498 file_list_spec_CXX \ 
17499 compiler_lib_search_dirs_CXX \ 
17500 predep_objects_CXX \ 
17501 postdep_objects_CXX \ 
17504 compiler_lib_search_path_CXX; do 
17505     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 
17506     *[\\\\\\\`\\"\\\$]*) 
17507       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 
17510       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 
17515 # Double-quote double-evaled strings. 
17516 for var in reload_cmds \ 
17517 old_postinstall_cmds \ 
17518 old_postuninstall_cmds \ 
17520 extract_expsyms_cmds \ 
17521 old_archive_from_new_cmds \ 
17522 old_archive_from_expsyms_cmds \ 
17524 archive_expsym_cmds \ 
17526 module_expsym_cmds \ 
17527 export_symbols_cmds \ 
17530 postuninstall_cmds \ 
17532 sys_lib_search_path_spec \ 
17533 sys_lib_dlsearch_path_spec \ 
17534 old_archive_cmds_CXX \ 
17535 old_archive_from_new_cmds_CXX \ 
17536 old_archive_from_expsyms_cmds_CXX \ 
17538 archive_expsym_cmds_CXX \ 
17540 module_expsym_cmds_CXX \ 
17541 export_symbols_cmds_CXX \ 
17542 prelink_cmds_CXX; do 
17543     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 
17544     *[\\\\\\\`\\"\\\$]*) 
17545       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 
17548       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 
17553 # Fix-up fallback echo if it was mangled by the above quoting rules. 
17555 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 
17559 ac_aux_dir='$ac_aux_dir' 
17560 xsi_shell='$xsi_shell' 
17561 lt_shell_append='$lt_shell_append' 
17563 # See if we are running on zsh, and set the options which allow our 
17564 # commands through without removal of \ escapes INIT. 
17565 if test -n "\${ZSH_VERSION+set}" ; then 
17566    setopt NO_GLOB_SUBST 
17572     TIMESTAMP='$TIMESTAMP' 
17583 cat >>$CONFIG_STATUS <<\_ACEOF 
|| ac_write_fail
=1 
17585 # Handling of arguments. 
17586 for ac_config_target 
in $ac_config_targets 
17588   case $ac_config_target in 
17589     "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;; 
17590     "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;; 
17592   *) as_fn_error 
"invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
17597 # If the user did not use the arguments to specify the items to instantiate, 
17598 # then the envvar interface is used.  Set only those that are not. 
17599 # We use the long form for the default assignment because of an extremely 
17600 # bizarre bug on SunOS 4.1.3. 
17601 if $ac_need_defaults; then 
17602   test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files 
17603   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands 
17606 # Have a temporary directory for convenience.  Make it in the build tree 
17607 # simply because there is no reason against having it here, and in addition, 
17608 # creating and moving files from /tmp can sometimes cause problems. 
17609 # Hook for its removal unless debugging. 
17610 # Note that there is a small window in which the directory will not be cleaned: 
17611 # after its creation but before its name has been assigned to `$tmp'. 
17615   trap 'exit_status=$? 
17616   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
17618   trap 'as_fn_exit 1' 1 2 13 15 
17620 # Create a (secure) tmp directory for tmp files. 
17623   tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
17624   test -n "$tmp" && test -d "$tmp" 
17627   tmp
=.
/conf$$
-$RANDOM 
17628   (umask 077 && mkdir "$tmp") 
17629 } || as_fn_error 
"cannot create a temporary directory in ." "$LINENO" 5 
17631 # Set up the scripts for CONFIG_FILES section. 
17632 # No need to generate them if there are no CONFIG_FILES. 
17633 # This happens for instance with `./config.status config.h'. 
17634 if test -n "$CONFIG_FILES"; then 
17637 ac_cr
=`echo X | tr X '\015'` 
17638 # On cygwin, bash can eat \r inside `` if the user requested igncr. 
17639 # But we know of no other shell where ac_cr would be empty at this 
17640 # point, so we can use a bashism as a fallback. 
17641 if test "x$ac_cr" = x
; then 
17642   eval ac_cr
=\$
\'\\r
\' 
17644 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
17645 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
17648   ac_cs_awk_cr
=$ac_cr 
17651 echo 'BEGIN {' >"$tmp/subs1.awk" && 
17656   echo "cat >conf$$subs.awk <<_ACEOF" && 
17657   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
17659 } >conf$$subs.sh || 
17660   as_fn_error "could not 
make $CONFIG_STATUS" "$LINENO" 5 
17661 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
17663 for ac_last_try in false false false false false :; do 
17664   . ./conf$$subs.sh || 
17665     as_fn_error "could not 
make $CONFIG_STATUS" "$LINENO" 5 
17667   ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` 
17668   if test $ac_delim_n = $ac_delim_num; then 
17670   elif $ac_last_try; then 
17671     as_fn_error "could not 
make $CONFIG_STATUS" "$LINENO" 5 
17673     ac_delim="$ac_delim!$ac_delim _
$ac_delim!! " 
17676 rm -f conf$$subs.sh 
17678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17679 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK && 
17683 s/^/S["/; s
/!.
*/"]=/ 
17693 s/\(.\{148\}\)..*/\1/ 
17695 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/ 
17700 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/ 
17707 s/\(.\{148\}\)..*/\1/ 
17709 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/ 
17713 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/ 
17718 ' <conf$$subs.awk | sed ' 
17723 ' >>$CONFIG_STATUS || ac_write_fail=1 
17724 rm -f conf$$subs.awk 
17725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17727 cat >>"\
$tmp/subs1.
awk" <<_ACAWK && 
17728   for (key in S) S_is_set[key] = 1 
17734   nfields = split(line, field, "@
") 
17736   len = length(field[1]) 
17737   for (i = 2; i < nfields; i++) { 
17739     keylen = length(key) 
17740     if (S_is_set[key]) { 
17742       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
17743       len += length(value) + length(field[++i]) 
17754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
17755 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
17756   sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
" 
17759 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \ 
17760   || as_fn_error "could not setup config files machinery
" "$LINENO" 5 
17763 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
17764 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and 
17765 # trailing colons and then remove the whole line if VPATH becomes empty 
17766 # (actually we leave an empty line to preserve line numbers). 
17767 if test "x
$srcdir" = x.; then 
17768   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
17769 s/:*\$(srcdir):*/:/ 
17770 s/:*\${srcdir}:*/:/ 
17772 s/^\([^=]*=[     ]*\):*/\1/ 
17778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
17779 fi # test -n "$CONFIG_FILES" 
17782 eval set X "  :F 
$CONFIG_FILES      :C 
$CONFIG_COMMANDS" 
17787   :[FHLC]) ac_mode=$ac_tag; continue;; 
17789   case $ac_mode$ac_tag in 
17791   :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;; 
17792   :[FH]-) ac_tag=-:-;; 
17793   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
17810       -) ac_f="$tmp/stdin";; 
17811       *) # Look for the file first in the build tree, then in the source tree 
17812          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
17813          # because $ac_f cannot contain `:'. 
17817            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
17819            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
17821       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac 
17822       as_fn_append ac_file_inputs " '$ac_f'" 
17825     # Let's still pretend it is `configure' which instantiates (i.e., don't 
17826     # use $as_me), people would be surprised to read: 
17827     #    /* config.h.  Generated by config.status.  */ 
17828     configure_input='Generated from '` 
17829           $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
17831     if test x"$ac_file" != x-; then 
17832       configure_input="$ac_file.  
$configure_input" 
17833       { $as_echo "$as_me:${as_lineno-$LINENO}: creating 
$ac_file" >&5 
17834 $as_echo "$as_me: creating 
$ac_file" >&6;} 
17836     # Neutralize special characters interpreted by sed in replacement strings. 
17837     case $configure_input in #( 
17838     *\&* | *\|* | *\\* ) 
17839        ac_sed_conf_input=`$as_echo "$configure_input" | 
17840        sed 's/[\\\\&|]/\\\\&/g'`;; #( 
17841     *) ac_sed_conf_input=$configure_input;; 
17845     *:-:* | *:-) cat >"$tmp/stdin
" \ 
17846       || as_fn_error "could not create 
$ac_file" "$LINENO" 5 ;; 
17851   ac_dir=`$as_dirname -- "$ac_file" || 
17852 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
17853          X"$ac_file" : 'X\(//\)[^/]' \| \ 
17854          X"$ac_file" : 'X\(//\)$' \| \ 
17855          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
17856 $as_echo X"$ac_file" | 
17857     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
17861           /^X\(\/\/\)[^/].*/{ 
17874   as_dir="$ac_dir"; as_fn_mkdir_p 
17878 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
17880   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
17881   # A "..
" for each directory in $ac_dir_suffix. 
17882   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
17883   case $ac_top_builddir_sub in 
17884   "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
17885   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; 
17888 ac_abs_top_builddir=$ac_pwd 
17889 ac_abs_builddir=$ac_pwd$ac_dir_suffix 
17890 # for backward compatibility: 
17891 ac_top_builddir=$ac_top_build_prefix 
17894   .)  # We are building in place. 
17896     ac_top_srcdir=$ac_top_builddir_sub 
17897     ac_abs_top_srcdir=$ac_pwd ;; 
17898   [\\/]* | ?:[\\/]* )  # Absolute name. 
17899     ac_srcdir=$srcdir$ac_dir_suffix; 
17900     ac_top_srcdir=$srcdir 
17901     ac_abs_top_srcdir=$srcdir ;; 
17902   *) # Relative name. 
17903     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 
17904     ac_top_srcdir=$ac_top_build_prefix$srcdir 
17905     ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 
17907 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 
17917   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 
17918   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 
17922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
17923 # If the template does not know about datarootdir, expand it. 
17924 # FIXME: This hack should be removed a few years after 2.60. 
17925 ac_datarootdir_hack=; ac_datarootdir_seen= 
17936 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in 
17937 *datarootdir*) ac_datarootdir_seen=yes;; 
17938 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
17939   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the 
--datarootdir setting
" >&5 
17940 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the 
--datarootdir setting
" >&2;} 
17942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17943   ac_datarootdir_hack=' 
17944   s&@datadir@&$datadir&g 
17945   s&@docdir@&$docdir&g 
17946   s&@infodir@&$infodir&g 
17947   s&@localedir@&$localedir&g 
17948   s&@mandir@&$mandir&g 
17949   s&\\\${datarootdir}&$datarootdir&g' ;; 
17953 # Neutralize VPATH when `$srcdir' = `.'. 
17954 # Shell code in configure.ac might set extrasub. 
17955 # FIXME: do we really want to maintain this feature? 
17956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
17957 ac_sed_extra="$ac_vpsub 
17960 cat >>$CONFIG_STATUS <<\_ACEOF 
|| ac_write_fail
=1 
17962 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
 
17963 s
|@configure_input@
|$ac_sed_conf_input|;t t
 
17964 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
 
17965 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
 
17966 s
&@srcdir@
&$ac_srcdir&;t t
 
17967 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
 
17968 s
&@top_srcdir@
&$ac_top_srcdir&;t t
 
17969 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
 
17970 s
&@builddir@
&$ac_builddir&;t t
 
17971 s
&@abs_builddir@
&$ac_abs_builddir&;t t
 
17972 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
 
17973 s
&@INSTALL@
&$ac_INSTALL&;t t
 
17974 $ac_datarootdir_hack 
17976 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \ 
17977   || as_fn_error "could not create 
$ac_file" "$LINENO" 5 
17979 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
17980   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } && 
17981   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } && 
17982   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir' 
17983 which seems to be undefined.  Please make sure it is defined." >&5 
17984 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
' 
17985 which seems to be undefined.  Please make sure it is defined." >&2;} 
17989   -) cat "$tmp/out" && rm -f "$tmp/out";; 
17990   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
17992   || as_fn_error "could not create $ac_file" "$LINENO" 5 
17996   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 
17997 $as_echo "$as_me: executing $ac_file commands" >&6;} 
18002   case $ac_file$ac_mode in 
18005     # See if we are running on zsh, and set the options which allow our 
18006     # commands through without removal of \ escapes. 
18007     if test -n "${ZSH_VERSION+set}" ; then 
18008       setopt NO_GLOB_SUBST 
18011     cfgfile="${ofile}T" 
18012     trap "$RM \"$cfgfile\"; exit 1" 1 2 15 
18015     cat <<_LT_EOF >> "$cfgfile" 
18018 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services. 
18019 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 
18020 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 
18021 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 
18023 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 
18024 #                 2006, 2007, 2008 Free Software Foundation, Inc. 
18025 #   Written by Gordon Matzigkeit, 1996 
18027 #   This file is part of GNU Libtool. 
18029 # GNU Libtool is free software; you can redistribute it and/or 
18030 # modify it under the terms of the GNU General Public License as 
18031 # published by the Free Software Foundation; either version 2 of 
18032 # the License, or (at your option) any later version. 
18034 # As a special exception to the GNU General Public License, 
18035 # if you distribute this file as part of a program or library that 
18036 # is built using GNU Libtool, you may include this file under the 
18037 # same distribution terms that you use for the rest of that program. 
18039 # GNU Libtool is distributed in the hope that it will be useful, 
18040 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
18041 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
18042 # GNU General Public License for more details. 
18044 # You should have received a copy of the GNU General Public License 
18045 # along with GNU Libtool; see the file COPYING.  If not, a copy 
18046 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 
18047 # obtained by writing to the Free Software Foundation, Inc., 
18048 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
18051 # The names of the tagged configurations supported by this script. 
18052 available_tags="CXX " 
18054 # ### BEGIN LIBTOOL CONFIG 
18056 # Which release of libtool.m4 was used? 
18057 macro_version=$macro_version 
18058 macro_revision=$macro_revision 
18060 # Whether or not to build static libraries. 
18061 build_old_libs=$enable_static 
18063 # Whether or not to build shared libraries. 
18064 build_libtool_libs=$enable_shared 
18066 # What type of objects to build. 
18069 # Whether or not to optimize for fast installation. 
18070 fast_install=$enable_fast_install 
18073 host_alias=$host_alias 
18077 # The build system. 
18078 build_alias=$build_alias 
18082 # A sed program that does not truncate output. 
18085 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 
18086 Xsed="\$SED -e 1s/^X//" 
18088 # A grep program that handles long lines. 
18094 # A literal string matcher. 
18097 # A BSD- or MS-compatible name lister. 
18100 # Whether we need soft or hard links. 
18103 # What is the maximum length of a command? 
18104 max_cmd_len=$max_cmd_len 
18106 # Object file suffix (normally "o"). 
18109 # Executable file suffix (normally ""). 
18112 # whether the shell understands "unset". 
18115 # turn spaces into newlines. 
18118 # turn newlines into spaces. 
18121 # How to create reloadable object files. 
18122 reload_flag=$lt_reload_flag 
18123 reload_cmds=$lt_reload_cmds 
18125 # An object symbol dumper. 
18126 OBJDUMP=$lt_OBJDUMP 
18128 # Method to check whether dependent libraries are shared objects. 
18129 deplibs_check_method=$lt_deplibs_check_method 
18131 # Command to use when deplibs_check_method == "file_magic". 
18132 file_magic_cmd=$lt_file_magic_cmd 
18136 AR_FLAGS=$lt_AR_FLAGS 
18138 # A symbol stripping program. 
18141 # Commands used to install an old-style archive. 
18143 old_postinstall_cmds=$lt_old_postinstall_cmds 
18144 old_postuninstall_cmds=$lt_old_postuninstall_cmds 
18149 # LTCC compiler flags. 
18150 LTCFLAGS=$lt_CFLAGS 
18152 # Take the output of nm and produce a listing of raw symbols and C names. 
18153 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 
18155 # Transform the output of nm in a proper C declaration. 
18156 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 
18158 # Transform the output of nm in a C name address pair. 
18159 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 
18161 # Transform the output of nm in a C name address pair when lib prefix is needed. 
18162 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 
18164 # The name of the directory that contains temporary libtool files. 
18167 # Shell to use when invoking shell scripts. 
18170 # An echo program that does not interpret backslashes. 
18173 # Used to examine libraries when file_magic_cmd begins with "file". 
18174 MAGIC_CMD=$MAGIC_CMD 
18176 # Must we lock files when doing compilation? 
18177 need_locks=$lt_need_locks 
18179 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 
18180 DSYMUTIL=$lt_DSYMUTIL 
18182 # Tool to change global to local symbols on Mac OS X. 
18185 # Tool to manipulate fat objects and archives on Mac OS X. 
18188 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 
18191 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 
18192 OTOOL64=$lt_OTOOL64 
18194 # Old archive suffix (normally "a"). 
18197 # Shared library suffix (normally ".so"). 
18198 shrext_cmds=$lt_shrext_cmds 
18200 # The commands to extract the exported symbol list from a shared archive. 
18201 extract_expsyms_cmds=$lt_extract_expsyms_cmds 
18203 # Variables whose values should be saved in libtool wrapper scripts and 
18204 # restored at link time. 
18205 variables_saved_for_relink=$lt_variables_saved_for_relink 
18207 # Do we need the "lib" prefix for modules? 
18208 need_lib_prefix=$need_lib_prefix 
18210 # Do we need a version for libraries? 
18211 need_version=$need_version 
18213 # Library versioning type. 
18214 version_type=$version_type 
18216 # Shared library runtime path variable. 
18217 runpath_var=$runpath_var 
18219 # Shared library path variable. 
18220 shlibpath_var=$shlibpath_var 
18222 # Is shlibpath searched before the hard-coded library search path? 
18223 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 
18225 # Format of library name prefix. 
18226 libname_spec=$lt_libname_spec 
18228 # List of archive names.  First name is the real one, the rest are links. 
18229 # The last name is the one that the linker finds with -lNAME 
18230 library_names_spec=$lt_library_names_spec 
18232 # The coded name of the library, if different from the real name. 
18233 soname_spec=$lt_soname_spec 
18235 # Command to use after installation of a shared archive. 
18236 postinstall_cmds=$lt_postinstall_cmds 
18238 # Command to use after uninstallation of a shared archive. 
18239 postuninstall_cmds=$lt_postuninstall_cmds 
18241 # Commands used to finish a libtool library installation in a directory. 
18242 finish_cmds=$lt_finish_cmds 
18244 # As "finish_cmds", except a single script fragment to be evaled but 
18246 finish_eval=$lt_finish_eval 
18248 # Whether we should hardcode library paths into libraries. 
18249 hardcode_into_libs=$hardcode_into_libs 
18251 # Compile-time system search path for libraries. 
18252 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 
18254 # Run-time system search path for libraries. 
18255 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 
18257 # Whether dlopen is supported. 
18258 dlopen_support=$enable_dlopen 
18260 # Whether dlopen of programs is supported. 
18261 dlopen_self=$enable_dlopen_self 
18263 # Whether dlopen of statically linked programs is supported. 
18264 dlopen_self_static=$enable_dlopen_self_static 
18266 # Commands to strip libraries. 
18267 old_striplib=$lt_old_striplib 
18268 striplib=$lt_striplib 
18271 # The linker used to build libraries. 
18274 # Commands used to build an old-style archive. 
18275 old_archive_cmds=$lt_old_archive_cmds 
18277 # A language specific compiler. 
18280 # Is the compiler the GNU compiler? 
18283 # Compiler flag to turn off builtin functions. 
18284 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 
18286 # How to pass a linker flag through the compiler. 
18287 wl=$lt_lt_prog_compiler_wl 
18289 # Additional compiler flags for building library objects. 
18290 pic_flag=$lt_lt_prog_compiler_pic 
18292 # Compiler flag to prevent dynamic linking. 
18293 link_static_flag=$lt_lt_prog_compiler_static 
18295 # Does compiler simultaneously support -c and -o options? 
18296 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 
18298 # Whether or not to add -lc for building shared libraries. 
18299 build_libtool_need_lc=$archive_cmds_need_lc 
18301 # Whether or not to disallow shared libs when runtime libs are static. 
18302 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 
18304 # Compiler flag to allow reflexive dlopens. 
18305 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 
18307 # Compiler flag to generate shared objects directly from archives. 
18308 whole_archive_flag_spec=$lt_whole_archive_flag_spec 
18310 # Whether the compiler copes with passing no objects directly. 
18311 compiler_needs_object=$lt_compiler_needs_object 
18313 # Create an old-style archive from a shared archive. 
18314 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 
18316 # Create a temporary old-style archive to link instead of a shared archive. 
18317 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 
18319 # Commands used to build a shared archive. 
18320 archive_cmds=$lt_archive_cmds 
18321 archive_expsym_cmds=$lt_archive_expsym_cmds 
18323 # Commands used to build a loadable module if different from building 
18324 # a shared archive. 
18325 module_cmds=$lt_module_cmds 
18326 module_expsym_cmds=$lt_module_expsym_cmds 
18328 # Whether we are building with GNU ld or not. 
18329 with_gnu_ld=$lt_with_gnu_ld 
18331 # Flag that allows shared libraries with undefined symbols to be built. 
18332 allow_undefined_flag=$lt_allow_undefined_flag 
18334 # Flag that enforces no undefined symbols. 
18335 no_undefined_flag=$lt_no_undefined_flag 
18337 # Flag to hardcode \$libdir into a binary during linking. 
18338 # This must work even if \$libdir does not exist 
18339 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 
18341 # If ld is used when linking, flag to hardcode \$libdir into a binary 
18342 # during linking.  This must work even if \$libdir does not exist. 
18343 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 
18345 # Whether we need a single "-rpath" flag with a separated argument. 
18346 hardcode_libdir_separator=$lt_hardcode_libdir_separator 
18348 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 
18349 # DIR into the resulting binary. 
18350 hardcode_direct=$hardcode_direct 
18352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 
18353 # DIR into the resulting binary and the resulting library dependency is 
18354 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 
18355 # library is relocated. 
18356 hardcode_direct_absolute=$hardcode_direct_absolute 
18358 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 
18359 # into the resulting binary. 
18360 hardcode_minus_L=$hardcode_minus_L 
18362 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 
18363 # into the resulting binary. 
18364 hardcode_shlibpath_var=$hardcode_shlibpath_var 
18366 # Set to "yes" if building a shared library automatically hardcodes DIR 
18367 # into the library and all subsequent libraries and executables linked 
18369 hardcode_automatic=$hardcode_automatic 
18371 # Set to yes if linker adds runtime paths of dependent libraries 
18372 # to runtime path list. 
18373 inherit_rpath=$inherit_rpath 
18375 # Whether libtool must link a program against all its dependency libraries. 
18376 link_all_deplibs=$link_all_deplibs 
18378 # Fix the shell variable \$srcfile for the compiler. 
18379 fix_srcfile_path=$lt_fix_srcfile_path 
18381 # Set to "yes" if exported symbols are required. 
18382 always_export_symbols=$always_export_symbols 
18384 # The commands to list exported symbols. 
18385 export_symbols_cmds=$lt_export_symbols_cmds 
18387 # Symbols that should not be listed in the preloaded symbols. 
18388 exclude_expsyms=$lt_exclude_expsyms 
18390 # Symbols that must always be exported. 
18391 include_expsyms=$lt_include_expsyms 
18393 # Commands necessary for linking programs (against libraries) with templates. 
18394 prelink_cmds=$lt_prelink_cmds 
18396 # Specify filename containing input files. 
18397 file_list_spec=$lt_file_list_spec 
18399 # How to hardcode a shared library path into an executable. 
18400 hardcode_action=$hardcode_action 
18402 # The directories searched by this compiler when creating a shared library. 
18403 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 
18405 # Dependencies to place before and after the objects being linked to 
18406 # create a shared library. 
18407 predep_objects=$lt_predep_objects 
18408 postdep_objects=$lt_postdep_objects 
18409 predeps=$lt_predeps 
18410 postdeps=$lt_postdeps 
18412 # The library search path used internally by the compiler when linking 
18413 # a shared library. 
18414 compiler_lib_search_path=$lt_compiler_lib_search_path 
18416 # ### END LIBTOOL CONFIG 
18422     cat <<\_LT_EOF >> "$cfgfile" 
18423 # AIX sometimes has problems with the GCC collect2 program.  For some 
18424 # reason, if we set the COLLECT_NAMES environment variable, the problems 
18425 # vanish in a puff of smoke. 
18426 if test "X${COLLECT_NAMES+set}" != Xset; then 
18428   export COLLECT_NAMES 
18435 ltmain="$ac_aux_dir/ltmain.sh" 
18438   # We use sed instead of cat because bash on DJGPP gets confused if 
18439   # if finds mixed CR/LF and LF-only lines.  Since sed operates in 
18440   # text mode, it properly converts lines to CR/LF.  This bash problem 
18441   # is reportedly fixed, but why not run on old versions too? 
18442   sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 
18443     || (rm -f "$cfgfile"; exit 1) 
18447     cat << \_LT_EOF 
>> "$cfgfile" 
18449 # func_dirname file append nondir_replacement 
18450 # Compute the dirname of FILE.  If nonempty, add APPEND to the result, 
18451 # otherwise set result to NONDIR_REPLACEMENT. 
18455     */*) func_dirname_result
="${1%/*}${2}" ;; 
18456     *  ) func_dirname_result
="${3}" ;; 
18460 # func_basename file 
18463   func_basename_result
="${1##*/}" 
18466 # func_dirname_and_basename file append nondir_replacement 
18467 # perform func_basename and func_dirname in a single function 
18469 #   dirname:  Compute the dirname of FILE.  If nonempty, 
18470 #             add APPEND to the result, otherwise set result 
18471 #             to NONDIR_REPLACEMENT. 
18472 #             value returned in "$func_dirname_result" 
18473 #   basename: Compute filename of FILE. 
18474 #             value retuned in "$func_basename_result" 
18475 # Implementation must be kept synchronized with func_dirname 
18476 # and func_basename. For efficiency, we do not delegate to 
18477 # those functions but instead duplicate the functionality here. 
18478 func_dirname_and_basename 
() 
18481     */*) func_dirname_result
="${1%/*}${2}" ;; 
18482     *  ) func_dirname_result
="${3}" ;; 
18484   func_basename_result
="${1##*/}" 
18487 # func_stripname prefix suffix name 
18488 # strip PREFIX and SUFFIX off of NAME. 
18489 # PREFIX and SUFFIX must not contain globbing or regex special 
18490 # characters, hashes, percent signs, but SUFFIX may contain a leading 
18491 # dot (in which case that matches only a dot). 
18494   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 
18495   # positional parameters, so assign one to ordinary parameter first. 
18496   func_stripname_result
=${3} 
18497   func_stripname_result
=${func_stripname_result#"${1}"} 
18498   func_stripname_result
=${func_stripname_result%"${2}"} 
18504   func_opt_split_opt
=${1%%=*} 
18505   func_opt_split_arg
=${1#*=} 
18512     *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;; 
18513     *)    func_lo2o_result
=${1} ;; 
18517 # func_xform libobj-or-source 
18520   func_xform_result
=${1%.*}.lo
 
18523 # func_arith arithmetic-term... 
18526   func_arith_result
=$(( $* )) 
18530 # STRING may not start with a hyphen. 
18533   func_len_result
=${#1} 
18538   *) # Bourne compatible functions. 
18539     cat << \_LT_EOF 
>> "$cfgfile" 
18541 # func_dirname file append nondir_replacement 
18542 # Compute the dirname of FILE.  If nonempty, add APPEND to the result, 
18543 # otherwise set result to NONDIR_REPLACEMENT. 
18546   # Extract subdirectory from the argument. 
18547   func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"` 
18548   if test "X$func_dirname_result" = "X${1}"; then 
18549     func_dirname_result
="${3}" 
18551     func_dirname_result
="$func_dirname_result${2}" 
18555 # func_basename file 
18558   func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"` 
18562 # func_stripname prefix suffix name 
18563 # strip PREFIX and SUFFIX off of NAME. 
18564 # PREFIX and SUFFIX must not contain globbing or regex special 
18565 # characters, hashes, percent signs, but SUFFIX may contain a leading 
18566 # dot (in which case that matches only a dot). 
18567 # func_strip_suffix prefix name 
18571     .
*) func_stripname_result
=`$ECHO "X${3}" \ 
18572            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 
18573     *)  func_stripname_result
=`$ECHO "X${3}" \ 
18574            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 
18579 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q' 
18580 my_sed_long_arg
='1s/^-[^=]*=//' 
18585   func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 
18586   func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 
18592   func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 
18595 # func_xform libobj-or-source 
18598   func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 
18601 # func_arith arithmetic-term... 
18604   func_arith_result
=`expr "$@"` 
18608 # STRING may not start with a hyphen. 
18611   func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 
18617 case $lt_shell_append in 
18619     cat << \_LT_EOF 
>> "$cfgfile" 
18621 # func_append var value 
18622 # Append VALUE to the end of shell variable VAR. 
18630     cat << \_LT_EOF 
>> "$cfgfile" 
18632 # func_append var value 
18633 # Append VALUE to the end of shell variable VAR. 
18644   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
18645     || (rm -f "$cfgfile"; exit 1) 
18647   mv -f "$cfgfile" "$ofile" || 
18648     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 
18652     cat <<_LT_EOF >> "$ofile" 
18654 # ### BEGIN LIBTOOL TAG CONFIG: CXX 
18656 # The linker used to build libraries. 
18659 # Commands used to build an old-style archive. 
18660 old_archive_cmds=$lt_old_archive_cmds_CXX 
18662 # A language specific compiler. 
18663 CC=$lt_compiler_CXX 
18665 # Is the compiler the GNU compiler? 
18668 # Compiler flag to turn off builtin functions. 
18669 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 
18671 # How to pass a linker flag through the compiler. 
18672 wl=$lt_lt_prog_compiler_wl_CXX 
18674 # Additional compiler flags for building library objects. 
18675 pic_flag=$lt_lt_prog_compiler_pic_CXX 
18677 # Compiler flag to prevent dynamic linking. 
18678 link_static_flag=$lt_lt_prog_compiler_static_CXX 
18680 # Does compiler simultaneously support -c and -o options? 
18681 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 
18683 # Whether or not to add -lc for building shared libraries. 
18684 build_libtool_need_lc=$archive_cmds_need_lc_CXX 
18686 # Whether or not to disallow shared libs when runtime libs are static. 
18687 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 
18689 # Compiler flag to allow reflexive dlopens. 
18690 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 
18692 # Compiler flag to generate shared objects directly from archives. 
18693 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 
18695 # Whether the compiler copes with passing no objects directly. 
18696 compiler_needs_object=$lt_compiler_needs_object_CXX 
18698 # Create an old-style archive from a shared archive. 
18699 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 
18701 # Create a temporary old-style archive to link instead of a shared archive. 
18702 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 
18704 # Commands used to build a shared archive. 
18705 archive_cmds=$lt_archive_cmds_CXX 
18706 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 
18708 # Commands used to build a loadable module if different from building 
18709 # a shared archive. 
18710 module_cmds=$lt_module_cmds_CXX 
18711 module_expsym_cmds=$lt_module_expsym_cmds_CXX 
18713 # Whether we are building with GNU ld or not. 
18714 with_gnu_ld=$lt_with_gnu_ld_CXX 
18716 # Flag that allows shared libraries with undefined symbols to be built. 
18717 allow_undefined_flag=$lt_allow_undefined_flag_CXX 
18719 # Flag that enforces no undefined symbols. 
18720 no_undefined_flag=$lt_no_undefined_flag_CXX 
18722 # Flag to hardcode \$libdir into a binary during linking. 
18723 # This must work even if \$libdir does not exist 
18724 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 
18726 # If ld is used when linking, flag to hardcode \$libdir into a binary 
18727 # during linking.  This must work even if \$libdir does not exist. 
18728 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 
18730 # Whether we need a single "-rpath" flag with a separated argument. 
18731 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 
18733 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 
18734 # DIR into the resulting binary. 
18735 hardcode_direct=$hardcode_direct_CXX 
18737 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 
18738 # DIR into the resulting binary and the resulting library dependency is 
18739 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 
18740 # library is relocated. 
18741 hardcode_direct_absolute=$hardcode_direct_absolute_CXX 
18743 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 
18744 # into the resulting binary. 
18745 hardcode_minus_L=$hardcode_minus_L_CXX 
18747 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 
18748 # into the resulting binary. 
18749 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 
18751 # Set to "yes" if building a shared library automatically hardcodes DIR 
18752 # into the library and all subsequent libraries and executables linked 
18754 hardcode_automatic=$hardcode_automatic_CXX 
18756 # Set to yes if linker adds runtime paths of dependent libraries 
18757 # to runtime path list. 
18758 inherit_rpath=$inherit_rpath_CXX 
18760 # Whether libtool must link a program against all its dependency libraries. 
18761 link_all_deplibs=$link_all_deplibs_CXX 
18763 # Fix the shell variable \$srcfile for the compiler. 
18764 fix_srcfile_path=$lt_fix_srcfile_path_CXX 
18766 # Set to "yes" if exported symbols are required. 
18767 always_export_symbols=$always_export_symbols_CXX 
18769 # The commands to list exported symbols. 
18770 export_symbols_cmds=$lt_export_symbols_cmds_CXX 
18772 # Symbols that should not be listed in the preloaded symbols. 
18773 exclude_expsyms=$lt_exclude_expsyms_CXX 
18775 # Symbols that must always be exported. 
18776 include_expsyms=$lt_include_expsyms_CXX 
18778 # Commands necessary for linking programs (against libraries) with templates. 
18779 prelink_cmds=$lt_prelink_cmds_CXX 
18781 # Specify filename containing input files. 
18782 file_list_spec=$lt_file_list_spec_CXX 
18784 # How to hardcode a shared library path into an executable. 
18785 hardcode_action=$hardcode_action_CXX 
18787 # The directories searched by this compiler when creating a shared library. 
18788 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 
18790 # Dependencies to place before and after the objects being linked to 
18791 # create a shared library. 
18792 predep_objects=$lt_predep_objects_CXX 
18793 postdep_objects=$lt_postdep_objects_CXX 
18794 predeps=$lt_predeps_CXX 
18795 postdeps=$lt_postdeps_CXX 
18797 # The library search path used internally by the compiler when linking 
18798 # a shared library. 
18799 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 
18801 # ### END LIBTOOL TAG CONFIG: CXX 
18812 ac_clean_files
=$ac_clean_files_save 
18814 test $ac_write_fail = 0 || 
18815   as_fn_error 
"write failure creating $CONFIG_STATUS" "$LINENO" 5 
18818 # configure is writing to config.log, and then calls config.status. 
18819 # config.status does its own redirection, appending to config.log. 
18820 # Unfortunately, on DOS this fails, as config.log is still kept open 
18821 # by configure, so config.status won't be able to write to it; its 
18822 # output is simply discarded.  So we exec the FD to /dev/null, 
18823 # effectively closing config.log, so it can be properly (re)opened and 
18824 # appended to by config.status.  When coming back to configure, we 
18825 # need to make the FD available again. 
18826 if test "$no_create" != yes; then 
18828   ac_config_status_args
= 
18829   test "$silent" = yes && 
18830     ac_config_status_args
="$ac_config_status_args --quiet" 
18832   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
 
18834   # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
18835   # would make configure fail if this is the last instruction. 
18836   $ac_cs_success || as_fn_exit $?
 
18838 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then 
18839   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
18840 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}