Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for tpm-tools 1.3.7.
      4 #
      5 # Report bugs to <trousers-tech (at] lists.sf.net>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: trousers-tech (at] lists.sf.net about your system, including
    251 $0: any error possibly output before this message. Then
    252 $0: install a modern shell, or manually run the script
    253 $0: under such a shell if you do have one."
    254   fi
    255   exit 1
    256 fi
    257 fi
    258 fi
    259 SHELL=${CONFIG_SHELL-/bin/sh}
    260 export SHELL
    261 # Unset more variables known to interfere with behavior of common tools.
    262 CLICOLOR_FORCE= GREP_OPTIONS=
    263 unset CLICOLOR_FORCE GREP_OPTIONS
    264 
    265 ## --------------------- ##
    266 ## M4sh Shell Functions. ##
    267 ## --------------------- ##
    268 # as_fn_unset VAR
    269 # ---------------
    270 # Portably unset VAR.
    271 as_fn_unset ()
    272 {
    273   { eval $1=; unset $1;}
    274 }
    275 as_unset=as_fn_unset
    276 
    277 # as_fn_set_status STATUS
    278 # -----------------------
    279 # Set $? to STATUS, without forking.
    280 as_fn_set_status ()
    281 {
    282   return $1
    283 } # as_fn_set_status
    284 
    285 # as_fn_exit STATUS
    286 # -----------------
    287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    288 as_fn_exit ()
    289 {
    290   set +e
    291   as_fn_set_status $1
    292   exit $1
    293 } # as_fn_exit
    294 
    295 # as_fn_mkdir_p
    296 # -------------
    297 # Create "$as_dir" as a directory, including parents if necessary.
    298 as_fn_mkdir_p ()
    299 {
    300 
    301   case $as_dir in #(
    302   -*) as_dir=./$as_dir;;
    303   esac
    304   test -d "$as_dir" || eval $as_mkdir_p || {
    305     as_dirs=
    306     while :; do
    307       case $as_dir in #(
    308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    309       *) as_qdir=$as_dir;;
    310       esac
    311       as_dirs="'$as_qdir' $as_dirs"
    312       as_dir=`$as_dirname -- "$as_dir" ||
    313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    314 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    315 	 X"$as_dir" : 'X\(//\)$' \| \
    316 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    317 $as_echo X"$as_dir" |
    318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    319 	    s//\1/
    320 	    q
    321 	  }
    322 	  /^X\(\/\/\)[^/].*/{
    323 	    s//\1/
    324 	    q
    325 	  }
    326 	  /^X\(\/\/\)$/{
    327 	    s//\1/
    328 	    q
    329 	  }
    330 	  /^X\(\/\).*/{
    331 	    s//\1/
    332 	    q
    333 	  }
    334 	  s/.*/./; q'`
    335       test -d "$as_dir" && break
    336     done
    337     test -z "$as_dirs" || eval "mkdir $as_dirs"
    338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    339 
    340 
    341 } # as_fn_mkdir_p
    342 # as_fn_append VAR VALUE
    343 # ----------------------
    344 # Append the text in VALUE to the end of the definition contained in VAR. Take
    345 # advantage of any shell optimizations that allow amortized linear growth over
    346 # repeated appends, instead of the typical quadratic growth present in naive
    347 # implementations.
    348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    349   eval 'as_fn_append ()
    350   {
    351     eval $1+=\$2
    352   }'
    353 else
    354   as_fn_append ()
    355   {
    356     eval $1=\$$1\$2
    357   }
    358 fi # as_fn_append
    359 
    360 # as_fn_arith ARG...
    361 # ------------------
    362 # Perform arithmetic evaluation on the ARGs, and store the result in the
    363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    364 # must be portable across $(()) and expr.
    365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    366   eval 'as_fn_arith ()
    367   {
    368     as_val=$(( $* ))
    369   }'
    370 else
    371   as_fn_arith ()
    372   {
    373     as_val=`expr "$@" || test $? -eq 1`
    374   }
    375 fi # as_fn_arith
    376 
    377 
    378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    379 # ----------------------------------------
    380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    382 # script with STATUS, using 1 if that was 0.
    383 as_fn_error ()
    384 {
    385   as_status=$1; test $as_status -eq 0 && as_status=1
    386   if test "$4"; then
    387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    389   fi
    390   $as_echo "$as_me: error: $2" >&2
    391   as_fn_exit $as_status
    392 } # as_fn_error
    393 
    394 if expr a : '\(a\)' >/dev/null 2>&1 &&
    395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    396   as_expr=expr
    397 else
    398   as_expr=false
    399 fi
    400 
    401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    402   as_basename=basename
    403 else
    404   as_basename=false
    405 fi
    406 
    407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    408   as_dirname=dirname
    409 else
    410   as_dirname=false
    411 fi
    412 
    413 as_me=`$as_basename -- "$0" ||
    414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    415 	 X"$0" : 'X\(//\)$' \| \
    416 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    417 $as_echo X/"$0" |
    418     sed '/^.*\/\([^/][^/]*\)\/*$/{
    419 	    s//\1/
    420 	    q
    421 	  }
    422 	  /^X\/\(\/\/\)$/{
    423 	    s//\1/
    424 	    q
    425 	  }
    426 	  /^X\/\(\/\).*/{
    427 	    s//\1/
    428 	    q
    429 	  }
    430 	  s/.*/./; q'`
    431 
    432 # Avoid depending upon Character Ranges.
    433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    436 as_cr_digits='0123456789'
    437 as_cr_alnum=$as_cr_Letters$as_cr_digits
    438 
    439 
    440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    445   sed -n '
    446     p
    447     /[$]LINENO/=
    448   ' <$as_myself |
    449     sed '
    450       s/[$]LINENO.*/&-/
    451       t lineno
    452       b
    453       :lineno
    454       N
    455       :loop
    456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    457       t loop
    458       s/-\n.*//
    459     ' >$as_me.lineno &&
    460   chmod +x "$as_me.lineno" ||
    461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    462 
    463   # Don't try to exec as it changes $[0], causing all sort of problems
    464   # (the dirname of $[0] is not the place where we might find the
    465   # original and so on.  Autoconf is especially sensitive to this).
    466   . "./$as_me.lineno"
    467   # Exit status is that of the last command.
    468   exit
    469 }
    470 
    471 ECHO_C= ECHO_N= ECHO_T=
    472 case `echo -n x` in #(((((
    473 -n*)
    474   case `echo 'xy\c'` in
    475   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    476   xy)  ECHO_C='\c';;
    477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    478        ECHO_T='	';;
    479   esac;;
    480 *)
    481   ECHO_N='-n';;
    482 esac
    483 
    484 rm -f conf$$ conf$$.exe conf$$.file
    485 if test -d conf$$.dir; then
    486   rm -f conf$$.dir/conf$$.file
    487 else
    488   rm -f conf$$.dir
    489   mkdir conf$$.dir 2>/dev/null
    490 fi
    491 if (echo >conf$$.file) 2>/dev/null; then
    492   if ln -s conf$$.file conf$$ 2>/dev/null; then
    493     as_ln_s='ln -s'
    494     # ... but there are two gotchas:
    495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    497     # In both cases, we have to default to `cp -p'.
    498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    499       as_ln_s='cp -p'
    500   elif ln conf$$.file conf$$ 2>/dev/null; then
    501     as_ln_s=ln
    502   else
    503     as_ln_s='cp -p'
    504   fi
    505 else
    506   as_ln_s='cp -p'
    507 fi
    508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    509 rmdir conf$$.dir 2>/dev/null
    510 
    511 if mkdir -p . 2>/dev/null; then
    512   as_mkdir_p='mkdir -p "$as_dir"'
    513 else
    514   test -d ./-p && rmdir ./-p
    515   as_mkdir_p=false
    516 fi
    517 
    518 if test -x / >/dev/null 2>&1; then
    519   as_test_x='test -x'
    520 else
    521   if ls -dL / >/dev/null 2>&1; then
    522     as_ls_L_option=L
    523   else
    524     as_ls_L_option=
    525   fi
    526   as_test_x='
    527     eval sh -c '\''
    528       if test -d "$1"; then
    529 	test -d "$1/.";
    530       else
    531 	case $1 in #(
    532 	-*)set "./$1";;
    533 	esac;
    534 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    535 	???[sx]*):;;*)false;;esac;fi
    536     '\'' sh
    537   '
    538 fi
    539 as_executable_p=$as_test_x
    540 
    541 # Sed expression to map a string onto a valid CPP name.
    542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    543 
    544 # Sed expression to map a string onto a valid variable name.
    545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    546 
    547 SHELL=${CONFIG_SHELL-/bin/sh}
    548 
    549 
    550 test -n "$DJDIR" || exec 7<&0 </dev/null
    551 exec 6>&1
    552 
    553 # Name of the host.
    554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    555 # so uname gets run too.
    556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    557 
    558 #
    559 # Initializations.
    560 #
    561 ac_default_prefix=/usr/local
    562 ac_clean_files=
    563 ac_config_libobj_dir=.
    564 LIBOBJS=
    565 cross_compiling=no
    566 subdirs=
    567 MFLAGS=
    568 MAKEFLAGS=
    569 
    570 # Identity of this package.
    571 PACKAGE_NAME='tpm-tools'
    572 PACKAGE_TARNAME='tpm-tools'
    573 PACKAGE_VERSION='1.3.7'
    574 PACKAGE_STRING='tpm-tools 1.3.7'
    575 PACKAGE_BUGREPORT='trousers-tech@lists.sf.net'
    576 PACKAGE_URL=''
    577 
    578 ac_unique_file="Makefile.am"
    579 # Factoring default headers for most tests.
    580 ac_includes_default="\
    581 #include <stdio.h>
    582 #ifdef HAVE_SYS_TYPES_H
    583 # include <sys/types.h>
    584 #endif
    585 #ifdef HAVE_SYS_STAT_H
    586 # include <sys/stat.h>
    587 #endif
    588 #ifdef STDC_HEADERS
    589 # include <stdlib.h>
    590 # include <stddef.h>
    591 #else
    592 # ifdef HAVE_STDLIB_H
    593 #  include <stdlib.h>
    594 # endif
    595 #endif
    596 #ifdef HAVE_STRING_H
    597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    598 #  include <memory.h>
    599 # endif
    600 # include <string.h>
    601 #endif
    602 #ifdef HAVE_STRINGS_H
    603 # include <strings.h>
    604 #endif
    605 #ifdef HAVE_INTTYPES_H
    606 # include <inttypes.h>
    607 #endif
    608 #ifdef HAVE_STDINT_H
    609 # include <stdint.h>
    610 #endif
    611 #ifdef HAVE_UNISTD_H
    612 # include <unistd.h>
    613 #endif"
    614 
    615 ac_subst_vars='am__EXEEXT_FALSE
    616 am__EXEEXT_TRUE
    617 LTLIBOBJS
    618 LIBOBJS
    619 P11_SUPPORT_FALSE
    620 P11_SUPPORT_TRUE
    621 TSS_LIB_IS_12_FALSE
    622 TSS_LIB_IS_12_TRUE
    623 OPENSSL_LIB_DIR
    624 POSUB
    625 LTLIBINTL
    626 LIBINTL
    627 INTLLIBS
    628 LTLIBICONV
    629 LIBICONV
    630 INTL_MACOSX_LIBS
    631 MSGMERGE
    632 XGETTEXT_015
    633 XGETTEXT
    634 GMSGFMT_015
    635 MSGFMT_015
    636 GMSGFMT
    637 MSGFMT
    638 USE_NLS
    639 RM
    640 MKDIR
    641 ECHO
    642 COPY
    643 CPP
    644 OTOOL64
    645 OTOOL
    646 LIPO
    647 NMEDIT
    648 DSYMUTIL
    649 MANIFEST_TOOL
    650 RANLIB
    651 ac_ct_AR
    652 AR
    653 DLLTOOL
    654 OBJDUMP
    655 LN_S
    656 NM
    657 ac_ct_DUMPBIN
    658 DUMPBIN
    659 LD
    660 FGREP
    661 EGREP
    662 GREP
    663 SED
    664 LIBTOOL
    665 am__fastdepCC_FALSE
    666 am__fastdepCC_TRUE
    667 CCDEPMODE
    668 AMDEPBACKSLASH
    669 AMDEP_FALSE
    670 AMDEP_TRUE
    671 am__quote
    672 am__include
    673 DEPDIR
    674 OBJEXT
    675 EXEEXT
    676 ac_ct_CC
    677 CPPFLAGS
    678 LDFLAGS
    679 CFLAGS
    680 CC
    681 am__untar
    682 am__tar
    683 AMTAR
    684 am__leading_dot
    685 SET_MAKE
    686 AWK
    687 mkdir_p
    688 MKDIR_P
    689 INSTALL_STRIP_PROGRAM
    690 STRIP
    691 install_sh
    692 MAKEINFO
    693 AUTOHEADER
    694 AUTOMAKE
    695 AUTOCONF
    696 ACLOCAL
    697 VERSION
    698 PACKAGE
    699 CYGPATH_W
    700 am__isrc
    701 INSTALL_DATA
    702 INSTALL_SCRIPT
    703 INSTALL_PROGRAM
    704 target_os
    705 target_vendor
    706 target_cpu
    707 target
    708 host_os
    709 host_vendor
    710 host_cpu
    711 host
    712 build_os
    713 build_vendor
    714 build_cpu
    715 build
    716 target_alias
    717 host_alias
    718 build_alias
    719 LIBS
    720 ECHO_T
    721 ECHO_N
    722 ECHO_C
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 localstatedir
    736 sharedstatedir
    737 sysconfdir
    738 datadir
    739 datarootdir
    740 libexecdir
    741 sbindir
    742 bindir
    743 program_transform_name
    744 prefix
    745 exec_prefix
    746 PACKAGE_URL
    747 PACKAGE_BUGREPORT
    748 PACKAGE_STRING
    749 PACKAGE_VERSION
    750 PACKAGE_TARNAME
    751 PACKAGE_NAME
    752 PATH_SEPARATOR
    753 SHELL'
    754 ac_subst_files=''
    755 ac_user_opts='
    756 enable_option_checking
    757 enable_debug
    758 enable_dependency_tracking
    759 enable_shared
    760 enable_static
    761 with_pic
    762 enable_fast_install
    763 with_gnu_ld
    764 with_sysroot
    765 enable_libtool_lock
    766 enable_nls
    767 with_gnu_ld
    768 enable_rpath
    769 with_libiconv_prefix
    770 with_libintl_prefix
    771 with_openssl
    772 enable_pkcs11_support
    773 '
    774       ac_precious_vars='build_alias
    775 host_alias
    776 target_alias
    777 CC
    778 CFLAGS
    779 LDFLAGS
    780 LIBS
    781 CPPFLAGS
    782 CPP
    783 CPPFLAGS'
    784 
    785 
    786 # Initialize some variables set by options.
    787 ac_init_help=
    788 ac_init_version=false
    789 ac_unrecognized_opts=
    790 ac_unrecognized_sep=
    791 # The variables have the same names as the options, with
    792 # dashes changed to underlines.
    793 cache_file=/dev/null
    794 exec_prefix=NONE
    795 no_create=
    796 no_recursion=
    797 prefix=NONE
    798 program_prefix=NONE
    799 program_suffix=NONE
    800 program_transform_name=s,x,x,
    801 silent=
    802 site=
    803 srcdir=
    804 verbose=
    805 x_includes=NONE
    806 x_libraries=NONE
    807 
    808 # Installation directory options.
    809 # These are left unexpanded so users can "make install exec_prefix=/foo"
    810 # and all the variables that are supposed to be based on exec_prefix
    811 # by default will actually change.
    812 # Use braces instead of parens because sh, perl, etc. also accept them.
    813 # (The list follows the same order as the GNU Coding Standards.)
    814 bindir='${exec_prefix}/bin'
    815 sbindir='${exec_prefix}/sbin'
    816 libexecdir='${exec_prefix}/libexec'
    817 datarootdir='${prefix}/share'
    818 datadir='${datarootdir}'
    819 sysconfdir='${prefix}/etc'
    820 sharedstatedir='${prefix}/com'
    821 localstatedir='${prefix}/var'
    822 includedir='${prefix}/include'
    823 oldincludedir='/usr/include'
    824 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    825 infodir='${datarootdir}/info'
    826 htmldir='${docdir}'
    827 dvidir='${docdir}'
    828 pdfdir='${docdir}'
    829 psdir='${docdir}'
    830 libdir='${exec_prefix}/lib'
    831 localedir='${datarootdir}/locale'
    832 mandir='${datarootdir}/man'
    833 
    834 ac_prev=
    835 ac_dashdash=
    836 for ac_option
    837 do
    838   # If the previous option needs an argument, assign it.
    839   if test -n "$ac_prev"; then
    840     eval $ac_prev=\$ac_option
    841     ac_prev=
    842     continue
    843   fi
    844 
    845   case $ac_option in
    846   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    847   *=)   ac_optarg= ;;
    848   *)    ac_optarg=yes ;;
    849   esac
    850 
    851   # Accept the important Cygnus configure options, so we can diagnose typos.
    852 
    853   case $ac_dashdash$ac_option in
    854   --)
    855     ac_dashdash=yes ;;
    856 
    857   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    858     ac_prev=bindir ;;
    859   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    860     bindir=$ac_optarg ;;
    861 
    862   -build | --build | --buil | --bui | --bu)
    863     ac_prev=build_alias ;;
    864   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    865     build_alias=$ac_optarg ;;
    866 
    867   -cache-file | --cache-file | --cache-fil | --cache-fi \
    868   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    869     ac_prev=cache_file ;;
    870   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    871   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    872     cache_file=$ac_optarg ;;
    873 
    874   --config-cache | -C)
    875     cache_file=config.cache ;;
    876 
    877   -datadir | --datadir | --datadi | --datad)
    878     ac_prev=datadir ;;
    879   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    880     datadir=$ac_optarg ;;
    881 
    882   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    883   | --dataroo | --dataro | --datar)
    884     ac_prev=datarootdir ;;
    885   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    886   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    887     datarootdir=$ac_optarg ;;
    888 
    889   -disable-* | --disable-*)
    890     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    891     # Reject names that are not valid shell variable names.
    892     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    893       as_fn_error $? "invalid feature name: $ac_useropt"
    894     ac_useropt_orig=$ac_useropt
    895     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    896     case $ac_user_opts in
    897       *"
    898 "enable_$ac_useropt"
    899 "*) ;;
    900       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    901 	 ac_unrecognized_sep=', ';;
    902     esac
    903     eval enable_$ac_useropt=no ;;
    904 
    905   -docdir | --docdir | --docdi | --doc | --do)
    906     ac_prev=docdir ;;
    907   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    908     docdir=$ac_optarg ;;
    909 
    910   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    911     ac_prev=dvidir ;;
    912   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    913     dvidir=$ac_optarg ;;
    914 
    915   -enable-* | --enable-*)
    916     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    917     # Reject names that are not valid shell variable names.
    918     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    919       as_fn_error $? "invalid feature name: $ac_useropt"
    920     ac_useropt_orig=$ac_useropt
    921     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    922     case $ac_user_opts in
    923       *"
    924 "enable_$ac_useropt"
    925 "*) ;;
    926       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    927 	 ac_unrecognized_sep=', ';;
    928     esac
    929     eval enable_$ac_useropt=\$ac_optarg ;;
    930 
    931   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    932   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    933   | --exec | --exe | --ex)
    934     ac_prev=exec_prefix ;;
    935   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    936   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    937   | --exec=* | --exe=* | --ex=*)
    938     exec_prefix=$ac_optarg ;;
    939 
    940   -gas | --gas | --ga | --g)
    941     # Obsolete; use --with-gas.
    942     with_gas=yes ;;
    943 
    944   -help | --help | --hel | --he | -h)
    945     ac_init_help=long ;;
    946   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    947     ac_init_help=recursive ;;
    948   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    949     ac_init_help=short ;;
    950 
    951   -host | --host | --hos | --ho)
    952     ac_prev=host_alias ;;
    953   -host=* | --host=* | --hos=* | --ho=*)
    954     host_alias=$ac_optarg ;;
    955 
    956   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    957     ac_prev=htmldir ;;
    958   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    959   | --ht=*)
    960     htmldir=$ac_optarg ;;
    961 
    962   -includedir | --includedir | --includedi | --included | --include \
    963   | --includ | --inclu | --incl | --inc)
    964     ac_prev=includedir ;;
    965   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    966   | --includ=* | --inclu=* | --incl=* | --inc=*)
    967     includedir=$ac_optarg ;;
    968 
    969   -infodir | --infodir | --infodi | --infod | --info | --inf)
    970     ac_prev=infodir ;;
    971   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    972     infodir=$ac_optarg ;;
    973 
    974   -libdir | --libdir | --libdi | --libd)
    975     ac_prev=libdir ;;
    976   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    977     libdir=$ac_optarg ;;
    978 
    979   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    980   | --libexe | --libex | --libe)
    981     ac_prev=libexecdir ;;
    982   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    983   | --libexe=* | --libex=* | --libe=*)
    984     libexecdir=$ac_optarg ;;
    985 
    986   -localedir | --localedir | --localedi | --localed | --locale)
    987     ac_prev=localedir ;;
    988   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    989     localedir=$ac_optarg ;;
    990 
    991   -localstatedir | --localstatedir | --localstatedi | --localstated \
    992   | --localstate | --localstat | --localsta | --localst | --locals)
    993     ac_prev=localstatedir ;;
    994   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    995   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    996     localstatedir=$ac_optarg ;;
    997 
    998   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    999     ac_prev=mandir ;;
   1000   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1001     mandir=$ac_optarg ;;
   1002 
   1003   -nfp | --nfp | --nf)
   1004     # Obsolete; use --without-fp.
   1005     with_fp=no ;;
   1006 
   1007   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1008   | --no-cr | --no-c | -n)
   1009     no_create=yes ;;
   1010 
   1011   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1012   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1013     no_recursion=yes ;;
   1014 
   1015   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1016   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1017   | --oldin | --oldi | --old | --ol | --o)
   1018     ac_prev=oldincludedir ;;
   1019   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1020   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1021   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1022     oldincludedir=$ac_optarg ;;
   1023 
   1024   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1025     ac_prev=prefix ;;
   1026   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1027     prefix=$ac_optarg ;;
   1028 
   1029   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1030   | --program-pre | --program-pr | --program-p)
   1031     ac_prev=program_prefix ;;
   1032   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1033   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1034     program_prefix=$ac_optarg ;;
   1035 
   1036   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1037   | --program-suf | --program-su | --program-s)
   1038     ac_prev=program_suffix ;;
   1039   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1040   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1041     program_suffix=$ac_optarg ;;
   1042 
   1043   -program-transform-name | --program-transform-name \
   1044   | --program-transform-nam | --program-transform-na \
   1045   | --program-transform-n | --program-transform- \
   1046   | --program-transform | --program-transfor \
   1047   | --program-transfo | --program-transf \
   1048   | --program-trans | --program-tran \
   1049   | --progr-tra | --program-tr | --program-t)
   1050     ac_prev=program_transform_name ;;
   1051   -program-transform-name=* | --program-transform-name=* \
   1052   | --program-transform-nam=* | --program-transform-na=* \
   1053   | --program-transform-n=* | --program-transform-=* \
   1054   | --program-transform=* | --program-transfor=* \
   1055   | --program-transfo=* | --program-transf=* \
   1056   | --program-trans=* | --program-tran=* \
   1057   | --progr-tra=* | --program-tr=* | --program-t=*)
   1058     program_transform_name=$ac_optarg ;;
   1059 
   1060   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1061     ac_prev=pdfdir ;;
   1062   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1063     pdfdir=$ac_optarg ;;
   1064 
   1065   -psdir | --psdir | --psdi | --psd | --ps)
   1066     ac_prev=psdir ;;
   1067   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1068     psdir=$ac_optarg ;;
   1069 
   1070   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1071   | -silent | --silent | --silen | --sile | --sil)
   1072     silent=yes ;;
   1073 
   1074   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1075     ac_prev=sbindir ;;
   1076   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1077   | --sbi=* | --sb=*)
   1078     sbindir=$ac_optarg ;;
   1079 
   1080   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1081   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1082   | --sharedst | --shareds | --shared | --share | --shar \
   1083   | --sha | --sh)
   1084     ac_prev=sharedstatedir ;;
   1085   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1086   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1087   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1088   | --sha=* | --sh=*)
   1089     sharedstatedir=$ac_optarg ;;
   1090 
   1091   -site | --site | --sit)
   1092     ac_prev=site ;;
   1093   -site=* | --site=* | --sit=*)
   1094     site=$ac_optarg ;;
   1095 
   1096   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1097     ac_prev=srcdir ;;
   1098   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1099     srcdir=$ac_optarg ;;
   1100 
   1101   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1102   | --syscon | --sysco | --sysc | --sys | --sy)
   1103     ac_prev=sysconfdir ;;
   1104   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1105   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1106     sysconfdir=$ac_optarg ;;
   1107 
   1108   -target | --target | --targe | --targ | --tar | --ta | --t)
   1109     ac_prev=target_alias ;;
   1110   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1111     target_alias=$ac_optarg ;;
   1112 
   1113   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1114     verbose=yes ;;
   1115 
   1116   -version | --version | --versio | --versi | --vers | -V)
   1117     ac_init_version=: ;;
   1118 
   1119   -with-* | --with-*)
   1120     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1121     # Reject names that are not valid shell variable names.
   1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1123       as_fn_error $? "invalid package name: $ac_useropt"
   1124     ac_useropt_orig=$ac_useropt
   1125     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1126     case $ac_user_opts in
   1127       *"
   1128 "with_$ac_useropt"
   1129 "*) ;;
   1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1131 	 ac_unrecognized_sep=', ';;
   1132     esac
   1133     eval with_$ac_useropt=\$ac_optarg ;;
   1134 
   1135   -without-* | --without-*)
   1136     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1137     # Reject names that are not valid shell variable names.
   1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1139       as_fn_error $? "invalid package name: $ac_useropt"
   1140     ac_useropt_orig=$ac_useropt
   1141     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1142     case $ac_user_opts in
   1143       *"
   1144 "with_$ac_useropt"
   1145 "*) ;;
   1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1147 	 ac_unrecognized_sep=', ';;
   1148     esac
   1149     eval with_$ac_useropt=no ;;
   1150 
   1151   --x)
   1152     # Obsolete; use --with-x.
   1153     with_x=yes ;;
   1154 
   1155   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1156   | --x-incl | --x-inc | --x-in | --x-i)
   1157     ac_prev=x_includes ;;
   1158   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1159   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1160     x_includes=$ac_optarg ;;
   1161 
   1162   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1163   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1164     ac_prev=x_libraries ;;
   1165   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1166   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1167     x_libraries=$ac_optarg ;;
   1168 
   1169   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1170 Try \`$0 --help' for more information"
   1171     ;;
   1172 
   1173   *=*)
   1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1175     # Reject names that are not valid shell variable names.
   1176     case $ac_envvar in #(
   1177       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1178       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1179     esac
   1180     eval $ac_envvar=\$ac_optarg
   1181     export $ac_envvar ;;
   1182 
   1183   *)
   1184     # FIXME: should be removed in autoconf 3.0.
   1185     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1186     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1187       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1188     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1189     ;;
   1190 
   1191   esac
   1192 done
   1193 
   1194 if test -n "$ac_prev"; then
   1195   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1196   as_fn_error $? "missing argument to $ac_option"
   1197 fi
   1198 
   1199 if test -n "$ac_unrecognized_opts"; then
   1200   case $enable_option_checking in
   1201     no) ;;
   1202     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1203     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1204   esac
   1205 fi
   1206 
   1207 # Check all directory arguments for consistency.
   1208 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1209 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1210 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1211 		libdir localedir mandir
   1212 do
   1213   eval ac_val=\$$ac_var
   1214   # Remove trailing slashes.
   1215   case $ac_val in
   1216     */ )
   1217       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1218       eval $ac_var=\$ac_val;;
   1219   esac
   1220   # Be sure to have absolute directory names.
   1221   case $ac_val in
   1222     [\\/$]* | ?:[\\/]* )  continue;;
   1223     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1224   esac
   1225   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1226 done
   1227 
   1228 # There might be people who depend on the old broken behavior: `$host'
   1229 # used to hold the argument of --host etc.
   1230 # FIXME: To remove some day.
   1231 build=$build_alias
   1232 host=$host_alias
   1233 target=$target_alias
   1234 
   1235 # FIXME: To remove some day.
   1236 if test "x$host_alias" != x; then
   1237   if test "x$build_alias" = x; then
   1238     cross_compiling=maybe
   1239     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1240     If a cross compiler is detected then cross compile mode will be used" >&2
   1241   elif test "x$build_alias" != "x$host_alias"; then
   1242     cross_compiling=yes
   1243   fi
   1244 fi
   1245 
   1246 ac_tool_prefix=
   1247 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1248 
   1249 test "$silent" = yes && exec 6>/dev/null
   1250 
   1251 
   1252 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1253 ac_ls_di=`ls -di .` &&
   1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1255   as_fn_error $? "working directory cannot be determined"
   1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1257   as_fn_error $? "pwd does not report name of working directory"
   1258 
   1259 
   1260 # Find the source files, if location was not specified.
   1261 if test -z "$srcdir"; then
   1262   ac_srcdir_defaulted=yes
   1263   # Try the directory containing this script, then the parent directory.
   1264   ac_confdir=`$as_dirname -- "$as_myself" ||
   1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1266 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1267 	 X"$as_myself" : 'X\(//\)$' \| \
   1268 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1269 $as_echo X"$as_myself" |
   1270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  /^X\(\/\/\)[^/].*/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\/\)$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\).*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  s/.*/./; q'`
   1287   srcdir=$ac_confdir
   1288   if test ! -r "$srcdir/$ac_unique_file"; then
   1289     srcdir=..
   1290   fi
   1291 else
   1292   ac_srcdir_defaulted=no
   1293 fi
   1294 if test ! -r "$srcdir/$ac_unique_file"; then
   1295   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1296   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1297 fi
   1298 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1299 ac_abs_confdir=`(
   1300 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1301 	pwd)`
   1302 # When building in place, set srcdir=.
   1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1304   srcdir=.
   1305 fi
   1306 # Remove unnecessary trailing slashes from srcdir.
   1307 # Double slashes in file names in object file debugging info
   1308 # mess up M-x gdb in Emacs.
   1309 case $srcdir in
   1310 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1311 esac
   1312 for ac_var in $ac_precious_vars; do
   1313   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1314   eval ac_env_${ac_var}_value=\$${ac_var}
   1315   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1317 done
   1318 
   1319 #
   1320 # Report the --help message.
   1321 #
   1322 if test "$ac_init_help" = "long"; then
   1323   # Omit some internal or obsolete options to make the list less imposing.
   1324   # This message is too long to be a string in the A/UX 3.1 sh.
   1325   cat <<_ACEOF
   1326 \`configure' configures tpm-tools 1.3.7 to adapt to many kinds of systems.
   1327 
   1328 Usage: $0 [OPTION]... [VAR=VALUE]...
   1329 
   1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1331 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1332 
   1333 Defaults for the options are specified in brackets.
   1334 
   1335 Configuration:
   1336   -h, --help              display this help and exit
   1337       --help=short        display options specific to this package
   1338       --help=recursive    display the short help of all the included packages
   1339   -V, --version           display version information and exit
   1340   -q, --quiet, --silent   do not print \`checking ...' messages
   1341       --cache-file=FILE   cache test results in FILE [disabled]
   1342   -C, --config-cache      alias for \`--cache-file=config.cache'
   1343   -n, --no-create         do not create output files
   1344       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1345 
   1346 Installation directories:
   1347   --prefix=PREFIX         install architecture-independent files in PREFIX
   1348                           [$ac_default_prefix]
   1349   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1350                           [PREFIX]
   1351 
   1352 By default, \`make install' will install all the files in
   1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1355 for instance \`--prefix=\$HOME'.
   1356 
   1357 For better control, use the options below.
   1358 
   1359 Fine tuning of the installation directories:
   1360   --bindir=DIR            user executables [EPREFIX/bin]
   1361   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1362   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1363   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1364   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1365   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1366   --libdir=DIR            object code libraries [EPREFIX/lib]
   1367   --includedir=DIR        C header files [PREFIX/include]
   1368   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1369   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1370   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1371   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1372   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1373   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1374   --docdir=DIR            documentation root [DATAROOTDIR/doc/tpm-tools]
   1375   --htmldir=DIR           html documentation [DOCDIR]
   1376   --dvidir=DIR            dvi documentation [DOCDIR]
   1377   --pdfdir=DIR            pdf documentation [DOCDIR]
   1378   --psdir=DIR             ps documentation [DOCDIR]
   1379 _ACEOF
   1380 
   1381   cat <<\_ACEOF
   1382 
   1383 Program names:
   1384   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1385   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1386   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1387 
   1388 System types:
   1389   --build=BUILD     configure for building on BUILD [guessed]
   1390   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1391   --target=TARGET   configure for building compilers for TARGET [HOST]
   1392 _ACEOF
   1393 fi
   1394 
   1395 if test -n "$ac_init_help"; then
   1396   case $ac_init_help in
   1397      short | recursive ) echo "Configuration of tpm-tools 1.3.7:";;
   1398    esac
   1399   cat <<\_ACEOF
   1400 
   1401 Optional Features:
   1402   --disable-option-checking  ignore unrecognized --enable/--with options
   1403   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1404   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1405   --enable-debug          create a debug build that outputs debug messages
   1406   --disable-dependency-tracking  speeds up one-time build
   1407   --enable-dependency-tracking   do not reject slow dependency extractors
   1408   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1409   --enable-static[=PKGS]  build static libraries [default=yes]
   1410   --enable-fast-install[=PKGS]
   1411                           optimize for fast installation [default=yes]
   1412   --disable-libtool-lock  avoid locking (might break parallel builds)
   1413   --disable-nls           do not use Native Language Support
   1414   --disable-rpath         do not hardcode runtime library paths
   1415   --disable-pkcs11-support
   1416                           don't build data_mgmt commands [[default=no]]
   1417 
   1418 Optional Packages:
   1419   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1420   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1421   --with-pic              try to use only PIC/non-PIC objects [default=use
   1422                           both]
   1423   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1424   --with-sysroot=DIR Search for dependent libraries within DIR
   1425                         (or the compiler's sysroot if not specified).
   1426   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1427   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1428   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1429   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1430   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1431   --with-openssl=PATH     Location of openssl libs/includes
   1432 
   1433 Some influential environment variables:
   1434   CC          C compiler command
   1435   CFLAGS      C compiler flags
   1436   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1437               nonstandard directory <lib dir>
   1438   LIBS        libraries to pass to the linker, e.g. -l<library>
   1439   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1440               you have headers in a nonstandard directory <include dir>
   1441   CPP         C preprocessor
   1442 
   1443 Use these variables to override the choices made by `configure' or to help
   1444 it to find libraries and programs with nonstandard names/locations.
   1445 
   1446 Report bugs to <trousers-tech@lists.sf.net>.
   1447 _ACEOF
   1448 ac_status=$?
   1449 fi
   1450 
   1451 if test "$ac_init_help" = "recursive"; then
   1452   # If there are subdirs, report their specific --help.
   1453   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1454     test -d "$ac_dir" ||
   1455       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1456       continue
   1457     ac_builddir=.
   1458 
   1459 case "$ac_dir" in
   1460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1461 *)
   1462   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1463   # A ".." for each directory in $ac_dir_suffix.
   1464   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1465   case $ac_top_builddir_sub in
   1466   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1467   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1468   esac ;;
   1469 esac
   1470 ac_abs_top_builddir=$ac_pwd
   1471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1472 # for backward compatibility:
   1473 ac_top_builddir=$ac_top_build_prefix
   1474 
   1475 case $srcdir in
   1476   .)  # We are building in place.
   1477     ac_srcdir=.
   1478     ac_top_srcdir=$ac_top_builddir_sub
   1479     ac_abs_top_srcdir=$ac_pwd ;;
   1480   [\\/]* | ?:[\\/]* )  # Absolute name.
   1481     ac_srcdir=$srcdir$ac_dir_suffix;
   1482     ac_top_srcdir=$srcdir
   1483     ac_abs_top_srcdir=$srcdir ;;
   1484   *) # Relative name.
   1485     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1486     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1487     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1488 esac
   1489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1490 
   1491     cd "$ac_dir" || { ac_status=$?; continue; }
   1492     # Check for guested configure.
   1493     if test -f "$ac_srcdir/configure.gnu"; then
   1494       echo &&
   1495       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1496     elif test -f "$ac_srcdir/configure"; then
   1497       echo &&
   1498       $SHELL "$ac_srcdir/configure" --help=recursive
   1499     else
   1500       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1501     fi || ac_status=$?
   1502     cd "$ac_pwd" || { ac_status=$?; break; }
   1503   done
   1504 fi
   1505 
   1506 test -n "$ac_init_help" && exit $ac_status
   1507 if $ac_init_version; then
   1508   cat <<\_ACEOF
   1509 tpm-tools configure 1.3.7
   1510 generated by GNU Autoconf 2.68
   1511 
   1512 Copyright (C) 2010 Free Software Foundation, Inc.
   1513 This configure script is free software; the Free Software Foundation
   1514 gives unlimited permission to copy, distribute and modify it.
   1515 _ACEOF
   1516   exit
   1517 fi
   1518 
   1519 ## ------------------------ ##
   1520 ## Autoconf initialization. ##
   1521 ## ------------------------ ##
   1522 
   1523 # ac_fn_c_try_compile LINENO
   1524 # --------------------------
   1525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1526 ac_fn_c_try_compile ()
   1527 {
   1528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1529   rm -f conftest.$ac_objext
   1530   if { { ac_try="$ac_compile"
   1531 case "(($ac_try" in
   1532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1533   *) ac_try_echo=$ac_try;;
   1534 esac
   1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1536 $as_echo "$ac_try_echo"; } >&5
   1537   (eval "$ac_compile") 2>conftest.err
   1538   ac_status=$?
   1539   if test -s conftest.err; then
   1540     grep -v '^ *+' conftest.err >conftest.er1
   1541     cat conftest.er1 >&5
   1542     mv -f conftest.er1 conftest.err
   1543   fi
   1544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1545   test $ac_status = 0; } && {
   1546 	 test -z "$ac_c_werror_flag" ||
   1547 	 test ! -s conftest.err
   1548        } && test -s conftest.$ac_objext; then :
   1549   ac_retval=0
   1550 else
   1551   $as_echo "$as_me: failed program was:" >&5
   1552 sed 's/^/| /' conftest.$ac_ext >&5
   1553 
   1554 	ac_retval=1
   1555 fi
   1556   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1557   as_fn_set_status $ac_retval
   1558 
   1559 } # ac_fn_c_try_compile
   1560 
   1561 # ac_fn_c_try_link LINENO
   1562 # -----------------------
   1563 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1564 ac_fn_c_try_link ()
   1565 {
   1566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1567   rm -f conftest.$ac_objext conftest$ac_exeext
   1568   if { { ac_try="$ac_link"
   1569 case "(($ac_try" in
   1570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1571   *) ac_try_echo=$ac_try;;
   1572 esac
   1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1574 $as_echo "$ac_try_echo"; } >&5
   1575   (eval "$ac_link") 2>conftest.err
   1576   ac_status=$?
   1577   if test -s conftest.err; then
   1578     grep -v '^ *+' conftest.err >conftest.er1
   1579     cat conftest.er1 >&5
   1580     mv -f conftest.er1 conftest.err
   1581   fi
   1582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1583   test $ac_status = 0; } && {
   1584 	 test -z "$ac_c_werror_flag" ||
   1585 	 test ! -s conftest.err
   1586        } && test -s conftest$ac_exeext && {
   1587 	 test "$cross_compiling" = yes ||
   1588 	 $as_test_x conftest$ac_exeext
   1589        }; then :
   1590   ac_retval=0
   1591 else
   1592   $as_echo "$as_me: failed program was:" >&5
   1593 sed 's/^/| /' conftest.$ac_ext >&5
   1594 
   1595 	ac_retval=1
   1596 fi
   1597   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1598   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1599   # interfere with the next link command; also delete a directory that is
   1600   # left behind by Apple's compiler.  We do this before executing the actions.
   1601   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1602   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1603   as_fn_set_status $ac_retval
   1604 
   1605 } # ac_fn_c_try_link
   1606 
   1607 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1608 # -------------------------------------------------------
   1609 # Tests whether HEADER exists and can be compiled using the include files in
   1610 # INCLUDES, setting the cache variable VAR accordingly.
   1611 ac_fn_c_check_header_compile ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1615 $as_echo_n "checking for $2... " >&6; }
   1616 if eval \${$3+:} false; then :
   1617   $as_echo_n "(cached) " >&6
   1618 else
   1619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1620 /* end confdefs.h.  */
   1621 $4
   1622 #include <$2>
   1623 _ACEOF
   1624 if ac_fn_c_try_compile "$LINENO"; then :
   1625   eval "$3=yes"
   1626 else
   1627   eval "$3=no"
   1628 fi
   1629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1630 fi
   1631 eval ac_res=\$$3
   1632 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1633 $as_echo "$ac_res" >&6; }
   1634   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1635 
   1636 } # ac_fn_c_check_header_compile
   1637 
   1638 # ac_fn_c_try_cpp LINENO
   1639 # ----------------------
   1640 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1641 ac_fn_c_try_cpp ()
   1642 {
   1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1644   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1645 case "(($ac_try" in
   1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1647   *) ac_try_echo=$ac_try;;
   1648 esac
   1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1650 $as_echo "$ac_try_echo"; } >&5
   1651   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1652   ac_status=$?
   1653   if test -s conftest.err; then
   1654     grep -v '^ *+' conftest.err >conftest.er1
   1655     cat conftest.er1 >&5
   1656     mv -f conftest.er1 conftest.err
   1657   fi
   1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1659   test $ac_status = 0; } > conftest.i && {
   1660 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1661 	 test ! -s conftest.err
   1662        }; then :
   1663   ac_retval=0
   1664 else
   1665   $as_echo "$as_me: failed program was:" >&5
   1666 sed 's/^/| /' conftest.$ac_ext >&5
   1667 
   1668     ac_retval=1
   1669 fi
   1670   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1671   as_fn_set_status $ac_retval
   1672 
   1673 } # ac_fn_c_try_cpp
   1674 
   1675 # ac_fn_c_try_run LINENO
   1676 # ----------------------
   1677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1678 # that executables *can* be run.
   1679 ac_fn_c_try_run ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   if { { ac_try="$ac_link"
   1683 case "(($ac_try" in
   1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1685   *) ac_try_echo=$ac_try;;
   1686 esac
   1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1688 $as_echo "$ac_try_echo"; } >&5
   1689   (eval "$ac_link") 2>&5
   1690   ac_status=$?
   1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1692   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1693   { { case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_try") 2>&5
   1700   ac_status=$?
   1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1702   test $ac_status = 0; }; }; then :
   1703   ac_retval=0
   1704 else
   1705   $as_echo "$as_me: program exited with status $ac_status" >&5
   1706        $as_echo "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709        ac_retval=$ac_status
   1710 fi
   1711   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1713   as_fn_set_status $ac_retval
   1714 
   1715 } # ac_fn_c_try_run
   1716 
   1717 # ac_fn_c_check_func LINENO FUNC VAR
   1718 # ----------------------------------
   1719 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1720 ac_fn_c_check_func ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1724 $as_echo_n "checking for $2... " >&6; }
   1725 if eval \${$3+:} false; then :
   1726   $as_echo_n "(cached) " >&6
   1727 else
   1728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1729 /* end confdefs.h.  */
   1730 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1732 #define $2 innocuous_$2
   1733 
   1734 /* System header to define __stub macros and hopefully few prototypes,
   1735     which can conflict with char $2 (); below.
   1736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1737     <limits.h> exists even on freestanding compilers.  */
   1738 
   1739 #ifdef __STDC__
   1740 # include <limits.h>
   1741 #else
   1742 # include <assert.h>
   1743 #endif
   1744 
   1745 #undef $2
   1746 
   1747 /* Override any GCC internal prototype to avoid an error.
   1748    Use char because int might match the return type of a GCC
   1749    builtin and then its argument prototype would still apply.  */
   1750 #ifdef __cplusplus
   1751 extern "C"
   1752 #endif
   1753 char $2 ();
   1754 /* The GNU C library defines this for functions which it implements
   1755     to always fail with ENOSYS.  Some functions are actually named
   1756     something starting with __ and the normal name is an alias.  */
   1757 #if defined __stub_$2 || defined __stub___$2
   1758 choke me
   1759 #endif
   1760 
   1761 int
   1762 main ()
   1763 {
   1764 return $2 ();
   1765   ;
   1766   return 0;
   1767 }
   1768 _ACEOF
   1769 if ac_fn_c_try_link "$LINENO"; then :
   1770   eval "$3=yes"
   1771 else
   1772   eval "$3=no"
   1773 fi
   1774 rm -f core conftest.err conftest.$ac_objext \
   1775     conftest$ac_exeext conftest.$ac_ext
   1776 fi
   1777 eval ac_res=\$$3
   1778 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1779 $as_echo "$ac_res" >&6; }
   1780   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1781 
   1782 } # ac_fn_c_check_func
   1783 
   1784 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1785 # -------------------------------------------------------
   1786 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1787 # the include files in INCLUDES and setting the cache variable VAR
   1788 # accordingly.
   1789 ac_fn_c_check_header_mongrel ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   if eval \${$3+:} false; then :
   1793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1794 $as_echo_n "checking for $2... " >&6; }
   1795 if eval \${$3+:} false; then :
   1796   $as_echo_n "(cached) " >&6
   1797 fi
   1798 eval ac_res=\$$3
   1799 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1800 $as_echo "$ac_res" >&6; }
   1801 else
   1802   # Is the header compilable?
   1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1804 $as_echo_n "checking $2 usability... " >&6; }
   1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1806 /* end confdefs.h.  */
   1807 $4
   1808 #include <$2>
   1809 _ACEOF
   1810 if ac_fn_c_try_compile "$LINENO"; then :
   1811   ac_header_compiler=yes
   1812 else
   1813   ac_header_compiler=no
   1814 fi
   1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1817 $as_echo "$ac_header_compiler" >&6; }
   1818 
   1819 # Is the header present?
   1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1821 $as_echo_n "checking $2 presence... " >&6; }
   1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1823 /* end confdefs.h.  */
   1824 #include <$2>
   1825 _ACEOF
   1826 if ac_fn_c_try_cpp "$LINENO"; then :
   1827   ac_header_preproc=yes
   1828 else
   1829   ac_header_preproc=no
   1830 fi
   1831 rm -f conftest.err conftest.i conftest.$ac_ext
   1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1833 $as_echo "$ac_header_preproc" >&6; }
   1834 
   1835 # So?  What about this header?
   1836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1837   yes:no: )
   1838     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1839 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1840     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1841 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1842     ;;
   1843   no:yes:* )
   1844     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1845 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1846     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1847 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1848     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1849 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1850     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1851 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1852     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1853 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1854 ( $as_echo "## ----------------------------------------- ##
   1855 ## Report this to trousers-tech (at] lists.sf.net ##
   1856 ## ----------------------------------------- ##"
   1857      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1858     ;;
   1859 esac
   1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1861 $as_echo_n "checking for $2... " >&6; }
   1862 if eval \${$3+:} false; then :
   1863   $as_echo_n "(cached) " >&6
   1864 else
   1865   eval "$3=\$ac_header_compiler"
   1866 fi
   1867 eval ac_res=\$$3
   1868 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1869 $as_echo "$ac_res" >&6; }
   1870 fi
   1871   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1872 
   1873 } # ac_fn_c_check_header_mongrel
   1874 
   1875 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1876 # -------------------------------------------
   1877 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1878 # variable VAR accordingly.
   1879 ac_fn_c_check_type ()
   1880 {
   1881   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1883 $as_echo_n "checking for $2... " >&6; }
   1884 if eval \${$3+:} false; then :
   1885   $as_echo_n "(cached) " >&6
   1886 else
   1887   eval "$3=no"
   1888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1889 /* end confdefs.h.  */
   1890 $4
   1891 int
   1892 main ()
   1893 {
   1894 if (sizeof ($2))
   1895 	 return 0;
   1896   ;
   1897   return 0;
   1898 }
   1899 _ACEOF
   1900 if ac_fn_c_try_compile "$LINENO"; then :
   1901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1902 /* end confdefs.h.  */
   1903 $4
   1904 int
   1905 main ()
   1906 {
   1907 if (sizeof (($2)))
   1908 	    return 0;
   1909   ;
   1910   return 0;
   1911 }
   1912 _ACEOF
   1913 if ac_fn_c_try_compile "$LINENO"; then :
   1914 
   1915 else
   1916   eval "$3=yes"
   1917 fi
   1918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1919 fi
   1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1921 fi
   1922 eval ac_res=\$$3
   1923 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1924 $as_echo "$ac_res" >&6; }
   1925   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1926 
   1927 } # ac_fn_c_check_type
   1928 cat >config.log <<_ACEOF
   1929 This file contains any messages produced by compilers while
   1930 running configure, to aid debugging if configure makes a mistake.
   1931 
   1932 It was created by tpm-tools $as_me 1.3.7, which was
   1933 generated by GNU Autoconf 2.68.  Invocation command line was
   1934 
   1935   $ $0 $@
   1936 
   1937 _ACEOF
   1938 exec 5>>config.log
   1939 {
   1940 cat <<_ASUNAME
   1941 ## --------- ##
   1942 ## Platform. ##
   1943 ## --------- ##
   1944 
   1945 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1946 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1947 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1948 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1949 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1950 
   1951 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1952 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1953 
   1954 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1955 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1956 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1957 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1958 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1959 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1960 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1961 
   1962 _ASUNAME
   1963 
   1964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1965 for as_dir in $PATH
   1966 do
   1967   IFS=$as_save_IFS
   1968   test -z "$as_dir" && as_dir=.
   1969     $as_echo "PATH: $as_dir"
   1970   done
   1971 IFS=$as_save_IFS
   1972 
   1973 } >&5
   1974 
   1975 cat >&5 <<_ACEOF
   1976 
   1977 
   1978 ## ----------- ##
   1979 ## Core tests. ##
   1980 ## ----------- ##
   1981 
   1982 _ACEOF
   1983 
   1984 
   1985 # Keep a trace of the command line.
   1986 # Strip out --no-create and --no-recursion so they do not pile up.
   1987 # Strip out --silent because we don't want to record it for future runs.
   1988 # Also quote any args containing shell meta-characters.
   1989 # Make two passes to allow for proper duplicate-argument suppression.
   1990 ac_configure_args=
   1991 ac_configure_args0=
   1992 ac_configure_args1=
   1993 ac_must_keep_next=false
   1994 for ac_pass in 1 2
   1995 do
   1996   for ac_arg
   1997   do
   1998     case $ac_arg in
   1999     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2000     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2001     | -silent | --silent | --silen | --sile | --sil)
   2002       continue ;;
   2003     *\'*)
   2004       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2005     esac
   2006     case $ac_pass in
   2007     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2008     2)
   2009       as_fn_append ac_configure_args1 " '$ac_arg'"
   2010       if test $ac_must_keep_next = true; then
   2011 	ac_must_keep_next=false # Got value, back to normal.
   2012       else
   2013 	case $ac_arg in
   2014 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2015 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2016 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2017 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2018 	    case "$ac_configure_args0 " in
   2019 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2020 	    esac
   2021 	    ;;
   2022 	  -* ) ac_must_keep_next=true ;;
   2023 	esac
   2024       fi
   2025       as_fn_append ac_configure_args " '$ac_arg'"
   2026       ;;
   2027     esac
   2028   done
   2029 done
   2030 { ac_configure_args0=; unset ac_configure_args0;}
   2031 { ac_configure_args1=; unset ac_configure_args1;}
   2032 
   2033 # When interrupted or exit'd, cleanup temporary files, and complete
   2034 # config.log.  We remove comments because anyway the quotes in there
   2035 # would cause problems or look ugly.
   2036 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2037 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2038 trap 'exit_status=$?
   2039   # Save into config.log some information that might help in debugging.
   2040   {
   2041     echo
   2042 
   2043     $as_echo "## ---------------- ##
   2044 ## Cache variables. ##
   2045 ## ---------------- ##"
   2046     echo
   2047     # The following way of writing the cache mishandles newlines in values,
   2048 (
   2049   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2050     eval ac_val=\$$ac_var
   2051     case $ac_val in #(
   2052     *${as_nl}*)
   2053       case $ac_var in #(
   2054       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2055 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2056       esac
   2057       case $ac_var in #(
   2058       _ | IFS | as_nl) ;; #(
   2059       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2060       *) { eval $ac_var=; unset $ac_var;} ;;
   2061       esac ;;
   2062     esac
   2063   done
   2064   (set) 2>&1 |
   2065     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2066     *${as_nl}ac_space=\ *)
   2067       sed -n \
   2068 	"s/'\''/'\''\\\\'\'''\''/g;
   2069 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2070       ;; #(
   2071     *)
   2072       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2073       ;;
   2074     esac |
   2075     sort
   2076 )
   2077     echo
   2078 
   2079     $as_echo "## ----------------- ##
   2080 ## Output variables. ##
   2081 ## ----------------- ##"
   2082     echo
   2083     for ac_var in $ac_subst_vars
   2084     do
   2085       eval ac_val=\$$ac_var
   2086       case $ac_val in
   2087       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2088       esac
   2089       $as_echo "$ac_var='\''$ac_val'\''"
   2090     done | sort
   2091     echo
   2092 
   2093     if test -n "$ac_subst_files"; then
   2094       $as_echo "## ------------------- ##
   2095 ## File substitutions. ##
   2096 ## ------------------- ##"
   2097       echo
   2098       for ac_var in $ac_subst_files
   2099       do
   2100 	eval ac_val=\$$ac_var
   2101 	case $ac_val in
   2102 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2103 	esac
   2104 	$as_echo "$ac_var='\''$ac_val'\''"
   2105       done | sort
   2106       echo
   2107     fi
   2108 
   2109     if test -s confdefs.h; then
   2110       $as_echo "## ----------- ##
   2111 ## confdefs.h. ##
   2112 ## ----------- ##"
   2113       echo
   2114       cat confdefs.h
   2115       echo
   2116     fi
   2117     test "$ac_signal" != 0 &&
   2118       $as_echo "$as_me: caught signal $ac_signal"
   2119     $as_echo "$as_me: exit $exit_status"
   2120   } >&5
   2121   rm -f core *.core core.conftest.* &&
   2122     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2123     exit $exit_status
   2124 ' 0
   2125 for ac_signal in 1 2 13 15; do
   2126   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2127 done
   2128 ac_signal=0
   2129 
   2130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2131 rm -f -r conftest* confdefs.h
   2132 
   2133 $as_echo "/* confdefs.h */" > confdefs.h
   2134 
   2135 # Predefined preprocessor variables.
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_NAME "$PACKAGE_NAME"
   2139 _ACEOF
   2140 
   2141 cat >>confdefs.h <<_ACEOF
   2142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2143 _ACEOF
   2144 
   2145 cat >>confdefs.h <<_ACEOF
   2146 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2147 _ACEOF
   2148 
   2149 cat >>confdefs.h <<_ACEOF
   2150 #define PACKAGE_STRING "$PACKAGE_STRING"
   2151 _ACEOF
   2152 
   2153 cat >>confdefs.h <<_ACEOF
   2154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2155 _ACEOF
   2156 
   2157 cat >>confdefs.h <<_ACEOF
   2158 #define PACKAGE_URL "$PACKAGE_URL"
   2159 _ACEOF
   2160 
   2161 
   2162 # Let the site file select an alternate cache file if it wants to.
   2163 # Prefer an explicitly selected file to automatically selected ones.
   2164 ac_site_file1=NONE
   2165 ac_site_file2=NONE
   2166 if test -n "$CONFIG_SITE"; then
   2167   # We do not want a PATH search for config.site.
   2168   case $CONFIG_SITE in #((
   2169     -*)  ac_site_file1=./$CONFIG_SITE;;
   2170     */*) ac_site_file1=$CONFIG_SITE;;
   2171     *)   ac_site_file1=./$CONFIG_SITE;;
   2172   esac
   2173 elif test "x$prefix" != xNONE; then
   2174   ac_site_file1=$prefix/share/config.site
   2175   ac_site_file2=$prefix/etc/config.site
   2176 else
   2177   ac_site_file1=$ac_default_prefix/share/config.site
   2178   ac_site_file2=$ac_default_prefix/etc/config.site
   2179 fi
   2180 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2181 do
   2182   test "x$ac_site_file" = xNONE && continue
   2183   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2184     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2185 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2186     sed 's/^/| /' "$ac_site_file" >&5
   2187     . "$ac_site_file" \
   2188       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2190 as_fn_error $? "failed to load site script $ac_site_file
   2191 See \`config.log' for more details" "$LINENO" 5; }
   2192   fi
   2193 done
   2194 
   2195 if test -r "$cache_file"; then
   2196   # Some versions of bash will fail to source /dev/null (special files
   2197   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2198   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2199     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2200 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2201     case $cache_file in
   2202       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2203       *)                      . "./$cache_file";;
   2204     esac
   2205   fi
   2206 else
   2207   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2208 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2209   >$cache_file
   2210 fi
   2211 
   2212 # Check that the precious variables saved in the cache have kept the same
   2213 # value.
   2214 ac_cache_corrupted=false
   2215 for ac_var in $ac_precious_vars; do
   2216   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2217   eval ac_new_set=\$ac_env_${ac_var}_set
   2218   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2219   eval ac_new_val=\$ac_env_${ac_var}_value
   2220   case $ac_old_set,$ac_new_set in
   2221     set,)
   2222       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2223 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2224       ac_cache_corrupted=: ;;
   2225     ,set)
   2226       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2227 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2228       ac_cache_corrupted=: ;;
   2229     ,);;
   2230     *)
   2231       if test "x$ac_old_val" != "x$ac_new_val"; then
   2232 	# differences in whitespace do not lead to failure.
   2233 	ac_old_val_w=`echo x $ac_old_val`
   2234 	ac_new_val_w=`echo x $ac_new_val`
   2235 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2236 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2237 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2238 	  ac_cache_corrupted=:
   2239 	else
   2240 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2241 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2242 	  eval $ac_var=\$ac_old_val
   2243 	fi
   2244 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2245 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2246 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2247 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2248       fi;;
   2249   esac
   2250   # Pass precious variables to config.status.
   2251   if test "$ac_new_set" = set; then
   2252     case $ac_new_val in
   2253     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2254     *) ac_arg=$ac_var=$ac_new_val ;;
   2255     esac
   2256     case " $ac_configure_args " in
   2257       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2258       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2259     esac
   2260   fi
   2261 done
   2262 if $ac_cache_corrupted; then
   2263   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2265   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2266 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2267   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2268 fi
   2269 ## -------------------- ##
   2270 ## Main body of script. ##
   2271 ## -------------------- ##
   2272 
   2273 ac_ext=c
   2274 ac_cpp='$CPP $CPPFLAGS'
   2275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2278 
   2279 
   2280 
   2281 ac_config_headers="$ac_config_headers config.h"
   2282 
   2283 
   2284 
   2285 ac_aux_dir=
   2286 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2287   if test -f "$ac_dir/install-sh"; then
   2288     ac_aux_dir=$ac_dir
   2289     ac_install_sh="$ac_aux_dir/install-sh -c"
   2290     break
   2291   elif test -f "$ac_dir/install.sh"; then
   2292     ac_aux_dir=$ac_dir
   2293     ac_install_sh="$ac_aux_dir/install.sh -c"
   2294     break
   2295   elif test -f "$ac_dir/shtool"; then
   2296     ac_aux_dir=$ac_dir
   2297     ac_install_sh="$ac_aux_dir/shtool install -c"
   2298     break
   2299   fi
   2300 done
   2301 if test -z "$ac_aux_dir"; then
   2302   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2303 fi
   2304 
   2305 # These three variables are undocumented and unsupported,
   2306 # and are intended to be withdrawn in a future Autoconf release.
   2307 # They can cause serious problems if a builder's source tree is in a directory
   2308 # whose full name contains unusual characters.
   2309 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2310 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2311 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2312 
   2313 
   2314 # Make sure we can run config.sub.
   2315 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2316   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2317 
   2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2319 $as_echo_n "checking build system type... " >&6; }
   2320 if ${ac_cv_build+:} false; then :
   2321   $as_echo_n "(cached) " >&6
   2322 else
   2323   ac_build_alias=$build_alias
   2324 test "x$ac_build_alias" = x &&
   2325   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2326 test "x$ac_build_alias" = x &&
   2327   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2328 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2329   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2330 
   2331 fi
   2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2333 $as_echo "$ac_cv_build" >&6; }
   2334 case $ac_cv_build in
   2335 *-*-*) ;;
   2336 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2337 esac
   2338 build=$ac_cv_build
   2339 ac_save_IFS=$IFS; IFS='-'
   2340 set x $ac_cv_build
   2341 shift
   2342 build_cpu=$1
   2343 build_vendor=$2
   2344 shift; shift
   2345 # Remember, the first character of IFS is used to create $*,
   2346 # except with old shells:
   2347 build_os=$*
   2348 IFS=$ac_save_IFS
   2349 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2350 
   2351 
   2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2353 $as_echo_n "checking host system type... " >&6; }
   2354 if ${ac_cv_host+:} false; then :
   2355   $as_echo_n "(cached) " >&6
   2356 else
   2357   if test "x$host_alias" = x; then
   2358   ac_cv_host=$ac_cv_build
   2359 else
   2360   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2361     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2362 fi
   2363 
   2364 fi
   2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2366 $as_echo "$ac_cv_host" >&6; }
   2367 case $ac_cv_host in
   2368 *-*-*) ;;
   2369 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2370 esac
   2371 host=$ac_cv_host
   2372 ac_save_IFS=$IFS; IFS='-'
   2373 set x $ac_cv_host
   2374 shift
   2375 host_cpu=$1
   2376 host_vendor=$2
   2377 shift; shift
   2378 # Remember, the first character of IFS is used to create $*,
   2379 # except with old shells:
   2380 host_os=$*
   2381 IFS=$ac_save_IFS
   2382 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2383 
   2384 
   2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2386 $as_echo_n "checking target system type... " >&6; }
   2387 if ${ac_cv_target+:} false; then :
   2388   $as_echo_n "(cached) " >&6
   2389 else
   2390   if test "x$target_alias" = x; then
   2391   ac_cv_target=$ac_cv_host
   2392 else
   2393   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2394     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2395 fi
   2396 
   2397 fi
   2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2399 $as_echo "$ac_cv_target" >&6; }
   2400 case $ac_cv_target in
   2401 *-*-*) ;;
   2402 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2403 esac
   2404 target=$ac_cv_target
   2405 ac_save_IFS=$IFS; IFS='-'
   2406 set x $ac_cv_target
   2407 shift
   2408 target_cpu=$1
   2409 target_vendor=$2
   2410 shift; shift
   2411 # Remember, the first character of IFS is used to create $*,
   2412 # except with old shells:
   2413 target_os=$*
   2414 IFS=$ac_save_IFS
   2415 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2416 
   2417 
   2418 # The aliases save the names the user supplied, while $host etc.
   2419 # will get canonicalized.
   2420 test -n "$target_alias" &&
   2421   test "$program_prefix$program_suffix$program_transform_name" = \
   2422     NONENONEs,x,x, &&
   2423   program_prefix=${target_alias}-
   2424 am__api_version='1.11'
   2425 
   2426 # Find a good install program.  We prefer a C program (faster),
   2427 # so one script is as good as another.  But avoid the broken or
   2428 # incompatible versions:
   2429 # SysV /etc/install, /usr/sbin/install
   2430 # SunOS /usr/etc/install
   2431 # IRIX /sbin/install
   2432 # AIX /bin/install
   2433 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2437 # OS/2's system install, which has a completely different semantic
   2438 # ./install, which can be erroneously created by make from ./install.sh.
   2439 # Reject install programs that cannot install multiple files.
   2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2441 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2442 if test -z "$INSTALL"; then
   2443 if ${ac_cv_path_install+:} false; then :
   2444   $as_echo_n "(cached) " >&6
   2445 else
   2446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2447 for as_dir in $PATH
   2448 do
   2449   IFS=$as_save_IFS
   2450   test -z "$as_dir" && as_dir=.
   2451     # Account for people who put trailing slashes in PATH elements.
   2452 case $as_dir/ in #((
   2453   ./ | .// | /[cC]/* | \
   2454   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2455   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2456   /usr/ucb/* ) ;;
   2457   *)
   2458     # OSF1 and SCO ODT 3.0 have their own names for install.
   2459     # Don't use installbsd from OSF since it installs stuff as root
   2460     # by default.
   2461     for ac_prog in ginstall scoinst install; do
   2462       for ac_exec_ext in '' $ac_executable_extensions; do
   2463 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2464 	  if test $ac_prog = install &&
   2465 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2466 	    # AIX install.  It has an incompatible calling convention.
   2467 	    :
   2468 	  elif test $ac_prog = install &&
   2469 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2470 	    # program-specific install script used by HP pwplus--don't use.
   2471 	    :
   2472 	  else
   2473 	    rm -rf conftest.one conftest.two conftest.dir
   2474 	    echo one > conftest.one
   2475 	    echo two > conftest.two
   2476 	    mkdir conftest.dir
   2477 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2478 	      test -s conftest.one && test -s conftest.two &&
   2479 	      test -s conftest.dir/conftest.one &&
   2480 	      test -s conftest.dir/conftest.two
   2481 	    then
   2482 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2483 	      break 3
   2484 	    fi
   2485 	  fi
   2486 	fi
   2487       done
   2488     done
   2489     ;;
   2490 esac
   2491 
   2492   done
   2493 IFS=$as_save_IFS
   2494 
   2495 rm -rf conftest.one conftest.two conftest.dir
   2496 
   2497 fi
   2498   if test "${ac_cv_path_install+set}" = set; then
   2499     INSTALL=$ac_cv_path_install
   2500   else
   2501     # As a last resort, use the slow shell script.  Don't cache a
   2502     # value for INSTALL within a source directory, because that will
   2503     # break other packages using the cache if that directory is
   2504     # removed, or if the value is a relative name.
   2505     INSTALL=$ac_install_sh
   2506   fi
   2507 fi
   2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2509 $as_echo "$INSTALL" >&6; }
   2510 
   2511 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2512 # It thinks the first close brace ends the variable substitution.
   2513 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2514 
   2515 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2516 
   2517 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2518 
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2520 $as_echo_n "checking whether build environment is sane... " >&6; }
   2521 # Just in case
   2522 sleep 1
   2523 echo timestamp > conftest.file
   2524 # Reject unsafe characters in $srcdir or the absolute working directory
   2525 # name.  Accept space and tab only in the latter.
   2526 am_lf='
   2527 '
   2528 case `pwd` in
   2529   *[\\\"\#\$\&\'\`$am_lf]*)
   2530     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2531 esac
   2532 case $srcdir in
   2533   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2534     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2535 esac
   2536 
   2537 # Do `set' in a subshell so we don't clobber the current shell's
   2538 # arguments.  Must try -L first in case configure is actually a
   2539 # symlink; some systems play weird games with the mod time of symlinks
   2540 # (eg FreeBSD returns the mod time of the symlink's containing
   2541 # directory).
   2542 if (
   2543    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2544    if test "$*" = "X"; then
   2545       # -L didn't work.
   2546       set X `ls -t "$srcdir/configure" conftest.file`
   2547    fi
   2548    rm -f conftest.file
   2549    if test "$*" != "X $srcdir/configure conftest.file" \
   2550       && test "$*" != "X conftest.file $srcdir/configure"; then
   2551 
   2552       # If neither matched, then we have a broken ls.  This can happen
   2553       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2554       # broken ls alias from the environment.  This has actually
   2555       # happened.  Such a system could not be considered "sane".
   2556       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2557 alias in your environment" "$LINENO" 5
   2558    fi
   2559 
   2560    test "$2" = conftest.file
   2561    )
   2562 then
   2563    # Ok.
   2564    :
   2565 else
   2566    as_fn_error $? "newly created file is older than distributed files!
   2567 Check your system clock" "$LINENO" 5
   2568 fi
   2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2570 $as_echo "yes" >&6; }
   2571 test "$program_prefix" != NONE &&
   2572   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2573 # Use a double $ so make ignores it.
   2574 test "$program_suffix" != NONE &&
   2575   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2576 # Double any \ or $.
   2577 # By default was `s,x,x', remove it if useless.
   2578 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2579 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2580 
   2581 # expand $ac_aux_dir to an absolute path
   2582 am_aux_dir=`cd $ac_aux_dir && pwd`
   2583 
   2584 if test x"${MISSING+set}" != xset; then
   2585   case $am_aux_dir in
   2586   *\ * | *\	*)
   2587     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2588   *)
   2589     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2590   esac
   2591 fi
   2592 # Use eval to expand $SHELL
   2593 if eval "$MISSING --run true"; then
   2594   am_missing_run="$MISSING --run "
   2595 else
   2596   am_missing_run=
   2597   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2598 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2599 fi
   2600 
   2601 if test x"${install_sh}" != xset; then
   2602   case $am_aux_dir in
   2603   *\ * | *\	*)
   2604     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2605   *)
   2606     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2607   esac
   2608 fi
   2609 
   2610 # Installed binaries are usually stripped using `strip' when the user
   2611 # run `make install-strip'.  However `strip' might not be the right
   2612 # tool to use in cross-compilation environments, therefore Automake
   2613 # will honor the `STRIP' environment variable to overrule this program.
   2614 if test "$cross_compiling" != no; then
   2615   if test -n "$ac_tool_prefix"; then
   2616   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2617 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2619 $as_echo_n "checking for $ac_word... " >&6; }
   2620 if ${ac_cv_prog_STRIP+:} false; then :
   2621   $as_echo_n "(cached) " >&6
   2622 else
   2623   if test -n "$STRIP"; then
   2624   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2625 else
   2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2627 for as_dir in $PATH
   2628 do
   2629   IFS=$as_save_IFS
   2630   test -z "$as_dir" && as_dir=.
   2631     for ac_exec_ext in '' $ac_executable_extensions; do
   2632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2633     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2635     break 2
   2636   fi
   2637 done
   2638   done
   2639 IFS=$as_save_IFS
   2640 
   2641 fi
   2642 fi
   2643 STRIP=$ac_cv_prog_STRIP
   2644 if test -n "$STRIP"; then
   2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2646 $as_echo "$STRIP" >&6; }
   2647 else
   2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2649 $as_echo "no" >&6; }
   2650 fi
   2651 
   2652 
   2653 fi
   2654 if test -z "$ac_cv_prog_STRIP"; then
   2655   ac_ct_STRIP=$STRIP
   2656   # Extract the first word of "strip", so it can be a program name with args.
   2657 set dummy strip; ac_word=$2
   2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2659 $as_echo_n "checking for $ac_word... " >&6; }
   2660 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2661   $as_echo_n "(cached) " >&6
   2662 else
   2663   if test -n "$ac_ct_STRIP"; then
   2664   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2665 else
   2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2667 for as_dir in $PATH
   2668 do
   2669   IFS=$as_save_IFS
   2670   test -z "$as_dir" && as_dir=.
   2671     for ac_exec_ext in '' $ac_executable_extensions; do
   2672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2673     ac_cv_prog_ac_ct_STRIP="strip"
   2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2675     break 2
   2676   fi
   2677 done
   2678   done
   2679 IFS=$as_save_IFS
   2680 
   2681 fi
   2682 fi
   2683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2684 if test -n "$ac_ct_STRIP"; then
   2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2686 $as_echo "$ac_ct_STRIP" >&6; }
   2687 else
   2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2689 $as_echo "no" >&6; }
   2690 fi
   2691 
   2692   if test "x$ac_ct_STRIP" = x; then
   2693     STRIP=":"
   2694   else
   2695     case $cross_compiling:$ac_tool_warned in
   2696 yes:)
   2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2699 ac_tool_warned=yes ;;
   2700 esac
   2701     STRIP=$ac_ct_STRIP
   2702   fi
   2703 else
   2704   STRIP="$ac_cv_prog_STRIP"
   2705 fi
   2706 
   2707 fi
   2708 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2709 
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2711 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2712 if test -z "$MKDIR_P"; then
   2713   if ${ac_cv_path_mkdir+:} false; then :
   2714   $as_echo_n "(cached) " >&6
   2715 else
   2716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2717 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2718 do
   2719   IFS=$as_save_IFS
   2720   test -z "$as_dir" && as_dir=.
   2721     for ac_prog in mkdir gmkdir; do
   2722 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2723 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2724 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2725 	     'mkdir (GNU coreutils) '* | \
   2726 	     'mkdir (coreutils) '* | \
   2727 	     'mkdir (fileutils) '4.1*)
   2728 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2729 	       break 3;;
   2730 	   esac
   2731 	 done
   2732        done
   2733   done
   2734 IFS=$as_save_IFS
   2735 
   2736 fi
   2737 
   2738   test -d ./--version && rmdir ./--version
   2739   if test "${ac_cv_path_mkdir+set}" = set; then
   2740     MKDIR_P="$ac_cv_path_mkdir -p"
   2741   else
   2742     # As a last resort, use the slow shell script.  Don't cache a
   2743     # value for MKDIR_P within a source directory, because that will
   2744     # break other packages using the cache if that directory is
   2745     # removed, or if the value is a relative name.
   2746     MKDIR_P="$ac_install_sh -d"
   2747   fi
   2748 fi
   2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2750 $as_echo "$MKDIR_P" >&6; }
   2751 
   2752 mkdir_p="$MKDIR_P"
   2753 case $mkdir_p in
   2754   [\\/$]* | ?:[\\/]*) ;;
   2755   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2756 esac
   2757 
   2758 for ac_prog in gawk mawk nawk awk
   2759 do
   2760   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2761 set dummy $ac_prog; ac_word=$2
   2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2763 $as_echo_n "checking for $ac_word... " >&6; }
   2764 if ${ac_cv_prog_AWK+:} false; then :
   2765   $as_echo_n "(cached) " >&6
   2766 else
   2767   if test -n "$AWK"; then
   2768   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2769 else
   2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2771 for as_dir in $PATH
   2772 do
   2773   IFS=$as_save_IFS
   2774   test -z "$as_dir" && as_dir=.
   2775     for ac_exec_ext in '' $ac_executable_extensions; do
   2776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2777     ac_cv_prog_AWK="$ac_prog"
   2778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2779     break 2
   2780   fi
   2781 done
   2782   done
   2783 IFS=$as_save_IFS
   2784 
   2785 fi
   2786 fi
   2787 AWK=$ac_cv_prog_AWK
   2788 if test -n "$AWK"; then
   2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2790 $as_echo "$AWK" >&6; }
   2791 else
   2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2793 $as_echo "no" >&6; }
   2794 fi
   2795 
   2796 
   2797   test -n "$AWK" && break
   2798 done
   2799 
   2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2802 set x ${MAKE-make}
   2803 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2804 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2805   $as_echo_n "(cached) " >&6
   2806 else
   2807   cat >conftest.make <<\_ACEOF
   2808 SHELL = /bin/sh
   2809 all:
   2810 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2811 _ACEOF
   2812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2814   *@@@%%%=?*=@@@%%%*)
   2815     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2816   *)
   2817     eval ac_cv_prog_make_${ac_make}_set=no;;
   2818 esac
   2819 rm -f conftest.make
   2820 fi
   2821 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2823 $as_echo "yes" >&6; }
   2824   SET_MAKE=
   2825 else
   2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2827 $as_echo "no" >&6; }
   2828   SET_MAKE="MAKE=${MAKE-make}"
   2829 fi
   2830 
   2831 rm -rf .tst 2>/dev/null
   2832 mkdir .tst 2>/dev/null
   2833 if test -d .tst; then
   2834   am__leading_dot=.
   2835 else
   2836   am__leading_dot=_
   2837 fi
   2838 rmdir .tst 2>/dev/null
   2839 
   2840 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2841   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2842   # is not polluted with repeated "-I."
   2843   am__isrc=' -I$(srcdir)'
   2844   # test to see if srcdir already configured
   2845   if test -f $srcdir/config.status; then
   2846     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2847   fi
   2848 fi
   2849 
   2850 # test whether we have cygpath
   2851 if test -z "$CYGPATH_W"; then
   2852   if (cygpath --version) >/dev/null 2>/dev/null; then
   2853     CYGPATH_W='cygpath -w'
   2854   else
   2855     CYGPATH_W=echo
   2856   fi
   2857 fi
   2858 
   2859 
   2860 # Define the identity of the package.
   2861  PACKAGE='tpm-tools'
   2862  VERSION='1.3.7'
   2863 
   2864 
   2865 cat >>confdefs.h <<_ACEOF
   2866 #define PACKAGE "$PACKAGE"
   2867 _ACEOF
   2868 
   2869 
   2870 cat >>confdefs.h <<_ACEOF
   2871 #define VERSION "$VERSION"
   2872 _ACEOF
   2873 
   2874 # Some tools Automake needs.
   2875 
   2876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2877 
   2878 
   2879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2880 
   2881 
   2882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2883 
   2884 
   2885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2886 
   2887 
   2888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2889 
   2890 # We need awk for the "check" target.  The system "awk" is bad on
   2891 # some platforms.
   2892 # Always define AMTAR for backward compatibility.
   2893 
   2894 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2895 
   2896 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2897 
   2898 
   2899 
   2900 
   2901 
   2902 
   2903 
   2904 DEBUG=""
   2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug-enabled build" >&5
   2906 $as_echo_n "checking for debug-enabled build... " >&6; }
   2907 # Check whether --enable-debug was given.
   2908 if test "${enable_debug+set}" = set; then :
   2909   enableval=$enable_debug; if test "$enableval" = "yes"; then
   2910     DEBUG="yes"
   2911     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2912 $as_echo "yes" >&6; }
   2913   else
   2914     DEBUG="no"
   2915     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2916 $as_echo "no" >&6; }
   2917   fi
   2918 else
   2919   DEBUG="no"
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2921 $as_echo "no" >&6; }
   2922 fi
   2923 
   2924 
   2925 # If the user has not set CFLAGS, do something appropriate
   2926 test_CFLAGS=${CFLAGS+set}
   2927 if test "$test_CFLAGS" != set; then
   2928 	if test "$DEBUG" == "yes"; then
   2929 		CFLAGS="-O0 -g -DDEBUG"
   2930 	else
   2931 		CFLAGS="-g -O2"
   2932 	fi
   2933 elif test "$DEBUG" == "yes"; then
   2934 	CFLAGS="$CFLAGS -O0 -g -DDEBUG"
   2935 fi
   2936 
   2937 
   2938 ac_ext=c
   2939 ac_cpp='$CPP $CPPFLAGS'
   2940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2943 if test -n "$ac_tool_prefix"; then
   2944   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2945 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2947 $as_echo_n "checking for $ac_word... " >&6; }
   2948 if ${ac_cv_prog_CC+:} false; then :
   2949   $as_echo_n "(cached) " >&6
   2950 else
   2951   if test -n "$CC"; then
   2952   ac_cv_prog_CC="$CC" # Let the user override the test.
   2953 else
   2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2955 for as_dir in $PATH
   2956 do
   2957   IFS=$as_save_IFS
   2958   test -z "$as_dir" && as_dir=.
   2959     for ac_exec_ext in '' $ac_executable_extensions; do
   2960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2961     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2963     break 2
   2964   fi
   2965 done
   2966   done
   2967 IFS=$as_save_IFS
   2968 
   2969 fi
   2970 fi
   2971 CC=$ac_cv_prog_CC
   2972 if test -n "$CC"; then
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2974 $as_echo "$CC" >&6; }
   2975 else
   2976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2977 $as_echo "no" >&6; }
   2978 fi
   2979 
   2980 
   2981 fi
   2982 if test -z "$ac_cv_prog_CC"; then
   2983   ac_ct_CC=$CC
   2984   # Extract the first word of "gcc", so it can be a program name with args.
   2985 set dummy gcc; ac_word=$2
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2987 $as_echo_n "checking for $ac_word... " >&6; }
   2988 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2989   $as_echo_n "(cached) " >&6
   2990 else
   2991   if test -n "$ac_ct_CC"; then
   2992   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2993 else
   2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2995 for as_dir in $PATH
   2996 do
   2997   IFS=$as_save_IFS
   2998   test -z "$as_dir" && as_dir=.
   2999     for ac_exec_ext in '' $ac_executable_extensions; do
   3000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3001     ac_cv_prog_ac_ct_CC="gcc"
   3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3003     break 2
   3004   fi
   3005 done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 fi
   3010 fi
   3011 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3012 if test -n "$ac_ct_CC"; then
   3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3014 $as_echo "$ac_ct_CC" >&6; }
   3015 else
   3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3017 $as_echo "no" >&6; }
   3018 fi
   3019 
   3020   if test "x$ac_ct_CC" = x; then
   3021     CC=""
   3022   else
   3023     case $cross_compiling:$ac_tool_warned in
   3024 yes:)
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3027 ac_tool_warned=yes ;;
   3028 esac
   3029     CC=$ac_ct_CC
   3030   fi
   3031 else
   3032   CC="$ac_cv_prog_CC"
   3033 fi
   3034 
   3035 if test -z "$CC"; then
   3036           if test -n "$ac_tool_prefix"; then
   3037     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3038 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3040 $as_echo_n "checking for $ac_word... " >&6; }
   3041 if ${ac_cv_prog_CC+:} false; then :
   3042   $as_echo_n "(cached) " >&6
   3043 else
   3044   if test -n "$CC"; then
   3045   ac_cv_prog_CC="$CC" # Let the user override the test.
   3046 else
   3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3048 for as_dir in $PATH
   3049 do
   3050   IFS=$as_save_IFS
   3051   test -z "$as_dir" && as_dir=.
   3052     for ac_exec_ext in '' $ac_executable_extensions; do
   3053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3054     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3056     break 2
   3057   fi
   3058 done
   3059   done
   3060 IFS=$as_save_IFS
   3061 
   3062 fi
   3063 fi
   3064 CC=$ac_cv_prog_CC
   3065 if test -n "$CC"; then
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3067 $as_echo "$CC" >&6; }
   3068 else
   3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3070 $as_echo "no" >&6; }
   3071 fi
   3072 
   3073 
   3074   fi
   3075 fi
   3076 if test -z "$CC"; then
   3077   # Extract the first word of "cc", so it can be a program name with args.
   3078 set dummy cc; ac_word=$2
   3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3080 $as_echo_n "checking for $ac_word... " >&6; }
   3081 if ${ac_cv_prog_CC+:} false; then :
   3082   $as_echo_n "(cached) " >&6
   3083 else
   3084   if test -n "$CC"; then
   3085   ac_cv_prog_CC="$CC" # Let the user override the test.
   3086 else
   3087   ac_prog_rejected=no
   3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3089 for as_dir in $PATH
   3090 do
   3091   IFS=$as_save_IFS
   3092   test -z "$as_dir" && as_dir=.
   3093     for ac_exec_ext in '' $ac_executable_extensions; do
   3094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3095     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3096        ac_prog_rejected=yes
   3097        continue
   3098      fi
   3099     ac_cv_prog_CC="cc"
   3100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3101     break 2
   3102   fi
   3103 done
   3104   done
   3105 IFS=$as_save_IFS
   3106 
   3107 if test $ac_prog_rejected = yes; then
   3108   # We found a bogon in the path, so make sure we never use it.
   3109   set dummy $ac_cv_prog_CC
   3110   shift
   3111   if test $# != 0; then
   3112     # We chose a different compiler from the bogus one.
   3113     # However, it has the same basename, so the bogon will be chosen
   3114     # first if we set CC to just the basename; use the full file name.
   3115     shift
   3116     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3117   fi
   3118 fi
   3119 fi
   3120 fi
   3121 CC=$ac_cv_prog_CC
   3122 if test -n "$CC"; then
   3123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3124 $as_echo "$CC" >&6; }
   3125 else
   3126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3127 $as_echo "no" >&6; }
   3128 fi
   3129 
   3130 
   3131 fi
   3132 if test -z "$CC"; then
   3133   if test -n "$ac_tool_prefix"; then
   3134   for ac_prog in cl.exe
   3135   do
   3136     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3137 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3139 $as_echo_n "checking for $ac_word... " >&6; }
   3140 if ${ac_cv_prog_CC+:} false; then :
   3141   $as_echo_n "(cached) " >&6
   3142 else
   3143   if test -n "$CC"; then
   3144   ac_cv_prog_CC="$CC" # Let the user override the test.
   3145 else
   3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3147 for as_dir in $PATH
   3148 do
   3149   IFS=$as_save_IFS
   3150   test -z "$as_dir" && as_dir=.
   3151     for ac_exec_ext in '' $ac_executable_extensions; do
   3152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3153     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3155     break 2
   3156   fi
   3157 done
   3158   done
   3159 IFS=$as_save_IFS
   3160 
   3161 fi
   3162 fi
   3163 CC=$ac_cv_prog_CC
   3164 if test -n "$CC"; then
   3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3166 $as_echo "$CC" >&6; }
   3167 else
   3168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3169 $as_echo "no" >&6; }
   3170 fi
   3171 
   3172 
   3173     test -n "$CC" && break
   3174   done
   3175 fi
   3176 if test -z "$CC"; then
   3177   ac_ct_CC=$CC
   3178   for ac_prog in cl.exe
   3179 do
   3180   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3181 set dummy $ac_prog; ac_word=$2
   3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3183 $as_echo_n "checking for $ac_word... " >&6; }
   3184 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3185   $as_echo_n "(cached) " >&6
   3186 else
   3187   if test -n "$ac_ct_CC"; then
   3188   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3189 else
   3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3191 for as_dir in $PATH
   3192 do
   3193   IFS=$as_save_IFS
   3194   test -z "$as_dir" && as_dir=.
   3195     for ac_exec_ext in '' $ac_executable_extensions; do
   3196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3197     ac_cv_prog_ac_ct_CC="$ac_prog"
   3198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3199     break 2
   3200   fi
   3201 done
   3202   done
   3203 IFS=$as_save_IFS
   3204 
   3205 fi
   3206 fi
   3207 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3208 if test -n "$ac_ct_CC"; then
   3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3210 $as_echo "$ac_ct_CC" >&6; }
   3211 else
   3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3213 $as_echo "no" >&6; }
   3214 fi
   3215 
   3216 
   3217   test -n "$ac_ct_CC" && break
   3218 done
   3219 
   3220   if test "x$ac_ct_CC" = x; then
   3221     CC=""
   3222   else
   3223     case $cross_compiling:$ac_tool_warned in
   3224 yes:)
   3225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3227 ac_tool_warned=yes ;;
   3228 esac
   3229     CC=$ac_ct_CC
   3230   fi
   3231 fi
   3232 
   3233 fi
   3234 
   3235 
   3236 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3238 as_fn_error $? "no acceptable C compiler found in \$PATH
   3239 See \`config.log' for more details" "$LINENO" 5; }
   3240 
   3241 # Provide some information about the compiler.
   3242 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3243 set X $ac_compile
   3244 ac_compiler=$2
   3245 for ac_option in --version -v -V -qversion; do
   3246   { { ac_try="$ac_compiler $ac_option >&5"
   3247 case "(($ac_try" in
   3248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3249   *) ac_try_echo=$ac_try;;
   3250 esac
   3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3252 $as_echo "$ac_try_echo"; } >&5
   3253   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3254   ac_status=$?
   3255   if test -s conftest.err; then
   3256     sed '10a\
   3257 ... rest of stderr output deleted ...
   3258          10q' conftest.err >conftest.er1
   3259     cat conftest.er1 >&5
   3260   fi
   3261   rm -f conftest.er1 conftest.err
   3262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3263   test $ac_status = 0; }
   3264 done
   3265 
   3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3267 /* end confdefs.h.  */
   3268 
   3269 int
   3270 main ()
   3271 {
   3272 
   3273   ;
   3274   return 0;
   3275 }
   3276 _ACEOF
   3277 ac_clean_files_save=$ac_clean_files
   3278 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3279 # Try to create an executable without -o first, disregard a.out.
   3280 # It will help us diagnose broken compilers, and finding out an intuition
   3281 # of exeext.
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3283 $as_echo_n "checking whether the C compiler works... " >&6; }
   3284 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3285 
   3286 # The possible output files:
   3287 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3288 
   3289 ac_rmfiles=
   3290 for ac_file in $ac_files
   3291 do
   3292   case $ac_file in
   3293     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3294     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3295   esac
   3296 done
   3297 rm -f $ac_rmfiles
   3298 
   3299 if { { ac_try="$ac_link_default"
   3300 case "(($ac_try" in
   3301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3302   *) ac_try_echo=$ac_try;;
   3303 esac
   3304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3305 $as_echo "$ac_try_echo"; } >&5
   3306   (eval "$ac_link_default") 2>&5
   3307   ac_status=$?
   3308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3309   test $ac_status = 0; }; then :
   3310   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3311 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3312 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3313 # so that the user can short-circuit this test for compilers unknown to
   3314 # Autoconf.
   3315 for ac_file in $ac_files ''
   3316 do
   3317   test -f "$ac_file" || continue
   3318   case $ac_file in
   3319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3320 	;;
   3321     [ab].out )
   3322 	# We found the default executable, but exeext='' is most
   3323 	# certainly right.
   3324 	break;;
   3325     *.* )
   3326 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3327 	then :; else
   3328 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3329 	fi
   3330 	# We set ac_cv_exeext here because the later test for it is not
   3331 	# safe: cross compilers may not add the suffix if given an `-o'
   3332 	# argument, so we may need to know it at that point already.
   3333 	# Even if this section looks crufty: it has the advantage of
   3334 	# actually working.
   3335 	break;;
   3336     * )
   3337 	break;;
   3338   esac
   3339 done
   3340 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3341 
   3342 else
   3343   ac_file=''
   3344 fi
   3345 if test -z "$ac_file"; then :
   3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3347 $as_echo "no" >&6; }
   3348 $as_echo "$as_me: failed program was:" >&5
   3349 sed 's/^/| /' conftest.$ac_ext >&5
   3350 
   3351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3353 as_fn_error 77 "C compiler cannot create executables
   3354 See \`config.log' for more details" "$LINENO" 5; }
   3355 else
   3356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3357 $as_echo "yes" >&6; }
   3358 fi
   3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3360 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3362 $as_echo "$ac_file" >&6; }
   3363 ac_exeext=$ac_cv_exeext
   3364 
   3365 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3366 ac_clean_files=$ac_clean_files_save
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3368 $as_echo_n "checking for suffix of executables... " >&6; }
   3369 if { { ac_try="$ac_link"
   3370 case "(($ac_try" in
   3371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3372   *) ac_try_echo=$ac_try;;
   3373 esac
   3374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3375 $as_echo "$ac_try_echo"; } >&5
   3376   (eval "$ac_link") 2>&5
   3377   ac_status=$?
   3378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3379   test $ac_status = 0; }; then :
   3380   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3381 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3382 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3383 # `rm'.
   3384 for ac_file in conftest.exe conftest conftest.*; do
   3385   test -f "$ac_file" || continue
   3386   case $ac_file in
   3387     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3388     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3389 	  break;;
   3390     * ) break;;
   3391   esac
   3392 done
   3393 else
   3394   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3396 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3397 See \`config.log' for more details" "$LINENO" 5; }
   3398 fi
   3399 rm -f conftest conftest$ac_cv_exeext
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3401 $as_echo "$ac_cv_exeext" >&6; }
   3402 
   3403 rm -f conftest.$ac_ext
   3404 EXEEXT=$ac_cv_exeext
   3405 ac_exeext=$EXEEXT
   3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3407 /* end confdefs.h.  */
   3408 #include <stdio.h>
   3409 int
   3410 main ()
   3411 {
   3412 FILE *f = fopen ("conftest.out", "w");
   3413  return ferror (f) || fclose (f) != 0;
   3414 
   3415   ;
   3416   return 0;
   3417 }
   3418 _ACEOF
   3419 ac_clean_files="$ac_clean_files conftest.out"
   3420 # Check that the compiler produces executables we can run.  If not, either
   3421 # the compiler is broken, or we cross compile.
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3423 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3424 if test "$cross_compiling" != yes; then
   3425   { { ac_try="$ac_link"
   3426 case "(($ac_try" in
   3427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3428   *) ac_try_echo=$ac_try;;
   3429 esac
   3430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3431 $as_echo "$ac_try_echo"; } >&5
   3432   (eval "$ac_link") 2>&5
   3433   ac_status=$?
   3434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3435   test $ac_status = 0; }
   3436   if { ac_try='./conftest$ac_cv_exeext'
   3437   { { case "(($ac_try" in
   3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3439   *) ac_try_echo=$ac_try;;
   3440 esac
   3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3442 $as_echo "$ac_try_echo"; } >&5
   3443   (eval "$ac_try") 2>&5
   3444   ac_status=$?
   3445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3446   test $ac_status = 0; }; }; then
   3447     cross_compiling=no
   3448   else
   3449     if test "$cross_compiling" = maybe; then
   3450 	cross_compiling=yes
   3451     else
   3452 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3454 as_fn_error $? "cannot run C compiled programs.
   3455 If you meant to cross compile, use \`--host'.
   3456 See \`config.log' for more details" "$LINENO" 5; }
   3457     fi
   3458   fi
   3459 fi
   3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3461 $as_echo "$cross_compiling" >&6; }
   3462 
   3463 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3464 ac_clean_files=$ac_clean_files_save
   3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3466 $as_echo_n "checking for suffix of object files... " >&6; }
   3467 if ${ac_cv_objext+:} false; then :
   3468   $as_echo_n "(cached) " >&6
   3469 else
   3470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3471 /* end confdefs.h.  */
   3472 
   3473 int
   3474 main ()
   3475 {
   3476 
   3477   ;
   3478   return 0;
   3479 }
   3480 _ACEOF
   3481 rm -f conftest.o conftest.obj
   3482 if { { ac_try="$ac_compile"
   3483 case "(($ac_try" in
   3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3485   *) ac_try_echo=$ac_try;;
   3486 esac
   3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3488 $as_echo "$ac_try_echo"; } >&5
   3489   (eval "$ac_compile") 2>&5
   3490   ac_status=$?
   3491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3492   test $ac_status = 0; }; then :
   3493   for ac_file in conftest.o conftest.obj conftest.*; do
   3494   test -f "$ac_file" || continue;
   3495   case $ac_file in
   3496     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3497     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3498        break;;
   3499   esac
   3500 done
   3501 else
   3502   $as_echo "$as_me: failed program was:" >&5
   3503 sed 's/^/| /' conftest.$ac_ext >&5
   3504 
   3505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3507 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3508 See \`config.log' for more details" "$LINENO" 5; }
   3509 fi
   3510 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3511 fi
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3513 $as_echo "$ac_cv_objext" >&6; }
   3514 OBJEXT=$ac_cv_objext
   3515 ac_objext=$OBJEXT
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3517 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3518 if ${ac_cv_c_compiler_gnu+:} false; then :
   3519   $as_echo_n "(cached) " >&6
   3520 else
   3521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3522 /* end confdefs.h.  */
   3523 
   3524 int
   3525 main ()
   3526 {
   3527 #ifndef __GNUC__
   3528        choke me
   3529 #endif
   3530 
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 if ac_fn_c_try_compile "$LINENO"; then :
   3536   ac_compiler_gnu=yes
   3537 else
   3538   ac_compiler_gnu=no
   3539 fi
   3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3541 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3542 
   3543 fi
   3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3545 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3546 if test $ac_compiler_gnu = yes; then
   3547   GCC=yes
   3548 else
   3549   GCC=
   3550 fi
   3551 ac_test_CFLAGS=${CFLAGS+set}
   3552 ac_save_CFLAGS=$CFLAGS
   3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3554 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3555 if ${ac_cv_prog_cc_g+:} false; then :
   3556   $as_echo_n "(cached) " >&6
   3557 else
   3558   ac_save_c_werror_flag=$ac_c_werror_flag
   3559    ac_c_werror_flag=yes
   3560    ac_cv_prog_cc_g=no
   3561    CFLAGS="-g"
   3562    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3563 /* end confdefs.h.  */
   3564 
   3565 int
   3566 main ()
   3567 {
   3568 
   3569   ;
   3570   return 0;
   3571 }
   3572 _ACEOF
   3573 if ac_fn_c_try_compile "$LINENO"; then :
   3574   ac_cv_prog_cc_g=yes
   3575 else
   3576   CFLAGS=""
   3577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3578 /* end confdefs.h.  */
   3579 
   3580 int
   3581 main ()
   3582 {
   3583 
   3584   ;
   3585   return 0;
   3586 }
   3587 _ACEOF
   3588 if ac_fn_c_try_compile "$LINENO"; then :
   3589 
   3590 else
   3591   ac_c_werror_flag=$ac_save_c_werror_flag
   3592 	 CFLAGS="-g"
   3593 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3594 /* end confdefs.h.  */
   3595 
   3596 int
   3597 main ()
   3598 {
   3599 
   3600   ;
   3601   return 0;
   3602 }
   3603 _ACEOF
   3604 if ac_fn_c_try_compile "$LINENO"; then :
   3605   ac_cv_prog_cc_g=yes
   3606 fi
   3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3608 fi
   3609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3610 fi
   3611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3612    ac_c_werror_flag=$ac_save_c_werror_flag
   3613 fi
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3615 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3616 if test "$ac_test_CFLAGS" = set; then
   3617   CFLAGS=$ac_save_CFLAGS
   3618 elif test $ac_cv_prog_cc_g = yes; then
   3619   if test "$GCC" = yes; then
   3620     CFLAGS="-g -O2"
   3621   else
   3622     CFLAGS="-g"
   3623   fi
   3624 else
   3625   if test "$GCC" = yes; then
   3626     CFLAGS="-O2"
   3627   else
   3628     CFLAGS=
   3629   fi
   3630 fi
   3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3632 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3633 if ${ac_cv_prog_cc_c89+:} false; then :
   3634   $as_echo_n "(cached) " >&6
   3635 else
   3636   ac_cv_prog_cc_c89=no
   3637 ac_save_CC=$CC
   3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3639 /* end confdefs.h.  */
   3640 #include <stdarg.h>
   3641 #include <stdio.h>
   3642 #include <sys/types.h>
   3643 #include <sys/stat.h>
   3644 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3645 struct buf { int x; };
   3646 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3647 static char *e (p, i)
   3648      char **p;
   3649      int i;
   3650 {
   3651   return p[i];
   3652 }
   3653 static char *f (char * (*g) (char **, int), char **p, ...)
   3654 {
   3655   char *s;
   3656   va_list v;
   3657   va_start (v,p);
   3658   s = g (p, va_arg (v,int));
   3659   va_end (v);
   3660   return s;
   3661 }
   3662 
   3663 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3664    function prototypes and stuff, but not '\xHH' hex character constants.
   3665    These don't provoke an error unfortunately, instead are silently treated
   3666    as 'x'.  The following induces an error, until -std is added to get
   3667    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3668    array size at least.  It's necessary to write '\x00'==0 to get something
   3669    that's true only with -std.  */
   3670 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3671 
   3672 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3673    inside strings and character constants.  */
   3674 #define FOO(x) 'x'
   3675 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3676 
   3677 int test (int i, double x);
   3678 struct s1 {int (*f) (int a);};
   3679 struct s2 {int (*f) (double a);};
   3680 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3681 int argc;
   3682 char **argv;
   3683 int
   3684 main ()
   3685 {
   3686 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3687   ;
   3688   return 0;
   3689 }
   3690 _ACEOF
   3691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3692 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3693 do
   3694   CC="$ac_save_CC $ac_arg"
   3695   if ac_fn_c_try_compile "$LINENO"; then :
   3696   ac_cv_prog_cc_c89=$ac_arg
   3697 fi
   3698 rm -f core conftest.err conftest.$ac_objext
   3699   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3700 done
   3701 rm -f conftest.$ac_ext
   3702 CC=$ac_save_CC
   3703 
   3704 fi
   3705 # AC_CACHE_VAL
   3706 case "x$ac_cv_prog_cc_c89" in
   3707   x)
   3708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3709 $as_echo "none needed" >&6; } ;;
   3710   xno)
   3711     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3712 $as_echo "unsupported" >&6; } ;;
   3713   *)
   3714     CC="$CC $ac_cv_prog_cc_c89"
   3715     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3716 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3717 esac
   3718 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3719 
   3720 fi
   3721 
   3722 ac_ext=c
   3723 ac_cpp='$CPP $CPPFLAGS'
   3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3727 DEPDIR="${am__leading_dot}deps"
   3728 
   3729 ac_config_commands="$ac_config_commands depfiles"
   3730 
   3731 
   3732 am_make=${MAKE-make}
   3733 cat > confinc << 'END'
   3734 am__doit:
   3735 	@echo this is the am__doit target
   3736 .PHONY: am__doit
   3737 END
   3738 # If we don't find an include directive, just comment out the code.
   3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3740 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3741 am__include="#"
   3742 am__quote=
   3743 _am_result=none
   3744 # First try GNU make style include.
   3745 echo "include confinc" > confmf
   3746 # Ignore all kinds of additional output from `make'.
   3747 case `$am_make -s -f confmf 2> /dev/null` in #(
   3748 *the\ am__doit\ target*)
   3749   am__include=include
   3750   am__quote=
   3751   _am_result=GNU
   3752   ;;
   3753 esac
   3754 # Now try BSD make style include.
   3755 if test "$am__include" = "#"; then
   3756    echo '.include "confinc"' > confmf
   3757    case `$am_make -s -f confmf 2> /dev/null` in #(
   3758    *the\ am__doit\ target*)
   3759      am__include=.include
   3760      am__quote="\""
   3761      _am_result=BSD
   3762      ;;
   3763    esac
   3764 fi
   3765 
   3766 
   3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3768 $as_echo "$_am_result" >&6; }
   3769 rm -f confinc confmf
   3770 
   3771 # Check whether --enable-dependency-tracking was given.
   3772 if test "${enable_dependency_tracking+set}" = set; then :
   3773   enableval=$enable_dependency_tracking;
   3774 fi
   3775 
   3776 if test "x$enable_dependency_tracking" != xno; then
   3777   am_depcomp="$ac_aux_dir/depcomp"
   3778   AMDEPBACKSLASH='\'
   3779 fi
   3780  if test "x$enable_dependency_tracking" != xno; then
   3781   AMDEP_TRUE=
   3782   AMDEP_FALSE='#'
   3783 else
   3784   AMDEP_TRUE='#'
   3785   AMDEP_FALSE=
   3786 fi
   3787 
   3788 
   3789 
   3790 depcc="$CC"   am_compiler_list=
   3791 
   3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3793 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3794 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3795   $as_echo_n "(cached) " >&6
   3796 else
   3797   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3798   # We make a subdir and do the tests there.  Otherwise we can end up
   3799   # making bogus files that we don't know about and never remove.  For
   3800   # instance it was reported that on HP-UX the gcc test will end up
   3801   # making a dummy file named `D' -- because `-MD' means `put the output
   3802   # in D'.
   3803   mkdir conftest.dir
   3804   # Copy depcomp to subdir because otherwise we won't find it if we're
   3805   # using a relative directory.
   3806   cp "$am_depcomp" conftest.dir
   3807   cd conftest.dir
   3808   # We will build objects and dependencies in a subdirectory because
   3809   # it helps to detect inapplicable dependency modes.  For instance
   3810   # both Tru64's cc and ICC support -MD to output dependencies as a
   3811   # side effect of compilation, but ICC will put the dependencies in
   3812   # the current directory while Tru64 will put them in the object
   3813   # directory.
   3814   mkdir sub
   3815 
   3816   am_cv_CC_dependencies_compiler_type=none
   3817   if test "$am_compiler_list" = ""; then
   3818      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3819   fi
   3820   am__universal=false
   3821   case " $depcc " in #(
   3822      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3823      esac
   3824 
   3825   for depmode in $am_compiler_list; do
   3826     # Setup a source with many dependencies, because some compilers
   3827     # like to wrap large dependency lists on column 80 (with \), and
   3828     # we should not choose a depcomp mode which is confused by this.
   3829     #
   3830     # We need to recreate these files for each test, as the compiler may
   3831     # overwrite some of them when testing with obscure command lines.
   3832     # This happens at least with the AIX C compiler.
   3833     : > sub/conftest.c
   3834     for i in 1 2 3 4 5 6; do
   3835       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3836       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3837       # Solaris 8's {/usr,}/bin/sh.
   3838       touch sub/conftst$i.h
   3839     done
   3840     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3841 
   3842     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3843     # mode.  It turns out that the SunPro C++ compiler does not properly
   3844     # handle `-M -o', and we need to detect this.  Also, some Intel
   3845     # versions had trouble with output in subdirs
   3846     am__obj=sub/conftest.${OBJEXT-o}
   3847     am__minus_obj="-o $am__obj"
   3848     case $depmode in
   3849     gcc)
   3850       # This depmode causes a compiler race in universal mode.
   3851       test "$am__universal" = false || continue
   3852       ;;
   3853     nosideeffect)
   3854       # after this tag, mechanisms are not by side-effect, so they'll
   3855       # only be used when explicitly requested
   3856       if test "x$enable_dependency_tracking" = xyes; then
   3857 	continue
   3858       else
   3859 	break
   3860       fi
   3861       ;;
   3862     msvisualcpp | msvcmsys)
   3863       # This compiler won't grok `-c -o', but also, the minuso test has
   3864       # not run yet.  These depmodes are late enough in the game, and
   3865       # so weak that their functioning should not be impacted.
   3866       am__obj=conftest.${OBJEXT-o}
   3867       am__minus_obj=
   3868       ;;
   3869     none) break ;;
   3870     esac
   3871     if depmode=$depmode \
   3872        source=sub/conftest.c object=$am__obj \
   3873        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3874        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3875          >/dev/null 2>conftest.err &&
   3876        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3877        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3878        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3879        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3880       # icc doesn't choke on unknown options, it will just issue warnings
   3881       # or remarks (even with -Werror).  So we grep stderr for any message
   3882       # that says an option was ignored or not supported.
   3883       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3884       #   icc: Command line warning: ignoring option '-M'; no argument required
   3885       # The diagnosis changed in icc 8.0:
   3886       #   icc: Command line remark: option '-MP' not supported
   3887       if (grep 'ignoring option' conftest.err ||
   3888           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3889         am_cv_CC_dependencies_compiler_type=$depmode
   3890         break
   3891       fi
   3892     fi
   3893   done
   3894 
   3895   cd ..
   3896   rm -rf conftest.dir
   3897 else
   3898   am_cv_CC_dependencies_compiler_type=none
   3899 fi
   3900 
   3901 fi
   3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3903 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3904 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3905 
   3906  if
   3907   test "x$enable_dependency_tracking" != xno \
   3908   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3909   am__fastdepCC_TRUE=
   3910   am__fastdepCC_FALSE='#'
   3911 else
   3912   am__fastdepCC_TRUE='#'
   3913   am__fastdepCC_FALSE=
   3914 fi
   3915 
   3916 
   3917 
   3918 case `pwd` in
   3919   *\ * | *\	*)
   3920     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3921 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3922 esac
   3923 
   3924 
   3925 
   3926 macro_version='2.4'
   3927 macro_revision='1.3293'
   3928 
   3929 
   3930 
   3931 
   3932 
   3933 
   3934 
   3935 
   3936 
   3937 
   3938 
   3939 
   3940 
   3941 ltmain="$ac_aux_dir/ltmain.sh"
   3942 
   3943 # Backslashify metacharacters that are still active within
   3944 # double-quoted strings.
   3945 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3946 
   3947 # Same as above, but do not quote variable references.
   3948 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3949 
   3950 # Sed substitution to delay expansion of an escaped shell variable in a
   3951 # double_quote_subst'ed string.
   3952 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3953 
   3954 # Sed substitution to delay expansion of an escaped single quote.
   3955 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3956 
   3957 # Sed substitution to avoid accidental globbing in evaled expressions
   3958 no_glob_subst='s/\*/\\\*/g'
   3959 
   3960 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3961 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3962 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3963 
   3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3965 $as_echo_n "checking how to print strings... " >&6; }
   3966 # Test print first, because it will be a builtin if present.
   3967 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3968    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3969   ECHO='print -r --'
   3970 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3971   ECHO='printf %s\n'
   3972 else
   3973   # Use this function as a fallback that always works.
   3974   func_fallback_echo ()
   3975   {
   3976     eval 'cat <<_LTECHO_EOF
   3977 $1
   3978 _LTECHO_EOF'
   3979   }
   3980   ECHO='func_fallback_echo'
   3981 fi
   3982 
   3983 # func_echo_all arg...
   3984 # Invoke $ECHO with all args, space-separated.
   3985 func_echo_all ()
   3986 {
   3987     $ECHO ""
   3988 }
   3989 
   3990 case "$ECHO" in
   3991   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3992 $as_echo "printf" >&6; } ;;
   3993   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3994 $as_echo "print -r" >&6; } ;;
   3995   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3996 $as_echo "cat" >&6; } ;;
   3997 esac
   3998 
   3999 
   4000 
   4001 
   4002 
   4003 
   4004 
   4005 
   4006 
   4007 
   4008 
   4009 
   4010 
   4011 
   4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4013 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4014 if ${ac_cv_path_SED+:} false; then :
   4015   $as_echo_n "(cached) " >&6
   4016 else
   4017             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4018      for ac_i in 1 2 3 4 5 6 7; do
   4019        ac_script="$ac_script$as_nl$ac_script"
   4020      done
   4021      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4022      { ac_script=; unset ac_script;}
   4023      if test -z "$SED"; then
   4024   ac_path_SED_found=false
   4025   # Loop through the user's path and test for each of PROGNAME-LIST
   4026   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4027 for as_dir in $PATH
   4028 do
   4029   IFS=$as_save_IFS
   4030   test -z "$as_dir" && as_dir=.
   4031     for ac_prog in sed gsed; do
   4032     for ac_exec_ext in '' $ac_executable_extensions; do
   4033       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4034       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4035 # Check for GNU ac_path_SED and select it if it is found.
   4036   # Check for GNU $ac_path_SED
   4037 case `"$ac_path_SED" --version 2>&1` in
   4038 *GNU*)
   4039   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4040 *)
   4041   ac_count=0
   4042   $as_echo_n 0123456789 >"conftest.in"
   4043   while :
   4044   do
   4045     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4046     mv "conftest.tmp" "conftest.in"
   4047     cp "conftest.in" "conftest.nl"
   4048     $as_echo '' >> "conftest.nl"
   4049     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4050     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4051     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4052     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4053       # Best one so far, save it but keep looking for a better one
   4054       ac_cv_path_SED="$ac_path_SED"
   4055       ac_path_SED_max=$ac_count
   4056     fi
   4057     # 10*(2^10) chars as input seems more than enough
   4058     test $ac_count -gt 10 && break
   4059   done
   4060   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4061 esac
   4062 
   4063       $ac_path_SED_found && break 3
   4064     done
   4065   done
   4066   done
   4067 IFS=$as_save_IFS
   4068   if test -z "$ac_cv_path_SED"; then
   4069     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4070   fi
   4071 else
   4072   ac_cv_path_SED=$SED
   4073 fi
   4074 
   4075 fi
   4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4077 $as_echo "$ac_cv_path_SED" >&6; }
   4078  SED="$ac_cv_path_SED"
   4079   rm -f conftest.sed
   4080 
   4081 test -z "$SED" && SED=sed
   4082 Xsed="$SED -e 1s/^X//"
   4083 
   4084 
   4085 
   4086 
   4087 
   4088 
   4089 
   4090 
   4091 
   4092 
   4093 
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4095 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4096 if ${ac_cv_path_GREP+:} false; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   if test -z "$GREP"; then
   4100   ac_path_GREP_found=false
   4101   # Loop through the user's path and test for each of PROGNAME-LIST
   4102   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4104 do
   4105   IFS=$as_save_IFS
   4106   test -z "$as_dir" && as_dir=.
   4107     for ac_prog in grep ggrep; do
   4108     for ac_exec_ext in '' $ac_executable_extensions; do
   4109       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4110       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4111 # Check for GNU ac_path_GREP and select it if it is found.
   4112   # Check for GNU $ac_path_GREP
   4113 case `"$ac_path_GREP" --version 2>&1` in
   4114 *GNU*)
   4115   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4116 *)
   4117   ac_count=0
   4118   $as_echo_n 0123456789 >"conftest.in"
   4119   while :
   4120   do
   4121     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4122     mv "conftest.tmp" "conftest.in"
   4123     cp "conftest.in" "conftest.nl"
   4124     $as_echo 'GREP' >> "conftest.nl"
   4125     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4126     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4127     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4128     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4129       # Best one so far, save it but keep looking for a better one
   4130       ac_cv_path_GREP="$ac_path_GREP"
   4131       ac_path_GREP_max=$ac_count
   4132     fi
   4133     # 10*(2^10) chars as input seems more than enough
   4134     test $ac_count -gt 10 && break
   4135   done
   4136   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4137 esac
   4138 
   4139       $ac_path_GREP_found && break 3
   4140     done
   4141   done
   4142   done
   4143 IFS=$as_save_IFS
   4144   if test -z "$ac_cv_path_GREP"; then
   4145     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4146   fi
   4147 else
   4148   ac_cv_path_GREP=$GREP
   4149 fi
   4150 
   4151 fi
   4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4153 $as_echo "$ac_cv_path_GREP" >&6; }
   4154  GREP="$ac_cv_path_GREP"
   4155 
   4156 
   4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4158 $as_echo_n "checking for egrep... " >&6; }
   4159 if ${ac_cv_path_EGREP+:} false; then :
   4160   $as_echo_n "(cached) " >&6
   4161 else
   4162   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4163    then ac_cv_path_EGREP="$GREP -E"
   4164    else
   4165      if test -z "$EGREP"; then
   4166   ac_path_EGREP_found=false
   4167   # Loop through the user's path and test for each of PROGNAME-LIST
   4168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4170 do
   4171   IFS=$as_save_IFS
   4172   test -z "$as_dir" && as_dir=.
   4173     for ac_prog in egrep; do
   4174     for ac_exec_ext in '' $ac_executable_extensions; do
   4175       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4176       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4177 # Check for GNU ac_path_EGREP and select it if it is found.
   4178   # Check for GNU $ac_path_EGREP
   4179 case `"$ac_path_EGREP" --version 2>&1` in
   4180 *GNU*)
   4181   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4182 *)
   4183   ac_count=0
   4184   $as_echo_n 0123456789 >"conftest.in"
   4185   while :
   4186   do
   4187     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4188     mv "conftest.tmp" "conftest.in"
   4189     cp "conftest.in" "conftest.nl"
   4190     $as_echo 'EGREP' >> "conftest.nl"
   4191     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4192     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4193     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4194     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4195       # Best one so far, save it but keep looking for a better one
   4196       ac_cv_path_EGREP="$ac_path_EGREP"
   4197       ac_path_EGREP_max=$ac_count
   4198     fi
   4199     # 10*(2^10) chars as input seems more than enough
   4200     test $ac_count -gt 10 && break
   4201   done
   4202   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4203 esac
   4204 
   4205       $ac_path_EGREP_found && break 3
   4206     done
   4207   done
   4208   done
   4209 IFS=$as_save_IFS
   4210   if test -z "$ac_cv_path_EGREP"; then
   4211     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4212   fi
   4213 else
   4214   ac_cv_path_EGREP=$EGREP
   4215 fi
   4216 
   4217    fi
   4218 fi
   4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4220 $as_echo "$ac_cv_path_EGREP" >&6; }
   4221  EGREP="$ac_cv_path_EGREP"
   4222 
   4223 
   4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4225 $as_echo_n "checking for fgrep... " >&6; }
   4226 if ${ac_cv_path_FGREP+:} false; then :
   4227   $as_echo_n "(cached) " >&6
   4228 else
   4229   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4230    then ac_cv_path_FGREP="$GREP -F"
   4231    else
   4232      if test -z "$FGREP"; then
   4233   ac_path_FGREP_found=false
   4234   # Loop through the user's path and test for each of PROGNAME-LIST
   4235   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4237 do
   4238   IFS=$as_save_IFS
   4239   test -z "$as_dir" && as_dir=.
   4240     for ac_prog in fgrep; do
   4241     for ac_exec_ext in '' $ac_executable_extensions; do
   4242       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4243       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4244 # Check for GNU ac_path_FGREP and select it if it is found.
   4245   # Check for GNU $ac_path_FGREP
   4246 case `"$ac_path_FGREP" --version 2>&1` in
   4247 *GNU*)
   4248   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4249 *)
   4250   ac_count=0
   4251   $as_echo_n 0123456789 >"conftest.in"
   4252   while :
   4253   do
   4254     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4255     mv "conftest.tmp" "conftest.in"
   4256     cp "conftest.in" "conftest.nl"
   4257     $as_echo 'FGREP' >> "conftest.nl"
   4258     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4259     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4260     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4261     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4262       # Best one so far, save it but keep looking for a better one
   4263       ac_cv_path_FGREP="$ac_path_FGREP"
   4264       ac_path_FGREP_max=$ac_count
   4265     fi
   4266     # 10*(2^10) chars as input seems more than enough
   4267     test $ac_count -gt 10 && break
   4268   done
   4269   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4270 esac
   4271 
   4272       $ac_path_FGREP_found && break 3
   4273     done
   4274   done
   4275   done
   4276 IFS=$as_save_IFS
   4277   if test -z "$ac_cv_path_FGREP"; then
   4278     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4279   fi
   4280 else
   4281   ac_cv_path_FGREP=$FGREP
   4282 fi
   4283 
   4284    fi
   4285 fi
   4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4287 $as_echo "$ac_cv_path_FGREP" >&6; }
   4288  FGREP="$ac_cv_path_FGREP"
   4289 
   4290 
   4291 test -z "$GREP" && GREP=grep
   4292 
   4293 
   4294 
   4295 
   4296 
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 # Check whether --with-gnu-ld was given.
   4312 if test "${with_gnu_ld+set}" = set; then :
   4313   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4314 else
   4315   with_gnu_ld=no
   4316 fi
   4317 
   4318 ac_prog=ld
   4319 if test "$GCC" = yes; then
   4320   # Check if gcc -print-prog-name=ld gives a path.
   4321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4322 $as_echo_n "checking for ld used by $CC... " >&6; }
   4323   case $host in
   4324   *-*-mingw*)
   4325     # gcc leaves a trailing carriage return which upsets mingw
   4326     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4327   *)
   4328     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4329   esac
   4330   case $ac_prog in
   4331     # Accept absolute paths.
   4332     [\\/]* | ?:[\\/]*)
   4333       re_direlt='/[^/][^/]*/\.\./'
   4334       # Canonicalize the pathname of ld
   4335       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4336       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4337 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4338       done
   4339       test -z "$LD" && LD="$ac_prog"
   4340       ;;
   4341   "")
   4342     # If it fails, then pretend we aren't using GCC.
   4343     ac_prog=ld
   4344     ;;
   4345   *)
   4346     # If it is relative, then search for the first ld in PATH.
   4347     with_gnu_ld=unknown
   4348     ;;
   4349   esac
   4350 elif test "$with_gnu_ld" = yes; then
   4351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4352 $as_echo_n "checking for GNU ld... " >&6; }
   4353 else
   4354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4355 $as_echo_n "checking for non-GNU ld... " >&6; }
   4356 fi
   4357 if ${lt_cv_path_LD+:} false; then :
   4358   $as_echo_n "(cached) " >&6
   4359 else
   4360   if test -z "$LD"; then
   4361   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4362   for ac_dir in $PATH; do
   4363     IFS="$lt_save_ifs"
   4364     test -z "$ac_dir" && ac_dir=.
   4365     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4366       lt_cv_path_LD="$ac_dir/$ac_prog"
   4367       # Check to see if the program is GNU ld.  I'd rather use --version,
   4368       # but apparently some variants of GNU ld only accept -v.
   4369       # Break only if it was the GNU/non-GNU ld that we prefer.
   4370       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4371       *GNU* | *'with BFD'*)
   4372 	test "$with_gnu_ld" != no && break
   4373 	;;
   4374       *)
   4375 	test "$with_gnu_ld" != yes && break
   4376 	;;
   4377       esac
   4378     fi
   4379   done
   4380   IFS="$lt_save_ifs"
   4381 else
   4382   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4383 fi
   4384 fi
   4385 
   4386 LD="$lt_cv_path_LD"
   4387 if test -n "$LD"; then
   4388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4389 $as_echo "$LD" >&6; }
   4390 else
   4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4392 $as_echo "no" >&6; }
   4393 fi
   4394 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4396 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4397 if ${lt_cv_prog_gnu_ld+:} false; then :
   4398   $as_echo_n "(cached) " >&6
   4399 else
   4400   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4401 case `$LD -v 2>&1 </dev/null` in
   4402 *GNU* | *'with BFD'*)
   4403   lt_cv_prog_gnu_ld=yes
   4404   ;;
   4405 *)
   4406   lt_cv_prog_gnu_ld=no
   4407   ;;
   4408 esac
   4409 fi
   4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4411 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4412 with_gnu_ld=$lt_cv_prog_gnu_ld
   4413 
   4414 
   4415 
   4416 
   4417 
   4418 
   4419 
   4420 
   4421 
   4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4423 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4424 if ${lt_cv_path_NM+:} false; then :
   4425   $as_echo_n "(cached) " >&6
   4426 else
   4427   if test -n "$NM"; then
   4428   # Let the user override the test.
   4429   lt_cv_path_NM="$NM"
   4430 else
   4431   lt_nm_to_check="${ac_tool_prefix}nm"
   4432   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4433     lt_nm_to_check="$lt_nm_to_check nm"
   4434   fi
   4435   for lt_tmp_nm in $lt_nm_to_check; do
   4436     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4437     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4438       IFS="$lt_save_ifs"
   4439       test -z "$ac_dir" && ac_dir=.
   4440       tmp_nm="$ac_dir/$lt_tmp_nm"
   4441       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4442 	# Check to see if the nm accepts a BSD-compat flag.
   4443 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4444 	#   nm: unknown option "B" ignored
   4445 	# Tru64's nm complains that /dev/null is an invalid object file
   4446 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4447 	*/dev/null* | *'Invalid file or object type'*)
   4448 	  lt_cv_path_NM="$tmp_nm -B"
   4449 	  break
   4450 	  ;;
   4451 	*)
   4452 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4453 	  */dev/null*)
   4454 	    lt_cv_path_NM="$tmp_nm -p"
   4455 	    break
   4456 	    ;;
   4457 	  *)
   4458 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4459 	    continue # so that we can try to find one that supports BSD flags
   4460 	    ;;
   4461 	  esac
   4462 	  ;;
   4463 	esac
   4464       fi
   4465     done
   4466     IFS="$lt_save_ifs"
   4467   done
   4468   : ${lt_cv_path_NM=no}
   4469 fi
   4470 fi
   4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4472 $as_echo "$lt_cv_path_NM" >&6; }
   4473 if test "$lt_cv_path_NM" != "no"; then
   4474   NM="$lt_cv_path_NM"
   4475 else
   4476   # Didn't find any BSD compatible name lister, look for dumpbin.
   4477   if test -n "$DUMPBIN"; then :
   4478     # Let the user override the test.
   4479   else
   4480     if test -n "$ac_tool_prefix"; then
   4481   for ac_prog in dumpbin "link -dump"
   4482   do
   4483     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4486 $as_echo_n "checking for $ac_word... " >&6; }
   4487 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4488   $as_echo_n "(cached) " >&6
   4489 else
   4490   if test -n "$DUMPBIN"; then
   4491   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4492 else
   4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4494 for as_dir in $PATH
   4495 do
   4496   IFS=$as_save_IFS
   4497   test -z "$as_dir" && as_dir=.
   4498     for ac_exec_ext in '' $ac_executable_extensions; do
   4499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4500     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4502     break 2
   4503   fi
   4504 done
   4505   done
   4506 IFS=$as_save_IFS
   4507 
   4508 fi
   4509 fi
   4510 DUMPBIN=$ac_cv_prog_DUMPBIN
   4511 if test -n "$DUMPBIN"; then
   4512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4513 $as_echo "$DUMPBIN" >&6; }
   4514 else
   4515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4516 $as_echo "no" >&6; }
   4517 fi
   4518 
   4519 
   4520     test -n "$DUMPBIN" && break
   4521   done
   4522 fi
   4523 if test -z "$DUMPBIN"; then
   4524   ac_ct_DUMPBIN=$DUMPBIN
   4525   for ac_prog in dumpbin "link -dump"
   4526 do
   4527   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4528 set dummy $ac_prog; ac_word=$2
   4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4530 $as_echo_n "checking for $ac_word... " >&6; }
   4531 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4532   $as_echo_n "(cached) " >&6
   4533 else
   4534   if test -n "$ac_ct_DUMPBIN"; then
   4535   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4536 else
   4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4538 for as_dir in $PATH
   4539 do
   4540   IFS=$as_save_IFS
   4541   test -z "$as_dir" && as_dir=.
   4542     for ac_exec_ext in '' $ac_executable_extensions; do
   4543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4544     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4546     break 2
   4547   fi
   4548 done
   4549   done
   4550 IFS=$as_save_IFS
   4551 
   4552 fi
   4553 fi
   4554 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4555 if test -n "$ac_ct_DUMPBIN"; then
   4556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4557 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4558 else
   4559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4560 $as_echo "no" >&6; }
   4561 fi
   4562 
   4563 
   4564   test -n "$ac_ct_DUMPBIN" && break
   4565 done
   4566 
   4567   if test "x$ac_ct_DUMPBIN" = x; then
   4568     DUMPBIN=":"
   4569   else
   4570     case $cross_compiling:$ac_tool_warned in
   4571 yes:)
   4572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4574 ac_tool_warned=yes ;;
   4575 esac
   4576     DUMPBIN=$ac_ct_DUMPBIN
   4577   fi
   4578 fi
   4579 
   4580     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4581     *COFF*)
   4582       DUMPBIN="$DUMPBIN -symbols"
   4583       ;;
   4584     *)
   4585       DUMPBIN=:
   4586       ;;
   4587     esac
   4588   fi
   4589 
   4590   if test "$DUMPBIN" != ":"; then
   4591     NM="$DUMPBIN"
   4592   fi
   4593 fi
   4594 test -z "$NM" && NM=nm
   4595 
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4602 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4603 if ${lt_cv_nm_interface+:} false; then :
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606   lt_cv_nm_interface="BSD nm"
   4607   echo "int some_variable = 0;" > conftest.$ac_ext
   4608   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4609   (eval "$ac_compile" 2>conftest.err)
   4610   cat conftest.err >&5
   4611   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4612   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4613   cat conftest.err >&5
   4614   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4615   cat conftest.out >&5
   4616   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4617     lt_cv_nm_interface="MS dumpbin"
   4618   fi
   4619   rm -f conftest*
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4622 $as_echo "$lt_cv_nm_interface" >&6; }
   4623 
   4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4625 $as_echo_n "checking whether ln -s works... " >&6; }
   4626 LN_S=$as_ln_s
   4627 if test "$LN_S" = "ln -s"; then
   4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4629 $as_echo "yes" >&6; }
   4630 else
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4632 $as_echo "no, using $LN_S" >&6; }
   4633 fi
   4634 
   4635 # find the maximum length of command line arguments
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4637 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4638 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4639   $as_echo_n "(cached) " >&6
   4640 else
   4641     i=0
   4642   teststring="ABCD"
   4643 
   4644   case $build_os in
   4645   msdosdjgpp*)
   4646     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4647     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4648     # during glob expansion).  Even if it were fixed, the result of this
   4649     # check would be larger than it should be.
   4650     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4651     ;;
   4652 
   4653   gnu*)
   4654     # Under GNU Hurd, this test is not required because there is
   4655     # no limit to the length of command line arguments.
   4656     # Libtool will interpret -1 as no limit whatsoever
   4657     lt_cv_sys_max_cmd_len=-1;
   4658     ;;
   4659 
   4660   cygwin* | mingw* | cegcc*)
   4661     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4662     # about 5 minutes as the teststring grows exponentially.
   4663     # Worse, since 9x/ME are not pre-emptively multitasking,
   4664     # you end up with a "frozen" computer, even though with patience
   4665     # the test eventually succeeds (with a max line length of 256k).
   4666     # Instead, let's just punt: use the minimum linelength reported by
   4667     # all of the supported platforms: 8192 (on NT/2K/XP).
   4668     lt_cv_sys_max_cmd_len=8192;
   4669     ;;
   4670 
   4671   mint*)
   4672     # On MiNT this can take a long time and run out of memory.
   4673     lt_cv_sys_max_cmd_len=8192;
   4674     ;;
   4675 
   4676   amigaos*)
   4677     # On AmigaOS with pdksh, this test takes hours, literally.
   4678     # So we just punt and use a minimum line length of 8192.
   4679     lt_cv_sys_max_cmd_len=8192;
   4680     ;;
   4681 
   4682   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4683     # This has been around since 386BSD, at least.  Likely further.
   4684     if test -x /sbin/sysctl; then
   4685       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4686     elif test -x /usr/sbin/sysctl; then
   4687       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4688     else
   4689       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4690     fi
   4691     # And add a safety zone
   4692     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4693     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4694     ;;
   4695 
   4696   interix*)
   4697     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4698     lt_cv_sys_max_cmd_len=196608
   4699     ;;
   4700 
   4701   osf*)
   4702     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4703     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4704     # nice to cause kernel panics so lets avoid the loop below.
   4705     # First set a reasonable default.
   4706     lt_cv_sys_max_cmd_len=16384
   4707     #
   4708     if test -x /sbin/sysconfig; then
   4709       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4710         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4711       esac
   4712     fi
   4713     ;;
   4714   sco3.2v5*)
   4715     lt_cv_sys_max_cmd_len=102400
   4716     ;;
   4717   sysv5* | sco5v6* | sysv4.2uw2*)
   4718     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4719     if test -n "$kargmax"; then
   4720       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4721     else
   4722       lt_cv_sys_max_cmd_len=32768
   4723     fi
   4724     ;;
   4725   *)
   4726     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4727     if test -n "$lt_cv_sys_max_cmd_len"; then
   4728       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4729       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4730     else
   4731       # Make teststring a little bigger before we do anything with it.
   4732       # a 1K string should be a reasonable start.
   4733       for i in 1 2 3 4 5 6 7 8 ; do
   4734         teststring=$teststring$teststring
   4735       done
   4736       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4737       # If test is not a shell built-in, we'll probably end up computing a
   4738       # maximum length that is only half of the actual maximum length, but
   4739       # we can't tell.
   4740       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4741 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4742 	      test $i != 17 # 1/2 MB should be enough
   4743       do
   4744         i=`expr $i + 1`
   4745         teststring=$teststring$teststring
   4746       done
   4747       # Only check the string length outside the loop.
   4748       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4749       teststring=
   4750       # Add a significant safety factor because C++ compilers can tack on
   4751       # massive amounts of additional arguments before passing them to the
   4752       # linker.  It appears as though 1/2 is a usable value.
   4753       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4754     fi
   4755     ;;
   4756   esac
   4757 
   4758 fi
   4759 
   4760 if test -n $lt_cv_sys_max_cmd_len ; then
   4761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4762 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4763 else
   4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4765 $as_echo "none" >&6; }
   4766 fi
   4767 max_cmd_len=$lt_cv_sys_max_cmd_len
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 : ${CP="cp -f"}
   4775 : ${MV="mv -f"}
   4776 : ${RM="rm -f"}
   4777 
   4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4779 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4780 # Try some XSI features
   4781 xsi_shell=no
   4782 ( _lt_dummy="a/b/c"
   4783   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4784       = c,a/b,b/c, \
   4785     && eval 'test $(( 1 + 1 )) -eq 2 \
   4786     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4787   && xsi_shell=yes
   4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4789 $as_echo "$xsi_shell" >&6; }
   4790 
   4791 
   4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4793 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4794 lt_shell_append=no
   4795 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4796     >/dev/null 2>&1 \
   4797   && lt_shell_append=yes
   4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4799 $as_echo "$lt_shell_append" >&6; }
   4800 
   4801 
   4802 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4803   lt_unset=unset
   4804 else
   4805   lt_unset=false
   4806 fi
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 # test EBCDIC or ASCII
   4813 case `echo X|tr X '\101'` in
   4814  A) # ASCII based system
   4815     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4816   lt_SP2NL='tr \040 \012'
   4817   lt_NL2SP='tr \015\012 \040\040'
   4818   ;;
   4819  *) # EBCDIC based system
   4820   lt_SP2NL='tr \100 \n'
   4821   lt_NL2SP='tr \r\n \100\100'
   4822   ;;
   4823 esac
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4834 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4835 if ${lt_cv_to_host_file_cmd+:} false; then :
   4836   $as_echo_n "(cached) " >&6
   4837 else
   4838   case $host in
   4839   *-*-mingw* )
   4840     case $build in
   4841       *-*-mingw* ) # actually msys
   4842         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4843         ;;
   4844       *-*-cygwin* )
   4845         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4846         ;;
   4847       * ) # otherwise, assume *nix
   4848         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4849         ;;
   4850     esac
   4851     ;;
   4852   *-*-cygwin* )
   4853     case $build in
   4854       *-*-mingw* ) # actually msys
   4855         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4856         ;;
   4857       *-*-cygwin* )
   4858         lt_cv_to_host_file_cmd=func_convert_file_noop
   4859         ;;
   4860       * ) # otherwise, assume *nix
   4861         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4862         ;;
   4863     esac
   4864     ;;
   4865   * ) # unhandled hosts (and "normal" native builds)
   4866     lt_cv_to_host_file_cmd=func_convert_file_noop
   4867     ;;
   4868 esac
   4869 
   4870 fi
   4871 
   4872 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4874 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4881 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4882 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4883   $as_echo_n "(cached) " >&6
   4884 else
   4885   #assume ordinary cross tools, or native build.
   4886 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4887 case $host in
   4888   *-*-mingw* )
   4889     case $build in
   4890       *-*-mingw* ) # actually msys
   4891         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4892         ;;
   4893     esac
   4894     ;;
   4895 esac
   4896 
   4897 fi
   4898 
   4899 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4901 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4908 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4909 if ${lt_cv_ld_reload_flag+:} false; then :
   4910   $as_echo_n "(cached) " >&6
   4911 else
   4912   lt_cv_ld_reload_flag='-r'
   4913 fi
   4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4915 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4916 reload_flag=$lt_cv_ld_reload_flag
   4917 case $reload_flag in
   4918 "" | " "*) ;;
   4919 *) reload_flag=" $reload_flag" ;;
   4920 esac
   4921 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4922 case $host_os in
   4923   cygwin* | mingw* | pw32* | cegcc*)
   4924     if test "$GCC" != yes; then
   4925       reload_cmds=false
   4926     fi
   4927     ;;
   4928   darwin*)
   4929     if test "$GCC" = yes; then
   4930       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4931     else
   4932       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4933     fi
   4934     ;;
   4935 esac
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 if test -n "$ac_tool_prefix"; then
   4946   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4947 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4949 $as_echo_n "checking for $ac_word... " >&6; }
   4950 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4951   $as_echo_n "(cached) " >&6
   4952 else
   4953   if test -n "$OBJDUMP"; then
   4954   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4955 else
   4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4957 for as_dir in $PATH
   4958 do
   4959   IFS=$as_save_IFS
   4960   test -z "$as_dir" && as_dir=.
   4961     for ac_exec_ext in '' $ac_executable_extensions; do
   4962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4963     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4965     break 2
   4966   fi
   4967 done
   4968   done
   4969 IFS=$as_save_IFS
   4970 
   4971 fi
   4972 fi
   4973 OBJDUMP=$ac_cv_prog_OBJDUMP
   4974 if test -n "$OBJDUMP"; then
   4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4976 $as_echo "$OBJDUMP" >&6; }
   4977 else
   4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4979 $as_echo "no" >&6; }
   4980 fi
   4981 
   4982 
   4983 fi
   4984 if test -z "$ac_cv_prog_OBJDUMP"; then
   4985   ac_ct_OBJDUMP=$OBJDUMP
   4986   # Extract the first word of "objdump", so it can be a program name with args.
   4987 set dummy objdump; ac_word=$2
   4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4989 $as_echo_n "checking for $ac_word... " >&6; }
   4990 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4991   $as_echo_n "(cached) " >&6
   4992 else
   4993   if test -n "$ac_ct_OBJDUMP"; then
   4994   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4995 else
   4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4997 for as_dir in $PATH
   4998 do
   4999   IFS=$as_save_IFS
   5000   test -z "$as_dir" && as_dir=.
   5001     for ac_exec_ext in '' $ac_executable_extensions; do
   5002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5003     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5005     break 2
   5006   fi
   5007 done
   5008   done
   5009 IFS=$as_save_IFS
   5010 
   5011 fi
   5012 fi
   5013 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5014 if test -n "$ac_ct_OBJDUMP"; then
   5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5016 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5017 else
   5018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5019 $as_echo "no" >&6; }
   5020 fi
   5021 
   5022   if test "x$ac_ct_OBJDUMP" = x; then
   5023     OBJDUMP="false"
   5024   else
   5025     case $cross_compiling:$ac_tool_warned in
   5026 yes:)
   5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5029 ac_tool_warned=yes ;;
   5030 esac
   5031     OBJDUMP=$ac_ct_OBJDUMP
   5032   fi
   5033 else
   5034   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5035 fi
   5036 
   5037 test -z "$OBJDUMP" && OBJDUMP=objdump
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5048 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5049 if ${lt_cv_deplibs_check_method+:} false; then :
   5050   $as_echo_n "(cached) " >&6
   5051 else
   5052   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5053 lt_cv_file_magic_test_file=
   5054 lt_cv_deplibs_check_method='unknown'
   5055 # Need to set the preceding variable on all platforms that support
   5056 # interlibrary dependencies.
   5057 # 'none' -- dependencies not supported.
   5058 # `unknown' -- same as none, but documents that we really don't know.
   5059 # 'pass_all' -- all dependencies passed with no checks.
   5060 # 'test_compile' -- check by making test program.
   5061 # 'file_magic [[regex]]' -- check by looking for files in library path
   5062 # which responds to the $file_magic_cmd with a given extended regex.
   5063 # If you have `file' or equivalent on your system and you're not sure
   5064 # whether `pass_all' will *always* work, you probably want this one.
   5065 
   5066 case $host_os in
   5067 aix[4-9]*)
   5068   lt_cv_deplibs_check_method=pass_all
   5069   ;;
   5070 
   5071 beos*)
   5072   lt_cv_deplibs_check_method=pass_all
   5073   ;;
   5074 
   5075 bsdi[45]*)
   5076   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5077   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5078   lt_cv_file_magic_test_file=/shlib/libc.so
   5079   ;;
   5080 
   5081 cygwin*)
   5082   # func_win32_libid is a shell function defined in ltmain.sh
   5083   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5084   lt_cv_file_magic_cmd='func_win32_libid'
   5085   ;;
   5086 
   5087 mingw* | pw32*)
   5088   # Base MSYS/MinGW do not provide the 'file' command needed by
   5089   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5090   # unless we find 'file', for example because we are cross-compiling.
   5091   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5092   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5093     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5094     lt_cv_file_magic_cmd='func_win32_libid'
   5095   else
   5096     # Keep this pattern in sync with the one in func_win32_libid.
   5097     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5098     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5099   fi
   5100   ;;
   5101 
   5102 cegcc*)
   5103   # use the weaker test based on 'objdump'. See mingw*.
   5104   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5105   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5106   ;;
   5107 
   5108 darwin* | rhapsody*)
   5109   lt_cv_deplibs_check_method=pass_all
   5110   ;;
   5111 
   5112 freebsd* | dragonfly*)
   5113   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5114     case $host_cpu in
   5115     i*86 )
   5116       # Not sure whether the presence of OpenBSD here was a mistake.
   5117       # Let's accept both of them until this is cleared up.
   5118       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5119       lt_cv_file_magic_cmd=/usr/bin/file
   5120       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5121       ;;
   5122     esac
   5123   else
   5124     lt_cv_deplibs_check_method=pass_all
   5125   fi
   5126   ;;
   5127 
   5128 gnu*)
   5129   lt_cv_deplibs_check_method=pass_all
   5130   ;;
   5131 
   5132 haiku*)
   5133   lt_cv_deplibs_check_method=pass_all
   5134   ;;
   5135 
   5136 hpux10.20* | hpux11*)
   5137   lt_cv_file_magic_cmd=/usr/bin/file
   5138   case $host_cpu in
   5139   ia64*)
   5140     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5141     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5142     ;;
   5143   hppa*64*)
   5144     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   5145     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5146     ;;
   5147   *)
   5148     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5149     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5150     ;;
   5151   esac
   5152   ;;
   5153 
   5154 interix[3-9]*)
   5155   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5156   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5157   ;;
   5158 
   5159 irix5* | irix6* | nonstopux*)
   5160   case $LD in
   5161   *-32|*"-32 ") libmagic=32-bit;;
   5162   *-n32|*"-n32 ") libmagic=N32;;
   5163   *-64|*"-64 ") libmagic=64-bit;;
   5164   *) libmagic=never-match;;
   5165   esac
   5166   lt_cv_deplibs_check_method=pass_all
   5167   ;;
   5168 
   5169 # This must be Linux ELF.
   5170 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5171   lt_cv_deplibs_check_method=pass_all
   5172   ;;
   5173 
   5174 netbsd*)
   5175   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5176     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5177   else
   5178     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5179   fi
   5180   ;;
   5181 
   5182 newos6*)
   5183   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5184   lt_cv_file_magic_cmd=/usr/bin/file
   5185   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5186   ;;
   5187 
   5188 *nto* | *qnx*)
   5189   lt_cv_deplibs_check_method=pass_all
   5190   ;;
   5191 
   5192 openbsd*)
   5193   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5194     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5195   else
   5196     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5197   fi
   5198   ;;
   5199 
   5200 osf3* | osf4* | osf5*)
   5201   lt_cv_deplibs_check_method=pass_all
   5202   ;;
   5203 
   5204 rdos*)
   5205   lt_cv_deplibs_check_method=pass_all
   5206   ;;
   5207 
   5208 solaris*)
   5209   lt_cv_deplibs_check_method=pass_all
   5210   ;;
   5211 
   5212 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5213   lt_cv_deplibs_check_method=pass_all
   5214   ;;
   5215 
   5216 sysv4 | sysv4.3*)
   5217   case $host_vendor in
   5218   motorola)
   5219     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]'
   5220     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5221     ;;
   5222   ncr)
   5223     lt_cv_deplibs_check_method=pass_all
   5224     ;;
   5225   sequent)
   5226     lt_cv_file_magic_cmd='/bin/file'
   5227     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5228     ;;
   5229   sni)
   5230     lt_cv_file_magic_cmd='/bin/file'
   5231     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5232     lt_cv_file_magic_test_file=/lib/libc.so
   5233     ;;
   5234   siemens)
   5235     lt_cv_deplibs_check_method=pass_all
   5236     ;;
   5237   pc)
   5238     lt_cv_deplibs_check_method=pass_all
   5239     ;;
   5240   esac
   5241   ;;
   5242 
   5243 tpf*)
   5244   lt_cv_deplibs_check_method=pass_all
   5245   ;;
   5246 esac
   5247 
   5248 fi
   5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5250 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5251 
   5252 file_magic_glob=
   5253 want_nocaseglob=no
   5254 if test "$build" = "$host"; then
   5255   case $host_os in
   5256   mingw* | pw32*)
   5257     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5258       want_nocaseglob=yes
   5259     else
   5260       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5261     fi
   5262     ;;
   5263   esac
   5264 fi
   5265 
   5266 file_magic_cmd=$lt_cv_file_magic_cmd
   5267 deplibs_check_method=$lt_cv_deplibs_check_method
   5268 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 if test -n "$ac_tool_prefix"; then
   5292   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5293 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5295 $as_echo_n "checking for $ac_word... " >&6; }
   5296 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5297   $as_echo_n "(cached) " >&6
   5298 else
   5299   if test -n "$DLLTOOL"; then
   5300   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5301 else
   5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5303 for as_dir in $PATH
   5304 do
   5305   IFS=$as_save_IFS
   5306   test -z "$as_dir" && as_dir=.
   5307     for ac_exec_ext in '' $ac_executable_extensions; do
   5308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5309     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5311     break 2
   5312   fi
   5313 done
   5314   done
   5315 IFS=$as_save_IFS
   5316 
   5317 fi
   5318 fi
   5319 DLLTOOL=$ac_cv_prog_DLLTOOL
   5320 if test -n "$DLLTOOL"; then
   5321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5322 $as_echo "$DLLTOOL" >&6; }
   5323 else
   5324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5325 $as_echo "no" >&6; }
   5326 fi
   5327 
   5328 
   5329 fi
   5330 if test -z "$ac_cv_prog_DLLTOOL"; then
   5331   ac_ct_DLLTOOL=$DLLTOOL
   5332   # Extract the first word of "dlltool", so it can be a program name with args.
   5333 set dummy dlltool; ac_word=$2
   5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5335 $as_echo_n "checking for $ac_word... " >&6; }
   5336 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5337   $as_echo_n "(cached) " >&6
   5338 else
   5339   if test -n "$ac_ct_DLLTOOL"; then
   5340   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5341 else
   5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5343 for as_dir in $PATH
   5344 do
   5345   IFS=$as_save_IFS
   5346   test -z "$as_dir" && as_dir=.
   5347     for ac_exec_ext in '' $ac_executable_extensions; do
   5348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5349     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5351     break 2
   5352   fi
   5353 done
   5354   done
   5355 IFS=$as_save_IFS
   5356 
   5357 fi
   5358 fi
   5359 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5360 if test -n "$ac_ct_DLLTOOL"; then
   5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5362 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5363 else
   5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5365 $as_echo "no" >&6; }
   5366 fi
   5367 
   5368   if test "x$ac_ct_DLLTOOL" = x; then
   5369     DLLTOOL="false"
   5370   else
   5371     case $cross_compiling:$ac_tool_warned in
   5372 yes:)
   5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5375 ac_tool_warned=yes ;;
   5376 esac
   5377     DLLTOOL=$ac_ct_DLLTOOL
   5378   fi
   5379 else
   5380   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5381 fi
   5382 
   5383 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5395 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5396 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5397   $as_echo_n "(cached) " >&6
   5398 else
   5399   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5400 
   5401 case $host_os in
   5402 cygwin* | mingw* | pw32* | cegcc*)
   5403   # two different shell functions defined in ltmain.sh
   5404   # decide which to use based on capabilities of $DLLTOOL
   5405   case `$DLLTOOL --help 2>&1` in
   5406   *--identify-strict*)
   5407     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5408     ;;
   5409   *)
   5410     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5411     ;;
   5412   esac
   5413   ;;
   5414 *)
   5415   # fallback: assume linklib IS sharedlib
   5416   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5417   ;;
   5418 esac
   5419 
   5420 fi
   5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5422 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5423 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5424 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 if test -n "$ac_tool_prefix"; then
   5434   for ac_prog in ar
   5435   do
   5436     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5437 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5439 $as_echo_n "checking for $ac_word... " >&6; }
   5440 if ${ac_cv_prog_AR+:} false; then :
   5441   $as_echo_n "(cached) " >&6
   5442 else
   5443   if test -n "$AR"; then
   5444   ac_cv_prog_AR="$AR" # Let the user override the test.
   5445 else
   5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5447 for as_dir in $PATH
   5448 do
   5449   IFS=$as_save_IFS
   5450   test -z "$as_dir" && as_dir=.
   5451     for ac_exec_ext in '' $ac_executable_extensions; do
   5452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5453     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5455     break 2
   5456   fi
   5457 done
   5458   done
   5459 IFS=$as_save_IFS
   5460 
   5461 fi
   5462 fi
   5463 AR=$ac_cv_prog_AR
   5464 if test -n "$AR"; then
   5465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5466 $as_echo "$AR" >&6; }
   5467 else
   5468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5469 $as_echo "no" >&6; }
   5470 fi
   5471 
   5472 
   5473     test -n "$AR" && break
   5474   done
   5475 fi
   5476 if test -z "$AR"; then
   5477   ac_ct_AR=$AR
   5478   for ac_prog in ar
   5479 do
   5480   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5481 set dummy $ac_prog; ac_word=$2
   5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5483 $as_echo_n "checking for $ac_word... " >&6; }
   5484 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5485   $as_echo_n "(cached) " >&6
   5486 else
   5487   if test -n "$ac_ct_AR"; then
   5488   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5489 else
   5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5491 for as_dir in $PATH
   5492 do
   5493   IFS=$as_save_IFS
   5494   test -z "$as_dir" && as_dir=.
   5495     for ac_exec_ext in '' $ac_executable_extensions; do
   5496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5497     ac_cv_prog_ac_ct_AR="$ac_prog"
   5498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5499     break 2
   5500   fi
   5501 done
   5502   done
   5503 IFS=$as_save_IFS
   5504 
   5505 fi
   5506 fi
   5507 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5508 if test -n "$ac_ct_AR"; then
   5509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5510 $as_echo "$ac_ct_AR" >&6; }
   5511 else
   5512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5513 $as_echo "no" >&6; }
   5514 fi
   5515 
   5516 
   5517   test -n "$ac_ct_AR" && break
   5518 done
   5519 
   5520   if test "x$ac_ct_AR" = x; then
   5521     AR="false"
   5522   else
   5523     case $cross_compiling:$ac_tool_warned in
   5524 yes:)
   5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5527 ac_tool_warned=yes ;;
   5528 esac
   5529     AR=$ac_ct_AR
   5530   fi
   5531 fi
   5532 
   5533 : ${AR=ar}
   5534 : ${AR_FLAGS=cru}
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5547 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5548 if ${lt_cv_ar_at_file+:} false; then :
   5549   $as_echo_n "(cached) " >&6
   5550 else
   5551   lt_cv_ar_at_file=no
   5552    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5553 /* end confdefs.h.  */
   5554 
   5555 int
   5556 main ()
   5557 {
   5558 
   5559   ;
   5560   return 0;
   5561 }
   5562 _ACEOF
   5563 if ac_fn_c_try_compile "$LINENO"; then :
   5564   echo conftest.$ac_objext > conftest.lst
   5565       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5566       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5567   (eval $lt_ar_try) 2>&5
   5568   ac_status=$?
   5569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5570   test $ac_status = 0; }
   5571       if test "$ac_status" -eq 0; then
   5572 	# Ensure the archiver fails upon bogus file names.
   5573 	rm -f conftest.$ac_objext libconftest.a
   5574 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5575   (eval $lt_ar_try) 2>&5
   5576   ac_status=$?
   5577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5578   test $ac_status = 0; }
   5579 	if test "$ac_status" -ne 0; then
   5580           lt_cv_ar_at_file=@
   5581         fi
   5582       fi
   5583       rm -f conftest.* libconftest.a
   5584 
   5585 fi
   5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5587 
   5588 fi
   5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5590 $as_echo "$lt_cv_ar_at_file" >&6; }
   5591 
   5592 if test "x$lt_cv_ar_at_file" = xno; then
   5593   archiver_list_spec=
   5594 else
   5595   archiver_list_spec=$lt_cv_ar_at_file
   5596 fi
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 if test -n "$ac_tool_prefix"; then
   5605   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5606 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5608 $as_echo_n "checking for $ac_word... " >&6; }
   5609 if ${ac_cv_prog_STRIP+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612   if test -n "$STRIP"; then
   5613   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5614 else
   5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5616 for as_dir in $PATH
   5617 do
   5618   IFS=$as_save_IFS
   5619   test -z "$as_dir" && as_dir=.
   5620     for ac_exec_ext in '' $ac_executable_extensions; do
   5621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5622     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5624     break 2
   5625   fi
   5626 done
   5627   done
   5628 IFS=$as_save_IFS
   5629 
   5630 fi
   5631 fi
   5632 STRIP=$ac_cv_prog_STRIP
   5633 if test -n "$STRIP"; then
   5634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5635 $as_echo "$STRIP" >&6; }
   5636 else
   5637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5638 $as_echo "no" >&6; }
   5639 fi
   5640 
   5641 
   5642 fi
   5643 if test -z "$ac_cv_prog_STRIP"; then
   5644   ac_ct_STRIP=$STRIP
   5645   # Extract the first word of "strip", so it can be a program name with args.
   5646 set dummy strip; ac_word=$2
   5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5648 $as_echo_n "checking for $ac_word... " >&6; }
   5649 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5650   $as_echo_n "(cached) " >&6
   5651 else
   5652   if test -n "$ac_ct_STRIP"; then
   5653   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5654 else
   5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5656 for as_dir in $PATH
   5657 do
   5658   IFS=$as_save_IFS
   5659   test -z "$as_dir" && as_dir=.
   5660     for ac_exec_ext in '' $ac_executable_extensions; do
   5661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5662     ac_cv_prog_ac_ct_STRIP="strip"
   5663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5664     break 2
   5665   fi
   5666 done
   5667   done
   5668 IFS=$as_save_IFS
   5669 
   5670 fi
   5671 fi
   5672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5673 if test -n "$ac_ct_STRIP"; then
   5674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5675 $as_echo "$ac_ct_STRIP" >&6; }
   5676 else
   5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5678 $as_echo "no" >&6; }
   5679 fi
   5680 
   5681   if test "x$ac_ct_STRIP" = x; then
   5682     STRIP=":"
   5683   else
   5684     case $cross_compiling:$ac_tool_warned in
   5685 yes:)
   5686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5688 ac_tool_warned=yes ;;
   5689 esac
   5690     STRIP=$ac_ct_STRIP
   5691   fi
   5692 else
   5693   STRIP="$ac_cv_prog_STRIP"
   5694 fi
   5695 
   5696 test -z "$STRIP" && STRIP=:
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 if test -n "$ac_tool_prefix"; then
   5704   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5707 $as_echo_n "checking for $ac_word... " >&6; }
   5708 if ${ac_cv_prog_RANLIB+:} false; then :
   5709   $as_echo_n "(cached) " >&6
   5710 else
   5711   if test -n "$RANLIB"; then
   5712   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5713 else
   5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5715 for as_dir in $PATH
   5716 do
   5717   IFS=$as_save_IFS
   5718   test -z "$as_dir" && as_dir=.
   5719     for ac_exec_ext in '' $ac_executable_extensions; do
   5720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5721     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5723     break 2
   5724   fi
   5725 done
   5726   done
   5727 IFS=$as_save_IFS
   5728 
   5729 fi
   5730 fi
   5731 RANLIB=$ac_cv_prog_RANLIB
   5732 if test -n "$RANLIB"; then
   5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5734 $as_echo "$RANLIB" >&6; }
   5735 else
   5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5737 $as_echo "no" >&6; }
   5738 fi
   5739 
   5740 
   5741 fi
   5742 if test -z "$ac_cv_prog_RANLIB"; then
   5743   ac_ct_RANLIB=$RANLIB
   5744   # Extract the first word of "ranlib", so it can be a program name with args.
   5745 set dummy ranlib; ac_word=$2
   5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5747 $as_echo_n "checking for $ac_word... " >&6; }
   5748 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5749   $as_echo_n "(cached) " >&6
   5750 else
   5751   if test -n "$ac_ct_RANLIB"; then
   5752   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5753 else
   5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5755 for as_dir in $PATH
   5756 do
   5757   IFS=$as_save_IFS
   5758   test -z "$as_dir" && as_dir=.
   5759     for ac_exec_ext in '' $ac_executable_extensions; do
   5760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5761     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5763     break 2
   5764   fi
   5765 done
   5766   done
   5767 IFS=$as_save_IFS
   5768 
   5769 fi
   5770 fi
   5771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5772 if test -n "$ac_ct_RANLIB"; then
   5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5774 $as_echo "$ac_ct_RANLIB" >&6; }
   5775 else
   5776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5777 $as_echo "no" >&6; }
   5778 fi
   5779 
   5780   if test "x$ac_ct_RANLIB" = x; then
   5781     RANLIB=":"
   5782   else
   5783     case $cross_compiling:$ac_tool_warned in
   5784 yes:)
   5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5787 ac_tool_warned=yes ;;
   5788 esac
   5789     RANLIB=$ac_ct_RANLIB
   5790   fi
   5791 else
   5792   RANLIB="$ac_cv_prog_RANLIB"
   5793 fi
   5794 
   5795 test -z "$RANLIB" && RANLIB=:
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 # Determine commands to create old-style static archives.
   5803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5804 old_postinstall_cmds='chmod 644 $oldlib'
   5805 old_postuninstall_cmds=
   5806 
   5807 if test -n "$RANLIB"; then
   5808   case $host_os in
   5809   openbsd*)
   5810     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5811     ;;
   5812   *)
   5813     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5814     ;;
   5815   esac
   5816   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5817 fi
   5818 
   5819 case $host_os in
   5820   darwin*)
   5821     lock_old_archive_extraction=yes ;;
   5822   *)
   5823     lock_old_archive_extraction=no ;;
   5824 esac
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 # If no C compiler was specified, use CC.
   5865 LTCC=${LTCC-"$CC"}
   5866 
   5867 # If no C compiler flags were specified, use CFLAGS.
   5868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5869 
   5870 # Allow CC to be a program name with arguments.
   5871 compiler=$CC
   5872 
   5873 
   5874 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5877 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5878   $as_echo_n "(cached) " >&6
   5879 else
   5880 
   5881 # These are sane defaults that work on at least a few old systems.
   5882 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5883 
   5884 # Character class describing NM global symbol codes.
   5885 symcode='[BCDEGRST]'
   5886 
   5887 # Regexp to match symbols that can be accessed directly from C.
   5888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5889 
   5890 # Define system-specific variables.
   5891 case $host_os in
   5892 aix*)
   5893   symcode='[BCDT]'
   5894   ;;
   5895 cygwin* | mingw* | pw32* | cegcc*)
   5896   symcode='[ABCDGISTW]'
   5897   ;;
   5898 hpux*)
   5899   if test "$host_cpu" = ia64; then
   5900     symcode='[ABCDEGRST]'
   5901   fi
   5902   ;;
   5903 irix* | nonstopux*)
   5904   symcode='[BCDEGRST]'
   5905   ;;
   5906 osf*)
   5907   symcode='[BCDEGQRST]'
   5908   ;;
   5909 solaris*)
   5910   symcode='[BDRT]'
   5911   ;;
   5912 sco3.2v5*)
   5913   symcode='[DT]'
   5914   ;;
   5915 sysv4.2uw2*)
   5916   symcode='[DT]'
   5917   ;;
   5918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5919   symcode='[ABDT]'
   5920   ;;
   5921 sysv4)
   5922   symcode='[DFNSTU]'
   5923   ;;
   5924 esac
   5925 
   5926 # If we're using GNU nm, then use its standard symbol codes.
   5927 case `$NM -V 2>&1` in
   5928 *GNU* | *'with BFD'*)
   5929   symcode='[ABCDGIRSTW]' ;;
   5930 esac
   5931 
   5932 # Transform an extracted symbol line into a proper C declaration.
   5933 # Some systems (esp. on ia64) link data and code symbols differently,
   5934 # so use this general approach.
   5935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5936 
   5937 # Transform an extracted symbol line into symbol name and symbol address
   5938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5939 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'"
   5940 
   5941 # Handle CRLF in mingw tool chain
   5942 opt_cr=
   5943 case $build_os in
   5944 mingw*)
   5945   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5946   ;;
   5947 esac
   5948 
   5949 # Try without a prefix underscore, then with it.
   5950 for ac_symprfx in "" "_"; do
   5951 
   5952   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5953   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5954 
   5955   # Write the raw and C identifiers.
   5956   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5957     # Fake it for dumpbin and say T for any non-static function
   5958     # and D for any global variable.
   5959     # Also find C++ and __fastcall symbols from MSVC++,
   5960     # which start with @ or ?.
   5961     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5962 "     {last_section=section; section=\$ 3};"\
   5963 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5964 "     \$ 0!~/External *\|/{next};"\
   5965 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5966 "     {if(hide[section]) next};"\
   5967 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5968 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5969 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5970 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5971 "     ' prfx=^$ac_symprfx"
   5972   else
   5973     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5974   fi
   5975   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5976 
   5977   # Check to see that the pipe works correctly.
   5978   pipe_works=no
   5979 
   5980   rm -f conftest*
   5981   cat > conftest.$ac_ext <<_LT_EOF
   5982 #ifdef __cplusplus
   5983 extern "C" {
   5984 #endif
   5985 char nm_test_var;
   5986 void nm_test_func(void);
   5987 void nm_test_func(void){}
   5988 #ifdef __cplusplus
   5989 }
   5990 #endif
   5991 int main(){nm_test_var='a';nm_test_func();return(0);}
   5992 _LT_EOF
   5993 
   5994   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5995   (eval $ac_compile) 2>&5
   5996   ac_status=$?
   5997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5998   test $ac_status = 0; }; then
   5999     # Now try to grab the symbols.
   6000     nlist=conftest.nm
   6001     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6002   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6003   ac_status=$?
   6004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6005   test $ac_status = 0; } && test -s "$nlist"; then
   6006       # Try sorting and uniquifying the output.
   6007       if sort "$nlist" | uniq > "$nlist"T; then
   6008 	mv -f "$nlist"T "$nlist"
   6009       else
   6010 	rm -f "$nlist"T
   6011       fi
   6012 
   6013       # Make sure that we snagged all the symbols we need.
   6014       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6015 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6016 	  cat <<_LT_EOF > conftest.$ac_ext
   6017 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6018 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6019 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6020    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6021 # define LT_DLSYM_CONST
   6022 #elif defined(__osf__)
   6023 /* This system does not cope well with relocations in const data.  */
   6024 # define LT_DLSYM_CONST
   6025 #else
   6026 # define LT_DLSYM_CONST const
   6027 #endif
   6028 
   6029 #ifdef __cplusplus
   6030 extern "C" {
   6031 #endif
   6032 
   6033 _LT_EOF
   6034 	  # Now generate the symbol file.
   6035 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6036 
   6037 	  cat <<_LT_EOF >> conftest.$ac_ext
   6038 
   6039 /* The mapping between symbol names and symbols.  */
   6040 LT_DLSYM_CONST struct {
   6041   const char *name;
   6042   void       *address;
   6043 }
   6044 lt__PROGRAM__LTX_preloaded_symbols[] =
   6045 {
   6046   { "@PROGRAM@", (void *) 0 },
   6047 _LT_EOF
   6048 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6049 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6050   {0, (void *) 0}
   6051 };
   6052 
   6053 /* This works around a problem in FreeBSD linker */
   6054 #ifdef FREEBSD_WORKAROUND
   6055 static const void *lt_preloaded_setup() {
   6056   return lt__PROGRAM__LTX_preloaded_symbols;
   6057 }
   6058 #endif
   6059 
   6060 #ifdef __cplusplus
   6061 }
   6062 #endif
   6063 _LT_EOF
   6064 	  # Now try linking the two files.
   6065 	  mv conftest.$ac_objext conftstm.$ac_objext
   6066 	  lt_globsym_save_LIBS=$LIBS
   6067 	  lt_globsym_save_CFLAGS=$CFLAGS
   6068 	  LIBS="conftstm.$ac_objext"
   6069 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6070 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6071   (eval $ac_link) 2>&5
   6072   ac_status=$?
   6073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6074   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6075 	    pipe_works=yes
   6076 	  fi
   6077 	  LIBS=$lt_globsym_save_LIBS
   6078 	  CFLAGS=$lt_globsym_save_CFLAGS
   6079 	else
   6080 	  echo "cannot find nm_test_func in $nlist" >&5
   6081 	fi
   6082       else
   6083 	echo "cannot find nm_test_var in $nlist" >&5
   6084       fi
   6085     else
   6086       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6087     fi
   6088   else
   6089     echo "$progname: failed program was:" >&5
   6090     cat conftest.$ac_ext >&5
   6091   fi
   6092   rm -rf conftest* conftst*
   6093 
   6094   # Do not use the global_symbol_pipe unless it works.
   6095   if test "$pipe_works" = yes; then
   6096     break
   6097   else
   6098     lt_cv_sys_global_symbol_pipe=
   6099   fi
   6100 done
   6101 
   6102 fi
   6103 
   6104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6105   lt_cv_sys_global_symbol_to_cdecl=
   6106 fi
   6107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6109 $as_echo "failed" >&6; }
   6110 else
   6111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6112 $as_echo "ok" >&6; }
   6113 fi
   6114 
   6115 # Response file support.
   6116 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6117   nm_file_list_spec='@'
   6118 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6119   nm_file_list_spec='@'
   6120 fi
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6149 $as_echo_n "checking for sysroot... " >&6; }
   6150 
   6151 # Check whether --with-sysroot was given.
   6152 if test "${with_sysroot+set}" = set; then :
   6153   withval=$with_sysroot;
   6154 else
   6155   with_sysroot=no
   6156 fi
   6157 
   6158 
   6159 lt_sysroot=
   6160 case ${with_sysroot} in #(
   6161  yes)
   6162    if test "$GCC" = yes; then
   6163      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6164    fi
   6165    ;; #(
   6166  /*)
   6167    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6168    ;; #(
   6169  no|'')
   6170    ;; #(
   6171  *)
   6172    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6173 $as_echo "${with_sysroot}" >&6; }
   6174    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6175    ;;
   6176 esac
   6177 
   6178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6179 $as_echo "${lt_sysroot:-no}" >&6; }
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 # Check whether --enable-libtool-lock was given.
   6186 if test "${enable_libtool_lock+set}" = set; then :
   6187   enableval=$enable_libtool_lock;
   6188 fi
   6189 
   6190 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6191 
   6192 # Some flags need to be propagated to the compiler or linker for good
   6193 # libtool support.
   6194 case $host in
   6195 ia64-*-hpux*)
   6196   # Find out which ABI we are using.
   6197   echo 'int i;' > conftest.$ac_ext
   6198   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6199   (eval $ac_compile) 2>&5
   6200   ac_status=$?
   6201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6202   test $ac_status = 0; }; then
   6203     case `/usr/bin/file conftest.$ac_objext` in
   6204       *ELF-32*)
   6205 	HPUX_IA64_MODE="32"
   6206 	;;
   6207       *ELF-64*)
   6208 	HPUX_IA64_MODE="64"
   6209 	;;
   6210     esac
   6211   fi
   6212   rm -rf conftest*
   6213   ;;
   6214 *-*-irix6*)
   6215   # Find out which ABI we are using.
   6216   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6217   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6218   (eval $ac_compile) 2>&5
   6219   ac_status=$?
   6220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6221   test $ac_status = 0; }; then
   6222     if test "$lt_cv_prog_gnu_ld" = yes; then
   6223       case `/usr/bin/file conftest.$ac_objext` in
   6224 	*32-bit*)
   6225 	  LD="${LD-ld} -melf32bsmip"
   6226 	  ;;
   6227 	*N32*)
   6228 	  LD="${LD-ld} -melf32bmipn32"
   6229 	  ;;
   6230 	*64-bit*)
   6231 	  LD="${LD-ld} -melf64bmip"
   6232 	;;
   6233       esac
   6234     else
   6235       case `/usr/bin/file conftest.$ac_objext` in
   6236 	*32-bit*)
   6237 	  LD="${LD-ld} -32"
   6238 	  ;;
   6239 	*N32*)
   6240 	  LD="${LD-ld} -n32"
   6241 	  ;;
   6242 	*64-bit*)
   6243 	  LD="${LD-ld} -64"
   6244 	  ;;
   6245       esac
   6246     fi
   6247   fi
   6248   rm -rf conftest*
   6249   ;;
   6250 
   6251 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6252 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6253   # Find out which ABI we are using.
   6254   echo 'int i;' > conftest.$ac_ext
   6255   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6256   (eval $ac_compile) 2>&5
   6257   ac_status=$?
   6258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6259   test $ac_status = 0; }; then
   6260     case `/usr/bin/file conftest.o` in
   6261       *32-bit*)
   6262 	case $host in
   6263 	  x86_64-*kfreebsd*-gnu)
   6264 	    LD="${LD-ld} -m elf_i386_fbsd"
   6265 	    ;;
   6266 	  x86_64-*linux*)
   6267 	    LD="${LD-ld} -m elf_i386"
   6268 	    ;;
   6269 	  ppc64-*linux*|powerpc64-*linux*)
   6270 	    LD="${LD-ld} -m elf32ppclinux"
   6271 	    ;;
   6272 	  s390x-*linux*)
   6273 	    LD="${LD-ld} -m elf_s390"
   6274 	    ;;
   6275 	  sparc64-*linux*)
   6276 	    LD="${LD-ld} -m elf32_sparc"
   6277 	    ;;
   6278 	esac
   6279 	;;
   6280       *64-bit*)
   6281 	case $host in
   6282 	  x86_64-*kfreebsd*-gnu)
   6283 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6284 	    ;;
   6285 	  x86_64-*linux*)
   6286 	    LD="${LD-ld} -m elf_x86_64"
   6287 	    ;;
   6288 	  ppc*-*linux*|powerpc*-*linux*)
   6289 	    LD="${LD-ld} -m elf64ppc"
   6290 	    ;;
   6291 	  s390*-*linux*|s390*-*tpf*)
   6292 	    LD="${LD-ld} -m elf64_s390"
   6293 	    ;;
   6294 	  sparc*-*linux*)
   6295 	    LD="${LD-ld} -m elf64_sparc"
   6296 	    ;;
   6297 	esac
   6298 	;;
   6299     esac
   6300   fi
   6301   rm -rf conftest*
   6302   ;;
   6303 
   6304 *-*-sco3.2v5*)
   6305   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6306   SAVE_CFLAGS="$CFLAGS"
   6307   CFLAGS="$CFLAGS -belf"
   6308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6309 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6310 if ${lt_cv_cc_needs_belf+:} false; then :
   6311   $as_echo_n "(cached) " >&6
   6312 else
   6313   ac_ext=c
   6314 ac_cpp='$CPP $CPPFLAGS'
   6315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6318 
   6319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6320 /* end confdefs.h.  */
   6321 
   6322 int
   6323 main ()
   6324 {
   6325 
   6326   ;
   6327   return 0;
   6328 }
   6329 _ACEOF
   6330 if ac_fn_c_try_link "$LINENO"; then :
   6331   lt_cv_cc_needs_belf=yes
   6332 else
   6333   lt_cv_cc_needs_belf=no
   6334 fi
   6335 rm -f core conftest.err conftest.$ac_objext \
   6336     conftest$ac_exeext conftest.$ac_ext
   6337      ac_ext=c
   6338 ac_cpp='$CPP $CPPFLAGS'
   6339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6342 
   6343 fi
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6345 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6346   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6347     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6348     CFLAGS="$SAVE_CFLAGS"
   6349   fi
   6350   ;;
   6351 sparc*-*solaris*)
   6352   # Find out which ABI we are using.
   6353   echo 'int i;' > conftest.$ac_ext
   6354   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6355   (eval $ac_compile) 2>&5
   6356   ac_status=$?
   6357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6358   test $ac_status = 0; }; then
   6359     case `/usr/bin/file conftest.o` in
   6360     *64-bit*)
   6361       case $lt_cv_prog_gnu_ld in
   6362       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6363       *)
   6364 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6365 	  LD="${LD-ld} -64"
   6366 	fi
   6367 	;;
   6368       esac
   6369       ;;
   6370     esac
   6371   fi
   6372   rm -rf conftest*
   6373   ;;
   6374 esac
   6375 
   6376 need_locks="$enable_libtool_lock"
   6377 
   6378 if test -n "$ac_tool_prefix"; then
   6379   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6380 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6382 $as_echo_n "checking for $ac_word... " >&6; }
   6383 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6384   $as_echo_n "(cached) " >&6
   6385 else
   6386   if test -n "$MANIFEST_TOOL"; then
   6387   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6388 else
   6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6390 for as_dir in $PATH
   6391 do
   6392   IFS=$as_save_IFS
   6393   test -z "$as_dir" && as_dir=.
   6394     for ac_exec_ext in '' $ac_executable_extensions; do
   6395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6396     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6398     break 2
   6399   fi
   6400 done
   6401   done
   6402 IFS=$as_save_IFS
   6403 
   6404 fi
   6405 fi
   6406 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6407 if test -n "$MANIFEST_TOOL"; then
   6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6409 $as_echo "$MANIFEST_TOOL" >&6; }
   6410 else
   6411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6412 $as_echo "no" >&6; }
   6413 fi
   6414 
   6415 
   6416 fi
   6417 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6418   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6419   # Extract the first word of "mt", so it can be a program name with args.
   6420 set dummy mt; ac_word=$2
   6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6422 $as_echo_n "checking for $ac_word... " >&6; }
   6423 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6424   $as_echo_n "(cached) " >&6
   6425 else
   6426   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6427   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6428 else
   6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6430 for as_dir in $PATH
   6431 do
   6432   IFS=$as_save_IFS
   6433   test -z "$as_dir" && as_dir=.
   6434     for ac_exec_ext in '' $ac_executable_extensions; do
   6435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6436     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6438     break 2
   6439   fi
   6440 done
   6441   done
   6442 IFS=$as_save_IFS
   6443 
   6444 fi
   6445 fi
   6446 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6447 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6449 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6450 else
   6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6452 $as_echo "no" >&6; }
   6453 fi
   6454 
   6455   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6456     MANIFEST_TOOL=":"
   6457   else
   6458     case $cross_compiling:$ac_tool_warned in
   6459 yes:)
   6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6462 ac_tool_warned=yes ;;
   6463 esac
   6464     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6465   fi
   6466 else
   6467   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6468 fi
   6469 
   6470 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6472 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6473 if ${lt_cv_path_mainfest_tool+:} false; then :
   6474   $as_echo_n "(cached) " >&6
   6475 else
   6476   lt_cv_path_mainfest_tool=no
   6477   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6478   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6479   cat conftest.err >&5
   6480   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6481     lt_cv_path_mainfest_tool=yes
   6482   fi
   6483   rm -f conftest*
   6484 fi
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6486 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6487 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6488   MANIFEST_TOOL=:
   6489 fi
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496   case $host_os in
   6497     rhapsody* | darwin*)
   6498     if test -n "$ac_tool_prefix"; then
   6499   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6500 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6502 $as_echo_n "checking for $ac_word... " >&6; }
   6503 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6504   $as_echo_n "(cached) " >&6
   6505 else
   6506   if test -n "$DSYMUTIL"; then
   6507   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6508 else
   6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6510 for as_dir in $PATH
   6511 do
   6512   IFS=$as_save_IFS
   6513   test -z "$as_dir" && as_dir=.
   6514     for ac_exec_ext in '' $ac_executable_extensions; do
   6515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6516     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6518     break 2
   6519   fi
   6520 done
   6521   done
   6522 IFS=$as_save_IFS
   6523 
   6524 fi
   6525 fi
   6526 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6527 if test -n "$DSYMUTIL"; then
   6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6529 $as_echo "$DSYMUTIL" >&6; }
   6530 else
   6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6532 $as_echo "no" >&6; }
   6533 fi
   6534 
   6535 
   6536 fi
   6537 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6538   ac_ct_DSYMUTIL=$DSYMUTIL
   6539   # Extract the first word of "dsymutil", so it can be a program name with args.
   6540 set dummy dsymutil; ac_word=$2
   6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6542 $as_echo_n "checking for $ac_word... " >&6; }
   6543 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   if test -n "$ac_ct_DSYMUTIL"; then
   6547   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6548 else
   6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6550 for as_dir in $PATH
   6551 do
   6552   IFS=$as_save_IFS
   6553   test -z "$as_dir" && as_dir=.
   6554     for ac_exec_ext in '' $ac_executable_extensions; do
   6555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6556     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6558     break 2
   6559   fi
   6560 done
   6561   done
   6562 IFS=$as_save_IFS
   6563 
   6564 fi
   6565 fi
   6566 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6567 if test -n "$ac_ct_DSYMUTIL"; then
   6568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6569 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6570 else
   6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6572 $as_echo "no" >&6; }
   6573 fi
   6574 
   6575   if test "x$ac_ct_DSYMUTIL" = x; then
   6576     DSYMUTIL=":"
   6577   else
   6578     case $cross_compiling:$ac_tool_warned in
   6579 yes:)
   6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6582 ac_tool_warned=yes ;;
   6583 esac
   6584     DSYMUTIL=$ac_ct_DSYMUTIL
   6585   fi
   6586 else
   6587   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6588 fi
   6589 
   6590     if test -n "$ac_tool_prefix"; then
   6591   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6592 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6594 $as_echo_n "checking for $ac_word... " >&6; }
   6595 if ${ac_cv_prog_NMEDIT+:} false; then :
   6596   $as_echo_n "(cached) " >&6
   6597 else
   6598   if test -n "$NMEDIT"; then
   6599   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6600 else
   6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6602 for as_dir in $PATH
   6603 do
   6604   IFS=$as_save_IFS
   6605   test -z "$as_dir" && as_dir=.
   6606     for ac_exec_ext in '' $ac_executable_extensions; do
   6607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6608     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6610     break 2
   6611   fi
   6612 done
   6613   done
   6614 IFS=$as_save_IFS
   6615 
   6616 fi
   6617 fi
   6618 NMEDIT=$ac_cv_prog_NMEDIT
   6619 if test -n "$NMEDIT"; then
   6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6621 $as_echo "$NMEDIT" >&6; }
   6622 else
   6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6624 $as_echo "no" >&6; }
   6625 fi
   6626 
   6627 
   6628 fi
   6629 if test -z "$ac_cv_prog_NMEDIT"; then
   6630   ac_ct_NMEDIT=$NMEDIT
   6631   # Extract the first word of "nmedit", so it can be a program name with args.
   6632 set dummy nmedit; ac_word=$2
   6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6634 $as_echo_n "checking for $ac_word... " >&6; }
   6635 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   if test -n "$ac_ct_NMEDIT"; then
   6639   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6640 else
   6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6642 for as_dir in $PATH
   6643 do
   6644   IFS=$as_save_IFS
   6645   test -z "$as_dir" && as_dir=.
   6646     for ac_exec_ext in '' $ac_executable_extensions; do
   6647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6648     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6650     break 2
   6651   fi
   6652 done
   6653   done
   6654 IFS=$as_save_IFS
   6655 
   6656 fi
   6657 fi
   6658 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6659 if test -n "$ac_ct_NMEDIT"; then
   6660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6661 $as_echo "$ac_ct_NMEDIT" >&6; }
   6662 else
   6663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6664 $as_echo "no" >&6; }
   6665 fi
   6666 
   6667   if test "x$ac_ct_NMEDIT" = x; then
   6668     NMEDIT=":"
   6669   else
   6670     case $cross_compiling:$ac_tool_warned in
   6671 yes:)
   6672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6674 ac_tool_warned=yes ;;
   6675 esac
   6676     NMEDIT=$ac_ct_NMEDIT
   6677   fi
   6678 else
   6679   NMEDIT="$ac_cv_prog_NMEDIT"
   6680 fi
   6681 
   6682     if test -n "$ac_tool_prefix"; then
   6683   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6684 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6686 $as_echo_n "checking for $ac_word... " >&6; }
   6687 if ${ac_cv_prog_LIPO+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   if test -n "$LIPO"; then
   6691   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6692 else
   6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6694 for as_dir in $PATH
   6695 do
   6696   IFS=$as_save_IFS
   6697   test -z "$as_dir" && as_dir=.
   6698     for ac_exec_ext in '' $ac_executable_extensions; do
   6699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6700     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6702     break 2
   6703   fi
   6704 done
   6705   done
   6706 IFS=$as_save_IFS
   6707 
   6708 fi
   6709 fi
   6710 LIPO=$ac_cv_prog_LIPO
   6711 if test -n "$LIPO"; then
   6712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6713 $as_echo "$LIPO" >&6; }
   6714 else
   6715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6716 $as_echo "no" >&6; }
   6717 fi
   6718 
   6719 
   6720 fi
   6721 if test -z "$ac_cv_prog_LIPO"; then
   6722   ac_ct_LIPO=$LIPO
   6723   # Extract the first word of "lipo", so it can be a program name with args.
   6724 set dummy lipo; ac_word=$2
   6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6726 $as_echo_n "checking for $ac_word... " >&6; }
   6727 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6728   $as_echo_n "(cached) " >&6
   6729 else
   6730   if test -n "$ac_ct_LIPO"; then
   6731   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6732 else
   6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6734 for as_dir in $PATH
   6735 do
   6736   IFS=$as_save_IFS
   6737   test -z "$as_dir" && as_dir=.
   6738     for ac_exec_ext in '' $ac_executable_extensions; do
   6739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6740     ac_cv_prog_ac_ct_LIPO="lipo"
   6741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6742     break 2
   6743   fi
   6744 done
   6745   done
   6746 IFS=$as_save_IFS
   6747 
   6748 fi
   6749 fi
   6750 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6751 if test -n "$ac_ct_LIPO"; then
   6752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6753 $as_echo "$ac_ct_LIPO" >&6; }
   6754 else
   6755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6756 $as_echo "no" >&6; }
   6757 fi
   6758 
   6759   if test "x$ac_ct_LIPO" = x; then
   6760     LIPO=":"
   6761   else
   6762     case $cross_compiling:$ac_tool_warned in
   6763 yes:)
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6766 ac_tool_warned=yes ;;
   6767 esac
   6768     LIPO=$ac_ct_LIPO
   6769   fi
   6770 else
   6771   LIPO="$ac_cv_prog_LIPO"
   6772 fi
   6773 
   6774     if test -n "$ac_tool_prefix"; then
   6775   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6776 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6778 $as_echo_n "checking for $ac_word... " >&6; }
   6779 if ${ac_cv_prog_OTOOL+:} false; then :
   6780   $as_echo_n "(cached) " >&6
   6781 else
   6782   if test -n "$OTOOL"; then
   6783   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6784 else
   6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6786 for as_dir in $PATH
   6787 do
   6788   IFS=$as_save_IFS
   6789   test -z "$as_dir" && as_dir=.
   6790     for ac_exec_ext in '' $ac_executable_extensions; do
   6791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6792     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6794     break 2
   6795   fi
   6796 done
   6797   done
   6798 IFS=$as_save_IFS
   6799 
   6800 fi
   6801 fi
   6802 OTOOL=$ac_cv_prog_OTOOL
   6803 if test -n "$OTOOL"; then
   6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6805 $as_echo "$OTOOL" >&6; }
   6806 else
   6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6808 $as_echo "no" >&6; }
   6809 fi
   6810 
   6811 
   6812 fi
   6813 if test -z "$ac_cv_prog_OTOOL"; then
   6814   ac_ct_OTOOL=$OTOOL
   6815   # Extract the first word of "otool", so it can be a program name with args.
   6816 set dummy otool; ac_word=$2
   6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6818 $as_echo_n "checking for $ac_word... " >&6; }
   6819 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6820   $as_echo_n "(cached) " >&6
   6821 else
   6822   if test -n "$ac_ct_OTOOL"; then
   6823   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6824 else
   6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6826 for as_dir in $PATH
   6827 do
   6828   IFS=$as_save_IFS
   6829   test -z "$as_dir" && as_dir=.
   6830     for ac_exec_ext in '' $ac_executable_extensions; do
   6831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6832     ac_cv_prog_ac_ct_OTOOL="otool"
   6833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6834     break 2
   6835   fi
   6836 done
   6837   done
   6838 IFS=$as_save_IFS
   6839 
   6840 fi
   6841 fi
   6842 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6843 if test -n "$ac_ct_OTOOL"; then
   6844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6845 $as_echo "$ac_ct_OTOOL" >&6; }
   6846 else
   6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6848 $as_echo "no" >&6; }
   6849 fi
   6850 
   6851   if test "x$ac_ct_OTOOL" = x; then
   6852     OTOOL=":"
   6853   else
   6854     case $cross_compiling:$ac_tool_warned in
   6855 yes:)
   6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6858 ac_tool_warned=yes ;;
   6859 esac
   6860     OTOOL=$ac_ct_OTOOL
   6861   fi
   6862 else
   6863   OTOOL="$ac_cv_prog_OTOOL"
   6864 fi
   6865 
   6866     if test -n "$ac_tool_prefix"; then
   6867   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6868 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6870 $as_echo_n "checking for $ac_word... " >&6; }
   6871 if ${ac_cv_prog_OTOOL64+:} false; then :
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   if test -n "$OTOOL64"; then
   6875   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6876 else
   6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6878 for as_dir in $PATH
   6879 do
   6880   IFS=$as_save_IFS
   6881   test -z "$as_dir" && as_dir=.
   6882     for ac_exec_ext in '' $ac_executable_extensions; do
   6883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6884     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6886     break 2
   6887   fi
   6888 done
   6889   done
   6890 IFS=$as_save_IFS
   6891 
   6892 fi
   6893 fi
   6894 OTOOL64=$ac_cv_prog_OTOOL64
   6895 if test -n "$OTOOL64"; then
   6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6897 $as_echo "$OTOOL64" >&6; }
   6898 else
   6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6900 $as_echo "no" >&6; }
   6901 fi
   6902 
   6903 
   6904 fi
   6905 if test -z "$ac_cv_prog_OTOOL64"; then
   6906   ac_ct_OTOOL64=$OTOOL64
   6907   # Extract the first word of "otool64", so it can be a program name with args.
   6908 set dummy otool64; ac_word=$2
   6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6910 $as_echo_n "checking for $ac_word... " >&6; }
   6911 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6912   $as_echo_n "(cached) " >&6
   6913 else
   6914   if test -n "$ac_ct_OTOOL64"; then
   6915   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6916 else
   6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6918 for as_dir in $PATH
   6919 do
   6920   IFS=$as_save_IFS
   6921   test -z "$as_dir" && as_dir=.
   6922     for ac_exec_ext in '' $ac_executable_extensions; do
   6923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6924     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6926     break 2
   6927   fi
   6928 done
   6929   done
   6930 IFS=$as_save_IFS
   6931 
   6932 fi
   6933 fi
   6934 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6935 if test -n "$ac_ct_OTOOL64"; then
   6936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6937 $as_echo "$ac_ct_OTOOL64" >&6; }
   6938 else
   6939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6940 $as_echo "no" >&6; }
   6941 fi
   6942 
   6943   if test "x$ac_ct_OTOOL64" = x; then
   6944     OTOOL64=":"
   6945   else
   6946     case $cross_compiling:$ac_tool_warned in
   6947 yes:)
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6950 ac_tool_warned=yes ;;
   6951 esac
   6952     OTOOL64=$ac_ct_OTOOL64
   6953   fi
   6954 else
   6955   OTOOL64="$ac_cv_prog_OTOOL64"
   6956 fi
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6985 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6986 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6987   $as_echo_n "(cached) " >&6
   6988 else
   6989   lt_cv_apple_cc_single_mod=no
   6990       if test -z "${LT_MULTI_MODULE}"; then
   6991 	# By default we will add the -single_module flag. You can override
   6992 	# by either setting the environment variable LT_MULTI_MODULE
   6993 	# non-empty at configure time, or by adding -multi_module to the
   6994 	# link flags.
   6995 	rm -rf libconftest.dylib*
   6996 	echo "int foo(void){return 1;}" > conftest.c
   6997 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6998 -dynamiclib -Wl,-single_module conftest.c" >&5
   6999 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7000 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7001         _lt_result=$?
   7002 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7003 	  lt_cv_apple_cc_single_mod=yes
   7004 	else
   7005 	  cat conftest.err >&5
   7006 	fi
   7007 	rm -rf libconftest.dylib*
   7008 	rm -f conftest.*
   7009       fi
   7010 fi
   7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7012 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7013     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7014 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7015 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7016   $as_echo_n "(cached) " >&6
   7017 else
   7018   lt_cv_ld_exported_symbols_list=no
   7019       save_LDFLAGS=$LDFLAGS
   7020       echo "_main" > conftest.sym
   7021       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7023 /* end confdefs.h.  */
   7024 
   7025 int
   7026 main ()
   7027 {
   7028 
   7029   ;
   7030   return 0;
   7031 }
   7032 _ACEOF
   7033 if ac_fn_c_try_link "$LINENO"; then :
   7034   lt_cv_ld_exported_symbols_list=yes
   7035 else
   7036   lt_cv_ld_exported_symbols_list=no
   7037 fi
   7038 rm -f core conftest.err conftest.$ac_objext \
   7039     conftest$ac_exeext conftest.$ac_ext
   7040 	LDFLAGS="$save_LDFLAGS"
   7041 
   7042 fi
   7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7044 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7046 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7047 if ${lt_cv_ld_force_load+:} false; then :
   7048   $as_echo_n "(cached) " >&6
   7049 else
   7050   lt_cv_ld_force_load=no
   7051       cat > conftest.c << _LT_EOF
   7052 int forced_loaded() { return 2;}
   7053 _LT_EOF
   7054       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7055       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7056       echo "$AR cru libconftest.a conftest.o" >&5
   7057       $AR cru libconftest.a conftest.o 2>&5
   7058       echo "$RANLIB libconftest.a" >&5
   7059       $RANLIB libconftest.a 2>&5
   7060       cat > conftest.c << _LT_EOF
   7061 int main() { return 0;}
   7062 _LT_EOF
   7063       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7064       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7065       _lt_result=$?
   7066       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7067 	lt_cv_ld_force_load=yes
   7068       else
   7069 	cat conftest.err >&5
   7070       fi
   7071         rm -f conftest.err libconftest.a conftest conftest.c
   7072         rm -rf conftest.dSYM
   7073 
   7074 fi
   7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7076 $as_echo "$lt_cv_ld_force_load" >&6; }
   7077     case $host_os in
   7078     rhapsody* | darwin1.[012])
   7079       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7080     darwin1.*)
   7081       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7082     darwin*) # darwin 5.x on
   7083       # if running on 10.5 or later, the deployment target defaults
   7084       # to the OS version, if on x86, and 10.4, the deployment
   7085       # target defaults to 10.4. Don't you love it?
   7086       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7087 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7088 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7089 	10.[012]*)
   7090 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7091 	10.*)
   7092 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7093       esac
   7094     ;;
   7095   esac
   7096     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7097       _lt_dar_single_mod='$single_module'
   7098     fi
   7099     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7100       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7101     else
   7102       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7103     fi
   7104     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7105       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7106     else
   7107       _lt_dsymutil=
   7108     fi
   7109     ;;
   7110   esac
   7111 
   7112 ac_ext=c
   7113 ac_cpp='$CPP $CPPFLAGS'
   7114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7118 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7119 # On Suns, sometimes $CPP names a directory.
   7120 if test -n "$CPP" && test -d "$CPP"; then
   7121   CPP=
   7122 fi
   7123 if test -z "$CPP"; then
   7124   if ${ac_cv_prog_CPP+:} false; then :
   7125   $as_echo_n "(cached) " >&6
   7126 else
   7127       # Double quotes because CPP needs to be expanded
   7128     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7129     do
   7130       ac_preproc_ok=false
   7131 for ac_c_preproc_warn_flag in '' yes
   7132 do
   7133   # Use a header file that comes with gcc, so configuring glibc
   7134   # with a fresh cross-compiler works.
   7135   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7136   # <limits.h> exists even on freestanding compilers.
   7137   # On the NeXT, cc -E runs the code through the compiler's parser,
   7138   # not just through cpp. "Syntax error" is here to catch this case.
   7139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7140 /* end confdefs.h.  */
   7141 #ifdef __STDC__
   7142 # include <limits.h>
   7143 #else
   7144 # include <assert.h>
   7145 #endif
   7146 		     Syntax error
   7147 _ACEOF
   7148 if ac_fn_c_try_cpp "$LINENO"; then :
   7149 
   7150 else
   7151   # Broken: fails on valid input.
   7152 continue
   7153 fi
   7154 rm -f conftest.err conftest.i conftest.$ac_ext
   7155 
   7156   # OK, works on sane cases.  Now check whether nonexistent headers
   7157   # can be detected and how.
   7158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7159 /* end confdefs.h.  */
   7160 #include <ac_nonexistent.h>
   7161 _ACEOF
   7162 if ac_fn_c_try_cpp "$LINENO"; then :
   7163   # Broken: success on invalid input.
   7164 continue
   7165 else
   7166   # Passes both tests.
   7167 ac_preproc_ok=:
   7168 break
   7169 fi
   7170 rm -f conftest.err conftest.i conftest.$ac_ext
   7171 
   7172 done
   7173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7174 rm -f conftest.i conftest.err conftest.$ac_ext
   7175 if $ac_preproc_ok; then :
   7176   break
   7177 fi
   7178 
   7179     done
   7180     ac_cv_prog_CPP=$CPP
   7181 
   7182 fi
   7183   CPP=$ac_cv_prog_CPP
   7184 else
   7185   ac_cv_prog_CPP=$CPP
   7186 fi
   7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7188 $as_echo "$CPP" >&6; }
   7189 ac_preproc_ok=false
   7190 for ac_c_preproc_warn_flag in '' yes
   7191 do
   7192   # Use a header file that comes with gcc, so configuring glibc
   7193   # with a fresh cross-compiler works.
   7194   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7195   # <limits.h> exists even on freestanding compilers.
   7196   # On the NeXT, cc -E runs the code through the compiler's parser,
   7197   # not just through cpp. "Syntax error" is here to catch this case.
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 #ifdef __STDC__
   7201 # include <limits.h>
   7202 #else
   7203 # include <assert.h>
   7204 #endif
   7205 		     Syntax error
   7206 _ACEOF
   7207 if ac_fn_c_try_cpp "$LINENO"; then :
   7208 
   7209 else
   7210   # Broken: fails on valid input.
   7211 continue
   7212 fi
   7213 rm -f conftest.err conftest.i conftest.$ac_ext
   7214 
   7215   # OK, works on sane cases.  Now check whether nonexistent headers
   7216   # can be detected and how.
   7217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7218 /* end confdefs.h.  */
   7219 #include <ac_nonexistent.h>
   7220 _ACEOF
   7221 if ac_fn_c_try_cpp "$LINENO"; then :
   7222   # Broken: success on invalid input.
   7223 continue
   7224 else
   7225   # Passes both tests.
   7226 ac_preproc_ok=:
   7227 break
   7228 fi
   7229 rm -f conftest.err conftest.i conftest.$ac_ext
   7230 
   7231 done
   7232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7233 rm -f conftest.i conftest.err conftest.$ac_ext
   7234 if $ac_preproc_ok; then :
   7235 
   7236 else
   7237   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7239 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7240 See \`config.log' for more details" "$LINENO" 5; }
   7241 fi
   7242 
   7243 ac_ext=c
   7244 ac_cpp='$CPP $CPPFLAGS'
   7245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7248 
   7249 
   7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7251 $as_echo_n "checking for ANSI C header files... " >&6; }
   7252 if ${ac_cv_header_stdc+:} false; then :
   7253   $as_echo_n "(cached) " >&6
   7254 else
   7255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7256 /* end confdefs.h.  */
   7257 #include <stdlib.h>
   7258 #include <stdarg.h>
   7259 #include <string.h>
   7260 #include <float.h>
   7261 
   7262 int
   7263 main ()
   7264 {
   7265 
   7266   ;
   7267   return 0;
   7268 }
   7269 _ACEOF
   7270 if ac_fn_c_try_compile "$LINENO"; then :
   7271   ac_cv_header_stdc=yes
   7272 else
   7273   ac_cv_header_stdc=no
   7274 fi
   7275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7276 
   7277 if test $ac_cv_header_stdc = yes; then
   7278   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7280 /* end confdefs.h.  */
   7281 #include <string.h>
   7282 
   7283 _ACEOF
   7284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7285   $EGREP "memchr" >/dev/null 2>&1; then :
   7286 
   7287 else
   7288   ac_cv_header_stdc=no
   7289 fi
   7290 rm -f conftest*
   7291 
   7292 fi
   7293 
   7294 if test $ac_cv_header_stdc = yes; then
   7295   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297 /* end confdefs.h.  */
   7298 #include <stdlib.h>
   7299 
   7300 _ACEOF
   7301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7302   $EGREP "free" >/dev/null 2>&1; then :
   7303 
   7304 else
   7305   ac_cv_header_stdc=no
   7306 fi
   7307 rm -f conftest*
   7308 
   7309 fi
   7310 
   7311 if test $ac_cv_header_stdc = yes; then
   7312   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7313   if test "$cross_compiling" = yes; then :
   7314   :
   7315 else
   7316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7317 /* end confdefs.h.  */
   7318 #include <ctype.h>
   7319 #include <stdlib.h>
   7320 #if ((' ' & 0x0FF) == 0x020)
   7321 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7322 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7323 #else
   7324 # define ISLOWER(c) \
   7325 		   (('a' <= (c) && (c) <= 'i') \
   7326 		     || ('j' <= (c) && (c) <= 'r') \
   7327 		     || ('s' <= (c) && (c) <= 'z'))
   7328 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7329 #endif
   7330 
   7331 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7332 int
   7333 main ()
   7334 {
   7335   int i;
   7336   for (i = 0; i < 256; i++)
   7337     if (XOR (islower (i), ISLOWER (i))
   7338 	|| toupper (i) != TOUPPER (i))
   7339       return 2;
   7340   return 0;
   7341 }
   7342 _ACEOF
   7343 if ac_fn_c_try_run "$LINENO"; then :
   7344 
   7345 else
   7346   ac_cv_header_stdc=no
   7347 fi
   7348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7349   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7350 fi
   7351 
   7352 fi
   7353 fi
   7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7355 $as_echo "$ac_cv_header_stdc" >&6; }
   7356 if test $ac_cv_header_stdc = yes; then
   7357 
   7358 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7359 
   7360 fi
   7361 
   7362 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7363 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7364 		  inttypes.h stdint.h unistd.h
   7365 do :
   7366   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7367 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7368 "
   7369 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7370   cat >>confdefs.h <<_ACEOF
   7371 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7372 _ACEOF
   7373 
   7374 fi
   7375 
   7376 done
   7377 
   7378 
   7379 for ac_header in dlfcn.h
   7380 do :
   7381   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7382 "
   7383 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7384   cat >>confdefs.h <<_ACEOF
   7385 #define HAVE_DLFCN_H 1
   7386 _ACEOF
   7387 
   7388 fi
   7389 
   7390 done
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 # Set options
   7397 
   7398 
   7399 
   7400         enable_dlopen=no
   7401 
   7402 
   7403   enable_win32_dll=no
   7404 
   7405 
   7406             # Check whether --enable-shared was given.
   7407 if test "${enable_shared+set}" = set; then :
   7408   enableval=$enable_shared; p=${PACKAGE-default}
   7409     case $enableval in
   7410     yes) enable_shared=yes ;;
   7411     no) enable_shared=no ;;
   7412     *)
   7413       enable_shared=no
   7414       # Look at the argument we got.  We use all the common list separators.
   7415       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7416       for pkg in $enableval; do
   7417 	IFS="$lt_save_ifs"
   7418 	if test "X$pkg" = "X$p"; then
   7419 	  enable_shared=yes
   7420 	fi
   7421       done
   7422       IFS="$lt_save_ifs"
   7423       ;;
   7424     esac
   7425 else
   7426   enable_shared=yes
   7427 fi
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437   # Check whether --enable-static was given.
   7438 if test "${enable_static+set}" = set; then :
   7439   enableval=$enable_static; p=${PACKAGE-default}
   7440     case $enableval in
   7441     yes) enable_static=yes ;;
   7442     no) enable_static=no ;;
   7443     *)
   7444      enable_static=no
   7445       # Look at the argument we got.  We use all the common list separators.
   7446       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7447       for pkg in $enableval; do
   7448 	IFS="$lt_save_ifs"
   7449 	if test "X$pkg" = "X$p"; then
   7450 	  enable_static=yes
   7451 	fi
   7452       done
   7453       IFS="$lt_save_ifs"
   7454       ;;
   7455     esac
   7456 else
   7457   enable_static=yes
   7458 fi
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 # Check whether --with-pic was given.
   7470 if test "${with_pic+set}" = set; then :
   7471   withval=$with_pic; pic_mode="$withval"
   7472 else
   7473   pic_mode=default
   7474 fi
   7475 
   7476 
   7477 test -z "$pic_mode" && pic_mode=default
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485   # Check whether --enable-fast-install was given.
   7486 if test "${enable_fast_install+set}" = set; then :
   7487   enableval=$enable_fast_install; p=${PACKAGE-default}
   7488     case $enableval in
   7489     yes) enable_fast_install=yes ;;
   7490     no) enable_fast_install=no ;;
   7491     *)
   7492       enable_fast_install=no
   7493       # Look at the argument we got.  We use all the common list separators.
   7494       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7495       for pkg in $enableval; do
   7496 	IFS="$lt_save_ifs"
   7497 	if test "X$pkg" = "X$p"; then
   7498 	  enable_fast_install=yes
   7499 	fi
   7500       done
   7501       IFS="$lt_save_ifs"
   7502       ;;
   7503     esac
   7504 else
   7505   enable_fast_install=yes
   7506 fi
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 # This can be used to rebuild libtool when needed
   7519 LIBTOOL_DEPS="$ltmain"
   7520 
   7521 # Always use our own libtool.
   7522 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 test -z "$LN_S" && LN_S="ln -s"
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 if test -n "${ZSH_VERSION+set}" ; then
   7565    setopt NO_GLOB_SUBST
   7566 fi
   7567 
   7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7569 $as_echo_n "checking for objdir... " >&6; }
   7570 if ${lt_cv_objdir+:} false; then :
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   rm -f .libs 2>/dev/null
   7574 mkdir .libs 2>/dev/null
   7575 if test -d .libs; then
   7576   lt_cv_objdir=.libs
   7577 else
   7578   # MS-DOS does not allow filenames that begin with a dot.
   7579   lt_cv_objdir=_libs
   7580 fi
   7581 rmdir .libs 2>/dev/null
   7582 fi
   7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7584 $as_echo "$lt_cv_objdir" >&6; }
   7585 objdir=$lt_cv_objdir
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 cat >>confdefs.h <<_ACEOF
   7592 #define LT_OBJDIR "$lt_cv_objdir/"
   7593 _ACEOF
   7594 
   7595 
   7596 
   7597 
   7598 case $host_os in
   7599 aix3*)
   7600   # AIX sometimes has problems with the GCC collect2 program.  For some
   7601   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7602   # vanish in a puff of smoke.
   7603   if test "X${COLLECT_NAMES+set}" != Xset; then
   7604     COLLECT_NAMES=
   7605     export COLLECT_NAMES
   7606   fi
   7607   ;;
   7608 esac
   7609 
   7610 # Global variables:
   7611 ofile=libtool
   7612 can_build_shared=yes
   7613 
   7614 # All known linkers require a `.a' archive for static linking (except MSVC,
   7615 # which needs '.lib').
   7616 libext=a
   7617 
   7618 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7619 
   7620 old_CC="$CC"
   7621 old_CFLAGS="$CFLAGS"
   7622 
   7623 # Set sane defaults for various variables
   7624 test -z "$CC" && CC=cc
   7625 test -z "$LTCC" && LTCC=$CC
   7626 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7627 test -z "$LD" && LD=ld
   7628 test -z "$ac_objext" && ac_objext=o
   7629 
   7630 for cc_temp in $compiler""; do
   7631   case $cc_temp in
   7632     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7633     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7634     \-*) ;;
   7635     *) break;;
   7636   esac
   7637 done
   7638 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7639 
   7640 
   7641 # Only perform the check for file, if the check method requires it
   7642 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7643 case $deplibs_check_method in
   7644 file_magic*)
   7645   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7647 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7648 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7649   $as_echo_n "(cached) " >&6
   7650 else
   7651   case $MAGIC_CMD in
   7652 [\\/*] |  ?:[\\/]*)
   7653   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7654   ;;
   7655 *)
   7656   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7657   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7658   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7659   for ac_dir in $ac_dummy; do
   7660     IFS="$lt_save_ifs"
   7661     test -z "$ac_dir" && ac_dir=.
   7662     if test -f $ac_dir/${ac_tool_prefix}file; then
   7663       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7664       if test -n "$file_magic_test_file"; then
   7665 	case $deplibs_check_method in
   7666 	"file_magic "*)
   7667 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7668 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7669 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7670 	    $EGREP "$file_magic_regex" > /dev/null; then
   7671 	    :
   7672 	  else
   7673 	    cat <<_LT_EOF 1>&2
   7674 
   7675 *** Warning: the command libtool uses to detect shared libraries,
   7676 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7677 *** The result is that libtool may fail to recognize shared libraries
   7678 *** as such.  This will affect the creation of libtool libraries that
   7679 *** depend on shared libraries, but programs linked with such libtool
   7680 *** libraries will work regardless of this problem.  Nevertheless, you
   7681 *** may want to report the problem to your system manager and/or to
   7682 *** bug-libtool@gnu.org
   7683 
   7684 _LT_EOF
   7685 	  fi ;;
   7686 	esac
   7687       fi
   7688       break
   7689     fi
   7690   done
   7691   IFS="$lt_save_ifs"
   7692   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7693   ;;
   7694 esac
   7695 fi
   7696 
   7697 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7698 if test -n "$MAGIC_CMD"; then
   7699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7700 $as_echo "$MAGIC_CMD" >&6; }
   7701 else
   7702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7703 $as_echo "no" >&6; }
   7704 fi
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7711   if test -n "$ac_tool_prefix"; then
   7712     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7713 $as_echo_n "checking for file... " >&6; }
   7714 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7715   $as_echo_n "(cached) " >&6
   7716 else
   7717   case $MAGIC_CMD in
   7718 [\\/*] |  ?:[\\/]*)
   7719   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7720   ;;
   7721 *)
   7722   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7723   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7724   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7725   for ac_dir in $ac_dummy; do
   7726     IFS="$lt_save_ifs"
   7727     test -z "$ac_dir" && ac_dir=.
   7728     if test -f $ac_dir/file; then
   7729       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7730       if test -n "$file_magic_test_file"; then
   7731 	case $deplibs_check_method in
   7732 	"file_magic "*)
   7733 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7734 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7735 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7736 	    $EGREP "$file_magic_regex" > /dev/null; then
   7737 	    :
   7738 	  else
   7739 	    cat <<_LT_EOF 1>&2
   7740 
   7741 *** Warning: the command libtool uses to detect shared libraries,
   7742 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7743 *** The result is that libtool may fail to recognize shared libraries
   7744 *** as such.  This will affect the creation of libtool libraries that
   7745 *** depend on shared libraries, but programs linked with such libtool
   7746 *** libraries will work regardless of this problem.  Nevertheless, you
   7747 *** may want to report the problem to your system manager and/or to
   7748 *** bug-libtool@gnu.org
   7749 
   7750 _LT_EOF
   7751 	  fi ;;
   7752 	esac
   7753       fi
   7754       break
   7755     fi
   7756   done
   7757   IFS="$lt_save_ifs"
   7758   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7759   ;;
   7760 esac
   7761 fi
   7762 
   7763 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7764 if test -n "$MAGIC_CMD"; then
   7765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7766 $as_echo "$MAGIC_CMD" >&6; }
   7767 else
   7768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7769 $as_echo "no" >&6; }
   7770 fi
   7771 
   7772 
   7773   else
   7774     MAGIC_CMD=:
   7775   fi
   7776 fi
   7777 
   7778   fi
   7779   ;;
   7780 esac
   7781 
   7782 # Use C for the default configuration in the libtool script
   7783 
   7784 lt_save_CC="$CC"
   7785 ac_ext=c
   7786 ac_cpp='$CPP $CPPFLAGS'
   7787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7790 
   7791 
   7792 # Source file extension for C test sources.
   7793 ac_ext=c
   7794 
   7795 # Object file extension for compiled C test sources.
   7796 objext=o
   7797 objext=$objext
   7798 
   7799 # Code to be used in simple compile tests
   7800 lt_simple_compile_test_code="int some_variable = 0;"
   7801 
   7802 # Code to be used in simple link tests
   7803 lt_simple_link_test_code='int main(){return(0);}'
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 # If no C compiler was specified, use CC.
   7812 LTCC=${LTCC-"$CC"}
   7813 
   7814 # If no C compiler flags were specified, use CFLAGS.
   7815 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7816 
   7817 # Allow CC to be a program name with arguments.
   7818 compiler=$CC
   7819 
   7820 # Save the default compiler, since it gets overwritten when the other
   7821 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7822 compiler_DEFAULT=$CC
   7823 
   7824 # save warnings/boilerplate of simple test code
   7825 ac_outfile=conftest.$ac_objext
   7826 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7827 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7828 _lt_compiler_boilerplate=`cat conftest.err`
   7829 $RM conftest*
   7830 
   7831 ac_outfile=conftest.$ac_objext
   7832 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7833 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7834 _lt_linker_boilerplate=`cat conftest.err`
   7835 $RM -r conftest*
   7836 
   7837 
   7838 ## CAVEAT EMPTOR:
   7839 ## There is no encapsulation within the following macros, do not change
   7840 ## the running order or otherwise move them around unless you know exactly
   7841 ## what you are doing...
   7842 if test -n "$compiler"; then
   7843 
   7844 lt_prog_compiler_no_builtin_flag=
   7845 
   7846 if test "$GCC" = yes; then
   7847   case $cc_basename in
   7848   nvcc*)
   7849     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7850   *)
   7851     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7852   esac
   7853 
   7854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7855 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7856 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7857   $as_echo_n "(cached) " >&6
   7858 else
   7859   lt_cv_prog_compiler_rtti_exceptions=no
   7860    ac_outfile=conftest.$ac_objext
   7861    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7862    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7863    # Insert the option either (1) after the last *FLAGS variable, or
   7864    # (2) before a word containing "conftest.", or (3) at the end.
   7865    # Note that $ac_compile itself does not contain backslashes and begins
   7866    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7867    # The option is referenced via a variable to avoid confusing sed.
   7868    lt_compile=`echo "$ac_compile" | $SED \
   7869    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7870    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7871    -e 's:$: $lt_compiler_flag:'`
   7872    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7873    (eval "$lt_compile" 2>conftest.err)
   7874    ac_status=$?
   7875    cat conftest.err >&5
   7876    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7877    if (exit $ac_status) && test -s "$ac_outfile"; then
   7878      # The compiler can only warn and ignore the option if not recognized
   7879      # So say no if there are warnings other than the usual output.
   7880      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7881      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7882      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7883        lt_cv_prog_compiler_rtti_exceptions=yes
   7884      fi
   7885    fi
   7886    $RM conftest*
   7887 
   7888 fi
   7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7890 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7891 
   7892 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7893     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7894 else
   7895     :
   7896 fi
   7897 
   7898 fi
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905   lt_prog_compiler_wl=
   7906 lt_prog_compiler_pic=
   7907 lt_prog_compiler_static=
   7908 
   7909 
   7910   if test "$GCC" = yes; then
   7911     lt_prog_compiler_wl='-Wl,'
   7912     lt_prog_compiler_static='-static'
   7913 
   7914     case $host_os in
   7915       aix*)
   7916       # All AIX code is PIC.
   7917       if test "$host_cpu" = ia64; then
   7918 	# AIX 5 now supports IA64 processor
   7919 	lt_prog_compiler_static='-Bstatic'
   7920       fi
   7921       ;;
   7922 
   7923     amigaos*)
   7924       case $host_cpu in
   7925       powerpc)
   7926             # see comment about AmigaOS4 .so support
   7927             lt_prog_compiler_pic='-fPIC'
   7928         ;;
   7929       m68k)
   7930             # FIXME: we need at least 68020 code to build shared libraries, but
   7931             # adding the `-m68020' flag to GCC prevents building anything better,
   7932             # like `-m68040'.
   7933             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7934         ;;
   7935       esac
   7936       ;;
   7937 
   7938     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7939       # PIC is the default for these OSes.
   7940       ;;
   7941 
   7942     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7943       # This hack is so that the source file can tell whether it is being
   7944       # built for inclusion in a dll (and should export symbols for example).
   7945       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7946       # (--disable-auto-import) libraries
   7947       lt_prog_compiler_pic='-DDLL_EXPORT'
   7948       ;;
   7949 
   7950     darwin* | rhapsody*)
   7951       # PIC is the default on this platform
   7952       # Common symbols not allowed in MH_DYLIB files
   7953       lt_prog_compiler_pic='-fno-common'
   7954       ;;
   7955 
   7956     haiku*)
   7957       # PIC is the default for Haiku.
   7958       # The "-static" flag exists, but is broken.
   7959       lt_prog_compiler_static=
   7960       ;;
   7961 
   7962     hpux*)
   7963       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7964       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7965       # sets the default TLS model and affects inlining.
   7966       case $host_cpu in
   7967       hppa*64*)
   7968 	# +Z the default
   7969 	;;
   7970       *)
   7971 	lt_prog_compiler_pic='-fPIC'
   7972 	;;
   7973       esac
   7974       ;;
   7975 
   7976     interix[3-9]*)
   7977       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7978       # Instead, we relocate shared libraries at runtime.
   7979       ;;
   7980 
   7981     msdosdjgpp*)
   7982       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7983       # on systems that don't support them.
   7984       lt_prog_compiler_can_build_shared=no
   7985       enable_shared=no
   7986       ;;
   7987 
   7988     *nto* | *qnx*)
   7989       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7990       # it will coredump.
   7991       lt_prog_compiler_pic='-fPIC -shared'
   7992       ;;
   7993 
   7994     sysv4*MP*)
   7995       if test -d /usr/nec; then
   7996 	lt_prog_compiler_pic=-Kconform_pic
   7997       fi
   7998       ;;
   7999 
   8000     *)
   8001       lt_prog_compiler_pic='-fPIC'
   8002       ;;
   8003     esac
   8004 
   8005     case $cc_basename in
   8006     nvcc*) # Cuda Compiler Driver 2.2
   8007       lt_prog_compiler_wl='-Xlinker '
   8008       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8009       ;;
   8010     esac
   8011   else
   8012     # PORTME Check for flag to pass linker flags through the system compiler.
   8013     case $host_os in
   8014     aix*)
   8015       lt_prog_compiler_wl='-Wl,'
   8016       if test "$host_cpu" = ia64; then
   8017 	# AIX 5 now supports IA64 processor
   8018 	lt_prog_compiler_static='-Bstatic'
   8019       else
   8020 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8021       fi
   8022       ;;
   8023 
   8024     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8025       # This hack is so that the source file can tell whether it is being
   8026       # built for inclusion in a dll (and should export symbols for example).
   8027       lt_prog_compiler_pic='-DDLL_EXPORT'
   8028       ;;
   8029 
   8030     hpux9* | hpux10* | hpux11*)
   8031       lt_prog_compiler_wl='-Wl,'
   8032       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8033       # not for PA HP-UX.
   8034       case $host_cpu in
   8035       hppa*64*|ia64*)
   8036 	# +Z the default
   8037 	;;
   8038       *)
   8039 	lt_prog_compiler_pic='+Z'
   8040 	;;
   8041       esac
   8042       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8043       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8044       ;;
   8045 
   8046     irix5* | irix6* | nonstopux*)
   8047       lt_prog_compiler_wl='-Wl,'
   8048       # PIC (with -KPIC) is the default.
   8049       lt_prog_compiler_static='-non_shared'
   8050       ;;
   8051 
   8052     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8053       case $cc_basename in
   8054       # old Intel for x86_64 which still supported -KPIC.
   8055       ecc*)
   8056 	lt_prog_compiler_wl='-Wl,'
   8057 	lt_prog_compiler_pic='-KPIC'
   8058 	lt_prog_compiler_static='-static'
   8059         ;;
   8060       # icc used to be incompatible with GCC.
   8061       # ICC 10 doesn't accept -KPIC any more.
   8062       icc* | ifort*)
   8063 	lt_prog_compiler_wl='-Wl,'
   8064 	lt_prog_compiler_pic='-fPIC'
   8065 	lt_prog_compiler_static='-static'
   8066         ;;
   8067       # Lahey Fortran 8.1.
   8068       lf95*)
   8069 	lt_prog_compiler_wl='-Wl,'
   8070 	lt_prog_compiler_pic='--shared'
   8071 	lt_prog_compiler_static='--static'
   8072 	;;
   8073       nagfor*)
   8074 	# NAG Fortran compiler
   8075 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8076 	lt_prog_compiler_pic='-PIC'
   8077 	lt_prog_compiler_static='-Bstatic'
   8078 	;;
   8079       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8080         # Portland Group compilers (*not* the Pentium gcc compiler,
   8081 	# which looks to be a dead project)
   8082 	lt_prog_compiler_wl='-Wl,'
   8083 	lt_prog_compiler_pic='-fpic'
   8084 	lt_prog_compiler_static='-Bstatic'
   8085         ;;
   8086       ccc*)
   8087         lt_prog_compiler_wl='-Wl,'
   8088         # All Alpha code is PIC.
   8089         lt_prog_compiler_static='-non_shared'
   8090         ;;
   8091       xl* | bgxl* | bgf* | mpixl*)
   8092 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8093 	lt_prog_compiler_wl='-Wl,'
   8094 	lt_prog_compiler_pic='-qpic'
   8095 	lt_prog_compiler_static='-qstaticlink'
   8096 	;;
   8097       *)
   8098 	case `$CC -V 2>&1 | sed 5q` in
   8099 	*Sun\ F* | *Sun*Fortran*)
   8100 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8101 	  lt_prog_compiler_pic='-KPIC'
   8102 	  lt_prog_compiler_static='-Bstatic'
   8103 	  lt_prog_compiler_wl=''
   8104 	  ;;
   8105 	*Sun\ C*)
   8106 	  # Sun C 5.9
   8107 	  lt_prog_compiler_pic='-KPIC'
   8108 	  lt_prog_compiler_static='-Bstatic'
   8109 	  lt_prog_compiler_wl='-Wl,'
   8110 	  ;;
   8111 	esac
   8112 	;;
   8113       esac
   8114       ;;
   8115 
   8116     newsos6)
   8117       lt_prog_compiler_pic='-KPIC'
   8118       lt_prog_compiler_static='-Bstatic'
   8119       ;;
   8120 
   8121     *nto* | *qnx*)
   8122       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8123       # it will coredump.
   8124       lt_prog_compiler_pic='-fPIC -shared'
   8125       ;;
   8126 
   8127     osf3* | osf4* | osf5*)
   8128       lt_prog_compiler_wl='-Wl,'
   8129       # All OSF/1 code is PIC.
   8130       lt_prog_compiler_static='-non_shared'
   8131       ;;
   8132 
   8133     rdos*)
   8134       lt_prog_compiler_static='-non_shared'
   8135       ;;
   8136 
   8137     solaris*)
   8138       lt_prog_compiler_pic='-KPIC'
   8139       lt_prog_compiler_static='-Bstatic'
   8140       case $cc_basename in
   8141       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8142 	lt_prog_compiler_wl='-Qoption ld ';;
   8143       *)
   8144 	lt_prog_compiler_wl='-Wl,';;
   8145       esac
   8146       ;;
   8147 
   8148     sunos4*)
   8149       lt_prog_compiler_wl='-Qoption ld '
   8150       lt_prog_compiler_pic='-PIC'
   8151       lt_prog_compiler_static='-Bstatic'
   8152       ;;
   8153 
   8154     sysv4 | sysv4.2uw2* | sysv4.3*)
   8155       lt_prog_compiler_wl='-Wl,'
   8156       lt_prog_compiler_pic='-KPIC'
   8157       lt_prog_compiler_static='-Bstatic'
   8158       ;;
   8159 
   8160     sysv4*MP*)
   8161       if test -d /usr/nec ;then
   8162 	lt_prog_compiler_pic='-Kconform_pic'
   8163 	lt_prog_compiler_static='-Bstatic'
   8164       fi
   8165       ;;
   8166 
   8167     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8168       lt_prog_compiler_wl='-Wl,'
   8169       lt_prog_compiler_pic='-KPIC'
   8170       lt_prog_compiler_static='-Bstatic'
   8171       ;;
   8172 
   8173     unicos*)
   8174       lt_prog_compiler_wl='-Wl,'
   8175       lt_prog_compiler_can_build_shared=no
   8176       ;;
   8177 
   8178     uts4*)
   8179       lt_prog_compiler_pic='-pic'
   8180       lt_prog_compiler_static='-Bstatic'
   8181       ;;
   8182 
   8183     *)
   8184       lt_prog_compiler_can_build_shared=no
   8185       ;;
   8186     esac
   8187   fi
   8188 
   8189 case $host_os in
   8190   # For platforms which do not support PIC, -DPIC is meaningless:
   8191   *djgpp*)
   8192     lt_prog_compiler_pic=
   8193     ;;
   8194   *)
   8195     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8196     ;;
   8197 esac
   8198 
   8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8200 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8201 if ${lt_cv_prog_compiler_pic+:} false; then :
   8202   $as_echo_n "(cached) " >&6
   8203 else
   8204   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8205 fi
   8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8207 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8208 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8209 
   8210 #
   8211 # Check to make sure the PIC flag actually works.
   8212 #
   8213 if test -n "$lt_prog_compiler_pic"; then
   8214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8215 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8216 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8217   $as_echo_n "(cached) " >&6
   8218 else
   8219   lt_cv_prog_compiler_pic_works=no
   8220    ac_outfile=conftest.$ac_objext
   8221    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8222    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8223    # Insert the option either (1) after the last *FLAGS variable, or
   8224    # (2) before a word containing "conftest.", or (3) at the end.
   8225    # Note that $ac_compile itself does not contain backslashes and begins
   8226    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8227    # The option is referenced via a variable to avoid confusing sed.
   8228    lt_compile=`echo "$ac_compile" | $SED \
   8229    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8230    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8231    -e 's:$: $lt_compiler_flag:'`
   8232    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8233    (eval "$lt_compile" 2>conftest.err)
   8234    ac_status=$?
   8235    cat conftest.err >&5
   8236    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8237    if (exit $ac_status) && test -s "$ac_outfile"; then
   8238      # The compiler can only warn and ignore the option if not recognized
   8239      # So say no if there are warnings other than the usual output.
   8240      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8241      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8242      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8243        lt_cv_prog_compiler_pic_works=yes
   8244      fi
   8245    fi
   8246    $RM conftest*
   8247 
   8248 fi
   8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8250 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8251 
   8252 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8253     case $lt_prog_compiler_pic in
   8254      "" | " "*) ;;
   8255      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8256      esac
   8257 else
   8258     lt_prog_compiler_pic=
   8259      lt_prog_compiler_can_build_shared=no
   8260 fi
   8261 
   8262 fi
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 #
   8275 # Check to make sure the static flag actually works.
   8276 #
   8277 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8279 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8280 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8281   $as_echo_n "(cached) " >&6
   8282 else
   8283   lt_cv_prog_compiler_static_works=no
   8284    save_LDFLAGS="$LDFLAGS"
   8285    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8286    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8287    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8288      # The linker can only warn and ignore the option if not recognized
   8289      # So say no if there are warnings
   8290      if test -s conftest.err; then
   8291        # Append any errors to the config.log.
   8292        cat conftest.err 1>&5
   8293        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8294        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8295        if diff conftest.exp conftest.er2 >/dev/null; then
   8296          lt_cv_prog_compiler_static_works=yes
   8297        fi
   8298      else
   8299        lt_cv_prog_compiler_static_works=yes
   8300      fi
   8301    fi
   8302    $RM -r conftest*
   8303    LDFLAGS="$save_LDFLAGS"
   8304 
   8305 fi
   8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8307 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8308 
   8309 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8310     :
   8311 else
   8312     lt_prog_compiler_static=
   8313 fi
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8322 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8323 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8324   $as_echo_n "(cached) " >&6
   8325 else
   8326   lt_cv_prog_compiler_c_o=no
   8327    $RM -r conftest 2>/dev/null
   8328    mkdir conftest
   8329    cd conftest
   8330    mkdir out
   8331    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8332 
   8333    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8334    # Insert the option either (1) after the last *FLAGS variable, or
   8335    # (2) before a word containing "conftest.", or (3) at the end.
   8336    # Note that $ac_compile itself does not contain backslashes and begins
   8337    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8338    lt_compile=`echo "$ac_compile" | $SED \
   8339    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8340    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8341    -e 's:$: $lt_compiler_flag:'`
   8342    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8343    (eval "$lt_compile" 2>out/conftest.err)
   8344    ac_status=$?
   8345    cat out/conftest.err >&5
   8346    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8347    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8348    then
   8349      # The compiler can only warn and ignore the option if not recognized
   8350      # So say no if there are warnings
   8351      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8352      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8353      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8354        lt_cv_prog_compiler_c_o=yes
   8355      fi
   8356    fi
   8357    chmod u+w . 2>&5
   8358    $RM conftest*
   8359    # SGI C++ compiler will create directory out/ii_files/ for
   8360    # template instantiation
   8361    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8362    $RM out/* && rmdir out
   8363    cd ..
   8364    $RM -r conftest
   8365    $RM conftest*
   8366 
   8367 fi
   8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8369 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8377 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8378 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8379   $as_echo_n "(cached) " >&6
   8380 else
   8381   lt_cv_prog_compiler_c_o=no
   8382    $RM -r conftest 2>/dev/null
   8383    mkdir conftest
   8384    cd conftest
   8385    mkdir out
   8386    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8387 
   8388    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8389    # Insert the option either (1) after the last *FLAGS variable, or
   8390    # (2) before a word containing "conftest.", or (3) at the end.
   8391    # Note that $ac_compile itself does not contain backslashes and begins
   8392    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8393    lt_compile=`echo "$ac_compile" | $SED \
   8394    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8395    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8396    -e 's:$: $lt_compiler_flag:'`
   8397    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8398    (eval "$lt_compile" 2>out/conftest.err)
   8399    ac_status=$?
   8400    cat out/conftest.err >&5
   8401    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8402    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8403    then
   8404      # The compiler can only warn and ignore the option if not recognized
   8405      # So say no if there are warnings
   8406      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8407      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8408      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8409        lt_cv_prog_compiler_c_o=yes
   8410      fi
   8411    fi
   8412    chmod u+w . 2>&5
   8413    $RM conftest*
   8414    # SGI C++ compiler will create directory out/ii_files/ for
   8415    # template instantiation
   8416    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8417    $RM out/* && rmdir out
   8418    cd ..
   8419    $RM -r conftest
   8420    $RM conftest*
   8421 
   8422 fi
   8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8424 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8425 
   8426 
   8427 
   8428 
   8429 hard_links="nottested"
   8430 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8431   # do not overwrite the value of need_locks provided by the user
   8432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8433 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8434   hard_links=yes
   8435   $RM conftest*
   8436   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8437   touch conftest.a
   8438   ln conftest.a conftest.b 2>&5 || hard_links=no
   8439   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8441 $as_echo "$hard_links" >&6; }
   8442   if test "$hard_links" = no; then
   8443     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8444 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8445     need_locks=warn
   8446   fi
   8447 else
   8448   need_locks=no
   8449 fi
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8457 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8458 
   8459   runpath_var=
   8460   allow_undefined_flag=
   8461   always_export_symbols=no
   8462   archive_cmds=
   8463   archive_expsym_cmds=
   8464   compiler_needs_object=no
   8465   enable_shared_with_static_runtimes=no
   8466   export_dynamic_flag_spec=
   8467   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8468   hardcode_automatic=no
   8469   hardcode_direct=no
   8470   hardcode_direct_absolute=no
   8471   hardcode_libdir_flag_spec=
   8472   hardcode_libdir_flag_spec_ld=
   8473   hardcode_libdir_separator=
   8474   hardcode_minus_L=no
   8475   hardcode_shlibpath_var=unsupported
   8476   inherit_rpath=no
   8477   link_all_deplibs=unknown
   8478   module_cmds=
   8479   module_expsym_cmds=
   8480   old_archive_from_new_cmds=
   8481   old_archive_from_expsyms_cmds=
   8482   thread_safe_flag_spec=
   8483   whole_archive_flag_spec=
   8484   # include_expsyms should be a list of space-separated symbols to be *always*
   8485   # included in the symbol list
   8486   include_expsyms=
   8487   # exclude_expsyms can be an extended regexp of symbols to exclude
   8488   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8489   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8490   # as well as any symbol that contains `d'.
   8491   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8492   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8493   # platforms (ab)use it in PIC code, but their linkers get confused if
   8494   # the symbol is explicitly referenced.  Since portable code cannot
   8495   # rely on this symbol name, it's probably fine to never include it in
   8496   # preloaded symbol tables.
   8497   # Exclude shared library initialization/finalization symbols.
   8498   extract_expsyms_cmds=
   8499 
   8500   case $host_os in
   8501   cygwin* | mingw* | pw32* | cegcc*)
   8502     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8503     # When not using gcc, we currently assume that we are using
   8504     # Microsoft Visual C++.
   8505     if test "$GCC" != yes; then
   8506       with_gnu_ld=no
   8507     fi
   8508     ;;
   8509   interix*)
   8510     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8511     with_gnu_ld=yes
   8512     ;;
   8513   openbsd*)
   8514     with_gnu_ld=no
   8515     ;;
   8516   esac
   8517 
   8518   ld_shlibs=yes
   8519 
   8520   # On some targets, GNU ld is compatible enough with the native linker
   8521   # that we're better off using the native interface for both.
   8522   lt_use_gnu_ld_interface=no
   8523   if test "$with_gnu_ld" = yes; then
   8524     case $host_os in
   8525       aix*)
   8526 	# The AIX port of GNU ld has always aspired to compatibility
   8527 	# with the native linker.  However, as the warning in the GNU ld
   8528 	# block says, versions before 2.19.5* couldn't really create working
   8529 	# shared libraries, regardless of the interface used.
   8530 	case `$LD -v 2>&1` in
   8531 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8532 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8533 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8534 	  *)
   8535 	    lt_use_gnu_ld_interface=yes
   8536 	    ;;
   8537 	esac
   8538 	;;
   8539       *)
   8540 	lt_use_gnu_ld_interface=yes
   8541 	;;
   8542     esac
   8543   fi
   8544 
   8545   if test "$lt_use_gnu_ld_interface" = yes; then
   8546     # If archive_cmds runs LD, not CC, wlarc should be empty
   8547     wlarc='${wl}'
   8548 
   8549     # Set some defaults for GNU ld with shared library support. These
   8550     # are reset later if shared libraries are not supported. Putting them
   8551     # here allows them to be overridden if necessary.
   8552     runpath_var=LD_RUN_PATH
   8553     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8554     export_dynamic_flag_spec='${wl}--export-dynamic'
   8555     # ancient GNU ld didn't support --whole-archive et. al.
   8556     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8557       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8558     else
   8559       whole_archive_flag_spec=
   8560     fi
   8561     supports_anon_versioning=no
   8562     case `$LD -v 2>&1` in
   8563       *GNU\ gold*) supports_anon_versioning=yes ;;
   8564       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8565       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8566       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8567       *\ 2.11.*) ;; # other 2.11 versions
   8568       *) supports_anon_versioning=yes ;;
   8569     esac
   8570 
   8571     # See if GNU ld supports shared libraries.
   8572     case $host_os in
   8573     aix[3-9]*)
   8574       # On AIX/PPC, the GNU linker is very broken
   8575       if test "$host_cpu" != ia64; then
   8576 	ld_shlibs=no
   8577 	cat <<_LT_EOF 1>&2
   8578 
   8579 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8580 *** to be unable to reliably create shared libraries on AIX.
   8581 *** Therefore, libtool is disabling shared libraries support.  If you
   8582 *** really care for shared libraries, you may want to install binutils
   8583 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8584 *** You will then need to restart the configuration process.
   8585 
   8586 _LT_EOF
   8587       fi
   8588       ;;
   8589 
   8590     amigaos*)
   8591       case $host_cpu in
   8592       powerpc)
   8593             # see comment about AmigaOS4 .so support
   8594             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8595             archive_expsym_cmds=''
   8596         ;;
   8597       m68k)
   8598             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)'
   8599             hardcode_libdir_flag_spec='-L$libdir'
   8600             hardcode_minus_L=yes
   8601         ;;
   8602       esac
   8603       ;;
   8604 
   8605     beos*)
   8606       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8607 	allow_undefined_flag=unsupported
   8608 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8609 	# support --undefined.  This deserves some investigation.  FIXME
   8610 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8611       else
   8612 	ld_shlibs=no
   8613       fi
   8614       ;;
   8615 
   8616     cygwin* | mingw* | pw32* | cegcc*)
   8617       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8618       # as there is no search path for DLLs.
   8619       hardcode_libdir_flag_spec='-L$libdir'
   8620       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8621       allow_undefined_flag=unsupported
   8622       always_export_symbols=no
   8623       enable_shared_with_static_runtimes=yes
   8624       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   8625       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8626 
   8627       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8628         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8629 	# If the export-symbols file already is a .def file (1st line
   8630 	# is EXPORTS), use it as is; otherwise, prepend...
   8631 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8632 	  cp $export_symbols $output_objdir/$soname.def;
   8633 	else
   8634 	  echo EXPORTS > $output_objdir/$soname.def;
   8635 	  cat $export_symbols >> $output_objdir/$soname.def;
   8636 	fi~
   8637 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8638       else
   8639 	ld_shlibs=no
   8640       fi
   8641       ;;
   8642 
   8643     haiku*)
   8644       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8645       link_all_deplibs=yes
   8646       ;;
   8647 
   8648     interix[3-9]*)
   8649       hardcode_direct=no
   8650       hardcode_shlibpath_var=no
   8651       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8652       export_dynamic_flag_spec='${wl}-E'
   8653       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8654       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8655       # default) and relocated if they conflict, which is a slow very memory
   8656       # consuming and fragmenting process.  To avoid this, we pick a random,
   8657       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8658       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8659       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8660       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'
   8661       ;;
   8662 
   8663     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8664       tmp_diet=no
   8665       if test "$host_os" = linux-dietlibc; then
   8666 	case $cc_basename in
   8667 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8668 	esac
   8669       fi
   8670       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8671 	 && test "$tmp_diet" = no
   8672       then
   8673 	tmp_addflag=' $pic_flag'
   8674 	tmp_sharedflag='-shared'
   8675 	case $cc_basename,$host_cpu in
   8676         pgcc*)				# Portland Group C compiler
   8677 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8678 	  tmp_addflag=' $pic_flag'
   8679 	  ;;
   8680 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8681 					# Portland Group f77 and f90 compilers
   8682 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8683 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8684 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8685 	  tmp_addflag=' -i_dynamic' ;;
   8686 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8687 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8688 	ifc* | ifort*)			# Intel Fortran compiler
   8689 	  tmp_addflag=' -nofor_main' ;;
   8690 	lf95*)				# Lahey Fortran 8.1
   8691 	  whole_archive_flag_spec=
   8692 	  tmp_sharedflag='--shared' ;;
   8693 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8694 	  tmp_sharedflag='-qmkshrobj'
   8695 	  tmp_addflag= ;;
   8696 	nvcc*)	# Cuda Compiler Driver 2.2
   8697 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8698 	  compiler_needs_object=yes
   8699 	  ;;
   8700 	esac
   8701 	case `$CC -V 2>&1 | sed 5q` in
   8702 	*Sun\ C*)			# Sun C 5.9
   8703 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8704 	  compiler_needs_object=yes
   8705 	  tmp_sharedflag='-G' ;;
   8706 	*Sun\ F*)			# Sun Fortran 8.3
   8707 	  tmp_sharedflag='-G' ;;
   8708 	esac
   8709 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8710 
   8711         if test "x$supports_anon_versioning" = xyes; then
   8712           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8713 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8714 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8715 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8716         fi
   8717 
   8718 	case $cc_basename in
   8719 	xlf* | bgf* | bgxlf* | mpixlf*)
   8720 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8721 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8722 	  hardcode_libdir_flag_spec=
   8723 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8724 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8725 	  if test "x$supports_anon_versioning" = xyes; then
   8726 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8727 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8728 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8729 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8730 	  fi
   8731 	  ;;
   8732 	esac
   8733       else
   8734         ld_shlibs=no
   8735       fi
   8736       ;;
   8737 
   8738     netbsd*)
   8739       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8740 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8741 	wlarc=
   8742       else
   8743 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8744 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8745       fi
   8746       ;;
   8747 
   8748     solaris*)
   8749       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8750 	ld_shlibs=no
   8751 	cat <<_LT_EOF 1>&2
   8752 
   8753 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8754 *** create shared libraries on Solaris systems.  Therefore, libtool
   8755 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8756 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8757 *** your PATH or compiler configuration so that the native linker is
   8758 *** used, and then restart.
   8759 
   8760 _LT_EOF
   8761       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8762 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8763 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8764       else
   8765 	ld_shlibs=no
   8766       fi
   8767       ;;
   8768 
   8769     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8770       case `$LD -v 2>&1` in
   8771         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8772 	ld_shlibs=no
   8773 	cat <<_LT_EOF 1>&2
   8774 
   8775 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8776 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8777 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8778 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8779 *** your PATH or compiler configuration so that the native linker is
   8780 *** used, and then restart.
   8781 
   8782 _LT_EOF
   8783 	;;
   8784 	*)
   8785 	  # For security reasons, it is highly recommended that you always
   8786 	  # use absolute paths for naming shared libraries, and exclude the
   8787 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8788 	  # requires that you compile everything twice, which is a pain.
   8789 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8790 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8791 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8792 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8793 	  else
   8794 	    ld_shlibs=no
   8795 	  fi
   8796 	;;
   8797       esac
   8798       ;;
   8799 
   8800     sunos4*)
   8801       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8802       wlarc=
   8803       hardcode_direct=yes
   8804       hardcode_shlibpath_var=no
   8805       ;;
   8806 
   8807     *)
   8808       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8809 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8810 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8811       else
   8812 	ld_shlibs=no
   8813       fi
   8814       ;;
   8815     esac
   8816 
   8817     if test "$ld_shlibs" = no; then
   8818       runpath_var=
   8819       hardcode_libdir_flag_spec=
   8820       export_dynamic_flag_spec=
   8821       whole_archive_flag_spec=
   8822     fi
   8823   else
   8824     # PORTME fill in a description of your system's linker (not GNU ld)
   8825     case $host_os in
   8826     aix3*)
   8827       allow_undefined_flag=unsupported
   8828       always_export_symbols=yes
   8829       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'
   8830       # Note: this linker hardcodes the directories in LIBPATH if there
   8831       # are no directories specified by -L.
   8832       hardcode_minus_L=yes
   8833       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8834 	# Neither direct hardcoding nor static linking is supported with a
   8835 	# broken collect2.
   8836 	hardcode_direct=unsupported
   8837       fi
   8838       ;;
   8839 
   8840     aix[4-9]*)
   8841       if test "$host_cpu" = ia64; then
   8842 	# On IA64, the linker does run time linking by default, so we don't
   8843 	# have to do anything special.
   8844 	aix_use_runtimelinking=no
   8845 	exp_sym_flag='-Bexport'
   8846 	no_entry_flag=""
   8847       else
   8848 	# If we're using GNU nm, then we don't want the "-C" option.
   8849 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8850 	# Also, AIX nm treats weak defined symbols like other global
   8851 	# defined symbols, whereas GNU nm marks them as "W".
   8852 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8853 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8854 	else
   8855 	  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'
   8856 	fi
   8857 	aix_use_runtimelinking=no
   8858 
   8859 	# Test if we are trying to use run time linking or normal
   8860 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8861 	# need to do runtime linking.
   8862 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8863 	  for ld_flag in $LDFLAGS; do
   8864 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8865 	    aix_use_runtimelinking=yes
   8866 	    break
   8867 	  fi
   8868 	  done
   8869 	  ;;
   8870 	esac
   8871 
   8872 	exp_sym_flag='-bexport'
   8873 	no_entry_flag='-bnoentry'
   8874       fi
   8875 
   8876       # When large executables or shared objects are built, AIX ld can
   8877       # have problems creating the table of contents.  If linking a library
   8878       # or program results in "error TOC overflow" add -mminimal-toc to
   8879       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8880       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8881 
   8882       archive_cmds=''
   8883       hardcode_direct=yes
   8884       hardcode_direct_absolute=yes
   8885       hardcode_libdir_separator=':'
   8886       link_all_deplibs=yes
   8887       file_list_spec='${wl}-f,'
   8888 
   8889       if test "$GCC" = yes; then
   8890 	case $host_os in aix4.[012]|aix4.[012].*)
   8891 	# We only want to do this on AIX 4.2 and lower, the check
   8892 	# below for broken collect2 doesn't work under 4.3+
   8893 	  collect2name=`${CC} -print-prog-name=collect2`
   8894 	  if test -f "$collect2name" &&
   8895 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8896 	  then
   8897 	  # We have reworked collect2
   8898 	  :
   8899 	  else
   8900 	  # We have old collect2
   8901 	  hardcode_direct=unsupported
   8902 	  # It fails to find uninstalled libraries when the uninstalled
   8903 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8904 	  # to unsupported forces relinking
   8905 	  hardcode_minus_L=yes
   8906 	  hardcode_libdir_flag_spec='-L$libdir'
   8907 	  hardcode_libdir_separator=
   8908 	  fi
   8909 	  ;;
   8910 	esac
   8911 	shared_flag='-shared'
   8912 	if test "$aix_use_runtimelinking" = yes; then
   8913 	  shared_flag="$shared_flag "'${wl}-G'
   8914 	fi
   8915       else
   8916 	# not using gcc
   8917 	if test "$host_cpu" = ia64; then
   8918 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8919 	# chokes on -Wl,-G. The following line is correct:
   8920 	  shared_flag='-G'
   8921 	else
   8922 	  if test "$aix_use_runtimelinking" = yes; then
   8923 	    shared_flag='${wl}-G'
   8924 	  else
   8925 	    shared_flag='${wl}-bM:SRE'
   8926 	  fi
   8927 	fi
   8928       fi
   8929 
   8930       export_dynamic_flag_spec='${wl}-bexpall'
   8931       # It seems that -bexpall does not export symbols beginning with
   8932       # underscore (_), so it is better to generate a list of symbols to export.
   8933       always_export_symbols=yes
   8934       if test "$aix_use_runtimelinking" = yes; then
   8935 	# Warning - without using the other runtime loading flags (-brtl),
   8936 	# -berok will link without error, but may produce a broken library.
   8937 	allow_undefined_flag='-berok'
   8938         # Determine the default libpath from the value encoded in an
   8939         # empty executable.
   8940         if test "${lt_cv_aix_libpath+set}" = set; then
   8941   aix_libpath=$lt_cv_aix_libpath
   8942 else
   8943   if ${lt_cv_aix_libpath_+:} false; then :
   8944   $as_echo_n "(cached) " >&6
   8945 else
   8946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8947 /* end confdefs.h.  */
   8948 
   8949 int
   8950 main ()
   8951 {
   8952 
   8953   ;
   8954   return 0;
   8955 }
   8956 _ACEOF
   8957 if ac_fn_c_try_link "$LINENO"; then :
   8958 
   8959   lt_aix_libpath_sed='
   8960       /Import File Strings/,/^$/ {
   8961 	  /^0/ {
   8962 	      s/^0  *\([^ ]*\) *$/\1/
   8963 	      p
   8964 	  }
   8965       }'
   8966   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8967   # Check for a 64-bit object if we didn't find anything.
   8968   if test -z "$lt_cv_aix_libpath_"; then
   8969     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8970   fi
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext \
   8973     conftest$ac_exeext conftest.$ac_ext
   8974   if test -z "$lt_cv_aix_libpath_"; then
   8975     lt_cv_aix_libpath_="/usr/lib:/lib"
   8976   fi
   8977 
   8978 fi
   8979 
   8980   aix_libpath=$lt_cv_aix_libpath_
   8981 fi
   8982 
   8983         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8984         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8985       else
   8986 	if test "$host_cpu" = ia64; then
   8987 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8988 	  allow_undefined_flag="-z nodefs"
   8989 	  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"
   8990 	else
   8991 	 # Determine the default libpath from the value encoded in an
   8992 	 # empty executable.
   8993 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8994   aix_libpath=$lt_cv_aix_libpath
   8995 else
   8996   if ${lt_cv_aix_libpath_+:} false; then :
   8997   $as_echo_n "(cached) " >&6
   8998 else
   8999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 
   9002 int
   9003 main ()
   9004 {
   9005 
   9006   ;
   9007   return 0;
   9008 }
   9009 _ACEOF
   9010 if ac_fn_c_try_link "$LINENO"; then :
   9011 
   9012   lt_aix_libpath_sed='
   9013       /Import File Strings/,/^$/ {
   9014 	  /^0/ {
   9015 	      s/^0  *\([^ ]*\) *$/\1/
   9016 	      p
   9017 	  }
   9018       }'
   9019   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9020   # Check for a 64-bit object if we didn't find anything.
   9021   if test -z "$lt_cv_aix_libpath_"; then
   9022     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9023   fi
   9024 fi
   9025 rm -f core conftest.err conftest.$ac_objext \
   9026     conftest$ac_exeext conftest.$ac_ext
   9027   if test -z "$lt_cv_aix_libpath_"; then
   9028     lt_cv_aix_libpath_="/usr/lib:/lib"
   9029   fi
   9030 
   9031 fi
   9032 
   9033   aix_libpath=$lt_cv_aix_libpath_
   9034 fi
   9035 
   9036 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9037 	  # Warning - without using the other run time loading flags,
   9038 	  # -berok will link without error, but may produce a broken library.
   9039 	  no_undefined_flag=' ${wl}-bernotok'
   9040 	  allow_undefined_flag=' ${wl}-berok'
   9041 	  if test "$with_gnu_ld" = yes; then
   9042 	    # We only use this code for GNU lds that support --whole-archive.
   9043 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9044 	  else
   9045 	    # Exported symbols can be pulled into shared objects from archives
   9046 	    whole_archive_flag_spec='$convenience'
   9047 	  fi
   9048 	  archive_cmds_need_lc=yes
   9049 	  # This is similar to how AIX traditionally builds its shared libraries.
   9050 	  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'
   9051 	fi
   9052       fi
   9053       ;;
   9054 
   9055     amigaos*)
   9056       case $host_cpu in
   9057       powerpc)
   9058             # see comment about AmigaOS4 .so support
   9059             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9060             archive_expsym_cmds=''
   9061         ;;
   9062       m68k)
   9063             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)'
   9064             hardcode_libdir_flag_spec='-L$libdir'
   9065             hardcode_minus_L=yes
   9066         ;;
   9067       esac
   9068       ;;
   9069 
   9070     bsdi[45]*)
   9071       export_dynamic_flag_spec=-rdynamic
   9072       ;;
   9073 
   9074     cygwin* | mingw* | pw32* | cegcc*)
   9075       # When not using gcc, we currently assume that we are using
   9076       # Microsoft Visual C++.
   9077       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9078       # no search path for DLLs.
   9079       case $cc_basename in
   9080       cl*)
   9081 	# Native MSVC
   9082 	hardcode_libdir_flag_spec=' '
   9083 	allow_undefined_flag=unsupported
   9084 	always_export_symbols=yes
   9085 	file_list_spec='@'
   9086 	# Tell ltmain to make .lib files, not .a files.
   9087 	libext=lib
   9088 	# Tell ltmain to make .dll files, not .so files.
   9089 	shrext_cmds=".dll"
   9090 	# FIXME: Setting linknames here is a bad hack.
   9091 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9092 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9093 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9094 	  else
   9095 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9096 	  fi~
   9097 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9098 	  linknames='
   9099 	# The linker will not automatically build a static lib if we build a DLL.
   9100 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9101 	enable_shared_with_static_runtimes=yes
   9102 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9103 	# Don't use ranlib
   9104 	old_postinstall_cmds='chmod 644 $oldlib'
   9105 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9106 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9107 	  case $lt_outputfile in
   9108 	    *.exe|*.EXE) ;;
   9109 	    *)
   9110 	      lt_outputfile="$lt_outputfile.exe"
   9111 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9112 	      ;;
   9113 	  esac~
   9114 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9115 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9116 	    $RM "$lt_outputfile.manifest";
   9117 	  fi'
   9118 	;;
   9119       *)
   9120 	# Assume MSVC wrapper
   9121 	hardcode_libdir_flag_spec=' '
   9122 	allow_undefined_flag=unsupported
   9123 	# Tell ltmain to make .lib files, not .a files.
   9124 	libext=lib
   9125 	# Tell ltmain to make .dll files, not .so files.
   9126 	shrext_cmds=".dll"
   9127 	# FIXME: Setting linknames here is a bad hack.
   9128 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9129 	# The linker will automatically build a .lib file if we build a DLL.
   9130 	old_archive_from_new_cmds='true'
   9131 	# FIXME: Should let the user specify the lib program.
   9132 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9133 	enable_shared_with_static_runtimes=yes
   9134 	;;
   9135       esac
   9136       ;;
   9137 
   9138     darwin* | rhapsody*)
   9139 
   9140 
   9141   archive_cmds_need_lc=no
   9142   hardcode_direct=no
   9143   hardcode_automatic=yes
   9144   hardcode_shlibpath_var=unsupported
   9145   if test "$lt_cv_ld_force_load" = "yes"; then
   9146     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   9147   else
   9148     whole_archive_flag_spec=''
   9149   fi
   9150   link_all_deplibs=yes
   9151   allow_undefined_flag="$_lt_dar_allow_undefined"
   9152   case $cc_basename in
   9153      ifort*) _lt_dar_can_shared=yes ;;
   9154      *) _lt_dar_can_shared=$GCC ;;
   9155   esac
   9156   if test "$_lt_dar_can_shared" = "yes"; then
   9157     output_verbose_link_cmd=func_echo_all
   9158     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9159     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9160     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}"
   9161     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}"
   9162 
   9163   else
   9164   ld_shlibs=no
   9165   fi
   9166 
   9167       ;;
   9168 
   9169     dgux*)
   9170       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9171       hardcode_libdir_flag_spec='-L$libdir'
   9172       hardcode_shlibpath_var=no
   9173       ;;
   9174 
   9175     freebsd1*)
   9176       ld_shlibs=no
   9177       ;;
   9178 
   9179     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9180     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9181     # does not break anything, and helps significantly (at the cost of a little
   9182     # extra space).
   9183     freebsd2.2*)
   9184       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9185       hardcode_libdir_flag_spec='-R$libdir'
   9186       hardcode_direct=yes
   9187       hardcode_shlibpath_var=no
   9188       ;;
   9189 
   9190     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9191     freebsd2*)
   9192       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9193       hardcode_direct=yes
   9194       hardcode_minus_L=yes
   9195       hardcode_shlibpath_var=no
   9196       ;;
   9197 
   9198     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9199     freebsd* | dragonfly*)
   9200       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9201       hardcode_libdir_flag_spec='-R$libdir'
   9202       hardcode_direct=yes
   9203       hardcode_shlibpath_var=no
   9204       ;;
   9205 
   9206     hpux9*)
   9207       if test "$GCC" = yes; then
   9208 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9209       else
   9210 	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'
   9211       fi
   9212       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9213       hardcode_libdir_separator=:
   9214       hardcode_direct=yes
   9215 
   9216       # hardcode_minus_L: Not really in the search PATH,
   9217       # but as the default location of the library.
   9218       hardcode_minus_L=yes
   9219       export_dynamic_flag_spec='${wl}-E'
   9220       ;;
   9221 
   9222     hpux10*)
   9223       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9224 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9225       else
   9226 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9227       fi
   9228       if test "$with_gnu_ld" = no; then
   9229 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9230 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9231 	hardcode_libdir_separator=:
   9232 	hardcode_direct=yes
   9233 	hardcode_direct_absolute=yes
   9234 	export_dynamic_flag_spec='${wl}-E'
   9235 	# hardcode_minus_L: Not really in the search PATH,
   9236 	# but as the default location of the library.
   9237 	hardcode_minus_L=yes
   9238       fi
   9239       ;;
   9240 
   9241     hpux11*)
   9242       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9243 	case $host_cpu in
   9244 	hppa*64*)
   9245 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9246 	  ;;
   9247 	ia64*)
   9248 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9249 	  ;;
   9250 	*)
   9251 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9252 	  ;;
   9253 	esac
   9254       else
   9255 	case $host_cpu in
   9256 	hppa*64*)
   9257 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9258 	  ;;
   9259 	ia64*)
   9260 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9261 	  ;;
   9262 	*)
   9263 
   9264 	  # Older versions of the 11.00 compiler do not understand -b yet
   9265 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9266 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9267 $as_echo_n "checking if $CC understands -b... " >&6; }
   9268 if ${lt_cv_prog_compiler__b+:} false; then :
   9269   $as_echo_n "(cached) " >&6
   9270 else
   9271   lt_cv_prog_compiler__b=no
   9272    save_LDFLAGS="$LDFLAGS"
   9273    LDFLAGS="$LDFLAGS -b"
   9274    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9275    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9276      # The linker can only warn and ignore the option if not recognized
   9277      # So say no if there are warnings
   9278      if test -s conftest.err; then
   9279        # Append any errors to the config.log.
   9280        cat conftest.err 1>&5
   9281        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9282        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9283        if diff conftest.exp conftest.er2 >/dev/null; then
   9284          lt_cv_prog_compiler__b=yes
   9285        fi
   9286      else
   9287        lt_cv_prog_compiler__b=yes
   9288      fi
   9289    fi
   9290    $RM -r conftest*
   9291    LDFLAGS="$save_LDFLAGS"
   9292 
   9293 fi
   9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9295 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9296 
   9297 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9298     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9299 else
   9300     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9301 fi
   9302 
   9303 	  ;;
   9304 	esac
   9305       fi
   9306       if test "$with_gnu_ld" = no; then
   9307 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9308 	hardcode_libdir_separator=:
   9309 
   9310 	case $host_cpu in
   9311 	hppa*64*|ia64*)
   9312 	  hardcode_direct=no
   9313 	  hardcode_shlibpath_var=no
   9314 	  ;;
   9315 	*)
   9316 	  hardcode_direct=yes
   9317 	  hardcode_direct_absolute=yes
   9318 	  export_dynamic_flag_spec='${wl}-E'
   9319 
   9320 	  # hardcode_minus_L: Not really in the search PATH,
   9321 	  # but as the default location of the library.
   9322 	  hardcode_minus_L=yes
   9323 	  ;;
   9324 	esac
   9325       fi
   9326       ;;
   9327 
   9328     irix5* | irix6* | nonstopux*)
   9329       if test "$GCC" = yes; then
   9330 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9331 	# Try to use the -exported_symbol ld option, if it does not
   9332 	# work, assume that -exports_file does not work either and
   9333 	# implicitly export all symbols.
   9334 	# This should be the same for all languages, so no per-tag cache variable.
   9335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9336 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9337 if ${lt_cv_irix_exported_symbol+:} false; then :
   9338   $as_echo_n "(cached) " >&6
   9339 else
   9340   save_LDFLAGS="$LDFLAGS"
   9341 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9342 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9343 /* end confdefs.h.  */
   9344 int foo (void) { return 0; }
   9345 _ACEOF
   9346 if ac_fn_c_try_link "$LINENO"; then :
   9347   lt_cv_irix_exported_symbol=yes
   9348 else
   9349   lt_cv_irix_exported_symbol=no
   9350 fi
   9351 rm -f core conftest.err conftest.$ac_objext \
   9352     conftest$ac_exeext conftest.$ac_ext
   9353            LDFLAGS="$save_LDFLAGS"
   9354 fi
   9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9356 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9357 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9358           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9359 	fi
   9360       else
   9361 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9362 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9363       fi
   9364       archive_cmds_need_lc='no'
   9365       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9366       hardcode_libdir_separator=:
   9367       inherit_rpath=yes
   9368       link_all_deplibs=yes
   9369       ;;
   9370 
   9371     netbsd*)
   9372       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9373 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9374       else
   9375 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9376       fi
   9377       hardcode_libdir_flag_spec='-R$libdir'
   9378       hardcode_direct=yes
   9379       hardcode_shlibpath_var=no
   9380       ;;
   9381 
   9382     newsos6)
   9383       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9384       hardcode_direct=yes
   9385       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9386       hardcode_libdir_separator=:
   9387       hardcode_shlibpath_var=no
   9388       ;;
   9389 
   9390     *nto* | *qnx*)
   9391       ;;
   9392 
   9393     openbsd*)
   9394       if test -f /usr/libexec/ld.so; then
   9395 	hardcode_direct=yes
   9396 	hardcode_shlibpath_var=no
   9397 	hardcode_direct_absolute=yes
   9398 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9399 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9400 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9401 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9402 	  export_dynamic_flag_spec='${wl}-E'
   9403 	else
   9404 	  case $host_os in
   9405 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9406 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9407 	     hardcode_libdir_flag_spec='-R$libdir'
   9408 	     ;;
   9409 	   *)
   9410 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9411 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9412 	     ;;
   9413 	  esac
   9414 	fi
   9415       else
   9416 	ld_shlibs=no
   9417       fi
   9418       ;;
   9419 
   9420     os2*)
   9421       hardcode_libdir_flag_spec='-L$libdir'
   9422       hardcode_minus_L=yes
   9423       allow_undefined_flag=unsupported
   9424       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'
   9425       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9426       ;;
   9427 
   9428     osf3*)
   9429       if test "$GCC" = yes; then
   9430 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9431 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9432       else
   9433 	allow_undefined_flag=' -expect_unresolved \*'
   9434 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9435       fi
   9436       archive_cmds_need_lc='no'
   9437       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9438       hardcode_libdir_separator=:
   9439       ;;
   9440 
   9441     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9442       if test "$GCC" = yes; then
   9443 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9444 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9445 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9446       else
   9447 	allow_undefined_flag=' -expect_unresolved \*'
   9448 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9449 	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~
   9450 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9451 
   9452 	# Both c and cxx compiler support -rpath directly
   9453 	hardcode_libdir_flag_spec='-rpath $libdir'
   9454       fi
   9455       archive_cmds_need_lc='no'
   9456       hardcode_libdir_separator=:
   9457       ;;
   9458 
   9459     solaris*)
   9460       no_undefined_flag=' -z defs'
   9461       if test "$GCC" = yes; then
   9462 	wlarc='${wl}'
   9463 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9464 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9465 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9466       else
   9467 	case `$CC -V 2>&1` in
   9468 	*"Compilers 5.0"*)
   9469 	  wlarc=''
   9470 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9471 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9472 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9473 	  ;;
   9474 	*)
   9475 	  wlarc='${wl}'
   9476 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9477 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9478 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9479 	  ;;
   9480 	esac
   9481       fi
   9482       hardcode_libdir_flag_spec='-R$libdir'
   9483       hardcode_shlibpath_var=no
   9484       case $host_os in
   9485       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9486       *)
   9487 	# The compiler driver will combine and reorder linker options,
   9488 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9489 	# but is careful enough not to reorder.
   9490 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9491 	if test "$GCC" = yes; then
   9492 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9493 	else
   9494 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9495 	fi
   9496 	;;
   9497       esac
   9498       link_all_deplibs=yes
   9499       ;;
   9500 
   9501     sunos4*)
   9502       if test "x$host_vendor" = xsequent; then
   9503 	# Use $CC to link under sequent, because it throws in some extra .o
   9504 	# files that make .init and .fini sections work.
   9505 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9506       else
   9507 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9508       fi
   9509       hardcode_libdir_flag_spec='-L$libdir'
   9510       hardcode_direct=yes
   9511       hardcode_minus_L=yes
   9512       hardcode_shlibpath_var=no
   9513       ;;
   9514 
   9515     sysv4)
   9516       case $host_vendor in
   9517 	sni)
   9518 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9519 	  hardcode_direct=yes # is this really true???
   9520 	;;
   9521 	siemens)
   9522 	  ## LD is ld it makes a PLAMLIB
   9523 	  ## CC just makes a GrossModule.
   9524 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9525 	  reload_cmds='$CC -r -o $output$reload_objs'
   9526 	  hardcode_direct=no
   9527         ;;
   9528 	motorola)
   9529 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9530 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9531 	;;
   9532       esac
   9533       runpath_var='LD_RUN_PATH'
   9534       hardcode_shlibpath_var=no
   9535       ;;
   9536 
   9537     sysv4.3*)
   9538       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9539       hardcode_shlibpath_var=no
   9540       export_dynamic_flag_spec='-Bexport'
   9541       ;;
   9542 
   9543     sysv4*MP*)
   9544       if test -d /usr/nec; then
   9545 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9546 	hardcode_shlibpath_var=no
   9547 	runpath_var=LD_RUN_PATH
   9548 	hardcode_runpath_var=yes
   9549 	ld_shlibs=yes
   9550       fi
   9551       ;;
   9552 
   9553     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9554       no_undefined_flag='${wl}-z,text'
   9555       archive_cmds_need_lc=no
   9556       hardcode_shlibpath_var=no
   9557       runpath_var='LD_RUN_PATH'
   9558 
   9559       if test "$GCC" = yes; then
   9560 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9561 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9562       else
   9563 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9564 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9565       fi
   9566       ;;
   9567 
   9568     sysv5* | sco3.2v5* | sco5v6*)
   9569       # Note: We can NOT use -z defs as we might desire, because we do not
   9570       # link with -lc, and that would cause any symbols used from libc to
   9571       # always be unresolved, which means just about no library would
   9572       # ever link correctly.  If we're not using GNU ld we use -z text
   9573       # though, which does catch some bad symbols but isn't as heavy-handed
   9574       # as -z defs.
   9575       no_undefined_flag='${wl}-z,text'
   9576       allow_undefined_flag='${wl}-z,nodefs'
   9577       archive_cmds_need_lc=no
   9578       hardcode_shlibpath_var=no
   9579       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9580       hardcode_libdir_separator=':'
   9581       link_all_deplibs=yes
   9582       export_dynamic_flag_spec='${wl}-Bexport'
   9583       runpath_var='LD_RUN_PATH'
   9584 
   9585       if test "$GCC" = yes; then
   9586 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9587 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9588       else
   9589 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9590 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9591       fi
   9592       ;;
   9593 
   9594     uts4*)
   9595       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9596       hardcode_libdir_flag_spec='-L$libdir'
   9597       hardcode_shlibpath_var=no
   9598       ;;
   9599 
   9600     *)
   9601       ld_shlibs=no
   9602       ;;
   9603     esac
   9604 
   9605     if test x$host_vendor = xsni; then
   9606       case $host in
   9607       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9608 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9609 	;;
   9610       esac
   9611     fi
   9612   fi
   9613 
   9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9615 $as_echo "$ld_shlibs" >&6; }
   9616 test "$ld_shlibs" = no && can_build_shared=no
   9617 
   9618 with_gnu_ld=$with_gnu_ld
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 #
   9635 # Do we need to explicitly link libc?
   9636 #
   9637 case "x$archive_cmds_need_lc" in
   9638 x|xyes)
   9639   # Assume -lc should be added
   9640   archive_cmds_need_lc=yes
   9641 
   9642   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9643     case $archive_cmds in
   9644     *'~'*)
   9645       # FIXME: we may have to deal with multi-command sequences.
   9646       ;;
   9647     '$CC '*)
   9648       # Test whether the compiler implicitly links with -lc since on some
   9649       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9650       # to ld, don't add -lc before -lgcc.
   9651       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9652 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9653 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9654   $as_echo_n "(cached) " >&6
   9655 else
   9656   $RM conftest*
   9657 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9658 
   9659 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9660   (eval $ac_compile) 2>&5
   9661   ac_status=$?
   9662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9663   test $ac_status = 0; } 2>conftest.err; then
   9664 	  soname=conftest
   9665 	  lib=conftest
   9666 	  libobjs=conftest.$ac_objext
   9667 	  deplibs=
   9668 	  wl=$lt_prog_compiler_wl
   9669 	  pic_flag=$lt_prog_compiler_pic
   9670 	  compiler_flags=-v
   9671 	  linker_flags=-v
   9672 	  verstring=
   9673 	  output_objdir=.
   9674 	  libname=conftest
   9675 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9676 	  allow_undefined_flag=
   9677 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9678   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9679   ac_status=$?
   9680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9681   test $ac_status = 0; }
   9682 	  then
   9683 	    lt_cv_archive_cmds_need_lc=no
   9684 	  else
   9685 	    lt_cv_archive_cmds_need_lc=yes
   9686 	  fi
   9687 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9688 	else
   9689 	  cat conftest.err 1>&5
   9690 	fi
   9691 	$RM conftest*
   9692 
   9693 fi
   9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9695 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9696       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9697       ;;
   9698     esac
   9699   fi
   9700   ;;
   9701 esac
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9860 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9861 
   9862 if test "$GCC" = yes; then
   9863   case $host_os in
   9864     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9865     *) lt_awk_arg="/^libraries:/" ;;
   9866   esac
   9867   case $host_os in
   9868     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9869     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9870   esac
   9871   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9872   case $lt_search_path_spec in
   9873   *\;*)
   9874     # if the path contains ";" then we assume it to be the separator
   9875     # otherwise default to the standard path separator (i.e. ":") - it is
   9876     # assumed that no part of a normal pathname contains ";" but that should
   9877     # okay in the real world where ";" in dirpaths is itself problematic.
   9878     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9879     ;;
   9880   *)
   9881     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9882     ;;
   9883   esac
   9884   # Ok, now we have the path, separated by spaces, we can step through it
   9885   # and add multilib dir if necessary.
   9886   lt_tmp_lt_search_path_spec=
   9887   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9888   for lt_sys_path in $lt_search_path_spec; do
   9889     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9890       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9891     else
   9892       test -d "$lt_sys_path" && \
   9893 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9894     fi
   9895   done
   9896   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9897 BEGIN {RS=" "; FS="/|\n";} {
   9898   lt_foo="";
   9899   lt_count=0;
   9900   for (lt_i = NF; lt_i > 0; lt_i--) {
   9901     if ($lt_i != "" && $lt_i != ".") {
   9902       if ($lt_i == "..") {
   9903         lt_count++;
   9904       } else {
   9905         if (lt_count == 0) {
   9906           lt_foo="/" $lt_i lt_foo;
   9907         } else {
   9908           lt_count--;
   9909         }
   9910       }
   9911     }
   9912   }
   9913   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9914   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9915 }'`
   9916   # AWK program above erroneously prepends '/' to C:/dos/paths
   9917   # for these hosts.
   9918   case $host_os in
   9919     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9920       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9921   esac
   9922   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9923 else
   9924   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9925 fi
   9926 library_names_spec=
   9927 libname_spec='lib$name'
   9928 soname_spec=
   9929 shrext_cmds=".so"
   9930 postinstall_cmds=
   9931 postuninstall_cmds=
   9932 finish_cmds=
   9933 finish_eval=
   9934 shlibpath_var=
   9935 shlibpath_overrides_runpath=unknown
   9936 version_type=none
   9937 dynamic_linker="$host_os ld.so"
   9938 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9939 need_lib_prefix=unknown
   9940 hardcode_into_libs=no
   9941 
   9942 # when you set need_version to no, make sure it does not cause -set_version
   9943 # flags to be left without arguments
   9944 need_version=unknown
   9945 
   9946 case $host_os in
   9947 aix3*)
   9948   version_type=linux
   9949   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9950   shlibpath_var=LIBPATH
   9951 
   9952   # AIX 3 has no versioning support, so we append a major version to the name.
   9953   soname_spec='${libname}${release}${shared_ext}$major'
   9954   ;;
   9955 
   9956 aix[4-9]*)
   9957   version_type=linux
   9958   need_lib_prefix=no
   9959   need_version=no
   9960   hardcode_into_libs=yes
   9961   if test "$host_cpu" = ia64; then
   9962     # AIX 5 supports IA64
   9963     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9964     shlibpath_var=LD_LIBRARY_PATH
   9965   else
   9966     # With GCC up to 2.95.x, collect2 would create an import file
   9967     # for dependence libraries.  The import file would start with
   9968     # the line `#! .'.  This would cause the generated library to
   9969     # depend on `.', always an invalid library.  This was fixed in
   9970     # development snapshots of GCC prior to 3.0.
   9971     case $host_os in
   9972       aix4 | aix4.[01] | aix4.[01].*)
   9973       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9974 	   echo ' yes '
   9975 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9976 	:
   9977       else
   9978 	can_build_shared=no
   9979       fi
   9980       ;;
   9981     esac
   9982     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9983     # soname into executable. Probably we can add versioning support to
   9984     # collect2, so additional links can be useful in future.
   9985     if test "$aix_use_runtimelinking" = yes; then
   9986       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9987       # instead of lib<name>.a to let people know that these are not
   9988       # typical AIX shared libraries.
   9989       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9990     else
   9991       # We preserve .a as extension for shared libraries through AIX4.2
   9992       # and later when we are not doing run time linking.
   9993       library_names_spec='${libname}${release}.a $libname.a'
   9994       soname_spec='${libname}${release}${shared_ext}$major'
   9995     fi
   9996     shlibpath_var=LIBPATH
   9997   fi
   9998   ;;
   9999 
   10000 amigaos*)
   10001   case $host_cpu in
   10002   powerpc)
   10003     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10004     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10005     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10006     ;;
   10007   m68k)
   10008     library_names_spec='$libname.ixlibrary $libname.a'
   10009     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10010     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10011     ;;
   10012   esac
   10013   ;;
   10014 
   10015 beos*)
   10016   library_names_spec='${libname}${shared_ext}'
   10017   dynamic_linker="$host_os ld.so"
   10018   shlibpath_var=LIBRARY_PATH
   10019   ;;
   10020 
   10021 bsdi[45]*)
   10022   version_type=linux
   10023   need_version=no
   10024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10025   soname_spec='${libname}${release}${shared_ext}$major'
   10026   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10027   shlibpath_var=LD_LIBRARY_PATH
   10028   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10029   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10030   # the default ld.so.conf also contains /usr/contrib/lib and
   10031   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10032   # libtool to hard-code these into programs
   10033   ;;
   10034 
   10035 cygwin* | mingw* | pw32* | cegcc*)
   10036   version_type=windows
   10037   shrext_cmds=".dll"
   10038   need_version=no
   10039   need_lib_prefix=no
   10040 
   10041   case $GCC,$cc_basename in
   10042   yes,*)
   10043     # gcc
   10044     library_names_spec='$libname.dll.a'
   10045     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10046     postinstall_cmds='base_file=`basename \${file}`~
   10047       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10048       dldir=$destdir/`dirname \$dlpath`~
   10049       test -d \$dldir || mkdir -p \$dldir~
   10050       $install_prog $dir/$dlname \$dldir/$dlname~
   10051       chmod a+x \$dldir/$dlname~
   10052       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10053         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10054       fi'
   10055     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10056       dlpath=$dir/\$dldll~
   10057        $RM \$dlpath'
   10058     shlibpath_overrides_runpath=yes
   10059 
   10060     case $host_os in
   10061     cygwin*)
   10062       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10063       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10064 
   10065       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10066       ;;
   10067     mingw* | cegcc*)
   10068       # MinGW DLLs use traditional 'lib' prefix
   10069       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10070       ;;
   10071     pw32*)
   10072       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10073       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10074       ;;
   10075     esac
   10076     dynamic_linker='Win32 ld.exe'
   10077     ;;
   10078 
   10079   *,cl*)
   10080     # Native MSVC
   10081     libname_spec='$name'
   10082     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10083     library_names_spec='${libname}.dll.lib'
   10084 
   10085     case $build_os in
   10086     mingw*)
   10087       sys_lib_search_path_spec=
   10088       lt_save_ifs=$IFS
   10089       IFS=';'
   10090       for lt_path in $LIB
   10091       do
   10092         IFS=$lt_save_ifs
   10093         # Let DOS variable expansion print the short 8.3 style file name.
   10094         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10095         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10096       done
   10097       IFS=$lt_save_ifs
   10098       # Convert to MSYS style.
   10099       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10100       ;;
   10101     cygwin*)
   10102       # Convert to unix form, then to dos form, then back to unix form
   10103       # but this time dos style (no spaces!) so that the unix form looks
   10104       # like /cygdrive/c/PROGRA~1:/cygdr...
   10105       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10106       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10107       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10108       ;;
   10109     *)
   10110       sys_lib_search_path_spec="$LIB"
   10111       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10112         # It is most probably a Windows format PATH.
   10113         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10114       else
   10115         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10116       fi
   10117       # FIXME: find the short name or the path components, as spaces are
   10118       # common. (e.g. "Program Files" -> "PROGRA~1")
   10119       ;;
   10120     esac
   10121 
   10122     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10123     postinstall_cmds='base_file=`basename \${file}`~
   10124       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10125       dldir=$destdir/`dirname \$dlpath`~
   10126       test -d \$dldir || mkdir -p \$dldir~
   10127       $install_prog $dir/$dlname \$dldir/$dlname'
   10128     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10129       dlpath=$dir/\$dldll~
   10130        $RM \$dlpath'
   10131     shlibpath_overrides_runpath=yes
   10132     dynamic_linker='Win32 link.exe'
   10133     ;;
   10134 
   10135   *)
   10136     # Assume MSVC wrapper
   10137     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10138     dynamic_linker='Win32 ld.exe'
   10139     ;;
   10140   esac
   10141   # FIXME: first we should search . and the directory the executable is in
   10142   shlibpath_var=PATH
   10143   ;;
   10144 
   10145 darwin* | rhapsody*)
   10146   dynamic_linker="$host_os dyld"
   10147   version_type=darwin
   10148   need_lib_prefix=no
   10149   need_version=no
   10150   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10151   soname_spec='${libname}${release}${major}$shared_ext'
   10152   shlibpath_overrides_runpath=yes
   10153   shlibpath_var=DYLD_LIBRARY_PATH
   10154   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10155 
   10156   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10157   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10158   ;;
   10159 
   10160 dgux*)
   10161   version_type=linux
   10162   need_lib_prefix=no
   10163   need_version=no
   10164   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10165   soname_spec='${libname}${release}${shared_ext}$major'
   10166   shlibpath_var=LD_LIBRARY_PATH
   10167   ;;
   10168 
   10169 freebsd1*)
   10170   dynamic_linker=no
   10171   ;;
   10172 
   10173 freebsd* | dragonfly*)
   10174   # DragonFly does not have aout.  When/if they implement a new
   10175   # versioning mechanism, adjust this.
   10176   if test -x /usr/bin/objformat; then
   10177     objformat=`/usr/bin/objformat`
   10178   else
   10179     case $host_os in
   10180     freebsd[123]*) objformat=aout ;;
   10181     *) objformat=elf ;;
   10182     esac
   10183   fi
   10184   # Handle Gentoo/FreeBSD as it was Linux
   10185   case $host_vendor in
   10186     gentoo)
   10187       version_type=linux ;;
   10188     *)
   10189       version_type=freebsd-$objformat ;;
   10190   esac
   10191 
   10192   case $version_type in
   10193     freebsd-elf*)
   10194       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10195       need_version=no
   10196       need_lib_prefix=no
   10197       ;;
   10198     freebsd-*)
   10199       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10200       need_version=yes
   10201       ;;
   10202     linux)
   10203       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10204       soname_spec='${libname}${release}${shared_ext}$major'
   10205       need_lib_prefix=no
   10206       need_version=no
   10207       ;;
   10208   esac
   10209   shlibpath_var=LD_LIBRARY_PATH
   10210   case $host_os in
   10211   freebsd2*)
   10212     shlibpath_overrides_runpath=yes
   10213     ;;
   10214   freebsd3.[01]* | freebsdelf3.[01]*)
   10215     shlibpath_overrides_runpath=yes
   10216     hardcode_into_libs=yes
   10217     ;;
   10218   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10219   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10220     shlibpath_overrides_runpath=no
   10221     hardcode_into_libs=yes
   10222     ;;
   10223   *) # from 4.6 on, and DragonFly
   10224     shlibpath_overrides_runpath=yes
   10225     hardcode_into_libs=yes
   10226     ;;
   10227   esac
   10228   ;;
   10229 
   10230 gnu*)
   10231   version_type=linux
   10232   need_lib_prefix=no
   10233   need_version=no
   10234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10235   soname_spec='${libname}${release}${shared_ext}$major'
   10236   shlibpath_var=LD_LIBRARY_PATH
   10237   hardcode_into_libs=yes
   10238   ;;
   10239 
   10240 haiku*)
   10241   version_type=linux
   10242   need_lib_prefix=no
   10243   need_version=no
   10244   dynamic_linker="$host_os runtime_loader"
   10245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10246   soname_spec='${libname}${release}${shared_ext}$major'
   10247   shlibpath_var=LIBRARY_PATH
   10248   shlibpath_overrides_runpath=yes
   10249   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10250   hardcode_into_libs=yes
   10251   ;;
   10252 
   10253 hpux9* | hpux10* | hpux11*)
   10254   # Give a soname corresponding to the major version so that dld.sl refuses to
   10255   # link against other versions.
   10256   version_type=sunos
   10257   need_lib_prefix=no
   10258   need_version=no
   10259   case $host_cpu in
   10260   ia64*)
   10261     shrext_cmds='.so'
   10262     hardcode_into_libs=yes
   10263     dynamic_linker="$host_os dld.so"
   10264     shlibpath_var=LD_LIBRARY_PATH
   10265     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10266     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10267     soname_spec='${libname}${release}${shared_ext}$major'
   10268     if test "X$HPUX_IA64_MODE" = X32; then
   10269       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10270     else
   10271       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10272     fi
   10273     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10274     ;;
   10275   hppa*64*)
   10276     shrext_cmds='.sl'
   10277     hardcode_into_libs=yes
   10278     dynamic_linker="$host_os dld.sl"
   10279     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10280     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10281     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10282     soname_spec='${libname}${release}${shared_ext}$major'
   10283     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10284     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10285     ;;
   10286   *)
   10287     shrext_cmds='.sl'
   10288     dynamic_linker="$host_os dld.sl"
   10289     shlibpath_var=SHLIB_PATH
   10290     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10292     soname_spec='${libname}${release}${shared_ext}$major'
   10293     ;;
   10294   esac
   10295   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10296   postinstall_cmds='chmod 555 $lib'
   10297   # or fails outright, so override atomically:
   10298   install_override_mode=555
   10299   ;;
   10300 
   10301 interix[3-9]*)
   10302   version_type=linux
   10303   need_lib_prefix=no
   10304   need_version=no
   10305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10306   soname_spec='${libname}${release}${shared_ext}$major'
   10307   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10308   shlibpath_var=LD_LIBRARY_PATH
   10309   shlibpath_overrides_runpath=no
   10310   hardcode_into_libs=yes
   10311   ;;
   10312 
   10313 irix5* | irix6* | nonstopux*)
   10314   case $host_os in
   10315     nonstopux*) version_type=nonstopux ;;
   10316     *)
   10317 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10318 		version_type=linux
   10319 	else
   10320 		version_type=irix
   10321 	fi ;;
   10322   esac
   10323   need_lib_prefix=no
   10324   need_version=no
   10325   soname_spec='${libname}${release}${shared_ext}$major'
   10326   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10327   case $host_os in
   10328   irix5* | nonstopux*)
   10329     libsuff= shlibsuff=
   10330     ;;
   10331   *)
   10332     case $LD in # libtool.m4 will add one of these switches to LD
   10333     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10334       libsuff= shlibsuff= libmagic=32-bit;;
   10335     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10336       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10337     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10338       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10339     *) libsuff= shlibsuff= libmagic=never-match;;
   10340     esac
   10341     ;;
   10342   esac
   10343   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10344   shlibpath_overrides_runpath=no
   10345   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10346   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10347   hardcode_into_libs=yes
   10348   ;;
   10349 
   10350 # No shared lib support for Linux oldld, aout, or coff.
   10351 linux*oldld* | linux*aout* | linux*coff*)
   10352   dynamic_linker=no
   10353   ;;
   10354 
   10355 # This must be Linux ELF.
   10356 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10357   version_type=linux
   10358   need_lib_prefix=no
   10359   need_version=no
   10360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10361   soname_spec='${libname}${release}${shared_ext}$major'
   10362   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10363   shlibpath_var=LD_LIBRARY_PATH
   10364   shlibpath_overrides_runpath=no
   10365 
   10366   # Some binutils ld are patched to set DT_RUNPATH
   10367   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10368   $as_echo_n "(cached) " >&6
   10369 else
   10370   lt_cv_shlibpath_overrides_runpath=no
   10371     save_LDFLAGS=$LDFLAGS
   10372     save_libdir=$libdir
   10373     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10374 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10375     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10376 /* end confdefs.h.  */
   10377 
   10378 int
   10379 main ()
   10380 {
   10381 
   10382   ;
   10383   return 0;
   10384 }
   10385 _ACEOF
   10386 if ac_fn_c_try_link "$LINENO"; then :
   10387   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10388   lt_cv_shlibpath_overrides_runpath=yes
   10389 fi
   10390 fi
   10391 rm -f core conftest.err conftest.$ac_objext \
   10392     conftest$ac_exeext conftest.$ac_ext
   10393     LDFLAGS=$save_LDFLAGS
   10394     libdir=$save_libdir
   10395 
   10396 fi
   10397 
   10398   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10399 
   10400   # This implies no fast_install, which is unacceptable.
   10401   # Some rework will be needed to allow for fast_install
   10402   # before this can be enabled.
   10403   hardcode_into_libs=yes
   10404 
   10405   # Append ld.so.conf contents to the search path
   10406   if test -f /etc/ld.so.conf; then
   10407     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   10408     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10409   fi
   10410 
   10411   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10412   # powerpc, because MkLinux only supported shared libraries with the
   10413   # GNU dynamic linker.  Since this was broken with cross compilers,
   10414   # most powerpc-linux boxes support dynamic linking these days and
   10415   # people can always --disable-shared, the test was removed, and we
   10416   # assume the GNU/Linux dynamic linker is in use.
   10417   dynamic_linker='GNU/Linux ld.so'
   10418   ;;
   10419 
   10420 netbsd*)
   10421   version_type=sunos
   10422   need_lib_prefix=no
   10423   need_version=no
   10424   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10425     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10426     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10427     dynamic_linker='NetBSD (a.out) ld.so'
   10428   else
   10429     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10430     soname_spec='${libname}${release}${shared_ext}$major'
   10431     dynamic_linker='NetBSD ld.elf_so'
   10432   fi
   10433   shlibpath_var=LD_LIBRARY_PATH
   10434   shlibpath_overrides_runpath=yes
   10435   hardcode_into_libs=yes
   10436   ;;
   10437 
   10438 newsos6)
   10439   version_type=linux
   10440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10441   shlibpath_var=LD_LIBRARY_PATH
   10442   shlibpath_overrides_runpath=yes
   10443   ;;
   10444 
   10445 *nto* | *qnx*)
   10446   version_type=qnx
   10447   need_lib_prefix=no
   10448   need_version=no
   10449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10450   soname_spec='${libname}${release}${shared_ext}$major'
   10451   shlibpath_var=LD_LIBRARY_PATH
   10452   shlibpath_overrides_runpath=no
   10453   hardcode_into_libs=yes
   10454   dynamic_linker='ldqnx.so'
   10455   ;;
   10456 
   10457 openbsd*)
   10458   version_type=sunos
   10459   sys_lib_dlsearch_path_spec="/usr/lib"
   10460   need_lib_prefix=no
   10461   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10462   case $host_os in
   10463     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10464     *)				need_version=no  ;;
   10465   esac
   10466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10467   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10468   shlibpath_var=LD_LIBRARY_PATH
   10469   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10470     case $host_os in
   10471       openbsd2.[89] | openbsd2.[89].*)
   10472 	shlibpath_overrides_runpath=no
   10473 	;;
   10474       *)
   10475 	shlibpath_overrides_runpath=yes
   10476 	;;
   10477       esac
   10478   else
   10479     shlibpath_overrides_runpath=yes
   10480   fi
   10481   ;;
   10482 
   10483 os2*)
   10484   libname_spec='$name'
   10485   shrext_cmds=".dll"
   10486   need_lib_prefix=no
   10487   library_names_spec='$libname${shared_ext} $libname.a'
   10488   dynamic_linker='OS/2 ld.exe'
   10489   shlibpath_var=LIBPATH
   10490   ;;
   10491 
   10492 osf3* | osf4* | osf5*)
   10493   version_type=osf
   10494   need_lib_prefix=no
   10495   need_version=no
   10496   soname_spec='${libname}${release}${shared_ext}$major'
   10497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10498   shlibpath_var=LD_LIBRARY_PATH
   10499   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10500   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10501   ;;
   10502 
   10503 rdos*)
   10504   dynamic_linker=no
   10505   ;;
   10506 
   10507 solaris*)
   10508   version_type=linux
   10509   need_lib_prefix=no
   10510   need_version=no
   10511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10512   soname_spec='${libname}${release}${shared_ext}$major'
   10513   shlibpath_var=LD_LIBRARY_PATH
   10514   shlibpath_overrides_runpath=yes
   10515   hardcode_into_libs=yes
   10516   # ldd complains unless libraries are executable
   10517   postinstall_cmds='chmod +x $lib'
   10518   ;;
   10519 
   10520 sunos4*)
   10521   version_type=sunos
   10522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10523   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10524   shlibpath_var=LD_LIBRARY_PATH
   10525   shlibpath_overrides_runpath=yes
   10526   if test "$with_gnu_ld" = yes; then
   10527     need_lib_prefix=no
   10528   fi
   10529   need_version=yes
   10530   ;;
   10531 
   10532 sysv4 | sysv4.3*)
   10533   version_type=linux
   10534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10535   soname_spec='${libname}${release}${shared_ext}$major'
   10536   shlibpath_var=LD_LIBRARY_PATH
   10537   case $host_vendor in
   10538     sni)
   10539       shlibpath_overrides_runpath=no
   10540       need_lib_prefix=no
   10541       runpath_var=LD_RUN_PATH
   10542       ;;
   10543     siemens)
   10544       need_lib_prefix=no
   10545       ;;
   10546     motorola)
   10547       need_lib_prefix=no
   10548       need_version=no
   10549       shlibpath_overrides_runpath=no
   10550       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10551       ;;
   10552   esac
   10553   ;;
   10554 
   10555 sysv4*MP*)
   10556   if test -d /usr/nec ;then
   10557     version_type=linux
   10558     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10559     soname_spec='$libname${shared_ext}.$major'
   10560     shlibpath_var=LD_LIBRARY_PATH
   10561   fi
   10562   ;;
   10563 
   10564 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10565   version_type=freebsd-elf
   10566   need_lib_prefix=no
   10567   need_version=no
   10568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10569   soname_spec='${libname}${release}${shared_ext}$major'
   10570   shlibpath_var=LD_LIBRARY_PATH
   10571   shlibpath_overrides_runpath=yes
   10572   hardcode_into_libs=yes
   10573   if test "$with_gnu_ld" = yes; then
   10574     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10575   else
   10576     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10577     case $host_os in
   10578       sco3.2v5*)
   10579         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10580 	;;
   10581     esac
   10582   fi
   10583   sys_lib_dlsearch_path_spec='/usr/lib'
   10584   ;;
   10585 
   10586 tpf*)
   10587   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10588   version_type=linux
   10589   need_lib_prefix=no
   10590   need_version=no
   10591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10592   shlibpath_var=LD_LIBRARY_PATH
   10593   shlibpath_overrides_runpath=no
   10594   hardcode_into_libs=yes
   10595   ;;
   10596 
   10597 uts4*)
   10598   version_type=linux
   10599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10600   soname_spec='${libname}${release}${shared_ext}$major'
   10601   shlibpath_var=LD_LIBRARY_PATH
   10602   ;;
   10603 
   10604 *)
   10605   dynamic_linker=no
   10606   ;;
   10607 esac
   10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10609 $as_echo "$dynamic_linker" >&6; }
   10610 test "$dynamic_linker" = no && can_build_shared=no
   10611 
   10612 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10613 if test "$GCC" = yes; then
   10614   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10615 fi
   10616 
   10617 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10618   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10619 fi
   10620 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10621   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10622 fi
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10716 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10717 hardcode_action=
   10718 if test -n "$hardcode_libdir_flag_spec" ||
   10719    test -n "$runpath_var" ||
   10720    test "X$hardcode_automatic" = "Xyes" ; then
   10721 
   10722   # We can hardcode non-existent directories.
   10723   if test "$hardcode_direct" != no &&
   10724      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10725      # have to relink, otherwise we might link with an installed library
   10726      # when we should be linking with a yet-to-be-installed one
   10727      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10728      test "$hardcode_minus_L" != no; then
   10729     # Linking always hardcodes the temporary library directory.
   10730     hardcode_action=relink
   10731   else
   10732     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10733     hardcode_action=immediate
   10734   fi
   10735 else
   10736   # We cannot hardcode anything, or else we can only hardcode existing
   10737   # directories.
   10738   hardcode_action=unsupported
   10739 fi
   10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10741 $as_echo "$hardcode_action" >&6; }
   10742 
   10743 if test "$hardcode_action" = relink ||
   10744    test "$inherit_rpath" = yes; then
   10745   # Fast installation is not supported
   10746   enable_fast_install=no
   10747 elif test "$shlibpath_overrides_runpath" = yes ||
   10748      test "$enable_shared" = no; then
   10749   # Fast installation is not necessary
   10750   enable_fast_install=needless
   10751 fi
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758   if test "x$enable_dlopen" != xyes; then
   10759   enable_dlopen=unknown
   10760   enable_dlopen_self=unknown
   10761   enable_dlopen_self_static=unknown
   10762 else
   10763   lt_cv_dlopen=no
   10764   lt_cv_dlopen_libs=
   10765 
   10766   case $host_os in
   10767   beos*)
   10768     lt_cv_dlopen="load_add_on"
   10769     lt_cv_dlopen_libs=
   10770     lt_cv_dlopen_self=yes
   10771     ;;
   10772 
   10773   mingw* | pw32* | cegcc*)
   10774     lt_cv_dlopen="LoadLibrary"
   10775     lt_cv_dlopen_libs=
   10776     ;;
   10777 
   10778   cygwin*)
   10779     lt_cv_dlopen="dlopen"
   10780     lt_cv_dlopen_libs=
   10781     ;;
   10782 
   10783   darwin*)
   10784   # if libdl is installed we need to link against it
   10785     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10786 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10787 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10788   $as_echo_n "(cached) " >&6
   10789 else
   10790   ac_check_lib_save_LIBS=$LIBS
   10791 LIBS="-ldl  $LIBS"
   10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10793 /* end confdefs.h.  */
   10794 
   10795 /* Override any GCC internal prototype to avoid an error.
   10796    Use char because int might match the return type of a GCC
   10797    builtin and then its argument prototype would still apply.  */
   10798 #ifdef __cplusplus
   10799 extern "C"
   10800 #endif
   10801 char dlopen ();
   10802 int
   10803 main ()
   10804 {
   10805 return dlopen ();
   10806   ;
   10807   return 0;
   10808 }
   10809 _ACEOF
   10810 if ac_fn_c_try_link "$LINENO"; then :
   10811   ac_cv_lib_dl_dlopen=yes
   10812 else
   10813   ac_cv_lib_dl_dlopen=no
   10814 fi
   10815 rm -f core conftest.err conftest.$ac_objext \
   10816     conftest$ac_exeext conftest.$ac_ext
   10817 LIBS=$ac_check_lib_save_LIBS
   10818 fi
   10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10820 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10821 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10822   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10823 else
   10824 
   10825     lt_cv_dlopen="dyld"
   10826     lt_cv_dlopen_libs=
   10827     lt_cv_dlopen_self=yes
   10828 
   10829 fi
   10830 
   10831     ;;
   10832 
   10833   *)
   10834     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10835 if test "x$ac_cv_func_shl_load" = xyes; then :
   10836   lt_cv_dlopen="shl_load"
   10837 else
   10838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10839 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10840 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10841   $as_echo_n "(cached) " >&6
   10842 else
   10843   ac_check_lib_save_LIBS=$LIBS
   10844 LIBS="-ldld  $LIBS"
   10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10846 /* end confdefs.h.  */
   10847 
   10848 /* Override any GCC internal prototype to avoid an error.
   10849    Use char because int might match the return type of a GCC
   10850    builtin and then its argument prototype would still apply.  */
   10851 #ifdef __cplusplus
   10852 extern "C"
   10853 #endif
   10854 char shl_load ();
   10855 int
   10856 main ()
   10857 {
   10858 return shl_load ();
   10859   ;
   10860   return 0;
   10861 }
   10862 _ACEOF
   10863 if ac_fn_c_try_link "$LINENO"; then :
   10864   ac_cv_lib_dld_shl_load=yes
   10865 else
   10866   ac_cv_lib_dld_shl_load=no
   10867 fi
   10868 rm -f core conftest.err conftest.$ac_objext \
   10869     conftest$ac_exeext conftest.$ac_ext
   10870 LIBS=$ac_check_lib_save_LIBS
   10871 fi
   10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10873 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10874 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10875   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10876 else
   10877   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10878 if test "x$ac_cv_func_dlopen" = xyes; then :
   10879   lt_cv_dlopen="dlopen"
   10880 else
   10881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10882 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10883 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10884   $as_echo_n "(cached) " >&6
   10885 else
   10886   ac_check_lib_save_LIBS=$LIBS
   10887 LIBS="-ldl  $LIBS"
   10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10889 /* end confdefs.h.  */
   10890 
   10891 /* Override any GCC internal prototype to avoid an error.
   10892    Use char because int might match the return type of a GCC
   10893    builtin and then its argument prototype would still apply.  */
   10894 #ifdef __cplusplus
   10895 extern "C"
   10896 #endif
   10897 char dlopen ();
   10898 int
   10899 main ()
   10900 {
   10901 return dlopen ();
   10902   ;
   10903   return 0;
   10904 }
   10905 _ACEOF
   10906 if ac_fn_c_try_link "$LINENO"; then :
   10907   ac_cv_lib_dl_dlopen=yes
   10908 else
   10909   ac_cv_lib_dl_dlopen=no
   10910 fi
   10911 rm -f core conftest.err conftest.$ac_objext \
   10912     conftest$ac_exeext conftest.$ac_ext
   10913 LIBS=$ac_check_lib_save_LIBS
   10914 fi
   10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10916 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10917 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10918   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10919 else
   10920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10921 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10922 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10923   $as_echo_n "(cached) " >&6
   10924 else
   10925   ac_check_lib_save_LIBS=$LIBS
   10926 LIBS="-lsvld  $LIBS"
   10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10928 /* end confdefs.h.  */
   10929 
   10930 /* Override any GCC internal prototype to avoid an error.
   10931    Use char because int might match the return type of a GCC
   10932    builtin and then its argument prototype would still apply.  */
   10933 #ifdef __cplusplus
   10934 extern "C"
   10935 #endif
   10936 char dlopen ();
   10937 int
   10938 main ()
   10939 {
   10940 return dlopen ();
   10941   ;
   10942   return 0;
   10943 }
   10944 _ACEOF
   10945 if ac_fn_c_try_link "$LINENO"; then :
   10946   ac_cv_lib_svld_dlopen=yes
   10947 else
   10948   ac_cv_lib_svld_dlopen=no
   10949 fi
   10950 rm -f core conftest.err conftest.$ac_objext \
   10951     conftest$ac_exeext conftest.$ac_ext
   10952 LIBS=$ac_check_lib_save_LIBS
   10953 fi
   10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10955 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10956 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10957   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10958 else
   10959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10960 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10961 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10962   $as_echo_n "(cached) " >&6
   10963 else
   10964   ac_check_lib_save_LIBS=$LIBS
   10965 LIBS="-ldld  $LIBS"
   10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10967 /* end confdefs.h.  */
   10968 
   10969 /* Override any GCC internal prototype to avoid an error.
   10970    Use char because int might match the return type of a GCC
   10971    builtin and then its argument prototype would still apply.  */
   10972 #ifdef __cplusplus
   10973 extern "C"
   10974 #endif
   10975 char dld_link ();
   10976 int
   10977 main ()
   10978 {
   10979 return dld_link ();
   10980   ;
   10981   return 0;
   10982 }
   10983 _ACEOF
   10984 if ac_fn_c_try_link "$LINENO"; then :
   10985   ac_cv_lib_dld_dld_link=yes
   10986 else
   10987   ac_cv_lib_dld_dld_link=no
   10988 fi
   10989 rm -f core conftest.err conftest.$ac_objext \
   10990     conftest$ac_exeext conftest.$ac_ext
   10991 LIBS=$ac_check_lib_save_LIBS
   10992 fi
   10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10994 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10995 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10996   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10997 fi
   10998 
   10999 
   11000 fi
   11001 
   11002 
   11003 fi
   11004 
   11005 
   11006 fi
   11007 
   11008 
   11009 fi
   11010 
   11011 
   11012 fi
   11013 
   11014     ;;
   11015   esac
   11016 
   11017   if test "x$lt_cv_dlopen" != xno; then
   11018     enable_dlopen=yes
   11019   else
   11020     enable_dlopen=no
   11021   fi
   11022 
   11023   case $lt_cv_dlopen in
   11024   dlopen)
   11025     save_CPPFLAGS="$CPPFLAGS"
   11026     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11027 
   11028     save_LDFLAGS="$LDFLAGS"
   11029     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11030 
   11031     save_LIBS="$LIBS"
   11032     LIBS="$lt_cv_dlopen_libs $LIBS"
   11033 
   11034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11035 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11036 if ${lt_cv_dlopen_self+:} false; then :
   11037   $as_echo_n "(cached) " >&6
   11038 else
   11039   	  if test "$cross_compiling" = yes; then :
   11040   lt_cv_dlopen_self=cross
   11041 else
   11042   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11043   lt_status=$lt_dlunknown
   11044   cat > conftest.$ac_ext <<_LT_EOF
   11045 #line $LINENO "configure"
   11046 #include "confdefs.h"
   11047 
   11048 #if HAVE_DLFCN_H
   11049 #include <dlfcn.h>
   11050 #endif
   11051 
   11052 #include <stdio.h>
   11053 
   11054 #ifdef RTLD_GLOBAL
   11055 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11056 #else
   11057 #  ifdef DL_GLOBAL
   11058 #    define LT_DLGLOBAL		DL_GLOBAL
   11059 #  else
   11060 #    define LT_DLGLOBAL		0
   11061 #  endif
   11062 #endif
   11063 
   11064 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11065    find out it does not work in some platform. */
   11066 #ifndef LT_DLLAZY_OR_NOW
   11067 #  ifdef RTLD_LAZY
   11068 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11069 #  else
   11070 #    ifdef DL_LAZY
   11071 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11072 #    else
   11073 #      ifdef RTLD_NOW
   11074 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11075 #      else
   11076 #        ifdef DL_NOW
   11077 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11078 #        else
   11079 #          define LT_DLLAZY_OR_NOW	0
   11080 #        endif
   11081 #      endif
   11082 #    endif
   11083 #  endif
   11084 #endif
   11085 
   11086 /* When -fvisbility=hidden is used, assume the code has been annotated
   11087    correspondingly for the symbols needed.  */
   11088 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11089 int fnord () __attribute__((visibility("default")));
   11090 #endif
   11091 
   11092 int fnord () { return 42; }
   11093 int main ()
   11094 {
   11095   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11096   int status = $lt_dlunknown;
   11097 
   11098   if (self)
   11099     {
   11100       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11101       else
   11102         {
   11103 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11104           else puts (dlerror ());
   11105 	}
   11106       /* dlclose (self); */
   11107     }
   11108   else
   11109     puts (dlerror ());
   11110 
   11111   return status;
   11112 }
   11113 _LT_EOF
   11114   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11115   (eval $ac_link) 2>&5
   11116   ac_status=$?
   11117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11118   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11119     (./conftest; exit; ) >&5 2>/dev/null
   11120     lt_status=$?
   11121     case x$lt_status in
   11122       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11123       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11124       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11125     esac
   11126   else :
   11127     # compilation failed
   11128     lt_cv_dlopen_self=no
   11129   fi
   11130 fi
   11131 rm -fr conftest*
   11132 
   11133 
   11134 fi
   11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11136 $as_echo "$lt_cv_dlopen_self" >&6; }
   11137 
   11138     if test "x$lt_cv_dlopen_self" = xyes; then
   11139       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11140       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11141 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11142 if ${lt_cv_dlopen_self_static+:} false; then :
   11143   $as_echo_n "(cached) " >&6
   11144 else
   11145   	  if test "$cross_compiling" = yes; then :
   11146   lt_cv_dlopen_self_static=cross
   11147 else
   11148   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11149   lt_status=$lt_dlunknown
   11150   cat > conftest.$ac_ext <<_LT_EOF
   11151 #line $LINENO "configure"
   11152 #include "confdefs.h"
   11153 
   11154 #if HAVE_DLFCN_H
   11155 #include <dlfcn.h>
   11156 #endif
   11157 
   11158 #include <stdio.h>
   11159 
   11160 #ifdef RTLD_GLOBAL
   11161 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11162 #else
   11163 #  ifdef DL_GLOBAL
   11164 #    define LT_DLGLOBAL		DL_GLOBAL
   11165 #  else
   11166 #    define LT_DLGLOBAL		0
   11167 #  endif
   11168 #endif
   11169 
   11170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11171    find out it does not work in some platform. */
   11172 #ifndef LT_DLLAZY_OR_NOW
   11173 #  ifdef RTLD_LAZY
   11174 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11175 #  else
   11176 #    ifdef DL_LAZY
   11177 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11178 #    else
   11179 #      ifdef RTLD_NOW
   11180 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11181 #      else
   11182 #        ifdef DL_NOW
   11183 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11184 #        else
   11185 #          define LT_DLLAZY_OR_NOW	0
   11186 #        endif
   11187 #      endif
   11188 #    endif
   11189 #  endif
   11190 #endif
   11191 
   11192 /* When -fvisbility=hidden is used, assume the code has been annotated
   11193    correspondingly for the symbols needed.  */
   11194 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11195 int fnord () __attribute__((visibility("default")));
   11196 #endif
   11197 
   11198 int fnord () { return 42; }
   11199 int main ()
   11200 {
   11201   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11202   int status = $lt_dlunknown;
   11203 
   11204   if (self)
   11205     {
   11206       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11207       else
   11208         {
   11209 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11210           else puts (dlerror ());
   11211 	}
   11212       /* dlclose (self); */
   11213     }
   11214   else
   11215     puts (dlerror ());
   11216 
   11217   return status;
   11218 }
   11219 _LT_EOF
   11220   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11221   (eval $ac_link) 2>&5
   11222   ac_status=$?
   11223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11224   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11225     (./conftest; exit; ) >&5 2>/dev/null
   11226     lt_status=$?
   11227     case x$lt_status in
   11228       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11229       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11230       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11231     esac
   11232   else :
   11233     # compilation failed
   11234     lt_cv_dlopen_self_static=no
   11235   fi
   11236 fi
   11237 rm -fr conftest*
   11238 
   11239 
   11240 fi
   11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11242 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11243     fi
   11244 
   11245     CPPFLAGS="$save_CPPFLAGS"
   11246     LDFLAGS="$save_LDFLAGS"
   11247     LIBS="$save_LIBS"
   11248     ;;
   11249   esac
   11250 
   11251   case $lt_cv_dlopen_self in
   11252   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11253   *) enable_dlopen_self=unknown ;;
   11254   esac
   11255 
   11256   case $lt_cv_dlopen_self_static in
   11257   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11258   *) enable_dlopen_self_static=unknown ;;
   11259   esac
   11260 fi
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 striplib=
   11279 old_striplib=
   11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11281 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11282 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11283   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11284   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11286 $as_echo "yes" >&6; }
   11287 else
   11288 # FIXME - insert some real tests, host_os isn't really good enough
   11289   case $host_os in
   11290   darwin*)
   11291     if test -n "$STRIP" ; then
   11292       striplib="$STRIP -x"
   11293       old_striplib="$STRIP -S"
   11294       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11295 $as_echo "yes" >&6; }
   11296     else
   11297       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11298 $as_echo "no" >&6; }
   11299     fi
   11300     ;;
   11301   *)
   11302     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11303 $as_echo "no" >&6; }
   11304     ;;
   11305   esac
   11306 fi
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319   # Report which library types will actually be built
   11320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11321 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11323 $as_echo "$can_build_shared" >&6; }
   11324 
   11325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11326 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11327   test "$can_build_shared" = "no" && enable_shared=no
   11328 
   11329   # On AIX, shared libraries and static libraries use the same namespace, and
   11330   # are all built from PIC.
   11331   case $host_os in
   11332   aix3*)
   11333     test "$enable_shared" = yes && enable_static=no
   11334     if test -n "$RANLIB"; then
   11335       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11336       postinstall_cmds='$RANLIB $lib'
   11337     fi
   11338     ;;
   11339 
   11340   aix[4-9]*)
   11341     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11342       test "$enable_shared" = yes && enable_static=no
   11343     fi
   11344     ;;
   11345   esac
   11346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11347 $as_echo "$enable_shared" >&6; }
   11348 
   11349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11350 $as_echo_n "checking whether to build static libraries... " >&6; }
   11351   # Make sure either enable_shared or enable_static is yes.
   11352   test "$enable_shared" = yes || enable_static=yes
   11353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11354 $as_echo "$enable_static" >&6; }
   11355 
   11356 
   11357 
   11358 
   11359 fi
   11360 ac_ext=c
   11361 ac_cpp='$CPP $CPPFLAGS'
   11362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11365 
   11366 CC="$lt_save_CC"
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380         ac_config_commands="$ac_config_commands libtool"
   11381 
   11382 
   11383 
   11384 
   11385 # Only expand once:
   11386 
   11387 
   11388 
   11389 for ac_prog in cp
   11390 do
   11391   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11392 set dummy $ac_prog; ac_word=$2
   11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11394 $as_echo_n "checking for $ac_word... " >&6; }
   11395 if ${ac_cv_prog_COPY+:} false; then :
   11396   $as_echo_n "(cached) " >&6
   11397 else
   11398   if test -n "$COPY"; then
   11399   ac_cv_prog_COPY="$COPY" # Let the user override the test.
   11400 else
   11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11402 for as_dir in $PATH
   11403 do
   11404   IFS=$as_save_IFS
   11405   test -z "$as_dir" && as_dir=.
   11406     for ac_exec_ext in '' $ac_executable_extensions; do
   11407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11408     ac_cv_prog_COPY="$ac_prog"
   11409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11410     break 2
   11411   fi
   11412 done
   11413   done
   11414 IFS=$as_save_IFS
   11415 
   11416 fi
   11417 fi
   11418 COPY=$ac_cv_prog_COPY
   11419 if test -n "$COPY"; then
   11420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COPY" >&5
   11421 $as_echo "$COPY" >&6; }
   11422 else
   11423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11424 $as_echo "no" >&6; }
   11425 fi
   11426 
   11427 
   11428   test -n "$COPY" && break
   11429 done
   11430 
   11431 for ac_prog in echo
   11432 do
   11433   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11434 set dummy $ac_prog; ac_word=$2
   11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11436 $as_echo_n "checking for $ac_word... " >&6; }
   11437 if ${ac_cv_prog_ECHO+:} false; then :
   11438   $as_echo_n "(cached) " >&6
   11439 else
   11440   if test -n "$ECHO"; then
   11441   ac_cv_prog_ECHO="$ECHO" # Let the user override the test.
   11442 else
   11443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11444 for as_dir in $PATH
   11445 do
   11446   IFS=$as_save_IFS
   11447   test -z "$as_dir" && as_dir=.
   11448     for ac_exec_ext in '' $ac_executable_extensions; do
   11449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11450     ac_cv_prog_ECHO="$ac_prog"
   11451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11452     break 2
   11453   fi
   11454 done
   11455   done
   11456 IFS=$as_save_IFS
   11457 
   11458 fi
   11459 fi
   11460 ECHO=$ac_cv_prog_ECHO
   11461 if test -n "$ECHO"; then
   11462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
   11463 $as_echo "$ECHO" >&6; }
   11464 else
   11465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11466 $as_echo "no" >&6; }
   11467 fi
   11468 
   11469 
   11470   test -n "$ECHO" && break
   11471 done
   11472 
   11473 for ac_prog in mkdir
   11474 do
   11475   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11476 set dummy $ac_prog; ac_word=$2
   11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11478 $as_echo_n "checking for $ac_word... " >&6; }
   11479 if ${ac_cv_prog_MKDIR+:} false; then :
   11480   $as_echo_n "(cached) " >&6
   11481 else
   11482   if test -n "$MKDIR"; then
   11483   ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
   11484 else
   11485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11486 for as_dir in $PATH
   11487 do
   11488   IFS=$as_save_IFS
   11489   test -z "$as_dir" && as_dir=.
   11490     for ac_exec_ext in '' $ac_executable_extensions; do
   11491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11492     ac_cv_prog_MKDIR="$ac_prog"
   11493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11494     break 2
   11495   fi
   11496 done
   11497   done
   11498 IFS=$as_save_IFS
   11499 
   11500 fi
   11501 fi
   11502 MKDIR=$ac_cv_prog_MKDIR
   11503 if test -n "$MKDIR"; then
   11504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
   11505 $as_echo "$MKDIR" >&6; }
   11506 else
   11507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11508 $as_echo "no" >&6; }
   11509 fi
   11510 
   11511 
   11512   test -n "$MKDIR" && break
   11513 done
   11514 
   11515 for ac_prog in rm
   11516 do
   11517   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11518 set dummy $ac_prog; ac_word=$2
   11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11520 $as_echo_n "checking for $ac_word... " >&6; }
   11521 if ${ac_cv_prog_RM+:} false; then :
   11522   $as_echo_n "(cached) " >&6
   11523 else
   11524   if test -n "$RM"; then
   11525   ac_cv_prog_RM="$RM" # Let the user override the test.
   11526 else
   11527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11528 for as_dir in $PATH
   11529 do
   11530   IFS=$as_save_IFS
   11531   test -z "$as_dir" && as_dir=.
   11532     for ac_exec_ext in '' $ac_executable_extensions; do
   11533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11534     ac_cv_prog_RM="$ac_prog"
   11535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11536     break 2
   11537   fi
   11538 done
   11539   done
   11540 IFS=$as_save_IFS
   11541 
   11542 fi
   11543 fi
   11544 RM=$ac_cv_prog_RM
   11545 if test -n "$RM"; then
   11546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   11547 $as_echo "$RM" >&6; }
   11548 else
   11549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11550 $as_echo "no" >&6; }
   11551 fi
   11552 
   11553 
   11554   test -n "$RM" && break
   11555 done
   11556 
   11557 
   11558 
   11559 
   11560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   11561 $as_echo_n "checking whether NLS is requested... " >&6; }
   11562     # Check whether --enable-nls was given.
   11563 if test "${enable_nls+set}" = set; then :
   11564   enableval=$enable_nls; USE_NLS=$enableval
   11565 else
   11566   USE_NLS=yes
   11567 fi
   11568 
   11569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   11570 $as_echo "$USE_NLS" >&6; }
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 # Prepare PATH_SEPARATOR.
   11578 # The user is always right.
   11579 if test "${PATH_SEPARATOR+set}" != set; then
   11580   echo "#! /bin/sh" >conf$$.sh
   11581   echo  "exit 0"   >>conf$$.sh
   11582   chmod +x conf$$.sh
   11583   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11584     PATH_SEPARATOR=';'
   11585   else
   11586     PATH_SEPARATOR=:
   11587   fi
   11588   rm -f conf$$.sh
   11589 fi
   11590 
   11591 # Find out how to test for executable files. Don't use a zero-byte file,
   11592 # as systems may use methods other than mode bits to determine executability.
   11593 cat >conf$$.file <<_ASEOF
   11594 #! /bin/sh
   11595 exit 0
   11596 _ASEOF
   11597 chmod +x conf$$.file
   11598 if test -x conf$$.file >/dev/null 2>&1; then
   11599   ac_executable_p="test -x"
   11600 else
   11601   ac_executable_p="test -f"
   11602 fi
   11603 rm -f conf$$.file
   11604 
   11605 # Extract the first word of "msgfmt", so it can be a program name with args.
   11606 set dummy msgfmt; ac_word=$2
   11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11608 $as_echo_n "checking for $ac_word... " >&6; }
   11609 if ${ac_cv_path_MSGFMT+:} false; then :
   11610   $as_echo_n "(cached) " >&6
   11611 else
   11612   case "$MSGFMT" in
   11613   [\\/]* | ?:[\\/]*)
   11614     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   11615     ;;
   11616   *)
   11617     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11618     for ac_dir in $PATH; do
   11619       IFS="$ac_save_IFS"
   11620       test -z "$ac_dir" && ac_dir=.
   11621       for ac_exec_ext in '' $ac_executable_extensions; do
   11622         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11623           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   11624           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
   11625      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11626             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   11627             break 2
   11628           fi
   11629         fi
   11630       done
   11631     done
   11632     IFS="$ac_save_IFS"
   11633   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   11634     ;;
   11635 esac
   11636 fi
   11637 MSGFMT="$ac_cv_path_MSGFMT"
   11638 if test "$MSGFMT" != ":"; then
   11639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   11640 $as_echo "$MSGFMT" >&6; }
   11641 else
   11642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11643 $as_echo "no" >&6; }
   11644 fi
   11645 
   11646   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   11647 set dummy gmsgfmt; ac_word=$2
   11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11649 $as_echo_n "checking for $ac_word... " >&6; }
   11650 if ${ac_cv_path_GMSGFMT+:} false; then :
   11651   $as_echo_n "(cached) " >&6
   11652 else
   11653   case $GMSGFMT in
   11654   [\\/]* | ?:[\\/]*)
   11655   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   11656   ;;
   11657   *)
   11658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11659 for as_dir in $PATH
   11660 do
   11661   IFS=$as_save_IFS
   11662   test -z "$as_dir" && as_dir=.
   11663     for ac_exec_ext in '' $ac_executable_extensions; do
   11664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11665     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   11666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11667     break 2
   11668   fi
   11669 done
   11670   done
   11671 IFS=$as_save_IFS
   11672 
   11673   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   11674   ;;
   11675 esac
   11676 fi
   11677 GMSGFMT=$ac_cv_path_GMSGFMT
   11678 if test -n "$GMSGFMT"; then
   11679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   11680 $as_echo "$GMSGFMT" >&6; }
   11681 else
   11682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11683 $as_echo "no" >&6; }
   11684 fi
   11685 
   11686 
   11687 
   11688     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   11689     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
   11690     *) MSGFMT_015=$MSGFMT ;;
   11691   esac
   11692 
   11693   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   11694     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
   11695     *) GMSGFMT_015=$GMSGFMT ;;
   11696   esac
   11697 
   11698 
   11699 
   11700 # Prepare PATH_SEPARATOR.
   11701 # The user is always right.
   11702 if test "${PATH_SEPARATOR+set}" != set; then
   11703   echo "#! /bin/sh" >conf$$.sh
   11704   echo  "exit 0"   >>conf$$.sh
   11705   chmod +x conf$$.sh
   11706   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11707     PATH_SEPARATOR=';'
   11708   else
   11709     PATH_SEPARATOR=:
   11710   fi
   11711   rm -f conf$$.sh
   11712 fi
   11713 
   11714 # Find out how to test for executable files. Don't use a zero-byte file,
   11715 # as systems may use methods other than mode bits to determine executability.
   11716 cat >conf$$.file <<_ASEOF
   11717 #! /bin/sh
   11718 exit 0
   11719 _ASEOF
   11720 chmod +x conf$$.file
   11721 if test -x conf$$.file >/dev/null 2>&1; then
   11722   ac_executable_p="test -x"
   11723 else
   11724   ac_executable_p="test -f"
   11725 fi
   11726 rm -f conf$$.file
   11727 
   11728 # Extract the first word of "xgettext", so it can be a program name with args.
   11729 set dummy xgettext; ac_word=$2
   11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11731 $as_echo_n "checking for $ac_word... " >&6; }
   11732 if ${ac_cv_path_XGETTEXT+:} false; then :
   11733   $as_echo_n "(cached) " >&6
   11734 else
   11735   case "$XGETTEXT" in
   11736   [\\/]* | ?:[\\/]*)
   11737     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   11738     ;;
   11739   *)
   11740     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11741     for ac_dir in $PATH; do
   11742       IFS="$ac_save_IFS"
   11743       test -z "$ac_dir" && ac_dir=.
   11744       for ac_exec_ext in '' $ac_executable_extensions; do
   11745         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11746           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   11747           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
   11748      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11749             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   11750             break 2
   11751           fi
   11752         fi
   11753       done
   11754     done
   11755     IFS="$ac_save_IFS"
   11756   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   11757     ;;
   11758 esac
   11759 fi
   11760 XGETTEXT="$ac_cv_path_XGETTEXT"
   11761 if test "$XGETTEXT" != ":"; then
   11762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   11763 $as_echo "$XGETTEXT" >&6; }
   11764 else
   11765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11766 $as_echo "no" >&6; }
   11767 fi
   11768 
   11769     rm -f messages.po
   11770 
   11771     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   11772     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
   11773     *) XGETTEXT_015=$XGETTEXT ;;
   11774   esac
   11775 
   11776 
   11777 
   11778 # Prepare PATH_SEPARATOR.
   11779 # The user is always right.
   11780 if test "${PATH_SEPARATOR+set}" != set; then
   11781   echo "#! /bin/sh" >conf$$.sh
   11782   echo  "exit 0"   >>conf$$.sh
   11783   chmod +x conf$$.sh
   11784   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11785     PATH_SEPARATOR=';'
   11786   else
   11787     PATH_SEPARATOR=:
   11788   fi
   11789   rm -f conf$$.sh
   11790 fi
   11791 
   11792 # Find out how to test for executable files. Don't use a zero-byte file,
   11793 # as systems may use methods other than mode bits to determine executability.
   11794 cat >conf$$.file <<_ASEOF
   11795 #! /bin/sh
   11796 exit 0
   11797 _ASEOF
   11798 chmod +x conf$$.file
   11799 if test -x conf$$.file >/dev/null 2>&1; then
   11800   ac_executable_p="test -x"
   11801 else
   11802   ac_executable_p="test -f"
   11803 fi
   11804 rm -f conf$$.file
   11805 
   11806 # Extract the first word of "msgmerge", so it can be a program name with args.
   11807 set dummy msgmerge; ac_word=$2
   11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11809 $as_echo_n "checking for $ac_word... " >&6; }
   11810 if ${ac_cv_path_MSGMERGE+:} false; then :
   11811   $as_echo_n "(cached) " >&6
   11812 else
   11813   case "$MSGMERGE" in
   11814   [\\/]* | ?:[\\/]*)
   11815     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   11816     ;;
   11817   *)
   11818     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11819     for ac_dir in $PATH; do
   11820       IFS="$ac_save_IFS"
   11821       test -z "$ac_dir" && ac_dir=.
   11822       for ac_exec_ext in '' $ac_executable_extensions; do
   11823         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11824           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   11825           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
   11826             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   11827             break 2
   11828           fi
   11829         fi
   11830       done
   11831     done
   11832     IFS="$ac_save_IFS"
   11833   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   11834     ;;
   11835 esac
   11836 fi
   11837 MSGMERGE="$ac_cv_path_MSGMERGE"
   11838 if test "$MSGMERGE" != ":"; then
   11839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   11840 $as_echo "$MSGMERGE" >&6; }
   11841 else
   11842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11843 $as_echo "no" >&6; }
   11844 fi
   11845 
   11846 
   11847         test -n "$localedir" || localedir='${datadir}/locale'
   11848 
   11849 
   11850   ac_config_commands="$ac_config_commands po-directories"
   11851 
   11852 
   11853 
   11854       if test "X$prefix" = "XNONE"; then
   11855     acl_final_prefix="$ac_default_prefix"
   11856   else
   11857     acl_final_prefix="$prefix"
   11858   fi
   11859   if test "X$exec_prefix" = "XNONE"; then
   11860     acl_final_exec_prefix='${prefix}'
   11861   else
   11862     acl_final_exec_prefix="$exec_prefix"
   11863   fi
   11864   acl_save_prefix="$prefix"
   11865   prefix="$acl_final_prefix"
   11866   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   11867   prefix="$acl_save_prefix"
   11868 
   11869 
   11870 # Check whether --with-gnu-ld was given.
   11871 if test "${with_gnu_ld+set}" = set; then :
   11872   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11873 else
   11874   with_gnu_ld=no
   11875 fi
   11876 
   11877 # Prepare PATH_SEPARATOR.
   11878 # The user is always right.
   11879 if test "${PATH_SEPARATOR+set}" != set; then
   11880   echo "#! /bin/sh" >conf$$.sh
   11881   echo  "exit 0"   >>conf$$.sh
   11882   chmod +x conf$$.sh
   11883   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11884     PATH_SEPARATOR=';'
   11885   else
   11886     PATH_SEPARATOR=:
   11887   fi
   11888   rm -f conf$$.sh
   11889 fi
   11890 ac_prog=ld
   11891 if test "$GCC" = yes; then
   11892   # Check if gcc -print-prog-name=ld gives a path.
   11893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   11894 $as_echo_n "checking for ld used by GCC... " >&6; }
   11895   case $host in
   11896   *-*-mingw*)
   11897     # gcc leaves a trailing carriage return which upsets mingw
   11898     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11899   *)
   11900     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11901   esac
   11902   case $ac_prog in
   11903     # Accept absolute paths.
   11904     [\\/]* | [A-Za-z]:[\\/]*)
   11905       re_direlt='/[^/][^/]*/\.\./'
   11906       # Canonicalize the path of ld
   11907       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   11908       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11909 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   11910       done
   11911       test -z "$LD" && LD="$ac_prog"
   11912       ;;
   11913   "")
   11914     # If it fails, then pretend we aren't using GCC.
   11915     ac_prog=ld
   11916     ;;
   11917   *)
   11918     # If it is relative, then search for the first ld in PATH.
   11919     with_gnu_ld=unknown
   11920     ;;
   11921   esac
   11922 elif test "$with_gnu_ld" = yes; then
   11923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11924 $as_echo_n "checking for GNU ld... " >&6; }
   11925 else
   11926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11927 $as_echo_n "checking for non-GNU ld... " >&6; }
   11928 fi
   11929 if ${acl_cv_path_LD+:} false; then :
   11930   $as_echo_n "(cached) " >&6
   11931 else
   11932   if test -z "$LD"; then
   11933   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   11934   for ac_dir in $PATH; do
   11935     test -z "$ac_dir" && ac_dir=.
   11936     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11937       acl_cv_path_LD="$ac_dir/$ac_prog"
   11938       # Check to see if the program is GNU ld.  I'd rather use --version,
   11939       # but apparently some GNU ld's only accept -v.
   11940       # Break only if it was the GNU/non-GNU ld that we prefer.
   11941       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   11942       *GNU* | *'with BFD'*)
   11943 	test "$with_gnu_ld" != no && break ;;
   11944       *)
   11945 	test "$with_gnu_ld" != yes && break ;;
   11946       esac
   11947     fi
   11948   done
   11949   IFS="$ac_save_ifs"
   11950 else
   11951   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   11952 fi
   11953 fi
   11954 
   11955 LD="$acl_cv_path_LD"
   11956 if test -n "$LD"; then
   11957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11958 $as_echo "$LD" >&6; }
   11959 else
   11960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11961 $as_echo "no" >&6; }
   11962 fi
   11963 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11965 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11966 if ${acl_cv_prog_gnu_ld+:} false; then :
   11967   $as_echo_n "(cached) " >&6
   11968 else
   11969   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   11970 case `$LD -v 2>&1 </dev/null` in
   11971 *GNU* | *'with BFD'*)
   11972   acl_cv_prog_gnu_ld=yes ;;
   11973 *)
   11974   acl_cv_prog_gnu_ld=no ;;
   11975 esac
   11976 fi
   11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   11978 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   11979 with_gnu_ld=$acl_cv_prog_gnu_ld
   11980 
   11981 
   11982 
   11983 
   11984                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   11985 $as_echo_n "checking for shared library run path origin... " >&6; }
   11986 if ${acl_cv_rpath+:} false; then :
   11987   $as_echo_n "(cached) " >&6
   11988 else
   11989 
   11990     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   11991     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   11992     . ./conftest.sh
   11993     rm -f ./conftest.sh
   11994     acl_cv_rpath=done
   11995 
   11996 fi
   11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   11998 $as_echo "$acl_cv_rpath" >&6; }
   11999   wl="$acl_cv_wl"
   12000   libext="$acl_cv_libext"
   12001   shlibext="$acl_cv_shlibext"
   12002   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   12003   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   12004   hardcode_direct="$acl_cv_hardcode_direct"
   12005   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   12006     # Check whether --enable-rpath was given.
   12007 if test "${enable_rpath+set}" = set; then :
   12008   enableval=$enable_rpath; :
   12009 else
   12010   enable_rpath=yes
   12011 fi
   12012 
   12013 
   12014 
   12015                   acl_libdirstem=lib
   12016   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   12017   if test -n "$searchpath"; then
   12018     acl_save_IFS="${IFS= 	}"; IFS=":"
   12019     for searchdir in $searchpath; do
   12020       if test -d "$searchdir"; then
   12021         case "$searchdir" in
   12022           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   12023           *) searchdir=`cd "$searchdir" && pwd`
   12024              case "$searchdir" in
   12025                */lib64 ) acl_libdirstem=lib64 ;;
   12026              esac ;;
   12027         esac
   12028       fi
   12029     done
   12030     IFS="$acl_save_IFS"
   12031   fi
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040     use_additional=yes
   12041 
   12042   acl_save_prefix="$prefix"
   12043   prefix="$acl_final_prefix"
   12044   acl_save_exec_prefix="$exec_prefix"
   12045   exec_prefix="$acl_final_exec_prefix"
   12046 
   12047     eval additional_includedir=\"$includedir\"
   12048     eval additional_libdir=\"$libdir\"
   12049 
   12050   exec_prefix="$acl_save_exec_prefix"
   12051   prefix="$acl_save_prefix"
   12052 
   12053 
   12054 # Check whether --with-libiconv-prefix was given.
   12055 if test "${with_libiconv_prefix+set}" = set; then :
   12056   withval=$with_libiconv_prefix;
   12057     if test "X$withval" = "Xno"; then
   12058       use_additional=no
   12059     else
   12060       if test "X$withval" = "X"; then
   12061 
   12062   acl_save_prefix="$prefix"
   12063   prefix="$acl_final_prefix"
   12064   acl_save_exec_prefix="$exec_prefix"
   12065   exec_prefix="$acl_final_exec_prefix"
   12066 
   12067           eval additional_includedir=\"$includedir\"
   12068           eval additional_libdir=\"$libdir\"
   12069 
   12070   exec_prefix="$acl_save_exec_prefix"
   12071   prefix="$acl_save_prefix"
   12072 
   12073       else
   12074         additional_includedir="$withval/include"
   12075         additional_libdir="$withval/$acl_libdirstem"
   12076       fi
   12077     fi
   12078 
   12079 fi
   12080 
   12081       LIBICONV=
   12082   LTLIBICONV=
   12083   INCICONV=
   12084   rpathdirs=
   12085   ltrpathdirs=
   12086   names_already_handled=
   12087   names_next_round='iconv '
   12088   while test -n "$names_next_round"; do
   12089     names_this_round="$names_next_round"
   12090     names_next_round=
   12091     for name in $names_this_round; do
   12092       already_handled=
   12093       for n in $names_already_handled; do
   12094         if test "$n" = "$name"; then
   12095           already_handled=yes
   12096           break
   12097         fi
   12098       done
   12099       if test -z "$already_handled"; then
   12100         names_already_handled="$names_already_handled $name"
   12101                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   12102         eval value=\"\$HAVE_LIB$uppername\"
   12103         if test -n "$value"; then
   12104           if test "$value" = yes; then
   12105             eval value=\"\$LIB$uppername\"
   12106             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   12107             eval value=\"\$LTLIB$uppername\"
   12108             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   12109           else
   12110                                     :
   12111           fi
   12112         else
   12113                               found_dir=
   12114           found_la=
   12115           found_so=
   12116           found_a=
   12117           if test $use_additional = yes; then
   12118             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   12119               found_dir="$additional_libdir"
   12120               found_so="$additional_libdir/lib$name.$shlibext"
   12121               if test -f "$additional_libdir/lib$name.la"; then
   12122                 found_la="$additional_libdir/lib$name.la"
   12123               fi
   12124             else
   12125               if test -f "$additional_libdir/lib$name.$libext"; then
   12126                 found_dir="$additional_libdir"
   12127                 found_a="$additional_libdir/lib$name.$libext"
   12128                 if test -f "$additional_libdir/lib$name.la"; then
   12129                   found_la="$additional_libdir/lib$name.la"
   12130                 fi
   12131               fi
   12132             fi
   12133           fi
   12134           if test "X$found_dir" = "X"; then
   12135             for x in $LDFLAGS $LTLIBICONV; do
   12136 
   12137   acl_save_prefix="$prefix"
   12138   prefix="$acl_final_prefix"
   12139   acl_save_exec_prefix="$exec_prefix"
   12140   exec_prefix="$acl_final_exec_prefix"
   12141   eval x=\"$x\"
   12142   exec_prefix="$acl_save_exec_prefix"
   12143   prefix="$acl_save_prefix"
   12144 
   12145               case "$x" in
   12146                 -L*)
   12147                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12148                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   12149                     found_dir="$dir"
   12150                     found_so="$dir/lib$name.$shlibext"
   12151                     if test -f "$dir/lib$name.la"; then
   12152                       found_la="$dir/lib$name.la"
   12153                     fi
   12154                   else
   12155                     if test -f "$dir/lib$name.$libext"; then
   12156                       found_dir="$dir"
   12157                       found_a="$dir/lib$name.$libext"
   12158                       if test -f "$dir/lib$name.la"; then
   12159                         found_la="$dir/lib$name.la"
   12160                       fi
   12161                     fi
   12162                   fi
   12163                   ;;
   12164               esac
   12165               if test "X$found_dir" != "X"; then
   12166                 break
   12167               fi
   12168             done
   12169           fi
   12170           if test "X$found_dir" != "X"; then
   12171                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   12172             if test "X$found_so" != "X"; then
   12173                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
   12174                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12175               else
   12176                                                                                 haveit=
   12177                 for x in $ltrpathdirs; do
   12178                   if test "X$x" = "X$found_dir"; then
   12179                     haveit=yes
   12180                     break
   12181                   fi
   12182                 done
   12183                 if test -z "$haveit"; then
   12184                   ltrpathdirs="$ltrpathdirs $found_dir"
   12185                 fi
   12186                                 if test "$hardcode_direct" = yes; then
   12187                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12188                 else
   12189                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   12190                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12191                                                             haveit=
   12192                     for x in $rpathdirs; do
   12193                       if test "X$x" = "X$found_dir"; then
   12194                         haveit=yes
   12195                         break
   12196                       fi
   12197                     done
   12198                     if test -z "$haveit"; then
   12199                       rpathdirs="$rpathdirs $found_dir"
   12200                     fi
   12201                   else
   12202                                                                                 haveit=
   12203                     for x in $LDFLAGS $LIBICONV; do
   12204 
   12205   acl_save_prefix="$prefix"
   12206   prefix="$acl_final_prefix"
   12207   acl_save_exec_prefix="$exec_prefix"
   12208   exec_prefix="$acl_final_exec_prefix"
   12209   eval x=\"$x\"
   12210   exec_prefix="$acl_save_exec_prefix"
   12211   prefix="$acl_save_prefix"
   12212 
   12213                       if test "X$x" = "X-L$found_dir"; then
   12214                         haveit=yes
   12215                         break
   12216                       fi
   12217                     done
   12218                     if test -z "$haveit"; then
   12219                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   12220                     fi
   12221                     if test "$hardcode_minus_L" != no; then
   12222                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12223                     else
   12224                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12225                     fi
   12226                   fi
   12227                 fi
   12228               fi
   12229             else
   12230               if test "X$found_a" != "X"; then
   12231                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   12232               else
   12233                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   12234               fi
   12235             fi
   12236                         additional_includedir=
   12237             case "$found_dir" in
   12238               */$acl_libdirstem | */$acl_libdirstem/)
   12239                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   12240                 additional_includedir="$basedir/include"
   12241                 ;;
   12242             esac
   12243             if test "X$additional_includedir" != "X"; then
   12244                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   12245                 haveit=
   12246                 if test "X$additional_includedir" = "X/usr/local/include"; then
   12247                   if test -n "$GCC"; then
   12248                     case $host_os in
   12249                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   12250                     esac
   12251                   fi
   12252                 fi
   12253                 if test -z "$haveit"; then
   12254                   for x in $CPPFLAGS $INCICONV; do
   12255 
   12256   acl_save_prefix="$prefix"
   12257   prefix="$acl_final_prefix"
   12258   acl_save_exec_prefix="$exec_prefix"
   12259   exec_prefix="$acl_final_exec_prefix"
   12260   eval x=\"$x\"
   12261   exec_prefix="$acl_save_exec_prefix"
   12262   prefix="$acl_save_prefix"
   12263 
   12264                     if test "X$x" = "X-I$additional_includedir"; then
   12265                       haveit=yes
   12266                       break
   12267                     fi
   12268                   done
   12269                   if test -z "$haveit"; then
   12270                     if test -d "$additional_includedir"; then
   12271                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   12272                     fi
   12273                   fi
   12274                 fi
   12275               fi
   12276             fi
   12277                         if test -n "$found_la"; then
   12278                                                         save_libdir="$libdir"
   12279               case "$found_la" in
   12280                 */* | *\\*) . "$found_la" ;;
   12281                 *) . "./$found_la" ;;
   12282               esac
   12283               libdir="$save_libdir"
   12284                             for dep in $dependency_libs; do
   12285                 case "$dep" in
   12286                   -L*)
   12287                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   12288                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
   12289                       haveit=
   12290                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
   12291                         if test -n "$GCC"; then
   12292                           case $host_os in
   12293                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   12294                           esac
   12295                         fi
   12296                       fi
   12297                       if test -z "$haveit"; then
   12298                         haveit=
   12299                         for x in $LDFLAGS $LIBICONV; do
   12300 
   12301   acl_save_prefix="$prefix"
   12302   prefix="$acl_final_prefix"
   12303   acl_save_exec_prefix="$exec_prefix"
   12304   exec_prefix="$acl_final_exec_prefix"
   12305   eval x=\"$x\"
   12306   exec_prefix="$acl_save_exec_prefix"
   12307   prefix="$acl_save_prefix"
   12308 
   12309                           if test "X$x" = "X-L$additional_libdir"; then
   12310                             haveit=yes
   12311                             break
   12312                           fi
   12313                         done
   12314                         if test -z "$haveit"; then
   12315                           if test -d "$additional_libdir"; then
   12316                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   12317                           fi
   12318                         fi
   12319                         haveit=
   12320                         for x in $LDFLAGS $LTLIBICONV; do
   12321 
   12322   acl_save_prefix="$prefix"
   12323   prefix="$acl_final_prefix"
   12324   acl_save_exec_prefix="$exec_prefix"
   12325   exec_prefix="$acl_final_exec_prefix"
   12326   eval x=\"$x\"
   12327   exec_prefix="$acl_save_exec_prefix"
   12328   prefix="$acl_save_prefix"
   12329 
   12330                           if test "X$x" = "X-L$additional_libdir"; then
   12331                             haveit=yes
   12332                             break
   12333                           fi
   12334                         done
   12335                         if test -z "$haveit"; then
   12336                           if test -d "$additional_libdir"; then
   12337                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   12338                           fi
   12339                         fi
   12340                       fi
   12341                     fi
   12342                     ;;
   12343                   -R*)
   12344                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   12345                     if test "$enable_rpath" != no; then
   12346                                                                   haveit=
   12347                       for x in $rpathdirs; do
   12348                         if test "X$x" = "X$dir"; then
   12349                           haveit=yes
   12350                           break
   12351                         fi
   12352                       done
   12353                       if test -z "$haveit"; then
   12354                         rpathdirs="$rpathdirs $dir"
   12355                       fi
   12356                                                                   haveit=
   12357                       for x in $ltrpathdirs; do
   12358                         if test "X$x" = "X$dir"; then
   12359                           haveit=yes
   12360                           break
   12361                         fi
   12362                       done
   12363                       if test -z "$haveit"; then
   12364                         ltrpathdirs="$ltrpathdirs $dir"
   12365                       fi
   12366                     fi
   12367                     ;;
   12368                   -l*)
   12369                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   12370                     ;;
   12371                   *.la)
   12372                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   12373                     ;;
   12374                   *)
   12375                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   12376                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   12377                     ;;
   12378                 esac
   12379               done
   12380             fi
   12381           else
   12382                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12383             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   12384           fi
   12385         fi
   12386       fi
   12387     done
   12388   done
   12389   if test "X$rpathdirs" != "X"; then
   12390     if test -n "$hardcode_libdir_separator"; then
   12391                         alldirs=
   12392       for found_dir in $rpathdirs; do
   12393         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   12394       done
   12395             acl_save_libdir="$libdir"
   12396       libdir="$alldirs"
   12397       eval flag=\"$hardcode_libdir_flag_spec\"
   12398       libdir="$acl_save_libdir"
   12399       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12400     else
   12401             for found_dir in $rpathdirs; do
   12402         acl_save_libdir="$libdir"
   12403         libdir="$found_dir"
   12404         eval flag=\"$hardcode_libdir_flag_spec\"
   12405         libdir="$acl_save_libdir"
   12406         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12407       done
   12408     fi
   12409   fi
   12410   if test "X$ltrpathdirs" != "X"; then
   12411             for found_dir in $ltrpathdirs; do
   12412       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   12413     done
   12414   fi
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   12434 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   12435 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   12436   $as_echo_n "(cached) " >&6
   12437 else
   12438   gt_save_LIBS="$LIBS"
   12439      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   12440      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12441 /* end confdefs.h.  */
   12442 #include <CoreFoundation/CFPreferences.h>
   12443 int
   12444 main ()
   12445 {
   12446 CFPreferencesCopyAppValue(NULL, NULL)
   12447   ;
   12448   return 0;
   12449 }
   12450 _ACEOF
   12451 if ac_fn_c_try_link "$LINENO"; then :
   12452   gt_cv_func_CFPreferencesCopyAppValue=yes
   12453 else
   12454   gt_cv_func_CFPreferencesCopyAppValue=no
   12455 fi
   12456 rm -f core conftest.err conftest.$ac_objext \
   12457     conftest$ac_exeext conftest.$ac_ext
   12458      LIBS="$gt_save_LIBS"
   12459 fi
   12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   12461 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   12462   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   12463 
   12464 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   12465 
   12466   fi
   12467     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
   12468 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
   12469 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
   12470   $as_echo_n "(cached) " >&6
   12471 else
   12472   gt_save_LIBS="$LIBS"
   12473      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   12474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12475 /* end confdefs.h.  */
   12476 #include <CoreFoundation/CFLocale.h>
   12477 int
   12478 main ()
   12479 {
   12480 CFLocaleCopyCurrent();
   12481   ;
   12482   return 0;
   12483 }
   12484 _ACEOF
   12485 if ac_fn_c_try_link "$LINENO"; then :
   12486   gt_cv_func_CFLocaleCopyCurrent=yes
   12487 else
   12488   gt_cv_func_CFLocaleCopyCurrent=no
   12489 fi
   12490 rm -f core conftest.err conftest.$ac_objext \
   12491     conftest$ac_exeext conftest.$ac_ext
   12492      LIBS="$gt_save_LIBS"
   12493 fi
   12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
   12495 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
   12496   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   12497 
   12498 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
   12499 
   12500   fi
   12501   INTL_MACOSX_LIBS=
   12502   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   12503     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   12504   fi
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511   LIBINTL=
   12512   LTLIBINTL=
   12513   POSUB=
   12514 
   12515     if test "$USE_NLS" = "yes"; then
   12516     gt_use_preinstalled_gnugettext=no
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   12524 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   12525 if ${gt_cv_func_gnugettext1_libc+:} false; then :
   12526   $as_echo_n "(cached) " >&6
   12527 else
   12528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12529 /* end confdefs.h.  */
   12530 #include <libintl.h>
   12531 extern int _nl_msg_cat_cntr;
   12532 extern int *_nl_domain_bindings;
   12533 int
   12534 main ()
   12535 {
   12536 bindtextdomain ("", "");
   12537 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   12538   ;
   12539   return 0;
   12540 }
   12541 _ACEOF
   12542 if ac_fn_c_try_link "$LINENO"; then :
   12543   gt_cv_func_gnugettext1_libc=yes
   12544 else
   12545   gt_cv_func_gnugettext1_libc=no
   12546 fi
   12547 rm -f core conftest.err conftest.$ac_objext \
   12548     conftest$ac_exeext conftest.$ac_ext
   12549 fi
   12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
   12551 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
   12552 
   12553         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   12554 
   12555 
   12556 
   12557 
   12558 
   12559           am_save_CPPFLAGS="$CPPFLAGS"
   12560 
   12561   for element in $INCICONV; do
   12562     haveit=
   12563     for x in $CPPFLAGS; do
   12564 
   12565   acl_save_prefix="$prefix"
   12566   prefix="$acl_final_prefix"
   12567   acl_save_exec_prefix="$exec_prefix"
   12568   exec_prefix="$acl_final_exec_prefix"
   12569   eval x=\"$x\"
   12570   exec_prefix="$acl_save_exec_prefix"
   12571   prefix="$acl_save_prefix"
   12572 
   12573       if test "X$x" = "X$element"; then
   12574         haveit=yes
   12575         break
   12576       fi
   12577     done
   12578     if test -z "$haveit"; then
   12579       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   12580     fi
   12581   done
   12582 
   12583 
   12584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   12585 $as_echo_n "checking for iconv... " >&6; }
   12586 if ${am_cv_func_iconv+:} false; then :
   12587   $as_echo_n "(cached) " >&6
   12588 else
   12589 
   12590     am_cv_func_iconv="no, consider installing GNU libiconv"
   12591     am_cv_lib_iconv=no
   12592     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12593 /* end confdefs.h.  */
   12594 #include <stdlib.h>
   12595 #include <iconv.h>
   12596 int
   12597 main ()
   12598 {
   12599 iconv_t cd = iconv_open("","");
   12600        iconv(cd,NULL,NULL,NULL,NULL);
   12601        iconv_close(cd);
   12602   ;
   12603   return 0;
   12604 }
   12605 _ACEOF
   12606 if ac_fn_c_try_link "$LINENO"; then :
   12607   am_cv_func_iconv=yes
   12608 fi
   12609 rm -f core conftest.err conftest.$ac_objext \
   12610     conftest$ac_exeext conftest.$ac_ext
   12611     if test "$am_cv_func_iconv" != yes; then
   12612       am_save_LIBS="$LIBS"
   12613       LIBS="$LIBS $LIBICONV"
   12614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12615 /* end confdefs.h.  */
   12616 #include <stdlib.h>
   12617 #include <iconv.h>
   12618 int
   12619 main ()
   12620 {
   12621 iconv_t cd = iconv_open("","");
   12622          iconv(cd,NULL,NULL,NULL,NULL);
   12623          iconv_close(cd);
   12624   ;
   12625   return 0;
   12626 }
   12627 _ACEOF
   12628 if ac_fn_c_try_link "$LINENO"; then :
   12629   am_cv_lib_iconv=yes
   12630         am_cv_func_iconv=yes
   12631 fi
   12632 rm -f core conftest.err conftest.$ac_objext \
   12633     conftest$ac_exeext conftest.$ac_ext
   12634       LIBS="$am_save_LIBS"
   12635     fi
   12636 
   12637 fi
   12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   12639 $as_echo "$am_cv_func_iconv" >&6; }
   12640   if test "$am_cv_func_iconv" = yes; then
   12641 
   12642 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   12643 
   12644   fi
   12645   if test "$am_cv_lib_iconv" = yes; then
   12646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   12647 $as_echo_n "checking how to link with libiconv... " >&6; }
   12648     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   12649 $as_echo "$LIBICONV" >&6; }
   12650   else
   12651             CPPFLAGS="$am_save_CPPFLAGS"
   12652     LIBICONV=
   12653     LTLIBICONV=
   12654   fi
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662     use_additional=yes
   12663 
   12664   acl_save_prefix="$prefix"
   12665   prefix="$acl_final_prefix"
   12666   acl_save_exec_prefix="$exec_prefix"
   12667   exec_prefix="$acl_final_exec_prefix"
   12668 
   12669     eval additional_includedir=\"$includedir\"
   12670     eval additional_libdir=\"$libdir\"
   12671 
   12672   exec_prefix="$acl_save_exec_prefix"
   12673   prefix="$acl_save_prefix"
   12674 
   12675 
   12676 # Check whether --with-libintl-prefix was given.
   12677 if test "${with_libintl_prefix+set}" = set; then :
   12678   withval=$with_libintl_prefix;
   12679     if test "X$withval" = "Xno"; then
   12680       use_additional=no
   12681     else
   12682       if test "X$withval" = "X"; then
   12683 
   12684   acl_save_prefix="$prefix"
   12685   prefix="$acl_final_prefix"
   12686   acl_save_exec_prefix="$exec_prefix"
   12687   exec_prefix="$acl_final_exec_prefix"
   12688 
   12689           eval additional_includedir=\"$includedir\"
   12690           eval additional_libdir=\"$libdir\"
   12691 
   12692   exec_prefix="$acl_save_exec_prefix"
   12693   prefix="$acl_save_prefix"
   12694 
   12695       else
   12696         additional_includedir="$withval/include"
   12697         additional_libdir="$withval/$acl_libdirstem"
   12698       fi
   12699     fi
   12700 
   12701 fi
   12702 
   12703       LIBINTL=
   12704   LTLIBINTL=
   12705   INCINTL=
   12706   rpathdirs=
   12707   ltrpathdirs=
   12708   names_already_handled=
   12709   names_next_round='intl '
   12710   while test -n "$names_next_round"; do
   12711     names_this_round="$names_next_round"
   12712     names_next_round=
   12713     for name in $names_this_round; do
   12714       already_handled=
   12715       for n in $names_already_handled; do
   12716         if test "$n" = "$name"; then
   12717           already_handled=yes
   12718           break
   12719         fi
   12720       done
   12721       if test -z "$already_handled"; then
   12722         names_already_handled="$names_already_handled $name"
   12723                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   12724         eval value=\"\$HAVE_LIB$uppername\"
   12725         if test -n "$value"; then
   12726           if test "$value" = yes; then
   12727             eval value=\"\$LIB$uppername\"
   12728             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   12729             eval value=\"\$LTLIB$uppername\"
   12730             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   12731           else
   12732                                     :
   12733           fi
   12734         else
   12735                               found_dir=
   12736           found_la=
   12737           found_so=
   12738           found_a=
   12739           if test $use_additional = yes; then
   12740             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   12741               found_dir="$additional_libdir"
   12742               found_so="$additional_libdir/lib$name.$shlibext"
   12743               if test -f "$additional_libdir/lib$name.la"; then
   12744                 found_la="$additional_libdir/lib$name.la"
   12745               fi
   12746             else
   12747               if test -f "$additional_libdir/lib$name.$libext"; then
   12748                 found_dir="$additional_libdir"
   12749                 found_a="$additional_libdir/lib$name.$libext"
   12750                 if test -f "$additional_libdir/lib$name.la"; then
   12751                   found_la="$additional_libdir/lib$name.la"
   12752                 fi
   12753               fi
   12754             fi
   12755           fi
   12756           if test "X$found_dir" = "X"; then
   12757             for x in $LDFLAGS $LTLIBINTL; do
   12758 
   12759   acl_save_prefix="$prefix"
   12760   prefix="$acl_final_prefix"
   12761   acl_save_exec_prefix="$exec_prefix"
   12762   exec_prefix="$acl_final_exec_prefix"
   12763   eval x=\"$x\"
   12764   exec_prefix="$acl_save_exec_prefix"
   12765   prefix="$acl_save_prefix"
   12766 
   12767               case "$x" in
   12768                 -L*)
   12769                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12770                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   12771                     found_dir="$dir"
   12772                     found_so="$dir/lib$name.$shlibext"
   12773                     if test -f "$dir/lib$name.la"; then
   12774                       found_la="$dir/lib$name.la"
   12775                     fi
   12776                   else
   12777                     if test -f "$dir/lib$name.$libext"; then
   12778                       found_dir="$dir"
   12779                       found_a="$dir/lib$name.$libext"
   12780                       if test -f "$dir/lib$name.la"; then
   12781                         found_la="$dir/lib$name.la"
   12782                       fi
   12783                     fi
   12784                   fi
   12785                   ;;
   12786               esac
   12787               if test "X$found_dir" != "X"; then
   12788                 break
   12789               fi
   12790             done
   12791           fi
   12792           if test "X$found_dir" != "X"; then
   12793                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   12794             if test "X$found_so" != "X"; then
   12795                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
   12796                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12797               else
   12798                                                                                 haveit=
   12799                 for x in $ltrpathdirs; do
   12800                   if test "X$x" = "X$found_dir"; then
   12801                     haveit=yes
   12802                     break
   12803                   fi
   12804                 done
   12805                 if test -z "$haveit"; then
   12806                   ltrpathdirs="$ltrpathdirs $found_dir"
   12807                 fi
   12808                                 if test "$hardcode_direct" = yes; then
   12809                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12810                 else
   12811                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   12812                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12813                                                             haveit=
   12814                     for x in $rpathdirs; do
   12815                       if test "X$x" = "X$found_dir"; then
   12816                         haveit=yes
   12817                         break
   12818                       fi
   12819                     done
   12820                     if test -z "$haveit"; then
   12821                       rpathdirs="$rpathdirs $found_dir"
   12822                     fi
   12823                   else
   12824                                                                                 haveit=
   12825                     for x in $LDFLAGS $LIBINTL; do
   12826 
   12827   acl_save_prefix="$prefix"
   12828   prefix="$acl_final_prefix"
   12829   acl_save_exec_prefix="$exec_prefix"
   12830   exec_prefix="$acl_final_exec_prefix"
   12831   eval x=\"$x\"
   12832   exec_prefix="$acl_save_exec_prefix"
   12833   prefix="$acl_save_prefix"
   12834 
   12835                       if test "X$x" = "X-L$found_dir"; then
   12836                         haveit=yes
   12837                         break
   12838                       fi
   12839                     done
   12840                     if test -z "$haveit"; then
   12841                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   12842                     fi
   12843                     if test "$hardcode_minus_L" != no; then
   12844                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12845                     else
   12846                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   12847                     fi
   12848                   fi
   12849                 fi
   12850               fi
   12851             else
   12852               if test "X$found_a" != "X"; then
   12853                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   12854               else
   12855                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   12856               fi
   12857             fi
   12858                         additional_includedir=
   12859             case "$found_dir" in
   12860               */$acl_libdirstem | */$acl_libdirstem/)
   12861                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   12862                 additional_includedir="$basedir/include"
   12863                 ;;
   12864             esac
   12865             if test "X$additional_includedir" != "X"; then
   12866                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   12867                 haveit=
   12868                 if test "X$additional_includedir" = "X/usr/local/include"; then
   12869                   if test -n "$GCC"; then
   12870                     case $host_os in
   12871                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   12872                     esac
   12873                   fi
   12874                 fi
   12875                 if test -z "$haveit"; then
   12876                   for x in $CPPFLAGS $INCINTL; do
   12877 
   12878   acl_save_prefix="$prefix"
   12879   prefix="$acl_final_prefix"
   12880   acl_save_exec_prefix="$exec_prefix"
   12881   exec_prefix="$acl_final_exec_prefix"
   12882   eval x=\"$x\"
   12883   exec_prefix="$acl_save_exec_prefix"
   12884   prefix="$acl_save_prefix"
   12885 
   12886                     if test "X$x" = "X-I$additional_includedir"; then
   12887                       haveit=yes
   12888                       break
   12889                     fi
   12890                   done
   12891                   if test -z "$haveit"; then
   12892                     if test -d "$additional_includedir"; then
   12893                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   12894                     fi
   12895                   fi
   12896                 fi
   12897               fi
   12898             fi
   12899                         if test -n "$found_la"; then
   12900                                                         save_libdir="$libdir"
   12901               case "$found_la" in
   12902                 */* | *\\*) . "$found_la" ;;
   12903                 *) . "./$found_la" ;;
   12904               esac
   12905               libdir="$save_libdir"
   12906                             for dep in $dependency_libs; do
   12907                 case "$dep" in
   12908                   -L*)
   12909                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   12910                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
   12911                       haveit=
   12912                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
   12913                         if test -n "$GCC"; then
   12914                           case $host_os in
   12915                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   12916                           esac
   12917                         fi
   12918                       fi
   12919                       if test -z "$haveit"; then
   12920                         haveit=
   12921                         for x in $LDFLAGS $LIBINTL; do
   12922 
   12923   acl_save_prefix="$prefix"
   12924   prefix="$acl_final_prefix"
   12925   acl_save_exec_prefix="$exec_prefix"
   12926   exec_prefix="$acl_final_exec_prefix"
   12927   eval x=\"$x\"
   12928   exec_prefix="$acl_save_exec_prefix"
   12929   prefix="$acl_save_prefix"
   12930 
   12931                           if test "X$x" = "X-L$additional_libdir"; then
   12932                             haveit=yes
   12933                             break
   12934                           fi
   12935                         done
   12936                         if test -z "$haveit"; then
   12937                           if test -d "$additional_libdir"; then
   12938                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   12939                           fi
   12940                         fi
   12941                         haveit=
   12942                         for x in $LDFLAGS $LTLIBINTL; do
   12943 
   12944   acl_save_prefix="$prefix"
   12945   prefix="$acl_final_prefix"
   12946   acl_save_exec_prefix="$exec_prefix"
   12947   exec_prefix="$acl_final_exec_prefix"
   12948   eval x=\"$x\"
   12949   exec_prefix="$acl_save_exec_prefix"
   12950   prefix="$acl_save_prefix"
   12951 
   12952                           if test "X$x" = "X-L$additional_libdir"; then
   12953                             haveit=yes
   12954                             break
   12955                           fi
   12956                         done
   12957                         if test -z "$haveit"; then
   12958                           if test -d "$additional_libdir"; then
   12959                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   12960                           fi
   12961                         fi
   12962                       fi
   12963                     fi
   12964                     ;;
   12965                   -R*)
   12966                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   12967                     if test "$enable_rpath" != no; then
   12968                                                                   haveit=
   12969                       for x in $rpathdirs; do
   12970                         if test "X$x" = "X$dir"; then
   12971                           haveit=yes
   12972                           break
   12973                         fi
   12974                       done
   12975                       if test -z "$haveit"; then
   12976                         rpathdirs="$rpathdirs $dir"
   12977                       fi
   12978                                                                   haveit=
   12979                       for x in $ltrpathdirs; do
   12980                         if test "X$x" = "X$dir"; then
   12981                           haveit=yes
   12982                           break
   12983                         fi
   12984                       done
   12985                       if test -z "$haveit"; then
   12986                         ltrpathdirs="$ltrpathdirs $dir"
   12987                       fi
   12988                     fi
   12989                     ;;
   12990                   -l*)
   12991                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   12992                     ;;
   12993                   *.la)
   12994                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   12995                     ;;
   12996                   *)
   12997                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   12998                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   12999                     ;;
   13000                 esac
   13001               done
   13002             fi
   13003           else
   13004                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   13005             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   13006           fi
   13007         fi
   13008       fi
   13009     done
   13010   done
   13011   if test "X$rpathdirs" != "X"; then
   13012     if test -n "$hardcode_libdir_separator"; then
   13013                         alldirs=
   13014       for found_dir in $rpathdirs; do
   13015         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   13016       done
   13017             acl_save_libdir="$libdir"
   13018       libdir="$alldirs"
   13019       eval flag=\"$hardcode_libdir_flag_spec\"
   13020       libdir="$acl_save_libdir"
   13021       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13022     else
   13023             for found_dir in $rpathdirs; do
   13024         acl_save_libdir="$libdir"
   13025         libdir="$found_dir"
   13026         eval flag=\"$hardcode_libdir_flag_spec\"
   13027         libdir="$acl_save_libdir"
   13028         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13029       done
   13030     fi
   13031   fi
   13032   if test "X$ltrpathdirs" != "X"; then
   13033             for found_dir in $ltrpathdirs; do
   13034       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   13035     done
   13036   fi
   13037 
   13038           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   13039 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   13040 if ${gt_cv_func_gnugettext1_libintl+:} false; then :
   13041   $as_echo_n "(cached) " >&6
   13042 else
   13043   gt_save_CPPFLAGS="$CPPFLAGS"
   13044             CPPFLAGS="$CPPFLAGS $INCINTL"
   13045             gt_save_LIBS="$LIBS"
   13046             LIBS="$LIBS $LIBINTL"
   13047                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13048 /* end confdefs.h.  */
   13049 #include <libintl.h>
   13050 extern int _nl_msg_cat_cntr;
   13051 extern
   13052 #ifdef __cplusplus
   13053 "C"
   13054 #endif
   13055 const char *_nl_expand_alias (const char *);
   13056 int
   13057 main ()
   13058 {
   13059 bindtextdomain ("", "");
   13060 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
   13061   ;
   13062   return 0;
   13063 }
   13064 _ACEOF
   13065 if ac_fn_c_try_link "$LINENO"; then :
   13066   gt_cv_func_gnugettext1_libintl=yes
   13067 else
   13068   gt_cv_func_gnugettext1_libintl=no
   13069 fi
   13070 rm -f core conftest.err conftest.$ac_objext \
   13071     conftest$ac_exeext conftest.$ac_ext
   13072                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   13073               LIBS="$LIBS $LIBICONV"
   13074               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13075 /* end confdefs.h.  */
   13076 #include <libintl.h>
   13077 extern int _nl_msg_cat_cntr;
   13078 extern
   13079 #ifdef __cplusplus
   13080 "C"
   13081 #endif
   13082 const char *_nl_expand_alias (const char *);
   13083 int
   13084 main ()
   13085 {
   13086 bindtextdomain ("", "");
   13087 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
   13088   ;
   13089   return 0;
   13090 }
   13091 _ACEOF
   13092 if ac_fn_c_try_link "$LINENO"; then :
   13093   LIBINTL="$LIBINTL $LIBICONV"
   13094                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   13095                 gt_cv_func_gnugettext1_libintl=yes
   13096 
   13097 fi
   13098 rm -f core conftest.err conftest.$ac_objext \
   13099     conftest$ac_exeext conftest.$ac_ext
   13100             fi
   13101             CPPFLAGS="$gt_save_CPPFLAGS"
   13102             LIBS="$gt_save_LIBS"
   13103 fi
   13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
   13105 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
   13106         fi
   13107 
   13108                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   13109            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   13110                 && test "$PACKAGE" != gettext-runtime \
   13111                 && test "$PACKAGE" != gettext-tools; }; then
   13112           gt_use_preinstalled_gnugettext=yes
   13113         else
   13114                     LIBINTL=
   13115           LTLIBINTL=
   13116           INCINTL=
   13117         fi
   13118 
   13119 
   13120 
   13121     if test -n "$INTL_MACOSX_LIBS"; then
   13122       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13123          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13124                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   13125         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   13126       fi
   13127     fi
   13128 
   13129     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13130        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13131 
   13132 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   13133 
   13134     else
   13135       USE_NLS=no
   13136     fi
   13137   fi
   13138 
   13139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   13140 $as_echo_n "checking whether to use NLS... " >&6; }
   13141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   13142 $as_echo "$USE_NLS" >&6; }
   13143   if test "$USE_NLS" = "yes"; then
   13144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   13145 $as_echo_n "checking where the gettext function comes from... " >&6; }
   13146     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13147       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13148         gt_source="external libintl"
   13149       else
   13150         gt_source="libc"
   13151       fi
   13152     else
   13153       gt_source="included intl directory"
   13154     fi
   13155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   13156 $as_echo "$gt_source" >&6; }
   13157   fi
   13158 
   13159   if test "$USE_NLS" = "yes"; then
   13160 
   13161     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13162       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13163         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   13164 $as_echo_n "checking how to link with libintl... " >&6; }
   13165         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   13166 $as_echo "$LIBINTL" >&6; }
   13167 
   13168   for element in $INCINTL; do
   13169     haveit=
   13170     for x in $CPPFLAGS; do
   13171 
   13172   acl_save_prefix="$prefix"
   13173   prefix="$acl_final_prefix"
   13174   acl_save_exec_prefix="$exec_prefix"
   13175   exec_prefix="$acl_final_exec_prefix"
   13176   eval x=\"$x\"
   13177   exec_prefix="$acl_save_exec_prefix"
   13178   prefix="$acl_save_prefix"
   13179 
   13180       if test "X$x" = "X$element"; then
   13181         haveit=yes
   13182         break
   13183       fi
   13184     done
   13185     if test -z "$haveit"; then
   13186       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13187     fi
   13188   done
   13189 
   13190       fi
   13191 
   13192 
   13193 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   13194 
   13195 
   13196 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   13197 
   13198     fi
   13199 
   13200         POSUB=po
   13201   fi
   13202 
   13203 
   13204 
   13205     INTLLIBS="$LIBINTL"
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 # Arch specific stuff
   13214 case $target in
   13215 	*ppc64* | *powerpc64* | *x86_64* | *s390x*)
   13216 		CFLAGS="$CFLAGS -m64"
   13217 		;;
   13218 	*)
   13219 		;;
   13220 esac
   13221 
   13222 
   13223 
   13224 # Non-standard OpenSSL location
   13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Non-standard OpenSSL location" >&5
   13226 $as_echo_n "checking Non-standard OpenSSL location... " >&6; }
   13227 
   13228 # Check whether --with-openssl was given.
   13229 if test "${with_openssl+set}" = set; then :
   13230   withval=$with_openssl; OPENSSL_INCLUDE_DIR="$withval/include"
   13231 	     OPENSSL_LIB_DIR="$withval/lib"
   13232 	    if test ! -d $OPENSSL_INCLUDE_DIR -o ! -d $OPENSSL_LIB_DIR; then
   13233 		    as_fn_error $? "$OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" "$LINENO" 5
   13234 	    else
   13235 		    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13236 $as_echo "yes" >&6; }
   13237 		    CFLAGS="$CFLAGS -L$OPENSSL_LIB_DIR -I$OPENSSL_INCLUDE_DIR"
   13238 
   13239 	    fi
   13240 else
   13241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13242 $as_echo "no" >&6; }
   13243 
   13244 fi
   13245 
   13246 
   13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_Context_Create in -ltspi" >&5
   13248 $as_echo_n "checking for Tspi_Context_Create in -ltspi... " >&6; }
   13249 if ${ac_cv_lib_tspi_Tspi_Context_Create+:} false; then :
   13250   $as_echo_n "(cached) " >&6
   13251 else
   13252   ac_check_lib_save_LIBS=$LIBS
   13253 LIBS="-ltspi  $LIBS"
   13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13255 /* end confdefs.h.  */
   13256 
   13257 /* Override any GCC internal prototype to avoid an error.
   13258    Use char because int might match the return type of a GCC
   13259    builtin and then its argument prototype would still apply.  */
   13260 #ifdef __cplusplus
   13261 extern "C"
   13262 #endif
   13263 char Tspi_Context_Create ();
   13264 int
   13265 main ()
   13266 {
   13267 return Tspi_Context_Create ();
   13268   ;
   13269   return 0;
   13270 }
   13271 _ACEOF
   13272 if ac_fn_c_try_link "$LINENO"; then :
   13273   ac_cv_lib_tspi_Tspi_Context_Create=yes
   13274 else
   13275   ac_cv_lib_tspi_Tspi_Context_Create=no
   13276 fi
   13277 rm -f core conftest.err conftest.$ac_objext \
   13278     conftest$ac_exeext conftest.$ac_ext
   13279 LIBS=$ac_check_lib_save_LIBS
   13280 fi
   13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_Context_Create" >&5
   13282 $as_echo "$ac_cv_lib_tspi_Tspi_Context_Create" >&6; }
   13283 if test "x$ac_cv_lib_tspi_Tspi_Context_Create" = xyes; then :
   13284   TSS_LIB="1"
   13285 else
   13286   as_fn_error $? "tss lib not found: libtspi.so" "$LINENO" 5
   13287 fi
   13288 
   13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_TPM_SetOperatorAuth in -ltspi" >&5
   13290 $as_echo_n "checking for Tspi_TPM_SetOperatorAuth in -ltspi... " >&6; }
   13291 if ${ac_cv_lib_tspi_Tspi_TPM_SetOperatorAuth+:} false; then :
   13292   $as_echo_n "(cached) " >&6
   13293 else
   13294   ac_check_lib_save_LIBS=$LIBS
   13295 LIBS="-ltspi  $LIBS"
   13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13297 /* end confdefs.h.  */
   13298 
   13299 /* Override any GCC internal prototype to avoid an error.
   13300    Use char because int might match the return type of a GCC
   13301    builtin and then its argument prototype would still apply.  */
   13302 #ifdef __cplusplus
   13303 extern "C"
   13304 #endif
   13305 char Tspi_TPM_SetOperatorAuth ();
   13306 int
   13307 main ()
   13308 {
   13309 return Tspi_TPM_SetOperatorAuth ();
   13310   ;
   13311   return 0;
   13312 }
   13313 _ACEOF
   13314 if ac_fn_c_try_link "$LINENO"; then :
   13315   ac_cv_lib_tspi_Tspi_TPM_SetOperatorAuth=yes
   13316 else
   13317   ac_cv_lib_tspi_Tspi_TPM_SetOperatorAuth=no
   13318 fi
   13319 rm -f core conftest.err conftest.$ac_objext \
   13320     conftest$ac_exeext conftest.$ac_ext
   13321 LIBS=$ac_check_lib_save_LIBS
   13322 fi
   13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_TPM_SetOperatorAuth" >&5
   13324 $as_echo "$ac_cv_lib_tspi_Tspi_TPM_SetOperatorAuth" >&6; }
   13325 if test "x$ac_cv_lib_tspi_Tspi_TPM_SetOperatorAuth" = xyes; then :
   13326   TSS_12="1"
   13327 else
   13328   TSS_12="0"
   13329 fi
   13330 
   13331 if test "$TSS_12" = "1"; then
   13332 	 if true; then
   13333   TSS_LIB_IS_12_TRUE=
   13334   TSS_LIB_IS_12_FALSE='#'
   13335 else
   13336   TSS_LIB_IS_12_TRUE='#'
   13337   TSS_LIB_IS_12_FALSE=
   13338 fi
   13339 
   13340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring tpm-tools for TSS 1.2" >&5
   13341 $as_echo "$as_me: Configuring tpm-tools for TSS 1.2" >&6;}
   13342 else
   13343 	 if false; then
   13344   TSS_LIB_IS_12_TRUE=
   13345   TSS_LIB_IS_12_FALSE='#'
   13346 else
   13347   TSS_LIB_IS_12_TRUE='#'
   13348   TSS_LIB_IS_12_FALSE=
   13349 fi
   13350 
   13351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring tpm-tools for TSS 1.1" >&5
   13352 $as_echo "$as_me: Configuring tpm-tools for TSS 1.1" >&6;}
   13353 fi
   13354 ac_fn_c_check_header_mongrel "$LINENO" "trousers/tss.h" "ac_cv_header_trousers_tss_h" "$ac_includes_default"
   13355 if test "x$ac_cv_header_trousers_tss_h" = xyes; then :
   13356   TSS_INC="1"
   13357 else
   13358   as_fn_error $? "tss header not found: trousers/tss.h" "$LINENO" 5
   13359 fi
   13360 
   13361 
   13362 
   13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PEM_read_X509 in -lcrypto" >&5
   13364 $as_echo_n "checking for PEM_read_X509 in -lcrypto... " >&6; }
   13365 if ${ac_cv_lib_crypto_PEM_read_X509+:} false; then :
   13366   $as_echo_n "(cached) " >&6
   13367 else
   13368   ac_check_lib_save_LIBS=$LIBS
   13369 LIBS="-lcrypto  $LIBS"
   13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13371 /* end confdefs.h.  */
   13372 
   13373 /* Override any GCC internal prototype to avoid an error.
   13374    Use char because int might match the return type of a GCC
   13375    builtin and then its argument prototype would still apply.  */
   13376 #ifdef __cplusplus
   13377 extern "C"
   13378 #endif
   13379 char PEM_read_X509 ();
   13380 int
   13381 main ()
   13382 {
   13383 return PEM_read_X509 ();
   13384   ;
   13385   return 0;
   13386 }
   13387 _ACEOF
   13388 if ac_fn_c_try_link "$LINENO"; then :
   13389   ac_cv_lib_crypto_PEM_read_X509=yes
   13390 else
   13391   ac_cv_lib_crypto_PEM_read_X509=no
   13392 fi
   13393 rm -f core conftest.err conftest.$ac_objext \
   13394     conftest$ac_exeext conftest.$ac_ext
   13395 LIBS=$ac_check_lib_save_LIBS
   13396 fi
   13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_PEM_read_X509" >&5
   13398 $as_echo "$ac_cv_lib_crypto_PEM_read_X509" >&6; }
   13399 if test "x$ac_cv_lib_crypto_PEM_read_X509" = xyes; then :
   13400   OPENSSL_LIB="1"
   13401 else
   13402   as_fn_error $? "openssl lib not found: libcrypto.so" "$LINENO" 5
   13403 fi
   13404 
   13405 ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
   13406 if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
   13407   OPENSSL_INC="1"
   13408 else
   13409   as_fn_error $? "openssl header not found: openssl/evp.h" "$LINENO" 5
   13410 fi
   13411 
   13412 
   13413 
   13414 OPENCRYPTOKI="0"
   13415 # Check whether --enable-pkcs11_support was given.
   13416 if test "${enable_pkcs11_support+set}" = set; then :
   13417   enableval=$enable_pkcs11_support; disable_pkcs11_support="yes"
   13418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Not building data_mgmt at user request ***" >&5
   13419 $as_echo "*** Not building data_mgmt at user request ***" >&6; }
   13420 fi
   13421 
   13422 
   13423 if test "x$disable_pkcs11_support" != "xyes"; then
   13424   ac_fn_c_check_header_mongrel "$LINENO" "opencryptoki/pkcs11.h" "ac_cv_header_opencryptoki_pkcs11_h" "$ac_includes_default"
   13425 if test "x$ac_cv_header_opencryptoki_pkcs11_h" = xyes; then :
   13426   OPENCRYPTOKI_INC="1"
   13427 else
   13428   OPENCRYPTOKI_INC="0"
   13429 fi
   13430 
   13431 
   13432   if test "$OPENCRYPTOKI_INC" = "1"; then
   13433     OPENCRYPTOKI="1"
   13434   fi
   13435 fi
   13436  if test "$OPENCRYPTOKI" = "1"; then
   13437   P11_SUPPORT_TRUE=
   13438   P11_SUPPORT_FALSE='#'
   13439 else
   13440   P11_SUPPORT_TRUE='#'
   13441   P11_SUPPORT_FALSE=
   13442 fi
   13443 
   13444 
   13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   13446 $as_echo_n "checking for ANSI C header files... " >&6; }
   13447 if ${ac_cv_header_stdc+:} false; then :
   13448   $as_echo_n "(cached) " >&6
   13449 else
   13450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13451 /* end confdefs.h.  */
   13452 #include <stdlib.h>
   13453 #include <stdarg.h>
   13454 #include <string.h>
   13455 #include <float.h>
   13456 
   13457 int
   13458 main ()
   13459 {
   13460 
   13461   ;
   13462   return 0;
   13463 }
   13464 _ACEOF
   13465 if ac_fn_c_try_compile "$LINENO"; then :
   13466   ac_cv_header_stdc=yes
   13467 else
   13468   ac_cv_header_stdc=no
   13469 fi
   13470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13471 
   13472 if test $ac_cv_header_stdc = yes; then
   13473   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13475 /* end confdefs.h.  */
   13476 #include <string.h>
   13477 
   13478 _ACEOF
   13479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13480   $EGREP "memchr" >/dev/null 2>&1; then :
   13481 
   13482 else
   13483   ac_cv_header_stdc=no
   13484 fi
   13485 rm -f conftest*
   13486 
   13487 fi
   13488 
   13489 if test $ac_cv_header_stdc = yes; then
   13490   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13492 /* end confdefs.h.  */
   13493 #include <stdlib.h>
   13494 
   13495 _ACEOF
   13496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13497   $EGREP "free" >/dev/null 2>&1; then :
   13498 
   13499 else
   13500   ac_cv_header_stdc=no
   13501 fi
   13502 rm -f conftest*
   13503 
   13504 fi
   13505 
   13506 if test $ac_cv_header_stdc = yes; then
   13507   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13508   if test "$cross_compiling" = yes; then :
   13509   :
   13510 else
   13511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13512 /* end confdefs.h.  */
   13513 #include <ctype.h>
   13514 #include <stdlib.h>
   13515 #if ((' ' & 0x0FF) == 0x020)
   13516 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13517 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13518 #else
   13519 # define ISLOWER(c) \
   13520 		   (('a' <= (c) && (c) <= 'i') \
   13521 		     || ('j' <= (c) && (c) <= 'r') \
   13522 		     || ('s' <= (c) && (c) <= 'z'))
   13523 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13524 #endif
   13525 
   13526 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13527 int
   13528 main ()
   13529 {
   13530   int i;
   13531   for (i = 0; i < 256; i++)
   13532     if (XOR (islower (i), ISLOWER (i))
   13533 	|| toupper (i) != TOUPPER (i))
   13534       return 2;
   13535   return 0;
   13536 }
   13537 _ACEOF
   13538 if ac_fn_c_try_run "$LINENO"; then :
   13539 
   13540 else
   13541   ac_cv_header_stdc=no
   13542 fi
   13543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13544   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13545 fi
   13546 
   13547 fi
   13548 fi
   13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   13550 $as_echo "$ac_cv_header_stdc" >&6; }
   13551 if test $ac_cv_header_stdc = yes; then
   13552 
   13553 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   13554 
   13555 fi
   13556 
   13557 
   13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   13559 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   13560 if ${ac_cv_c_const+:} false; then :
   13561   $as_echo_n "(cached) " >&6
   13562 else
   13563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13564 /* end confdefs.h.  */
   13565 
   13566 int
   13567 main ()
   13568 {
   13569 /* FIXME: Include the comments suggested by Paul. */
   13570 #ifndef __cplusplus
   13571   /* Ultrix mips cc rejects this.  */
   13572   typedef int charset[2];
   13573   const charset cs;
   13574   /* SunOS 4.1.1 cc rejects this.  */
   13575   char const *const *pcpcc;
   13576   char **ppc;
   13577   /* NEC SVR4.0.2 mips cc rejects this.  */
   13578   struct point {int x, y;};
   13579   static struct point const zero = {0,0};
   13580   /* AIX XL C 1.02.0.0 rejects this.
   13581      It does not let you subtract one const X* pointer from another in
   13582      an arm of an if-expression whose if-part is not a constant
   13583      expression */
   13584   const char *g = "string";
   13585   pcpcc = &g + (g ? g-g : 0);
   13586   /* HPUX 7.0 cc rejects these. */
   13587   ++pcpcc;
   13588   ppc = (char**) pcpcc;
   13589   pcpcc = (char const *const *) ppc;
   13590   { /* SCO 3.2v4 cc rejects this.  */
   13591     char *t;
   13592     char const *s = 0 ? (char *) 0 : (char const *) 0;
   13593 
   13594     *t++ = 0;
   13595     if (s) return 0;
   13596   }
   13597   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   13598     int x[] = {25, 17};
   13599     const int *foo = &x[0];
   13600     ++foo;
   13601   }
   13602   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   13603     typedef const int *iptr;
   13604     iptr p = 0;
   13605     ++p;
   13606   }
   13607   { /* AIX XL C 1.02.0.0 rejects this saying
   13608        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   13609     struct s { int j; const int *ap[3]; };
   13610     struct s *b; b->j = 5;
   13611   }
   13612   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   13613     const int foo = 10;
   13614     if (!foo) return 0;
   13615   }
   13616   return !cs[0] && !zero.x;
   13617 #endif
   13618 
   13619   ;
   13620   return 0;
   13621 }
   13622 _ACEOF
   13623 if ac_fn_c_try_compile "$LINENO"; then :
   13624   ac_cv_c_const=yes
   13625 else
   13626   ac_cv_c_const=no
   13627 fi
   13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13629 fi
   13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   13631 $as_echo "$ac_cv_c_const" >&6; }
   13632 if test $ac_cv_c_const = no; then
   13633 
   13634 $as_echo "#define const /**/" >>confdefs.h
   13635 
   13636 fi
   13637 
   13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   13639 $as_echo_n "checking for inline... " >&6; }
   13640 if ${ac_cv_c_inline+:} false; then :
   13641   $as_echo_n "(cached) " >&6
   13642 else
   13643   ac_cv_c_inline=no
   13644 for ac_kw in inline __inline__ __inline; do
   13645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13646 /* end confdefs.h.  */
   13647 #ifndef __cplusplus
   13648 typedef int foo_t;
   13649 static $ac_kw foo_t static_foo () {return 0; }
   13650 $ac_kw foo_t foo () {return 0; }
   13651 #endif
   13652 
   13653 _ACEOF
   13654 if ac_fn_c_try_compile "$LINENO"; then :
   13655   ac_cv_c_inline=$ac_kw
   13656 fi
   13657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13658   test "$ac_cv_c_inline" != no && break
   13659 done
   13660 
   13661 fi
   13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   13663 $as_echo "$ac_cv_c_inline" >&6; }
   13664 
   13665 case $ac_cv_c_inline in
   13666   inline | yes) ;;
   13667   *)
   13668     case $ac_cv_c_inline in
   13669       no) ac_val=;;
   13670       *) ac_val=$ac_cv_c_inline;;
   13671     esac
   13672     cat >>confdefs.h <<_ACEOF
   13673 #ifndef __cplusplus
   13674 #define inline $ac_val
   13675 #endif
   13676 _ACEOF
   13677     ;;
   13678 esac
   13679 
   13680 
   13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
   13682 $as_echo_n "checking for long file names... " >&6; }
   13683 if ${ac_cv_sys_long_file_names+:} false; then :
   13684   $as_echo_n "(cached) " >&6
   13685 else
   13686   ac_cv_sys_long_file_names=yes
   13687 # Test for long file names in all the places we know might matter:
   13688 #      .		the current directory, where building will happen
   13689 #      $prefix/lib	where we will be installing things
   13690 #      $exec_prefix/lib	likewise
   13691 #      $TMPDIR		if set, where it might want to write temporary files
   13692 #      /tmp		where it might want to write temporary files
   13693 #      /var/tmp		likewise
   13694 #      /usr/tmp		likewise
   13695 for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do
   13696   # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib
   13697   # in the usual case where exec_prefix is '${prefix}'.
   13698   case $ac_dir in #(
   13699     . | /* | ?:[\\/]*) ;; #(
   13700     *) continue;;
   13701   esac
   13702   test -w "$ac_dir/." || continue # It is less confusing to not echo anything here.
   13703   ac_xdir=$ac_dir/cf$$
   13704   (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue
   13705   ac_tf1=$ac_xdir/conftest9012345
   13706   ac_tf2=$ac_xdir/conftest9012346
   13707   touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" ||
   13708     ac_cv_sys_long_file_names=no
   13709   rm -f -r "$ac_xdir" 2>/dev/null
   13710   test $ac_cv_sys_long_file_names = no && break
   13711 done
   13712 fi
   13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5
   13714 $as_echo "$ac_cv_sys_long_file_names" >&6; }
   13715 if test $ac_cv_sys_long_file_names = yes; then
   13716 
   13717 $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h
   13718 
   13719 fi
   13720 
   13721 
   13722 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
   13723 if test "x$ac_cv_type_mode_t" = xyes; then :
   13724 
   13725 else
   13726 
   13727 cat >>confdefs.h <<_ACEOF
   13728 #define mode_t int
   13729 _ACEOF
   13730 
   13731 fi
   13732 
   13733 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   13734 if test "x$ac_cv_type_off_t" = xyes; then :
   13735 
   13736 else
   13737 
   13738 cat >>confdefs.h <<_ACEOF
   13739 #define off_t long int
   13740 _ACEOF
   13741 
   13742 fi
   13743 
   13744 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   13745 if test "x$ac_cv_type_pid_t" = xyes; then :
   13746 
   13747 else
   13748 
   13749 cat >>confdefs.h <<_ACEOF
   13750 #define pid_t int
   13751 _ACEOF
   13752 
   13753 fi
   13754 
   13755 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   13756 if test "x$ac_cv_type_size_t" = xyes; then :
   13757 
   13758 else
   13759 
   13760 cat >>confdefs.h <<_ACEOF
   13761 #define size_t unsigned int
   13762 _ACEOF
   13763 
   13764 fi
   13765 
   13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   13767 $as_echo_n "checking return type of signal handlers... " >&6; }
   13768 if ${ac_cv_type_signal+:} false; then :
   13769   $as_echo_n "(cached) " >&6
   13770 else
   13771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13772 /* end confdefs.h.  */
   13773 #include <sys/types.h>
   13774 #include <signal.h>
   13775 
   13776 int
   13777 main ()
   13778 {
   13779 return *(signal (0, 0)) (0) == 1;
   13780   ;
   13781   return 0;
   13782 }
   13783 _ACEOF
   13784 if ac_fn_c_try_compile "$LINENO"; then :
   13785   ac_cv_type_signal=int
   13786 else
   13787   ac_cv_type_signal=void
   13788 fi
   13789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13790 fi
   13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   13792 $as_echo "$ac_cv_type_signal" >&6; }
   13793 
   13794 cat >>confdefs.h <<_ACEOF
   13795 #define RETSIGTYPE $ac_cv_type_signal
   13796 _ACEOF
   13797 
   13798 
   13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
   13800 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
   13801 if ${ac_cv_type_uid_t+:} false; then :
   13802   $as_echo_n "(cached) " >&6
   13803 else
   13804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13805 /* end confdefs.h.  */
   13806 #include <sys/types.h>
   13807 
   13808 _ACEOF
   13809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13810   $EGREP "uid_t" >/dev/null 2>&1; then :
   13811   ac_cv_type_uid_t=yes
   13812 else
   13813   ac_cv_type_uid_t=no
   13814 fi
   13815 rm -f conftest*
   13816 
   13817 fi
   13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
   13819 $as_echo "$ac_cv_type_uid_t" >&6; }
   13820 if test $ac_cv_type_uid_t = no; then
   13821 
   13822 $as_echo "#define uid_t int" >>confdefs.h
   13823 
   13824 
   13825 $as_echo "#define gid_t int" >>confdefs.h
   13826 
   13827 fi
   13828 
   13829 
   13830 CFLAGS="$CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare"
   13831 
   13832 ac_config_files="$ac_config_files ./Makefile po/Makefile.in m4/Makefile include/Makefile lib/Makefile src/Makefile src/tpm_mgmt/Makefile src/cmds/Makefile src/data_mgmt/Makefile dist/tpm-tools.spec man/Makefile man/man1/Makefile man/man3/Makefile man/man8/Makefile"
   13833 
   13834 cat >confcache <<\_ACEOF
   13835 # This file is a shell script that caches the results of configure
   13836 # tests run on this system so they can be shared between configure
   13837 # scripts and configure runs, see configure's option --config-cache.
   13838 # It is not useful on other systems.  If it contains results you don't
   13839 # want to keep, you may remove or edit it.
   13840 #
   13841 # config.status only pays attention to the cache file if you give it
   13842 # the --recheck option to rerun configure.
   13843 #
   13844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13846 # following values.
   13847 
   13848 _ACEOF
   13849 
   13850 # The following way of writing the cache mishandles newlines in values,
   13851 # but we know of no workaround that is simple, portable, and efficient.
   13852 # So, we kill variables containing newlines.
   13853 # Ultrix sh set writes to stderr and can't be redirected directly,
   13854 # and sets the high bit in the cache file unless we assign to the vars.
   13855 (
   13856   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13857     eval ac_val=\$$ac_var
   13858     case $ac_val in #(
   13859     *${as_nl}*)
   13860       case $ac_var in #(
   13861       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   13862 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13863       esac
   13864       case $ac_var in #(
   13865       _ | IFS | as_nl) ;; #(
   13866       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13867       *) { eval $ac_var=; unset $ac_var;} ;;
   13868       esac ;;
   13869     esac
   13870   done
   13871 
   13872   (set) 2>&1 |
   13873     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13874     *${as_nl}ac_space=\ *)
   13875       # `set' does not quote correctly, so add quotes: double-quote
   13876       # substitution turns \\\\ into \\, and sed turns \\ into \.
   13877       sed -n \
   13878 	"s/'/'\\\\''/g;
   13879 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13880       ;; #(
   13881     *)
   13882       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13883       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13884       ;;
   13885     esac |
   13886     sort
   13887 ) |
   13888   sed '
   13889      /^ac_cv_env_/b end
   13890      t clear
   13891      :clear
   13892      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13893      t end
   13894      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13895      :end' >>confcache
   13896 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13897   if test -w "$cache_file"; then
   13898     if test "x$cache_file" != "x/dev/null"; then
   13899       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   13900 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13901       if test ! -f "$cache_file" || test -h "$cache_file"; then
   13902 	cat confcache >"$cache_file"
   13903       else
   13904         case $cache_file in #(
   13905         */* | ?:*)
   13906 	  mv -f confcache "$cache_file"$$ &&
   13907 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   13908         *)
   13909 	  mv -f confcache "$cache_file" ;;
   13910 	esac
   13911       fi
   13912     fi
   13913   else
   13914     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   13915 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13916   fi
   13917 fi
   13918 rm -f confcache
   13919 
   13920 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13921 # Let make expand exec_prefix.
   13922 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13923 
   13924 DEFS=-DHAVE_CONFIG_H
   13925 
   13926 ac_libobjs=
   13927 ac_ltlibobjs=
   13928 U=
   13929 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13930   # 1. Remove the extension, and $U if already installed.
   13931   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13932   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13933   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13934   #    will be set to the directory where LIBOBJS objects are built.
   13935   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13936   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   13937 done
   13938 LIBOBJS=$ac_libobjs
   13939 
   13940 LTLIBOBJS=$ac_ltlibobjs
   13941 
   13942 
   13943  if test -n "$EXEEXT"; then
   13944   am__EXEEXT_TRUE=
   13945   am__EXEEXT_FALSE='#'
   13946 else
   13947   am__EXEEXT_TRUE='#'
   13948   am__EXEEXT_FALSE=
   13949 fi
   13950 
   13951 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13952   as_fn_error $? "conditional \"AMDEP\" was never defined.
   13953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13954 fi
   13955 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13956   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   13957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13958 fi
   13959 if test -z "${TSS_LIB_IS_12_TRUE}" && test -z "${TSS_LIB_IS_12_FALSE}"; then
   13960   as_fn_error $? "conditional \"TSS_LIB_IS_12\" was never defined.
   13961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13962 fi
   13963 if test -z "${TSS_LIB_IS_12_TRUE}" && test -z "${TSS_LIB_IS_12_FALSE}"; then
   13964   as_fn_error $? "conditional \"TSS_LIB_IS_12\" was never defined.
   13965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13966 fi
   13967 if test -z "${P11_SUPPORT_TRUE}" && test -z "${P11_SUPPORT_FALSE}"; then
   13968   as_fn_error $? "conditional \"P11_SUPPORT\" was never defined.
   13969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13970 fi
   13971 
   13972 : "${CONFIG_STATUS=./config.status}"
   13973 ac_write_fail=0
   13974 ac_clean_files_save=$ac_clean_files
   13975 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   13977 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13978 as_write_fail=0
   13979 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   13980 #! $SHELL
   13981 # Generated by $as_me.
   13982 # Run this file to recreate the current configuration.
   13983 # Compiler output produced by configure, useful for debugging
   13984 # configure, is in config.log if it exists.
   13985 
   13986 debug=false
   13987 ac_cs_recheck=false
   13988 ac_cs_silent=false
   13989 
   13990 SHELL=\${CONFIG_SHELL-$SHELL}
   13991 export SHELL
   13992 _ASEOF
   13993 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   13994 ## -------------------- ##
   13995 ## M4sh Initialization. ##
   13996 ## -------------------- ##
   13997 
   13998 # Be more Bourne compatible
   13999 DUALCASE=1; export DUALCASE # for MKS sh
   14000 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14001   emulate sh
   14002   NULLCMD=:
   14003   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14004   # is contrary to our usage.  Disable this feature.
   14005   alias -g '${1+"$@"}'='"$@"'
   14006   setopt NO_GLOB_SUBST
   14007 else
   14008   case `(set -o) 2>/dev/null` in #(
   14009   *posix*) :
   14010     set -o posix ;; #(
   14011   *) :
   14012      ;;
   14013 esac
   14014 fi
   14015 
   14016 
   14017 as_nl='
   14018 '
   14019 export as_nl
   14020 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14021 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14024 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14025 # but without wasting forks for bash or zsh.
   14026 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14027     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14028   as_echo='print -r --'
   14029   as_echo_n='print -rn --'
   14030 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14031   as_echo='printf %s\n'
   14032   as_echo_n='printf %s'
   14033 else
   14034   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14035     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14036     as_echo_n='/usr/ucb/echo -n'
   14037   else
   14038     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14039     as_echo_n_body='eval
   14040       arg=$1;
   14041       case $arg in #(
   14042       *"$as_nl"*)
   14043 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14044 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14045       esac;
   14046       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14047     '
   14048     export as_echo_n_body
   14049     as_echo_n='sh -c $as_echo_n_body as_echo'
   14050   fi
   14051   export as_echo_body
   14052   as_echo='sh -c $as_echo_body as_echo'
   14053 fi
   14054 
   14055 # The user is always right.
   14056 if test "${PATH_SEPARATOR+set}" != set; then
   14057   PATH_SEPARATOR=:
   14058   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14059     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14060       PATH_SEPARATOR=';'
   14061   }
   14062 fi
   14063 
   14064 
   14065 # IFS
   14066 # We need space, tab and new line, in precisely that order.  Quoting is
   14067 # there to prevent editors from complaining about space-tab.
   14068 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14069 # splitting by setting IFS to empty value.)
   14070 IFS=" ""	$as_nl"
   14071 
   14072 # Find who we are.  Look in the path if we contain no directory separator.
   14073 as_myself=
   14074 case $0 in #((
   14075   *[\\/]* ) as_myself=$0 ;;
   14076   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14077 for as_dir in $PATH
   14078 do
   14079   IFS=$as_save_IFS
   14080   test -z "$as_dir" && as_dir=.
   14081     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14082   done
   14083 IFS=$as_save_IFS
   14084 
   14085      ;;
   14086 esac
   14087 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14088 # in which case we are not to be found in the path.
   14089 if test "x$as_myself" = x; then
   14090   as_myself=$0
   14091 fi
   14092 if test ! -f "$as_myself"; then
   14093   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14094   exit 1
   14095 fi
   14096 
   14097 # Unset variables that we do not need and which cause bugs (e.g. in
   14098 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14099 # suppresses any "Segmentation fault" message there.  '((' could
   14100 # trigger a bug in pdksh 5.2.14.
   14101 for as_var in BASH_ENV ENV MAIL MAILPATH
   14102 do eval test x\${$as_var+set} = xset \
   14103   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14104 done
   14105 PS1='$ '
   14106 PS2='> '
   14107 PS4='+ '
   14108 
   14109 # NLS nuisances.
   14110 LC_ALL=C
   14111 export LC_ALL
   14112 LANGUAGE=C
   14113 export LANGUAGE
   14114 
   14115 # CDPATH.
   14116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14117 
   14118 
   14119 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14120 # ----------------------------------------
   14121 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14122 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14123 # script with STATUS, using 1 if that was 0.
   14124 as_fn_error ()
   14125 {
   14126   as_status=$1; test $as_status -eq 0 && as_status=1
   14127   if test "$4"; then
   14128     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14129     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14130   fi
   14131   $as_echo "$as_me: error: $2" >&2
   14132   as_fn_exit $as_status
   14133 } # as_fn_error
   14134 
   14135 
   14136 # as_fn_set_status STATUS
   14137 # -----------------------
   14138 # Set $? to STATUS, without forking.
   14139 as_fn_set_status ()
   14140 {
   14141   return $1
   14142 } # as_fn_set_status
   14143 
   14144 # as_fn_exit STATUS
   14145 # -----------------
   14146 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14147 as_fn_exit ()
   14148 {
   14149   set +e
   14150   as_fn_set_status $1
   14151   exit $1
   14152 } # as_fn_exit
   14153 
   14154 # as_fn_unset VAR
   14155 # ---------------
   14156 # Portably unset VAR.
   14157 as_fn_unset ()
   14158 {
   14159   { eval $1=; unset $1;}
   14160 }
   14161 as_unset=as_fn_unset
   14162 # as_fn_append VAR VALUE
   14163 # ----------------------
   14164 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14165 # advantage of any shell optimizations that allow amortized linear growth over
   14166 # repeated appends, instead of the typical quadratic growth present in naive
   14167 # implementations.
   14168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14169   eval 'as_fn_append ()
   14170   {
   14171     eval $1+=\$2
   14172   }'
   14173 else
   14174   as_fn_append ()
   14175   {
   14176     eval $1=\$$1\$2
   14177   }
   14178 fi # as_fn_append
   14179 
   14180 # as_fn_arith ARG...
   14181 # ------------------
   14182 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14184 # must be portable across $(()) and expr.
   14185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14186   eval 'as_fn_arith ()
   14187   {
   14188     as_val=$(( $* ))
   14189   }'
   14190 else
   14191   as_fn_arith ()
   14192   {
   14193     as_val=`expr "$@" || test $? -eq 1`
   14194   }
   14195 fi # as_fn_arith
   14196 
   14197 
   14198 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14199    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14200   as_expr=expr
   14201 else
   14202   as_expr=false
   14203 fi
   14204 
   14205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14206   as_basename=basename
   14207 else
   14208   as_basename=false
   14209 fi
   14210 
   14211 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14212   as_dirname=dirname
   14213 else
   14214   as_dirname=false
   14215 fi
   14216 
   14217 as_me=`$as_basename -- "$0" ||
   14218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14219 	 X"$0" : 'X\(//\)$' \| \
   14220 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14221 $as_echo X/"$0" |
   14222     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14223 	    s//\1/
   14224 	    q
   14225 	  }
   14226 	  /^X\/\(\/\/\)$/{
   14227 	    s//\1/
   14228 	    q
   14229 	  }
   14230 	  /^X\/\(\/\).*/{
   14231 	    s//\1/
   14232 	    q
   14233 	  }
   14234 	  s/.*/./; q'`
   14235 
   14236 # Avoid depending upon Character Ranges.
   14237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14240 as_cr_digits='0123456789'
   14241 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14242 
   14243 ECHO_C= ECHO_N= ECHO_T=
   14244 case `echo -n x` in #(((((
   14245 -n*)
   14246   case `echo 'xy\c'` in
   14247   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14248   xy)  ECHO_C='\c';;
   14249   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14250        ECHO_T='	';;
   14251   esac;;
   14252 *)
   14253   ECHO_N='-n';;
   14254 esac
   14255 
   14256 rm -f conf$$ conf$$.exe conf$$.file
   14257 if test -d conf$$.dir; then
   14258   rm -f conf$$.dir/conf$$.file
   14259 else
   14260   rm -f conf$$.dir
   14261   mkdir conf$$.dir 2>/dev/null
   14262 fi
   14263 if (echo >conf$$.file) 2>/dev/null; then
   14264   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14265     as_ln_s='ln -s'
   14266     # ... but there are two gotchas:
   14267     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14268     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14269     # In both cases, we have to default to `cp -p'.
   14270     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14271       as_ln_s='cp -p'
   14272   elif ln conf$$.file conf$$ 2>/dev/null; then
   14273     as_ln_s=ln
   14274   else
   14275     as_ln_s='cp -p'
   14276   fi
   14277 else
   14278   as_ln_s='cp -p'
   14279 fi
   14280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14281 rmdir conf$$.dir 2>/dev/null
   14282 
   14283 
   14284 # as_fn_mkdir_p
   14285 # -------------
   14286 # Create "$as_dir" as a directory, including parents if necessary.
   14287 as_fn_mkdir_p ()
   14288 {
   14289 
   14290   case $as_dir in #(
   14291   -*) as_dir=./$as_dir;;
   14292   esac
   14293   test -d "$as_dir" || eval $as_mkdir_p || {
   14294     as_dirs=
   14295     while :; do
   14296       case $as_dir in #(
   14297       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14298       *) as_qdir=$as_dir;;
   14299       esac
   14300       as_dirs="'$as_qdir' $as_dirs"
   14301       as_dir=`$as_dirname -- "$as_dir" ||
   14302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14303 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14304 	 X"$as_dir" : 'X\(//\)$' \| \
   14305 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14306 $as_echo X"$as_dir" |
   14307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14308 	    s//\1/
   14309 	    q
   14310 	  }
   14311 	  /^X\(\/\/\)[^/].*/{
   14312 	    s//\1/
   14313 	    q
   14314 	  }
   14315 	  /^X\(\/\/\)$/{
   14316 	    s//\1/
   14317 	    q
   14318 	  }
   14319 	  /^X\(\/\).*/{
   14320 	    s//\1/
   14321 	    q
   14322 	  }
   14323 	  s/.*/./; q'`
   14324       test -d "$as_dir" && break
   14325     done
   14326     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14327   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14328 
   14329 
   14330 } # as_fn_mkdir_p
   14331 if mkdir -p . 2>/dev/null; then
   14332   as_mkdir_p='mkdir -p "$as_dir"'
   14333 else
   14334   test -d ./-p && rmdir ./-p
   14335   as_mkdir_p=false
   14336 fi
   14337 
   14338 if test -x / >/dev/null 2>&1; then
   14339   as_test_x='test -x'
   14340 else
   14341   if ls -dL / >/dev/null 2>&1; then
   14342     as_ls_L_option=L
   14343   else
   14344     as_ls_L_option=
   14345   fi
   14346   as_test_x='
   14347     eval sh -c '\''
   14348       if test -d "$1"; then
   14349 	test -d "$1/.";
   14350       else
   14351 	case $1 in #(
   14352 	-*)set "./$1";;
   14353 	esac;
   14354 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   14355 	???[sx]*):;;*)false;;esac;fi
   14356     '\'' sh
   14357   '
   14358 fi
   14359 as_executable_p=$as_test_x
   14360 
   14361 # Sed expression to map a string onto a valid CPP name.
   14362 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14363 
   14364 # Sed expression to map a string onto a valid variable name.
   14365 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14366 
   14367 
   14368 exec 6>&1
   14369 ## ----------------------------------- ##
   14370 ## Main body of $CONFIG_STATUS script. ##
   14371 ## ----------------------------------- ##
   14372 _ASEOF
   14373 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   14374 
   14375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14376 # Save the log message, to keep $0 and so on meaningful, and to
   14377 # report actual input values of CONFIG_FILES etc. instead of their
   14378 # values after options handling.
   14379 ac_log="
   14380 This file was extended by tpm-tools $as_me 1.3.7, which was
   14381 generated by GNU Autoconf 2.68.  Invocation command line was
   14382 
   14383   CONFIG_FILES    = $CONFIG_FILES
   14384   CONFIG_HEADERS  = $CONFIG_HEADERS
   14385   CONFIG_LINKS    = $CONFIG_LINKS
   14386   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14387   $ $0 $@
   14388 
   14389 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14390 "
   14391 
   14392 _ACEOF
   14393 
   14394 case $ac_config_files in *"
   14395 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14396 esac
   14397 
   14398 case $ac_config_headers in *"
   14399 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14400 esac
   14401 
   14402 
   14403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14404 # Files that config.status was made for.
   14405 config_files="$ac_config_files"
   14406 config_headers="$ac_config_headers"
   14407 config_commands="$ac_config_commands"
   14408 
   14409 _ACEOF
   14410 
   14411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14412 ac_cs_usage="\
   14413 \`$as_me' instantiates files and other configuration actions
   14414 from templates according to the current configuration.  Unless the files
   14415 and actions are specified as TAGs, all are instantiated by default.
   14416 
   14417 Usage: $0 [OPTION]... [TAG]...
   14418 
   14419   -h, --help       print this help, then exit
   14420   -V, --version    print version number and configuration settings, then exit
   14421       --config     print configuration, then exit
   14422   -q, --quiet, --silent
   14423                    do not print progress messages
   14424   -d, --debug      don't remove temporary files
   14425       --recheck    update $as_me by reconfiguring in the same conditions
   14426       --file=FILE[:TEMPLATE]
   14427                    instantiate the configuration file FILE
   14428       --header=FILE[:TEMPLATE]
   14429                    instantiate the configuration header FILE
   14430 
   14431 Configuration files:
   14432 $config_files
   14433 
   14434 Configuration headers:
   14435 $config_headers
   14436 
   14437 Configuration commands:
   14438 $config_commands
   14439 
   14440 Report bugs to <trousers-tech (at] lists.sf.net>."
   14441 
   14442 _ACEOF
   14443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14444 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   14445 ac_cs_version="\\
   14446 tpm-tools config.status 1.3.7
   14447 configured by $0, generated by GNU Autoconf 2.68,
   14448   with options \\"\$ac_cs_config\\"
   14449 
   14450 Copyright (C) 2010 Free Software Foundation, Inc.
   14451 This config.status script is free software; the Free Software Foundation
   14452 gives unlimited permission to copy, distribute and modify it."
   14453 
   14454 ac_pwd='$ac_pwd'
   14455 srcdir='$srcdir'
   14456 INSTALL='$INSTALL'
   14457 MKDIR_P='$MKDIR_P'
   14458 AWK='$AWK'
   14459 test -n "\$AWK" || AWK=awk
   14460 _ACEOF
   14461 
   14462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14463 # The default lists apply if the user does not specify any file.
   14464 ac_need_defaults=:
   14465 while test $# != 0
   14466 do
   14467   case $1 in
   14468   --*=?*)
   14469     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14470     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14471     ac_shift=:
   14472     ;;
   14473   --*=)
   14474     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14475     ac_optarg=
   14476     ac_shift=:
   14477     ;;
   14478   *)
   14479     ac_option=$1
   14480     ac_optarg=$2
   14481     ac_shift=shift
   14482     ;;
   14483   esac
   14484 
   14485   case $ac_option in
   14486   # Handling of the options.
   14487   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14488     ac_cs_recheck=: ;;
   14489   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14490     $as_echo "$ac_cs_version"; exit ;;
   14491   --config | --confi | --conf | --con | --co | --c )
   14492     $as_echo "$ac_cs_config"; exit ;;
   14493   --debug | --debu | --deb | --de | --d | -d )
   14494     debug=: ;;
   14495   --file | --fil | --fi | --f )
   14496     $ac_shift
   14497     case $ac_optarg in
   14498     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14499     '') as_fn_error $? "missing file argument" ;;
   14500     esac
   14501     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14502     ac_need_defaults=false;;
   14503   --header | --heade | --head | --hea )
   14504     $ac_shift
   14505     case $ac_optarg in
   14506     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14507     esac
   14508     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   14509     ac_need_defaults=false;;
   14510   --he | --h)
   14511     # Conflict between --help and --header
   14512     as_fn_error $? "ambiguous option: \`$1'
   14513 Try \`$0 --help' for more information.";;
   14514   --help | --hel | -h )
   14515     $as_echo "$ac_cs_usage"; exit ;;
   14516   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14517   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14518     ac_cs_silent=: ;;
   14519 
   14520   # This is an error.
   14521   -*) as_fn_error $? "unrecognized option: \`$1'
   14522 Try \`$0 --help' for more information." ;;
   14523 
   14524   *) as_fn_append ac_config_targets " $1"
   14525      ac_need_defaults=false ;;
   14526 
   14527   esac
   14528   shift
   14529 done
   14530 
   14531 ac_configure_extra_args=
   14532 
   14533 if $ac_cs_silent; then
   14534   exec 6>/dev/null
   14535   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14536 fi
   14537 
   14538 _ACEOF
   14539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14540 if \$ac_cs_recheck; then
   14541   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14542   shift
   14543   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14544   CONFIG_SHELL='$SHELL'
   14545   export CONFIG_SHELL
   14546   exec "\$@"
   14547 fi
   14548 
   14549 _ACEOF
   14550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14551 exec 5>>config.log
   14552 {
   14553   echo
   14554   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14555 ## Running $as_me. ##
   14556 _ASBOX
   14557   $as_echo "$ac_log"
   14558 } >&5
   14559 
   14560 _ACEOF
   14561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14562 #
   14563 # INIT-COMMANDS
   14564 #
   14565 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14566 
   14567 
   14568 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14569 # if CDPATH is set.
   14570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14571 
   14572 sed_quote_subst='$sed_quote_subst'
   14573 double_quote_subst='$double_quote_subst'
   14574 delay_variable_subst='$delay_variable_subst'
   14575 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   14576 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   14577 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   14578 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   14579 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   14580 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   14581 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   14582 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   14583 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   14584 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   14585 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   14586 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   14587 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   14588 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   14589 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   14590 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   14591 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   14592 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   14593 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   14594 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   14595 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   14596 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   14597 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   14598 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   14599 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   14600 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   14601 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   14602 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   14603 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   14604 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   14605 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   14606 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   14607 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   14608 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   14609 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   14610 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   14611 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   14612 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   14613 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   14614 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   14615 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   14616 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   14617 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   14618 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   14619 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   14620 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   14621 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   14622 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   14623 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   14624 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   14625 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   14626 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   14627 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   14628 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   14629 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   14630 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   14631 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   14632 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   14633 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   14634 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   14635 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   14636 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   14637 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   14638 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   14639 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   14640 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   14641 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   14642 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   14643 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   14644 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   14645 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   14646 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   14647 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   14648 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   14649 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   14650 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   14651 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   14652 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   14653 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   14654 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   14655 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   14656 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   14657 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   14658 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   14659 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   14660 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   14661 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   14662 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   14663 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   14664 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   14665 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   14666 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   14667 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   14668 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   14669 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   14670 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   14671 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   14672 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   14673 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   14674 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   14675 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   14676 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   14677 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   14678 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   14679 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   14680 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   14681 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   14682 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   14683 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   14684 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   14685 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   14686 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   14687 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   14688 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   14689 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   14690 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   14691 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   14692 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   14693 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   14694 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   14695 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   14696 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   14697 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   14698 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   14699 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   14700 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   14701 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   14702 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   14703 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   14704 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   14705 
   14706 LTCC='$LTCC'
   14707 LTCFLAGS='$LTCFLAGS'
   14708 compiler='$compiler_DEFAULT'
   14709 
   14710 # A function that is used when there is no print builtin or printf.
   14711 func_fallback_echo ()
   14712 {
   14713   eval 'cat <<_LTECHO_EOF
   14714 \$1
   14715 _LTECHO_EOF'
   14716 }
   14717 
   14718 # Quote evaled strings.
   14719 for var in SHELL \
   14720 ECHO \
   14721 SED \
   14722 GREP \
   14723 EGREP \
   14724 FGREP \
   14725 LD \
   14726 NM \
   14727 LN_S \
   14728 lt_SP2NL \
   14729 lt_NL2SP \
   14730 reload_flag \
   14731 OBJDUMP \
   14732 deplibs_check_method \
   14733 file_magic_cmd \
   14734 file_magic_glob \
   14735 want_nocaseglob \
   14736 DLLTOOL \
   14737 sharedlib_from_linklib_cmd \
   14738 AR \
   14739 AR_FLAGS \
   14740 archiver_list_spec \
   14741 STRIP \
   14742 RANLIB \
   14743 CC \
   14744 CFLAGS \
   14745 compiler \
   14746 lt_cv_sys_global_symbol_pipe \
   14747 lt_cv_sys_global_symbol_to_cdecl \
   14748 lt_cv_sys_global_symbol_to_c_name_address \
   14749 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14750 nm_file_list_spec \
   14751 lt_prog_compiler_no_builtin_flag \
   14752 lt_prog_compiler_pic \
   14753 lt_prog_compiler_wl \
   14754 lt_prog_compiler_static \
   14755 lt_cv_prog_compiler_c_o \
   14756 need_locks \
   14757 MANIFEST_TOOL \
   14758 DSYMUTIL \
   14759 NMEDIT \
   14760 LIPO \
   14761 OTOOL \
   14762 OTOOL64 \
   14763 shrext_cmds \
   14764 export_dynamic_flag_spec \
   14765 whole_archive_flag_spec \
   14766 compiler_needs_object \
   14767 with_gnu_ld \
   14768 allow_undefined_flag \
   14769 no_undefined_flag \
   14770 hardcode_libdir_flag_spec \
   14771 hardcode_libdir_flag_spec_ld \
   14772 hardcode_libdir_separator \
   14773 exclude_expsyms \
   14774 include_expsyms \
   14775 file_list_spec \
   14776 variables_saved_for_relink \
   14777 libname_spec \
   14778 library_names_spec \
   14779 soname_spec \
   14780 install_override_mode \
   14781 finish_eval \
   14782 old_striplib \
   14783 striplib; do
   14784     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   14785     *[\\\\\\\`\\"\\\$]*)
   14786       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14787       ;;
   14788     *)
   14789       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14790       ;;
   14791     esac
   14792 done
   14793 
   14794 # Double-quote double-evaled strings.
   14795 for var in reload_cmds \
   14796 old_postinstall_cmds \
   14797 old_postuninstall_cmds \
   14798 old_archive_cmds \
   14799 extract_expsyms_cmds \
   14800 old_archive_from_new_cmds \
   14801 old_archive_from_expsyms_cmds \
   14802 archive_cmds \
   14803 archive_expsym_cmds \
   14804 module_cmds \
   14805 module_expsym_cmds \
   14806 export_symbols_cmds \
   14807 prelink_cmds \
   14808 postlink_cmds \
   14809 postinstall_cmds \
   14810 postuninstall_cmds \
   14811 finish_cmds \
   14812 sys_lib_search_path_spec \
   14813 sys_lib_dlsearch_path_spec; do
   14814     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   14815     *[\\\\\\\`\\"\\\$]*)
   14816       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14817       ;;
   14818     *)
   14819       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14820       ;;
   14821     esac
   14822 done
   14823 
   14824 ac_aux_dir='$ac_aux_dir'
   14825 xsi_shell='$xsi_shell'
   14826 lt_shell_append='$lt_shell_append'
   14827 
   14828 # See if we are running on zsh, and set the options which allow our
   14829 # commands through without removal of \ escapes INIT.
   14830 if test -n "\${ZSH_VERSION+set}" ; then
   14831    setopt NO_GLOB_SUBST
   14832 fi
   14833 
   14834 
   14835     PACKAGE='$PACKAGE'
   14836     VERSION='$VERSION'
   14837     TIMESTAMP='$TIMESTAMP'
   14838     RM='$RM'
   14839     ofile='$ofile'
   14840 
   14841 
   14842 
   14843 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   14844     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   14845     # from automake < 1.5.
   14846     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   14847     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   14848     LINGUAS="${LINGUAS-%UNSET%}"
   14849 
   14850 
   14851 _ACEOF
   14852 
   14853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14854 
   14855 # Handling of arguments.
   14856 for ac_config_target in $ac_config_targets
   14857 do
   14858   case $ac_config_target in
   14859     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14860     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14861     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14862     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
   14863     "./Makefile") CONFIG_FILES="$CONFIG_FILES ./Makefile" ;;
   14864     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   14865     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
   14866     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   14867     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   14868     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14869     "src/tpm_mgmt/Makefile") CONFIG_FILES="$CONFIG_FILES src/tpm_mgmt/Makefile" ;;
   14870     "src/cmds/Makefile") CONFIG_FILES="$CONFIG_FILES src/cmds/Makefile" ;;
   14871     "src/data_mgmt/Makefile") CONFIG_FILES="$CONFIG_FILES src/data_mgmt/Makefile" ;;
   14872     "dist/tpm-tools.spec") CONFIG_FILES="$CONFIG_FILES dist/tpm-tools.spec" ;;
   14873     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14874     "man/man1/Makefile") CONFIG_FILES="$CONFIG_FILES man/man1/Makefile" ;;
   14875     "man/man3/Makefile") CONFIG_FILES="$CONFIG_FILES man/man3/Makefile" ;;
   14876     "man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
   14877 
   14878   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   14879   esac
   14880 done
   14881 
   14882 
   14883 # If the user did not use the arguments to specify the items to instantiate,
   14884 # then the envvar interface is used.  Set only those that are not.
   14885 # We use the long form for the default assignment because of an extremely
   14886 # bizarre bug on SunOS 4.1.3.
   14887 if $ac_need_defaults; then
   14888   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14889   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14890   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14891 fi
   14892 
   14893 # Have a temporary directory for convenience.  Make it in the build tree
   14894 # simply because there is no reason against having it here, and in addition,
   14895 # creating and moving files from /tmp can sometimes cause problems.
   14896 # Hook for its removal unless debugging.
   14897 # Note that there is a small window in which the directory will not be cleaned:
   14898 # after its creation but before its name has been assigned to `$tmp'.
   14899 $debug ||
   14900 {
   14901   tmp= ac_tmp=
   14902   trap 'exit_status=$?
   14903   : "${ac_tmp:=$tmp}"
   14904   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   14905 ' 0
   14906   trap 'as_fn_exit 1' 1 2 13 15
   14907 }
   14908 # Create a (secure) tmp directory for tmp files.
   14909 
   14910 {
   14911   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14912   test -d "$tmp"
   14913 }  ||
   14914 {
   14915   tmp=./conf$$-$RANDOM
   14916   (umask 077 && mkdir "$tmp")
   14917 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14918 ac_tmp=$tmp
   14919 
   14920 # Set up the scripts for CONFIG_FILES section.
   14921 # No need to generate them if there are no CONFIG_FILES.
   14922 # This happens for instance with `./config.status config.h'.
   14923 if test -n "$CONFIG_FILES"; then
   14924 
   14925 
   14926 ac_cr=`echo X | tr X '\015'`
   14927 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14928 # But we know of no other shell where ac_cr would be empty at this
   14929 # point, so we can use a bashism as a fallback.
   14930 if test "x$ac_cr" = x; then
   14931   eval ac_cr=\$\'\\r\'
   14932 fi
   14933 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14934 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14935   ac_cs_awk_cr='\\r'
   14936 else
   14937   ac_cs_awk_cr=$ac_cr
   14938 fi
   14939 
   14940 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   14941 _ACEOF
   14942 
   14943 
   14944 {
   14945   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14946   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14947   echo "_ACEOF"
   14948 } >conf$$subs.sh ||
   14949   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14950 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   14951 ac_delim='%!_!# '
   14952 for ac_last_try in false false false false false :; do
   14953   . ./conf$$subs.sh ||
   14954     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14955 
   14956   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14957   if test $ac_delim_n = $ac_delim_num; then
   14958     break
   14959   elif $ac_last_try; then
   14960     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14961   else
   14962     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14963   fi
   14964 done
   14965 rm -f conf$$subs.sh
   14966 
   14967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14968 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   14969 _ACEOF
   14970 sed -n '
   14971 h
   14972 s/^/S["/; s/!.*/"]=/
   14973 p
   14974 g
   14975 s/^[^!]*!//
   14976 :repl
   14977 t repl
   14978 s/'"$ac_delim"'$//
   14979 t delim
   14980 :nl
   14981 h
   14982 s/\(.\{148\}\)..*/\1/
   14983 t more1
   14984 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14985 p
   14986 n
   14987 b repl
   14988 :more1
   14989 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14990 p
   14991 g
   14992 s/.\{148\}//
   14993 t nl
   14994 :delim
   14995 h
   14996 s/\(.\{148\}\)..*/\1/
   14997 t more2
   14998 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14999 p
   15000 b
   15001 :more2
   15002 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15003 p
   15004 g
   15005 s/.\{148\}//
   15006 t delim
   15007 ' <conf$$subs.awk | sed '
   15008 /^[^""]/{
   15009   N
   15010   s/\n//
   15011 }
   15012 ' >>$CONFIG_STATUS || ac_write_fail=1
   15013 rm -f conf$$subs.awk
   15014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15015 _ACAWK
   15016 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15017   for (key in S) S_is_set[key] = 1
   15018   FS = ""
   15019 
   15020 }
   15021 {
   15022   line = $ 0
   15023   nfields = split(line, field, "@")
   15024   substed = 0
   15025   len = length(field[1])
   15026   for (i = 2; i < nfields; i++) {
   15027     key = field[i]
   15028     keylen = length(key)
   15029     if (S_is_set[key]) {
   15030       value = S[key]
   15031       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15032       len += length(value) + length(field[++i])
   15033       substed = 1
   15034     } else
   15035       len += 1 + keylen
   15036   }
   15037 
   15038   print line
   15039 }
   15040 
   15041 _ACAWK
   15042 _ACEOF
   15043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15044 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15045   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15046 else
   15047   cat
   15048 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15049   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15050 _ACEOF
   15051 
   15052 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15053 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15054 # trailing colons and then remove the whole line if VPATH becomes empty
   15055 # (actually we leave an empty line to preserve line numbers).
   15056 if test "x$srcdir" = x.; then
   15057   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15058 h
   15059 s///
   15060 s/^/:/
   15061 s/[	 ]*$/:/
   15062 s/:\$(srcdir):/:/g
   15063 s/:\${srcdir}:/:/g
   15064 s/:@srcdir@:/:/g
   15065 s/^:*//
   15066 s/:*$//
   15067 x
   15068 s/\(=[	 ]*\).*/\1/
   15069 G
   15070 s/\n//
   15071 s/^[^=]*=[	 ]*$//
   15072 }'
   15073 fi
   15074 
   15075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15076 fi # test -n "$CONFIG_FILES"
   15077 
   15078 # Set up the scripts for CONFIG_HEADERS section.
   15079 # No need to generate them if there are no CONFIG_HEADERS.
   15080 # This happens for instance with `./config.status Makefile'.
   15081 if test -n "$CONFIG_HEADERS"; then
   15082 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15083 BEGIN {
   15084 _ACEOF
   15085 
   15086 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15087 # here-document in config.status, that substitutes the proper values into
   15088 # config.h.in to produce config.h.
   15089 
   15090 # Create a delimiter string that does not exist in confdefs.h, to ease
   15091 # handling of long lines.
   15092 ac_delim='%!_!# '
   15093 for ac_last_try in false false :; do
   15094   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15095   if test -z "$ac_tt"; then
   15096     break
   15097   elif $ac_last_try; then
   15098     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15099   else
   15100     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15101   fi
   15102 done
   15103 
   15104 # For the awk script, D is an array of macro values keyed by name,
   15105 # likewise P contains macro parameters if any.  Preserve backslash
   15106 # newline sequences.
   15107 
   15108 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15109 sed -n '
   15110 s/.\{148\}/&'"$ac_delim"'/g
   15111 t rset
   15112 :rset
   15113 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15114 t def
   15115 d
   15116 :def
   15117 s/\\$//
   15118 t bsnl
   15119 s/["\\]/\\&/g
   15120 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15121 D["\1"]=" \3"/p
   15122 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15123 d
   15124 :bsnl
   15125 s/["\\]/\\&/g
   15126 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15127 D["\1"]=" \3\\\\\\n"\\/p
   15128 t cont
   15129 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15130 t cont
   15131 d
   15132 :cont
   15133 n
   15134 s/.\{148\}/&'"$ac_delim"'/g
   15135 t clear
   15136 :clear
   15137 s/\\$//
   15138 t bsnlc
   15139 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15140 d
   15141 :bsnlc
   15142 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15143 b cont
   15144 ' <confdefs.h | sed '
   15145 s/'"$ac_delim"'/"\\\
   15146 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15147 
   15148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15149   for (key in D) D_is_set[key] = 1
   15150   FS = ""
   15151 }
   15152 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15153   line = \$ 0
   15154   split(line, arg, " ")
   15155   if (arg[1] == "#") {
   15156     defundef = arg[2]
   15157     mac1 = arg[3]
   15158   } else {
   15159     defundef = substr(arg[1], 2)
   15160     mac1 = arg[2]
   15161   }
   15162   split(mac1, mac2, "(") #)
   15163   macro = mac2[1]
   15164   prefix = substr(line, 1, index(line, defundef) - 1)
   15165   if (D_is_set[macro]) {
   15166     # Preserve the white space surrounding the "#".
   15167     print prefix "define", macro P[macro] D[macro]
   15168     next
   15169   } else {
   15170     # Replace #undef with comments.  This is necessary, for example,
   15171     # in the case of _POSIX_SOURCE, which is predefined and required
   15172     # on some systems where configure will not decide to define it.
   15173     if (defundef == "undef") {
   15174       print "/*", prefix defundef, macro, "*/"
   15175       next
   15176     }
   15177   }
   15178 }
   15179 { print }
   15180 _ACAWK
   15181 _ACEOF
   15182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15183   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15184 fi # test -n "$CONFIG_HEADERS"
   15185 
   15186 
   15187 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15188 shift
   15189 for ac_tag
   15190 do
   15191   case $ac_tag in
   15192   :[FHLC]) ac_mode=$ac_tag; continue;;
   15193   esac
   15194   case $ac_mode$ac_tag in
   15195   :[FHL]*:*);;
   15196   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15197   :[FH]-) ac_tag=-:-;;
   15198   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15199   esac
   15200   ac_save_IFS=$IFS
   15201   IFS=:
   15202   set x $ac_tag
   15203   IFS=$ac_save_IFS
   15204   shift
   15205   ac_file=$1
   15206   shift
   15207 
   15208   case $ac_mode in
   15209   :L) ac_source=$1;;
   15210   :[FH])
   15211     ac_file_inputs=
   15212     for ac_f
   15213     do
   15214       case $ac_f in
   15215       -) ac_f="$ac_tmp/stdin";;
   15216       *) # Look for the file first in the build tree, then in the source tree
   15217 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15218 	 # because $ac_f cannot contain `:'.
   15219 	 test -f "$ac_f" ||
   15220 	   case $ac_f in
   15221 	   [\\/$]*) false;;
   15222 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15223 	   esac ||
   15224 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15225       esac
   15226       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15227       as_fn_append ac_file_inputs " '$ac_f'"
   15228     done
   15229 
   15230     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15231     # use $as_me), people would be surprised to read:
   15232     #    /* config.h.  Generated by config.status.  */
   15233     configure_input='Generated from '`
   15234 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15235 	`' by configure.'
   15236     if test x"$ac_file" != x-; then
   15237       configure_input="$ac_file.  $configure_input"
   15238       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15239 $as_echo "$as_me: creating $ac_file" >&6;}
   15240     fi
   15241     # Neutralize special characters interpreted by sed in replacement strings.
   15242     case $configure_input in #(
   15243     *\&* | *\|* | *\\* )
   15244        ac_sed_conf_input=`$as_echo "$configure_input" |
   15245        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15246     *) ac_sed_conf_input=$configure_input;;
   15247     esac
   15248 
   15249     case $ac_tag in
   15250     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15251       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15252     esac
   15253     ;;
   15254   esac
   15255 
   15256   ac_dir=`$as_dirname -- "$ac_file" ||
   15257 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15258 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15259 	 X"$ac_file" : 'X\(//\)$' \| \
   15260 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15261 $as_echo X"$ac_file" |
   15262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15263 	    s//\1/
   15264 	    q
   15265 	  }
   15266 	  /^X\(\/\/\)[^/].*/{
   15267 	    s//\1/
   15268 	    q
   15269 	  }
   15270 	  /^X\(\/\/\)$/{
   15271 	    s//\1/
   15272 	    q
   15273 	  }
   15274 	  /^X\(\/\).*/{
   15275 	    s//\1/
   15276 	    q
   15277 	  }
   15278 	  s/.*/./; q'`
   15279   as_dir="$ac_dir"; as_fn_mkdir_p
   15280   ac_builddir=.
   15281 
   15282 case "$ac_dir" in
   15283 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15284 *)
   15285   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15286   # A ".." for each directory in $ac_dir_suffix.
   15287   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15288   case $ac_top_builddir_sub in
   15289   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15290   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15291   esac ;;
   15292 esac
   15293 ac_abs_top_builddir=$ac_pwd
   15294 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15295 # for backward compatibility:
   15296 ac_top_builddir=$ac_top_build_prefix
   15297 
   15298 case $srcdir in
   15299   .)  # We are building in place.
   15300     ac_srcdir=.
   15301     ac_top_srcdir=$ac_top_builddir_sub
   15302     ac_abs_top_srcdir=$ac_pwd ;;
   15303   [\\/]* | ?:[\\/]* )  # Absolute name.
   15304     ac_srcdir=$srcdir$ac_dir_suffix;
   15305     ac_top_srcdir=$srcdir
   15306     ac_abs_top_srcdir=$srcdir ;;
   15307   *) # Relative name.
   15308     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15309     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15310     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15311 esac
   15312 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15313 
   15314 
   15315   case $ac_mode in
   15316   :F)
   15317   #
   15318   # CONFIG_FILE
   15319   #
   15320 
   15321   case $INSTALL in
   15322   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15323   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15324   esac
   15325   ac_MKDIR_P=$MKDIR_P
   15326   case $MKDIR_P in
   15327   [\\/$]* | ?:[\\/]* ) ;;
   15328   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15329   esac
   15330 _ACEOF
   15331 
   15332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15333 # If the template does not know about datarootdir, expand it.
   15334 # FIXME: This hack should be removed a few years after 2.60.
   15335 ac_datarootdir_hack=; ac_datarootdir_seen=
   15336 ac_sed_dataroot='
   15337 /datarootdir/ {
   15338   p
   15339   q
   15340 }
   15341 /@datadir@/p
   15342 /@docdir@/p
   15343 /@infodir@/p
   15344 /@localedir@/p
   15345 /@mandir@/p'
   15346 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15347 *datarootdir*) ac_datarootdir_seen=yes;;
   15348 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15349   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15350 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15351 _ACEOF
   15352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15353   ac_datarootdir_hack='
   15354   s&@datadir@&$datadir&g
   15355   s&@docdir@&$docdir&g
   15356   s&@infodir@&$infodir&g
   15357   s&@localedir@&$localedir&g
   15358   s&@mandir@&$mandir&g
   15359   s&\\\${datarootdir}&$datarootdir&g' ;;
   15360 esac
   15361 _ACEOF
   15362 
   15363 # Neutralize VPATH when `$srcdir' = `.'.
   15364 # Shell code in configure.ac might set extrasub.
   15365 # FIXME: do we really want to maintain this feature?
   15366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15367 ac_sed_extra="$ac_vpsub
   15368 $extrasub
   15369 _ACEOF
   15370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15371 :t
   15372 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15373 s|@configure_input@|$ac_sed_conf_input|;t t
   15374 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15375 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15376 s&@srcdir@&$ac_srcdir&;t t
   15377 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15378 s&@top_srcdir@&$ac_top_srcdir&;t t
   15379 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15380 s&@builddir@&$ac_builddir&;t t
   15381 s&@abs_builddir@&$ac_abs_builddir&;t t
   15382 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15383 s&@INSTALL@&$ac_INSTALL&;t t
   15384 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15385 $ac_datarootdir_hack
   15386 "
   15387 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   15388   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15389 
   15390 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15391   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15392   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15393       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15394   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15395 which seems to be undefined.  Please make sure it is defined" >&5
   15396 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15397 which seems to be undefined.  Please make sure it is defined" >&2;}
   15398 
   15399   rm -f "$ac_tmp/stdin"
   15400   case $ac_file in
   15401   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15402   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15403   esac \
   15404   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15405  ;;
   15406   :H)
   15407   #
   15408   # CONFIG_HEADER
   15409   #
   15410   if test x"$ac_file" != x-; then
   15411     {
   15412       $as_echo "/* $configure_input  */" \
   15413       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15414     } >"$ac_tmp/config.h" \
   15415       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15416     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15417       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15418 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15419     else
   15420       rm -f "$ac_file"
   15421       mv "$ac_tmp/config.h" "$ac_file" \
   15422 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15423     fi
   15424   else
   15425     $as_echo "/* $configure_input  */" \
   15426       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   15427       || as_fn_error $? "could not create -" "$LINENO" 5
   15428   fi
   15429 # Compute "$ac_file"'s index in $config_headers.
   15430 _am_arg="$ac_file"
   15431 _am_stamp_count=1
   15432 for _am_header in $config_headers :; do
   15433   case $_am_header in
   15434     $_am_arg | $_am_arg:* )
   15435       break ;;
   15436     * )
   15437       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15438   esac
   15439 done
   15440 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15441 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15442 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15443 	 X"$_am_arg" : 'X\(//\)$' \| \
   15444 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15445 $as_echo X"$_am_arg" |
   15446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15447 	    s//\1/
   15448 	    q
   15449 	  }
   15450 	  /^X\(\/\/\)[^/].*/{
   15451 	    s//\1/
   15452 	    q
   15453 	  }
   15454 	  /^X\(\/\/\)$/{
   15455 	    s//\1/
   15456 	    q
   15457 	  }
   15458 	  /^X\(\/\).*/{
   15459 	    s//\1/
   15460 	    q
   15461 	  }
   15462 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15463  ;;
   15464 
   15465   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15466 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15467  ;;
   15468   esac
   15469 
   15470 
   15471   case $ac_file$ac_mode in
   15472     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15473   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   15474   # are listed without --file.  Let's play safe and only enable the eval
   15475   # if we detect the quoting.
   15476   case $CONFIG_FILES in
   15477   *\'*) eval set x "$CONFIG_FILES" ;;
   15478   *)   set x $CONFIG_FILES ;;
   15479   esac
   15480   shift
   15481   for mf
   15482   do
   15483     # Strip MF so we end up with the name of the file.
   15484     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15485     # Check whether this is an Automake generated Makefile or not.
   15486     # We used to match only the files named `Makefile.in', but
   15487     # some people rename them; so instead we look at the file content.
   15488     # Grep'ing the first line is not enough: some people post-process
   15489     # each Makefile.in and add a new line on top of each file to say so.
   15490     # Grep'ing the whole file is not good either: AIX grep has a line
   15491     # limit of 2048, but all sed's we know have understand at least 4000.
   15492     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15493       dirpart=`$as_dirname -- "$mf" ||
   15494 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15495 	 X"$mf" : 'X\(//\)[^/]' \| \
   15496 	 X"$mf" : 'X\(//\)$' \| \
   15497 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15498 $as_echo X"$mf" |
   15499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15500 	    s//\1/
   15501 	    q
   15502 	  }
   15503 	  /^X\(\/\/\)[^/].*/{
   15504 	    s//\1/
   15505 	    q
   15506 	  }
   15507 	  /^X\(\/\/\)$/{
   15508 	    s//\1/
   15509 	    q
   15510 	  }
   15511 	  /^X\(\/\).*/{
   15512 	    s//\1/
   15513 	    q
   15514 	  }
   15515 	  s/.*/./; q'`
   15516     else
   15517       continue
   15518     fi
   15519     # Extract the definition of DEPDIR, am__include, and am__quote
   15520     # from the Makefile without running `make'.
   15521     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15522     test -z "$DEPDIR" && continue
   15523     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15524     test -z "am__include" && continue
   15525     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15526     # When using ansi2knr, U may be empty or an underscore; expand it
   15527     U=`sed -n 's/^U = //p' < "$mf"`
   15528     # Find all dependency output files, they are included files with
   15529     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15530     # simplest approach to changing $(DEPDIR) to its actual value in the
   15531     # expansion.
   15532     for file in `sed -n "
   15533       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15534 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15535       # Make sure the directory exists.
   15536       test -f "$dirpart/$file" && continue
   15537       fdir=`$as_dirname -- "$file" ||
   15538 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15539 	 X"$file" : 'X\(//\)[^/]' \| \
   15540 	 X"$file" : 'X\(//\)$' \| \
   15541 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15542 $as_echo X"$file" |
   15543     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15544 	    s//\1/
   15545 	    q
   15546 	  }
   15547 	  /^X\(\/\/\)[^/].*/{
   15548 	    s//\1/
   15549 	    q
   15550 	  }
   15551 	  /^X\(\/\/\)$/{
   15552 	    s//\1/
   15553 	    q
   15554 	  }
   15555 	  /^X\(\/\).*/{
   15556 	    s//\1/
   15557 	    q
   15558 	  }
   15559 	  s/.*/./; q'`
   15560       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   15561       # echo "creating $dirpart/$file"
   15562       echo '# dummy' > "$dirpart/$file"
   15563     done
   15564   done
   15565 }
   15566  ;;
   15567     "libtool":C)
   15568 
   15569     # See if we are running on zsh, and set the options which allow our
   15570     # commands through without removal of \ escapes.
   15571     if test -n "${ZSH_VERSION+set}" ; then
   15572       setopt NO_GLOB_SUBST
   15573     fi
   15574 
   15575     cfgfile="${ofile}T"
   15576     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15577     $RM "$cfgfile"
   15578 
   15579     cat <<_LT_EOF >> "$cfgfile"
   15580 #! $SHELL
   15581 
   15582 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15583 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15584 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15585 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15586 #
   15587 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15588 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   15589 #                 Inc.
   15590 #   Written by Gordon Matzigkeit, 1996
   15591 #
   15592 #   This file is part of GNU Libtool.
   15593 #
   15594 # GNU Libtool is free software; you can redistribute it and/or
   15595 # modify it under the terms of the GNU General Public License as
   15596 # published by the Free Software Foundation; either version 2 of
   15597 # the License, or (at your option) any later version.
   15598 #
   15599 # As a special exception to the GNU General Public License,
   15600 # if you distribute this file as part of a program or library that
   15601 # is built using GNU Libtool, you may include this file under the
   15602 # same distribution terms that you use for the rest of that program.
   15603 #
   15604 # GNU Libtool is distributed in the hope that it will be useful,
   15605 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15606 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15607 # GNU General Public License for more details.
   15608 #
   15609 # You should have received a copy of the GNU General Public License
   15610 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15611 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15612 # obtained by writing to the Free Software Foundation, Inc.,
   15613 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15614 
   15615 
   15616 # The names of the tagged configurations supported by this script.
   15617 available_tags=""
   15618 
   15619 # ### BEGIN LIBTOOL CONFIG
   15620 
   15621 # Which release of libtool.m4 was used?
   15622 macro_version=$macro_version
   15623 macro_revision=$macro_revision
   15624 
   15625 # Whether or not to build shared libraries.
   15626 build_libtool_libs=$enable_shared
   15627 
   15628 # Whether or not to build static libraries.
   15629 build_old_libs=$enable_static
   15630 
   15631 # What type of objects to build.
   15632 pic_mode=$pic_mode
   15633 
   15634 # Whether or not to optimize for fast installation.
   15635 fast_install=$enable_fast_install
   15636 
   15637 # Shell to use when invoking shell scripts.
   15638 SHELL=$lt_SHELL
   15639 
   15640 # An echo program that protects backslashes.
   15641 ECHO=$lt_ECHO
   15642 
   15643 # The host system.
   15644 host_alias=$host_alias
   15645 host=$host
   15646 host_os=$host_os
   15647 
   15648 # The build system.
   15649 build_alias=$build_alias
   15650 build=$build
   15651 build_os=$build_os
   15652 
   15653 # A sed program that does not truncate output.
   15654 SED=$lt_SED
   15655 
   15656 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15657 Xsed="\$SED -e 1s/^X//"
   15658 
   15659 # A grep program that handles long lines.
   15660 GREP=$lt_GREP
   15661 
   15662 # An ERE matcher.
   15663 EGREP=$lt_EGREP
   15664 
   15665 # A literal string matcher.
   15666 FGREP=$lt_FGREP
   15667 
   15668 # A BSD- or MS-compatible name lister.
   15669 NM=$lt_NM
   15670 
   15671 # Whether we need soft or hard links.
   15672 LN_S=$lt_LN_S
   15673 
   15674 # What is the maximum length of a command?
   15675 max_cmd_len=$max_cmd_len
   15676 
   15677 # Object file suffix (normally "o").
   15678 objext=$ac_objext
   15679 
   15680 # Executable file suffix (normally "").
   15681 exeext=$exeext
   15682 
   15683 # whether the shell understands "unset".
   15684 lt_unset=$lt_unset
   15685 
   15686 # turn spaces into newlines.
   15687 SP2NL=$lt_lt_SP2NL
   15688 
   15689 # turn newlines into spaces.
   15690 NL2SP=$lt_lt_NL2SP
   15691 
   15692 # convert \$build file names to \$host format.
   15693 to_host_file_cmd=$lt_cv_to_host_file_cmd
   15694 
   15695 # convert \$build files to toolchain format.
   15696 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   15697 
   15698 # An object symbol dumper.
   15699 OBJDUMP=$lt_OBJDUMP
   15700 
   15701 # Method to check whether dependent libraries are shared objects.
   15702 deplibs_check_method=$lt_deplibs_check_method
   15703 
   15704 # Command to use when deplibs_check_method = "file_magic".
   15705 file_magic_cmd=$lt_file_magic_cmd
   15706 
   15707 # How to find potential files when deplibs_check_method = "file_magic".
   15708 file_magic_glob=$lt_file_magic_glob
   15709 
   15710 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   15711 want_nocaseglob=$lt_want_nocaseglob
   15712 
   15713 # DLL creation program.
   15714 DLLTOOL=$lt_DLLTOOL
   15715 
   15716 # Command to associate shared and link libraries.
   15717 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   15718 
   15719 # The archiver.
   15720 AR=$lt_AR
   15721 
   15722 # Flags to create an archive.
   15723 AR_FLAGS=$lt_AR_FLAGS
   15724 
   15725 # How to feed a file listing to the archiver.
   15726 archiver_list_spec=$lt_archiver_list_spec
   15727 
   15728 # A symbol stripping program.
   15729 STRIP=$lt_STRIP
   15730 
   15731 # Commands used to install an old-style archive.
   15732 RANLIB=$lt_RANLIB
   15733 old_postinstall_cmds=$lt_old_postinstall_cmds
   15734 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15735 
   15736 # Whether to use a lock for old archive extraction.
   15737 lock_old_archive_extraction=$lock_old_archive_extraction
   15738 
   15739 # A C compiler.
   15740 LTCC=$lt_CC
   15741 
   15742 # LTCC compiler flags.
   15743 LTCFLAGS=$lt_CFLAGS
   15744 
   15745 # Take the output of nm and produce a listing of raw symbols and C names.
   15746 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15747 
   15748 # Transform the output of nm in a proper C declaration.
   15749 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15750 
   15751 # Transform the output of nm in a C name address pair.
   15752 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15753 
   15754 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15755 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15756 
   15757 # Specify filename containing input files for \$NM.
   15758 nm_file_list_spec=$lt_nm_file_list_spec
   15759 
   15760 # The root where to search for dependent libraries,and in which our libraries should be installed.
   15761 lt_sysroot=$lt_sysroot
   15762 
   15763 # The name of the directory that contains temporary libtool files.
   15764 objdir=$objdir
   15765 
   15766 # Used to examine libraries when file_magic_cmd begins with "file".
   15767 MAGIC_CMD=$MAGIC_CMD
   15768 
   15769 # Must we lock files when doing compilation?
   15770 need_locks=$lt_need_locks
   15771 
   15772 # Manifest tool.
   15773 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   15774 
   15775 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15776 DSYMUTIL=$lt_DSYMUTIL
   15777 
   15778 # Tool to change global to local symbols on Mac OS X.
   15779 NMEDIT=$lt_NMEDIT
   15780 
   15781 # Tool to manipulate fat objects and archives on Mac OS X.
   15782 LIPO=$lt_LIPO
   15783 
   15784 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15785 OTOOL=$lt_OTOOL
   15786 
   15787 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15788 OTOOL64=$lt_OTOOL64
   15789 
   15790 # Old archive suffix (normally "a").
   15791 libext=$libext
   15792 
   15793 # Shared library suffix (normally ".so").
   15794 shrext_cmds=$lt_shrext_cmds
   15795 
   15796 # The commands to extract the exported symbol list from a shared archive.
   15797 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15798 
   15799 # Variables whose values should be saved in libtool wrapper scripts and
   15800 # restored at link time.
   15801 variables_saved_for_relink=$lt_variables_saved_for_relink
   15802 
   15803 # Do we need the "lib" prefix for modules?
   15804 need_lib_prefix=$need_lib_prefix
   15805 
   15806 # Do we need a version for libraries?
   15807 need_version=$need_version
   15808 
   15809 # Library versioning type.
   15810 version_type=$version_type
   15811 
   15812 # Shared library runtime path variable.
   15813 runpath_var=$runpath_var
   15814 
   15815 # Shared library path variable.
   15816 shlibpath_var=$shlibpath_var
   15817 
   15818 # Is shlibpath searched before the hard-coded library search path?
   15819 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15820 
   15821 # Format of library name prefix.
   15822 libname_spec=$lt_libname_spec
   15823 
   15824 # List of archive names.  First name is the real one, the rest are links.
   15825 # The last name is the one that the linker finds with -lNAME
   15826 library_names_spec=$lt_library_names_spec
   15827 
   15828 # The coded name of the library, if different from the real name.
   15829 soname_spec=$lt_soname_spec
   15830 
   15831 # Permission mode override for installation of shared libraries.
   15832 install_override_mode=$lt_install_override_mode
   15833 
   15834 # Command to use after installation of a shared archive.
   15835 postinstall_cmds=$lt_postinstall_cmds
   15836 
   15837 # Command to use after uninstallation of a shared archive.
   15838 postuninstall_cmds=$lt_postuninstall_cmds
   15839 
   15840 # Commands used to finish a libtool library installation in a directory.
   15841 finish_cmds=$lt_finish_cmds
   15842 
   15843 # As "finish_cmds", except a single script fragment to be evaled but
   15844 # not shown.
   15845 finish_eval=$lt_finish_eval
   15846 
   15847 # Whether we should hardcode library paths into libraries.
   15848 hardcode_into_libs=$hardcode_into_libs
   15849 
   15850 # Compile-time system search path for libraries.
   15851 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15852 
   15853 # Run-time system search path for libraries.
   15854 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15855 
   15856 # Whether dlopen is supported.
   15857 dlopen_support=$enable_dlopen
   15858 
   15859 # Whether dlopen of programs is supported.
   15860 dlopen_self=$enable_dlopen_self
   15861 
   15862 # Whether dlopen of statically linked programs is supported.
   15863 dlopen_self_static=$enable_dlopen_self_static
   15864 
   15865 # Commands to strip libraries.
   15866 old_striplib=$lt_old_striplib
   15867 striplib=$lt_striplib
   15868 
   15869 
   15870 # The linker used to build libraries.
   15871 LD=$lt_LD
   15872 
   15873 # How to create reloadable object files.
   15874 reload_flag=$lt_reload_flag
   15875 reload_cmds=$lt_reload_cmds
   15876 
   15877 # Commands used to build an old-style archive.
   15878 old_archive_cmds=$lt_old_archive_cmds
   15879 
   15880 # A language specific compiler.
   15881 CC=$lt_compiler
   15882 
   15883 # Is the compiler the GNU compiler?
   15884 with_gcc=$GCC
   15885 
   15886 # Compiler flag to turn off builtin functions.
   15887 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15888 
   15889 # Additional compiler flags for building library objects.
   15890 pic_flag=$lt_lt_prog_compiler_pic
   15891 
   15892 # How to pass a linker flag through the compiler.
   15893 wl=$lt_lt_prog_compiler_wl
   15894 
   15895 # Compiler flag to prevent dynamic linking.
   15896 link_static_flag=$lt_lt_prog_compiler_static
   15897 
   15898 # Does compiler simultaneously support -c and -o options?
   15899 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15900 
   15901 # Whether or not to add -lc for building shared libraries.
   15902 build_libtool_need_lc=$archive_cmds_need_lc
   15903 
   15904 # Whether or not to disallow shared libs when runtime libs are static.
   15905 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15906 
   15907 # Compiler flag to allow reflexive dlopens.
   15908 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15909 
   15910 # Compiler flag to generate shared objects directly from archives.
   15911 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15912 
   15913 # Whether the compiler copes with passing no objects directly.
   15914 compiler_needs_object=$lt_compiler_needs_object
   15915 
   15916 # Create an old-style archive from a shared archive.
   15917 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15918 
   15919 # Create a temporary old-style archive to link instead of a shared archive.
   15920 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15921 
   15922 # Commands used to build a shared archive.
   15923 archive_cmds=$lt_archive_cmds
   15924 archive_expsym_cmds=$lt_archive_expsym_cmds
   15925 
   15926 # Commands used to build a loadable module if different from building
   15927 # a shared archive.
   15928 module_cmds=$lt_module_cmds
   15929 module_expsym_cmds=$lt_module_expsym_cmds
   15930 
   15931 # Whether we are building with GNU ld or not.
   15932 with_gnu_ld=$lt_with_gnu_ld
   15933 
   15934 # Flag that allows shared libraries with undefined symbols to be built.
   15935 allow_undefined_flag=$lt_allow_undefined_flag
   15936 
   15937 # Flag that enforces no undefined symbols.
   15938 no_undefined_flag=$lt_no_undefined_flag
   15939 
   15940 # Flag to hardcode \$libdir into a binary during linking.
   15941 # This must work even if \$libdir does not exist
   15942 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15943 
   15944 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15945 # during linking.  This must work even if \$libdir does not exist.
   15946 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15947 
   15948 # Whether we need a single "-rpath" flag with a separated argument.
   15949 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15950 
   15951 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15952 # DIR into the resulting binary.
   15953 hardcode_direct=$hardcode_direct
   15954 
   15955 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15956 # DIR into the resulting binary and the resulting library dependency is
   15957 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15958 # library is relocated.
   15959 hardcode_direct_absolute=$hardcode_direct_absolute
   15960 
   15961 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15962 # into the resulting binary.
   15963 hardcode_minus_L=$hardcode_minus_L
   15964 
   15965 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15966 # into the resulting binary.
   15967 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15968 
   15969 # Set to "yes" if building a shared library automatically hardcodes DIR
   15970 # into the library and all subsequent libraries and executables linked
   15971 # against it.
   15972 hardcode_automatic=$hardcode_automatic
   15973 
   15974 # Set to yes if linker adds runtime paths of dependent libraries
   15975 # to runtime path list.
   15976 inherit_rpath=$inherit_rpath
   15977 
   15978 # Whether libtool must link a program against all its dependency libraries.
   15979 link_all_deplibs=$link_all_deplibs
   15980 
   15981 # Set to "yes" if exported symbols are required.
   15982 always_export_symbols=$always_export_symbols
   15983 
   15984 # The commands to list exported symbols.
   15985 export_symbols_cmds=$lt_export_symbols_cmds
   15986 
   15987 # Symbols that should not be listed in the preloaded symbols.
   15988 exclude_expsyms=$lt_exclude_expsyms
   15989 
   15990 # Symbols that must always be exported.
   15991 include_expsyms=$lt_include_expsyms
   15992 
   15993 # Commands necessary for linking programs (against libraries) with templates.
   15994 prelink_cmds=$lt_prelink_cmds
   15995 
   15996 # Commands necessary for finishing linking programs.
   15997 postlink_cmds=$lt_postlink_cmds
   15998 
   15999 # Specify filename containing input files.
   16000 file_list_spec=$lt_file_list_spec
   16001 
   16002 # How to hardcode a shared library path into an executable.
   16003 hardcode_action=$hardcode_action
   16004 
   16005 # ### END LIBTOOL CONFIG
   16006 
   16007 _LT_EOF
   16008 
   16009   case $host_os in
   16010   aix3*)
   16011     cat <<\_LT_EOF >> "$cfgfile"
   16012 # AIX sometimes has problems with the GCC collect2 program.  For some
   16013 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16014 # vanish in a puff of smoke.
   16015 if test "X${COLLECT_NAMES+set}" != Xset; then
   16016   COLLECT_NAMES=
   16017   export COLLECT_NAMES
   16018 fi
   16019 _LT_EOF
   16020     ;;
   16021   esac
   16022 
   16023 
   16024 ltmain="$ac_aux_dir/ltmain.sh"
   16025 
   16026 
   16027   # We use sed instead of cat because bash on DJGPP gets confused if
   16028   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16029   # text mode, it properly converts lines to CR/LF.  This bash problem
   16030   # is reportedly fixed, but why not run on old versions too?
   16031   sed '$q' "$ltmain" >> "$cfgfile" \
   16032      || (rm -f "$cfgfile"; exit 1)
   16033 
   16034   if test x"$xsi_shell" = xyes; then
   16035   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   16036 func_dirname ()\
   16037 {\
   16038 \    case ${1} in\
   16039 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   16040 \      *  ) func_dirname_result="${3}" ;;\
   16041 \    esac\
   16042 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   16043   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16044     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16045 test 0 -eq $? || _lt_function_replace_fail=:
   16046 
   16047 
   16048   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   16049 func_basename ()\
   16050 {\
   16051 \    func_basename_result="${1##*/}"\
   16052 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   16053   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16054     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16055 test 0 -eq $? || _lt_function_replace_fail=:
   16056 
   16057 
   16058   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   16059 func_dirname_and_basename ()\
   16060 {\
   16061 \    case ${1} in\
   16062 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   16063 \      *  ) func_dirname_result="${3}" ;;\
   16064 \    esac\
   16065 \    func_basename_result="${1##*/}"\
   16066 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   16067   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16068     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16069 test 0 -eq $? || _lt_function_replace_fail=:
   16070 
   16071 
   16072   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   16073 func_stripname ()\
   16074 {\
   16075 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   16076 \    # positional parameters, so assign one to ordinary parameter first.\
   16077 \    func_stripname_result=${3}\
   16078 \    func_stripname_result=${func_stripname_result#"${1}"}\
   16079 \    func_stripname_result=${func_stripname_result%"${2}"}\
   16080 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   16081   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16082     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16083 test 0 -eq $? || _lt_function_replace_fail=:
   16084 
   16085 
   16086   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   16087 func_split_long_opt ()\
   16088 {\
   16089 \    func_split_long_opt_name=${1%%=*}\
   16090 \    func_split_long_opt_arg=${1#*=}\
   16091 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   16092   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16093     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16094 test 0 -eq $? || _lt_function_replace_fail=:
   16095 
   16096 
   16097   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   16098 func_split_short_opt ()\
   16099 {\
   16100 \    func_split_short_opt_arg=${1#??}\
   16101 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   16102 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   16103   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16104     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16105 test 0 -eq $? || _lt_function_replace_fail=:
   16106 
   16107 
   16108   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   16109 func_lo2o ()\
   16110 {\
   16111 \    case ${1} in\
   16112 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   16113 \      *)    func_lo2o_result=${1} ;;\
   16114 \    esac\
   16115 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   16116   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16117     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16118 test 0 -eq $? || _lt_function_replace_fail=:
   16119 
   16120 
   16121   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   16122 func_xform ()\
   16123 {\
   16124     func_xform_result=${1%.*}.lo\
   16125 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   16126   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16127     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16128 test 0 -eq $? || _lt_function_replace_fail=:
   16129 
   16130 
   16131   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   16132 func_arith ()\
   16133 {\
   16134     func_arith_result=$(( $* ))\
   16135 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   16136   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16137     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16138 test 0 -eq $? || _lt_function_replace_fail=:
   16139 
   16140 
   16141   sed -e '/^func_len ()$/,/^} # func_len /c\
   16142 func_len ()\
   16143 {\
   16144     func_len_result=${#1}\
   16145 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   16146   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16147     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16148 test 0 -eq $? || _lt_function_replace_fail=:
   16149 
   16150 fi
   16151 
   16152 if test x"$lt_shell_append" = xyes; then
   16153   sed -e '/^func_append ()$/,/^} # func_append /c\
   16154 func_append ()\
   16155 {\
   16156     eval "${1}+=\\${2}"\
   16157 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   16158   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16159     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16160 test 0 -eq $? || _lt_function_replace_fail=:
   16161 
   16162 
   16163   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   16164 func_append_quoted ()\
   16165 {\
   16166 \    func_quote_for_eval "${2}"\
   16167 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   16168 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   16169   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16170     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16171 test 0 -eq $? || _lt_function_replace_fail=:
   16172 
   16173 
   16174   # Save a `func_append' function call where possible by direct use of '+='
   16175   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   16176     && mv -f "$cfgfile.tmp" "$cfgfile" \
   16177       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16178   test 0 -eq $? || _lt_function_replace_fail=:
   16179 else
   16180   # Save a `func_append' function call even when '+=' is not available
   16181   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   16182     && mv -f "$cfgfile.tmp" "$cfgfile" \
   16183       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16184   test 0 -eq $? || _lt_function_replace_fail=:
   16185 fi
   16186 
   16187 if test x"$_lt_function_replace_fail" = x":"; then
   16188   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   16189 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   16190 fi
   16191 
   16192 
   16193    mv -f "$cfgfile" "$ofile" ||
   16194     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16195   chmod +x "$ofile"
   16196 
   16197  ;;
   16198     "po-directories":C)
   16199     for ac_file in $CONFIG_FILES; do
   16200       # Support "outfile[:infile[:infile...]]"
   16201       case "$ac_file" in
   16202         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   16203       esac
   16204       # PO directories have a Makefile.in generated from Makefile.in.in.
   16205       case "$ac_file" in */Makefile.in)
   16206         # Adjust a relative srcdir.
   16207         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   16208         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   16209         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   16210         # In autoconf-2.13 it is called $ac_given_srcdir.
   16211         # In autoconf-2.50 it is called $srcdir.
   16212         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   16213         case "$ac_given_srcdir" in
   16214           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   16215           /*) top_srcdir="$ac_given_srcdir" ;;
   16216           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   16217         esac
   16218         # Treat a directory as a PO directory if and only if it has a
   16219         # POTFILES.in file. This allows packages to have multiple PO
   16220         # directories under different names or in different locations.
   16221         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   16222           rm -f "$ac_dir/POTFILES"
   16223           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   16224           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   16225           POMAKEFILEDEPS="POTFILES.in"
   16226           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   16227           # on $ac_dir but don't depend on user-specified configuration
   16228           # parameters.
   16229           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   16230             # The LINGUAS file contains the set of available languages.
   16231             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   16232               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   16233             fi
   16234             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   16235             # Hide the ALL_LINGUAS assigment from automake < 1.5.
   16236             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   16237             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   16238           else
   16239             # The set of available languages was given in configure.in.
   16240             # Hide the ALL_LINGUAS assigment from automake < 1.5.
   16241             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   16242           fi
   16243           # Compute POFILES
   16244           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   16245           # Compute UPDATEPOFILES
   16246           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   16247           # Compute DUMMYPOFILES
   16248           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   16249           # Compute GMOFILES
   16250           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   16251           case "$ac_given_srcdir" in
   16252             .) srcdirpre= ;;
   16253             *) srcdirpre='$(srcdir)/' ;;
   16254           esac
   16255           POFILES=
   16256           UPDATEPOFILES=
   16257           DUMMYPOFILES=
   16258           GMOFILES=
   16259           for lang in $ALL_LINGUAS; do
   16260             POFILES="$POFILES $srcdirpre$lang.po"
   16261             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   16262             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   16263             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   16264           done
   16265           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   16266           # environment variable.
   16267           INST_LINGUAS=
   16268           if test -n "$ALL_LINGUAS"; then
   16269             for presentlang in $ALL_LINGUAS; do
   16270               useit=no
   16271               if test "%UNSET%" != "$LINGUAS"; then
   16272                 desiredlanguages="$LINGUAS"
   16273               else
   16274                 desiredlanguages="$ALL_LINGUAS"
   16275               fi
   16276               for desiredlang in $desiredlanguages; do
   16277                 # Use the presentlang catalog if desiredlang is
   16278                 #   a. equal to presentlang, or
   16279                 #   b. a variant of presentlang (because in this case,
   16280                 #      presentlang can be used as a fallback for messages
   16281                 #      which are not translated in the desiredlang catalog).
   16282                 case "$desiredlang" in
   16283                   "$presentlang"*) useit=yes;;
   16284                 esac
   16285               done
   16286               if test $useit = yes; then
   16287                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   16288               fi
   16289             done
   16290           fi
   16291           CATALOGS=
   16292           if test -n "$INST_LINGUAS"; then
   16293             for lang in $INST_LINGUAS; do
   16294               CATALOGS="$CATALOGS $lang.gmo"
   16295             done
   16296           fi
   16297           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   16298           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   16299           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   16300             if test -f "$f"; then
   16301               case "$f" in
   16302                 *.orig | *.bak | *~) ;;
   16303                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   16304               esac
   16305             fi
   16306           done
   16307         fi
   16308         ;;
   16309       esac
   16310     done ;;
   16311 
   16312   esac
   16313 done # for ac_tag
   16314 
   16315 
   16316 as_fn_exit 0
   16317 _ACEOF
   16318 ac_clean_files=$ac_clean_files_save
   16319 
   16320 test $ac_write_fail = 0 ||
   16321   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16322 
   16323 
   16324 # configure is writing to config.log, and then calls config.status.
   16325 # config.status does its own redirection, appending to config.log.
   16326 # Unfortunately, on DOS this fails, as config.log is still kept open
   16327 # by configure, so config.status won't be able to write to it; its
   16328 # output is simply discarded.  So we exec the FD to /dev/null,
   16329 # effectively closing config.log, so it can be properly (re)opened and
   16330 # appended to by config.status.  When coming back to configure, we
   16331 # need to make the FD available again.
   16332 if test "$no_create" != yes; then
   16333   ac_cs_success=:
   16334   ac_config_status_args=
   16335   test "$silent" = yes &&
   16336     ac_config_status_args="$ac_config_status_args --quiet"
   16337   exec 5>/dev/null
   16338   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16339   exec 5>>config.log
   16340   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16341   # would make configure fail if this is the last instruction.
   16342   $ac_cs_success || as_fn_exit 1
   16343 fi
   16344 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16345   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16346 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16347 fi
   16348 
   16349 
   16350 echo "CFLAGS=$CFLAGS"
   16351 echo "LDFLAGS=$LDFLAGS"
   16352